/*
 * Oyunlar ve günlük kelime testi (templates/games/*, templates/vocab/daily.html, league.html).
 * Renkler app.css belirteçlerinden; seviye, rütbe ve takım renkleri burada sabit.
 */

/* ─── Ortak: seviye ve rütbe renkleri ─────────────────────────────────────── */
.dq-level--a1 { --lv: #16a34a; }
.dq-level--a2 { --lv: #0d9488; }
.dq-level--b1 { --lv: #2563eb; }
.dq-level--b2 { --lv: #4f46e5; }
.dq-level--c1 { --lv: #9333ea; }
.dq-level--c2 { --lv: #dc2626; }
.dq-chip {
    display: inline-flex; align-items: center; justify-content: center; min-width: 30px; padding: 2px 8px;
    border-radius: 999px; background: color-mix(in srgb, var(--lv, var(--primary)) 14%, transparent);
    color: var(--lv, var(--primary)); font-size: 12px; font-weight: 700; letter-spacing: .02em;
}
.tier-pill {
    display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 999px;
    font-size: 12px; font-weight: 700; color: #10264a; background: var(--tier, #dfe3ea); white-space: nowrap;
}
.tier-pill--bronze, .dq-tier--bronze { --tier: #f1c9a3; --tier-strong: #b0632a; }
.tier-pill--silver, .dq-tier--silver { --tier: #dfe3ea; --tier-strong: #6b7280; }
.tier-pill--gold, .dq-tier--gold { --tier: #ffe08a; --tier-strong: #b7860b; }
.tier-pill--platinum, .dq-tier--platinum { --tier: #b9f0e6; --tier-strong: #0f766e; }
.tier-pill--diamond, .dq-tier--diamond { --tier: #bfdbfe; --tier-strong: #1d4ed8; }
.tier-pill--master, .dq-tier--master { --tier: linear-gradient(90deg, #f0abfc, #a5b4fc); --tier-strong: #7e22ce; }
.tier-pill--master { background: var(--tier); }

/* ─── Günlük kelime testi ─────────────────────────────────────────────────── */
.dq-hero { align-items: center; }
.dq-tier {
    display: flex; align-items: center; gap: 14px; min-width: 260px; padding: 14px 18px; border-radius: var(--radius);
    background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); color: var(--text);
    text-decoration: none; transition: transform .2s var(--ease-out);
}
.dq-tier:hover { transform: translateY(-2px); }
.dq-tier__badge {
    display: grid; place-items: center; width: 56px; height: 56px; flex: none; border-radius: 16px;
    background: var(--tier); color: var(--tier-strong);
}
.dq-tier__badge .i { width: 30px; height: 30px; }
.dq-tier__text { display: grid; gap: 4px; flex: 1; }
.dq-tier__text small { color: var(--muted); font-size: 12px; }
.dq-tier__text strong { font-family: var(--font-display); font-size: 20px; line-height: 1.1; }
.dq-bar { display: block; height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.dq-bar__fill { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--tier-strong, var(--accent))); }

.dq-flame { color: #ea580c; background: #fff1e6; }
.dq-week { display: flex; gap: 5px; margin: 6px 0 0; padding: 0; list-style: none; }
.dq-week li {
    display: grid; place-items: center; width: 32px; height: 28px; border-radius: 8px; background: var(--surface-2);
    color: var(--muted); font-size: 10.5px; font-weight: 700;
}
.dq-week li.is-done { background: var(--success); color: #fff; }
.dq-week li.is-today { outline: 2px solid var(--accent); outline-offset: 1px; }

.dq-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; margin-top: 18px; }
.dq-main { padding: 26px; scroll-margin-top: 90px; }
.dq-side { display: grid; gap: 16px; }
.dq-side .panel-card { padding: 18px 20px; }
.dq-side h2, .league-tiers h2 { font-size: 16px; margin: 0 0 10px; }
.dq-side__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.dq-side__head a { font-size: 13px; font-weight: 600; color: var(--primary-strong); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.dq-side__head .i { width: 14px; height: 14px; }

.dq-intro { display: grid; justify-items: center; gap: 14px; text-align: center; max-width: 620px; margin: 0 auto; }
.dq-intro h2 { margin: 0; font-size: clamp(24px, 3vw, 30px); }
.dq-intro__icon {
    display: grid; place-items: center; width: 72px; height: 72px; border-radius: 22px;
    background: linear-gradient(135deg, var(--accent), #f6c56a); color: #10264a; box-shadow: var(--shadow);
}
.dq-intro__icon .i { width: 36px; height: 36px; }
.dq-levels { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 4px 0; padding: 0; list-style: none; }
.dq-level {
    display: grid; justify-items: center; min-width: 62px; padding: 8px 10px; border-radius: 12px;
    background: color-mix(in srgb, var(--lv) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--lv) 30%, transparent);
}
.dq-level strong { color: var(--lv); font-size: 15px; }
.dq-level span { font-size: 12px; font-weight: 700; color: var(--text); }
.dq-start { display: grid; justify-items: center; gap: 16px; width: 100%; }
.dq-lang { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; border: 0; margin: 0; padding: 0; }
.dq-lang legend { width: 100%; margin-bottom: 8px; font-weight: 600; text-align: center; }
.dq-lang__option input { position: absolute; opacity: 0; pointer-events: none; }
.dq-lang__option span {
    display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 14px; cursor: pointer;
    border: 2px solid var(--border); background: var(--surface); transition: border-color .15s, box-shadow .15s;
}
.dq-lang__option input:checked + span { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.dq-lang__option input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.dq-lang__option .flag { width: 24px; height: 16px; border-radius: 3px; }

.dq-play { display: grid; gap: 14px; }
.dq-play__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dq-dots { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.dq-dots li { width: 14px; height: 14px; border-radius: 50%; background: var(--surface-2); border: 2px solid var(--border); }
.dq-dots li.is-ok { background: var(--success); border-color: var(--success); }
.dq-dots li.is-wrong { background: var(--danger); border-color: var(--danger); }
.dq-dots li.is-current { border-color: var(--accent); transform: scale(1.25); }
.dq-score { font-size: 14px; color: var(--muted); white-space: nowrap; }
.dq-score strong { font-family: var(--font-display); font-size: 22px; color: var(--text); }
.dq-timer { height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.dq-timer__fill { display: block; height: 100%; width: 100%; background: var(--primary); border-radius: inherit; }
.dq-timer__fill.is-low { background: var(--danger); }
.dq-card { text-align: center; padding: 8px 0 0; }
.dq-card__meta { display: flex; justify-content: center; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.dq-card__worth { font-weight: 700; color: var(--accent-strong); }
.dq-card__count { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.dq-card__word { margin: 4px 0 18px; font-family: var(--font-display); font-size: clamp(34px, 6vw, 54px); letter-spacing: -.01em; color: var(--primary-strong); }
.dq-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; text-align: left; }
.dq-option {
    display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 12px 16px; border-radius: 14px; cursor: pointer;
    border: 2px solid var(--border); background: var(--surface); color: var(--text); font: inherit; font-size: 16px; font-weight: 600;
    transition: border-color .15s, background .15s, transform .15s var(--ease-out);
}
.dq-option:hover:not(:disabled) { border-color: var(--primary); transform: translateY(-1px); }
.dq-option:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.dq-option__key {
    display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 9px;
    background: var(--surface-2); color: var(--muted); font-size: 13px; font-weight: 800;
}
.dq-option:disabled { cursor: default; }
.dq-option.is-right { border-color: var(--success); background: var(--success-soft); }
.dq-option.is-right .dq-option__key { background: var(--success); color: #fff; }
.dq-option.is-wrong { border-color: var(--danger); background: var(--danger-soft); }
.dq-option.is-wrong .dq-option__key { background: var(--danger); color: #fff; }
.dq-feedback { padding: 12px 16px; border-radius: 12px; font-size: 15px; text-align: center; }
.dq-feedback.is-ok { background: var(--success-soft); color: var(--success); }
.dq-feedback.is-wrong { background: var(--danger-soft); color: var(--danger); }
.dq-actions { display: flex; justify-content: center; }
.dq-keys { text-align: center; margin: 0; }

.dq-done { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 22px; }
.dq-done h2 { margin: 0 0 4px; font-size: 26px; }
.dq-done__score {
    display: grid; place-items: center; width: 132px; height: 132px; flex: none; border-radius: 50%;
    background: radial-gradient(circle at 30% 25%, var(--navy-2), var(--navy-deep)); color: #fff; text-align: center;
    box-shadow: 0 0 0 8px var(--accent-soft), var(--shadow-lg); font-size: 13px; line-height: 1.1;
}
.dq-done__big { display: block; font-family: var(--font-display); font-size: 40px; font-weight: 700; }
.dq-done__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.dq-done__actions form { margin: 0; }
.dq-review { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.dq-review th, .dq-review td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; }
.dq-review th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); background: var(--surface-2); }
.dq-review .num { text-align: right; font-variant-numeric: tabular-nums; }
.dq-review tr.is-ok td:last-child { color: var(--success); font-weight: 700; }
.dq-review tr.is-wrong td:nth-child(3) { color: var(--danger); }
.dq-review .i { width: 18px; height: 18px; color: var(--success); }

.dq-top { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.dq-top li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto auto; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 10px; font-size: 14px; }
.dq-top li.is-me { background: var(--accent-soft); }
.dq-top__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dq-top__name .flag { width: 16px; height: 11px; vertical-align: -1px; }
.dq-top__rank { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--surface-2); font-weight: 700; font-size: 13px; }
.dq-top__rank--gold { background: #ffe08a; color: #10264a; }
.dq-top__rank--silver { background: #dfe3ea; color: #10264a; }
.dq-top__rank--bronze { background: #f1c9a3; color: #10264a; }
.dq-tiers { display: grid; gap: 6px; margin: 0 0 8px; padding: 0; list-style: none; font-size: 13px; }
.dq-tiers li { display: flex; justify-content: space-between; align-items: center; padding: 4px 6px; border-radius: 8px; }
.dq-tiers li.is-current { background: var(--primary-soft); font-weight: 700; }
.dq-tiers--row { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.dq-tiers--row li { gap: 8px; }

/* Kelime ligi */
.league-tabs { justify-content: flex-start; margin: 18px 0; }
.league-podium { margin-bottom: 18px; }
.league-podium .flag, .rank-table .flag { width: 18px; height: 12px; vertical-align: -1px; border-radius: 2px; }
.league-me { margin-top: 14px; }
.league-tiers { margin-top: 18px; padding: 18px 20px; }

/* ─── Oyunlar sayfası ─────────────────────────────────────────────────────── */
.games-hero {
    padding: 64px 0 120px; color: #fff; text-align: center;
    background: radial-gradient(1200px 400px at 50% -10%, #2a5aa0 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.games-hero__inner { max-width: 780px; }
.games-hero h1 { margin: 14px 0 10px; font-size: clamp(34px, 5vw, 52px); color: #fff; }
.games-hero .lead { color: #c9d4e8; margin: 0 auto; }
.games-hero .eyebrow { color: #f6c56a; }
.games-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: -80px; position: relative; }
.game-tile {
    display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: var(--surface);
    border: 1px solid var(--border); box-shadow: var(--shadow-lg); transition: transform .25s var(--ease-out);
}
.game-tile:hover { transform: translateY(-4px); }
.game-tile__art { display: grid; place-items: center; height: 170px; }
.game-tile--taboo .game-tile__art { background: linear-gradient(135deg, #ffedd5, #fecaca); }
.game-tile--guess .game-tile__art { background: linear-gradient(135deg, #dbeafe, #e0e7ff); }
.game-tile--daily .game-tile__art { background: linear-gradient(135deg, #dcfce7, #fef9c3); }
.game-tile--study .game-tile__art { background: linear-gradient(135deg, #ede9fe, #fce7f3); }
.game-tile--study .mini-card { width: 150px; transform: rotate(4deg); }
.game-tile--study .mini-card span { font-size: 12px; line-height: 1.35; }
.game-tile--study .mini-card u { text-decoration-color: var(--accent); text-decoration-thickness: 3px; }
.game-tile__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 26px; flex: 1; }
.game-tile__body h2 { margin: 0; font-size: 24px; }
.game-tile__body p { margin: 0 0 6px; color: var(--muted); flex: 1; }
.game-tile__body .btn { align-self: flex-start; }
.game-tile__tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--accent-strong); text-transform: uppercase; letter-spacing: .04em; }
.game-tile__tag .i { width: 15px; height: 15px; }
.mini-card {
    display: grid; gap: 3px; width: 128px; padding: 10px 12px 12px; border-radius: 14px; background: #fff; color: #10264a;
    box-shadow: 0 12px 30px rgb(16 38 74 / .2); transform: rotate(-6deg); text-align: center; font-size: 13px;
}
.mini-card strong { margin: -10px -12px 4px; padding: 8px; border-radius: 14px 14px 0 0; background: var(--accent); font-family: var(--font-display); letter-spacing: .06em; }
.mini-card s { color: #c62828; }
.mini-blanks { display: flex; gap: 6px; }
.mini-blanks span {
    display: grid; place-items: center; width: 34px; height: 42px; border-radius: 8px; background: #fff; color: var(--navy);
    font-family: var(--font-display); font-size: 22px; font-weight: 700; box-shadow: 0 6px 16px rgb(16 38 74 / .15); border-bottom: 3px solid var(--navy);
}
.mini-levels { display: flex; gap: 8px; }
.mini-levels span { padding: 10px 14px; border-radius: 12px; background: #fff; font-weight: 800; color: #15803d; box-shadow: 0 6px 16px rgb(16 38 74 / .12); }
.mini-levels span:nth-child(2) { color: #2563eb; transform: translateY(-10px); }
.mini-levels span:nth-child(3) { color: #dc2626; }
.games-how { display: grid; justify-items: center; gap: 18px; padding: 56px 0 72px; text-align: center; }
.games-how h2 { margin: 0; font-size: 28px; }
.games-how ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; text-align: left; }
.games-how li { display: flex; gap: 12px; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.games-how li > .i { width: 26px; height: 26px; flex: none; color: var(--primary); }
.games-how li strong { display: block; margin-bottom: 4px; }
.games-how li span { color: var(--muted); font-size: 14.5px; }
.games-how li span strong { color: var(--text); }

/* ─── Oyun ekranları (Tabu, Kelime tahmin) ────────────────────────────────── */
.game-page main { background: var(--bg); }
.game-shell { max-width: 880px; padding-top: 22px; padding-bottom: 64px; }
.game-shell--narrow { max-width: 720px; }
.game-crumbs a { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; }
.game-crumbs .i { width: 16px; height: 16px; }
.game-screen { margin-top: 14px; padding: 30px; border-radius: 24px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.game-head { text-align: center; max-width: 620px; margin: 0 auto 22px; }
.game-head h1 { margin: 12px 0 6px; font-size: clamp(30px, 4vw, 42px); }
.game-badge {
    display: inline-grid; place-items: center; min-width: 64px; height: 40px; padding: 0 14px; border-radius: 12px;
    font-family: var(--font-display); font-weight: 700; letter-spacing: .12em; color: #fff;
}
.game-badge--taboo { background: linear-gradient(135deg, #f97316, #dc2626); }
.game-badge--guess { background: linear-gradient(135deg, var(--navy-2), var(--navy)); }
.game-badge .i { width: 22px; height: 22px; }
.game-form { display: grid; gap: 18px; }
.game-teams { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: end; }
.game-vs { font-family: var(--font-display); font-weight: 700; color: var(--muted); padding-bottom: 12px; }
.game-field { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.game-field input {
    width: 100%; padding: 12px 14px; border-radius: 12px; border: 2px solid var(--border); background: var(--surface);
    color: var(--text); font: inherit; font-size: 16px; font-weight: 600;
}
.game-field--a input { border-color: #fca5a5; }
.game-field--b input { border-color: #93c5fd; }
.game-field input:focus { outline: none; box-shadow: 0 0 0 4px var(--primary-soft); }
.game-choice { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.game-choice legend { width: 100%; margin-bottom: 8px; font-weight: 700; font-size: 14px; }
.game-choice label input { position: absolute; opacity: 0; pointer-events: none; }
.game-choice label span {
    display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 999px; cursor: pointer;
    border: 2px solid var(--border); background: var(--surface); font-weight: 600; font-size: 14px; transition: all .15s;
}
.game-choice input:checked + span { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.game-choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.game-start { justify-self: center; min-width: 240px; }
.game-rules { margin-top: 22px; padding: 14px 18px; border-radius: 14px; background: var(--surface-2); }
.game-rules summary { cursor: pointer; font-weight: 700; }
.game-rules ul { margin: 10px 0 0; padding-left: 20px; color: var(--muted); display: grid; gap: 6px; }

.game-scoreboard { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 18px; }
.game-score {
    display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px;
    border: 2px solid transparent; background: var(--surface-2);
}
.game-score--a { --team: #e5484d; }
.game-score--b { --team: #2f6fed; }
.game-score__name { font-weight: 700; color: var(--team); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.game-score__value { font-family: var(--font-display); font-size: 28px; }
.game-score.is-current { border-color: var(--team); background: color-mix(in srgb, var(--team) 10%, var(--surface)); }
.game-scoreboard--final .game-score__value { font-size: 40px; }
.game-ready, .game-summary, .game-over { text-align: center; }
.game-ready__round { margin: 8px 0 0; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
.game-ready__team { margin: 6px 0 4px; font-size: clamp(30px, 5vw, 48px); }
.game-ready__team--a { color: #e5484d; }
.game-ready__team--b { color: #2f6fed; }

.game-play__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 15px; }
.game-play__bar > :last-child { justify-self: end; }
.game-play__team { font-size: 18px; }
.game-play__team--a { color: #e5484d; }
.game-play__team--b { color: #2f6fed; }
.game-clock {
    --progress: 100%;
    display: grid; place-items: center; width: 78px; height: 78px; border-radius: 50%;
    background: conic-gradient(var(--primary) var(--progress), var(--surface-2) 0);
}
.game-clock span {
    display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: var(--surface);
    font-family: var(--font-display); font-size: 26px; font-weight: 700;
}
.game-clock.is-low { background: conic-gradient(var(--danger) var(--progress), var(--surface-2) 0); animation: game-pulse 1s infinite; }
.game-clock.is-low span { color: var(--danger); }
@keyframes game-pulse { 50% { transform: scale(1.06); } }

.taboo-card {
    max-width: 420px; margin: 0 auto; overflow: hidden; border-radius: 24px; background: #fff; color: #10264a;
    box-shadow: 0 2px 0 #e9edf5, 0 30px 60px rgb(16 38 74 / .18); border: 1px solid #e3e8f2;
}
.taboo-card.is-in { animation: card-in .35s var(--ease-spring); }
@keyframes card-in { from { transform: translateY(14px) rotate(-1.5deg) scale(.96); opacity: 0; } }
.taboo-card__head { position: relative; padding: 26px 20px 22px; text-align: center; background: linear-gradient(135deg, #f97316, #f69a31); }
.taboo-card__head h2 { margin: 0; font-family: var(--font-display); font-size: clamp(30px, 6vw, 44px); letter-spacing: .03em; text-transform: uppercase; color: #fff; text-shadow: 0 2px 0 rgb(0 0 0 / .12); }
.taboo-card__level { position: absolute; top: 10px; right: 12px; padding: 2px 8px; border-radius: 999px; background: rgb(255 255 255 / .9); color: #9a3412; font-size: 12px; font-weight: 800; }
.taboo-card__list { display: grid; gap: 4px; margin: 0; padding: 18px 26px 22px; list-style: none; text-align: center; }
.taboo-card__list li { padding: 7px 0; border-bottom: 1px dashed #f3d1d1; font-size: 19px; font-weight: 700; color: #b91c1c; text-transform: lowercase; }
.taboo-card__list li:last-child { border-bottom: 0; }

.game-buttons { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 12px; max-width: 560px; margin: 22px auto 0; }
.game-btn {
    display: grid; justify-items: center; gap: 2px; padding: 14px 10px; border: 0; border-radius: 18px; cursor: pointer;
    font: inherit; font-weight: 800; font-size: 18px; color: #fff; box-shadow: 0 6px 0 rgb(0 0 0 / .14);
    transition: transform .08s, box-shadow .08s, filter .15s;
}
.game-btn:active { transform: translateY(4px); box-shadow: 0 2px 0 rgb(0 0 0 / .14); }
.game-btn:disabled { filter: grayscale(1) opacity(.5); cursor: not-allowed; }
.game-btn .i { width: 26px; height: 26px; }
.game-btn small { font-size: 11px; font-weight: 600; opacity: .85; }
.game-btn--correct { background: linear-gradient(180deg, #22c55e, #15803d); }
.game-btn--taboo { background: linear-gradient(180deg, #f87171, #dc2626); }
.game-btn--pass { background: linear-gradient(180deg, #94a3b8, #64748b); }
.game-link { display: flex; align-items: center; gap: 6px; margin: 16px auto 0; padding: 6px 10px; border: 0; background: none; color: var(--muted); font: inherit; font-weight: 600; cursor: pointer; }
.game-link .i { width: 16px; height: 16px; }

.game-summary__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 14px 0 22px; padding: 0; list-style: none; }
.game-summary__list li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; font-weight: 700; background: var(--surface-2); }
.game-summary__list li small { font-weight: 800; }
.game-summary__list .is-correct { background: var(--success-soft); color: var(--success); }
.game-summary__list .is-taboo { background: var(--danger-soft); color: var(--danger); }
.game-summary__list .is-pass { color: var(--muted); }
.game-over__trophy {
    display: inline-grid; place-items: center; width: 92px; height: 92px; border-radius: 28px;
    background: linear-gradient(135deg, #ffe08a, #e8b931); color: #7a5600; box-shadow: var(--shadow-lg);
    animation: card-in .5s var(--ease-spring);
}
.game-over__trophy .i { width: 48px; height: 48px; }
.game-over h2 { margin: 16px 0 14px; font-size: clamp(26px, 4vw, 36px); }
.game-over__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.game-pause { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: rgb(8 18 40 / .7); backdrop-filter: blur(4px); }
.game-pause__box { padding: 32px 40px; border-radius: 22px; background: var(--surface); text-align: center; box-shadow: var(--shadow-lg); }
.game-pause__box h2 { margin: 0 0 16px; }

/* Kelime tahmin */
.guess-level { justify-self: center; padding: 3px 12px; border-radius: 999px; background: var(--primary-soft); color: var(--primary-strong); font-weight: 800; font-size: 13px; }
.guess-card { display: grid; gap: 16px; text-align: center; }
.guess-card.is-shake { animation: shake .35s; }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.guess-card__label { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-strong); }
.guess-card__clue { margin: 0; font-family: var(--font-serif); font-size: clamp(21px, 3vw, 27px); line-height: 1.4; font-style: italic; color: var(--text); }
.guess-blanks { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.guess-blank {
    display: grid; place-items: center; width: 38px; height: 46px; border-radius: 10px; background: var(--surface-2);
    border-bottom: 3px solid var(--border); font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--primary-strong);
}
.guess-blank.is-open { background: var(--primary-soft); border-bottom-color: var(--primary); animation: card-in .3s var(--ease-spring); }
.guess-related { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.guess-related li { padding: 5px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong); font-weight: 700; }
.guess-form { display: flex; gap: 10px; max-width: 460px; width: 100%; margin: 0 auto; }
.guess-form input {
    flex: 1; min-width: 0; padding: 13px 16px; border-radius: 14px; border: 2px solid var(--border); background: var(--surface);
    color: var(--text); font: inherit; font-size: 18px; font-weight: 600; text-align: center;
}
.guess-form input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.guess-feedback { min-height: 24px; margin: 0; font-weight: 700; }
.guess-feedback.is-ok { color: var(--success); }
.guess-feedback.is-wrong { color: var(--danger); }
.guess-hints { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.guess-hints small { font-weight: 800; color: var(--danger); }
.guess-card [data-next] { justify-self: center; }

/* ─── Öğrenci panelindeki kısayol (templates/portal/dashboard.html) ───────── */
.notice--daily { background: linear-gradient(90deg, var(--accent-soft), var(--surface) 70%); }
.notice--daily > .i { color: var(--accent-strong); }
.notice--daily .tier-pill { margin-left: 6px; }

@media (max-width: 1180px) {
    .games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
    .games-grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
    .games-how ul { grid-template-columns: 1fr; }
    .dq-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .game-screen { padding: 20px 16px; border-radius: 18px; }
    .game-teams { grid-template-columns: 1fr; }
    .game-vs { display: none; }
    .game-buttons { grid-template-columns: 1fr 1fr; }
    .game-btn--correct { grid-column: 1 / -1; order: -1; padding: 18px 10px; }
    .dq-options { grid-template-columns: 1fr; }
    .dq-main { padding: 18px 14px; }
    .dq-tier { min-width: 0; width: 100%; }
    .dq-review th:nth-child(3), .dq-review td:nth-child(3) { display: none; }
    .guess-form { flex-direction: column; }
    .guess-blank { width: 30px; height: 40px; font-size: 18px; }
    .games-hero { padding: 44px 0 100px; }
}
@media (prefers-reduced-motion: reduce) {
    .taboo-card.is-in, .guess-card.is-shake, .game-clock.is-low, .game-over__trophy, .guess-blank.is-open { animation: none; }
}

/* Kelimenin örnek cümlesi (günlük test) ve boş bırakılmış cümle ipucu (kelime tahmin), 2026-11-23 */
.dq-card__example { margin: -8px auto 18px; max-width: 560px; color: var(--muted); font-size: 16px; line-height: 1.5; font-style: italic; }
.dq-card__example mark { padding: 0 3px; border-radius: 4px; background: var(--accent-soft); color: var(--accent-strong); font-style: normal; font-weight: 700; }
.guess-sentence { margin: 0; padding: 8px 14px; border-radius: 10px; background: var(--surface-2); text-align: center; font-size: 16px; }
