/* V29: little things to keep. The accessible velvet design system. */
:root{--serif:'Iowan Old Style','Palatino Linotype',Palatino,Georgia,serif;--body-font:ui-rounded,'Avenir Next',Avenir,'Trebuchet MS',system-ui,sans-serif;--ink:#fff0f7;--muted:#d7c2d1;--pink:#f5b6d5;--line:#6a4b62;color-scheme:dark;--nav-room-height:64px}
body{font-family:var(--body-font);font-size:16px;line-height:1.65;letter-spacing:0;background-color:#151019}h1,h2,h3,.scene-caption strong,.door-copy strong,.signature{font-weight:500}.tiny,small{line-height:1.5}.tiny{font-size:.81rem;color:var(--muted)}.eyebrow,.scene-kicker{letter-spacing:.13em}.btn,button,select,input,textarea{font-family:var(--body-font)}.btn,button:not(.era):not(.card-image):not(.room-door):not(.mystery-face),select{touch-action:manipulation}.btn{position:relative;min-height:44px;white-space:normal;text-align:center}.btn.primary,#dot-archive-open{background:linear-gradient(180deg,#ffe1ef,#ecaccb);color:#32172a!important;border-color:#f5bfd9;text-shadow:none}.btn.primary:hover,#dot-archive-open:hover{background:#ffe1ef;color:#32172a!important}.btn.ghost{color:#ffebf6;background:#302236;border-color:#a57a99}.btn.ghost:hover{color:#fff6fa;background:#50364d}.book-tabs button[aria-pressed=true],.chip[aria-pressed=true]{background:#f5c2dc!important;color:#30172a!important;border-color:#f5c2dc!important}.btn:disabled,button:disabled{opacity:.75;filter:none;transform:none}.btn.primary:disabled{background:#cba4b7;color:#2e1a29!important}.control{color:#ffdfef;background:#39273e;border-color:#79586f;min-width:44px;min-height:44px}.control:hover{background:#50344c}.track button,.mixtape-heart{color:#ffe5f3}.track a{min-height:44px;display:flex;align-items:center;white-space:nowrap}.chip{min-height:44px;color:#eed8e7}.btn:active,.control:active,.chip:active,.treasure-tap:active{transform:scale(.97)}.btn:focus-visible,button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #ffcfeb;outline-offset:3px}input,select,textarea{font-size:16px;min-height:44px;color:#fff1f8;background:#251a2a}input::placeholder,textarea::placeholder{color:#c8aebf;opacity:1}select option{background:#271c2c;color:#fff1f8}input[type=checkbox],input[type=radio]{min-height:0;accent-color:#efaccd}.panel:hover,.post:hover,.collectible:hover,.passport-stat:hover,.shelf-era:hover,.shelf-milestone:hover,.poll-item:hover{transform:none}.panel,.post,.passport-shell,.diary-shell,.collector-shelf{backdrop-filter:none}.panel::after,.post::after,.collectible::after,.passport-shell::after,.diary-shell::after,.collector-shelf::after{display:none}.native-summary::after,.book-lyrics summary::after,details>summary::after{right:8px}.native-summary,.book-lyrics summary,details>summary{padding-right:28px}.room-door{min-width:0}.scene-caption strong{line-height:1.1;letter-spacing:-.025em}.scene-caption p{max-width:55ch}.scene-caption{background:linear-gradient(0deg,#170e1bea,transparent)}.room-scene{aspect-ratio:16/7;min-height:300px;max-height:475px}.room-scene img{object-position:center 48%}.room-ornament{display:flex;align-items:center;justify-content:center;gap:9px;margin:16px 0 4px;color:var(--room-accent,#f3b5d6);min-width:0}.ornament-rule{height:1px;flex:1;background:linear-gradient(90deg,transparent,currentColor,transparent);opacity:.65}.ornament-symbol{font-size:1.4rem;line-height:1.1}.ornament-label{font:italic 1rem var(--serif);text-align:center}.little-treasure-spot{margin:0 0 15px;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.treasure-tap{min-height:44px;padding:8px 12px;border:1px dashed #aa7d9b;border-radius:24px;color:#f8d6e8;background:#261a2c;font-size:.78rem}.treasure-tap:hover,.treasure-tap[aria-expanded=true]{border-style:solid;background:#493046}.little-treasure-spot .secret-reveal{flex:1 1 100%;margin:0;padding:14px;background:#3c2639;border:1px solid #ab7a98;border-radius:13px}.room-treat .secret-trigger{white-space:normal;text-align:left}.room-treat .secret-reveal p,.secret-reveal p{overflow-wrap:anywhere}.foyer .room-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.room-menu a{min-height:46px}.mobile-rooms .mobile-more{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:0;background:transparent;color:#f2d6e8;min-height:48px;border-radius:10px;padding:4px 1px;font-size:1.2rem;line-height:1.1}.mobile-more small{font-size:.69rem}.deluxe-dialog{background:#24182a;color:#fff0f7;border:3px double #c695b2;border-radius:22px;width:min(480px,calc(100% - 26px));max-height:calc(100dvh - 36px);padding:20px;overflow:auto;box-shadow:0 24px 100px #0009}.deluxe-dialog::backdrop{background:#110918de;backdrop-filter:blur(5px)}.deluxe-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.deluxe-head h2{font-size:1.75rem}.directory-list{display:grid;gap:8px}.directory-link{display:flex;align-items:center;min-height:48px;background:#3b293e;border:1px solid #936c86;border-radius:12px;padding:9px 14px;text-decoration:none;color:#ffe4f2}.directory-link:hover{background:#5a3a52}.gift-dialog{--gift-tier:#efb3d3;text-align:center;background:radial-gradient(ellipse at 50% 30%,#573349,#211526 80%)}.gift-stage{position:relative;display:flex;align-items:center;flex-direction:column;gap:15px;padding:6px 0 12px}.gift-close{align-self:flex-end;font-size:.8rem}.gift-stage h2{font-size:clamp(1.6rem,5vw,2.2rem);color:#ffe3ef}.gift-packet{width:min(250px,75%);aspect-ratio:1.1;position:relative;display:grid;place-items:center;overflow:hidden;border:3px double #f6c4da;border-radius:12px;background:linear-gradient(140deg,#7e4b69,#c582a6 45%,#74405e);box-shadow:0 14px 42px #140a17a0;animation:packet-arrive .45s ease both}.packet-fold{position:absolute;inset:0;background:linear-gradient(35deg,transparent 49%,#f2c6d955 50%,transparent 51%),linear-gradient(-35deg,transparent 49%,#f2c6d955 50%,transparent 51%)}.packet-bow{width:47%;height:auto;filter:drop-shadow(0 4px 7px #2f1628);z-index:1}.packet-message{position:absolute;bottom:9%;font:italic 1rem var(--serif);color:#fff1f8;text-shadow:0 1px 4px #44203b}.reveal-card{width:min(215px,63%);aspect-ratio:2/3;border-radius:13px;border:3px solid var(--gift-tier);overflow:hidden;box-shadow:0 0 28px color-mix(in srgb,var(--gift-tier),transparent 50%);animation:card-turn .65s cubic-bezier(.2,.7,.2,1) both}.reveal-card img{width:100%;height:100%;object-fit:cover}.unwrapped{border-color:var(--gift-tier)}.unwrapped .gift-stage h2{color:var(--gift-tier)}.gift-sparkles{color:var(--gift-tier);letter-spacing:8px;animation:gift-spark 1.2s ease both}.rarity-darling .reveal-card{animation-duration:.8s}.rarity-lucky .reveal-card{animation:card-lucky .8s ease both}.rarity-secret .reveal-card{animation:card-secret 1s cubic-bezier(.15,.7,.3,1) both;box-shadow:0 0 40px #ffd27b99,0 0 12px #ffe9ad}.rarity-secret .gift-sparkles{font-size:1.45rem}.replay-gift{width:100%;margin-top:7px}.gift-result{flex-wrap:wrap}.sticker-shelf{margin:24px 0 0;padding:20px;border:1px solid #b17f9c;border-radius:17px;background:linear-gradient(145deg,#432b40,#251c2d)}.sticker-shelf h3{font-family:var(--serif);font-size:1.65rem;margin:4px 0 10px;color:#ffdeee}.sticker-shelf>p{margin:7px 0}.sticker-pin{display:flex;align-items:center;gap:13px;padding:14px;margin:15px 0;border:1px dashed #b385a3;border-radius:14px;background:#2c1c30}.pinned-art{display:grid;place-items:center;flex:0 0 68px;height:68px}.pinned-art img{width:100%;height:100%;object-fit:contain}.pin-copy{min-width:0}.theme-label{display:grid;gap:7px;margin:12px 0;font-weight:600}.theme-label select{width:100%}.sticker-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:12px 0}.sticker-tile{display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px 7px;border:1px dashed #916e88;border-radius:13px;text-align:center;background:#2b2130;min-width:0}.sticker-tile.unlocked{border:1px solid #d9a6c3;background:linear-gradient(145deg,#57374e,#35253a)}.sticker-tile img,.sticker-glyph{height:52px;width:52px;object-fit:contain;display:grid;place-items:center;color:#f9b9dd;font-size:2.25rem;filter:drop-shadow(0 2px 4px #180d1d)}.sticker-tile:not(.unlocked) .sticker-glyph{color:#b99bb0}.sticker-tile strong{font-size:.86rem;overflow-wrap:anywhere}.sticker-tile .tiny{font-size:.75rem}.sticker-tile .btn{margin-top:auto;padding:8px;line-height:1.3;width:100%;font-size:.74rem}.passport-shell[data-decor=moon]{background:linear-gradient(135deg,#302344,#201b31);border-color:#c9b2ea}.passport-shell[data-decor=moon] .sticker-shelf{background:linear-gradient(145deg,#3a2d52,#251b35);border-color:#a791d0}.passport-shell[data-decor=pearl]{background:linear-gradient(135deg,#4a3540,#2b2129);border-color:#e1c0bd}.passport-shell[data-decor=pearl] .sticker-shelf{background:linear-gradient(145deg,#543b46,#31252e);border-color:#e1c0bd}.player{padding-bottom:env(safe-area-inset-bottom,0px)}.player-inner{gap:8px}.now-art{flex-shrink:0}.player-status{font-size:.72rem}.footer{padding-bottom:calc(85px + var(--radio-height,65px) + env(safe-area-inset-bottom,0px))}
@keyframes packet-arrive{from{opacity:0;transform:translateY(16px) scale(.9)}to{opacity:1;transform:none}}@keyframes card-turn{from{opacity:0;transform:perspective(700px) rotateY(-90deg) scale(.92)}to{opacity:1;transform:none}}@keyframes card-lucky{0%{opacity:0;transform:perspective(700px) rotateY(-90deg)}65%{transform:scale(1.05)}100%{opacity:1;transform:none}}@keyframes card-secret{0%{opacity:0;transform:perspective(700px) rotateY(-100deg) scale(.8)}65%{opacity:1;transform:scale(1.06)}100%{opacity:1;transform:none}}@keyframes gift-spark{from{opacity:0;transform:translateY(8px) scale(.8)}to{opacity:1;transform:none}}
@media(max-width:960px){.wrap{width:calc(100% - 24px)}.mobile-rooms{grid-template-columns:repeat(6,minmax(0,1fr));padding:3px 3px;min-height:60px}.mobile-rooms a small,.mobile-more small{font-size:.68rem}.mobile-rooms a,.mobile-more{min-width:0}.foyer .room-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.room-scene{min-height:220px;aspect-ratio:16/10;max-height:340px}.scene-caption{padding:17px}.scene-caption strong{font-size:clamp(1.6rem,7vw,2.3rem)}.sticker-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sticker-shelf{padding:14px}.track{padding:9px 5px;margin:3px;gap:5px}.track-info strong{font-size:.91rem}.track a{font-size:.72rem}.track .mixtape-heart{min-width:44px}.player-inner{grid-template-columns:minmax(0,1fr) auto}.controls{gap:3px}.control{width:44px;min-width:44px}.now-art{width:34px;height:34px;flex-basis:34px}.now{gap:5px}.now strong{font-size:.88rem}.now small{font-size:.57rem;letter-spacing:0}.player-status{font-size:.65rem}.footer{padding-bottom:calc(150px + var(--radio-height,65px) + env(safe-area-inset-bottom,0px))}.section-title{gap:6px}.room-door .door-copy{padding:12px 10px}.door-copy strong{font-size:1.1rem}.door-copy small{font-size:.76rem}.card-grid{gap:9px}.card-meta{padding:9px}.dialog,.deluxe-dialog{max-height:calc(100dvh - 28px)}.foyer-scene img{max-height:290px!important}}
@media(max-width:370px){.now-art{display:none}.controls{gap:2px}.mobile-rooms a small,.mobile-more small{font-size:.62rem}.room-door{min-height:175px}.scene-caption p{font-size:.82rem}.room-ornament{gap:5px}.card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.track-info strong{font-size:.84rem}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.001ms!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}body[data-motion=off] .gift-packet,body[data-motion=off] .reveal-card,body[data-motion=off] .gift-sparkles{animation:none!important}body[data-motion=off] .ribbon-wheel{transition:none!important}
/* Final touch-up: mobile navigation has one home, not two. */
.btn.primary,#dot-archive-open{overflow:hidden;background-color:#f5bfd9;color:#32172a!important}.btn.primary::before{pointer-events:none}.mobile-more:focus-visible{outline-offset:-3px}.room-directory-dialog .directory-link:focus-visible{outline-offset:1px}
@media(max-width:960px){.top .navlinks{display:none}.top .nav{min-height:58px;justify-content:flex-start}.top .brand{display:flex;align-items:center}.top .brand-wordmark{max-height:46px}.house-masthead{padding:13px 0 7px}.ribbon{font-size:.65rem;padding:7px 8px}.house-route[data-room=foyer] .hero{min-height:310px}.hero .hero-copy{padding:22px 20px}.hero-actions{margin-top:17px}.hero-note{margin-top:10px}.hero .era-tag{font-size:.63rem;bottom:10px;right:10px}}
