/* Hitapla sistem sayfaları (üyelik, hesabım, yönetim). Tanıtım sayfasıyla aynı marka dili. */
:root {
  --brand: #6c5cff; --brand-strong: #5443ea; --brand-ink: #4b3ad6; --brand-soft: #efedff;
  --grad-a: #8b7dff; --grad-b: #4f3ee6;
  --warm: #d9622b; --warm-ink: #b4461a; --warm-soft: #fff0e8;
  --bg: #fbfbfe; --bg-alt: #f3f3fa; --surface: #ffffff; --surface-2: #f7f7fc;
  --text: #13142a; --muted: #53577a; --line: #e4e5f0; --line-strong: #d3d5e6;
  --ok: #138a5e; --ok-soft: #e4f6ee; --err: #c0392b; --err-soft: #fdecea; --warn: #9a6400; --warn-soft: #fff5dc;
  --shadow: 0 1px 2px rgba(20, 20, 60, .05), 0 12px 32px -12px rgba(40, 30, 120, .18);
  --shadow-lg: 0 2px 4px rgba(20, 20, 60, .04), 0 40px 80px -36px rgba(50, 30, 160, .38);
  --radius: 20px; --radius-sm: 14px; --gutter: 16px; --maxw: 1180px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --brand: #7d6fff; --brand-strong: #5443ea; --brand-ink: #b3aaff; --brand-soft: #1e1b3d;
  --warm: #ff9a62; --warm-ink: #ffb58c; --warm-soft: #2d1c14;
  --bg: #0a0a13; --bg-alt: #0f101b; --surface: #141524; --surface-2: #191a2c;
  --text: #eceefb; --muted: #a4a8c6; --line: #262842; --line-strong: #34375a;
  --ok: #3fd49a; --ok-soft: #10281f; --err: #ff7b6e; --err-soft: #2c1414; --warn: #ffcb6b; --warn-soft: #2a220f;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 40px -16px rgba(0, 0, 0, .7);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .4), 0 40px 90px -30px rgba(0, 0, 0, .8);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--text); background: var(--bg); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--brand-ink); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 8px; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--surface); padding: 10px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Düğmeler */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .2s ease, border-color .15s ease; white-space: nowrap; background: none; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: not-allowed; }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-lg { min-height: 52px; padding: 14px 24px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand-strong); color: #fff; box-shadow: 0 10px 28px -10px rgba(84, 67, 234, .75), inset 0 1px 0 rgba(255, 255, 255, .18); }
.btn-primary:hover { background: #4a39e0; }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--brand); }
.btn-text { color: var(--text); }
.btn-danger { background: var(--err); color: #fff; }
.btn-ok { background: var(--ok); color: #fff; }
:root[data-theme="dark"] .btn-ok, :root[data-theme="dark"] .btn-danger { color: #0a0a13; }
.btn-white { background: #fff; color: #2a1f9e; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; background: transparent; border: 1px solid var(--line); cursor: pointer; color: var(--text); flex: none; position: relative; }
.icon-btn:hover { border-color: var(--brand); }
.i-moon { display: none; }
:root[data-theme="dark"] .i-sun { display: none; }
:root[data-theme="dark"] .i-moon { display: block; }

/* Üst menü (tanıtım sayfasıyla aynı) */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 10px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--text); text-decoration: none; letter-spacing: -0.02em; min-height: 44px; }
.nav-act { display: flex; align-items: center; gap: 8px; }
.nav-links { display: none; gap: 22px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; padding: 10px 0; }
.nav-links a:hover { color: var(--text); }
@media (min-width: 900px) { .nav-links { display: flex; } }
@media (max-width: 380px) { .logo { font-size: 16.5px; gap: 8px; } .nav-act .btn { padding: 8px 12px; } }
.dot-badge { position: absolute; top: 6px; right: 6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--warm); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; }

/* Önizleme şeridi */
.strip { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; padding: 0 var(--gutter); min-height: 44px; font-size: 13px; font-weight: 700; color: #3a2a00; background: linear-gradient(90deg, #ffd66b, #ffb86b); }
.strip-dot { width: 8px; height: 8px; border-radius: 50%; background: #3a2a00; animation: pulse 1.6s ease-in-out infinite; }
.strip-btn { min-height: 44px; padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(58, 42, 0, .35); background: rgba(255, 255, 255, .45); font-weight: 700; font-size: 13px; cursor: pointer; }
@keyframes pulse { 50% { opacity: .3; } }

/* Kartlar ve düzen */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card + .card { margin-top: 16px; }
.card-t { font-size: 19px; margin-bottom: 6px; }
.card-sub { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.grid { display: grid; gap: 14px; }
@media (min-width: 720px) { .g2 { grid-template-columns: 1fr 1fr; } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); } }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.row-sb { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.stack > * + * { margin-top: 12px; }

/* Form */
.field { display: block; margin-bottom: 14px; }
.field > span, .label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.input { width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font-size: 16px; transition: border-color .15s, box-shadow .15s; }
textarea.input { min-height: 90px; resize: vertical; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 22%, transparent); }
.input[aria-invalid="true"] { border-color: var(--err); }
.field-hint { font-size: 13px; color: var(--muted); margin-top: 6px; }
.field-err { font-size: 13px; color: var(--err); margin-top: 6px; font-weight: 600; }
.field-ok { font-size: 13px; color: var(--ok); margin-top: 6px; font-weight: 600; }
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 56px; }
.pw-eye { position: absolute; right: 2px; top: 2px; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; color: var(--muted); display: grid; place-items: center; border-radius: 10px; }
.meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 8px; }
.meter i { height: 5px; border-radius: 3px; background: var(--line); transition: background .25s; }
.meter[data-s="1"] i:nth-child(-n+1) { background: var(--err); }
.meter[data-s="2"] i:nth-child(-n+2) { background: #e29a2a; }
.meter[data-s="3"] i:nth-child(-n+3) { background: #7cb342; }
.meter[data-s="4"] i { background: var(--ok); }
.check { display: flex; gap: 10px; align-items: flex-start; min-height: 44px; padding: 10px 0; font-size: 14.5px; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--brand-strong); }
.opts { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt span { display: flex; flex-direction: column; justify-content: center; min-height: 52px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); font-weight: 700; font-size: 15px; transition: border-color .15s, background .15s; }
.opt small { font-weight: 500; color: var(--muted); font-size: 12.5px; }
.opt input:checked + span { border-color: var(--brand); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand); }
.opt input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.cap-demo { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-height: 56px; padding: 10px 14px; border: 1px dashed var(--line-strong); border-radius: 12px; background: var(--surface-2); cursor: pointer; font-weight: 700; }
.cap-demo input { width: 24px; height: 24px; accent-color: var(--brand-strong); }
.cap-demo small { width: 100%; font-weight: 500; color: var(--muted); font-size: 12px; }
.alert { padding: 12px 14px; border-radius: 12px; font-size: 14.5px; margin-bottom: 14px; border: 1px solid; }
.alert-err { background: var(--err-soft); color: var(--err); border-color: color-mix(in srgb, var(--err) 30%, transparent); }
.alert-ok { background: var(--ok-soft); color: var(--ok); border-color: color-mix(in srgb, var(--ok) 30%, transparent); }
.alert-warn { background: var(--warn-soft); color: var(--warn); border-color: color-mix(in srgb, var(--warn) 30%, transparent); }
.alert-info { background: var(--brand-soft); color: var(--brand-ink); border-color: color-mix(in srgb, var(--brand) 30%, transparent); }

/* Kimlik sayfaları */
.auth { min-height: calc(100vh - 64px); padding: 28px 0 48px; position: relative; overflow: hidden; }
.auth::before { content: ""; position: absolute; width: 520px; height: 520px; right: -200px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(124, 108, 255, .35), transparent 65%); filter: blur(30px); pointer-events: none; }
.auth-card { position: relative; max-width: 480px; margin: 0 auto; }
.auth-card h1 { font-size: 28px; }
.auth-alt { text-align: center; margin-top: 18px; font-size: 15px; }
.auth-alt a { font-weight: 700; }
.ref-chip { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 16%, transparent), color-mix(in srgb, #ff6fa8 12%, transparent)); border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent); margin-bottom: 16px; font-size: 14.5px; }
.ref-chip b { color: var(--brand-ink); }
.ref-chip .ic { width: 36px; height: 36px; border-radius: 10px; flex: none; display: grid; place-items: center; background: var(--brand-strong); color: #fff; font-weight: 800; }

/* Animasyonlu bildirim kartı */
.celebrate { position: relative; overflow: hidden; text-align: center; padding: 30px 22px 24px; border-radius: 24px; color: #fff; background: radial-gradient(120% 90% at 20% 0%, #9b8cff, #5443ea 55%, #2a1f9e); box-shadow: var(--shadow-lg); }
.celebrate.is-plain { background: radial-gradient(120% 90% at 20% 0%, #5ad1b0, #1f8f78 55%, #0f5c50); }
.celebrate h2 { font-size: 26px; margin: 10px 0 6px; }
.celebrate p { color: rgba(255, 255, 255, .88); }
.celebrate .big { font-size: 54px; font-weight: 900; letter-spacing: -0.04em; line-height: 1; }
.celebrate .price { display: inline-flex; gap: 10px; align-items: baseline; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-weight: 800; margin: 6px 0 16px; }
.celebrate .btn-white { min-width: 200px; }
.confetti { position: absolute; inset: 0; pointer-events: none; }
.confetti i { position: absolute; top: -12px; width: 8px; height: 14px; border-radius: 2px; opacity: .9; animation: fall 2.6s var(--ease) forwards; }
@keyframes fall { to { transform: translateY(420px) rotate(540deg); opacity: 0; } }
.pop { animation: popIn .6s var(--ease) both; }
@keyframes popIn { from { opacity: 0; transform: translateY(18px) scale(.94); } to { opacity: 1; transform: none; } }
.notif-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); animation: slideIn .5s var(--ease) both; }
.notif-card + .notif-card { margin-top: 10px; }
.notif-card.is-unread { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }
.notif-card .ic { width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center; font-weight: 900; color: #fff; background: linear-gradient(135deg, var(--grad-a), var(--grad-b)); }
.notif-card .ic.warm { background: linear-gradient(135deg, #ffb86b, #e1306c); }
.notif-card .ic.green { background: linear-gradient(135deg, #5ad1b0, #138a5e); }
.notif-card b { display: block; }
.notif-card p { margin: 2px 0 0; font-size: 14.5px; color: var(--muted); }
.notif-card time { font-size: 12px; color: var(--muted); }
@keyframes slideIn { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }

/* Hesabım sekmeleri */
.app-main { padding: 18px 0 90px; }
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 4px; margin: 0 0 18px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; min-height: 44px; padding: 8px 16px; border: 0; border-radius: 999px; background: transparent; font-weight: 700; font-size: 14.5px; color: var(--muted); cursor: pointer; white-space: nowrap; text-decoration: none; display: inline-flex; align-items: center; }
.tab[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.hello { margin-bottom: 14px; }
.hello h1 { font-size: 26px; margin-bottom: 2px; }

/* İstatistik kutuları */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px; min-width: 0; }
.stat-l { font-size: 12.5px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.stat-v { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin-top: 2px; overflow-wrap: anywhere; }
.stat-v small { font-size: 13px; color: var(--muted); font-weight: 700; }
.stat.hl { background: linear-gradient(135deg, var(--brand-soft), var(--surface)); border-color: color-mix(in srgb, var(--brand) 30%, var(--line)); }

/* Teklif */
.offer-hero { border-radius: 24px; padding: 22px; color: #fff; background: radial-gradient(120% 100% at 0% 0%, #8b7dff, #4f3ee6 60%, #2a1f9e); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.offer-hero .tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .18); font-size: 12.5px; font-weight: 800; }
.offer-hero .amt { font-size: 44px; font-weight: 900; letter-spacing: -0.04em; margin: 8px 0 0; line-height: 1.05; }
.offer-hero .amt small { font-size: 18px; }
.offer-hero .was { opacity: .85; font-size: 15px; }
.offer-hero p { color: rgba(255, 255, 255, .9); }
.pricelines { margin: 14px 0 0; padding: 0; list-style: none; }
.pricelines li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line-strong); font-size: 15px; }
.pricelines li:last-child { border-bottom: 0; font-weight: 800; font-size: 17px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.ticks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.steps li { counter-increment: s; display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.steps li::before { content: counter(s); flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); font-weight: 800; font-size: 14px; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.badge.ok { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.badge.warn { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.badge.err { background: var(--err-soft); color: var(--err); border-color: transparent; }
.badge.brand { background: var(--brand-soft); color: var(--brand-ink); border-color: transparent; }
.badge.legal { background: var(--warn-soft); color: var(--warn); border: 1px dashed color-mix(in srgb, var(--warn) 50%, transparent); }

/* Zaman çizelgesi */
.tl { list-style: none; margin: 0; padding: 0; position: relative; }
.tl li { position: relative; padding: 0 0 18px 34px; }
.tl li::before { content: ""; position: absolute; left: 11px; top: 24px; bottom: 0; width: 2px; background: var(--line); }
.tl li:last-child::before { display: none; }
.tl .d { position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line-strong); background: var(--surface); display: grid; place-items: center; }
.tl li.done .d { background: var(--ok); border-color: var(--ok); }
.tl li.done .d::after { content: ""; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.tl li.now .d { border-color: var(--brand); box-shadow: 0 0 0 5px color-mix(in srgb, var(--brand) 20%, transparent); }
.tl li.now .d::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); animation: pulse 1.4s infinite; }
.tl b { display: block; font-size: 15px; }
.tl small { color: var(--muted); font-size: 13px; }
.tl li.todo b { color: var(--muted); font-weight: 600; }

/* Ödeme */
.paybox { border-radius: 18px; border: 1px solid var(--line); background: var(--surface-2); padding: 16px; }
.kv { display: grid; grid-template-columns: 1fr; gap: 10px; }
.kv > div { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.kv dt, .kv .k { font-size: 12.5px; color: var(--muted); font-weight: 700; }
.kv .v { font-weight: 800; overflow-wrap: anywhere; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 15px; }
.kv .v.big { font-size: 22px; font-family: var(--font); }
.copy { min-height: 44px; min-width: 44px; padding: 6px 12px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); cursor: pointer; font-weight: 700; font-size: 13px; }
.qr-wrap { display: grid; place-items: center; padding: 14px; border-radius: 16px; background: #fff; width: max-content; margin: 0 auto; box-shadow: var(--shadow); }
.countdown { font-variant-numeric: tabular-nums; font-weight: 900; font-size: 26px; letter-spacing: -0.02em; }
.countdown.low { color: var(--err); }

/* Paylaş */
.share-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (min-width: 560px) { .share-grid { grid-template-columns: repeat(6, 1fr); } }
.share-btn { min-height: 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; font-size: 12.5px; cursor: pointer; text-decoration: none; color: var(--text); }
.share-btn .sq { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 900; }
.linkbox { display: flex; gap: 8px; align-items: center; padding: 6px 6px 6px 14px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--surface); }
.linkbox code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14.5px; }
.card-prev { display: grid; gap: 14px; }
@media (min-width: 720px) { .card-prev { grid-template-columns: 1fr 1fr; align-items: start; } }
.card-prev canvas { width: 100%; height: auto; border-radius: 16px; box-shadow: var(--shadow-lg); background: var(--surface-2); }
.card-prev .story { max-width: 280px; margin: 0 auto; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.seg button { min-height: 44px; padding: 6px 14px; border: 0; border-radius: 999px; background: none; font-weight: 700; cursor: pointer; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }

/* Liste / tablo (mobilde kart) */
.list { display: grid; gap: 10px; }
.item { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px; min-width: 0; }
.item-h { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; flex-wrap: wrap; }
.item-h b { font-size: 15.5px; overflow-wrap: anywhere; }
.meta { display: flex; gap: 6px 14px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.meta span { overflow-wrap: anywhere; }
.item-act { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.empty { text-align: center; color: var(--muted); padding: 28px 12px; border: 1px dashed var(--line-strong); border-radius: 16px; }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th, .tbl td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl th { font-size: 12px; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); background: var(--surface-2); }

/* Yönetim düzeni */
.adm { display: grid; gap: 16px; padding: 16px 0 60px; }
@media (min-width: 1000px) { .adm { grid-template-columns: 220px 1fr; align-items: start; } .adm-nav { position: sticky; top: 80px; flex-direction: column; border-radius: 18px; overflow: visible; } .adm-nav .tab { justify-content: flex-start; } }
.adm-nav { margin: 0; }
.adm > *, .grid > *, .card { min-width: 0; }
.row > .input, .row > select.input { flex: 1 1 180px; width: auto; min-width: 0; }
.adm h1 { font-size: 24px; }
.funnel { display: grid; gap: 8px; }
.funnel-row { display: grid; grid-template-columns: 120px 1fr 56px; gap: 10px; align-items: center; font-size: 14px; }
.funnel-bar { height: 26px; border-radius: 8px; background: var(--surface-2); overflow: hidden; }
.funnel-bar i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--grad-a), var(--grad-b)); transform-origin: left; animation: grow .8s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } }
.funnel-row b { text-align: right; }
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.toolbar .input { flex: 1 1 200px; min-height: 44px; }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chip { flex: none; min-height: 44px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; font-size: 13px; cursor: pointer; color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--brand-soft); color: var(--brand-ink); border-color: transparent; }
.notif-panel { position: fixed; right: 12px; top: 72px; width: min(380px, calc(100vw - 24px)); max-height: 70vh; overflow: auto; z-index: 60; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 12px; }
.sc-prev { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.sc-card { border-radius: 16px; border: 1px solid var(--line); background: var(--surface); overflow: hidden; position: relative; }
.sc-cover { height: 90px; }
.sc-body { padding: 10px; font-size: 13px; }
.sc-av { width: 42px; height: 42px; border-radius: 50%; margin: -30px 0 6px; border: 3px solid var(--surface); display: grid; place-items: center; color: #fff; font-weight: 800; }
.sc-flag { position: absolute; top: 8px; left: 8px; }
.legal-note { font-size: 13px; color: var(--warn); margin-top: 4px; }

/* Pencere ve bildirim balonu */
.modal { border: 0; padding: 0; border-radius: 20px; background: var(--surface); color: var(--text); width: min(460px, calc(100vw - 24px)); box-shadow: var(--shadow-lg); }
.modal::backdrop { background: rgba(10, 10, 20, .55); backdrop-filter: blur(3px); }
.modal-in { padding: 20px; }
.modal-t { font-size: 20px; }
.modal-act { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; margin-top: 16px; }
.modal .input { margin-top: 6px; }
.toast { position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; z-index: 100; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 14px; font-weight: 700; font-size: 14.5px; color: #fff; background: #1d1e33; box-shadow: var(--shadow-lg); transition: transform .3s var(--ease), opacity .3s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.is-err { background: #b0302a; }
.spin { width: 22px; height: 22px; border: 3px solid var(--line); border-top-color: var(--brand); border-radius: 50%; animation: rot .8s linear infinite; margin: 30px auto; }
@keyframes rot { to { transform: rotate(360deg); } }
.foot { border-top: 1px solid var(--line); padding: 20px 0 30px; font-size: 13.5px; color: var(--muted); }
.foot a { color: var(--muted); display: inline-flex; align-items: center; min-height: 44px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .confetti { display: none; }
}
