/* 三盛贸易介绍页
   配色：雪线下的暖白纸色 + 塔县湖水青绿 + 罕萨杏子金。黑暗模式是帕米尔夜空 */
:root {
  --bg: #F6F3EE;
  --bg-alt: #EEE9E1;
  --surface: #FFFFFF;
  --surface-2: #FBF9F6;
  --ink: #0F1A21;
  --ink-2: #2B3A43;
  --muted: #5E6A72;
  --line: #E0D9CE;
  --line-2: #D2C9BB;
  --accent: #0D6B63;
  --accent-ink: #FFFFFF;
  --accent-soft: #DCEEEA;
  --gold: #A8712C;
  --gold-soft: #F4E7D3;
  --danger: #B42318;
  --hero-a: #E4ECEE;
  --hero-b: #F6F3EE;
  --ridge: #D4DEE1;
  --ridge-top: #FFFFFF;
  --ridge-line: #0F1A21;
  --star: transparent;
  /* 平面图 */
  --p-area: #F1ECE4;
  --p-path: #E4DED3;
  --p-green: #DCE7D3;
  --p-green-line: #C3D4B6;
  --p-other: #ECE6DC;
  --p-free: #E3F2EE;
  --p-free-line: #0D6B63;
  --p-taken: #E7E3DD;
  --p-taken-ink: #9A9A94;
  --p-idle: #FFFFFF;
  --p-road: #3A444B;
  --p-nb: #E9E5DF;
  --shadow: 0 1px 2px rgba(15, 26, 33, 0.05), 0 8px 28px rgba(15, 26, 33, 0.07);
  --shadow-lg: 0 2px 6px rgba(15, 26, 33, 0.06), 0 22px 60px rgba(15, 26, 33, 0.12);
  --radius: 18px;
  --sans: "Inter", -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", Roboto, sans-serif;
  --serif: "Fraunces", "Noto Serif SC", "Songti SC", "STSong", Georgia, "Times New Roman", serif;
  color-scheme: light;
}
/* 黑暗模式：跟随系统，或按右上角按钮手动切换 */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A1117; --bg-alt: #0E171F; --surface: #111C25; --surface-2: #14212B;
    --ink: #EAF0F2; --ink-2: #C9D4D9; --muted: #92A1AA; --line: #1F2E39; --line-2: #2A3B47;
    --accent: #4CC2B2; --accent-ink: #04201C; --accent-soft: #12302D; --gold: #E3AE63; --gold-soft: #2E2416; --danger: #F2796D;
    --hero-a: #060B10; --hero-b: #0A1117; --ridge: #0F1C25; --ridge-top: #1B3140; --ridge-line: #CFE0E6; --star: rgba(255, 255, 255, 0.75);
    --p-area: #13202A; --p-path: #182833; --p-green: #15302A; --p-green-line: #1F4238; --p-other: #172530;
    --p-free: #10302C; --p-free-line: #4CC2B2; --p-taken: #1A242C; --p-taken-ink: #5E6C75; --p-idle: #1A2833; --p-road: #26333C; --p-nb: #16212A;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 30px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.35), 0 24px 70px rgba(0, 0, 0, 0.5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0A1117; --bg-alt: #0E171F; --surface: #111C25; --surface-2: #14212B;
  --ink: #EAF0F2; --ink-2: #C9D4D9; --muted: #92A1AA; --line: #1F2E39; --line-2: #2A3B47;
  --accent: #4CC2B2; --accent-ink: #04201C; --accent-soft: #12302D; --gold: #E3AE63; --gold-soft: #2E2416; --danger: #F2796D;
  --hero-a: #060B10; --hero-b: #0A1117; --ridge: #0F1C25; --ridge-top: #1B3140; --ridge-line: #CFE0E6; --star: rgba(255, 255, 255, 0.75);
  --p-area: #13202A; --p-path: #182833; --p-green: #15302A; --p-green-line: #1F4238; --p-other: #172530;
  --p-free: #10302C; --p-free-line: #4CC2B2; --p-taken: #1A242C; --p-taken-ink: #5E6C75; --p-idle: #1A2833; --p-road: #26333C; --p-nb: #16212A;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.35), 0 24px 70px rgba(0, 0, 0, 0.5);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16.5px/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.lang-zh { --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif; }
.lang-ur { --serif: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", "Urdu Typesetting", serif; font-family: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", "Urdu Typesetting", var(--sans); font-size: 17px; line-height: 2.15; }
.lang-ur h1, .lang-ur h2, .lang-ur h3 { line-height: 1.9; letter-spacing: 0 !important; }
a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4, p { margin: 0; }
svg { flex: none; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 560px) { .wrap { padding: 0 16px; } }

/* ---------------------------------------------------------------- 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font: 600 0.98rem/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.lang-ur .btn { font-family: inherit; font-weight: 600; line-height: 1.6; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
[dir="rtl"] .i-arrow { transform: scaleX(-1); }
.btn.primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 20px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn.primary:hover { transform: translateY(-1px); box-shadow: 0 10px 28px color-mix(in srgb, var(--accent) 42%, transparent); }
.btn.ghost { background: color-mix(in srgb, var(--surface) 70%, transparent); color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--ink-2); }
.btn.sm { min-height: 40px; padding: 0 16px; font-size: 0.9rem; }
.btn.wide { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: progress; transform: none; }

/* ---------------------------------------------------------------- 顶栏 */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.top-inner { display: flex; align-items: center; gap: 22px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand .b1 { fill: var(--accent); } .brand .b2 { fill: var(--surface); }
.brand span { font: 600 1.12rem/1 var(--serif); letter-spacing: 0.01em; }
.lang-ur .brand span { font-size: 1.05rem; line-height: 1.8; }
.nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: 0.92rem; padding: 8px 12px; border-radius: 999px; transition: color 0.15s, background 0.15s; }
.nav a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.langs { display: flex; gap: 2px; font-size: 0.86rem; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--surface) 60%, transparent); }
.langs a, .langs span { padding: 4px 10px; border-radius: 999px; text-decoration: none; color: var(--muted); line-height: 1.5; }
.langs a:hover { color: var(--ink); }
.langs [aria-current] { background: var(--ink); color: var(--bg); font-weight: 600; }
.theme-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 60%, transparent); color: var(--ink); display: grid; place-items: center; cursor: pointer; padding: 0; }
.theme-btn:hover { border-color: var(--line-2); }
.theme-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.theme-btn .i-moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-btn .i-sun { display: none; } :root:not([data-theme="light"]) .theme-btn .i-moon { display: block; } }
:root[data-theme="dark"] .theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-moon { display: block; }
@media (max-width: 980px) { .nav { display: none; } .langs { margin-inline-start: auto; } }
@media (max-width: 420px) { .brand span { font-size: 1rem; } .top-inner { gap: 10px; } .langs a, .langs span { padding: 4px 7px; } }

/* ---------------------------------------------------------------- 首屏 */
.hero { position: relative; overflow: hidden; padding-top: clamp(56px, 10vw, 120px); background: linear-gradient(180deg, var(--hero-a) 0%, var(--hero-b) 78%); isolation: isolate; }
.sky { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 18%, var(--star) 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 8%, var(--star) 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 44% 22%, var(--star) 50%, transparent 51%),
    radial-gradient(1px 1px at 61% 12%, var(--star) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 74% 28%, var(--star) 50%, transparent 51%),
    radial-gradient(1px 1px at 86% 9%, var(--star) 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 93% 24%, var(--star) 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 34%, var(--star) 50%, transparent 51%),
    radial-gradient(1px 1px at 53% 36%, var(--star) 50%, transparent 51%),
    radial-gradient(900px 420px at 80% -10%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%),
    radial-gradient(700px 380px at 0% 0%, color-mix(in srgb, var(--gold) 10%, transparent), transparent 70%);
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 0.78rem/1.4 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.lang-zh .eyebrow, .lang-ur .eyebrow { letter-spacing: 0.06em; font-size: 0.86rem; }
.lang-ur .eyebrow { font-family: inherit; line-height: 2; }
.hero h1 { font: 600 clamp(2.5rem, 6.6vw, 5rem)/1.04 var(--serif); letter-spacing: -0.025em; max-width: 13em; margin: 18px 0 0; }
.lang-zh .hero h1 { letter-spacing: 0.02em; line-height: 1.2; font-weight: 700; }
.lang-ur .hero h1 { font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.85; }
.hero .lead { max-width: 38em; margin: 22px 0 32px; font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--ink-2); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.profile-fig { margin: clamp(28px, 6vw, 56px) 0 0; position: relative; }
.profile { display: block; width: 100%; height: auto; max-height: 400px; }
.profile .ridge { fill: none; stroke: var(--ridge-line); stroke-width: 1.8; stroke-linejoin: round; opacity: 0.85; }
.profile .border { stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 4 5; }
.profile .stop circle { fill: var(--bg); stroke: var(--ridge-line); stroke-width: 2; }
.profile .stop.home circle { fill: var(--accent); stroke: var(--bg); stroke-width: 3; }
.profile .stop line { stroke: var(--muted); stroke-width: 1; opacity: 0.45; }
.profile .stop text { fill: var(--muted); font: 15px var(--sans); }
.profile .stop.home text { fill: var(--accent); font-weight: 600; }
.profile .peak circle { fill: var(--gold); }
.profile .peak line { stroke: var(--gold); stroke-width: 1.5; }
.profile .peak-name { fill: var(--ink); font: 600 18px var(--serif); }
.profile .peak-alt { fill: var(--gold); font: 600 16px var(--sans); font-variant-numeric: tabular-nums; }
.lang-ur .profile text { font-family: "Noto Nastaliq Urdu", serif; }
.profile-fig figcaption { position: absolute; bottom: 10px; inset-inline: 0; font-size: 0.78rem; color: var(--muted); }
@media (max-width: 640px) {
  .profile .stop text { font-size: 24px; } .profile .peak-name { font-size: 26px; } .profile .peak-alt { font-size: 23px; }
  .profile .stop:nth-of-type(2) text, .profile .stop:nth-of-type(4) text { display: none; }
  .profile-fig figcaption { position: static; padding-top: 6px; }
}
.stats { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: -6px 0 0; padding: 0 0 clamp(48px, 7vw, 80px); gap: 14px; }
.stats div { background: color-mix(in srgb, var(--surface) 82%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow); }
.stats dt { font: 600 clamp(1.5rem, 2.6vw, 2rem)/1.1 var(--serif); color: var(--ink); font-variant-numeric: lining-nums; }
.stats dd { margin: 6px 0 0; font-size: 0.86rem; color: var(--muted); line-height: 1.45; }
.lang-ur .stats dd { line-height: 2; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------------------------------------------------------------- 通用版块 */
.sect { padding: clamp(64px, 9vw, 112px) 0; }
.sect.alt { background: var(--bg-alt); }
.sect-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 52px); }
.sect-head h2, .contact-card h2 { font: 600 clamp(1.9rem, 4.2vw, 3rem)/1.12 var(--serif); letter-spacing: -0.02em; margin-top: 12px; }
.lang-zh .sect-head h2, .lang-zh .contact-card h2 { letter-spacing: 0.02em; line-height: 1.3; }
.lang-ur .sect-head h2, .lang-ur .contact-card h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.9; }
.sect-lead { margin-top: 16px; color: var(--ink-2); font-size: 1.06rem; max-width: 44em; }

.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px 30px; box-shadow: var(--shadow); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card .num { font: 600 2.4rem/1 var(--serif); color: var(--gold); opacity: 0.9; display: block; margin-bottom: 26px; }
.card h3 { font: 600 1.28rem/1.3 var(--serif); margin-bottom: 10px; }
.lang-ur .card h3 { line-height: 1.9; }
.card p { color: var(--muted); }
@media (max-width: 860px) { .cards3 { grid-template-columns: 1fr; } }

.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; }
.steps li { counter-increment: step; position: relative; padding-top: 56px; }
.steps li::before {
  content: counter(step, decimal-leading-zero); position: absolute; top: 0; inset-inline-start: 0;
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line-2); color: var(--accent); font: 600 0.95rem var(--sans); font-variant-numeric: tabular-nums;
}
.steps li::after { content: ""; position: absolute; top: 21px; inset-inline-start: 52px; inset-inline-end: -12px; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }
[dir="rtl"] .steps li::after { background: linear-gradient(-90deg, var(--line-2), transparent); }
.steps li:last-child::after { display: none; }
.steps h3 { font: 600 1.08rem/1.35 var(--serif); margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 0.95rem; }
.note { margin-top: 36px; padding: 16px 20px; border-radius: 14px; background: var(--gold-soft); color: var(--ink); font-size: 0.95rem; max-width: 48em; border: 1px solid color-mix(in srgb, var(--gold) 25%, transparent); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { padding: 0 0 26px; padding-inline-start: 60px; min-height: 66px; }
  .steps li::after { top: 46px; bottom: 4px; height: auto; width: 1px; inset-inline-start: 21px; inset-inline-end: auto; background: var(--line-2) !important; }
}

/* ---------------------------------------------------------------- 民宿 */
.props { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 28px; }
.prop-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.prop-top { display: flex; align-items: center; gap: 14px; }
.prop-side { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font: 600 1rem var(--sans); color: var(--accent); background: var(--accent-soft); flex: none; }
.prop-card h3 { font: 600 1.55rem/1.2 var(--serif); }
.lang-ur .prop-card h3 { line-height: 1.8; }
.prop-tag { color: var(--gold); font-size: 0.88rem; font-weight: 600; margin-top: 2px; }
.prop-card > p { color: var(--muted); }
.feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.feats li { display: flex; gap: 8px; align-items: flex-start; font-size: 0.93rem; }
.feats svg { width: 18px; height: 18px; margin-top: 3px; fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.any-btn { align-self: flex-start; margin-top: auto; }
@media (max-width: 860px) { .props { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .feats { grid-template-columns: 1fr; } }

.booker { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg); padding: clamp(14px, 2.4vw, 24px); }
.search { display: grid; grid-template-columns: 1fr 1fr 110px auto; gap: 12px; align-items: end; padding-bottom: clamp(14px, 2.4vw, 22px); border-bottom: 1px solid var(--line); margin-bottom: clamp(14px, 2.4vw, 22px); }
.search label, .f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.search label > span, .f > span { font-size: 0.8rem; color: var(--muted); font-weight: 600; letter-spacing: 0.02em; }
input, textarea, select {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--surface-2); width: 100%; min-width: 0;
  border: 1px solid var(--line-2); border-radius: 12px; padding: 11px 13px; min-height: 48px; transition: border-color 0.15s, box-shadow 0.15s;
}
textarea { resize: vertical; min-height: 84px; }
input:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
input[type="date"] { -webkit-appearance: none; appearance: none; }
.search .btn { min-height: 48px; }
@media (max-width: 760px) {
  .search { grid-template-columns: 1fr 1fr; }
  .search .g { grid-column: 1; }
  .search .btn { grid-column: 2; }
}

.book-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
@media (max-width: 1080px) { .book-grid { grid-template-columns: minmax(0, 1fr); } }
.plan-card { border: 1px solid var(--line); border-radius: 18px; padding: 16px; background: var(--surface-2); }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.plan-head h3 { font: 600 1.15rem/1.3 var(--serif); }
.seg { display: inline-flex; padding: 3px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; }
.seg button { font: inherit; font-size: 0.86rem; border: 0; background: transparent; color: var(--muted); padding: 6px 14px; border-radius: 999px; cursor: pointer; min-height: 34px; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); font-weight: 600; }
.plan-wrap { position: relative; }
.plan { display: block; width: 100%; height: auto; user-select: none; -webkit-user-select: none; }
.plan text { font-family: var(--sans); }
.lang-ur .plan text { font-family: "Noto Nastaliq Urdu", var(--sans); }
.plan .road { fill: var(--p-road); }
.plan .road-mid { stroke: rgba(255, 255, 255, 0.55); stroke-width: 2; stroke-dasharray: 22 16; }
.plan .road-tag { fill: var(--p-road); }
.plan .lbl-road { fill: #fff; font-size: 15px; font-weight: 600; letter-spacing: 0.04em; }
.plan .compass circle { fill: var(--surface); stroke: var(--line-2); }
.plan .compass path { fill: var(--gold); }
.plan .lbl-n { fill: var(--muted); font-size: 11px; font-weight: 600; }
.plan .area { fill: var(--p-area); stroke: var(--line-2); stroke-width: 1.5; }
.plan .g { fill: var(--p-green); stroke: var(--p-green-line); }
.plan .pv { fill: var(--p-path); }
.plan .o { fill: var(--p-other); stroke: var(--line-2); }
.plan .tbl { fill: color-mix(in srgb, var(--gold) 45%, var(--p-other)); }
.plan .lbl-o { fill: var(--muted); font-size: 11.5px; }
.plan .lbl-soft { fill: color-mix(in srgb, var(--ink) 45%, transparent); font-size: 14px; font-style: italic; letter-spacing: 0.04em; }
.plan .lbl-gate { fill: var(--muted); font-size: 11px; }
.plan .gate rect, .plan .gate-r { fill: var(--gold); }
.plan .pn { fill: var(--ink); font-family: var(--serif); font-size: 22px; font-weight: 600; }
.plan .nb-area { fill: var(--p-nb); stroke: var(--line); stroke-dasharray: 5 5; }
.plan .nb-house { fill: url(#hatch); stroke: var(--line-2); }
.plan .hatch { stroke: var(--line-2); stroke-width: 2; }
.plan .nb-path { fill: color-mix(in srgb, var(--p-nb) 70%, var(--p-path)); }
.plan .lbl-nb { fill: var(--muted); font-size: 14px; font-weight: 600; }
.plan .lbl-nb2 { fill: var(--muted); font-size: 11.5px; }
.plan .room { cursor: pointer; outline: none; }
.plan .room rect { fill: var(--p-idle); stroke: var(--line-2); stroke-width: 1.5; transition: fill 0.2s, stroke 0.2s; }
.plan .room .rn { fill: var(--ink); font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.plan .room .rb { fill: var(--muted); font-size: 12.5px; }
.plan .room .dot { fill: transparent; }
.plan .room:hover rect, .plan .room:focus-visible rect { stroke: var(--accent); stroke-width: 2.5; }
.plan .room.free rect { fill: var(--p-free); stroke: var(--p-free-line); }
.plan .room.free .dot { fill: var(--accent); }
.plan .room.taken rect { fill: var(--p-taken); stroke: var(--line); }
.plan .room.taken .rn, .plan .room.taken .rb { fill: var(--p-taken-ink); }
.plan .room.taken .dot { fill: var(--p-taken-ink); }
.plan .room.sel rect { fill: var(--gold); stroke: var(--gold); }
.plan .room.sel .rn, .plan .room.sel .rb { fill: #fff; }
.plan .room.sel .dot { fill: #fff; }
:root[data-theme="dark"] .plan .room.sel .rn, :root[data-theme="dark"] .plan .room.sel .rb { fill: #1B1306; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .plan .room.sel .rn, :root:not([data-theme="light"]) .plan .room.sel .rb { fill: #1B1306; } }
.plan .prop.dim { opacity: 0.35; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; font-size: 0.85rem; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.lg { width: 14px; height: 14px; border-radius: 4px; display: inline-block; border: 1.5px solid; }
.lg.free { background: var(--p-free); border-color: var(--p-free-line); }
.lg.taken { background: var(--p-taken); border-color: var(--line-2); }
.lg.sel { background: var(--gold); border-color: var(--gold); }
.plan-status { margin-top: 8px; font-size: 0.9rem; color: var(--ink-2); }
.plan-status.warn { color: var(--gold); }

.room-list { margin-top: 18px; display: grid; gap: 18px; }
.rooms-group h4 { font: 600 1rem var(--serif); margin-bottom: 8px; color: var(--ink-2); }
.rooms { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.rc-btn { width: 100%; text-align: start; font: inherit; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; cursor: pointer; display: grid; gap: 2px; min-height: 92px; transition: border-color 0.15s, background 0.15s, transform 0.15s; }
.rc-btn:hover { border-color: var(--accent); transform: translateY(-1px); }
.rc-no { font-weight: 700; }
.rc-meta { font-size: 0.82rem; color: var(--muted); }
.rc-cap::before { content: " · "; }
.rc-cap:empty::before { content: ""; }
.rc-price { font-size: 0.85rem; color: var(--ink-2); }
.rc-state { font-size: 0.78rem; font-weight: 600; }
.rc.free .rc-btn { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.rc.free .rc-state { color: var(--accent); }
.rc.taken .rc-btn { background: var(--p-taken); color: var(--p-taken-ink); cursor: not-allowed; }
.rc.taken .rc-state { color: var(--p-taken-ink); }
.rc.sel .rc-btn { border-color: var(--gold); background: var(--gold-soft); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 25%, transparent); }
.rc.sel .rc-state { color: var(--gold); }
.rooms-group[hidden] { display: none; }

.req { position: sticky; top: 84px; border: 1px solid var(--line); border-radius: 18px; padding: 20px; background: var(--surface-2); min-height: 200px; }
@media (max-width: 1080px) { .req { position: static; } }
.req h3 { font: 600 1.25rem/1.3 var(--serif); margin-bottom: 12px; }
.lang-ur .req h3 { line-height: 1.9; }
.req-empty { display: grid; place-items: center; text-align: center; gap: 12px; padding: 28px 10px; color: var(--muted); }
.req-empty svg { width: 34px; height: 34px; fill: none; stroke: var(--gold); stroke-width: 1.6; }
.req-form { display: grid; gap: 12px; }
.sum { border-radius: 14px; background: var(--surface); border: 1px solid var(--line); padding: 12px 14px; display: grid; gap: 4px; font-size: 0.93rem; }
.sum .s-room { font: 600 1.06rem var(--serif); display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.sum .s-room button { font: inherit; font-size: 0.82rem; background: none; border: 0; color: var(--accent); cursor: pointer; padding: 4px; text-decoration: underline; }
.sum .s-line { color: var(--muted); }
.sum .s-est { color: var(--ink-2); font-weight: 600; }
.hint { font-size: 0.84rem; color: var(--muted); }
.f2 { display: grid; grid-template-columns: 1fr 96px; gap: 10px; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; }
.err { color: var(--danger); font-size: 0.9rem; min-height: 0; }
.err:empty { display: none; }
.alt-links { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: center; }
.alt-a { display: inline-flex; align-items: center; gap: 6px; font-size: 0.9rem; text-decoration: none; color: var(--ink-2); padding: 6px 4px; }
.alt-a:hover { color: var(--accent); }
.alt-a svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.alt-a.wa svg { stroke: #1FA855; } .alt-a.wa .fillc { fill: #1FA855; stroke: none; }
.req-done { text-align: center; display: grid; gap: 12px; justify-items: center; padding: 10px 4px; }
.done-mark { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); }
.done-mark svg { width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.req-done p { color: var(--ink-2); }

/* ---------------------------------------------------------------- 位置 */
.loc { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); min-height: 420px; background: var(--surface-2); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }
:root[data-theme="dark"] .map iframe { filter: invert(0.9) hue-rotate(180deg) saturate(0.7) brightness(0.95); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .map iframe { filter: invert(0.9) hue-rotate(180deg) saturate(0.7) brightness(0.95); } }
.loc-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 18px; }
.locator { width: 100%; height: auto; }
.locator .road { fill: var(--p-road); } .locator .road-mid { stroke: rgba(255, 255, 255, 0.5); stroke-dasharray: 10 8; stroke-width: 1.5; }
.locator .lbl-road { fill: #fff; font: 600 11px var(--sans); }
.locator .ju, .locator .yi { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 1.5; }
.locator .nbx { fill: var(--p-nb); stroke: var(--line-2); stroke-dasharray: 4 4; }
.locator .t { fill: var(--accent); font: 600 13px var(--serif); }
.locator .t2 { fill: var(--muted); font: 600 11px var(--sans); }
.locator .t3 { fill: var(--muted); font: 10px var(--sans); }
.locator .dir { fill: var(--gold); font: 700 11px var(--sans); }
.lang-ur .locator text { font-family: "Noto Nastaliq Urdu", var(--sans); }
.where { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.where li { display: flex; gap: 12px; align-items: flex-start; }
.where p { color: var(--muted); font-size: 0.92rem; }
.pin { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font: 700 0.8rem var(--sans); flex: none; }
.loc-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
@media (max-width: 900px) { .loc { grid-template-columns: 1fr; } .map, .map iframe { min-height: 340px; } }

/* ---------------------------------------------------------------- 联系 */
.contact { padding-top: clamp(40px, 6vw, 72px); }
.contact-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; border-radius: 28px; padding: clamp(28px, 5vw, 56px);
  background: radial-gradient(600px 300px at 100% 0%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%), var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.contacts { display: grid; gap: 12px; margin: 0; }
.contacts div { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; background: var(--surface-2); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.contacts .ci { grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); }
.contacts .ci svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.7; }
.contacts .ci .fillc { fill: var(--accent); stroke: none; }
.contacts dt { font-size: 0.8rem; color: var(--muted); }
.contacts dd { margin: 0; font-weight: 600; word-break: break-word; font-size: 1.05rem; }
.contacts dd a { color: var(--ink); text-decoration: none; }
.contacts dd a:hover { color: var(--accent); }
@media (max-width: 860px) { .contact-card { grid-template-columns: 1fr; } }

.foot { padding: 28px 0 calc(36px + env(safe-area-inset-bottom)); color: var(--muted); font-size: 0.86rem; border-top: 1px solid var(--line); margin-top: clamp(40px, 6vw, 72px); }
.foot-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }

.toast { position: fixed; inset-inline: 16px; bottom: calc(18px + env(safe-area-inset-bottom)); margin: 0 auto; max-width: 460px; z-index: 50; background: var(--ink); color: var(--bg); padding: 12px 16px; border-radius: 14px; box-shadow: var(--shadow-lg); font-size: 0.93rem; opacity: 0; transform: translateY(10px); transition: opacity 0.2s, transform 0.2s; pointer-events: none; }
.toast.show { opacity: 1; transform: none; }

@media (pointer: coarse) { .nav a { padding: 10px 12px; } .seg button { min-height: 40px; } }
