/* SMSOnay — tek stil dosyası (site + panel + yönetim). CSP: satır içi stil yok. */
:root {
  --bg: #eceff3; --bg2: #e3e7ed; --surface: #f7f8fa; --surface2: #eff1f5; --border: #d8dde5; --border2: #c8cfd9;
  --text: #2a3140; --muted: #667085; --accent: #4a63d8; --accent-h: #3b52c2; --accent-soft: #e4e9fb; --on-accent: #fff;
  --ok: #2b8a57; --ok-soft: #dff1e7; --warn: #a86a12; --warn-soft: #f6ead2; --bad: #c0392b; --bad-soft: #f8e0dc; --info: #2f75b5; --info-soft: #dcebf7;
  --shadow: 0 1px 2px rgba(30,40,60,.06), 0 4px 14px rgba(30,40,60,.05);
  --radius: 12px; --radius-s: 8px; --sidebar: 250px; --font: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0e1116; --bg2: #0a0d11; --surface: #161a21; --surface2: #1c212a; --border: #262d38; --border2: #323b49;
  --text: #dde2ea; --muted: #8b95a5; --accent: #7b93ff; --accent-h: #93a6ff; --accent-soft: #212a4d; --on-accent: #0e1116;
  --ok: #4cc38a; --ok-soft: #14301f; --warn: #e2a94d; --warn-soft: #33270f; --bad: #ef7466; --bad-soft: #3a1a17; --info: #6db3f2; --info-soft: #14283a;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 6px 20px rgba(0,0,0,.25); color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.55; color: var(--text); background: var(--bg); min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--accent); text-decoration: none; } a:hover { color: var(--accent-h); text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .6em; color: var(--text); font-weight: 650; }
h1 { font-size: 1.75rem; } h2 { font-size: 1.3rem; } h3 { font-size: 1.08rem; } h4 { font-size: 1rem; }
p { margin: 0 0 1em; } hr { border: 0; border-top: 1px solid var(--border); margin: 1.2rem 0; }
code, pre, kbd { font-family: ui-monospace, "Cascadia Code", Consolas, "Liberation Mono", monospace; font-size: .9em; }
code { background: var(--surface2); border: 1px solid var(--border); padding: .08em .38em; border-radius: 5px; }
img { max-width: 100%; }
.ic { width: 1.15em; height: 1.15em; flex: 0 0 auto; vertical-align: -.2em; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 760px; } .container.wide { max-width: 1400px; }
.muted { color: var(--muted); } .small { font-size: .86rem; } .center { text-align: center; } .right { text-align: right; } .nowrap { white-space: nowrap; }
.mono { font-family: ui-monospace, Consolas, monospace; } .bold { font-weight: 650; } .hidden, [hidden] { display: none !important; }
.mt0{margin-top:0}.mt1{margin-top:.5rem}.mt2{margin-top:1rem}.mt3{margin-top:1.5rem}.mb0{margin-bottom:0}.mb1{margin-bottom:.5rem}.mb2{margin-bottom:1rem}.mb3{margin-bottom:1.5rem}
.flex { display: flex; } .between { justify-content: space-between; } .items-center { align-items: center; } .gap1{gap:.5rem}.gap2{gap:1rem}.wrap{flex-wrap:wrap} .grow{flex:1 1 auto;min-width:0}

/* Butonlar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .55rem 1.05rem; border-radius: var(--radius-s); border: 1px solid var(--border2); background: var(--surface); color: var(--text); font: inherit; font-weight: 600; font-size: .92rem; cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, transform .05s; line-height: 1.2; }
.btn:hover { background: var(--surface2); text-decoration: none; color: var(--text); } .btn:active { transform: translateY(1px); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); } .btn.primary:hover { background: var(--accent-h); border-color: var(--accent-h); color: var(--on-accent); }
.btn.danger { background: var(--bad); border-color: var(--bad); color: #fff; } .btn.danger:hover { filter: brightness(.92); color: #fff; }
.btn.ok { background: var(--ok); border-color: var(--ok); color: #fff; } .btn.ok:hover { filter: brightness(.92); color: #fff; }
.btn.ghost { background: transparent; border-color: transparent; } .btn.ghost:hover { background: var(--surface2); }
.btn.outline { background: transparent; } .btn.sm { padding: .32rem .7rem; font-size: .84rem; } .btn.lg { padding: .8rem 1.5rem; font-size: 1.02rem; } .btn.block { display: flex; width: 100%; }
.btn[disabled], .btn.disabled { opacity: .55; cursor: not-allowed; pointer-events: none; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: var(--radius-s); border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; padding: 0; }
.icon-btn:hover { background: var(--surface2); }

/* Formlar */
.field { margin-bottom: 1rem; } .field > label, .lbl { display: block; font-weight: 600; font-size: .88rem; margin-bottom: .32rem; color: var(--text); }
.field .hint { color: var(--muted); font-size: .82rem; margin-top: .28rem; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=url], input[type=search], input[type=tel], input[type=date], input[type=datetime-local], select, textarea {
  width: 100%; padding: .6rem .8rem; background: var(--surface); color: var(--text); border: 1px solid var(--border2); border-radius: var(--radius-s); font: inherit; font-size: .95rem; transition: border-color .15s, box-shadow .15s; }
textarea { resize: vertical; min-height: 90px; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: .7; }
input[readonly] { background: var(--surface2); }
.input-group { position: relative; display: flex; } .input-group input { padding-right: 2.8rem; }
.input-group .pw-toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0; background: transparent; color: var(--muted); border-radius: 6px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.input-group .pw-toggle:hover { color: var(--text); background: var(--surface2); }
.input-group.with-btn input { padding-right: .8rem; } .input-group .btn { margin-left: .4rem; }
.checkbox { display: flex; align-items: flex-start; gap: .55rem; font-weight: 500; cursor: pointer; } .checkbox input { width: 1.05rem; height: 1.05rem; margin-top: .2rem; accent-color: var(--accent); }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 1rem; }
.err-text { color: var(--bad); font-size: .85rem; margin-top: .25rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.switch { display: inline-flex; align-items: center; gap: .5rem; cursor: pointer; font-weight: 500; }

/* Kartlar, ızgara */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.25rem; }
.card.flat { box-shadow: none; } .card > h2:first-child, .card > h3:first-child { margin-top: 0; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; } .card-head h2, .card-head h3 { margin: 0; }
.grid { display: grid; gap: 1rem; } .g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
.grid.auto { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.stat { padding: 1rem 1.15rem; } .stat .k { color: var(--muted); font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; } .stat .v { font-size: 1.6rem; font-weight: 700; margin-top: .15rem; } .stat .s { font-size: .82rem; color: var(--muted); }

/* Rozet, uyarı */
.badge { display: inline-block; padding: .16rem .55rem; border-radius: 999px; font-size: .76rem; font-weight: 650; line-height: 1.4; background: var(--surface2); color: var(--muted); border: 1px solid var(--border); 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.bad { background: var(--bad-soft); color: var(--bad); border-color: transparent; } .badge.info { background: var(--info-soft); color: var(--info); border-color: transparent; } .badge.accent { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.alert { display: flex; gap: .7rem; padding: .8rem 1rem; border-radius: var(--radius-s); border: 1px solid var(--border); background: var(--surface); margin-bottom: 1rem; font-size: .93rem; align-items: flex-start; }
.alert.info { background: var(--info-soft); border-color: transparent; color: var(--info); } .alert.ok, .alert.success { background: var(--ok-soft); border-color: transparent; color: var(--ok); }
.alert.warn { background: var(--warn-soft); border-color: transparent; color: var(--warn); } .alert.bad, .alert.error { background: var(--bad-soft); border-color: transparent; color: var(--bad); }
.alert .ic { margin-top: .15rem; } .alert > div { color: var(--text); flex: 1; }
.flashes { position: fixed; top: 74px; right: 16px; z-index: 90; display: flex; flex-direction: column; gap: .5rem; max-width: min(420px, calc(100vw - 32px)); }
.flashes .alert { box-shadow: var(--shadow); margin: 0; background: var(--surface); border: 1px solid var(--border); }
.flashes .alert.ok, .flashes .alert.success { border-left: 4px solid var(--ok); color: var(--text); } .flashes .alert.error, .flashes .alert.bad { border-left: 4px solid var(--bad); color: var(--text); }
.flashes .alert.warn { border-left: 4px solid var(--warn); color: var(--text); } .flashes .alert.info { border-left: 4px solid var(--info); color: var(--text); }
.announce { background: var(--accent-soft); color: var(--text); padding: .55rem 0; text-align: center; font-size: .92rem; border-bottom: 1px solid var(--border); }
.announce.warn { background: var(--warn-soft); } .announce.ok { background: var(--ok-soft); }

/* Tablo */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table.table { width: 100%; border-collapse: collapse; font-size: .92rem; } .table th, .table td { padding: .65rem .85rem; text-align: left; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table thead th { background: var(--surface2); color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; font-weight: 650; position: sticky; top: 0; white-space: nowrap; }
.table tbody tr:hover { background: var(--surface2); } .table tbody tr:last-child td { border-bottom: 0; } .table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table .actions { white-space: nowrap; text-align: right; } .table .actions form { display: inline; }
.pager { display: flex; gap: .3rem; justify-content: center; margin: 1.2rem 0; flex-wrap: wrap; } .pager a, .pager span { padding: .35rem .75rem; border: 1px solid var(--border); border-radius: var(--radius-s); background: var(--surface); color: var(--text); font-size: .88rem; }
.pager .cur { background: var(--accent); color: var(--on-accent); border-color: var(--accent); } .pager a:hover { text-decoration: none; background: var(--surface2); }
.filters { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 1rem; align-items: end; } .filters .field { margin: 0; min-width: 150px; } .filters .field label { font-size: .78rem; }
.empty { text-align: center; padding: 2.5rem 1rem; color: var(--muted); }

/* Site üst menü */
.topbar { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.topbar .in { display: flex; align-items: center; gap: 1rem; height: 62px; }
.brand { display: flex; align-items: center; gap: .55rem; font-weight: 750; font-size: 1.15rem; color: var(--text); letter-spacing: -.01em; } .brand:hover { text-decoration: none; color: var(--text); }
.brand .logo { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--accent), #8a6be0); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.nav { display: flex; gap: .2rem; margin-left: 1rem; } .nav a { padding: .45rem .8rem; border-radius: var(--radius-s); color: var(--muted); font-weight: 600; font-size: .93rem; } .nav a:hover, .nav a.active { color: var(--text); background: var(--surface2); text-decoration: none; }
.topbar .right { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
.lang-switch { display: inline-flex; border: 1px solid var(--border); border-radius: var(--radius-s); overflow: hidden; } .lang-switch a { padding: .32rem .6rem; font-size: .8rem; font-weight: 700; color: var(--muted); } .lang-switch a.on { background: var(--accent); color: var(--on-accent); } .lang-switch a:hover { text-decoration: none; }
.menu-btn { display: none; }
main.site { flex: 1; padding: 2rem 0 3rem; }
.footer { border-top: 1px solid var(--border); padding: 2rem 0; color: var(--muted); font-size: .9rem; background: var(--bg2); }
.footer .cols { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: space-between; } .footer a { color: var(--muted); } .footer a:hover { color: var(--text); }

/* Hero */
.hero { padding: 3.2rem 0 2.4rem; display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.5rem; align-items: center; }
.hero h1 { font-size: clamp(2rem, 4.2vw, 3.05rem); letter-spacing: -.02em; margin-bottom: .5em; } .hero .lead { font-size: 1.12rem; color: var(--muted); max-width: 34rem; }
.hero .cta { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.4rem; }
.hero-card { padding: 1.1rem; } .hero-card .row { display: flex; align-items: center; gap: .75rem; padding: .6rem .3rem; border-bottom: 1px solid var(--border); } .hero-card .row:last-child { border: 0; }
.feature { padding: 1.4rem; } .feature .ic-wrap { width: 42px; height: 42px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; margin-bottom: .8rem; } .feature .ic-wrap .ic { width: 1.35rem; height: 1.35rem; }
.steps { counter-reset: st; } .steps .step { position: relative; padding-left: 3.1rem; margin-bottom: 1.1rem; } .steps .step::before { counter-increment: st; content: counter(st); position: absolute; left: 0; top: 0; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.section { margin: 3rem 0; } .section > h2 { font-size: 1.55rem; text-align: center; margin-bottom: 1.4rem; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-s); margin-bottom: .6rem; padding: .85rem 1.1rem; } .faq summary { cursor: pointer; font-weight: 650; } .faq details[open] summary { margin-bottom: .5rem; }

/* Servis/ülke simgeleri */
.svc, .svc-badge { display: inline-block; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 9px; }
.svc { -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: 68%; mask-size: 68%; }
.svc.sm, .svc-badge.sm { width: 26px; height: 26px; flex-basis: 26px; }
.svc-badge { display: inline-flex; align-items: center; justify-content: center; font-weight: 750; font-size: .78rem; color: #fff; letter-spacing: .02em; }
.svc-badge.h0{background:#5b6ee1}.svc-badge.h1{background:#2f9e8f}.svc-badge.h2{background:#c2703d}.svc-badge.h3{background:#8b5cc6}.svc-badge.h4{background:#c2415d}.svc-badge.h5{background:#3a86b8}
.svc-badge.h6{background:#7c9a3d}.svc-badge.h7{background:#b8892b}.svc-badge.h8{background:#5c6b80}.svc-badge.h9{background:#b0479a}.svc-badge.h10{background:#3f9b62}.svc-badge.h11{background:#a85a4d}
.flag { width: 24px; height: 18px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px var(--border); flex: 0 0 24px; display: inline-block; } .flag-none { background: var(--surface2); }

/* Fiyat listesi */
.list { display: flex; flex-direction: column; } .list-item { display: flex; align-items: center; gap: .8rem; padding: .62rem .9rem; border-bottom: 1px solid var(--border); color: var(--text); cursor: pointer; background: transparent; border-left: 0; border-right: 0; border-top: 0; font: inherit; text-align: left; width: 100%; }
.list-item:hover { background: var(--surface2); text-decoration: none; color: var(--text); } .list-item.active { background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent); } .list-item:last-child { border-bottom: 0; }
.list-item .name { flex: 1; min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .list-item .price { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; } .list-item .sub { color: var(--muted); font-size: .8rem; white-space: nowrap; }
.scroll-list { max-height: 560px; overflow-y: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.searchbox { position: relative; margin-bottom: .8rem; } .searchbox .ic { position: absolute; left: .8rem; top: 50%; transform: translateY(-50%); color: var(--muted); } .searchbox input { padding-left: 2.4rem; }
.stock-none { color: var(--bad); }

/* Panel & admin düzeni */
.app { display: flex; flex: 1; min-height: 100vh; } .sidebar { width: var(--sidebar); flex: 0 0 var(--sidebar); background: var(--surface); border-right: 1px solid var(--border); padding: 1rem .8rem; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; }
.sidebar .brand { padding: .3rem .6rem 1rem; } .side-nav { display: flex; flex-direction: column; gap: .12rem; } .side-nav a, .side-nav button.link { display: flex; align-items: center; gap: .7rem; padding: .55rem .75rem; border-radius: var(--radius-s); color: var(--muted); font-weight: 600; font-size: .92rem; background: none; border: 0; font-family: inherit; cursor: pointer; text-align: left; width: 100%; }
.side-nav a:hover, .side-nav button.link:hover { background: var(--surface2); color: var(--text); text-decoration: none; } .side-nav a.active { background: var(--accent-soft); color: var(--accent); }
.side-nav .grp { font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); padding: .9rem .75rem .3rem; font-weight: 700; } .side-nav .cnt { margin-left: auto; background: var(--bad); color: #fff; border-radius: 999px; font-size: .72rem; padding: .05rem .5rem; }
.content { flex: 1; min-width: 0; display: flex; flex-direction: column; } .app-top { display: flex; align-items: center; gap: .8rem; padding: .7rem 1.5rem; border-bottom: 1px solid var(--border); background: var(--surface); position: sticky; top: 0; z-index: 40; min-height: 62px; }
.app-top .grow { flex: 1; } .balance-chip { display: inline-flex; align-items: center; gap: .5rem; background: var(--accent-soft); color: var(--accent); padding: .38rem .8rem; border-radius: 999px; font-weight: 700; font-size: .92rem; } .balance-chip:hover { text-decoration: none; }
.page { padding: 1.5rem; max-width: 1500px; width: 100%; } .page-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; flex-wrap: wrap; } .page-head h1 { margin: 0; font-size: 1.45rem; }
.side-toggle { display: none; } .sidebar-backdrop { display: none; }
.user-menu { position: relative; } .user-menu .dd { position: absolute; right: 0; top: calc(100% + 6px); min-width: 200px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-s); box-shadow: var(--shadow); padding: .35rem; display: none; z-index: 60; } .user-menu.open .dd { display: block; }
.dd a, .dd button { display: flex; width: 100%; gap: .6rem; align-items: center; padding: .5rem .7rem; border-radius: 6px; color: var(--text); background: none; border: 0; font: inherit; cursor: pointer; text-align: left; font-size: .9rem; } .dd a:hover, .dd button:hover { background: var(--surface2); text-decoration: none; }

/* SMS satın alma ekranı */
.buy-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.2rem; align-items: start; } .pick-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.step-title { display: flex; align-items: center; gap: .55rem; font-weight: 700; margin-bottom: .6rem; } .step-title .n { width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: inline-flex; align-items: center; justify-content: center; font-size: .82rem; }
.act { border: 1px solid var(--border); border-radius: var(--radius); padding: .95rem; margin-bottom: .8rem; background: var(--surface); position: relative; } .act.waiting { border-left: 4px solid var(--warn); } .act.received, .act.completed { border-left: 4px solid var(--ok); } .act.canceled, .act.expired, .act.failed { opacity: .72; border-left: 4px solid var(--border2); }
.act .top { display: flex; align-items: center; gap: .65rem; margin-bottom: .6rem; } .act .phone { font-size: 1.2rem; font-weight: 750; letter-spacing: .02em; font-variant-numeric: tabular-nums; } .act .meta { color: var(--muted); font-size: .82rem; }
.act .codebox { background: var(--surface2); border: 1px dashed var(--border2); border-radius: var(--radius-s); padding: .65rem .8rem; display: flex; align-items: center; gap: .6rem; margin: .5rem 0; min-height: 48px; } .act .codebox .code { font-size: 1.5rem; font-weight: 800; letter-spacing: .12em; color: var(--ok); font-variant-numeric: tabular-nums; flex: 1; word-break: break-all; }
.act .codebox .wait { color: var(--muted); display: flex; align-items: center; gap: .55rem; flex: 1; } .act .btns { display: flex; gap: .45rem; flex-wrap: wrap; margin-top: .5rem; }
.act .sms-text { font-size: .82rem; color: var(--muted); margin-top: .3rem; word-break: break-word; } .timer { font-variant-numeric: tabular-nums; font-weight: 700; }
.spinner { width: 16px; height: 16px; border: 2px solid var(--border2); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; } @keyframes spin { to { transform: rotate(360deg); } }
.bar { height: 5px; background: var(--border); border-radius: 99px; overflow: hidden; margin-top: .5rem; } .bar > i { display: block; height: 100%; background: var(--warn); border-radius: 99px; transition: width 1s linear; }

/* Kod blokları / dokümantasyon */
.docs { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 2rem; align-items: start; } .docs-nav { position: sticky; top: 80px; max-height: calc(100vh - 100px); overflow-y: auto; font-size: .9rem; } .docs-nav a { display: block; padding: .32rem .7rem; color: var(--muted); border-left: 2px solid var(--border); } .docs-nav a:hover { color: var(--text); text-decoration: none; border-color: var(--accent); }
.docs-nav .grp { font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; padding: .8rem .7rem .2rem; color: var(--muted); }
.docs h2 { margin-top: 2.2rem; padding-top: .5rem; border-top: 1px solid var(--border); } .docs h2:first-child { border: 0; margin-top: 0; } .docs h3 { margin-top: 1.6rem; }
.endpoint { display: flex; align-items: center; gap: .6rem; font-family: ui-monospace, Consolas, monospace; background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius-s); padding: .55rem .8rem; margin: .5rem 0 1rem; word-break: break-all; } .method { font-weight: 800; font-size: .78rem; padding: .12rem .5rem; border-radius: 5px; color: #fff; } .method.get { background: #2f8f5b; } .method.post { background: #3a6fd0; } .method.delete { background: #c0392b; }
.tabs { display: flex; gap: .2rem; flex-wrap: wrap; border-bottom: 1px solid var(--border); margin-bottom: 0; } .tabs button { background: none; border: 0; border-bottom: 2px solid transparent; padding: .5rem .85rem; font: inherit; font-weight: 650; font-size: .86rem; color: var(--muted); cursor: pointer; margin-bottom: -1px; } .tabs button.on { color: var(--accent); border-color: var(--accent); } .tabs button:hover { color: var(--text); }
.tab-pane { display: none; } .tab-pane.on { display: block; }
pre.code { margin: 0; background: #14181f; color: #d7dde8; padding: 1rem 1.1rem; border-radius: 0 0 var(--radius-s) var(--radius-s); overflow-x: auto; font-size: .84rem; line-height: 1.55; position: relative; border: 1px solid #232a35; } :root[data-theme="dark"] pre.code { background: #0a0d12; }
.codeblock { margin: .6rem 0 1.2rem; position: relative; } .codeblock .copy { position: absolute; right: 8px; top: 8px; z-index: 2; background: #232a35; color: #c6cedb; border: 0; border-radius: 6px; padding: .28rem .55rem; font-size: .75rem; cursor: pointer; } .codeblock .copy:hover { background: #303948; }
.codeblock.plain pre.code { border-radius: var(--radius-s); }
.params td:first-child { font-family: ui-monospace, Consolas, monospace; font-weight: 650; white-space: nowrap; } .req { color: var(--bad); font-weight: 700; font-size: .75rem; }

/* Modal */
dialog { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--text); padding: 0; max-width: min(560px, calc(100vw - 32px)); width: 100%; box-shadow: 0 20px 60px rgba(0,0,0,.35); } dialog::backdrop { background: rgba(10,14,20,.55); backdrop-filter: blur(2px); }
dialog .dlg-head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); } dialog .dlg-head h3 { margin: 0; } dialog .dlg-body { padding: 1.25rem; } dialog .dlg-foot { padding: .9rem 1.25rem; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: .5rem; }

/* Grafik */
.chart { width: 100%; height: 220px; display: block; } .legend { display: flex; gap: 1rem; font-size: .82rem; color: var(--muted); } .legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: .3rem; }
.kv { display: grid; grid-template-columns: 170px 1fr; gap: .45rem 1rem; font-size: .93rem; } .kv dt { color: var(--muted); } .kv dd { margin: 0; word-break: break-word; }
.auth-wrap { flex: 1; display: flex; align-items: center; justify-content: center; padding: 2rem 1rem; } .auth-card { width: 100%; max-width: 430px; } .auth-card h1 { font-size: 1.5rem; }
.divider { text-align: center; color: var(--muted); font-size: .85rem; margin: 1rem 0; }
.copyable { cursor: pointer; } .kbd { font-family: ui-monospace, Consolas, monospace; background: var(--surface2); border: 1px solid var(--border); border-radius: 5px; padding: .05rem .4rem; font-size: .85em; }
.tier-bar { height: 8px; background: var(--border); border-radius: 99px; overflow: hidden; } .tier-bar > i { display: block; height: 100%; background: var(--accent); }
.pay-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .9rem; } .pay-method { display: block; border: 1px solid var(--border2); border-radius: var(--radius); padding: 1.1rem; background: var(--surface); color: var(--text); } .pay-method:hover { border-color: var(--accent); text-decoration: none; box-shadow: var(--shadow); color: var(--text); } .pay-method .ic { width: 1.6rem; height: 1.6rem; color: var(--accent); margin-bottom: .4rem; }
.secret-box { display: flex; align-items: center; gap: .5rem; } .secret-box input { font-family: ui-monospace, Consolas, monospace; }
.toast-area { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 100; display: flex; flex-direction: column; gap: .4rem; }
.toast { background: var(--text); color: var(--bg); padding: .5rem 1rem; border-radius: 999px; font-size: .88rem; box-shadow: var(--shadow); }
.ticket-msg { padding: .8rem 1rem; border-radius: var(--radius-s); background: var(--surface2); margin-bottom: .7rem; border: 1px solid var(--border); } .ticket-msg.admin { background: var(--accent-soft); border-color: transparent; } .ticket-msg .who { font-size: .8rem; color: var(--muted); margin-bottom: .25rem; } .ticket-msg .body { white-space: pre-wrap; word-break: break-word; }
.prose h2 { margin-top: 1.6rem; } .prose p { color: var(--text); }

@media (max-width: 1000px) {
  .buy-grid, .hero, .docs { grid-template-columns: 1fr; } .docs-nav { position: static; max-height: none; } .g4 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(2, 1fr); }
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; z-index: 80; transform: translateX(-100%); transition: transform .2s; box-shadow: var(--shadow); } .sidebar.open { transform: none; } .sidebar-backdrop.on { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 70; }
  .side-toggle { display: inline-flex; }
}
@media (max-width: 760px) {
  .nav { display: none; position: absolute; top: 62px; left: 0; right: 0; flex-direction: column; background: var(--surface); border-bottom: 1px solid var(--border); padding: .6rem 1rem; margin: 0; } .nav.open { display: flex; } .menu-btn { display: inline-flex; }
  .g2, .g3, .g4, .pick-cols { grid-template-columns: 1fr; } .page { padding: 1rem; } .app-top { padding: .6rem 1rem; } .kv { grid-template-columns: 1fr; gap: .1rem; } .kv dd { margin-bottom: .6rem; } .container { padding: 0 14px; } .topbar .hide-sm { display: none; }
  .table th, .table td { padding: .5rem .55rem; } .flashes { top: 70px; right: 8px; left: 8px; max-width: none; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.theme-toggle .t-moon { display: none; } :root[data-theme="dark"] .theme-toggle .t-sun { display: none; } :root[data-theme="dark"] .theme-toggle .t-moon { display: inline; }
.dd-mail { padding: .4rem .7rem; word-break: break-all; }
.ok-text { color: var(--ok); } .bad-text { color: var(--bad); } .warn-text { color: var(--warn); }
/* Düzen düzeltmeleri: taşan içerik grid'i bozmasın */
.pick-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .buy-grid > * { min-width: 0; } .act .top .grow { min-width: 0; } .act .meta { overflow-wrap: anywhere; } .act .top .right { flex: 0 0 auto; text-align: right; }
@media (max-width: 1240px) { .buy-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .pick-cols { grid-template-columns: minmax(0, 1fr); } }
#cty-list .list-item .name { white-space: normal; } #cty-list .list-item .name > span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .list-item .name small { display: block; font-weight: 400; font-size: .76rem; color: var(--muted); }
.btn, .table td.num, .table th.num, .badge, .price { white-space: nowrap; }
.install-wrap { padding-top: 2rem; padding-bottom: 3rem; }
.captcha-box { display: flex; align-items: center; gap: .5rem; margin-bottom: .5rem; } .captcha-box img { border-radius: var(--radius-s); border: 1px solid var(--border2); background: #eef0f3; width: 170px; height: 56px; }
.cf-turnstile, .h-captcha { margin-bottom: 1rem; }

/* ── Bildirim / onay penceresi (SweetAlert tarzı) ── */
body.ui-open { overflow: hidden; }
.ui-overlay { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 1rem; background: rgba(15,20,30,.0); backdrop-filter: blur(0); transition: background .16s, backdrop-filter .16s; }
.ui-overlay.in { background: rgba(15,20,30,.5); backdrop-filter: blur(3px); } .ui-overlay.out { background: rgba(15,20,30,0); }
.ui-modal { width: 100%; max-width: 400px; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 24px 70px rgba(0,0,0,.35); padding: 1.6rem 1.5rem 1.3rem; text-align: center; transform: scale(.88); opacity: 0; transition: transform .18s cubic-bezier(.2,.9,.3,1.2), opacity .16s; }
.ui-overlay.in .ui-modal { transform: none; opacity: 1; } .ui-overlay.out .ui-modal { transform: scale(.94); opacity: 0; }
.ui-ic { width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 700; border: 3px solid currentColor; animation: ui-pop .32s ease-out; }
.ui-ic.warn { color: var(--warn); background: var(--warn-soft); } .ui-ic.danger, .ui-ic.error { color: var(--bad); background: var(--bad-soft); } .ui-ic.info { color: var(--info); background: var(--info-soft); } .ui-ic.ok { color: var(--ok); background: var(--ok-soft); }
@keyframes ui-pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
.ui-title { margin: 0 0 .4rem; font-size: 1.2rem; } .ui-text { margin: 0 0 1.2rem; color: var(--muted); font-size: .95rem; line-height: 1.5; word-break: break-word; }
.ui-actions { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; } .ui-actions .btn { min-width: 110px; }
.ui-toasts { position: fixed; top: 74px; right: 16px; z-index: 210; display: flex; flex-direction: column; gap: .5rem; max-width: min(380px, calc(100vw - 32px)); pointer-events: none; }
.ui-toast { pointer-events: auto; cursor: pointer; display: flex; align-items: center; gap: .65rem; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-left: 4px solid var(--info); border-radius: 10px; box-shadow: var(--shadow), 0 8px 24px rgba(0,0,0,.18); padding: .7rem .9rem; font-size: .92rem; animation: ui-in .22s ease-out; }
.ui-toast.out { opacity: 0; transform: translateX(20px); transition: opacity .2s, transform .2s; } .ui-toast.ok { border-left-color: var(--ok); } .ui-toast.error { border-left-color: var(--bad); } .ui-toast.warn { border-left-color: var(--warn); }
.ui-toast-ic { width: 22px; height: 22px; border-radius: 50%; flex: 0 0 22px; display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 800; color: #fff; background: var(--info); } .ui-toast.ok .ui-toast-ic { background: var(--ok); } .ui-toast.error .ui-toast-ic { background: var(--bad); } .ui-toast.warn .ui-toast-ic { background: var(--warn); }
@keyframes ui-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) { .ui-toasts { top: 70px; right: 8px; left: 8px; max-width: none; } }

/* ── Kod blokları: açık/koyu tema uyumlu (önceden hep koyuydu) ── */
:root { --code-bg: #eceff5; --code-fg: #2a3140; --code-bd: var(--border2); --code-btn: #ffffff; --code-btn-h: #e2e6ee; --code-btn-fg: #4b5567; }
:root[data-theme="dark"] { --code-bg: #0a0d12; --code-fg: #d7dde8; --code-bd: #232a35; --code-btn: #232a35; --code-btn-h: #303948; --code-btn-fg: #c6cedb; }
pre.code, :root[data-theme="dark"] pre.code { background: var(--code-bg); color: var(--code-fg); border: 1px solid var(--code-bd); }
pre.code code { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; }
.codeblock .copy { background: var(--code-btn); color: var(--code-btn-fg); border: 1px solid var(--code-bd); } .codeblock .copy:hover { background: var(--code-btn-h); }
.tabs { border-bottom-color: var(--code-bd); }

/* ── Herkese açık listeler: arama/sıralama çubuğu, harf süzgeci ── */
.listbar { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; margin-bottom: .7rem; } .listbar .searchbox { margin: 0; flex: 1 1 240px; } .listbar select { width: auto; min-width: 190px; flex: 0 0 auto; } .listbar .btn { flex: 0 0 auto; }
.chips { display: flex; gap: .35rem; flex-wrap: wrap; margin-bottom: .7rem; }
.chip { display: inline-flex; align-items: center; gap: .3rem; padding: .28rem .7rem; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text); font-size: .85rem; line-height: 1.3; }
.chip.sm { min-width: 2rem; justify-content: center; padding: .28rem .5rem; } .chip:hover { text-decoration: none; background: var(--surface2); }
.chip.on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); } .chip .ic { width: 14px; height: 14px; }
.listmeta { margin: 0 0 .7rem; }

/* Mobil: herkese açık fiyat listesinde ad kesilmesin (stok alt satıra, "itibaren" gizli) */
@media (max-width: 560px) {
  #plist .list-item { flex-wrap: wrap; row-gap: 0; } #plist .list-item .name { flex: 1 1 0; white-space: normal; overflow: visible; }
  #plist .list-item .sub.stock { order: 5; flex-basis: 100%; padding-left: 2.6rem; margin-top: -.15rem; } #plist .list-item .sub.from { display: none; }
}

/* ── Yönetici: servis toplu satış çubuğu, satır içi form ── */
.bulkbar { display: flex; gap: .7rem; flex-wrap: wrap; align-items: center; margin: 0 0 .8rem; padding: .6rem .8rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.bulkbar select { width: auto; min-width: 210px; } .bulkbar .checkbox { margin: 0; }
.inline-form { display: flex; gap: .9rem; flex-wrap: wrap; align-items: center; padding: .6rem .9rem; } .inline-form .field { margin: 0; }

/* ── Telegram kartı / kurulum rehberi ── */
.steps { margin: .4rem 0 0; padding-left: 1.3rem; } .steps li { margin: .35rem 0; line-height: 1.5; }
.checklist { list-style: none; margin: 0 0 .8rem; padding: 0; } .checklist li { padding: .3rem 0 .3rem 1.7rem; position: relative; }
.checklist li::before { content: "○"; position: absolute; left: 0; color: var(--muted); font-weight: 700; } .checklist li.ok::before { content: "✓"; color: var(--ok, #1f9d55); }
details > summary { cursor: pointer; font-weight: 600; }

/* ==========================================================================
   MOBİL + TABLET (≤1023px) — lisansx düzeninden uyarlandı
   Üstte yalnızca marka + bakiye kalır; gezinme alttaki yüzen sekme çubuğuna ve
   onun açtığı "Menü" paneline taşınır. Masaüstü etkilenmez. Sayfa gövdesi
   ASLA yatay kaymaz; sığmayan içerik (tablolar, toplu çubuklar) kendi kabında kayar.
   ========================================================================== */
.tabbar, .sheet, .sheet-backdrop { display: none; }
.m-brand { display: none; align-items: center; gap: .5rem; font-weight: 750; color: var(--text); }
.m-brand:hover { text-decoration: none; color: var(--text); }

@media (max-width: 1023px) {
  :root { --tabbar-h: 64px; --tabbar-gap: 10px; --tabbar-space: calc(var(--tabbar-h) + var(--tabbar-gap) * 2 + env(safe-area-inset-bottom)); }
  body.has-tabbar { padding-bottom: var(--tabbar-space); }
  html, body { overflow-x: hidden; }

  /* Site üst çubuğu: marka + giriş/panel düğmesi; menü, tema ve dil paneldedir */
  body.has-tabbar .topbar .nav, body.has-tabbar .topbar .menu-btn, body.has-tabbar .topbar .lang-switch, body.has-tabbar .topbar .theme-toggle { display: none !important; }
  .topbar { padding-top: env(safe-area-inset-top); }
  .topbar .in { height: 58px; }

  /* Kullanıcı paneli: kenar menü yerine alt çubuk + Menü paneli */
  body.has-tabbar .sidebar, body.has-tabbar .sidebar-backdrop, body.has-tabbar .side-toggle { display: none !important; }
  body.has-tabbar .app-top .lang-switch, body.has-tabbar .app-top .theme-toggle, body.has-tabbar .app-top .user-menu { display: none !important; }
  body.has-tabbar .app-top { padding: .55rem 1rem; min-height: 56px; padding-top: calc(.55rem + env(safe-area-inset-top)); }
  body.has-tabbar .app-top .m-brand { display: inline-flex; }
  body.has-tabbar .ui-toasts { top: auto; bottom: calc(var(--tabbar-space) + 10px); right: 10px; left: 10px; max-width: none; }

  /* --- Alt çubuk --- */
  .tabbar {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
    position: fixed; left: var(--tabbar-gap); right: var(--tabbar-gap); bottom: calc(var(--tabbar-gap) + env(safe-area-inset-bottom)); z-index: 110;
    max-width: 560px; height: var(--tabbar-h); margin: 0 auto; padding: 0 4px 8px;
    border: 1px solid var(--border); border-radius: 22px;
    background: var(--surface); background: color-mix(in srgb, var(--surface) 86%, transparent);
    backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
    box-shadow: 0 14px 36px rgba(8, 10, 20, .2), 0 2px 8px rgba(8, 10, 20, .08);
  }
  .tabbar__item {
    display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 3px; min-width: 0; height: 100%;
    padding: 0; border: 0; background: none; color: var(--muted); font: inherit; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
    transition: color .2s;
  }
  .tabbar__item:hover { text-decoration: none; color: var(--text); }
  .tabbar__icon { display: grid; place-items: center; width: 46px; height: 30px; border-radius: 15px; transition: background .2s, transform .15s; }
  .tabbar__icon .ic { width: 21px; height: 21px; }
  .tabbar__label { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10.5px; font-weight: 650; line-height: 1.1; }
  .tabbar__item.is-active { color: var(--accent); }
  .tabbar__item.is-active .tabbar__icon { background: var(--accent-soft); }
  .tabbar__item:active .tabbar__icon, .tabbar__item:active .tabbar__fab { transform: scale(.9); }
  .tabbar__avatar { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 750; }
  .tabbar__fab {
    display: grid; place-items: center; width: 54px; height: 54px; margin-top: -28px; border-radius: 50%;
    background: var(--accent); background: linear-gradient(140deg, color-mix(in srgb, var(--accent) 80%, #fff), var(--accent) 45%, color-mix(in srgb, var(--accent) 65%, #000));
    color: #fff; box-shadow: 0 0 0 5px var(--bg), 0 10px 24px color-mix(in srgb, var(--accent) 45%, transparent); transition: transform .15s;
  }
  .tabbar__fab .ic { width: 24px; height: 24px; }

  /* --- Alttan açılan panel --- */
  .sheet-backdrop { display: block; position: fixed; inset: 0; z-index: 200; background: rgba(6, 8, 14, .55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; transition: opacity .28s; }
  .sheet-backdrop.is-open { opacity: 1; } .sheet-backdrop[hidden] { display: none; }
  .sheet {
    display: flex; flex-direction: column; position: fixed; left: 0; right: 0; bottom: 0; z-index: 210;
    max-width: 640px; max-height: 86vh; max-height: 86dvh; margin: 0 auto; padding-bottom: env(safe-area-inset-bottom);
    border: 1px solid var(--border); border-bottom: 0; border-radius: 24px 24px 0 0; background: var(--surface);
    box-shadow: 0 -18px 50px rgba(0, 0, 0, .28); transform: translateY(100%); transition: transform .34s cubic-bezier(.22, 1, .36, 1);
  }
  .sheet.is-open { transform: none; } .sheet:focus { outline: none; } .sheet.is-dragging { transition: none; } .sheet[hidden] { display: none; }
  .sheet__grip { display: grid; place-items: center; padding: 10px 0 2px; touch-action: none; cursor: grab; }
  .sheet__grip span { width: 42px; height: 5px; border-radius: 3px; background: var(--border2); }
  .sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 20px 12px; touch-action: none; }
  .sheet__title { margin: 0; font-size: 1.15rem; font-weight: 800; }
  .sheet__close { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--surface2); color: var(--muted); cursor: pointer; }
  .sheet__body { overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 0 16px 22px; }
  html.has-sheet, html.has-sheet body { overflow: hidden; }
  .sheet-user { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; padding: 12px 14px 12px 12px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface2); color: var(--text); }
  .sheet-user:hover { text-decoration: none; color: var(--text); }
  .sheet-user__avatar { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 750; }
  .sheet-user__text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
  .sheet-user__text strong, .sheet-user__text small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .sheet-user__text small { color: var(--muted); font-size: .8rem; }
  .sheet-user__bal { flex: none; padding: .3rem .65rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 750; font-size: .85rem; }
  .sheet-auth { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
  .sheet-prefs { display: flex; gap: 10px; margin: 0 0 12px; }
  .sheet-pref { display: flex; align-items: center; gap: 10px; flex: 1; height: 46px; padding: 0 14px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface2); color: var(--text); font: inherit; font-size: .9rem; font-weight: 650; cursor: pointer; }
  .sheet-pref .ic { color: var(--accent); }
  .sheet-pref .t-moon, :root[data-theme="dark"] .sheet-pref .t-sun { display: none; } :root[data-theme="dark"] .sheet-pref .t-moon { display: inline; }
  :root[data-theme="dark"] .sheet-pref__light, :root:not([data-theme="dark"]) .sheet-pref__dark { display: none; }
  .sheet-lang { align-items: center; border-radius: 14px; } .sheet-lang a { padding: 12px 14px; font-size: .82rem; }
  .sheet-list { display: flex; flex-direction: column; margin-bottom: 12px; padding: 4px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface2); }
  .sheet-list a { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; color: var(--text); font-size: .92rem; font-weight: 600; }
  .sheet-list a:hover { text-decoration: none; }
  .sheet-list a + a::before { content: ""; position: absolute; top: 0; left: 44px; right: 12px; height: 1px; background: var(--border); }
  .sheet-list a > .ic { flex: none; color: var(--muted); }
  .sheet-list a.is-active, .sheet-list a.is-active > .ic { color: var(--accent); }
  .sheet-list a:active { background: var(--surface); }
  .sheet-support { display: flex; gap: 10px; margin-bottom: 12px; }
  .sheet-support__btn { display: flex; align-items: center; justify-content: center; gap: 8px; flex: 1; height: 46px; border-radius: 14px; color: #fff; font-size: .9rem; font-weight: 700; }
  .sheet-support__btn:hover { color: #fff; text-decoration: none; filter: brightness(.95); }
  .sheet-support__btn--wa { background: #25d366; } .sheet-support__btn--tg { background: #229ed9; }

  /* Formlar ve dokunma hedefleri: iOS'ta odaklanınca yakınlaştırma olmasın (16px) */
  input, select, textarea { font-size: 16px !important; }
  .btn { min-height: 42px; } .btn.sm { min-height: 34px; }
  .icon-btn { min-width: 40px; min-height: 40px; }

  /* SMS Al ekranı: listeler ekranı doldurmasın, aktif numaralar üstte kalsın */
  .scroll-list { max-height: 46vh; }
  .buy-grid > aside { order: -1; }
  .buy-grid > aside:has(#acts > .empty) { display: none; } /* aktif numara yoksa boş kart yer kaplamasın */
}

/* Tablet (600–1023px) */
@media (min-width: 600px) and (max-width: 1023px) {
  .page { padding: 1.25rem 1.5rem; }
}

/* ── Telefon (≤640px) — lisansx panel.css'teki kurallardan uyarlandı (yönetim + kullanıcı paneli) ── */
@media (max-width: 640px) {
  .page { padding: .9rem .75rem; }
  .app-top { padding: .5rem .75rem; gap: .5rem; }
  .page-head { flex-wrap: wrap; gap: .6rem; } .page-head h1 { font-size: 1.35rem; }
  .page-head > .flex, .page-head > form { flex-wrap: wrap; }
  .filters { gap: .5rem; } .filters .field { min-width: 0; flex: 1 1 100%; } .filters .btn { flex: 1 1 100%; }
  .bulkbar { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .bulkbar::-webkit-scrollbar { display: none; } .bulkbar > * { flex-shrink: 0; }
  .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .table th, .table td { padding: .55rem .6rem; font-size: .84rem; } .table .actions { white-space: nowrap; }
  dialog { max-width: calc(100vw - 16px); margin: auto auto 8px; border-radius: 18px; }
  dialog .dlg-foot { flex-direction: column-reverse; } dialog .dlg-foot .btn { width: 100%; }
  .card-head { flex-wrap: wrap; gap: .5rem; }
  .grid.g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .card.stat { padding: .85rem; } .card.stat .v { font-size: 1.25rem; }
  .inline-form { flex-direction: column; align-items: stretch; }
}
@media (max-width: 380px) { .grid.g4 { grid-template-columns: 1fr; } .tabbar__label { font-size: 9.5px; } }
@media (prefers-reduced-motion: reduce) { .sheet, .sheet-backdrop { transition: none; } }
@media print { .tabbar, .sheet, .sheet-backdrop { display: none !important; } }

/* 2FA: QR kutusu ve yedek kod ızgarası */
.qr-box { display: inline-block; padding: 10px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); line-height: 0; }
.qr-box svg { width: 200px; height: 200px; max-width: 100%; }
.codes-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; }
.codes-grid code { display: block; text-align: center; padding: .45rem; font-size: .95rem; letter-spacing: .04em; }

/* Marka logosu (Ayarlar → Görünüm) */
.brand-logo { height: 32px; width: auto; max-width: 180px; object-fit: contain; display: block; }
.brand-logo.only-dark { display: none; } :root[data-theme="dark"] .brand-logo.only-dark { display: block; } :root[data-theme="dark"] .brand-logo.only-light { display: none; }
.brand-prev { display: flex; align-items: center; gap: .6rem; margin-top: .4rem; } .brand-prev img { max-height: 40px; max-width: 160px; background: var(--surface2); border: 1px solid var(--border); border-radius: 6px; padding: 3px; }
.footer .social { display: flex; gap: .4rem; flex-wrap: wrap; }
.sticky-save { position: sticky; bottom: 0; padding: .8rem 0; background: linear-gradient(transparent, var(--bg) 35%); z-index: 5; }
@media (max-width: 1023px) { body.has-tabbar .sticky-save { bottom: var(--tabbar-space); } }

/* Bildirim zili ve listesi */
.bell { position: relative; }
.bell__btn { position: relative; }
.bell__count { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--bad); color: #fff; font-size: 10.5px; font-weight: 750; line-height: 18px; text-align: center; border: 2px solid var(--surface); }
.bell__panel { position: absolute; right: 0; top: calc(100% + 8px); width: min(380px, calc(100vw - 24px)); max-height: 70vh; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 18px 50px rgba(0,0,0,.18); z-index: 90; overflow: hidden; }
.bell__panel[hidden] { display: none; }
.bell__head { display: flex; justify-content: space-between; align-items: center; padding: .7rem .9rem; border-bottom: 1px solid var(--border); }
.bell__list { overflow-y: auto; }
.bell__item { display: flex; gap: .6rem; padding: .7rem .9rem; border-bottom: 1px solid var(--border); color: var(--text); }
.bell__item:hover { background: var(--surface2); text-decoration: none; color: var(--text); }
.bell__txt { display: flex; flex-direction: column; gap: .1rem; min-width: 0; } .bell__body { white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bell__all { display: block; text-align: center; padding: .6rem; font-weight: 600; font-size: .88rem; border-top: 1px solid var(--border); }
.notif-list { display: flex; flex-direction: column; } .notif { display: flex; gap: .7rem; padding: .9rem 1rem; border-bottom: 1px solid var(--border); } .notif:last-child { border-bottom: 0; }
.notif__dot { flex: none; width: 9px; height: 9px; margin-top: .45rem; border-radius: 50%; background: var(--info); }
.notif--ok .notif__dot { background: var(--ok); } .notif--warn .notif__dot { background: var(--warn); } .notif--danger .notif__dot { background: var(--bad); }
.is-read { opacity: .62; } .is-read .notif__dot { background: var(--border2); }
.notif__text { white-space: normal; margin: .15rem 0; }
@media (max-width: 640px) {
  .bell__panel { position: fixed; left: 8px; right: 8px; top: 64px; width: auto; max-height: calc(100vh - 64px - var(--tabbar-space, 0px) - 16px); }
}

/* muhasebe */
.stat .v.small-v { font-size: 1rem; }
.table tfoot td { border-top: 2px solid var(--border); }
.danger-zone { border-color: color-mix(in srgb, var(--bad) 45%, var(--border)); }
.danger-zone h3 { color: var(--bad); }
/* Google / Passkey */
.social-login { margin-top: 1.1rem; display: grid; gap: .55rem; }
.social-login .or { display: flex; align-items: center; gap: .6rem; color: var(--muted); font-size: .82rem; }
.social-login .or::before, .social-login .or::after { content: ""; flex: 1; border-top: 1px solid var(--border); }
.btn.google .ic { width: 18px; height: 18px; }
.method-row { display: flex; align-items: center; justify-content: space-between; gap: .6rem; flex-wrap: wrap; padding: .55rem 0; border-bottom: 1px solid var(--border); }
.method-row:last-of-type { border-bottom: 0; }
/* blog */
.blog-head { align-items: flex-end; }
.blog-search { display: flex; gap: .4rem; } .blog-search input { min-width: 220px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.blog-grid.sm { grid-template-columns: repeat(3, 1fr); }
.blog-card { display: flex; flex-direction: column; gap: .45rem; padding: 0 0 1rem; overflow: hidden; }
.blog-card > :not(.cover) { padding: 0 1.1rem; }
.blog-card .cover { display: block; aspect-ratio: 16 / 9; background: var(--surface2); }
.blog-card .cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card .cover .ph { display: grid; place-items: center; height: 100%; color: var(--muted); } .blog-card .cover .ph .ic { width: 42px; height: 42px; opacity: .45; }
.blog-card h2 { font-size: 1.1rem; margin: 0; line-height: 1.35; } .blog-card h2 a { color: var(--text); } .blog-card p { margin: 0; }
.blog-mini { display: flex; flex-direction: column; gap: .3rem; color: var(--text); } .blog-mini:hover { text-decoration: none; border-color: var(--accent); }
.blog-post h1 { margin-bottom: .3rem; line-height: 1.25; }
.blog-post img { max-width: 100%; height: auto; border-radius: 10px; }
.blog-cover { width: 100%; max-height: 420px; object-fit: cover; border-radius: 12px; margin-bottom: 1rem; } .blog-cover.sm { max-height: 160px; }
.blog-post blockquote { margin: 1rem 0; padding: .6rem 1rem; border-left: 4px solid var(--accent); background: var(--surface2); border-radius: 0 8px 8px 0; }
.blog-post h2, .blog-post h3 { scroll-margin-top: 80px; }
.toc { background: var(--surface2); border-radius: 10px; padding: .7rem 1rem; margin: 0 0 1.2rem; } .toc summary { cursor: pointer; font-weight: 600; } .toc ol { margin: .5rem 0 0; }
.blog-cta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: 1.6rem 0 1rem; padding: 1rem 1.1rem; border: 1px solid var(--border); border-radius: 12px; background: var(--surface2); }
.share { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; border-top: 1px solid var(--border); padding-top: .8rem; }
.crumbs a { color: var(--muted); }
.blog-edit-grid { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
.md-area { min-height: 420px; font-size: .9rem; line-height: 1.55; }
@media (max-width: 1023px) { .blog-grid, .blog-grid.sm { grid-template-columns: repeat(2, 1fr); } .blog-edit-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .blog-grid, .blog-grid.sm { grid-template-columns: 1fr; } .blog-search, .blog-search input { width: 100%; min-width: 0; } .blog-head { align-items: stretch; } }
/* API paketleri */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; }
.plan-card { display: flex; flex-direction: column; gap: .4rem; } .plan-card.on { border-color: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 25%, transparent); }
.plan-card h3 { margin: 0; } .plan-card .price { font-size: 1.35rem; font-weight: 700; } .plan-card ul { margin: .2rem 0 .4rem; padding-left: 1.1rem; } .plan-card form { margin-top: auto; }

/* dar ekranda ızgara öğeleri ve kod blokları sayfayı yatay taşırmasın */
.grid > *, .form-row > * { min-width: 0; }
.codeblock { max-width: 100%; } .codeblock pre, pre.code { max-width: 100%; overflow-x: auto; }
@media (max-width: 640px) { .card .flex.gap1, .page-head .flex.gap1 { flex-wrap: wrap; } }
/* reCAPTCHA v3: rozet gizli, yerine bilgi metni (Google kurallarına uygun) */
.grecaptcha-badge { visibility: hidden !important; }
.recaptcha-note { font-size: .75rem; color: var(--muted); margin: .4rem 0 0; } .recaptcha-note a { color: inherit; text-decoration: underline; }
