:root {
  --forest-950: #071714;
  --forest-900: #0b211d;
  --forest-800: #123a32;
  --forest-700: #1d5548;
  --cream: #f6f1e7;
  --paper: #fffdf8;
  --gold: #d9ad52;
  --gold-bright: #ffd978;
  --gold-dark: #8d6526;
  --ink: #17211f;
  --muted: #687470;
  --line: rgba(23, 33, 31, .14);
  --glass: rgba(10, 29, 25, .78);
  --glass-light: rgba(255, 253, 248, .92);
  --shadow: 0 24px 80px rgba(2, 13, 11, .28);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}
* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; background: var(--forest-950); color: var(--cream); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 1000; padding: .85rem 1rem; border-radius: .65rem; background: var(--paper); color: var(--ink); font-weight: 800; }
.skip-link:focus { top: calc(1rem + var(--safe-top)); }
#app { position: fixed; inset: 0; isolation: isolate; }
#game-canvas { width: 100%; height: 100%; display: block; background: linear-gradient(#8fc4d8 0 48%, #c8d6bc 48% 100%); touch-action: none; cursor: grab; }
#game-canvas:active { cursor: grabbing; }
.webgl-fallback { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 2rem; background: radial-gradient(circle at 50% 35%, #24483f, #071714); text-align: center; }
.webgl-fallback > div { max-width: 36rem; }
.game-header { position: fixed; z-index: 30; top: calc(.8rem + var(--safe-top)); left: calc(.8rem + var(--safe-left)); right: calc(.8rem + var(--safe-right)); display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.brand-lockup, .header-actions { pointer-events: auto; }
.brand-lockup { display: flex; align-items: center; gap: .7rem; border: 1px solid rgba(255,255,255,.2); background: rgba(7,23,20,.76); backdrop-filter: blur(18px); padding: .55rem .8rem .55rem .6rem; border-radius: 1rem; box-shadow: 0 10px 30px rgba(0,0,0,.16); cursor: pointer; }
.brand-mark { width: 2.3rem; height: 2.3rem; border-radius: .7rem; position: relative; display: grid; place-items: center; background: linear-gradient(145deg, var(--gold-bright), var(--gold-dark)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.brand-mark::before { content: ""; width: 1.2rem; height: .8rem; background: var(--forest-900); clip-path: polygon(50% 0,100% 45%,86% 45%,86% 100%,14% 100%,14% 45%,0 45%); }
.brand-mark span { position: absolute; width: .24rem; height: .4rem; bottom: .48rem; background: var(--gold); }
.brand-copy { display: flex; flex-direction: column; text-align: left; line-height: 1.05; }
.brand-copy strong { font-size: .86rem; letter-spacing: .01em; }
.brand-copy small { margin-top: .25rem; color: rgba(255,255,255,.66); font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; }
.header-actions { display: flex; gap: .45rem; }
.icon-button { min-width: 2.8rem; height: 2.8rem; border-radius: .85rem; border: 1px solid rgba(255,255,255,.2); background: rgba(7,23,20,.76); backdrop-filter: blur(16px); display: grid; place-items: center; cursor: pointer; font-size: 1.05rem; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.icon-button:hover, .icon-button:focus-visible { background: rgba(29,85,72,.9); border-color: rgba(255,217,120,.65); }
.text-button { font-size: .64rem; font-weight: 900; letter-spacing: .08em; }
.quest-hud { position: fixed; z-index: 25; left: calc(.8rem + var(--safe-left)); top: calc(5rem + var(--safe-top)); width: min(22rem, calc(100vw - 1.6rem)); padding: .95rem 1rem .85rem; border: 1px solid rgba(255,255,255,.17); background: rgba(7,23,20,.74); backdrop-filter: blur(18px); border-radius: 1rem; box-shadow: 0 12px 36px rgba(0,0,0,.15); pointer-events: none; transition: opacity .25s, transform .25s; }
.eyebrow, .modal-eyebrow, .drawer-eyebrow { color: var(--gold-bright); font-size: .64rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.objective-text { margin-top: .36rem; font-weight: 750; font-size: .9rem; line-height: 1.35; }
.progress-row { display: flex; gap: 1rem; margin-top: .65rem; font-size: .7rem; color: rgba(255,255,255,.7); }
.progress-row > div { display: flex; align-items: center; gap: .34rem; }
.progress-row strong { color: white; font-size: .75rem; }
.key-symbol { color: var(--gold-bright); }
.progress-track { height: .22rem; background: rgba(255,255,255,.12); border-radius: 99px; margin-top: .65rem; overflow: hidden; }
.progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold-dark), var(--gold-bright)); transition: width .45s ease; }
.mini-map { position: fixed; z-index: 24; right: calc(.8rem + var(--safe-right)); top: calc(4.55rem + var(--safe-top)); width: 13.2rem; padding: .62rem; border: 1px solid rgba(255,255,255,.16); background: rgba(7,23,20,.74); backdrop-filter: blur(18px); border-radius: 1rem; box-shadow: 0 12px 36px rgba(0,0,0,.15); transition: width .25s; }
.mini-map.collapsed { width: 10.5rem; }
.mini-map.collapsed svg, .mini-map.collapsed .map-legend { display: none; }
.mini-map-head { display: flex; justify-content: space-between; align-items: center; padding: .1rem .2rem .45rem; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.mini-map-head button { border: 0; background: transparent; font-size: 1.1rem; cursor: pointer; padding: 0 .25rem; }
.mini-map svg { width: 100%; display: block; border-radius: .7rem; }
.map-ground { fill: #809d79; }
.map-road { fill: #60696a; }
.map-park { fill: #6f956d; stroke: #d7e6bb; stroke-width: 1.5; stroke-dasharray: 3 3; }
.map-house { fill: #efe7d8; stroke: rgba(7,23,20,.48); stroke-width: 1.3; }
.map-house.featured { fill: #f1c76f; stroke: #fff1be; }
.map-item { fill: #ffdf7e; stroke: #6a4a17; stroke-width: 1; }
.map-item.collected { opacity: .25; }
.map-player { fill: white; stroke: #0b211d; stroke-width: 2; }
.map-legend { display: flex; gap: .7rem; padding: .45rem .2rem .05rem; color: rgba(255,255,255,.7); font-size: .62rem; }
.map-legend span { display: flex; align-items: center; gap: .25rem; }
.map-legend i { width: .5rem; height: .5rem; display: inline-block; transform: rotate(45deg); }
.legend-key { background: var(--gold-bright); }
.legend-home { background: #efe7d8; }
.interact-button { position: fixed; z-index: 28; left: 50%; bottom: calc(4rem + var(--safe-bottom)); transform: translateX(-50%); border: 1px solid rgba(255,255,255,.28); background: rgba(7,23,20,.88); backdrop-filter: blur(14px); padding: .55rem .95rem .55rem .55rem; border-radius: 99px; display: flex; align-items: center; gap: .55rem; box-shadow: 0 12px 36px rgba(0,0,0,.25); cursor: pointer; animation: prompt-in .25s ease; }
.interact-button span { min-width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--forest-950); font-size: .78rem; font-weight: 900; }
.interact-button strong { font-size: .78rem; }
@keyframes prompt-in { from { opacity: 0; transform: translate(-50%, .5rem); } }
.mobile-controls { display: none; }
.toast-region { position: fixed; z-index: 70; left: 50%; top: calc(1rem + var(--safe-top)); transform: translateX(-50%); width: min(28rem, calc(100vw - 2rem)); display: grid; gap: .5rem; pointer-events: none; }
.toast { padding: .8rem 1rem; border: 1px solid rgba(255,255,255,.22); border-radius: .85rem; background: rgba(7,23,20,.9); backdrop-filter: blur(14px); box-shadow: 0 12px 32px rgba(0,0,0,.2); display: flex; align-items: center; gap: .65rem; animation: toast-in .3s ease, toast-out .35s ease 3.15s forwards; }
.toast .toast-icon { color: var(--gold-bright); font-size: 1.2rem; }
.toast strong { display: block; font-size: .8rem; }
.toast span { display: block; color: rgba(255,255,255,.72); font-size: .68rem; margin-top: .15rem; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-.6rem); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(-.5rem); } }
.modal-layer { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: calc(1rem + var(--safe-top)) calc(1rem + var(--safe-right)) calc(1rem + var(--safe-bottom)) calc(1rem + var(--safe-left)); background: rgba(3,14,12,.62); backdrop-filter: blur(8px); overflow: auto; }
.glass-panel { border: 1px solid rgba(255,255,255,.2); background: linear-gradient(145deg, rgba(12,37,32,.95), rgba(5,22,19,.95)); box-shadow: var(--shadow); }
.start-screen { background: radial-gradient(circle at 68% 20%, rgba(217,173,82,.18), transparent 38%), linear-gradient(100deg, rgba(4,18,15,.88), rgba(4,18,15,.48)); backdrop-filter: none; }
.start-ambient { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.start-ambient::before, .start-ambient::after { content: ""; position: absolute; border-radius: 50%; filter: blur(2px); background: radial-gradient(circle, rgba(255,217,120,.28), transparent 68%); animation: ambient-drift 8s ease-in-out infinite alternate; }
.start-ambient::before { width: 32rem; height: 32rem; right: -8rem; top: -8rem; }
.start-ambient::after { width: 22rem; height: 22rem; left: -7rem; bottom: -8rem; animation-delay: -3s; }
@keyframes ambient-drift { to { transform: translate3d(-2rem, 2rem, 0) scale(1.08); } }
.start-card { position: relative; width: min(48rem, 100%); border-radius: 1.5rem; padding: clamp(1.4rem, 4vw, 3rem); text-align: center; overflow: hidden; }
.prototype-pill { display: inline-flex; border: 1px solid rgba(255,217,120,.4); color: var(--gold-bright); border-radius: 99px; padding: .45rem .75rem; font-size: .63rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.start-logo { position: relative; width: 4.8rem; height: 4.8rem; margin: 1.3rem auto .8rem; display: grid; place-items: center; }
.start-logo::before { content: ""; position: absolute; inset: .2rem; border: 1px solid rgba(255,217,120,.35); transform: rotate(45deg); border-radius: .9rem; }
.start-key { color: var(--gold-bright); font-size: 1.5rem; filter: drop-shadow(0 0 14px rgba(255,217,120,.55)); }
.start-roof { position: absolute; width: 2.8rem; height: 1.7rem; bottom: .55rem; border: .12rem solid rgba(255,255,255,.65); border-top: 0; }
.start-roof::before { content: ""; position: absolute; width: 2rem; height: 2rem; left: .32rem; top: -.85rem; border-left: .12rem solid rgba(255,255,255,.65); border-top: .12rem solid rgba(255,255,255,.65); transform: rotate(45deg); }
.start-kicker { margin: 0; color: rgba(255,255,255,.72); font-size: .78rem; text-transform: uppercase; letter-spacing: .15em; font-weight: 750; }
.start-card h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.15rem, 6.4vw, 4.8rem); line-height: .98; font-weight: 500; letter-spacing: -.035em; margin: .55rem 0 .8rem; }
.start-card h1 em { color: var(--gold-bright); font-style: italic; }
.start-tagline { width: min(38rem, 100%); margin: 0 auto; color: rgba(255,255,255,.74); font-size: clamp(.9rem, 2vw, 1.08rem); line-height: 1.5; }
.listing-snapshot { margin: 1.4rem auto 1.2rem; display: grid; grid-template-columns: 1.3fr .7fr 1.2fr; width: min(42rem, 100%); border-block: 1px solid rgba(255,255,255,.13); }
.listing-snapshot div { padding: .9rem 1rem; text-align: left; border-right: 1px solid rgba(255,255,255,.13); }
.listing-snapshot div:last-child { border-right: 0; }
.listing-snapshot span, .source-card span { display: block; color: rgba(255,255,255,.56); font-size: .61rem; text-transform: uppercase; letter-spacing: .12em; }
.listing-snapshot strong { display: block; margin-top: .25rem; font-size: .78rem; }
.start-actions { display: flex; justify-content: center; gap: .75rem; flex-wrap: wrap; }
.button { min-height: 2.75rem; border-radius: .78rem; border: 1px solid transparent; padding: .72rem 1rem; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; font-weight: 800; font-size: .76rem; text-decoration: none; cursor: pointer; transition: transform .18s, background .18s, border-color .18s; }
.button:hover, .button:focus-visible { transform: translateY(-1px); }
.button.primary { color: #112018; background: linear-gradient(135deg, var(--gold-bright), var(--gold)); box-shadow: 0 10px 30px rgba(217,173,82,.18); }
.button.primary:hover { background: #ffe394; }
.button.secondary { color: white; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); }
.button.secondary:hover { background: rgba(255,255,255,.14); border-color: rgba(255,217,120,.45); }
.button.ghost { background: transparent; border-color: rgba(255,255,255,.14); color: rgba(255,255,255,.78); }
.button.large { min-height: 3.2rem; padding-inline: 1.3rem; font-size: .8rem; }
.start-secondary-actions { margin-top: .9rem; display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.start-secondary-actions button { border: 0; background: transparent; color: rgba(255,255,255,.72); font-size: .7rem; cursor: pointer; text-decoration: underline; text-decoration-color: rgba(255,217,120,.35); text-underline-offset: .25rem; }
.prototype-notice { margin: 1.2rem 0 0; color: rgba(255,255,255,.45); font-size: .64rem; }
.compact-modal, .info-modal, .fact-modal-card, .unlock-card, .completion-card, .schedule-card { position: relative; width: min(33rem, 100%); border-radius: 1.35rem; padding: clamp(1.35rem, 4vw, 2.25rem); text-align: center; }
.modal-symbol { display: grid; place-items: center; width: 3.7rem; height: 3.7rem; margin: 0 auto 1rem; border: 1px solid rgba(255,217,120,.4); border-radius: 50%; color: var(--gold-bright); }
.compact-modal h2, .info-modal h2, .fact-modal-card h2, .unlock-card h2, .completion-card h2, .schedule-card h2 { margin: .55rem 0 .65rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.65rem, 4vw, 2.4rem); font-weight: 500; }
.compact-modal p, .unlock-card > p, .completion-card > p { color: rgba(255,255,255,.7); line-height: 1.55; }
.compact-modal .button { width: 100%; margin-top: .55rem; }
.close-button { position: absolute; right: .9rem; top: .9rem; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: white; cursor: pointer; font-size: 1.2rem; z-index: 2; }
.info-modal { width: min(45rem, 100%); text-align: left; }
.control-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin: 1.2rem 0; }
.control-grid > div { padding: 1rem; border: 1px solid rgba(255,255,255,.12); border-radius: .85rem; background: rgba(255,255,255,.045); }
.control-grid strong { display: block; margin: .65rem 0 .2rem; }
.control-grid p, .access-note { color: rgba(255,255,255,.65); font-size: .75rem; line-height: 1.5; margin: 0; }
.control-icon { display: inline-grid; min-width: 2.2rem; min-height: 2.2rem; place-items: center; padding: .25rem; border: 1px solid rgba(255,217,120,.42); border-radius: .45rem; color: var(--gold-bright); font-weight: 900; font-size: .68rem; }
.info-modal > .button { width: 100%; margin-top: 1rem; }
.fact-modal-card { width: min(38rem, 100%); }
.fact-icon { width: 4.25rem; height: 4.25rem; margin: 0 auto .9rem; border-radius: 1rem; display: grid; place-items: center; color: var(--forest-950); background: linear-gradient(145deg, var(--gold-bright), var(--gold-dark)); font-size: 1.7rem; box-shadow: 0 16px 30px rgba(217,173,82,.18); }
.fact-summary { color: rgba(255,255,255,.78); line-height: 1.55; }
.fact-details { text-align: left; margin: 1.1rem 0; padding: 0; display: grid; gap: .5rem; list-style: none; }
.fact-details li { position: relative; padding: .7rem .8rem .7rem 2rem; border: 1px solid rgba(255,255,255,.1); border-radius: .7rem; background: rgba(255,255,255,.035); font-size: .75rem; }
.fact-details li::before { content: "◆"; position: absolute; left: .8rem; color: var(--gold-bright); font-size: .55rem; top: .86rem; }
.source-card { display: grid; grid-template-columns: 1.5fr 1fr; gap: .7rem; padding: .8rem; border-radius: .75rem; background: rgba(0,0,0,.18); text-align: left; }
.source-card strong { display: block; margin-top: .28rem; font-size: .72rem; }
.fact-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; margin-top: 1rem; }
.unlock-card, .completion-card { overflow: hidden; }
.golden-rays { position: absolute; inset: -50%; background: repeating-conic-gradient(from 0deg, rgba(255,217,120,.1) 0 5deg, transparent 5deg 13deg); animation: rays 16s linear infinite; pointer-events: none; }
@keyframes rays { to { transform: rotate(360deg); } }
.unlock-card > * { position: relative; }
.unlock-key { display: block; color: var(--gold-bright); font-size: 4rem; filter: drop-shadow(0 0 28px rgba(255,217,120,.65)); animation: key-float 2s ease-in-out infinite; }
@keyframes key-float { 50% { transform: translateY(-.35rem) scale(1.04); } }
.unlock-card .button { width: 100%; margin-top: .6rem; }
.completion-badge { width: 5rem; height: 5rem; margin: 0 auto 1rem; border-radius: 1.3rem; display: grid; place-items: center; background: linear-gradient(145deg, var(--gold-bright), var(--gold-dark)); transform: rotate(45deg); }
.completion-badge span { color: var(--forest-950); font-size: 2rem; transform: rotate(-45deg); }
.completion-property { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .8rem; padding: .8rem; margin: 1.1rem 0; border: 1px solid rgba(255,255,255,.13); border-radius: .85rem; text-align: left; }
.completion-property > div:first-child { width: 3rem; height: 3rem; border-radius: .65rem; display: grid; place-items: center; background: rgba(255,217,120,.16); color: var(--gold-bright); font-family: Georgia, serif; font-size: 1.35rem; }
.completion-property small { display: block; color: rgba(255,255,255,.58); margin-top: .2rem; }
.completion-price { color: var(--gold-bright); }
.completion-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.drawer { position: fixed; z-index: 95; top: 0; right: 0; width: min(34rem, 100vw); height: 100%; padding-top: var(--safe-top); padding-bottom: var(--safe-bottom); background: var(--paper); color: var(--ink); box-shadow: -24px 0 70px rgba(0,0,0,.28); transform: translateX(105%); transition: transform .35s cubic-bezier(.2,.8,.2,1); display: grid; grid-template-rows: auto auto 1fr auto; }
.drawer.open { transform: translateX(0); }
.drawer-scrim { position: fixed; inset: 0; z-index: 94; background: rgba(3,14,12,.58); backdrop-filter: blur(4px); }
.drawer-header { display: flex; justify-content: space-between; align-items: center; padding: 1.15rem 1.25rem .8rem; border-bottom: 1px solid var(--line); }
.drawer-header h2 { margin: .2rem 0 0; font-family: Georgia, serif; font-size: 1.6rem; }
.drawer .drawer-eyebrow { color: var(--gold-dark); }
.drawer .close-button { position: static; color: var(--ink); border-color: var(--line); background: #f1ece2; flex: 0 0 auto; }
.drawer-tabs { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0 1rem; border-bottom: 1px solid var(--line); }
.drawer-tabs button { border: 0; border-bottom: 3px solid transparent; padding: .85rem .25rem .65rem; background: transparent; color: var(--muted); font-size: .68rem; font-weight: 850; cursor: pointer; }
.drawer-tabs button.active { color: var(--forest-800); border-color: var(--gold); }
.drawer-body { overflow: auto; overscroll-behavior: contain; }
.tab-panel { display: none; padding: 1.2rem; }
.tab-panel.active { display: block; }
.listing-price-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.listing-price-row strong { font-family: Georgia, serif; font-size: 2.2rem; font-weight: 500; }
.listing-price-row span { padding: .35rem .55rem; border-radius: 99px; background: #e8f1eb; color: var(--forest-700); font-size: .62rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.listing-address { color: var(--muted); margin: .2rem 0 1rem; }
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: .8rem; overflow: hidden; margin: 1rem 0; }
.spec-grid div { padding: .75rem .4rem; text-align: center; border-right: 1px solid var(--line); }
.spec-grid div:last-child { border-right: 0; }
.spec-grid strong { display: block; font-family: Georgia, serif; font-size: 1.35rem; color: var(--forest-800); }
.spec-grid span { display: block; color: var(--muted); font-size: .57rem; margin-top: .15rem; }
.tab-panel p { line-height: 1.6; font-size: .8rem; color: #4e5c58; }
.tab-panel h3 { margin-top: 1.4rem; font-family: Georgia, serif; }
.check-list { list-style: none; padding: 0; display: grid; gap: .45rem; }
.check-list li { position: relative; padding-left: 1.45rem; font-size: .78rem; }
.check-list li::before { content: "◆"; position: absolute; left: 0; top: .2rem; color: var(--gold-dark); font-size: .55rem; }
.listing-cta-row, .contact-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin: 1.1rem 0; }
.drawer .button.primary { color: #102019; }
.drawer .button.secondary { color: var(--forest-800); background: #edf2ee; border-color: #d5dfd8; }
.drawer .button.ghost { color: var(--forest-800); border-color: var(--line); }
.disclaimer-card, .feature-question-card { padding: .9rem; border-radius: .8rem; background: #f1ece2; border-left: 3px solid var(--gold); }
.disclaimer-card strong { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.disclaimer-card p { margin: .35rem 0 0; font-size: .68rem; }
.plan-visual { border: 1px solid var(--line); border-radius: .8rem; padding: .5rem; background: #fbfaf6; overflow: auto; }
.plan-visual svg { width: 100%; min-width: 30rem; display: block; }
.plan-wall { fill: #faf7ee; stroke: #183a32; stroke-width: 5; }
.plan-line { fill: none; stroke: #183a32; stroke-width: 3; }
.plan-visual text { font: 700 10px sans-serif; fill: #53615d; letter-spacing: .06em; }
.small-copy { font-size: .68rem !important; }
.concept-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.concept-card { border: 1px solid var(--line); border-radius: .8rem; overflow: hidden; background: white; }
.concept-elevation { background: #edf1ea; aspect-ratio: 16 / 10; display: grid; place-items: center; border-bottom: 1px solid var(--line); }
.concept-elevation svg { width: 100%; height: 100%; }
.concept-card-copy { padding: .7rem; }
.concept-card-copy span { color: var(--gold-dark); font-size: .57rem; text-transform: uppercase; font-weight: 900; letter-spacing: .1em; }
.concept-card-copy h3 { margin: .25rem 0 .2rem; font-size: 1rem; }
.concept-card-copy p { font-size: .65rem; line-height: 1.45; margin: 0 0 .6rem; }
.concept-meta { display: flex; justify-content: space-between; gap: .4rem; color: var(--muted); font-size: .56rem; }
.concept-card button { width: 100%; margin-top: .55rem; min-height: 2.25rem; font-size: .65rem; }
.agent-card { display: flex; align-items: center; gap: .9rem; padding: 1rem; border: 1px solid var(--line); border-radius: .85rem; }
.agent-avatar { width: 4.3rem; height: 4.3rem; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, var(--forest-700), var(--forest-950)); color: var(--gold-bright); font-family: Georgia, serif; font-size: 1.3rem; }
.agent-card span { color: var(--gold-dark); font-size: .58rem; text-transform: uppercase; font-weight: 900; letter-spacing: .09em; }
.agent-card h3 { margin: .25rem 0 .1rem; }
.agent-card p { margin: 0; }
.contact-actions { grid-template-columns: 1fr; }
.feature-question-card { margin-top: 1rem; }
.drawer-footer { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .58rem; }
.drawer-footer a { color: var(--forest-700); font-weight: 800; }
.accessible-panel { position: fixed; z-index: 110; inset: 0; background: var(--paper); color: var(--ink); transform: translateY(105%); transition: transform .35s cubic-bezier(.2,.8,.2,1); display: grid; grid-template-rows: auto 1fr; padding-top: var(--safe-top); padding-bottom: var(--safe-bottom); }
.accessible-panel.open { transform: translateY(0); }
.accessible-header { display: flex; justify-content: space-between; align-items: center; padding: 1rem clamp(1rem, 5vw, 4rem); border-bottom: 1px solid var(--line); }
.accessible-header .drawer-eyebrow { color: var(--gold-dark); }
.accessible-header h2 { margin: .2rem 0 0; font-family: Georgia, serif; }
.accessible-header .close-button { position: static; color: var(--ink); background: #f1ece2; border-color: var(--line); }
.accessible-body { width: min(62rem, 100%); margin: 0 auto; padding: 1.4rem clamp(1rem, 5vw, 3rem) 4rem; overflow: auto; }
.accessible-body > p { color: #4e5c58; line-height: 1.6; }
.accessible-property-summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem; border-radius: .85rem; background: var(--forest-900); color: white; margin: 1rem 0; }
.accessible-property-summary span { color: rgba(255,255,255,.7); }
.accessible-facts { display: grid; gap: .65rem; }
.accessible-fact { border: 1px solid var(--line); border-radius: .8rem; background: white; overflow: hidden; }
.accessible-fact summary { cursor: pointer; list-style: none; padding: .9rem 1rem; display: flex; align-items: center; gap: .7rem; font-weight: 850; }
.accessible-fact summary::-webkit-details-marker { display: none; }
.accessible-fact summary span { width: 2rem; height: 2rem; border-radius: .5rem; display: grid; place-items: center; background: #f1e6ce; color: var(--gold-dark); }
.accessible-fact summary::after { content: "+"; margin-left: auto; font-size: 1.2rem; color: var(--gold-dark); }
.accessible-fact[open] summary::after { content: "−"; }
.accessible-fact-content { padding: 0 1rem 1rem 3.7rem; }
.accessible-fact-content p, .accessible-fact-content li { color: #4e5c58; line-height: 1.55; font-size: .78rem; }
.accessible-fact-content small { color: var(--muted); }
.accessible-complete-card { margin-top: 1rem; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: .8rem; padding: 1rem; border-radius: .9rem; background: #f1e6ce; }
.accessible-complete-card > span { font-size: 2rem; color: var(--gold-dark); }
.accessible-complete-card h3 { margin: 0; }
.accessible-complete-card p { margin: .2rem 0 0; color: #4e5c58; font-size: .74rem; }
.legal-copy { font-size: .68rem; }
.schedule-card { width: min(38rem, 100%); text-align: left; }
.schedule-card > p { color: rgba(255,255,255,.67); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin: 1rem 0; }
.form-grid label { display: grid; gap: .35rem; color: rgba(255,255,255,.78); font-size: .68rem; font-weight: 750; }
.form-grid label span { color: rgba(255,255,255,.5); font-weight: 500; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.08); color: white; border-radius: .65rem; padding: .72rem .75rem; outline: none; }
.form-grid select option { color: var(--ink); }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: var(--gold-bright); box-shadow: 0 0 0 3px rgba(255,217,120,.12); }
.consent { display: flex; gap: .5rem; align-items: flex-start; color: rgba(255,255,255,.65); font-size: .65rem; line-height: 1.45; }
.schedule-card > .button { width: 100%; margin-top: 1rem; }
.form-note { font-size: .62rem; line-height: 1.45; }
.form-note code { color: var(--gold-bright); }
.game-footer { position: fixed; z-index: 20; bottom: calc(.35rem + var(--safe-bottom)); left: 50%; transform: translateX(-50%); display: flex; gap: .45rem; align-items: center; white-space: nowrap; padding: .35rem .7rem; border-radius: 99px; background: rgba(7,23,20,.48); color: rgba(255,255,255,.58); font-size: .56rem; backdrop-filter: blur(10px); }
.game-footer button, .site-return-link { border: 0; background: transparent; color: rgba(255,255,255,.75); cursor: pointer; padding: 0; }
.site-return-link { color: var(--gold-bright); font-weight: 750; text-decoration: none; }
.site-return-link:hover, .site-return-link:focus-visible { color: white; text-decoration: underline; text-underline-offset: .2rem; }
.noscript { position: fixed; z-index: 999; inset: 0; display: grid; place-items: center; background: #071714; color: white; padding: 2rem; text-align: center; }
@media (max-width: 860px), (pointer: coarse) {
  .mini-map { top: auto; bottom: calc(7.7rem + var(--safe-bottom)); width: 10.5rem; }
  .mini-map svg { max-height: 8.5rem; }
  .quest-hud { top: calc(4.55rem + var(--safe-top)); width: min(18rem, calc(100vw - 1.6rem)); }
  .mobile-controls { display: block; position: fixed; z-index: 27; inset: 0; pointer-events: none; }
  .joystick { position: absolute; left: calc(1.1rem + var(--safe-left)); bottom: calc(2.5rem + var(--safe-bottom)); width: 7rem; height: 7rem; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); background: rgba(7,23,20,.38); backdrop-filter: blur(8px); pointer-events: auto; touch-action: none; }
  .joystick::before, .joystick::after { content: ""; position: absolute; background: rgba(255,255,255,.12); }
  .joystick::before { width: 1px; height: 65%; left: 50%; top: 17.5%; }
  .joystick::after { height: 1px; width: 65%; top: 50%; left: 17.5%; }
  #joystick-thumb { position: absolute; width: 3rem; height: 3rem; border-radius: 50%; left: 2rem; top: 2rem; background: linear-gradient(145deg, rgba(255,217,120,.92), rgba(217,173,82,.76)); box-shadow: 0 6px 20px rgba(0,0,0,.25); }
  .look-hint { position: absolute; right: calc(1rem + var(--safe-right)); bottom: calc(2.9rem + var(--safe-bottom)); padding: .45rem .65rem; border-radius: 99px; color: rgba(255,255,255,.7); background: rgba(7,23,20,.4); font-size: .6rem; }
  .mobile-interact { position: absolute; right: calc(1.2rem + var(--safe-right)); bottom: calc(5.2rem + var(--safe-bottom)); width: 4.6rem; height: 4.6rem; border-radius: 50%; border: 2px solid rgba(255,217,120,.5); background: rgba(7,23,20,.82); color: var(--gold-bright); font-weight: 900; font-size: .66rem; pointer-events: auto; }
  .interact-button { display: none !important; }
  .game-footer > :not(.site-return-link) { display: none; }
  .game-footer { background: rgba(7,23,20,.72); font-size: .6rem; }
}
@media (max-width: 680px) {
  .brand-copy small { display: none; }
  .brand-lockup { padding-right: .65rem; }
  .header-actions { gap: .3rem; }
  .icon-button { min-width: 2.5rem; height: 2.5rem; }
  #quality-button { display: none; }
  .quest-hud { top: calc(4.2rem + var(--safe-top)); }
  .listing-snapshot { grid-template-columns: 1fr 1fr; }
  .listing-snapshot div:nth-child(3) { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.13); }
  .listing-snapshot div:nth-child(2) { border-right: 0; }
  .start-actions { display: grid; }
  .start-actions .button { width: 100%; }
  .control-grid, .fact-actions, .completion-actions, .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .completion-property { grid-template-columns: auto 1fr; }
  .completion-price { grid-column: 2; }
  .source-card { grid-template-columns: 1fr; }
  .drawer-tabs { overflow-x: auto; grid-template-columns: repeat(4, minmax(5.4rem, 1fr)); }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .spec-grid div:nth-child(2) { border-right: 0; }
  .spec-grid div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .concept-card-grid { grid-template-columns: 1fr; }
  .accessible-property-summary { flex-direction: column; }
  .accessible-complete-card { grid-template-columns: auto 1fr; }
  .accessible-complete-card .button { grid-column: 1 / -1; }
}

@media (max-height: 760px) {
  .modal-layer { align-items: start; }
}
@media (max-height: 690px) and (orientation: landscape) {
  .quest-hud { top: calc(4rem + var(--safe-top)); padding: .7rem .8rem; }
  .mini-map { display: none; }
  .joystick { width: 5.5rem; height: 5.5rem; bottom: calc(1rem + var(--safe-bottom)); }
  #joystick-thumb { width: 2.4rem; height: 2.4rem; left: 1.55rem; top: 1.55rem; }
  .mobile-interact { bottom: calc(1.5rem + var(--safe-bottom)); }
  .look-hint { display: none; }
  .start-card { padding: 1rem 1.4rem; }
  .start-logo { display: none; }
  .listing-snapshot { margin: .8rem auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
}
:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 3px; }
