*{box-sizing:border-box}:root{--gold: #ffd253;--sky: #65c9ea;--coral: #fa9180;--mint: #b9e8d9;--border: 2px solid var(--ink);--raised-shadow: 0 4px 0 var(--ink);-webkit-text-size-adjust:100%;text-size-adjust:100%;font-family:ui-rounded,SF Pro Rounded,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color-scheme:only light;--paper: #fffefa;--ink: #263646;--muted: #67798c;--surface: #fffefa;--canvas: #fff8e8;--soft: #eaf4fa;color:var(--ink);background:var(--canvas);font-size:15px;line-height:1.45}body{margin:0;background:var(--canvas)}button,input,select{font:inherit;color:inherit;-webkit-tap-highlight-color:transparent}button{border:2px solid var(--ink);background:var(--paper);border-radius:10px;padding:9px 14px;min-height:42px;cursor:pointer;font-weight:700}@media(hover:hover)and (pointer:fine){button:hover:not(:disabled){background:var(--soft)}}button:disabled{opacity:.5;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #3d80d7;outline-offset:3px}a{color:inherit}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.2}h1{font-size:28px}h2{font-size:24px}h3{font-size:15px}p+p{margin-top:12px}input:not([type=checkbox]),select{width:100%;min-width:0;min-height:44px;border:1.5px solid #cbd5e0;border-radius:8px;padding:8px 12px;background:#fff}input[type=checkbox]{accent-color:#246fc3;width:19px;height:19px;flex-shrink:0}label{display:flex;flex-direction:column;gap:6px;font-weight:600}fieldset{border:0;margin:0;padding:0;min-width:0}legend{font-weight:800;margin-bottom:12px}.primary{background:var(--sky);border-color:var(--ink);color:#203247;box-shadow:0 3px 0 var(--ink)}.primary:hover:not(:disabled){background:#8cddf6}.button-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.text-button{border-color:transparent;background:transparent}.muted{color:var(--muted)}.small{font-size:12px}.check-label{display:flex;flex-direction:row;align-items:center;gap:8px;font-size:13px;font-weight:500}.card{min-width:0;padding:22px;background:var(--paper);border:2px solid var(--ink);box-shadow:0 4px 0 var(--ink);border-radius:14px;display:flex;flex-direction:column;gap:18px}.app-shell{max-width:1300px;padding:20px 24px;margin:auto}.topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.topbar>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.notice,.error{padding:10px 14px;border-radius:9px;margin:12px 0;font-size:13px;background:#eaf2fb}.error{background:#fff0ed;color:#9a3626}.dialog{width:100%;max-width:min(660px,calc(100vw - 24px));max-height:88dvh;padding:24px;border:2px solid var(--ink);border-radius:18px;color:var(--ink);background:var(--paper);box-shadow:0 10px #19273825,0 20px 80px #172b4440}.dialog::backdrop{background:#19273880}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.dialog-heading h2{font-size:24px}.dialog-heading button{flex-shrink:0}.dialog p{margin:12px 0}.dialog form{display:grid;gap:16px}.dialog .button-row{margin-top:16px}.sound-toggle{min-height:30px;border:0;background:transparent;font-size:12px;color:#697b8d;margin-top:12px}.arcade-mode{display:grid;grid-template-columns:50px 1fr 24px;gap:12px;align-items:center;text-align:left;border:3px solid var(--ink);border-radius:15px;box-shadow:0 6px 0 var(--ink);min-height:64px;padding:14px 18px;transition:transform .1s,box-shadow .1s}.arcade-mode:hover:not(:disabled){transform:translateY(-2px)}.arcade-mode:active{transform:translateY(4px);box-shadow:0 2px 0 var(--ink)}.arcade-mode strong{display:block;white-space:nowrap;font-size:29px;font-weight:900;letter-spacing:-.7px}.arcade-mode small{display:block;font-size:15px;font-weight:650;margin-top:3px}.arcade-mode .mode-icon{font-size:44px;line-height:1}.daily-mode,.daily-mode:hover:not(:disabled){background:var(--gold)}.daily-mode.complete,.daily-mode.complete:hover:not(:disabled){background:#a7dfac}.daily-mode.pending small:before{content:"";display:inline-block;width:8px;height:8px;background:#c65c22;border-radius:50%;margin-right:7px}.train-mode,.train-mode:hover:not(:disabled){background:var(--sky)}.duel-mode,.duel-mode:hover:not(:disabled){background:var(--coral)}.menu-credit{margin-top:0;text-align:center;font-size:12px;color:#737968}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@media(max-width:860px){.app-shell{padding:10px 12px 20px}.topbar{gap:8px;margin-bottom:8px}.topbar>div{min-width:0;gap:5px}.topbar button{font-size:12px;padding:7px 10px}.topbar h1{font-size:23px}.dialog{padding:18px}.dialog-heading h2{font-size:23px}.arcade-mode strong{font-size:26px}.arcade-mode{grid-template-columns:42px 1fr 18px;padding:12px 15px;min-height:64px}}.card h2{color:#b6523f}@media(hover:none),(pointer:coarse){.arcade-mode:hover:not(:disabled){transform:none}}@media(max-height:620px){.arcade-mode strong{font-size:24px}.arcade-mode{padding:8px 14px}.menu-credit{font-size:10px}}@media(max-width:380px){.arcade-mode{grid-template-columns:32px minmax(0,1fr) 16px;gap:8px;padding:10px 12px}.arcade-mode strong{font-size:22px}.arcade-mode .mode-icon{font-size:32px}.arcade-mode small{font-size:12px}}body,.dialog{color-scheme:only light}.topbar>.header-actions{display:flex;flex-wrap:nowrap;flex-shrink:0;align-items:center;gap:7px}.sound-icon{border-color:transparent;background:transparent}.game-links{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 20px}.game-links a{display:flex;gap:8px;align-items:center;min-height:36px;font-weight:800;text-decoration:none}.game-links a:hover{text-decoration:underline}.app-loading{min-height:100dvh;display:grid;place-items:center;font-weight:800}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-heading h2{min-width:0}.panel-heading-actions{display:flex;align-items:center;gap:8px;flex:none}.panel-heading .panel-close{display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--ink);font-size:21px}.panel-heading .panel-close:hover{background:var(--soft)}.game-links-compact a{min-height:30px;gap:7px;font-size:13px;font-weight:700}.game-link-copy{white-space:nowrap}.game-link-name{font-weight:850}.game-link-it{color:#eb6250}.game-new-badge{display:inline-flex;align-items:center;gap:3px;border:1px solid var(--ink);border-radius:4px;padding:1px 5px;background:var(--gold);box-shadow:0 2px 0 var(--ink);transform:rotate(-7deg);color:var(--ink);font-size:9px;font-weight:900;line-height:1.4;letter-spacing:.5px;text-transform:uppercase}.game-new-badge:before{content:"";width:3px;height:3px;border-radius:50%;background:currentColor}
