.browser-drill .browser-hero{padding:14px 0 18px;margin-bottom:20px}.browser-drill .browser-hero h1{font-size:clamp(2rem,5vw,3.2rem);margin:8px 0 12px}.browser-drill .browser-intro{margin-bottom:0;max-width:860px}.browser-drill .eyebrow{margin:0}.tmd-game{--tmd-green:#193e32;--tmd-lime:#d9ef83;background:#122d26;color:#fcf6e5;border:2px solid #233c39;box-shadow:7px 7px 0 #b8c8a0;padding:26px;margin:18px 0 44px;scroll-margin-top:20px}.tmd-game *{box-sizing:border-box}.tmd-game a{color:#e5edae}body.browser-drill .tmd-game button{font:inherit;border:1px solid #829980;cursor:pointer;background:#203e33;color:#fcf6e5;padding:12px 16px;min-height:46px;box-shadow:none}body.browser-drill .tmd-game button:hover{background:#34563c}body.browser-drill .tmd-game button:focus-visible,.tmd-game a:focus-visible{outline:3px solid #ffc281;outline-offset:4px}.tmd-top{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.tmd-tag{font-family:monospace;font-size:.8rem;font-weight:700;letter-spacing:.15em;color:#dfedab}.tmd-top a{font-size:.8rem}.tmd-modes{display:flex;gap:8px;margin:22px 0 12px}.tmd-modes button[aria-pressed=true]{background:#d9ef83;color:#162f25;font-weight:800}.tmd-note{font-size:.83rem;line-height:1.6;color:#bdcdbb;margin:10px 0 18px}.tmd-scoreboard{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;background:#081e18;border:1px solid #65826c;padding:20px;text-align:center}.tmd-scoreboard>div{display:flex;flex-direction:column;gap:7px}.tmd-scoreboard>div>span{font-size:.94rem;letter-spacing:.08em}.tmd-scoreboard strong{font:700 2.7rem monospace;line-height:1}.tmd-scoreboard small{display:block;font-size:.6rem;color:#dfedab;margin-top:5px}.tmd-clock{justify-content:center}.tmd-clock b{font:700 clamp(1.6rem,4vw,2.8rem) monospace;color:#f9c37c}.tmd-clock span{font-size:.65rem!important}.tmd-situation{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 2px;font-size:.85rem}.tmd-field{position:relative;height:105px;border:1px solid #728b64;background:repeating-linear-gradient(90deg,transparent 0,transparent calc(10% - 1px),#8ba17355 calc(10% - 1px),#8ba17355 10%),repeating-linear-gradient(90deg,#2c5639 0,#2c5639 10%,#284e34 10%,#284e34 20%);display:flex;align-items:center;justify-content:space-between;overflow:hidden}.tmd-endzone{writing-mode:vertical-rl;font:700 .75rem monospace;letter-spacing:.2em;opacity:.8;margin:10px}.tmd-ball{position:absolute;top:25px;color:#f9ca7f;font-size:1.7rem;transform:translateX(-50%);text-shadow:0 2px #000}.tmd-ball small{display:block;white-space:nowrap;font:700 .6rem monospace;color:#fff4d0;text-align:center}.tmd-prompt{display:flex;justify-content:space-between;gap:20px;margin:24px 0 18px;align-items:center}.tmd-prompt h2{font-size:1.6rem;line-height:1.3;margin:0;color:#fcf6e5}.tmd-prompt p{font-size:.82rem;line-height:1.6;color:#cbd8c1;margin:0;max-width:250px}.tmd-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.tmd-options button{display:grid;grid-template-columns:1fr auto;text-align:left;padding:16px;gap:8px;min-height:130px}.tmd-options strong{grid-column:1;font-size:1.2rem}.tmd-options small{grid-column:1/3;font-size:.78rem;line-height:1.4;color:#d7e1ce}.tmd-number{font-family:monospace;color:#c8d6a2;font-size:.7rem}.tmd-options button>span:last-child{grid-column:2;grid-row:2}.tmd-storage,.tmd-method{font-size:.75rem;line-height:1.5;color:#c2d2c0;margin:14px 0 0}.tmd-result{background:#f8f2df;color:#223b31;padding:24px;margin:18px 0}.tmd-result .tmd-tag{color:#42634a}.tmd-result h2{font-size:clamp(1.8rem,4vw,2.8rem);margin:10px 0 18px;line-height:1.1}.tmd-grade{display:flex;align-items:center;gap:20px}.tmd-grade>strong{font-size:3.6rem;line-height:1}.tmd-grade strong small{font-size:1rem}.tmd-grade p{font-size:.75rem;line-height:1.5;margin:6px 0}.tmd-result p{line-height:1.6}.tmd-result .tmd-note{color:#4b614b}.tmd-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.tmd-actions button:first-child{background:#d9ef83;color:#142b22;border-color:#203d2d;font-weight:800}.tmd-stats{display:flex;flex-wrap:wrap;gap:25px;border-top:1px solid #aebba2;padding-top:18px;margin-top:18px;font-size:.85rem}.tmd-stats b{font-family:monospace;font-size:1.2rem}.tmd-comparison h3,.tmd-actual h3{color:#f5f0df;font-size:1.2rem}.tmd-comparison>p,.tmd-actual p{font-size:.85rem;color:#c7d5c0;line-height:1.65}.tmd-bar-row{margin:18px 0}.tmd-bar-row>div:first-child{display:flex;justify-content:space-between;gap:10px;font-size:.85rem}.tmd-track{height:10px;background:#45614b;margin:8px 0}.tmd-track span{display:block;height:100%;background:#d9ef83}.tmd-bar-row small{font-size:.72rem;color:#bdcdb6}.tmd-actual{margin-top:28px;padding-top:14px;border-top:1px solid #58735a}.tmd-game textarea{display:block;width:100%;font:inherit;margin-top:10px}.tmd-loading{padding:32px 0}.tmd-loading p{color:#d3dfbf}@media(max-width:760px){.tmd-game{padding:18px}.tmd-options{grid-template-columns:1fr 1fr}.tmd-prompt{align-items:flex-start;flex-direction:column;gap:10px}.tmd-prompt p{max-width:none}.tmd-field{height:80px}.tmd-scoreboard{padding:14px 8px}.tmd-result{padding:18px}.tmd-grade{gap:12px}.tmd-grade>strong{font-size:2.8rem}}@media(max-width:400px){.tmd-game{padding:12px}.tmd-options button{padding:12px;min-height:125px}.tmd-scoreboard strong{font-size:2rem}.tmd-scoreboard>div>span{font-size:.78rem}.tmd-top{gap:8px}.tmd-tag{font-size:.7rem}.tmd-modes button{font-size:.82rem;padding:10px}.tmd-result{padding:14px}.tmd-grade{align-items:flex-start}.tmd-situation{font-size:.76rem}}

/* Keep the decision in the first screen and isolate it from shared button styles. */
body.browser-drill .browser-hero{padding:0 0 10px;margin-bottom:14px}
body.browser-drill .browser-hero .eyebrow{display:none}
body.browser-drill .browser-hero h1{font-size:clamp(2rem,4vw,2.6rem);margin:0 0 8px}
body.browser-drill .browser-intro{font-size:1rem;line-height:1.5;margin:0}
body.browser-drill .breadcrumbs{margin-bottom:14px}
.tmd-game{padding:18px;margin-top:14px}
.tmd-modes{margin:12px 0 8px}.tmd-note{margin:8px 0 12px}
.tmd-scoreboard{padding:12px}.tmd-scoreboard strong{font-size:2rem}
.tmd-field{height:64px}.tmd-ball{top:8px}
.tmd-prompt{margin:14px 0 12px}.tmd-prompt h2{font-size:1.25rem;line-height:1.25}
.tmd-options button{min-height:108px;padding:12px}
body.browser-drill .tmd-modes button[aria-pressed=true],body.browser-drill .tmd-actions button:first-child{background:#d9ef83;color:#162f25}
body.browser-drill .tmd-game button:hover{background:#456843;color:#fffbe9}
body.browser-drill .tmd-game button:focus-visible{outline:3px solid #ffc281;outline-offset:3px}
@media(max-width:760px){.tmd-game{padding:14px}.tmd-prompt{flex-direction:row;gap:12px}.tmd-prompt p{max-width:145px;font-size:.72rem}.tmd-options button{min-height:104px}.tmd-top a{font-size:.72rem}}
