/* Yazı tipleri kendi sunucumuzdan (SIL Open Font License) — Google Fonts'a istek gitmez */
@font-face { font-family: "Gabarito"; font-style: normal; font-display: swap; font-weight: 400 900; src: url(/fonts/gabarito-latin-ext-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Gabarito"; font-style: normal; font-display: swap; font-weight: 400 900; src: url(/fonts/gabarito-latin-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/fonts/inter-latin-ext-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/fonts/inter-latin-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* istatistic.fun — tasarım sistemi (DiceBear tarzı: sıcak kâğıt, lacivert mürekkep, pastel bloklar, çıkartmalar) */
:root {
  --paper: #FFFDF9;
  --panel: #FFFFFF;
  --soft: #F7F1E6;
  --line: #ECE4D5;
  --ink: #15213B;
  --ink-2: #3B4662;
  --muted: #5E6880;
  --on: #15213B;            /* pastel blokların üstündeki yazı her temada lacivert */
  --wash: rgb(21 33 59 / .07);
  --wash-2: rgb(21 33 59 / .12);
  --sun: #FFD23F;
  --coral: #FF8A6B;
  --sky: #A8DEFF;
  --lilac: #CDBFFD;
  --mint: #9FE5C1;
  --o0: #FF8A6B; --o1: #8F7CF7; --o2: #FFD23F; --o3: #4FCB95;   /* cevap renkleri */
  --checker-a: #F9F5EE; --checker-b: #F1EBE1;
  --shadow: 0 22px 36px -22px rgb(21 33 59 / .5);
  --shadow-pop: 0 24px 48px -24px rgb(21 33 59 / .35), 0 2px 8px rgb(21 33 59 / .08);
  --r-card: 28px;
  --r-tile: clamp(22px, 3vw, 36px);
  --r-block: clamp(28px, 4vw, 56px);
  --display: "Gabarito", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  color-scheme: light;
}
[data-theme="dark"] {
  --paper: #0E1526;
  --panel: #161F35;
  --soft: #1B2540;
  --line: #27324F;
  --ink: #F6F2EA;
  --ink-2: #C9CEDB;
  --muted: #8E97AE;
  --wash: rgb(246 242 234 / .07);
  --wash-2: rgb(246 242 234 / .13);
  --checker-a: #1A2440; --checker-b: #202B4A;
  --shadow: 0 22px 36px -22px rgb(0 0 0 / .7);
  --shadow-pop: 0 24px 48px -24px rgb(0 0 0 / .6), 0 2px 8px rgb(0 0 0 / .3);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.55; overflow-x: hidden; transition: background .3s, color .3s; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.03em; line-height: 1; margin: 0; }
.fine { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.center { text-align: center; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: 999px; background: var(--wash); font-family: var(--display); font-weight: 600; font-size: 14px; }
.chip.sun { background: var(--sun); color: var(--on); }

/* ---------- Başlık çubuğu ---------- */
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(12px); }
.top-in { max-width: var(--wrap); margin: 0 auto; height: 72px; padding: 0 24px; display: flex; align-items: center; gap: 14px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 23px; letter-spacing: -.02em; }
.logo b { font-weight: 700; color: var(--muted); }
.logo-mark { width: 30px; height: 30px; }
.logo-mark rect { fill: var(--ink); }
.logo-mark path { stroke: var(--sun); stroke-width: 3.4; stroke-linecap: round; fill: none; }
.issue { padding: 7px 13px; border-radius: 999px; background: var(--wash); font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.nav { margin-left: auto; display: flex; gap: 4px; }
.nav a { font-family: var(--display); font-weight: 600; font-size: 18px; text-decoration: none; padding: 8px 14px; border-radius: 999px; }
.nav a:hover { background: var(--wash); }
.nav a.on { background: var(--ink); color: var(--paper); }
.theme { width: 62px; height: 38px; border-radius: 999px; border: 0; background: var(--wash-2); padding: 4px; position: relative; }
.theme span { position: absolute; top: 4px; left: 4px; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); transition: transform .3s cubic-bezier(.3,1.4,.5,1);
  background-image: radial-gradient(circle at 50% 50%, var(--sun) 0 5px, transparent 5.5px); }
[data-theme="dark"] .theme span { transform: translateX(24px); background-image: radial-gradient(circle at 62% 38%, transparent 0 6px, var(--sun) 6.5px 8px, transparent 8.5px); }
.streak { padding: 8px 13px; border-radius: 999px; background: var(--wash); font-family: var(--display); font-weight: 700; font-size: 15px; white-space: nowrap; }
.me-btn { height: 44px; border-radius: 999px; border: 0; background: var(--ink); color: var(--paper); font-family: var(--display); font-weight: 700; font-size: 16px; padding: 0 20px; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.me-btn.in { background: var(--wash-2); color: var(--ink); padding: 0 16px 0 4px; }
.me-btn img { width: 36px; height: 36px; border-radius: 50%; background: var(--panel); }

main { max-width: var(--wrap); margin: 0 auto; padding: 8px 24px 40px; overflow-x: clip; }
.view { animation: rise .5s cubic-bezier(.2,.8,.2,1); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

/* ---------- Çıkartmalar ---------- */
.sticker { background: var(--panel); border-radius: 28%; padding: 7%; box-shadow: var(--shadow); }
.sticker > .inner { border-radius: 22%; overflow: hidden; background: repeating-conic-gradient(var(--checker-b) 0 25%, var(--checker-a) 0 50%) 0 0 / 18px 18px; }
.sticker img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Kahraman: günün sorusu ---------- */
.hero { text-align: center; padding: 26px 0 56px; position: relative; }
.hero::before { content: ""; position: absolute; inset: -8px -40px 0; z-index: -1; background: radial-gradient(var(--wash-2) 1px, transparent 1.5px) 0 0 / 22px 22px; -webkit-mask: radial-gradient(ellipse 60% 70% at 50% 35%, #000 30%, transparent 75%); mask: radial-gradient(ellipse 60% 70% at 50% 35%, #000 30%, transparent 75%); }
.fan { list-style: none; margin: 0 auto 28px; padding: 18px 0 22px; display: flex; justify-content: center; align-items: center; }
.fan li { margin: 0 -14px; transition: transform .4s cubic-bezier(.3,1.4,.5,1); animation: pop .6s cubic-bezier(.3,1.5,.5,1) backwards; }
.fan li:nth-child(1) { width: 78px; transform: rotate(-12deg) translateY(14px); animation-delay: .05s; }
.fan li:nth-child(2) { width: 98px; transform: rotate(-6deg) translateY(4px); z-index: 1; animation-delay: .1s; }
.fan li:nth-child(3) { width: 210px; transform: rotate(-2deg); z-index: 3; animation-delay: 0s; }
.fan li:nth-child(4) { width: 98px; transform: rotate(7deg) translateY(4px); z-index: 1; animation-delay: .15s; }
.fan li:nth-child(5) { width: 78px; transform: rotate(13deg) translateY(14px); animation-delay: .2s; }
.fan li:hover { transform: rotate(0) translateY(-6px) scale(1.04); z-index: 5; }
.fan li .inner { aspect-ratio: 1; }
.fan li:nth-child(3) .sticker { border-radius: 18%; padding: 5%; }
.fan li:nth-child(3) .inner { border-radius: 14%; }
@keyframes pop { from { opacity: 0; transform: scale(.6) translateY(30px); } }
.fan.small { margin-bottom: 14px; padding: 0; }
.fan.small li:nth-child(n) { width: 64px; }
.fan.small li:nth-child(2) { width: 84px; }
.eyebrow { margin: 0 0 14px; }
.headline { font-weight: 800; font-size: clamp(42px, 7.4vw, 92px); letter-spacing: -.035em; line-height: .96; max-width: 13em; margin: 0 auto; text-wrap: balance; }
.voters { display: inline-flex; align-items: center; gap: 12px; margin: 22px auto 30px; color: var(--ink-2); font-size: 16px; flex-wrap: wrap; justify-content: center; }
.voters b { color: var(--ink); font-family: var(--display); font-size: 18px; }
.voter-stack { display: inline-flex; }
.voter-stack img { width: 36px; height: 36px; border-radius: 50%; background: var(--soft); border: 3px solid var(--paper); margin-left: -10px; }
.voter-stack img:first-child { margin-left: 0; }
.credit { color: var(--muted); font-size: 14px; }
.credit a { color: var(--muted); }

.options { display: grid; gap: 12px; max-width: 620px; margin: 0 auto; }
.opt { --c: var(--o0); position: relative; display: flex; align-items: center; gap: 16px; width: 100%; text-align: left; padding: 12px 14px 12px 12px; min-height: 66px;
  background: var(--panel); border: 2px solid var(--ink); border-radius: 999px; font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: -.01em;
  transition: transform .15s, box-shadow .2s, background .2s; animation: pop .5s cubic-bezier(.3,1.4,.5,1) backwards; }
.opt:nth-child(2) { --c: var(--o1); animation-delay: .05s; } .opt:nth-child(3) { --c: var(--o2); animation-delay: .1s; } .opt:nth-child(4) { --c: var(--o3); animation-delay: .15s; }
.opt .box { width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--c); display: grid; place-items: center; color: var(--on); font-size: 17px; font-weight: 800; }
.opt .box::after { content: attr(data-l); }
.opt .letter { display: none; }
.opt:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.opt.picked { background: var(--c); color: var(--on); }
.opt.picked .box { background: var(--on); color: var(--c); }
.opt.picked .box::after { content: "✓"; }
.opt:disabled { cursor: default; }
.stamp { position: absolute; right: 16px; top: 50%; transform: translateY(-50%) rotate(-6deg); background: var(--ink); color: var(--paper); font-family: var(--display); font-weight: 700; font-size: 14px; padding: 6px 12px; border-radius: 999px; animation: popIn .4s cubic-bezier(.3,1.6,.5,1); }
@keyframes popIn { from { transform: translateY(-50%) scale(.3) rotate(-30deg); opacity: 0; } }
.hint { color: var(--muted); font-size: 14px; margin: 18px 0 0; }

/* Tahmin */
.predict { max-width: 620px; margin: 0 auto; }
.predict-q { font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.25; letter-spacing: -.015em; margin: 0; }
.predict-q mark { background: var(--c, var(--sun)); color: var(--on); padding: 1px 12px; border-radius: 999px; }
.predict-num { font-family: var(--display); font-weight: 900; font-size: clamp(96px, 16vw, 150px); line-height: 1; letter-spacing: -.05em; margin: 14px 0 6px; font-variant-numeric: tabular-nums; }
.predict-num small { font-size: .42em; color: var(--muted); font-weight: 700; margin-right: 4px; vertical-align: .6em; }
.ruler-wrap { position: relative; padding-bottom: 34px; }
.ruler { position: absolute; left: 18px; right: 18px; top: 46px; height: 24px; pointer-events: none; }
.ruler span { position: absolute; top: 0; transform: translateX(-50%); font-size: 12px; font-weight: 600; color: var(--muted); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 40px; background: transparent; margin: 0; }
input[type=range]::-webkit-slider-runnable-track { height: 16px; border-radius: 999px; background: linear-gradient(90deg, var(--fill, var(--sun)) var(--p, 50%), var(--wash-2) var(--p, 50%)); }
input[type=range]::-moz-range-track { height: 16px; border-radius: 999px; background: var(--wash-2); }
input[type=range]::-moz-range-progress { height: 16px; border-radius: 999px; background: var(--fill, var(--sun)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 36px; height: 36px; margin-top: -10px; border-radius: 50%; background: var(--panel); border: 3px solid var(--ink); box-shadow: var(--shadow); cursor: grab; }
input[type=range]::-moz-range-thumb { width: 32px; height: 32px; border-radius: 50%; background: var(--panel); border: 3px solid var(--ink); cursor: grab; }
.profile { text-align: left; margin: 10px 0 0; background: var(--soft); border-radius: 22px; padding: 14px 18px; }
.profile summary { cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 17px; }
.profile summary small { font-family: var(--body); font-weight: 400; font-size: 13px; color: var(--muted); }
.profile-grid { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 10px; margin-top: 12px; }
.profile label { display: grid; gap: 5px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
select, .inp { font: inherit; font-size: 16px; padding: 12px 14px; border: 2px solid var(--line); border-radius: 16px; background: var(--panel); color: var(--ink); width: 100%; outline: none; transition: border-color .2s; }
select:focus, .inp:focus { border-color: var(--ink); }

/* Butonlar */
.btn-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.btn { height: 52px; padding: 0 28px; border-radius: 999px; border: 0; font-family: var(--display); font-weight: 700; font-size: 18px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; transition: transform .15s, background .2s; background: var(--wash-2); color: var(--ink); white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn.dark { background: var(--ink); color: var(--paper); }
.btn.sun { background: var(--sun); color: var(--on); }
.btn.soft { background: var(--wash-2); }
.btn.on-block { background: rgb(21 33 59 / .1); color: var(--on); }
.btn.wide { width: 100%; }
.btn:disabled { opacity: .55; pointer-events: none; }
.link-arrow { font-family: var(--display); font-weight: 700; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }

/* ---------- Bloklar ---------- */
.block { border-radius: var(--r-block); padding: clamp(28px, 4.5vw, 60px); margin: 22px 0; background: var(--soft); position: relative; }
.block.sun { background: var(--sun); color: var(--on); }
.block.lilac { background: var(--lilac); color: var(--on); }
.block.mint { background: var(--mint); color: var(--on); }
.block.sky { background: var(--sky); color: var(--on); }
.block.plain { background: transparent; padding-left: 0; padding-right: 0; }
.block-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 26px; flex-wrap: wrap; }
.block-head h2 { font-weight: 800; font-size: clamp(34px, 5vw, 58px); }
.block-head p { margin: 8px 0 0; font-size: 17px; opacity: .8; }
.grid-2 { display: grid; grid-template-columns: 1.05fr 1fr; gap: 16px; align-items: start; }
.panel { background: var(--panel); color: var(--ink); border-radius: var(--r-card); padding: 28px; }
.panel h3 { font-size: 22px; letter-spacing: -.02em; margin-bottom: 16px; }

/* Hüküm */
.verdict { display: grid; grid-template-columns: auto 1fr; gap: 14px 40px; align-items: center; }
.verdict .huge { font-family: var(--display); font-weight: 900; font-size: clamp(100px, 17vw, 210px); line-height: .82; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.verdict .huge small { font-size: .38em; vertical-align: .95em; margin-right: 6px; opacity: .6; }
.verdict h2 { font-weight: 800; font-size: clamp(36px, 5.4vw, 64px); margin-bottom: 12px; }
.verdict p { margin: 0; font-size: 18px; max-width: 30em; }
.verdict .kicker { font-family: var(--display); font-weight: 700; font-size: 15px; margin: 0 0 10px; opacity: .7; }
.note { position: absolute; top: 26px; right: 30px; background: var(--panel); color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 15px; padding: 7px 14px; border-radius: 999px; transform: rotate(5deg); box-shadow: var(--shadow); }

/* Bento kutucuklar */
.bento { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-auto-rows: minmax(150px, auto); gap: 16px; }
.tile { border-radius: var(--r-tile); padding: 24px 26px; display: flex; flex-direction: column; justify-content: flex-end; color: var(--on); position: relative; overflow: hidden; }
.tile .v { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 5vw, 60px); letter-spacing: -.04em; line-height: 1; }
.tile .k { font-weight: 600; font-size: 15px; margin-top: 6px; }
.tile.big { grid-row: span 2; background: var(--panel); color: var(--ink); justify-content: space-between; }
.tile.big .v { font-size: clamp(76px, 10vw, 128px); }
.tile.big h3 { font-size: 30px; }
.tile.big p { color: var(--ink-2); margin: 8px 0 0; }
.tile.sun { background: var(--sun); } .tile.sky { background: var(--sky); } .tile.lilac { background: var(--lilac); } .tile.mint { background: var(--mint); } .tile.coral { background: var(--coral); }
.reacts { display: flex; gap: 8px; flex-wrap: wrap; }
.react { height: 46px; border: 0; background: var(--wash); border-radius: 999px; padding: 0 16px; font-size: 21px; display: inline-flex; align-items: center; gap: 8px; transition: transform .15s; }
.react small { font-family: var(--display); font-weight: 700; font-size: 14px; }
.react:hover { transform: translateY(-2px); }
.react.on { background: var(--ink); color: var(--paper); }
.react.burst { animation: burst .45s; }
@keyframes burst { 40% { transform: scale(1.25) rotate(-8deg); } }

/* Çubuk grafik */
.bars { display: grid; gap: 20px; }
.bar-row { --c: var(--o0); }
.bar-row:nth-child(2) { --c: var(--o1); } .bar-row:nth-child(3) { --c: var(--o2); } .bar-row:nth-child(4) { --c: var(--o3); }
.bar-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; font-weight: 600; font-size: 16.5px; }
.bar-head .pct { font-family: var(--display); font-weight: 800; font-size: 30px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.bar-track { height: 18px; border-radius: 999px; background: var(--wash); overflow: hidden; }
.bar-fill { height: 100%; width: 0; border-radius: 999px; background: var(--c); transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.bar-sub { font-size: 13px; color: var(--muted); margin-top: 6px; }
.you { display: inline-block; margin-left: 10px; background: var(--ink); color: var(--paper); font-family: var(--display); font-weight: 700; font-size: 12px; padding: 3px 10px; border-radius: 999px; vertical-align: 2px; }

/* Harita */
.map-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.map-filters .chip { border: 0; cursor: pointer; font-size: 13.5px; }
.map-filters .chip.on { background: var(--ink); color: var(--paper); }
.map-filters i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.map-wrap svg { width: 100%; height: auto; display: block; }
.map-wrap polygon { stroke: var(--panel); stroke-width: 2.2; stroke-linejoin: round; transition: fill .4s, fill-opacity .4s; }
.map-wrap g { cursor: pointer; }
.map-wrap g:hover polygon { stroke: var(--ink); }
.map-wrap .ghost { fill: var(--wash); }
.map-wrap text { font: 700 6.4px var(--body); fill: var(--on); pointer-events: none; opacity: .75; }
.map-wrap .ghost + text { fill: var(--muted); }
.tip { position: fixed; z-index: 60; pointer-events: none; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 16px; font-size: 13px; max-width: 240px; line-height: 1.5; box-shadow: var(--shadow-pop); }
.tip b { font-family: var(--display); font-size: 16px; }

/* Kırılımlar */
.seg-ctl { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--wash); max-width: 100%; overflow-x: auto; }
.seg-ctl button { border: 0; background: none; height: 40px; padding: 0 18px; border-radius: 999px; font-family: var(--display); font-weight: 700; font-size: 15.5px; white-space: nowrap; }
.seg-ctl button.on { background: var(--ink); color: var(--paper); }
.seg-ctl.full { display: flex; width: 100%; }
.seg-ctl.full button { flex: 1; padding: 0 6px; }
.tabs { margin-bottom: 16px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; color: var(--ink-2); margin-bottom: 14px; }
.legend i { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.stack-row { display: grid; grid-template-columns: 108px 1fr 46px; gap: 12px; align-items: center; margin-bottom: 9px; font-size: 14.5px; }
.stack-row .k { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stack-row .n { font-size: 12.5px; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.stack { display: flex; height: 24px; border-radius: 999px; overflow: hidden; background: var(--wash); gap: 2px; }
.stack span { height: 100%; flex-grow: 0; flex-basis: 0; transition: flex-grow 1s cubic-bezier(.2,.8,.2,1); font: 700 11px var(--display); color: var(--on); display: grid; place-items: center; overflow: hidden; white-space: nowrap; }
.stack.hidden-cell { display: grid; place-items: center; font-size: 12px; color: var(--muted); }
.notes { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; counter-reset: n; }
.notes li { counter-increment: n; background: var(--soft); border-radius: 20px; padding: 14px 16px 14px 56px; position: relative; font-size: 15px; }
.notes li::before { content: counter(n); position: absolute; left: 14px; top: 12px; width: 30px; height: 30px; border-radius: 50%; background: var(--sun); color: var(--on); font: 800 14px var(--display); display: grid; place-items: center; }
.empty { color: var(--muted); text-align: center; padding: 22px 0; }

/* Paylaş */
.share-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center; }
.share-grid h2 { font-weight: 800; font-size: clamp(36px, 5vw, 58px); margin-bottom: 12px; }
.share-grid p { margin: 0 0 22px; font-size: 17px; }
.share-grid .btn-row { justify-content: flex-start; margin: 0; }
.code { background: var(--panel); color: var(--ink); border-radius: var(--r-card); padding: 24px 26px; font: 500 14px/1.7 ui-monospace, "SF Mono", Consolas, monospace; white-space: pre-wrap; margin: 0; }
.countdown { margin-top: 24px; font-family: var(--display); font-weight: 600; font-size: 15px; opacity: .8; }
.countdown b { display: block; font-size: 46px; font-weight: 800; letter-spacing: -.02em; opacity: 1; font-variant-numeric: tabular-nums; margin-top: 2px; }

.cta { display: flex; align-items: center; gap: 22px; background: var(--panel); border: 2px solid var(--line); border-radius: var(--r-card); padding: 18px 22px; margin: 22px 0; }
.cta .sticker { width: 86px; flex: none; transform: rotate(-6deg); }
.cta h3 { font-size: 24px; margin-bottom: 4px; }
.cta p { margin: 0; color: var(--ink-2); }
.cta .btn { margin-left: auto; }

/* Hızlı tur */
.quick-dots { display: flex; gap: 8px; }
.quick-dots i { width: 14px; height: 14px; border-radius: 50%; background: rgb(21 33 59 / .15); }
.quick-dots i.maj { background: var(--on); }
.quick-dots i.min { background: var(--panel); box-shadow: inset 0 0 0 3px var(--on); }
.quick-dots i.cur { background: var(--panel); transform: scale(1.3); }
.vs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0; animation: rise .35s; }
.vs-btn { position: relative; overflow: hidden; border: 0; background: var(--panel); color: var(--ink); border-radius: var(--r-tile); min-height: 200px; padding: 28px 18px; font-family: var(--display); font-weight: 800; font-size: clamp(28px, 4.6vw, 50px); letter-spacing: -.03em; line-height: 1; transition: transform .2s; box-shadow: var(--shadow); }
.vs-btn:hover { transform: translateY(-4px) rotate(-1deg); }
.vs-btn:nth-of-type(2):hover { transform: translateY(-4px) rotate(1deg); }
.vs-btn > * { position: relative; z-index: 1; }
.vs-btn .fill { position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: var(--c); transition: height 1s cubic-bezier(.2,.8,.2,1); z-index: 0; }
.vs-btn .vp { display: block; font-size: .7em; margin-top: 10px; }
.vs-btn.light { color: var(--on); }
.vs-or { width: 64px; height: 64px; margin: 0 -14px; z-index: 2; border-radius: 50%; background: var(--on); color: var(--sun); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 17px; }
.vs.done .vs-btn { pointer-events: none; }
.vs.done .vs-btn.picked { box-shadow: 0 0 0 5px var(--on); }
.quick-note { margin: 18px 0 0; font-size: 16px; min-height: 24px; text-align: center; }
.quick-sum { display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: center; }
.quick-sum .big { font-family: var(--display); font-weight: 900; font-size: clamp(110px, 16vw, 170px); line-height: .85; letter-spacing: -.06em; }
.quick-sum .big small { font-size: .38em; opacity: .55; }
.quick-sum h3 { font-size: 30px; margin-bottom: 14px; }
.qlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.qlist li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 18px; background: var(--panel); color: var(--ink); font-size: 15px; }
.qlist b { font-family: var(--display); white-space: nowrap; }
.qlist .m { color: var(--o1); }

/* Dün */
.yesterday { display: grid; grid-template-columns: 116px 1fr auto; gap: 22px; align-items: center; text-decoration: none; background: var(--panel); border: 2px solid var(--line); border-radius: var(--r-card); padding: 18px 26px 18px 18px; margin: 22px 0; transition: transform .2s, box-shadow .2s; }
.yesterday:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.yesterday .sticker { width: 116px; transform: rotate(-4deg); }
.yesterday .inner { aspect-ratio: 1; }
.yesterday small { font-family: var(--display); font-weight: 700; color: var(--muted); font-size: 14px; }
.yesterday h3 { font-size: 26px; margin: 6px 0; }
.yesterday p { margin: 0; color: var(--ink-2); }
.yesterday .go { font-size: 26px; }

/* Sayfa başlığı */
.page-head { text-align: center; padding: 36px 0 30px; }
.page-head h1 { font-weight: 800; font-size: clamp(54px, 9vw, 108px); letter-spacing: -.04em; margin-bottom: 14px; }
.page-head p { max-width: 32em; margin: 0 auto 24px; font-size: 19px; color: var(--ink-2); }

/* Lig */
.myrank { display: flex; align-items: center; gap: 26px; }
.myrank .rk { font-family: var(--display); font-weight: 900; font-size: clamp(64px, 10vw, 110px); letter-spacing: -.05em; line-height: .9; }
.myrank p { margin: 0 0 4px; font-size: 17px; }
.podium { display: grid; grid-template-columns: 1fr 1.2fr 1fr; align-items: end; gap: 14px; margin-bottom: 18px; }
.pod { text-align: center; min-width: 0; }
.pod .sticker { width: 110px; margin: 0 auto 12px; }
.pod.p1 .sticker { width: 146px; }
.pod.p2 .sticker { transform: rotate(-6deg); } .pod.p3 .sticker { transform: rotate(6deg); }
.pod .inner { aspect-ratio: 1; }
.pod .nm { font-family: var(--display); font-weight: 700; font-size: 20px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pod .pt { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.pod .base { border-radius: 26px 26px 0 0; display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 46px; color: var(--on); }
.pod.p1 .base { height: 140px; background: var(--sun); }
.pod.p2 .base { height: 100px; background: var(--sky); }
.pod.p3 .base { height: 76px; background: var(--lilac); }
.lb { display: grid; gap: 8px; }
.lb-row { display: grid; grid-template-columns: 38px 52px 1fr auto; gap: 14px; align-items: center; padding: 8px 20px 8px 12px; border-radius: 22px; background: var(--panel); border: 2px solid var(--line); }
.lb-row .r { font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--muted); text-align: center; }
.lb-row img { width: 52px; height: 52px; border-radius: 50%; background: var(--soft); }
.lb-row .n { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-row .n small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
.lb-row .p { font-family: var(--display); font-weight: 800; font-size: 24px; text-align: right; }
.lb-row .p small { display: block; font-family: var(--body); font-weight: 500; font-size: 12px; color: var(--muted); }
.lb-row.me { border-color: var(--ink); background: var(--soft); }
.cityrank { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: c; }
.cityrank li { counter-increment: c; display: grid; grid-template-columns: 34px 1fr 160px 44px; gap: 12px; align-items: center; background: var(--panel); color: var(--ink); border-radius: 18px; padding: 10px 16px; font-size: 15px; }
.cityrank li::before { content: counter(c); font-family: var(--display); font-weight: 800; color: var(--muted); }
.cityrank .meter { height: 10px; border-radius: 999px; background: var(--wash); overflow: hidden; }
.cityrank .meter span { display: block; height: 100%; border-radius: 999px; background: var(--ink); }
.cityrank b { font-family: var(--display); text-align: right; }

/* Arşiv */
.archive { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.arc { display: flex; flex-direction: column; gap: 14px; text-decoration: none; background: var(--panel); border: 2px solid var(--line); border-radius: var(--r-card); padding: 14px 14px 20px; transition: transform .2s, box-shadow .2s; }
.arc:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: var(--shadow); }
.arc .ph { border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--soft); }
.arc .ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.arc:hover .ph img { transform: scale(1.04); }
.arc .no { font-family: var(--display); font-weight: 700; font-size: 13.5px; color: var(--muted); padding: 0 6px; }
.arc h3 { font-size: 22px; letter-spacing: -.02em; line-height: 1.1; padding: 0 6px; }
.arc .res { font-size: 14px; color: var(--ink-2); padding: 0 6px; }
.spoiler { display: inline-block; height: 14px; width: 80px; border-radius: 999px; background: var(--wash-2); vertical-align: -2px; }
.arc .play { display: inline-flex; margin-top: 8px; background: var(--sun); color: var(--on); font-family: var(--display); font-weight: 700; font-size: 14px; padding: 6px 14px; border-radius: 999px; }
.mini-bar { display: flex; height: 8px; border-radius: 999px; overflow: hidden; margin-top: 10px; gap: 2px; }
.back-link { display: inline-flex; margin: 18px 0 6px; font-family: var(--display); font-weight: 700; text-decoration: none; padding: 8px 16px; border-radius: 999px; background: var(--wash); }

/* Karnem */
.me-head { display: flex; align-items: center; gap: 28px; padding: 30px 0 10px; }
.me-head .sticker { width: 150px; flex: none; transform: rotate(-5deg); }
.me-head .inner { aspect-ratio: 1; }
.me-head h1 { font-weight: 800; font-size: clamp(42px, 7vw, 76px); letter-spacing: -.04em; }
.me-head p { margin: 10px 0 0; color: var(--ink-2); font-size: 17px; }
.link { background: none; border: 0; padding: 0; margin-right: 16px; font-family: var(--display); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; color: var(--ink-2); }
.persona { display: grid; grid-template-columns: auto 1fr; gap: 34px; align-items: center; }
.persona .glyph { width: 150px; height: 150px; border-radius: 38%; background: var(--panel); display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 92px; color: var(--ink); box-shadow: var(--shadow); transform: rotate(-6deg); }
.persona .kicker { font-family: var(--display); font-weight: 700; opacity: .7; margin: 0 0 8px; }
.persona h2 { font-weight: 800; font-size: clamp(40px, 6.4vw, 72px); margin-bottom: 12px; }
.persona p { margin: 0; font-size: 19px; max-width: 32em; }
.statline { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin: 22px 0; }
.statline div { border-radius: var(--r-tile); padding: 22px 18px; color: var(--on); }
.statline div:nth-child(1) { background: var(--sun); } .statline div:nth-child(2) { background: var(--coral); } .statline div:nth-child(3) { background: var(--sky); }
.statline div:nth-child(4) { background: var(--lilac); } .statline div:nth-child(5) { background: var(--mint); } .statline div:nth-child(6) { background: var(--panel); color: var(--ink); border: 2px solid var(--line); }
.statline .v { font-family: var(--display); font-weight: 800; font-size: 44px; letter-spacing: -.04em; line-height: 1; }
.statline .k { font-weight: 600; font-size: 14px; margin-top: 8px; }
.gauge { width: 270px; margin: 0 auto; position: relative; }
.gauge .gv { position: absolute; left: 0; right: 0; bottom: 4px; text-align: center; font-family: var(--display); font-weight: 900; font-size: 58px; line-height: 1; letter-spacing: -.04em; }
.gauge .gv small { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0; color: var(--muted); }
.twin-name { font-family: var(--display); font-weight: 800; font-size: 34px; letter-spacing: -.03em; line-height: 1.05; margin: 0 0 8px; }
.twin-rows { display: grid; gap: 9px; margin-top: 18px; }
.twin-row { display: grid; grid-template-columns: 110px 1fr 46px; gap: 12px; align-items: center; font-size: 14.5px; }
.twin-row .meter { height: 12px; border-radius: 999px; background: var(--wash); overflow: hidden; }
.twin-row .meter span { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--o1); transition: width 1s cubic-bezier(.2,.8,.2,1); }
.twin-row b { font-family: var(--display); text-align: right; }
.badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.badge { text-align: center; }
.badge .sticker { width: 104px; margin: 0 auto 12px; transform: rotate(var(--r, -6deg)); transition: transform .3s; }
.badge:hover .sticker { transform: rotate(0) scale(1.06); }
.badge .inner { aspect-ratio: 1; display: grid; place-items: center; background: var(--bg, var(--sun)); font-family: var(--display); font-weight: 900; font-size: 30px; color: var(--on); letter-spacing: -.03em; }
.badge.off .inner { background: repeating-conic-gradient(var(--checker-b) 0 25%, var(--checker-a) 0 50%) 0 0 / 18px 18px; color: var(--muted); }
.badge.off .sticker { box-shadow: none; opacity: .75; }
.badge .bn { font-family: var(--display); font-weight: 700; font-size: 17px; }
.badge .bd { font-size: 13px; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.hist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hist a { display: grid; grid-template-columns: 58px 1fr auto; gap: 14px; align-items: center; padding: 8px 18px 8px 8px; border-radius: 22px; background: var(--panel); border: 2px solid var(--line); text-decoration: none; }
.hist img { width: 58px; height: 58px; object-fit: cover; border-radius: 16px; }
.hist .ht { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.hist .ht small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
.hist .hs { text-align: right; font-size: 13px; color: var(--muted); }
.tag { display: inline-block; font-family: var(--display); font-weight: 700; font-size: 12.5px; padding: 3px 10px; border-radius: 999px; color: var(--on); }
.tag.maj { background: var(--mint); }
.tag.min { background: var(--lilac); }
.suggest-form { display: grid; gap: 10px; }
.suggest-form .opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.suggest-form .inp { border-color: transparent; }

/* Modal */
.modal { border: 0; border-radius: 36px; background: var(--panel); color: var(--ink); padding: 34px 30px 28px; width: min(470px, calc(100vw - 28px)); max-height: calc(100vh - 40px); box-shadow: var(--shadow-pop); }
.modal::backdrop { background: rgb(21 33 59 / .45); backdrop-filter: blur(4px); }
.modal[open] { animation: rise .3s cubic-bezier(.2,1.2,.4,1); }
.modal h2 { font-weight: 800; font-size: 42px; text-align: center; margin-bottom: 10px; }
.modal-sub { text-align: center; color: var(--ink-2); margin: 0 0 6px; }
.modal-x { position: absolute; right: 16px; top: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--wash); font-size: 24px; line-height: 1; }
.perks { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 8px; }
.perks li { background: var(--soft); border-radius: 18px; padding: 12px 16px 12px 46px; position: relative; }
.perks li::before { content: "✓"; position: absolute; left: 14px; top: 11px; width: 22px; height: 22px; border-radius: 50%; background: var(--mint); color: var(--on); font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.google-btn { display: flex; justify-content: center; min-height: 44px; margin-bottom: 8px; }
.google-btn:empty { display: none; }
.lbl { display: block; font-family: var(--display); font-weight: 700; font-size: 15px; margin: 16px 0 8px; }
.lbl small { font-family: var(--body); font-weight: 400; color: var(--muted); font-size: 13px; }
.two { display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px; }
.avatar-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.avatar-grid button { aspect-ratio: 1; border: 0; border-radius: 30%; background: repeating-conic-gradient(var(--checker-b) 0 25%, var(--checker-a) 0 50%) 0 0 / 12px 12px; padding: 0; overflow: hidden; transition: transform .2s; }
.avatar-grid button img { width: 100%; display: block; }
.avatar-grid button:hover { transform: rotate(-4deg) scale(1.05); }
.avatar-grid button.on { box-shadow: 0 0 0 3px var(--panel), 0 0 0 6px var(--ink); transform: rotate(-4deg); }
.form-err { color: #C2410C; font-weight: 600; font-size: 14px; min-height: 20px; margin: 12px 0 6px; }

.ad-slot { display: none; }
body.ads-on .ad-slot { display: block; min-height: 100px; margin: 22px 0; border-radius: var(--r-card); background: var(--soft); }

/* Alt bilgi */
.foot { margin-top: 30px; padding: 50px 24px 70px; }
.foot-in { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 34px; }
.foot h4 { font-family: var(--display); font-weight: 700; font-size: 17px; margin: 6px 0 12px; }
.foot a:not(.logo) { display: block; color: var(--ink-2); text-decoration: none; margin-bottom: 8px; }
.foot p a { display: inline !important; text-decoration: underline !important; margin: 0 !important; }
.foot p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.foot-brand p { margin-top: 14px; max-width: 26em; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 140px); z-index: 70; background: var(--ink); color: var(--paper); padding: 13px 22px; border-radius: 999px; font-family: var(--display); font-weight: 600; font-size: 16px; transition: transform .35s cubic-bezier(.3,1.3,.5,1); pointer-events: none; max-width: 90vw; text-align: center; box-shadow: var(--shadow-pop); }
.toast.show { transform: translate(-50%, 0); }
#confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 65; }
.skeleton { color: transparent !important; border-radius: var(--r-card); background: linear-gradient(90deg, var(--soft), var(--paper), var(--soft)); background-size: 200% 100%; animation: sk 1.2s infinite; }
@keyframes sk { to { background-position: -200% 0; } }
.tabbar { display: none; }

@media (max-width: 980px) {
  .issue, .streak { display: none; }
  .grid-2, .share-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile.big { grid-column: 1 / -1; grid-row: auto; }
  .statline { grid-template-columns: repeat(3, 1fr); }
  .foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  body { padding-bottom: 96px; }
  .top-in { height: 62px; padding: 0 16px; gap: 10px; }
  .nav, .me-btn { display: none; }
  .theme { margin-left: auto; }
  main { padding: 4px 16px 30px; }
  .logo { font-size: 21px; }
  .fan li:nth-child(1), .fan li:nth-child(5) { display: none; }
  .fan li:nth-child(3) { width: 180px; }
  .fan li:nth-child(2), .fan li:nth-child(4) { width: 80px; }
  .opt { font-size: 18px; min-height: 60px; }
  .opt .box { width: 38px; height: 38px; }
  .predict-q { font-size: 20px; }
  .profile-grid { grid-template-columns: 1fr 1fr; }
  .profile-grid label:last-child { grid-column: 1 / -1; }
  .block { border-radius: 32px; padding: 28px 20px; margin: 14px -4px; }
  .verdict { grid-template-columns: 1fr; }
  .note { top: 18px; right: 18px; }
  .panel { padding: 22px 18px; }
  .bento { grid-auto-rows: minmax(120px, auto); gap: 10px; }
  .tile { padding: 18px; }
  .vs { grid-template-columns: 1fr; gap: 0; }
  .vs-btn { min-height: 130px; }
  .vs-or { margin: -14px auto; }
  .quick-sum { grid-template-columns: 1fr; gap: 10px; }
  .stack-row { grid-template-columns: 80px 1fr 40px; }
  .cta { flex-wrap: wrap; }
  .cta .btn { margin-left: 0; width: 100%; }
  .yesterday { grid-template-columns: 84px 1fr; padding: 14px; }
  .yesterday .sticker { width: 84px; }
  .yesterday .go { display: none; }
  .yesterday h3 { font-size: 21px; }
  .podium .sticker { width: 78px !important; }
  .pod.p1 .sticker { width: 100px !important; }
  .pod .nm { font-size: 15px; }
  .pod .base { font-size: 34px; }
  .cityrank li { grid-template-columns: 26px 1fr 70px 36px; }
  .me-head { flex-direction: column; text-align: center; gap: 18px; }
  .persona { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .statline { grid-template-columns: repeat(2, 1fr); }
  .foot-in { grid-template-columns: 1fr; }
  .tabbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; background: #15213B; border-radius: 999px; padding: 6px; box-shadow: var(--shadow-pop); }
  .tabbar a { display: grid; justify-items: center; gap: 1px; text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 12px; color: #AEB6C9; padding: 6px 0; border-radius: 999px; }
  .tabbar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .tabbar a.on { background: #FFFDF9; color: #15213B; }
  #tab-avatar { width: 24px; height: 24px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #FFFDF91a; }
  #tab-avatar img { width: 28px; height: 28px; }
  .toast { bottom: 104px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Pastel blokların içi her temada açık kalır */
.block:is(.sun, .lilac, .mint, .sky), .tile:is(.sun, .sky, .lilac, .mint, .coral), .statline > div:not(:last-child) {
  --panel: #FFFFFF; --ink: #15213B; --ink-2: #3B4662; --muted: #5E6880; --paper: #FFFDF9; --soft: #F7F1E6; --line: #ECE4D5;
  --wash: rgb(21 33 59 / .07); --wash-2: rgb(21 33 59 / .12); --checker-a: #F9F5EE; --checker-b: #F1EBE1;
  color: #15213B;
}

/* ================= v5: yeni bileşenler ================= */
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 999px; z-index: 100; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid #8F7CF7; outline-offset: 2px; }
.intro { max-width: 36em; margin: 16px auto 0; font-size: 19px; color: var(--ink-2); }
.verified { color: #2E9E6E; font-weight: 600; }
[data-theme="dark"] .verified { color: var(--mint); }
.credit-line { font-size: 13px; color: var(--muted); margin: 18px 0 0; }
.credit-line a { color: var(--muted); }
.nudge { background: var(--soft); border-radius: 18px; padding: 12px 16px; font-size: 14.5px; margin: 6px 0 0; text-align: left; }
.kbd-hint { display: inline; }
@media (max-width: 680px) { .kbd-hint { display: none; } }
.tier-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; box-shadow: 0 0 0 2px var(--panel); }
.linkbtn { background: none; border: 0; padding: 0; color: var(--ink-2); text-align: left; font-size: 15px; margin-bottom: 8px; }
.linkbtn:hover { text-decoration: underline; }
.disclaimer { font-size: 13px !important; color: var(--muted) !important; }
.btn.danger { color: #C2410C; }

/* Sunucu içeriği (SEO) ve yasal sayfalar */
#ssr { padding: 20px 0; }
#ssr article, #ssr section { max-width: 760px; margin: 0 auto; }
#ssr h1 { font-size: clamp(36px, 6vw, 60px); margin: 14px 0 18px; }
#ssr h2 { font-size: 26px; margin: 34px 0 10px; }
#ssr p, #ssr li { font-size: 16.5px; line-height: 1.7; color: var(--ink-2); }
#ssr a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
#ssr img { border-radius: 24px; height: auto; }
.legal ul { padding-left: 22px; }
body:not(.static-page) #ssr:not([hidden]) { opacity: .99; }

/* Üye / misafir kapsamı */
.scope-bar { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin: 6px 0 4px; }
.scope-bar small { opacity: .65; font-weight: 600; margin-left: 4px; }
.scope-lock { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; background: var(--soft); border-radius: var(--r-card); padding: 16px 20px; margin: 6px 0; }
.scope-lock .seg-ctl button[data-login] { opacity: .55; display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 860px) { .scope-lock { grid-template-columns: 1fr; } .scope-lock .btn { width: 100%; } }

/* Paylaşım */
.share-thumbs { display: flex; gap: 12px; align-items: flex-end; justify-content: center; cursor: pointer; }
.share-thumbs .thumb { border-radius: 14px; box-shadow: var(--shadow); background: #fff; transition: transform .2s; }
.share-thumbs .thumb:hover { transform: translateY(-4px) rotate(-1deg); }
.share-thumbs .story { width: 120px; } .share-thumbs .square { width: 150px; } .share-thumbs .wide { width: 190px; }
.modal.wide { width: min(620px, calc(100vw - 28px)); }
.share-preview { display: grid; place-items: center; background: var(--soft); border-radius: 24px; padding: 16px; margin: 16px 0 6px; }
#share-canvas { max-width: 100%; height: auto; border-radius: 16px; box-shadow: var(--shadow); max-height: 56vh; width: auto; }
#share-canvas.wide { width: 100%; max-height: none; }
#share-format { display: flex; width: 100%; }
#share-format button { flex: 1; }
.share-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 14px; }
.share-links .chip { text-decoration: none; border: 0; cursor: pointer; }

/* Çerez onayı */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; display: flex; justify-content: center; }
.consent-in { max-width: 860px; width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; background: var(--panel); color: var(--ink); border-radius: 28px; padding: 20px 22px; box-shadow: var(--shadow-pop); border: 2px solid var(--line); }
.consent h3 { font-size: 20px; margin-bottom: 6px; }
.consent p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.consent-btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.consent-btns .btn { height: 44px; padding: 0 20px; font-size: 16px; }
.consent-opts { display: grid; gap: 6px; margin-top: 12px; }
.consent-opts label { display: flex; gap: 8px; align-items: center; font-weight: 600; font-size: 14.5px; }
.consent-opts small { font-weight: 400; color: var(--muted); }
@media (max-width: 680px) { .consent { bottom: 92px; left: 10px; right: 10px; } .consent-in { grid-template-columns: 1fr; } .consent-btns .btn { flex: 1; } }

/* Kayıt formu */
.nick-row { display: flex; gap: 8px; }
.nick-row .btn { height: auto; padding: 0 14px; font-size: 14px; }
.consents { display: grid; gap: 10px; margin-top: 18px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.check input { width: 20px; height: 20px; margin-top: 1px; accent-color: #15213B; }
.check a { color: var(--ink); }

/* Lig */
.ladder { display: grid; gap: 6px; min-width: 210px; }
.rung { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: rgb(255 255 255 / .55); font-family: var(--display); font-weight: 700; color: var(--on); font-size: 15px; }
.rung span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--tc); font-size: 13px; }
.rung.cur { background: #fff; box-shadow: var(--shadow); transform: translateX(-8px); }
.rung.past { opacity: .65; }
.league-intro { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.league-intro h2 { font-weight: 800; font-size: clamp(30px, 4.6vw, 52px); margin-bottom: 12px; }
.league-intro p { font-size: 17px; margin: 0; }
.league-intro .kicker { font-family: var(--display); font-weight: 700; opacity: .7; margin: 0 0 6px; }
.tier-block { background: var(--tc); color: var(--on); }
.tier-block { --panel: #fff; --ink: #15213B; }
.lb-row.zone-up { border-color: #4FCB95; }
.lb-row.zone-up .r { color: #2E9E6E; }
.lb-row.zone-down { border-color: #FF8A6B; }
.lb-row.zone-down .r { color: #D9542F; }
.center-ctl { display: flex; justify-content: center; margin: 0 0 20px; }
.friends-head { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; align-items: end; }
.friends-head h2 { font-weight: 800; font-size: clamp(30px, 4vw, 46px); margin-bottom: 8px; }
.friends-head p { margin: 0; }
.inline-form { display: flex; gap: 8px; }
.inline-form .inp { border-color: transparent; }
.code-pill { font-family: ui-monospace, monospace; background: var(--sun); color: var(--on); padding: 2px 10px; border-radius: 999px; letter-spacing: .1em; }
.bento.how { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(170px, auto); }
.bento.how .k { font-size: 15.5px; line-height: 1.4; }
.bento.duo { grid-template-columns: 1fr 1fr; max-width: 560px; margin: 24px auto 0; }
@media (max-width: 980px) { .league-intro { grid-template-columns: 1fr; } .friends-head { grid-template-columns: 1fr; } .bento.how { grid-template-columns: 1fr 1fr; } }

/* Arşiv ve gün */
.archive-tools { display: grid; gap: 12px; justify-items: center; margin-top: 4px; }
.archive-tools .inp { max-width: 420px; border-radius: 999px; padding-left: 20px; }
.day-nav { display: flex; justify-content: space-between; gap: 10px; margin: 18px 0 0; }
.day-nav .btn { height: 44px; font-size: 16px; padding: 0 18px; }
.explore .archive { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .explore .archive { grid-template-columns: 1fr; } }

/* Meydan okuma */
.challenge-q { font-size: clamp(26px, 4vw, 38px); max-width: 18em; margin: 6px auto 22px; }
.challenge-result { max-width: 640px; margin: 22px auto 0; text-align: left; }
.challenge-result.ok { border-color: #4FCB95; background: color-mix(in srgb, var(--mint) 25%, var(--panel)); }
.challenge-result.no { border-color: #FF8A6B; background: color-mix(in srgb, var(--coral) 18%, var(--panel)); }

/* Yönetim */
.admin-bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(130px, auto); }
.admin-bento .tile .v { font-size: clamp(32px, 4vw, 48px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.chart { width: 100%; height: auto; color: var(--ink); }
.kv { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.kv td { padding: 7px 0; border-bottom: 1px solid var(--line); }
.kv td:nth-child(2) { text-align: right; font-family: var(--display); font-weight: 700; }
.kv td.muted { text-align: right; color: var(--muted); font-size: 12.5px; padding-left: 10px; }
.hours { display: flex; align-items: flex-end; gap: 3px; height: 120px; }
.hours span { flex: 1; background: #8F7CF7; border-radius: 4px 4px 0 0; min-height: 4px; }
@media (max-width: 980px) { .admin-bento { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: 1fr; } }

@media (max-width: 680px) { .share-thumbs .story { width: 26%; } .share-thumbs .square { width: 32%; } .share-thumbs .wide { width: 38%; } .share-thumbs { gap: 8px; } }

.chip.mini { padding: 1px 8px; font-size: 11.5px; vertical-align: 2px; }
.seg-ctl { scrollbar-width: none; }
.seg-ctl::-webkit-scrollbar { display: none; }

/* ---------- Grafiği Tamamla ---------- */
.nav a { position: relative; }
.new-dot { position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 2px var(--paper); }
.nav a.on .new-dot { display: none; }
.cg-hero { text-align: center; padding: 26px 0 26px; }
.cg-hero .eyebrow { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.cg-title { font-weight: 800; font-size: clamp(36px, 6vw, 72px); letter-spacing: -.035em; line-height: 1; max-width: 15em; margin: 14px auto 0; text-wrap: balance; }
.cg-stage { background: var(--panel); border: 2px solid var(--line); border-radius: var(--r-block); padding: clamp(18px, 3vw, 36px); box-shadow: var(--shadow-pop); position: relative; }
.cg-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.cg-head h2 { font-size: clamp(20px, 2.6vw, 28px); font-weight: 800; letter-spacing: -.02em; }
.cg-status { padding: 8px 15px; border-radius: 999px; background: var(--wash); font-family: var(--display); font-weight: 700; font-size: 15px; white-space: nowrap; transition: background .3s; }
.cg-status.go { background: var(--sun); color: var(--on); animation: cgPulse 1.6s ease-in-out infinite; }
@keyframes cgPulse { 50% { transform: scale(1.06); } }
.cg-canvas { position: relative; margin: 0 -6px; }
.cg-svg { display: block; width: 100%; height: auto; color: var(--ink); user-select: none; -webkit-user-select: none; overflow: visible; }
.cg-svg.can-draw { touch-action: none; }
.cg-svg.can-draw .cg-hit { cursor: crosshair; }
.cg-grid line { stroke: var(--wash-2); stroke-width: 1; }
.cg-grid text { fill: var(--muted); font: 600 13px var(--body); }
.cg-grid .cg-x { transition: fill .2s; }
.cg-grid .cg-x.lit { fill: var(--ink); font-weight: 700; }
.cg-grid .cg-unit { font-weight: 700; fill: var(--ink-2); }
.cg-stripe-bg { fill: var(--wash); }
.cg-stripe-ln { stroke: var(--wash); }
.cg-zone { opacity: 0; transition: opacity .6s; }
.cut-done .cg-zone { opacity: 1; }
.revealing .cg-zone { opacity: .35; }
.cg-q { font: 800 120px var(--display); fill: var(--wash-2); }
.can-draw:not(.touched) .cg-q { animation: cgBreath 2.2s ease-in-out infinite; }
.touched .cg-q, .revealing .cg-q { opacity: 0; transition: opacity .3s; }
@keyframes cgBreath { 50% { opacity: .45; } }
.cg-cut { stroke: var(--coral); stroke-width: 2.5; stroke-dasharray: 7 6; transform-box: fill-box; transform-origin: top; transform: scaleY(0); transition: transform .7s cubic-bezier(.6,0,.3,1); }
.snip .cg-cut, .cut-done .cg-cut { transform: scaleY(1); }
.cg-scissors { font-size: 26px; opacity: 0; transform-box: fill-box; transform-origin: center; }
.snip .cg-scissors { animation: cgSnip .8s cubic-bezier(.6,0,.3,1) forwards; }
@keyframes cgSnip { 0% { opacity: 0; transform: translateY(-14px) rotate(90deg) scale(.6); } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translateY(380px) rotate(90deg) scale(1.1); } }
.cg-area { color: var(--ink); }
.cg-line { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.cg-vis { stroke: var(--ink); stroke-width: 4.5; }
.cg-tip { fill: var(--sun); stroke: var(--ink); stroke-width: 3; }
.cg-badge rect { fill: var(--ink); }
.cg-badge text { fill: var(--paper); font: 700 14px var(--display); }
.cg-badge { transition: opacity .3s; }
.touched .cg-badge, .revealing .cg-badge { opacity: 0; }
.cg-hand { pointer-events: none; opacity: 0; transition: opacity .3s; }
.can-draw:not(.touched) .cg-hand { opacity: 1; }
.cg-hand-in { animation: cgHand 2.2s ease-in-out infinite; }
.cg-hand circle { fill: var(--sun); stroke: var(--ink); stroke-width: 2.5; }
.cg-hand text { font-size: 22px; }
@keyframes cgHand { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(70px, -40px); } }
.cg-me { stroke: #FF8A6B; stroke-width: 4.5; }
.cg-me-dots circle { fill: #FF8A6B; stroke: var(--panel); stroke-width: 2.5; transition: r .15s; }
.cg-ghosts polyline { fill: none; stroke: #8F7CF7; stroke-width: 2; stroke-linejoin: round; opacity: 0; transition: opacity .6s var(--d, 0ms); }
.show-ghosts .cg-ghosts polyline { opacity: .2; }
.cg-avg { stroke: #8F7CF7; stroke-width: 4; }
.cg-avg.dashed { stroke-dasharray: 9 7; }
.cg-truth { stroke: #2FB67C; stroke-width: 5.5; }
.cg-truth-dots circle { fill: #2FB67C; stroke: var(--panel); stroke-width: 3; opacity: 0; transform-box: fill-box; transform-origin: center; }
.show-truth .cg-truth-dots circle { animation: cgDot .45s cubic-bezier(.3,1.6,.5,1) var(--d, 0ms) forwards; }
@keyframes cgDot { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
.cg-err { fill: #FF8A6B; opacity: 0; transition: opacity .8s .3s; }
.show-truth .cg-err { opacity: .14; }
.cg-pill rect { fill: #FF8A6B; }
.cg-pill.truth rect { fill: #2FB67C; }
.cg-pill.crowd rect { fill: #8F7CF7; }
.cg-pill text { fill: #fff; font: 700 13.5px var(--display); }
.show-truth .cg-labels .cg-pill { animation: cgFade .5s ease both; }
@keyframes cgFade { from { opacity: 0; } }
.cg-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; margin-top: 14px; font-weight: 600; font-size: 14px; color: var(--ink-2); }
.cg-legend span { display: inline-flex; align-items: center; gap: 7px; }
.cg-legend i { width: 22px; height: 5px; border-radius: 3px; display: inline-block; }
.cg-legend i.dash { background: repeating-linear-gradient(90deg, var(--c) 0 7px, transparent 7px 11px); }
.cg-controls { max-width: 560px; margin: 16px auto 0; text-align: center; }
.cg-progress { display: flex; align-items: center; gap: 12px; justify-content: center; font-family: var(--display); }
.cg-progress .meter { flex: 1; max-width: 320px; height: 10px; border-radius: 999px; background: var(--wash-2); overflow: hidden; }
.cg-progress .meter span { display: block; height: 100%; width: 0; background: #FF8A6B; border-radius: 999px; transition: width .2s; }
.cg-score .huge small { font-size: .26em; opacity: .55; margin: 0 0 0 8px; vertical-align: baseline; letter-spacing: -.02em; }
.cg-squares { font-size: 24px; letter-spacing: 3px; margin-top: 12px !important; }
.cg-bento .tile.big h3 { margin: 14px 0 0; }
.cg-dist { background: var(--soft); }
.cg-hist { display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; height: 200px; align-items: end; }
.cg-hb { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; gap: 6px; text-align: center; }
.cg-hb span { position: relative; display: block; height: 0; background: var(--wash-2); border-radius: 12px 12px 5px 5px; transition: height .9s cubic-bezier(.2,.8,.2,1); }
.cg-hb span.up { height: var(--h); }
.cg-hb.me span { background: #FF8A6B; }
.cg-hb em { position: absolute; top: -28px; left: 50%; transform: translateX(-50%); font-style: normal; font: 700 13px var(--display); background: var(--ink); color: var(--paper); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.cg-hb small { font-size: 12px; color: var(--muted); font-weight: 600; }
.cg-share-card { justify-self: center; background: var(--panel); color: var(--ink); border-radius: 30px; padding: 26px 30px; box-shadow: var(--shadow-pop); transform: rotate(3deg); text-align: center; min-width: 230px; }
.cg-mini-title { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--muted); }
.cg-mini-score { font-family: var(--display); font-weight: 900; font-size: 76px; letter-spacing: -.04em; line-height: 1.05; }
.cg-mini-score small { font-size: .32em; color: var(--muted); }
.cg-mini-sq { font-size: 20px; letter-spacing: 2px; }
/* Bugün sayfasındaki tanıtım kartı */
.chart-promo { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: center; margin: 22px 0; padding: clamp(26px, 4vw, 48px); border-radius: var(--r-block); background: #15213B; color: #FFFDF9; text-decoration: none; position: relative; overflow: hidden; transition: transform .2s; }
.chart-promo:hover { transform: translateY(-3px); }
.chart-promo::before { content: ""; position: absolute; inset: 0; background: radial-gradient(rgb(255 253 249 / .12) 1px, transparent 1.5px) 0 0 / 22px 22px; pointer-events: none; }
.chart-promo h2 { font-weight: 800; font-size: clamp(34px, 5vw, 56px); letter-spacing: -.03em; margin: 14px 0 6px; }
.chart-promo p { margin: 0 0 20px; font-size: 18px; color: #C9CEDB; max-width: 26em; }
.chart-promo small { display: block; margin-top: 10px; color: #AEB6C9; font-size: 13px; }
.chart-promo .chip.sun { color: #15213B; }
.cp-text { position: relative; }
.cp-spark { width: 100%; height: auto; position: relative; overflow: visible; }
.cp-zone { fill: rgb(255 253 249 / .06); stroke: rgb(255 253 249 / .3); stroke-dasharray: 5 5; }
.cp-line { fill: none; stroke: #FFFDF9; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.cp-guess { fill: none; stroke: #FF8A6B; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 200; stroke-dashoffset: 200; animation: cpDraw 3s ease-in-out infinite; }
@keyframes cpDraw { 0% { stroke-dashoffset: 200; } 55%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.cp-dot { fill: #FFD23F; stroke: #15213B; stroke-width: 2; }
.cp-q { font: 800 40px var(--display); fill: rgb(255 253 249 / .25); }
/* Lig sekmesi */
.cg-league { background: #15213B; color: #FFFDF9; }
.cg-league .kicker { color: #FFD23F; }
.cg-league p { color: #C9CEDB; }
.cg-league .btn.sun { color: #15213B; }
.cg-league-art { width: 100%; max-width: 300px; justify-self: center; }
.cg-league-art path { fill: none; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.cg-league-art .a { stroke: #FFFDF9; }
.cg-league-art .b { stroke: #2FB67C; }
.cg-league-art .c { stroke: #FF8A6B; stroke-dasharray: 8 7; }
.cg-league-art .d { stroke: #FF8A6B; stroke-width: 2; stroke-dasharray: 5 5; }
@media (max-width: 860px) { .chart-promo { grid-template-columns: 1fr; } .cp-spark { max-width: 420px; } }
@media (max-width: 680px) {
  .tabbar { grid-template-columns: repeat(5, 1fr); }
  .cg-grid text { font-size: 15px; }
  .cg-q { font-size: 90px; }
  .cg-hist { height: 160px; gap: 4px; }
  .cg-hb em { font-size: 11px; padding: 2px 6px; }
  .cg-squares { font-size: 20px; }
  .cg-share-card { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .cg-hand-in, .cg-status.go, .cp-guess, .can-draw:not(.touched) .cg-q { animation: none; } .cp-guess { stroke-dashoffset: 0; } }
/* Telefon düzeltmeleri: köşe etiketi büyük rakamın üstüne binmesin, grafik ekranı daha geniş kullansın */
@media (max-width: 680px) {
  .block:has(> .note) { padding-top: 64px; }
  .note { top: 18px; right: 18px; font-size: 13px; padding: 6px 12px; }
  .cg-stage { padding: 16px 8px 18px; margin: 0 -8px; border-radius: 30px; }
  .cg-head { padding: 0 8px; }
  .cg-canvas { margin: 0 -2px; }
}
/* Açılır pencereler küçük ekranda yatay kaymasın */
.modal { overflow-x: hidden; max-height: calc(100dvh - 32px); }
.modal h2 { font-size: clamp(30px, 8.5vw, 42px); overflow-wrap: anywhere; }
@media (max-width: 420px) { .modal { padding: 30px 18px 22px; border-radius: 30px; } .modal-x { right: 10px; top: 10px; } }
.nick-row { flex-wrap: wrap; }
.nick-row .inp { flex: 1 1 180px; min-width: 0; }
.nick-row .btn { flex: 1 1 auto; white-space: normal; height: auto; min-height: 48px; padding: 8px 18px; }
@media (max-width: 420px) { .modal h2 { padding: 0 34px; } .modal .two { grid-template-columns: 1fr; } }
/* Küçük ekranda sekmeler kaydırmak yerine alt satıra geçsin (gizli sekme kalmasın) */
@media (max-width: 480px) {
  #league-tabs, #period-tabs, #cperiod-tabs, #scope-tabs, #arc-cats { flex-wrap: wrap; justify-content: center; border-radius: 26px; }
}
