:root {
  color-scheme: light;
  --bg: #f4f6f3;
  --panel: #ffffff;
  --ink: #17211f;
  --muted: #6b7672;
  --line: #e2e6e3;
  --soft: #f7f8f7;
  --brand: #0f5f56;
  --brand-soft: #e6f2ef;
  --accent: #c46a2d;
  --accent-soft: #fbefe5;
  --green: #177a52;
  --green-soft: #e7f5ee;
  --amber: #a86516;
  --amber-soft: #fdf3e3;
  --red: #b43a36;
  --red-soft: #fbeceb;
  --blue: #315f9e;
  --blue-soft: #edf2fa;
  --shadow: 0 18px 50px rgba(23, 33, 31, 0.07);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 0%, rgba(15, 95, 86, 0.09), transparent 32rem),
    radial-gradient(circle at 92% 8%, rgba(196, 106, 45, 0.08), transparent 28rem),
    var(--bg);
  color: var(--ink);
  font: 15px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

a { color: inherit; text-decoration: none; }

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 700;
}

.hero { padding: 26px 0 30px; }

.eyebrow {
  color: var(--brand);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 10px 0 12px;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 650;
}

.lead {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 16px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.section { margin-top: 20px; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 0 2px 10px;
}

.section-head h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 650;
}

.section-head span {
  color: var(--muted);
  font-size: 12px;
}

.form-panel { padding: 20px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
}

.field { display: flex; flex-direction: column; gap: 6px; }

.field label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 550;
}

input, select, button { font: inherit; }

input, select {
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 12px;
  background: #fff;
  color: var(--ink);
  outline: none;
}

input:focus, select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(15, 95, 86, 0.12);
}

button {
  height: 42px;
  border: 0;
  border-radius: 10px;
  padding: 0 18px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

button:hover { transform: translateY(-1px); }
button:active { transform: translateY(0); }
button:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.result {
  display: none;
  margin-top: 14px;
  padding: 14px;
  border-radius: 12px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.result.show { display: block; }

.result-label {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 4px;
}

.result a {
  color: var(--brand);
  font-weight: 600;
  word-break: break-all;
}

.locations {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.location-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(23, 33, 31, 0.04);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.location-card:hover {
  transform: translateY(-2px);
  border-color: #bfd4cf;
}

.location-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.type-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 7px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}

.location-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.public-id {
  color: var(--muted);
  font: 12px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.location-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.location-summary strong {
  color: var(--ink);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.location-link {
  margin-top: auto;
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 24px;
}

.stat {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--soft);
}

.stat-label {
  color: var(--muted);
  font-size: 12px;
}

.stat-value {
  margin-top: 4px;
  font-size: 27px;
  line-height: 1.1;
  font-weight: 650;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.stat-value small {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}

.units {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0 24px 24px;
}

.unit {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
}

.unit-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.unit-name {
  font-weight: 600;
  letter-spacing: -0.01em;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.chip-running { color: var(--green); background: var(--green-soft); }
.chip-idle { color: var(--blue); background: var(--blue-soft); }
.chip-reserved { color: #8a5a12; background: #fbf0dc; }
.chip-fault { color: var(--red); background: var(--red-soft); }

.unit-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

.unit-meta strong {
  color: var(--ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.qr-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
}

.qr-action-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.qr-action-buttons button {
  height: 34px;
  padding: 0 12px;
  font-size: 12px;
}

.button-dark { background: var(--ink); }

.qr-box {
  width: 132px;
  height: 132px;
  flex: 0 0 auto;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.qr-box svg {
  width: 100%;
  height: 100%;
  display: block;
}

.qr-fallback {
  color: var(--muted);
  font-size: 12px;
}

.trace-wrap {
  overflow-x: auto;
  padding: 4px 0;
}

.trace-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 13px;
}

.trace-table th,
.trace-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.trace-table th {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.trace-table tbody tr:last-child td { border-bottom: 0; }
.trace-table tbody tr:hover { background: var(--soft); }

.trace-table code {
  color: var(--ink);
  font: 12px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.trace-table .num {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.trace-empty {
  padding: 28px 16px !important;
  text-align: center !important;
  color: var(--muted);
}

.landing-body {
  min-height: 100vh;
  padding: 22px;
  display: grid;
  place-items: center;
}

.landing-shell { width: min(1120px, 100%); }

.landing-hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-radius: 24px;
  background: #143b35 url('/assets/laundry-room.jpg') center / cover no-repeat;
  box-shadow: 0 30px 80px rgba(23, 33, 31, 0.16);
}

.landing-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 28, 25, 0.84) 0%, rgba(6, 28, 25, 0.42) 56%, rgba(6, 28, 25, 0.08) 100%),
    linear-gradient(0deg, rgba(6, 28, 25, 0.5), transparent 55%);
}

.landing-content {
  position: relative;
  z-index: 1;
  min-height: 620px;
  max-width: 660px;
  padding: 54px 56px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
}

.landing-kicker {
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(6px);
}

.landing-content h1 {
  margin: 16px 0 10px;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  font-weight: 650;
}

.landing-content p {
  margin: 0;
  max-width: 440px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 15px;
}

.lookup {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(23, 33, 31, 0.08);
}

.lookup:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(15, 95, 86, 0.1), 0 16px 44px rgba(23, 33, 31, 0.08);
}

.landing-content .lookup {
  margin-top: 30px;
  max-width: 520px;
  background: rgba(255, 255, 255, 0.96);
}

.lookup input {
  flex: 1;
  min-width: 0;
  height: 58px;
  border: 0;
  border-radius: 0;
  padding: 0 18px;
  font-size: 16px;
  background: transparent;
  box-shadow: none;
}

.lookup input:focus { box-shadow: none; }

.scan-button {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--brand);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}

.scan-button:hover { background: var(--brand-soft); transform: none; }

.landing-hint {
  min-height: 20px;
  margin: 10px 2px 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.scanner {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(17, 24, 22, 0.72);
}

.scanner[hidden] { display: none; }

.scanner-card {
  width: min(460px, 100%);
  border-radius: 16px;
  padding: 14px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.scanner video {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  background: #111;
  object-fit: cover;
}

.scanner-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.scanner-actions button {
  height: 34px;
  padding: 0 12px;
  font-size: 12px;
  background: var(--ink);
}

.space-hero {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  border-radius: 20px;
  background: #143b35 url('/assets/laundry-room.jpg') center / cover no-repeat;
  box-shadow: var(--shadow);
}

.space-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 30, 27, 0.82) 0%, rgba(8, 30, 27, 0.35) 55%, rgba(8, 30, 27, 0.12) 100%),
    linear-gradient(0deg, rgba(8, 30, 27, 0.52), transparent 55%);
}

.space-hero-content {
  position: relative;
  z-index: 1;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 30px;
  color: #fff;
}

.hero-tag {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  backdrop-filter: blur(6px);
}

.space-hero h1 {
  margin: 12px 0 8px;
  color: #fff;
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 650;
}

.hero-code {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.hero-code code {
  margin-left: 8px;
  color: #fff;
  font: 13px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.02em;
}

.reservation-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 14px;
  padding: 20px 24px;
  border-radius: 18px;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 18px 40px rgba(15, 95, 86, 0.18);
}

.reservation-label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 500;
}

.reservation-value {
  margin-top: 2px;
  font-size: 46px;
  line-height: 1;
  font-weight: 650;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.reservation-value small {
  margin-left: 6px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
}

.reservation-note {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.5;
  text-align: right;
  white-space: nowrap;
}

.error {
  margin: 20px 24px 24px;
  padding: 28px;
  border-radius: 14px;
  text-align: center;
  background: var(--red-soft);
  color: var(--red);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 2px 0;
  color: var(--muted);
  font-size: 12px;
}

.footer a { color: var(--brand); font-weight: 600; }

.loading {
  padding: 60px 24px;
  text-align: center;
  color: var(--muted);
}

@media (max-width: 920px) {
  .locations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .units { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-row { grid-template-columns: 1fr; }
  .summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .landing-body { padding: 12px; }
  .landing-hero, .landing-content { min-height: 540px; }
  .landing-content { padding: 28px 22px; }
  .landing-content h1 { font-size: 42px; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 24px, 1120px); padding-top: 18px; }
  .topbar { padding-bottom: 12px; }
  .hero { padding: 14px 0 20px; }
  .hero h1 { font-size: 30px; }
  .locations, .units { grid-template-columns: 1fr; }
  .qr-actions { align-items: flex-start; }
  .qr-box { width: 116px; height: 116px; }
  .reservation-card { flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px; }
  .reservation-note { text-align: left; white-space: normal; }
  .space-hero, .space-hero-content { min-height: 230px; }
  .space-hero-content { padding: 20px; }
  .summary-grid { padding: 18px; }
  .units { padding: 0 18px 18px; }
  .footer { flex-direction: column; align-items: flex-start; }
}

/* /k/{ref} 入口首页 */
.landing-content { max-width: 720px; }

.hero-actions {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-top: 30px;
  width: 100%;
  max-width: 700px;
}

.hero-actions .lookup {
  flex: 1;
  min-width: 0;
  margin: 0;
  max-width: none;
  background: rgba(255, 255, 255, 0.96);
}

.hero-actions .lookup input { font-size: 16px; }

.login-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 58px;
  padding: 0 26px;
  border: 0;
  border-radius: 14px;
  background: #07c160;
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(7, 193, 96, 0.28);
  transition: background 0.15s ease, transform 0.15s ease;
}

.login-btn:hover { background: #06ad56; transform: translateY(-1px); }
.login-btn:active { transform: translateY(0); }
.login-btn[hidden] { display: none; }

@media (max-width: 760px) {
  .hero-actions { flex-direction: column; gap: 10px; }
  .login-btn { width: 100%; }
}

/* ===== 城市选择 ===== */
.city-dock {
  position: fixed;
  top: max(14px, env(safe-area-inset-top));
  right: max(14px, env(safe-area-inset-right));
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(15, 28, 25, 0.7);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.city-dock:hover { background: rgba(15, 28, 25, 0.84); }
.city-dock svg { flex: none; opacity: 0.9; }
.city-dock-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  line-height: 1.05;
}
.city-dock-kicker {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  opacity: 0.7;
}
.city-dock-name {
  max-width: 128px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 650;
}
.city-dock-caret { margin-left: 1px; font-size: 12px; opacity: 0.7; }

.city-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(10, 18, 16, 0.48);
}
.city-overlay[hidden] { display: none; }
body.city-open { overflow: hidden; }

.city-sheet {
  display: flex;
  flex-direction: column;
  width: min(760px, 100%);
  max-height: min(720px, 86vh);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.25);
}
.city-sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px 14px;
  border-bottom: 1px solid var(--line);
}
.city-sheet-kicker {
  margin-bottom: 4px;
  color: var(--brand);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.city-sheet-head h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.city-close {
  width: 34px;
  height: 34px;
  flex: none;
  padding: 0;
  border-radius: 50%;
  background: var(--soft);
  color: var(--ink);
  font-size: 23px;
  font-weight: 400;
  line-height: 1;
}
.city-close:hover { background: var(--line); }

.city-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: auto;
  margin: 14px 22px 0;
  padding: 10px 13px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  text-align: left;
}
.city-all > span:first-child { display: flex; align-items: baseline; gap: 9px; }
.city-all strong { font-size: 14px; }
.city-all small { font-size: 11px; font-weight: 500; opacity: 0.72; }
.city-all-check {
  display: none;
  font-size: 14px;
  font-weight: 700;
}
.city-all.is-selected { border-color: #b7d7ce; }
.city-all.is-selected .city-all-check { display: inline; }

.city-body {
  display: grid;
  grid-template-columns: 178px minmax(0, 1fr);
  min-height: 0;
  flex: 1;
}
.city-provinces {
  min-height: 0;
  overflow: auto;
  padding: 10px;
  border-right: 1px solid var(--line);
  background: #fbfcfb;
}
.city-province {
  width: 100%;
  height: auto;
  padding: 9px 10px;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 550;
  text-align: left;
}
.city-province:hover { background: var(--brand-soft); color: var(--brand); }
.city-province.is-active { background: var(--brand); color: #fff; }

.city-cities {
  min-height: 0;
  overflow: auto;
  padding: 15px 18px 22px;
}
.city-cities-title {
  margin-bottom: 11px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 550;
}
.city-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.city-option {
  height: auto;
  min-height: 38px;
  padding: 8px 6px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: var(--soft);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
  word-break: break-all;
}
.city-option:hover { border-color: #bfd4cf; background: #f0f6f4; }
.city-option.is-selected {
  border-color: #b7d7ce;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 650;
}

.city-dock:focus-visible,
.city-close:focus-visible,
.city-all:focus-visible,
.city-province:focus-visible,
.city-option:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .city-dock {
    top: max(10px, env(safe-area-inset-top));
    right: max(10px, env(safe-area-inset-right));
    height: 38px;
    padding: 0 11px;
  }
  .city-dock-kicker { display: none; }
  .city-dock-name { max-width: 92px; font-size: 12px; }
  .city-overlay { align-items: flex-end; padding: 0; }
  .city-sheet {
    width: 100%;
    max-height: 82vh;
    border-radius: 20px 20px 0 0;
  }
  .city-sheet-head { padding: 17px 17px 12px; }
  .city-all { margin: 12px 17px 0; }
  .city-body { grid-template-columns: 1fr; }
  .city-provinces {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 9px 12px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .city-province {
    width: auto;
    flex: none;
    white-space: nowrap;
    padding: 8px 10px;
  }
  .city-cities { padding: 13px 14px 20px; }
  .city-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
