:root {
  --coral: #f25564;
  --orange: #ff8a38;
  --ink: #2c2928;
  --muted: #7f7a76;
  --line: #f1e9e4;
  --cream: #fff9f2;
  --paper: #fffefd;
  font-family: ui-rounded, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  color: var(--ink);
  background: #fffaf6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 6% 10%, rgba(255, 219, 184, .36), transparent 26%),
    radial-gradient(circle at 92% 30%, rgba(255, 236, 201, .44), transparent 22%),
    #fffaf6;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.hospital-page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("/statics/lumoo_web/images/bg.png");
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: min(62vw, 760px) auto;
  opacity: .16;
}
.list-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 max(24px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid rgba(240, 232, 226, .86);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(16px);
}
.list-logo img { width: 118px; }
.back-home {
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff1e9;
  color: #e96a43;
  font-size: 14px;
  font-weight: 750;
}
.hospital-list-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 auto;
  padding: 10px 0;
}
.region-panel,
.clinic-results {
  margin-bottom: 28px;
}
.list-section-title {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -.02em;
}
.region-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.region-toolbar p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}
.panel-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.panel-heading h2 { margin: 0; font-size: 22px; letter-spacing: -.02em; }
.panel-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.region-selector-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(320px, 100%);
  padding: 13px 16px;
  border: 1px solid #f2dfd3;
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 16px;
  font-weight: 750;
  box-shadow: 0 5px 16px rgba(91, 63, 43, .07);
}
.region-selector-trigger svg {
  width: 17px;
  height: 17px;
  color: #df7a48;
  transform: rotate(90deg);
}
.region-picker-backdrop {
  position: fixed;
  z-index: 80;
  top: var(--region-picker-top, 0);
  left: var(--region-picker-left, 0);
  width: var(--region-picker-width, 100vw);
  height: var(--region-picker-height, 100vh);
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(45, 35, 30, .28);
  backdrop-filter: blur(4px);
}
.region-picker-backdrop[hidden] { display: none; }
.region-picker {
  position: relative;
  width: min(620px, 100%);
  height: min(620px, calc(100vh - 48px));
  overflow: hidden;
  border: 1px solid #eef1f4;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 54px rgba(69, 52, 43, .22);
}
.region-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 18px;
  border-bottom: 1px solid #eef1f4;
}
.region-picker-head h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 850;
}
.region-picker-head h3::after {
  content: "";
  display: block;
  width: 38px;
  height: 3px;
  margin-top: 5px;
  border-radius: 999px;
  background: #5f98dc;
}
.region-picker-head button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #f6f8fa;
  color: #738193;
  cursor: pointer;
  font-size: 22px;
}
.region-picker-body {
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  height: calc(100% - 110px);
  background: linear-gradient(90deg, #f5f8fa 0 138px, #fff 138px);
}
.region-picker-cities,
.region-picker-options {
  overflow-y: auto;
  scrollbar-width: none;
}
.region-picker-cities::-webkit-scrollbar,
.region-picker-options::-webkit-scrollbar { display: none; }
.region-picker-cities {
  padding: 14px 12px 14px 6px;
}
.region-picker-cities button {
  display: block;
  width: 100%;
  padding: 15px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #6d7f91;
  cursor: pointer;
  text-align: left;
  font-size: 16px;
}
.region-picker-cities button.active {
  background: #fff;
  color: #0f1824;
  font-weight: 850;
  box-shadow: 0 8px 18px rgba(39, 56, 72, .08);
}
.region-picker-options {
  padding: 15px 18px 22px;
}
.region-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 42px;
  padding: 7px 0;
  border: 0;
  background: transparent;
  color: #061522;
  cursor: pointer;
  text-align: left;
  font-size: 15px;
}
.region-option i {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border: 1px solid #b9c7d5;
  border-radius: 6px;
  background: #fff;
}
.region-option.active i {
  border-color: #f25564;
  background: #f25564;
  box-shadow: inset 0 0 0 4px #fff;
}
.region-option strong { font-size: 16px; }
.region-picker-actions {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr 1.28fr;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid #e8edf2;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
}
.region-picker-actions button {
  height: 48px;
  border: 1px solid #b9c7d5;
  border-radius: 8px;
  background: #fff;
  color: #17202a;
  cursor: pointer;
  font-size: 16px;
  font-weight: 850;
}
.region-picker-actions button:last-child {
  border-color: transparent;
  background: #f25564;
  color: #fff;
}
.region-picker-actions button:last-child:disabled {
  background: #d4dde6;
  color: #fff;
  cursor: not-allowed;
}
.clinic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.clinic-card {
  display: block;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 15px rgba(91, 63, 43, .09);
  transition: transform .22s ease, box-shadow .22s ease;
}
.clinic-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(91, 63, 43, .13);
}
.clinic-photo {
  width: 100%;
  height: 165px;
  background: #fff2ea url("/statics/lumoo_web/assets/clinic-interior.png") center/cover;
  object-fit: cover;
}
.clinic-copy { padding: 14px; }
.clinic-region {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0 0 8px;
  color: #df7a48;
  font-size: 13px;
}
.clinic-region svg { width: 15px; height: 15px; }
.clinic-card h3 {
  margin: 0;
  overflow: hidden;
  font-size: 17px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.clinic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-height: 25px;
  margin-top: 11px;
}
.clinic-tags span {
  padding: 4px 7px;
  border-radius: 8px;
  background: #fff1e9;
  color: #e96a43;
  font-size: 12px;
}
.clinic-media {
  display: flex;
  gap: 8px;
  min-height: 24px;
  margin-top: 12px;
}
.clinic-media img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.list-empty {
  margin: 0;
  padding: 26px;
  border-radius: 16px;
  background: #fff8f4;
  color: #8a7d74;
  text-align: center;
}
.list-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}
.list-pager button {
  padding: 8px 15px;
  border: 0;
  border-radius: 999px;
  background: #fff1e9;
  color: #e96a43;
  cursor: pointer;
  font-weight: 750;
}
.list-pager button:disabled { opacity: .42; cursor: not-allowed; }
.list-pager span { color: #8a7d74; font-size: 14px; font-weight: 750; }

@media (max-width: 860px) {
  .hospital-list-shell { width: 100%; padding-top: 8px; }
  .list-topbar { height: 60px; padding: 0 16px; }
  .list-logo img { width: 104px; }
  .region-panel,
  .clinic-results { margin-bottom: 22px; }
  .list-section-title { margin-bottom: 12px; font-size: 20px; }
  .region-toolbar { align-items: center; flex-direction: row; gap: 12px; }
  .region-toolbar p { padding-left: 0; font-size: 14px; text-align: right; }
  .panel-heading { align-items: start; flex-direction: column; gap: 5px; margin-bottom: 13px; }
  .panel-heading h2 { font-size: 20px; }
  .region-selector-trigger { flex: 0 0 auto; width: min(190px, 58vw); }
  .region-picker-backdrop { align-items: end; padding: 0; }
  .region-picker { width: 100%; height: min(620px, 82vh); border-radius: 18px 18px 0 0; }
  .region-picker-body {
    grid-template-columns: 132px minmax(0, 1fr);
    background: linear-gradient(90deg, #f5f8fa 0 132px, #fff 132px);
  }
  .region-picker-cities button { padding: 14px 12px; font-size: 15px; }
  .region-option { font-size: 14px; }
  .clinic-grid { grid-template-columns: 1fr; gap: 12px; }
  .clinic-card {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    border-radius: 15px;
  }
  .clinic-photo { height: 100%; min-height: 132px; }
  .clinic-copy { padding: 12px; }
  .clinic-card h3 { font-size: 16px; }
}

@media (max-width: 380px) {
  .clinic-card { grid-template-columns: 112px minmax(0, 1fr); }
  .clinic-photo { min-height: 126px; }
  .clinic-tags span { font-size: 11px; }
  .region-picker-body {
    grid-template-columns: 116px minmax(0, 1fr);
    background: linear-gradient(90deg, #f5f8fa 0 116px, #fff 116px);
  }
  .region-picker-options { padding-right: 12px; padding-left: 14px; }
  .region-picker-cities button { font-size: 14px; }
  .region-option { gap: 8px; font-size: 13px; }
  .region-option i { width: 19px; height: 19px; }
}
