/* ==========================================================================
 DooAsset base.css — "Spatial 2070" design system (front-foundation)
 Ported from design-ref/artboards (Home-*, Main style guide). Light = default.
 Breakpoints: mobile-first · 768px tablet · 1200px desktop.
 ========================================================================== */

/* 0. Fonts (self-hosted, thai + latin subsets) */
@font-face{font-family:'Chakra Petch';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/chakra-petch-600-thai.woff2) format('woff2');unicode-range:U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC}
@font-face{font-family:'Chakra Petch';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/chakra-petch-600-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Chakra Petch';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/chakra-petch-700-thai.woff2) format('woff2');unicode-range:U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC}
@font-face{font-family:'Chakra Petch';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/chakra-petch-700-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'IBM Plex Sans Thai';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/ibm-plex-sans-thai-400-thai.woff2) format('woff2');unicode-range:U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC}
@font-face{font-family:'IBM Plex Sans Thai';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/ibm-plex-sans-thai-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'IBM Plex Sans Thai';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/ibm-plex-sans-thai-500-thai.woff2) format('woff2');unicode-range:U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC}
@font-face{font-family:'IBM Plex Sans Thai';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/ibm-plex-sans-thai-500-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'IBM Plex Sans Thai';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/ibm-plex-sans-thai-600-thai.woff2) format('woff2');unicode-range:U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC}
@font-face{font-family:'IBM Plex Sans Thai';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/ibm-plex-sans-thai-600-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/jetbrains-mono-500-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

/* 1. Tokens: LIGHT (default) */
:root {
 color-scheme: light;
 --void: #F3F5FA; --deep: #E8ECF4; --panel-solid: #FFFFFF; --panel-raised: #EDF1F7;
 --text: #0B1220; --text-2: #3A4660; --text-3: #55627C; --text-4: #8A94A8;
 --mint-ink: #00705F; --violet-ink: #5439C9; --amber-ink: #8A5300; --rose-ink: #B4233A; --blue-ink: #1463B0; --line-ink: #067A36; --wa-ink: #0F7A6C;
 --wbg-03: rgba(255,255,255,.71); --wbg-035: rgba(255,255,255,.72); --wbg-04: rgba(255,255,255,.72); --wbg-05: rgba(255,255,255,.74);
 --wbg-06: rgba(255,255,255,.76); --wbg-08: rgba(11,18,32,.068); --wbg-1: rgba(11,18,32,.085); --wbg-12: rgba(11,18,32,.102);
 --wbg-14: rgba(11,18,32,.119); --wbg-22: rgba(11,18,32,.187); --wbg-24: rgba(11,18,32,.204);
 --wbd-06: rgba(11,18,32,.08); --wbd-08: rgba(11,18,32,.08); --wbd-1: rgba(11,18,32,.085); --wbd-12: rgba(11,18,32,.102);
 --wbd-14: rgba(11,18,32,.119); --wbd-18: rgba(11,18,32,.153); --wbd-22: rgba(11,18,32,.187); --wbd-3: rgba(11,18,32,.255);
 --sh-2: rgba(16,24,40,.06); --sh-25: rgba(16,24,40,.075); --sh-35: rgba(16,24,40,.105); --sh-4: rgba(16,24,40,.12);
 --sh-45: rgba(16,24,40,.135); --sh-5: rgba(16,24,40,.15); --sh-55: rgba(16,24,40,.165); --sh-6: rgba(16,24,40,.18);

 /* fixed brand fills (same in both themes) */
 --mint: #62F5D5; --on-mint: #03130F; --violet: #A895FF; --on-violet: #120A33;
 --amber: #FFC46B; --on-amber: #1F1400; --rose: #FF8A98; --blue: #5AB8FF; --line-green: #06C755; --wa-green: #25D366;
 --mint-t10: rgba(98,245,213,.10); --mint-t14: rgba(98,245,213,.14); --mint-b35: rgba(98,245,213,.35); --mint-b45: rgba(98,245,213,.45); --mint-b60: rgba(98,245,213,.6);
 --glow: 0 0 0 1px rgba(98,245,213,.45), 0 10px 36px rgba(98,245,213,.28);
 --glow-nav: inset 0 0 0 1px rgba(98,245,213,.45), 0 8px 28px rgba(98,245,213,.20);

 /* semantic aliases */
 --glass: var(--wbg-05); --glass-blur: blur(24px) saturate(140%);
 --line: var(--wbd-1); --line-strong: var(--wbd-18);
 --shadow: 0 24px 64px var(--sh-45);
 --scrim: rgba(5,7,12,.62);

 --f-display: 'Chakra Petch', 'IBM Plex Sans Thai', sans-serif;
 --f-body: 'IBM Plex Sans Thai', 'Sukhumvit Set', Thonburi, sans-serif;
 --f-mono: 'JetBrains Mono', ui-monospace, monospace;
 --r-card: 24px; --r-media: 20px; --r-ctl: 14px; --r-pill: 999px;
 --gutter: 16px; --nav-offset: 0px; --aurora-h: 1100px; --btn-h: 52px; --chip-h: 44px;
}

/* 2. Tokens: DARK (toggle) + always-dark surfaces */
[data-theme="dark"], [data-scheme="dark"] {
 color-scheme: dark;
 --void: #05070C; --deep: #0A0F1A; --panel-solid: #0E1422; --panel-raised: #141C2E;
 --text: #F2F5FF; --text-2: #B4BDD3; --text-3: #8792AB; --text-4: #4B556B;
 --mint-ink: #62F5D5; --violet-ink: #A895FF; --amber-ink: #FFC46B; --rose-ink: #FF8A98; --blue-ink: #5AB8FF; --line-ink: #06C755; --wa-ink: #25D366;
 --wbg-03: rgba(255,255,255,.03); --wbg-035: rgba(255,255,255,.035); --wbg-04: rgba(255,255,255,.04); --wbg-05: rgba(255,255,255,.05);
 --wbg-06: rgba(255,255,255,.06); --wbg-08: rgba(255,255,255,.08); --wbg-1: rgba(255,255,255,.1); --wbg-12: rgba(255,255,255,.12);
 --wbg-14: rgba(255,255,255,.14); --wbg-22: rgba(255,255,255,.22); --wbg-24: rgba(255,255,255,.24);
 --wbd-06: rgba(255,255,255,.06); --wbd-08: rgba(255,255,255,.08); --wbd-1: rgba(255,255,255,.1); --wbd-12: rgba(255,255,255,.12);
 --wbd-14: rgba(255,255,255,.14); --wbd-18: rgba(255,255,255,.18); --wbd-22: rgba(255,255,255,.22); --wbd-3: rgba(255,255,255,.3);
 --sh-2: rgba(0,0,0,.2); --sh-25: rgba(0,0,0,.25); --sh-35: rgba(0,0,0,.35); --sh-4: rgba(0,0,0,.4);
 --sh-45: rgba(0,0,0,.45); --sh-5: rgba(0,0,0,.5); --sh-55: rgba(0,0,0,.55); --sh-6: rgba(0,0,0,.6);
}
/* inherited `color` is already resolved → re-apply inside always-dark islands */
[data-scheme="dark"] { color: var(--text); }

/* 3. Reset / base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 76px; }
body {
 margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; position: relative;
 background: var(--void); color: var(--text); font-family: var(--f-body); font-size: 16px; line-height: 1.7;
 -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
 transition: background-color .35s ease, color .35s ease;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--mint-ink); text-underline-offset: 3px; }
a:hover { opacity: .85; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--mint-ink); outline-offset: 2px; }
::placeholder { color: var(--text-3); opacity: 1; }
::selection { background: rgba(98,245,213,.35); color: var(--text); }
.no-js .js-only { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
 position: absolute; left: 16px; top: -100px; z-index: 100; padding: 10px 16px; border-radius: var(--r-ctl);
 background: var(--mint); color: var(--on-mint); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.main { position: relative; z-index: 1; flex: 1 0 auto; display: flex; flex-direction: column; padding-top: var(--nav-offset); outline: none; }

/* 4. Typography & helpers */
.h1, .h2, .h3, .display { font-family: var(--f-display); font-weight: 700; color: var(--text); }
.h1 { font-size: 31px; line-height: 1.32; }
.h2 { font-size: 24px; line-height: 1.35; }
.h3 { font-size: 19px; line-height: 1.35; font-weight: 600; }
.h1 em, .h2 em, .accent { font-style: normal; color: var(--mint-ink); }
.lead { font-size: 16px; line-height: 1.7; color: var(--text-2); }
.small { font-size: 14px; line-height: 1.6; }
.caption, .provenance { font-size: 13px; line-height: 1.5; color: var(--text-3); }
.provenance { margin-top: 12px; }
.hud { font-family: var(--f-mono); font-weight: 500; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; line-height: 1.5; color: var(--text-3); }
.muted { color: var(--text-2); } .mint { color: var(--mint-ink); } .violet { color: var(--violet-ink); } .amber { color: var(--amber-ink); } .rose { color: var(--rose-ink); }
.ico-mint { color: var(--mint); } .ico-violet { color: var(--violet); } .ico-line { color: var(--line-green); } .ico-rose { color: var(--rose-ink); }
.ico-wa { color: var(--wa-ink); }
.price { font-family: var(--f-display); font-weight: 700; font-size: 22px; line-height: 1.3; color: var(--text); white-space: nowrap; }
.price--lg { font-size: 28px; } .price--xl { font-size: 34px; }
.price__unit { font-size: 14px; color: var(--text-2); }
.prose { font-size: 16px; line-height: 1.8; color: var(--text-2); }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-family: var(--f-display); font-size: 22px; line-height: 1.35; color: var(--text); margin-top: 1.6em; }
.prose h3 { font-size: 18px; line-height: 1.5; color: var(--text); margin-top: 1.4em; }
.prose strong { color: var(--text); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 16px 0; }

/* 5. Layout */
.wrap { width: 100%; max-width: calc(1200px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: 32px; }
.section--tight { padding-block: 24px; }
.section--band { background: var(--deep); }
.stack { display: flex; flex-direction: column; gap: 16px; } .stack--s { gap: 8px; } .stack--l { gap: 24px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.grid { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.cards { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.cards > li, .grid > li { min-width: 0; display: flex; flex-direction: column; }
.cards > li > *, .grid > li > * { flex: 1; }
.hscroll {
 display: flex; align-items: stretch; gap: 12px; overflow-x: auto; margin-inline: calc(-1 * var(--gutter));
 padding: 4px var(--gutter) 12px; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter); scrollbar-width: none;
}
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { flex: none; width: 296px; scroll-snap-align: start; display: flex; flex-direction: column; }
.hscroll > * > * { flex: 1; }
.panel { background: var(--panel-solid); border: 1px solid var(--line); border-radius: var(--r-card); }
.panel--glass { background: var(--glass); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: var(--shadow); }
.panel--pad { padding: 20px; }
.panel--edge { border-top-color: var(--mint-b60); }
.media { position: relative; overflow: hidden; border-radius: var(--r-media); background: var(--panel-raised); }
.media > img { width: 100%; height: 100%; object-fit: cover; }
.media::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); pointer-events: none; }
.media--4x3 { aspect-ratio: 4 / 3; } .media--16x10 { aspect-ratio: 16 / 10; } .media--1x1 { aspect-ratio: 1; }
.media-ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 120px; color: var(--text-3);
 background: radial-gradient(70% 70% at 30% 20%, rgba(98,245,213,.12), rgba(98,245,213,0) 70%), var(--panel-raised); }

/* 6. Aurora (one per page) */
.aurora {
 position: absolute; top: 0; left: 0; right: 0; height: var(--aurora-h); z-index: 0; pointer-events: none;
 background: radial-gradient(60% 55% at 15% 0%, rgba(98,245,213,.20), rgba(98,245,213,0) 60%),
 radial-gradient(50% 45% at 90% 10%, rgba(168,149,255,.22), rgba(168,149,255,0) 62%),
 radial-gradient(45% 40% at 55% 100%, rgba(90,184,255,.12), rgba(90,184,255,0) 70%), var(--void);
 -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
}
.aurora__grid {
 position: absolute; inset: 0;
 background-image: linear-gradient(var(--wbg-035) 1px, transparent 1px), linear-gradient(90deg, var(--wbg-035) 1px, transparent 1px);
 background-size: 56px 56px;
 -webkit-mask-image: radial-gradient(90% 55% at 50% 18%, #000, transparent); mask-image: radial-gradient(90% 55% at 50% 18%, #000, transparent);
}

/* 7. Buttons */
.btn {
 display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: var(--btn-h); padding: 0 22px;
 border-radius: var(--r-ctl); border: 1px solid transparent; font-size: 16px; font-weight: 600; line-height: 1.2;
 text-decoration: none; white-space: nowrap; cursor: pointer; transition: box-shadow .2s ease, background-color .2s ease, transform .15s ease;
}
.btn:hover { opacity: 1; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--mint); color: var(--on-mint); box-shadow: var(--glow); }
.btn--primary:hover { box-shadow: 0 0 0 1px rgba(98,245,213,.6), 0 12px 40px rgba(98,245,213,.38); }
.btn--secondary { background: var(--wbg-06); border-color: var(--wbd-18); color: var(--text); }
.btn--secondary:hover { background: var(--wbg-08); }
.btn--ghost { height: auto; min-height: 44px; padding: 0; border: 0; background: none; color: var(--mint-ink); gap: 6px; }
.btn--line { background: rgba(6,199,85,.14); border-color: rgba(6,199,85,.55); color: var(--text); }
.btn--line svg { color: var(--line-green); }
.btn--wa { background: rgba(37,211,102,.14); border-color: rgba(37,211,102,.55); color: var(--text); }
.btn--wa svg { color: var(--wa-ink); }
.btn--block { display: flex; width: 100%; }
.btn--pill { border-radius: var(--r-pill); }
.btn--sm { height: 44px; padding: 0 16px; font-size: 15px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.icon-btn {
 flex: none; width: 44px; height: 44px; padding: 0; display: inline-flex; align-items: center; justify-content: center;
 border-radius: var(--r-pill); border: 1px solid var(--wbd-18); background: var(--wbg-06); color: var(--text); cursor: pointer; text-decoration: none; position: relative;
}
.icon-btn--line { background: transparent; border-color: var(--wbd-14); }
.icon-btn--mint { color: var(--mint-ink); background: var(--mint-t10); border-color: var(--mint-b35); }
.icon-btn:hover { opacity: 1; background: var(--wbg-08); }
.count-dot { position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--rose); color: #2A0710;
 font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }

/* 8. Chips, badges, pills, tokens */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--scroll, .chips--scroll-all { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
.chips--scroll > li, .chips--scroll-all > li { flex: none; }
.chip {
 display: inline-flex; align-items: center; gap: 8px; height: var(--chip-h); padding: 0 16px; border-radius: var(--r-pill);
 border: 1px solid var(--wbd-18); background: var(--wbg-04); color: var(--text-2); font-size: 14px; font-weight: 600; line-height: 1;
 white-space: nowrap; text-decoration: none; cursor: pointer;
}
.chip:hover { opacity: 1; border-color: var(--wbd-3); color: var(--text); }
.chip.is-selected, .chip[aria-pressed="true"], .chip[aria-current="true"], .chip[aria-current="page"] { background: var(--mint-t14); border-color: var(--mint-b60); color: var(--mint-ink); }
.chip__count { font-family: var(--f-mono); font-weight: 500; font-size: 12px; letter-spacing: .08em; opacity: .8; }
.chips--sm .chip { height: 40px; padding: 0 14px; }
/* a long chip or button is never wider than the screen: on a 360 px phone "Condos for Rent near BTS Asok / MRT Sukhumvit (50)"
   and "คอนโดให้เช่า ย่านพร้อมพงษ์ ทั้งหมด 86 ห้อง" pushed the page sideways; they wrap instead (19 Oct 2026) */
.chips:not(.chips--scroll):not(.chips--scroll-all) > li { max-width: 100%; }
.chips:not(.chips--scroll):not(.chips--scroll-all) .chip { max-width: 100%; height: auto; min-height: var(--chip-h); padding-block: 6px; line-height: 1.3; white-space: normal; }
.row > .btn { max-width: 100%; height: auto; min-height: var(--btn-h); padding-block: 8px; white-space: normal; text-align: center; }
.badge { display: inline-block; padding: 4px 10px; border-radius: var(--r-pill); font-size: 12px; font-weight: 700; line-height: 1.4; white-space: nowrap; }
.badge--sale { background: var(--mint); color: var(--on-mint); }
.badge--rent { background: var(--violet); color: var(--on-violet); }
.badge--furn, .badge--count { padding: 3px 10px; background: var(--scrim); border: 1px solid var(--wbd-18); color: var(--text); font-weight: 600; }
.badge--count { border-color: var(--wbd-14); }
.badge--neutral { padding: 3px 10px; border: 1px solid var(--wbd-18); color: var(--text); font-weight: 600; }
.badge--mint { background: var(--mint-t14); color: var(--mint-ink); } .badge--violet { background: rgba(168,149,255,.14); color: var(--violet-ink); }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 0 12px; border-radius: var(--r-pill); font-size: 13px; font-weight: 600; line-height: 1.3; white-space: nowrap; }
.pill__dot { flex: none; width: 8px; height: 8px; border-radius: 999px; background: var(--mint); animation: daPulse 2.4s ease-in-out infinite; }
.pill--live, .pill--mint { background: var(--mint-t10); border: 1px solid var(--mint-b35); color: var(--mint-ink); }
.pill--violet { background: rgba(168,149,255,.14); color: var(--violet-ink); }
.pill--blue { background: rgba(90,184,255,.14); color: var(--blue-ink); }
.pill--grey { background: var(--wbg-08); color: var(--text-2); }
.pill--amber { background: rgba(255,196,107,.16); color: var(--amber-ink); }
.pill--rose { background: rgba(255,138,152,.14); color: var(--rose-ink); }
.pill--glass { background: var(--scrim); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(98,245,213,.4); }
@keyframes daPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(98,245,213,.55); } 50% { box-shadow: 0 0 0 6px rgba(98,245,213,0); } }
.token { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: var(--r-pill); font-size: 13px; font-weight: 600; line-height: 1; white-space: nowrap;
 background: var(--wbg-06); border: 1px solid var(--wbd-18); color: var(--text); }
.token--hot { background: var(--mint-t14); border-color: var(--mint-b60); color: var(--mint-ink); }
.live { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.live__chip { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border-radius: var(--r-pill); background: var(--mint-t10); border: 1px solid var(--mint-b35); }
.live__hud { color: var(--mint-ink); }
.live__text { font-size: 13px; line-height: 1.5; color: var(--text-2); }
.live__tag { margin-left: auto; }

/* 9. Forms */
.field { display: flex; flex-direction: column; min-width: 0; }
.field__label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; line-height: 1.5; color: var(--text-2); }
.field__opt { font-weight: 400; color: var(--text-3); }
.field__hint { margin-top: 6px; font-size: 13px; line-height: 1.5; color: var(--text-3); }
.field__error { margin-top: 6px; display: flex; align-items: center; gap: 6px; font-size: 13px; line-height: 1.5; color: var(--rose-ink); }
.input {
 width: 100%; height: 52px; padding: 0 16px; border-radius: var(--r-ctl); background: var(--panel-raised); border: 1px solid var(--wbd-18);
 font-size: 16px; color: var(--text); transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
textarea.input { height: auto; min-height: 132px; padding: 14px 16px; line-height: 1.6; resize: vertical; }
select.input { padding-right: 44px; background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%);
 background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.input:focus { outline: none; border-color: var(--mint); box-shadow: var(--glow); }
.input:focus-visible { outline: 2px solid var(--mint-ink); outline-offset: 2px; }
.input[aria-invalid="true"] { border-color: var(--rose); box-shadow: 0 0 0 1px rgba(255,138,152,.35); }
.check { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding: 10px 0; font-size: 15px; line-height: 1.6; color: var(--text-2); cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--mint); }
.form-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.notice { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: var(--r-ctl); font-size: 15px; line-height: 1.6;
 background: var(--mint-t10); border: 1px solid var(--mint-b35); color: var(--text); }
.notice > svg { flex: none; margin-top: 3px; color: var(--mint-ink); }
.notice--warn { background: rgba(255,196,107,.14); border-color: rgba(255,196,107,.5); } .notice--warn > svg { color: var(--amber-ink); }
.notice--error { background: rgba(255,138,152,.12); border-color: rgba(255,138,152,.5); } .notice--error > svg { color: var(--rose-ink); }

/* 10. Table */
.table { width: 100%; font-size: 14px; line-height: 1.6; }
.table caption { caption-side: top; text-align: left; padding-bottom: 8px; font-size: 15px; font-weight: 600; color: var(--text); }
.table thead th { padding: 6px 12px 6px 0; text-align: left; font-size: 13px; font-weight: 500; color: var(--text-3); border-bottom: 1px solid var(--line); }
.table tbody th, .table tbody td { padding: 8px 12px 8px 0; text-align: left; border-bottom: 1px solid var(--wbd-06); vertical-align: top; }
.table tbody th { font-weight: 500; color: var(--text-2); }
.table tbody td { color: var(--text); }
.table tbody tr:last-child > * { border-bottom: 0; }
.table .num, .table th.num { text-align: right; padding-right: 0; }
.table td.muted { color: var(--text-3); }
.table__val { font-weight: 600; color: var(--text); }
.table__bar { margin-top: 4px; height: 4px; border-radius: 999px; background: var(--wbg-08); }
.table__bar::before { content: ''; display: block; width: var(--w, 0%); height: 4px; border-radius: 999px; background: rgba(168,149,255,.85); }
.table tr.is-hl th, .table tr.is-hl .table__val { color: var(--mint-ink); font-weight: 600; }
.table tr.is-hl .table__bar::before { background: var(--mint); box-shadow: 0 0 10px rgba(98,245,213,.6); }
.table-scroll { overflow-x: auto; }

/* 11. Logo */
.logo { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; flex: none; }
.logo:hover { opacity: 1; }
.logo__mark { width: 28px; height: 28px; flex: none; }
.logo__word { font-family: var(--f-display); font-weight: 700; font-size: 21px; letter-spacing: .01em; line-height: 1; color: var(--text); }
.logo__accent { color: var(--mint-ink); }

/* 12. ORBIT NAV (mobile top bar → tablet capsule → desktop fixed capsule) */
.orbit { position: sticky; top: 0; z-index: 30; flex: none; }
.orbit__bar {
 position: relative; height: 60px; display: flex; align-items: center; gap: 6px; padding: 0 8px 0 16px;
 border-bottom: 1px solid var(--line);
}
/* glass lives on a pseudo layer: a backdrop-filter on the bar itself would become the backdrop root of the menu sheet
   (nested backdrop-filter) and the page would show through the open sheet unblurred */
.orbit__bar::before {
 content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
 background: var(--glass); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.orbit__divider, .orbit__links, .orbit__saved, .orbit__lang, .orbit__login, .orbit__cta, .orbit__ask-label, .orbit__kbd, .orbit__cta-long { display: none; }
.orbit__spacer { flex: 1; }
.orbit__links { align-items: center; gap: 2px; }
.orbit__link {
 position: relative; display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--r-pill);
 font-size: 16px; font-weight: 500; color: var(--text-2); text-decoration: none; white-space: nowrap;
}
.orbit__link:hover { opacity: 1; color: var(--text); background: var(--wbg-06); }
.orbit__link[aria-current="page"] { color: var(--mint-ink); font-weight: 600; background: rgba(98,245,213,.12); box-shadow: var(--glow-nav); }
.orbit__link[aria-current="page"]::after {
 content: ''; position: absolute; left: 50%; bottom: -2px; width: 22px; height: 3px; margin-left: -11px; border-radius: 999px;
 background: var(--mint); box-shadow: 0 0 10px rgba(98,245,213,.9), 0 0 20px rgba(98,245,213,.5);
}
.orbit__ask {
 flex: none; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
 border-radius: var(--r-pill); color: var(--mint-ink); background: var(--mint-t10); border: 1px solid var(--mint-b35); text-decoration: none;
}
.orbit__ask:hover { opacity: 1; background: var(--mint-t14); }
.orbit__kbd { align-items: center; height: 26px; padding: 0 8px; border-radius: 8px; border: 1px solid var(--wbd-18); background: var(--wbg-06);
 font-family: var(--f-mono); font-weight: 500; font-size: 12px; letter-spacing: .08em; color: var(--text-2); }
.orbit__lang { align-items: center; gap: 0; height: 44px; padding: 0 4px; border-radius: var(--r-pill); border: 1px solid var(--wbd-14);
 font-size: 14px; font-weight: 600; color: var(--text-2); text-decoration: none; flex: none; }
.orbit__lang-on { color: var(--mint-ink); } .orbit__lang-sep { color: var(--text-4); }
/* TH / EN switch = two links (current one aria-current + mint) */
.lang-opt { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; min-height: 40px; padding: 0 4px; border-radius: var(--r-pill);
 color: inherit; text-decoration: none; }
.lang-opt:hover { opacity: 1; color: var(--text); }
.lang-opt.orbit__lang-on, .lang-opt.orbit__lang-on:hover { color: var(--mint-ink); }
.theme-form { display: flex; margin: 0; flex: none; }
.theme-toggle { border-color: var(--wbd-14); }
:root:not([data-theme="dark"]) .theme-toggle__sun, [data-theme="dark"] .theme-toggle__moon { display: none; }
.orbit__cta { margin-left: 6px; height: 44px; padding: 0 18px; gap: 6px; font-size: 15px; }
.orbit__menu { flex: none; }
.orbit__menu > summary { list-style: none; }
.orbit__menu > summary::-webkit-details-marker { display: none; }
.orbit__menu-close { display: none; }
.orbit__menu[open] .orbit__menu-close { display: block; }
.orbit__menu[open] .orbit__menu-open { display: none; }
.sheet {
 position: absolute; top: 66px; left: 8px; right: 8px; z-index: 40; padding: 10px; border-radius: 24px; display: flex; flex-direction: column; gap: 2px;
 background: rgba(255,255,255,.97); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
 border: 1px solid var(--wbd-12); box-shadow: 0 24px 64px var(--sh-6);
}
/* the menu sheet follows the page theme like the dock (Sky 26 Sep 2026) */
[data-theme="dark"] .sheet { background: linear-gradient(var(--wbg-05), var(--wbg-05)), rgba(8,12,20,.94); }
.sheet__links { display: flex; flex-direction: column; gap: 2px; }
.sheet__link { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 14px; border-radius: 14px;
 color: var(--text); font-size: 17px; font-weight: 600; text-decoration: none; }
.sheet__link:hover { opacity: 1; background: var(--wbg-06); }
.sheet__link[aria-current="page"] { color: var(--mint-ink); background: rgba(98,245,213,.12); box-shadow: var(--glow-nav); }
.sheet__link[aria-current="page"] .hud { color: var(--mint-ink); }
.sheet__cta { margin-top: 6px; }
.sheet__utils { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.sheet__util { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: 14px; color: var(--text-2);
 font-size: 14px; font-weight: 600; text-decoration: none; }
.sheet__util:hover { opacity: 1; background: var(--wbg-06); }
.sheet__lang { gap: 0; }
.sheet__lang:hover { background: none; }
.sheet__lang .lang-opt { min-width: 44px; min-height: 44px; }
.sheet__lang .lang-opt:hover { background: var(--wbg-06); }

/* 13. DOCK */
.dock {
 position: sticky; bottom: 16px; z-index: 40; flex: none; margin: 16px 16px 16px; height: 68px; padding: 4px 6px; border-radius: var(--r-pill);
 display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center;
 background: rgba(255,255,255,.9); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
 border: 1px solid var(--line); box-shadow: 0 24px 64px var(--sh-45);
}
/* the dock follows the page theme (Sky 25 Sep 2026: the dark capsule looked out of place on the light theme) */
[data-theme="dark"] .dock { background: linear-gradient(var(--wbg-05), var(--wbg-05)), rgba(8,12,20,.86); }
.dock__item { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 58px;
 color: var(--text-2); font-size: 12px; font-weight: 500; line-height: 1.3; text-decoration: none; }
.dock__item:hover { opacity: 1; color: var(--text); }
.dock__glow { display: none; position: absolute; top: 0; left: 50%; width: 36px; height: 4px; margin-left: -18px; border-radius: 999px;
 background: var(--mint); box-shadow: 0 0 12px rgba(98,245,213,.9), 0 0 24px rgba(98,245,213,.5); }
.dock__item[aria-current="page"] { color: var(--mint-ink); font-weight: 600; }
.dock__item[aria-current="page"] .dock__glow { display: block; }

/* 14. FOOTER */
.footer { position: relative; z-index: 1; flex: none; padding: 40px 0 28px; border-top: 1px solid var(--line);
 background: radial-gradient(80% 260px at 0% 0%, rgba(98,245,213,.08), rgba(98,245,213,0) 70%), var(--void); }
.footer a { color: var(--text-2); text-decoration: none; }
.footer a:hover { color: var(--text); opacity: 1; }
.footer .logo { display: inline-flex; }
.footer__tagline { margin-top: 10px; font-family: var(--f-display); font-weight: 600; font-size: 18px; line-height: 1.35; color: var(--text); }
.footer__about { margin-top: 4px; font-size: 14px; line-height: 1.6; color: var(--text-2); }
.footer__contact { margin-top: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 12px; }
.footer__contact a { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; }
.footer__nav { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
.footer__title { margin: 0 0 4px; font-size: 14px; font-weight: 600; line-height: 1.6; color: var(--text); }
.footer__links a { display: flex; align-items: center; min-height: 44px; font-size: 14px; line-height: 1.4; }
.footer__links--3 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 8px; }
.footer__bottom { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.footer__inner { position: relative; }
.footer__legal { font-size: 13px; line-height: 1.5; color: var(--text-3); }
.footer__lang { display: flex; align-items: center; gap: 2px; }
.footer__lang .hud { margin-right: 6px; }
.footer__lang a { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; font-size: 14px; font-weight: 600; }
.footer .footer__lang-on { color: var(--mint-ink); }
.footer__lang-sep { color: var(--text-4); }

/* 15. Breadcrumb */
.crumbs ol, .pager ol { margin: 0; padding: 0; list-style: none; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; font-size: 13px; line-height: 1.5; color: var(--text-3); }
.crumbs li { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-3); text-decoration: none; }
.crumbs a:hover { color: var(--text); opacity: 1; }
.crumbs__sep { color: var(--text-4); }
.crumbs__current { color: var(--text); font-weight: 600; }

/* 16. Section head */
.shead { display: flex; flex-direction: column; gap: 12px; }
.shead__hud { margin: 0 0 10px; display: flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-weight: 500; font-size: 12px;
 letter-spacing: .08em; text-transform: uppercase; line-height: 1.5; color: var(--text-3); }
.shead__idx { color: var(--mint-ink); }
.shead__rule { width: 24px; height: 1px; background: rgba(98,245,213,.5); }
.shead__title { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: 24px; line-height: 1.35; color: var(--text); }
.shead__intro { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--text-2); }
.shead + * { margin-top: 20px; }

/* 17. Answer panel (AEO) */
.answer { padding: 16px 16px 14px; border-radius: 24px; background: var(--glass); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
 border: 1px solid var(--line); border-top-color: var(--mint-b60); box-shadow: var(--shadow); }
.answer__label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; line-height: 1.5; color: var(--mint-ink); }
.answer__tag { margin-left: auto; }
.answer__body { margin-top: 10px; font-size: 16px; line-height: 1.7; color: var(--text); }
.answer__body > * + * { margin-top: 12px; }
.answer__body strong { font-weight: 600; }
.answer__body .muted { color: var(--text-2); }
.answer__source { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.5; color: var(--text-3); }

/* 18. Facts grid (<dl>) */
.facts { display: grid; gap: 12px; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); margin: 0; }
.facts dt { font-size: 13px; line-height: 1.5; color: var(--text-3); }
.facts dd { margin: 2px 0 0; font-size: 16px; font-weight: 600; line-height: 1.5; color: var(--text); }
.facts .is-wide { grid-column: 1 / -1; }
.facts--card .facts__item { padding: 16px 18px; border-radius: 20px; background: var(--panel-solid); border: 1px solid var(--line); }
.facts--card .is-hl, .facts--tile .is-hl { background: rgba(98,245,213,.08); border-color: transparent; box-shadow: inset 0 0 0 1px rgba(98,245,213,.3); }
.facts .is-hl dt { color: var(--text-2); } .facts .is-hl dd { color: var(--mint-ink); }
.facts--tile { gap: 8px; }
.facts--tile .facts__item { padding: 10px 12px; border-radius: 14px; background: var(--panel-raised); }
.facts--tile dd { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: 18px; line-height: 1.35; }
.facts--stat { gap: 16px 12px; }
.facts--stat dd { font-family: var(--f-display); font-weight: 700; font-size: 28px; line-height: 1.3; }

/* 19. FAQ */
.faq__list { margin-top: 16px; padding: 4px 16px; border-radius: 24px; background: var(--panel-solid); border: 1px solid var(--line); }
.faq .shead + .faq__list { margin-top: 16px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 0; }
.faq__q { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 14px 0; cursor: pointer; list-style: none; color: var(--text); }
.faq__q::-webkit-details-marker { display: none; }
.faq__qtext { flex: 1; margin: 0; font-size: 16px; font-weight: 600; line-height: 1.5; }
.faq__chev { flex: none; width: 32px; height: 32px; border-radius: 999px; display: flex; align-items: center; justify-content: center;
 background: var(--wbg-06); color: var(--text-2); transition: transform .25s ease, background-color .2s; }
.faq__item[open] .faq__chev { background: var(--mint-t14); color: var(--mint-ink); transform: rotate(180deg); }
.faq__a { margin: 0; padding: 0 0 18px; font-size: 16px; line-height: 1.7; color: var(--text-2); }
.faq__a strong { font-weight: 600; color: var(--text); }
.faq .provenance { margin-top: 14px; }
.faq__more { margin-top: 12px; }

/* 20. Listing card */
.lcard { position: relative; display: flex; flex-direction: column; min-width: 0; height: 100%; background: var(--panel-solid); border: 1px solid var(--line);
 border-radius: 24px; overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.lcard:hover { border-color: var(--wbd-22); box-shadow: 0 18px 48px var(--sh-25); }
.lcard__media { position: relative; aspect-ratio: 4 / 3; margin: 6px 6px 0; border-radius: 20px; overflow: hidden; background: var(--panel-raised); }
.lcard__link { position: absolute; inset: 0; display: block; }
.lcard__link img { width: 100%; height: 100%; object-fit: cover; }
.lcard__shade { position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
 background: linear-gradient(180deg, rgba(5,7,12,.25) 0%, rgba(5,7,12,0) 30%, rgba(5,7,12,0) 65%, rgba(5,7,12,.5) 100%); }
.lcard__badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; pointer-events: none; }
.save { position: absolute; top: 6px; right: 6px; z-index: 2; width: 44px; height: 44px; padding: 0; display: flex; align-items: center; justify-content: center;
 border-radius: 999px; background: rgba(5,7,12,.5); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid var(--wbd-18); color: var(--text); cursor: pointer; }
.save[aria-pressed="true"] { color: var(--rose-ink); }
.save[aria-pressed="true"] svg { fill: var(--rose); }
.lcard__count { position: absolute; right: 10px; bottom: 10px; pointer-events: none; }
.lcard__avail { position: absolute; left: 10px; bottom: 10px; }
.lcard__body { flex: 1; display: flex; flex-direction: column; padding: 14px 16px 16px; min-width: 0; }
.lcard__pricerow { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; }
.lcard__ppsqm { margin-left: auto; font-size: 13px; line-height: 1.5; color: var(--text-3); white-space: nowrap; }
.lcard__title { margin: 6px 0 0; min-height: 48px; font-size: 16px; font-weight: 600; line-height: 1.5;
 display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lcard__title a { color: var(--text); text-decoration: none; }
.lcard__title a:hover { color: var(--mint-ink); opacity: 1; }
.lcard__title a::after { content: ''; position: absolute; inset: 0; z-index: 1; } /* whole card clickable */
.lcard__station { margin-top: 8px; display: flex; align-items: center; gap: 6px; font-size: 14px; line-height: 1.6; color: var(--text-2); white-space: nowrap; overflow: hidden; }
.lcard__station svg { flex: none; }
.lcard__station span { overflow: hidden; text-overflow: ellipsis; }
.lcard__specs { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 13px; line-height: 1.6; color: var(--text-2); }
.lcard__specs li { display: flex; align-items: center; gap: 4px; }
.lcard__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px;
 font-size: 13px; line-height: 1.5; color: var(--text-3); position: relative; }
.lcard__foot::before { content: ''; position: absolute; left: 0; right: 0; top: 12px; border-top: 1px solid var(--line); }
.lcard .lcard__foot { padding-top: 24px; }
/* compact (horizontal) */
.lcard--compact { flex-direction: row; align-items: stretch; gap: 12px; padding: 6px; }
.lcard--compact .lcard__media { flex: none; width: 128px; min-height: 176px; aspect-ratio: auto; margin: 0; }
.lcard--compact .lcard__badges { top: 8px; left: 8px; flex-direction: column; align-items: flex-start; gap: 4px; }
.lcard--compact .lcard__count { right: auto; left: 8px; bottom: 8px; }
.lcard--compact .lcard__body { padding: 6px 2px 4px 0; }
.lcard__top { display: flex; align-items: flex-start; gap: 4px; }
.lcard__pricebox { flex: 1; min-width: 0; }
.lcard__price { display: flex; align-items: baseline; gap: 4px; }
.lcard--compact .lcard__ppsqm { margin-left: 0; }
.lcard--compact .save { position: relative; top: auto; right: auto; z-index: 2; background: #EDF1F7; border-color: rgba(11,18,32,.1); color: #3A4660; -webkit-backdrop-filter: none; backdrop-filter: none; }
[data-theme="dark"] .lcard--compact .save { background: #141C2E; border-color: rgba(255,255,255,.14); color: #F2F5FF; }
.lcard--compact .lcard__title { margin-top: 4px; min-height: 0; font-size: 15px; }
.lcard--compact .lcard__station { margin-top: 6px; font-size: 13px; }
.lcard--compact .lcard__specs { margin-top: 6px; gap: 2px 10px; }
.lcard--compact .lcard__foot { padding-top: 16px; flex-wrap: wrap; gap: 0 8px; }
.lcard--compact .lcard__foot::before { top: 8px; }
.lcard.is-selected { border-color: var(--mint-b60); box-shadow: var(--glow); }
.lcard.is-selected .price { color: var(--mint-ink); }

/* 21. Pagination */
.pager ol { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px; }
.pager__prev-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pager li { display: flex; }
.pager__num { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 14px; background: var(--wbg-04);
 border: 1px solid var(--wbd-18); color: var(--text-2); font-family: var(--f-display); font-size: 16px; font-weight: 600; text-decoration: none; }
.pager__num:hover { opacity: 1; color: var(--text); border-color: var(--wbd-3); }
.pager__num[aria-current="page"] { background: var(--mint-t14); border-color: var(--mint-b60); color: var(--mint-ink); font-weight: 700; }
.pager__gap { width: 20px; text-align: center; color: var(--text-3); }
.pager__step { height: 44px; padding: 0 16px; display: flex; align-items: center; gap: 4px; border-radius: 14px; background: var(--wbg-06);
 border: 1px solid var(--wbd-18); color: var(--text); font-size: 15px; font-weight: 600; text-decoration: none; }
.pager__step[rel="next"] { padding-right: 12px; } .pager__step[rel="prev"] { width: 44px; padding: 0; justify-content: center; }

/* 22. Price gauge */
.gauge { min-width: 0; }
.gauge__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.gauge__verdict { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--mint-ink); }
.gauge__track { position: relative; height: 8px; border-radius: 999px; background: var(--wbg-08); }
.gauge__fill { position: absolute; left: 0; top: 0; bottom: 0; width: var(--v); border-radius: 999px; background: linear-gradient(90deg, rgba(98,245,213,.10), rgba(98,245,213,.75)); }
.gauge__median { position: absolute; left: var(--m); top: -4px; width: 2px; height: 16px; margin-left: -1px; border-radius: 2px; background: var(--text); }
.gauge__dot { position: absolute; left: var(--v); top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 999px; background: var(--mint);
 box-shadow: 0 0 0 3px rgba(98,245,213,.25), 0 0 14px rgba(98,245,213,.8); }
.gauge__labels { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 8px; margin-top: 8px; font-size: 13px; line-height: 1.5; }
.gauge__this { color: var(--mint-ink); } .gauge__ref { color: var(--text-3); }
.gauge--high .gauge__verdict, .gauge--high .gauge__this { color: var(--amber-ink); }
.gauge--high .gauge__fill { background: linear-gradient(90deg, rgba(255,196,107,.10), rgba(255,196,107,.8)); }
.gauge--high .gauge__dot { background: var(--amber); box-shadow: 0 0 0 3px rgba(255,196,107,.25), 0 0 14px rgba(255,196,107,.7); }
.gauge--mid .gauge__verdict { color: var(--text-2); }

/* 23. Night map */
.nmap { margin: 0; min-width: 0; }
.nmap__view { position: relative; height: var(--map-h, 360px); border-radius: 24px; overflow: hidden; background: #0A1220; border: 1px solid var(--line);
 box-shadow: 0 24px 64px var(--sh-45); isolation: isolate; }
.nmap__view--empty { display: flex; align-items: center; justify-content: center; color: var(--text-3); font-size: 14px; }
.nmap__layer { position: absolute; inset: 0; transform: scale(var(--z, 1)); transform-origin: 50% 50%; transition: transform .35s ease; }
.nmap__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.nmap__line { stroke: var(--mint-ink); }
.nmap__glow { position: absolute; width: 320px; height: 320px; margin: -160px 0 0 -160px; border-radius: 999px; pointer-events: none;
 background: radial-gradient(closest-side, rgba(98,245,213,.20), rgba(98,245,213,.06) 55%, rgba(98,245,213,0) 100%); }
.nmap__ring { position: absolute; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 999px; border: 1px dashed rgba(98,245,213,.45); pointer-events: none; }
.nmap__station { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 999px; background: #0A1220; border: 2px solid var(--mint); }
.nmap__station-label { position: absolute; transform: translate(-50%, 10px); font-size: 12px; font-weight: 600; line-height: 1.4; color: var(--text-2); white-space: nowrap; pointer-events: none; }
.nmap__focus { position: absolute; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 999px; background: var(--void); border: 3px solid var(--mint);
 box-shadow: 0 0 0 4px rgba(98,245,213,.20), 0 0 18px rgba(98,245,213,.9); }
.nmap__focus-label { position: absolute; transform: translate(-50%, 14px); display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 999px;
 background: rgba(5,7,12,.72); border: 1px solid var(--mint-b35); font-size: 12px; font-weight: 600; line-height: 1.4; color: var(--text); white-space: nowrap; pointer-events: none; }
.nmap__focus-label .hud { color: var(--mint-ink); }
.nmap__landmark { position: absolute; transform: translate(-4px, -50%); display: inline-flex; align-items: center; gap: 6px; font-size: 12px; line-height: 1.4; color: var(--text-2); white-space: nowrap; pointer-events: none; }
.nmap__landmark::before { content: ''; width: 6px; height: 6px; border-radius: 2px; background: var(--violet); }
.nmap__anchor { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 999px; background: var(--text); box-shadow: 0 0 0 3px rgba(242,245,255,.14); }
.nmap__pin {
 position: absolute; z-index: 2; transform: translate(-50%, calc(-100% - 10px - var(--stack, 0) * 36px)) scale(calc(1 / var(--z, 1)));
 height: 30px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 999px; cursor: pointer; white-space: nowrap;
 font-family: var(--f-display); font-size: 13px; font-weight: 700; line-height: 1; text-decoration: none;
 background: rgba(10,15,26,.82); color: var(--text); border: 1px solid var(--wbd-22); box-shadow: 0 6px 18px var(--sh-45);
 -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.nmap__pin.is-down { transform: translate(-50%, calc(10px + var(--stack, 0) * 36px)) scale(calc(1 / var(--z, 1))); }
.nmap__pin::before { content: ''; position: absolute; inset: -7px -4px; }
.nmap__cluster { position: absolute; z-index: 2; min-width: 36px; height: 36px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center;
 transform: translate(-50%, calc(-100% - 10px - var(--stack, 0) * 36px)); border-radius: 999px; background: rgba(168,149,255,.18); border: 1px solid rgba(168,149,255,.7);
 font-family: var(--f-mono); font-weight: 500; font-size: 12px; color: var(--text); }
.nmap__cluster.is-down { transform: translate(-50%, calc(10px + var(--stack, 0) * 36px)); }
.nmap__pin:hover { opacity: 1; border-color: var(--mint-b60); z-index: 3; }
.nmap__pin.is-selected, .nmap__pin[aria-pressed="true"], .nmap__pin[aria-current="true"] { z-index: 4; background: var(--mint); color: var(--on-mint); border-color: rgba(98,245,213,.9); box-shadow: var(--glow); }
.nmap__here { position: absolute; top: 12px; left: 12px; z-index: 5; display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px; border-radius: 999px;
 background: rgba(10,15,26,.82); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid var(--mint-b45); color: var(--text); font-size: 14px; font-weight: 600; text-decoration: none; }
.nmap__zoom { position: absolute; top: 12px; right: 12px; z-index: 5; display: flex; flex-direction: column; gap: 4px; }
.nmap__zbtn { width: 44px; height: 44px; padding: 0; display: flex; align-items: center; justify-content: center; border-radius: 14px; cursor: pointer;
 background: rgba(10,15,26,.82); border: 1px solid var(--wbd-18); color: var(--text); }
.nmap__coords { position: absolute; left: 12px; bottom: 10px; z-index: 5; }
.nmap__radius { position: absolute; right: 12px; bottom: 10px; z-index: 5; color: var(--mint-ink); }
.nmap__caption { margin-top: 8px; font-size: 13px; line-height: 1.5; color: var(--text-3); }

/* 24. Ask box (ถาม DooAsset) */
.ask { min-width: 0; }
.ask__label { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 14px; font-weight: 600; line-height: 1.5; color: var(--mint-ink); }
.ask__hud { margin-left: auto; }
.ask__box { display: flex; align-items: center; gap: 6px; height: 56px; padding: 0 5px 0 14px; border-radius: 999px;
 background: var(--glass); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border: 1px solid var(--mint-b45); box-shadow: var(--glow); }
.ask__box:focus-within { outline: 2px solid var(--mint-ink); outline-offset: 2px; }
.ask__spark { flex: none; color: var(--mint); }
.ask__input { flex: 1; min-width: 0; height: 44px; padding: 0; border: 0; background: transparent; font-size: 16px; color: var(--text); text-overflow: ellipsis; }
.ask__input:focus { outline: none; }
.ask__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.ask__go { flex: none; width: 44px; height: 44px; padding: 0; border: 0; display: flex; align-items: center; justify-content: center; border-radius: 999px;
 background: var(--mint); color: var(--on-mint); box-shadow: var(--glow); cursor: pointer; }
.ask__mic.is-listening { color: var(--on-mint); background: var(--mint); border-color: var(--mint); animation: daPulse 1.6s ease-in-out infinite; }
.ask__tokens { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.ask__tokens-label { font-size: 13px; line-height: 1.5; color: var(--text-3); }

/* 25. Dialog + saved list */
.dialog { width: calc(100% - 32px); max-width: 520px; max-height: calc(100dvh - 64px); padding: 20px; border-radius: 28px; border: 1px solid var(--line);
 background: var(--panel-solid); color: var(--text); box-shadow: 0 32px 80px var(--sh-6); }
.dialog::backdrop { background: rgba(5,7,12,.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.dialog__title { display: flex; align-items: center; gap: 8px; font-family: var(--f-display); font-size: 22px; font-weight: 700; line-height: 1.35; }
.dialog__empty { font-size: 15px; line-height: 1.7; color: var(--text-2); }
.saved-list { display: flex; flex-direction: column; gap: 8px; }
.saved-list li { display: flex; align-items: center; gap: 12px; padding: 6px; border-radius: 18px; background: var(--panel-raised); }
.saved-list img, .saved-list .saved-ph { flex: none; width: 72px; height: 56px; border-radius: 12px; object-fit: cover; background: var(--wbg-08); }
.saved-list a { flex: 1; min-width: 0; color: var(--text); text-decoration: none; font-size: 15px; font-weight: 600; line-height: 1.45; }
.saved-list a span { display: block; font-family: var(--f-display); font-size: 15px; color: var(--mint-ink); }

/* 26. Tablet ≥ 768 */
@media (min-width: 768px) {
  :root { --gutter: 32px; --btn-h: 48px; }
  .h1 { font-size: 40px; line-height: 1.3; }
  .h2 { font-size: 28px; }
  .h3 { font-size: 20px; }
  .section { padding-block: 40px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .hscroll { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; overflow: visible; margin-inline: 0; padding: 4px 0 0; }
  .hscroll > * { width: auto; }
  .chips--scroll { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding: 0; }
  .panel { border-radius: 28px; }
  .panel--pad { padding: 24px; }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .form-grid .is-wide { grid-column: 1 / -1; }
  .badge { font-size: 13px; }
  .logo__mark { width: 32px; height: 32px; }

  .orbit { position: relative; padding: 16px var(--gutter) 0; }
  .orbit__bar { height: 64px; gap: 2px; padding: 0 8px 0 18px; border-radius: var(--r-pill); border: 1px solid var(--line); box-shadow: var(--shadow); }
  .orbit__divider { display: block; width: 1px; height: 24px; margin: 0 8px 0 14px; background: var(--wbg-12); }
  .orbit__links { display: flex; }
  .orbit__ask { margin-right: 4px; }
  .theme-form { margin-left: 2px; }
  .orbit__cta, .orbit__cta-short { display: inline-flex; }
  .orbit__menu { display: none; }
  .orbit__lang { display: inline-flex; margin: 0 2px; padding: 0 2px; }
  .orbit__lang .lang-opt { min-width: 26px; padding: 0 3px; }
  html[lang="en"] .orbit__link { padding: 0 10px; }

  .dock { width: 480px; margin: 16px auto; padding: 4px 8px; }

  .footer { padding: 48px 0 28px; background: radial-gradient(60% 280px at 0% 0%, rgba(98,245,213,.08), rgba(98,245,213,0) 70%), var(--void); }
  .footer__brand { display: grid; grid-template-columns: minmax(0, 400px) 240px; justify-content: space-between; column-gap: 32px; align-items: start; }
  .footer__brand > :not(.footer__contact) { grid-column: 1; }
  .footer__brand .logo { justify-self: start; }
  .footer__contact { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; grid-template-columns: minmax(0, 1fr); gap: 0; }
  .footer__nav { margin-top: 32px; gap: 28px 32px; }
  .footer__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
  .footer__links--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; }

  .shead--action { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 24px; }
  .shead__action { flex: none; }
  .shead__title { font-size: 28px; }
  .shead__intro { font-size: 15px; line-height: 1.6; }

  .facts { grid-template-columns: repeat(var(--cols-md, var(--cols, 2)), minmax(0, 1fr)); }
  .faq__list { margin-top: 20px; padding: 4px 24px; border-radius: 28px; }
  .faq__q { min-height: 60px; gap: 16px; }
  .faq__qtext { font-size: 17px; }
  .faq__chev { width: 34px; height: 34px; }
  .faq__a { padding: 0 50px 20px 0; }

  .answer { padding: 20px 22px 16px; border-radius: 28px; }
  .lcard { border-radius: 28px; }
  .lcard__media { border-radius: 22px; }
  .lcard__badges { top: 12px; left: 12px; }
  .lcard--compact .lcard__media { width: 168px; }
  .nmap__view { height: var(--map-h-md, var(--map-h, 420px)); border-radius: 28px; }
  .ask__box { gap: 8px; }
  .pager ol { justify-content: flex-start; gap: 6px; }
  .pager__prev-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .pager__step[rel="prev"] { width: auto; padding: 0 16px 0 12px; }
}

/* 26b. Narrow tablet (768–833): the capsule also carries the TH / EN switch → slightly tighter links */
@media (min-width: 768px) and (max-width: 833.98px) {
  .orbit__link { padding: 0 11px; }
}

/* 27. Desktop ≥ 1200 */
@media (min-width: 1200px) {
  :root { --gutter: 24px; --nav-offset: 104px; --chip-h: 40px; }
  html { scroll-padding-top: 112px; }
  .h1 { font-size: 56px; line-height: 1.28; }
  .h2 { font-size: 36px; }
  .section { padding-block: 56px; }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards--4, .hscroll { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hscroll--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lead { font-size: 17px; }

  .orbit { position: fixed; top: 20px; left: 0; right: 0; padding: 0 var(--gutter); pointer-events: none; }
  .orbit__bar { pointer-events: auto; max-width: 1200px; margin: 0 auto; height: 68px; gap: 4px; padding: 0 10px 0 22px; }
  .logo { gap: 10px; }
  .orbit__divider { margin: 0 12px 0 20px; }
  .orbit__link { padding: 0 16px; }
  .orbit__ask { width: auto; height: 44px; padding: 0 8px 0 14px; gap: 10px; color: var(--text); background: rgba(98,245,213,.08); font-size: 15px; font-weight: 500; }
  .orbit__ask-icon { width: 20px; height: 20px; color: var(--mint); }
  .orbit__ask-label { display: inline; }
  .orbit__kbd { display: inline-flex; }
  .orbit__saved { display: inline-flex; margin-left: 4px; }
  .orbit__lang { display: inline-flex; margin: 0; padding: 0 4px; }
  .orbit__lang .lang-opt { min-width: 34px; padding: 0 4px; }
  html[lang="en"] .orbit__link { padding: 0 12px; }
  .orbit__login { display: inline-flex; }
  .orbit__cta { height: 48px; padding: 0 22px; gap: 8px; font-size: 16px; }
  .orbit__cta-long { display: inline; } .orbit__cta-short { display: none; }

  .dock { display: none; }

  .footer { padding: 64px 0 32px; background: radial-gradient(40% 320px at 0% 0%, rgba(98,245,213,.08), rgba(98,245,213,0) 70%), var(--void); }
  .footer__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 4fr); gap: 24px; }
  .footer__brand { display: block; }
  .footer__contact { margin-top: 12px; }
  .footer__nav { margin-top: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .footer__title { margin-top: 8px; }
  .footer__links, .footer__links--3 { display: block; }
  .footer__bottom { margin-top: 40px; }

  .shead__hud { margin-bottom: 12px; }
  .shead__rule { width: 32px; }
  .shead__title { font-size: 36px; }
  .shead__intro { margin-top: 10px; max-width: 780px; font-size: 16px; line-height: 1.7; }
  .facts { grid-template-columns: repeat(var(--cols-lg, var(--cols-md, var(--cols, 2))), minmax(0, 1fr)); }

  .faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; align-items: start; }
  .faq > .shead { grid-column: 1 / span 4; }
  .faq > .faq__list { grid-column: 5 / span 8; grid-row: 1 / span 3; margin-top: 0; padding: 6px 28px; }
  .faq > .provenance, .faq > .faq__more { grid-column: 1 / span 4; }
  .faq--stacked { display: block; }
  .faq--stacked > .faq__list { margin-top: 24px; }
  .faq__q { min-height: 64px; padding: 16px 0; }
  .faq__qtext { font-size: 18px; }
  .faq__chev { width: 36px; height: 36px; }
  .faq__a { padding: 0 56px 22px 0; }

  .answer { padding: 22px 24px 18px; }
  .answer__body { font-size: 17px; }
  .lcard__badges { top: 10px; left: 10px; }
  .lcard .price { font-size: 24px; }
  .lcard--compact .price { font-size: 22px; }
  .nmap__view { height: var(--map-h-lg, var(--map-h-md, 480px)); }
  .ask--lg .ask__box { height: 60px; padding: 0 7px 0 20px; gap: 8px; }
  .ask--lg .ask__input { height: 46px; font-size: 17px; }
  .ask--lg .ask__mic, .ask--lg .ask__go { width: 46px; height: 46px; }
  .btn--sm { height: 44px; }
}

/* 28. Motion, print */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  .aurora, .orbit, .dock, .footer__nav, .save, .nmap__zoom, .nmap__here, .skip-link, dialog { display: none !important; }
  body { background: #fff; color: #000; }
  .main { padding-top: 0; }
  .panel, .lcard, .answer, .faq__list { box-shadow: none; border-color: #ccc; background: #fff; }
  a { color: #000; }
  .faq__item:not([open]) .faq__a { display: block; }
}

/* ---- Google map upgrade (public/js/gmap.js) — the SVG sketch stays underneath until tiles load ---- */
.nmap__g { position: absolute; inset: 0; z-index: 1; }
.nmap__view.is-google .nmap__layer, .nmap__view.is-google .nmap__zoom, .nmap__view.is-google .nmap__coords, .nmap__view.is-google .nmap__radius { display: none; }
.nmap__view.is-google { background: var(--panel-raised); }
.gpin { position: absolute; transform: translate(-50%, calc(-100% - 6px)); height: 30px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 999px;
  cursor: pointer; white-space: nowrap; font-family: var(--f-display); font-size: 13px; font-weight: 700; line-height: 1; text-decoration: none;
  background: #0E1422; color: #F2F5FF; border: 1px solid rgba(255,255,255,.22); box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.gpin::after { content: ''; position: absolute; left: 50%; bottom: -6px; width: 10px; height: 10px; margin-left: -5px; transform: rotate(45deg); background: inherit;
  border-right: 1px solid rgba(255,255,255,.22); border-bottom: 1px solid rgba(255,255,255,.22); z-index: -1; }
.gpin::before { content: ''; position: absolute; inset: -7px -4px; }
.gpin:hover, .gpin:focus-visible { z-index: 3; border-color: rgba(98,245,213,.6); }
.gpin.is-selected, .gpin[aria-pressed="true"], .gpin[aria-current="true"] { z-index: 4; background: #62F5D5; color: #03130F; border-color: rgba(98,245,213,.9); box-shadow: 0 0 0 1px rgba(98,245,213,.45), 0 10px 36px rgba(98,245,213,.28); }
.gst { position: absolute; transform: translate(-7px, -7px); display: inline-flex; align-items: center; gap: 6px; pointer-events: none; }
.gst__dot { width: 14px; height: 14px; border-radius: 999px; background: #03130F; border: 3px solid #62F5D5; box-shadow: 0 0 0 4px rgba(98,245,213,.25); }
.gst__name { padding: 3px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.3; white-space: nowrap; background: rgba(14,20,34,.88); color: #F2F5FF; border: 1px solid rgba(255,255,255,.18); }
.gst--focus .gst__dot { width: 16px; height: 16px; }
.nmap__view.is-google .nmap__here { z-index: 6; }
.gpin-group { position: absolute; z-index: 2; }
.gpin-group.is-open { z-index: 6; }
.gpin-group > .gpin { position: absolute; left: 0; top: 0; }
.gpin__n { margin-left: 5px; font-family: var(--f-body); font-size: 12px; font-weight: 600; opacity: .85; }
.gpop { position: absolute; left: 0; top: 8px; transform: translateX(-50%); min-width: 236px; max-width: 280px; max-height: 240px; overflow: auto; margin: 0; padding: 6px; list-style: none;
  border-radius: 16px; background: #0E1422; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 16px 40px rgba(0,0,0,.4); }
.gpop__item { display: flex; flex-direction: column; gap: 2px; width: 100%; min-height: 44px; padding: 8px 10px; border-radius: 10px; text-align: left; text-decoration: none; color: #F2F5FF; background: none; border: 0; cursor: pointer; font: inherit; }
.gpop__item:hover, .gpop__item:focus-visible { background: rgba(255,255,255,.08); }
.gpop__item b { font-family: var(--f-display); font-size: 14px; }
.gpop__item span { font-size: 12px; line-height: 1.4; color: #B4BDD3; }
.gpin--cluster { gap: 4px; background: #141C2E; border-color: rgba(98,245,213,.45); }
.gpin__count { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; margin-left: -4px; padding: 0 6px; border-radius: 999px; background: #62F5D5; color: #03130F; font-size: 12px; }
.gpin--cluster .gpin__n { margin-left: 2px; }
.gpin-sel { position: absolute; z-index: 4; display: inline-flex; align-items: flex-end; gap: 6px; transform: translate(-50%, calc(-100% - 6px)); }
.gpin-sel > .gpin, .gpin-sel > .gpin-group > .gpin { position: relative; transform: none; }
.gpin-sel > .gpin-group { position: relative; }
.gpin-more { height: 30px; min-width: 38px; padding: 0 9px; border-radius: 999px; font-family: var(--f-display); font-size: 13px; font-weight: 700; cursor: pointer;
  background: #141C2E; color: #62F5D5; border: 1px solid rgba(98,245,213,.45); box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.gpin-sel .gpop { top: calc(100% + 14px); }

/* 28. Five or six header links (Bangkok build: + รถไฟฟ้า, ข้อมูลตลาด): the capsule keeps every control on one line.
   Tablet: tighter links; below 1024 the logo shows its mark only and "ฝากขาย" its icon (the label stays as the
   accessible name). Desktop: no Ctrl K hint and the short CTA, so the 1200 px capsule never overflows. */
@media (min-width: 768px) and (max-width: 1199.98px) {
  .orbit__bar--more .orbit__link, html[lang="en"] .orbit__bar--more .orbit__link { padding: 0 8px; font-size: 15px; }
  .orbit__bar--more .orbit__divider { margin: 0 6px 0 10px; }
}
@media (min-width: 768px) and (max-width: 1023.98px) {
  .orbit__bar--more .logo__word { display: none; }
  .orbit__bar--more .orbit__cta { width: 44px; padding: 0; justify-content: center; }
  .orbit__bar--more .orbit__cta-short { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (min-width: 1200px) {
  .orbit__bar--more .orbit__kbd { display: none; }
  .orbit__bar--more .orbit__link { padding: 0 11px; }
  html[lang="en"] .orbit__bar--more .orbit__link { padding: 0 9px; }
  .orbit__bar--more .orbit__divider { margin: 0 10px 0 16px; }
  .orbit__bar--more .orbit__cta svg { flex: none; }
  .orbit__bar--more .orbit__cta-long { display: none; }
  .orbit__bar--more .orbit__cta-short { display: inline; }
}
/* more languages (translated pages, server/i18n): a small menu after TH / EN; the footer lists them inline */
.lang-more { position: relative; display: inline-flex; }
.lang-more > summary { list-style: none; cursor: pointer; font-size: 13px; padding: 0 8px; }
.lang-more > summary::-webkit-details-marker { display: none; }
.lang-more__menu { position: absolute; top: calc(100% + 6px); right: 0; z-index: 60; display: grid; min-width: 150px; padding: 6px;
 border-radius: 14px; border: 1px solid var(--wbd-14); background: var(--void); box-shadow: 0 12px 32px rgba(0,0,0,.14); }
.lang-more__opt { justify-content: flex-start; padding: 0 12px; font-weight: 500; }
.lang-more__opt:hover { background: var(--wbg-08); }
.sheet__lang .lang-more__menu { position: static; box-shadow: none; border: 0; padding: 4px 0 0; grid-template-columns: repeat(2, 1fr); }
.footer__lang { flex-wrap: wrap; }
.footer__lang-more { display: contents; }
.footer__lang-more a { font-weight: 500; }
/* CJK and Myanmar: the site fonts carry Thai + Latin only, so name a system font of each script before the generic one */
:lang(zh-Hans) body { font-family: 'IBM Plex Sans Thai', "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif; }
:lang(ja) body { font-family: 'IBM Plex Sans Thai', "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif; }
:lang(ko) body { font-family: 'IBM Plex Sans Thai', "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif; }
:lang(my) body { font-family: 'IBM Plex Sans Thai', "Noto Sans Myanmar", "Myanmar Sangam MN", "Myanmar Text", "Padauk", sans-serif; }
/* translated pages: the listing's bottom button label can be twice as long as "นัดดูห้อง" (my, ru, de, fr, es) —
   let it take two short lines instead of squeezing the price */
html:not([lang="th"]):not([lang="en"]) .lst-cap__cta { flex: 0 1 auto; max-width: 56%; padding: 0 14px; font-size: 13px; line-height: 1.2; white-space: normal; text-align: center; }
/* analytics consent (ConsentBar.tsx, shown by ga4.js until the visitor chooses): one slim line just above the Dock / the
   listing capsule / the project contact bar, so it never covers a price or a contact button (Sky, 19 Oct 2026: the old card
   covered 24% of a phone screen and the capsule under it; Jev: one slim line 0.82, the old card 0.00) */
.consent { position: fixed; left: 12px; right: 12px; bottom: 96px; z-index: 60; max-width: 560px; margin: 0 auto; padding: 6px 6px 6px 14px;
 display: flex; align-items: center; gap: 8px; border-radius: 22px; background: var(--panel-raised); border: 1px solid var(--line);
 box-shadow: 0 16px 40px var(--sh-45); color: var(--text); }
.consent[hidden] { display: none; }
.consent__t { flex: 1; min-width: 0; margin: 0; font-size: 13px; line-height: 1.4; color: var(--text-2); }
.consent__t a { color: var(--mint-ink); text-decoration: underline; }
.consent__btns { flex: none; display: flex; gap: 6px; }
.consent__btns .btn { height: 40px; min-height: 40px; padding: 0 12px; font-size: 14px; }
.consent__no { border: 1px solid var(--line); border-radius: var(--r-pill); color: var(--text); }
@media (min-width: 1200px) { .consent { bottom: 16px; } }
.lg-cookies__change { margin-top: 4px; font-size: 14px; }
.footer__contact .footer__addr { grid-column: 1 / -1; }
.footer__contact .footer__addr a { align-items: flex-start; padding-top: 11px; line-height: 1.5; }
.footer__contact .footer__addr svg { flex: none; margin-top: 1px; }
.answer__facts { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--text-2); }
.lst-agent__av.lst-agent__av--logo { background: none; border: 0; border-radius: 14px; overflow: hidden; }
.lst-agent__av--logo img { display: block; width: 48px; height: 48px; }
.lst-gal__cap[data-cap]::before { content: attr(data-cap); }
.lst-gal__count[data-count]::after { content: attr(data-count); }
/* search sheet (shared/layout SearchSheet.tsx, the dock's ค้นหา): full screen on phones like an app, a panel on wider screens */
.ssheet { max-width: 640px; overscroll-behavior: contain; }
.ssheet .dialog__head { margin-bottom: 14px; }
.ss-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; max-width: 280px; margin-bottom: 14px; padding: 4px; border-radius: var(--r-pill);
 border: 1px solid var(--line); background: var(--wbg-05); }
.ss-seg__opt { position: relative; display: block; min-width: 0; }
.ss-seg__opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ss-seg__opt span { display: flex; align-items: center; justify-content: center; height: 40px; border-radius: var(--r-pill); font-size: 16px; font-weight: 600;
 color: var(--text-2); transition: background-color .2s, color .2s; }
.ss-seg__opt input:checked + span { background: var(--mint); color: var(--on-mint); box-shadow: var(--glow); }
.ss-seg__opt input:focus-visible + span { outline: 2px solid var(--mint-ink); outline-offset: 2px; }
.ssheet .ss-ask { margin-bottom: 6px; }
.ss-sec { margin-top: 18px; }
.ss-sec[hidden] { display: none; }
.ss-h { margin: 0 0 8px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--text-3); }
.ss-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ss-chips button.chip { font: inherit; cursor: pointer; }
@media (max-width: 767px) {
  .ssheet { width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: max(14px, env(safe-area-inset-top)) 16px
   max(24px, env(safe-area-inset-bottom)); border: 0; border-radius: 0; }
  .ssheet .ss-seg { max-width: none; }
}
.ss-ex { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: var(--text-3); }
.ss-ex[hidden] { display: none; }
.ss-ex__btn { padding: 0; border: 0; background: none; font: inherit; color: var(--mint-ink); text-align: left; text-decoration: underline;
 text-underline-offset: 3px; cursor: pointer; }
