/* Generated by scripts/build-styles.mjs. */
/* original-home.css */
.home-residence { --home-gold:#ba9148; --home-paper:#fff9eb; --home-ink:#242a25; --home-accent:#b08d4c; color:var(--home-ink); }
.home-residence *, .home-residence *::before, .home-residence *::after { box-sizing:border-box; }
.home-residence :is(form,fieldset,select,input,textarea,details,section,article,div) { min-width:0; }
.home-residence .home-masthead { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1.35rem 1.5rem; border:1px solid #8c7751; border-top:3px solid #eda331; background:linear-gradient(110deg,#17201a 45%,#303c2e); color:#f5ecd8; position:relative; overflow:hidden; }
.home-residence .home-masthead::after { content:""; pointer-events:none; position:absolute; inset:0; opacity:.16; background:repeating-linear-gradient(90deg,transparent 0 84px,#ccb777 85px 86px); }
#content .home-masthead h1 { margin:.15rem 0 .5rem; font:700 clamp(1.55rem,3vw,2.5rem)/1.12 Arial, Helvetica, sans-serif; color:#fff5db; text-transform:none; }
.home-masthead > * { position:relative; z-index:1; }
.home-masthead p { margin:0; font-size:.86rem; }
.home-masthead .eyebrow { color:#d0b675; font-size:.67rem; letter-spacing:.14em; }
.home-address-links { display:flex; flex-wrap:wrap; align-items:center; gap:.3rem 1rem; margin-top:.7rem; font-size:.78rem; }
#content .home-address-links a { display:inline-flex; align-items:center; min-height:44px; color:#f5d093; }
.home-house-mark { flex:0 0 9rem; display:grid; justify-items:center; gap:.5rem; color:#c4ad76; text-align:center; font:italic .8rem Arial, Helvetica, sans-serif; }
.home-house-mark svg { width:80px; height:80px; }
.home-plan-shell { margin-top:.8rem; background:#25352b; border:1px solid #8c7955; box-shadow:0 5px 12px #312d1d30; }
.home-plan-caption { display:flex; align-items:center; justify-content:space-between; gap:.5rem; padding:.6rem 1rem; border-bottom:1px solid #ac976247; }
#content .home-plan-caption h2 { color:#f0dfb6; margin:0; font-size:.8rem; letter-spacing:.13em; }
.home-plan-caption > span { color:#bcbea3; font-size:.75rem; }
.home-floorplan { position:relative; height:clamp(430px,calc(100svh - 310px),610px); margin:.5rem; background:radial-gradient(ellipse at center,#4d5b41 30%,#25352b 76%); }
.home-house-shell { position:absolute; inset:0; width:100%; height:100%; filter:drop-shadow(0 7px 4px #0b190c70); pointer-events:none; }
#content .home-plan-room { position:absolute; left:var(--room-left); top:var(--room-top); width:40.6%; height:27%; display:flex; align-items:stretch; flex-direction:column; justify-content:flex-end; margin:0; padding:.3rem .7rem .7rem; color:#f4e5bd; text-decoration:none; outline-offset:-2px; border:1px solid transparent; }
#content .home-plan-room:hover { background:#c7ba6a12; border-color:#c8ac66; }
#content .home-plan-room:focus-visible { outline:3px solid #ffb345; background:#aab57520; }
.home-plan-furniture { display:block; flex:1 1 auto; min-height:0; width:100%; max-height:76%; filter:drop-shadow(2px 3px 2px #10201480); pointer-events:none; }
.home-plan-label { position:relative; display:block; text-align:center; padding:.35rem .15rem 0; line-height:1.15; text-shadow:0 1px 3px #142019; }
.home-plan-label strong { display:block; color:#f3e4bd; font-size:1rem; font-family:Arial, Helvetica, sans-serif; text-decoration:underline; text-decoration-color:#b09c69; text-underline-offset:3px; }
.home-plan-label small { display:block; margin-top:.35rem; font-size:.7rem; color:#ccc8ab; }
.home-entry { display:flex; align-items:center; justify-content:space-between; gap:1rem; min-height:44px; padding:.2rem 1rem; border-top:1px solid #ac976247; color:#bdc0a5; font-size:.7rem; }
#content .home-entry .home-mail-terminal { display:inline-flex; align-items:center; gap:.4rem; min-height:44px; margin:0; padding:0; border:0; background:none; box-shadow:none; color:#f3d48e; font-size:.8rem; }
#content .home-entry .home-mail-terminal span { font-size:1.2rem; }
.decor-2 .home-plan-shell { --plan-fabric:#923855; }
.decor-3 .home-plan-shell { --plan-fabric:#1d867e; }
.home-back { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:.5rem 0; }
#content .home-back a { display:inline-flex; align-items:center; min-height:44px; font-weight:700; font-size:.85rem; }
.home-back > span { color:#75674d; font-size:.8rem; text-align:right; }
.home-room-page .home-masthead { padding:1rem 1.25rem; }
.home-room-page .home-address-links { margin-top:0; }
.home-residence .home-room { display:flex; flex-direction:column; padding:0; margin:0; background:var(--home-paper); border:1px solid #b9aa8a; border-top:3px solid var(--room-accent); box-shadow:0 3px 0 #5b482510; min-width:0; scroll-margin-top:5rem; }
.home-room-gallery { --room-accent:#b08b47; }
.home-room-stores { --room-accent:#748e67; }
.home-room-fleet { --room-accent:#507e8e; }
.home-room-atlas { --room-accent:#547c77; }
.home-room-study { --room-accent:#96703b; }
.home-manufacturing { display:grid; gap:1.25rem; min-width:0; }
.home-manufacturing > section { min-width:0; }
#content .home-manufacturing > nav a { display:inline-flex; align-items:center; min-height:44px; padding:.3rem .5rem; text-decoration:underline; text-underline-offset:.2em; font-weight:700; }
.home-manufacturing h3, #desk-plans > h3 { margin:.25rem 0 .75rem; }
.home-production-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr)); gap:1rem; }
.home-production-card { display:flex; flex-direction:column; gap:.7rem; min-width:0; padding:1rem; border:1px solid var(--ui-line,#b9aa8a); border-top:3px solid #be862f; background:#fff9ed; }
#content .home-production-card > header { display:flex; flex-wrap:wrap; align-items:start; justify-content:space-between; gap:.5rem; padding:0; min-height:0; background:none; color:inherit; border:0; }
.home-production-card h3, .home-production-card p, .home-production-card .eyebrow { margin:0; }
.home-production-card .eyebrow { margin-bottom:.4rem; }
.home-production-card > a.button, .home-production-card > form { margin-top:auto; }
.home-production-state { padding:.3rem .45rem; color:#4f3c20; background:#ecdfc4; font-size:.75rem; font-weight:700; }
.home-production-job { display:grid; gap:.45rem; }
.home-production-job progress { width:100%; accent-color:#c08a31; height:.6rem; }
.home-production-totals { display:flex; flex-wrap:wrap; gap:.45rem 1rem; padding:.5rem 0; border-block:1px solid #ddcfaf; font-size:.78rem; }
.home-worker-list { list-style:none; padding:0; margin:.5rem 0 0; }
.home-worker-list li { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:start; gap:.35rem 1rem; padding:.5rem 0; border-bottom:1px solid #ddcfaf; font-size:.82rem; }
.home-worker-list small { display:block; margin-top:.25rem; }
.home-worker-list strong { font-size:.7rem; }
.home-production-queue { padding-left:1.25rem; }
.home-production-queue li { margin:.4rem 0; }
.home-production-queue small { display:block; }
.home-resource-city { margin:.6rem 0; }
.home-resource-city table { width:100%; table-layout:fixed; margin:.75rem 0; font-size:.83rem; }
.home-resource-city th:first-child { width:54%; }
.home-resource-city th, .home-resource-city td { padding:.6rem .35rem; overflow-wrap:anywhere; }
.home-resource-city td { text-align:right; font-variant-numeric:tabular-nums; }
.home-opportunity-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr)); gap:.8rem; }
.home-production-opportunity { padding:.8rem; background:#f1e8d4; border:1px solid #cbb998; }
.home-production-opportunity h4 { margin:0 0 .6rem; }
.home-production-opportunity p { margin:.5rem 0; font-size:.85rem; }
.home-production-opportunity form { margin-top:.5rem; }
#desk-plans { border-top:1px solid #b9aa8a; margin-top:1.5rem; padding-top:1rem; }
@media(max-width:480px) {
  .home-production-card { padding:.75rem; }
  .home-production-card > a.button, .home-production-card > form > button { width:100%; }
  .home-resource-city table { font-size:.76rem; }
  .home-resource-city th:first-child { width:42%; }
  #content .home-resource-city thead th { font-size:.6rem; letter-spacing:0; white-space:nowrap; }
}
.home-room-decor { --room-accent:#967781; }
.home-residence .home-room-atlas { grid-column:1/-1; order:-2; }
.home-residence .home-room-gallery { grid-column:1/-1; order:4; }
.home-residence .home-room-heading { display:flex; align-items:center; gap:.7rem; margin:0; padding:.85rem 1rem; border-bottom:1px solid #ddcfaf; background:#eee5d1; }
.home-room-icon { flex:0 0 40px; padding:5px; width:40px; height:40px; color:var(--room-accent); border:1px solid currentColor; background:#fff9eb; }
.home-room-icon svg { width:28px; height:28px; }
#content .home-room-heading h2 { margin:0; font-size:.93rem; color:#282e26; letter-spacing:.045em; }
.home-room-heading .eyebrow { margin:0 0 .2rem; font-size:.58rem; letter-spacing:.11em; color:#716650; }
.home-tier { display:flex; gap:4px; margin-left:auto; flex-shrink:0; }
.home-tier i { width:7px; height:12px; display:block; border:1px solid #a49b83; transform:skewY(-20deg); }
.home-tier .is-filled { background:var(--room-accent); border-color:var(--room-accent); }
.home-room-content { padding:1rem; }
.home-residence .home-room > footer { padding:.65rem 1rem; border-top:1px solid #ded2b8; background:#f1e8d4; margin-top:auto; }
.home-upgrade { border:0; margin:0; padding:0; }
.home-upgrade > summary { min-height:44px; display:flex; align-items:center; justify-content:space-between; gap:.5rem; color:#7a4100; cursor:pointer; font-size:.8rem; font-weight:700; }
.home-upgrade > summary::after { content:"+"; font-size:1.25rem; }
.home-upgrade[open] > summary::after { content:"−"; }
.home-upgrade summary > span { margin-left:auto; }
.home-upgrade > div { padding:.55rem 0; }
.home-upgrade p { margin:.4rem 0 .75rem; font-size:.83rem; }
.home-upgrade small { display:block; margin-top:.5rem; color:#72654d; font-size:.73rem; }
.home-upgrade form { margin:0; }
.home-complete { display:flex; align-items:center; min-height:44px; color:#607254; font-size:.75rem; font-weight:700; }
.home-complete::before { content:"◆"; margin-right:.5rem; color:#a68b42; }
.home-residence .home-empty { padding:1rem .5rem; color:#786f5b; font-size:.83rem; font-style:italic; }
.home-residence .home-tool { margin:1rem 0 0; border:1px solid #d4c5a7; background:#f7f0df; }
.home-tool > summary { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.35rem; min-height:44px; padding:.6rem .75rem; cursor:pointer; font-size:.82rem; font-weight:700; }
.home-tool > summary small { color:#756954; font-weight:400; }
.home-tool > summary::before { content:"+"; margin-right:.3rem; color:#915719; }
.home-tool[open] > summary::before { content:"−"; }
.home-residence progress { display:block; appearance:none; height:6px; width:100%; border:0; border-radius:0; background:#e3d9c0; color:var(--room-accent); }
.home-residence progress::-webkit-progress-bar { background:#e3d9c0; }
.home-residence progress::-webkit-progress-value { background:var(--room-accent); }
.home-residence progress::-moz-progress-bar { background:var(--room-accent); }
.home-stat-pair,.home-fleet-summary { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); margin:0 0 .75rem; gap:1rem; }
.home-fleet-summary { grid-template-columns:repeat(3,minmax(0,1fr)); gap:.5rem; }
.home-stat-pair strong,.home-fleet-summary strong { display:block; font:700 1.75rem Arial, Helvetica, sans-serif; color:#36412e; }
.home-stat-pair span,.home-fleet-summary span { font-size:.72rem; color:#73694f; }
.home-fleet-summary .needs-attention strong { color:#ac4d18; }
#content .home-storage-room .home-room-content > a { display:inline-flex; align-items:center; min-height:44px; }
.home-stock-cities { margin-top:1rem; max-height:17rem; overflow:auto; }
.home-stock-cities > div { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:.3rem 1rem; padding:.55rem 0; border-top:1px solid #e1d8c1; font-size:.8rem; }
.home-stock-cities progress { grid-column:1/-1; height:4px; }
.home-search { display:block; padding:.5rem .75rem; font-size:.75rem; }
.home-search input { display:block; width:100%; margin-top:.3rem; }
.home-search-status { padding:0 .75rem; margin:.25rem 0; font-size:.72rem; color:#77694c; }
.home-stock-results { max-height:23rem; overflow:auto; overscroll-behavior:contain; padding:0 .75rem .75rem; }
.home-stock-result { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:.2rem .7rem; padding:.55rem 0; border-top:1px solid #daceb5; font-size:.82rem; overflow-wrap:anywhere; }
.home-stock-result small { grid-column:1/-1; color:#71654f; font-size:.72rem; }
.home-stock-result[hidden] { display:none; }
.home-rarity-chart { padding-top:1rem; }
.home-rarity-chart > div { display:grid; grid-template-columns:5.5rem minmax(0,1fr) 3rem; align-items:center; gap:.5rem; margin:.5rem 0; font-size:.7rem; }
.home-rarity-chart b { text-align:right; }
.home-valuation { display:flex; flex-wrap:wrap; gap:.25rem; justify-content:space-between; padding-top:.5rem; border-top:1px solid #daceb5; font-size:.8rem; }
.home-valuation small { width:100%; color:#77694c; }
.home-local-map { display:block; position:relative; height:220px; overflow:hidden; border:1px solid #746c51; }
.home-local-map img { width:100%; height:100%; object-fit:cover; object-position:center; }
.home-local-map span { position:absolute; bottom:0; left:0; right:0; padding:.9rem; background:linear-gradient(transparent,#17231eef 35%); color:#fff3ca; font-size:.85rem; font-weight:700; }
.home-world-chart { background:radial-gradient(ellipse at center,#334a43,#172c2a); color:#c7b991; border:1px solid #456357; }
.home-chart-viewport { position:relative; height:clamp(380px,50vw,580px); overflow:hidden; }
.home-world-chart svg { width:100%; height:100%; display:block; touch-action:none; cursor:grab; }
.home-world-chart svg:focus-visible { outline:3px solid #f5ad45; outline-offset:-3px; }
.home-world-chart.is-dragging svg { cursor:grabbing; }
.home-chart-toolbar { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.5rem; padding:.6rem .75rem; border-bottom:1px solid #71826955; }
.home-chart-toolbar > span { font-size:.7rem; letter-spacing:.13em; color:#ebd9ab; }
.home-chart-controls { display:flex; align-items:center; gap:.25rem; }
.home-chart-controls[hidden] { display:none; }
.home-route-controls { display:flex; flex-wrap:wrap; align-items:center; gap:.25rem 1rem; padding:.35rem .75rem; border-bottom:1px solid #71826955; }
.home-route-controls[hidden], .home-world-chart [data-home-route][hidden] { display:none; }
#content .home-route-controls label { display:flex; align-items:center; gap:.5rem; min-height:44px; margin:0; color:#f6e8c1; font-size:.75rem; }
#content .home-route-controls select { min-height:44px; width:auto; margin:0; padding:.4rem 1.8rem .4rem .5rem; background-color:#223d36; color:#fff0c7; border:1px solid #8a987d; }
#content .home-route-controls input { margin:0; width:18px; height:18px; }
.home-route-line, .home-route-hit { fill:none; vector-effect:non-scaling-stroke; }
.home-route-line { stroke:#83c5d3; stroke-width:2; pointer-events:none; }
.home-route-line.route-air { stroke:#dfc386; stroke-dasharray:3 7; }
.home-route-line.route-land { stroke:#9fc898; stroke-dasharray:10 5; }
.home-route-line.route-hovertrain { stroke:#daa8de; stroke-dasharray:14 4 3 4; }
.home-route-line.is-closed { stroke:#80908c; opacity:.6; }
.home-route-hit { stroke:transparent; stroke-width:16; cursor:pointer; }
.home-route-link:hover .home-route-line, .home-route-link:focus .home-route-line { stroke:#fff0c7; stroke-width:4; opacity:1; }
.home-route-link:focus { outline:none; }
.home-route-legend { display:flex; flex-wrap:wrap; gap:.5rem 1rem; padding:.65rem .75rem; font-size:.7rem; border-top:1px solid #71826955; }
.home-route-legend > span, .home-route-facts { display:inline-flex; align-items:center; gap:.4rem; }
.home-route-sample { display:inline-block; flex:none; width:25px; border-top:2px solid #83c5d3; }
.home-route-sample.route-air { border-color:#dfc386; border-top-style:dotted; }
.home-route-sample.route-land { border-color:#9fc898; border-top-style:dashed; }
.home-route-sample.route-hovertrain { border-color:#daa8de; border-top:3px double #daa8de; }
.home-connections { padding:0 .75rem; border-top:1px solid #71826955; }
.home-connections summary { min-height:44px; padding:.75rem 0; cursor:pointer; font-size:.8rem; color:#f6e8c1; }
.home-connections ul { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr)); gap:.5rem; list-style:none; padding:0; margin:0 0 .75rem; }
.home-connections li { display:flex; flex-direction:column; gap:.25rem; padding:.6rem; border:1px solid #71826955; font-size:.8rem; }
.home-connections li:focus { outline:2px solid #f5ad45; outline-offset:2px; }
#content .home-connections .text-link { display:inline-flex; align-items:center; min-height:44px; color:#fff0c7; }
.home-connections small, .home-route-facts { color:#dacfac; font-size:.7rem; }
#content .home-chart-controls button { min-width:44px; min-height:44px; margin:0; padding:.5rem; border:1px solid #8a987d; background:#223d36; color:#fff0c7; }
#content .home-chart-controls button:hover { background:#3e5947; }
.home-chart-controls output { min-width:3.5rem; text-align:center; color:#f6e8c1; font-size:.75rem; }
.home-chart-north { position:absolute; top:1rem; right:1rem; z-index:1; pointer-events:none; text-align:center; color:#f6e8c1; font:14px Arial, Helvetica, sans-serif; }
#content .home-world-chart .home-chart-help { padding:.5rem .75rem; margin:0; font-size:.7rem; color:#dacfac; border-top:1px solid #71826955; }
.home-world-chart circle { fill:#bbaa71; stroke:#f5e2b0; stroke-width:1.5; }
.home-world-chart circle.is-current { fill:#e89933; stroke:#ffeec3; stroke-width:3; }
.home-world-chart .home-region-target { fill:transparent; }
.home-world-chart .home-region-label { fill:#f6e8c1; font:600 13px Arial,sans-serif; stroke:#172c2a; stroke-width:3px; stroke-linejoin:round; paint-order:stroke; user-select:none; }
.home-world-chart a:hover circle { fill:#fff; }
.home-world-chart a:focus-visible circle { stroke:#ffbd54; stroke-width:5px; }
.home-atlas-legend { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:.35rem .8rem; margin-top:.75rem; }
#content .home-atlas-legend > a { display:flex; align-items:center; gap:.6rem; min-height:44px; font-size:.8rem; text-decoration:none; border-bottom:1px solid #ddd2b6; padding:.4rem .1rem; }
.home-atlas-legend b { display:flex; align-items:center; justify-content:center; flex-shrink:0; width:22px; height:22px; background:#31483f; color:#efddb4; font:12px Arial, Helvetica, sans-serif; }
.home-atlas-legend small { display:block; margin-top:.2rem; font-size:.65rem; color:#79694e; }
.home-discovered { margin-left:auto; flex:0 0 3.5rem; text-align:right; font-size:.65rem; }
.home-discovered progress { margin-top:.3rem; }
.home-departures { margin-top:.75rem; max-height:27rem; overflow:auto; }
.home-departures article { padding:.7rem 0; border-top:1px solid #dacfbb; }
.home-vehicle-heading { display:flex; align-items:baseline; justify-content:space-between; gap:.75rem; font-size:.83rem; }
.home-vehicle-heading strong { flex-shrink:0; color:#6a644f; font-size:.75rem; }
.home-vehicle-route { margin:.35rem 0; color:#70644e; font-size:.74rem; }
.home-departures article > small { display:block; margin-top:.4rem; color:#736b56; font-size:.72rem; }
.home-departures progress { margin:.6rem 0; }
.home-attention { list-style:none; padding:0; margin:.75rem 0; background:#fff0d9; border-left:3px solid #c67a26; }
.home-attention li { padding:.6rem .7rem; font-size:.8rem; }
.home-attention span { display:block; margin-top:.2rem; font-size:.72rem; color:#855220; }
#content .home-study-mail { display:flex; align-items:center; gap:.65rem; min-height:44px; padding:.6rem .7rem; margin-bottom:1rem; background:#283b33; border:1px solid #526348; color:#f0dfb4; box-shadow:none; text-decoration:none; }
.home-study-mail > span:first-child { font-size:1.5rem; }
.home-study-mail > span:last-child { font-size:.8rem; }
.home-plan-heading { display:flex; align-items:center; justify-content:space-between; font-size:.75rem; color:#70664f; }
.home-plan-list { list-style:none; margin:.5rem 0 0; padding:0; }
.home-plan-list > li { padding:.65rem 0; border-bottom:1px solid #ded2b7; }
.home-plan-list strong { display:block; font-size:.85rem; overflow-wrap:anywhere; }
.home-plan-list small { display:block; margin:.3rem 0; font-size:.72rem; color:#7b6b4e; }
.home-plan-list .is-complete strong { text-decoration:line-through; color:#7d7a6b; }
.home-plan-actions { display:flex; gap:.5rem; margin-top:.5rem; }
.home-plan-actions form { margin:0; }
.home-plan-form { display:grid; gap:.65rem; padding:.75rem; }
.home-plan-form label { font-size:.75rem; }
.home-plan-form :is(input:not([type=checkbox]),select) { display:block; width:100%; margin-top:.3rem; }
.home-priority { display:flex; align-items:center; gap:.5rem; min-height:44px; }
.home-priority input { width:18px; height:18px; min-height:18px!important; }
.home-sitting-room { height:215px; overflow:hidden; position:relative; isolation:isolate; border:1px solid #796a50; background:linear-gradient(#6c6d58 0 62%,#443d2d 62%); }
.home-sitting-room::after { content:""; position:absolute; inset:62% 0 0; z-index:-1; background:repeating-linear-gradient(0deg,transparent 0 13px,#16180e33 14px 15px); transform:perspective(150px) rotateX(20deg); }
.home-room-window { position:absolute; left:15%; top:14%; width:23%; height:43%; border:5px solid #38362b; box-shadow:0 0 0 2px #ab986a,inset 0 0 10px #1c271e; background:var(--home-map) center/cover; }
.home-room-window::after,.home-room-window::before { content:""; position:absolute; background:#38362b; }
.home-room-window::after { width:4px; height:100%; left:48%; }
.home-room-window::before { height:4px; width:100%; top:48%; }
.home-room-bed { position:absolute; z-index:2; width:43%; height:67%; object-fit:contain; right:6%; bottom:3%; filter:drop-shadow(6px 7px 2px #0005); }
.home-room-rug { position:absolute; bottom:1%; left:10%; width:60%; height:24%; border:4px double #877048; background:#685736; transform:skewX(-15deg); }
.home-room-lamp { position:absolute; width:5px; height:60px; background:#34372e; left:43%; top:36%; }
.home-room-lamp::before { content:""; position:absolute; width:30px; height:25px; left:-12px; top:-20px; border-radius:50% 50% 0 0; background:#b9a978; }
.home-room-lamp::after { content:""; position:absolute; width:25px; height:5px; left:-10px; bottom:0; background:#34372e; }
.home-room-picture { position:absolute; right:17%; top:15%; padding:2px 6px; color:#b5ae88; border:3px solid #4c483b; background:#313d33; font-size:1.5rem; }
.home-sitting-room.decor-1 { background:linear-gradient(#7e7254 0 45%,#665134 45% 62%,#54402b 62%); }
.decor-1 .home-room-rug { background:repeating-linear-gradient(45deg,#865b3f 0 6px,#a28353 7px 10px); border-color:#c0a574; }
.decor-1 .home-room-lamp::before,.decor-2 .home-room-lamp::before,.decor-3 .home-room-lamp::before { background:#efd692; box-shadow:0 0 35px 12px #ffd37466; }
.home-sitting-room.decor-2 { background:repeating-linear-gradient(90deg,#31413a 0 24px,#394940 25px 27px); }
.decor-2 .home-room-rug { background:#713c47; border-color:#c4a367; box-shadow:0 0 0 2px #332b2b; }
.decor-2 .home-room-window { border-color:#ad8545; box-shadow:-15px 0 #724952,15px 0 #724952; }
.decor-2 .home-room-picture { border-color:#b9984e; color:#dec882; }
.home-sitting-room.decor-3 { background:radial-gradient(ellipse at top,#657573,#34413f); border:5px double #b49a59; }
.decor-3 .home-room-window { border-color:#d3bd78; border-radius:50% 50% 0 0; box-shadow:-13px 0 #64766b,13px 0 #64766b; }
.decor-3 .home-room-rug { background:repeating-linear-gradient(35deg,#48574b 0 14px,#76856b 15px 17px); border-color:#d9c082; }
.decor-3 .home-room-picture { border-color:#d6bc73; color:#e4d197; }
.home-residence.decor-2 .home-masthead { background:linear-gradient(110deg,#202c26,#344637); }
.home-residence.decor-3 .home-masthead { border:3px double #b9995e; border-top:3px solid #eda331; background:linear-gradient(110deg,#283632,#41534a); }
.home-residence.decor-2 .home-dream-world { background:radial-gradient(ellipse at center,#393055,#111728); }
.home-residence.decor-3 .home-dream-world { background:radial-gradient(ellipse at 40% 20%,#4a6152,#141d2b); }
.home-decor-actions { display:grid; gap:.75rem; margin-top:.85rem; }
.home-decor-actions form { display:flex; flex-wrap:wrap; align-items:end; gap:.5rem; margin:0; }
.home-decor-actions label { flex:1 1 12rem; font-size:.75rem; }
.home-decor-actions select { display:block; width:100%; margin-top:.3rem; }
.home-residence .home-gallery-status { margin:0 0 .65rem; font-size:.8rem; color:#716548; }
.home-residence .home-display-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.75rem; max-height:44rem; overflow:auto; padding:2px; }
.home-residence .home-display-slot { display:flex; flex-direction:column; gap:.55rem; margin:0; min-width:0; padding:.8rem; background:linear-gradient(#303b31,#222a22); border:1px solid #86754e; color:#e3d8b8; }
.home-display-slot .eyebrow { font-size:.59rem; margin:0; color:#cbbd96; }
.home-residence :is(.home-exhibit,.home-empty-plinth) { position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:150px; gap:.5rem; padding:1rem .25rem 2.5rem; margin:0; text-align:center; background:none; }
.home-residence :is(.home-exhibit,.home-empty-plinth)::after { content:""; position:absolute; bottom:5px; height:18px; width:55%; border-top:5px solid #bdae89; border-left:9px solid #736c55; border-right:9px solid #565442; background:#908567; }
.home-residence .home-exhibit img { width:64px; height:64px; }
.home-residence .home-exhibit strong { font-size:.87rem; overflow-wrap:anywhere; }
.home-residence .home-empty-plinth strong { font:italic .85rem Arial, Helvetica, sans-serif; color:#d6cbb0; }
.home-empty-plinth > span { font-size:1.7rem; color:#877e60; }
.home-residence .home-display-picker { margin-top:auto; }
.home-display-picker label { color:#e0d5b9; font-size:.72rem; }
.home-display-picker select { margin-top:.3rem; width:100%; }
.home-residence .home-display-slot form { margin:0; }
.home-residence .home-storage-note { margin:.75rem 0 0; font-size:.72rem; color:#756b55; }
.home-residence :is(input,select,button) { max-width:100%; min-height:44px; }
.home-residence :is(input,select) { font-size:16px; }
.home-residence [hidden] { display:none!important; }
/* Keep the venue's older display and storeroom rules inside this new room skin. */
#content .home-residence .home-room { color:var(--home-ink); }
#content .home-residence .home-room-heading { flex-direction:row; align-items:center; }
#content .home-residence .home-display-slot { background:linear-gradient(#303b31,#222a22); color:#e3d8b8; box-shadow:none; }
#content .home-residence .home-storage-room .text-link { color:#7a4100; font-weight:600; }
#content .home-residence .home-storage-room p:not(.eyebrow) { color:#71654e; }
#content .home-residence .home-choose-exhibit { display:flex; align-items:center; justify-content:center; min-height:44px; margin-top:auto; color:#f0d093; font-size:.8rem; }
#content .home-residence .home-display-picker { display:grid; grid-template-columns:minmax(6rem,.4fr) minmax(0,1fr) auto; align-items:end; gap:.7rem; margin-top:1rem; padding:.8rem; background:#eee4ce; border:1px solid #c9b893; }
#content .home-residence .home-display-picker label { margin:0; color:#584b35; }
@media(min-width:1000px) { .home-local-map { height:350px; } }
@media(max-width:640px) {
  .home-residence .home-masthead { padding:1rem; }
  .home-house-mark { display:none; }
  .home-address-links { font-size:.72rem; gap:.1rem .8rem; }
  #content .home-entrance-page .home-masthead h1 { font-size:1.35rem; }
  .home-floorplan { margin:.3rem .1rem; height:clamp(360px,calc(100svh - 470px),530px); }
  .home-plan-caption { padding:.7rem; }
  .home-plan-caption > span { font-size:.65rem; }
  #content .home-plan-room { padding:.1rem .2rem .3rem; }
  .home-plan-label strong { font-size:.82rem; }
  .home-plan-label small { font-size:.62rem; line-height:1.2; margin-top:.3rem; }
  .home-plan-furniture { max-height:65%; }
  .home-entry { padding:.1rem .7rem; }
  .home-back { gap:.5rem; }
  .home-back > span { max-width:48%; font-size:.7rem; }
  .home-residence .home-room-heading { padding:.7rem .75rem; }
  .home-room-content { padding:.75rem; }
  .home-room-heading .eyebrow { font-size:.54rem; }
  .home-tier { gap:3px; }
  .home-tier i { width:5px; }
  .home-residence .home-room > footer { padding:.45rem .75rem; }
  .home-local-map { height:165px; }
  .home-atlas-legend { grid-template-columns:1fr; }
  .home-residence .home-display-grid { grid-template-columns:none; grid-auto-flow:column; grid-auto-columns:minmax(220px,80%); max-height:none; overflow-x:auto; scroll-snap-type:x mandatory; }
  .home-display-slot { scroll-snap-align:start; }
  .home-residence .home-room-gallery { order:0; }
  .home-rarity-chart > div { grid-template-columns:5rem minmax(0,1fr) 2.2rem; }
  .home-sitting-room { height:185px; }
  #content .home-residence .home-display-picker { grid-template-columns:minmax(0,1fr); }
}
@media(prefers-reduced-motion:reduce) { .home-residence * { scroll-behavior:auto!important; } }

/* Purchased room levels, not the selected furnishing style, drive the plan. */
.home-plan-shell { background:#15231e; border-color:var(--home-trim); box-shadow:0 3px 0 var(--home-timber-dark),0 8px 20px #171d233b; }
.home-plan-caption,.home-entry { border-color:var(--home-timber); }
.home-floorplan { background:radial-gradient(ellipse at center,#435443 15%,#15231e 75%); }
.home-house-shell { filter:saturate(var(--home-vivid)) contrast(var(--home-depth)) drop-shadow(0 6px 4px #060e1090); }
.home-plan-furniture { filter:saturate(calc(var(--home-vivid) * var(--room-vivid))) contrast(var(--home-depth)) drop-shadow(2px 4px 2px #070e1590); }
.home-plan-rank { position:absolute; z-index:1; right:5%; top:4%; display:flex; gap:4px; }
.home-plan-rank i { display:block; width:5px; height:8px; border:1px solid #f1d29955; transform:skewY(-18deg); }
.home-plan-rank .is-filled { border-color:#ffe3a0; background:#e9b74f; box-shadow:0 0 5px #ffc66e55; }
.home-plan-gallery[data-home-room-level="1"] { --plan-rug:#743746; }
.home-plan-gallery[data-home-room-level="2"] { --plan-rug:#8f183c; }
.home-plan-gallery[data-home-room-level="3"] { --plan-rug:#ac103a; }
.home-plan-atlas[data-home-room-level="1"] { --plan-rug:#36785a; }
.home-plan-atlas[data-home-room-level="2"] { --plan-rug:#17724d; }
.home-plan-atlas[data-home-room-level="3"] { --plan-rug:#078457; }
.home-plan-fleet[data-home-room-level="1"] { --plan-rug:#267d85; }
.home-plan-fleet[data-home-room-level="2"] { --plan-rug:#077486; }
.home-plan-fleet[data-home-room-level="3"] { --plan-rug:#007d96; }
.home-plan-study[data-home-room-level="1"] { --plan-rug:#3c6470; }
.home-plan-study[data-home-room-level="2"] { --plan-rug:#235370; }
.home-plan-study[data-home-room-level="3"] { --plan-rug:#194777; }
.home-plan-decor[data-home-room-level="1"] { --plan-fabric:#4f7854; }
.home-plan-decor[data-home-room-level="2"] { --plan-fabric:#923855; }
.home-plan-decor[data-home-room-level="3"] { --plan-fabric:#1d867e; }
.home-plan-label { border-radius:3px; background:linear-gradient(transparent,#10181cba 24%); padding:.35rem .2rem; }
#content .home-plan-label strong { color:#fff0ce; text-decoration-color:var(--home-trim); }
.home-plan-label small { color:#e2dac4; }
.home-plan-shell[data-home-wood-rarity="6"] .home-plan-caption { background:linear-gradient(100deg,#33250f,#16241e 65%); }
.home-plan-finish { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.3rem 1rem; padding:.3rem 1rem; border-top:1px solid var(--home-timber); }
#content .home-wood-link { display:flex; align-items:center; gap:.5rem; min-height:44px; color:#ffe4ad; font:600 .8rem Arial, Helvetica, sans-serif; text-decoration:underline; text-underline-offset:3px; }
.home-wood-link img { width:38px; height:38px; object-fit:contain; }
.home-wood-link small { display:block; margin-bottom:.2rem; color:#d0c4ad; font:400 .62rem Arial,sans-serif; }
.home-finish-progress { display:flex; align-items:center; gap:3px; }
.home-finish-progress i { display:block; width:5px; height:14px; border:1px solid #9d8a6255; }
.home-finish-progress .is-filled { background:var(--home-trim); border-color:var(--home-trim); }
#content .home-plan-room:hover { background:#f9c64a12; border-color:var(--home-trim); }
#content .home-plan-room:focus-visible { outline:3px solid #ffb345; outline-offset:-3px; }
@media(max-width:640px) {
  .home-plan-finish { padding:.25rem .7rem; gap:.25rem .5rem; }
  .home-finish-progress { gap:2px; }
  .home-finish-progress i { width:3px; height:10px; }
  .home-wood-link img { width:28px; height:28px; }
  #content .home-wood-link { font-size:.73rem; }
  .home-plan-rank { right:4%; top:4%; gap:3px; }
  .home-plan-rank i { width:4px; height:6px; }
}

/* original-home-dream.css */
.home-bed { position: absolute; z-index: 2; left: 5%; bottom: .15rem; width: 90%; height: 10.7rem; filter: drop-shadow(.55rem .75rem .45rem rgba(0,0,0,.48)); }
.home-bed img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.home-dream-dialog { width: min(1120px, calc(100vw - 2rem)); max-width: none; height: min(720px, calc(100vh - 2rem)); max-height: none; margin: auto; padding: 0; overflow: hidden; color: #fbf5e8; background: transparent; border: 0; box-shadow: 0 2rem 8rem #000; }
.home-dream-dialog::backdrop { background: rgba(3,4,8,.93); backdrop-filter: blur(8px); }
.home-dream-world { position: relative; isolation: isolate; min-height: 100%; overflow: hidden; background: radial-gradient(circle at 50% 72%, rgba(245,158,49,.2), transparent 26%), radial-gradient(circle at 20% 25%, rgba(163,68,194,.32), transparent 30%), radial-gradient(circle at 78% 23%, rgba(36,145,183,.26), transparent 32%), linear-gradient(160deg, #070813, #171128 52%, #080b16); }
.home-dream-world::before, .home-dream-world::after { content: ''; position: absolute; z-index: -1; border-radius: 50%; filter: blur(25px); opacity: .7; animation: home-dream-cloud 13s ease-in-out infinite alternate; }
.home-dream-world::before { top: 19%; left: 17%; width: 38%; height: 28%; background: rgba(88,45,140,.38); }
.home-dream-world::after { right: 12%; bottom: 16%; width: 34%; height: 26%; background: rgba(23,123,142,.3); animation-delay: -6s; }
.home-dream-world > header { position: relative; z-index: 12; display: flex; align-items: start; justify-content: space-between; gap: 2rem; padding: 1.4rem 1.5rem; background: linear-gradient(180deg, rgba(5,6,12,.94), rgba(5,6,12,.12)); }
.home-dream-world > header h2 { margin: .2rem 0 .35rem; color: #fff8e5; font-size: clamp(1.6rem, 4vw, 3rem); text-shadow: 0 0 1.3rem rgba(234,171,72,.35); }
.home-dream-world > header p:last-child { max-width: 38rem; margin: 0; color: #c8c3d7; }
.home-dream-world > header form { margin: 0; }
.home-dream-world > header button { white-space: nowrap; }
.home-dream-stars { position: absolute; z-index: 0; inset: 0; opacity: .8; background-image: radial-gradient(circle, #fff 0 1px, transparent 1.5px), radial-gradient(circle, #f6bb65 0 1px, transparent 1.7px), radial-gradient(circle, #a9dffc 0 1px, transparent 1.5px); background-position: 0 0, 17px 31px, 41px 13px; background-size: 67px 67px, 83px 83px, 109px 109px; animation: home-dream-stars 22s linear infinite; }
.home-dream-things { position: absolute; z-index: 5; inset: 5rem 0 5rem; }
.home-dream-thing { --dream-scale: 1; position: absolute; display: grid; width: clamp(5rem, 10vw, 8rem); place-items: center; gap: .25rem; opacity: .96; transform: translate(-50%, -50%) scale(var(--dream-scale)); transition: opacity .3s ease, filter .3s ease; animation: home-dream-float 5.8s ease-in-out infinite alternate; }
.home-dream-thing::before { content: ''; position: absolute; z-index: -1; width: 82%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,210,95,.36), rgba(139,67,197,.12) 55%, transparent 72%); filter: blur(7px); }
.home-dream-thing img { width: clamp(3.5rem, 7vw, 6rem); height: clamp(3.5rem, 7vw, 6rem); object-fit: contain; filter: drop-shadow(0 0 .45rem #f5bc58) drop-shadow(0 .8rem 1rem rgba(0,0,0,.7)); }
.home-dream-thing span { max-width: 9rem; padding: .22rem .4rem; overflow: hidden; color: #fff0ba; background: rgba(7,7,15,.72); font: 900 .58rem/1.2 Arial, sans-serif; letter-spacing: .04em; text-align: center; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.home-dream-thing.is-changing { opacity: 0; filter: blur(8px); }
.dream-slot-1 { top: 22%; left: 8%; animation-delay: -1s; }
.dream-slot-2 { --dream-scale: .88; top: 13%; left: 29%; animation-delay: -3.5s; }
.dream-slot-3 { --dream-scale: .9; top: 12%; left: 68%; animation-delay: -2.2s; }
.dream-slot-4 { top: 24%; left: 91%; animation-delay: -4.7s; }
.dream-slot-5 { --dream-scale: .9; top: 69%; left: 11%; animation-delay: -2.8s; }
.dream-slot-6 { --dream-scale: .78; top: 77%; left: 28%; animation-delay: -.3s; }
.dream-slot-7 { --dream-scale: .82; top: 75%; left: 73%; animation-delay: -4s; }
.dream-slot-8 { --dream-scale: .94; top: 67%; left: 91%; animation-delay: -1.8s; }
.home-dream-bed { position: absolute; z-index: 4; left: 50%; bottom: 1.8rem; width: min(38rem, 58vw); height: 16rem; transform: translateX(-50%); }
.home-dream-bed .home-bed { left: 0; bottom: 0; width: 100%; height: 100%; filter: drop-shadow(0 1.2rem 1rem rgba(0,0,0,.8)) drop-shadow(0 0 2rem rgba(232,154,57,.28)); }
.home-dream-caption { position: absolute; z-index: 8; right: 1.5rem; bottom: 1rem; max-width: 16rem; margin: 0; color: #afa8c4; font: italic .78rem/1.4 Arial, Helvetica, sans-serif; text-align: right; }
body.home-dream-open { overflow: hidden; }


@media(max-width:780px){
  .home-dream-dialog { width: 100vw; height: 100vh; }
  .home-dream-world > header { gap: .75rem; padding: 1rem; }
  .home-dream-world > header p:last-child, .home-dream-thing span, .home-dream-caption { display: none; }
  .home-dream-things { inset-block: 7rem 6rem; }
  .home-dream-bed { bottom: 2rem; width: 72vw; height: 11rem; }
}
@media(prefers-reduced-motion:reduce){.home-dream-thing,.home-dream-stars,.home-dream-world::before,.home-dream-world::after{animation:none}}

