/* VOICE   a real social product: calm, content-first, nothing decorative
   IDEA    a billboard on a clean feed — the message is set big and bold, the chrome stays out of the way
   PICTURE the two thrones: a plain card for people, a solid ultramarine card for brands
   COLOUR  white or true black ground, graphite ink, one ultramarine accent, red only for "live"
   TYPE    the device's own system font (SF Pro, Segoe UI, Roboto) in heavy weights for messages
   LAYOUT  laptop: thrones side by side under a short title; phone: stacked, app-style tab bar inside */

:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f4f5f7;
  --surface-3: #eceef1;
  --ink: #0f1419;
  --ink-2: #3d4650;
  --muted: #6a7480;
  --line: #e5e7eb;
  --line-2: #d3d7dd;
  --accent: #2b44ff;
  --accent-hover: #1e34e6;
  --accent-ink: #2b44ff;
  --accent-soft: #eef0ff;
  --on-accent: #ffffff;
  --live: #f0283c;
  --ok: #0a8f5a;
  --ok-soft: #e7f6ef;
  --danger: #d92045;
  --danger-soft: #fdecef;
  --warn: #9a6400;
  --warn-soft: #fff5e0;
  --field: #ffffff;
  --shadow: 0 1px 2px rgba(15, 20, 25, .06);
  --topbar: rgba(255, 255, 255, .86);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

/* Koyu tema: cihaz koyuysa (kullanıcı açık seçmediyse) ya da kullanıcı koyu seçtiyse */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) {
    color-scheme: dark;
    --bg: #000000;
    --surface: #0f1012;
    --surface-2: #16181c;
    --surface-3: #1f2227;
    --ink: #e9ebee;
    --ink-2: #b9c0c8;
    --muted: #87909a;
    --line: #23262b;
    --line-2: #33373e;
    --accent: #4257ff;
    --accent-hover: #5568ff;
    --accent-ink: #94a0ff;
    --accent-soft: rgba(66, 87, 255, .16);
    --ok: #3ccf8e;
    --ok-soft: rgba(60, 207, 142, .12);
    --danger: #ff5c78;
    --danger-soft: rgba(255, 92, 120, .12);
    --warn: #f2b84b;
    --warn-soft: rgba(242, 184, 75, .12);
    --field: #0b0c0e;
    --shadow: none;
    --topbar: rgba(0, 0, 0, .82);
  }
}
:root[data-theme=dark] {
  color-scheme: dark;
  --bg: #000000;
  --surface: #0f1012;
  --surface-2: #16181c;
  --surface-3: #1f2227;
  --ink: #e9ebee;
  --ink-2: #b9c0c8;
  --muted: #87909a;
  --line: #23262b;
  --line-2: #33373e;
  --accent: #4257ff;
  --accent-hover: #5568ff;
  --accent-ink: #94a0ff;
  --accent-soft: rgba(66, 87, 255, .16);
  --ok: #3ccf8e;
  --ok-soft: rgba(60, 207, 142, .12);
  --danger: #ff5c78;
  --danger-soft: rgba(255, 92, 120, .12);
  --warn: #f2b84b;
  --warn-soft: rgba(242, 184, 75, .12);
  --field: #0b0c0e;
  --shadow: none;
  --topbar: rgba(0, 0, 0, .82);
}

*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); scroll-padding-top: 80px; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--ink); font: 16px/1.5 var(--sans); overflow-x: clip; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; }
::selection { background: var(--accent-soft); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 8px 12px; border-radius: 8px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.danger { color: var(--danger); }
.link-accent { color: var(--accent-ink); font-weight: 600; text-decoration: none; }
.link-accent:hover { text-decoration: underline; text-underline-offset: 3px; }
.inline { display: inline; }

/* ---------- Icons ---------- */
.icon { width: 20px; height: 20px; flex: none; }
.icon--sm { width: 16px; height: 16px; }
.icon--xs { width: 14px; height: 14px; }

/* ---------- Top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 40; background: var(--topbar); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top); }
.topbar-inner { max-width: 1200px; margin: 0 auto; padding: 8px max(16px, 3vw); display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; min-height: 60px; }
.lang-switch { justify-self: start; display: flex; gap: 2px; }
.lang-switch a { font-size: 13px; font-weight: 600; padding: 8px; color: var(--muted); text-decoration: none; border-radius: 8px; }
.lang-switch a.is-active { color: var(--ink); }
.logo { justify-self: center; display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 30px; height: 30px; display: block; flex: none; }
.logo-word { font: 800 20px/1 var(--display); letter-spacing: -.03em; white-space: nowrap; }
.logo-word span { font-weight: 500; color: var(--muted); }
.topbar-actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.desk-nav { display: none; justify-self: start; gap: 2px; margin-left: -10px; }
.desk-nav a { padding: 8px 12px; border-radius: 999px; color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; }
.desk-nav a:hover { color: var(--ink); background: var(--surface-2); }
.desk-nav a.is-active { color: var(--ink); }
.balance-chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 999px; background: var(--surface-2); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.balance-chip:hover { background: var(--surface-3); }
.logout-form { margin: 0; }
.icon-btn { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent; color: var(--muted); cursor: pointer; text-decoration: none; }
.icon-btn:hover, .icon-btn.is-active { color: var(--ink); background: var(--surface-2); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent; font: 700 15px/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-danger { background: transparent; color: var(--danger); border-color: var(--line-2); }
.btn-danger:hover { background: var(--danger-soft); }
.btn-danger-solid { background: var(--danger); color: #fff; }
.btn-sm { min-height: 36px; padding: 0 16px; font-size: 14px; }
.btn-xs { min-height: 32px; padding: 0 12px; font-size: 13px; }
.btn-lg { min-height: 52px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .4; cursor: not-allowed; transform: none; }

/* ---------- Flash ---------- */
.flash { padding: 12px 16px; border-radius: 12px; margin: 0 0 16px; font-size: 15px; background: var(--accent-soft); color: var(--ink); }
.flash--success { background: var(--ok-soft); color: var(--ok); }
.flash--error { background: var(--danger-soft); color: var(--danger); }
.flash--warn { background: var(--warn-soft); color: var(--warn); }
.wall > .flash { max-width: 720px; margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Wall (home) ---------- */
.wall { width: 100%; max-width: 1200px; margin: 0 auto; padding: clamp(24px, 4.5vw, 52px) max(16px, 3vw) 24px; flex: 1; }
.wall-intro { max-width: 720px; margin: 0 0 clamp(20px, 3.5vw, 36px); }
.wall-intro h1 { font: 800 clamp(34px, 5.4vw, 56px)/1.04 var(--display); letter-spacing: -.035em; margin: 0 0 12px; text-wrap: balance; }
.wall-intro p { color: var(--ink-2); font-size: clamp(16px, 1.9vw, 19px); margin: 0; max-width: 52ch; text-wrap: pretty; }

.thrones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); align-items: stretch; }
.throne { position: relative; display: flex; flex-direction: column; gap: 18px; padding: clamp(20px, 2.6vw, 30px); border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); min-height: clamp(400px, 40vw, 520px); }
.throne--corporate { background: var(--accent); border-color: transparent; color: var(--on-accent); --muted: rgba(255, 255, 255, .72); --line: rgba(255, 255, 255, .22); --ink-2: rgba(255, 255, 255, .86); }
.throne-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.throne-label { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--live); animation: blink 2s ease-in-out infinite; }
.throne--corporate .live i { background: #fff; }
.throne-stage { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 8px 0; }
.throne-message { margin: 0; font: 800 clamp(30px, 3.5vw, 46px)/1.1 var(--display); letter-spacing: -.03em; overflow-wrap: anywhere; text-wrap: balance; }
.throne-message.is-long { font-size: clamp(26px, 2.9vw, 37px); }
.throne-message.is-xlong { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.16; }
.throne-message.is-removed { font-weight: 600; font-size: clamp(19px, 2.2vw, 24px); color: var(--muted); letter-spacing: -.01em; }
.throne.is-empty .throne-message { color: var(--muted); font-size: clamp(24px, 2.8vw, 34px); }
.throne-owner { margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 4px; color: var(--muted); font-size: 15px; }
.throne-owner a { color: inherit; font-weight: 700; text-decoration: none; }
.throne:not(.throne--corporate) .throne-owner a { color: var(--ink); }
.throne-owner a:hover { text-decoration: underline; text-underline-offset: 3px; }
.throne-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.throne-stats > div { padding: 12px 0 12px 14px; border-left: 1px solid var(--line); }
.throne-stats > div:first-child { border-left: 0; padding-left: 0; }
.throne-stats dt { font-size: 13px; color: var(--muted); margin-bottom: 2px; }
.throne-stats dd { margin: 0; font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.throne-cta { min-height: 52px; font-size: 16px; justify-content: space-between; padding: 0 22px; background: var(--ink); color: var(--bg); }
.throne-cta:hover { opacity: .9; }
.throne--corporate .throne-cta { background: #fff; color: var(--accent); }
.throne-cta b { font-weight: 800; font-variant-numeric: tabular-nums; }
.throne-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: -6px; }
.throne-note { flex: 1 1 auto; margin: 0; font-size: 13px; color: var(--muted); }
.throne-report { flex: none; display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); text-decoration: none; white-space: nowrap; min-height: 32px; }
.throne-report:hover { color: inherit; }
.throne-report[hidden] { display: none; }
.throne.is-changed { animation: changed 1.4s ease-out; }

.how { margin: 0 0 28px; }
.how h2 { font: 800 clamp(24px, 3vw, 30px)/1.15 var(--display); letter-spacing: -.025em; margin: 0 0 20px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.steps li { display: flex; gap: 14px; }
.steps li > .icon { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); }
.steps strong { display: block; font-size: 16px; margin-bottom: 2px; }
.steps span { color: var(--ink-2); font-size: 15px; }
.how-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }

/* ---------- Pages ---------- */
.page { width: 100%; max-width: 760px; margin: 0 auto; padding: clamp(20px, 4vw, 40px) max(16px, 3vw) 32px; flex: 1; }
.page--narrow { max-width: 580px; }
.page--auth { max-width: 440px; }
.page--feed { max-width: 620px; }
.page--wide { max-width: 1040px; }
.page-title { font: 800 clamp(28px, 4.4vw, 38px)/1.1 var(--display); letter-spacing: -.03em; margin: 0 0 16px; text-wrap: balance; }
.page-title .muted { font-weight: 600; }
.back-link { display: inline-flex; align-items: center; min-height: 36px; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.back-link:hover { color: var(--ink); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(16px, 3vw, 24px); margin-bottom: 16px; box-shadow: var(--shadow); }
.panel-title { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 700; margin: 0 0 14px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.panel-head .panel-title { margin: 0; }
.empty { text-align: center; padding: 40px 20px; color: var(--ink-2); }
.empty .icon { width: 32px; height: 32px; color: var(--muted); }
.empty p { margin: 10px 0 16px; }
.empty-inline { padding: 4px 0; }
.prose h2 { font-size: 17px; margin: 22px 0 6px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-2); margin: 0; }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label, .form > label:not(.check) { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field p { margin: 0; }
.field-link { align-self: flex-end; }
:where(input:not([type=checkbox]):not([type=radio]), textarea) { width: 100%; font: 16px/1.4 var(--sans); color: var(--ink); background: var(--field); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; min-height: 48px; transition: border-color .15s, box-shadow .15s; }
:where(input, textarea):focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
:where(textarea) { resize: vertical; min-height: 92px; }
::placeholder { color: var(--muted); opacity: .8; }
.field-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.counter { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.counter.is-warn { color: var(--warn); }
.counter.is-over { color: var(--danger); }
.amount-row { display: flex; align-items: center; gap: 10px; }
.amount-prefix { font-size: 22px; font-weight: 800; color: var(--muted); }
.amount-row input { flex: 1; font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.quick-amounts { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); font: 700 14px var(--sans); cursor: pointer; font-variant-numeric: tabular-nums; }
.chip:hover { background: var(--surface-2); }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }
.check a { color: var(--accent-ink); font-weight: 600; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; border: 0; padding: 4px; margin: 0; background: var(--surface-2); border-radius: 14px; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; border-radius: 10px; color: var(--muted); font-weight: 700; font-size: 15px; cursor: pointer; transition: background-color .15s, color .15s; }
.segmented input:checked + span { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.segmented input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.corp-hint { margin: -6px 0 0; }
.input-prefix { display: flex; align-items: center; background: var(--field); border: 1px solid var(--line-2); border-radius: 12px; transition: border-color .15s, box-shadow .15s; }
.input-prefix span { padding-left: 14px; color: var(--muted); }
.input-prefix input { border: 0; background: transparent; padding-left: 4px; }
.input-prefix input:focus { box-shadow: none; }
.input-prefix:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.choice-list { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.choice-list legend { font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; padding: 0; }
.choice { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; font-size: 15px; }
.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.choice input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); flex: none; }
.report-quote { margin: 0 0 18px; padding: 12px 14px; border-left: 3px solid var(--line-2); background: var(--surface-2); border-radius: 0 10px 10px 0; font-weight: 600; overflow-wrap: anywhere; }

/* ---------- Auth ---------- */
.auth-card { margin-top: clamp(4px, 3vw, 28px); }
.auth-body .page--auth { max-width: none; position: relative; display: flex; align-items: center; justify-content: center; isolation: isolate; }
.auth-shell { width: 100%; max-width: 440px; margin: 0 auto; }
.auth-shell .auth-card { margin: 0; }
.auth-media { display: none; position: relative; overflow: hidden; background: var(--accent); color: #fff; }
.auth-slides, .auth-slides img, .auth-video, .auth-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.auth-slides img, .auth-video { object-fit: cover; }
.auth-slides img { opacity: 0; transition: opacity 1.2s ease; }
.auth-slides img.is-on { opacity: 1; }
.auth-shade { background: #000; opacity: .35; pointer-events: none; }
.auth-media-text { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 6px; background: linear-gradient(to top, rgba(0, 0, 0, .45), transparent); }
.auth-media-text strong { font: 800 clamp(24px, 2.6vw, 34px)/1.1 var(--display); letter-spacing: -.03em; text-wrap: balance; }
.auth-media-text span { font-size: 16px; opacity: .88; max-width: 40ch; text-wrap: pretty; }
.auth-shell--showcase .auth-media { background: radial-gradient(120% 90% at 0% 0%, #5a6cff 0%, transparent 60%), radial-gradient(90% 80% at 100% 100%, #1626b8 0%, transparent 60%), var(--accent); }
.auth-shell--showcase .auth-media-text { background: none; }
.auth-showcase { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 40px clamp(28px, 4vw, 56px) 150px; }
.auth-show-card { background: #fff; color: #0f1419; border-radius: 18px; padding: 18px 20px; box-shadow: 0 18px 40px rgba(5, 10, 60, .28); max-width: 420px; animation: floaty 7s ease-in-out infinite; }
.auth-show-card--individual { transform: rotate(-2.5deg); }
.auth-show-card--corporate { align-self: flex-end; transform: rotate(2deg); background: #0f1419; color: #fff; animation-delay: -3.5s; }
.auth-show-card p { margin: 6px 0 8px; font: 800 21px/1.18 var(--display); letter-spacing: -.02em; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.auth-show-label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; opacity: .7; }
.auth-show-meta { font-size: 13px; opacity: .65; font-weight: 600; }
@keyframes floaty { 50% { translate: 0 -8px; } }
.auth-grid { display: contents; }

/* Masaüstü: yan yana */
@media (min-width: 900px) {
  .auth-shell--left, .auth-shell--right { max-width: 1040px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(400px, 460px); background: var(--surface); border: 1px solid var(--line); border-radius: 26px; overflow: hidden; box-shadow: 0 24px 60px rgba(15, 20, 25, .10); min-height: min(640px, calc(100vh - 190px)); }
  .auth-shell--right { grid-template-columns: minmax(400px, 460px) minmax(0, 1.15fr); }
  .auth-shell--right .auth-media { order: 2; }
  .auth-shell--left .auth-media, .auth-shell--right .auth-media { display: block; }
  .auth-shell--left .auth-card, .auth-shell--right .auth-card { border: 0; border-radius: 0; box-shadow: none; display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 3vw, 44px); }
  .auth-shell--left .auth-mark, .auth-shell--right .auth-mark { width: 42px; height: 42px; font-size: 22px; border-radius: 12px; }
  .auth-shell .page-title { font-size: 32px; }
  .auth-shell .auth-card .form { gap: 14px; }
  .auth-shell--left .auth-grid, .auth-shell--right .auth-grid, .auth-shell--background .auth-grid, .auth-shell--none .auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .auth-shell--background, .auth-shell--none { max-width: 620px; }
}

/* Arka plan modu */
.auth-shell--background .auth-media { display: block; position: absolute; inset: 0; z-index: -1; }
.auth-shell--background .auth-media-text { display: none; }
.auth-shell--background .auth-card { background: color-mix(in srgb, var(--surface) 90%, transparent); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 24px 60px rgba(0, 0, 0, .25); }
.auth-shell--background.auth-shell--showcase .auth-showcase { opacity: .5; }
.auth-body:has(.auth-shell--background) .site-footer { margin-top: 0; background: var(--bg); position: relative; }
@media (min-width: 900px) {
  .auth-body:has(.auth-shell--background) .page--auth { padding-top: 48px; padding-bottom: 48px; }
}
.auth-mark { width: 52px; height: 52px; margin: 0 auto 14px; display: block; }
.auth-card > .muted { margin: -8px 0 20px; }
.auth-card > p.small { margin: 18px 0 0; color: var(--ink-2); }

/* ---------- Take over ---------- */
.takeover-now-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 6px; font-size: 14px; }
.price-tag { font-weight: 800; font-variant-numeric: tabular-nums; }
.takeover-now-msg { font: 800 22px/1.2 var(--display); letter-spacing: -.02em; margin: 0 0 4px; overflow-wrap: anywhere; }
.takeover-now-msg.is-empty { color: var(--muted); }
.takeover-now p.small { margin: 0; }
.takeover-now .timer { font-variant-numeric: tabular-nums; }
.notice p { margin-top: 0; }
.preview { border-radius: 16px; padding: 18px; background: var(--surface-2); }
.preview-msg { font: 800 26px/1.15 var(--display); letter-spacing: -.025em; margin: 6px 0; overflow-wrap: anywhere; }
.preview-msg.is-placeholder { color: var(--muted); }
.preview-owner { margin: 0; color: var(--muted); font-size: 14px; }
.balance-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 15px; }
.balance-line strong { font-variant-numeric: tabular-nums; }
.takeover-form > p.small { margin: -4px 0 0; }

/* ---------- Wallet ---------- */
.wallet-balance { padding: 24px; }
.wallet-balance p { margin: 6px 0 0; color: var(--ink-2); }
.wallet-amount { display: block; font: 800 clamp(44px, 9vw, 60px)/1.05 var(--display); letter-spacing: -.04em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(88px, 1fr)); gap: 8px; margin: 0 0 16px; }
.package { min-height: 54px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font: 800 17px var(--sans); font-variant-numeric: tabular-nums; cursor: pointer; transition: border-color .15s, background-color .15s; }
.package:hover, .package.is-selected { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); }
.custom-amount { gap: 8px; margin-bottom: 12px; }
.panel > p.small:last-child { margin-bottom: 0; }
.billing-edit { margin-top: 8px; }
.billing-edit summary { cursor: pointer; min-height: 40px; display: flex; align-items: center; font-size: 14px; font-weight: 600; color: var(--accent-ink); }
.billing-edit .form { margin-top: 8px; }
.pay-frame { display: block; width: 100%; min-height: 560px; border: 0; border-radius: 12px; background: #fff; }
.tx-list { list-style: none; margin: 0; padding: 0; }
.tx-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.tx-list li:last-child { border-bottom: 0; }
.tx-list li > div { display: flex; flex-direction: column; }
.tx-amount { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tx-amount.is-plus { color: var(--ok); }

/* ---------- Feed ---------- */
.composer { padding: 14px 16px; }
.composer:focus-within { border-color: var(--line-2); }
.composer-row { display: flex; gap: 12px; align-items: flex-start; }
.composer textarea { border: 0; background: transparent; padding: 10px 0; min-height: 52px; font-size: 17px; resize: none; }
.composer textarea:focus { box-shadow: none; }
.composer-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 6px; }
.composer-foot .muted { margin-right: auto; }
.avatar { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; color: #fff; font: 700 18px/1 var(--sans); text-decoration: none; }
.avatar--corp { border-radius: 12px; }
.avatar--lg { width: 76px; height: 76px; font-size: 30px; }
.avatar--corp.avatar--lg { border-radius: 20px; }
.avatar--c0 { background: #2b44ff; }
.avatar--c1 { background: #0a8f5a; }
.avatar--c2 { background: #d9480f; }
.avatar--c3 { background: #9c36b5; }
.avatar--c4 { background: #0b7285; }
.avatar--c5 { background: #c2255c; }
.avatar--c6 { background: #5c7cfa; }
.avatar--c7 { background: #495057; }
.post-avatar { text-decoration: none; }
.section-label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--muted); margin: 20px 0 6px; }
.feed-list, .feed-top { border-top: 1px solid var(--line); }
.feed-top + .feed-list { margin-top: 8px; }
.feed-list > .section-label { border-bottom: 1px solid var(--line); margin: 0; padding: 16px 0 10px; }
.post { display: flex; gap: 12px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.post--boosted { background: var(--accent-soft); padding: 16px 14px; margin: 8px 0; border: 0; border-radius: 16px; }
.post-main { flex: 1; }
.post-head { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 6px; font-size: 15px; line-height: 1.3; }
.post-name { font-weight: 700; color: var(--ink); text-decoration: none; }
.post-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.post-meta { color: var(--muted); font-size: 15px; }
.post-boost-label { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.post-body { margin: 6px 0 6px; font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.mention { color: var(--accent-ink); text-decoration: none; font-weight: 600; }
.post-actions { display: flex; align-items: center; gap: 2px; margin-left: -10px; }
.post-actions form { margin: 0; }
.act { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 500 14px var(--sans); cursor: pointer; font-variant-numeric: tabular-nums; text-decoration: none; }
.act .icon { width: 18px; height: 18px; }
.act:hover { color: var(--ink); background: var(--surface-2); }
.act-like.is-on { color: var(--live); }
.act-like.is-on svg { fill: currentColor; }
.act-boost { color: var(--accent-ink); font-weight: 600; }
.act-end { margin-left: auto; }
.badge-verified { display: inline-grid; place-items: center; width: 16px; height: 16px; margin-left: 3px; border-radius: 50%; background: var(--accent); color: #fff; vertical-align: middle; flex: none; }
.throne--corporate .badge-verified { background: #fff; color: var(--accent); }
.badge-verified .icon { width: 11px; height: 11px; stroke-width: 3; }
.chip-throne { display: inline-grid; place-items: center; color: var(--warn); }

/* ---------- Profile ---------- */
.profile-top { display: flex; align-items: center; gap: 16px; }
.profile-id h1 { font: 800 clamp(24px, 5vw, 30px)/1.1 var(--display); letter-spacing: -.025em; margin: 0; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.profile-id p { margin: 4px 0 0; }
.profile-bio { margin: 14px 0 0; color: var(--ink-2); }
.throne-now-chip { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; margin: 14px 0 0; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-size: 14px; font-weight: 700; }
.profile-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 18px 0 0; border-top: 1px solid var(--line); }
.profile-stats > div { padding: 12px 0 0 14px; border-left: 1px solid var(--line); }
.profile-stats > div:first-child { padding-left: 0; border-left: 0; }
.profile-stats dt { font-size: 13px; color: var(--muted); }
.profile-stats dd { margin: 0; font-weight: 800; font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.profile-edit { margin-top: 14px; }
.profile-edit summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; color: var(--accent-ink); font-weight: 700; font-size: 15px; }
.profile-edit .form { margin-top: 6px; }

/* ---------- History ---------- */
.tabs { display: flex; gap: 6px; margin: 16px 0 20px; overflow-x: auto; padding-bottom: 2px; }
.tabs a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); text-decoration: none; font-weight: 600; white-space: nowrap; }
.tabs a.is-active { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.records { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.record-list { list-style: none; margin: 0; padding: 0; counter-reset: rank; }
.record-list li { counter-increment: rank; display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.record-list li:last-child { border-bottom: 0; }
.record-list li::before { content: counter(rank); width: 24px; height: 24px; flex: none; display: grid; place-items: center; border-radius: 50%; font-size: 13px; font-weight: 700; color: var(--muted); background: var(--surface-2); }
.record-list li:first-child::before { background: var(--accent); color: var(--on-accent); }
.record-name { flex: 1; display: flex; align-items: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 600; }
.record-val { font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.timeline { list-style: none; margin: 8px 0 0; padding: 0; }
.timeline .reign { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.reign-no { align-self: start; padding: 4px 0; text-align: center; font-size: 13px; font-weight: 700; color: var(--muted); background: var(--surface-2); border-radius: 999px; font-variant-numeric: tabular-nums; }
.reign.is-current .reign-no { background: var(--accent); color: var(--on-accent); }
.reign-msg { font: 800 20px/1.22 var(--display); letter-spacing: -.02em; margin: 0 0 6px; overflow-wrap: anywhere; }
.reign-msg.is-removed { font-weight: 600; color: var(--muted); font-size: 16px; }
.reign-by { display: flex; align-items: center; margin: 0 0 6px; font-size: 14px; }
.reign-by a { color: var(--ink); text-decoration: none; font-weight: 700; }
.reign-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; font-size: 13px; color: var(--muted); }
.reign-meta span { white-space: nowrap; }
.reign-meta .timer { color: var(--accent-ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.reign-list { list-style: none; margin: 0; padding: 0; }
.reign-list .reign { padding: 12px 0; border-bottom: 1px solid var(--line); }
.reign-list .reign:first-child { padding-top: 0; }
.reign-list .reign:last-child { border-bottom: 0; padding-bottom: 0; }
.pager { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 16px; }

/* ---------- Admin ---------- */
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 0 0 12px; }
.admin-stats > div { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.admin-stats dt { font-size: 13px; color: var(--muted); }
.admin-stats dd { margin: 2px 0 0; font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.admin-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 16px 0; }
.admin-grid .panel { margin: 0; }
.admin-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.admin-row:last-child { border-bottom: 0; }
.admin-row p { margin: 2px 0; overflow-wrap: anywhere; }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.search { display: flex; gap: 8px; }
.search input { min-height: 40px; padding: 8px 12px; width: 240px; }
.scroll { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-weight: 600; color: var(--muted); padding: 8px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.table td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.table .actions { text-align: right; white-space: nowrap; }
.table .actions form + form { margin-left: 4px; }

/* ---------- Footer & tab bar ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 18px max(16px, 3vw) calc(18px + env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; font-size: 14px; color: var(--muted); }
.footer-link { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; color: var(--ink-2); text-decoration: none; font-weight: 500; }
.footer-link:hover { color: var(--ink); }
.footer-switch { display: inline-flex; align-items: center; gap: 2px; }
.footer-switch .icon { margin-right: 4px; }
.footer-switch a { padding: 6px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 13px; border-radius: 6px; }
.footer-switch a.is-active { color: var(--ink); background: var(--surface-2); }
.footer-copy { margin-left: auto; }
.tabbar { display: none; }

/* ---------- Motion ---------- */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}
@keyframes changed {
  0% { box-shadow: 0 0 0 0 var(--accent-soft); }
  25% { box-shadow: 0 0 0 8px var(--accent-soft); }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* ---------- Responsive ---------- */
@media (min-width: 900px) {
  .desk-nav { display: flex; }
}
@media (max-width: 899px) {
  .is-auth .topbar-inner { grid-template-columns: auto minmax(0, 1fr); }
  .is-auth .logo { justify-self: start; }
  .admin-grid { grid-template-columns: minmax(0, 1fr); }
  body.is-auth { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  body.is-auth .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 2px 4px env(safe-area-inset-bottom); background: var(--topbar); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-top: 1px solid var(--line); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 56px; color: var(--muted); text-decoration: none; font-size: 12px; font-weight: 600; }
  .tabbar a .icon { width: 24px; height: 24px; }
  .tabbar a.is-active { color: var(--ink); }
  .tabbar a.is-active .icon { stroke-width: 2.2; }
  body.is-auth .site-footer { margin-top: 24px; }
}
@media (max-width: 860px) {
  .thrones { grid-template-columns: minmax(0, 1fr); }
  .throne { min-height: 0; }
  .throne-stage { min-height: 170px; }
}
@media (max-width: 760px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .topbar-inner { grid-template-columns: auto minmax(0, 1fr); min-height: 56px; }
  .lang-switch { display: none; }
  .logo { justify-self: start; }
  .logo-word { font-size: 18px; }
  .logo-word span { display: none; }
  .records { grid-template-columns: minmax(0, 1fr); }
  .footer-copy { margin-left: 0; width: 100%; }
  .throne { border-radius: 20px; }
  .throne-stats dd { font-size: 16px; }
  .timeline .reign { grid-template-columns: 44px minmax(0, 1fr); gap: 10px; }
  .post { padding-left: 0; padding-right: 0; }
  .post--boosted { padding: 14px 12px; }
}
@media (max-width: 380px) {
  .btn-sm { padding: 0 12px; }
  .balance-chip { padding: 0 10px; }
  .balance-chip .icon { display: none; }
  .throne-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .throne-stats > div:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* =====================================================================
   SOSYAL PLATFORM (v3)
   ===================================================================== */

/* ---------- Kabuk: içerik + sağ kenar ---------- */
.shell { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 max(16px, 3vw); display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; flex: 1; }
.shell > main.page { max-width: 640px; width: 100%; margin: 0 auto; padding-left: 0; padding-right: 0; }
.side { display: none; }
@media (min-width: 1080px) {
  .shell { grid-template-columns: minmax(0, 640px) 340px; justify-content: center; }
  .shell > main.page { margin: 0; }
  .side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 76px; align-self: start; padding: clamp(20px, 4vw, 40px) 0 32px; max-height: calc(100vh - 76px); overflow-y: auto; scrollbar-width: none; }
}
.side-search { display: flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.side-search input, .search-bar input { border: 0 !important; background: transparent !important; box-shadow: none !important; min-height: 44px; padding: 0 !important; }
.side-card { border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; background: var(--surface); }
.side-title { display: flex; align-items: center; gap: 8px; font: 800 17px/1.2 var(--display); margin: 0 0 10px; }
.side-note { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.mini-throne { display: block; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); text-decoration: none; margin-bottom: 8px; }
.mini-throne--corp { background: var(--accent); color: var(--on-accent); }
.mini-throne--corp .mini-label, .mini-throne--corp .mini-by { color: rgba(255, 255, 255, .78); }
.mini-label { display: block; font-size: 12px; font-weight: 700; color: var(--muted); }
.mini-msg { display: block; font: 800 16px/1.25 var(--display); letter-spacing: -.01em; margin: 2px 0; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mini-by { display: flex; align-items: center; gap: 2px; font-size: 13px; color: var(--muted); font-weight: 600; }
.trend { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 8px 0; text-decoration: none; border-top: 1px solid var(--line); }
.trend:first-of-type { border-top: 0; }
.trend-rank { font-size: 13px; color: var(--muted); font-weight: 700; }
.trend-tag { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trend-n { font-size: 13px; color: var(--muted); white-space: nowrap; }
.trend:hover .trend-tag { color: var(--accent-ink); }

/* ---------- Kullanıcı satırı ---------- */
.user-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.user-row + .user-row { border-top: 1px solid var(--line); }
.user-row-main { display: flex; align-items: center; gap: 10px; flex: 1; text-decoration: none; }
.user-row-id { display: flex; flex-direction: column; line-height: 1.3; }
.user-row-name { display: flex; align-items: center; font-weight: 700; }
.user-row-bio { font-size: 14px; color: var(--ink-2); margin-top: 2px; }
.user-row .follow-form { margin: 0; flex: none; }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-ink:hover { opacity: .88; }
.btn.is-following:hover { color: var(--danger); border-color: var(--danger); background: var(--danger-soft); }

/* ---------- Üst bar ekleri ---------- */
.icon-btn--notif { position: relative; }
.dot { position: absolute; top: 2px; right: 0; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--accent); color: #fff; font: 700 10.5px/17px var(--sans); text-align: center; }
.me-link { display: block; border-radius: 50%; }
.tab-ic { position: relative; display: inline-flex; }
.tab-ic .dot { top: -4px; right: -10px; }

/* ---------- Avatar boyutları ---------- */
.avatar--img { object-fit: cover; background: var(--surface-2); }
.avatar--xs { width: 20px; height: 20px; font-size: 11px; }
.avatar--sm { width: 32px; height: 32px; font-size: 14px; }
.avatar--lg { width: 64px; height: 64px; font-size: 26px; }
.avatar--xl { width: 120px; height: 120px; font-size: 46px; }
.avatar--corp.avatar--sm { border-radius: 9px; }
.avatar--corp.avatar--xs { border-radius: 5px; }
.avatar--corp.avatar--xl { border-radius: 26px; }

/* ---------- Rozetler ---------- */
.bdgs { display: inline-flex; align-items: center; gap: 2px; margin-left: 3px; vertical-align: -3px; flex: none; }
.bdg { display: inline-flex; align-items: center; gap: 1px; }
.bdg svg { width: 18px; height: 18px; display: block; }
.bdg--blue { color: #1d9bf0; }
.bdg--brand { color: var(--accent); }
.bdg--gov { color: #829aab; }
.bdg--ruler { color: var(--ink); }
.bdg--ruler svg path { fill: var(--bg); }
.bdg--crown { color: #e8a300; }
.bdg--crown b { font: 800 11px/1 var(--sans); color: #b57f00; }
.throne--corporate .bdg--brand, .mini-throne--corp .bdg--brand { color: #fff; }
.throne--corporate .bdg--ruler, .mini-throne--corp .bdg--ruler { color: #fff; }
.throne--corporate .bdg--brand svg path, .mini-throne--corp .bdg--brand svg path { stroke: var(--accent); }
.throne--corporate .bdg--ruler svg path, .mini-throne--corp .bdg--ruler svg path { fill: var(--accent); }

/* ---------- Akış sekmeleri ---------- */
.feed-tabs { display: flex; border-bottom: 1px solid var(--line); margin: 0 0 4px; position: sticky; top: calc(56px + env(safe-area-inset-top)); z-index: 5; background: var(--topbar); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.feed-tabs a { flex: 1; text-align: center; padding: 14px 8px; color: var(--muted); text-decoration: none; font-weight: 700; font-size: 15px; position: relative; white-space: nowrap; }
.feed-tabs a.is-active { color: var(--ink); }
.feed-tabs a.is-active::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 56px; height: 4px; border-radius: 4px; background: var(--accent); }
.feed-tabs--scroll { overflow-x: auto; scrollbar-width: none; }
.feed-tabs--scroll a { flex: 1 0 auto; padding: 14px 16px; }
.count-pill { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; line-height: 20px; }
@media (min-width: 641px) { .feed-tabs { top: 60px; } }

/* ---------- Gönderi yazma ---------- */
.composer { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; background: transparent; border-radius: 0; box-shadow: none; }
.composer-row { display: flex; gap: 12px; align-items: flex-start; }
.composer-main { flex: 1; }
.composer textarea { border: 0 !important; box-shadow: none !important; background: transparent !important; padding: 10px 0; min-height: 52px; font-size: 18px; resize: none; }
.composer-preview { display: block; max-height: 320px; border-radius: 16px; margin: 6px 0; object-fit: cover; }
.composer-foot { display: flex; align-items: center; gap: 12px; padding: 8px 0 0 56px; border: 0; margin: 0; }
.composer-foot .counter { margin-left: auto; }
.composer-attach { color: var(--accent-ink); cursor: pointer; }
#reply.composer { border-top: 1px solid var(--line); }

/* ---------- Gönderi kartı ---------- */
.feed-list, .feed-top { border-top: 0; }
.post { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); cursor: pointer; transition: background-color .12s; }
.post:hover { background: color-mix(in srgb, var(--surface-2) 55%, transparent); }
.post--boosted, .post--ad { background: transparent; margin: 0; border-radius: 0; padding: 12px 4px; }
.post-context { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted); padding: 0 0 4px 46px; }
.post-context a { color: inherit; text-decoration: none; }
.post-context a:hover { text-decoration: underline; }
.post-context--accent { color: var(--accent-ink); }
.post-row { display: flex; gap: 12px; }
.post-avatar { flex: none; }
.post-main { flex: 1; min-width: 0; }
.post-head { display: flex; align-items: center; flex-wrap: nowrap; gap: 4px; font-size: 15px; line-height: 1.3; min-width: 0; }
.post-name { font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 45%; }
.post-meta { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 1; }
.post-time { color: inherit; text-decoration: none; }
.post-time:hover { text-decoration: underline; }
.post-body { margin: 2px 0 8px; font-size: 16px; line-height: 1.45; overflow-wrap: anywhere; }
.post-body .link { color: var(--accent-ink); text-decoration: none; }
.post-media { display: block; margin: 8px 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.post-media img { display: block; width: 100%; max-height: 520px; object-fit: cover; }
.quote-card { display: block; margin: 8px 0; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 16px; text-decoration: none; color: var(--ink); }
.quote-card:hover { background: var(--surface-2); }
.quote-card img { display: block; width: 100%; max-height: 260px; object-fit: cover; border-radius: 10px; margin-top: 8px; }
.quote-card--gone { color: var(--muted); font-size: 14px; background: var(--surface-2); }
.quote-head { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.quote-head .muted { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quote-body { display: block; margin-top: 4px; font-size: 15px; overflow-wrap: anywhere; }
.ad-cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 8px 0; padding: 10px 14px; border-radius: 12px; background: var(--surface-2); text-decoration: none; color: var(--muted); font-size: 14px; }
.ad-cta b { color: var(--ink); background: var(--surface); border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 14px; white-space: nowrap; }
.ad-cta span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post--main { cursor: default; padding: 16px 4px; }
.post--main:hover { background: transparent; }
.post--main .post-body { font-size: 19px; line-height: 1.45; margin-top: 10px; }
.post-stamp { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.post-stamp b { color: var(--ink); }
.post--main .post-actions { padding-top: 4px; }
.post-actions { display: flex; align-items: center; justify-content: space-between; gap: 0; margin: 0 -8px; max-width: 520px; }
.post-actions form { margin: 0; }
.act { gap: 4px; min-height: 34px; padding: 0 8px; font-size: 13px; }
.act .icon { width: 18px; height: 18px; }
.act-views { cursor: default; }
.act-views:hover { background: transparent; color: var(--muted); }
.act-repost.is-on { color: #00a36c; }
.act-bookmark.is-on { color: var(--accent-ink); }
.act-bookmark.is-on svg { fill: currentColor; }
.act-end { display: flex; margin-left: 0; }
.act-wrap, .post-menu { position: relative; }
.act-wrap > summary, .post-menu > summary { list-style: none; cursor: pointer; }
.act-wrap > summary::-webkit-details-marker, .post-menu > summary::-webkit-details-marker { display: none; }
.post-menu { margin-left: auto; flex: none; }
.post-menu > summary { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--muted); }
.post-menu > summary:hover { background: var(--accent-soft); color: var(--accent-ink); }
.menu { position: absolute; z-index: 20; top: calc(100% + 4px); right: 0; min-width: 230px; padding: 6px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 10px 40px rgba(0, 0, 0, .18); }
.act-wrap .menu { left: 0; right: auto; }
.menu form { margin: 0; }
.menu a, .menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); font: 600 15px var(--sans); text-decoration: none; cursor: pointer; text-align: left; }
.menu a:hover, .menu button:hover { background: var(--surface-2); }
.menu .danger { color: var(--danger); }
.more-btn { margin-top: 16px; }

.page-bar { display: flex; align-items: center; gap: 12px; padding: 4px 0; }
.thread-up .post { border-bottom: 0; position: relative; }
.thread-up .post-row { position: relative; }
.thread-up .post-avatar::after { content: ""; position: absolute; left: 21px; top: 50px; bottom: -14px; width: 2px; background: var(--line-2); }
.join-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.join-bar p { margin: 0 auto 0 0; color: var(--ink-2); }

/* ---------- Keşfet / arama ---------- */
.search-bar { display: flex; align-items: center; gap: 10px; padding: 0 16px; border-radius: 999px; background: var(--surface-2); color: var(--muted); margin: 4px 0 16px; }
.search-bar:focus-within { box-shadow: 0 0 0 2px var(--accent); background: var(--surface); }
.block { margin-bottom: 24px; }
.section-title { font: 800 20px/1.2 var(--display); letter-spacing: -.02em; margin: 8px 0 8px; }
.trend-list .trend { padding: 12px 0; }

/* ---------- Bildirimler ---------- */
.notif { display: flex; gap: 12px; padding: 14px 4px; border-bottom: 1px solid var(--line); text-decoration: none; }
.notif.is-new { background: var(--accent-soft); }
.notif:hover { background: var(--surface-2); }
.notif-ic { flex: none; width: 32px; display: flex; justify-content: center; color: var(--accent-ink); }
.notif--like .notif-ic { color: var(--live); }
.notif--repost .notif-ic { color: #00a36c; }
.notif--crown .notif-ic, .notif--dethroned .notif-ic { color: #e8a300; }
.notif--like .notif-ic svg { fill: currentColor; }
.notif-ic .icon { width: 26px; height: 26px; }
.notif-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.notif-text { font-size: 15px; }
.notif-quote { color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }

/* ---------- Profil ---------- */
.page--profile { padding-top: 0 !important; }
.profile { margin: 0 calc(-1 * max(16px, 3vw)) 0; }
.shell .profile { margin: 0; }
.profile-cover { aspect-ratio: 3 / 1; background: linear-gradient(135deg, var(--accent), #7b8cff); overflow: hidden; }
.profile-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-headrow { display: flex; justify-content: space-between; align-items: flex-start; padding: 0 16px; }
.profile-avatar { margin-top: -60px; }
.profile-avatar .avatar { border: 4px solid var(--bg); box-sizing: content-box; }
.profile-cta { display: flex; gap: 8px; padding-top: 12px; }
.profile-cta form { margin: 0; }
.profile-id, .profile .profile-bio, .profile-meta, .profile-follow, .profile .throne-now-chip, .ruler-strip { margin-left: 16px; margin-right: 16px; }
.profile-id h1 { font: 800 22px/1.2 var(--display); letter-spacing: -.02em; margin: 10px 0 0; display: flex; align-items: center; flex-wrap: wrap; }
.profile-id p { margin: 2px 0 0; }
.chip-soft { display: inline-block; padding: 2px 8px; border-radius: 6px; background: var(--surface-2); color: var(--ink-2); font-size: 12px; font-weight: 600; }
.profile-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--muted); font-size: 15px; margin-top: 10px; }
.profile-meta span, .profile-meta a { display: inline-flex; align-items: center; gap: 5px; }
.profile-meta a { color: var(--accent-ink); text-decoration: none; }
.profile-follow { display: flex; gap: 18px; font-size: 15px; margin-top: 10px; }
.profile-follow a { color: var(--muted); text-decoration: none; }
.profile-follow a:hover { text-decoration: underline; }
.profile-follow b { color: var(--ink); }
.ruler-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 8px; margin-top: 14px; margin-bottom: 4px; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); }
.ruler-strip dt { font-size: 12px; color: var(--muted); }
.ruler-strip dd { margin: 0; font-weight: 800; font-size: 16px; white-space: nowrap; }
.page--profile .feed-tabs { margin-top: 12px; }

/* ---------- Ayarlar ---------- */
.settings-media { position: relative; margin-bottom: 64px; }
.cover-pick { display: block; aspect-ratio: 3 / 1; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, var(--accent), #7b8cff); position: relative; cursor: pointer; }
.cover-pick img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar-pick { position: absolute; left: 16px; bottom: -56px; cursor: pointer; }
.avatar-pick .avatar { border: 4px solid var(--surface); box-sizing: content-box; }
.avatar-pick .avatar--xl { width: 100px; height: 100px; }
.pick-hint { position: absolute; inset: auto 10px 10px auto; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(0, 0, 0, .6); color: #fff; font-size: 13px; font-weight: 600; }
.avatar-pick .pick-hint { inset: auto 0 4px auto; padding: 6px; }
.check-row { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.list-link { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 4px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); font: 600 15px var(--sans); text-decoration: none; cursor: pointer; text-align: left; }
.list-link:last-child, form:last-child > .list-link { border-bottom: 0; }
.list-link b { margin-left: auto; }
.list-link.danger { color: var(--danger); }

/* ---------- Panel ---------- */
.panel-hero { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.panel-hero-id { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.panel-hero-id > span:not(.avatar) { display: flex; flex-direction: column; }
.panel-hero-name { display: flex; align-items: center; font: 800 20px/1.2 var(--display); }
.panel-hero-cta { display: flex; gap: 8px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 0 0 16px; }
.tiles > div { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.tiles dt { font-size: 13px; color: var(--muted); }
.tiles dd { margin: 4px 0 0; font: 800 24px/1.1 var(--display); letter-spacing: -.02em; white-space: nowrap; font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: 6px; }
.tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.panel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.panel-grid .panel { margin: 0; }
.panel-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.perk-list { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.perk-list li { display: flex; gap: 8px; align-items: flex-start; }
.perk-list .icon { color: var(--ok); margin-top: 2px; }
.mini-camp { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.mini-camp-name { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 700; }
.status { display: inline-block; padding: 2px 8px; border-radius: 999px; font: 700 12px/18px var(--sans); background: var(--surface-2); color: var(--muted); white-space: nowrap; vertical-align: middle; letter-spacing: 0; }
.status--active { background: var(--ok-soft); color: var(--ok); }
.status--pending { background: var(--warn-soft); color: var(--warn); }
.status--paused { background: var(--surface-3); color: var(--ink-2); }
.status--rejected, .status--stopped { background: var(--danger-soft); color: var(--danger); }
.status--completed { background: var(--accent-soft); color: var(--accent-ink); }
.bar { display: block; height: 6px; border-radius: 6px; background: var(--surface-3); overflow: hidden; margin-top: 6px; }
.bar i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 6px; transition: width .4s; }
.bar--lg { height: 10px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.btn-row form { margin: 0; }
.link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.link-grid a { display: flex; flex-direction: column; gap: 6px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; font-weight: 700; background: var(--surface); }
.link-grid a:hover { border-color: var(--line-2); background: var(--surface-2); }
.link-grid .icon { color: var(--accent-ink); width: 22px; height: 22px; }
.link-grid small { color: var(--muted); font-weight: 500; }

/* ---------- Doğrulama ---------- */
.badge-legend { display: grid; gap: 12px; }
.legend-row { display: flex; gap: 12px; align-items: flex-start; }
.legend-row > div { display: flex; flex-direction: column; }
.legend-row .bdgs { margin: 2px 0 0; }
.legend-row .bdg svg { width: 22px; height: 22px; }
.legend-row.is-dim { opacity: .5; }
.choose-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; }
.choose-row:last-child { border-bottom: 0; }
.choose-row p { margin: 4px 0 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.code { font: 13px/1.5 ui-monospace, "SF Mono", Menlo, Consolas, monospace; background: var(--surface-2); border-radius: 10px; padding: 10px 12px; overflow-x: auto; white-space: pre; margin: 4px 0 12px; }
.todo-list { margin: 6px 0 12px; padding-left: 20px; color: var(--ink-2); font-size: 14px; }

/* ---------- Reklam ---------- */
.title-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.title-row .page-title { margin-bottom: 12px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.estimate { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--accent-soft); }
.estimate strong { font: 800 22px/1 var(--display); color: var(--accent-ink); }
.choice--post span { overflow: hidden; }
.choice--post { min-height: 56px; padding: 10px 14px; }
:where(select) { width: 100%; min-height: 48px; padding: 0 12px; font: 16px var(--sans); color: var(--ink); background: var(--field); border: 1px solid var(--line-2); border-radius: 12px; }
.daybars { display: flex; align-items: flex-end; gap: 6px; height: 160px; padding: 8px 0 0; margin-bottom: 12px; }
.daybar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; min-width: 0; }
.daybar-val { font-size: 11px; color: var(--muted); white-space: nowrap; }
.daybar-track { flex: 1; width: 100%; display: flex; align-items: flex-end; background: var(--surface-2); border-radius: 6px; overflow: hidden; }
.daybar-track i { display: block; width: 100%; height: 0; background: var(--accent); border-radius: 6px 6px 0 0; transition: height .4s; }
.daybar-day { font-size: 11px; color: var(--muted); }
.sub-title { font-size: 15px; margin: 16px 0 6px; }
.kv-list { list-style: none; padding: 0; margin: 0; }
.kv-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.kv-list li:last-child { border-bottom: 0; }
.kv-list span { color: var(--muted); }
.kv-list b { text-align: right; overflow-wrap: anywhere; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60%; }

/* ---------- İstatistik ---------- */
.hbars { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.hbars li { display: grid; grid-template-columns: minmax(0, 9em) minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: 14px; }
.hbar-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hbar { height: 10px; border-radius: 6px; background: var(--surface-2); overflow: hidden; }
.hbar i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 6px; transition: width .4s; }
.hbar-val { font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- Yönetim ---------- */
.note-form { display: flex; gap: 6px; align-items: center; margin: 0; }
.note-form input { min-height: 32px !important; padding: 4px 10px !important; font-size: 14px !important; width: 180px; }
.badge-form { display: inline-flex; gap: 6px; align-items: center; }
.badge-form select { min-height: 32px; width: auto; font-size: 13px; }
.verify-card .kv-list { margin-bottom: 4px; }

/* ---------- Vitrin ekleri ---------- */
.throne-reads { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 16px; margin: 0; font-size: 14px; color: var(--muted); }
.throne-reads > span { display: inline-flex; align-items: center; gap: 5px; }
.throne-site { display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); color: inherit; font-weight: 700; text-decoration: none; }
.throne:not(.throne--corporate) .throne-site { background: var(--surface-2); color: var(--ink); }
.throne-site[hidden], .throne-reads [hidden] { display: none; }
.live-line { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; font-size: 15px; color: var(--ink-2); text-align: center; }
.reign-no--crown { color: #b57f00; background: rgba(232, 163, 0, .14); }

@media (max-width: 899px) {
  .panel-grid { grid-template-columns: minmax(0, 1fr); }
  .tiles--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .panel-grid--2, .field-row { grid-template-columns: minmax(0, 1fr); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles dd { font-size: 20px; }
  .avatar--xl { width: 88px; height: 88px; font-size: 34px; }
  .profile-avatar { margin-top: -46px; }
  .composer-foot { padding-left: 0; }
  .post-context { padding-left: 0; }
  .me-link { display: none; }
  .post-actions { max-width: none; }
}
.toast { position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); z-index: 99; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 600; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.act-like.pop svg { animation: pop .35s ease-out; }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }

/* ---------- Yönetim: site ayarları ---------- */
.segmented--3 { grid-template-columns: repeat(3, 1fr); }
.site-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin-bottom: 14px; }
.site-thumb { display: flex; flex-direction: column; gap: 6px; }
.site-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.site-video-prev { width: 100%; max-height: 260px; border-radius: 12px; background: #000; margin-bottom: 10px; object-fit: cover; }
.auth-grid-2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 700px) { .auth-grid-2 { grid-template-columns: 1fr 1fr; } }
[data-for-mode][hidden] { display: none; }
.choice > span { display: flex; flex-direction: column; }
.row-gap { display: inline-flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Vitrin: masaüstünde tek ekrana sığar (kaydırma yok) ---------- */
@media (min-width: 900px) {
  body[data-page="home"] .site-footer { margin-top: 0; }
  body[data-page="home"] .wall { padding-top: clamp(14px, 3.2vh, 52px); padding-bottom: clamp(8px, 1.6vh, 24px); }
  .wall-intro { margin-bottom: clamp(12px, 2.6vh, 36px); }
  .wall-intro h1 { font-size: clamp(30px, min(5.4vw, 6.2vh), 56px); margin-bottom: clamp(4px, 1vh, 12px); }
  .wall-intro p { font-size: clamp(15px, min(1.9vw, 2.3vh), 19px); }
  .throne { min-height: clamp(330px, 46vh, 520px); gap: clamp(10px, 1.8vh, 18px); padding: clamp(16px, 2.6vh, 30px) clamp(20px, 2.6vw, 30px); }
  .throne-stage { gap: clamp(8px, 1.4vh, 14px); padding: 0; }
  .throne-message { font-size: clamp(24px, min(3.5vw, 4.6vh), 46px); }
  .throne-message.is-long { font-size: clamp(22px, min(2.9vw, 3.8vh), 37px); }
  .throne-message.is-xlong { font-size: clamp(19px, min(2.4vw, 3.1vh), 30px); }
  .throne-stats > div { padding-top: clamp(6px, 1.1vh, 12px); padding-bottom: clamp(6px, 1.1vh, 12px); }
  .throne-stats dd { font-size: clamp(16px, 2.1vh, 18px); }
  .throne-cta { min-height: clamp(42px, 5.6vh, 52px); }
  body[data-page="home"] .live-line { margin-top: clamp(10px, 1.8vh, 20px); margin-bottom: 0; }
}
@media (min-width: 900px) {
  body[data-page="home"] .throne { min-height: clamp(320px, 44vh, 520px); }
  .auth-body .site-footer { margin-top: 0; }
  .auth-body .page--auth { padding-top: clamp(12px, 3vh, 40px); padding-bottom: clamp(12px, 3vh, 40px); }
  .auth-shell--left, .auth-shell--right { min-height: min(640px, calc(100vh - 170px)); }
  .auth-shell .auth-card { padding-top: clamp(20px, 3.4vh, 44px); padding-bottom: clamp(20px, 3.4vh, 44px); }
  .auth-shell--left .auth-mark, .auth-shell--right .auth-mark { display: none; }
  .auth-shell .page-title { font-size: clamp(26px, 4vh, 32px); margin-bottom: 10px; }
  .auth-shell .auth-card > .muted { margin: -4px 0 clamp(12px, 2vh, 20px); }
  .auth-shell .auth-card .form { gap: clamp(10px, 1.6vh, 14px); }
  .auth-shell .auth-card > p.small { margin-top: clamp(10px, 1.8vh, 18px); }
}
@media (min-width: 900px) {
  body[data-page="home"] .footer-inner, .auth-body .footer-inner { padding-top: 8px; padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
  body[data-page="home"] .wall-intro { max-width: 880px; }
  body[data-page="home"] .wall-intro p { max-width: 72ch; }
}
@media (min-width: 900px) {
  .auth-shell--background .auth-mark { width: 40px; height: 40px; font-size: 22px; border-radius: 12px; margin-bottom: 8px; }
  .auth-body:has(.auth-shell--background) .page--auth { padding-top: clamp(16px, 3vh, 48px); padding-bottom: clamp(16px, 3vh, 48px); }
}
@media (min-width: 900px) and (max-height: 820px) {
  .auth-shell--background .auth-mark, .auth-shell--none .auth-mark { display: none; }
}
[data-site-form] { gap: 0; }
[data-site-form] .panel { display: flex; flex-direction: column; gap: 16px; }
[data-site-form] .panel > p, [data-site-form] .panel-head { margin: 0; }
[data-site-form] .panel-title { margin: 0; }
[data-site-form] [data-for-mode][hidden] { display: none !important; }
[data-site-form] input[type=file] { padding: 10px; font-size: 14px; }
[data-site-form] input[type=range] { accent-color: var(--accent); padding: 0; min-height: 32px; border: 0; background: none; }

/* ---------- Masaüstü iki sütun (iç sayfalar) ---------- */
.page--app { max-width: 1120px; }
.desk { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 24px; align-items: start; }
.desk-main, .desk-side { min-width: 0; }
@media (min-width: 1000px) {
  .desk { grid-template-columns: minmax(0, 1fr) 370px; }
  .desk--left { grid-template-columns: 300px minmax(0, 1fr); }
  .desk-side { position: sticky; top: 84px; }
  .desk-side--flow { position: static; }
  .desk .field-row--desk { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
}
.side-title { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin: 0 0 10px; }
.toc { display: flex; flex-direction: column; gap: 2px; }
.toc a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; }
.toc a:hover { background: var(--surface-2); color: var(--ink); }
.toc a.is-active { background: var(--accent-soft); color: var(--accent-ink); }
.side-profile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.side-profile .avatar { margin-bottom: 8px; }
.side-profile strong { font-size: 18px; }
.side-profile .btn { margin-top: 12px; }
.summary-list { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.summary-list li { display: flex; justify-content: space-between; gap: 12px; }
.summary-list li span { color: var(--muted); }
.summary-list li strong { font-variant-numeric: tabular-nums; text-align: right; }
.ad-prev { border: 1px solid var(--line); border-radius: 16px; padding: 14px; background: var(--surface); }
.ad-prev-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 15px; }
.ad-prev-head .muted { font-size: 13px; }
.ad-prev-body { margin: 0 0 10px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; }
.ad-prev-body.is-placeholder { color: var(--muted); }
.ad-prev-img { width: 100%; border-radius: 12px; border: 1px solid var(--line); margin-bottom: 10px; max-height: 260px; object-fit: cover; }
.ad-prev-cta { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); font-size: 14px; }
.ad-prev-cta b { background: var(--ink); color: var(--bg); padding: 6px 14px; border-radius: 999px; font-size: 13px; }
.ad-prev-label { display: inline-flex; gap: 4px; align-items: center; font-size: 12px; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
@media (min-width: 1000px) {
  .terms-how .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .wallet-side .wallet-amount { font-size: 52px; }
}
.field-row--desk { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 1000px) {
  .desk > .desk-main { grid-column: 1; grid-row: 1; }
  .desk > .desk-side { grid-column: 2; grid-row: 1; }
  .desk--left > .desk-side { grid-column: 1; }
  .desk--left > .desk-main { grid-column: 2; }
}
.page--mid { max-width: 980px; }
[id^=t], #how { scroll-margin-top: 84px; }
@media (max-width: 999px) { .toc { display: none; } }
img[hidden], video[hidden] { display: none !important; }
@media (max-width: 999px) {
  .desk--side-first > .desk-side { display: contents; }
  .desk--side-first > .desk-side > :first-child { order: -1; }
  .desk--main-first > .desk-main { order: -1; }
  .desk--main-first .side-profile { display: none; }
}

/* ---------- Açma/kapama anahtarları ---------- */
.feature-groups { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 900px) { .feature-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.feature-group { border: 1px solid var(--line); border-radius: 14px; padding: 6px 14px 8px; margin: 0; min-width: 0; }
.feature-group legend { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; padding: 0 6px; }
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.switch-row:last-child { border-bottom: 0; }
.switch-row > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 15px; }
.switch-row small { font-size: 13px; }
.switch { appearance: none; -webkit-appearance: none; flex: none; width: 44px; height: 26px; border-radius: 999px; background: var(--line-2); position: relative; cursor: pointer; transition: background-color .15s; margin: 0; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .15s; }
.switch:checked { background: var(--accent); }
.switch:checked::after { transform: translateX(18px); }
.switch:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.features-form { margin-bottom: 16px; }

/* ---------- Hükümdarlar Salonu ---------- */
.rulers-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.rulers-hero .page-title { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.rulers-hero .page-title .icon { width: 34px; height: 34px; color: var(--accent-ink); }
.rulers-hero p { margin: 0; max-width: 52ch; }
.rulers-totals { display: flex; gap: 10px; margin: 0; }
.rulers-totals > div { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 16px; min-width: 112px; }
.rulers-totals dt { font-size: 12px; color: var(--muted); }
.rulers-totals dd { margin: 2px 0 0; font: 800 22px/1.1 var(--display); font-variant-numeric: tabular-nums; }
.rulers-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.rulers-tabs { border-bottom: 0; margin: 0; }
.rulers-tabs a { display: inline-flex; align-items: center; gap: 6px; }
.rulers-filter { display: flex; gap: 8px; align-items: center; padding-bottom: 8px; }
.rulers-filter input { min-height: 40px; padding: 8px 12px; width: 240px; }
.rulers-filter select { min-height: 40px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--field); color: var(--ink); padding: 0 10px; font: 600 14px var(--sans); }
.ruler-card { position: relative; display: flex; flex-direction: column; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 18px; box-shadow: var(--shadow); min-width: 0; }
.ruler-rank { position: absolute; top: 14px; right: 16px; font: 800 22px/1 var(--display); color: var(--muted); opacity: .55; font-variant-numeric: tabular-nums; }
.ruler-id { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; padding-right: 40px; min-width: 0; }
.ruler-id > span:not(.avatar) { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 4px; min-width: 0; }
.ruler-id strong { font-size: 16px; overflow-wrap: anywhere; }
.ruler-id small { width: 100%; font-size: 13px; }
.ruler-id:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.ruler-now { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; }
.ruler-quote { margin: 0; padding: 10px 12px; border-left: 3px solid var(--accent); background: var(--surface-2); border-radius: 0 10px 10px 0; font-weight: 700; font-size: 15px; line-height: 1.35; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ruler-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 0; margin-top: auto; }
.ruler-stats > div { background: var(--surface-2); border-radius: 10px; padding: 8px 10px; min-width: 0; }
.ruler-stats dt { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ruler-stats dd { margin: 2px 0 0; font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rulers-podium { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-bottom: 14px; }
.rulers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.ruler-card--top { padding: 22px; }
.ruler-card--top .ruler-rank { font-size: 40px; opacity: 1; color: var(--accent-ink); }
.ruler-card--top .ruler-quote { font-size: 17px; }
.ruler-card--1 { border: 2px solid var(--accent); background: linear-gradient(180deg, var(--accent-soft), var(--surface) 60%); }
.ruler-since { margin: 0; }
@media (min-width: 900px) {
  .rulers-podium { grid-template-columns: 1.15fr 1fr 1fr; align-items: stretch; }
}
@media (max-width: 640px) {
  .rulers-totals { width: 100%; }
  .rulers-totals > div { flex: 1; min-width: 0; padding: 8px 10px; }
  .rulers-totals dd { font-size: 18px; }
  .rulers-filter { width: 100%; }
  .rulers-filter input { flex: 1; width: auto; }
  .rulers-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- İstatistikler ---------- */
.stats-head { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 800; margin: 26px 0 12px; }
.stats-head:first-of-type { margin-top: 6px; }
.stats-head .icon { color: var(--accent-ink); }
.tiles > .tile--accent { background: var(--accent); border-color: transparent; color: var(--on-accent); }
.tiles > .tile--accent dt { color: rgba(255, 255, 255, .78); }
.tile--accent .live i { background: #fff; }
.record-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 16px; }
.record-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.record-card-val { display: flex; align-items: center; gap: 6px; font: 800 24px/1.15 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.record-card-msg { margin: 2px 0 4px; font-weight: 600; font-size: 14px; color: var(--ink-2); overflow-wrap: anywhere; }
.record-card a { color: var(--ink); font-weight: 700; text-decoration: none; }
.daybars--14 { height: 150px; }
a.record-name { color: inherit; text-decoration: none; }
a.record-name:hover { text-decoration: underline; }

/* ---------- Gönderi ülkeleri ---------- */
.act-cc { display: inline-flex; align-items: center; gap: 3px; margin-left: 8px; color: var(--muted); font-size: 13px; }
.act-cc .icon { width: 14px; height: 14px; }
.post-countries { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.post-countries li { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); font-size: 13px; color: var(--ink-2); }
.post-countries b { color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 420px) { .post-countries li span { display: none; } }

/* ---------- Paylaşım penceresi ---------- */
.share-sheet { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100dvh; color: var(--ink); }
.share-sheet::backdrop { background: rgba(10, 14, 30, .5); backdrop-filter: blur(3px); }
.share-inner { background: var(--surface); width: min(520px, 100vw); border-radius: 22px; padding: 18px 20px 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .3); }
.share-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.share-head h2 { margin: 0; font-size: 20px; }
.share-head .icon-btn { font-size: 18px; color: var(--muted); }
.share-preview { margin: 0 0 14px; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.share-story { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.share-big { display: flex; align-items: center; gap: 12px; text-align: left; padding: 10px 12px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--ink); cursor: pointer; font: inherit; min-width: 0; }
.share-big:hover { border-color: var(--accent); background: var(--accent-soft); }
.share-big strong { display: block; font-size: 15px; }
.share-big small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.3; margin-top: 2px; }
.share-thumb { flex: none; border-radius: 8px; overflow: hidden; background: var(--accent); display: block; }
.share-thumb canvas { display: block; }
.share-thumb--story canvas { width: 45px; height: 80px; }
.share-thumb--square canvas { width: 60px; height: 60px; }
.share-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 6px; }
.share-grid button { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 6px; background: none; border: 0; padding: 4px 0; color: var(--ink-2); font: 600 12.5px var(--sans); cursor: pointer; border-radius: 12px; }
.share-grid button:hover { background: var(--surface-2); color: var(--ink); }
.sh { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 800 16px/1 var(--display); letter-spacing: -.02em; }
.sh-label { text-align: center; line-height: 1.2; overflow-wrap: anywhere; }
.sh-whatsapp { background: #25d366; }
.sh-instagram { background: linear-gradient(45deg, #f9a825, #e1306c 50%, #833ab4); }
.sh-x, .sh-threads { background: #0f1419; }
.sh-facebook { background: #1877f2; }
.sh-telegram { background: #229ed9; }
.sh-linkedin { background: #0a66c2; }
.sh-reddit { background: #ff4500; }
.sh-bluesky { background: #1185fe; }
.sh-pinterest { background: #e60023; }
.sh-email { background: #6a7480; }
.sh-copy { background: var(--accent); font-size: 20px; }
:root[data-theme="dark"] .sh-x, :root[data-theme="dark"] .sh-threads { background: #333a44; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sh-x, :root:not([data-theme="light"]) .sh-threads { background: #333a44; } }
@media (max-width: 560px) {
  .share-sheet { margin: auto 0 0; width: 100vw; }
  .share-inner { width: 100vw; border-radius: 22px 22px 0 0; padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
  .share-story { grid-template-columns: minmax(0, 1fr); }
}
.throne-share { flex: none; display: inline-flex; align-items: center; gap: 4px; font: 500 13px var(--sans); color: var(--muted); background: none; border: 0; cursor: pointer; min-height: 32px; padding: 0; margin-right: 12px; }
.throne-share:hover { color: inherit; }
@media (max-width: 640px) {
  .rulers-filter { flex-wrap: wrap; }
  .rulers-filter input { flex: 1 1 100%; }
  .rulers-filter select { flex: 1; }
}
.features-form .panel-head { margin-bottom: 0; }
