/* Durak — sakin, yüksek kontrast, tek elle. Renkler :root tokenlarında. */
:root {
  --bg: #F3F1EC;
  --surface: #FFFFFF;
  --surface-2: #ECE9E2;
  --line: #E0DCD3;
  --text: #14161B;
  --muted: #565D6B;
  --accent: #2B44C9;
  --accent-ink: #FFFFFF;
  --accent-soft: #E4E8FB;
  --ok: #12763A;
  --ok-soft: #DCF1E2;
  --bad: #C2352B;
  --bad-soft: #FBE4E1;
  --warn: #8F5400;
  --warn-soft: #FBEFD8;
  --gram: #7339B8;
  --gram-soft: #EEE4FA;
  --new: #0A6A80;
  --new-soft: #DCF0F4;
  --hero-bg: #2B44C9;
  --hero-ink: #FFFFFF;
  --heat1: #CBD3F6;
  --heat2: #95A4EC;
  --heat3: #5D73DD;
  --heat4: #2B44C9;
  --scrim: rgba(16, 18, 24, .38);
  --shadow: 0 1px 2px rgba(17, 20, 30, .06), 0 12px 32px -10px rgba(17, 20, 30, .18);
  --shadow-soft: 0 1px 2px rgba(17, 20, 30, .05);
  --r-card: 26px;
  --r: 18px;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --font: -apple-system, system-ui, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0D0F13; --surface: #171A20; --surface-2: #242831; --line: #2D323C;
    --text: #F2F3F5; --muted: #A4ABB8;
    --accent: #8FA2FF; --accent-ink: #0D0F13; --accent-soft: #232B4D;
    --ok: #5BD68A; --ok-soft: #12301F; --bad: #FF8378; --bad-soft: #3B1916;
    --warn: #F2B25C; --warn-soft: #382910; --gram: #C9A6FF; --gram-soft: #2D2242;
    --new: #74D4E8; --new-soft: #11313A;
    --hero-bg: #1C275E; --hero-ink: #F2F3F5;
    --heat1: #222B50; --heat2: #36479E; --heat3: #5B70D8; --heat4: #8FA2FF;
    --scrim: rgba(0, 0, 0, .55);
    --shadow: 0 1px 2px rgba(0, 0, 0, .45), 0 14px 34px -12px rgba(0, 0, 0, .7);
    --shadow-soft: 0 1px 2px rgba(0, 0, 0, .3);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0D0F13; --surface: #171A20; --surface-2: #242831; --line: #2D323C;
  --text: #F2F3F5; --muted: #A4ABB8;
  --accent: #8FA2FF; --accent-ink: #0D0F13; --accent-soft: #232B4D;
  --ok: #5BD68A; --ok-soft: #12301F; --bad: #FF8378; --bad-soft: #3B1916;
  --warn: #F2B25C; --warn-soft: #382910; --gram: #C9A6FF; --gram-soft: #2D2242;
  --new: #74D4E8; --new-soft: #11313A;
  --hero-bg: #1C275E; --hero-ink: #F2F3F5;
  --heat1: #222B50; --heat2: #36479E; --heat3: #5B70D8; --heat4: #8FA2FF;
  --scrim: rgba(0, 0, 0, .55);
  --shadow: 0 1px 2px rgba(0, 0, 0, .45), 0 14px 34px -12px rgba(0, 0, 0, .7);
  --shadow-soft: 0 1px 2px rgba(0, 0, 0, .3);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
  -webkit-text-size-adjust: 100%;
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; touch-action: manipulation; }
button:disabled { cursor: default; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 10px; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
svg { flex: none; }

.app { max-width: 520px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; }
.boot { height: 100vh; display: grid; place-items: center; }
.boot-mark { width: 44px; height: 44px; border-radius: 50%; border: 5px solid var(--accent); opacity: .5; }

/* ---------- ekran iskeleti ---------- */
.screen { height: 100vh; height: 100dvh; display: flex; flex-direction: column; }
.scroll { flex: 1; overflow-y: auto; padding: calc(var(--safe-t) + 4px) 16px 20px; -webkit-overflow-scrolling: touch; }
.top { padding: 18px 4px 10px; position: relative; }
.top-date { color: var(--muted); font-size: 15px; font-weight: 500; }
.top-title { font-size: 30px; line-height: 1.15; font-weight: 750; letter-spacing: -.02em; }
.streak { position: absolute; right: 4px; top: 22px; display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border-radius: 999px; background: var(--warn-soft); color: var(--warn); font-size: 14px; font-weight: 650; }

.hero { margin-top: 6px; background: var(--hero-bg); color: var(--hero-ink); border-radius: 24px; padding: 20px 22px 18px; }
.hero:empty { display: none; }
.hero-num { font-size: 58px; line-height: 1; font-weight: 780; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.hero-num small { font-size: 22px; font-weight: 650; letter-spacing: 0; opacity: .9; }
.hero-lbl { margin-top: 8px; font-size: 15px; opacity: .92; }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.tiles--4, .tiles--2 { grid-template-columns: repeat(2, 1fr); }
.tile { background: var(--surface); border-radius: var(--r); padding: 14px 14px 12px; box-shadow: var(--shadow-soft); }
.tile-n { font-size: 28px; line-height: 1.1; font-weight: 750; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.tile-l { color: var(--muted); font-size: 13.5px; margin-top: 3px; line-height: 1.3; }

.panel { background: var(--surface); border-radius: 20px; padding: 6px 16px; margin-top: 12px; box-shadow: var(--shadow-soft); }
.panel > .sec-h:first-child { padding-top: 12px; }
.sec-h { font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 700; padding: 6px 0 8px; display: flex; justify-content: space-between; gap: 8px; }
.sec-h span { text-transform: none; letter-spacing: 0; font-weight: 500; }
.plan-row { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.plan-row:last-child { border-bottom: 0; }
.plan-k { width: 66px; flex: none; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; padding-top: 3px; }
.plan-v { flex: 1; font-size: 17.5px; font-weight: 650; line-height: 1.35; min-width: 0; }
.plan-v--muted { color: var(--muted); font-weight: 500; }
.plan-of { color: var(--muted); font-weight: 500; }
.plan-sub { display: block; color: var(--muted); font-size: 14px; font-weight: 450; margin-top: 3px; }
.bar { height: 8px; border-radius: 4px; background: var(--surface-2); margin-top: 9px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; border-radius: 4px; }
.note-line { margin-top: 12px; padding: 11px 14px; border-radius: 14px; background: var(--warn-soft); color: var(--text); font-size: 14.5px; }

.cta-wrap { padding: 8px 16px 10px; }
.cta { width: 100%; min-height: 74px; border-radius: 22px; background: var(--accent); color: var(--accent-ink); display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; align-items: center; text-align: left; padding: 10px 22px 10px 24px; box-shadow: 0 10px 24px -12px var(--accent); transition: transform 120ms ease; }
.cta:active { transform: scale(.985); }
.cta-main { font-size: 23px; font-weight: 760; letter-spacing: -.01em; grid-column: 1; }
.cta-sub { font-size: 14px; opacity: .85; grid-column: 1; }
.cta svg { grid-column: 2; grid-row: 1 / span 2; width: 30px; height: 30px; }

.tabs { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border-top: 1px solid var(--line); padding-bottom: var(--safe-b); }
.tab { height: 62px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.tab--on { color: var(--accent); }

/* ---------- oturum ---------- */
.sess { height: 100vh; height: 100dvh; display: flex; flex-direction: column; padding-top: var(--safe-t); overflow: hidden; }
.sess-top { display: flex; align-items: center; gap: 12px; padding: 8px 14px 4px 8px; min-height: 56px; }
.icon-btn { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--muted); flex: none; }
.icon-btn:active { background: var(--surface-2); }
.timebar { flex: 1; height: 7px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.timebar i { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1s linear; border-radius: 4px; }
.sess-count { min-width: 34px; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--muted); font-size: 15px; }
.dots { flex: 1; display: flex; justify-content: center; gap: 6px; padding: 18px 0 6px; }
.dots i { width: 8px; height: 8px; border-radius: 4px; background: var(--line); transition: width 200ms ease, background 200ms ease; }
.dots i.on { width: 24px; background: var(--accent); }

.deck { position: relative; flex: 1; margin: 6px 16px 0; min-height: 0; }
.card, .ghost {
  position: absolute; left: 0; right: 0; top: 0; bottom: 26px;
  border-radius: var(--r-card); background: var(--surface);
  transform-origin: 50% 100%;
}
.ghost { box-shadow: var(--shadow-soft); border: 1px solid var(--line); }
.ghost--1 { transform: translate3d(0, 12px, 0) scale(.955); opacity: .8; }
.ghost--2 { transform: translate3d(0, 24px, 0) scale(.91); opacity: .5; }
.card {
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  padding: 18px 20px 20px;
  overflow: hidden;
  user-select: none; -webkit-user-select: none;
  touch-action: none;
  will-change: transform;
  transition: transform 260ms cubic-bezier(.2, .8, .2, 1), opacity 220ms ease;
}
.card--enter { transform: translate3d(0, 12px, 0) scale(.955); opacity: .4; transition: none; }
.card--mc { overflow-y: auto; touch-action: pan-y; }
.card--info { touch-action: pan-y; overflow-y: auto; }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 3px transparent; transition: box-shadow 150ms ease; }
.card--yes::after { box-shadow: inset 0 0 0 3px var(--ok); }
.card--no::after { box-shadow: inset 0 0 0 3px var(--bad); }
.card--info.card--yes::after, .card--info.card--no::after { box-shadow: inset 0 0 0 3px var(--accent); }

.stamp { position: absolute; top: 58px; padding: 5px 12px; border: 3px solid currentColor; border-radius: 10px; font-weight: 850; font-size: 21px; letter-spacing: .08em; opacity: 0; pointer-events: none; background: var(--surface); }
.stamp--yes { left: 18px; color: var(--ok); transform: rotate(-11deg); }
.stamp--no { right: 18px; color: var(--bad); transform: rotate(11deg); }
.card--info .stamp { display: none; }

.c-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 28px; }
.tag { font-size: 12px; font-weight: 800; letter-spacing: .08em; padding: 5px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); white-space: nowrap; }
.tag--new { background: var(--new-soft); color: var(--new); }
.tag--check { background: var(--accent-soft); color: var(--accent); }
.tag--gram { background: var(--gram-soft); color: var(--gram); }
.c-meta { color: var(--muted); font-size: 13.5px; font-weight: 550; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.c-body { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 14px 0; min-height: 0; }
.c-center { align-items: center; text-align: center; }
.c-q { text-align: center; color: var(--muted); font-size: 15.5px; font-weight: 550; padding-top: 4px; }
.w-row { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.c-learn .w-row { justify-content: flex-start; }
.w-word { font-size: 38px; line-height: 1.12; font-weight: 760; letter-spacing: -.015em; overflow-wrap: anywhere; }
.w-eq { color: var(--muted); font-size: 12.5px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; margin-top: 6px; }
.w-mean { font-size: 24px; line-height: 1.3; font-weight: 620; }
.w-mean--lead { font-size: 27px; font-weight: 680; }
.c-learn { justify-content: flex-start; gap: 10px; }
.c-learn .w-mean { font-size: 22px; color: var(--accent); }
.spk { width: 42px; height: 42px; border-radius: 50%; background: var(--surface-2); color: var(--text); display: inline-grid; place-items: center; }
.no-tts .spk { display: none; }
.ex { background: var(--surface-2); border-radius: 14px; padding: 12px 14px; }
.ex-en { font-size: 17px; line-height: 1.45; }
.ex-tr { font-size: 15px; color: var(--muted); margin-top: 4px; line-height: 1.4; }
mark { background: var(--accent-soft); color: inherit; border-radius: 5px; padding: 0 3px; font-weight: 650; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 12px; border-radius: 999px; background: var(--surface-2); font-size: 14.5px; font-weight: 550; }
.note { background: var(--warn-soft); border-radius: 14px; padding: 10px 14px; font-size: 15px; line-height: 1.4; }
.fam { color: var(--muted); font-size: 14.5px; }

.g-s { font-size: 22px; line-height: 1.5; font-weight: 520; }
.g-s--big { font-size: 25px; line-height: 1.4; font-weight: 600; }
.blank { display: inline-block; min-width: 70px; height: 1.05em; border-bottom: 3px solid var(--accent); margin: 0 3px; vertical-align: -3px; }
.blank.filled { min-width: 0; height: auto; color: var(--ok); font-weight: 750; border-bottom-color: var(--ok); vertical-align: baseline; }
.dlg { display: flex; flex-direction: column; gap: 10px; }
.dl { display: flex; gap: 10px; align-items: flex-start; }
.who { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 13px; font-weight: 800; margin-top: 1px; }
.dt { font-size: 19px; line-height: 1.45; }
.sit { font-size: 19px; line-height: 1.45; background: var(--surface-2); border-radius: 16px; padding: 14px 16px; }
.pair { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.p-s { font-size: 21px; line-height: 1.4; font-weight: 580; }
.p-s--tr { color: var(--text); font-weight: 520; }
.p-sep { color: var(--muted); font-size: 12.5px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }

.opts { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.opt { min-height: 56px; display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--surface); text-align: left; font-size: 17.5px; line-height: 1.3; font-weight: 560; transition: background 120ms ease, border-color 120ms ease; }
.opt:active:not(:disabled) { background: var(--surface-2); }
.opt-k { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); color: var(--muted); display: grid; place-items: center; font-size: 13.5px; font-weight: 800; }
.opt-t { flex: 1; overflow-wrap: anywhere; }
.opt--ok { background: var(--ok-soft); border-color: var(--ok); }
.opt--ok .opt-k { background: var(--ok); color: var(--surface); }
.opt--bad { background: var(--bad-soft); border-color: var(--bad); }
.opt--bad .opt-k { background: var(--bad); color: var(--surface); }

.c-lesson { justify-content: flex-start; gap: 12px; padding-top: 18px; }
.ls-h { font-size: 25px; line-height: 1.25; font-weight: 740; letter-spacing: -.01em; }
.ls-b { font-size: 17.5px; line-height: 1.55; }
.ls-ex, .ls-traps { display: flex; flex-direction: column; gap: 8px; }
.ls-ex li { font-size: 16.5px; line-height: 1.4; padding: 9px 12px; border-radius: 12px; background: var(--surface-2); border-left: 4px solid var(--gram); }
.ls-traps li { font-size: 16px; line-height: 1.45; padding: 10px 12px; border-radius: 12px; background: var(--warn-soft); }

.actions { display: flex; gap: 12px; padding: 12px 16px calc(14px + var(--safe-b)); }
.act { flex: 1; min-height: 66px; border-radius: 20px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 17px; font-weight: 700; transition: transform 100ms ease; }
.act:active { transform: scale(.97); }
.act--no { background: var(--bad-soft); color: var(--bad); }
.act--yes { background: var(--ok-soft); color: var(--ok); }
.act--go { background: var(--accent); color: var(--accent-ink); display: none; }
.sess[data-kind="info"] .act--no, .sess[data-kind="info"] .act--yes { display: none; }
.sess[data-kind="info"] .act--go { display: flex; }
.sess[data-kind="mc"] .actions { visibility: hidden; min-height: 0; padding-top: 0; padding-bottom: calc(6px + var(--safe-b)); }
.sess[data-kind="mc"] .actions .act { min-height: 0; height: 0; }

/* intro */
.c-intro { align-items: center; text-align: center; gap: 14px; padding: 10px 6px; }
.c-intro h2 { font-size: 28px; line-height: 1.2; font-weight: 760; letter-spacing: -.015em; }
.c-intro p { font-size: 17px; line-height: 1.55; color: var(--muted); max-width: 30ch; }
.intro-art { height: 150px; display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 4px; }
.intro-art--stop span { width: 92px; height: 92px; border-radius: 50%; border: 12px solid var(--accent); position: relative; }
.intro-art--stop span::after { content: ""; position: absolute; left: 50%; top: 100%; width: 12px; height: 50px; margin-left: -6px; background: var(--accent); border-radius: 0 0 6px 6px; }
.intro-art--stop { align-items: flex-start; padding-top: 4px; }
.ia-card { width: 84px; height: 112px; border-radius: 16px; background: var(--surface-2); border: 2px solid var(--line); transform: rotate(-6deg); }
.ia-l, .ia-r { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; }
.ia-l { background: var(--bad-soft); color: var(--bad); }
.ia-r { background: var(--ok-soft); color: var(--ok); }
.intro-art--teach { flex-direction: column; gap: 10px; }
.intro-art--teach span { display: block; height: 16px; border-radius: 8px; background: var(--surface-2); width: 170px; }
.intro-art--teach span:first-child { background: var(--ok-soft); width: 200px; height: 30px; }
.intro-art--teach span:last-child { background: var(--warn-soft); width: 140px; }

/* ---------- öğretme paneli ---------- */
.sheet-bg { position: fixed; inset: 0; background: var(--scrim); opacity: 0; transition: opacity 240ms ease; z-index: 40; }
.sheet-bg.on { opacity: 1; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; margin: 0 auto; max-width: 520px; max-height: 84vh; max-height: 84dvh;
  background: var(--surface); border-radius: 26px 26px 0 0; z-index: 41;
  display: flex; flex-direction: column; box-shadow: 0 -10px 40px -10px rgba(0, 0, 0, .3);
  transform: translate3d(0, 104%, 0); transition: transform 300ms cubic-bezier(.2, .85, .25, 1);
}
.sheet.on { transform: translate3d(0, 0, 0); }
.sheet-grip { width: 42px; height: 5px; border-radius: 3px; background: var(--line); margin: 10px auto 2px; flex: none; }
.sheet-scroll { overflow-y: auto; padding: 8px 20px 6px; display: flex; flex-direction: column; gap: 12px; }
.sheet-tag { color: var(--muted); font-size: 13px; font-weight: 650; }
.sheet-foot { padding: 10px 16px calc(14px + var(--safe-b)); flex: none; }
.t-lead { font-size: 12.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--ok); }
.t-correct { font-size: 20px; line-height: 1.45; font-weight: 620; background: var(--ok-soft); border-radius: 16px; padding: 12px 14px; }
.t-correct .dlg { gap: 6px; }
.t-correct .dt { font-size: 17px; }
.t-why { font-size: 16.5px; line-height: 1.55; }
.t-box { border-radius: 16px; padding: 11px 14px; font-size: 15.5px; line-height: 1.5; }
.t-box--bad { background: var(--bad-soft); }
.t-box--trap { background: var(--warn-soft); }
.t-k { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 3px; opacity: .8; }
.t-ex { border-left: 4px solid var(--accent); padding: 2px 0 2px 12px; }

/* ---------- butonlar ---------- */
.btn { min-height: 52px; border-radius: 16px; padding: 0 18px; font-size: 16px; font-weight: 680; display: inline-flex; align-items: center; justify-content: center; text-align: center; transition: transform 100ms ease, background 150ms ease; }
.btn:active:not(:disabled) { transform: scale(.98); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--soft { background: var(--surface-2); color: var(--text); }
.btn--danger { background: var(--bad-soft); color: var(--bad); width: 100%; }
.btn--armed { background: var(--bad); color: var(--surface); }
.btn--big { min-height: 62px; width: 100%; font-size: 18.5px; border-radius: 20px; }
.btn:disabled { opacity: .45; }
.btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 4px 0 14px; }
.link { color: var(--accent); font-size: 15px; font-weight: 600; padding: 4px 0 14px; }

/* ---------- özet ---------- */
.sum-head { text-align: center; padding: 24px 8px 6px; }
.sum-badge { width: 68px; height: 68px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; margin: 0 auto 14px; }
.sum-badge svg { width: 36px; height: 36px; }
.sum-head h1 { font-size: 30px; font-weight: 760; letter-spacing: -.02em; }
.sum-head p { color: var(--muted); margin-top: 4px; font-size: 16px; }
.mists { padding-bottom: 6px; }
.mist { border-bottom: 1px solid var(--line); }
.mist:last-child { border-bottom: 0; }
.mist-h { width: 100%; display: grid; grid-template-columns: auto 1fr 20px; gap: 10px; align-items: center; padding: 13px 0; text-align: left; }
.mist-k { font-size: 11.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); border-radius: 999px; padding: 4px 9px; }
.mist-t { font-size: 15.5px; line-height: 1.35; font-weight: 560; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mist-h svg { color: var(--muted); transition: transform 180ms ease; }
.mist-h--open svg { transform: rotate(90deg); }
.mist-b { padding: 0 0 16px; display: flex; flex-direction: column; gap: 10px; }
.mist-b[hidden] { display: none; }
.panel--calm { padding: 18px 16px; }
.calm { text-align: center; color: var(--muted); padding: 8px 0; }
.sum-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 16px calc(14px + var(--safe-b)); }
.sum-actions .btn--big { grid-column: 1 / -1; }
.sum-actions .btn--soft:only-of-type { grid-column: 1 / -1; }

/* ---------- ilerleme ---------- */
.heat { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; padding: 4px 0 10px; }
.hc { display: block; aspect-ratio: 1; border-radius: 6px; background: var(--surface-2); }
.hc--1 { background: var(--heat1); } .hc--2 { background: var(--heat2); } .hc--3 { background: var(--heat3); } .hc--4 { background: var(--heat4); }
.hc--today { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--text); }
.heat-legend { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 12.5px; padding-bottom: 14px; }
.heat-scale { display: inline-flex; align-items: center; gap: 3px; }
.heat-scale .hc { width: 11px; height: 11px; border-radius: 3px; }
.topics li { border-bottom: 1px solid var(--line); }
.topics li:last-child { border-bottom: 0; }
.topic { width: 100%; display: grid; grid-template-columns: 30px 1fr auto 18px; gap: 10px; align-items: center; padding: 12px 0; text-align: left; }
.topic-no { width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-size: 13px; font-weight: 750; color: var(--muted); }
.topic-main { min-width: 0; }
.topic-t { display: block; font-size: 15.5px; font-weight: 620; line-height: 1.3; }
.mbar { display: block; height: 6px; border-radius: 3px; background: var(--surface-2); margin-top: 7px; overflow: hidden; }
.mbar i { display: block; height: 100%; transform-origin: 0 50%; border-radius: 3px; }
.mbar--hi i { background: var(--ok); } .mbar--mid i { background: var(--warn); } .mbar--lo i { background: var(--bad); }
.topic-p { font-size: 14.5px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.topic svg { color: var(--muted); }
.chip--weak { background: var(--bad-soft); color: var(--text); min-height: 40px; }
.panel .chips:last-child { padding-bottom: 14px; }

/* konu sayfası */
.page { position: fixed; inset: 0; margin: 0 auto; max-width: 520px; background: var(--bg); z-index: 30; display: flex; flex-direction: column; padding-top: var(--safe-t); opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity 200ms ease, transform 220ms ease; }
.page.on { opacity: 1; transform: none; }
.page-top { display: flex; align-items: center; gap: 8px; padding: 8px 12px 4px 8px; min-height: 58px; }
.page-title { font-size: 18px; font-weight: 720; line-height: 1.25; }
.page-scroll { flex: 1; overflow-y: auto; padding: 0 16px 16px; }
.lesson { background: var(--surface); border-radius: 20px; padding: 16px 16px 14px; margin-top: 12px; box-shadow: var(--shadow-soft); }
.lesson-n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--gram-soft); color: var(--gram); font-size: 13px; font-weight: 800; margin-bottom: 8px; }
.lesson h3 { font-size: 19px; line-height: 1.3; font-weight: 720; }
.lesson p { font-size: 16.5px; line-height: 1.55; margin-top: 6px; }
.lesson ul { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.lesson li { font-size: 15.5px; line-height: 1.4; padding: 8px 12px; background: var(--surface-2); border-radius: 12px; }
.lesson--trap { background: var(--warn-soft); }
.lesson--trap li { background: var(--surface); }
.page-foot { padding: 10px 16px calc(14px + var(--safe-b)); }

/* ---------- ayarlar ---------- */
.set { padding: 10px 0 14px; border-bottom: 1px solid var(--line); }
.set-l { font-size: 15.5px; font-weight: 650; margin-bottom: 10px; }
.chips--row { gap: 8px; }
.chip--pick { min-height: 46px; min-width: 52px; justify-content: center; padding: 0 16px; border-radius: 23px; background: var(--surface); border: 1.5px solid var(--line); font-size: 16px; font-weight: 650; }
.chip--on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.row-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; text-align: left; border-bottom: 1px solid var(--line); }
.row-toggle:last-child { border-bottom: 0; }
.rt-main { display: flex; flex-direction: column; }
.rt-l { font-size: 16px; font-weight: 650; }
.rt-s { font-size: 13.5px; color: var(--muted); }
.sw { width: 54px; height: 32px; border-radius: 16px; background: var(--surface-2); border: 1.5px solid var(--line); position: relative; flex: none; transition: background 160ms ease; }
.sw i { position: absolute; top: 2px; left: 2px; width: 25px; height: 25px; border-radius: 50%; background: var(--surface); box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform 160ms ease; }
.sw--on { background: var(--accent); border-color: var(--accent); }
.sw--on i { transform: translateX(22px); }
.exam-set { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 6px 0 12px; }
.exam-d { text-align: center; font-size: 18px; font-weight: 720; }
.set-p { color: var(--muted); font-size: 14.5px; padding: 0 0 10px; }
.panel .btn--danger { margin-bottom: 14px; }
.foot-info { text-align: center; color: var(--muted); font-size: 12.5px; margin: 22px 0 6px; }

/* ---------- bildirim ---------- */
.toast { position: fixed; left: 50%; bottom: calc(96px + var(--safe-b)); transform: translate(-50%, 16px); opacity: 0; background: var(--text); color: var(--bg); padding: 12px 18px; border-radius: 14px; font-size: 15px; font-weight: 600; z-index: 60; pointer-events: none; transition: opacity 200ms ease, transform 200ms ease; max-width: calc(100% - 32px); text-align: center; }
.toast--on { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media (max-height: 700px) {
  .w-word { font-size: 34px; }
  .hero-num { font-size: 46px; }
  .act { min-height: 58px; }
}

/* sonradan eklenenler: haftalık şerit, zayıf konu satırları */
.set:last-child { border-bottom: 0; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; padding: 2px 0 14px; }
.wk { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.wk-dot { width: 30px; height: 30px; border-radius: 50%; border: 2.5px solid var(--line); display: block; }
.wk-dot--1 { border-color: var(--accent); background: var(--accent-soft); }
.wk-dot--2 { border-color: var(--accent); background: var(--accent); }
.wk--today span { color: var(--text); font-weight: 800; }
.wk--today .wk-dot { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--line); }
.weak { display: flex; flex-direction: column; gap: 8px; padding-bottom: 14px; }
.weak-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 14px; background: var(--bad-soft); text-align: left; font-size: 15px; font-weight: 600; line-height: 1.3; }
.weak-row b { color: var(--bad); font-variant-numeric: tabular-nums; flex: none; }
.btn--wide { width: 100%; margin: 6px 0 14px; }
.sum-actions { grid-template-columns: 1fr 1.6fr; }
.sum-actions .btn--half { grid-column: auto; }
.sum-actions .btn { min-height: 62px; border-radius: 20px; font-size: 17.5px; }
/* diyalog balonları */
.dlg { gap: 8px; }
.dl { display: flex; }
.dl .dt { max-width: 86%; padding: 10px 14px; border-radius: 18px; font-size: 18.5px; line-height: 1.4; }
.dl--a .dt { background: var(--surface-2); border-bottom-left-radius: 6px; }
.dl--b { justify-content: flex-end; }
.dl--b .dt { background: var(--accent-soft); border-bottom-right-radius: 6px; }
.dl--gap .dt { min-width: 120px; }
.t-correct .dl .dt { background: transparent; padding: 2px 0; max-width: 100%; }
.t-correct .dl--b { justify-content: flex-start; }
/* eşleştirme kutuları */
.pair { gap: 10px; text-align: left; }
.p-s { background: var(--surface-2); border-radius: 16px; padding: 14px 16px; }
.p-sep { text-align: center; }

/* ================= S1 Tur 1: hat, kombo, mikro geri bildirim, halka, kutlama, rozetler =================
   Kural: animasyonlar ≤400 ms, sadece transform/opacity (küçük metinde renk geçişi hariç);
   azaltılmış harekette yukarıdaki genel kural süreleri sıfırlar; temel durumlar görünmez ya da nihai hâldedir. */

/* oturum üst çubuğu: kombo çipi + sayaç geri bildirimi */
.combo { position: relative; display: inline-flex; align-items: center; gap: 2px; height: 28px; padding: 0 9px 0 6px; border-radius: 14px; background: var(--warn-soft); color: var(--warn); font-weight: 800; font-size: 14.5px; font-variant-numeric: tabular-nums; opacity: 0; transform: scale(.6); transition: opacity 180ms ease, transform 180ms ease; pointer-events: none; flex: none; }
.combo.on { opacity: 1; transform: scale(1); }
.combo:not(.on) { width: 0; padding: 0; margin-left: -12px; overflow: hidden; }
.combo-ic svg { width: 16px; height: 16px; display: block; }
.combo::after { content: ""; position: absolute; inset: -3px; border-radius: 17px; border: 2px solid var(--warn); opacity: 0; }
.combo.bump { animation: cbump 240ms ease-out; }
.combo.boom { animation: cboom 380ms cubic-bezier(.2, .8, .3, 1.2); }
.combo.boom::after { animation: cring 400ms ease-out; }
@keyframes cbump { 0% { transform: scale(1); } 40% { transform: scale(1.22); } 100% { transform: scale(1); } }
@keyframes cboom { 0% { transform: scale(1); } 35% { transform: scale(1.38) rotate(-6deg); } 100% { transform: scale(1); } }
@keyframes cring { from { opacity: .9; transform: scale(.92); } to { opacity: 0; transform: scale(1.7); } }
.sess-count.cnt-ok { animation: cntok 300ms ease-out; }
.sess-count.cnt-bad { animation: cntbad 320ms ease-out; }
@keyframes cntok { 0% { transform: scale(1); color: var(--ok); } 35% { transform: scale(1.32); color: var(--ok); } 100% { transform: scale(1); } }
@keyframes cntbad { 0% { transform: translateX(0); color: var(--bad); } 20% { transform: translateX(-4px); } 40% { transform: translateX(4px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); color: var(--bad); } 100% { transform: translateX(0); } }

/* metrobüs hattı şeridi: bulunduğun durak ● · · · · ○ sıradaki durak */
.route { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 9px; padding: 0 18px 2px; min-height: 24px; font-size: 13px; line-height: 1.2; }
.route-at { text-align: right; color: var(--muted); font-weight: 600; overflow-wrap: anywhere; }
.route-next { text-align: left; color: var(--text); font-weight: 760; overflow-wrap: anywhere; }
.route-line { position: relative; display: flex; align-items: center; gap: 7px; }
.route-line::before { content: ""; position: absolute; left: 4px; right: 4px; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 2px; background: var(--line); }
.rs { position: relative; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2.5px solid var(--accent); }
.rs--at, .rs--next.on { background: var(--accent); }
.rs--next.on { animation: rpop 300ms ease-out; }
.rt { position: relative; width: 6px; height: 6px; border-radius: 50%; background: var(--line); transition: background-color 150ms ease; }
.rt.on { background: var(--accent); }
.rt.pop { animation: rpop 260ms ease-out; }
@keyframes rpop { 0% { transform: scale(1); } 45% { transform: scale(1.75); } 100% { transform: scale(1); } }
.route--arrive .route-at { animation: rslide 320ms cubic-bezier(.2, .8, .2, 1); }
.route--arrive .route-next { animation: rslide 320ms cubic-bezier(.2, .8, .2, 1), rhi 400ms ease-out; }
@keyframes rslide { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@keyframes rhi { from { color: var(--accent); } to { color: var(--text); } }
@media (max-height: 640px) { .route { min-height: 20px; font-size: 12px; } }

/* doğru cevap işareti (kart uçarken) */
.fx-ok { position: absolute; left: 50%; top: 16%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: var(--ok); color: var(--surface); display: grid; place-items: center; z-index: 5; opacity: 0; pointer-events: none; box-shadow: 0 8px 22px -8px var(--ok); }
.fx-ok svg { width: 30px; height: 30px; }
.fx-ok.go { animation: okpop 380ms cubic-bezier(.2, .9, .3, 1.2); }
@keyframes okpop { 0% { opacity: 0; transform: scale(.5); } 30% { opacity: 1; transform: scale(1.08); } 70% { opacity: .95; transform: translateY(-4px) scale(1); } 100% { opacity: 0; transform: translateY(-14px) scale(.92); } }

/* kaydırırken yöndeki büyük buton büyür, eşikte dolar */
.act { transition: transform 120ms ease, background-color 120ms ease, color 120ms ease; }
.sess[data-lean="R"] .act--yes, .sess[data-lean="L"] .act--no, .sess[data-kind="info"][data-lean="R"] .act--go { transform: scale(1.04); }
.sess[data-lean="R"][data-hot="1"] .act--yes { background: var(--ok); color: var(--surface); }
.sess[data-lean="L"][data-hot="1"] .act--no { background: var(--bad); color: var(--surface); }

/* çoktan seçmeli: doğru şık zıplar, yanlış şık sallanır, harf yerine ✓ / ✗ */
.opt-k svg { width: 18px; height: 18px; }
.opt--pop { animation: optpop 300ms cubic-bezier(.2, .9, .3, 1.3); }
.opt--shake { animation: optshake 320ms ease-out; }
@keyframes optpop { 0% { transform: scale(1); } 40% { transform: scale(1.035); } 100% { transform: scale(1); } }
@keyframes optshake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-7px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(2px); } }

/* Bugün: geri sayım + günlük hedef halkası + tempo satırı */
.hero-main { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.hero-txt { min-width: 0; }
.ring { position: relative; width: 84px; height: 84px; flex: none; animation: ringin 360ms cubic-bezier(.2, .8, .3, 1.1) both; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); display: block; }
.ring circle { fill: none; stroke-width: 4.5; }
.ring-bg { stroke: currentColor; opacity: .22; }
.ring-fg { stroke: currentColor; stroke-linecap: round; }
.ring-t { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.05; text-align: center; }
.ring-t b { font-size: 25px; font-weight: 780; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.ring-t i { font-style: normal; font-size: 11.5px; font-weight: 650; opacity: .9; margin-top: 2px; }
.ring-t svg { width: 28px; height: 28px; transform: none; }
@keyframes ringin { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
.hero-pace { margin-top: 14px; padding-top: 11px; border-top: 1px solid rgba(255, 255, 255, .2); font-size: 14px; font-weight: 550; opacity: .92; }

/* Bugün: hattaki konum çubuğu */
.lbar { position: relative; height: 14px; margin-top: 10px; }
.lbar::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 4px; border-radius: 2px; background: var(--surface-2); }
.lbar-fill { position: absolute; left: 0; right: 0; top: 5px; height: 4px; border-radius: 2px; background: var(--accent); transform-origin: 0 50%; }
.lbar--back .lbar-fill { transform-origin: 100% 50%; }
.lbar-br { position: absolute; top: 2px; width: 4px; height: 10px; margin-left: -2px; border-radius: 2px; background: var(--new); }
.lbar-bus { position: absolute; top: 0; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--surface); border: 3.5px solid var(--accent); }
.lbar-ends { display: flex; justify-content: space-between; font-size: 12px; font-weight: 500; color: var(--muted); margin-top: 4px; }

/* zayıf konu önerisi (Bugün + Özet) */
.nudge { width: 100%; margin-top: 12px; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; padding: 12px 14px 12px 16px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-soft); text-align: left; border-left: 5px solid var(--bad); transition: transform 100ms ease; }
.nudge:active { transform: scale(.99); }
.nudge-k { grid-column: 1; font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--bad); }
.nudge-t { grid-column: 1; font-size: 15.5px; font-weight: 650; line-height: 1.3; }
.nudge-go { grid-column: 2; grid-row: 1 / span 2; display: inline-flex; align-items: center; gap: 2px; min-height: 44px; padding: 0 8px 0 14px; border-radius: 14px; background: var(--bad-soft); color: var(--bad); font-weight: 750; font-size: 15px; white-space: nowrap; }

/* Özet: kutlama */
.sum-badge { position: relative; animation: sumpop 380ms cubic-bezier(.2, .9, .3, 1.3) both; }
@keyframes sumpop { 0% { transform: scale(.5); opacity: 0; } 60% { transform: scale(1.1); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
.burst { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; z-index: 2; }
.burst i { position: absolute; left: -4px; top: -5px; width: 8px; height: 11px; border-radius: 2px; opacity: 0; animation: bfly 400ms cubic-bezier(.12, .75, .3, 1) forwards; }
.burst i.b-round { width: 8px; height: 8px; border-radius: 50%; }
@keyframes bfly { 0% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(.5); } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--bx), var(--by)) rotate(var(--br)) scale(1); } }
.sum-route { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 6px 13px; border-radius: 999px; background: var(--accent-soft); color: var(--text); font-size: 14.5px; font-weight: 680; max-width: 100%; }
.sum-route svg { width: 16px; height: 16px; color: var(--accent); }
.sum-route span { color: var(--muted); font-weight: 550; white-space: nowrap; }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 10px; }
.fact { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 4px 12px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-soft); font-size: 14px; font-weight: 650; }
.fact svg { width: 16px; height: 16px; }
.fact--streak { color: var(--warn); background: var(--warn-soft); }
.fact--goal { color: var(--ok); background: var(--ok-soft); }
.fact--combo { color: var(--gram); background: var(--gram-soft); }

/* rozetler (Özet + İlerleme) */
.bdg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 6px; padding: 4px 0 14px; }
.bdg { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; min-width: 0; }
.bdg-c { position: relative; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 16.5px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; flex: none; }
.bdg-c::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; border: 2px solid currentColor; opacity: .3; }
.bdg-n { font-size: 12.5px; line-height: 1.25; font-weight: 600; overflow-wrap: anywhere; }
.bdg--w .bdg-c { background: var(--new-soft); color: var(--new); }
.bdg--s .bdg-c { background: var(--warn-soft); color: var(--warn); }
.bdg--t .bdg-c { background: var(--accent-soft); color: var(--accent); }
.bdg--c .bdg-c { background: var(--ok-soft); color: var(--ok); }
.bdg--g .bdg-c { background: var(--gram-soft); color: var(--gram); }
.bdg--new .bdg-c { animation: bdgpop 360ms cubic-bezier(.2, .9, .3, 1.35) both; }
@keyframes bdgpop { 0% { transform: scale(.4); opacity: 0; } 65% { transform: scale(1.12); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
.sec-h--sub { padding-top: 2px; }
.goals { display: flex; flex-direction: column; gap: 12px; padding: 2px 0 16px; }
.goal { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; }
.goal .bdg-c { width: 40px; height: 40px; font-size: 13px; }
.goal .bdg-c::after { inset: 2px; }
.goal-t { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 15px; font-weight: 650; line-height: 1.3; }
.goal-t span { color: var(--muted); font-weight: 550; font-size: 13.5px; white-space: nowrap; }
.goal .bar { margin-top: 6px; }
.goal.bdg--w .bar i { background: var(--new); }
.goal.bdg--s .bar i { background: var(--warn); }
.goal.bdg--c .bar i { background: var(--ok); }
.goal.bdg--g .bar i { background: var(--gram); }

/* ================= S1 Tur 2: durak tabelası, kombo kademeleri, kart hissi, bilet, rozet açılışı, koleksiyon =================
   Aynı kural: her hareket ≤400 ms (uzun görünen anlar = kısa giriş + durağan bekleme + kısa çıkış), transform/opacity;
   dokunmayı engellemez (pointer-events: none); azaltılmış harekette son hâl. Altın: #F5B921 (iki temada aynı). */

/* --- T2-1 durak tabelası (oturum üstünden kayar) --- */
.sess { position: relative; }
.ssign { position: absolute; left: 10px; right: 10px; top: calc(var(--safe-t) + 6px); z-index: 20; pointer-events: none; opacity: 0; transform: translate3d(0, -120%, 0); }
.ssign:empty { display: none; }
.ssign--in { animation: ssin 320ms cubic-bezier(.2, .9, .3, 1.15) forwards; }
.ssign--out { animation: ssout 240ms ease-in forwards; }
@keyframes ssin { from { opacity: 0; transform: translate3d(0, -120%, 0); } to { opacity: 1; transform: none; } }
@keyframes ssout { from { opacity: 1; transform: none; } to { opacity: 0; transform: translate3d(0, -70%, 0); } }
.ssign-plate { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0 12px; padding: 10px 14px 10px 12px; border-radius: 18px; background: var(--hero-bg); color: var(--hero-ink); box-shadow: 0 14px 30px -12px rgba(8, 16, 50, .6), inset 0 0 0 1.5px rgba(255, 255, 255, .16); }
.ssign-ic { position: relative; width: 30px; height: 40px; align-self: start; margin-top: 2px; }
.ssign-ic::before { content: ""; position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; border: 5px solid currentColor; box-sizing: border-box; }
.ssign-ic::after { content: ""; position: absolute; left: 12.5px; top: 27px; width: 5px; height: 13px; border-radius: 0 0 3px 3px; background: currentColor; }
.ssign-txt { min-width: 0; display: flex; flex-direction: column; line-height: 1.15; }
.ssign-txt small { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.ssign-txt b { font-size: 22px; font-weight: 790; letter-spacing: -.015em; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ssign-txt em { font-style: normal; font-size: 13.5px; font-weight: 550; opacity: .88; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ssign-pills { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.ssign-pill { display: inline-block; padding: 4px 10px; border-radius: 999px; background: #F5B921; color: #241900; font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.ssign-pill--clean { background: #2FBF71; color: #04230F; }
.ssign-leg { grid-column: 1 / -1; display: flex; gap: 4px; margin-top: 9px; }
.ssign-leg i { flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .24); }
.ssign-leg i.on { background: currentColor; }
.ssign-leg i.at { background: #F5B921; }
.ssign--half .ssign-plate { box-shadow: 0 14px 30px -12px rgba(8, 16, 50, .6), inset 0 0 0 2.5px #F5B921; }
.ssign--lap .ssign-plate { background: linear-gradient(135deg, #F7C640, #EE8F1F); color: #231600; padding: 12px 16px 12px 14px; box-shadow: 0 16px 34px -12px rgba(150, 80, 0, .65), inset 0 0 0 2px rgba(255, 255, 255, .45); }
.ssign--lap .ssign-leg i { background: rgba(35, 22, 0, .2); }
.ssign--lap .ssign-leg i.on, .ssign--lap .ssign-leg i.at { background: #231600; }
.ssign--lap .ssign-txt b { font-size: 24px; }
.ssign-big { display: flex; flex-direction: column; align-items: center; line-height: 1; padding: 6px 10px; border-radius: 14px; background: rgba(35, 22, 0, .12); }
.ssign-big b { font-size: 32px; font-weight: 850; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.ssign-big i { font-style: normal; font-size: 11.5px; font-weight: 800; margin-top: 3px; }
.ssign--lap .ssign-plate::after { content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 34%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); transform: translateX(-130%) skewX(-18deg); }
.ssign--lap.ssign--in .ssign-plate::after { animation: ssshine 400ms 260ms ease-out both; }
@keyframes ssshine { from { transform: translateX(-130%) skewX(-18deg); } to { transform: translateX(330%) skewX(-18deg); } }
.ssign--lap.ssign--in { animation: ssinbig 360ms cubic-bezier(.2, .9, .3, 1.25) forwards; }
@keyframes ssinbig { 0% { opacity: 0; transform: translate3d(0, -120%, 0) scale(.9); } 70% { opacity: 1; transform: translate3d(0, 4px, 0) scale(1.03); } 100% { opacity: 1; transform: none; } }

/* --- T2-2 kombo kademeleri + nazik kırılma; çip artık yer tutuyor (süre çubuğu zıplamaz) --- */
.combo { min-width: 50px; justify-content: center; transition: opacity 180ms ease, transform 180ms ease, background-color 200ms ease, color 200ms ease; }
.combo:not(.on) { width: auto; padding: 0 9px 0 6px; margin-left: 0; overflow: visible; }
.combo--t1 { background: var(--warn); color: var(--surface); }
.combo--t2 { background: linear-gradient(100deg, var(--warn), var(--bad)); color: var(--surface); }
.combo--t3 { background: linear-gradient(100deg, var(--bad), var(--gram)); color: var(--surface); box-shadow: 0 0 12px -2px var(--bad); }
.combo--t4 { background: linear-gradient(100deg, #F7C640, #EE8F1F); color: #231600; box-shadow: 0 0 14px -2px #F5B921; }
.combo--t2 .combo-ic svg, .combo--t3 .combo-ic svg, .combo--t4 .combo-ic svg { transform-origin: 50% 90%; animation: cflick 700ms ease-in-out infinite alternate; }
@keyframes cflick { from { transform: scale(1) rotate(-3deg); } to { transform: scale(1.12, 1.22) rotate(4deg); } }
.combo--cool { background: var(--surface-2); color: var(--muted); }
.combo--cool .combo-ic { opacity: .55; }
.combo-tag { position: absolute; top: 50%; right: calc(100% + 6px); margin-top: -11px; line-height: 16px; z-index: 3; white-space: nowrap; padding: 3px 9px; border-radius: 999px; background: var(--text); color: var(--bg); font-size: 12px; font-weight: 800; letter-spacing: .02em; opacity: 0; pointer-events: none; }
.combo-tag.show { animation: ctag 1100ms both; }
.combo--cool .combo-tag { background: var(--surface-2); color: var(--muted); box-shadow: var(--shadow-soft); }
@keyframes ctag { 0% { opacity: 0; transform: translateX(10px) scale(.7); } 20% { opacity: 1; transform: translateX(0) scale(1.06); } 28% { transform: none; } 82% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateX(-6px); } }
.combo-tag.hold { opacity: 1; animation: none; }
.deck::after { content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: 26px; border-radius: var(--r-card); box-shadow: 0 0 0 3px var(--warn), 0 0 28px 2px var(--warn); opacity: 0; pointer-events: none; z-index: 4; }
.deck.deck--glow::after { animation: dglow 400ms ease-out; }
@keyframes dglow { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 0; } }

/* --- T2-3 kart hissi: halka = doğruluk (kaydırma ve şıklı kartta aynı dil), zor kart --- */
.card--right::after { box-shadow: inset 0 0 0 3px var(--ok); }
.card--wrong::after { box-shadow: inset 0 0 0 3px var(--bad); }
.card { transition: transform 300ms cubic-bezier(.2, 1.25, .35, 1), opacity 220ms ease; } /* yeni kart arkadan yaylı oturur */
.card--hard { box-shadow: var(--shadow), 0 0 0 2.5px #F5B921, 0 0 22px -6px #F5B921; }
.hard-tag { position: absolute; top: 0; left: 50%; transform: translateX(-50%); padding: 3px 14px 4px; border-radius: 0 0 11px 11px; background: #F5B921; color: #231600; font-size: 11.5px; font-weight: 850; letter-spacing: .14em; pointer-events: none; z-index: 2; }
.fx-ok--gold { background: #F5B921; color: #231600; box-shadow: 0 8px 22px -8px #F5B921; }
.fx-hard { position: absolute; left: 50%; top: 16%; width: 0; height: 0; z-index: 6; pointer-events: none; }
.fx-hard-t { position: absolute; left: 0; top: 36px; transform: translateX(-50%); white-space: nowrap; padding: 6px 14px; border-radius: 999px; background: linear-gradient(100deg, #F7C640, #EE8F1F); color: #231600; font-size: 14.5px; font-weight: 820; box-shadow: 0 10px 24px -10px rgba(150, 80, 0, .7); opacity: 0; }
.fx-hard-t.show { animation: fxhard 1200ms both; }
@keyframes fxhard { 0% { opacity: 0; transform: translateX(-50%) translateY(8px) scale(.7); } 18% { opacity: 1; transform: translateX(-50%) scale(1.08); } 26% { transform: translateX(-50%) scale(1); } 80% { opacity: 1; transform: translateX(-50%); } 100% { opacity: 0; transform: translateX(-50%) translateY(-10px); } }
.fx-hard-t.hold { opacity: 1; animation: none; }
.card.card--enter { transition: none; }

/* --- T2-8 son kart: süre dolunca sayaç yerine çip --- */
.sess-count--last { min-width: 0; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.sess-count--last.cnt-last { animation: cntlast 320ms cubic-bezier(.2, .9, .3, 1.3); }
@keyframes cntlast { 0% { opacity: 0; transform: scale(.6); } 60% { opacity: 1; transform: scale(1.1); } 100% { transform: none; } }

/* --- T2-4 bugünün kazancı: metrobüs bileti (özet) + T2-7 dünkü sen --- */
.tk { --tk-ink: #C97A00; position: relative; overflow: hidden; margin-top: 16px; padding-bottom: 14px; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); animation: tkin 360ms 140ms cubic-bezier(.2, .9, .3, 1.1) both; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tk { --tk-ink: #F5B921; } }
:root[data-theme="dark"] .tk { --tk-ink: #F5B921; }
@keyframes tkin { from { opacity: 0; transform: translateY(22px) scale(.97); } to { opacity: 1; transform: none; } }
.tk-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 16px; background: var(--hero-bg); color: var(--hero-ink); font-size: 12.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.tk-brand { display: inline-flex; align-items: center; gap: 8px; }
.tk-logo { width: 15px; height: 15px; border-radius: 50%; border: 3.5px solid currentColor; box-sizing: border-box; }
.tk-date { letter-spacing: .04em; opacity: .9; }
.tk-route { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 8px; padding: 14px 16px 4px; }
.tk-st { min-width: 0; display: flex; flex-direction: column; }
.tk-st small { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tk-st b { font-size: 19px; line-height: 1.15; font-weight: 780; letter-spacing: -.015em; overflow-wrap: anywhere; margin-top: 2px; }
.tk-st--to { text-align: right; }
.tk-st--to b { color: var(--accent); }
.tk-arr { color: var(--muted); padding-bottom: 1px; }
.tk-arr svg { display: block; width: 20px; height: 20px; }
.tk-line { display: flex; align-items: center; gap: 12px; padding: 8px 16px 12px; }
.tk-track { position: relative; flex: 1; display: flex; justify-content: space-between; align-items: center; min-width: 0; }
.tk-track::before { content: ""; position: absolute; left: 4px; right: 4px; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 2px; background: var(--accent); opacity: .35; }
.tk-track i { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); animation: tknode 260ms cubic-bezier(.2, .9, .3, 1.4) both; }
.tk-track i.tk-n0 { background: var(--surface); box-shadow: inset 0 0 0 2.5px var(--accent); }
.tk-track i.tk-nz { width: 15px; height: 15px; box-shadow: 0 0 0 3px var(--accent-soft); }
@keyframes tknode { from { opacity: 0; transform: scale(.2); } 60% { opacity: 1; transform: scale(1.35); } to { opacity: 1; transform: none; } }
.tk-cnt { flex: none; font-size: 14px; font-weight: 750; color: var(--muted); white-space: nowrap; }
.tk-line:only-child .tk-cnt, .tk-cnt:only-child { margin: 0 auto; }
.tk-cut { position: relative; height: 22px; }
.tk-cut::before { content: ""; position: absolute; left: 18px; right: 18px; top: 10px; border-top: 2px dashed var(--line); }
.tk-hole { position: absolute; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); }
.tk-hole--l { left: -11px; }
.tk-hole--r { right: -11px; }
.tk-stamp { position: absolute; right: 22px; top: -34px; z-index: 2; display: inline-flex; align-items: center; gap: 3px; padding: 5px 12px 5px 14px; border: 3px solid var(--tk-ink); border-radius: 12px; color: var(--tk-ink); background: color-mix(in srgb, var(--surface) 82%, transparent); font-size: 19px; font-weight: 900; letter-spacing: .08em; transform: rotate(-13deg); box-shadow: inset 0 0 0 2px var(--surface), inset 0 0 0 3.5px var(--tk-ink); animation: tkstamp 300ms 600ms cubic-bezier(.3, .7, .35, 1.15) both; pointer-events: none; }
.tk-stamp svg { width: 22px; height: 22px; }
.tk-stamp svg path { stroke-width: 3.4; }
.tk-stamp em { font-style: normal; font-size: 14px; margin-left: 2px; }
.tk-stamp .burst { left: 50%; top: 50%; }
@keyframes tkstamp { 0% { opacity: 0; transform: rotate(-4deg) scale(2.3); } 65% { opacity: 1; transform: rotate(-14deg) scale(.92); } 100% { opacity: 1; transform: rotate(-13deg) scale(1); } }
.tk-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 4px 10px 0; }
.tk-s { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.tk-s b { font-size: 29px; line-height: 1.1; font-weight: 790; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tk-s span { color: var(--muted); font-size: 12.5px; line-height: 1.25; margin-top: 2px; }
.tk-s em { display: inline-block; font-style: normal; padding: 0 6px; border-radius: 999px; background: #F5B921; color: #231600; font-size: 11px; font-weight: 800; }
.tk-sub { padding: 8px 16px 0; text-align: center; color: var(--muted); font-size: 13px; }
.tk-cap { margin: 14px 16px 0; text-align: center; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tk-words { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 7px 14px 0; }
.tk-w { padding: 4px 11px; border-radius: 999px; background: var(--new-soft); color: var(--new); font-size: 14px; font-weight: 680; animation: tkw 220ms ease-out both; }
.tk-w--more { background: var(--surface-2); color: var(--muted); }
@keyframes tkw { from { opacity: 0; transform: translateY(6px) scale(.9); } to { opacity: 1; transform: none; } }
.tk-facts { margin: 12px 0 0; padding: 0 12px; }
.tk .fact { box-shadow: none; background: var(--surface-2); }
.tk .fact--streak { background: var(--warn-soft); }
.tk .fact--goal { background: var(--ok-soft); }
.fact--hard { background: #F5B921 !important; color: #231600; }
.fact--clean { color: var(--ok); }
.tk-ghost { display: flex; align-items: center; gap: 10px; margin: 12px 14px 0; padding: 9px 12px; border-radius: 14px; background: var(--accent-soft); animation: tkghost 300ms 760ms ease-out both; }
.tk-ghost small { flex: none; padding: 2px 8px; border-radius: 999px; border: 1.5px dashed var(--accent); color: var(--accent); font-size: 10.5px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.tk-ghost span { flex: 1; min-width: 0; font-size: 14.5px; font-weight: 720; }
.tk-ghost i { flex: none; color: var(--accent); transform: rotate(-45deg); }
.tk-ghost i svg { display: block; width: 18px; height: 18px; }
@keyframes tkghost { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
.tk-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 14px 16px 0; padding-top: 11px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11.5px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.tk-bar { display: flex; gap: 2px; height: 18px; opacity: .55; }
.tk-bar i { display: block; height: 100%; background: currentColor; }
.tk--lap .tk-line { padding-right: 150px; } /* damgaya yer */
/* bilet varken başlık tek satır: bilet + yeni rozetler kat üstünde kalsın */
.sum-head--tk { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; text-align: left; padding: 18px 4px 0; }
.sum-head--tk .sum-badge { grid-row: 1 / span 2; width: 54px; height: 54px; margin: 0; }
.sum-head--tk .sum-badge svg { width: 30px; height: 30px; }
.sum-head--tk h1 { font-size: 27px; line-height: 1.15; align-self: end; }
.sum-head--tk p { margin-top: 1px; font-size: 15px; align-self: start; }

/* --- T2-5 rozet açılışı (özet): gri kapak düşer, rozet zıplar, halka + kıvılcım + parıltı; sırayla (--d) --- */
.bdg-box { position: relative; width: 54px; height: 54px; flex: none; }
.bdg--open.bdg--w .bdg-c, .coin--got.bdg--w .bdg-c { background: var(--new); color: var(--surface); }
.bdg--open.bdg--s .bdg-c, .coin--got.bdg--s .bdg-c { background: var(--warn); color: var(--surface); }
.bdg--open.bdg--t .bdg-c, .coin--got.bdg--t .bdg-c { background: var(--accent); color: var(--surface); }
.bdg--open.bdg--c .bdg-c, .coin--got.bdg--c .bdg-c { background: var(--ok); color: var(--surface); }
.bdg--open.bdg--g .bdg-c, .coin--got.bdg--g .bdg-c { background: var(--gram); color: var(--surface); }
.bdg--open .bdg-c, .coin--got .bdg-c { overflow: hidden; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .16), inset 0 2px 0 rgba(255, 255, 255, .22), 0 5px 12px -6px rgba(0, 0, 0, .45); }
.bdg--open .bdg-c::after, .coin--got .bdg-c::after { opacity: .4; }
.bdg--open .bdg-c::before { content: ""; position: absolute; top: -10%; bottom: -10%; left: 0; width: 42%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .6), transparent); transform: translateX(-170%) skewX(-18deg); pointer-events: none; }
.bdg-lid { position: absolute; inset: -2px; z-index: 2; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); box-shadow: inset 0 0 0 2px var(--line), inset 0 -3px 0 rgba(0, 0, 0, .06); pointer-events: none; }
.bdg-lid::before { content: "?"; font-size: 21px; font-weight: 850; color: var(--muted); }
.bdg-ring { position: absolute; inset: -5px; border-radius: 50%; border: 2.5px solid currentColor; opacity: 0; pointer-events: none; }
.bdg--w .bdg-ring { color: var(--new); }
.bdg--s .bdg-ring { color: var(--warn); }
.bdg--t .bdg-ring { color: var(--accent); }
.bdg--c .bdg-ring { color: var(--ok); }
.bdg--g .bdg-ring { color: var(--gram); }
.bdgs:not(.bdgs--go) .bdg--open .bdg-n { opacity: 0; }
.bdgs--go .bdg-lid { animation: lidfall 340ms var(--d, 0ms) cubic-bezier(.55, 0, .8, .45) forwards; }
.bdgs--go .bdg--open .bdg-c { animation: bdgopen 340ms calc(var(--d, 0ms) + 170ms) cubic-bezier(.2, .9, .3, 1.4) both; }
.bdgs--go .bdg--open .bdg-c::before { animation: bdgshine 380ms calc(var(--d, 0ms) + 420ms) ease-out; }
.bdgs--go .bdg-ring { animation: bdgring 400ms calc(var(--d, 0ms) + 200ms) ease-out; }
.bdgs--go .bdg--open .bdg-n { animation: bdgname 220ms calc(var(--d, 0ms) + 230ms) ease-out both; }
@keyframes lidfall { 0% { opacity: 1; transform: none; } 22% { opacity: 1; transform: translateY(-5px) rotate(-8deg); } 100% { opacity: 0; transform: translateY(50px) rotate(32deg) scale(.85); } }
@keyframes bdgopen { 0% { transform: scale(.7); } 60% { transform: scale(1.16); } 100% { transform: none; } }
@keyframes bdgshine { from { transform: translateX(-170%) skewX(-18deg); } to { transform: translateX(330%) skewX(-18deg); } }
@keyframes bdgring { 0% { opacity: .9; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.6); } }
@keyframes bdgname { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .bdg-lid { display: none; }
  .bdgs .bdg-c, .bdgs .bdg-c::before, .bdg-ring, .bdgs .bdg-n { animation: none !important; }
  .bdgs .bdg-n { opacity: 1 !important; }
}
@media (prefers-reduced-motion: reduce) { .tk, .tk *, .tk-stamp { animation: none !important; } }

/* --- T2-6 rozet albümü (İlerleme): 5 raf × 8 sütun; kazanılan parlak, kilitli gölge, sıradakinde ilerleme halkası; dokun → altta "ne kadar kaldı" --- */
.col-bar { position: relative; height: 6px; margin: 0 0 2px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.col-bar i { position: absolute; inset: 0; border-radius: 3px; background: linear-gradient(90deg, #F7C640, #EE8F1F); transform-origin: 0 50%; }
.col-sh { padding: 11px 0 0; border-bottom: 1px solid var(--line); }
.col-sh:last-child { border-bottom: 0; padding-bottom: 6px; }
.col-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 14.5px; line-height: 1.2; }
.col-h b { font-weight: 760; }
.col-h span { color: var(--muted); font-size: 13px; font-weight: 650; font-variant-numeric: tabular-nums; }
.col-row { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; padding: 8px 0 3px; }
.coin { position: relative; height: 44px; display: grid; place-items: center; border-radius: 12px; }
.coin .bdg-c { width: 35px; height: 35px; font-size: 12.5px; letter-spacing: -.03em; transition: transform 120ms ease; }
.coin .bdg-c::after { inset: 2px; border-width: 1.5px; }
.coin:active .bdg-c { transform: scale(.88); }
.coin--lock .bdg-c { background: var(--surface-2); color: var(--muted); opacity: .62; }
.coin--lock .bdg-c::after { border-style: dashed; opacity: .55; }
.coin.bdg--w { --ring: var(--new); }
.coin.bdg--s { --ring: var(--warn); }
.coin.bdg--t { --ring: var(--accent); }
.coin.bdg--c { --ring: var(--ok); }
.coin.bdg--g { --ring: var(--gram); }
.coin--next::before { content: ""; position: absolute; left: 50%; top: 50%; width: 43px; height: 43px; margin: -21.5px 0 0 -21.5px; border-radius: 50%; background: conic-gradient(var(--ring) calc(var(--p, 0) * 360deg), var(--line) 0); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3.5px), #000 calc(100% - 3px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3.5px), #000 calc(100% - 3px)); pointer-events: none; }
.coin--today::before { content: ""; position: absolute; top: 2px; right: calc(50% - 21px); z-index: 1; width: 10px; height: 10px; border-radius: 50%; background: #F5B921; box-shadow: 0 0 0 2px var(--surface); }
.coin--sel::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--text); }
.col-tip { min-height: 30px; padding: 6px 0 9px; color: var(--muted); font-size: 13.5px; line-height: 1.35; }
.col-tip b { color: var(--text); font-weight: 720; }
.col-tip--in { animation: coltip 200ms ease-out; }
@keyframes coltip { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }

/* ===== L2 ===== */
/* kayıt güvenliği: yedek hatırlatma / güncelleme bandı, Ayarlar sekmesinde nokta, yedek satırı (docs/L2-NOTLARI.md) */
.l2-bands { display: grid; gap: 8px; padding-top: 10px; }
.l2-band { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 6px 6px 6px 14px; border-radius: 14px; background: var(--warn-soft); color: var(--text); font-size: 14.5px; font-weight: 620; line-height: 1.3; }
.l2-band--update { background: var(--accent-soft); }
.l2-band-t { flex: 1; min-width: 0; }
.l2-band-b { flex: none; min-height: 44px; padding: 0 14px; border-radius: 11px; background: var(--text); color: var(--bg); font-size: 14px; font-weight: 750; }
.l2-band--update .l2-band-b { background: var(--accent); color: var(--accent-ink); }
.l2-band-x { flex: none; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; color: var(--muted); }
.l2-band-x svg { width: 18px; height: 18px; }
.l2-dot .tab[data-nav="settings"] { position: relative; }
.l2-dot .tab[data-nav="settings"]::after { content: ""; position: absolute; top: 11px; left: calc(50% + 8px); width: 9px; height: 9px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 0 2px var(--surface); }
.l2-last--due { color: var(--warn); font-weight: 700; }
.l2-small { font-size: 13.5px; }
.nw { white-space: nowrap; }
[data-backup-dl] { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px 0 0; }
.l2-undo { display: block; text-align: left; }
.l2-armed { color: var(--bad); }
.l2-imp { margin: 0 0 14px; padding: 12px 14px 0; border-radius: 14px; background: var(--accent-soft); }
.l2-imp-h { font-size: 15.5px; font-weight: 750; padding-bottom: 4px; }
.l2-imp .set-p { color: var(--text); }
.l2-imp .btn-row { padding-bottom: 12px; }
/* ===== L2 son ===== */

/* ===== R2 ===== */
/* Faz 3d: 10 dk önerisi (Bugün; nazik, kapatılabilir, haftada en çok 1 kez) */
.nudge10 { position: relative; margin-top: 12px; border-radius: 18px; background: var(--accent-soft); box-shadow: var(--shadow-soft); }
.nudge10-main { width: 100%; display: grid; gap: 3px; padding: 13px 56px 14px 16px; border-radius: 18px; text-align: left; color: var(--text); transition: transform 100ms ease; }
.nudge10-main:active { transform: scale(.99); }
.nudge10-k { font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--accent); }
.nudge10-t { font-size: 15.5px; font-weight: 650; line-height: 1.3; }
.nudge10-s { font-size: 13.5px; color: var(--muted); }
.nudge10-go { justify-self: start; margin-top: 8px; display: inline-flex; align-items: center; gap: 2px; min-height: 44px; padding: 0 10px 0 16px; border-radius: 14px; background: var(--accent); color: var(--accent-ink); font-weight: 750; font-size: 15px; white-space: nowrap; }
.nudge10-x { position: absolute; top: 4px; right: 4px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; color: var(--muted); }
.nudge10-x svg { width: 20px; height: 20px; }
.nudge10-x:active { background: var(--surface-2); }

/* ===== EXAM ===== */
/* Faz 6 (U2): okuma panelinde "Soru tipleri" (tamamla / durum / diyalog / yakin) + Kısa/Uzun deneme. Tokenlar yukarıda (açık + koyu). */
.tag--ex { background: var(--accent-soft); color: var(--accent); }
.rd-mode--x .rd-mode-ic { background: var(--accent-soft); color: var(--accent); }
.rd-mode--L .rd-mode-ic { background: var(--bad-soft); color: var(--bad); }
.ex-mockrow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ex-mockrow .rd-mode { grid-template-columns: 40px 1fr; grid-template-rows: auto auto; align-items: start; align-content: start; gap: 10px 8px; min-height: 0; padding: 12px 10px 14px 14px; }
.ex-mockrow .rd-mode-ic { width: 40px; height: 40px; border-radius: 13px; }
.ex-mockrow .rd-mode-ic svg { width: 22px; height: 22px; }
.ex-mockrow .rd-mode-txt { grid-column: 1 / -1; grid-row: 2; }
.ex-mockrow .rd-mode-t { font-size: 17px; }
.ex-mockrow .rd-mode-s { font-size: 14px; }
.ex-mockrow .rd-mode-s2 { font-size: 13px; }
.ex-mockrow .rd-mode-go { grid-column: 2; grid-row: 1; justify-self: end; align-self: center; }
.ex-mockrow .rd-mode--run .rd-mode-go { min-height: 36px; }

/* tip seçimi (alt panel) */
.ex-type-h { color: var(--muted); font-size: 14.5px; font-weight: 600; }
.ex-types { display: flex; flex-direction: column; gap: 8px; padding-bottom: 4px; }
.ex-type { width: 100%; min-height: 64px; display: grid; grid-template-columns: 1fr 20px; align-items: center; gap: 10px; padding: 10px 12px 10px 16px; border-radius: 16px; background: var(--surface-2); text-align: left; transition: transform 100ms ease; }
.ex-type:active { transform: scale(.985); }
.ex-type > svg { color: var(--muted); }
.ex-type-m { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ex-type-t { font-size: 17.5px; font-weight: 720; line-height: 1.25; }
.ex-type-s { font-size: 13.5px; color: var(--muted); font-weight: 560; }
.ex-type[data-ty="mix"] { background: var(--accent-soft); }
.ex-type[data-ty="mix"] .ex-type-t { color: var(--accent); }

/* soru gövdesi */
.ex-q { gap: 10px; }
.ex-card { padding: 14px 16px 16px; }
.ex-body { margin-top: 10px; display: flex; flex-direction: column; gap: 10px; }
.ex-stem, .ex-sent { font-size: 18.5px; line-height: 1.55; font-weight: 560; overflow-wrap: break-word; }
.ex-sent { padding: 2px 0 2px 12px; border-left: 4px solid var(--accent); }
.ex-sit { font-size: 17.5px; line-height: 1.55; background: var(--surface-2); border-radius: 14px; padding: 12px 14px; }
.ex-ask { font-size: 14.5px; line-height: 1.4; color: var(--muted); font-weight: 650; }
.ex-ctx { font-size: 14.5px; line-height: 1.4; color: var(--muted); font-weight: 600; font-style: italic; }
.ex-gap { display: inline; padding: 1px 4px; border-radius: 6px; border-bottom: 2.5px solid var(--accent); background: var(--accent-soft); color: var(--text); font-weight: 680; }
.ex-gap i { display: inline-block; width: 84px; height: 1em; vertical-align: -2px; }
.ex-gap--sel { color: var(--accent); }
.ex-gap--ok { background: var(--ok-soft); border-bottom-color: var(--ok); color: var(--ok); }
.ex-gap--bad { background: var(--bad-soft); border-bottom-color: var(--bad); border-bottom-style: dashed; color: var(--text); }
.ex-dlg { display: flex; flex-direction: column; gap: 8px; }
.ex-dl { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.ex-dl--b { align-items: flex-end; }
.ex-spk { font-size: 12px; font-weight: 750; letter-spacing: .04em; color: var(--muted); padding: 0 8px; }
.ex-bub { max-width: 88%; padding: 9px 13px; border-radius: 18px; font-size: 17px; line-height: 1.4; background: var(--surface-2); border-bottom-left-radius: 6px; overflow-wrap: break-word; }
.ex-dl--b .ex-bub { background: var(--new-soft); border-bottom-left-radius: 18px; border-bottom-right-radius: 6px; }
.ex-dl--gap .ex-bub { background: transparent; box-shadow: inset 0 0 0 2px var(--accent); min-width: 120px; }
.ex-dl--gap .ex-gap { background: transparent; border-bottom: 0; padding: 0; }
.ex-dl--gap .ex-gap--ok { color: var(--ok); }
.ex-tdl { display: flex; flex-direction: column; gap: 6px; font-size: 17px; line-height: 1.45; }
.ex-tdl b { font-weight: 750; }
.rd-q.ex-q .opt { min-height: 54px; font-size: 16px; line-height: 1.35; }
.rd--mock[data-step="x"] .rd-opts .opt { min-height: 50px; }
@media (max-height: 700px) {
  .ex-stem, .ex-sent { font-size: 17px; }
  .ex-bub { font-size: 16px; }
}
/* ===== EXAM son ===== */
