/* Empati Dedektifi · açık tema (gökyüzü mavisi, beyaz, güneş sarısı/turuncu).
   base.css: renk/yazı jetonları, ortak bileşenler, ana sayfa, vaka akışı ve rapor. */
:root {
  --sky-0: #f5fbff;
  --sky-1: #e6f5ff;
  --sky-2: #cdeaff;
  --sky-3: #9fd6fb;
  --sky-4: #38aef0;
  --blue: #0b6fb8;        /* metin/bağlantı: beyaz üzerinde 5.4:1 */
  --blue-deep: #0a4f86;
  --sun: #ffc93c;
  --sun-soft: #fff3d1;
  --orange: #ff9f43;
  --orange-2: #ffb547;
  --orange-deep: #d9741a;
  --coral: #ff7a6b;
  --green: #126b42;       /* metin: yeşil zeminde 5.4:1 */
  --green-soft: #ddf6e8;
  --red: #c4372c;
  --red-soft: #ffe5e1;
  --ink: #0f2a44;         /* ana metin: 14:1 */
  --muted: #4a6178;       /* ikincil metin: 6.3:1 */
  --dim: #5b7085;         /* ikincil küçük metin: 4.9:1 */
  --surface: #ffffff;
  --surface-2: #f4f9fe;
  --line: #d6e8f6;
  --line-2: #b9d7ee;
  /* beautiful-shadows: nötr, katmanlı yükselti (sm: küçük kontroller, md: kartlar, lg: pencere/kahraman) */
  --shadow-sm: 0 2px 3px -1px rgba(0, 0, 0, .1), 0 1px 0 0 rgba(25, 28, 33, .02), 0 0 0 1px rgba(25, 28, 33, .04);
  --shadow: 0 1px 1px -.5px rgba(0, 0, 0, .06), 0 3px 3px -1.5px rgba(0, 0, 0, .06), 0 6px 6px -3px rgba(0, 0, 0, .06), 0 12px 12px -6px rgba(0, 0, 0, .06), 0 24px 24px -12px rgba(0, 0, 0, .06);
  --shadow-lg: 0 2.8px 2.2px rgba(0, 0, 0, .034), 0 6.7px 5.3px rgba(0, 0, 0, .048), 0 12.5px 10px rgba(0, 0, 0, .06), 0 22.3px 17.9px rgba(0, 0, 0, .072), 0 41.8px 33.4px rgba(0, 0, 0, .086), 0 100px 80px rgba(0, 0, 0, .12);
  --display: "Baloo 2", "Nunito", "Segoe UI", system-ui, sans-serif;
  --body: "Nunito", "Segoe UI", system-ui, sans-serif;
  --r: 22px;
  --r-sm: 14px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --wrap: min(1180px, 100% - 48px);
  --top-h: 72px;
}

/* ───────── Temel ───────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 16px); }
body {
  margin: 0; min-height: 100vh; background: var(--sky-1); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; line-height: 1.1; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--sun); color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 10px; }
[tabindex="-1"]:focus { outline: none; }
[hidden] { display: none !important; }

.sky {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vw 40vw at 92% -8%, rgba(255, 201, 60, .35), transparent 62%),
    radial-gradient(50vw 40vw at -10% 30%, rgba(56, 174, 240, .18), transparent 70%),
    linear-gradient(180deg, #d4edff 0%, #e9f6ff 40%, #f6fbff 100%);
}
.sky::before, .sky::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .7;
  background: radial-gradient(closest-side, #fff, rgba(255, 255, 255, 0)); animation: cloudDrift 60s ease-in-out infinite alternate;
}
.sky::before { width: 46vw; height: 22vw; top: 14%; left: -10vw; }
.sky::after { width: 40vw; height: 20vw; top: 60%; right: -8vw; animation-duration: 80s; animation-delay: -30s; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 800; }
.skip:focus { top: 12px; }

/* ───────── Düğmeler ───────── */
.btn {
  --b: var(--line-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 22px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--display); font-weight: 700; font-size: 17px; line-height: 1; letter-spacing: .01em;
  text-decoration: none !important; white-space: nowrap; user-select: none;
  transition: transform .25s var(--spring), box-shadow .25s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none !important; }
.btn svg { flex: none; }
.btn--fire {
  border: 1px solid transparent; color: var(--ink);
  background: linear-gradient(180deg, #ffc66a, var(--orange-2) 45%, var(--orange)) padding-box,
    linear-gradient(180deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, .2) 45%, rgba(160, 80, 10, .45)) border-box;
  box-shadow: 0 4px 0 var(--orange-deep), 0 10px 18px -8px rgba(120, 60, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -2px 0 rgba(160, 80, 10, .18);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .45);
}
.btn--fire:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 6px 0 var(--orange-deep), 0 14px 22px -8px rgba(120, 60, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -2px 0 rgba(160, 80, 10, .18); }
.btn--fire:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 1px 0 var(--orange-deep), inset 0 3px 8px rgba(120, 60, 0, .3), inset 0 -1px 0 rgba(255, 255, 255, .5); }
/* gökyüzü panelinde ikincil düğme: yarı saydam beyaz kabuk + ince degrade kenar (css-border-gradient) */
.btn--sky {
  border: 1px solid transparent; color: #fff;
  background: linear-gradient(rgba(6, 50, 110, .28), rgba(6, 50, 110, .38)) padding-box,
    linear-gradient(160deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .3) 50%, rgba(255, 255, 255, .6)) border-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn--sky:hover { transform: translateY(-2px); background: linear-gradient(rgba(6, 50, 110, .45), rgba(6, 50, 110, .55)) padding-box, linear-gradient(160deg, #fff, rgba(255, 255, 255, .6)) border-box; }
.btn--ghost { background: var(--surface); color: var(--blue-deep); border-color: var(--line-2); box-shadow: 0 3px 0 var(--line); }
.btn--ghost:hover:not(:disabled) { border-color: var(--sky-4); transform: translateY(-2px); box-shadow: 0 5px 0 var(--sky-2); }
.btn--ghost:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 1px 0 var(--sky-2); }
.btn--ghost.danger { color: var(--red); }
.btn--ghost.danger:hover:not(:disabled) { border-color: var(--red); box-shadow: 0 5px 0 var(--red-soft); }
.btn--end { background: var(--red); color: #fff; box-shadow: 0 4px 0 #8e2119, 0 14px 26px -12px rgba(196, 55, 44, .7); letter-spacing: .04em; }
.btn--end:hover { transform: translateY(-2px); }
.btn--sm { min-height: 38px; padding: 7px 16px; font-size: 15px; }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 19px; }
.btn--block { width: 100%; }

.icon-btn {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%;
  border: 2px solid var(--line-2); background: var(--surface); color: var(--ink); transition: transform .25s var(--spring), border-color .2s, background .2s;
}
.icon-btn:hover { transform: rotate(90deg); border-color: var(--sky-4); }
.icon-btn--sm { width: 34px; height: 34px; font-size: 14px; }
.icon-btn--sm:hover { transform: none; border-color: var(--red); color: var(--red); background: var(--red-soft); }
.link { background: none; border: 0; padding: 0; color: var(--blue); font-weight: 800; text-decoration: underline; }

/* ───────── Ortak öğeler ───────── */
.kicker, .sec-label, .mini-label {
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--display); font-weight: 700;
  font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--blue);
}
.mini-label { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px;
  background: var(--surface); border: 2px solid var(--line); color: var(--blue-deep);
  font-family: var(--display); font-weight: 700; font-size: 15px; box-shadow: var(--shadow-sm);
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px var(--sun-soft); animation: pulse 2.4s ease-in-out infinite; }
.muted-note { color: var(--muted); font-size: 15px; }
.empty { color: var(--muted); padding: 18px 0; text-align: center; }
.empty.big { padding: 40px 10px; font-size: 18px; font-weight: 700; }
.empty.big small { display: block; font-weight: 600; font-size: 15px; margin-top: 6px; }
.plain { list-style: none; display: grid; gap: 8px; }
ol.plain { list-style: decimal; padding-left: 22px; }
.plain li { line-height: 1.5; }
ul.plain li { position: relative; padding-left: 20px; }
ul.plain li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--sky-4); }

.card { background: var(--surface); border: 2px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); }
.card h2 { font-size: 24px; margin-bottom: 14px; }
.card h2 small { font-family: var(--body); font-size: 14px; font-weight: 700; color: var(--muted); }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.card__head h2 { margin: 0; }
.count { display: inline-grid; place-items: center; min-width: 32px; height: 28px; padding: 0 10px; border-radius: 999px; background: var(--sky-1); color: var(--blue-deep); font-family: var(--display); font-weight: 800; font-size: 15px; vertical-align: middle; }
.notice { text-align: center; display: grid; gap: 12px; justify-items: center; }
.notice h3 { font-size: 24px; }
.notice p { color: var(--muted); max-width: 52ch; }

.avatar {
  display: inline-grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%;
  background: var(--sun-soft); color: var(--ink); border: 2px solid var(--surface); box-shadow: 0 0 0 2px var(--line-2);
  font-family: var(--display); font-weight: 800; font-size: 17px;
}
.av { display: inline-grid; place-items: center; flex: none; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 3px var(--surface), 0 4px 10px -4px rgba(15, 60, 110, .4); }

.field { display: grid; gap: 8px; }
.field > span { font-family: var(--display); font-weight: 700; font-size: 17px; }
.field em { font-style: normal; font-family: var(--body); font-weight: 600; font-size: 14px; color: var(--muted); }
.field input, .field textarea, .field select, .sol__fill input {
  width: 100%; padding: 12px 16px; border-radius: var(--r-sm); border: 2px solid var(--line-2); background: var(--surface);
  color: var(--ink); font-size: 17px; transition: border-color .2s, box-shadow .2s;
}
.field textarea, .q textarea { resize: vertical; min-height: 64px; line-height: 1.5; }
.field input:focus, .field textarea:focus, .field select:focus, .q textarea:focus, .sol__fill input:focus { outline: none; border-color: var(--sky-4); box-shadow: 0 0 0 4px rgba(56, 174, 240, .25); }
::placeholder { color: #7a8ea1; opacity: 1; }
.form-error { min-height: 1.4em; color: var(--red); font-weight: 800; font-size: 15px; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-top: 14px; }
.check input { width: 20px; height: 20px; accent-color: var(--blue); }
.check small { color: var(--muted); font-weight: 600; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 16px; border-radius: 999px; border: 2px solid var(--line-2); background: var(--surface); color: var(--blue-deep);
  font-family: var(--display); font-weight: 700; font-size: 15px; transition: transform .25s var(--spring), background .2s, border-color .2s;
}
.chip:hover { transform: translateY(-2px); border-color: var(--sky-4); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }

.spinner { display: inline-block; width: 18px; height: 18px; flex: none; border-radius: 50%; border: 3px solid var(--sky-2); border-top-color: var(--blue); animation: spin .8s linear infinite; vertical-align: middle; }
.center-note { min-height: 60vh; display: flex; align-items: center; justify-content: center; gap: 12px; font-weight: 800; color: var(--muted); }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 300; max-width: min(520px, 100% - 32px); padding: 14px 22px; border-radius: 16px;
  background: var(--ink); color: #fff; font-weight: 700; box-shadow: var(--shadow-lg);
  transform: translate(-50%, 140%); opacity: 0; transition: transform .45s var(--spring), opacity .3s;
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }
.toast.err { background: var(--red); }
body.is-offline::after {
  content: "Bağlantı koptu · yeniden bağlanılıyor…"; position: fixed; top: 10px; left: 50%; transform: translateX(-50%); z-index: 300;
  padding: 8px 16px; border-radius: 999px; background: var(--sun); color: var(--ink); font-weight: 800; font-size: 14px; box-shadow: var(--shadow);
}

.stamp {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 8px; border: 2px solid var(--green);
  color: var(--green); background: rgba(255, 255, 255, .9); font-family: var(--display); font-weight: 800; font-size: 13px;
  letter-spacing: .06em; text-transform: uppercase; transform: rotate(-6deg);
}
.stamp--big { font-size: 15px; padding: 6px 14px; border-width: 3px; color: var(--blue-deep); border-color: var(--blue-deep); animation: stamp .6s var(--spring) both .3s; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-sm); border: 2px solid var(--line); }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--surface); }
.tbl th { text-align: left; padding: 10px 14px; background: var(--sky-1); color: var(--blue-deep); font-family: var(--display); font-weight: 700; font-size: 14px; white-space: nowrap; }
.tbl td { padding: 10px 14px; border-top: 1px solid var(--line); vertical-align: middle; }
.tbl tbody tr:hover td { background: var(--surface-2); }
.tbl tr.is-me td { background: var(--sun-soft); }
.tbl td.muted { color: var(--dim); }
.tbl__rank { font-family: var(--display); font-weight: 800; font-size: 17px; }
.tbl__total { font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--blue-deep); }
.tbl__who { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.tbl__who em, .lb__name em, .podium__who em { font-style: normal; color: var(--muted); font-weight: 600; }
.tbl__actions { white-space: nowrap; text-align: right; }
.tbl__actions .btn + .btn { margin-left: 6px; }
.tbl--tiny { font-size: 14px; margin-top: 14px; }
.tbl--tiny th, .tbl--tiny td { padding: 7px 10px; }

/* ───────── Üst çubuk ve menü ───────── */
.topbar {
  position: sticky; top: 0; z-index: 50; height: var(--top-h); display: flex; align-items: center; gap: 14px;
  padding: 0 max(16px, (100% - 1180px) / 2); background: rgba(245, 251, 255, .82);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); border-bottom: 2px solid rgba(185, 215, 238, .6);
}
.burger {
  position: relative; z-index: 3; display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px 0 14px;
  border-radius: 999px; border: 2px solid var(--line-2); background: var(--surface); box-shadow: 0 3px 0 var(--line);
  font-family: var(--display); font-weight: 800; font-size: 17px; color: var(--ink); transition: transform .25s var(--spring), border-color .2s;
}
.burger:hover { border-color: var(--sky-4); transform: translateY(-1px); }
.burger__lines { position: relative; width: 22px; height: 16px; }
.burger__lines i { position: absolute; left: 0; width: 22px; height: 3px; border-radius: 3px; background: currentColor; transition: transform .35s var(--spring), opacity .2s, top .3s var(--ease); }
.burger__lines i:nth-child(1) { top: 0; }
.burger__lines i:nth-child(2) { top: 6.5px; width: 16px; }
.burger__lines i:nth-child(3) { top: 13px; }
.menu-open .burger { background: var(--ink); color: #fff; border-color: var(--ink); }
.menu-open .burger__lines i:nth-child(1) { top: 6.5px; transform: rotate(45deg); }
.menu-open .burger__lines i:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-open .burger__lines i:nth-child(3) { top: 6.5px; transform: rotate(-45deg); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none !important; min-width: 0; }
.brand__logo { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--sky-2); overflow: hidden; flex: none; }
.brand__logo svg { margin-top: 6px; }
.brand__name { font-family: var(--display); font-weight: 700; font-size: 21px; white-space: nowrap; }
.brand__name b { color: var(--orange-deep); font-weight: 800; }
.topbar__cta { margin-left: auto; }

.menu-scrim {
  position: fixed; inset: 0; z-index: 45; background: rgba(15, 42, 68, .3); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s;
}
.menu {
  position: absolute; z-index: 2; top: calc(var(--top-h) - 6px); left: max(16px, (100% - 1180px) / 2); width: min(400px, 100% - 32px);
  max-height: calc(100vh - var(--top-h) - 16px); overflow-y: auto; padding: 18px; border-radius: 26px;
  background: var(--surface); border: 2px solid var(--line); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-12px) scale(.97); transform-origin: top left;
  transition: opacity .25s var(--ease), transform .35s var(--spring), visibility 0s .35s;
}
.menu-open .menu, .menu-open .menu-scrim { opacity: 1; visibility: visible; transition-delay: 0s; }
.menu-open .menu { transform: none; }
.menu__title { font-family: var(--display); font-weight: 800; font-size: 15px; color: var(--muted); padding: 2px 8px 10px; letter-spacing: .04em; text-transform: uppercase; }
.menu__list { list-style: none; display: grid; gap: 6px; }
.menu__list li { opacity: 0; transform: translateX(-10px); transition: opacity .3s, transform .4s var(--spring); }
.menu-open .menu__list li { opacity: 1; transform: none; transition-delay: calc(var(--i) * 35ms + 60ms); }
.menu__list a {
  display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 18px; color: var(--ink);
  text-decoration: none; border: 2px solid transparent; transition: background .2s, border-color .2s, transform .25s var(--spring);
}
.menu__list a:hover { background: var(--surface-2); transform: translateX(3px); }
.menu__list a[aria-current="page"] { background: color-mix(in srgb, var(--c) 16%, white); border-color: color-mix(in srgb, var(--c) 55%, white); }
.menu__list a > svg { margin-left: auto; color: var(--dim); }
.menu__ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; background: var(--c); color: var(--ink); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12); }
.menu__txt b { display: block; font-family: var(--display); font-size: 19px; font-weight: 700; line-height: 1.15; }
.menu__txt small { display: block; color: var(--muted); font-size: 14px; font-weight: 600; }
.menu__foot { display: flex; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 2px dashed var(--line); }
.menu__foot a { flex: 1; text-align: center; padding: 10px; border-radius: 14px; background: var(--sky-1); font-weight: 800; font-size: 15px; color: var(--blue-deep); }

/* ───────── Bölümler (tek tek gösterilir) ───────── */
main#icerik { width: var(--wrap); margin: 0 auto; padding: 36px 0 56px; min-height: calc(100vh - var(--top-h) - 90px); outline: none; }
.view.is-in { animation: viewIn .55s var(--ease) both; }
.view.is-in > * { animation: rise .6s var(--ease) both; }
.view.is-in > *:nth-child(2) { animation-delay: .06s; }
.view.is-in > *:nth-child(3) { animation-delay: .12s; }
.view.is-in > *:nth-child(4) { animation-delay: .18s; }
.view.is-in > *:nth-child(n+5) { animation-delay: .24s; }
.view.is-out { animation: viewOut .16s ease-in both; }
.view-head { text-align: center; max-width: 720px; margin: 0 auto 30px; display: grid; justify-items: center; gap: 8px; }
.view-head .kicker { padding: 5px 14px; border-radius: 999px; background: var(--sun-soft); color: #7a4b00; }
.view-head h2 { font-size: clamp(34px, 5vw, 54px); }
.view-head__sub { color: var(--muted); font-size: 19px; font-weight: 600; }

/* Ana sayfa: gökyüzü paneli (blue-cloudy-clean-modern) */
.hero {
  position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 16px;
  min-height: 540px; padding: 48px 56px; border-radius: 36px; color: #fff;
  /* metin sütunu her yerde koyu mavide kalır (beyaz metin ≥ 4.5:1); açık pus yalnızca maskotun arkasında */
  background: radial-gradient(48% 62% at var(--mist-x, 76%) var(--mist-y, 70%), rgba(214, 238, 255, .55), rgba(214, 238, 255, 0) 70%),
    linear-gradient(180deg, #0a55a1 0%, #1167b8 55%, #1670c2 100%);
  box-shadow: var(--shadow-lg);
}
.hero::after { /* altta pus: gökyüzü aşağıda açılır */
  content: ""; position: absolute; inset: auto 0 0 45%; height: 30%; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 100% at 60% 100%, rgba(255, 255, 255, .35), transparent 70%);
}
.hero__light { /* yavaş süzülen bulut ışığı: büyük, bulanık, dikkat dağıtmayan */
  position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; filter: blur(38px); opacity: .55;
  background: radial-gradient(closest-side, #fff, rgba(255, 255, 255, 0));
  animation: cloudDrift 38s ease-in-out infinite alternate;
}
.hero__light.l1 { width: 520px; height: 220px; left: -120px; top: 58%; }
.hero__light.l2 { width: 460px; height: 200px; right: -80px; top: 12%; opacity: .32; animation-duration: 46s; animation-delay: -12s; }
.hero__light.l3 { width: 380px; height: 160px; left: 38%; bottom: -60px; opacity: .6; animation-duration: 54s; animation-delay: -24s; }
.fx-ambient { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero__copy { position: relative; display: grid; gap: 22px; justify-items: start; }
.hero__title { font-size: clamp(52px, 8vw, 100px); line-height: .95; letter-spacing: -.02em; color: #fff; text-shadow: 0 2px 0 rgba(6, 50, 100, .25); }
.ht-mask { display: block; overflow: hidden; padding-bottom: .08em; }
.ht-mask > span { display: inline-block; animation: maskUp .9s var(--ease) both; }
.ht-mask + .ht-mask > span { animation-delay: .12s; }
.ht-2 { position: relative; color: var(--sun); }
.ht-2::after {
  content: ""; position: absolute; left: 2px; right: 0; bottom: .02em; height: .12em; z-index: -1;
  background: rgba(255, 255, 255, .28); border-radius: 999px; transform: skew(-12deg) scaleX(0); transform-origin: left; animation: grow .8s var(--ease) .7s forwards;
}
.hero__lead { font-size: 21px; color: #fff; max-width: 30ch; font-weight: 600; text-shadow: 0 1px 2px rgba(6, 50, 100, .35); }
.hero__lead b { font-weight: 800; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts { list-style: none; display: flex; gap: 18px; flex-wrap: wrap; font-weight: 700; color: #fff; }
.hero__facts li { display: inline-flex; align-items: center; gap: 6px; }
.hero__facts b { font-family: var(--display); font-size: 22px; line-height: 1; color: var(--sun); }
.hero__stage { position: relative; height: 460px; display: grid; place-items: center; }
.hero__halo { position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .55), rgba(255, 255, 255, .12) 58%, transparent 70%); }
.hero__mascot { position: relative; z-index: 2; animation: bob 6s ease-in-out infinite; filter: drop-shadow(0 22px 18px rgba(6, 50, 100, .28)); }
.hero__mascot svg { width: min(320px, 70vw); height: auto; }
.hero__spark { position: absolute; top: 6%; left: 30%; z-index: 3; animation: twinkle 3.2s ease-in-out infinite; }
.hero__spark svg { stroke: #fff; }
.hero__spark svg path { stroke: #fff; }
.float-card { position: absolute; z-index: 3; padding: 0; border: 0; background: none; cursor: pointer; animation: float 7s ease-in-out infinite; }
.float-card__in {
  display: grid; justify-items: center; gap: 2px; padding: 10px 12px 8px; border-radius: 18px; color: #1d1410;
  font-family: var(--display); font-weight: 800; font-size: 14px;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .75), inset 0 -4px 0 rgba(0, 0, 0, .1), var(--shadow);
  transition: transform .35s var(--spring);
}
.float-card:hover .float-card__in { transform: scale(1.08) rotate(-4deg); }
.float-card.is-wiggle .float-card__in { animation: wiggleCard .6s var(--spring); }
.float-card.f1 { top: 6%; left: 6%; --rot: -10deg; }
.float-card.f2 { top: 2%; right: 6%; --rot: 8deg; animation-delay: -2s; }
.float-card.f3 { bottom: 12%; left: 0; --rot: 6deg; animation-delay: -4s; }
.float-card.f4 { bottom: 18%; right: 0; --rot: -6deg; animation-delay: -1s; }

.quick { margin-top: 30px; }
.quick__title { font-size: 26px; margin-bottom: 16px; text-align: center; }
.quick__grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quick__card {
  position: relative; display: flex; align-items: center; gap: 16px; padding: 18px 18px 18px 16px; border-radius: 24px; background: var(--surface); color: var(--ink);
  border: 2px solid var(--line); box-shadow: var(--shadow); text-decoration: none !important;
  transform: perspective(700px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); transition: transform .35s var(--spring), border-color .2s;
}
.quick__card:hover { border-color: var(--c); transform: perspective(700px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)) translateY(-4px); }
.quick__art { flex: none; position: relative; width: 84px; height: 72px; border-radius: 18px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 22%, white); }
.qa-file b { position: absolute; left: 18px; height: 6px; border-radius: 6px; background: var(--surface); }
.qa-file b:nth-of-type(1) { top: 30px; width: 44px; } .qa-file b:nth-of-type(2) { top: 42px; width: 30px; }
.qa-file i { position: absolute; top: 10px; left: 14px; padding: 1px 8px; border-radius: 8px; background: var(--c); font-style: normal; font-family: var(--display); font-weight: 800; font-size: 13px; }
.qa-file em { position: absolute; right: 10px; bottom: 8px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; transform: rotate(-10deg); }
.qa-steps { grid-template-columns: repeat(4, 1fr); gap: 0; padding: 0 8px; }
.qa-steps i { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); font-style: normal; font-family: var(--display); font-weight: 800; font-size: 11px; position: relative; }
.qa-steps i:nth-child(-n+2) { background: var(--c); }
.qa-group i { position: absolute; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 0 0 3px var(--surface); }
.qa-group i:nth-child(1) { left: 4px; top: 16px; } .qa-group i:nth-child(2) { left: 22px; top: 8px; z-index: 1; } .qa-group i:nth-child(3) { left: 40px; top: 18px; }
.quick__txt b { display: block; font-family: var(--display); font-size: 21px; line-height: 1.15; }
.quick__txt small { display: block; color: var(--muted); font-weight: 600; font-size: 15px; }
.quick__go { margin-left: auto; flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--sky-1); color: var(--blue-deep); transition: transform .3s var(--spring), background .2s; }
.quick__card:hover .quick__go { transform: translateX(4px); background: var(--c); color: var(--ink); }

/* Vaka arşivi */
.archive-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.archive-count { display: grid; gap: 6px; min-width: 200px; }
.archive-count p { font-weight: 700; color: var(--muted); font-size: 15px; }
.archive-count b { font-family: var(--display); color: var(--green); font-size: 20px; }
.archive-count__bar { height: 10px; border-radius: 999px; background: var(--surface); border: 2px solid var(--line); overflow: hidden; }
.archive-count__bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #4cc38a, #2fb67a); transition: width .8s var(--ease); }
.cases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.case {
  position: relative; display: flex; flex-direction: column; padding: 0; text-align: left; color: var(--ink);
  background: var(--surface); border: 2px solid var(--line); border-radius: 8px 22px 22px 22px; box-shadow: var(--shadow);
  margin-top: 18px; transition: transform .4s var(--spring), box-shadow .3s, border-color .2s; 
}
.case { transform: perspective(800px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); }
.case:hover { transform: perspective(800px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)) translateY(-6px); border-color: var(--accent); box-shadow: var(--shadow-lg); }
.case:active { transform: perspective(800px) translateY(-1px) scale(.98); }
.case__tab {
  position: absolute; top: -20px; left: -2px; padding: 3px 14px 4px; border-radius: 12px 12px 0 0; background: color-mix(in srgb, var(--accent) 45%, white); color: var(--ink);
  font-family: var(--display); font-weight: 800; font-size: 14px; letter-spacing: .04em;
}
.case__art {
  position: relative; height: 112px; display: grid; place-items: center; border-radius: 6px 20px 0 0; overflow: hidden;
  background: radial-gradient(circle at 75% 25%, rgba(255, 255, 255, .55), transparent 55%), color-mix(in srgb, var(--accent) 26%, white); color: color-mix(in srgb, var(--accent) 65%, #0f2a44);
}
.case__art::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .7) 1.4px, transparent 1.6px); background-size: 14px 14px; opacity: .6; }
.case__glyph { position: relative; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--surface); box-shadow: 0 8px 20px -10px rgba(15, 60, 110, .5); transition: transform .5s var(--spring); }
.case:hover .case__glyph { transform: scale(1.08) rotate(-8deg); }
.case .stamp { position: absolute; right: 10px; top: 10px; }
.case__body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; flex: 1; }
.case__theme { font-family: var(--display); font-weight: 700; font-size: 13px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.case__title { font-family: var(--display); font-weight: 800; font-size: 21px; line-height: 1.15; }
.case__teaser { color: var(--muted); font-size: 15px; line-height: 1.4; flex: 1; }
.case__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.case__people { display: flex; }
.case__people .avatar { width: 32px; height: 32px; font-size: 14px; }
.case__people .avatar + .avatar { margin-left: -8px; background: var(--sky-1); }
.case__open { display: inline-flex; align-items: center; gap: 4px; font-family: var(--display); font-weight: 800; color: var(--blue-deep); }
.case:hover .case__open svg { animation: nudge .6s var(--ease) infinite alternate; }

/* Nasıl oynanır */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; padding: 20px; border-radius: var(--r); background: var(--surface); border: 2px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 8px; align-content: start; }
.step__n { position: absolute; top: -14px; left: 16px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); font-family: var(--display); font-weight: 800; font-size: 20px; box-shadow: 0 3px 0 #d9a21a; }
.step__visual { height: 120px; border-radius: 16px; background: var(--sky-1); display: grid; place-items: center; padding: 10px; margin-bottom: 6px; overflow: hidden; }
.step h3 { font-size: 22px; }
.step p { color: var(--muted); font-weight: 600; }
.mini-scene { width: 100%; padding: 12px; border-radius: 12px; background: var(--surface); border: 2px dashed var(--line-2); display: grid; gap: 7px; }
.mini-scene__tag { justify-self: start; padding: 2px 8px; border-radius: 6px; background: var(--sun); font-family: var(--display); font-weight: 800; font-size: 11px; }
.mini-scene__line { height: 8px; border-radius: 9px; background: var(--sky-2); }
.mini-scene__line.short { width: 60%; }
.mini-faces { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.mini-faces span { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .7); }
.mini-q { display: grid; gap: 5px; width: 100%; }
.mini-q span { display: flex; gap: 6px; align-items: center; padding: 4px 8px; border-radius: 8px; background: var(--surface); font-size: 11.5px; font-weight: 700; line-height: 1.2; color: var(--ink); }
.mini-q i { flex: none; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-style: normal; font-size: 10px; }
.mini-sol { display: grid; gap: 6px; width: 100%; }
.mini-sol span { padding: 6px 10px; border-radius: 10px; font-family: var(--display); font-weight: 800; font-size: 13px; text-align: center; }
.rule {
  margin-top: 26px; display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: var(--r);
  background: linear-gradient(120deg, var(--sun-soft), #fff 70%); border: 2px solid #ffe08a; box-shadow: var(--shadow);
}
.rule__ico { flex: none; width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--sun); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .1); animation: wiggle 4s ease-in-out infinite; }
.rule h3 { font-size: 22px; }
.rule p { color: var(--muted); font-weight: 600; }
.rule .btn { margin-left: auto; flex: none; }
.fold { margin-top: 16px; border-radius: 18px; background: var(--surface); border: 2px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; }
.fold summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 16px 20px;
  font-family: var(--display); font-weight: 700; font-size: 19px; color: var(--ink);
}
.fold summary::-webkit-details-marker { display: none; }
.fold summary::after { content: "+"; margin-left: auto; width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--sky-1); color: var(--blue-deep); font-size: 22px; transition: transform .35s var(--spring), background .2s; }
.fold[open] summary::after { transform: rotate(45deg); background: var(--sun); }
.fold summary:hover { background: var(--surface-2); }
.fold[open] > :not(summary) { animation: rise .4s var(--ease) both; }
.fold__body { padding: 0 20px 20px; color: var(--ink); }
.fold__body p { color: var(--muted); }
.fold__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin: 0; padding: 0 20px 6px; }
.fold__list div { padding: 12px 14px; border-radius: 14px; background: var(--surface-2); }
.fold__list dt { font-family: var(--display); font-weight: 800; font-size: 15px; color: var(--blue-deep); }
.fold__list dd { margin: 0; color: var(--muted); font-weight: 600; font-size: 15px; }
.fold__sub { padding: 12px 20px 6px; font-family: var(--display); font-weight: 800; }
.kit { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 20px; }
.kit li { padding: 6px 14px; border-radius: 999px; background: var(--sun-soft); font-weight: 700; font-size: 15px; }

/* Kadro */
.team { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.member {
  position: relative; display: grid; justify-items: center; text-align: center; gap: 6px; padding: 0 18px 22px; border-radius: var(--r); overflow: hidden;
  background: var(--surface); border: 2px solid var(--line); box-shadow: var(--shadow); transition: transform .4s var(--spring);
}
.member:hover { transform: translateY(-6px) rotate(.6deg); }
.member__id { width: calc(100% + 36px); padding: 8px 12px; background: hsl(var(--h) 85% 92%); color: hsl(var(--h) 60% 26%); font-family: var(--display); font-weight: 800; font-size: 12px; letter-spacing: .08em; display: flex; justify-content: space-between; }
.member__avatar { margin: 14px 0 6px; width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, hsl(var(--h) 90% 72%), hsl(calc(var(--h) + 30) 80% 58%)); box-shadow: 0 0 0 6px var(--surface), 0 0 0 8px hsl(var(--h) 70% 85%); position: relative; }
.member__avatar span { font-family: var(--display); font-weight: 800; font-size: 34px; color: #fff; text-shadow: 0 2px 4px rgba(0, 0, 0, .25); }
.member h3 { font-size: 21px; }
.member__role { color: var(--muted); font-weight: 700; font-size: 15px; }
.member__badge { margin-top: 6px; padding: 4px 12px; border-radius: 999px; background: var(--sky-1); color: var(--blue-deep); font-family: var(--display); font-weight: 800; font-size: 13px; }
.member--lead .member__badge { background: var(--sun); color: var(--ink); }
.soon { margin-top: 24px; text-align: center; font-weight: 800; color: var(--muted); }

/* Proje */
.tags { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -12px 0 26px; }
.tags li { padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 2px solid var(--line); font-weight: 700; font-size: 15px; color: var(--blue-deep); }
.proj-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; margin-bottom: 10px; }
.findings { padding: 24px; border-radius: var(--r); background: var(--surface); border: 2px solid var(--line); box-shadow: var(--shadow); }
.findings h3 { font-size: 26px; margin: 4px 0 14px; }
.bars { display: flex; align-items: flex-end; gap: 22px; height: 210px; padding: 10px 6px 0; border-bottom: 2px solid var(--line); }
.bar { position: relative; flex: 0 0 90px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.bar__fill { width: 100%; height: var(--h); border-radius: 14px 14px 4px 4px; background: var(--sky-3); transform-origin: bottom; animation: growY 1s var(--ease) both .2s; }
.bar--post .bar__fill { background: linear-gradient(180deg, var(--orange-2), var(--orange)); }
.bar__val { font-family: var(--display); font-weight: 800; font-size: 20px; margin-bottom: 6px; }
.bar__lbl { position: absolute; bottom: -28px; font-weight: 700; color: var(--muted); font-size: 14px; white-space: nowrap; }
.bars__delta { margin-left: auto; align-self: center; padding: 14px 18px; border-radius: 18px; background: var(--green-soft); color: var(--green); font-weight: 800; text-align: center; line-height: 1.2; }
.bars__delta b { display: block; font-family: var(--display); font-size: 40px; line-height: 1; }
.bars__delta small { display: block; font-size: 13px; }
.findings__note { margin-top: 40px; color: var(--muted); font-weight: 600; }
.facts { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.facts li { display: grid; align-content: center; gap: 2px; padding: 18px; border-radius: var(--r); background: var(--surface); border: 2px solid var(--line); box-shadow: var(--shadow-sm); }
.facts b { font-family: var(--display); font-size: 44px; line-height: 1; color: var(--blue); }
.facts span { font-family: var(--display); font-weight: 800; font-size: 18px; }
.facts small { color: var(--muted); font-weight: 600; font-size: 14px; }
.folds { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; align-items: start; }
.gallery-head { font-size: 26px; text-align: center; margin: 40px 0 16px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 190px; grid-auto-flow: dense; gap: 14px; }
.shot { position: relative; padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: var(--sky-2); box-shadow: var(--shadow); }
.shot.tall { grid-row: span 2; }
.shot.wide { grid-column: span 2; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.shot:hover img { transform: scale(1.06); }
.shot span { position: absolute; left: 8px; right: 8px; bottom: 8px; padding: 6px 10px; border-radius: 10px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 13px; font-weight: 700; text-align: left; line-height: 1.3; transform: translateY(8px); opacity: 0; transition: .3s var(--ease); }
.shot:hover span, .shot:focus-visible span { transform: none; opacity: 1; }
.lightbox { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; align-content: center; gap: 12px; padding: 24px; background: rgba(15, 42, 68, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade .25s both; }
.lightbox img { max-width: min(1100px, 100%); max-height: 78vh; border-radius: 16px; box-shadow: var(--shadow-lg); animation: pop .4s var(--spring) both; }
.lightbox p { color: #fff; font-weight: 700; text-align: center; }
.lightbox__close { position: absolute; top: 16px; right: 16px; }

/* Çok oyunculu tanıtım */
.flow { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 26px; }
.flow li { display: grid; gap: 2px; padding: 18px; border-radius: var(--r); background: var(--surface); border: 2px solid var(--line); box-shadow: var(--shadow-sm); }
.flow span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-family: var(--display); font-weight: 800; margin-bottom: 6px; }
.flow b { font-family: var(--display); font-size: 19px; }
.flow small { color: var(--muted); font-weight: 600; font-size: 15px; }
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.door {
  position: relative; display: grid; justify-items: start; gap: 4px; padding: 28px; border-radius: 28px; color: var(--ink); text-decoration: none !important;
  border: 2px solid var(--line); box-shadow: var(--shadow); overflow: hidden; transition: transform .4s var(--spring), border-color .2s;
}
.door--student { background: linear-gradient(140deg, #fff7dc, #ffe7c2); border-color: #ffd98a; }
.door--teacher { background: linear-gradient(140deg, #f2faff, #d9efff); }
.door:hover { transform: translateY(-6px); }
.door__ico { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--surface); box-shadow: var(--shadow-sm); margin-bottom: 8px; }
.door b { font-family: var(--display); font-size: 30px; line-height: 1.1; }
.door small { color: var(--muted); font-weight: 700; font-size: 17px; margin-bottom: 14px; }

.footer { border-top: 2px solid var(--line); background: rgba(255, 255, 255, .7); }
.footer__in { width: var(--wrap); margin: 0 auto; padding: 18px 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.footer__brand { display: flex; align-items: center; gap: 10px; }
.footer__brand b { display: block; font-family: var(--display); font-size: 18px; }
.footer__brand small { display: block; color: var(--muted); font-weight: 600; font-size: 13px; }
.footer__info { color: var(--muted); font-size: 14px; font-weight: 600; }
.footer__ai { flex-basis: 100%; color: var(--muted); font-size: 13px; font-weight: 600; }

/* ───────── Vaka oyunu (tam ekran pencere) ───────── */
.game { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.game__backdrop { position: absolute; inset: 0; background: rgba(15, 42, 68, .45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: fade .3s both; }
.game__panel {
  position: relative; width: min(1440px, 100%); height: min(940px, 100%); display: flex; flex-direction: column; overflow: hidden;
  border-radius: 28px; background: var(--sky-0); border: 2px solid var(--line); box-shadow: var(--shadow-lg); animation: pop .5s var(--spring) both;
}
.game__top { display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 22px; background: var(--surface); border-bottom: 2px solid var(--line); }
.game__brand { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 800; font-size: 17px; color: var(--blue-deep); white-space: nowrap; }
.game__brand span { color: var(--muted); font-weight: 700; }
.stepper { flex: 1; display: flex; justify-content: center; gap: 4px; list-style: none; min-width: 0; }
.stepper li { display: flex; align-items: center; gap: 4px; }
.stepper li + li::before { content: ""; width: 18px; height: 3px; border-radius: 3px; background: var(--line-2); }
.stepper li.is-done + li::before, .stepper li.is-done::before { background: #7fd6aa; }
.stepper button {
  display: flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border-radius: 999px; border: 2px solid transparent; background: none;
  font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--muted); transition: background .2s, border-color .2s;
}
.stepper button:disabled { cursor: default; }
.stepper span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--sky-1); font-weight: 800; color: var(--blue-deep); }
.stepper .is-done button { color: var(--green); }
.stepper .is-done button:not(:disabled):hover { background: var(--green-soft); }
.stepper .is-done span { background: var(--green-soft); color: var(--green); }
.stepper .is-now button { color: var(--ink); background: var(--sun-soft); border-color: #ffd98a; }
.stepper .is-now span { background: var(--sun); color: var(--ink); animation: pop .4s var(--spring); }
.game__progress { height: 5px; background: var(--sky-1); }
.game__progress span { display: block; height: 100%; border-radius: 0 9px 9px 0; background: linear-gradient(90deg, var(--sky-4), var(--sun)); transition: width .8s var(--ease); }
.game__main { flex: 1; min-height: 0; display: grid; grid-template-columns: 300px 1fr; }
.dossier { overflow-y: auto; background: var(--surface); border-right: 2px solid var(--line); scrollbar-width: thin; }
.dossier__art {
  position: relative; height: 150px; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 75% 20%, rgba(255, 255, 255, .6), transparent 55%), color-mix(in srgb, var(--accent) 30%, white); color: color-mix(in srgb, var(--accent) 65%, #0f2a44);
}
.dossier__art::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .75) 1.4px, transparent 1.6px); background-size: 14px 14px; }
.dossier__glyph { position: relative; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); box-shadow: var(--shadow); animation: bob 6s ease-in-out infinite; }
.dossier__glyph svg { width: 54px; height: 54px; }
.dossier__no { position: absolute; left: 14px; bottom: 8px; padding: 2px 10px; border-radius: 10px; background: var(--surface); font-family: var(--display); font-weight: 800; color: var(--ink); }
.dossier__classified { position: absolute; top: 12px; right: 12px; padding: 2px 10px; border-radius: 8px; border: 2px solid currentColor; font-family: var(--display); font-weight: 800; font-size: 12px; letter-spacing: .08em; transform: rotate(4deg); background: rgba(255, 255, 255, .7); }
.dossier__body { padding: 18px 20px 24px; }
.dossier__theme { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.dossier__title { font-size: 28px; margin: 2px 0 2px; }
.dossier__place { color: var(--muted); font-size: 14px; font-weight: 600; margin-bottom: 18px; }
.dossier__cast { list-style: none; display: grid; gap: 8px; margin-bottom: 18px; }
.dossier__cast li { display: flex; gap: 10px; align-items: flex-start; padding: 10px; border-radius: 14px; background: var(--surface-2); }
.dossier__cast b { display: block; line-height: 1.2; }
.dossier__cast small { display: block; color: var(--muted); font-size: 13px; line-height: 1.25; font-weight: 600; }
.dossier__emos { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 6px; min-height: 12px; }
.dossier__emos i { width: 14px; height: 14px; border-radius: 4px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .8), 0 0 0 1px rgba(15, 42, 68, .15); animation: pop .35s var(--spring); }
.evidence { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.evidence div { padding: 10px 12px; border-radius: 14px; background: var(--sky-1); }
.evidence dt { font-size: 13px; font-weight: 800; color: var(--muted); }
.evidence dd { margin: 0; font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1.1; }
.evidence small { font-size: 15px; color: var(--muted); }
.game__body { min-height: 0; overflow-y: auto; padding: 30px 40px 40px; scrollbar-width: thin; }
.game__stage { max-width: 1040px; margin: 0 auto; animation: stageIn .5s var(--ease) both; }
.game__foot { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--surface); border-top: 2px solid var(--line); }
.game__foot .btn--fire { margin-left: auto; }
.game__warn { flex: 1; text-align: center; color: var(--red); font-weight: 800; font-size: 15px; }
.game__warn:empty { visibility: hidden; }

.stage-head { display: flex; gap: 16px; align-items: center; margin-bottom: 22px; }
.stage-head__n { flex: none; width: 60px; height: 60px; border-radius: 20px; display: grid; place-items: center; background: var(--sun); font-family: var(--display); font-weight: 800; font-size: 26px; box-shadow: 0 4px 0 #d9a21a; transform: rotate(-4deg); }
.stage-head__kicker { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.stage-head h3 { font-size: 32px; }
.stage-head p { color: var(--muted); font-weight: 600; font-size: 17px; }

.scene { position: relative; padding: 28px 28px 24px; border-radius: 22px; background: var(--surface); border: 2px solid var(--line); box-shadow: var(--shadow); margin-bottom: 18px; }
.scene__tape { position: absolute; top: -13px; left: 22px; padding: 3px 14px; border-radius: 6px; background: repeating-linear-gradient(-45deg, var(--sun) 0 12px, #ffe58f 12px 24px); font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: .1em; transform: rotate(-2deg); }
.scene__story { font-size: 20px; line-height: 1.6; font-weight: 600; }
.clues { margin-bottom: 18px; }
.clues ul { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.clues li { display: flex; gap: 10px; align-items: flex-start; min-height: 74px; padding: 12px; border-radius: 16px; border: 2px dashed var(--line-2); background: var(--surface-2); }
.clues li.is-open { border-style: solid; border-color: #ffd98a; background: var(--sun-soft); animation: flipIn .5s var(--spring); }
.clue__n { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); font-family: var(--display); font-weight: 800; font-size: 14px; color: var(--blue-deep); }
.clues li p { font-weight: 700; font-size: 15.5px; line-height: 1.4; }
.clues li button { align-self: center; padding: 8px 14px; border-radius: 999px; border: 2px solid var(--sky-4); background: var(--surface); color: var(--blue-deep); font-family: var(--display); font-weight: 800; font-size: 15px; }
.clues li button:not(:disabled):hover { background: var(--sky-1); }
.clues li button:disabled { border-color: var(--line); color: var(--dim); cursor: default; }

.char-tabs { display: flex; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.char-tabs button {
  flex: 1 1 220px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 18px; text-align: left;
  border: 2px solid var(--line-2); background: var(--surface); transition: border-color .2s, background .2s, transform .25s var(--spring);
}
.char-tabs button:hover { transform: translateY(-2px); }
.char-tabs button.is-on { border-color: var(--sky-4); background: var(--sky-1); box-shadow: 0 0 0 4px rgba(56, 174, 240, .18); }
.char-tabs b { display: block; font-family: var(--display); font-size: 18px; line-height: 1.1; }
.char-tabs small { display: block; color: var(--muted); font-size: 13px; font-weight: 600; }
.char-tabs em { margin-left: auto; min-width: 34px; padding: 2px 8px; border-radius: 999px; background: var(--sky-1); color: var(--muted); font-style: normal; font-weight: 800; text-align: center; }
.char-tabs em.has { background: var(--green-soft); color: var(--green); }

.emo-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.emo {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 4px 10px; border: 0; border-radius: 18px;
  background: var(--c); color: #1d1410; font-family: var(--display); font-weight: 800; font-size: 14px; line-height: 1.1; text-align: center;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 78%, white), var(--c) 46%, color-mix(in srgb, var(--c) 88%, black));
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .55), inset 0 2px 0 rgba(255, 255, 255, .6), 0 4px 0 color-mix(in srgb, var(--c) 62%, #000), 0 10px 16px -10px rgba(0, 0, 0, .45);
  transition: transform .3s var(--spring), box-shadow .2s;
}
.emo:active { transform: translateY(3px) scale(.97); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .55), inset 0 4px 8px rgba(0, 0, 0, .2), 0 1px 0 color-mix(in srgb, var(--c) 62%, #000); }
.emo svg { width: 50px; height: 50px; }
.emo:hover { transform: translateY(-5px) rotate(-3deg); }
.emo.is-on { transform: translateY(2px); box-shadow: inset 0 0 0 3px #fff, inset 0 5px 10px rgba(0, 0, 0, .22), 0 0 0 4px var(--ink), 0 1px 0 color-mix(in srgb, var(--c) 62%, #000); }
.emo.is-on .face { animation: facePop .45s var(--spring); }
.emo.is-sug::before { content: ""; position: absolute; inset: -7px; border-radius: 22px; border: 3px dashed var(--blue); pointer-events: none; }
.emo__tick { position: absolute; top: -8px; right: -8px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; animation: pop .3s var(--spring); }
.hint-line { margin-top: 16px; color: var(--muted); font-weight: 700; font-size: 15px; text-align: center; }
.peek { margin-top: 16px; display: flex; justify-content: center; }
.peek p { max-width: 70ch; padding: 12px 16px; border-radius: 14px; background: var(--sky-1); color: var(--ink); font-weight: 600; font-size: 15px; text-align: center; }

.chosen { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 14px; font-weight: 800; }
.chosen i, .chain__emos i { font-style: normal; padding: 3px 10px; border-radius: 999px; font-size: 14px; font-weight: 800; color: #1d1410; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6); }
.qcard { padding: 22px; border-radius: 22px; background: var(--surface); border: 2px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 18px; }
.qcard__head { justify-self: start; padding: 4px 14px; border-radius: 999px; background: var(--blue); color: #fff; font-family: var(--display); font-weight: 800; font-size: 15px; }
.q { display: grid; gap: 8px; }
.q label { display: flex; gap: 10px; align-items: center; font-family: var(--display); font-weight: 700; font-size: 19px; line-height: 1.25; }
.q__n { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); font-weight: 800; }
.q textarea { width: 100%; padding: 12px 16px; border-radius: var(--r-sm); border: 2px solid var(--line-2); background: var(--surface-2); font-size: 17px; transition: border-color .2s, box-shadow .2s, background .2s; }
.q textarea:focus { background: var(--surface); }
.q__hint { padding: 10px 14px; border-radius: 12px; background: var(--sun-soft); font-weight: 600; font-size: 15px; animation: rise .35s var(--ease); }
.q__more { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 0; border-radius: 999px; background: none; color: var(--blue); font-weight: 800; font-size: 14px; }
.q__more:hover { background: var(--sky-1); }
.next-char { margin-top: 16px; }

.sol-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.sol-col { display: grid; gap: 12px; }
.sol-col__head { font-family: var(--display); font-weight: 800; font-size: 17px; padding-bottom: 6px; border-bottom: 3px solid currentColor; filter: brightness(.82); }
.sol__card {
  width: 100%; display: flex; flex-direction: column; padding: 0; text-align: left; border-radius: 16px; overflow: hidden;
  border: 2px solid var(--line); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .3s var(--spring), box-shadow .25s, border-color .2s;
}
.sol__card:hover { transform: translateY(-3px); border-color: var(--c); }
.sol.is-on .sol__card { border-color: var(--c); box-shadow: 0 0 0 3px var(--c), 0 14px 24px -14px rgba(15, 42, 68, .6); transform: translateY(-3px); }
.sol.is-tip .sol__card { outline: 3px dashed var(--blue); outline-offset: 3px; }
.sol__type { padding: 6px 14px; background: var(--c); color: var(--tink, #0f2a44); font-family: var(--display); font-weight: 800; font-size: 14px; }
.sol__type i { font-style: normal; }
.sol__text { padding: 12px 14px 8px; font-weight: 700; font-size: 16px; line-height: 1.4; }
.sol__text u { text-decoration: none; border-bottom: 3px solid var(--c); padding: 0 2px; }
.sol__foot { display: flex; justify-content: space-between; align-items: center; padding: 6px 14px 9px; font-size: 13px; font-weight: 700; color: var(--muted); border-top: 2px dashed var(--line); }
.sol__foot svg { color: var(--green); }
.sol__fill { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 2px 2px; animation: rise .3s var(--ease); }
.sol__fill button { padding: 6px 12px; border-radius: 999px; border: 2px solid var(--line-2); background: var(--surface); font-weight: 700; font-size: 14px; }
.sol__fill button.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.sol__fill input { flex: 1 1 100%; padding: 8px 12px; font-size: 15px; }

.summary { margin-top: 28px; display: grid; gap: 12px; }
.sum-quote { padding: 16px 18px; border-radius: 16px; background: var(--surface); border-left: 5px solid var(--sun); font-weight: 600; font-style: italic; }
.chains { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.chain { padding: 16px; border-radius: 18px; background: var(--surface); border: 2px solid var(--line); display: grid; gap: 10px; }
.chain__who { display: flex; gap: 10px; align-items: center; }
.chain__who b { display: block; font-family: var(--display); font-size: 18px; }
.chain__who small { color: var(--muted); font-weight: 600; }
.chain__row { display: grid; grid-template-columns: 80px 1fr; gap: 10px; align-items: start; }
.chain__k { font-family: var(--display); font-weight: 800; font-size: 13px; color: var(--blue); text-transform: uppercase; letter-spacing: .04em; padding-top: 2px; }
.chain__emos { display: flex; flex-wrap: wrap; gap: 4px; }
.chain__row em { color: var(--dim); }
.sum-sols { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.sum-sol { padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 2px solid var(--c); }
.sum-sol small { font-family: var(--display); font-weight: 800; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.sum-sol p { font-weight: 700; }
.sum-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.note { padding: 18px; border-radius: 18px; background: var(--sky-1); }
.note--q { background: var(--sun-soft); }
.note p:not(.mini-label) { font-weight: 600; }

.confirm { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; padding: 20px; background: rgba(15, 42, 68, .45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: fade .2s both; }
.confirm__box { width: min(480px, 100%); padding: 26px; border-radius: 26px; background: var(--surface); box-shadow: var(--shadow-lg); display: grid; gap: 12px; animation: pop .4s var(--spring) both; }
.confirm__box h3 { font-size: 26px; }
.confirm__box > p { color: var(--muted); font-weight: 600; }
.confirm__sum { display: grid; gap: 4px; padding: 12px 14px; border-radius: 14px; background: var(--sky-1); font-size: 15px; }
.confirm__btns { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }

.mp-timer { display: grid; justify-items: center; padding: 4px 14px; border-radius: 14px; background: var(--sky-1); border: 2px solid var(--line); line-height: 1.1; }
.mp-timer small { font-size: 11px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.mp-timer b { font-family: var(--display); font-weight: 800; font-size: 24px; font-variant-numeric: tabular-nums; }
.mp-timer.is-low { background: var(--red-soft); border-color: #ffb3a8; color: var(--red); animation: pulse 1.2s ease-in-out infinite; }
.mp-timer.is-wide { padding: 10px 26px; border-radius: 20px; }
.mp-timer.is-wide b { font-size: 40px; }

/* ───────── Rapor ───────── */
.report { display: grid; gap: 18px; }
.report--loading { justify-items: center; text-align: center; padding: 40px 16px; gap: 10px; }
.report--loading h3 { font-size: 28px; }
.scan { position: relative; display: grid; place-items: center; width: 180px; height: 180px; border-radius: 50%; background: var(--sky-1); margin-bottom: 6px; }
.scan > svg { margin-top: 20px; }
.orb { position: absolute; right: -14px; top: -8px; width: 64px; height: 64px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow); }
.report__status { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--blue-deep); }
.report__kicker { font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.report__muted { color: var(--muted); font-weight: 600; max-width: 50ch; }
.report__head { position: relative; display: grid; grid-template-columns: 220px 1fr; gap: 22px 28px; padding: 24px; border-radius: 24px; border: 2px solid transparent; box-shadow: var(--shadow);
  background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(135deg, rgba(255, 201, 60, .75), rgba(56, 174, 240, .35) 50%, rgba(214, 232, 246, .6)) border-box; }
.gauge { position: relative; width: 220px; height: 220px; }
.gauge svg { width: 100%; height: 100%; }
.gauge__track { fill: none; stroke: var(--sky-1); stroke-width: 18; }
.gauge__tick { stroke: var(--line-2); stroke-width: 2; }
.gauge__fill { fill: none; stroke: url(#gaugeGrad); stroke-width: 18; stroke-linecap: round; }
.gauge__val { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.gauge__val b { font-family: var(--display); font-weight: 800; font-size: 68px; line-height: .9; }
.gauge__val span { font-weight: 800; color: var(--muted); }
.report__intro { display: grid; gap: 8px; align-content: start; justify-items: start; }
.report__intro h3 { font-size: 32px; }
.source { padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.source--ai { background: var(--sky-1); color: var(--blue-deep); }
.source--fb { background: var(--sun-soft); color: #7a4b00; }
.report__explain { font-weight: 600; font-size: 17px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.report__explain.is-open { display: block; -webkit-line-clamp: unset; }
.report__more { font-size: 15px; }
.report__notes { padding-left: 20px; color: var(--muted); font-size: 15px; }
.cats { grid-column: 1 / -1; list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.cats li { padding: 12px; border-radius: 16px; background: var(--surface-2); display: grid; gap: 8px; }
.cats li div { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; }
.cats span { font-weight: 700; font-size: 14px; line-height: 1.2; }
.cats b { font-family: var(--display); font-weight: 800; font-size: 22px; }
.cats small { font-size: 13px; color: var(--muted); }
.cats i { display: block; height: 10px; border-radius: 999px; background: var(--sky-1); overflow: hidden; }
.cats em { display: block; width: var(--w); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--sky-4), var(--orange)); transform-origin: left; animation: growX 1s var(--ease) both; animation-delay: var(--d); }
.report__grid { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 14px; }
.rcard { padding: 18px; border-radius: 20px; background: var(--surface); border: 2px solid var(--line); }
.rcard ul { padding-left: 18px; display: grid; gap: 6px; font-weight: 600; }
.rcard--good { background: var(--green-soft); border-color: #b7e8cd; }
.rcard--tip { background: var(--sun-soft); border-color: #ffe08a; }
.rcard--msg { display: flex; gap: 12px; align-items: flex-start; background: var(--sky-1); border-color: var(--line-2); }
.rcard--msg svg { flex: none; }
.rcard--msg p:not(.mini-label) { font-weight: 600; }
.char-notes { padding: 18px; border-radius: 20px; background: var(--surface); border: 2px solid var(--line); }
.char-notes ul { list-style: none; display: grid; gap: 8px; }
.char-notes li { display: grid; grid-template-columns: 120px 1fr; gap: 10px; }
.char-notes b { font-family: var(--display); }
.report__disclaimer { text-align: center; color: var(--muted); font-weight: 700; font-size: 14px; }

/* ───────── Maskot tepkileri ───────── */
.mascot .m-root, .mascot .m-hat, .mascot .m-lens, .mascot .m-lid, .mascot .m-fx, .mascot .m-brain { transform-box: fill-box; }
.mascot .m-root { transform-origin: 50% 100%; }
.mascot .m-hat { transform-origin: 30% 100%; }
.mascot .m-lens { transform-origin: 85% 95%; }
.mascot .m-eye { transition: transform .25s var(--ease); }
.mascot .m-lid { transform-origin: 50% 0; transform: scaleY(0); animation: blink 5.5s infinite; }
.mascot .m-fx { opacity: 0; transform-origin: 50% 50%; }
.mascot.is-hop .m-root { animation: hop .7s var(--spring); }
.mascot.is-nod .m-root { animation: nod .6s var(--ease); }
.mascot.is-tip .m-hat { animation: hatTip .8s var(--spring); }
.mascot.is-cheer .m-root { animation: hop .55s var(--spring) 2; }
.mascot.is-cheer .m-hat { animation: hatTip .9s var(--spring); }
.mascot.is-cheer .m-fx { animation: fxPop 1s var(--spring) both; }
.mascot.is-think .m-lens { animation: lensThink 2.4s ease-in-out infinite; }
.mascot.is-think .m-eye { animation: eyeThink 2.4s ease-in-out infinite; }
.mascot.is-think .m-brain { animation: brainPulse 1.2s ease-in-out infinite; transform-origin: 50% 60%; }

/* Oyun içi yardımcı maskot ("buddy") ve kısa tepki balonu */
.buddy { position: relative; display: flex; align-items: flex-end; gap: 6px; }
.buddy__m { width: 54px; flex: none; }
.buddy__m svg { width: 54px; height: auto; display: block; }
.buddy__say { position: relative; padding: 6px 12px; border-radius: 14px 14px 14px 4px; background: var(--surface); border: 2px solid var(--line); font-family: var(--display); font-weight: 800; font-size: 15px; white-space: nowrap; opacity: 0; transform: translateY(6px) scale(.9); transition: opacity .25s, transform .35s var(--spring); }
.buddy__say.is-on { opacity: 1; transform: none; }

/* Ses düğmesi */
.topbar__right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.sound-btn { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--line-2); background: var(--surface); color: var(--blue-deep); box-shadow: 0 3px 0 var(--line); transition: transform .25s var(--spring), border-color .2s; }
.sound-btn:hover { transform: translateY(-1px); border-color: var(--sky-4); }
.sound-btn[aria-pressed="false"] .s-on, .sound-btn[aria-pressed="true"] .s-off { display: none; }
.sound-btn[aria-pressed="true"] { background: var(--sun-soft); border-color: #ffd98a; }

/* Kelime kelime başlık (staggered-word-reveal + masked-reveal, GSAP'sız) */
.wr-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.wr-word { display: inline-block; }
.wr-play .wr-word { animation: maskUp .8s var(--ease) both; animation-delay: calc(var(--wi) * 70ms + 80ms); }
/* Kaydırınca beliren içerik (animation-on-scroll) */
.rv { opacity: 0; translate: 0 18px; transition: opacity .55s var(--ease), translate .6s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.rv.rv-in { opacity: 1; translate: 0 0; }

/* Zaman çizelgesi (scroll-progress-timeline): yatayda görünür olunca, dikeyde kaydırdıkça dolar */
.timeline { position: relative; --tl: 0; }
.timeline__base, .timeline__fill { position: absolute; left: 12%; right: 12%; top: -2px; height: 6px; border-radius: 6px; }
.timeline__base { background: var(--sky-2); }
.timeline__fill { background: linear-gradient(90deg, var(--sky-4), var(--sun)); transform-origin: left; transform: scaleX(var(--tl)); transition: transform .9s var(--ease); }
.step__n { transition: background .3s, transform .4s var(--spring); }
.step.is-reached .step__n { background: var(--sun); transform: scale(1.12); }
.step:not(.is-reached) .step__n { background: var(--surface); box-shadow: 0 0 0 3px var(--sky-2); }
.timeline .steps { position: relative; }

/* Bölüm geçişleri (View Transitions API varsa) */
::view-transition-old(root) { animation: vtOut .22s ease-in both; }
::view-transition-new(root) { animation: vtIn .42s var(--ease) both; }
[data-vt-dir="back"]::view-transition-new(root) { animation-name: vtInBack; }
.topbar { view-transition-name: topbar; }

/* Konfeti ve pırıltı */
.fx-confetti { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 400; pointer-events: none; }
.fx-burst { position: fixed; z-index: 400; width: 0; height: 0; pointer-events: none; }
.fx-burst i { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 2px; box-shadow: 0 0 0 1.5px #1e1b1b; animation: burstOut .6s var(--ease) both; }

/* ───────── Ödül: rozet ve yıldızlar ───────── */
.reward { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; padding: 12px 16px; border-radius: 20px; background: linear-gradient(120deg, var(--sun-soft), #fff 60%, var(--sky-1)); }
.badge-medal { position: relative; width: 76px; height: 76px; flex: none; animation: medalIn .8s var(--spring) both .4s; }
.badge-medal svg { width: 100%; height: 100%; }
.reward__txt b { display: block; font-family: var(--display); font-size: 24px; line-height: 1.1; }
.reward__txt small { color: var(--muted); font-weight: 700; }
.stars { display: flex; gap: 4px; }
.stars svg { width: 40px; height: 40px; }
.stars .st { animation: starIn .55s var(--spring) both; animation-delay: calc(.6s + var(--k) * .22s); }
.stars .st--off { opacity: .35; animation: none; }

/* ───────── Hareketler ───────── */
@keyframes cloudDrift { from { transform: translate3d(-30px, 0, 0) scale(1); } to { transform: translate3d(60px, -14px, 0) scale(1.08); } }
@keyframes maskUp { from { transform: translateY(105%); } }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.82) rotate(12deg); opacity: .7; } }
@keyframes wiggleCard { 0% { transform: scale(1); } 30% { transform: scale(1.15) rotate(-10deg); } 60% { transform: scale(1.05) rotate(8deg); } 100% { transform: scale(1); } }
@keyframes facePop { 0% { transform: scale(1); } 40% { transform: scale(1.18) rotate(-6deg); } 100% { transform: scale(1); } }
@keyframes blink { 0%, 93%, 100% { transform: scaleY(0); } 95.5% { transform: scaleY(1); } }
@keyframes hop { 0% { transform: translateY(0) scale(1, 1); } 25% { transform: translateY(0) scale(1.06, .92); } 55% { transform: translateY(-16%) scale(.96, 1.05); } 80% { transform: translateY(0) scale(1.04, .96); } 100% { transform: none; } }
@keyframes nod { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-5deg); } 65% { transform: rotate(4deg); } }
@keyframes hatTip { 0%, 100% { transform: none; } 35% { transform: translateY(-18%) rotate(-14deg); } 70% { transform: translateY(-6%) rotate(6deg); } }
@keyframes fxPop { 0% { opacity: 0; transform: scale(.4); } 30% { opacity: 1; transform: scale(1.1); } 75% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.05); } }
@keyframes lensThink { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-8deg) translateY(-3%); } 60% { transform: rotate(6deg); } }
@keyframes eyeThink { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(-5px, -5px); } 60% { transform: translate(6px, -3px); } }
@keyframes brainPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.025); } }
@keyframes vtOut { to { opacity: 0; transform: translateY(-10px) scale(.99); } }
@keyframes vtIn { from { opacity: 0; transform: translateX(24px); } }
@keyframes vtInBack { from { opacity: 0; transform: translateX(-24px); } }
@keyframes burstOut { from { transform: rotate(var(--a)) translateX(0) scale(.4); opacity: 1; } to { transform: rotate(var(--a)) translateX(var(--d)) scale(1) rotate(90deg); opacity: 0; } }
@keyframes medalIn { from { opacity: 0; transform: scale(.2) rotate(-40deg); } }
@keyframes starIn { 0% { opacity: 0; transform: scale(.2) rotate(-60deg); } 70% { opacity: 1; transform: scale(1.25) rotate(8deg); } 100% { transform: none; } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.92); } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes viewIn { from { opacity: 0; } }
@keyframes viewOut { to { opacity: 0; transform: translateY(-8px); } }
@keyframes stageIn { from { opacity: 0; transform: translateX(18px); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); } 50% { transform: translateY(-12px) rotate(calc(var(--rot, 0deg) * -.5)); } }
@keyframes drift { from { translate: -20px 0; } to { translate: 20px 0; } }
@keyframes grow { to { transform: skew(-12deg) scaleX(1); } }
@keyframes growY { from { transform: scaleY(0); } }
@keyframes growX { from { transform: scaleX(0); } }
@keyframes nudge { to { transform: translateX(4px); } }
@keyframes wiggle { 0%, 80%, 100% { transform: rotate(0); } 85% { transform: rotate(-10deg); } 90% { transform: rotate(8deg); } 95% { transform: rotate(-4deg); } }
@keyframes flipIn { from { opacity: 0; transform: rotateX(70deg); } }
@keyframes scan { 0% { top: -40px; } 100% { top: 100%; } }
@keyframes slide { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }
@keyframes stamp { from { opacity: 0; transform: rotate(-6deg) scale(2); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
