/* Shared by The Outpost's quick games (Nov 10): tictactoe.html, war.html, space-snake.html.
   Kids' kit only: no Google Fonts, no outside files, nothing sent anywhere. */
body{overflow:hidden;touch-action:manipulation}
.bg{position:fixed;inset:-24px;z-index:0;background:#0b1630 url("kids-outpost-sm.jpg") var(--bgx,50%) var(--bgy,50%)/cover no-repeat;filter:blur(2px) brightness(.5) saturate(1.1)}
.bg2{position:fixed;inset:0;z-index:0;background:radial-gradient(120% 90% at 22% 8%,rgba(255,200,120,.16),transparent 55%),linear-gradient(180deg,rgba(5,11,28,.2),rgba(5,11,28,.55))}
#app{position:fixed;inset:0;z-index:1;padding:calc(84px + var(--k-safe-t)) 12px calc(10px + var(--k-safe-b))}
@media (max-width:420px){#app{padding-top:calc(74px + var(--k-safe-t));padding-left:8px;padding-right:8px}}
.scr{display:none;height:100%}
body.m-menu #menu{display:flex}
body.m-play #play{display:flex}
#menu{align-items:center;justify-content:center}
.mcard{width:min(470px,100%);max-height:100%;overflow:auto;border-radius:28px;padding:22px 22px 20px;text-align:center;
  background:linear-gradient(180deg,rgba(27,45,87,.94),rgba(14,26,56,.94));border:1px solid rgba(126,182,217,.4);
  box-shadow:0 24px 60px rgba(0,0,0,.55),inset 0 1px 0 rgba(255,255,255,.14);animation:kRise .45s cubic-bezier(.2,.9,.3,1.2)}
.emb{width:132px;height:92px;margin:0 auto 4px;display:block}
.mcard h1{margin:0 0 4px;font-size:30px;line-height:1.1;color:var(--k-warm)}
.mcard .lead{margin:0 auto 12px;max-width:380px;font-size:16.5px;line-height:1.4;color:#d5e2f0}
.mbtns{display:flex;flex-direction:column;gap:10px;align-items:stretch;max-width:340px;margin:0 auto}
.mbtns .k-btn{width:100%}
.k-btn small{font-size:13px;font-weight:400;opacity:.85;margin-left:4px}
.mfoot{margin:12px 0 0;font-size:14px;color:#a9bad0;line-height:1.4}
.seg{display:flex;justify-content:center;gap:6px;margin:0 auto 12px;max-width:340px}
.seg button{flex:1;appearance:none;cursor:pointer;font:inherit;font-weight:700;font-size:15.5px;padding:9px 4px;border-radius:14px;color:#dbe6f3;
  background:rgba(255,255,255,.07);border:1.5px solid var(--k-line)}
.seg button.on{color:#3a2306;background:linear-gradient(180deg,#ffe7a6,#e9c46a);border-color:#fff0c4;box-shadow:0 3px 0 #a97a1c}
.seg-l{font-size:12.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--k-teal);margin:0 0 6px}
@media (max-height:700px) and (orientation:portrait){.mcard{padding:14px 18px 12px}.emb{width:96px;height:66px}.mcard h1{font-size:25px}.mcard .lead{font-size:15px;margin-bottom:8px}.mbtns{gap:8px}.mbtns .k-btn{min-height:46px;font-size:17px}.mfoot{margin-top:8px;font-size:13px}.seg{margin-bottom:9px}}
@media (max-height:580px) and (orientation:portrait){.emb{display:none}.mcard .lead{font-size:14px}}
#play{flex-direction:column;align-items:center;justify-content:space-evenly;gap:6px}
.tools{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}
.tools .k-btn{min-height:46px;padding:0 18px;font-size:17px}
.how p{text-align:left}
