/* Lettercraft / Daily Brain V0.751 — route-scoped only. Original an416 engines untouched. */
.an751-page{--a751-ink:#103e37;--a751-night:#092e2a;--a751-deep:#0b2925;--a751-accent:#d9ed95;--a751-cream:#faf8ee;--a751-line:#d8e5d9;--a751-muted:#547369;color:#203c34;max-width:1470px}
.an416-body{background:#f7f8f1}
.an751-page .an416-hero{margin:16px 0 13px;align-items:center;gap:30px}
.an751-edition{font-size:.65rem;font-weight:900;letter-spacing:.18em;color:#53806e;margin-bottom:4px}
.an751-page .an416-hero h1{font-size:clamp(2.25rem,4.3vw,4.35rem);line-height:1;letter-spacing:-.055em;margin:2px 0 5px;color:#123f36}
.an751-page .an416-hero h1 small{font-size:.26em;display:block;font-weight:600;letter-spacing:0;color:#527667;margin-top:7px}
.an751-page .an416-hero p{max-width:655px;font-size:.85rem;line-height:1.48;color:#56746b}
.an751-page .an416-hero-stats{min-width:305px;gap:7px}
.an751-page .an416-hero-stats>div{border-color:#dce8dd;border-radius:13px;background:#fffdf6;padding:10px 12px}
.an751-page .an416-hero-stats small{color:#718b81;font-weight:850;font-size:.58rem}
.an751-page .an416-hero-stats strong{color:#17463c}
.an751-page .an416-tabs{margin:0 0 8px;gap:6px;padding:0;max-width:100%;scrollbar-width:thin}
.an751-page .an416-tabs button{border-color:#dbe4d8;background:#ffffff;border-radius:10px;padding:9px 17px;font-size:.85rem;color:#3b5b50;transition:background .15s,border-color .15s,color .15s}
.an751-page .an416-tabs button.active{background:#123e36;color:#fff;border-color:#123e36}
.an751-page .an416-tabs button:focus-visible,.an751-page button:focus-visible,.an751-page input:focus-visible{outline:3px solid #d2e97d;outline-offset:3px}
.an751-page .an416-toolbar{margin:0 0 8px;min-height:34px;gap:8px}
.an751-page .an416-toolbar .eyebrow{color:#659080;font-size:.58rem;letter-spacing:.15em}
.an751-page .an416-toolbar strong{font-size:.92rem;color:#244c40}
.an751-page .an416-toolbar small{font-size:.7rem}
.an751-page .an416-daynav button,.an751-page .an416-rack-modes button{padding:7px 12px;border-radius:8px;border-color:#d8e2d9;color:#3d6757;background:#fffdf8;font-size:.76rem}
.an751-page .an416-rack-modes button.active{background:#133d35;color:#fff;border-color:#133d35}
.an751-layout{display:grid;grid-template-columns:minmax(0,1.64fr) minmax(245px,.7fr);align-items:stretch;gap:14px}
.an751-page .an416-gamecard.an751-stage{background:linear-gradient(155deg,#103c35,#0b2926 75%);border-radius:22px;border:1px solid #22564d;box-shadow:0 16px 40px rgba(23,65,55,.11);padding:17px!important;color:#f5f7e9;min-width:0}
.an751-page .an416-metrics{margin-bottom:10px;gap:7px}
.an751-page .an751-stage .an416-metrics>div{background:rgba(255,255,255,.055);border:1px solid rgba(237,250,222,.13);border-radius:11px;padding:7px 10px;color:#ecf6e9}
.an751-page .an751-stage .an416-metrics small{font-weight:800;color:#9bb8a7;font-size:.6rem}
.an751-page .an751-stage .an416-metrics strong{font-size:1.06rem;color:#f4f8e5}
.an751-progress{height:5px;background:rgba(255,255,255,.1);border-radius:99px;overflow:hidden;margin:0 0 8px}
.an751-progress span{display:block;height:100%;width:0%;background:linear-gradient(90deg,#a9d68b,#e4efa3);border-radius:99px;transition:width .22s ease}
.an751-page .an751-stage .an416-clue{padding:9px 6px 6px;color:#fff}
.an751-eyeline{font-size:.55rem;letter-spacing:.16em;color:#94bea7;font-weight:900;margin-bottom:6px}
.an751-page .an751-stage .an416-clue>span{color:#deefa4;font-size:.66rem;font-weight:850}
.an751-page .an751-stage .an416-clue p{font-size:clamp(.98rem,1.8vw,1.35rem);line-height:1.37;font-weight:650;color:#f0f9ea;min-height:1.4em;margin:6px auto 0}
.an751-game-tip{text-align:center;font-size:.56rem;font-weight:800;letter-spacing:.1em;color:#9ab7a8;margin:2px 0 4px}
.an751-page .an751-stage .an416-start{display:block;margin:7px auto 7px;padding:10px 18px;background:#dceb92!important;color:#17382a!important;border:1px solid #dceb92;border-radius:10px;font-weight:900;font-size:.88rem;box-shadow:0 6px 20px rgba(9,30,25,.22)}
.an751-page .an751-stage .an416-start[hidden]{display:none}
.an751-page .an751-stage .an416-answer{margin:7px 0 8px;min-height:48px;gap:6px;flex-wrap:nowrap}
.an751-page .an751-stage .an416-answer span{height:46px;width:min(44px,13%);min-width:0;border-bottom:3px solid #bcd69b;color:#e9f6ca;font-size:1.28rem;letter-spacing:.04em}
.an751-page .an751-stage .an416-rack{margin:4px 0 12px;gap:6px}
.an751-page .an751-stage .an416-rack button{width:45px;height:48px;background:#f7f6e9;border-color:#d7e5d3;color:#1b4a3d;box-shadow:0 3px 0 #b4c9b6;border-radius:10px;font-size:1.22rem;font-weight:950;transition:transform .08s,background .08s}
.an751-page .an751-stage .an416-rack button:active{transform:translateY(2px);box-shadow:0 1px 0 #b4c9b6}
.an751-page .an751-stage .an416-rack button:disabled{opacity:.27}
.an751-page .an751-stage .an416-actions{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.an751-page .an751-stage .an416-actions button{background:rgba(255,255,255,.09);color:#e0f0dd;border:1px solid rgba(255,255,255,.2);border-radius:9px;min-width:0;padding:11px 4px;font-size:.76rem;font-weight:800}
.an751-page .an751-stage .an416-actions button.primary{background:#ddec93;color:#173f31;border-color:#ddec93;font-weight:950}
.an751-page .an751-stage .an416-actions button:disabled{opacity:.5;cursor:not-allowed}
.an751-page .an751-stage .an416-status{text-align:left;margin:8px 2px 0;font-size:.75rem;color:#bad8c6;min-height:1.5em}
.an751-page .an751-stage .an416-status.good{color:#dcf7ac}.an751-page .an751-stage .an416-status.bad{color:#ffb6ae}
.an751-page .an751-stage .an416-cover{background:rgba(11,38,34,.965);color:#f5f8e4}
.an751-page .an751-stage .an416-cover p{color:#d1e4d3}
.an751-page .an751-stage .an416-cover button{background:#e1eea7;color:#14352a}
.an751-page .an751-stage .an416-result{border-color:#496a58;color:#f2f7e9}
.an751-page .an751-stage .an416-result-actions button{background:#daeb99;color:#123a31}
.an751-coach{background:#f0f3e8;border:1px solid #dce6d9;border-radius:20px;padding:23px;display:flex;flex-direction:column;gap:12px;min-width:0}
.an751-coach-kicker{font-size:.6rem;letter-spacing:.18em;font-weight:950;color:#477b5d}
.an751-coach h2{font-size:clamp(1.4rem,2.5vw,2.25rem);line-height:1.1;letter-spacing:-.045em;color:#153f34;margin:0}
.an751-coach h2 em{font-style:normal;color:#6e996e}
.an751-coach p{line-height:1.4;font-size:.82rem;color:#587365;margin:0 0 4px}
.an751-guide-row{border-top:1px solid #d6e2d3;display:flex;gap:12px;padding-top:11px;align-items:start}
.an751-guide-row>span{color:#8dad85;font-weight:900;font-size:.69rem}
.an751-guide-row>div{display:grid;gap:1px}
.an751-guide-row strong{color:#264b3d;font-size:.8rem}
.an751-guide-row small{color:#668174;font-size:.72rem;line-height:1.35}
.an751-coach-footer{margin-top:auto;font-weight:900;color:#698777;font-size:.55rem;letter-spacing:.09em;border-top:1px solid #d6e2d3;padding-top:12px}
.an751-coach-dot{display:inline-block;width:6px;height:6px;background:#87a96e;border-radius:50%;margin-right:5px}
.an751-page .an416-below{margin-top:12px;gap:12px}
.an751-page .an416-below>.card{border-color:#dce6d8;background:#fffefa;border-radius:16px;padding:17px}
.an751-page .an416-rackhero{padding:10px 0 6px}.an751-page .an751-rackstage{background:#103b34;border-color:#194b41;color:#f2f5e5;border-radius:20px;padding:20px!important}
.an751-page .an751-rackstage .an416-metrics>div{background:#1a483d;border-color:#356356;color:#f0f4e8}
.an751-page .an751-rackstage .an416-metrics small,.an751-page .an751-rackstage .an416-rackhero small{color:#b1cdb8}
.an751-page .an751-rackstage .an416-rackhero span{color:#b1cdb8}
.an751-page .an751-rackstage .an416-rack button{color:#194237;background:#f4f6e9}
.an751-page .an751-rackstage .an416-actions button{background:#fff;color:#1d4a3f}
.an751-page .an751-rackstage .an416-actions button:disabled{opacity:.55}
.an751-page .an751-rackstage .an416-rackform button.primary{background:#e4ec98;color:#163e32}
.an751-page .an751-rackstage .an416-status{color:#d4e1d3}
.an751-page .an751-rackstage .an416-status.bad{color:#ffc3bd}
.an751-page .an751-rackstage .an416-status.good{color:#e8f59e}
.an751-rack-intro{color:#c5e2b8;font-size:.65rem;font-weight:850;letter-spacing:.11em}
.an751-page .an416-classic-intro{background:#eef2e8;border-radius:15px;padding:14px 18px;margin:12px 0}
.an751-page .an416-gamecard .an416-result button,.an751-page .an416-gamecard .an416-result h2{max-width:100%}
@media(max-width:1040px){.an751-layout{grid-template-columns:minmax(0,1.5fr) minmax(225px,.65fr)}.an751-coach{padding:17px}.an751-page .an416-hero-stats{min-width:270px}}
@media(max-width:760px){
 .an751-page{padding-top:0}
 .an751-page .an416-hero{margin:7px 0 7px}
 .an751-edition{font-size:.52rem;margin:0}
 .an751-page .an416-hero h1{font-size:clamp(2rem,9vw,2.55rem);margin:0;color:#124338}
 .an751-page .an416-hero h1 small{display:none}
 .an751-page .an416-hero p{font-size:.71rem;line-height:1.22;margin:2px 0 0;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
 .an751-page .an416-hero-stats{margin-top:7px;gap:5px;grid-template-columns:repeat(3,minmax(0,1fr))}
 .an751-page .an416-hero-stats>div{border-radius:9px;padding:5px 8px}
 .an751-page .an416-hero-stats small{font-size:.48rem}
 .an751-page .an416-hero-stats strong{font-size:.84rem}
 .an751-page .an416-tabs{margin-bottom:5px;gap:5px}
 .an751-page .an416-tabs button{padding:7px 12px;border-radius:8px;font-size:.75rem}
 .an751-page .an416-toolbar{min-height:28px;margin:0 0 5px}
 .an751-page .an416-toolbar strong{font-size:.78rem}
 .an751-page .an416-daynav button{padding:5px 9px}
 .an751-layout{display:flex;flex-direction:column;gap:10px}
 .an751-page .an416-gamecard.an751-stage{border-radius:16px;padding:10px!important}
 .an751-page .an416-metrics{gap:5px;margin-bottom:6px}
 .an751-page .an751-stage .an416-metrics>div{border-radius:8px;padding:5px 3px}
 .an751-page .an751-stage .an416-metrics small{font-size:.49rem;letter-spacing:.03em}
 .an751-page .an751-stage .an416-metrics strong{font-size:.85rem}
 .an751-progress{margin-bottom:4px;height:4px}
 .an751-page .an751-stage .an416-clue{padding:4px 5px 3px}
 .an751-eyeline{margin-bottom:2px;font-size:.48rem}
 .an751-page .an751-stage .an416-clue>span{font-size:.59rem}
 .an751-page .an751-stage .an416-clue p{font-size:.88rem;line-height:1.22;margin:3px auto 0;min-height:1.2em}
 .an751-game-tip{font-size:.46rem;letter-spacing:.07em;margin:1px 0 2px}
 .an751-page .an751-stage .an416-start{font-size:.77rem;padding:7px 16px;margin:4px auto 4px}
 .an751-page .an751-stage .an416-answer{min-height:32px;margin:4px 0 5px;gap:3px}
 .an751-page .an751-stage .an416-answer span{height:31px;width:min(34px,13%);font-size:.99rem;border-bottom-width:2px}
 .an751-page .an751-stage .an416-rack{gap:4px;margin:4px 0 7px}
 .an751-page .an751-stage .an416-rack button{width:36px;height:37px;font-size:1rem;border-radius:7px;box-shadow:0 2px 0 #b4c9b6}
 .an751-page .an751-stage .an416-actions{gap:4px}
 .an751-page .an751-stage .an416-actions button{font-size:.65rem;padding:8px 1px;border-radius:7px}
 .an751-page .an751-stage .an416-status{font-size:.67rem;margin:4px 2px 0;min-height:1.1em;line-height:1.2}
 .an751-coach{padding:13px;gap:6px}
 .an751-coach h2{font-size:1.27rem}.an751-coach p{font-size:.74rem}
 .an751-guide-row{padding-top:7px}.an751-guide-row small{font-size:.66rem}
 .an751-page .an751-rackstage{padding:12px!important}
 .an751-rack-intro{font-size:.54rem}
}
@media(max-width:360px){.an751-page .an751-stage .an416-rack{gap:3px}.an751-page .an751-stage .an416-rack button{width:34px;height:35px}.an751-page .an751-stage .an416-actions button{font-size:.6rem}}
@media(prefers-reduced-motion:reduce){.an751-page *{transition:none!important;animation-duration:.001ms!important}}
@media(forced-colors:active){.an751-page .an416-actions button,.an751-page .an416-rack button{border:2px solid ButtonText}.an751-progress span{background:Highlight}}
/* First-fold tightening on short mobile devices, without obscuring controls. */
@media(max-width:760px) and (max-height:760px){
.an751-page .an416-hero{margin:3px 0 4px}.an751-page .an416-hero h1{font-size:1.95rem}
.an751-page .an416-hero-stats{margin-top:3px}.an751-page .an416-hero-stats>div{padding:3px 7px}
.an751-page .an416-tabs{margin-bottom:3px}.an751-page .an416-tabs button{padding:5px 10px}
.an751-page .an416-toolbar{min-height:23px;margin-bottom:3px}
.an751-page .an416-gamecard.an751-stage{padding:7px!important}
.an751-page .an751-stage .an416-metrics>div{padding:3px 2px}
.an751-page .an751-stage .an416-clue{padding:3px 5px 2px}
.an751-page .an751-stage .an416-clue p{margin:2px auto 0}
.an751-page .an751-stage .an416-start{margin:3px auto;padding:6px 12px}
.an751-page .an751-stage .an416-answer{margin:3px 0;min-height:30px}
.an751-page .an751-stage .an416-rack{margin:3px 0 5px}
.an751-page .an751-stage .an416-actions button{padding:7px 1px}
}
/* Compress desktop reading path: gameplay must take precedence over hero copy. */
@media(min-width:761px){
 .an751-page{padding-top:5px!important}
 .an751-page .an416-hero{margin:4px 0 7px;min-height:0;align-items:center}
 .an751-page .an416-hero h1{font-size:clamp(2.25rem,3.5vw,3.2rem);margin:0}
 .an751-page .an416-hero h1 small{display:none}
 .an751-page .an416-hero p{font-size:.74rem;margin:2px 0 0;max-width:720px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .an751-page .an416-hero .eyebrow{display:none}
 .an751-page .an416-tabs{margin-bottom:3px}
 .an751-page .an416-tabs button{padding:6px 14px}
 .an751-page .an416-toolbar{min-height:25px;margin-bottom:5px}
 .an751-page .an416-toolbar small{display:none}
 .an751-page .an751-stage .an416-clue{padding:6px 5px 4px}
 .an751-page .an751-stage .an416-clue p{font-size:clamp(.98rem,1.45vw,1.18rem);margin:4px auto 0}
 .an751-page .an751-stage .an416-metrics{margin-bottom:6px}
 .an751-page .an751-stage .an416-start{padding:8px 16px;margin:4px auto}
 .an751-page .an751-stage .an416-answer{margin:3px 0 6px;min-height:42px}
 .an751-page .an751-stage .an416-answer span{height:40px}
 .an751-page .an751-stage .an416-rack{margin:4px 0 8px}
 .an751-page .an751-stage .an416-rack button{height:43px;width:43px}
 .an751-page .an751-stage .an416-actions button{padding:9px 4px}
}
@media(min-width:761px) and (max-height:800px){.an751-page .an416-hero-stats>div{padding:7px 9px}.an751-page .an416-gamecard.an751-stage{padding:12px!important}.an751-page .an751-coach{padding:15px}}
@media(max-width:800px){.an416-body{overflow-x:clip}}
@media(max-width:760px) and (max-height:760px){.an751-page .an751-stage .an416-actions button{padding:6px 1px}.an751-page .an751-stage .an416-rack button{height:34px}.an751-page .an751-stage .an416-status{margin:3px 2px 0}}
@media(min-width:761px) and (max-width:940px){
 .an751-page .an416-hero{display:block}
 .an751-page .an416-hero-stats{width:100%;max-width:100%;min-width:0;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:5px}
 .an751-page .an416-hero p{max-width:100%;min-width:0}
 .an751-page .an416-hero-stats>div{min-width:0}
}
@media(max-width:760px) and (max-height:760px){.an751-page .an751-stage .an416-status{line-height:1.08;margin:1px 2px 0}}
