:root {
  --navy: #13294B;
  --ink: #12203A;
  --muted: #4A5468;
  --muted-2: #5A6274;
  --bg: #FFFFFF;
  --soft: #F4F3EF;
  --surface: #FFFFFF;
  --line: #E1DED6;
  --line-2: #D6D2C8;
  --accent: #F2B33D;
  --ok: #1F6F45;
  --ok-bg: #E7F3EB;
  --bad: #B3261E;
  --bad-bg: #FBEBE9;
  --gold: #F2B33D;
  --silver: #C9CDD6;
  --bronze: #D9A066;
  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --body: Manrope, 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); -webkit-text-size-adjust: 100%; }
button, input, select, textarea { font-family: inherit; font-size: 16px; color: var(--ink); }
button { cursor: pointer; }
a { color: var(--navy); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
.nosb { scrollbar-width: none; }
.nosb::-webkit-scrollbar { display: none; }

/* ---------- Ortak ---------- */
.brand { display: flex; align-items: baseline; gap: 6px; }
.brand b { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.03em; color: var(--navy); }
.brand span { font-weight: 700; font-size: 12px; letter-spacing: 0.24em; color: var(--muted); }
.h1 { margin: 0; font-family: var(--display); font-size: 30px; line-height: 1.1; font-weight: 800; letter-spacing: -0.025em; }
.h2 { margin: 0; font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: -0.015em; }
.sub { margin: 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.btn { min-height: 54px; border-radius: 14px; border: none; background: var(--navy); color: #fff; font-size: 16px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 20px; text-decoration: none; text-align: center; }
.btn:disabled { background: var(--line); color: var(--muted-2); cursor: default; }
.btn.ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); }
.btn.danger { background: var(--surface); color: var(--bad); border: 1px solid #E8B4AF; }
.btn.small { min-height: 40px; font-size: 14px; border-radius: 10px; padding: 0 14px; }
.link-btn { background: none; border: none; padding: 10px 0; font-size: 14px; font-weight: 700; color: var(--navy); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; }
.pill { display: inline-block; font-size: 12px; font-weight: 800; border-radius: 8px; padding: 4px 10px; }
.empty { background: var(--soft); border-radius: 22px; padding: 26px; text-align: center; font-size: 14px; font-weight: 600; color: var(--muted); }
.err { background: var(--bad-bg); color: #8C1D18; border-radius: 10px; padding: 10px 14px; font-size: 14px; font-weight: 700; }
.ok-msg { background: #E2F1E7; color: #1A5E3A; border-radius: 10px; padding: 10px 14px; font-size: 14px; font-weight: 700; }
.notice { background: #FFF4DC; color: #5C3B00; border-radius: 14px; padding: 14px 16px; font-size: 14px; font-weight: 700; line-height: 1.4; }
.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 14px; font-weight: 700; z-index: 50; max-width: 90vw; }
.loading { min-height: 100dvh; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; color: var(--navy); letter-spacing: 0.1em; }

/* ---------- Formlar ---------- */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: #39425A; }
.field input, .field select, .field textarea { min-height: 48px; border: 1px solid #C9C4B8; border-radius: 12px; padding: 0 14px; background: var(--surface); font-weight: 500; }
.field textarea { padding: 12px 14px; resize: vertical; line-height: 1.45; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.4; padding: 6px 0; }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--navy); flex: 0 0 auto; }

/* ---------- Uygulama iskeleti ---------- */
.app { max-width: 520px; margin: 0 auto; min-height: 100dvh; padding: calc(20px + env(safe-area-inset-top, 0px)) 20px calc(110px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 24px; }
.app.in-exam { padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px)); }
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--surface); border-top: 1px solid var(--line); padding: 8px 8px calc(10px + env(safe-area-inset-bottom, 0px)); }
.tabbar-in { max-width: 520px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tab { background: none; border: none; min-height: 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 11px; font-weight: 700; color: var(--muted-2); }
.tab[aria-current="page"] { color: var(--navy); font-weight: 800; }

/* ---------- Giriş ---------- */
.auth { max-width: 480px; margin: 0 auto; min-height: 100dvh; padding: calc(36px + env(safe-area-inset-top, 0px)) 20px calc(32px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 22px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: #ECEAE4; border-radius: 12px; padding: 3px; }
.seg button { height: 42px; border: none; border-radius: 9px; background: transparent; font-size: 14px; font-weight: 800; }
.seg button[aria-selected="true"] { background: var(--surface); box-shadow: 0 1px 4px rgba(18, 32, 58, 0.15); }
.form { display: flex; flex-direction: column; gap: 14px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ---------- Kampanyalar ---------- */
.count { font-size: 12px; font-weight: 800; background: var(--navy); color: #fff; border-radius: 999px; padding: 2px 9px; margin-left: 8px; vertical-align: middle; }
.chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 -20px; padding: 0 20px; }
.chip { flex: 0 0 auto; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 14px; font-weight: 700; }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.camp-badge { background: var(--accent); color: var(--ink); font-weight: 800; font-size: 13px; border-radius: 8px; padding: 4px 10px; flex: 0 0 auto; }
.camp-cat { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.86); }
.camp-title { font-family: var(--display); font-size: 20px; line-height: 1.15; font-weight: 700; letter-spacing: -0.015em; }
.camp-item { overflow: hidden; display: flex; flex-direction: column; }
.camp-item-head { color: #fff; padding: 16px 18px; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.camp-item-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 12px; }
.bar { height: 8px; border-radius: 4px; background: #ECE9E2; overflow: hidden; }
.bar i { display: block; height: 8px; border-radius: 4px; background: var(--navy); }
.bar.urgent i { background: #C2570C; }
.meta { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--muted); gap: 8px; }
.cd-text { font-family: var(--display); font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- Geri sayım kutuları ---------- */
.cd { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.cd div { background: rgba(255,255,255,0.12); border-radius: 10px; padding: 7px 0 6px; display: flex; flex-direction: column; align-items: center; }
.cd b { font-family: var(--display); font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.cd small { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; color: rgba(255,255,255,0.8); }

/* ---------- Deneme kartları ---------- */
.exam-hero { background: var(--navy); color: #fff; border-radius: 24px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.exam-hero .h2 { font-size: 22px; }
.exam-hero p { margin: 0; font-size: 14px; line-height: 1.45; color: rgba(255,255,255,0.88); }
.exam-hero .btn { background: var(--accent); color: var(--ink); }
.exam-hero .btn:disabled { background: rgba(255,255,255,0.18); color: rgba(255,255,255,0.8); }
.status-tag { align-self: flex-start; font-size: 12px; font-weight: 800; border-radius: 8px; padding: 5px 10px; background: rgba(255,255,255,0.16); color: #fff; }
.status-tag.live { background: var(--accent); color: var(--ink); }
.facts { display: flex; flex-wrap: wrap; gap: 8px; }
.facts span { font-size: 13px; font-weight: 700; background: rgba(255,255,255,0.12); border-radius: 8px; padding: 6px 10px; }
.prizes { display: flex; flex-direction: column; gap: 6px; }
.prize { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; }
.medal { flex: 0 0 30px; height: 30px; border-radius: 15px; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 14px; color: var(--ink); }
.m1 { background: var(--gold); } .m2 { background: var(--silver); } .m3 { background: var(--bronze); }
.mx { background: var(--soft); color: var(--muted); }
.big-time { font-family: var(--display); font-size: 34px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }

/* ---------- Sınav ekranı ---------- */
.exam-bar { position: sticky; top: 0; z-index: 10; background: var(--bg); margin: calc(-20px - env(safe-area-inset-top, 0px)) -20px 0; padding: calc(12px + env(safe-area-inset-top, 0px)) 20px 12px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.timer { font-family: var(--display); font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; }
.timer.warn { color: var(--bad); }
.sync { font-size: 12px; font-weight: 700; color: var(--muted); }
.q-box { display: flex; flex-direction: column; gap: 12px; }
.q-sub { font-size: 12px; font-weight: 800; color: var(--muted); }
.q-text { font-family: var(--display); font-size: 20px; line-height: 1.35; font-weight: 600; margin: 0; white-space: pre-line; }
.opts { display: flex; flex-direction: column; gap: 10px; }
.opt { min-height: 56px; display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 16px; border: 2px solid var(--line); background: var(--surface); font-size: 15px; font-weight: 600; text-align: left; line-height: 1.4; }
.opt .l { flex: 0 0 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--soft); font-weight: 800; font-size: 14px; }
.opt .t { flex: 1; }
.opt[aria-checked="true"] { border-color: var(--navy); background: #EEF1F7; }
.opt[aria-checked="true"] .l { background: var(--navy); color: #fff; }
.nav-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qnav { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 8px; }
.qnav button { height: 44px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); font-weight: 800; font-size: 14px; }
.qnav button.done { background: var(--navy); border-color: var(--navy); color: #fff; }
.qnav button[aria-current="true"] { box-shadow: 0 0 0 3px var(--accent); }

/* ---------- Sonuçlar ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.stat { background: var(--soft); border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 2px; }
.stat b { font-family: var(--display); font-size: 22px; font-weight: 800; }
.stat span { font-size: 12px; font-weight: 700; color: var(--muted); }
.rank-box { background: var(--navy); color: #fff; border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.rank-box b { font-family: var(--display); font-size: 40px; font-weight: 800; line-height: 1; }
.lb { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.lb-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid #EFECE6; }
.lb-row:last-child { border-bottom: none; }
.lb-row.me { background: #FFF8E6; }
.lb-name { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lb-name b { font-size: 15px; }
.lb-name span { font-size: 12px; color: var(--muted); }
.lb-net { font-family: var(--display); font-size: 18px; font-weight: 800; }
.review { display: flex; flex-direction: column; gap: 10px; }
.review-item { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.45; }
.review-item .ans { display: flex; gap: 12px; flex-wrap: wrap; font-weight: 800; font-size: 13px; }
.c-ok { color: var(--ok); } .c-bad { color: var(--bad); } .c-blank { color: var(--muted); }
details summary { cursor: pointer; font-weight: 800; padding: 10px 0; min-height: 44px; }

/* ---------- Profil ---------- */
.list { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.list > div { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid #ECE9E2; font-size: 15px; }
.list > div:last-child { border-bottom: none; }
.list span:last-child { color: var(--muted); text-align: right; }

/* ---------- Yönetim paneli ---------- */
.panel { min-height: 100vh; display: flex; flex-wrap: wrap; background: var(--soft); }
.side { flex: 1 1 220px; background: var(--navy); color: #fff; padding: 28px 18px; display: flex; flex-direction: column; gap: 28px; }
.side .brand b, .side .brand span { color: #fff; }
.side nav { display: flex; flex-direction: column; gap: 4px; }
.side nav button { text-align: left; min-height: 44px; padding: 0 12px; border-radius: 10px; border: none; background: transparent; color: rgba(255,255,255,0.86); font-size: 14px; font-weight: 700; }
.side nav button[aria-current="page"] { background: rgba(255,255,255,0.14); color: #fff; font-weight: 800; }
.side .who { margin-top: auto; font-size: 12px; color: rgba(255,255,255,0.8); display: flex; flex-direction: column; gap: 8px; word-break: break-all; }
.side .who button { align-self: flex-start; background: rgba(255,255,255,0.14); color: #fff; border: none; border-radius: 10px; height: 40px; padding: 0 14px; font-weight: 700; font-size: 14px; }
.main { flex: 999 1 560px; min-width: 0; padding: 32px clamp(16px, 3vw, 40px) 48px; display: flex; flex-direction: column; gap: 24px; }
.table-box { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow-x: auto; }
table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14px; }
th { text-align: left; color: var(--muted); font-size: 12px; font-weight: 800; padding: 14px 12px; border-bottom: 1px solid var(--line); }
td { padding: 12px; border-bottom: 1px solid #EFECE6; vertical-align: middle; }
tr:last-child td { border-bottom: none; }
.status { font-size: 12px; font-weight: 800; border-radius: 999px; padding: 4px 10px; white-space: nowrap; display: inline-block; }
.s-live { background: #E2F1E7; color: #1A5E3A; }
.s-plan { background: #E3E9F5; color: var(--navy); }
.s-end { background: #ECEAE4; color: var(--muted); }
.s-wait { background: #FBE7D3; color: #6E2C05; }
.grid-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.swatches { display: flex; gap: 10px; }
.swatches button { width: 44px; height: 44px; border-radius: 12px; border: 3px solid transparent; box-shadow: inset 0 0 0 2px #fff; }
.swatches button[aria-pressed="true"] { border-color: var(--accent); }
.qed { border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--surface); }
.qed-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.qed-head b { font-family: var(--display); font-size: 16px; }
.opt-row { display: flex; align-items: center; gap: 10px; }
.opt-row label { display: flex; align-items: center; gap: 6px; min-width: 56px; min-height: 44px; font-weight: 800; }
.opt-row input[type="radio"] { width: 20px; height: 20px; accent-color: var(--ok); margin: 0; }
.opt-row input[type="text"] { flex: 1; min-width: 0; height: 44px; border: 1px solid #C9C4B8; border-radius: 10px; padding: 0 14px; }
.camp-preview { color: #fff; border-radius: 22px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
pre.hint { background: var(--soft); border-radius: 12px; padding: 12px 14px; font-size: 13px; line-height: 1.5; margin: 0; white-space: pre-wrap; font-family: var(--body); }

@media (max-width: 380px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.camp-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.camp-desc { font-size: 13px; line-height: 1.4; color: rgba(255,255,255,0.86); }
.camp-foot { font-size: 12px; color: rgba(255,255,255,0.82); }

/* ---------- Geçmiş ve cevap incelemesi ---------- */
.hist-row { width: 100%; background: var(--surface); border: none; border-bottom: 1px solid #EFECE6; text-align: left; font: inherit; color: inherit; cursor: pointer; min-height: 64px; }
.hist-row:last-child { border-bottom: none; }
.hist-row:disabled { cursor: default; }
.hist-rank { display: flex; flex-direction: column; align-items: flex-end; flex: 0 0 auto; }
.hist-rank b { font-family: var(--display); font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }
.hist-rank small { font-size: 12px; font-weight: 700; color: var(--muted); }
.rq { border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.rq-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.rq-text { margin: 0; font-family: var(--display); font-size: 17px; line-height: 1.4; font-weight: 600; white-space: pre-line; }
.ropts { display: flex; flex-direction: column; gap: 8px; }
.ropt { display: flex; align-items: flex-start; gap: 10px; padding: 8px 10px; border-radius: 12px; border: 2px solid transparent; background: var(--soft); font-size: 14px; line-height: 1.4; }
.ropt .l { flex: 0 0 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; background: var(--surface); font-weight: 800; font-size: 13px; }
.ropt .t { flex: 1; display: flex; flex-direction: column; gap: 2px; padding-top: 3px; }
.ropt small { font-size: 12px; font-weight: 800; }
.ropt.is-ok { background: var(--ok-bg); border-color: var(--ok); }
.ropt.is-ok .l { background: var(--ok); color: #fff; }
.ropt.is-ok small { color: var(--ok); }
.ropt.is-bad { background: var(--bad-bg); border-color: var(--bad); }
.ropt.is-bad .l { background: var(--bad); color: #fff; }
.ropt.is-bad small { color: var(--bad); }
.rtag { font-size: 12px; font-weight: 800; border-radius: 999px; padding: 3px 10px; }
.rtag.ok { background: var(--ok-bg); color: var(--ok); }
.rtag.bad { background: var(--bad-bg); color: var(--bad); }
.rtag.blank { background: var(--soft); color: var(--muted); }
#home-push:empty { display: none; }

/* ---------- Deneme takvimi ana sayfa ---------- */
.hero-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.exam-hero .btn.hero-ghost { background: transparent; color: #FFFFFF; border: 1px solid rgba(255,255,255,0.35); }
.prog { display: flex; flex-direction: column; gap: 8px; }
.ex-row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.ex-row.next { border-color: var(--accent); background: #FFF8E6; }
.ex-row.past .ex-title { color: var(--muted-2); }
.ex-date { flex: 0 0 52px; height: 58px; border-radius: 12px; border: none; background: #EEF1F7; color: var(--navy); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0; }
.ex-date b { font-family: var(--display); font-size: 20px; line-height: 1; }
.ex-date span { font-size: 11px; font-weight: 800; letter-spacing: 0.06em; }
.ex-date.gen { background: var(--navy); color: var(--accent); }
.ex-row.past .ex-date { background: var(--soft); color: var(--muted-2); }
.ex-main { flex: 1; min-width: 0; border: none; background: none; padding: 0; text-align: left; display: flex; flex-direction: column; gap: 3px; color: var(--ink); }
.ex-kind { font-size: 11px; font-weight: 800; letter-spacing: 0.04em; color: var(--muted); }
.ex-kind.gen { color: #B07A12; }
.ex-title { font-size: 15px; font-weight: 800; line-height: 1.25; }
.ex-sub { font-size: 12px; font-weight: 600; color: var(--muted); }
.cal-btn { flex: 0 0 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--navy); display: flex; align-items: center; justify-content: center; }
.cal-btn.on { border-color: var(--ok); background: var(--ok-bg); color: var(--ok); }
.row-note { flex: 0 0 auto; font-size: 12px; font-weight: 800; color: var(--muted); text-align: right; max-width: 84px; }
.row-note.ok { color: var(--ok); }
.row-res { flex: 0 0 auto; border: none; background: none; padding: 4px 0; display: flex; flex-direction: column; align-items: flex-end; color: var(--ink); min-height: 44px; justify-content: center; }
.row-res b { font-family: var(--display); font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; }
.row-res small { font-size: 11px; font-weight: 700; color: var(--ok); }
.cd-light div { background: var(--soft); }
.cd-light b { color: var(--ink); }
.cd-light small { color: var(--muted); }

/* ---------- Bannerlar ---------- */
.bn { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; text-decoration: none; }
.bn-big { padding: 18px; border-radius: 22px; gap: 14px; overflow: hidden; }
.bn-tag { flex: 0 0 auto; font-size: 10px; font-weight: 800; letter-spacing: 0.08em; border: 1px solid; border-radius: 6px; padding: 3px 6px; }
.bn-books { flex: 0 0 92px; height: 104px; position: relative; }
.bn-books i { position: absolute; width: 58px; height: 88px; border-radius: 4px 8px 8px 4px; font-style: normal; }
.bn-books i:nth-child(1) { left: 0; top: 14px; background: var(--accent); box-shadow: inset 6px 0 0 rgba(0,0,0,0.18); }
.bn-books i:nth-child(2) { left: 20px; top: 7px; background: #FFFFFF; box-shadow: inset 6px 0 0 rgba(0,0,0,0.12); }
.bn-books i:nth-child(3) { left: 36px; top: 0; width: 54px; background: var(--navy); box-shadow: inset 6px 0 0 rgba(255,255,255,0.12); color: var(--accent); font-family: var(--display); font-size: 11px; font-weight: 800; letter-spacing: 0.08em; display: flex; align-items: center; justify-content: center; }

/* ---------- Takvime ekle penceresi ---------- */
.sheet-back { position: fixed; inset: 0; background: rgba(18,32,58,0.45); z-index: 60; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 61; max-width: 520px; margin: 0 auto; background: var(--surface); border-radius: 24px 24px 0 0; padding: 12px 20px calc(24px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 12px; }
.sheet-handle { align-self: center; width: 40px; height: 5px; border-radius: 3px; background: var(--line-2); }
.sheet-opt { min-height: 52px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font-size: 15px; font-weight: 800; display: flex; align-items: center; gap: 12px; padding: 0 16px; text-decoration: none; text-align: left; }
.sheet-ic { flex: 0 0 28px; height: 28px; border-radius: 8px; background: var(--soft); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; }

/* iPhone: çift dokunmada yakınlaştırmayı kapat (iki parmakla yakınlaştırma çalışmaya devam eder) */
html, body { touch-action: manipulation; }
button, a, input, select, textarea, label, .chip, .opt, .tab, .qnav button { touch-action: manipulation; }

/* Yana kaymayı önle: hiçbir öğe ekrandan taşmasın */
html { overflow-x: clip; }
.two > *, .grid-form > *, .field { min-width: 0; }
.field input, .field select, .field textarea { width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; }
.auth, .app { max-width: 100%; }

/* Açılış ekranı: Android açılış ekranıyla aynı görünüm (beyaz zemin + simge) */
.loading { flex-direction: column; gap: 22px; background: #FFFFFF; position: fixed; inset: 0; z-index: 100; }
.loading img { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 6px 20px rgba(19,41,75,0.18); }
.spinner { width: 26px; height: 26px; border-radius: 50%; border: 3px solid #E1DED6; border-top-color: var(--navy); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 2s; } }
