/* Hadi Sende · Abone — tasarım sistemi.
   Dil: sinematik koyu zemin, tek vurgu rengi kırmızı, keskin 4 px köşeler, kalın başlıklar, satır/kart düzeni.
   Yazı tipi: Google Sans (yerel, /fonts). Boşluklar 8 px ızgarasındandır (8·16·24·32·48·64·96).
   Yalnızca /abone sayfalarında yüklenir; sitenin kalan bölümünü etkilemez. */

@font-face { font-family: "HS Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/fonts/google-sans-latin-ext-wght-normal.woff2") format("woff2-variations"), url("/fonts/google-sans-latin-ext-wght-normal.woff2") format("woff2");
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "HS Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/fonts/google-sans-latin-wght-normal.woff2") format("woff2-variations"), url("/fonts/google-sans-latin-wght-normal.woff2") format("woff2");
  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; }

:root {
  color-scheme: dark;
  --bg: #141414; --bg0: #000; --s1: #181818; --s2: #1f1f1f; --s3: #2b2b2b; --s4: #333;
  --line: rgba(255, 255, 255, .14); --line2: rgba(255, 255, 255, .32);
  --tx: #fff; --tx2: #e5e5e5; --tx3: #b3b3b3; --tx4: #8c8c8c;
  --red: #e50914; --redh: #f6121d; --redd: #b20710;
  --green: #46d369; --amber: #f5a623; --warn: #e87c03;
  --wa: #168a47; --wah: #1aa254;
  --r: 4px; --r2: 8px; --r3: 16px;
  --gx: 16px; --maxw: 1200px; --nav-h: 56px; --bar: #202124; --bar-pill: #2e3c54; --bar-blue: #8ab4f8;
  --safe-t: env(safe-area-inset-top, 0px); --safe-b: env(safe-area-inset-bottom, 0px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "HS Sans", "Google Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (min-width: 600px) { :root { --gx: 24px; } }
@media (min-width: 1024px) { :root { --gx: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg0); overscroll-behavior-y: none; }
body { margin: 0; overscroll-behavior-y: none; min-height: 100vh; min-height: 100dvh; background: var(--bg); color: var(--tx); font: 400 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; overflow-wrap: break-word; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
img, svg { max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
b, strong { font-weight: 700; }
small { font-size: 13px; }
[hidden] { display: none !important; }
:focus { outline: none; }
:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 2px; }
::selection { background: rgba(229, 9, 20, .55); color: #fff; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 500; padding: 8px 16px; background: #fff; color: #000; border-radius: var(--r); font-weight: 500; }
.skip:focus { top: 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gx); }
.hide-s { display: none; }
@media (min-width: 600px) { .hide-s { display: inline; } }
.ic { flex: none; }
.av { border-radius: var(--r); object-fit: cover; background: #2b2b2b; display: block; }
* { scrollbar-width: thin; scrollbar-color: #4a4a4a transparent; }

/* Sayfa geçişi: yalnızca saydamlık (dönüşüm yok → sabit konumlu çubuklar görünüm alanına göre kalır) */
#view { min-height: 100vh; min-height: 100dvh; animation: fade .35s ease backwards; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.boot { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; background: var(--bg0); }
.boot__sp, .spin { width: 40px; height: 40px; border: 4px solid rgba(255, 255, 255, .16); border-top-color: var(--red); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Görünme animasyonu */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.rv.in { opacity: 1; transform: none; }

/* ------------------------------------------------------------------------------------------ Düğmeler */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border: 0; border-radius: var(--r); font-size: 16px; font-weight: 500; line-height: 1.2; text-align: center; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s, border-color .2s, transform .15s; -webkit-tap-highlight-color: transparent; user-select: none; }
.btn:active { transform: scale(.98); }
.btn--pri { background: var(--red); color: #fff; }
.btn--pri:hover { background: var(--redh); }
.btn--sec { background: rgba(109, 109, 110, .7); color: #fff; }
.btn--sec:hover { background: rgba(109, 109, 110, .45); }
.btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px #fff; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wah); }
.btn--danger { background: transparent; color: #ff6b73; box-shadow: inset 0 0 0 1px rgba(229, 9, 20, .8); }
.btn--danger:hover { background: var(--red); color: #fff; }
.btn--lg { min-height: 56px; padding: 0 32px; font-size: 18px; }
.btn--sm { min-height: 36px; padding: 0 16px; font-size: 14px; }
@media (max-width: 359px) { .btn--lg { padding: 0 16px; font-size: 16px; } }
.btn--block { display: flex; width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn.is-busy { color: transparent !important; pointer-events: none; }
.btn.is-busy > * { visibility: hidden; }
.btn.is-busy::after { content: ""; position: absolute; width: 20px; height: 20px; border: 3px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.link { color: var(--tx3); text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; }
.link:hover { color: #fff; }

/* ------------------------------------------------------------------------------------------ Form */
.field { margin-bottom: 24px; }
.field > label, .lbl { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; color: var(--tx3); }
.lbl small { font-weight: 400; color: var(--tx4); }
.field > small, .help { display: block; margin-top: 8px; font-size: 13px; line-height: 1.5; color: var(--tx4); }
.field > small b, .help b { color: var(--tx3); font-weight: 500; }
.inp { display: block; width: 100%; height: 52px; padding: 0 16px; border: 1px solid transparent; border-radius: var(--r); background: var(--s4); color: #fff; font: 400 16px/1.3 var(--font); transition: border-color .2s, background .2s, box-shadow .2s; appearance: none; -webkit-appearance: none; }
.inp::placeholder { color: var(--tx4); }
.inp:hover { background: #3a3a3a; }
.inp:focus { border-color: #fff; background: #3a3a3a; outline: none; }
.inp.is-bad { border-color: var(--warn); }
.inp:disabled { opacity: .55; cursor: not-allowed; }
select.inp { padding-right: 40px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23b3b3b3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>"); background-repeat: no-repeat; background-position: right 12px center; text-overflow: ellipsis; }
select.inp option { background: #2b2b2b; color: #fff; }
.err { min-height: 0; margin: 0 0 16px; color: var(--warn); font-size: 14px; line-height: 1.5; }
.err:empty { display: none; }
.err a { color: #fff; text-decoration: underline; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.row3 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 1.2fr); gap: 8px; }
@media (max-width: 479px) { .row2 { grid-template-columns: minmax(0, 1fr); gap: 0; } }
.phone-in { display: flex; align-items: stretch; }
.phone-in .pre { display: grid; place-items: center; flex: none; padding: 0 16px; background: #262626; border-radius: var(--r) 0 0 var(--r); color: var(--tx3); font-weight: 500; }
.phone-in .inp { border-radius: 0 var(--r) var(--r) 0; }
.pw { position: relative; }
.pw .inp { padding-right: 56px; }
.pw button { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; color: var(--tx3); border-radius: var(--r); }
.pw button:hover { color: #fff; }
.meter { display: grid; grid-template-columns: repeat(4, 1fr) auto; align-items: center; gap: 4px; margin: -12px 0 24px; }
.meter i { height: 4px; border-radius: 2px; background: #404040; transition: background .2s; }
.meter span { margin-left: 8px; min-width: 40px; font-size: 13px; color: var(--tx3); }
.meter[data-s="1"] i:nth-child(-n+1) { background: var(--red); }
.meter[data-s="2"] i:nth-child(-n+2) { background: var(--warn); }
.meter[data-s="3"] i:nth-child(-n+3) { background: var(--amber); }
.meter[data-s="4"] i:nth-child(-n+4) { background: var(--green); }

/* Seçim kutucukları */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.tiles--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 359px) { .tiles--2 { grid-template-columns: minmax(0, 1fr); } }
.tile { position: relative; display: flex; align-items: center; gap: 16px; min-height: 56px; padding: 12px 16px; border: 2px solid transparent; border-radius: var(--r); background: var(--s3); color: #fff; font-weight: 500; text-align: left; transition: background .2s, border-color .2s; }
.tile:hover { background: #383838; }
.tile > span:not(.tk) { flex: 1; min-width: 0; }
.tile small { display: block; margin-top: 2px; font-weight: 400; line-height: 1.4; color: var(--tx3); }
.tile .tk { order: 2; flex: none; width: 24px; height: 24px; display: grid; place-items: center; border: 2px solid #6b6b6b; border-radius: 50%; color: transparent; transition: background .2s, border-color .2s, color .2s; }
.tile.is-on { border-color: #fff; background: #262626; }
.tile.is-on .tk { background: #fff; border-color: #fff; color: #000; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 1px solid #595959; border-radius: 999px; background: transparent; color: var(--tx2); font-size: 14px; font-weight: 500; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: #fff; color: #fff; }
.chip.is-on { background: #fff; border-color: #fff; color: #000; }
.chip__x { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: -8px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .12); color: inherit; }
.mini-chip { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; margin: 2px 8px 2px 0; border-radius: 999px; background: #3a3a3a; color: #fff; font-size: 13px; font-weight: 500; }
.tag { display: inline-flex; align-items: center; gap: 4px; min-height: 24px; padding: 0 8px; border-radius: var(--r); background: #333; color: var(--tx2); font-size: 12px; font-weight: 500; }
.tag--ok { background: rgba(70, 211, 105, .16); color: var(--green); }
.tag--warn { background: rgba(232, 124, 3, .2); color: #ffa040; }
.chks { display: grid; gap: 16px; }
.chk { display: flex; align-items: flex-start; gap: 16px; padding: 16px; background: var(--s3); border-radius: var(--r); font-size: 14px; line-height: 1.6; color: var(--tx2); cursor: pointer; scroll-margin-block: 96px; }
.chk input { position: absolute; opacity: 0; pointer-events: none; }
.chk .bx { flex: none; display: grid; place-items: center; width: 24px; height: 24px; margin-top: 0; border: 2px solid #6b6b6b; border-radius: 4px; color: transparent; transition: background .2s, border-color .2s, color .2s; }
.chk input:checked + .bx { background: var(--red); border-color: var(--red); color: #fff; }
.chk input:focus-visible + .bx { outline: 2px solid #fff; outline-offset: 2px; }
.chk a { color: #fff; }
.chk b { font-weight: 500; color: #fff; }
.shake { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.note { display: flex; gap: 16px; align-items: flex-start; padding: 16px; margin-bottom: 24px; border-radius: var(--r); background: var(--s3); border-left: 4px solid var(--tx4); font-size: 14px; line-height: 1.6; color: var(--tx2); }
.note b { color: #fff; font-weight: 700; }
.note > .ic { margin-top: 2px; }
.note--info { border-left-color: #4da3ff; }
.note--info > .ic { color: #4da3ff; }
.note--ok { border-left-color: var(--green); }
.note--ok > .ic { color: var(--green); }
.note--warn { border-left-color: var(--warn); }
.note--warn > .ic { color: var(--warn); }
.empty { padding: 48px 24px; text-align: center; color: var(--tx3); }
.skel { border-radius: var(--r); background: linear-gradient(90deg, #232323 25%, #2e2e2e 37%, #232323 63%); background-size: 400% 100%; animation: skel 1.4s ease infinite; }
@keyframes skel { from { background-position: 100% 0; } to { background-position: 0 0; } }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 28px; padding: 0 12px; border-radius: 999px; background: #333; color: #fff; font-size: 13px; font-weight: 500; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--tx4); }
.pill--ok i { background: var(--green); box-shadow: 0 0 0 0 rgba(70, 211, 105, .6); animation: pulse 2s infinite; }
.pill--wait i { background: var(--amber); }
.pill--off i { background: var(--red); }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(70, 211, 105, 0); } 100% { box-shadow: 0 0 0 0 rgba(70, 211, 105, 0); } }

/* Seçici (bölüm), arama, liste */
.pick { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 52px; padding: 8px 16px; border: 1px solid transparent; border-radius: var(--r); background: var(--s4); color: var(--tx4); text-align: left; transition: background .2s, border-color .2s; }
.pick:hover { background: #3a3a3a; }
.pick.has { color: #fff; }
.pick > span { min-width: 0; overflow-wrap: anywhere; }
.srch { position: relative; margin-bottom: 16px; }
.srch .ic { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--tx4); pointer-events: none; }
.srch input { width: 100%; height: 52px; padding: 0 16px 0 48px; border: 1px solid transparent; border-radius: var(--r); background: var(--s4); color: #fff; font: inherit; }
.srch input:focus { border-color: #fff; outline: none; }
.plist { max-height: 50vh; overflow-y: auto; margin: 0 -8px; padding: 0 8px; overscroll-behavior: contain; }
.sheet--tall .plist { flex: 1; min-height: 0; max-height: none; }
.plist__g { position: sticky; top: 0; z-index: 1; padding: 16px 0 8px; background: var(--s1); font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--tx4); }
.plist__i { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 48px; padding: 8px 16px; border: 0; border-radius: var(--r); background: transparent; color: var(--tx2); text-align: left; transition: background .15s; }
.plist__i:hover { background: #2b2b2b; color: #fff; }
.plist__i.is-on { background: #2b2b2b; color: #fff; font-weight: 700; }
.plist__i.is-other { color: var(--tx3); font-style: normal; }
.plist__none { padding: 24px 0; text-align: center; font-size: 14px; color: var(--tx4); }
.plist--chips { display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; }

/* Akordeon (KPSS grupları) */
.accs { display: grid; gap: 8px; }
.acc { border-radius: var(--r); background: var(--s3); }
.acc summary { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 16px; list-style: none; cursor: pointer; font-weight: 500; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary > span { flex: 1; min-width: 0; }
.acc summary > .ic { transition: transform .25s var(--ease); color: var(--tx3); }
.acc[open] summary > .ic { transform: rotate(180deg); }
.acc__n { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 8px; border-radius: 12px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; }
.acc .chips { padding: 0 16px 16px; }
.scores { display: grid; gap: 8px; }
.score { display: grid; grid-template-columns: 96px minmax(0, 1fr) 40px; align-items: center; gap: 12px; }
.score label { font-weight: 700; }
.score .chip__x { width: 40px; height: 40px; margin: 0; background: #333; }
.lics { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 148px), 1fr)); gap: 8px; }
.lic { display: flex; flex-direction: column; gap: 2px; min-height: 72px; padding: 12px 16px; border: 2px solid transparent; border-radius: var(--r); background: var(--s3); text-align: left; transition: background .2s, border-color .2s; }
.lic:hover { background: #383838; }
.lic b { font-size: 20px; line-height: 1.2; }
.lic span { font-size: 12px; line-height: 1.4; color: var(--tx3); }
.lic.is-on { border-color: #fff; background: #262626; }

/* Özet satırları */
.sum { display: grid; gap: 16px; }
.sum__g { padding: 8px 16px; border-radius: var(--r); background: var(--s3); }
.sum__g h3 { display: flex; align-items: center; gap: 8px; padding: 16px 0 8px; font-size: 14px; font-weight: 700; color: var(--tx3); }
.sum__r { display: grid; grid-template-columns: minmax(96px, 36%) minmax(0, 1fr) auto; align-items: center; gap: 16px; min-height: 48px; padding: 12px 0; border-top: 1px solid var(--line); }
.sum__g h3 + .sum__r { border-top: 0; }
.sum__r > span { font-size: 14px; color: var(--tx3); }
.sum__r > b { font-weight: 500; overflow-wrap: anywhere; }
.sum__e { display: grid; place-items: center; width: 40px; height: 40px; margin: -8px 0; border: 0; border-radius: var(--r); background: transparent; color: var(--tx3); }
.sum__e:hover { background: #3a3a3a; color: #fff; }
.none { font-style: normal; font-weight: 400; color: var(--tx4); }
@media (max-width: 479px) { .sum__r { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 8px; } .sum__r > span { grid-column: 1 / -1; } }

/* Doğrulama kartı */
.verify { padding: 24px; margin-bottom: 24px; border-radius: var(--r2); background: var(--s3); text-align: left; }
.verify__h { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.verify__h > .ic { color: #25d366; margin-top: 2px; }
.verify__h b { display: block; font-size: 18px; }
.verify__h small { display: block; margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--tx3); }
.verify__s { display: grid; gap: 16px; margin-bottom: 24px; counter-reset: s; font-size: 14px; line-height: 1.5; color: var(--tx2); }
.verify__s li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 16px; align-items: start; }
.verify__s li > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #444; color: #fff; font-size: 13px; font-weight: 700; }
.verify__s b, .verify__code b { white-space: nowrap; }
.verify__code { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 16px; margin-bottom: 16px; border: 1px dashed var(--line2); border-radius: var(--r); }
.verify__code small { flex: 1 1 100%; color: var(--tx3); }
.verify__code b { font-size: 28px; letter-spacing: .08em; }

/* ------------------------------------------------------------------------------------------ Avatar */
.av-pick { display: grid; gap: 24px; justify-items: center; }
.av-big { display: grid; place-items: center; width: 120px; height: 120px; border-radius: var(--r2); background: #2b2b2b; color: var(--tx4); overflow: hidden; }
.av-big .av { width: 100%; height: 100%; border-radius: 0; }
.av-big.pop { animation: pop .4s var(--ease); }
@keyframes pop { 0% { transform: scale(.88); } 60% { transform: scale(1.06); } 100% { transform: none; } }
.av-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; width: 100%; }
@media (min-width: 480px) { .av-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; } }
.av-grid--sm { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.av-btn { position: relative; padding: 0; border: 3px solid transparent; border-radius: var(--r2); background: none; aspect-ratio: 1; overflow: hidden; opacity: .72; transition: opacity .2s, transform .2s, border-color .2s; }
.av-btn:hover { opacity: 1; transform: scale(1.05); }
.av-btn .av { width: 100%; height: 100%; border-radius: 0; }
.av-btn.is-on { opacity: 1; border-color: #fff; }
.av-ck { position: absolute; right: 4px; bottom: 4px; display: none; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #fff; color: #000; }
.av-btn.is-on .av-ck { display: grid; }

/* ------------------------------------------------------------------------------------------ Logo, üst çubuk */
/* Üst çubuk: Hadi Sende Kariyer ana sayfasındaki çubukla aynı dil (düz #202124, 56 px, "Hadi Sende" + mavi hap etiketi). */
.logo { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-size: 19px; font-weight: 600; letter-spacing: -.03em; line-height: 1; text-decoration: none; white-space: nowrap; }
.logo__w { color: inherit; }
.logo__s { padding: 2px 8px; border-radius: 999px; background: var(--bar-pill); color: var(--bar-blue); font-size: 11px; font-weight: 600; letter-spacing: 0; line-height: 1.4; }
.nav { position: fixed; z-index: 100; top: 0; left: 0; right: 0; padding-top: var(--safe-t); background: var(--bar); }
.nav.is-solid { background: var(--bar); }
.nav .wrap { display: flex; align-items: center; gap: 16px; height: var(--nav-h); }
.nav .btn, .pnl__top .btn, .wiz__top .btn { border-radius: 999px; }
.nav__sp { flex: 1; }
.nav__cta { display: flex; align-items: center; gap: 8px; }
.nav__cta .btn { gap: 0; }
.nav__links { display: none; align-items: center; gap: 24px; margin-left: 16px; }
.nav__links a { color: var(--tx3); font-size: 14px; font-weight: 500; text-decoration: none; transition: color .2s; }
.nav__links a:hover { color: #fff; }
@media (min-width: 900px) { .nav__links { display: flex; } }
@media (max-width: 479px) { .nav .wrap { gap: 12px; } .nav__cta .btn--ghost { display: none; } }

/* ------------------------------------------------------------------------------------------ Alt bilgi */
.foot { background: var(--bg0); color: var(--tx4); border-top: 8px solid #222; padding: 48px 0 calc(48px + var(--safe-b)); font-size: 14px; }
.foot__q { margin-bottom: 24px; color: var(--tx3); }
.foot__q a { color: #fff; }
.foot__g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; margin-bottom: 32px; }
@media (min-width: 720px) { .foot__g { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.foot__g a { color: var(--tx4); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.foot__g a:hover { color: var(--tx2); }
.foot__b { display: grid; gap: 8px; font-size: 13px; line-height: 1.6; }
.foot .logo { margin-bottom: 24px; }

/* ------------------------------------------------------------------------------------------ Alt sayfa (sheet) */
.sheet-back { position: fixed; z-index: 300; inset: 0; display: flex; align-items: flex-end; justify-content: center; background: rgba(0, 0, 0, 0); transition: background .3s; }
.sheet-back.is-open { background: rgba(0, 0, 0, .72); }
.sheet { width: 100%; max-width: 560px; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px - var(--safe-t)); overflow-y: auto; overscroll-behavior: contain; padding: 24px 24px calc(24px + var(--safe-b)); border-radius: var(--r3) var(--r3) 0 0; background: var(--s1); box-shadow: 0 -8px 48px rgba(0, 0, 0, .6); transform: translateY(32px); opacity: 0; transition: transform .35s var(--ease), opacity .25s; }
.is-open .sheet { transform: none; opacity: 1; }
@media (min-width: 640px) { .sheet-back { align-items: center; padding: 24px; } .sheet { border-radius: var(--r2); max-height: calc(100dvh - 48px); transform: translateY(16px) scale(.98); } }
.sheet--tall { display: flex; flex-direction: column; height: min(88vh, 720px); height: min(88dvh, 720px); }
.sheet--tall > form { display: flex; flex-direction: column; flex: 1; min-height: 0; overflow-y: auto; }
.sheet h3 { margin-bottom: 8px; font-size: 24px; }
.sheet > p, .sheet > .help { margin-bottom: 24px; color: var(--tx3); line-height: 1.6; }
.sheet .field:last-of-type { margin-bottom: 16px; }
.acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.acts .btn { flex: 1 1 160px; }
.acts2 { display: flex; gap: 12px; }

/* Bildirimler (toast) */
.toasts { position: fixed; z-index: 400; left: 0; right: 0; top: calc(12px + var(--safe-t)); display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 var(--gx); pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: flex-start; gap: 12px; width: min(100%, 480px); padding: 16px; border-radius: var(--r); border-left: 4px solid #6b6b6b; background: #2b2b2b; color: #fff; font-size: 14px; line-height: 1.5; box-shadow: 0 8px 32px rgba(0, 0, 0, .6); animation: toastIn .35s var(--ease); }
.toast--ok { border-left-color: var(--green); } .toast--ok .ic { color: var(--green); }
.toast--err { border-left-color: var(--warn); } .toast--err .ic { color: var(--warn); }
.toast.is-out { opacity: 0; transform: translateY(-8px); transition: opacity .3s, transform .3s; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-12px); } }
.confetti { position: fixed; inset: 0; z-index: 350; pointer-events: none; width: 100%; height: 100%; }

/* ------------------------------------------------------------------------------------------ Hukuki sayfalar */
.legal-pg { padding-top: calc(var(--nav-h) + var(--safe-t)); background: var(--bg); }
.doc { max-width: 800px; margin-inline: auto; padding: 48px var(--gx) 96px; }
.doc h1 { margin-bottom: 8px; font-size: clamp(28px, 5vw, 40px); }
.doc .meta { margin-bottom: 32px; color: var(--tx4); font-size: 14px; }
.doc h2 { margin: 40px 0 16px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 22px; }
.doc h3 { margin: 24px 0 8px; font-size: 17px; }
.doc p, .doc li { color: var(--tx2); line-height: 1.75; }
.doc p { margin-bottom: 16px; }
.doc ul, .doc ol { margin: 0 0 24px; padding-left: 24px; list-style: revert; }
.doc li { margin-bottom: 8px; }
.doc a { color: #fff; text-underline-offset: 3px; }
.doc table { width: 100%; border-collapse: collapse; margin: 0; font-size: 14px; }
.doc th, .doc td { padding: 12px 16px; border: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.doc th { width: 34%; background: var(--s2); color: var(--tx3); font-weight: 500; }
.doc .box { padding: 16px 24px; margin: 24px 0; border-left: 4px solid var(--red); border-radius: var(--r); background: var(--s2); }
.doc .box p:last-child { margin-bottom: 0; }
.doc-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; }
.doc-nav a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border: 1px solid #595959; border-radius: 999px; color: var(--tx2); font-size: 14px; text-decoration: none; transition: background .2s, color .2s; }
.doc-nav a:hover, .doc-nav a[aria-current="page"] { background: #fff; border-color: #fff; color: #000; }
.table-wrap { overflow-x: auto; margin: 16px 0 24px; }

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

/* Anahtar (switch) — paylaşılan */
.sw { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 56px; padding: 12px 16px; border: 0; border-radius: var(--r); background: var(--s3); color: #fff; text-align: left; font-weight: 500; transition: background .2s; }
.sw:hover { background: #383838; }
.sw > span:first-child { flex: 1; min-width: 0; }
.sw small { display: block; margin-top: 2px; font-weight: 400; line-height: 1.4; color: var(--tx3); }
.knob { position: relative; flex: none; width: 48px; height: 28px; border-radius: 14px; background: #5a5a5a; transition: background .25s; }
.knob::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); }
.sw.is-on .knob { background: var(--green); }
.sw.is-on .knob::after { transform: translateX(20px); }
.sw[disabled] { opacity: .55; cursor: not-allowed; }
