:root{color-scheme:dark;font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;background:#0c1425;color:#f3f7ff;font-synthesis:none;-webkit-text-size-adjust:100%;text-size-adjust:100%}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth}
body{margin:0;min-width:280px;min-height:100vh;min-height:100dvh;background:radial-gradient(ellipse at 12% 5%,#23385c 0%,transparent 45%),radial-gradient(ellipse at 96% 65%,#1a3045 0%,transparent 42%),#0c1425}
button,input{font:inherit}
button{cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
button:disabled{opacity:.55;cursor:not-allowed}
button:focus-visible,input:focus-visible{outline:2px solid #72f2b8;outline-offset:2px}
input{font-size:16px}
.page{width:min(100%,920px);margin:auto;padding:24px max(20px,env(safe-area-inset-right)) 18px max(20px,env(safe-area-inset-left));min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
.site-header,.brand,.topline,.players,.join-line,.questionhead,.timerline{display:flex;align-items:center;justify-content:space-between}
.site-header{padding-bottom:30px}.brand{justify-content:flex-start;gap:12px}.brand-icon{width:44px;height:44px;border:1px solid #6f91b8;border-radius:13px;display:grid;place-items:center;background:#213754;color:#d5edff;font-weight:900;font-size:19px;flex:none}.brand-icon span{font-size:10px}.brand b{display:block;font-size:14px;letter-spacing:2px}.brand small{display:block;color:#91a4c0;font-size:11px;margin-top:4px}.level{color:#a5e7c5;border:1px solid #346652;border-radius:30px;padding:9px 14px;letter-spacing:1px;font-size:11px;font-weight:800;white-space:nowrap}
main{flex:1}.welcome{display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:center}.hero .eyebrow{color:#61dca6;letter-spacing:2.5px;font-size:11px;font-weight:800}.hero h1{font-size:clamp(37px,5vw,58px);letter-spacing:-2px;line-height:1.1;margin:21px 0}.hero em{font-style:normal;color:#6be8b0}.hero p{font-size:15px;line-height:1.85;color:#aebed5;max-width:370px}.hero-facts{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px}.hero-facts span{border:1px solid #2f4b65;border-radius:20px;padding:7px 10px;color:#b9d8eb;font-size:11px}
.panel{background:linear-gradient(145deg,#1b2b44,#152138);border:1px solid #32445e;border-radius:22px;padding:25px;box-shadow:0 22px 80px #03091250}.entry label,.section-label,.tiny{font-size:10px;letter-spacing:1.8px;font-weight:800;color:#90a8c7}
.entry input,.word-entry input,.link-input{width:100%;background:#0e1a2d;border:1px solid #3b4e69;outline:0;border-radius:11px;padding:14px;color:white}.entry input{margin-top:9px}.entry input:focus,.word-entry input:focus{border-color:#6eeab0}.section-label{margin:23px 0 12px}.modes{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mode{min-height:56px;text-align:left;border-radius:10px;border:1px solid #394c66;background:#152239;color:#c8d5e9;padding:11px 10px;font-size:13px}.mode span{margin-left:3px}.mode.selected{background:#163d37;border-color:#58d8a0;color:#a1f9cd}.mode:first-child{grid-column:span 2}.primary{border:0;border-radius:11px;background:#62e7aa;color:#092d26;font-weight:850;padding:15px 18px;min-height:50px}.primary:hover{background:#8cf6c3}.full{width:100%;display:flex;justify-content:space-between;margin-top:18px}.separator{text-align:center;color:#8ea2bd;font-size:10px;letter-spacing:1.6px;margin:21px 0 13px}.join-line{gap:8px}.join-line input{margin:0;min-width:0;flex:1;text-transform:uppercase;letter-spacing:1px}.secondary{border:1px solid #46617b;color:#dbeaff;border-radius:11px;padding:14px;background:#24334e;font-weight:700;min-height:50px}.secondary:hover{background:#304768}
footer{display:flex;justify-content:space-between;gap:8px;color:#7d91ac;font-size:9px;letter-spacing:1.4px;margin-top:28px;padding-top:18px;border-top:1px solid #293a53}
#game{max-width:690px;margin:auto}.topline{background:#17263d;border:1px solid #334762;border-radius:13px;padding:12px 17px;margin-bottom:14px;gap:8px}.topline strong{display:block;font-size:22px;letter-spacing:5px;margin-top:3px;user-select:all}.top-actions{display:flex;flex-direction:column;align-items:flex-end;gap:3px}.connection{color:#8ceac1;font-size:11px}.connection.disconnected{color:#ffafb3}.text-button{background:transparent;border:0;color:#a9bad4;padding:5px 0;font-size:12px;text-decoration:underline;min-height:28px}
.players{gap:10px;margin:12px 0 15px}.player{flex:1;min-width:0;border-radius:16px;background:#1b2b44;border:1px solid #38506d;padding:14px}.player.mine{border-color:#6bdda9}.player .pname{font-size:14px;font-weight:800;overflow-wrap:anywhere}.player .score{font-size:27px;font-weight:900;margin-top:4px;color:#7be7b2}.player .status{font-size:11px;color:#a9b9d0;margin-top:3px}.versus{font-size:12px;font-weight:900;color:#879ab5}
.center{text-align:center;padding:34px 24px}.center h2{margin:12px 0;font-size:26px}.center p{color:#b4c3d9;line-height:1.55}.center small{display:block;color:#8ea4c0;margin-top:15px}.bigemoji{font-size:42px}.link-label{display:block;text-align:left;margin:20px 0 8px}.link-input{font-size:13px;text-overflow:ellipsis;cursor:text}.invite-actions{display:flex;gap:8px;margin-top:10px}.invite-actions>button{flex:1}.network-help{font-size:12px!important;color:#e0c794!important;margin:14px 0 0}.start{display:block;margin:18px auto 0}
.progressbar{height:6px;background:#2b3d56;overflow:hidden;border-radius:9px;margin:20px 0 14px}.progressbar div{height:100%;width:0;background:#5ce9ae;transition:width .3s}.questionhead{font-size:11px;color:#9db3ce;letter-spacing:1.5px;font-weight:800;margin:0 3px 10px}#typeChip{color:#78efb6}.question-panel{text-align:center}.timerline{color:#a4b6d0;letter-spacing:1.5px;font-size:11px}.timerline strong{font-size:24px;letter-spacing:0;color:#78eeb5;font-variant-numeric:tabular-nums}.timer-track{height:4px;background:#33435b;border-radius:10px;overflow:hidden;margin-top:8px}.timer-track>div{height:100%;width:100%;background:#7beab7;transition:width .1s linear}.question-panel h2{font-size:clamp(28px,6vw,44px);margin:28px 0 10px;overflow-wrap:anywhere;line-height:1.18;letter-spacing:-.5px}.question-panel p{color:#b7c8e1;font-size:14px;margin:0 0 24px;line-height:1.55}.choices{display:grid;grid-template-columns:1fr 1fr;gap:10px}.choices.three{grid-template-columns:repeat(3,minmax(0,1fr))}.choices button{background:#263955;border:1px solid #47617e;color:#eef4ff;padding:13px 9px;border-radius:12px;min-height:62px;font-weight:760;font-size:17px;overflow-wrap:anywhere;word-break:normal}.choices button:active:not(:disabled){transform:scale(.98)}.choices button.correct{border-color:#48e5a4;background:#185646}.choices button.wrong{border-color:#e87c83;background:#63323d}.choices button.selected{border-color:#87c4ff;background:#254e78}
.word-entry{display:flex;gap:9px;align-items:flex-start}.type-wrap{flex:1;min-width:0}.word-entry input{width:100%;margin:0;min-height:52px}.word-entry .primary{flex:none}.umlaut{display:flex;justify-content:flex-start;gap:7px;margin-top:9px}.umlaut button{border:1px solid #50647c;background:#283b54;color:#f5f8ff;border-radius:9px;min-width:41px;min-height:43px;font-size:18px;font-weight:700}.umlaut button:disabled{opacity:.45}.feedback{min-height:20px;padding-top:17px;font-size:14px;line-height:1.45;font-weight:750;color:#8beac0;overflow-wrap:anywhere}.feedback.bad{color:#ffb8bd}.tip{text-align:center;color:#91a7c2;font-size:12px;margin-top:12px}.error{color:#ffafb3;text-align:center;font-size:13px;min-height:20px;margin-top:14px;line-height:1.4}.results #finalScores{font-size:19px;overflow-wrap:anywhere}
@media(max-width:720px){.page{padding:16px max(13px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(13px,env(safe-area-inset-left))}.welcome{grid-template-columns:1fr;gap:16px}.hero h1{font-size:36px;margin:11px 0}.hero p{max-width:none;line-height:1.55;margin:10px 0}.hero-facts{margin-top:12px}.site-header{padding-bottom:18px}.panel{padding:18px}.brand b{font-size:12px}.brand small{font-size:10px}footer span{display:none}.player{padding:12px}.player .score{font-size:24px}.question-panel h2{margin-top:20px}.question-panel p{margin-bottom:20px}}
@media(max-width:390px){.page{padding-top:12px}.site-header{padding-bottom:14px}.brand b{letter-spacing:1px}.brand small{font-size:9px}.level{font-size:10px;padding:7px 10px}.panel{padding:14px;border-radius:17px}.hero h1{font-size:32px}.mode{font-size:12px;min-height:50px}.topline{padding:9px 11px}.topline strong{font-size:20px}.player{padding:9px}.player .pname{font-size:12px}.player .score{font-size:22px}.player .status{font-size:10px}.choices{gap:8px}.choices button{min-height:58px;padding:10px 6px;font-size:15px}.question-panel h2{font-size:29px;margin:16px 0 8px}.question-panel p{font-size:13px;margin-bottom:16px}.progressbar{margin:14px 0 11px}.word-entry{flex-wrap:wrap}.word-entry .type-wrap{flex-basis:100%}.word-entry .primary{width:100%}.umlaut button{min-height:40px}.feedback{padding-top:12px}}
@media(max-height:670px) and (max-width:720px){.site-header{padding-bottom:10px}.player{padding:8px 10px}.players{margin:8px 0}.player .score{font-size:21px}.question-panel h2{margin-top:13px}.question-panel p{margin-bottom:14px}.choices button{min-height:53px}.tip{margin-top:8px}}
@media(orientation:landscape) and (max-height:520px){.site-header{padding-bottom:10px}.players{margin:6px 0}.player{padding:8px}.player .score{font-size:20px}.question-panel h2{margin:14px 0 7px}.progressbar{margin:10px 0}.question-panel p{margin-bottom:10px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* v1.2 — yalnızca yetkili iki oyuncuya özel giriş */
.header-identity{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end}
.auth-name{font-size:11px;color:#a9f1cb;font-weight:750}
.auth-screen{min-height:60vh;display:grid;place-items:center;padding:20px 0}
.auth-panel{width:100%;max-width:430px;text-align:center;padding:32px}
.auth-lock{font-size:45px;margin-bottom:6px}
.auth-panel h1{margin:12px 0;font-size:clamp(30px,6vw,42px);line-height:1.2}
.auth-panel h1 em{font-style:normal;color:#73e7ad}
.auth-panel>p{font-size:14px;line-height:1.65;color:#afc2d9}
.auth-form{display:grid;gap:10px;margin-top:22px;text-align:left}
.auth-form label{font-size:11px;letter-spacing:1.2px;font-weight:800;color:#a9bcd2;margin-top:6px}
.auth-form select{display:block;width:100%;min-height:52px;border-radius:12px;padding:0 14px;background:#1e304c;border:1px solid #465d79;color:#f0f7ff;font:inherit;font-size:16px}
.auth-form select:focus-visible,.auth-form input:focus-visible{outline:2px solid #72e8b0;outline-offset:2px}
.auth-form .primary{margin-top:12px}
.auth-error{min-height:22px;margin:1px 0;color:#ffb8bd;font-size:13px;text-align:center}
.auth-panel small{display:block;margin-top:18px;color:#8fa7c0;line-height:1.5}
@media(max-width:390px){.auth-panel{padding:20px 16px}.header-identity{gap:5px}.header-identity .text-button{font-size:11px}.auth-name{font-size:10px}}
