/* MindRiddles: approved quiet table materials and type. */
:root{--paper:#f7f6f0;--cream:#f7f6f0;--white:#fdfcf7;--ink:#28392f;--green:#405745;--dark:#28392f;--muted:#4d5e50;--coral:#7b4439;--teal:#405745;--line:#cad2c2;--sage:#e2e7da;--yellow:#e2e7da;font-family:"Helvetica Neue",Arial,sans-serif;background:#f7f6f0;color:#28392f;font-size:16px}
body{background:#f7f6f0;color:#28392f}::selection{background:#cad5ba;color:#28392f}*{scrollbar-color:#899a82 #f7f6f0}h1,h2,h3,.brand{font-family:Georgia,serif;font-weight:400;letter-spacing:-.035em}h1{font-size:clamp(40px,4.9vw,60px);line-height:1.08;white-space:normal!important}h2{font-size:clamp(28px,3vw,40px);line-height:1.12}h3{font-size:24px}p{line-height:1.6}h1 em{font-style:normal;color:inherit!important}
.shell,.site-wrap{max-width:1320px;margin:auto;padding:0 40px}.topbar,.site-header{height:auto;min-height:100px;border:0;gap:24px;padding:0;max-width:1240px}.brand{font-size:32px!important;letter-spacing:-.035em!important;text-decoration:none;color:var(--ink);white-space:nowrap;padding:0;min-height:44px;background:none!important}.portal-back{margin-left:auto;display:flex;align-items:center;font:14px "Helvetica Neue",Arial,sans-serif;min-height:44px;text-underline-offset:5px;white-space:nowrap}.topbar nav,.site-header nav{display:flex;align-items:center;gap:5px}.text-button,.header-btn{font-size:14px!important;font-weight:400;padding:10px 12px}.eyebrow,.step-label,.step,.brand-mark,.mode-icon,.option-icon,.opponent-icon,.card-arrow,.sidebar-bottom,.hero-badges,.nav-divider{display:none!important}
button,input,select,.panel,.choose-panel,.setup-card,.waiting-card,.choice,.opponent-card,.mode-card,.board-panel,.sidecard,.player-card,.racer,.connection,.result,.segments,dialog,.tutorial-dialog{border-radius:3px!important;box-shadow:none!important}button,input,select{font-family:"Helvetica Neue",Arial,sans-serif;min-height:44px}button{font-weight:400}button.primary,.btn,.btn.coral,.primary,.opponent-card:first-of-type,.mode-card.primary,.mode-card:first-child{background:#405745;color:#fff;border-color:#405745}button.secondary,.btn.secondary,.secondary{background:#e2e7da;color:#28392f;border:0}.segments{background:#e2e7da}.segments button,.choice{color:#28392f}.segments button.active,.segments button[aria-pressed=true],.choice:has(input:checked){background:#cad5ba;color:#28392f;border-color:#405745}.choice{background:#f7f6f0}.mode-card,.opponent-card{border:0!important;padding:22px!important;min-height:105px}.mode-card strong,.mode-title,.option-name,.opponent-card strong{font:26px Georgia,serif}.mode-card small,.mode-description,.option-description,.opponent-card small{font:15px/1.5 "Helvetica Neue",Arial,sans-serif;opacity:1;color:inherit}.scene-art{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;margin-top:25px;border-radius:0}.hero{gap:55px;padding:30px 0}.hero-art{min-height:0}.hero-art:before{display:none}.hero-art .scene-art{margin:0}.intro,.hero-copy>p:not(.eyebrow),.landing-copy>p{font-size:17px;color:#28392f}.hero h1{white-space:normal}.setup{max-width:800px}.setup>.intro{max-width:none}.panel,.setup-card,.choose-panel,.sidebar{background:#e9ede3;border:0}.field,.field-label,legend{font-size:16px}.field small,.choice small,.note,.setup-note,.help-note,.keyboard-help,.keyboard-note,.save-note,.save-hint,.board-note,.board-bottom,.board-legend,.legend,.turn-description,.difficulty-help{font-size:14px;color:#4d5e50}.field select,.field input{font-size:16px}.board-panel,.paper{border:0!important;border-radius:0!important;background:url('../../../assets/game-materials/quiet-worktable.webp') center/100% 100% no-repeat;padding:25px!important;box-shadow:none!important}.board-container,.board-wrap,.paper>.board{background:url('../../../assets/game-materials/quiet-paper.webp') center/100% 100% no-repeat}.board-container{border-radius:0}.game-sidebar h2{font-size:34px}.player-card{border:0;background:#e2e7da}.player-card.active{background:#cad5ba}.board-actions{border:0}.footer,footer{border:0;font-size:14px;color:#4d5e50}.footer .stats{display:none}.rule-strip{font-size:15px}.top-actions .icon{width:20px;height:20px}.mode-card:hover{transform:none!important}.racer.current{border:0;background:#cad5ba}.swatch{box-shadow:none}.tutorial-inner p,dialog p,.tutorial-copy{font-size:16px!important;color:#28392f!important}.tutorial-inner h2{font-size:30px}dialog,.tutorial-dialog{background:#f7f6f0 url('../../../assets/game-materials/quiet-paper.webp') center/cover;color:#28392f}dialog::backdrop{background:#28392f88;backdrop-filter:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:3px solid #405745;outline-offset:4px}button:disabled{opacity:.5}.scene-art+*{margin-top:20px}
@media(max-width:900px){.shell,.site-wrap{padding:0 24px}.hero{gap:28px}.topbar,.site-header{flex-wrap:wrap;gap:10px 20px;padding:18px 0}.content{padding:24px 0}.board-panel,.paper{padding:16px!important}.game-layout{gap:24px}}
@media(max-width:650px){.shell,.site-wrap{padding:0 20px}.topbar,.site-header{min-height:110px}.brand{font-size:29px!important}.portal-back{font-size:13px}.topbar nav,.site-header nav{width:100%}.hero,.landing{display:flex;flex-direction:column;gap:24px;padding-top:20px}.hero>*,.landing>*{width:100%}.scene-art{height:180px;max-height:180px;aspect-ratio:auto;margin:20px 0 0}.hero-art{width:100%}.hero h1,.landing h1{font-size:42px}.hero h1 br{display:none}.modes,.mode-grid{grid-template-columns:1fr;gap:12px}.mode-card,.opponent-card{min-height:95px}.game-layout,.race-layout{display:flex;flex-direction:column;gap:20px}.game-layout>*,.race-layout>*{width:100%;min-width:0}.game-sidebar{padding-top:0}.game-sidebar h2{font-size:30px}.game-sidebar .player-list{margin:15px 0}.board-panel,.paper{padding:12px!important;width:100%}.sim-board{max-height:none}.game-board{min-height:0;max-height:none}.setup-grid{grid-template-columns:1fr}.choices{gap:7px}.choice,.choices.compact .choice{padding:14px 10px}.choice:has(input:checked),.choices.compact .choice:has(input:checked){padding:13px 9px}.choice small{font-size:13px}.turn-panel{width:100%}.footer,footer{font-size:13px;flex-wrap:wrap}.room-link input{min-width:0;width:100%}.keyboard-note{font-size:13px}.hero-copy>p:not(.eyebrow){font-size:16px}.board-actions p{font-size:15px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.game-layout{grid-template-columns:280px minmax(0,1fr);gap:45px}.game-sidebar:after{content:"";display:block;width:100%;aspect-ratio:3/2;background:url("../../../assets/table-games/sim.webp") center/cover;margin-top:24px}.board-panel{align-self:start}.board-container{max-width:none}.sim-board{padding:10px}.hero h1{max-width:540px}.hero-art{align-self:end}.modes{margin:10px 0 30px}@media(max-width:650px){.game-sidebar:after{height:110px;aspect-ratio:auto}.game-layout{display:flex;flex-direction:column}.hero-art .scene-art{height:180px}.choices{grid-template-columns:1fr}.choices.compact{grid-template-columns:repeat(3,1fr)}}
/* The full workspace, including controls and hints, stays inside the wood frame. */
.board-panel{border:18px solid transparent!important;border-image:url('../../../assets/game-materials/quiet-worktable.webp') 64 stretch!important;background:#f7f6f0 url('../../../assets/game-materials/quiet-paper.webp') center/cover padding-box!important;padding:14px!important;overflow:hidden}
.board-panel .board-container,.board-panel .board-wrap,.paper>.board{background:transparent}
.board-panel .board-actions,.board-panel .board-bottom,.board-panel .keyboard-help,.board-panel .board-legend,.board-panel .board-note{position:static;max-width:100%;color:#4d5e50}
@media(max-width:650px){.board-panel{border-width:13px!important;padding:8px!important}}
