
/* MindRiddles extension: incumbent cream, sage, Georgia and real tabletop materials. */
:root{--ink:#28392f;--muted:#4d5e50;--green:#405745;--deep:#405745;--orange:#7b4439;--orange-bright:#7b4439;--purple:#7b4439;--lime:#e2e7da;--mint:#e2e7da;--lilac:#e9ded6;--paper:#f7f6f0;--white:#fcfaf3;--border:#bdc7b4;--line:#bdc7b4;--player:#405745;color:#28392f;background:#f7f6f0;font-family:"Helvetica Neue",Arial,sans-serif}
body{margin:0;color:var(--ink);background:var(--paper);font-family:"Helvetica Neue",Arial,sans-serif;font-size:16px}
*{box-sizing:border-box}::selection{background:#d4deca;color:#28392f}input,select,button{font-family:inherit;caret-color:#7b4439}input::placeholder{color:#53644f}a{color:inherit;text-underline-offset:4px}button,a,input,select,summary{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #7b4439;outline-offset:3px}button:disabled{cursor:not-allowed;opacity:.5}
h1,h2,h3,.brand,.brand-name,.mr-brand{font-family:Georgia,serif!important;font-weight:400!important;letter-spacing:-.035em!important}h1{font-size:clamp(34px,3.6vw,51px)!important;line-height:1.08!important;white-space:normal!important}h2{font-size:27px!important}h3{font-size:20px!important}h1 span{color:inherit!important}p{line-height:1.55}button,.primary,.secondary,.nav-button,.text-button,.segment,.segment span,input,select{border-radius:3px!important;box-shadow:none!important}button{min-height:44px}.primary{background:#405745!important;color:#fff!important}.primary:hover:not(:disabled){background:#2d4535!important}.secondary{background:#e2e7da!important;color:#28392f!important}.secondary:hover:not(:disabled){background:#d1dcc7!important}
.mr-topbar{max-width:1320px;margin:auto;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:28px 36px 26px}.mr-brand{font-size:34px;text-decoration:none}.mr-back{font-size:14px;line-height:1.5}.mr-stage{max-width:1320px;margin:auto;padding:0 36px 36px;display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);gap:38px;align-items:start}.mr-scene{margin:0;position:sticky;top:24px}.mr-scene img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover}.mr-scene figcaption{font:20px/1.5 Georgia,serif;color:#4d5e50;max-width:30ch;padding-top:17px}.mr-workspace{min-width:0}.mr-workspace #app{min-width:0}.site-shell,.shell,.page,.app-shell{width:100%;max-width:none!important;margin:0!important;padding:0!important}.site-header,.header{height:auto!important;min-height:44px!important;padding:0 0 18px!important;border:0!important;gap:12px;flex-wrap:wrap}.brand,.brand-name{font-size:26px!important;line-height:1.15}.brand-icon,.brand-mark,.brand svg,.tagline,.brand-tagline,.header-note,.header-action:not(button),.brand .tagline,.footer-mark,.footer-symbols{display:none!important}.brand{padding:0!important;min-height:40px}.site-footer,.footer,footer{height:auto!important;padding:24px 0!important;border:0!important;font-size:12px!important;line-height:1.5}.site-footer svg{display:none}.eyebrow,.hero-eyebrow,.micro-label,.mode-tag,.rule-number,.tiny-doodle,.sparkle,.round-note,.title-dot{display:none!important}.hero,.welcome,.home{display:block!important;padding:12px 0 24px!important;margin:0!important}.hero h1,.hero-title,.home h1{margin:0 0 18px!important}.intro,.subtitle,.hero-body,.hero-subtitle,.subheading,.home-description{font-size:16px!important;max-width:48ch!important;color:#4d5e50!important;margin:12px 0 24px!important}.hero-art,.home-art,.demo-card,.intro-art,.decorative-tiles{display:none!important}.hero-facts{font-size:13px!important;letter-spacing:0!important;margin:18px 0!important}.mode-grid,.choices,.opponents,.opponent-options{gap:10px!important}.mode-card,.opponent,.choice-card,.choice{background:#e9ede1!important;border:0!important;border-radius:3px!important;box-shadow:none!important;transform:none!important;text-align:left!important}.mode-card:hover,.opponent:hover,.choice-card:hover,.choice:hover{background:#dce5d0!important}.mode-icon,.choice-icon,.opponent .icon{display:none!important}.mode-card h3,.mode-title,.choice-title,.opponent strong,.choice-card strong{font-family:Georgia,serif!important;font-size:23px!important;font-weight:400!important;letter-spacing:-.025em!important}.mode-description,.choice-description,.opponent small,.choice-card small{font-size:14px!important;line-height:1.5!important;color:#4d5e50!important}.mode-card p{font-size:14px!important;line-height:1.5}.mode-arrow,.card-arrow,.choice-arrow,.arrow-icon{display:none!important}.mode-card,.choice-card,.choice,.opponent{padding:16px 18px!important;min-height:84px!important}.rules,.rules-strip{margin-top:24px!important;border:0!important;padding:20px 0!important}.rules-heading:after{display:none!important}.rule-grid,.rules-strip{gap:18px!important}.rule p{font-size:14px!important}.rule h3{font-size:19px!important}.rule{gap:0!important}.setup-wrap,.settings-screen,.lobby{max-width:none!important;margin:10px 0 0!important}.panel,.setup-card,.invitation-card,.settings-card,.waiting-card,.side-card,.play-panel,.snake-panel,.player-zone,.result-card,.result,.invite{border:0!important;border-radius:3px!important;box-shadow:none!important;background:#e9ede1!important}.panel,.setup-card,.settings-card,.waiting-card,.invitation-card{padding:23px!important}.settings-row{gap:16px}.segment-group,.segments,.choices{flex-wrap:wrap}.segment,.segment span{background:#f7f6f0!important}.segment.selected,.segment.active,.choices .active,.segment input:checked+span{background:#405745!important;color:white!important;border-color:#405745!important}.toggle-input{accent-color:#405745}.game-layout{gap:18px!important}.game-topbar,.game-top{margin:12px 0!important}.status,.status-bar,.feedback,.game-message{font-size:15px!important}.game-page,.game-screen{max-width:none!important;padding-top:10px!important}.game-page h1,.game-screen h1{font-size:32px!important}.settings-badge,.level-badge,.badge,.mode-pill,.turn-pill,.count{border-radius:3px!important;background:#e2e7da!important;color:#28392f!important}.error,.notice,.error-banner{color:#7b4439!important}.keyboard-note,.board-note,.board-caption,.hint,.help-note,.move-help{font-size:13px!important}.mr-workspace main{min-height:0!important;padding:12px 0 24px!important}.mr-workspace dialog,dialog{border-radius:4px!important;background:#f7f6f0!important;color:#28392f!important;max-height:calc(100dvh - 24px);overflow:auto}dialog::backdrop{backdrop-filter:none!important;background:#28392f99!important}.tutorial-panel{border-radius:3px!important}.mr-workspace{scrollbar-color:#9eae94 #eef0e6}
@media(max-width:1050px){.mr-stage{gap:25px;grid-template-columns:minmax(0,.68fr) minmax(0,1.32fr)}.mr-topbar,.mr-stage{padding-left:24px;padding-right:24px}.mr-scene figcaption{font-size:18px}}
@media(max-width:760px){.mr-topbar{padding:20px 18px;gap:12px}.mr-brand{font-size:29px}.mr-back{font-size:12px}.mr-stage{display:block;padding:0 18px 26px}.mr-scene{position:static;margin-bottom:20px}.mr-scene img{aspect-ratio:2.4;max-height:240px}.mr-scene figcaption{display:none}.site-header,.header{padding-bottom:12px!important}.brand,.brand-name{font-size:24px!important}.hero,.home,.welcome{padding-top:8px!important}h1{font-size:39px!important}.hero h1{font-size:42px!important}.mode-grid,.choices{grid-template-columns:1fr!important}.rule-grid,.rules-strip{grid-template-columns:1fr!important}.rules{margin-top:15px!important}.game-layout{grid-template-columns:1fr!important}.settings-row{display:block}.game-page h1,.game-screen h1{font-size:29px!important}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
 .welcome{margin-bottom:24px!important}.choices{grid-template-columns:1fr!important}.choice{gap:14px}.rules-heading h2{font-size:25px!important}.counter-value{font-family:Georgia,serif!important;font-weight:400!important;letter-spacing:-.035em!important}.game-panel{background:#e2d1ae url('../../../assets/game-materials/quiet-worktable.webp') center/cover!important;padding:24px 18px!important}.turn-row,.counter-block,.move-area,.game-bottom,.board-caption{background:#f7f6f0;padding:12px}.counter-block{margin:0!important}.board-scroll{background:#f7f2e5 url('../../../assets/game-materials/quiet-paper.webp') center/cover;padding:14px 8px!important}.cell{border-radius:3px!important;background:#fcf8e9!important;border:1px solid #b4bda9!important;font-size:14px!important;color:#4d5e50!important}.cell.player-0{background:#405745!important;color:#fff!important}.cell.player-1{background:#7b4439!important;color:#fff!important;background-image:none!important}.cell.forbidden{border:2px dashed #7b4439!important;color:#7b4439!important}.cell.forbidden.player-0,.cell.forbidden.player-1{color:white!important}.move-area{margin:0!important;border:0!important}.move-button{background:#405745!important;border-radius:3px!important;box-shadow:none!important;font-family:Georgia,serif!important;font-weight:400!important}.move-button:disabled{background:#d4dacb!important;color:#53614d!important}.swatch{border-radius:3px!important;background:#405745!important}.swatch.player-1{background:#7b4439!important;background-image:none!important}.tutorial-illustration span{border-radius:3px!important;background:#f9f3e4 url('../../../assets/game-materials/quiet-paper.webp') center/cover!important;color:#28392f!important}.game-heading{margin-bottom:16px!important}.game-panel{border:16px solid transparent!important;border-image:url('../../../assets/game-materials/quiet-worktable.webp') 64 stretch!important;background:#faf5e6 url('../../../assets/game-materials/quiet-paper.webp') center/cover padding-box!important;border-radius:0!important;padding:10px!important}
