/* A room-puzzle identity: paper plans, punchy clock tickets and tactile controls. */
:root{--ink:#24201d;--muted:#6c6258;--paper:#fffaf2;--white:#fffdf8;--teal:#f04b29;--gold:#8c6113;--line:#d9cebe;--serif:'Barlow Condensed','Arial Narrow',Impact,sans-serif}
body{background:var(--paper)}[hidden]{display:none!important}
header{max-width:1280px;padding:22px 24px;border-bottom:2px solid var(--ink);gap:20px}
.brand{gap:12px;letter-spacing:0}.brand-mark{width:37px;height:37px;border-radius:0;background:var(--ink);gap:4px;padding:6px}.brand-mark i{border-color:#fffaf2}.brand-name{font-family:var(--serif);font-weight:800;font-size:25px;line-height:.9;text-transform:uppercase;letter-spacing:.3px}.brand-name span{display:block}
nav{gap:28px;font-size:14px}nav a{color:var(--ink);padding:10px 0;border:0;min-height:44px}nav a[aria-current]{border-bottom:3px solid var(--teal);color:var(--ink)}nav a:hover{color:#a8311b}
#app{padding:0 24px}.eyebrow{font-size:12px;letter-spacing:1.6px;font-weight:700;color:var(--muted)}
h1,h2,h3{font-family:var(--serif)}h2{font-size:38px;font-weight:700;letter-spacing:0;line-height:1.1}
.button{min-height:48px;border-radius:3px;padding:12px 20px;border:2px solid var(--ink);font-size:14px;font-weight:700;white-space:normal;text-align:center;box-shadow:3px 3px 0 var(--ink);transition:transform .14s,box-shadow .14s,background .14s}
.button.primary{background:var(--teal);color:#181410}.button.primary:hover:not(:disabled){background:#ff7049;transform:translate(2px,2px);box-shadow:1px 1px 0 var(--ink)}.button.secondary{background:var(--white);border-color:var(--ink)}.button.secondary:hover:not(:disabled){background:#ffe66e;transform:translate(2px,2px);box-shadow:1px 1px 0 var(--ink)}.button:disabled{box-shadow:none}
.text-link,.back-link{color:var(--ink);font-size:14px;text-decoration-color:#ba9e83;line-height:1.5;text-underline-offset:5px}.text-link:hover,.back-link:hover{color:#a8311b}.plain-button{border-radius:2px;font-size:14px;min-height:44px}.plain-button:hover{background:#f1e7d8}
:where(button,a,input,select,summary,svg,g):focus-visible{outline:3px solid #b5311a;outline-offset:4px}
select{font:inherit!important;font-size:14px!important;color:var(--ink);width:100%;min-width:0;max-width:100%;min-height:48px;padding:11px 32px 11px 12px!important;border:2px solid var(--ink)!important;border-radius:3px!important;background:var(--white)!important}
.difficulty{font-size:12px;padding:6px 9px;border-radius:2px;border:1px solid currentColor;font-weight:700}.difficulty.easy{color:#2d5942;background:#edf2d8}.difficulty.medium{color:#765218;background:#ffeac3}.difficulty.hard{color:#a0321e;background:#ffded0}.difficulty.expert{color:#66437d;background:#ebe0ef}
/* An open title and setup on the left; a full paper floor plan on the right. */
.timed-launch{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:55px;padding:34px 0 44px;align-items:center}
.timed-launch-copy{padding:0;background:transparent;border:0;border-radius:0;min-width:0}
.timed-launch .eyebrow{font-size:12px;letter-spacing:1.8px;margin-bottom:12px}
.timed-launch h1{font-family:var(--serif);font-weight:800;font-size:clamp(64px,7.1vw,92px);line-height:.85;letter-spacing:-1px;margin:0 0 22px;text-transform:uppercase}
.timed-launch h1 em{color:#b6331e;font-weight:800;font-style:normal}
.launch-intro{font-size:16px;line-height:1.65;max-width:450px;margin:0 0 10px}.launch-goal{font-size:14px;line-height:1.6;margin:0 0 22px}.launch-goal strong{color:var(--ink)}
.launch-controls{padding-top:18px;border-top:2px solid var(--ink)}.timed-fields{display:grid;grid-template-columns:1fr;gap:18px}
.mode-label,.timed-fields .mode-label{display:block;font-size:14px;font-weight:700;margin:0 0 9px;color:var(--ink)}
.time-tickets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.time-ticket{position:relative;border:2px solid var(--ink);border-radius:3px;padding:10px 5px 11px;background:var(--white);color:var(--ink);text-align:center;transition:transform .14s,background .14s;min-width:0}
.time-ticket strong{display:block;font-family:var(--serif);font-size:39px;font-weight:800;line-height:1;letter-spacing:0}.time-ticket span{display:block;font-size:12px;font-weight:700;letter-spacing:1px;margin-top:4px}.time-ticket small{display:block;font-size:12px;line-height:1.4;margin-top:7px;overflow-wrap:anywhere}
.time-ticket:hover{background:#f7ecd9;transform:translateY(-2px)}.time-ticket.chosen{background:#ffe66e;box-shadow:3px 3px 0 var(--ink)}
.timed-start{min-height:54px;width:100%;font-size:16px;margin-top:18px}.timed-deadline-note{font-size:13px;line-height:1.6;margin:14px 0 0;color:var(--muted)}.practice-first,.timed-resume{font-size:14px;margin-top:16px}
.launch-preview{position:relative;padding:0;background:#fffdf8;border:2px solid var(--ink);border-radius:2px;box-shadow:8px 8px 0 #e6d7c1;overflow:hidden;min-width:0;transform:rotate(.6deg)}
.preview-heading{min-height:58px;padding:14px 20px;border-bottom:2px solid var(--ink);background:#f1e4cf;gap:10px}.preview-heading .eyebrow{font-size:12px;letter-spacing:1.2px;margin:0;color:var(--ink)}
.preview-plan{padding:10px 18px;background-color:#fffdf8;background-image:linear-gradient(#e3d6c340 1px,transparent 1px),linear-gradient(90deg,#e3d6c340 1px,transparent 1px);background-size:20px 20px}
.launch-preview .room-svg{height:350px;margin:0;max-width:100%;filter:drop-shadow(0 4px 2px #3c2d1612)}
.preview-copy{padding:18px 20px;border-top:2px solid var(--ink)}.preview-copy h2{font-family:var(--serif);font-size:34px;letter-spacing:0;font-weight:700;margin:0 0 8px}.preview-copy p{font-size:16px;line-height:1.6;margin-bottom:10px}.preview-meta{font-family:monospace;font-size:13px;color:var(--muted)}.preview-copy summary{font-size:14px;margin-top:5px}.preview-copy details{margin-top:7px}
.random-preview{background:#ffe66e;min-height:520px;padding:32px;color:var(--ink);justify-content:center}.random-preview strong{font-family:var(--serif);font-size:64px;font-weight:800;line-height:.98;letter-spacing:-.5px}.random-preview p:not(.eyebrow){font-size:16px;color:var(--ink);line-height:1.65}
/* Room folios and short rules replace dashboard tiles. */
.timed-explainer{border-top:2px solid var(--ink);padding:28px 0 34px}.section-heading{align-items:center;gap:20px}.section-heading h2{font-size:38px}.section-heading .eyebrow{margin-bottom:8px}
.launch-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.launch-steps li{background:none;border:0;border-left:2px solid #d9cebe;border-radius:0;padding:0 0 0 18px}.launch-steps li>span{font-family:var(--serif);font-size:28px;color:#b6331e;margin-bottom:8px}.launch-steps h3{font-family:var(--serif);font-size:27px;letter-spacing:0;font-weight:700;margin-bottom:7px}.launch-steps p{font-size:16px;line-height:1.6}
.star-guide{border:2px solid var(--ink);border-radius:2px;background:#f5ecd9;padding:18px 22px;gap:12px 28px;margin-top:24px;color:var(--ink)}.star-guide strong{font-family:var(--serif);font-size:30px;color:var(--ink)}.star-guide p{font-size:13px;line-height:1.6;color:var(--muted)}
.collection{padding:34px 0 40px;border-top:2px solid var(--ink)}.timed-room-grid,.card-grid{gap:26px}
.challenge-card,.timed-room-pick{border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible;transition:transform .16s}
.challenge-card:hover,.timed-room-pick:hover{transform:translateY(-4px);box-shadow:none}
.card-plan,.timed-room-pick .card-plan{background:#f0e5d2;border:2px solid var(--ink);border-radius:2px;height:225px;padding:16px;box-shadow:4px 4px 0 #dfcfb7}
.card-copy,.timed-room-pick .card-copy{padding:20px 0 0;display:block}.card-meta{font-size:13px;gap:10px;flex-wrap:wrap}.card-copy h3,.timed-room-pick .card-copy>strong{display:block;font-family:var(--serif);font-size:32px;line-height:1.1;font-weight:700;letter-spacing:0;margin:13px 0 10px;min-height:0}
.card-brief,.pick-brief{font-size:16px;line-height:1.55;color:var(--muted);margin-bottom:16px}.card-bottom{font-size:13px;gap:10px;flex-wrap:wrap;padding-top:12px;border-top:1px solid var(--line)}.pick-action{color:#a8311b;font-size:14px;line-height:1.5}.area-label,.solved-label{border:1px solid var(--ink);border-radius:2px;background:#fffaf2;font-size:12px;padding:5px 7px;color:var(--ink)}.solved-label{background:#edf2d8}
.stars{color:#d4c8b5}.stars .lit{color:#8c6113}.other-ways{border-top:2px solid var(--ink);background:none;border-radius:0;padding:28px 0 38px;grid-template-columns:220px minmax(0,1fr);gap:30px}.other-ways img{border:2px solid var(--ink);border-radius:2px;height:210px}.other-ways h2{font-family:var(--serif);font-size:36px;letter-spacing:0;font-weight:700}.other-ways .result-actions{flex-wrap:wrap;gap:20px}
footer{padding:24px;border-top:2px solid var(--ink);font-size:12px}footer .footer-brand{font-family:var(--serif);font-size:22px;line-height:1;font-weight:700;text-transform:uppercase}
.library-header,.modes-heading{padding:34px 0 26px}.library-header h1,.modes-heading h1,.session-results h1{font-family:var(--serif);font-weight:800;font-size:54px;line-height:1;letter-spacing:-.5px}.library-header p:not(.eyebrow),.modes-heading p:not(.eyebrow){font-size:16px;line-height:1.65}.collection-progress{border:2px solid var(--ink);background:#ffe66e;padding:14px 16px;border-radius:2px;font-size:14px;gap:12px}.collection-progress small{color:#625526}
.filters{border-bottom:1px solid var(--line);gap:9px;padding-bottom:20px}.filter{min-height:44px;font-size:14px;border:1px solid var(--ink);border-radius:2px;background:var(--white)}.filter.active{background:var(--ink);color:var(--white);border-color:var(--ink)}.library-options{gap:14px;padding:16px 0 22px}.library-options label,.library-count{font-size:14px}.library-options select{max-width:150px;min-height:44px}.library-grid{row-gap:35px}.library-footnote{font-size:14px}
.mode-grid.timed-first{grid-template-columns:minmax(0,1.2fr) repeat(2,minmax(0,1fr));gap:24px}.mode-card{border:0;border-top:2px solid var(--ink);border-radius:0;background:none;padding:24px 0}.mode-card.featured-mode{background:#f5ecd9;border:2px solid var(--ink);padding:24px;box-shadow:5px 5px 0 #dfcfb7}.mode-number{font-size:12px;color:#a8311b;letter-spacing:1.2px;margin-bottom:18px}.mode-card h2{font-family:var(--serif);font-weight:700;font-size:34px;letter-spacing:0}.mode-card p,.mode-card li{font-size:16px;line-height:1.65}.mode-card .button{width:100%;margin-bottom:6px}.timed-first .timed-fields{grid-template-columns:1fr}.resume-link{font-size:14px}.record-list article{font-size:14px;border-color:var(--line);background:none}
/* Play is a tabletop plan with a compact score sheet beside it. */
.game-heading{padding:22px 0 18px}.game-title-line{margin-top:13px}.game-title-line h1{font-family:var(--serif);font-size:42px;font-weight:700;letter-spacing:0}.game-title-line .eyebrow{font-size:12px;letter-spacing:1px}.brief{font-size:16px;line-height:1.6}.room-tags span{font-size:12px;border:1px solid #c8bca9;border-radius:2px;background:none;color:var(--muted)}.game-layout{grid-template-columns:minmax(0,1fr) 320px;gap:28px}.board-toolbar{font-size:14px;padding-bottom:10px}.board-instruction{font-size:14px}.board{background:#f1e4cf;border:2px solid var(--ink);border-radius:2px;padding:16px 25px;box-shadow:5px 5px 0 #dfcfb7}.board svg{max-height:470px}.board-caption{margin:12px 0 14px;font-size:12px;line-height:1.5;flex-wrap:wrap}.check-toggle{font-size:14px;min-height:40px}.check-toggle input{accent-color:#b6331e}
.control-bar{position:sticky;bottom:12px;background:#fffaf2f5;backdrop-filter:blur(8px);border:2px solid var(--ink);border-radius:2px;padding:12px;margin-bottom:20px;box-shadow:3px 3px 0 var(--ink);gap:10px;color:var(--ink)}.selected-info strong{font-size:14px}.selected-info>span{color:var(--muted);font-size:12px}.control-bar .button{min-height:44px}.control-bar .plain-button{min-height:44px}
.checks-panel{background:#fffdf8;border:2px solid var(--ink);border-radius:2px;padding:20px;box-shadow:5px 5px 0 #dfcfb7}.score-top .eyebrow{font-size:12px;letter-spacing:1px}.score{font-family:var(--serif);font-weight:800;font-size:76px;line-height:.95;letter-spacing:-1px;color:var(--muted)}.score.passed{color:#315e45}.score-unit{font-size:14px}.score-meta{font-size:13px}.score-track{height:7px;border-radius:0;background:#e6dbc9}.score-track span{background:var(--ink);border-radius:0}.score-track i{background:#b6331e}.checks-title h2{font-family:var(--serif);font-size:28px;font-weight:700;letter-spacing:0}.checks-title>span{font-size:12px;color:#a8311b}.room-check{border-color:#e2d8c9;padding:14px 0}.room-check:hover,.room-check.focused{background:#f5ecd9}.room-check .check-content strong{font-size:14px;font-weight:700;line-height:1.5}.check-bar{height:3px;background:#e6dbc9}.check-bar i{background:#9a856a}.check-detail{font-size:13px;line-height:1.65}.check-value{font-size:12px}.check-icon.good{color:#315e45;background:#edf2d8}.check-icon.okay{color:#765218;background:#ffeac3}.check-icon.bad{color:#a0321e;background:#ffded0}.hard-warning{display:block;font-size:14px;line-height:1.5;font-weight:700;color:#a0321e;margin-top:5px}.nudge{border-top:1px solid var(--line);margin-top:18px;padding-top:16px}.nudge .eyebrow{font-size:12px}.nudge>p:last-child{font-size:14px;line-height:1.6}.storage-note{font-size:12px;line-height:1.6}
.furniture.selected .selection-outline{stroke:#b6331e}.furniture.selected.conflict .selection-outline{stroke:#ba4d40}.rotate-handle{fill:#b6331e}.inventory-list{gap:8px}.inventory-list button{font-size:14px;min-height:44px;border:1px solid var(--ink);border-radius:2px;padding:9px 12px;background:var(--white)}.inventory-list button.active{color:var(--ink);background:#ffe66e;border-color:var(--ink)}.furniture-inventory h2{font-size:14px;font-family:inherit;font-weight:700;line-height:1.5}.furniture-inventory h2 span{font-size:12px}.room-guide{border:1px solid #bdaa90;border-radius:2px;background:none;padding:4px 14px}.room-guide summary{font-size:14px;min-height:48px}.room-guide p{font-size:16px}.completion{background:#edf2d8;border:2px solid #315e45;border-radius:2px}.completion strong{font-family:var(--serif);font-size:30px;font-weight:700;letter-spacing:0}.completion p{font-size:14px;color:#315e45}
.session-bar{background:#ffe66e;border:2px solid var(--ink);border-radius:2px;color:var(--ink);margin-top:22px;padding:12px 18px;gap:14px;box-shadow:3px 3px 0 var(--ink)}.session-bar .eyebrow{color:var(--ink);font-size:12px;letter-spacing:.8px}.session-bar strong{font-size:14px}.session-goal{font-size:14px;color:var(--ink)}.session-clock{font-family:var(--serif);font-size:38px;font-weight:800;line-height:1;letter-spacing:1px;font-variant-numeric:tabular-nums;min-width:100px;text-align:center;border-left:2px solid var(--ink);padding:5px 12px}.session-clock.urgent{background:#ffded0;color:#a0321e;border-radius:0}.stage-dots span{border:1px solid var(--ink);background:var(--white);color:var(--ink);font-size:12px}.stage-dots span.current{background:var(--ink);color:var(--white);border-color:var(--ink)}.stage-dots span.finished{background:#edf2d8;color:#315e45;border-color:#315e45}
.session-results{padding:32px 0 45px}.session-results h1{font-size:64px}.session-results .result-intro{font-size:16px;line-height:1.65;color:var(--muted);max-width:740px}.result-stats{background:#ffe66e;border:2px solid var(--ink);border-radius:2px;padding:24px;box-shadow:5px 5px 0 #dfcfb7}.result-stats strong,.timed-result .result-stats strong{font-family:var(--serif);font-size:58px;font-weight:800;line-height:1;letter-spacing:0}.result-stats small{font-size:18px;color:var(--ink)}.result-stats span{font-size:14px;color:var(--ink)}.result-room-list article{border:0;border-top:2px solid var(--ink);border-radius:0;background:none;padding:22px 0}.result-thumbnail{border:1px solid var(--ink);background:#f0e5d2;border-radius:2px}.result-room-list h2{font-family:var(--serif);font-size:32px;font-weight:700;letter-spacing:0}.result-room-list p{font-size:16px;line-height:1.6}.result-room-list .eyebrow{font-size:12px;line-height:1.5}.result-room-score strong{font-family:var(--serif);font-size:48px;font-weight:800}.timed-result-actions{gap:14px;flex-wrap:wrap}
dialog{border:2px solid var(--ink);border-radius:3px;padding:26px;background:var(--white);box-shadow:7px 7px 0 #24201d30}dialog::backdrop{background:#24201d80;backdrop-filter:blur(4px)}dialog h2{font-size:36px}dialog p,dialog li{font-size:16px;line-height:1.65}dialog summary{font-size:14px;line-height:1.5}.dialog-actions{flex-wrap:wrap;gap:14px}.mobile-score{font-size:14px;color:var(--ink);font-weight:700}
@media(max-width:1050px){.timed-launch{gap:30px}.timed-launch h1{font-size:74px}.launch-preview .room-svg{height:325px}.mode-grid.timed-first{grid-template-columns:1fr}.mode-card.featured-mode{padding:24px}.mode-card .button{width:auto;min-width:min(210px,100%)}.mode-card .timed-start{width:100%}.time-ticket small{font-size:12px}.game-layout{grid-template-columns:minmax(0,1fr) 295px;gap:22px}.checks-panel{padding:18px}.control-bar{flex-wrap:wrap}.selected-info{flex-basis:100%}}
@media(max-width:760px){header{padding:16px 20px;gap:16px;flex-wrap:wrap}.brand-name{font-size:24px}nav{gap:20px;font-size:14px}#app{padding:0 20px}.timed-launch{grid-template-columns:1fr;gap:24px;padding:24px 0 34px}.timed-launch h1{font-size:56px;line-height:.9;margin-bottom:18px}.timed-launch h1 br{display:none}.timed-launch h1 em{display:block}.timed-launch .eyebrow{font-size:12px;letter-spacing:1.2px}.launch-intro{font-size:16px;max-width:none}.launch-goal{font-size:14px;margin-bottom:16px}.launch-controls{padding-top:16px}.timed-fields{gap:16px}.time-tickets{gap:12px}.time-ticket{padding:10px 5px}.time-ticket strong{font-size:35px}.timed-start{min-height:52px;margin-top:16px}.launch-preview{transform:none;box-shadow:5px 5px 0 #e6d7c1}.preview-heading{min-height:56px;padding:12px 16px;flex-wrap:wrap}.preview-plan{padding:8px 12px}.launch-preview .room-svg{height:285px}.preview-copy{padding:17px 18px}.preview-copy h2{font-size:32px}.preview-copy p{font-size:16px}.random-preview{min-height:320px;padding:26px}.random-preview strong{font-size:54px}.section-heading{align-items:flex-start;flex-wrap:wrap;gap:12px;margin-bottom:22px}.section-heading h2,.timed-explainer h2{font-size:34px}.section-heading .text-link{font-size:14px;white-space:normal}.timed-explainer{padding:25px 0 28px}.launch-steps{grid-template-columns:1fr;gap:22px}.launch-steps li{display:grid;grid-template-columns:30px minmax(0,1fr);gap:4px 12px;padding-left:14px}.launch-steps li>span{grid-row:span 2;margin:0;font-size:27px}.launch-steps h3{font-size:27px;margin:0}.launch-steps p{font-size:16px}.star-guide{padding:17px;gap:12px 20px}.timed-room-grid{grid-template-columns:1fr;gap:25px}.timed-room-pick{grid-template-columns:130px minmax(0,1fr);gap:20px;align-items:center}.timed-room-pick .card-plan{height:210px;min-height:0;padding:8px}.timed-room-pick .card-copy{padding:0}.timed-room-pick .card-copy>strong{font-size:30px}.card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 20px}.card-plan{height:200px}.card-copy{padding:18px 0 0}.card-copy h3{font-size:30px}.card-brief{font-size:16px}.other-ways{grid-template-columns:1fr;gap:22px;padding:28px 0}.other-ways img{height:200px}.other-ways h2{font-size:34px}.library-header,.modes-heading{padding:28px 0 24px}.library-header h1,.modes-heading h1{font-size:44px}.collection-progress{justify-content:flex-start;max-width:none}.mode-grid.timed-first{grid-template-columns:1fr;gap:25px}.mode-card h2{font-size:34px}.game-heading{padding:17px 0 16px}.game-title-line{margin-top:12px}.game-title-line h1{font-size:35px;line-height:1.05}.game-title-line .eyebrow{font-size:12px}.brief{font-size:16px}.room-tags{display:none}.game-layout{display:flex;flex-direction:column;gap:22px}.board{padding:10px 13px;box-shadow:4px 4px 0 #dfcfb7}.board svg{min-height:230px;max-height:48dvh}body:has(.session-bar) .board svg{max-height:40dvh}.board-toolbar{flex-wrap:wrap;font-size:14px;gap:8px;padding-bottom:8px}.board-instruction{font-size:14px;flex:1}.board-caption{font-size:12px;gap:5px;margin:10px 0 12px}.control-bar{bottom:8px;gap:10px;margin-bottom:20px;padding:12px}.selected-info{flex:1;flex-basis:0}.control-bar .button{font-size:14px;padding:10px 12px;min-height:44px}.control-bar .plain-button{padding:10px 9px;font-size:14px;min-height:44px}.checks-panel{padding:20px}.checks-title{margin-top:24px}.session-bar{margin:16px 0 0;border-radius:2px;padding:12px;gap:10px;flex-wrap:wrap}.session-bar>div:first-child{flex:1;min-width:130px}.session-bar .eyebrow{font-size:12px}.session-bar strong{font-size:14px}.session-bar .button{font-size:14px;min-height:44px;padding:10px 12px}.session-bar .plain-button{font-size:14px;padding:10px 8px}.session-clock{font-size:35px;min-width:88px}.stage-dots span{width:23px;height:23px;font-size:12px}.session-results h1{font-size:48px;letter-spacing:0}.result-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;padding:20px}.result-stats strong,.timed-result .result-stats strong{font-size:44px;letter-spacing:0;overflow-wrap:anywhere}.result-stats small{font-size:14px}.result-room-list article{grid-template-columns:minmax(0,1fr) 75px;gap:16px}.result-thumbnail{grid-column:span 2;height:185px}.result-room-list h2{font-size:31px}.timed-result-actions .button{flex:1;width:auto}.dialog-actions .button{flex:1}footer{padding:23px 20px}}
@media(max-width:520px){.card-grid{grid-template-columns:1fr}.library-options{align-items:flex-start;flex-wrap:wrap}.library-options label{width:100%;justify-content:space-between}.library-options select{max-width:50%;width:150px}.control-bar{flex-wrap:wrap}.selected-info{flex-basis:100%}.control-bar .button{flex:1}.time-tickets{gap:9px}.time-ticket small{font-size:12px}.preview-heading .eyebrow{letter-spacing:.7px}.timed-room-pick{grid-template-columns:1fr;gap:0}.timed-room-pick .card-plan{height:220px}.timed-room-pick .card-copy{padding-top:18px}}
@media(max-width:420px){header{padding:14px 16px;gap:12px}nav{width:100%;justify-content:flex-start;gap:20px}nav a{font-size:13px}#app{padding:0 16px}.timed-launch h1{font-size:52px}.time-ticket small{font-size:12px}.time-ticket span{font-size:12px;letter-spacing:.5px}.launch-preview .room-svg{height:260px}.timed-result-actions .button{width:100%;flex:auto}.session-bar .button{width:100%}.completion{flex-direction:column;align-items:flex-start;gap:14px}footer{padding:24px 16px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.launch-preview{transform:none}}

/* Explain the actual puzzle before the existing room/time setup. */
.timed-launch h1{font-size:clamp(50px,5.4vw,72px);line-height:.98;letter-spacing:-.5px;text-transform:none;margin-bottom:18px}
.timed-launch h1 em{display:inline}
.launch-intro{font-size:17px;line-height:1.6;max-width:480px;margin-bottom:12px}
.launch-goal{font-size:15px;line-height:1.6;margin-bottom:20px}
.launch-controls h2{font-size:29px;line-height:1.15;margin:0 0 7px}
.launch-mode-intro{font-size:14px;line-height:1.6;color:var(--muted);margin:0 0 17px;max-width:440px}
.preview-instruction{font-size:14px;line-height:1.55;padding:11px 18px;margin:0;background:#ffe66e;border-top:1px solid var(--ink)}
.preview-instruction strong{font-weight:700}
@media(max-width:1050px){.timed-launch h1{font-size:60px}.launch-intro{font-size:16px}}
@media(max-width:760px){.timed-launch h1{font-size:48px;line-height:1.02;margin-bottom:16px}.timed-launch h1 br{display:block}.timed-launch h1 em{display:inline}.launch-intro{font-size:16px;line-height:1.6}.launch-goal{font-size:14px;margin-bottom:16px}.launch-controls h2{font-size:27px}.launch-mode-intro{font-size:14px;margin-bottom:15px}.preview-instruction{padding:11px 16px;font-size:14px}.section-heading h2{max-width:620px}}
@media(max-width:420px){.timed-launch h1{font-size:44px}}

@media(min-width:1051px){.timed-launch h1{font-size:64px}.timed-launch .timed-fields{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:14px}.timed-launch .time-ticket{padding:8px 4px}.timed-launch .time-ticket strong{font-size:31px}.timed-launch .time-ticket small{font-size:12px}.timed-launch .time-tickets{gap:7px}}

/* Introduce the site, its room collection and its main game before setup. */
.intro-screen{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:45px;align-items:center;padding:32px 0 36px}
.intro-copy h1{font-family:var(--serif);font-weight:800;font-size:clamp(48px,5.4vw,68px);line-height:1;letter-spacing:-.5px;margin:0 0 18px}
.intro-copy h1 em{color:#b6331e;font-style:normal}.intro-copy .eyebrow{margin-bottom:12px;font-size:12px}
.intro-lead{font-size:18px;line-height:1.55;margin:0 0 12px;max-width:540px}.intro-task{font-size:16px;line-height:1.65;color:var(--muted);margin:0 0 20px;max-width:540px}
.intro-collection{margin:0 0 20px;padding:0 0 0 14px;border-left:3px solid var(--teal);font-size:14px;line-height:1.6}.intro-collection strong,.intro-collection span{display:block}.intro-collection strong{font-size:16px}.intro-collection span{color:var(--muted)}
.intro-time{padding:16px 18px;margin:0 0 22px;background:#ffe66e;border:1px solid var(--ink)}.intro-time .eyebrow{color:var(--ink);margin:0 0 6px;font-size:11px;letter-spacing:1px}.intro-time h2{font-size:30px;margin:0 0 8px}.intro-time p:last-child{font-size:14px;line-height:1.6;margin:0}.intro-browser{font-size:12px;line-height:1.5;color:var(--muted);margin:15px 0 0}
.intro-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.intro-example{min-width:0;border:2px solid var(--ink);background:var(--white);box-shadow:6px 6px 0 #e6d7c1}
.example-tag{font-size:12px;white-space:nowrap;border:1px solid var(--ink);padding:4px 7px;background:#ffe66e}
.intro-example .preview-heading{flex-wrap:wrap;gap:10px;padding:12px 16px;min-height:50px}
.intro-demo-plan{padding:8px 16px;background:#f5ecd9}.intro-demo-plan .room-svg{height:270px;max-width:100%}
.demo-label{font:24px 'DM Sans',Arial,sans-serif;fill:#24201d;font-weight:700;pointer-events:none}
.demo-target .selection-outline{stroke:#b6331e;stroke-width:3;fill:#f04b291c;stroke-dasharray:5 4}
.demo-target.demo-clear .selection-outline{stroke:#315e45;fill:#315e4516}
.intro-demo-answer{padding:14px 18px 6px;border-top:1px solid var(--ink);min-height:140px}
.demo-status{font-size:17px;line-height:1.5;display:block}.demo-status.blocked{color:#a0321e}.demo-status.clear{color:#315e45}
.intro-demo-answer p{font-size:15px;line-height:1.6;margin:6px 0 9px;color:var(--muted)}.demo-score{font-size:13px;line-height:1.5}
.intro-example .button{margin:10px 18px 18px;min-width:170px}
.timed-launch{border-top:2px solid var(--ink);scroll-margin-top:20px}.setup-title{font-size:44px;line-height:1.1;margin:0 0 15px}
.timed-launch .launch-intro{font-size:16px;line-height:1.65}.timed-launch .launch-controls{border-top:0;padding-top:3px}
.timed-launch .launch-preview .room-svg{height:265px}.star-guide{margin:0 0 32px}
@media(max-width:1050px){.intro-screen{gap:28px}.intro-copy h1{font-size:55px}.intro-lead{font-size:17px}.intro-demo-plan .room-svg{height:250px}}
@media(max-width:760px){.intro-screen{grid-template-columns:1fr;gap:25px;padding:24px 0 32px}.intro-copy h1{font-size:46px}.intro-lead{font-size:17px}.intro-task{font-size:16px}.intro-actions{gap:17px}.intro-demo-plan .room-svg{height:260px}.intro-demo-answer{min-height:0;padding:15px 16px 6px}.intro-demo-answer p{font-size:16px}.intro-example .button{margin:12px 16px 18px}.setup-title{font-size:39px}.timed-launch .launch-preview .room-svg{height:250px}.timed-launch{padding-top:26px}}
@media(max-width:420px){.intro-copy h1{font-size:41px}.intro-actions .button{width:100%}.intro-demo-plan .room-svg{height:240px}.intro-example .preview-heading .eyebrow{font-size:12px;letter-spacing:.5px}}
/* RoomJuggle: readable room feedback and controls stay beside the floor plan. */
.control-bar{left:auto;right:auto;transform:none;width:100%;max-width:none;box-sizing:border-box;position:relative;bottom:auto;display:flex;flex-wrap:wrap;z-index:2}
.move-pad{display:flex;gap:6px;margin-left:auto}.move-pad button{border:1px solid var(--ink);background:var(--white);min-width:44px;min-height:44px;font-size:22px;padding:6px}.move-pad button:disabled{opacity:.4}
.board-feedback{display:flex;align-items:flex-start;gap:14px;border-left:3px solid var(--teal);padding:10px 12px;background:#fffdf8;margin-top:14px}.board-feedback p{margin:0;flex:1;font-size:14px;line-height:1.6}.board-feedback button{flex-shrink:0;text-decoration:underline;max-width:110px}
.problem-label{font:700 16px Arial,sans-serif;fill:#a0321e;paint-order:stroke;stroke:#fffaf2;stroke-width:4;stroke-linejoin:round}
.furniture.conflict .object-shape>path,.furniture.conflict .object-shape>rect,.furniture.conflict .object-shape>circle{stroke:#b6331e;stroke-width:3}
.room-objectives{margin:18px 0;padding:14px 16px;background:#f5ecd9;border:1px solid var(--line)}.room-objectives h3{font-family:inherit;font-size:16px;margin:0 0 10px}.room-objectives ul{list-style:none;margin:0;padding:0}.room-objectives li{font-size:14px;line-height:1.65;margin:7px 0}.room-objectives li>span{font-weight:700;display:inline-block;width:18px}.room-objectives small{display:block;margin-left:21px;color:var(--muted);font-size:12px}.goal-clear>span{color:#315e45}.goal-open>span{color:#a0321e}
.lesson-bar{font-size:16px;line-height:1.6;background:#ffe66e;border:2px solid var(--ink);padding:14px 16px;margin-bottom:15px}.demo-try{display:inline-block;margin:0 18px 18px}.daily-strip{display:flex;align-items:center;justify-content:space-between;gap:24px;border-top:2px solid var(--ink);padding:22px 0}.daily-strip p{font-size:14px;line-height:1.6;margin:8px 0 0}.daily-strip .eyebrow{font-size:12px;margin:0 0 6px}.daily-strip strong{font-size:18px}.daily-strip .button{flex-shrink:0}
.daily-heading{padding:32px 0 20px}.daily-heading h1{font-size:58px;line-height:1;margin:0 0 18px}.daily-heading p{font-size:16px;line-height:1.6;max-width:760px}.daily-stage{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:45px;align-items:start;padding-bottom:45px}.daily-stage h2{font-size:38px}.daily-stage p,.daily-rules{font-size:16px;line-height:1.65}.daily-stage .button{margin:10px 12px 12px 0}.daily-note{color:var(--muted);font-size:14px!important}.daily-record{padding:12px 16px;background:#ffe66e;border-left:3px solid var(--ink)}
.result-share{border-top:2px solid var(--ink);padding:26px 0;margin-top:25px}.result-share>p{font-size:16px;line-height:1.6}.result-share textarea{box-sizing:border-box;width:100%;min-height:130px;border:1px solid var(--ink);padding:12px;background:var(--white);color:var(--ink);font:14px/1.6 'DM Sans',Arial,sans-serif}.play-feedback{margin-top:25px;padding:16px;border:1px solid var(--line)}.play-feedback summary{font-size:16px;min-height:44px;cursor:pointer}.play-feedback label{font-size:14px;display:block;margin:16px 0 8px}.play-feedback p{font-size:14px;line-height:1.6}.play-feedback button{margin-top:14px}
.room-svg{touch-action:none}.board-column{min-width:0}.session-bar{position:sticky;top:0;z-index:5}
@media(max-width:760px){nav{flex-wrap:wrap;gap:5px 20px;justify-content:flex-start;width:100%}.daily-strip{align-items:flex-start;flex-direction:column;gap:14px}.daily-strip .button{width:100%}.daily-stage{grid-template-columns:1fr;gap:28px}.daily-heading h1{font-size:46px}.daily-stage .launch-preview .room-svg{height:280px}.board-feedback{gap:8px}.board-feedback button{padding:5px 2px;font-size:14px}.control-bar{margin:0 0 20px;left:auto;transform:none;padding:12px}.move-pad{width:100%;margin:4px 0 0;justify-content:space-between}.move-pad button{flex:1}.board svg,body:has(.session-bar) .board svg{min-height:220px;max-height:42dvh}.session-bar{margin:12px 0 0}.session-clock{font-size:32px}.result-share .result-actions{gap:12px}.result-share .result-actions .button{width:100%}.intro-copy h1{overflow-wrap:break-word}.board-instruction{font-size:14px}.selected-info strong{font-size:14px}.inventory-list button{font-size:14px;min-height:44px}}
@media(prefers-reduced-motion:reduce){.session-clock.urgent{animation:none}}

/* Mobile play: scrollable previews, compact timer and controls next to the board. */
.room-svg{touch-action:auto}#room{touch-action:none}
.game-layout,.intro-copy,.daily-stage>div,.mode-card,.session-bar>div,.selected-info{min-width:0}
.game-layout{scroll-margin-top:100px}
@media(max-width:760px){
 select{font-size:16px!important}.result-share textarea{font-size:16px}
 header{padding:12px 16px;gap:10px}nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;width:100%}nav a{display:flex;align-items:center;justify-content:center;text-align:center;font-size:14px;line-height:1.35;padding:6px 2px;min-height:44px}
 #app.home-page{display:flex;flex-direction:column}.home-page .intro-screen{display:contents}.home-page .intro-copy{order:-3;padding:22px 0 20px}.home-page .timed-launch{order:-2}.home-page .intro-example{order:-1;margin:12px 0 28px}
 .intro-copy h1{font-size:38px;line-height:1.05;margin-bottom:14px}.intro-copy .eyebrow{margin-bottom:9px}.intro-lead{font-size:16px;line-height:1.55}.intro-task{font-size:16px;line-height:1.55;margin-bottom:14px}.intro-collection{margin-bottom:14px}.intro-time{padding:12px 14px;margin-bottom:16px}.intro-time h2{font-size:27px}.intro-browser{margin-top:10px}
 .timed-launch{gap:20px;padding:22px 0 28px}.setup-title{font-size:34px}.timed-launch .launch-intro{margin-bottom:10px}.timed-launch .launch-mode-intro{margin-bottom:12px}
 body:has(#app.playing) header{padding:10px 16px;border-bottom:1px solid var(--line)}body:has(#app.playing) header nav{display:none}body:has(#app.playing) .brand-mark{width:28px;height:28px;padding:4px;gap:3px}body:has(#app.playing) .brand-name{font-size:20px}
 .playing .game-heading{padding:12px 0}.playing .game-title-line{margin-top:6px;gap:8px;align-items:flex-start}.playing .game-title-line h1{font-size:28px;line-height:1.1;margin:0}.playing .game-title-line .eyebrow{display:none}.playing .brief{margin:7px 0 0;font-size:14px;line-height:1.5}.playing .back-link{display:inline-flex;align-items:center;min-height:32px}
 .playing .session-bar{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;margin-top:8px;padding:8px;top:0;box-shadow:0 2px 0 var(--ink)}
 .playing .session-bar>div:first-child{min-width:0}.playing .session-bar .eyebrow{font-size:12px;letter-spacing:0;margin:0 0 4px;line-height:1.3}.playing .session-bar strong{font-size:14px;line-height:1.4}.playing .session-clock{min-width:0;font-size:30px;padding:4px 7px;letter-spacing:0}.playing .session-bar .button{width:auto;padding:8px;font-size:14px;min-height:44px;box-shadow:none}.playing .session-bar .plain-button{padding:8px}.playing .session-goal{display:none}.playing .stage-dots{gap:4px;margin-top:4px}.playing .stage-dots span{width:18px;height:18px}
 .board-toolbar{padding-bottom:6px}.board-toolbar .plain-button{padding:6px;min-height:44px}.board-instruction{line-height:1.4}.board{padding:6px;box-shadow:2px 2px 0 #dfcfb7}.board svg,body:has(.session-bar) .board svg{min-height:170px;max-height:40dvh}
 .control-bar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:10px;margin:10px 0 0;box-shadow:none}.selected-info{grid-column:1/-1;margin:0}.selected-info strong{font-size:14px;line-height:1.4;overflow-wrap:anywhere}.selected-info span{font-size:12px;line-height:1.5}.control-bar .button,.control-bar .plain-button{padding:8px 4px;min-height:44px;min-width:0;width:100%;box-shadow:none}.move-pad{grid-column:1/-1;margin:0;gap:8px}.move-pad button{min-width:44px;min-height:44px}
 .board-feedback{margin-top:10px;padding:8px 10px;flex-wrap:wrap;gap:5px}.board-feedback p{flex-basis:190px;font-size:14px;line-height:1.5}.board-feedback button{min-height:44px;max-width:none;padding:6px}.board-caption{flex-wrap:wrap;gap:8px;margin:8px 0 14px}.board-caption label{display:inline-flex;align-items:center;min-height:44px;font-size:14px}.board-caption input{width:20px;height:20px;flex-shrink:0}
 .lesson-bar{padding:10px 12px;margin-bottom:10px;font-size:15px;line-height:1.5}.checks-panel{padding:16px}.check-detail{font-size:14px}.check-value{font-size:14px}.room-check{min-width:0}.check-content{min-width:0}.check-content strong,.check-detail{overflow-wrap:anywhere}
 .filters{flex-wrap:wrap;gap:8px}.filter{min-height:44px;font-size:14px}.library-options label{gap:8px;flex-wrap:wrap}.library-options select{max-width:100%;font-size:16px!important}.collection-progress{flex-wrap:wrap}.result-stats>div{min-width:0}.result-stats strong,.timed-result .result-stats strong{font-size:38px}.result-stats small{display:inline-block;white-space:nowrap}.result-actions{flex-wrap:wrap}.result-actions>*{max-width:100%}.play-feedback{padding:12px}
 dialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow-y:auto;box-sizing:border-box;padding:20px}dialog h2{font-size:30px;overflow-wrap:anywhere}.dialog-actions .button{flex-basis:130px}
 footer{display:flex;flex-wrap:wrap;gap:12px;font-size:14px}footer>span{max-width:100%;overflow-wrap:anywhere}
}
@media(max-width:360px){#app{padding:0 12px}.intro-copy h1{font-size:35px}.playing .session-bar{gap:5px;padding:6px}.playing .session-clock{font-size:27px;padding:4px}.playing .session-bar .button{font-size:14px;padding:7px 5px}.result-stats{padding:14px;gap:18px 12px}.result-stats strong,.timed-result .result-stats strong{font-size:33px}}
@media(max-width:760px) and (max-height:500px) and (orientation:landscape){.board svg,body:has(.session-bar) .board svg{min-height:190px;max-height:none}.game-layout{scroll-margin-top:100px}}

@media(max-width:760px){nav a{overflow-wrap:anywhere}.intro-actions{margin:16px 0}.playing .session-bar>div:first-child{display:block}.playing .session-bar strong{white-space:normal;overflow-wrap:anywhere}.selected-info strong{white-space:normal;overflow:visible;text-overflow:clip}}

/* The authored room collection highlights a spatial catch, not just a room category. */
.signature-intro{font-size:16px;line-height:1.6;max-width:620px;margin:10px 0 0;color:var(--muted)}
.signature-label{display:block;font-size:14px;line-height:1.5;font-weight:700;color:#a0321e;margin:10px 0 7px}
.timed-picks .timed-room-pick{min-width:0}.timed-picks .pick-brief{font-size:16px;line-height:1.6}.timed-picks .card-copy>strong{overflow-wrap:anywhere}
.preview-copy .preview-catch{font-size:14px;line-height:1.6;border-left:3px solid #b6331e;padding-left:10px;margin:12px 0}
.game-catch{font-size:15px;line-height:1.55;margin:12px 0 0;max-width:800px;border-left:3px solid #b6331e;padding:6px 12px;background:#f5ecd9}
@media(max-width:760px){.game-catch{font-size:14px;line-height:1.5;margin-top:8px;padding:6px 9px}.signature-intro{font-size:16px}.timed-picks .card-copy>strong{font-size:30px;line-height:1.1}.signature-label{font-size:14px}.timed-picks .timed-room-grid{grid-template-columns:1fr}.timed-picks .timed-room-pick{grid-template-columns:110px minmax(0,1fr);gap:16px}.timed-picks .timed-room-pick .card-plan{height:175px;padding:4px}.timed-picks .timed-room-pick .card-copy{padding:0}.timed-picks .pick-brief{font-size:14px;line-height:1.55}.timed-picks .card-meta{flex-wrap:wrap;gap:6px}}
@media(max-width:360px){.timed-picks .timed-room-pick{grid-template-columns:1fr;gap:12px}.timed-picks .timed-room-pick .card-plan{height:190px}}
/* A game-native first screen: the task, selected room and Start in one place. */
.home-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:center;padding:30px 0 38px;scroll-margin-top:12px}
.home-copy{min-width:0}.home-description>.eyebrow{font-size:12px;margin:0 0 12px;letter-spacing:1.2px}.home-description h1{font-family:var(--serif);font-size:clamp(48px,5.2vw,68px);font-weight:800;line-height:1.02;letter-spacing:-.5px;margin:0 0 16px}.home-description h1 em{color:#b6331e;font-style:normal}.home-description .intro-lead{font-size:17px;line-height:1.55;margin:0 0 14px;max-width:540px}
.home-rules{list-style:none;padding:0;margin:0 0 20px;display:grid;gap:7px}.home-rules li{font-size:16px;line-height:1.5}.home-rules li>span{display:inline-block;font-family:monospace;font-weight:700;font-size:13px;color:#a0321e;width:28px}
.home-launch{border-top:2px solid var(--ink);padding-top:16px}.home-launch>.eyebrow{font-size:12px;letter-spacing:.7px;margin:0 0 10px}.home-ready{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px;line-height:1.5;margin:0 0 10px}.home-ready>span{min-width:0}.home-ready strong{background:#ffe66e;border:1px solid var(--ink);padding:4px 9px;white-space:nowrap}
.home-options{border:1px solid var(--line);padding:0 12px;background:var(--white);border-radius:3px}.home-options>summary{font-size:14px;line-height:1.5;min-height:44px;cursor:pointer;padding:11px 0}.home-options .timed-fields{padding:6px 0 14px;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:12px}.home-options .time-tickets{gap:7px}.home-options .time-ticket{padding:8px 3px}.home-options .time-ticket strong{font-size:28px}.home-options .time-ticket small{font-size:12px}.home-options .mode-label{font-size:14px;letter-spacing:0}
.home-launch .timed-start{margin-top:12px;font-size:17px;min-height:54px}.home-secondary{display:flex;flex-wrap:wrap;gap:10px 20px;margin-top:12px}.home-secondary a{display:inline-flex;align-items:center;min-height:44px;font-size:14px;line-height:1.5}.home-launch .timed-deadline-note{font-size:14px;line-height:1.5;margin-top:6px}.home-resume{margin-top:14px;width:100%}
.home-preview{transform:none}.home-preview .room-svg{height:350px}.home-preview .preview-heading{padding:12px 16px;min-height:48px}.home-preview .preview-copy{padding:14px 16px}.home-preview .preview-copy h2{font-size:32px;margin-bottom:6px}.home-preview .preview-brief>summary{font-size:14px;line-height:1.5;min-height:44px;cursor:pointer;padding:10px 0}.home-preview .preview-brief p{font-size:16px;line-height:1.6;margin:8px 0}.home-preview .preview-instruction{font-size:14px}
.home-how{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:48px;border-top:2px solid var(--ink);padding:32px 0 38px}.home-how-copy{min-width:0}.home-how-copy h2{font-size:40px;margin:0 0 16px}.home-how-copy p:not(.eyebrow){font-size:16px;line-height:1.65}.home-how .intro-example{margin:0;order:0}.home-how .intro-demo-plan .room-svg{height:225px}.home-how .intro-demo-answer{min-height:0}
@media(max-width:1050px){.home-hero,.home-how{gap:28px}.home-description h1{font-size:54px}.home-preview .room-svg{height:310px}.home-options .timed-fields{grid-template-columns:1fr}}
@media(max-width:760px){.home-hero{grid-template-columns:1fr;gap:24px;padding:20px 0 28px}.home-description h1{font-size:40px;line-height:1.04;margin-bottom:12px}.home-description .intro-lead{font-size:16px;line-height:1.5;margin-bottom:12px}.home-description>.eyebrow{font-size:12px;letter-spacing:.6px;margin-bottom:9px}.home-rules{gap:5px;margin-bottom:16px}.home-rules li{font-size:15px;line-height:1.45}.home-launch{padding-top:12px}.home-launch>.eyebrow{font-size:12px;margin-bottom:8px}.home-ready{font-size:14px;gap:8px}.home-launch .timed-start{font-size:16px;min-height:52px;margin-top:10px}.home-secondary{margin-top:8px;gap:4px 16px}.home-launch .timed-deadline-note{font-size:14px;line-height:1.5}.home-preview .room-svg{height:255px}.home-preview .preview-copy h2{font-size:29px}.home-preview .preview-copy{padding:12px 14px}.home-preview .preview-plan{padding:6px}.home-options .timed-fields{grid-template-columns:1fr;gap:12px}.home-options select{font-size:16px!important}.home-how{grid-template-columns:1fr;gap:20px;padding:25px 0 28px}.home-how-copy h2{font-size:34px}.home-how .intro-example{margin:0;order:0}.home-how .intro-demo-plan .room-svg{height:220px}}
@media(max-width:360px){.home-description h1{font-size:36px}.home-ready{flex-wrap:wrap}.home-ready strong{padding:3px 7px}.home-preview .room-svg{height:220px}.home-secondary{gap:2px 12px}}

/* A welcoming puzzle invitation, with the real room as its visual centre. */
.home-hero{gap:clamp(28px,4vw,64px);padding:48px 0 56px;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)}
.home-description>.eyebrow{color:#7b4d37;letter-spacing:1.4px;margin-bottom:18px}
.home-description h1{font-size:clamp(64px,7.2vw,96px);line-height:.93;letter-spacing:-1.8px;margin-bottom:24px}
.home-description h1 em{color:#c43c22}.home-description .intro-lead{max-width:460px;font-size:18px;line-height:1.65;margin-bottom:15px}.home-description .intro-lead strong{font-weight:500}
.home-playline{font-size:19px;font-weight:700;margin:0 0 8px}.home-goal{max-width:440px;font-size:15px;line-height:1.65;color:var(--muted);margin:0 0 24px}.home-goal strong{color:var(--ink)}
.home-launch{border:0;padding:0;max-width:460px}.home-launch>.eyebrow{font-size:11px;letter-spacing:1px;color:#7b4d37}
.home-ready{margin:0;gap:10px;font-size:14px}.home-ready strong{border:0;border-radius:20px;padding:7px 12px;background:#f7e3bb}
.home-launch .timed-start{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:62px;padding:16px 22px;font-size:19px;background:#ef4c2c;color:#fffdf8;border-color:#a82c17;border-radius:12px;box-shadow:0 5px 0 #a82c17;margin:12px 0 20px}
.home-launch .timed-start::after{content:'↗';font-size:25px}.home-launch .timed-start:hover{background:#d73a1c}.home-launch .timed-start:active{box-shadow:0 2px 0 #a82c17;transform:translateY(3px)}
.home-options{border:0;border-bottom:1px solid var(--line);background:transparent;padding:0;border-radius:0}.home-options>summary{font-size:14px;padding:10px 0;color:var(--muted)}.home-options[open]{padding-bottom:8px}.home-secondary{gap:8px 18px;margin-top:6px}.home-secondary a{font-size:13px}.home-launch .timed-deadline-note{font-size:12px;color:var(--muted);margin:4px 0 0;line-height:1.6}
.home-preview{position:relative;background:#ffe48b;border:0;border-radius:28px;box-shadow:none;overflow:hidden;padding:16px;transform:rotate(1.5deg)}
.home-preview .preview-heading{border:0;background:none;padding:4px 8px 12px;gap:12px}.home-preview .preview-heading .eyebrow{font-size:11px;letter-spacing:1px}.home-preview .preview-plan{position:relative;border:0;border-radius:18px;background:#fffcf4;padding:22px 12px 4px;box-shadow:0 6px 0 #c19a4740}
.home-preview .room-svg{height:350px}.home-preview .preview-ticket{position:absolute;right:12px;top:12px;background:#f04b29;color:white;border-radius:50%;width:92px;height:92px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:12px;line-height:1.4;text-align:center;transform:rotate(9deg);z-index:1;pointer-events:none}.preview-ticket strong{font-size:15px}
.home-preview .preview-conflict .selection-outline{stroke:#b6331e;stroke-width:1.5;stroke-dasharray:5 4}.home-preview .preview-instruction{margin:14px 8px 0;padding:0;background:none;border:0;font-size:13px;line-height:1.6;color:#664a25}.home-preview .preview-instruction strong{color:#342517}
.home-preview .preview-copy{padding:14px 8px 0;background:none;border:0}.home-preview .preview-copy h2{font-size:32px;line-height:1.1;margin:0}.home-preview .preview-brief>summary{font-size:13px;color:#664a25}.home-preview .preview-brief p{font-size:15px}.home-preview .badge{background:#fff9e7}
.home-how{padding-top:40px}.home-how h2{font-size:40px}
@media(max-width:1050px){.home-hero{gap:28px}.home-description h1{font-size:72px}.home-preview .room-svg{height:310px}.home-preview .preview-ticket{width:78px;height:78px;font-size:11px}.preview-ticket strong{font-size:13px}}
@media(max-width:760px){.home-hero{grid-template-columns:1fr;gap:28px;padding:28px 0 36px}.home-description>.eyebrow{font-size:10px;letter-spacing:1px;margin-bottom:14px}.home-description h1{font-size:clamp(60px,12vw,80px);margin-bottom:18px;letter-spacing:-1px}.home-description .intro-lead{font-size:16px;line-height:1.6;max-width:500px}.home-playline{font-size:17px}.home-goal{font-size:14px;margin-bottom:20px}.home-launch{max-width:none}.home-ready{font-size:13px}.home-launch .timed-start{font-size:18px;min-height:58px;padding:14px 18px}.home-preview{transform:none;padding:12px;border-radius:22px}.home-preview .room-svg{height:280px}.home-preview .preview-heading .eyebrow{font-size:10px}.home-preview .preview-plan{padding:22px 6px 0}.home-preview .preview-copy h2{font-size:30px}.home-how{padding-top:28px}.home-how h2{font-size:34px}}
@media(max-width:360px){.home-description h1{font-size:58px}.home-ready{font-size:12px;gap:6px}.home-ready strong{padding:5px 9px}.home-preview .room-svg{height:240px}.home-preview .preview-ticket{width:68px;height:68px;right:6px;top:6px;font-size:10px}.preview-ticket strong{font-size:12px}}
/* Keep the invitation badge above the plan, never over furniture or doors. */
.home-preview .preview-plan{padding-top:58px}.home-preview .preview-ticket{top:12px;right:16px;width:auto;height:auto;border-radius:20px;padding:8px 14px;display:block;transform:rotate(3deg);font-size:12px}.home-preview .preview-ticket br{display:none}.home-preview .preview-ticket strong{font-size:12px;margin-left:4px}
@media(max-width:760px){.home-preview .preview-plan{padding-top:54px}.home-preview .preview-ticket{top:10px;right:12px;font-size:11px}.home-preview .preview-ticket strong{font-size:11px}}
@media(prefers-reduced-motion:reduce){.home-preview,.home-preview .preview-ticket{transform:none}.home-launch .timed-start:active{transform:none}}

/* A compact release label stays visible while playing and on small screens. */
.beta-badge{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;padding:4px 8px;border:1px solid #a0321e;border-radius:20px;background:#ffe6d8;color:#8d2918;font-family:'DM Sans',sans-serif;font-size:10px;font-weight:700;line-height:1.2;letter-spacing:.6px;text-transform:uppercase}
footer .beta-note{flex-basis:100%;font-size:12px;line-height:1.5;color:var(--muted)}
@media(max-width:360px){.beta-badge{padding:4px 6px;font-size:9px}}
.special-choices{padding:36px 0;scroll-margin-top:20px}.special-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-bottom:24px}.special-grid .mode-card{min-width:0;padding:22px;background:#fff8e6}.special-grid .mode-card h2{font-size:34px}.special-grid .mode-card p{font-size:15px;line-height:1.6}.special-room{color:var(--muted);font-size:13px!important}.special-rule-note{padding:12px 16px;background:#ffe9b6;border:1px solid #bda174;font-size:14px;line-height:1.55;margin:8px 0 0}.special-bar #special-edits{display:block;font-size:13px;font-weight:700;margin-top:4px}.no-turn-mode .rotate-handle,.no-turn-mode .rotate-glyph{display:none!important}
@media(max-width:1050px){.special-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.special-grid{grid-template-columns:1fr;gap:18px}.special-rule-note{font-size:13px;padding:10px 12px}.special-bar #special-edits{font-size:12px}.special-choices{padding:26px 0}}
.budget-locked .furniture.interactive{cursor:default}

/* Game selection is the home surface: illustrated twists before the classic setup. */
.challenge-welcome{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:40px;align-items:end;padding:32px 0 12px}
.challenge-welcome .eyebrow{font-size:14px;color:var(--muted);letter-spacing:1px;margin:0 0 10px}.challenge-welcome h1{font-size:clamp(42px,5vw,68px);line-height:1;letter-spacing:-.6px;margin:0 0 14px}.challenge-welcome h1 br{display:none}.challenge-welcome h1 em{color:#bd381e;margin-left:.15em}.challenge-welcome .intro-lead{max-width:650px;font-size:16px;line-height:1.6;margin:0}.welcome-instructions{display:flex;flex-direction:column;gap:8px;font-size:16px;padding:0 0 4px}.welcome-instructions span{font-weight:600}.welcome-instructions .text-link{font-size:14px;margin-top:4px}
.illustrated-specials{padding:22px 0 28px}.illustrated-specials .section-heading{align-items:end;margin-bottom:20px;gap:20px}.illustrated-specials .section-heading .eyebrow{font-size:14px;margin-bottom:5px}.illustrated-specials .section-heading h2{font-size:36px;margin:0 0 8px}.illustrated-specials .section-heading p{font-size:16px;line-height:1.5;max-width:650px}.special-timer-note{font-size:14px;color:var(--muted);white-space:nowrap}.illustrated-specials .special-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:20px;margin:0 0 18px}.illustrated-specials .special-card{grid-column:span 2;display:flex;flex-direction:column;padding:0;background:#fffdf8;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 6px 20px #1125430b}.illustrated-specials .special-card:nth-child(n+4){grid-column:span 3;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1fr)}
.special-art{position:relative;min-width:0;background:#ffe48b;aspect-ratio:3/2;overflow:hidden}.special-art img{display:block;width:100%;height:100%;object-fit:cover}.special-rule-badge{position:absolute;left:14px;top:14px;font-size:14px;font-weight:800;line-height:1.2;background:#ffdc6e;color:var(--ink);padding:8px 11px;border-radius:8px;box-shadow:0 2px 10px #0002}.special-plan-preview{height:100%;display:flex;align-items:center;justify-content:center;padding:25px 12px 12px;background:#f6eddd}.special-plan-preview .room-svg{width:100%;height:100%;max-height:290px;pointer-events:none}.special-card-body{padding:20px;display:flex;flex:1;flex-direction:column;min-width:0}.illustrated-specials .mode-number{font-size:14px;letter-spacing:.5px;color:var(--muted);margin:0 0 8px}.special-card-body h3{font-size:32px;line-height:1.08;margin:0 0 10px;color:var(--ink)}.illustrated-specials .special-card p{font-size:16px;line-height:1.55;margin:0 0 18px;color:var(--muted)}.special-card-body .button{width:100%;margin-top:auto;border-radius:10px;font-size:16px;border-color:var(--ink);background:var(--ink);color:#fffdf8;box-shadow:0 3px 0 #6e301f}.special-card-body .button.primary{background:#ffd265;color:var(--ink)}.special-card-body .button:hover:not(:disabled){background:#c43c22;color:#fff}.special-card-body .button.primary:hover:not(:disabled){background:#ffe397;color:var(--ink)}.special-card-body small{display:block;font-size:14px;line-height:1.5;margin-top:12px;color:var(--muted)}
.daily-exclusive{display:grid;grid-template-columns:180px minmax(0,1fr) 225px;align-items:center;gap:26px;padding:22px;border:1px solid var(--line);background:#f6eddd;border-radius:18px;margin:8px 0 28px}.daily-exclusive .eyebrow{font-size:14px;color:var(--muted);margin-bottom:8px}.daily-home-plan{min-width:0}.daily-home-plan .room-svg{height:165px;width:100%;pointer-events:none}.daily-home-copy h2{font-size:34px;line-height:1.1;margin:0 0 8px;color:var(--ink)}.daily-home-copy p{font-size:16px;line-height:1.5;margin:0 0 8px}.daily-home-copy .daily-home-record{font-size:14px;color:var(--muted);margin:0}.daily-home-actions{display:flex;flex-direction:column;gap:12px;align-items:center}.daily-home-actions .button{width:100%;border-radius:10px;background:var(--ink);color:#fffdf8;border-color:var(--ink);box-shadow:0 3px 0 #6e301f;font-size:16px}.daily-home-actions span{font-size:14px;color:var(--muted);text-align:center}.classic-challenge{padding-top:25px;border-top:1px solid var(--line)}.classic-challenge .home-description h2{font-size:48px;line-height:1;margin:0 0 18px}.classic-challenge .home-description h2 em{color:#c43c22}.home-launch .timed-start::after{content:none}
@media(max-width:1050px){.challenge-welcome{grid-template-columns:1fr;gap:14px}.welcome-instructions{flex-direction:row;flex-wrap:wrap;gap:10px 20px}.welcome-instructions .text-link{margin:0}.illustrated-specials .special-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.illustrated-specials .special-card,.illustrated-specials .special-card:nth-child(n+4){grid-column:auto;display:flex}.illustrated-specials .special-card:last-child{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}.daily-exclusive{grid-template-columns:150px minmax(0,1fr);gap:18px}.daily-home-actions{grid-column:1/-1;flex-direction:row;flex-wrap:wrap;justify-content:center}.daily-home-actions .button{width:auto}}
@media(max-width:760px){.challenge-welcome{padding:22px 0 4px;gap:10px}.challenge-welcome .eyebrow{font-size:14px;letter-spacing:.5px}.challenge-welcome h1{font-size:42px;line-height:1.05;margin-bottom:10px}.challenge-welcome h1 br{display:block}.challenge-welcome h1 em{margin:0}.challenge-welcome .intro-lead{line-height:1.5}.welcome-instructions span{display:none}.welcome-instructions .text-link{font-size:14px}.illustrated-specials{padding:16px 0 20px}.illustrated-specials .section-heading{display:block;margin-bottom:14px}.illustrated-specials .section-heading h2{font-size:30px;margin:0 0 6px}.illustrated-specials .section-heading .eyebrow{display:none}.illustrated-specials .section-heading p{margin-bottom:6px}.special-timer-note{display:block;white-space:normal}.illustrated-specials .special-grid{grid-template-columns:1fr;gap:16px}.illustrated-specials .special-card,.illustrated-specials .special-card:nth-child(n+4),.illustrated-specials .special-card:last-child{display:flex;grid-column:auto}.special-art{aspect-ratio:2/1}.special-card-body{padding:16px}.special-card-body h3{font-size:30px}.illustrated-specials .special-card p{margin-bottom:14px}.special-plan-preview .room-svg{max-height:200px}.daily-exclusive{grid-template-columns:95px minmax(0,1fr);padding:16px;gap:14px}.daily-home-plan .room-svg{height:130px}.daily-home-copy h2{font-size:28px}.daily-exclusive .eyebrow{font-size:14px}.daily-home-actions{flex-direction:column;align-items:stretch}.daily-home-actions .button{width:100%}.daily-home-actions .text-link{text-align:center}.classic-challenge .home-description h2{font-size:38px}}
@media(prefers-reduced-motion:reduce){.special-card-body .button{transition:none}}

/* Functional game-board previews use the exact renderer and furniture palette from play. */
.special-art{background:#ffe48b;aspect-ratio:3/2;padding:48px 12px 12px}.special-game-preview{height:100%;width:100%;min-width:0;display:grid;grid-template-columns:minmax(0,1fr);gap:8px}.special-room-preview{margin:0;min-width:0;min-height:0;display:flex;flex-direction:column;background:#fffcf4;border:1px solid #d7bc80;border-radius:10px;padding:6px}.special-room-preview>div{flex:1;min-height:0;display:flex;align-items:center;justify-content:center}.special-room-preview .room-svg{width:100%;height:100%;max-height:220px;pointer-events:none}.special-room-preview figcaption{flex:none;text-align:center;font-size:14px;line-height:1.3;color:var(--muted);padding:4px 2px 0}.special-rule-badge{background:#f04b29;color:#fffdf8;box-shadow:none}.special-game-preview.relay-preview{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);grid-template-rows:1fr 1fr}.relay-preview .special-room-preview:first-child{grid-row:1/3}.relay-preview .special-room-preview .room-svg{max-height:90px}.relay-preview .special-room-preview:first-child .room-svg{max-height:200px}.relay-preview figcaption{font-size:14px}.special-card-body .button.primary{background:#f04b29;color:#fffdf8;border-color:#a82c17;box-shadow:0 3px 0 #a82c17}.special-card-body .button.secondary{background:var(--white);color:var(--ink);border-color:var(--ink);box-shadow:0 3px 0 var(--ink)}.special-card-body .button.primary:hover:not(:disabled){background:#d73a1c;color:#fffdf8}.special-card-body .button.secondary:hover:not(:disabled){background:#ffe66e;color:var(--ink)}
@media(max-width:760px){.special-art{aspect-ratio:3/2;padding:48px 10px 10px}.special-room-preview .room-svg{max-height:190px}.relay-preview .special-room-preview .room-svg{max-height:90px}.relay-preview .special-room-preview:first-child .room-svg{max-height:190px}}

/* Each mode carries its own reusable game stamp, from selection to result. */
.mode-stamp{--stamp-ink:#b73720;--stamp-paper:#fff8e9;width:88px;height:88px;display:flex;flex:none;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:2px dashed var(--stamp-ink);border-radius:50%;background:var(--stamp-paper);color:var(--stamp-ink);position:relative;transform:rotate(-8deg);box-shadow:0 2px 0 #24201d14;pointer-events:none;line-height:1;text-align:center}.mode-stamp::before{content:'';position:absolute;inset:4px;border:1px solid currentColor;border-radius:inherit;opacity:.55}.stamp-top,.stamp-bottom{position:relative;font-size:12px;line-height:1.1;font-weight:800;letter-spacing:.3px}.mode-stamp svg{position:relative;display:block;width:36px;height:36px;overflow:visible}.stamp-bottom{font-size:14px;letter-spacing:0}.stamp-relay{--stamp-ink:#355b56;transform:rotate(7deg)}.stamp-precision{--stamp-ink:#81591b;--stamp-paper:#fff0bc;transform:rotate(-5deg)}.stamp-no_rotate{--stamp-ink:#4c6580;transform:rotate(6deg)}.stamp-ten_moves{--stamp-ink:#684c39;transform:rotate(-7deg)}
.special-art{padding-top:104px;aspect-ratio:4/3}.special-art>.mode-stamp{position:absolute;top:10px;left:12px;z-index:1}.special-art>.special-rule-badge{left:112px;right:12px;top:38px;font-size:14px;line-height:1.3;border-radius:6px;padding:7px 9px;text-align:center;background:#fff8e9;color:var(--ink);border:1px solid #d7bc80}
.compact-stamp{float:left;width:42px;height:42px;margin-right:10px;gap:0;box-shadow:none}.compact-stamp::before{inset:3px}.compact-stamp svg{width:27px;height:27px}.compact-stamp .stamp-top,.compact-stamp .stamp-bottom{display:none}.result-mode-stamp{margin:24px 0 20px}.result-mode-stamp .mode-stamp{width:100px;height:100px}.result-mode-stamp .mode-stamp svg{width:40px;height:40px}.result-mode-stamp .stamp-top{font-size:13px}.result-mode-stamp .stamp-bottom{font-size:16px}
@media(max-width:760px){.special-art{padding-top:104px;aspect-ratio:4/3}.compact-stamp{width:30px;height:30px;margin:1px 7px 2px 0}.compact-stamp svg{width:21px;height:21px}.compact-stamp::before{inset:2px}.special-art>.special-rule-badge{left:110px;right:10px}.result-mode-stamp{margin:20px 0 18px}}

/* Stable card geometry: a real header row, bounded previews, and one card orientation. */
.illustrated-specials .special-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}.illustrated-specials .special-card,.illustrated-specials .special-card:nth-child(n+4),.illustrated-specials .special-card:last-child{grid-column:auto;display:flex;flex-direction:column;grid-template-columns:none;min-width:0}
.special-card .special-art{display:grid;grid-template-rows:auto minmax(0,1fr);gap:12px;aspect-ratio:auto;height:auto;padding:12px;overflow:visible}.special-preview-heading{display:grid;grid-template-columns:88px minmax(0,1fr);gap:14px;align-items:center;min-width:0;min-height:94px;padding:3px 4px}.special-preview-heading .mode-stamp{position:relative;top:auto;left:auto;z-index:auto;margin:0}.special-preview-heading .special-rule-badge{position:static;inset:auto;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;font-size:14px;line-height:1.4;padding:8px;text-align:center;background:#fff8e9;color:var(--ink);border:1px solid #d7bc80;border-radius:6px;box-shadow:none}
.special-card .special-game-preview{height:210px;min-height:0;min-width:0}.special-room-preview{display:grid;grid-template-rows:minmax(0,1fr) auto;min-width:0;min-height:0;overflow:hidden}.special-room-preview>div{min-width:0;min-height:0;width:100%;height:100%;overflow:hidden}.special-room-preview .room-svg{display:block;width:100%;height:100%;min-height:0;max-height:none;margin:0;object-fit:contain}.special-room-preview figcaption{min-width:0;overflow-wrap:anywhere;line-height:1.35}.relay-preview .special-room-preview .room-svg,.relay-preview .special-room-preview:first-child .room-svg{min-height:0;max-height:none}.special-card-body{flex:1;min-width:0}.special-card-body h3{min-height:2.2em;overflow-wrap:anywhere}.special-card-body .button{flex:none;min-width:0;line-height:1.4;margin-top:auto}.special-card-body small{margin:0 0 16px;line-height:1.5}.special-card .mode-number{line-height:1.5;white-space:normal;overflow-wrap:anywhere}
.special-bar>div:first-child{display:grid;grid-template-columns:42px minmax(0,1fr);gap:2px 10px;align-items:center}.special-bar .compact-stamp{grid-column:1;grid-row:1/4;float:none;margin:0}.special-bar>div:first-child>.eyebrow,.special-bar>div:first-child>strong,.special-bar #special-edits{grid-column:2;min-width:0;overflow-wrap:anywhere;white-space:normal}
@media(max-width:1050px){.illustrated-specials .special-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.illustrated-specials .special-card:last-child{grid-column:auto;display:flex}.illustrated-specials .section-heading{flex-wrap:wrap}.special-timer-note{white-space:normal}}
@media(max-width:760px){.illustrated-specials .special-grid{grid-template-columns:minmax(0,1fr)}.special-card .special-art{padding:12px;aspect-ratio:auto}.special-card .special-game-preview{height:200px}.special-card-body h3{min-height:0}.playing .special-bar>div:first-child{display:grid;grid-template-columns:30px minmax(0,1fr);gap:2px 7px}.special-bar .compact-stamp{margin:0}.special-preview-heading{gap:12px}.challenge-welcome>div,.daily-home-copy,.daily-home-actions{min-width:0}.challenge-welcome h1,.daily-home-copy h2{overflow-wrap:anywhere}}

/* Small special-mode bars give the name a full row instead of squeezing it beside the clock. */
@media(max-width:760px){.playing .special-bar{grid-template-columns:minmax(0,1fr) auto}.playing .special-bar>div:first-child{grid-column:1/-1}.playing .special-bar>.session-clock{grid-column:1;justify-self:start}.playing .special-bar>.button{grid-column:2;justify-self:end}.relay-preview figcaption{white-space:normal}}

/* The language choice stays beside navigation and wraps on narrow screens. */
header{flex-wrap:wrap}.language-switch{display:flex;gap:3px;align-items:center;padding:3px;border:1px solid var(--line);border-radius:999px;flex-shrink:0}.language-switch button{font:inherit;font-size:14px;font-weight:700;min-width:40px;min-height:36px;padding:5px 9px;border:0;background:transparent;color:var(--ink);border-radius:999px;cursor:pointer}.language-switch button[aria-pressed="true"]{background:var(--ink);color:#fffdf8}.language-switch button:focus-visible{outline:3px solid #f04b29;outline-offset:3px}@media(max-width:760px){header .language-switch{margin-left:auto}header nav{order:3;width:100%}.special-card-body h3{overflow-wrap:anywhere}.playing .session-bar strong{overflow-wrap:anywhere}}

.legal-content{max-width:760px;margin:40px auto 64px;font-size:1rem;line-height:1.7;overflow-wrap:anywhere}.legal-content h1{font-size:clamp(2.5rem,8vw,4rem);line-height:1.1;margin:24px 0 32px}.legal-content h2{font-size:1.4rem;line-height:1.3;margin:32px 0 12px}.legal-content p{margin:12px 0}.legal-content address{font-style:normal;line-height:1.7}.legal-content a{text-decoration:underline;text-underline-offset:3px}.legal-date{color:var(--muted);font-size:.875rem}.legal-links{width:100%;display:flex;flex-wrap:wrap;gap:20px}.legal-links a{min-height:44px;display:inline-flex;align-items:center;font-size:14px}@media(max-width:760px){.legal-content{margin:28px auto 40px}}

/* Keep room previews inside equal frames at every room aspect ratio. */
.timed-picks .timed-room-pick{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;min-width:0;height:100%}
.timed-picks .timed-room-pick .card-plan{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:225px;flex:0 0 225px;min-width:0;overflow:hidden}
.timed-picks .card-plan .room-svg{display:block;width:100%;height:100%;min-height:0;max-height:none;margin:0;overflow:hidden}
.timed-picks .timed-room-pick .card-copy{display:flex;flex-direction:column;flex:1;padding-top:20px;min-width:0}
.timed-picks .pick-action{margin-top:auto;padding-top:8px}
.practice-room-preview{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:210px;padding:16px;background:#f0e5d2;border:2px solid var(--ink);border-radius:2px;box-shadow:4px 4px 0 #dfcfb7;overflow:hidden}
.practice-room-preview .room-svg{display:block;width:100%;height:100%;min-height:0;max-height:none;margin:0;overflow:hidden}
@media(max-width:760px){.timed-picks .timed-room-pick .card-plan{height:220px;flex-basis:220px;padding:12px}.practice-room-preview{height:240px}}
