
/* Layout: tek sütun oyun masası (üst gezinme, seviye/zorluk seçici, ızgara, harf klavyesi); Profil ve Yönetim aynı sütunda sekme olarak */
:root {
  --bg: #e9edf2;
  --surface: #ffffff;
  --ink: #17202b;
  --muted: #5a6676;
  --line: #c9d0da;
  --box: #17202b;
  --accent: #2554c7;
  --accent-soft: #dbe4fb;
  --peer: #eef2f8;
  --same: #c7d6fb;
  --diag: #fbefcf;
  --diag-strong: #e2a91a;
  --err: #c42b37;
  --err-soft: #fbe1e3;
  --ok: #1f8a4c;
  --ok-soft: #dcf2e4;
  --t1: #f3f6fb; --t2: #eaf3ee; --t3: #f6eff7; --t4: #f5f1e8;
  --shadow: 0 1px 2px rgb(23 32 43 / .06), 0 8px 24px rgb(23 32 43 / .08);
  --f-display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-cell: "Rubik", "Figtree", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f141a; --surface: #18202a; --ink: #e5eaf1; --muted: #93a0b1; --line: #334050; --box: #c9d3e0;
    --accent: #7ea0ff; --accent-soft: #24345a; --peer: #1f2935; --same: #2d4270; --diag: #3a3220; --diag-strong: #f0bf45;
    --err: #ff6b76; --err-soft: #4a2127; --ok: #4fce85; --ok-soft: #1c3a29;
    --t1: #1a2330; --t2: #19281f; --t3: #261d2a; --t4: #28241b;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px rgb(0 0 0 / .35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f141a; --surface: #18202a; --ink: #e5eaf1; --muted: #93a0b1; --line: #334050; --box: #c9d3e0;
  --accent: #7ea0ff; --accent-soft: #24345a; --peer: #1f2935; --same: #2d4270; --diag: #3a3220; --diag-strong: #f0bf45;
  --err: #ff6b76; --err-soft: #4a2127; --ok: #4fce85; --ok-soft: #1c3a29;
  --t1: #1a2330; --t2: #19281f; --t3: #261d2a; --t4: #28241b;
  --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px rgb(0 0 0 / .35);
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 15px; line-height: 1.45; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 2px; }

.app { max-width: 580px; margin: 0 auto; padding: 16px 16px 40px; display: flex; flex-direction: column; gap: 14px; }
.app.wide { max-width: 980px; }
.admin-badge, .admin-exit { display: none; }
.admin-mode .admin-badge { display: inline-block; margin-left: 10px; font-family: var(--f-body); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--surface); background: var(--ink); padding: 4px 9px; border-radius: 6px; vertical-align: middle; }
.admin-mode .admin-exit { display: inline-block; }
.admin-mode .nav, .admin-mode #announce, .admin-mode #joinBanner { display: none !important; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.logo { font-family: var(--f-display); font-weight: 800; font-size: 30px; letter-spacing: -.02em; line-height: 1; margin: 0; }
.logo span { color: var(--diag-strong); }
.nav { display: flex; gap: 4px; background: var(--surface); padding: 4px; border-radius: 999px; box-shadow: var(--shadow); }
.nav button { border: 0; background: transparent; padding: 6px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--muted); cursor: pointer; }
.nav button[aria-pressed="true"] { background: var(--ink); color: var(--surface); }
.who { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.who img { width: 20px; height: 20px; border-radius: 50%; }

.banner { background: var(--accent-soft); color: var(--ink); border-radius: 12px; padding: 10px 14px; font-size: 13.5px; display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.banner.warn { background: var(--diag); }
.banner.bad { background: var(--err-soft); }

.picker { display: flex; flex-direction: column; gap: 8px; }
.seg { display: flex; gap: 4px; flex-wrap: wrap; }
.seg button { border: 1px solid var(--line); background: var(--surface); padding: 6px 11px; border-radius: 10px; font-size: 13px; font-weight: 600; cursor: pointer; font-variant-numeric: tabular-nums; }
.seg button small { display: block; font-size: 10.5px; color: var(--muted); font-weight: 600; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.seg button[aria-pressed="true"] small { color: inherit; opacity: .75; }
.seg button:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }

.stats { display: flex; align-items: center; gap: 8px 10px; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.stats .tools-r { display: flex; gap: 6px; margin-left: auto; }
.stat { display: flex; align-items: baseline; gap: 6px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.stat b { color: var(--ink); font-size: 15px; font-weight: 700; }
.stats .spacer { flex: 1; }
.pill { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.pill.icon { padding: 5px 9px; display: grid; place-items: center; }
.pill svg { width: 16px; height: 16px; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; fill: none; }
.pill:disabled { opacity: .4; }
.pill.icon[aria-pressed="false"] svg { stroke: var(--muted); }

.board-wrap { position: relative; }
.board {
  display: grid; aspect-ratio: 1; width: 100%; max-width: 100%;
  background: var(--surface); border: 2.5px solid var(--box); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow);
  user-select: none; -webkit-user-select: none; touch-action: manipulation;
}
.cell {
  position: relative; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--surface); padding: 0; cursor: pointer; display: grid; place-items: center; min-width: 0; min-height: 0;
  font-family: var(--f-cell); font-size: var(--cell-fs, 32px); font-weight: 500; color: var(--accent);
  transition: background-color .12s;
}
.cell.bR { border-right: 2.5px solid var(--box); }
.cell.bB { border-bottom: 2.5px solid var(--box); }
.cell.lastC { border-right: 0; }
.cell.lastR { border-bottom: 0; }
.cell.tint1 { background: var(--t1); } .cell.tint2 { background: var(--t2); } .cell.tint3 { background: var(--t3); } .cell.tint4 { background: var(--t4); }
.cell.diag { background: var(--diag); }
.cell.peer { background: var(--peer); }
.cell.diag.peer { background: color-mix(in srgb, var(--diag) 70%, var(--peer)); }
.cell.same { background: var(--same); }
.cell.sel { background: var(--accent-soft); box-shadow: inset 0 0 0 2.5px var(--accent); }
.cell.given { color: var(--ink); font-weight: 600; }
.cell.revealed { color: var(--diag-strong); font-weight: 600; }
.cell.wrong { color: var(--err); background: var(--err-soft); }
.cell.wrong.sel { box-shadow: inset 0 0 0 2.5px var(--err); }
.cell.diag::after { content: ""; position: absolute; left: 4px; top: 4px; width: 5px; height: 5px; border-radius: 50%; background: var(--diag-strong); opacity: .7; }
.notes { position: absolute; inset: 2px; display: grid; font-size: var(--note-fs, 12px); color: var(--muted); font-weight: 500; line-height: 1; }
.notes span { display: grid; place-items: center; }
.cell.flash { animation: flash .6s ease; }
@keyframes flash { 0% { box-shadow: inset 0 0 0 0 var(--ok); } 35% { box-shadow: inset 0 0 0 3px var(--ok); background: var(--ok-soft); } 100% { box-shadow: inset 0 0 0 0 var(--ok); } }
.cell.win { animation: win .55s ease both; }
@keyframes win { 0% { transform: scale(1); } 45% { transform: scale(1.14); background: var(--diag-strong); color: var(--surface); } 100% { transform: scale(1); background: var(--diag-strong); color: var(--surface); } }
.cell.win.done { background: var(--diag-strong); color: var(--surface); }

.overlay { position: absolute; inset: 0; border-radius: 10px; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 20px; text-align: center; }
.overlay .box { display: flex; flex-direction: column; gap: 12px; align-items: center; max-width: 340px; }
.overlay h2 { font-family: var(--f-display); font-size: 26px; margin: 0; text-wrap: balance; }
.overlay p { margin: 0; color: var(--muted); }
.row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }

.btn { border: 0; border-radius: 10px; padding: 10px 16px; font-weight: 700; cursor: pointer; background: var(--ink); color: var(--surface); }
.btn.alt { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.accent { background: var(--accent); color: #fff; }
.btn.sm { padding: 6px 10px; font-size: 13px; border-radius: 8px; }
.btn.danger { background: var(--err-soft); color: var(--err); }
.btn:disabled { opacity: .45; cursor: not-allowed; }

.keys { display: grid; gap: 7px; }
.key {
  position: relative; border: 0; border-radius: 10px; background: var(--surface); box-shadow: var(--shadow), inset 0 -2px 0 var(--line);
  height: clamp(44px, 12vw, 58px); font-family: var(--f-cell); font-size: clamp(19px, 5.4vw, 26px); font-weight: 600; cursor: pointer; min-width: 0;
}
.key small { position: absolute; right: 6px; bottom: 3px; font-family: var(--f-body); font-size: 10.5px; color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.key.full { opacity: .3; }
.key:active { transform: translateY(1px); }
.keys.notes-on .key { background: var(--accent-soft); }

.tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.tool { border: 0; background: transparent; border-radius: 10px; padding: 8px 4px; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 12.5px; font-weight: 600; color: var(--muted); cursor: pointer; }
.tool svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tool:hover { background: var(--surface); }
.tool[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent); }
.tool[aria-pressed="true"] svg { stroke: var(--accent); }
.tool:disabled { opacity: .4; cursor: not-allowed; }

.card { background: var(--surface); border-radius: 14px; padding: 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.card h3 { margin: 0; font-size: 15px; font-weight: 700; }
.card p { margin: 0; }
.muted { color: var(--muted); font-size: 13px; }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; }
.field { flex: 1; min-width: 160px; border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 12px; background: var(--bg); color: var(--ink); }
.auth-btns { display: grid; gap: 10px; margin: 6px 0 4px; }
.auth-btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; border-radius: 12px; border: 0; font-weight: 700; font-size: 15px; cursor: pointer; padding: 0 16px; }
.auth-btn svg { width: 20px; height: 20px; flex: none; }
.auth-btn.apple { background: #000; color: #fff; }
.auth-btn.google { background: #fff; color: #1f1f1f; box-shadow: inset 0 0 0 1.5px #747775; }
.auth-btn.facebook { background: #1877f2; color: #fff; }
:root[data-theme="dark"] .auth-btn.apple { background: #fff; color: #000; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .auth-btn.apple { background: #fff; color: #000; } }
.auth-or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; margin: 8px 0 2px; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.small { font-size: 12.5px; }
.proto-note { font-size: 12.5px; color: var(--muted); border-left: 3px solid var(--line); padding: 2px 0 2px 10px; margin: 8px 0 0; }
.ad-slot { height: 50px; width: 100%; max-width: 320px; box-sizing: border-box; margin: 6px auto; border: 1.5px dashed var(--line); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 12px; letter-spacing: .03em; }
.ad-slot.rect { height: 250px; max-width: 300px; margin-top: 14px; }
.no-ads .ad-slot, .in-game.no-ads .ad-slot { display: none; }
.ad-video .ad-screen { aspect-ratio: 16/9; border-radius: 10px; background: repeating-linear-gradient(135deg, var(--peer) 0 14px, var(--surface) 14px 28px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; margin: 6px 0 10px; color: var(--ink); font-weight: 700; text-align: center; padding: 8px; }
.ad-video .ad-screen small { font-weight: 400; color: var(--muted); }
.ad-video .row { justify-content: space-between; margin-top: 10px; flex-wrap: nowrap; }
.ad-video .row .btn { flex: none; }
.tool.ad #hintCount { color: var(--accent); }
.site-footer { margin: 28px 0 8px; text-align: center; font-size: 12.5px; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; margin-bottom: 6px; }
.site-footer a, .info-page a { color: var(--accent); }
.in-game .site-footer { display: none; }
.info-nav { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0 10px; scrollbar-width: none; }
.info-nav button { flex: none; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 6px 12px; font-weight: 600; font-size: 13px; cursor: pointer; }
.info-nav button[aria-pressed="true"] { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.info-page h2 { font-family: var(--f-display); font-size: 26px; margin: 0 0 8px; }
.info-page h3 { margin: 16px 0 4px; font-size: 16px; }
.info-page p, .info-page li { line-height: 1.6; }
.info-page ul, .info-page ol { padding-left: 20px; margin: 4px 0; }
.info-page .toggle { margin: 8px 0; }
mark.ph { background: #fde68a; color: #4a3a00; border-radius: 4px; padding: 0 3px; }
.contact-dl { display: grid; gap: 8px; margin: 10px 0 16px; }
.contact-dl dt { font-size: 12px; color: var(--muted); }
.contact-dl dd { margin: 0; font-weight: 600; }
.card-inner { display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 12px; }
.card-inner .field { width: 100%; box-sizing: border-box; font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.card.welcome { border: 2px solid var(--accent); }
.seo-intro { margin-top: 18px; }
.seo-intro h3 { font-size: 16px; margin: 12px 0 4px; }
.seo-intro p { color: var(--muted); line-height: 1.6; margin: 0 0 6px; }
.seo-intro a { color: var(--accent); }
.msg { font-size: 13.5px; margin: 0; min-height: 1em; }
.msg.bad { color: var(--err); }
.msg.good { color: var(--ok); }

.result .word { font-family: var(--f-display); font-weight: 800; font-size: clamp(30px, 8vw, 40px); letter-spacing: .06em; line-height: 1; margin: 0; overflow-wrap: anywhere; }
.eyebrow { font-size: 12px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; font-weight: 700; margin: 0; }
.tiles-dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; margin: 0; }
.tiles-dl div { background: var(--bg); border-radius: 10px; padding: 8px 10px; }
.tiles-dl dt { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.tiles-dl dd { margin: 0; font-weight: 700; font-size: 20px; font-variant-numeric: tabular-nums; }
.tiles-dl .hi dd { color: var(--accent); }

details { background: var(--surface); border-radius: 12px; padding: 10px 14px; box-shadow: var(--shadow); }
summary { cursor: pointer; font-weight: 700; font-size: 14px; }
details > div { padding-top: 8px; font-size: 13.5px; color: var(--muted); display: flex; flex-direction: column; gap: 8px; }
details ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
.toggle { display: flex; align-items: center; gap: 10px; color: var(--ink); cursor: pointer; }
.toggle input { width: 18px; height: 18px; accent-color: var(--accent); }
.info { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; margin: 0; }
kbd { font-family: var(--f-body); font-size: 11.5px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; padding: 0 5px; color: var(--ink); }

.tbl-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 13px; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; }
td.num, th.num { text-align: right; }
.wrap-tbl td:first-child { white-space: normal; }
tr.group td { background: var(--bg); font-weight: 700; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.chip.ok { background: var(--ok-soft); color: var(--ok); }
.chip.bad { background: var(--err-soft); color: var(--err); }
.chip.idle { background: var(--bg); color: var(--muted); }
.person { display: flex; align-items: center; gap: 8px; min-width: 0; }
.person img { width: 26px; height: 26px; border-radius: 50%; flex: none; }
.person b { display: block; font-size: 13.5px; }
.person span { font-size: 12px; color: var(--muted); }
.bar-wrap { position: relative; }
.chart-tip { position: absolute; pointer-events: none; background: var(--ink); color: var(--surface); font-size: 12px; padding: 4px 8px; border-radius: 6px; white-space: nowrap; transform: translate(-50%, -110%); font-variant-numeric: tabular-nums; }
.words { display: flex; flex-wrap: wrap; gap: 6px; }
.words span, .words .word-chip { color: var(--ink); background: var(--diag); border-radius: 7px; padding: 3px 8px; font-family: var(--f-cell); font-weight: 600; font-size: 14px; letter-spacing: .04em; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.setting-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: space-between; }
.num-in { width: 64px; border: 1.5px solid var(--line); border-radius: 8px; padding: 5px 8px; background: var(--bg); text-align: center; }
.goals { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.goal { display: flex; flex-direction: column; gap: 5px; }
.goal-top { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.goal-top b { color: var(--diag-strong); font-variant-numeric: tabular-nums; white-space: nowrap; }
.meter { height: 8px; background: var(--bg); border-radius: 999px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.goal.done .meter i { background: var(--ok); }
.goal .muted { font-size: 12px; font-variant-numeric: tabular-nums; }
.board-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.board-list li { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.board-list li.me { background: var(--accent-soft); border-radius: 8px; }
.board-list .rank { font-family: var(--f-display); font-weight: 800; font-size: 18px; text-align: center; color: var(--muted); font-variant-numeric: tabular-nums; }
.board-list .podium .rank { color: var(--ink); }
.board-list .p1 .rank { color: var(--diag-strong); }
.board-list .who-cell { display: flex; flex-direction: column; min-width: 0; }
.board-list .who-cell b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-list .who-cell .muted { font-size: 12px; }
.board-list .val { font-weight: 700; font-variant-numeric: tabular-nums; }
.seg button { position: relative; }
.seg button.has-save::after { content: ""; position: absolute; top: 4px; right: 4px; width: 8px; height: 8px; border-radius: 50%; background: var(--diag-strong); box-shadow: 0 0 0 2px var(--surface); }
.chip.warn { background: var(--diag); color: var(--ink); }
.card.pending { background: color-mix(in srgb, var(--diag) 55%, var(--surface)); box-shadow: var(--shadow), inset 0 0 0 1.5px var(--diag-strong); }
.pending-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pending-row { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--surface); border-radius: 10px; padding: 10px 12px; }
.pending-main { display: flex; flex-direction: column; gap: 5px; min-width: 0; flex: 1 1 200px; }
.pending-main .meter i { background: var(--diag-strong); }
.pending-main .muted { font-size: 12px; font-variant-numeric: tabular-nums; }
.pending-act { display: flex; gap: 6px; }
.coach { background: var(--surface); border-radius: 14px; box-shadow: var(--shadow), inset 0 0 0 2px var(--accent); padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.coach[hidden] { display: none; }
.coach h3 { margin: 0; font-family: var(--f-display); font-size: 18px; }
.coach p { margin: 0; font-size: 15px; line-height: 1.45; }
.coach .row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-start; }
.coach-dots { display: inline-flex; gap: 5px; }
.coach-dots i { width: 22px; height: 5px; border-radius: 3px; background: var(--line); }
.coach-dots i.on { background: var(--accent); }
.coach-msg { color: var(--err); font-weight: 600; }
.cell.coach { box-shadow: inset 0 0 0 3px var(--accent); animation: coachPulse 1.4s ease-in-out infinite; z-index: 1; }
.cell.coach-u { background: var(--accent-soft); }
.tool.coach { box-shadow: 0 0 0 3px var(--accent); animation: coachPulse 1.4s ease-in-out infinite; }
@keyframes coachPulse { 50% { box-shadow: inset 0 0 0 3px var(--accent), 0 0 0 4px color-mix(in srgb, var(--accent) 35%, transparent); } }
@media (prefers-reduced-motion: reduce) { .cell.coach, .tool.coach { animation: none; } }
.cell.coach-b { box-shadow: inset 0 0 0 3px var(--diag-strong); }
.hintcard { box-shadow: var(--shadow), inset 0 0 0 2px var(--diag-strong); }
.hintcard .eyebrow { margin: 0; }
.hint-pre { margin: 0; padding-left: 20px; font-size: 14px; display: flex; flex-direction: column; gap: 4px; }
.daily-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: var(--surface); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow), inset 4px 0 0 var(--accent); }
.daily-card[hidden] { display: none; }
.daily-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.daily-main .muted { font-size: 13px; }
.daily-streak { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--diag); color: var(--ink); letter-spacing: 0; text-transform: none; }
.daily-done { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 12px; background: var(--accent-soft); }
.daily-done p { margin: 0; }
.nav-badge { display: inline-block; margin-left: 4px; padding: 0 6px; border-radius: 999px; font-size: 11px; font-weight: 700; background: var(--diag); color: var(--ink); vertical-align: 1px; }
.nav-badge.full { background: var(--ok-soft); color: var(--ok); }
.col-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.col-row { display: flex; flex-direction: column; gap: 4px; }
.col-top { display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; font-size: 13px; }
.col-top .muted { font-size: 12px; }
.word-chip { border: 0; cursor: pointer; font: inherit; }
.word-chip[aria-pressed="true"] { outline: 2px solid var(--accent); }
.word-meaning { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--accent-soft); }
.keys.dense .key { font-size: clamp(15px, 4.2vw, 22px); padding-block: 8px; }
.seg .master-note { border-style: dashed; color: var(--muted); font-weight: 600; background: transparent; }
.seg .master-note b { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-left: 4px; border-radius: 50%; background: var(--line); color: var(--ink); font-size: 12px; }
.master-rules { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; color: var(--ink); font-size: 15px; }
/* ---- Yeniden düzen: ana sayfa, sade oyun ekranı, ayarlar ---- */
.tab { display: flex; flex-direction: column; gap: 14px; }
.logo-btn { all: unset; cursor: pointer; }
.logo-btn:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.nav-icon { display: grid; place-items: center; padding: 6px 9px !important; }
.nav svg, .icon-btn svg, .stat svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.in-game .top, .in-game #announce, .in-game #joinBanner { display: none !important; }
.in-game .app { padding-top: 10px; gap: 10px; }
.sec-title { font-family: var(--f-display); font-size: 19px; margin: 0; }
.sec-sub { margin: -4px 0 0; font-size: 13.5px; }
.size-grid { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.size-grid button { padding: 12px 6px; font-size: 17px; font-weight: 700; text-align: center; border-radius: 12px; }
.size-grid button small { font-size: 11.5px; margin-top: 2px; }
.tier-row { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; border-top: 1px solid var(--line); }
.tier-row button[data-tier] { flex: 1 1 0; min-width: 72px; padding: 11px 8px; font-size: 15px; border-radius: 12px; background: var(--accent); color: #fff; border-color: var(--accent); }
.tier-row button[data-tier][aria-pressed="true"] { background: var(--accent); color: #fff; }
.tier-row .master-note { flex-basis: 100%; }
.continue-card { display: flex; align-items: center; gap: 12px; background: var(--surface); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow), inset 4px 0 0 var(--diag-strong); }
.continue-card[hidden] { display: none; }
.continue-card .cc-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.continue-card .meter { height: 6px; }
.link-btn { align-self: center; border: 0; background: none; color: var(--accent); font-weight: 600; cursor: pointer; padding: 6px; text-decoration: underline; text-underline-offset: 3px; }
.gamebar { position: relative; display: flex; align-items: center; gap: 6px; }
.gb-title { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.gb-title b#gameTitle { font-family: var(--f-display); font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.gb-stats { display: flex; gap: 14px; }
.gb-stats .stat { gap: 4px; align-items: center; }
.gb-stats .stat svg { width: 14px; height: 14px; }
.gb-stats .stat b { font-size: 14px; }
.icon-btn { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; flex: none; }
.icon-btn svg { width: 20px; height: 20px; stroke-width: 2.2; }
.icon-btn:disabled { opacity: .4; }
.game-menu { position: absolute; right: 0; top: 48px; z-index: 30; min-width: 220px; background: var(--surface); border-radius: 14px; box-shadow: var(--shadow), 0 0 0 1px var(--line); padding: 6px; display: flex; flex-direction: column; }
.game-menu[hidden] { display: none; }
.game-menu button { text-align: left; border: 0; background: none; padding: 11px 12px; border-radius: 9px; font-weight: 600; cursor: pointer; color: var(--ink); }
.game-menu button:hover, .game-menu button:focus-visible { background: var(--peer); }
.game-menu .info { margin: 4px 12px 6px; font-size: 11.5px; }
.play-area { display: flex; flex-direction: column; gap: 12px; }
.setting-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.theme-seg { display: inline-flex; gap: 4px; }
.card > .toggle { padding: 4px 0; }
body.big-letters .cell { font-size: calc(var(--cell-fs, 32px) * 1.18); }
body.big-letters .key { font-size: 1.15em; }
body.no-timer #timeStat { display: none; }
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: color-mix(in srgb, #000 45%, transparent); }
.modal[hidden] { display: none; }
.modal-box { background: var(--surface); border-radius: 16px; box-shadow: var(--shadow); padding: 22px 20px; max-width: 380px; width: 100%; display: flex; flex-direction: column; gap: 10px; }
.modal-box h2 { font-family: var(--f-display); font-size: 21px; margin: 0; line-height: 1.2; }
.modal-box p { margin: 0; color: var(--muted); font-size: 15px; }
.modal-box .row { display: flex; gap: 8px; flex-wrap: wrap; }
.modal-box .row .btn { flex: 1 1 auto; }
.slots { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 10px 0; padding: 10px 14px; border-radius: 10px; background: var(--diag); font-size: 14px; }
.slots b { font-size: 20px; font-variant-numeric: tabular-nums; }
.slots.full { background: var(--err-soft); color: var(--err); }
.modal-box p.warn-line { color: var(--err); font-size: 14px; }
.ask-off { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); margin: 2px 0 6px; }
.pending-head { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.toast { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--surface); padding: 9px 16px; border-radius: 10px; font-weight: 600; font-size: 13.5px; box-shadow: var(--shadow); z-index: 10; }

@media (prefers-reduced-motion: reduce) { .cell.flash { animation: none; } .cell.win { animation: none; background: var(--diag-strong); color: var(--surface); } .cell { transition: none; } }

.proto-note,.ad-slot,.nav [data-tab="week"]{display:none!important}
