/* HDB Resale 3D (samtastic-core 1.21.326) -- [samtastic_hdb_3d] */
.h3d {
	--h3d-ink: #0b1b2e;
	--h3d-muted: #5b6b7e;
	--h3d-line: #e2e8f0;
	--h3d-accent: #1f6feb;
	--h3d-sun: #f5b84d;
	--h3d-vh: 100vh;
	--h3d-top: 0px;
	position: relative;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	color: var(--h3d-ink);
	background: linear-gradient(180deg, #0b1220 0%, #0f1a2e 60%, #eef3f8 60%, #eef3f8 100%);
	isolation: isolate;
	font-family: inherit;
}
.h3d *, .h3d *::before, .h3d *::after { box-sizing: border-box; }
.h3d [hidden] { display: none !important; }
body.samtastic-hdb-3d-page .page-content, body.samtastic-hdb-3d-page .entry-content { overflow: visible; }
body.samtastic-hdb-3d-page .page-head { display: none; }
body.samtastic-hdb-3d-page .page-head + .section, body.samtastic-hdb-3d-page .section { padding: 0 !important; }
body.samtastic-hdb-3d-page .tg-prompt { display: none !important; }
body.samtastic-hdb-3d-page .site-footer { margin-top: 0; }

/* ---------- Hero ---------- */
.h3d__hero {
	position: relative; z-index: 2; padding: clamp(48px, 9vh, 96px) 24px 36px; text-align: center; color: #fff;
	background: radial-gradient(90% 70% at 50% 100%, rgba(31,111,235,.35), transparent 70%), #0b1220;
}
.h3d__eyebrow { margin: 0 0 10px; font: 700 12px/1.2 "Plus Jakarta Sans", Inter, system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--h3d-sun); }
.h3d__title { margin: 0 auto 14px; max-width: 900px; font: 800 clamp(32px, 5vw, 60px)/1.05 "Plus Jakarta Sans", Inter, system-ui, sans-serif; letter-spacing: -.02em; color: #fff; }
.h3d__lead { margin: 0 auto 26px; max-width: 680px; font: 400 clamp(15px, 1.6vw, 18px)/1.6 Inter, system-ui, sans-serif; color: #c7d2e2; }
.h3d__stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0 auto 18px; max-width: 900px; }
.h3d__stats div { min-width: 150px; padding: 14px 18px; border-radius: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
.h3d__stats strong { display: block; font: 800 clamp(26px, 3vw, 36px)/1.1 "Plus Jakarta Sans", sans-serif; color: #fff; font-variant-numeric: tabular-nums; }
.h3d__stats span { font: 500 12px/1.3 Inter, sans-serif; color: #a9b7c9; }
.h3d__meta { margin: 0; font: 500 12px/1.5 Inter, sans-serif; color: #8d9db2; }
.h3d__meta a { color: var(--h3d-sun); }
.h3d__scroll { display: inline-block; margin-top: 22px; padding: 10px 18px; border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; font: 700 13px/1 Inter, sans-serif; text-decoration: none; animation: h3dBob 2.2s ease-in-out infinite; }
@keyframes h3dBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ---------- Story stage ---------- */
.h3d__story { position: relative; }
.h3d__stage { position: sticky; top: var(--h3d-top); height: var(--h3d-vh); overflow: hidden; z-index: 0; background: #0b1220; }
.h3d__map { position: absolute; inset: 0; }
.h3d__loading { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; font-weight: 600; color: #c7d2e2; z-index: 2; }
.h3d__loading span { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(255,255,255,.2); border-top-color: var(--h3d-sun); animation: h3dSpin .9s linear infinite; }
@keyframes h3dSpin { to { transform: rotate(360deg); } }
.h3d__attrib { position: absolute; right: 8px; bottom: 4px; margin: 0; z-index: 2; font: 500 10px/1.3 Inter, sans-serif; color: rgba(255,255,255,.55); }
.h3d__attrib a { color: inherit; }
.h3d .maplibregl-ctrl-top-right { top: 12px; right: 12px; }
.h3d .maplibregl-ctrl-group { border-radius: 12px; overflow: hidden; }

.h3d__legend {
	position: absolute; right: 16px; bottom: 28px; z-index: 3; width: 250px; padding: 12px 14px; border-radius: 14px;
	background: rgba(11,18,32,.82); color: #fff; backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.1);
	font: 500 12px/1.35 Inter, sans-serif;
}
.h3d__legend strong { display: block; margin-bottom: 8px; font: 700 13px/1.2 Inter, sans-serif; }
.h3d__legend-bar { display: block; height: 10px; border-radius: 5px; }
.h3d__legend-ends { display: flex; justify-content: space-between; margin-top: 4px; font-variant-numeric: tabular-nums; }
.h3d__legend-ends i { font-style: normal; }
.h3d__legend small { display: block; margin-top: 6px; color: #a9b7c9; }
.h3d__hud { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); z-index: 4; padding: 8px 14px; border-radius: 999px; background: rgba(11,18,32,.85); color: #fff; font: 600 12px/1 Inter, sans-serif; }

/* Town labels */
.h3d-townlbl { pointer-events: auto; cursor: pointer; text-align: center; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.8); font: 700 12px/1.2 Inter, sans-serif; transform: translateY(-6px); }
.h3d-townlbl b { display: block; letter-spacing: .02em; }
.h3d-townlbl span { display: inline-block; margin-top: 2px; padding: 2px 7px; border-radius: 999px; background: rgba(11,18,32,.75); font-weight: 600; font-size: 11px; }
.h3d-tip .maplibregl-popup-content { padding: 8px 11px; border-radius: 10px; font: 500 12px/1.4 Inter, sans-serif; color: var(--h3d-ink); box-shadow: 0 12px 30px -14px rgba(0,0,0,.5); }
.h3d-tip .maplibregl-popup-tip { display: none; }

/* Controls (explorer) */
.h3d__controls { position: absolute; left: 16px; right: 60px; top: 14px; z-index: 4; display: grid; gap: 8px; }
.h3d__ctrl-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.h3d__search { position: relative; flex: 1 1 260px; max-width: 420px; }
.h3d__search input { width: 100%; padding: 10px 14px; border: 1px solid rgba(255,255,255,.15); border-radius: 12px; background: rgba(11,18,32,.85); color: #fff; font: inherit; font-size: 14px; }
.h3d__search input::placeholder { color: #9fb0c5; }
.h3d__search--wide input { background: #f6f8fb; color: var(--h3d-ink); border-color: var(--h3d-line); }
.h3d__search > span { display: block; margin-bottom: 4px; font: 600 12px/1.2 Inter, sans-serif; color: var(--h3d-muted); }
.h3d__suggest { position: absolute; z-index: 20; left: 0; right: 0; top: 100%; margin: 4px 0 0; padding: 6px; list-style: none; background: #fff; border-radius: 12px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); max-height: 280px; overflow: auto; }
.h3d__suggest li { padding: 8px 10px; border-radius: 8px; cursor: pointer; color: var(--h3d-ink); font: 500 13px/1.3 Inter, sans-serif; }
.h3d__suggest li:hover { background: #eef3fb; }
.h3d__suggest li small { display: block; color: var(--h3d-muted); }
.h3d__suggest .is-empty { cursor: default; color: var(--h3d-muted); }
.h3d__btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; background: rgba(11,18,32,.85); color: #fff; font: 700 13px/1 Inter, sans-serif; cursor: pointer; text-decoration: none; white-space: nowrap; }
.h3d__btn:hover { background: #1b2a44; color: #fff; }
.h3d__btn.is-active { background: var(--h3d-sun); color: #0b1220; border-color: transparent; }
.h3d__btn--primary { background: var(--h3d-accent); border-color: transparent; }
.h3d__btn--primary:hover { background: #1557c0; }
.h3d__btn--ghost { background: #fff; color: var(--h3d-ink); border-color: var(--h3d-line); }
.h3d__btn--ghost:hover { background: #eef3fb; color: var(--h3d-ink); }
.h3d__btn--wide { width: 100%; justify-content: center; }
.h3d__btn--filters { display: none; }
.h3d__controls select { padding: 9px 12px; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; background: rgba(11,18,32,.85); color: #fff; font: 600 13px/1 Inter, sans-serif; }
.h3d__modes { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(11,18,32,.85); border: 1px solid rgba(255,255,255,.15); }
.h3d__modes button { padding: 7px 11px; border: 0; border-radius: 999px; background: none; color: #c7d2e2; font: 700 12px/1 Inter, sans-serif; cursor: pointer; }
.h3d__modes button.is-active { background: var(--h3d-sun); color: #0b1220; }
.h3d__toggle { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; background: rgba(11,18,32,.85); border: 1px solid rgba(255,255,255,.15); color: #fff; font: 600 12px/1 Inter, sans-serif; }
.h3d__timeline { padding: 8px 12px; border-radius: 14px; background: rgba(11,18,32,.85); border: 1px solid rgba(255,255,255,.15); color: #fff; }
.h3d__timeline input[type="range"] { flex: 1 1 200px; accent-color: var(--h3d-sun); }
.h3d__timeline output { font: 800 18px/1 "Plus Jakarta Sans", sans-serif; min-width: 52px; font-variant-numeric: tabular-nums; }
.h3d__timeline { position: absolute; z-index: 4; left: 16px; top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; width: min(460px, calc(100vw - 92px)); }
.h3d--explore .h3d__timeline { top: calc(var(--h3d-ctrl-h, 90px) + 22px); }

/* Block panel */
.h3d__panel {
	position: absolute; z-index: 5; top: 14px; right: 60px; bottom: 150px; width: 350px; overflow: auto; padding: 18px 18px 22px; border-radius: 18px;
	background: rgba(255,255,255,.97); color: var(--h3d-ink); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); font: 400 14px/1.45 Inter, sans-serif;
}
.h3d--explore .h3d__panel { top: calc(var(--h3d-ctrl-h, 90px) + 24px); }
.h3d__close { position: absolute; right: 10px; top: 8px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: #eef2f6; font-size: 20px; cursor: pointer; }
.h3d__panel-eyebrow { margin: 0 0 4px; font: 700 11px/1.2 Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--h3d-accent); }
.h3d__panel h3 { margin: 0 0 4px; font: 800 20px/1.15 "Plus Jakarta Sans", sans-serif; }
.h3d__panel h4 { margin: 18px 0 8px; font: 700 13px/1.2 Inter, sans-serif; }
.h3d__panel h4 small { font-weight: 500; color: var(--h3d-muted); }
.h3d__panel-sub { margin: 0 0 12px; color: var(--h3d-muted); font-size: 12px; }
.h3d__kv { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.h3d__kv div { padding: 10px; border-radius: 12px; background: #f3f6fa; }
.h3d__kv span { display: block; font: 600 11px/1.2 Inter, sans-serif; color: var(--h3d-muted); }
.h3d__kv strong { display: block; font: 800 16px/1.2 "Plus Jakarta Sans", sans-serif; }
.h3d__kv small { font-size: 11px; color: var(--h3d-muted); }
.h3d__ladder { display: grid; gap: 4px; }
.h3d__rung { display: grid; grid-template-columns: 56px 1fr 56px 52px; align-items: center; gap: 8px; font: 600 12px/1 Inter, sans-serif; }
.h3d__ladder--sm .h3d__rung { grid-template-columns: 56px 1fr 56px; }
.h3d__rung i { display: block; height: 14px; border-radius: 7px; }
.h3d__rung b { text-align: right; font-variant-numeric: tabular-nums; }
.h3d__rung small { color: var(--h3d-muted); font-weight: 500; }
.h3d__spark { display: block; }
.h3d__spark text { font: 500 10px/1 Inter, sans-serif; fill: var(--h3d-muted); }
.h3d__tx { width: 100%; border-collapse: collapse; font-size: 12px; }
.h3d__tx th { text-align: left; padding: 4px 4px; color: var(--h3d-muted); font-weight: 600; border-bottom: 1px solid var(--h3d-line); }
.h3d__tx td { padding: 6px 4px; border-bottom: 1px solid #eef2f6; vertical-align: top; }
.h3d__tx small { display: block; color: var(--h3d-muted); }
.h3d__row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.h3d__note { margin: 10px 0 0; font: 500 12px/1.5 Inter, sans-serif; color: var(--h3d-muted); }
.h3d__fine { margin: 10px 0 0; font: 500 11px/1.4 Inter, sans-serif; color: var(--h3d-muted); }
.h3d__err { margin: 10px 0 0; font: 600 13px/1.4 Inter, sans-serif; color: #c0392b; }

/* ---------- Story cards ---------- */
.h3d__cards { position: relative; z-index: 2; margin-top: calc(-1 * var(--h3d-vh)); pointer-events: none; }
.h3d__card { min-height: 120vh; display: flex; align-items: center; padding: 12vh 0; pointer-events: none; }
.h3d__card-in { pointer-events: auto; }
.h3d__card:last-child { min-height: 100vh; }
.h3d__card-in {
	width: min(440px, calc(100vw - 32px)); margin-left: max(24px, calc((100vw - 1240px) / 2)); padding: 24px 26px 22px;
	background: rgba(255,255,255,.93); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.7); border-radius: 22px;
	box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); color: var(--h3d-ink);
}
.h3d__num { display: inline-block; margin-bottom: 8px; font: 800 12px/1 "Plus Jakarta Sans", sans-serif; letter-spacing: .1em; color: var(--h3d-accent); }
.h3d__card h2 { margin: 0 0 8px; font: 800 clamp(22px, 2.4vw, 28px)/1.15 "Plus Jakarta Sans", sans-serif; letter-spacing: -.01em; }
.h3d__card p { margin: 0; font: 400 14.5px/1.55 Inter, sans-serif; color: var(--h3d-muted); }
.h3d__widget { margin-top: 14px; }
.h3d__widget:empty { display: none; }
.h3d__big { padding: 12px 14px; border-radius: 14px; background: #f3f6fa; margin-bottom: 10px; }
.h3d__big strong { display: block; font: 800 30px/1.05 "Plus Jakarta Sans", sans-serif; color: var(--h3d-ink); font-variant-numeric: tabular-nums; }
.h3d__big small { display: block; font: 600 11px/1.2 Inter, sans-serif; color: var(--h3d-muted); margin-bottom: 2px; }
.h3d__big span { display: block; font: 500 12px/1.4 Inter, sans-serif; color: var(--h3d-muted); margin-top: 2px; }
.h3d__mini-title { margin: 10px 0 6px !important; font: 700 12px/1.2 Inter, sans-serif !important; color: var(--h3d-ink) !important; }
.h3d__bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.h3d__bars li { display: grid; grid-template-columns: 110px 1fr 58px; align-items: center; gap: 8px; font: 600 12px/1.2 Inter, sans-serif; }
.h3d__bars li.is-last { grid-template-columns: 1fr 58px; color: var(--h3d-muted); }
.h3d__bars i { display: block; height: 10px; border-radius: 5px; background: linear-gradient(90deg, #6fb3d8, #f28e4c); }
.h3d__bars b { text-align: right; font-variant-numeric: tabular-nums; }
.h3d__range { width: 100%; accent-color: var(--h3d-accent); }
.h3d__scatter { display: block; margin-top: 4px; }
.h3d__scatter text { font: 500 10px/1 Inter, sans-serif; fill: var(--h3d-muted); }
.h3d__dots-g circle { fill: rgba(31,111,235,.55); }
.h3d__list, .h3d__rank { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; counter-reset: rank; }
.h3d__list li, .h3d__rank li { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: #f3f6fa; font: 600 12.5px/1.25 Inter, sans-serif; cursor: pointer; overflow: hidden; }
.h3d__rank li { grid-template-columns: 1fr auto; }
.h3d__rank li::before { counter-increment: rank; content: counter(rank); position: absolute; left: 8px; top: 8px; font: 800 11px/1 "Plus Jakarta Sans", sans-serif; color: var(--h3d-accent); }
.h3d__rank li span { padding-left: 18px; }
.h3d__rank li i { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--h3d-sun); }
.h3d__list li small, .h3d__rank li small { display: block; font-weight: 500; color: var(--h3d-muted); }
.h3d__list li b { font-variant-numeric: tabular-nums; }
.h3d__list .is-good b { color: #1a9850; }
.h3d__list .is-prem b { color: #d73027; }
.h3d__list li:hover, .h3d__rank li:hover { background: #e8effa; }
.h3d__form { display: grid; gap: 10px; }
.h3d__form-row { display: flex; flex-wrap: wrap; gap: 8px; }
.h3d__form-row label { flex: 1 1 100px; display: grid; gap: 4px; font: 600 12px/1.2 Inter, sans-serif; color: var(--h3d-muted); }
.h3d__form select, .h3d__form input[type="number"], .h3d__form-row select { width: 100%; padding: 9px 10px; border: 1px solid var(--h3d-line); border-radius: 10px; background: #f6f8fb; font: inherit; font-size: 13px; color: var(--h3d-ink); }
.h3d__vs { align-items: center; }
.h3d__vs span { font: 800 13px/1 "Plus Jakarta Sans", sans-serif; color: var(--h3d-muted); }
.h3d__vs select { flex: 1; }
.h3d__vs-table { width: 100%; border-collapse: collapse; font-size: 12.5px; margin-top: 8px; }
.h3d__vs-table th { text-align: left; padding: 6px 4px; font-weight: 600; color: var(--h3d-muted); border-bottom: 1px solid var(--h3d-line); }
.h3d__vs-table thead th { color: var(--h3d-ink); font-weight: 800; }
.h3d__vs-table td { padding: 6px 4px; border-bottom: 1px solid #eef2f6; font-weight: 700; font-variant-numeric: tabular-nums; }
.h3d__vs-table td small { display: block; font-weight: 500; color: var(--h3d-muted); }
.h3d__tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.h3d__tabs button { padding: 6px 10px; border: 1px solid var(--h3d-line); border-radius: 999px; background: #fff; font: 700 11px/1 Inter, sans-serif; cursor: pointer; color: var(--h3d-ink); }
.h3d__tabs button.is-active { background: var(--h3d-ink); color: #fff; border-color: transparent; }
.h3d__comps { margin-top: 10px; font-size: 12px; }
.h3d__comps summary { cursor: pointer; font-weight: 700; }
.h3d__worth-out:empty { display: none; }
.h3d__tips { margin: 0 0 12px; padding: 0 0 0 18px; font: 500 13px/1.5 Inter, sans-serif; color: var(--h3d-muted); }
.h3d__tips b { color: var(--h3d-ink); }

/* Dots nav */
.h3d__dots { position: fixed; right: 16px; top: 50%; transform: translateY(-50%); z-index: 6; display: grid; gap: 8px; opacity: 0; pointer-events: none; transition: opacity .3s; }
.h3d--inview .h3d__dots { opacity: 1; pointer-events: auto; }
.h3d__dots a { position: relative; width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.4); border: 1px solid rgba(0,0,0,.2); }
.h3d__dots a.is-active { background: var(--h3d-sun); }
.h3d__dots a:hover::after { content: attr(title); position: absolute; right: 18px; top: 50%; transform: translateY(-50%); white-space: nowrap; padding: 4px 8px; border-radius: 6px; background: rgba(11,18,32,.9); color: #fff; font: 600 11px/1 Inter, sans-serif; }

/* Explorer mode: cards step aside, stage takes over */
.h3d--explore .h3d__card-in { opacity: 0; pointer-events: none; }
.h3d--explore .h3d__cards { pointer-events: none; }
.h3d--explore .h3d__card[data-scene="explore"] .h3d__card-in { opacity: 0; }
.h3d--explore .h3d__legend { bottom: 44px; }

/* ---------- Towns grid ---------- */
.h3d__towns { position: relative; z-index: 2; padding: 56px 24px 24px; max-width: 1240px; margin: 0 auto; }
.h3d__towns h2, .h3d__classic summary, .h3d__sub { font-family: Inter, system-ui, sans-serif; }
.h3d__towns h2 { margin: 0 0 6px; font: 800 clamp(24px, 3vw, 34px)/1.1 "Plus Jakarta Sans", sans-serif; }
.h3d__sub { margin: 0 0 20px; color: var(--h3d-muted); font-size: 14px; }
.h3d__town-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.h3d__town { padding: 16px; border-radius: 18px; background: #fff; border: 1px solid var(--h3d-line); box-shadow: 0 10px 30px -22px rgba(11,27,46,.4); transition: transform .2s; }
.h3d__town:hover { transform: translateY(-2px); }
.h3d__town h3 { margin: 0 0 4px; font: 800 17px/1.2 "Plus Jakarta Sans", sans-serif; }
.h3d__town-avg { margin: 0; font: 800 24px/1.1 "Plus Jakarta Sans", sans-serif; font-variant-numeric: tabular-nums; }
.h3d__town-avg small { margin-left: 6px; font: 600 11px/1 Inter, sans-serif; color: var(--h3d-muted); }
.h3d__town-meta { margin: 4px 0 8px; font: 500 12px/1.4 Inter, sans-serif; color: var(--h3d-muted); }
.h3d__town-types { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 2px; font: 500 12px/1.4 Inter, sans-serif; }
.h3d__town-types li { display: flex; justify-content: space-between; }
.h3d__town-types strong { font-variant-numeric: tabular-nums; }
.h3d__town-actions { display: flex; gap: 6px; margin: 0; }
.h3d__town-actions .h3d__btn { padding: 7px 11px; font-size: 12px; }
.h3d__classic { max-width: 1240px; margin: 20px auto 0; padding: 0 24px; }
.h3d__classic summary { cursor: pointer; padding: 14px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--h3d-line); font: 700 14px/1.3 Inter, sans-serif; }
.h3d__classic-in { padding-top: 16px; }
.h3d__disclaimer { max-width: 1240px; margin: 24px auto 0; padding: 0 24px 32px; font: 500 12px/1.5 Inter, sans-serif; color: var(--h3d-muted); }

/* ---------- Phones ---------- */
@media (max-width: 900px) {
	.h3d__hero { padding: 40px 18px 28px; }
	.h3d__stats div { min-width: calc(50% - 6px); }
	.h3d__card { align-items: flex-end; min-height: 110vh; padding: 0 0 8vh; }
	.h3d__card-in { width: calc(100vw - 20px); margin: 0 10px; max-height: 52vh; overflow: auto; padding: 16px 16px 14px; }
	.h3d__card p { font-size: 13.5px; }
	.h3d__dots { display: none; }
	.h3d__legend { right: 10px; left: auto; bottom: 22px; width: 200px; padding: 8px 10px; }
	.h3d__panel { left: 10px; right: 10px; top: auto; bottom: 40px; width: auto; max-height: 52vh; padding: 14px; }
	.h3d--explore .h3d__panel { top: auto; }
	.h3d__controls { left: 10px; right: 56px; top: 10px; }
	.h3d__search { flex: 1 1 120px; max-width: none; }
	.h3d__btn--filters { display: inline-flex; }
	.h3d:not(.h3d--filters) .h3d__ctrl-row:nth-child(2) { display: none; }
	.h3d__ctrl-row:nth-child(2) { padding: 8px; border-radius: 14px; background: rgba(11,18,32,.6); }
	.h3d__modes { overflow-x: auto; max-width: 100%; }
	.h3d__timeline { left: 10px; width: calc(100vw - 76px); }
	.h3d--explore .h3d__timeline { top: calc(var(--h3d-ctrl-h, 130px) + 18px); }
	.h3d--explore:not(.h3d--time) .h3d__timeline { display: none !important; }
	.h3d--panel .h3d__legend, .h3d--panel .h3d__attrib { display: none; }
	.h3d__towns { padding: 36px 14px 16px; }
	.h3d__classic, .h3d__disclaimer { padding-inline: 14px; }
}
@media (prefers-reduced-motion: reduce) { .h3d__scroll { animation: none; } }
