/* =====================================================
   WordWave 2 — tasarım sistemi (çekirdek)
   Açık + koyu tema. Varsayılan açık (html[data-theme]); menüden koyu ya da cihazı izle seçilebilir.
   Eski değişken adları (--ink, --wave, ...) en altta yeni token'lara bağlanır: JS içindeki
   satır içi stiller de yeni temayı otomatik alır.
   ===================================================== */
:root{
  color-scheme:light;
  --bg:#f5f6fa;
  --surface:#ffffff;
  --surface-2:#f2f4f9;
  --surface-3:#e9ecf4;
  --fill:rgba(79,70,229,.06);
  --fill-2:rgba(15,23,42,.04);
  --line:rgba(15,23,42,.08);
  --line-strong:rgba(15,23,42,.14);
  --text:#0f172a;
  --text-2:#334155;
  --muted:#64748b;
  --muted-2:#94a3b8;
  --accent:#4f46e5;
  --accent-strong:#4338ca;
  --accent-2:#0284c7;
  --on-accent:#ffffff;
  --ok:#059669;
  --danger:#dc2626;
  --amber:#d97706;
  --pink:#db2777;
  --violet:#7c3aed;
  --side:rgba(255,255,255,.82);
  --shadow-sm:0 1px 2px rgba(15,23,42,.05), 0 0 0 1px rgba(15,23,42,.05);
  --shadow:0 6px 20px rgba(15,23,42,.06), 0 0 0 1px rgba(15,23,42,.05);
  --shadow-pop:0 24px 70px rgba(15,23,42,.22), 0 0 0 1px rgba(15,23,42,.06);
  --ring:0 0 0 3.5px color-mix(in srgb, var(--accent) 24%, transparent);
  --radius:18px;
  --radius-sm:12px;
  --font:-apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display:"SF Pro Display", -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  --chev:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2364748b' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme=light]){
    color-scheme:dark;
    --bg:#0a0c12; --surface:#13161f; --surface-2:#1a1e2a; --surface-3:#232838;
    --fill:rgba(129,140,248,.09); --fill-2:rgba(255,255,255,.04);
    --line:rgba(255,255,255,.08); --line-strong:rgba(255,255,255,.14);
    --text:#eceef6; --text-2:#c9cede; --muted:#9aa3b8; --muted-2:#6b7489;
    --accent:#818cf8; --accent-strong:#6366f1; --accent-2:#38bdf8; --on-accent:#0b0d14;
    --ok:#34d399; --danger:#f87171; --amber:#fbbf24; --pink:#f472b6; --violet:#a78bfa;
    --side:rgba(19,22,31,.86);
    --shadow-sm:0 0 0 1px rgba(255,255,255,.06);
    --shadow:0 0 0 1px rgba(255,255,255,.07), 0 10px 30px rgba(0,0,0,.25);
    --shadow-pop:0 30px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.1);
    --chev:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%239aa3b8' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  }
}
:root[data-theme=dark]{
  color-scheme:dark;
  --bg:#0a0c12; --surface:#13161f; --surface-2:#1a1e2a; --surface-3:#232838;
  --fill:rgba(129,140,248,.09); --fill-2:rgba(255,255,255,.04);
  --line:rgba(255,255,255,.08); --line-strong:rgba(255,255,255,.14);
  --text:#eceef6; --text-2:#c9cede; --muted:#9aa3b8; --muted-2:#6b7489;
  --accent:#818cf8; --accent-strong:#6366f1; --accent-2:#38bdf8; --on-accent:#0b0d14;
  --ok:#34d399; --danger:#f87171; --amber:#fbbf24; --pink:#f472b6; --violet:#a78bfa;
  --side:rgba(19,22,31,.86);
  --shadow-sm:0 0 0 1px rgba(255,255,255,.06);
  --shadow:0 0 0 1px rgba(255,255,255,.07), 0 10px 30px rgba(0,0,0,.25);
  --shadow-pop:0 30px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.1);
  --chev:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%239aa3b8' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* Eski değişken adları → yeni token'lar (JS'teki satır içi stiller için) */
:root{
  --ink:var(--bg); --ink2:var(--surface); --ink3:var(--surface-2); --ink4:var(--surface-3);
  --wave:var(--accent); --wave2:var(--accent-strong); --wave3:var(--accent-2);
  --gold:var(--amber); --rose:var(--pink); --mint:var(--ok);
  --good:var(--ok); --warn:var(--danger); --subtle:var(--line-strong);
  --r:var(--radius); --r-sm:var(--radius-sm);
}

/* ── Temel ─────────────────────────────────────────── */
*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }
html{ -webkit-text-size-adjust:100%; }
body{
  font-family:var(--font); font-size:14.5px; line-height:1.5; letter-spacing:-.006em;
  color:var(--text); background:var(--bg); min-height:100vh;
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
}
a{ color:var(--accent); text-decoration:none; }
img{ max-width:100%; }
button, input, select, textarea{ font:inherit; color:inherit; }
::selection{ background:color-mix(in srgb, var(--accent) 22%, transparent); }
[hidden]{ display:none !important; }
:focus-visible{ outline:none; box-shadow:var(--ring); border-radius:8px; }
::-webkit-scrollbar{ width:10px; height:10px; }
::-webkit-scrollbar-thumb{ background:var(--line-strong); border-radius:99px; border:3px solid transparent; background-clip:content-box; }
::-webkit-scrollbar-track{ background:transparent; }

/* ── Uygulama iskeleti ─────────────────────────────── */
.app-layout{ display:grid; grid-template-columns:252px minmax(0,1fr); min-height:100vh; }
.app-sidebar{
  position:sticky; top:0; height:100vh; display:flex; flex-direction:column;
  padding:18px 12px 14px; background:var(--side);
  -webkit-backdrop-filter:saturate(180%) blur(20px); backdrop-filter:saturate(180%) blur(20px);
  border-right:1px solid var(--line); overflow-y:auto; z-index:60;
}
.sidebar-brand{ display:flex; align-items:center; gap:10px; padding:4px 10px 18px; }
.brand-mark{ width:34px; height:34px; flex-shrink:0; }
.logo{ font-family:var(--font-display); font-weight:750; font-size:19px; letter-spacing:-.03em; color:var(--text); line-height:1.1; }
.logo span{ background:linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip:text; background-clip:text; color:transparent; }
.brand-sub{ font-size:11.5px; color:var(--muted); font-weight:500; margin-top:2px; }
.sidebar-section{ font-size:11px; font-weight:650; letter-spacing:.06em; text-transform:uppercase; color:var(--muted-2); padding:14px 12px 6px; }
.sidebar-nav{ display:flex; flex-direction:column; gap:2px; flex:1; }
.sidebar-nav-item{
  position:relative; display:flex; align-items:center; gap:11px; padding:8px 12px; border-radius:10px;
  color:var(--text-2); font-weight:520; font-size:14px; cursor:pointer; user-select:none;
  transition:background-color .15s, color .15s;
}
.sidebar-nav-item:hover{ background:var(--fill-2); color:var(--text); }
.sidebar-nav-item.active{ background:var(--fill); color:var(--accent); font-weight:620; }
.sidebar-nav-item .s-icon{ width:20px; height:20px; display:grid; place-items:center; color:var(--muted); flex-shrink:0; }
.sidebar-nav-item.active .s-icon{ color:var(--accent); }
.s-icon svg, .ico svg, svg.ico{ width:19px; height:19px; stroke:currentColor; fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.nav-badge{
  margin-left:auto; min-width:20px; padding:1px 7px; border-radius:99px; text-align:center;
  font-size:11px; font-weight:700; background:var(--pink); color:#fff;
}
.sidebar-footer{ border-top:1px solid var(--line); padding:12px 6px 2px; margin-top:12px; }
.me-row{ display:flex; align-items:center; gap:10px; padding:6px; border-radius:12px; cursor:pointer; }
.me-row:hover{ background:var(--fill-2); }
.me-name{ font-size:13.5px; font-weight:620; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.me-role{ font-size:11.5px; color:var(--muted); }
.side-tools{ display:flex; gap:6px; margin-top:10px; }
.side-tools > *{ flex:1; }

.app-content{ min-width:0; }
.topbar{
  position:sticky; top:0; z-index:40; display:flex; align-items:center; gap:12px;
  padding:14px 28px; background:color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter:saturate(180%) blur(16px); backdrop-filter:saturate(180%) blur(16px);
  border-bottom:1px solid transparent; transition:border-color .2s;
}
.topbar.scrolled{ border-bottom-color:var(--line); }
.topbar h1{ font-family:var(--font-display); font-size:22px; font-weight:720; letter-spacing:-.025em; margin-right:auto; }
.topbar .sub{ font-size:12.5px; color:var(--muted); font-weight:500; }
.wrap{ max-width:1320px; margin:0 auto; padding:8px 28px 64px; }
.pane{ display:none; animation:paneIn .22s ease; }
.pane.active{ display:block; }
@keyframes paneIn{ from{ transform:translateY(6px); } to{ transform:none; } }
@media (prefers-reduced-motion:reduce){ *{ animation:none !important; transition:none !important; } }

/* ── Kartlar ───────────────────────────────────────── */
.panel{ background:var(--surface); border-radius:var(--radius); padding:22px; box-shadow:var(--shadow-sm); min-width:0; }
.panel + .panel{ margin-top:16px; }
.panel-title{ font-size:16px; font-weight:680; letter-spacing:-.015em; margin-bottom:16px; color:var(--text); }
.grid-2{ display:grid; grid-template-columns:minmax(300px,380px) minmax(0,1fr); gap:18px; align-items:start; }
.grid-2 > .panel + .panel{ margin-top:0; }
.grid-3{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.row{ display:flex; gap:10px; flex-wrap:wrap; margin-top:14px; align-items:center; }

/* ── Formlar ───────────────────────────────────────── */
label.f{ display:block; font-size:12.5px; font-weight:600; color:var(--muted); margin:14px 0 6px; letter-spacing:0; text-transform:none; }
input.f, textarea.f, select.f, .input{
  width:100%; background:var(--surface); border:1px solid var(--line-strong); border-radius:11px;
  padding:10px 13px; color:var(--text); font-size:14.5px; outline:none;
  transition:border-color .15s, box-shadow .15s;
}
input.f, select.f{ height:42px; }
select.f{ appearance:none; -webkit-appearance:none; padding-right:34px; background-image:var(--chev); background-repeat:no-repeat; background-position:right 13px center; cursor:pointer; }
input.f:focus, textarea.f:focus, select.f:focus, .input:focus{ border-color:var(--accent); box-shadow:var(--ring); }
input.f::placeholder, textarea.f::placeholder{ color:var(--muted-2); }
textarea.f{ min-height:92px; resize:vertical; line-height:1.55; }
select.f option{ background:var(--surface); color:var(--text); }
input[type=checkbox], input[type=radio]{ accent-color:var(--accent); width:16px; height:16px; cursor:pointer; }
input[type=range]{ accent-color:var(--accent); width:110px; }
.check-row{ display:flex; align-items:center; gap:9px; margin-top:14px; font-size:13.5px; color:var(--text-2); cursor:pointer; user-select:none; }

/* ── Butonlar ──────────────────────────────────────── */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:7px;
  border:1px solid transparent; border-radius:11px; padding:10px 16px; cursor:pointer;
  font-weight:600; font-size:14px; line-height:1.2; white-space:nowrap;
  transition:background-color .15s, border-color .15s, color .15s, transform .08s, box-shadow .15s;
}
.btn:active{ transform:scale(.97); }
.btn:disabled{ opacity:.5; cursor:not-allowed; transform:none; }
.btn-primary{ background:var(--accent); color:#fff; box-shadow:0 1px 2px rgba(0,0,0,.08), inset 0 1px 0 rgba(255,255,255,.12); }
:root[data-theme=dark] .btn-primary{ color:#0b0d14; }
@media (prefers-color-scheme:dark){ :root:not([data-theme=light]) .btn-primary{ color:#0b0d14; } }
.btn-primary:hover{ background:var(--accent-strong); color:#fff; }
.btn-dark{ background:var(--surface-2); color:var(--text); border-color:var(--line); }
.btn-dark:hover{ background:var(--surface-3); }
.btn-dark.active{ background:var(--accent); color:#fff; border-color:transparent; }
.btn-teal{ background:color-mix(in srgb, var(--accent-2) 14%, transparent); color:var(--accent-2); }
.btn-teal:hover{ background:color-mix(in srgb, var(--accent-2) 22%, transparent); }
.btn-good{ background:var(--ok); color:#fff; }
.btn-warn{ background:color-mix(in srgb, var(--danger) 12%, transparent); color:var(--danger); }
.btn-warn:hover{ background:color-mix(in srgb, var(--danger) 20%, transparent); }
.btn-gold{ background:color-mix(in srgb, var(--amber) 16%, transparent); color:var(--amber); }
.btn-rose{ background:var(--pink); color:#fff; }
.btn-sm{ padding:6px 11px; font-size:12.5px; border-radius:9px; }
.btn.is-loading{ position:relative; color:transparent !important; }
.btn.is-loading::after{ content:""; position:absolute; width:16px; height:16px; border-radius:50%; border:2px solid currentColor; border-color:#fff #fff transparent transparent; animation:spin .7s linear infinite; }
.btn-dark.is-loading::after{ border-color:var(--text) var(--text) transparent transparent; }
@keyframes spin{ to{ transform:rotate(360deg); } }
.icon-btn{
  display:inline-grid; place-items:center; width:34px; height:34px; border-radius:10px; border:0;
  background:var(--fill-2); color:var(--text-2); cursor:pointer; font-size:15px; transition:background-color .15s;
}
.icon-btn:hover{ background:var(--fill); color:var(--accent); }
.icon-btn.sm{ width:26px; height:26px; font-size:12px; border-radius:8px; vertical-align:middle; }
.theme-toggle, .lang-toggle{
  height:34px; min-width:34px; padding:0 10px; border-radius:10px; border:1px solid var(--line);
  background:var(--surface); color:var(--text-2); cursor:pointer; font-size:12.5px; font-weight:650;
  display:inline-flex; align-items:center; justify-content:center; gap:6px;
}
.theme-toggle:hover, .lang-toggle:hover{ border-color:var(--line-strong); color:var(--text); }
.btn-logout{ height:34px; padding:0 12px; border-radius:10px; border:1px solid var(--line); background:transparent; color:var(--muted); font-size:12.5px; font-weight:600; cursor:pointer; }
.btn-logout:hover{ color:var(--danger); border-color:color-mix(in srgb, var(--danger) 40%, transparent); }

/* Segment kontrolü */
.seg{ display:inline-flex; padding:3px; gap:2px; background:var(--surface-2); border-radius:11px; border:1px solid var(--line); }
.seg button{ border:0; border-radius:8px; background:transparent; padding:6px 12px; color:var(--muted); font-weight:600; font-size:13px; cursor:pointer; }
.seg button.on, .seg button.active{ background:var(--surface); color:var(--text); box-shadow:0 1px 3px rgba(0,0,0,.1); }

/* ── İstatistik kutuları ───────────────────────────── */
.stats-bar{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin-bottom:18px; }
.stat{ background:var(--surface); border-radius:16px; padding:16px 18px; box-shadow:var(--shadow-sm); text-align:left; }
.stat b{ display:block; font-family:var(--font-display); font-size:28px; font-weight:720; letter-spacing:-.03em; margin-bottom:2px; font-variant-numeric:tabular-nums; }
.stat span{ font-size:12.5px; color:var(--muted); font-weight:550; text-transform:none; letter-spacing:0; }

/* ── Kelime listesi ────────────────────────────────── */
.word-list{ max-height:560px; overflow-y:auto; margin-top:6px; display:flex; flex-direction:column; gap:8px; }
.word-item{
  display:flex; justify-content:space-between; align-items:flex-start; gap:12px;
  background:var(--surface-2); border:1px solid transparent; border-radius:13px; padding:12px 14px;
  transition:border-color .15s, background-color .15s;
}
.word-item:hover{ border-color:var(--line-strong); background:var(--surface); }
.word-item .en{ font-weight:650; font-size:15px; }
.word-item .tr{ font-size:13px; color:var(--muted); margin-top:3px; }
.word-item .syn{ font-size:12.5px; color:var(--accent-2); margin-top:2px; }
.badge{ display:inline-flex; align-items:center; padding:2px 8px; border-radius:99px; font-size:11px; font-weight:650; letter-spacing:0; vertical-align:middle; }
.badge-new{ background:color-mix(in srgb, var(--accent) 13%, transparent); color:var(--accent); }
.badge-retry{ background:color-mix(in srgb, var(--danger) 13%, transparent); color:var(--danger); }
.badge-known{ background:color-mix(in srgb, var(--ok) 14%, transparent); color:var(--ok); }
.chip{ display:inline-flex; align-items:center; gap:4px; padding:4px 10px; border-radius:99px; background:var(--surface-2); border:1px solid var(--line); font-size:12.5px; color:var(--text-2); }

/* ── Kelime kartı (flashcard) ──────────────────────── */
.flashcard{
  position:relative; min-height:320px; border-radius:24px; margin-bottom:16px; cursor:pointer;
  display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; padding:40px 28px;
  background:
    radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 60%),
    radial-gradient(120% 90% at 100% 100%, color-mix(in srgb, var(--accent-2) 12%, transparent), transparent 60%),
    var(--surface);
  box-shadow:var(--shadow); transition:transform .18s ease, box-shadow .18s ease;
}
.flashcard:hover{ transform:translateY(-2px); box-shadow:0 14px 40px rgba(15,23,42,.1), 0 0 0 1px var(--line); }
.face-label{ font-size:11px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--accent); background:var(--fill); padding:5px 12px; border-radius:99px; margin-bottom:18px; border:0; }
.card-word{ font-family:var(--font-display); font-size:clamp(32px, 5vw, 48px); font-weight:760; letter-spacing:-.035em; line-height:1.1; margin-bottom:12px; word-break:break-word; }
.card-ex{ font-size:15.5px; color:var(--muted); line-height:1.6; max-width:560px; }
.card-controls{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:14px; align-items:center; }
.range-row{ display:flex; align-items:center; gap:10px; font-size:13px; color:var(--muted); }

/* ── AI ────────────────────────────────────────────── */
.word-select-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:8px; max-height:280px; overflow-y:auto; margin-bottom:14px; padding:2px; }
.word-cb-label{
  display:flex; align-items:center; gap:9px; background:var(--surface-2); border:1px solid transparent;
  border-radius:10px; padding:9px 11px; cursor:pointer; font-size:13.5px; transition:border-color .15s, background-color .15s;
}
.word-cb-label:hover{ border-color:var(--line-strong); }
.word-cb-label:has(input:checked){ border-color:color-mix(in srgb, var(--accent) 50%, transparent); background:var(--fill); }
.ai-output{ background:var(--surface-2); border-radius:14px; padding:18px; font-size:14.5px; line-height:1.7; min-height:140px; color:var(--text-2); }
.ai-output:empty::before{ content:attr(data-placeholder); color:var(--muted); }
.ai-item{ padding:14px 0; border-bottom:1px solid var(--line); }
.ai-item:first-child{ padding-top:0; }
.ai-item:last-child{ border-bottom:0; padding-bottom:0; }
.ai-item-head{ display:flex; align-items:center; gap:10px; margin-bottom:8px; }
.ai-item-word{ font-weight:720; font-size:16px; color:var(--text); }
.ai-item-tr{ color:var(--muted); font-size:13.5px; }
.ai-item-head .icon-btn{ margin-left:auto; }
.ai-sentences{ padding-left:20px; display:flex; flex-direction:column; gap:8px; }
.ai-en{ color:var(--text); }
.ai-tr{ color:var(--muted); font-size:13.5px; margin-top:2px; }
mark.ai-word{ background:color-mix(in srgb, var(--accent) 16%, transparent); color:var(--accent); font-weight:650; padding:0 3px; border-radius:4px; }
.ai-story h3{ font-family:var(--font-display); font-size:20px; font-weight:720; letter-spacing:-.02em; }
.ai-story-head{ display:flex; align-items:center; gap:10px; justify-content:space-between; margin-bottom:12px; }
.ai-story p{ margin-bottom:12px; color:var(--text); line-height:1.8; font-size:15.5px; }
.ai-vocab{ display:flex; flex-wrap:wrap; gap:6px; padding-top:12px; border-top:1px solid var(--line); }
.empty-state{ color:var(--muted); text-align:center; padding:28px 12px; font-size:14px; }
.skeleton-stack{ display:flex; flex-direction:column; gap:10px; }
.skeleton{ height:14px; border-radius:7px; background:linear-gradient(90deg, var(--surface-3), var(--surface-2), var(--surface-3)); background-size:200% 100%; animation:shimmer 1.2s infinite; }
.skeleton.w80{ width:80%; } .skeleton.w60{ width:60%; }
@keyframes shimmer{ to{ background-position:-200% 0; } }

/* ── Quiz ──────────────────────────────────────────── */
.quiz-q{ margin-bottom:22px; }
.quiz-q p{ font-size:15.5px; margin-bottom:12px; font-weight:600; display:flex; gap:10px; align-items:flex-start; }
.quiz-num{ flex-shrink:0; width:24px; height:24px; border-radius:8px; background:var(--fill); color:var(--accent); font-size:12px; font-weight:750; display:grid; place-items:center; }
.quiz-options{ display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.quiz-opt{
  display:flex; align-items:center; gap:10px; padding:11px 13px; border-radius:12px; border:1px solid var(--line-strong);
  background:var(--surface); cursor:pointer; font-size:14px; text-align:left; color:var(--text); transition:border-color .15s, background-color .15s;
}
.quiz-opt:hover:not(:disabled){ border-color:var(--accent); }
.quiz-letter{ flex-shrink:0; width:22px; height:22px; border-radius:7px; background:var(--surface-2); color:var(--muted); font-size:11.5px; font-weight:750; display:grid; place-items:center; }
.quiz-opt.correct{ background:color-mix(in srgb, var(--ok) 12%, transparent); border-color:var(--ok); color:var(--ok); }
.quiz-opt.wrong{ background:color-mix(in srgb, var(--danger) 10%, transparent); border-color:var(--danger); color:var(--danger); }
.quiz-opt.correct .quiz-letter{ background:var(--ok); color:#fff; }
.quiz-opt.wrong .quiz-letter{ background:var(--danger); color:#fff; }
.quiz-exp{ font-size:13px; color:var(--muted); margin-top:8px; padding:9px 12px; border-radius:10px; background:var(--surface-2); }
.quiz-score{ font-size:20px; font-weight:650; text-align:center; padding:18px; border-radius:14px; background:var(--fill); }
.quiz-score b{ color:var(--accent); }

/* ── Tablo ─────────────────────────────────────────── */
.student-table{ width:100%; border-collapse:collapse; }
.student-table th, .student-table td{ padding:10px 14px; text-align:left; font-size:13.5px; }
.student-table th{ color:var(--muted); font-weight:620; font-size:12px; border-bottom:1px solid var(--line); text-transform:none; letter-spacing:0; }
.student-table tr:not(:last-child) td{ border-bottom:1px solid var(--line); }

/* ── Sınıf kodu ────────────────────────────────────── */
.join-box{ background:linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, transparent), color-mix(in srgb, var(--accent-2) 8%, transparent)); border:1px solid color-mix(in srgb, var(--accent) 20%, transparent); border-radius:16px; padding:18px; margin-bottom:18px; }
.code-display{ font-size:28px; font-weight:750; letter-spacing:6px; color:var(--accent); text-align:center; padding:10px; font-family:ui-monospace, "SF Mono", Menlo, monospace; }

/* ── Bildirim (toast) ──────────────────────────────── */
.toast{
  position:fixed; left:50%; bottom:24px; transform:translate(-50%, 20px); z-index:9999;
  background:var(--text); color:var(--bg); padding:11px 18px; border-radius:12px; font-size:14px; font-weight:550;
  box-shadow:var(--shadow-pop); opacity:0; pointer-events:none; transition:opacity .2s, transform .2s; max-width:calc(100vw - 32px);
}
.toast.show{ opacity:1; transform:translate(-50%, 0); }

/* ── Ses ayarları ──────────────────────────────────── */
.voice-row{ display:flex; align-items:center; gap:10px; margin-top:12px; font-size:13px; color:var(--muted); flex-wrap:wrap; }

/* ── Mobil iskelet ─────────────────────────────────── */
.mob-hamburger, .mob-overlay{ display:none; }
@media (max-width:900px){
  .app-layout{ grid-template-columns:1fr; }
  .app-sidebar{
    position:fixed; left:0; top:0; bottom:0; width:min(84vw, 300px); height:100%;
    transform:translateX(-102%); transition:transform .25s ease; box-shadow:var(--shadow-pop); background:var(--surface);
  }
  .app-sidebar.open{ transform:none; }
  .mob-overlay{ display:block; position:fixed; inset:0; background:rgba(0,0,0,.4); opacity:0; pointer-events:none; transition:opacity .2s; z-index:55; }
  .mob-overlay.show{ opacity:1; pointer-events:auto; }
  .mob-hamburger{ display:inline-grid; place-items:center; width:38px; height:38px; border-radius:11px; border:1px solid var(--line); background:var(--surface); color:var(--text); cursor:pointer; }
  .topbar{ padding:10px 16px; }
  .topbar h1{ font-size:19px; }
  .wrap{ padding:6px 16px 48px; }
  .grid-2, .grid-3{ grid-template-columns:1fr; }
  .stats-bar{ grid-template-columns:1fr 1fr; gap:10px; }
  .panel{ padding:18px; }
}
@media (max-width:560px){
  .quiz-options{ grid-template-columns:1fr; }
  .flashcard{ min-height:260px; padding:30px 18px; }
  .card-controls .btn{ flex:1 1 auto; }
}

/* =====================================================
   Bileşenler v2 — panel, liste, tablo, metrik, grafik, kenar sayfası
   (yönetim konsolu ve uygulama içi ekranlar ortak kullanır)
   ===================================================== */
.card{ background:var(--surface); border-radius:var(--radius); padding:20px 22px; box-shadow:var(--shadow-sm); min-width:0; }
.card + .card, .card + .grid-a, .grid-a + .card, .grid-a + .grid-a, .metrics + .card, .metrics + .grid-a, .toolbar + .card{ margin-top:16px; }
.card.flush{ padding:0; overflow:hidden; }
.card.narrow{ max-width:640px; }
.card-h{ display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin-bottom:14px; }
.card-h.pad{ padding:18px 20px 0; }
.card-h h2{ font-size:16px; font-weight:680; letter-spacing:-.015em; }
.muted{ color:var(--muted); } .small{ font-size:12.5px; } .mono{ font-family:ui-monospace,"SF Mono",Menlo,monospace; letter-spacing:.04em; }
.num{ font-variant-numeric:tabular-nums; } .r{ text-align:right; } .nowrap{ white-space:nowrap; }
.grid-a{ display:grid; grid-template-columns:minmax(0,1.6fr) minmax(0,1fr); gap:16px; }

.metrics{ display:grid; grid-template-columns:repeat(auto-fill, minmax(170px,1fr)); gap:12px; }
.metrics.sm{ grid-template-columns:repeat(auto-fill, minmax(120px,1fr)); margin:6px 0 18px; }
.metric{ background:var(--surface); border-radius:16px; padding:16px 18px; box-shadow:var(--shadow-sm); display:flex; flex-direction:column; gap:2px; min-width:0; }
.metrics.sm .metric{ background:var(--surface-2); box-shadow:none; padding:12px 14px; }
.metric b{ font-family:var(--font-display); font-size:28px; font-weight:740; letter-spacing:-.03em; line-height:1.1; font-variant-numeric:tabular-nums; }
.metrics.sm .metric b{ font-size:22px; }
.metric span{ font-size:13px; color:var(--text-2); font-weight:560; }
.metric em{ font-style:normal; font-size:12px; color:var(--muted); }
.metric.link{ cursor:pointer; transition:transform .12s, box-shadow .12s; }
.metric.link:hover{ transform:translateY(-1px); box-shadow:var(--shadow); }

.callout{ display:flex; align-items:center; gap:14px; justify-content:space-between; padding:14px 16px; border-radius:14px; background:var(--fill); margin-bottom:14px; }
.callout > div{ display:flex; flex-direction:column; gap:2px; }
.callout span{ color:var(--muted); font-size:13px; }
.callout.warn{ background:color-mix(in srgb, var(--amber) 12%, transparent); }

.pill{ display:inline-flex; align-items:center; padding:2px 9px; border-radius:99px; font-size:11.5px; font-weight:650; background:var(--surface-2); color:var(--text-2); white-space:nowrap; }
.pill.ok{ background:color-mix(in srgb, var(--ok) 14%, transparent); color:var(--ok); }
.pill.bad{ background:color-mix(in srgb, var(--danger) 12%, transparent); color:var(--danger); }
.pill.warn{ background:color-mix(in srgb, var(--amber) 15%, transparent); color:var(--amber); }
.pill.info{ background:color-mix(in srgb, var(--accent-2) 13%, transparent); color:var(--accent-2); }
.pill.violet{ background:color-mix(in srgb, var(--violet) 13%, transparent); color:var(--violet); }
.pill.muted{ background:transparent; border:1px solid var(--line-strong); color:var(--muted); }
.tags{ display:flex; gap:6px; flex-wrap:wrap; margin-top:6px; }

.av{ display:inline-grid; place-items:center; border-radius:50%; object-fit:cover; flex-shrink:0; background:linear-gradient(135deg, var(--accent), var(--accent-2)); color:#fff; font-weight:700; font-size:13px; }
.who{ display:flex; align-items:center; gap:10px; min-width:0; }
.who > div{ display:flex; flex-direction:column; min-width:0; }
.who b{ font-weight:620; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.who span{ font-size:12.5px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.who.big b{ font-size:19px; }

.toolbar{ display:flex; gap:10px; flex-wrap:wrap; align-items:center; margin-bottom:14px; }
.toolbar input.f{ max-width:320px; }
.table-wrap{ overflow-x:auto; }
.tbl{ width:100%; border-collapse:collapse; font-size:13.5px; }
.tbl th{ text-align:left; font-weight:620; font-size:12px; color:var(--muted); padding:11px 16px; border-bottom:1px solid var(--line); background:var(--surface); position:sticky; top:0; white-space:nowrap; }
.tbl td{ padding:11px 16px; border-bottom:1px solid var(--line); vertical-align:middle; }
.tbl tr:last-child td{ border-bottom:0; }
.tbl tbody tr[onclick]{ cursor:pointer; }
.tbl tbody tr:hover td{ background:var(--fill-2); }
.tbl tr.dim td{ opacity:.55; }
.tbl td.clip{ max-width:260px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.tbl td.clip.wide{ max-width:420px; white-space:normal; }
.tbl .r{ text-align:right; }
.chev{ color:var(--muted-2); font-size:18px; }
.table-foot{ padding:10px 16px; font-size:12px; color:var(--muted); border-top:1px solid var(--line); }

.list-group{ background:var(--surface-2); border-radius:14px; overflow:hidden; margin:10px 0 18px; }
.lg-row{ display:flex; align-items:center; justify-content:space-between; gap:14px; padding:11px 14px; border-bottom:1px solid var(--line); font-size:14px; }
.lg-row:last-child{ border-bottom:0; }
.lg-row > span{ color:var(--muted); }
.lg-row > b{ font-weight:560; text-align:right; }
.lg-row.col{ flex-direction:column; align-items:flex-start; gap:4px; }
.lg-row p{ color:var(--text); white-space:pre-wrap; }
select.f.inline{ width:auto; height:34px; padding:4px 32px 4px 10px; background-color:var(--surface); }
.dot{ display:inline-block; width:8px; height:8px; border-radius:50%; margin-right:7px; vertical-align:middle; }
.dot.ok{ background:var(--ok); } .dot.bad{ background:var(--danger); }
.btn-row{ display:flex; gap:8px; flex-wrap:wrap; margin-top:12px; }
.form-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:12px; }
.form-grid label{ display:flex; flex-direction:column; gap:6px; font-size:12.5px; font-weight:600; color:var(--muted); }

.empty{ display:flex; flex-direction:column; align-items:center; gap:4px; text-align:center; padding:36px 16px; color:var(--muted); }
.empty b{ color:var(--text); font-size:15px; }

/* Grafik (tek seri çubuk) */
.chart{ position:relative; }
.chart svg{ width:100%; height:160px; display:block; overflow:visible; }
.chart .bar path{ fill:var(--accent); }
.chart .bar:hover path{ fill:var(--accent-strong); }
.chart .bar .hit{ fill:transparent; }
.chart .base{ stroke:var(--line-strong); stroke-width:1; }
.chart-axis{ display:flex; justify-content:space-between; font-size:11.5px; color:var(--muted); margin-top:6px; }
.chart-tip{ position:absolute; top:-6px; padding:5px 9px; border-radius:8px; background:var(--text); color:var(--bg); font-size:12px; font-weight:600; pointer-events:none; white-space:nowrap; }

/* Sıralama listesi */
.rank{ list-style:none; display:flex; flex-direction:column; }
.rank li{ display:flex; align-items:center; gap:10px; padding:9px 6px; border-radius:10px; cursor:pointer; }
.rank li:hover{ background:var(--fill-2); }
.rank .rk{ width:20px; text-align:center; font-weight:700; color:var(--muted); font-variant-numeric:tabular-nums; }
.rank .nm{ flex:1; font-weight:560; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.rank b{ font-size:13px; color:var(--accent); font-variant-numeric:tabular-nums; }
.kv{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.kv > div{ background:var(--surface-2); border-radius:12px; padding:12px 14px; display:flex; flex-direction:column; }
.kv span{ font-size:12.5px; color:var(--muted); } .kv b{ font-size:20px; font-weight:720; font-variant-numeric:tabular-nums; }

/* Kenar sayfası (sağdan açılan ayrıntı) */
.sheet-backdrop{ position:fixed; inset:0; z-index:900; background:rgba(8,10,20,.35); opacity:0; visibility:hidden; transition:opacity .2s, visibility .2s; }
.sheet-backdrop.open{ opacity:1; visibility:visible; }
.sheet{ position:absolute; right:0; top:0; bottom:0; width:min(560px, 100vw); background:var(--bg); box-shadow:var(--shadow-pop); padding:22px 24px 40px; overflow-y:auto; transform:translateX(30px); transition:transform .22s ease; }
.sheet-backdrop.open .sheet{ transform:none; }
.sheet-h{ display:flex; align-items:flex-start; justify-content:space-between; gap:12px; margin-bottom:16px; }
.sheet-h h2{ font-family:var(--font-display); font-size:22px; font-weight:740; letter-spacing:-.025em; }
.sheet h3{ font-size:13px; font-weight:650; color:var(--muted); text-transform:uppercase; letter-spacing:.05em; margin:18px 0 8px; }
.sheet section{ margin-bottom:6px; }
.sheet .chart svg{ height:90px; }

@media (max-width:900px){ .grid-a{ grid-template-columns:1fr; } .kv{ grid-template-columns:1fr 1fr; } }

/* =====================================================
   Uygulama ekranları v2 — sayfa başlığı, Bugün, kartlar, fiiller, oyunlar, sosyal
   ===================================================== */
/* Üst bar: masaüstünde başlık sayfanın içinde büyük durur; kaydırınca üst barda belirir (iOS büyük başlık gibi) */
@media (min-width:901px){
  .topbar h1{ font-size:15px; font-weight:650; opacity:0; transform:translateY(4px); transition:opacity .2s, transform .2s; }
  .topbar.scrolled h1{ opacity:1; transform:none; }
  .topbar{ padding:10px 28px; min-height:54px; }
}
.page-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:16px; flex-wrap:wrap; margin:6px 0 22px; }
.page-head h2{ font-family:var(--font-display); font-size:clamp(26px, 3.2vw, 34px); font-weight:760; letter-spacing:-.035em; line-height:1.1; }
.page-head p{ color:var(--muted); margin-top:6px; font-size:15px; max-width:620px; }
.page-head.compact h2{ font-size:26px; }
.eyebrow{ font-size:13px; font-weight:650; color:var(--accent) !important; text-transform:capitalize; margin:0 0 4px !important; }
.head-chips{ display:flex; gap:8px; flex-wrap:wrap; }
.chip-btn{ display:inline-flex; align-items:center; gap:6px; height:36px; padding:0 14px; border-radius:99px; border:0; background:var(--surface); box-shadow:var(--shadow-sm); color:var(--text-2); font-weight:600; font-size:13.5px; cursor:pointer; }
.chip-btn b{ color:var(--text); }
.chip-btn:hover{ box-shadow:var(--shadow); }
.link-btn{ border:0; background:none; color:var(--accent); font-weight:600; font-size:13.5px; cursor:pointer; padding:0; }
.link-btn:hover{ text-decoration:underline; }
.seg.seg-sm button{ padding:4px 10px; font-size:12.5px; }
.chips{ display:flex; flex-wrap:wrap; gap:6px; }
kbd{ font-family:inherit; font-size:11px; font-weight:650; padding:1px 6px; border-radius:6px; background:var(--fill-2); border:1px solid var(--line); color:var(--muted); }
.list-label{ font-size:12px; font-weight:700; color:var(--muted); text-transform:uppercase; letter-spacing:.05em; margin-bottom:8px; }
.hide-sm{ }
@media (max-width:640px){ .hide-sm{ display:none !important; } }

/* Bildirim zili */
.icon-btn.bell{ position:relative; width:38px; height:38px; background:var(--surface); box-shadow:var(--shadow-sm); }
.notif-dot{ position:absolute; top:-3px; right:-3px; min-width:18px; height:18px; padding:0 5px; border-radius:99px; background:var(--pink); color:#fff; font-size:10.5px; font-weight:750; display:grid; place-items:center; border:2px solid var(--bg); }
.notif-list{ display:flex; flex-direction:column; gap:2px; }
.notif{ display:flex; gap:12px; align-items:flex-start; padding:12px; border-radius:12px; cursor:default; }
.notif[onclick]{ cursor:pointer; }
.notif:hover{ background:var(--fill-2); }
.notif.unread{ background:var(--fill); }
.notif p{ font-size:14px; line-height:1.45; }

/* Bugün */
.home-grid{ display:grid; grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr); gap:16px; }
.hero-card{
  position:relative; overflow:hidden; border-radius:22px; padding:24px 26px; color:#fff; display:grid; grid-template-columns:auto 1fr; gap:6px 18px; align-items:center;
  background:radial-gradient(120% 120% at 100% 0%, rgba(56,189,248,.55), transparent 55%), linear-gradient(135deg, #4338ca, #6d28d9 60%, #7c3aed);
  box-shadow:0 18px 40px rgba(67,56,202,.28);
}
.hero-card .skeleton{ background:rgba(255,255,255,.18); }
.hero-ico{ grid-row:span 2; width:56px; height:56px; border-radius:16px; background:rgba(255,255,255,.16); display:grid; place-items:center; font-size:28px; }
.hero-body h3{ font-family:var(--font-display); font-size:22px; font-weight:740; letter-spacing:-.025em; }
.hero-body p{ color:rgba(255,255,255,.82); margin-top:4px; line-height:1.5; max-width:520px; }
.hero-btn{ grid-column:2; justify-self:start; margin-top:10px; background:#fff !important; color:#3730a3 !important; font-weight:700; }
.hero-btn:hover{ background:#eef2ff !important; }
.hero-meta{ grid-column:1 / -1; display:flex; gap:18px; margin-top:14px; padding-top:14px; border-top:1px solid rgba(255,255,255,.18); font-size:13px; color:rgba(255,255,255,.78); }
.hero-meta b{ color:#fff; font-size:15px; }
.goal-card{ display:flex; align-items:center; gap:18px; }
.ring-wrap{ position:relative; width:120px; height:120px; flex-shrink:0; }
.ring{ width:120px; height:120px; transform:rotate(-90deg); }
.ring circle{ fill:none; stroke-width:12; stroke-linecap:round; }
.ring-bg{ stroke:var(--surface-3); }
.ring-fg{ stroke:var(--ok); transition:stroke-dashoffset .6s cubic-bezier(.2,.8,.2,1); }
.ring-center{ position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.ring-center b{ font-family:var(--font-display); font-size:28px; font-weight:760; letter-spacing:-.03em; line-height:1; }
.ring-center span{ font-size:12px; color:var(--muted); }
.goal-text h3{ font-size:16px; font-weight:700; }
.goal-text p{ color:var(--muted); font-size:13.5px; margin:4px 0 10px; }
.tiles{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:12px; margin:16px 0; }
.tile{ display:flex; flex-direction:column; align-items:flex-start; gap:4px; text-align:left; border:0; padding:16px; border-radius:18px; background:var(--surface); box-shadow:var(--shadow-sm); cursor:pointer; transition:transform .12s, box-shadow .12s; }
.tile:hover{ transform:translateY(-2px); box-shadow:var(--shadow); }
.tile b{ font-size:15px; margin-top:8px; }
.tile > span:last-child{ font-size:12.5px; color:var(--muted); }
.tile-ico{ width:40px; height:40px; border-radius:12px; display:grid; place-items:center; font-size:20px; }
.t-blue{ background:color-mix(in srgb, var(--accent-2) 14%, transparent); } .t-violet{ background:color-mix(in srgb, var(--violet) 14%, transparent); }
.t-pink{ background:color-mix(in srgb, var(--pink) 13%, transparent); } .t-amber{ background:color-mix(in srgb, var(--amber) 16%, transparent); }
.t-ok{ background:color-mix(in srgb, var(--ok) 14%, transparent); }
.week{ display:grid; grid-template-columns:repeat(7,1fr); gap:10px; height:150px; align-items:end; }
.wk-day{ display:flex; flex-direction:column; align-items:center; gap:8px; height:100%; }
.wk-bar{ flex:1; width:100%; max-width:34px; background:var(--surface-2); border-radius:10px; display:flex; align-items:flex-end; overflow:hidden; }
.wk-bar i{ width:100%; background:var(--accent); border-radius:10px; min-height:0; transition:height .5s; }
.wk-bar i.met{ background:var(--ok); }
.wk-day span{ font-size:12px; color:var(--muted); text-transform:capitalize; }
.wk-day.today span{ color:var(--accent); font-weight:700; }
.wod-word{ font-family:var(--font-display); font-size:30px; font-weight:760; letter-spacing:-.03em; }
.wod-tr{ color:var(--accent); font-weight:600; margin-top:2px; }
.wod-ex{ margin-top:12px; color:var(--text-2); font-style:italic; line-height:1.55; }
.rank li.me{ background:var(--fill); }
.badges{ display:grid; grid-template-columns:repeat(4,1fr); gap:10px; }
.badges.big{ grid-template-columns:repeat(auto-fill,minmax(140px,1fr)); margin-top:16px; }
.badge-i{ display:flex; flex-direction:column; align-items:center; text-align:center; gap:4px; padding:12px 6px; border-radius:14px; background:var(--surface-2); }
.badge-i span{ font-size:28px; }
.badge-i em{ font-style:normal; font-size:12px; font-weight:650; }
.badge-i small{ font-size:11.5px; color:var(--muted); }
.badge-i.off{ opacity:.4; filter:grayscale(1); }
.lvl-bar{ height:8px; border-radius:99px; background:var(--surface-3); overflow:hidden; }
.lvl-bar i{ display:block; height:100%; background:linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius:99px; }

/* Kelime kartları */
.study-layout{ display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:18px; align-items:start; }
.study-side .side-h{ font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); margin:18px 0 2px; }
.study-side .side-h:first-child{ margin-top:0; }
.study-side .range-row{ margin-top:12px; justify-content:space-between; }
.study-side .range-row input{ flex:1; }
.flashcard{ min-height:360px; }
.card-speak{ position:absolute; top:14px; right:14px; width:40px; height:40px; border-radius:12px; border:0; background:var(--fill); cursor:pointer; font-size:17px; }
.card-speak:hover{ background:color-mix(in srgb, var(--accent) 18%, transparent); }
.answer-row{ display:grid; grid-template-columns:1fr auto 1fr; gap:10px; margin-bottom:12px; }
.btn.answer{ height:52px; font-size:15px; border-radius:14px; background:var(--surface); box-shadow:var(--shadow-sm); color:var(--text); }
.btn.answer kbd{ margin-left:4px; }
.btn.answer.good{ background:var(--ok); color:#fff; } .btn.answer.good kbd{ background:rgba(255,255,255,.2); color:#fff; border-color:transparent; }
.btn.answer.bad{ background:color-mix(in srgb, var(--danger) 12%, var(--surface)); color:var(--danger); }
.btn.answer.flip{ padding:0 22px; }
.sr-cta{ position:relative; height:42px; padding:0 18px; border-radius:99px; }
.cta-badge{ display:inline-grid; place-items:center; min-width:22px; height:22px; padding:0 6px; border-radius:99px; background:#fff; color:var(--accent-strong); font-size:12px; font-weight:800; margin-left:4px; }

/* Düzensiz fiiller */
.verb-stats{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-bottom:16px; }
.verb-stats .metric b small{ font-size:15px; color:var(--muted); font-weight:600; }
.verb-learn{ max-width:720px; margin:0 auto; }
.verb-card{ position:relative; border-radius:24px; padding:34px 24px 26px; text-align:center; cursor:pointer; background:var(--surface); box-shadow:var(--shadow); display:flex; flex-direction:column; align-items:center; gap:6px; margin-bottom:14px; }
.verb-v1{ font-family:var(--font-display); font-size:clamp(34px,6vw,52px); font-weight:780; letter-spacing:-.04em; line-height:1.05; }
.verb-tr{ color:var(--muted); font-size:16px; }
.verb-forms{ display:grid; grid-template-columns:1fr 1fr; gap:10px; width:100%; max-width:440px; margin:18px 0 8px; }
.verb-forms div{ background:var(--surface-2); border-radius:14px; padding:12px; display:flex; flex-direction:column; gap:2px; }
.verb-forms span{ font-size:11.5px; font-weight:650; color:var(--muted); text-transform:uppercase; letter-spacing:.05em; }
.verb-forms b{ font-size:22px; font-weight:720; color:var(--accent); }
.verb-card:not(.open) .verb-forms b{ color:var(--muted-2); }
.vdot{ display:inline-block; width:7px; height:7px; border-radius:50%; margin-left:6px; vertical-align:middle; }
.vdot.ok{ background:var(--ok); } .vdot.bad{ background:var(--danger); }
.verb-quiz{ max-width:640px; margin:0 auto; text-align:center; }
.vq-form{ display:grid; grid-template-columns:1fr 1fr auto; gap:10px; align-items:end; margin-top:18px; text-align:left; }
.vq-form label{ display:flex; flex-direction:column; gap:6px; font-size:12.5px; font-weight:600; color:var(--muted); }
.vq-form .btn{ height:42px; }
input.f.ok{ border-color:var(--ok); background:color-mix(in srgb, var(--ok) 8%, var(--surface)); }
input.f.bad{ border-color:var(--danger); background:color-mix(in srgb, var(--danger) 7%, var(--surface)); }
.pdf-drawer{ margin-bottom:16px; }
.pdf-upload-area{ position:relative; border:1.5px dashed var(--line-strong); border-radius:14px; padding:22px; text-align:center; display:flex; flex-direction:column; gap:4px; cursor:pointer; }
.pdf-upload-area input{ position:absolute; inset:0; opacity:0; cursor:pointer; }
.pdf-upload-area.drag-over{ border-color:var(--accent); background:var(--fill); }

/* Oyunlar */
.game-grid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(230px,1fr)); gap:14px; }
.game-card{ display:flex; flex-direction:column; align-items:flex-start; gap:6px; text-align:left; border:0; padding:18px; border-radius:20px; background:var(--surface); box-shadow:var(--shadow-sm); cursor:pointer; transition:transform .12s, box-shadow .12s; color:var(--text); }
.game-card:hover:not(:disabled){ transform:translateY(-2px); box-shadow:var(--shadow); }
.game-card .tile-ico{ width:48px; height:48px; font-size:24px; border-radius:14px; margin-bottom:6px; }
.game-card b{ font-size:16px; }
.game-card > span:not(.tile-ico){ font-size:13px; color:var(--muted); line-height:1.45; }
.game-card em{ font-style:normal; font-size:12px; font-weight:650; color:var(--accent); margin-top:auto; padding-top:8px; }
.game-card.locked{ opacity:.55; cursor:not-allowed; }
.game-card.locked em{ color:var(--muted); }
#game-stage{ max-width:760px; margin:0 auto; }
.g-top{ display:flex; align-items:center; gap:12px; margin-bottom:22px; }
.g-top > b{ font-size:16px; margin-right:auto; }
.g-hud{ display:flex; gap:8px; }
.g-hud div{ background:var(--surface); box-shadow:var(--shadow-sm); border-radius:12px; padding:6px 12px; text-align:center; min-width:62px; }
.g-hud span{ display:block; font-size:18px; font-weight:750; font-variant-numeric:tabular-nums; }
.g-hud em{ font-style:normal; font-size:11px; color:var(--muted); }
.g-q{ background:var(--surface); border-radius:22px; box-shadow:var(--shadow); padding:32px 20px; text-align:center; margin-bottom:16px; display:flex; flex-direction:column; align-items:center; gap:6px; transition:background-color .2s; }
.g-q.flash-ok{ background:color-mix(in srgb, var(--ok) 14%, var(--surface)); } .g-q.flash-bad{ background:color-mix(in srgb, var(--danger) 10%, var(--surface)); }
.g-word{ font-family:var(--font-display); font-size:clamp(28px,5vw,42px); font-weight:770; letter-spacing:-.035em; }
.g-word.sub{ font-size:clamp(22px,4vw,30px); color:var(--accent); }
.g-eq{ color:var(--muted); font-size:20px; }
.g-form{ font-size:14px; font-weight:650; color:var(--muted); margin-top:4px; }
.g-opts{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.g-opt{ min-height:58px; padding:12px 14px; border-radius:16px; border:0; background:var(--surface); box-shadow:var(--shadow-sm); font-size:16px; font-weight:600; color:var(--text); cursor:pointer; transition:transform .08s, background-color .15s; }
.g-opt:hover:not(:disabled){ box-shadow:var(--shadow); }
.g-opt:active{ transform:scale(.98); }
.g-opt.correct{ background:var(--ok); color:#fff; } .g-opt.wrong{ background:var(--danger); color:#fff; }
.g-tf{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.g-tf .g-opt{ min-height:72px; font-size:18px; }
.g-tf .g-opt.good{ background:color-mix(in srgb, var(--ok) 14%, var(--surface)); color:var(--ok); }
.g-tf .g-opt.bad{ background:color-mix(in srgb, var(--danger) 11%, var(--surface)); color:var(--danger); }
.g-listen{ width:84px; height:84px; border-radius:50%; border:0; font-size:34px; cursor:pointer; background:var(--accent); color:#fff; box-shadow:0 12px 30px color-mix(in srgb, var(--accent) 40%, transparent); }
.g-input{ display:flex; gap:10px; margin-bottom:10px; }
.g-input input{ font-size:20px !important; height:54px !important; text-align:center; letter-spacing:.02em; }
.g-input .btn{ height:54px; }
.g-fb{ text-align:center; min-height:26px; margin-top:12px; font-size:15px; }
.g-fb .ok{ color:var(--ok); } .g-fb .bad{ color:var(--danger); }
.g-slots{ display:flex; gap:6px; justify-content:center; flex-wrap:wrap; margin-bottom:16px; padding:6px; border-radius:16px; transition:background-color .2s; }
.g-slots.flash-ok{ background:color-mix(in srgb, var(--ok) 14%, transparent); } .g-slots.flash-bad{ background:color-mix(in srgb, var(--danger) 12%, transparent); }
.slot{ width:44px; height:52px; border-radius:12px; background:var(--surface); box-shadow:inset 0 -3px 0 var(--line-strong); display:grid; place-items:center; font-size:24px; font-weight:750; text-transform:uppercase; }
.g-letters, .g-kbd{ display:flex; gap:8px; justify-content:center; flex-wrap:wrap; margin-bottom:14px; }
.g-letter{ width:52px; height:56px; border-radius:14px; border:0; background:var(--accent); color:#fff; font-size:24px; font-weight:750; text-transform:uppercase; cursor:pointer; box-shadow:0 4px 0 var(--accent-strong); }
.g-letter:disabled{ opacity:.18; box-shadow:none; }
.g-key{ width:40px; height:46px; border-radius:10px; border:0; background:var(--surface); box-shadow:var(--shadow-sm); font-size:17px; font-weight:700; text-transform:uppercase; cursor:pointer; color:var(--text); }
.g-key.hit{ background:var(--ok); color:#fff; } .g-key.miss{ background:var(--surface-3); color:var(--muted-2); }
.g-result{ text-align:center; padding:34px 24px; display:flex; flex-direction:column; align-items:center; gap:8px; }
.g-res-ico{ font-size:56px; }
.g-result h2{ font-family:var(--font-display); font-size:28px; font-weight:760; letter-spacing:-.03em; }
.g-res-stats{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; width:100%; max-width:420px; margin:14px 0 4px; }
.g-res-stats div{ background:var(--surface-2); border-radius:14px; padding:12px; }
.g-res-stats b{ display:block; font-size:24px; font-weight:760; }
.g-res-stats span{ font-size:12px; color:var(--muted); }

/* Topluluk */
.social{ display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:22px; align-items:start; max-width:1100px; margin:0 auto; }
.social-side{ position:sticky; top:72px; display:flex; flex-direction:column; gap:14px; }
.social-side .card + .card{ margin-top:0; }
.composer{ padding:16px 18px; margin-bottom:14px; }
.composer-row{ display:flex; gap:12px; }
.composer-body{ flex:1; min-width:0; }
.composer textarea{ width:100%; border:0; resize:none; background:transparent; font-size:16px; line-height:1.5; color:var(--text); outline:none; min-height:48px; padding:8px 0; }
.composer textarea::placeholder{ color:var(--muted-2); }
.composer-images{ display:grid; grid-template-columns:repeat(4,1fr); gap:8px; }
.composer-images:empty{ display:none; }
.ci{ position:relative; aspect-ratio:1; border-radius:12px; overflow:hidden; background:var(--surface-2); }
.ci img{ width:100%; height:100%; object-fit:cover; }
.ci button{ position:absolute; top:6px; right:6px; width:24px; height:24px; border-radius:50%; border:0; background:rgba(0,0,0,.6); color:#fff; cursor:pointer; font-size:12px; }
.composer-foot{ display:flex; align-items:center; gap:10px; margin-top:10px; padding-top:10px; border-top:1px solid var(--line); }
.composer-foot .btn{ margin-left:auto; border-radius:99px; padding:9px 20px; }
label.icon-btn{ cursor:pointer; }
.feed-bar{ display:flex; gap:10px; align-items:center; justify-content:space-between; flex-wrap:wrap; margin-bottom:14px; }
.search-pill input{ height:38px; border-radius:99px; border:1px solid var(--line-strong); background:var(--surface); padding:0 16px; width:240px; outline:none; }
.search-pill input:focus{ border-color:var(--accent); box-shadow:var(--ring); }
.feed{ display:flex; flex-direction:column; gap:12px; }
.feed .card + .card{ margin-top:0; }
.feed-more{ text-align:center; margin:16px 0; }
.post{ padding:16px 18px 10px; position:relative; }
.post-h{ display:flex; gap:12px; align-items:center; margin-bottom:10px; position:relative; }
.post-av{ border:0; background:none; padding:0; cursor:pointer; flex-shrink:0; }
.post-who{ flex:1; min-width:0; }
.post-who > div{ display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.post-name{ border:0; background:none; padding:0; font-weight:700; font-size:15px; color:var(--text); cursor:pointer; }
.post-name:hover{ text-decoration:underline; }
.post-who > span{ font-size:12.5px; color:var(--muted); }
.post-who .bad{ color:var(--danger); }
.verified{ display:inline-flex; align-items:center; font-size:11px; font-weight:700; color:var(--accent-2); background:color-mix(in srgb, var(--accent-2) 12%, transparent); padding:1px 7px; border-radius:99px; }
.post-text{ font-size:15.5px; line-height:1.55; color:var(--text); word-wrap:break-word; }
.post-text a, .pc-bio a, .cmt-bubble a{ color:var(--accent); cursor:pointer; }
.post-text a.tag, .post-text a.mention{ font-weight:600; }
.clamp{ max-height:9.5em; overflow:hidden; -webkit-mask-image:linear-gradient(#000 70%, transparent); mask-image:linear-gradient(#000 70%, transparent); }
.post-title{ font-size:18px; font-weight:720; letter-spacing:-.015em; margin-bottom:6px; }
.post-article{ font-size:15px; line-height:1.6; color:var(--text-2); }
.post-article img{ max-width:100%; border-radius:12px; margin:8px 0; }
.post-imgs{ display:grid; gap:4px; margin-top:12px; border-radius:16px; overflow:hidden; }
.post-imgs img{ width:100%; height:100%; object-fit:cover; cursor:zoom-in; display:block; background:var(--surface-2); }
.post-imgs.n1 img{ max-height:520px; aspect-ratio:auto; }
.post-imgs.n2{ grid-template-columns:1fr 1fr; } .post-imgs.n2 img{ aspect-ratio:1; }
.post-imgs.n3{ grid-template-columns:2fr 1fr; grid-template-rows:1fr 1fr; } .post-imgs.n3 img:first-child{ grid-row:span 2; } .post-imgs.n3 img{ aspect-ratio:auto; min-height:140px; }
.post-imgs.n4{ grid-template-columns:1fr 1fr; } .post-imgs.n4 img{ aspect-ratio:4/3; }
.post-actions{ display:flex; gap:4px; margin-top:8px; }
.pa{ display:inline-flex; align-items:center; gap:6px; border:0; background:none; padding:7px 10px; border-radius:99px; color:var(--muted); font-size:13.5px; font-weight:600; cursor:pointer; }
.pa em{ font-style:normal; }
.pa:hover{ background:var(--fill-2); color:var(--text); }
.pa span{ font-size:17px; line-height:1; }
.pa.like.on{ color:var(--pink); } .pa.save.on{ color:var(--amber); }
.pa.pop span{ animation:pop .3s ease; }
@keyframes pop{ 50%{ transform:scale(1.35); } }
.pa.follow-mini{ margin-left:auto; color:var(--accent); }
.post-menu{ position:absolute; right:0; top:36px; z-index:20; min-width:180px; background:var(--surface); border-radius:14px; box-shadow:var(--shadow-pop); padding:6px; display:flex; flex-direction:column; }
.post-menu button{ border:0; background:none; text-align:left; padding:9px 12px; border-radius:9px; font-size:14px; color:var(--text); cursor:pointer; }
.post-menu button:hover{ background:var(--fill-2); }
.post-menu button.bad{ color:var(--danger); }
.me-card-h{ display:flex; gap:12px; align-items:center; cursor:pointer; }
.me-card-h > div{ display:flex; flex-direction:column; }
.me-stats{ display:grid; grid-template-columns:repeat(3,1fr); gap:6px; margin-top:14px; text-align:center; }
.me-stats b{ display:block; font-size:18px; font-weight:740; } .me-stats span{ font-size:12px; color:var(--muted); }
.trend{ display:flex; flex-direction:column; align-items:flex-start; width:100%; border:0; background:none; padding:8px 6px; border-radius:10px; cursor:pointer; text-align:left; color:var(--text); }
.trend:hover{ background:var(--fill-2); }
.trend b{ font-size:15px; }
.sugg{ display:flex; align-items:center; justify-content:space-between; gap:10px; padding:6px 0; }
.sugg .who{ border:0; background:none; padding:0; cursor:pointer; text-align:left; color:var(--text); min-width:0; flex:1; }
.cmts{ display:flex; flex-direction:column; gap:10px; margin:10px 0 14px; }
.cmt{ display:flex; gap:10px; }
.cmt.reply{ margin-left:44px; }
.cmt-body{ flex:1; min-width:0; }
.cmt-bubble{ background:var(--surface); border-radius:16px; padding:9px 13px; box-shadow:var(--shadow-sm); }
.cmt-bubble b{ font-size:13.5px; } .cmt-bubble p{ font-size:14.5px; line-height:1.45; }
.cmt-meta{ display:flex; gap:12px; font-size:12px; color:var(--muted); padding:4px 8px; }
.cmt-meta button{ border:0; background:none; color:var(--muted); font-weight:650; font-size:12px; cursor:pointer; padding:0; }
.cmt-meta button:hover{ color:var(--text); }
.cmt-form{ position:sticky; bottom:-40px; background:var(--bg); padding:10px 0 4px; }
.cmt-input{ display:flex; gap:8px; }
.sheet .post{ box-shadow:var(--shadow-sm); }
.back{ margin-bottom:12px; display:inline-block; }
.profile-card{ margin-bottom:12px; }
.pc-cover{ height:170px; background:linear-gradient(135deg, var(--accent), var(--accent-2)); }
.pc-cover img{ width:100%; height:100%; object-fit:cover; }
.pc-body{ padding:0 22px 20px; }
.pc-top{ display:flex; justify-content:space-between; align-items:flex-end; margin-top:-46px; }
.pc-top .av{ border:4px solid var(--surface); font-size:32px; }
.pc-actions{ display:flex; gap:8px; padding-bottom:6px; }
.pc-name{ font-family:var(--font-display); font-size:24px; font-weight:750; letter-spacing:-.025em; margin-top:10px; display:flex; align-items:center; gap:8px; }
.pc-bio{ margin:6px 0; line-height:1.5; }
.pc-stats{ display:flex; gap:18px; margin-top:10px; font-size:14px; color:var(--muted); }
.pc-stats b{ color:var(--text); }

/* Öğretmen genel bakış */
.hw-row{ display:flex; justify-content:space-between; gap:14px; align-items:center; padding:10px 0; border-bottom:1px solid var(--line); }
.hw-row:last-child{ border-bottom:0; }
.hw-row > div:first-child{ display:flex; flex-direction:column; min-width:0; }
.hw-prog{ display:flex; align-items:center; gap:8px; flex-shrink:0; }
.hw-prog .bar{ width:90px; height:6px; border-radius:99px; background:var(--surface-3); overflow:hidden; }
.hw-prog .bar i{ display:block; height:100%; background:var(--ok); }
#th-onboard .hero-card{ margin:16px 0; }

@media (max-width:1100px){ .social{ grid-template-columns:minmax(0,1fr); } .social-side{ position:static; } }
@media (max-width:900px){
  .home-grid, .study-layout{ grid-template-columns:1fr; }
  .tiles{ grid-template-columns:1fr 1fr; }
  .verb-stats{ grid-template-columns:1fr 1fr; }
  .badges{ grid-template-columns:repeat(4,1fr); }
}
@media (max-width:560px){
  .hero-card{ grid-template-columns:1fr; padding:20px; } .hero-ico{ grid-row:auto; } .hero-btn{ grid-column:1; }
  .g-opts{ grid-template-columns:1fr; }
  .vq-form{ grid-template-columns:1fr 1fr; } .vq-form .btn{ grid-column:span 2; }
  .answer-row{ grid-template-columns:1fr 1fr; } .btn.answer.flip{ grid-column:span 2; order:-1; }
  .goal-card{ flex-direction:column; text-align:center; }
  .search-pill input{ width:100%; } .search-pill{ width:100%; }
  .slot{ width:36px; height:44px; font-size:20px; } .g-letter{ width:44px; height:48px; }
  .g-key{ width:32px; height:42px; font-size:15px; }
}
.goal-card{ flex-wrap:wrap; justify-content:center; }
.goal-text{ flex:1; min-width:180px; }
.goal-text .seg{ flex-wrap:wrap; }
@media (min-width:901px) and (max-width:1280px){ .goal-card{ flex-direction:column; text-align:center; } .goal-text .seg{ justify-content:center; } }
.side-tools .theme-toggle{ font-size:15px; }
.side-link{ display:block; font-size:12.5px; color:var(--muted); margin:6px 6px 0; font-weight:550; } .side-link:hover{ color:var(--accent); }
.badges{ grid-template-columns:repeat(auto-fill, minmax(84px,1fr)); }
#pane-words .panel-title{ gap:10px; } #pane-words .panel-title > span{ white-space:nowrap; }
.st-kpi::before, .arp-kpi-card::before{ display:none !important; }
.new-class{ padding:16px 18px; }
.ai-tabs button{ padding:7px 16px; font-size:14px; }
.metrics{ grid-template-columns:repeat(auto-fill, minmax(150px,1fr)); }

/* =====================================================
   Diyalog, aranabilir seçim, Venom imzası
   ===================================================== */
.dlg-back{ position:fixed; inset:0; z-index:1200; display:grid; place-items:center; padding:20px; background:rgba(8,10,20,.42); opacity:0; transition:opacity .15s; }
.dlg-back.open{ opacity:1; }
.dlg{ width:100%; max-height:min(88vh,860px); display:flex; flex-direction:column; background:var(--surface); border-radius:20px; box-shadow:var(--shadow-pop); transform:translateY(8px) scale(.985); transition:transform .18s cubic-bezier(.2,.8,.2,1); }
.dlg-back.open .dlg{ transform:none; }
.dlg.sm{ max-width:420px; } .dlg.md{ max-width:540px; } .dlg.lg{ max-width:780px; } .dlg.xl{ max-width:1000px; }
.dlg-h{ display:flex; justify-content:space-between; gap:12px; align-items:flex-start; padding:20px 22px 6px; }
.dlg-h h2{ font-family:var(--font-display); font-size:19px; font-weight:720; letter-spacing:-.02em; }
.dlg-h p{ color:var(--muted); font-size:13.5px; margin-top:3px; line-height:1.45; }
.dlg-b{ padding:10px 22px 16px; overflow-y:auto; flex:1; min-height:0; }
.dlg-b label.f:first-child{ margin-top:0; }
.dlg-text{ color:var(--text-2); line-height:1.55; font-size:14.5px; }
.dlg-note{ color:var(--muted); font-size:12.5px; line-height:1.5; margin-top:10px; }
.dlg-err{ margin:0 22px 10px; padding:9px 12px; border-radius:10px; background:color-mix(in srgb,var(--danger) 11%,transparent); color:var(--danger); font-size:13px; font-weight:560; }
.dlg-f{ display:flex; justify-content:flex-end; gap:8px; padding:12px 22px 18px; border-top:1px solid var(--line); }
.btn-danger{ background:var(--danger); color:#fff; border-color:transparent; }
.btn-danger:hover{ filter:brightness(1.06); }
@media (max-width:560px){ .dlg-back{ padding:0; place-items:end stretch; } .dlg{ max-width:none!important; border-radius:20px 20px 0 0; max-height:92vh; } }

.pick-search{ display:flex; align-items:center; gap:8px; height:38px; padding:0 11px; border-radius:10px; background:var(--surface-2); border:1px solid var(--line); color:var(--muted); }
.pick-search svg{ width:15px; height:15px; flex:none; }
.pick-search input{ flex:1; min-width:0; border:0; outline:0; background:transparent; color:var(--text); font:inherit; font-size:14px; }
.pick-search:focus-within{ box-shadow:var(--ring); border-color:var(--accent); }
.pick-list{ margin-top:8px; max-height:300px; overflow-y:auto; display:flex; flex-direction:column; gap:1px; }
.pick-row{ display:flex; align-items:center; gap:10px; width:100%; text-align:left; padding:8px 10px; border:0; border-radius:9px; background:transparent; color:var(--text); font:inherit; font-size:14px; cursor:pointer; }
.pick-row:hover{ background:var(--fill-2); }
.pick-row.on{ background:var(--fill); }
.pick-t{ flex:1; min-width:0; display:flex; flex-direction:column; }
.pick-t b{ font-weight:560; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.pick-t em{ font-style:normal; font-size:12px; color:var(--muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.pick-tick{ width:15px; height:15px; color:var(--accent); opacity:0; flex:none; } .pick-row.on .pick-tick{ opacity:1; }
.pick-box{ width:18px; height:18px; flex:none; border-radius:5px; border:1.5px solid var(--line-strong); display:grid; place-items:center; color:transparent; }
.pick-box svg{ width:12px; height:12px; } .pick-row.on .pick-box{ background:var(--accent); border-color:var(--accent); color:var(--on-accent); }
.pick-none{ padding:18px; text-align:center; color:var(--muted); font-size:13.5px; }

.combo{ position:relative; display:inline-block; min-width:0; }
.combo-btn{ display:inline-flex; align-items:center; gap:8px; height:38px; max-width:280px; padding:0 12px; border-radius:10px; border:1px solid var(--line-strong); background:var(--surface); color:var(--text); font:inherit; font-size:13.5px; font-weight:560; cursor:pointer; }
.combo-btn:hover{ background:var(--surface-2); }
.combo-btn.active{ border-color:color-mix(in srgb,var(--accent) 50%,transparent); background:var(--fill); }
.combo-btn svg{ width:10px; height:6px; color:var(--muted); flex:none; }
.combo-v{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.combo-v small{ color:var(--muted); font-size:12.5px; font-weight:500; margin-right:5px; }
.combo-pop{ position:absolute; z-index:300; top:calc(100% + 6px); left:0; width:300px; max-width:calc(100vw - 32px); padding:8px; border-radius:14px; background:var(--surface); box-shadow:var(--shadow-pop); }
.combo-pop.right{ left:auto; right:0; }
.combo-pop .pick-list{ max-height:260px; }
.combo-f{ display:flex; justify-content:space-between; align-items:center; padding:8px 4px 2px; border-top:1px solid var(--line); margin-top:6px; }

.venom-mark{ width:14px; height:22px; flex:none; display:block; }
.venom-badge{ display:inline-flex; align-items:center; gap:7px; color:var(--muted); font-size:11.5px; font-weight:520; text-decoration:none; padding:8px 2px 0; transition:color .15s; }
.venom-badge .venom-mark{ width:10px; height:16px; }
.venom-badge:hover{ color:var(--text); }
.venom-promo{ display:flex; align-items:center; gap:14px; padding:14px 16px; border-radius:14px; background:var(--surface); box-shadow:var(--shadow-sm); color:var(--text); text-decoration:none; transition:box-shadow .15s; }
.venom-promo:hover{ box-shadow:var(--shadow); }
.venom-promo .venom-mark{ width:22px; height:36px; }
.venom-promo div{ flex:1; min-width:0; display:flex; flex-direction:column; gap:1px; }
.venom-promo b{ font-size:14.5px; font-weight:650; letter-spacing:-.01em; } .venom-promo b i{ font-style:normal; font-weight:430; color:var(--muted); }
.venom-promo span{ font-size:12.5px; color:var(--muted); line-height:1.4; }
.venom-promo em{ font-style:normal; font-size:12.5px; font-weight:600; color:var(--accent); white-space:nowrap; }

.av:not(img){ color:#fff; font-weight:650; }

.verify-bar{ display:flex; justify-content:space-between; align-items:center; gap:12px; padding:10px 14px; margin-bottom:14px; border-radius:12px; background:color-mix(in srgb,var(--amber) 13%,transparent); font-size:13.5px; }
.acct-b{ width:100%; margin-top:8px; }

/* =====================================================
   Mobil uygulama (html.native)
   ===================================================== */
html.native{ -webkit-tap-highlight-color:transparent; }
html.native body{ overscroll-behavior-y:none; -webkit-user-select:none; user-select:none; }
html.native input, html.native textarea, html.native p, html.native .en, html.native .tr{ -webkit-user-select:text; user-select:text; }
html.native .topbar{ padding-top:calc(env(safe-area-inset-top) + 8px); }
html.native .app-sidebar{ padding-top:calc(env(safe-area-inset-top) + 10px); padding-bottom:calc(env(safe-area-inset-bottom) + 10px); }
html.native .auth-main, html.native .legal-top{ padding-top:calc(env(safe-area-inset-top) + 24px); }
html.native .sheet{ padding-top:calc(env(safe-area-inset-top) + 18px); padding-bottom:calc(env(safe-area-inset-bottom) + 24px); }
html.native .dlg-f{ padding-bottom:calc(env(safe-area-inset-bottom) + 16px); }
html.native.has-tabs .wrap{ padding-bottom:calc(env(safe-area-inset-bottom) + 84px); }
html.native.has-tabs .toast{ bottom:calc(env(safe-area-inset-bottom) + 76px); }
.tabbar{ position:fixed; left:0; right:0; bottom:0; z-index:80; display:grid; grid-template-columns:repeat(5,1fr); padding:6px 4px calc(env(safe-area-inset-bottom) + 5px); background:var(--side); backdrop-filter:saturate(180%) blur(18px); -webkit-backdrop-filter:saturate(180%) blur(18px); border-top:1px solid var(--line); }
.tabbar button{ position:relative; display:flex; flex-direction:column; align-items:center; gap:2px; border:0; background:none; color:var(--muted); font:inherit; font-size:10.5px; font-weight:560; padding:4px 0; }
.tabbar button.on{ color:var(--accent); }
.tabbar .ico{ width:23px; height:23px; }
/* Dokunmatik cihazda 16 pikselden küçük alana dokununca iOS sayfayı yakınlaştırıyor */
@media (pointer:coarse){ input:not([type=checkbox]):not([type=radio]):not(.code-input), textarea, select{ font-size:16px !important; } }
/* Kaydırılan içerik saat ve çentiğin altına karışmasın */
html.native body::before{ content:""; position:fixed; top:0; left:0; right:0; height:env(safe-area-inset-top); background:var(--bg); z-index:70; pointer-events:none; }
html.native .app-sidebar{ z-index:120; }
html.native .mob-overlay{ z-index:110; }
