/* Ordinary extension of the approved MindRiddles quiet table. */
:root{--paper:#f7f6f0;--white:#fffdf5;--ink:#28392f;--muted:#4d5e50;--line:#b8c5b1;--green:#405745;--lime:#e2e7da;--orange:#7b4439;--soft-green:#e2e7da;--active:#e2e7da;--shadow:none;color:#28392f;background:#f7f6f0;color-scheme:light;font-family:"Helvetica Neue",Arial,sans-serif}
body{background:#f7f6f0;color:#28392f;font:16px/1.5 "Helvetica Neue",Arial,sans-serif}button,input{font:inherit}button{touch-action:manipulation}a{color:inherit;text-underline-offset:5px}::selection{background:#ccd8bf;color:#182b20}html{scrollbar-color:#91a18b #f7f6f0}input{caret-color:#7b4439}input::placeholder{color:#4d5e50}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #7b4439;outline-offset:3px}h1,h2,h3,.brand{font-family:Georgia,"Times New Roman",serif;font-weight:400!important;letter-spacing:-.035em!important;text-wrap:balance}h1{font-size:clamp(36px,4vw,56px)!important;line-height:1.08!important}h2{font-size:28px}h3{font-size:21px}.mr-brand{display:flex;flex-direction:column;gap:10px;flex-shrink:0}.mr-brand .brand{display:block;font-size:30px!important;text-decoration:none;line-height:1.1}.mr-back{font-size:13px;color:#4d5e50}.mr-layout{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(25px,3vw,45px);align-items:start;padding:24px 0 30px}.mr-scene{position:sticky;top:20px;margin:0;min-width:0}.mr-scene img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}.mr-scene figcaption{font:18px/1.5 Georgia,serif;color:#4d5e50;padding-top:16px;max-width:32ch}.mr-workspace{min-width:0}.mr-workspace>main{width:100%;max-width:none;margin:0;min-height:0;padding-top:0}.hero-art,.eyebrow,.brand-note{display:none!important}.subtitle{color:#4d5e50;font:16px/1.6 "Helvetica Neue",Arial,sans-serif;max-width:44ch;margin:14px 0 24px}.intro,.panel-heading{text-align:left}.intro{padding:0}.choice{border:0!important;border-radius:3px!important;box-shadow:none!important;background:#e2e7da!important;color:#28392f!important;transform:none!important}.choice:hover{background:#d6e0cb!important;transform:none!important}.choice small{font-size:14px;opacity:1;color:#4d5e50}.choice-icon{background:#f7f6f0!important;border-radius:3px}.primary,.secondary,.btn,.segment,.segmented,.segments,.link-input,.game-link,.menu-button,.text-button{border-radius:3px!important;box-shadow:none!important}.primary,.btn.primary,.segment.active,.segment[aria-pressed=true]{background:#405745!important;border-color:#405745!important;color:#fffdf5!important}.secondary,.btn{background:#e2e7da;border-color:#b8c5b1}.btn:hover:not(:disabled){transform:none;background:#d6e0cb}.panel,.settings-card,.tutorial-card,.tutorial-bubble,.result-banner{background:#eeefe5;border:0;border-radius:3px;box-shadow:none;padding:24px}.tutorial-card:before,.tutorial-bubble:after{display:none}.note,.tip,.status-note,.status-message,.board-help,.legend,.input-caption,.footer,.footer-note{color:#4d5e50;font-size:13px;letter-spacing:0}.status-note.error,.warning,.game-message{color:#7b4439}.footer,.footer-note{padding:22px 0;margin:0;border-color:#b8c5b1}.footer em{display:none}.tip{background:#e2e7da}.mr-workspace .hero{display:block;min-height:0;padding:0}.hero-actions{max-width:none}.hero-actions h3{font-size:24px}.settings-layout{display:block;padding:0;min-height:0}.settings-intro{display:none}.settings-card{max-width:none}.header,.topbar{height:auto;min-height:100px;margin:0;gap:18px;padding:22px 0;align-items:center;border-color:#b8c5b1}.header-actions,.top-actions{flex-wrap:wrap;justify-content:flex-end}.note,.tip{font-size:14px}.board-help{font-size:13px}.game-link,.link-input{font-size:14px;overflow-wrap:anywhere}
@media(max-width:1000px){.mr-layout{grid-template-columns:minmax(0,.65fr) minmax(0,1.35fr);gap:25px}.mr-scene figcaption{font-size:16px}}
@media(max-width:760px){.mr-layout{display:flex;flex-direction:column;gap:24px;padding-top:8px}.mr-scene{position:static;width:100%}.mr-scene img{max-height:250px;aspect-ratio:3/2}.mr-scene figcaption{display:none}.mr-workspace{width:100%}.header,.topbar{min-height:90px;align-items:flex-start;gap:12px}.mr-brand .brand{font-size:27px!important}.header .btn,.menu-button{font-size:12px;padding:10px;min-height:44px}.panel,.settings-card,.tutorial-card{padding:21px}.subtitle{font-size:15px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.shell,.game-shell{max-width:1480px;padding:0 clamp(18px,3vw,44px) 20px}.choice-section{max-width:none;margin:20px 0 0;text-align:left}.choice-section h2{font-size:25px!important}.choices{grid-template-columns:1fr}.choice{padding:19px 20px}.choice strong{font:24px/1.3 Georgia,serif;font-weight:400}.legend{justify-content:flex-start;gap:16px}.legend>span{font-size:13px}.result-label{font:inherit;font-weight:600;white-space:nowrap}.cow-icon{color:#7b4439}.bull-icon{color:#405745}.legend .result-label{display:none}.panel{margin:0;max-width:none}.section-label{font-size:15px}.panel-heading h2{font-size:32px}.panel-heading p{font-size:15px}.code-slot{border-radius:3px;border-color:#819075;background:#fffdf5;font-size:30px}.code-slot.current{outline-color:#405745}.digit-key{border-radius:3px;border-color:#b8c5b1;background:#fffdf5;box-shadow:none}.digit-key.used{color:#52604d}.digit-key.noted:not(.used){color:#52604d}.guess-key{background:#405745;color:#fffdf5}.input-panel{border:12px solid transparent;border-image:url('../../../assets/game-materials/quiet-worktable.webp') 64 stretch;background:#fffdf5 url('../../../assets/game-materials/quiet-paper.webp') center/cover padding-box;border-radius:0;box-shadow:0 8px 22px #28392f18;padding:18px}.game-grid{grid-template-columns:1fr;gap:20px}.game-top{margin-top:0}.histories{grid-template-columns:1fr;gap:15px}.history-panel{min-height:150px;border:0;border-radius:3px;background:#eeefe5;box-shadow:none}.history-heading{padding:14px 16px}.history-heading h3{font:19px Georgia,serif}.history-count,.guess-index{font-size:12px;color:#4d5e50}.guess-digits{font-size:21px;letter-spacing:4px}.result-icons{font-size:14px;gap:12px}.result-icons>span{gap:4px}.result-icons .result-label{font-size:12px}.history-list{padding:8px 16px}.empty-history{min-height:100px;font-size:14px;color:#4d5e50}.empty-history>.result-label{display:none}.avatar,.person-dot>.avatar{display:none}.notepad{background:#e2e7da;border:0;border-radius:3px}.note-key{border-radius:3px;min-height:44px;min-width:0}.note-key.crossed{color:#52604d}.input-caption{font-size:13px}.history-tabs button{min-height:44px;font-size:14px}.tutorial-body{grid-template-columns:1fr;gap:20px}.tutorial-body .input-panel{max-width:360px;margin:auto;width:100%}.tutorial-heading h2{font-size:30px}.tutorial-navigation .skip-button{font-size:13px}.tutorial-count{font-size:13px}.top-actions{max-width:55%}.secret-value{color:#fffdf5}.round-label,.turn-pill{border-radius:3px;font-size:14px}.guess-row{flex-wrap:nowrap}.game-shell .input-panel{max-width:360px}
@media(max-width:760px){.shell,.game-shell{padding:0 18px 20px}.top-actions{gap:5px}.my-code-button{padding:10px 7px}.masked-code{display:none}.secret-reveal{max-width:150px}.code-slot{width:55px;height:62px}.histories{display:block}.history-panel{margin-bottom:12px}.note-keys{gap:4px}.notepad{padding:12px}.note-key{font-size:14px}.history-tabs{display:flex}.history-panel.mobile-hidden{display:none}.game-shell .legend{display:flex}.game-shell .footer-note{display:block}.panel-heading h2{font-size:30px}}

/* Keep the active code and keypad beside a compact, independently scrolling record. */
.game-title{font-size:32px!important;margin:0 0 18px;line-height:1.12!important}.keypad .highlight,.keypad .guess-key.highlight,.note-key.highlight{box-shadow:none;animation:none;background:#e2e7da;color:#28392f;border-color:#405745;outline:2px solid #405745;outline-offset:2px}.game-shell .game-top{margin-bottom:18px}
@media(min-width:1100px){.game-shell .game-grid{grid-template-columns:minmax(0,1fr) 330px;gap:20px;align-items:start}.game-shell .history-panel{min-height:110px}.game-shell .empty-history{min-height:60px}.game-shell .history-list{max-height:120px}.game-shell .history-heading{padding:12px 14px}.game-shell .history-heading h3{font-size:18px}.game-shell .history-panel .guess-row{gap:6px;flex-wrap:wrap;padding:8px 0}.game-shell .guess-digits{font-size:19px;letter-spacing:3px}.game-shell .result-icons{gap:8px;margin-left:auto}.game-shell .note-keys{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.game-shell .notepad{padding:12px;margin-top:12px}.game-shell .notepad-head{margin-bottom:8px}.game-shell .note-key{min-height:38px}.game-shell .input-panel{width:330px;max-width:100%;padding:18px 14px}.game-shell .input-panel .code-slot{width:54px}.game-shell .input-panel .digit-key{min-height:56px}.game-shell .histories{gap:12px}.game-shell .legend{margin-top:18px}}
@media(min-width:761px) and (max-width:1099px){.game-shell .input-panel{grid-row:1}.game-shell .history-panel{min-height:110px}.game-shell .history-list{max-height:160px}.game-shell .empty-history{min-height:60px}}
