@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=DM+Sans:wght@400;600;700;800&display=swap');
:root{color-scheme:dark;--yellow:#ffc55c;--ink:#111a23}*{box-sizing:border-box}html,body{height:100%;margin:0}body{font-family:'DM Sans',system-ui,-apple-system,sans-serif;color:#f6f5ec;background:radial-gradient(ellipse at top,#273c44,#0b1017 75%);padding:12px;overscroll-behavior:none}button{font:inherit;cursor:pointer;touch-action:manipulation}#app{width:min(1100px,100%);margin:auto}.top{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:4px 6px 15px}.brand{display:flex;gap:8px;align-items:center;color:#fff;text-decoration:none;font:900 clamp(20px,3vw,32px)/.84 'Barlow Condensed',Impact,sans-serif;letter-spacing:1px}.brand img{height:47px}.brand em{font-style:normal;color:var(--yellow)}.brand small{font:700 9px/2 'DM Sans',sans-serif;display:block;letter-spacing:3px;color:#b5c8ca}.top nav{display:flex;gap:8px}.top button{background:#26333a;color:#fff;border:1px solid #52616a;border-radius:9px;padding:11px 14px;font-size:11px;font-weight:800;letter-spacing:.6px}.top button:hover,.top button:focus-visible{background:#384b52;outline:2px solid #ffc55c}.board{background:#13232b;border:1px solid #506573;border-radius:14px;overflow:hidden;box-shadow:0 20px 80px #0008}.hud{display:grid;grid-template-columns:repeat(5,1fr);background:#0c171f;border-bottom:3px solid #3d5660}.stat{text-align:center;padding:10px 3px;border-right:1px solid #2b3a44}.stat:last-child{border:0}.stat small{display:block;font-size:10px;color:#95aab3;font-weight:800;letter-spacing:1.5px}.stat strong{display:block;font:800 clamp(20px,3.5vw,36px)/1.2 'Barlow Condensed',sans-serif;color:#fff}.stat:nth-child(3) strong{color:var(--yellow)}#gameArea{position:relative;aspect-ratio:16/9;min-height:280px;max-height:73vh;background:#182a31;touch-action:none;cursor:none;overflow:hidden}#game{display:block;width:100%;height:100%;touch-action:none}#crosshair{position:absolute;left:50%;top:50%;width:34px;height:34px;transform:translate(-50%,-50%);pointer-events:none;opacity:0;border:2px solid #fff9;border-radius:50%;filter:drop-shadow(0 1px 2px #000)}#crosshair:before,#crosshair:after{content:"";position:absolute;background:#fff}#crosshair:before{width:1px;height:46px;left:15px;top:-8px}#crosshair:after{height:1px;width:46px;top:15px;left:-8px}#toast{pointer-events:none;position:absolute;top:26%;width:100%;text-align:center;font:900 clamp(18px,4vw,42px) 'Barlow Condensed';text-shadow:0 3px 10px #000;opacity:0;transition:opacity .2s;color:var(--yellow)}.overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:15px;background:linear-gradient(120deg,#071116e8,#102128c9);cursor:default;overflow-y:auto}.overlay.hidden{display:none}.panel{width:min(540px,100%);text-align:center;padding:clamp(10px,3vw,30px);background:linear-gradient(135deg,#243943ec,#0f222ae8);border:1px solid #63737a;border-radius:14px;box-shadow:0 15px 55px #0008}.panelLogo{height:clamp(50px,9vh,84px);display:block;margin:0 auto 5px}.eyebrow{font-size:10px;letter-spacing:3px;color:var(--yellow);font-weight:800}.panel h1{font:900 clamp(38px,7vw,68px)/.95 'Barlow Condensed',Impact,sans-serif;margin:10px 0;letter-spacing:3px;color:#fff;text-shadow:4px 4px 0 #b45d31}.panel p{color:#d5e1dc;font-size:clamp(12px,1.6vw,15px);line-height:1.65;max-width:430px;margin:13px auto}.instructions{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:13px auto 20px}.instructions span{border:1px solid #4f6268;border-radius:6px;background:#162c34;padding:8px;font-size:11px}.primary{background:linear-gradient(#ffdc7a,#f5af42);border:0;border-bottom:5px solid #b46d28;color:#212629;padding:14px 28px;border-radius:8px;font:900 23px 'Barlow Condensed';letter-spacing:1.3px;min-width:220px}.primary:hover{filter:brightness(1.1);transform:translateY(-1px)}.primary:focus-visible{outline:3px solid white}.hint{display:block;margin-top:13px;font-size:10px;color:#9db0b6}footer{padding:12px 16px;display:flex;justify-content:space-between;gap:8px;font:700 10px 'DM Sans',sans-serif;letter-spacing:1px;color:#82969b}@media(max-width:650px){body{padding:0;background:#111b20}.top{padding:6px 10px}.brand img{height:36px}.brand{font-size:21px}.top button{padding:9px 7px;font-size:9px}.board{border-radius:0;border-left:0;border-right:0}.hud .stat{padding:8px 2px}.stat small{font-size:8px;letter-spacing:.5px}#gameArea{aspect-ratio:3/4;max-height:72dvh;min-height:340px}.instructions span{font-size:10px;padding:6px}.panel{padding:12px}.panel h1{margin:4px}.panel p{margin:7px auto}.panelLogo{height:56px}footer{font-size:8px;flex-wrap:wrap}}@media(max-height:550px){.top{padding-bottom:4px}.hud .stat{padding:3px}#gameArea{max-height:74vh;min-height:200px}.panelLogo{height:35px}.panel p{line-height:1.3;margin:4px auto}.instructions{margin:5px auto}.instructions span{padding:4px}.panel h1{font-size:34px}.primary{padding:7px 15px}.hint{margin-top:5px}}

.challengeStrip{background:#192a32;padding:7px 15px 9px;border-bottom:1px solid #4b6066}.challengeInfo{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:5px;font:800 10px 'DM Sans',sans-serif;letter-spacing:1.2px;color:#dbeae6}#comboText{color:#ffca70}.progressTrack{height:6px;border-radius:20px;background:#081319;overflow:hidden}#progressFill{width:0%;height:100%;background:linear-gradient(90deg,#32b7a6,#fbd37b);transition:width .2s}.top nav{flex-wrap:wrap;justify-content:flex-end}@media(max-width:650px){.top button{font-size:9px;padding:7px 6px}.challengeInfo{font-size:9px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* V5: dar ekranlarda ek tam ekran kontrolü */
@media(max-width:650px){nav{display:flex;flex-wrap:wrap;gap:4px;justify-content:center}nav button{font-size:10px;padding:7px 8px}}

/* V7 polish */
#gameArea { touch-action: none; }
button:focus-visible, a:focus-visible{outline:3px solid #ffce74;outline-offset:3px}
button{transition:transform .15s ease,filter .15s ease}
button:hover{filter:brightness(1.12)}
button:active{transform:scale(.97)}
@media(prefers-reduced-motion:reduce){button{transition:none}}

/* V9: focus power controls */
#focusBtn{border-color:#a999fa88;color:#eadfff}#focusBtn:hover{background:#5d4a8f}#focusText{color:#e6d4ff;font-weight:800}#gameArea{touch-action:none}

/* V10: mobile menu and focus ring accessibility */
#game:focus-visible{outline:3px solid #fbd37b;outline-offset:-4px}.top button:active{transform:scale(.96)}@media(max-width:420px){.top{align-items:flex-start}.top nav{max-width:76%;gap:4px}.top button{font-size:8px;padding:6px}.brand small{letter-spacing:1px}}

/* V11 başarı koleksiyonu */
.medalPanel[hidden]{display:none!important}.medalPanel{position:absolute;inset:0;z-index:30;display:grid;place-items:center;background:rgba(5,14,22,.92);padding:16px;overflow:auto}.medalContents{width:min(600px,100%);max-height:100%;overflow:auto;border:1px solid #a8c8d663;background:linear-gradient(155deg,#183746,#101f2a);border-radius:18px;padding:24px;color:#e9f5fa;box-shadow:0 20px 60px #0008}.medalTop{display:flex;align-items:center;justify-content:space-between;gap:12px}.medalTop h2{margin:0;font-size:clamp(19px,3.2vw,28px);color:#ffe0a4}.medalTop button{background:#294857;color:white;border:1px solid #719aaa;border-radius:10px;padding:10px 14px;cursor:pointer}.medalContents p{line-height:1.5;color:#d1dfe8}.medalList{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.medal{border:1px solid #647e8a80;border-radius:12px;padding:13px;background:#102631;color:#eaf5fb}.medal.locked{opacity:.6;filter:grayscale(.7)}.medal strong{display:block;font-size:15px}.medal small{display:block;margin-top:6px;font-size:12px;color:#b9cbd3}.medal .meter{height:5px;border-radius:6px;background:#526271;margin-top:10px;overflow:hidden}.medal .meter b{display:block;height:100%;background:#ffd071;border-radius:6px}@media(max-width:560px){.medalList{grid-template-columns:1fr}.medalContents{padding:15px}}

/* V12 illustration, responsive modal and visual polish */
.menuArtwork{display:block;width:100%;max-height:230px;object-fit:cover;object-position:center 35%;border-radius:14px;border:2px solid #ad7f44;box-shadow:0 12px 30px #0008;margin-bottom:12px}.panel{max-height:93vh;overflow-y:auto;scrollbar-width:thin}.panelLogo{max-height:55px}button:focus-visible{outline:3px solid #ffca69;outline-offset:2px}@media(max-width:600px){.menuArtwork{max-height:155px}.panel{padding:14px!important}.top nav{flex-wrap:wrap}}
