/* ModVanta — müşteri paneli stilleri */
:root {
  --bg: #0b0d12;
  --bg-2: #10131a;
  --surface: #151923;
  --surface-2: #1b2030;
  --border: #252b3b;
  --border-2: #313849;
  --text: #e8ebf2;
  --muted: #8a92a6;
  --faint: #5d6579;
  --accent: #7c5cff;
  --accent-2: #9f87ff;
  --accent-soft: rgba(124, 92, 255, .14);
  --ok: #2fd17c;      --ok-soft: rgba(47, 209, 124, .12);
  --warn: #ffb547;    --warn-soft: rgba(255, 181, 71, .13);
  --bad: #ff5c6c;     --bad-soft: rgba(255, 92, 108, .12);
  --info: #4cc2ff;    --info-soft: rgba(76, 194, 255, .12);
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 12px 32px -16px rgba(0,0,0,.6);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --mono: ui-monospace, "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.01em; margin: 0; }
.hidden { display: none !important; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 19px; color: var(--text); }
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), #4cc2ff);
  box-shadow: 0 6px 20px -6px rgba(124,92,255,.7);
}
.logo-mark svg { width: 18px; height: 18px; }
.logo b { color: var(--accent-2); font-weight: 700; }

/* ---------- Form öğeleri ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 500; color: var(--muted); }
.input-wrap { position: relative; }
.input {
  width: 100%; height: 46px; padding: 0 14px;
  background: var(--bg-2); border: 1px solid var(--border-2); border-radius: var(--radius-sm);
  color: var(--text); font: inherit; outline: none; transition: border-color .15s, box-shadow .15s;
}
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.input[readonly] { color: var(--muted); cursor: default; }
.input.invalid { border-color: var(--bad); box-shadow: 0 0 0 3px var(--bad-soft); }
.input-wrap .input { padding-right: 46px; }
.eye {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border: 0; background: none; border-radius: 7px; color: var(--muted); cursor: pointer;
  display: grid; place-items: center;
}
.eye:hover { color: var(--text); background: var(--surface-2); }
.eye svg { width: 18px; height: 18px; }
.field-error { font-size: 12.5px; color: var(--bad); min-height: 0; }

.btn {
  height: 44px; padding: 0 18px; border-radius: var(--radius-sm); border: 1px solid transparent;
  font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: background .15s, border-color .15s, transform .05s, opacity .15s; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #6c4bf5; }
.btn-ghost { background: transparent; border-color: var(--border-2); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { height: 34px; padding: 0 12px; font-size: 13px; }
.btn-block { width: 100%; }
.btn svg { width: 16px; height: 16px; }

.alert { padding: 11px 14px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 16px; border: 1px solid; }
.alert-error { background: var(--bad-soft); border-color: rgba(255,92,108,.35); color: #ffb3bb; }
.alert-ok { background: var(--ok-soft); border-color: rgba(47,209,124,.35); color: #9cf0c4; }

.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Giriş / Kayıt ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; }
.auth-aside {
  position: relative; overflow: hidden; padding: 40px 56px; display: flex; flex-direction: column; justify-content: space-between;
  background:
    radial-gradient(900px 500px at 10% 0%, rgba(124,92,255,.28), transparent 60%),
    radial-gradient(700px 500px at 100% 100%, rgba(76,194,255,.16), transparent 60%),
    var(--bg-2);
  border-right: 1px solid var(--border);
}
.auth-aside::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%);
}
.auth-aside > * { position: relative; z-index: 1; }
.auth-hero h1 { font-size: 40px; line-height: 1.1; max-width: 460px; margin-bottom: 14px; }
.auth-hero h1 span { background: linear-gradient(90deg, var(--accent-2), var(--info)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.auth-hero p { color: var(--muted); max-width: 420px; font-size: 16px; margin: 0; }
.auth-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.auth-points li { display: flex; gap: 10px; align-items: center; color: #c5cad8; font-size: 14.5px; }
.auth-points li i { width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-2); display: grid; place-items: center; font-style: normal; font-size: 12px; }

.mock-license {
  width: 340px; max-width: 100%; padding: 20px; border-radius: 16px; margin-top: 36px;
  background: linear-gradient(160deg, rgba(27,32,48,.92), rgba(16,19,26,.92));
  border: 1px solid var(--border-2); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8);
  transform: rotate(-2deg);
}
.mock-license .row { display: flex; justify-content: space-between; align-items: center; }
.mock-license .key { font-family: var(--mono); font-size: 13px; color: var(--muted); margin: 14px 0 12px; letter-spacing: .04em; }
.auth-foot { color: var(--faint); font-size: 13px; }

.auth-main { display: grid; place-items: center; padding: 40px 24px; }
.auth-card { width: 100%; max-width: 410px; }
.auth-card .logo { display: none; margin-bottom: 28px; }
.auth-card h2 { font-size: 26px; margin-bottom: 6px; }
.auth-card .sub { color: var(--muted); margin: 0 0 24px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface); border: 1px solid var(--border); border-radius: 11px; padding: 4px; margin-bottom: 26px; }
.tab { height: 38px; border: 0; background: none; border-radius: 8px; color: var(--muted); font-weight: 600; cursor: pointer; }
.tab.active { background: var(--surface-2); color: var(--text); box-shadow: 0 1px 0 rgba(255,255,255,.04) inset; }
.strength { display: flex; gap: 4px; margin-top: 4px; }
.strength span { flex: 1; height: 4px; border-radius: 4px; background: var(--border-2); transition: background .2s; }
.strength-label { font-size: 12px; color: var(--muted); }
.switch-line { text-align: center; color: var(--muted); font-size: 14px; margin-top: 18px; }
.switch-line button { background: none; border: 0; color: var(--accent-2); cursor: pointer; font-weight: 600; padding: 0; }

/* ---------- Panel düzeni ---------- */
.app { display: grid; grid-template-columns: 252px 1fr; min-height: 100vh; background: linear-gradient(90deg, var(--bg-2) 252px, var(--bg) 252px); }
.sidebar {
  position: sticky; top: 0; height: 100vh; padding: 22px 16px; display: flex; flex-direction: column; gap: 26px;
  background: var(--bg-2); border-right: 1px solid var(--border);
}
.sidebar .logo { padding: 0 8px; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav-label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); padding: 0 12px; margin: 6px 0 6px; }
.nav a {
  display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 9px; color: var(--muted); font-weight: 500; font-size: 14.5px;
}
.nav a:hover { background: var(--surface); color: var(--text); text-decoration: none; }
.nav a.active { background: var(--accent-soft); color: #fff; }
.nav a.active svg { color: var(--accent-2); }
.nav svg { width: 18px; height: 18px; flex: none; }
.nav .count { margin-left: auto; font-size: 11.5px; background: var(--surface-2); color: var(--muted); padding: 1px 7px; border-radius: 20px; }
.nav a.active .count { background: rgba(124,92,255,.25); color: #fff; }
.side-user { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); }
.avatar { width: 36px; height: 36px; border-radius: 10px; flex: none; display: grid; place-items: center; font-weight: 700; font-family: var(--display); background: linear-gradient(135deg, var(--accent), var(--info)); color: #fff; }
.side-user .who { min-width: 0; flex: 1; }
.side-user .who b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-user .who small { display: block; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.icon-btn { width: 34px; height: 34px; border-radius: 8px; border: 1px solid transparent; background: none; color: var(--muted); display: grid; place-items: center; cursor: pointer; flex: none; }
.icon-btn:hover { background: var(--surface-2); color: var(--text); border-color: var(--border-2); }
.icon-btn svg { width: 17px; height: 17px; }

.main { min-width: 0; padding: 28px 36px 60px; }
.topbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.topbar h1 { font-size: 27px; }
.topbar p { margin: 4px 0 0; color: var(--muted); }
.mobile-head { display: none; }

/* ---------- Kartlar ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-pad { padding: 20px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.card-head h3 { font-size: 16px; }
.card-head a { font-size: 13.5px; font-weight: 500; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 22px; }
.stat { padding: 18px 20px; }
.stat .label { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 500; }
.stat .label i { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; }
.stat .label i svg { width: 15px; height: 15px; }
.stat .value { font-family: var(--display); font-size: 28px; font-weight: 600; margin-top: 10px; line-height: 1.15; font-variant-numeric: tabular-nums; }
.stat .value small { font-size: 15px; color: var(--muted); font-weight: 500; }
.stat .hint { font-size: 12.5px; color: var(--muted); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tone-accent { background: var(--accent-soft); color: var(--accent-2); }
.tone-ok { background: var(--ok-soft); color: var(--ok); }
.tone-warn { background: var(--warn-soft); color: var(--warn); }
.tone-info { background: var(--info-soft); color: var(--info); }

.grid-2 { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 22px; align-items: start; }

/* ---------- Lisans kartları ---------- */
.lic-list { display: grid; gap: 14px; }
.lic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.lic { padding: 18px 20px; position: relative; overflow: hidden; }
.lic::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--lic-color, var(--accent)); }
.lic[data-status="active"] { --lic-color: var(--ok); }
.lic[data-status="expiring"] { --lic-color: var(--warn); }
.lic[data-status="expired"], .lic[data-status="revoked"] { --lic-color: var(--bad); }
.lic[data-status="lifetime"] { --lic-color: var(--accent); }
.lic-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.lic-name { font-weight: 600; font-size: 16px; }
.lic-plan { color: var(--muted); font-size: 13px; margin-top: 2px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.bad { background: var(--bad-soft); color: var(--bad); }
.badge.accent { background: var(--accent-soft); color: var(--accent-2); }
.badge.info { background: var(--info-soft); color: var(--info); }
.badge.muted { background: var(--surface-2); color: var(--muted); }

.remain { display: flex; align-items: baseline; gap: 6px; margin: 16px 0 10px; font-variant-numeric: tabular-nums; flex-wrap: wrap; }
.remain .big { font-family: var(--display); font-size: 30px; font-weight: 600; line-height: 1; }
.remain .unit { color: var(--muted); font-size: 14px; margin-right: 6px; }
.remain .clock { font-family: var(--mono); color: var(--muted); font-size: 13px; margin-left: auto; }
.remain.done .big { color: var(--bad); font-size: 20px; }
.remain.forever .big { font-size: 22px; color: var(--accent-2); }
.bar { height: 6px; background: var(--surface-2); border-radius: 6px; overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: 6px; background: var(--lic-color, var(--accent)); transition: width .4s; }
.lic-dates { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); margin-top: 8px; gap: 10px; }
.lic-key { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 8px 8px 8px 12px; background: var(--bg-2); border: 1px solid var(--border); border-radius: 9px; }
.lic-key code { font-family: var(--mono); font-size: 13px; letter-spacing: .03em; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lic-key .icon-btn { width: 30px; height: 30px; }
.lic-meta { display: flex; gap: 14px; font-size: 12.5px; color: var(--muted); margin-top: 10px; flex-wrap: wrap; }

.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { height: 32px; padding: 0 13px; border-radius: 20px; border: 1px solid var(--border-2); background: transparent; color: var(--muted); cursor: pointer; font-size: 13px; font-weight: 500; }
.chip:hover { color: var(--text); }
.chip.active { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip .n { opacity: .65; margin-left: 4px; }

/* ---------- Tablo ---------- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); padding: 12px 20px; border-bottom: 1px solid var(--border); white-space: nowrap; }
td { padding: 14px 20px; border-bottom: 1px solid var(--border); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: rgba(255,255,255,.015); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
td .sub { display: block; color: var(--muted); font-size: 12.5px; }
.refunded { text-decoration: line-through; color: var(--muted); }

/* ---------- Etkinlik ---------- */
.feed { list-style: none; margin: 0; padding: 6px 20px; }
.feed li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.feed li:last-child { border-bottom: 0; }
.feed .ico { width: 32px; height: 32px; border-radius: 9px; flex: none; display: grid; place-items: center; }
.feed .ico svg { width: 15px; height: 15px; }
.feed .txt { min-width: 0; flex: 1; }
.feed .txt p { margin: 0; font-size: 14px; }
.feed .txt small { color: var(--muted); font-size: 12.5px; }
.day-label { font-size: 12px; font-weight: 600; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; padding: 14px 20px 2px; }

/* ---------- Hesap ---------- */
.settings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: start; }
.settings .card-pad { padding: 22px; }
.settings h3 { font-size: 16px; margin-bottom: 4px; }
.settings .desc { color: var(--muted); font-size: 13.5px; margin: 0 0 20px; }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 10px 16px; font-size: 14px; margin-bottom: 20px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }

/* ---------- Boş durum / iskelet ---------- */
.empty { text-align: center; padding: 44px 20px; color: var(--muted); }
.empty .em-ico { width: 48px; height: 48px; margin: 0 auto 12px; border-radius: 14px; background: var(--surface-2); display: grid; place-items: center; color: var(--faint); }
.empty .em-ico svg { width: 22px; height: 22px; }
.empty b { display: block; color: var(--text); margin-bottom: 4px; font-size: 15px; }
.skeleton { background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: var(--radius); border: 1px solid var(--border); }
@keyframes sk { to { background-position: -200% 0; } }

.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 500; font-size: 14px;
  transition: opacity .2s, transform .2s; z-index: 50; box-shadow: 0 10px 30px rgba(0,0,0,.4);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.view { animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ---------- Duyarlı ---------- */
@media (max-width: 1180px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .auth { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .auth-card .logo { display: inline-flex; }
  .app { grid-template-columns: 1fr; }
  .sidebar { position: sticky; top: 0; z-index: 20; height: auto; flex-direction: column; gap: 10px; padding: 12px 16px 0; border-right: 0; border-bottom: 1px solid var(--border); }
  .sidebar .side-user, .nav-label { display: none; }
  .mobile-head { display: flex; align-items: center; justify-content: space-between; }
  .sidebar > .logo { display: none; }
  .nav { flex-direction: row; overflow-x: auto; gap: 4px; padding-bottom: 10px; scrollbar-width: none; }
  .nav a { white-space: nowrap; padding: 8px 12px; }
  .nav a .count { display: none; }
  .main { padding: 20px 16px 48px; }
  .settings { grid-template-columns: 1fr; }
  .lic-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .stats { gap: 10px; }
  .stat { padding: 14px; }
  .stat .value { font-size: 22px; }
  .topbar h1 { font-size: 23px; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dd { margin-bottom: 10px; }
}
.mock-bar { width: 67%; background: var(--ok) !important; }

@media (max-width: 900px) { .app { background: var(--bg); } }

/* ---------- Marka logosu ---------- */
.logo-img { width: 34px; height: 34px; object-fit: contain; flex: none; filter: drop-shadow(0 0 10px rgba(110, 90, 255, .55)); }
.hero-emblem { position: relative; width: 168px; height: 168px; margin-bottom: 26px; }
.hero-emblem::before {
  content: ""; position: absolute; inset: -30%; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(124, 92, 255, .45) 0%, rgba(76, 194, 255, .18) 40%, transparent 70%);
  filter: blur(10px); animation: pulse 4s ease-in-out infinite;
}
.hero-emblem img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 30px rgba(0,0,0,.6)); }
@keyframes pulse { 50% { opacity: .6; transform: scale(.94); } }
.auth-card .logo .logo-img { width: 42px; height: 42px; }
@media (prefers-reduced-motion: reduce) { .hero-emblem::before { animation: none; } }

.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text small { font-family: var(--font); font-size: 11.5px; font-weight: 500; letter-spacing: .04em; color: var(--muted); margin-top: 3px; }

/* ---------- Sözleşme onayları ---------- */
.consents { border: 1px solid var(--border-2); border-radius: var(--radius-sm); padding: 14px 14px 10px; margin: 6px 0 18px; background: var(--bg-2); }
.consents.invalid { border-color: var(--bad); box-shadow: 0 0 0 3px var(--bad-soft); }
.consents legend { padding: 0 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.consent-list { display: grid; gap: 9px; padding-top: 10px; margin-top: 10px; border-top: 1px solid var(--border); }
.consents .field-error:not(:empty) { margin-top: 10px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; line-height: 1.45; color: #c9cedb; cursor: pointer; position: relative; }
.check input { position: absolute; opacity: 0; width: 18px; height: 18px; margin: 0; cursor: pointer; }
.check .box {
  flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 5px; border: 1.5px solid var(--border-2); background: var(--surface);
  display: grid; place-items: center; transition: background .15s, border-color .15s;
}
.check .box::after { content: ""; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.check input:checked + .box { background: var(--accent); border-color: var(--accent); }
.check input:checked + .box::after { opacity: 1; }
.check input:indeterminate + .box { background: var(--accent); border-color: var(--accent); }
.check input:indeterminate + .box::after { opacity: 1; width: 8px; height: 0; border-left: 0; transform: none; }
.check input:focus-visible + .box { box-shadow: 0 0 0 3px var(--accent-soft); }
.check a { font-weight: 600; }
.check-all { font-weight: 600; color: var(--text); }
.auth-foot a { color: var(--muted); text-decoration: underline; }

/* ---------- Pencere (modal) ---------- */
body.modal-open { overflow: hidden; }
.modal-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(5, 6, 10, .72); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 20px; animation: fade .15s ease; }
.modal { width: min(760px, 100%); max-height: min(86vh, 900px); display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border-2); border-radius: 16px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.8); overflow: hidden; }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 18px 20px 14px; border-bottom: 1px solid var(--border); }
.modal-head h2 { font-size: 19px; }
.modal-head small { font-size: 12.5px; }
.modal-body { overflow-y: auto; padding: 6px 24px 22px; outline: none; }
.modal-foot { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.modal-foot .scroll-hint { margin-right: auto; font-size: 12.5px; }
.modal-small { width: min(560px, 100%); }
.modal-small .modal-body { padding: 18px 22px; }

/* ---------- Yasal metin tipografisi ---------- */
.legal-text { font-size: 14.5px; line-height: 1.7; color: #cdd2de; }
.legal-text h3 { font-family: var(--font); font-size: 15px; font-weight: 700; color: var(--text); margin: 22px 0 6px; letter-spacing: 0; }
.legal-text p { margin: 10px 0; }
.legal-text ul, .legal-text ol { padding-left: 22px; margin: 8px 0; }
.legal-text li { margin: 5px 0; }
.legal-text b { color: var(--text); }

/* ---------- Hesap: onay listesi ---------- */
.settings .span-2 { grid-column: 1 / -1; }
.doc-list { list-style: none; margin: 0; padding: 0; }
.doc-list li { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-top: 1px solid var(--border); }
.doc-list li:first-child { border-top: 0; padding-top: 0; }
.doc-list .doc-ico { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.doc-list .doc-ico svg { width: 16px; height: 16px; }
.doc-list .doc-info { flex: 1; min-width: 0; }
.doc-list .doc-info b { display: block; font-size: 14.5px; font-weight: 600; }
.doc-list .doc-info small { color: var(--muted); font-size: 12.5px; }
.pending-list { display: grid; gap: 10px; margin: 14px 0 4px; }

/* ---------- Yasal belgeler sayfası ---------- */
.legal-page { max-width: 1100px; margin: 0 auto; padding: 28px 24px 70px; }
.legal-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 30px; }
.legal-layout { display: grid; grid-template-columns: 270px 1fr; gap: 26px; align-items: start; }
.legal-nav { position: sticky; top: 20px; padding: 8px; }
.legal-nav a { display: block; padding: 10px 12px; border-radius: 9px; color: var(--muted); font-size: 14px; font-weight: 500; }
.legal-nav a:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.legal-nav a.active { background: var(--accent-soft); color: #fff; }
.legal-doc { padding: 28px 34px 34px; }
.legal-doc h1 { font-size: 26px; margin-bottom: 4px; }
.legal-doc .meta { color: var(--muted); font-size: 13px; margin-bottom: 12px; }
@media (max-width: 820px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-nav { position: static; display: flex; overflow-x: auto; gap: 4px; }
  .legal-nav a { white-space: nowrap; }
  .legal-doc { padding: 22px 18px; }
  .modal-backdrop { padding: 0; align-items: end; }
  .modal { max-height: 92vh; border-radius: 16px 16px 0 0; }
}
@media print {
  .legal-top, .legal-nav { display: none; }
  .legal-layout { display: block; }
  body, .card { background: #fff; color: #000; border: 0; box-shadow: none; }
  .legal-text, .legal-text b, .legal-text h3, .legal-doc h1 { color: #000; }
}

.modal-backdrop.legal-modal { z-index: 70; }

/* ---------- E-posta doğrulama ---------- */
.verify-icon { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 18px; background: var(--accent-soft); color: var(--accent-2); box-shadow: 0 0 0 6px rgba(124,92,255,.06); }
.verify-icon svg { width: 26px; height: 26px; }
#verifyForm .sub b { color: var(--text); word-break: break-all; }
.code-inputs { display: flex; align-items: center; gap: 8px; margin: 6px 0 12px; }
.code-inputs input {
  flex: 1; min-width: 0; height: 58px; text-align: center; font-family: var(--mono); font-size: 26px; font-weight: 600;
  background: var(--bg-2); border: 1px solid var(--border-2); border-radius: 11px; color: var(--text); outline: none;
  transition: border-color .15s, box-shadow .15s, transform .1s; caret-color: var(--accent);
}
.code-inputs input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.code-inputs input:not(:placeholder-shown), .code-inputs input:valid { }
.code-inputs input.invalid { border-color: var(--bad); box-shadow: 0 0 0 3px var(--bad-soft); animation: shake .3s; }
.code-sep { width: 10px; height: 2px; background: var(--border-2); flex: none; border-radius: 2px; }
@keyframes shake { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
.code-timer { font-size: 13.5px; color: var(--muted); margin: 0 0 18px; }
.code-timer b { color: var(--text); font-variant-numeric: tabular-nums; }
.code-timer .expired { color: var(--warn); }
.verify-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.link-btn { background: none; border: 0; padding: 0; color: var(--accent-2); font-weight: 600; font-size: 14px; cursor: pointer; }
.link-btn:hover:not(:disabled) { text-decoration: underline; }
.link-btn:disabled { color: var(--faint); cursor: default; }
.verify-note { font-size: 12.5px; color: var(--muted); margin: 18px 0 0; }
.verify-note.dev { margin-top: 8px; padding: 9px 12px; border-radius: 8px; background: var(--warn-soft); color: var(--warn); }
@media (max-width: 420px) { .code-inputs { gap: 5px; } .code-inputs input { height: 50px; font-size: 22px; } .code-sep { width: 6px; } }
.code-inputs input { width: 0; }
.auth-main, .auth-card { min-width: 0; }
@media (max-width: 900px) { .auth { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Partnerlerimiz & İş Ortaklarımız ---------- */
.nav a span { min-width: 0; }
.nav a[data-view="partners"] span:not(.count) { line-height: 1.3; }
.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.partner { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.partner.featured { border-color: rgba(124, 92, 255, .45); background: linear-gradient(160deg, rgba(124,92,255,.10), transparent 45%), var(--surface); }
.partner-top { display: flex; gap: 14px; align-items: center; }
.partner-logo { width: 56px; height: 56px; border-radius: 14px; flex: none; overflow: hidden; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border-2); }
.partner-logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.partner-logo span { font-family: var(--display); font-weight: 700; font-size: 19px; color: #fff; width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--info)); }
.partner-id { min-width: 0; }
.partner-id h3 { font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.partner-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 5px; }
.partner-desc { margin: 0; color: #c5cad8; font-size: 14px; line-height: 1.6; flex: 1; }
.partner-offer { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border-radius: 11px; background: var(--ok-soft); border: 1px dashed rgba(47, 209, 124, .4); }
.offer-ico { width: 32px; height: 32px; border-radius: 9px; flex: none; display: grid; place-items: center; background: rgba(47,209,124,.16); color: var(--ok); }
.offer-ico svg { width: 16px; height: 16px; }
.offer-txt { flex: 1; min-width: 0; }
.offer-txt b { display: block; font-size: 13.5px; font-weight: 600; color: #b7f5d3; }
.offer-txt small { color: var(--muted); font-size: 12.5px; }
.offer-txt code { color: var(--text); letter-spacing: .05em; }
.partner-link { align-self: flex-start; text-decoration: none !important; }
.partner-link svg { width: 14px; height: 14px; }
.partners-empty { text-align: center; padding: 56px 24px; }
.partners-empty .em-ico { width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 16px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-2); }
.partners-empty .em-ico svg { width: 28px; height: 28px; }
.partners-empty b { display: block; font-size: 18px; font-family: var(--display); margin-bottom: 8px; }
.partners-empty p { max-width: 460px; margin: 6px auto; color: var(--muted); font-size: 14.5px; }
.partners-foot { margin-top: 20px; font-size: 13.5px; }
.partner { min-width: 0; }
.partner-grid { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
@media (max-width: 900px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .sidebar { min-width: 0; }
  .nav a span:not(.count) { white-space: nowrap; }
}
@media (max-width: 600px) {
  .doc-list li { flex-wrap: wrap; row-gap: 8px; }
  .doc-list .doc-info { flex-basis: calc(100% - 48px); }
  .doc-list li .badge { margin-left: 48px; }
  .doc-list li .btn { margin-left: auto; }
  .kv dd { word-break: break-word; }
}

/* ---------- Canlı destek ---------- */
.nav .unread, .sup-history .unread {
  margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; display: inline-grid; place-items: center;
  background: var(--bad); color: #fff; font-size: 11px; font-weight: 700; box-shadow: 0 0 0 3px rgba(255,92,108,.18);
}
.nav a .count + .unread { margin-left: 6px; }
@media (max-width: 900px) { .nav .unread { margin-left: 4px; } }

.sup-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.sup-wrap > .sup-start:only-child, .sup-wrap > .sup-chat:only-child { grid-column: 1 / -1; }
.sup-wrap #supHistory:empty { display: none; }
.sup-wrap:has(#supHistory:empty) { grid-template-columns: minmax(0, 1fr); }

.sup-online { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.sup-online i { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); flex: none; }
.sup-online.on { color: var(--ok); }
.sup-online.on i { background: var(--ok); box-shadow: 0 0 0 0 rgba(47,209,124,.6); animation: supPulse 2s infinite; }
@keyframes supPulse { 0% { box-shadow: 0 0 0 0 rgba(47,209,124,.55); } 70% { box-shadow: 0 0 0 8px rgba(47,209,124,0); } 100% { box-shadow: 0 0 0 0 rgba(47,209,124,0); } }

.sup-start { padding: 24px; }
.sup-start-head { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
.sup-start-head h3 { font-size: 18px; margin: 0 0 4px; }
.sup-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-2); flex: none; }
.sup-ico svg { width: 24px; height: 24px; }
.sup-topics { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.topic { text-align: left; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border-2); background: var(--bg-2); cursor: pointer; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.topic b { font-size: 14px; }
.topic small { color: var(--muted); font-size: 12px; }
.topic:hover { border-color: var(--accent); }
.topic.active { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 3px var(--accent-soft); }
.textarea { height: auto; min-height: 44px; padding-top: 11px; padding-bottom: 11px; resize: vertical; line-height: 1.45; font: inherit; }
.sup-start-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.sup-start-foot .btn svg, .sup-send svg { width: 17px; height: 17px; }
.sup-start-foot .btn { gap: 8px; }

.sup-chat { display: flex; flex-direction: column; height: min(72vh, 720px); min-height: 440px; overflow: hidden; }
.sup-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.sup-head-info { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-width: 0; }
.sup-head-info b { font-family: var(--display); font-size: 16px; }
.sup-head-act { display: flex; gap: 8px; flex-wrap: wrap; }
.sup-sub { padding: 8px 18px; border-bottom: 1px solid var(--border); background: var(--bg-2); }
.sup-msgs { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; overscroll-behavior: contain; }
.msg { display: flex; flex-direction: column; max-width: min(78%, 560px); min-width: 0; }
.msg .bubble { padding: 10px 14px; border-radius: 16px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14.5px; line-height: 1.5; }
.msg time { font-size: 11px; color: var(--faint); margin-top: 3px; }
.msg.me { align-self: flex-end; align-items: flex-end; }
.msg.me .bubble { background: var(--accent); color: #fff; border-bottom-right-radius: 5px; }
.msg.them { align-self: flex-start; }
.msg.them .bubble { background: var(--surface-2); border: 1px solid var(--border-2); border-bottom-left-radius: 5px; }
.msg-who { font-size: 12px; font-weight: 600; color: var(--accent-2); margin: 0 0 3px 4px; }
.msg-who span { color: var(--faint); font-weight: 500; }
.msg.sys { align-self: center; align-items: center; max-width: 90%; text-align: center; }
.msg.sys span { font-size: 12.5px; color: var(--muted); background: var(--bg-2); border: 1px dashed var(--border-2); padding: 6px 12px; border-radius: 12px; }
.msg-day { align-self: center; font-size: 11.5px; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; margin: 4px 0; }
.sup-composer { display: flex; gap: 10px; align-items: flex-end; padding: 12px 14px; border-top: 1px solid var(--border); background: var(--bg-2); }
.sup-composer .textarea { flex: 1; min-width: 0; resize: none; max-height: 160px; }
.sup-send { width: 46px; height: 46px; padding: 0; flex: none; display: grid; place-items: center; }
.sup-closed { padding: 14px 18px; border-top: 1px solid var(--border); background: var(--bg-2); color: var(--muted); font-size: 14px; text-align: center; }
.linkish { background: none; border: 0; padding: 0; color: var(--accent-2); cursor: pointer; font-weight: 600; }
.linkish:hover { text-decoration: underline; }

.sup-history ul { list-style: none; margin: 0; padding: 6px; max-height: 520px; overflow-y: auto; }
.sup-history li button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 0; background: none; border-radius: 10px; text-align: left; cursor: pointer; }
.sup-history li button:hover { background: var(--surface-2); }
.sh-ico { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.sh-ico svg { width: 17px; height: 17px; }
.sh-main { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.sh-main b { font-size: 14px; }
.sh-main small { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 1180px) {
  .sup-wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .sup-start { padding: 18px; }
  .sup-topics { grid-template-columns: 1fr 1fr; }
  .sup-chat { height: calc(100dvh - 200px); min-height: 380px; }
  .msg { max-width: 88%; }
  .sup-head { padding: 12px 14px; }
  .sup-msgs { padding: 14px; }
}

/* ---------- Launcher indirme sayfası ---------- */
.dl-page { min-height: 100vh; background: radial-gradient(900px 500px at 70% -10%, rgba(124,92,255,.22), transparent 60%), radial-gradient(700px 400px at 0% 100%, rgba(76,194,255,.10), transparent 60%), var(--bg); }
.dl-top { max-width: 1080px; margin: 0 auto; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dl-main { max-width: 1080px; margin: 0 auto; padding: 24px 24px 64px; }
.dl-hero { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 48px; align-items: center; padding: 32px 0 48px; }
.dl-icon img { width: 168px; height: 168px; border-radius: 38px; box-shadow: 0 30px 80px -20px rgba(110,90,255,.7), 0 0 0 1px rgba(255,255,255,.06); display: block; }
.dl-badge { display: inline-block; font-size: 12.5px; font-weight: 600; color: var(--accent-2); background: var(--accent-soft); padding: 5px 12px; border-radius: 20px; margin-bottom: 14px; }
.dl-copy h1 { font-family: var(--display); font-size: clamp(34px, 5vw, 52px); line-height: 1.05; margin: 0 0 14px; letter-spacing: -.02em; }
.dl-sub { color: var(--muted); font-size: 17px; max-width: 560px; margin: 0 0 26px; }
.dl-sub b { color: var(--text); }
.dl-btn { height: 56px; padding: 0 28px; font-size: 16.5px; font-weight: 600; gap: 10px; border-radius: 14px; box-shadow: 0 14px 34px -12px rgba(124,92,255,.8); }
.dl-btn svg { width: 20px; height: 20px; }
.dl-note { color: var(--faint); font-size: 13px; margin: 12px 0 0; }
.dl-note b { color: var(--muted); }
.dl-help { margin-top: 20px; padding: 18px 20px; max-width: 560px; font-size: 14.5px; line-height: 1.6; }
.dl-help ol { margin: 8px 0 6px; padding-left: 20px; }
.dl-help small { color: var(--muted); display: block; margin-top: 6px; }
.dl-help-act { margin-top: 12px; }
.dl-help-copy { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.dl-help-copy code { font-family: var(--mono); color: var(--text); background: var(--bg-2); padding: 3px 8px; border-radius: 6px; overflow-wrap: anywhere; }
.dl-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dl-feat { padding: 22px; }
.dl-feat b { display: block; font-size: 15.5px; margin: 14px 0 6px; }
.dl-feat p { color: var(--muted); font-size: 14px; margin: 0; }
.dl-feat-ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; }
.dl-feat-ico svg { width: 21px; height: 21px; }
.dl-foot { text-align: center; margin-top: 36px; font-size: 13.5px; }
.dl-foot b { color: var(--text); }
@media (max-width: 760px) {
  .dl-hero { grid-template-columns: 1fr; gap: 24px; text-align: center; padding-top: 8px; }
  .dl-icon { justify-self: center; }
  .dl-icon img { width: 120px; height: 120px; border-radius: 28px; }
  .dl-sub { margin-left: auto; margin-right: auto; }
  .dl-btn { width: 100%; justify-content: center; }
  .dl-help { text-align: left; }
  .dl-features { grid-template-columns: 1fr; }
  .dl-top .btn { display: none; }
  .dl-main { padding: 8px 16px 48px; }
  .dl-top { padding: 16px; }
}

/* Çevrimdışı sayfası */
.offline-page { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 24px; }
.offline-page img { border-radius: 22px; margin-bottom: 8px; }
.offline-page h1 { font-family: var(--display); font-size: 26px; margin: 0; }
.offline-page p { color: var(--muted); margin: 0 0 12px; }

/* Panel: "Uygulamayı yükle" kartı */
.install-card { margin: 0 0 12px; padding: 12px; border-radius: 12px; background: linear-gradient(135deg, rgba(124,92,255,.18), rgba(76,194,255,.08)); border: 1px solid rgba(124,92,255,.35); display: flex; gap: 10px; align-items: center; }
.install-card img { width: 34px; height: 34px; border-radius: 9px; flex: none; }
.install-card div { flex: 1; min-width: 0; }
.install-card b { display: block; font-size: 13.5px; }
.install-card small { color: var(--muted); font-size: 12px; }
.install-card .btn { flex: none; }
.install-card .x { background: none; border: 0; color: var(--faint); cursor: pointer; padding: 2px; font-size: 16px; line-height: 1; }
@media (max-width: 900px) { .install-card { display: none !important; } }

/* ---------- Güncellemeler ---------- */
.nav .new-badge { margin-left: auto; font-size: 10.5px; font-weight: 700; letter-spacing: .02em; padding: 2px 8px; border-radius: 10px; background: linear-gradient(135deg, var(--accent), var(--info)); color: #fff; white-space: nowrap; }
@media (max-width: 900px) { .nav .new-badge { margin-left: 6px; } }
.upd-list { display: flex; flex-direction: column; gap: 16px; max-width: 860px; }
.upd { padding: 22px 24px; }
.upd.pinned { border-color: rgba(124,92,255,.45); box-shadow: 0 0 0 1px rgba(124,92,255,.15), var(--shadow); }
.upd-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.upd-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.upd-head time { color: var(--faint); font-size: 13px; }
.upd-ver { font-size: 12px; color: var(--text); background: var(--surface-2); border: 1px solid var(--border-2); padding: 2px 8px; border-radius: 6px; }
.upd-prod { font-size: 12px; color: var(--muted); }
.upd-pin { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--accent-2); }
.upd-pin svg { width: 13px; height: 13px; }
.upd-new { font-size: 10.5px; font-weight: 800; letter-spacing: .06em; color: #fff; background: var(--bad); padding: 2px 7px; border-radius: 6px; }
.upd h3 { font-family: var(--display); font-size: 19px; margin: 0 0 8px; }
.upd-body { color: #c9cedb; font-size: 14.5px; line-height: 1.65; overflow-wrap: anywhere; }
.upd-body p { margin: 0 0 10px; }
.upd-body ul { margin: 0 0 10px; padding-left: 20px; }
.upd-body li { margin: 3px 0; }
.upd-body h4 { font-size: 15px; margin: 14px 0 6px; color: var(--text); }
.upd-body > :last-child { margin-bottom: 0; }
@media (max-width: 520px) { .upd { padding: 18px; } }

/* ---------- Lisans: masaüstü uygulaması ---------- */
.lic-app { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--border-2); display: flex; flex-direction: column; gap: 10px; }
.lic-dev { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--border); }
.lic-dev.empty { border-style: dashed; }
.lic-dev-ico { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: var(--info-soft); color: var(--info); flex: none; }
.lic-dev-ico svg { width: 17px; height: 17px; }
.lic-dev-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lic-dev-txt b { font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lic-dev-txt small { color: var(--muted); font-size: 12px; }
.lic-dev-wait { font-size: 11.5px; color: var(--faint); text-align: right; flex: none; }
.lic-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.lic-actions:empty { display: none; }
.lic-actions .btn { gap: 7px; }
.lic-actions .btn svg { width: 15px; height: 15px; }
.lic-actions .ver { opacity: .7; font-weight: 500; font-size: 11.5px; }
.lic > .lic-actions { margin-top: 14px; }
@media (max-width: 520px) { .lic-dev { flex-wrap: wrap; } .lic-dev .btn { width: 100%; } }

/* ---------- Destek ekibi durumu ---------- */
.sup-side-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.sup-wrap:has(#supHistory:empty) { grid-template-columns: minmax(0, 1fr) 320px; }
.sup-online.busy { color: var(--warn); }
.sup-online.busy i { background: var(--warn); }
.sup-team ul { list-style: none; margin: 0; padding: 8px 10px 12px; display: flex; flex-direction: column; gap: 4px; }
.sup-team li { display: flex; align-items: center; gap: 10px; padding: 6px 6px; }
.sup-team b { font-size: 14px; flex: 1; }
.tav { position: relative; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-family: var(--display); background: linear-gradient(135deg, var(--accent), var(--info)); color: #fff; flex: none; font-size: 14px; }
.tav .pdot { position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; margin: 0; border: 2px solid var(--surface); }
.pdot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #5d6579; }
.pdot.active { background: var(--ok); } .pdot.busy { background: var(--bad); } .pdot.break { background: var(--warn); }
.tst { font-size: 12px; font-weight: 600; color: var(--faint); }
.tst.active { color: var(--ok); } .tst.busy { color: var(--bad); } .tst.break { color: var(--warn); }

/* ---------- Modlarım ---------- */
.launch-card { display: flex; gap: 20px; align-items: center; padding: 22px 24px; margin-bottom: 18px; background: linear-gradient(120deg, rgba(124,92,255,.16), transparent 60%), var(--surface); flex-wrap: wrap; }
.launch-ico img { border-radius: 16px; display: block; box-shadow: 0 14px 34px -14px rgba(124,92,255,.8); }
.launch-txt { flex: 1; min-width: 240px; }
.launch-txt h3 { margin: 0 0 6px; font-size: 18px; }
.launch-txt p { margin: 0 0 10px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.launch-steps { margin: 0; padding: 0; list-style: none; counter-reset: st; font-size: 13.5px; color: var(--muted); display: flex; gap: 6px 20px; flex-wrap: wrap; }
.launch-steps li { counter-increment: st; }
.launch-steps li::before { content: counter(st) ". "; color: var(--accent-2); font-weight: 700; }
.launch-act { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.launch-act .btn { gap: 8px; }
.mod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.mod-card { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.mod-card.locked { opacity: .92; }
.mod-card h3 { margin: 2px 0 0; font-size: 18px; }
.mod-card p { margin: 0; font-size: 14px; line-height: 1.5; }
.mod-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mod-game { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; color: var(--info, #4cc2ff); background: rgba(76,194,255,.12); padding: 3px 9px; border-radius: 8px; }
.mod-meta { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.mod-card[data-status="none"] { --lic-color: var(--border); }
.mod-lic .remain { margin: 6px 0 8px; }
.mod-lic .remain .big { font-size: 24px; }
.mod-card .lic-actions { margin-top: auto; padding-top: 6px; }
@media (max-width: 640px) { .launch-card { padding: 18px; } .launch-act { width: 100%; } .launch-act .btn { width: 100%; } }
.dl-second { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--border); }
.dl-second-t { color: var(--muted); font-size: 14px; margin: 0 0 10px; }
.dl-second .btn { gap: 8px; }
.dl-second .btn svg { width: 18px; height: 18px; }
/* Şifremi unuttum */
.forgot-line { display: flex; justify-content: flex-end; margin-top: 8px; }
.forgot-line .link-btn { font-size: 13px; }
.input.code-one { font-family: var(--mono, monospace); font-size: 22px; letter-spacing: 10px; text-align: center; }
/* Gizli bilgi (Hesabım) */
.secret { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; }
.secret-val { font-family: var(--mono, monospace); letter-spacing: .02em; overflow-wrap: anywhere; color: var(--muted); }
.secret-val.shown { font-family: inherit; letter-spacing: 0; color: var(--text); }
.secret-eye { width: 28px; height: 28px; flex: none; }
.secret-eye svg { width: 15px; height: 15px; }
/* Launcher bağlama sayfası */
.pair-main { display: grid; place-items: center; padding: 30px 16px 60px; }
.pair-card { width: min(520px, 100%); padding: 32px; text-align: center; }
.pair-card h1 { font-family: var(--display); font-size: 26px; margin: 14px 0 10px; }
.pair-ico { width: 64px; height: 64px; margin: 0 auto; border-radius: 18px; display: grid; place-items: center; background: rgba(124,92,255,.15); color: var(--accent-2); }
.pair-ico svg { width: 32px; height: 32px; }
.pair-kv { text-align: left; margin: 18px 0; }
.pair-code { font-family: var(--mono, monospace); font-size: 18px; letter-spacing: 2px; color: var(--accent-2); }
.pair-warn { text-align: left; background: rgba(255,181,71,.08); border: 1px solid rgba(255,181,71,.3); color: #ffd27a; font-size: 13.5px; }
.pair-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.pair-form { display: flex; gap: 10px; margin-top: 14px; }
.pair-input { text-align: center; font-family: var(--mono, monospace); font-size: 20px; letter-spacing: 3px; text-transform: uppercase; }
.pair-ok { width: 64px; height: 64px; margin: 6px auto 12px; border-radius: 50%; display: grid; place-items: center; background: rgba(47,209,124,.15); color: var(--ok); font-size: 32px; font-weight: 700; }

/* Discord hesap bağlama */
.dc-card-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.dc-card-ico { width: 46px; height: 46px; border-radius: 13px; background: #5865f2; color: #fff; display: grid; place-items: center; flex: none; }
.dc-card-txt { flex: 1 1 320px; min-width: 0; }
.dc-card-txt h3 { margin-bottom: 4px; }
.dc-card-txt .desc { margin: 0; }
.dc-card-act { display: flex; gap: 8px; flex-wrap: wrap; }
.dc-ico { background: rgba(88, 101, 242, .18); color: #8b95ff; }
.dc-who { display: flex; align-items: center; gap: 12px; justify-content: center; margin: 4px 0 14px; text-align: left; }
.dc-who img { width: 48px; height: 48px; border-radius: 50%; }
.dc-who b { display: block; font-size: 16px; }
.dc-who small { color: var(--muted); font-size: 12.5px; }
