/* ===========================================================
   Garaj 64 — Hot Wheels Alım-Satım & Açık Artırma
   Minimalist, güven odaklı tasarım sistemi
   =========================================================== */

:root {
  /* Renkler */
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --bg-softer: #fafbfc;
  --ink: #0f172a;
  --ink-soft: #475569;
  --ink-faint: #94a3b8;
  --line: #e6e9ef;
  --line-strong: #d4d9e2;

  --surface: #ffffff;     /* kart/panel/girdi yüzeyi — karanlık modda otomatik koyulaşır */
  --surface-2: #f6f7f9;   /* ikincil yüzey (içe gömülü kutular) */
  --ink-fixed: #15171c;   /* beyaz metinli koyu öğeler (toast, aktif çip, dc-bid) — her iki temada da KOYU kalır */

  --brand: #1763d6;      /* güven mavisi */
  --brand-dark: #0f4aa8;
  --brand-soft: #eaf1fc;
  --accent: #ff5722;     /* Hot Wheels enerjisi */
  --accent-soft: #fff1ec;
  --success: #12875a;
  --success-soft: #e7f5ee;
  --warning: #b45309;
  --warning-soft: #fef3e2;

  /* Şekil */
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.05);
  --shadow: 0 4px 18px rgba(15,23,42,.07);
  --shadow-lg: 0 18px 50px rgba(15,23,42,.12);

  --wrap: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
img, video { max-width: 100%; }   /* medya taşmasını önle (mobil güvenlik) */

/* ===== Yükleme iskeleti (shimmer) — js/ui.js skeletonCards() ===== */
@keyframes g64shimmer { 0% { background-position: -460px 0; } 100% { background-position: 460px 0; } }
.skel { background: #eceef2; background-image: linear-gradient(90deg, #eceef2 0, #f4f6f9 230px, #eceef2 460px); background-size: 920px 100%; border-radius: 8px; animation: g64shimmer 1.25s linear infinite; }
.skel-card { pointer-events: none; }
.skel-card .skel-media { aspect-ratio: 4/3; width: 100%; border-radius: 0; }
.skel-line { height: 13px; margin-top: 10px; }
@media (prefers-reduced-motion: reduce) { .skel { animation: none; } }

/* ===== Ortak boş ekran — js/ui.js emptyState() ===== */
.empty-state { grid-column: 1 / -1; text-align: center; padding: 52px 20px; color: var(--ink-soft); }
.empty-state .es-ic { font-size: 46px; line-height: 1; margin-bottom: 12px; }
.empty-state .es-title { font-size: 18px; font-weight: 800; color: var(--ink); }
.empty-state .es-sub { font-size: 14px; margin-top: 6px; max-width: 360px; margin-left: auto; margin-right: auto; }
.empty-state .es-cta { margin-top: 16px; }
html { scroll-behavior: smooth; }
html { overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0; letter-spacing: -.02em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.muted { color: var(--ink-soft); }
.faint { color: var(--ink-faint); }
.center { text-align: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; gap: 14px;
  height: 64px;
}
.logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 18px; letter-spacing: -.03em; flex: none; }
.logo .garaj-logo { height: 38px; width: auto; display: block; }
.logo .garaj-logo.logo-lg { height: 52px; }
.admin-topbar .logo .garaj-logo { height: 34px; }
.logo .mark {
  width: 27px; height: 27px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), #ff8a3d);
  display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 15px;
  box-shadow: 0 4px 12px rgba(255,87,34,.35);
}
.logo .mark::after { content: "›"; transform: translateX(-1px); }
.nav-links { display: flex; align-items: center; gap: 1px; margin-left: 2px; flex: none; }
.nav-links a {
  padding: 7px 9px; border-radius: 8px; font-size: 13px; font-weight: 500; white-space: nowrap;
  color: var(--ink-soft); transition: .15s;
}
.nav-links a:hover { background: var(--bg-soft); color: var(--ink); }
.nav-links a.active { color: var(--brand); background: var(--brand-soft); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 10px; border: 1px solid transparent;
  font-size: 14.5px; font-weight: 600; transition: .15s; white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { filter: brightness(.95); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-soft { background: var(--bg-soft); color: var(--ink); }
.btn-soft:hover { background: #eceef2; }
.btn-block { width: 100%; }
.btn-lg { padding: 14px 24px; font-size: 16px; border-radius: 12px; }
.btn-sm { padding: 8px 13px; font-size: 13px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- Rozetler ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
}
.badge-verified { background: var(--brand-soft); color: var(--brand-dark); }
.badge-success { background: var(--success-soft); color: var(--success); }
.badge-accent { background: var(--accent-soft); color: var(--accent); }
.badge-warn { background: var(--warning-soft); color: var(--warning); }
.badge-soft { background: var(--bg-soft); color: var(--ink-soft); }

/* Özel etiket rozetleri (yapılandırılmış kondisyon) */
.tag-badge {
  display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 700; line-height: 1.4; letter-spacing: .01em;
}
.tag-th    { background: #dcfce7; color: #166534; }   /* yeşil */
.tag-sth   { background: #fef3c7; color: #92400e; }   /* altın */
.tag-chase { background: #1e293b; color: #fff; }      /* koyu */
.tag-rlc   { background: #fee2e2; color: #b91c1c; }   /* kırmızı */
.tag-error { background: #ffedd5; color: #9a3412; }   /* turuncu */
.tag-first { background: #dbeafe; color: #1e40af; }   /* mavi */
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }

/* Okunmamış mesaj sayacı (header + alt nav) */
.msg-badge {
  position: absolute; top: -5px; right: -5px;
  min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px;
  background: var(--accent, #f43f5e); color: #fff;
  font-size: 10.5px; font-weight: 800; line-height: 17px; text-align: center;
  box-shadow: 0 0 0 2px #fff;
}
.bottom-nav .msg-badge { top: -2px; right: calc(50% - 22px); }
.pill-live {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--surface); border: 1px solid var(--line); color: var(--accent);
  padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 700;
}
.pill-live .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255,87,34,.5); animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,87,34,.5); }
  70% { box-shadow: 0 0 0 7px rgba(255,87,34,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,87,34,0); }
}
.nav-live { display: inline-flex; align-items: center; gap: 6px; }
.nav-live .nld { width: 8px; height: 8px; border-radius: 50%; background: #ef4444; animation: blink 1.1s ease-in-out infinite; }
@keyframes blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(239,68,68,.5); }
  50% { opacity: .25; box-shadow: 0 0 0 5px rgba(239,68,68,0); }
}

/* ---------- Hero ---------- */
.hero { padding: 60px 0 30px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.hero h1 { font-size: clamp(34px, 4.4vw, 52px); font-weight: 800; }
.hero h1 .hl { color: var(--accent); }
.hero p.lead { font-size: 18px; color: var(--ink-soft); margin: 18px 0 26px; max-width: 520px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 22px; margin-top: 28px; flex-wrap: wrap; }
.hero-trust .item { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--ink-soft); font-weight: 500; }
.hero-trust .ico { color: var(--success); flex: none; }

.hero-art {
  position: relative; aspect-ratio: 1/.86; border-radius: var(--r-xl);
  background:
    radial-gradient(120% 120% at 15% 0%, #fff 0%, var(--bg-soft) 55%, #eef1f6 100%);
  border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow-lg);
}
.hero-art .track {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(15,23,42,.06) 1px, transparent 0);
  background-size: 22px 22px;
}
.hero-card-float {
  position: absolute; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 12px 14px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600;
}
.hero-car {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%) rotate(-8deg);
  width: 58%;
}

/* ---------- Hero die-cast kompozisyonu ---------- */
@keyframes hbpulse { 0%,100% { opacity:1; } 50% { opacity:.35; } }
.dc-blister {
  position: absolute; left: 6%; top: 8%; width: 54%; background: var(--surface);
  border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  transform: rotate(-5deg); overflow: hidden;
}
.dc-blister .head { background: var(--accent); color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .05em;
  padding: 8px 12px; display: flex; justify-content: space-between; align-items: center; }
.dc-blister .head small { background: rgba(255,255,255,.25); padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.dc-blister .bubble { padding: 16px; background: radial-gradient(110% 90% at 50% 28%, #fff 0%, #eef1f6 100%); }
.dc-blister .bubble svg { width: 100%; display: block; filter: drop-shadow(0 7px 11px rgba(0,0,0,.16)); }
.dc-blister .bubble img { width: 100%; display: block; border-radius: 8px; aspect-ratio: 4/3; object-fit: cover; }
.dc-blister .foot { padding: 9px 12px; font-size: 12.5px; font-weight: 700; display: flex; align-items: center; gap: 6px; color: var(--ink); }
.dc-bid {
  position: absolute; right: 5%; bottom: 7%; width: 47%; background: var(--ink-fixed); color: #fff;
  border-radius: 14px; padding: 13px 15px; box-shadow: var(--shadow-lg);
}
.dc-bid .live { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 800; letter-spacing: .05em;
  color: #fff; background: rgba(239,68,68,.2); border: 1px solid rgba(239,68,68,.5); padding: 3px 9px; border-radius: 999px; }
.dc-bid .live .dot { width: 7px; height: 7px; border-radius: 50%; background: #ef4444; animation: hbpulse 1.4s infinite; }
.dc-bid .lbl { font-size: 12px; opacity: .7; margin-top: 11px; }
.dc-bid .amt { font-size: 26px; font-weight: 900; letter-spacing: -.02em; line-height: 1.1; }
.dc-bid .meta { font-size: 11.5px; opacity: .72; margin-top: 3px; }
.dc-chip {
  position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 12px; box-shadow: var(--shadow); font-size: 12.5px; font-weight: 700;
  display: flex; align-items: center; gap: 7px; z-index: 2;
}
.dc-chip.c1 { top: 9%; right: 5%; }
.dc-chip.c2 { bottom: 10%; left: 4%; }

/* ---------- Bölüm başlıkları ---------- */
.section { padding: 46px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 24px; gap: 16px; flex-wrap: wrap; }
.section-head h2 { font-size: 26px; font-weight: 800; }
.section-head p { color: var(--ink-soft); margin: 6px 0 0; font-size: 15px; }
.eyebrow { color: var(--brand); font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }

/* ---------- Güven şeridi ---------- */
.trust-strip {
  background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.trust-strip .wrap { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.trust-strip .cell {
  padding: 26px 24px; display: flex; gap: 14px; align-items: flex-start;
  border-right: 1px solid var(--line);
}
.trust-strip .cell:last-child { border-right: 0; }
.trust-strip .ico-box {
  width: 42px; height: 42px; border-radius: 11px; flex: none;
  background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; color: var(--brand);
}
.trust-strip h4 { font-size: 15px; margin-bottom: 3px; }
.trust-strip p { font-size: 13px; color: var(--ink-soft); margin: 0; }

/* ---------- Ürün kartları ---------- */
.grid-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; transition: .18s; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card-media {
  position: relative; aspect-ratio: 4/3; background: var(--bg-soft);
  display: grid; place-items: center; overflow: hidden;
}
.card-media svg { width: 72%; }
.card-media .ribbon {
  position: absolute; top: 11px; left: 11px; display: flex; gap: 6px; flex-wrap: wrap;
}
.card-media .fav {
  position: absolute; top: 11px; right: 11px; width: 32px; height: 32px;
  border-radius: 50%; background: rgba(255,255,255,.9); border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--ink-faint);
}
.card-media .fav-count {
  position: absolute; bottom: 11px; left: 11px; display: inline-flex; align-items: center; gap: 5px;
  background: rgba(21,23,28,.72); color: #fff; border-radius: 999px; padding: 4px 9px 4px 8px;
  font-size: 12px; font-weight: 700; backdrop-filter: blur(2px); pointer-events: none;
}
.card-media .fav-count svg { width: 13px; height: 13px; color: #ff5e57; }
.card-media .fav-count b { font-weight: 700; }
.card-media .fav-count.hidden { display: none; }
.card-body { padding: 14px 15px 16px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.card-title { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.card-sub { font-size: 12.5px; color: var(--ink-faint); margin-top: -4px; }
.card-seller { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ink-soft); margin-top: auto; min-width: 0; overflow: hidden; }
.card-seller .faint { flex: none; }
.card-seller .av {
  width: 22px; height: 22px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-dark);
  display: grid; place-items: center; font-size: 11px; font-weight: 800;
}
.card-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 4px; }
.price { font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.price small { font-size: 12px; font-weight: 600; color: var(--ink-faint); }
.bid-info { text-align: right; font-size: 11.5px; color: var(--ink-faint); }
.bid-info b { display: block; font-size: 17px; color: var(--ink); font-weight: 800; }

/* countdown */
.countdown { display: inline-flex; gap: 4px; font-variant-numeric: tabular-nums; font-weight: 800; font-size: 13px; color: var(--accent); }

/* ---------- Kategori çipleri ---------- */
.chips { display: flex; gap: 9px; flex-wrap: wrap; }
.chip {
  padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: var(--surface); font-size: 13.5px; font-weight: 600; color: var(--ink-soft); transition: .15s;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.active { background: var(--ink-fixed); color: #fff; border-color: var(--ink); }

/* ---------- Nasıl çalışır ---------- */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.step {
  background: var(--bg-softer); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 24px; position: relative;
}
.step .num {
  width: 36px; height: 36px; border-radius: 10px; background: var(--ink-fixed); color: #fff;
  display: grid; place-items: center; font-weight: 800; margin-bottom: 14px;
}
.step h4 { font-size: 17px; margin-bottom: 7px; }
.step p { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* ---------- Emanet / güvenli ödeme bandı ---------- */
.escrow {
  background: linear-gradient(135deg, #0f172a, #1e293b); color: #fff;
  border-radius: var(--r-xl); padding: 44px 44px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
}
.escrow h2 { font-size: 28px; font-weight: 800; }
.escrow p { color: #cbd5e1; font-size: 15.5px; margin: 14px 0 0; }
.escrow-flow { display: flex; flex-direction: column; gap: 14px; }
.escrow-flow .row {
  display: flex; gap: 14px; align-items: center; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); padding: 14px 16px;
}
.escrow-flow .ico {
  width: 38px; height: 38px; border-radius: 10px; flex: none; display: grid; place-items: center;
  background: rgba(23,99,214,.25); color: #7eb0f7;
}
.escrow-flow .row b { font-size: 14.5px; }
.escrow-flow .row span { display: block; font-size: 12.5px; color: #94a3b8; }

/* ---------- Form & Auth ---------- */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 68px); }
.auth-side {
  background: linear-gradient(160deg, #0f172a, #16335f); color: #fff; padding: 56px 52px;
  display: flex; flex-direction: column; justify-content: center; gap: 24px;
}
.auth-side h2 { font-size: 30px; font-weight: 800; }
.auth-side .lead { color: #cbd5e1; font-size: 16px; }
.auth-side .feat { display: flex; gap: 12px; align-items: flex-start; }
.auth-side .feat .ico { color: #7eb0f7; flex: none; margin-top: 2px; }
.auth-side .feat b { font-size: 15px; }
.auth-side .feat p { margin: 2px 0 0; color: #94a3b8; font-size: 13.5px; }
.auth-main { display: grid; place-items: center; padding: 40px 24px; }
.auth-card { width: 100%; max-width: 410px; }
.auth-card h1 { font-size: 26px; font-weight: 800; margin-bottom: 6px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; }
.field .hint { font-size: 12px; color: var(--ink-faint); margin-top: 6px; }
.input, .select, .textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  font-size: 15px; font-family: inherit; color: var(--ink); background: var(--surface); transition: .15s;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft);
}
.input.err { border-color: #dc2626; box-shadow: 0 0 0 3px #fee2e2; }
.textarea { min-height: 110px; resize: vertical; }
.field-error { color: #dc2626; font-size: 12.5px; margin-top: 6px; display: none; }
.field-error.show { display: block; }

.input-icon { position: relative; }
.input-icon .input { padding-right: 44px; }
.input-icon .toggle {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--ink-faint); padding: 8px;
}

/* şifre gücü */
.pw-meter { display: flex; gap: 5px; margin-top: 9px; }
.pw-meter span { height: 4px; flex: 1; border-radius: 4px; background: var(--line); transition: .2s; }
.pw-meter.s1 span:nth-child(1) { background: #dc2626; }
.pw-meter.s2 span:nth-child(-n+2) { background: var(--warning); }
.pw-meter.s3 span:nth-child(-n+3) { background: #ca8a04; }
.pw-meter.s4 span { background: var(--success); }
.pw-label { font-size: 12px; color: var(--ink-faint); margin-top: 5px; }

.divider { display: flex; align-items: center; gap: 14px; margin: 22px 0; color: var(--ink-faint); font-size: 13px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-soft); }
.check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--brand); }
.check a { color: var(--brand); font-weight: 600; }

/* doğrulama kodu */
.otp { display: flex; gap: 10px; justify-content: center; margin: 22px 0; }
.otp input {
  width: 52px; height: 60px; text-align: center; font-size: 24px; font-weight: 800;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); color: var(--ink);
}
.otp input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }

/* ---------- Filtre / liste sayfası ---------- */
.list-layout { display: grid; grid-template-columns: 248px 1fr; gap: 30px; align-items: start; }
.filters {
  position: sticky; top: 88px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 20px;
}
.filters h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-faint); margin: 18px 0 11px; }
.filters h4:first-child { margin-top: 0; }
.filters .opt { display: flex; align-items: center; gap: 9px; padding: 5px 0; font-size: 14px; color: var(--ink-soft); cursor: pointer; }
.filters .opt input { accent-color: var(--brand); width: 16px; height: 16px; }
.list-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; gap: 14px; flex-wrap: wrap; }
.search-box { position: relative; flex: 1; max-width: 420px; }
.search-box .input { padding-left: 40px; }
.search-box .ico { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--ink-faint); }

/* ---------- Ürün detay ---------- */
.detail { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: start; }
.detail-media {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-lg);
  aspect-ratio: 4/3; display: grid; place-items: center; position: relative;
}
.detail-media svg { width: 70%; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumbs .t { width: 72px; height: 64px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--bg-soft); display: grid; place-items: center; cursor: pointer; }
.thumbs .t.active { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft); }
.thumbs .t svg { width: 70%; }

.detail h1 { font-size: 28px; font-weight: 800; }
.detail .price-row { display: flex; align-items: baseline; gap: 12px; margin: 16px 0; }
.detail .price-row .price { font-size: 32px; }
.seller-box {
  display: flex; align-items: center; gap: 13px; padding: 15px; border: 1px solid var(--line);
  border-radius: var(--r); margin: 20px 0;
}
.seller-box .av { width: 46px; height: 46px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-dark); display: grid; place-items: center; font-weight: 800; font-size: 17px; }
.seller-box .meta { flex: 1; }
.seller-box .name { font-weight: 700; display: flex; align-items: center; gap: 7px; }
.seller-box .stars { color: #f59e0b; font-size: 13px; }
.spec-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.spec-table td { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec-table td:first-child { color: var(--ink-faint); width: 42%; }
.spec-table td:last-child { font-weight: 600; }
.buy-actions { display: flex; gap: 12px; margin: 22px 0 14px; }
.safety-note {
  display: flex; gap: 11px; padding: 14px 16px; background: var(--success-soft);
  border-radius: var(--r); font-size: 13.5px; color: #0a6b46;
}
.safety-note .ico { flex: none; }

/* açık artırma teklif kutusu */
.bid-box { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; background: var(--bg-softer); }
.bid-box .cur { display: flex; justify-content: space-between; align-items: end; margin-bottom: 16px; }
.bid-box .cur .label { font-size: 13px; color: var(--ink-faint); }
.bid-box .cur .val { font-size: 30px; font-weight: 800; }
.bid-timer {
  display: flex; gap: 8px; margin: 16px 0; padding: 14px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); justify-content: center;
}
.bid-timer .unit { text-align: center; min-width: 56px; }
.bid-timer .unit b { display: block; font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; }
.bid-timer .unit span { font-size: 11px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .05em; }
.bid-history { margin-top: 18px; max-height: 180px; overflow-y: auto; }
.bid-history .row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.bid-history .row .u { display: flex; align-items: center; gap: 8px; }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; bottom: 24px; right: 24px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: var(--ink-fixed); color: #fff; padding: 13px 18px; border-radius: var(--r);
  font-size: 14px; font-weight: 500; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px;
  animation: toastIn .25s ease; max-width: 340px;
}
.toast.ok { background: var(--success); }
.toast.err { background: #b91c1c; }
@keyframes toastIn { from { transform: translateY(12px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ---------- Modal ---------- */
.modal-back {
  position: fixed; inset: 0; background: rgba(15,23,42,.45); backdrop-filter: blur(2px);
  z-index: 150; display: none; place-items: center; padding: 20px;
  overscroll-behavior: contain;
}
.modal-back.open { display: grid; overflow-y: auto; }
.modal {
  background: var(--surface); border-radius: var(--r-lg); padding: 28px; width: 100%; max-width: 440px;
  box-shadow: var(--shadow-lg); animation: toastIn .2s ease;
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto; overscroll-behavior: contain;
}
.modal h3 { font-size: 21px; font-weight: 800; margin-bottom: 8px; }
.modal .close { float: right; background: none; border: none; color: var(--ink-faint); font-size: 22px; line-height: 1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); margin-top: 60px; padding: 50px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 26px; }
.footer-grid h5 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-faint); margin-bottom: 14px; }
.footer-grid a { display: block; font-size: 14px; color: var(--ink-soft); padding: 5px 0; }
.footer-grid a:hover { color: var(--brand); }
.footer-tags { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.footer-tags h5 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-faint); margin-bottom: 14px; }
.footer-tags .tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-tags a { font-size: 13px; color: var(--ink-soft); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; transition: color .15s, border-color .15s; }
.footer-tags a:hover { color: var(--brand); border-color: var(--brand); }
.foot-trust { display: flex; flex-direction: column; gap: 5px; margin: 14px 0 12px; }
.foot-trust span { font-size: 12.5px; color: var(--ink-soft); }
.foot-mail { display: inline-block; font-size: 13px; color: var(--ink-soft); font-weight: 600; }
.foot-mail:hover { color: var(--brand); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-faint); flex-wrap: wrap; gap: 12px; }
.pay-badges { display: flex; gap: 8px; align-items: center; }
.pay-badges .pb { padding: 5px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; font-size: 11px; font-weight: 700; color: var(--ink-soft); }

/* Misafir (giriş yapmamış) rozeti — header */
.guest-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-faint); padding: 0 6px; }
.guest-tag svg { width: 17px; height: 17px; }

/* ---------- Empty state ---------- */
.empty { text-align: center; padding: 60px 20px; color: var(--ink-faint); }
.empty .ico { font-size: 40px; margin-bottom: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-art { max-width: 460px; }
  .grid-products { grid-template-columns: repeat(2,1fr); }
  .trust-strip .wrap { grid-template-columns: repeat(2,1fr); }
  .trust-strip .cell:nth-child(2) { border-right: 0; }
  .trust-strip .cell { border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .escrow { grid-template-columns: 1fr; padding: 32px 26px; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .list-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .detail { grid-template-columns: 1fr; gap: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .nav-links { display: none; }
  .grid-products { grid-template-columns: 1fr 1fr; gap: 14px; }
  .hero { padding: 28px 0 8px; }
  .hero h1 { font-size: 29px; line-height: 1.15; }
  .hero p.lead { font-size: 16px; margin: 14px 0 20px; }
  .hero-cta { gap: 9px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-search { padding: 7px; gap: 7px; }
  .hero-search .city { flex: 1 1 46%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  /* Mobil modal: tepeden hizala + dvh + alt güvenli alan → uzun formlarda
     (ör. Kimlik Doğrulama) en alttaki butona kaydırıp basılabilsin */
  .modal-back { padding: 10px; align-items: start; }
  .modal-back.open { align-items: start; }
  .modal {
    max-height: calc(100dvh - 20px);
    padding: 22px 18px calc(18px + env(safe-area-inset-bottom, 0px));
  }
  /* Gönder butonu her zaman görünür kalsın (içerik arkadan kaysa da basılır) */
  .modal .btn-block.btn-lg {
    position: sticky; bottom: 0; margin-top: 14px;
    box-shadow: 0 -10px 16px -6px #fff;
  }
}

/* ---------- Mobil menü (hamburger) ---------- */
.menu-btn {
  display: none; background: none; border: 1px solid var(--line-strong); border-radius: 9px;
  padding: 7px 9px; color: var(--ink); align-items: center; margin-left: auto;
}
.mobile-menu { display: none; }
.mobile-menu.open {
  display: block; border-top: 1px solid var(--line); padding: 14px 18px 18px;
  max-height: calc(100vh - 64px); overflow-y: auto; background: var(--surface);
}
.mobile-menu .mm-search { position: relative; margin-bottom: 12px; }
.mobile-menu .mm-search .ico { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--ink-faint); }
.mobile-menu .mm-search input {
  width: 100%; padding: 12px 14px 12px 40px; border: 1px solid var(--line-strong);
  border-radius: 999px; font-size: 15px; font-family: inherit; background: var(--bg-soft);
}
.mobile-menu .mm-search input:focus { outline: none; border-color: var(--brand); background: var(--surface); }
.mm-links { display: flex; flex-direction: column; }
.mm-links a {
  padding: 13px 8px; font-size: 16px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line);
}
.mm-links a.active { color: var(--brand); }
.mm-account { margin-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.mm-account a { display: flex; align-items: center; gap: 10px; padding: 11px 8px; font-size: 15px; color: var(--ink-soft); }
.mm-account a svg { color: var(--ink-faint); }
.mm-account .mm-acc-row { gap: 12px; }
.mm-account .mm-acc-row b { font-size: 16px; color: var(--ink); }
.mm-account .mm-logout { text-align: left; background: none; border: none; padding: 11px 8px; font-size: 15px; color: #b91c1c; font-weight: 600; cursor: pointer; }
.mm-auth { display: flex; gap: 10px; margin-top: 6px; }
.mm-auth .btn { flex: 1; }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-right { display: none; }
  .menu-btn { display: inline-flex; }
  .nav-search { display: none; }
}

/* ---------- Döküm kataloğu arama (ilan formu) ---------- */
.catalog-results {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 30;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r); box-shadow: var(--shadow);
  max-height: 330px; overflow-y: auto; display: none;
}
.catalog-results.open { display: block; }
.catalog-results .cr-item { display: flex; gap: 12px; align-items: center; padding: 10px 12px; cursor: pointer; border-bottom: 1px solid var(--line); }
.catalog-results .cr-item:last-child { border-bottom: none; }
.catalog-results .cr-item:hover { background: var(--bg-soft); }
.catalog-results .cr-pic { width: 48px; height: 38px; border-radius: 6px; flex: none; display: grid; place-items: center; overflow: hidden; background: var(--bg-soft); }
.catalog-results .cr-pic svg { width: 86%; }
.catalog-results .cr-meta b { font-size: 14px; }
.catalog-results .cr-meta .sub { font-size: 12px; color: var(--ink-faint); }
.catalog-results .cr-empty { padding: 14px; font-size: 13.5px; color: var(--ink-faint); }
.catalog-chosen { display: flex; gap: 14px; align-items: center; padding: 14px; border: 1px solid #a7f3d0; background: #ecfdf5; border-radius: var(--r); margin-bottom: 18px; }
.catalog-chosen .cc-pic { width: 56px; height: 44px; border-radius: 8px; flex: none; display: grid; place-items: center; overflow: hidden; background: var(--surface); }
.catalog-chosen .cc-pic svg { width: 86%; }
.catalog-chosen .cc-meta { flex: 1; min-width: 0; }
.catalog-chosen .cc-meta b { font-size: 15px; }
.catalog-chosen .cc-meta .sub { font-size: 12.5px; color: var(--ink-soft); }

/* ---------- Mesajlaşma (alıcı-satıcı) ---------- */
.msg-layout {
  display: grid; grid-template-columns: 330px 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  height: calc(100vh - 200px); min-height: 460px; background: var(--surface);
}
.convo-list { border-right: 1px solid var(--line); overflow-y: auto; background: var(--bg-soft); }
.convo-list .cl-head { padding: 16px 18px 12px; font-weight: 800; font-size: 18px; position: sticky; top: 0; background: var(--bg-soft); }
.convo-item { display: flex; gap: 12px; align-items: center; padding: 12px 16px; cursor: pointer; border-bottom: 1px solid var(--line); background: var(--surface); }
.convo-item:hover { background: var(--bg-soft); }
.convo-item.active { background: var(--brand-soft); }
.convo-item .av { width: 44px; height: 44px; flex: none; font-size: 15px; }
.convo-item .ci-main { flex: 1; min-width: 0; }
.convo-item .ci-top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.convo-item .ci-name { font-weight: 700; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.convo-item .ci-time { font-size: 11px; color: var(--ink-faint); flex: none; }
.convo-item .ci-last { font-size: 13px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.convo-item .ci-unread { background: var(--accent, #f43f5e); color: #fff; font-size: 11px; font-weight: 800; min-width: 19px; height: 19px; border-radius: 999px; display: grid; place-items: center; padding: 0 5px; flex: none; }
.convo-empty { padding: 40px 20px; text-align: center; color: var(--ink-faint); }

.chat-pane { display: flex; flex-direction: column; min-width: 0; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); background: var(--surface); }
.chat-head .ch-back { display: none; background: none; border: none; cursor: pointer; color: var(--ink); padding: 4px; }
.chat-head .av { width: 40px; height: 40px; flex: none; }
.chat-head .ch-name { font-weight: 700; font-size: 15.5px; }
.chat-head .ch-sub { font-size: 12px; color: var(--ink-faint); }
.chat-ilan { display: flex; align-items: center; gap: 10px; padding: 10px 18px; border-bottom: 1px solid var(--line); background: var(--bg-soft); font-size: 13px; text-decoration: none; color: var(--ink); }
.chat-ilan .ci-pic { width: 40px; height: 32px; border-radius: 6px; overflow: hidden; flex: none; display: grid; place-items: center; background: var(--surface); }
.chat-ilan .ci-pic svg { width: 88%; } .chat-ilan .ci-pic img { width: 100%; height: 100%; object-fit: cover; }
.chat-body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 8px; background: linear-gradient(180deg,#f8fafc,#fff); }
.bubble { max-width: 74%; padding: 9px 13px; border-radius: 14px; font-size: 14px; line-height: 1.45; position: relative; word-wrap: break-word; }
.bubble.them { align-self: flex-start; background: #eef2f7; border-bottom-left-radius: 4px; }
.bubble.me { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.bubble .b-time { display: block; font-size: 10.5px; opacity: .7; margin-top: 3px; text-align: right; }
.chat-daysep { align-self: center; font-size: 11.5px; color: var(--ink-faint); background: var(--surface); border: 1px solid var(--line); padding: 2px 10px; border-radius: 999px; margin: 6px 0; }
.chat-input { display: flex; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--line); background: var(--surface); align-items: flex-end; }
.chat-input textarea { flex: 1; resize: none; border: 1px solid var(--line-strong); border-radius: 12px; padding: 10px 14px; font-family: inherit; font-size: 14px; max-height: 120px; }
.chat-demo { font-size: 11.5px; color: var(--ink-faint); padding: 0 18px 8px; display: flex; align-items: center; gap: 6px; }
.chat-placeholder { flex: 1; display: grid; place-items: center; text-align: center; color: var(--ink-faint); padding: 40px; }
@media (max-width: 760px) {
  .msg-layout { grid-template-columns: 1fr; height: calc(100vh - 150px); position: relative; }
  .msg-layout.show-chat .convo-list { display: none; }
  .msg-layout:not(.show-chat) .chat-pane { display: none; }
  .chat-head .ch-back { display: inline-flex; }
}

/* İlan formu: form + canlı önizleme */
.sell-layout { display: grid; grid-template-columns: 1fr 320px; gap: 30px; align-items: start; }
.sell-preview { position: sticky; top: 88px; }
@media (max-width: 820px) {
  .sell-layout { grid-template-columns: 1fr; }
  .sell-preview { position: static; }
}

/* ---------- Mobil alt navigasyon ---------- */
.bottom-nav { display: none; }
@media (max-width: 760px) {
  .bottom-nav {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
    background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line); padding: 6px 4px; justify-content: space-around;
    box-shadow: 0 -2px 12px rgba(15,23,42,.06);
  }
  .bottom-nav a {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 5px 2px; font-size: 10.5px; color: var(--ink-faint); font-weight: 600;
  }
  .bottom-nav a.active { color: var(--brand); }
  .bottom-nav a svg { width: 22px; height: 22px; }
  .bottom-nav .bn-fab { color: var(--brand); }
  .bottom-nav .bn-fab .bn-plus {
    width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff;
    display: grid; place-items: center; font-size: 28px; line-height: 1; margin-top: -20px;
    box-shadow: 0 4px 14px rgba(23,99,214,.45);
  }
  body { padding-bottom: 70px; }
  .site-footer { margin-bottom: 0; }
}

/* ---------- Mobil: kaydırmalı küçük resimler & büyük dokunma alanları ---------- */
@media (max-width: 620px) {
  .thumbs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; scrollbar-width: none; }
  .thumbs::-webkit-scrollbar { display: none; }
  .thumbs .t { flex: 0 0 auto; width: 64px; height: 56px; }
}
@media (max-width: 760px) {
  .btn { min-height: 44px; }
  .btn-sm { min-height: 40px; padding: 9px 14px; }
  .card .fav { width: 38px; height: 38px; }
  .filters .opt { padding: 9px 0; font-size: 15px; }
  .chip { padding: 10px 16px; }
  .input, .select, .textarea { font-size: 16px; } /* iOS zoom önler */
  .buy-actions { flex-direction: column; }
  .buy-actions .btn { width: 100%; }
}

/* ---------- Header arama (Türkiye geneli) ---------- */
.nav-search {
  position: relative; flex: 1; min-width: 150px; max-width: 540px; margin: 0 4px;
}
.nav-search .ico { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--ink-faint); pointer-events: none; }
.nav-search input {
  width: 100%; padding: 10px 14px 10px 38px; border: 1px solid var(--line-strong);
  border-radius: 999px; font-size: 14px; font-family: inherit; background: var(--bg-soft); transition: .15s;
}
.nav-search input:focus { outline: none; background: var(--surface); border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
@media (max-width: 1080px) { .nav-search { display: none; } }

/* ---------- Hero arama ---------- */
.hero-search {
  display: flex; flex-wrap: wrap; gap: 8px; background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: 14px; padding: 8px; box-shadow: var(--shadow); margin: 22px 0 6px; max-width: 560px;
}
.hero-search .q { position: relative; flex: 1 1 100%; }
.hero-search .q .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-faint); }
.hero-search .q input { width: 100%; border: none; padding: 12px 12px 12px 42px; font-size: 15px; font-family: inherit; background: transparent; }
.hero-search .q input:focus { outline: none; }
.hero-search .city {
  flex: 1 1 30%; min-width: 120px; border: 1px solid var(--line-strong); border-radius: 9px;
  padding: 10px 12px; font-size: 14px; font-family: inherit; color: var(--ink-soft); background: var(--bg-soft);
}
.hero-search .city:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.hero-search > .btn { flex: 1 1 auto; }

/* ---------- Siparişler / emanet zaman çizelgesi ---------- */
.tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.tabs button {
  background: none; border: none; padding: 12px 4px; margin-right: 18px; font-size: 15px; font-weight: 600;
  color: var(--ink-faint); border-bottom: 2px solid transparent; cursor: pointer;
}
.tabs button.active { color: var(--ink); border-bottom-color: var(--brand); }

.order-card { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin-bottom: 18px; }
.order-head { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); background: var(--bg-softer); }
.order-thumb { width: 64px; height: 52px; border-radius: var(--r-sm); background: var(--bg-soft); display: grid; place-items: center; flex: none; }
.order-thumb svg { width: 78%; }
.order-head .meta { flex: 1; }
.order-head .meta h4 { font-size: 16px; }
.order-head .meta .sub { font-size: 13px; color: var(--ink-faint); }
.order-body { padding: 18px; }

/* komisyon kırılımı */
.comm-box { border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; background: var(--bg-softer); }
.comm-box .row { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; padding: 4px 0; color: var(--ink-soft); }
.comm-box .row b { color: var(--ink); }
.comm-box .row.total { border-top: 1px dashed var(--line-strong); margin-top: 4px; padding-top: 9px; font-weight: 700; font-size: 15px; color: var(--ink); }

/* durum adımları */
.timeline { display: flex; gap: 0; margin-bottom: 18px; }
.timeline .node { flex: 1; text-align: center; position: relative; }
.timeline .node::before {
  content: ""; position: absolute; top: 13px; left: -50%; width: 100%; height: 2px; background: var(--line);
}
.timeline .node:first-child::before { display: none; }
.timeline .node.done::before { background: var(--success); }
.timeline .dot {
  width: 28px; height: 28px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line);
  display: grid; place-items: center; margin: 0 auto 7px; position: relative; z-index: 1; color: var(--ink-faint); font-size: 13px; font-weight: 800;
}
.timeline .node.done .dot { background: var(--success); border-color: var(--success); color: #fff; }
.timeline .node.active .dot { border-color: var(--brand); color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.timeline .lbl { font-size: 12px; color: var(--ink-soft); font-weight: 600; }

.role-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 6px; margin-bottom: 12px; }
.role-tag.seller { background: var(--accent-soft); color: var(--accent); }
.role-tag.buyer { background: var(--brand-soft); color: var(--brand-dark); }

/* foto yükleyici (3 zorunlu) */
.photo-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 14px 0; }
.photo-slot {
  aspect-ratio: 4/3; border: 2px dashed var(--line-strong); border-radius: var(--r); background: var(--bg-soft);
  display: grid; place-items: center; cursor: pointer; overflow: hidden; position: relative; color: var(--ink-faint); transition: .15s;
}
.photo-slot:hover { border-color: var(--brand); color: var(--brand); }
.photo-slot.filled { border-style: solid; border-color: var(--success); cursor: default; }
.photo-slot img { width: 100%; height: 100%; object-fit: cover; }
.photo-slot .ph { text-align: center; font-size: 12px; padding: 6px; }
.photo-slot .ph .n { display: block; font-size: 22px; font-weight: 800; }
.photo-slot .rm {
  position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(15,23,42,.7); color: #fff; border: none; display: grid; place-items: center; font-size: 14px; cursor: pointer;
}
.photo-record { display: flex; gap: 10px; margin: 12px 0; }
.photo-record img { width: 90px; height: 70px; object-fit: cover; border-radius: var(--r-sm); border: 1px solid var(--line); cursor: zoom-in; }

/* ---------- Google butonu & hesap seçici ---------- */
.btn-google {
  background: var(--surface); color: #3c4043; border: 1px solid var(--line-strong); font-weight: 600;
}
.btn-google:hover { background: #f8f9fa; border-color: #d2d6dc; box-shadow: var(--shadow-sm); }
.g-modal { max-width: 400px; padding: 0; overflow: hidden; }
.g-head { display: flex; align-items: center; gap: 10px; padding: 22px 24px 4px; font-size: 17px; font-weight: 700; }
.g-sub { padding: 0 24px; margin: 6px 0 16px; font-size: 13.5px; color: var(--ink-soft); }
.g-list { border-top: 1px solid var(--line); }
.g-account {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 13px 24px; background: none;
  border: none; border-bottom: 1px solid var(--line); text-align: left; transition: .12s;
}
.g-account:hover { background: var(--bg-soft); }
.g-av { width: 38px; height: 38px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 15px; flex: none; }
.g-av.g-plus { background: var(--bg-soft); color: var(--ink-soft); border: 1px solid var(--line-strong); font-size: 20px; }
.g-meta { display: flex; flex-direction: column; }
.g-meta b { font-size: 14.5px; color: var(--ink); }
.g-meta span { font-size: 13px; color: var(--ink-faint); }
.g-note { padding: 14px 24px; margin: 0; font-size: 12px; color: var(--ink-faint); }

/* ---------- Medya rozeti (kart üstü video) ---------- */
.media-badge {
  position: absolute; bottom: 10px; left: 10px; display: inline-flex; align-items: center; gap: 4px;
  background: rgba(15,23,42,.78); color: #fff; padding: 4px 9px; border-radius: 999px; font-size: 11px; font-weight: 700;
}
.media-badge svg { width: 12px; height: 12px; }

/* ---------- İlan formu: foto & video yükleyici ---------- */
.uploader-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin: 8px 0 4px; }
.up-slot {
  position: relative; aspect-ratio: 1/1; border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-soft);
}
.up-slot img { width: 100%; height: 100%; object-fit: cover; }
.up-slot .rm {
  position: absolute; top: 5px; right: 5px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(15,23,42,.72); color: #fff; border: none; display: grid; place-items: center; font-size: 13px; cursor: pointer;
}
.up-slot .cover { position: absolute; bottom: 5px; left: 5px; background: var(--brand); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 999px; }
.up-add {
  aspect-ratio: 1/1; border: 2px dashed var(--line-strong); border-radius: var(--r); background: var(--bg-soft);
  display: grid; place-items: center; cursor: pointer; color: var(--ink-faint); transition: .15s; text-align: center;
}
.up-add:hover { border-color: var(--brand); color: var(--brand); }
.up-add span { font-size: 11.5px; display: block; margin-top: 4px; }

.video-drop {
  border: 2px dashed var(--line-strong); border-radius: var(--r); padding: 18px; text-align: center;
  cursor: pointer; color: var(--ink-soft); transition: .15s; background: var(--bg-soft);
}
.video-drop:hover { border-color: var(--brand); color: var(--brand); }
.video-preview { margin-top: 12px; }
.video-preview video { width: 100%; border-radius: var(--r); background: #000; max-height: 240px; }
.seg { display: flex; gap: 8px; margin-bottom: 12px; }
.seg label { flex: 1; }

/* ---------- Ürün detay: galeri & video ---------- */
.detail-media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-lg); }
.detail-media .play-fab {
  position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%;
  background: rgba(15,23,42,.6); color: #fff; border: none; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(2px);
}
.detail-media .play-fab:hover { background: rgba(15,23,42,.78); }
.detail-media video { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-lg); background: #000; }
.thumbs .t img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-sm); }
.thumbs .t.vid { background: #0f172a; color: #fff; position: relative; }

/* ---------- Canlı Yayın ---------- */
.live-layout { display: grid; grid-template-columns: 1fr 360px; gap: 22px; align-items: start; }
.live-main { display: flex; flex-direction: column; min-width: 0; }
.live-side { min-width: 0; }

/* ŞU AN SATILIYOR — sabit satış paneli (video hemen altında) */
.live-sale-panel {
  position: sticky; top: 76px; z-index: 5;
  margin-top: 14px; padding: 16px 18px;
  border: 1px solid var(--line-strong); border-radius: var(--r-lg); background: var(--surface);
  box-shadow: 0 6px 22px rgba(15,23,42,.08);
}
.live-sale-panel .lsp-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.lsp-tag {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; letter-spacing: .04em;
  color: var(--accent); text-transform: uppercase;
}
.lsp-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1.5s infinite; }
.live-sale-panel .lsp-body { display: flex; align-items: center; gap: 14px; }
.lsp-pic { width: 64px; height: 50px; flex: none; border-radius: 10px; overflow: hidden; background: var(--bg-soft); display: grid; place-items: center; }
.lsp-pic img { width: 100%; height: 100%; object-fit: cover; } .lsp-pic svg { width: 86%; }
.lsp-info { flex: 1; min-width: 0; }
.lsp-name { font-weight: 700; font-size: 15.5px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lsp-cur { display: flex; align-items: baseline; gap: 8px; margin-top: 2px; }
.lsp-cur .faint { font-size: 12px; }
.lsp-cur .cur { font-size: 30px; font-weight: 800; color: var(--ink); line-height: 1.1; }
.live-sale-panel .live-bid-btns { margin-top: 14px; }
.live-sale-panel .lsp-cta { flex: 2; font-weight: 800; font-size: 15px; letter-spacing: .02em; }

/* İkincil bilgiler — katlanabilir */
.live-extra { margin-top: 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-soft); overflow: hidden; }
.live-extra > summary {
  list-style: none; cursor: pointer; padding: 14px 18px; font-weight: 700; font-size: 15px;
  display: flex; align-items: center; gap: 8px; user-select: none;
}
.live-extra > summary::-webkit-details-marker { display: none; }
.live-extra > summary::before { content: '▸'; color: var(--ink-faint); font-size: 13px; transition: transform .15s; }
.live-extra[open] > summary::before { transform: rotate(90deg); }
.live-extra > summary:hover { color: var(--brand); }
.live-extra-body { padding: 0 18px 20px; }
.live-extra .live-side-head { padding: 14px 16px; }

/* Mobil tam ekran alt aksiyon çubuğu — masaüstünde gizli */
.live-mobile-bar { display: none; }

/* Yayın paylaşım modalı */
.share-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.share-btn {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface);
  font-weight: 600; font-size: 14px; color: var(--ink); cursor: pointer; text-decoration: none; font-family: inherit;
}
.share-btn:hover { border-color: var(--sc, var(--brand)); background: var(--bg-soft); }
.share-ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 13px; flex: none; }
.modal h3 svg { vertical-align: -3px; margin-right: 4px; }

/* Canlı yayın kartı · hızlı paylaş ikonu */
.live-share {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  width: 34px; height: 34px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(15,23,42,.55); color: #fff; display: grid; place-items: center; backdrop-filter: blur(4px);
}
.live-share:hover { background: rgba(15,23,42,.82); }
.live-share svg { width: 16px; height: 16px; }

/* Admin · Ana sayfa sıralama (sürükle-bırak) */
.home-drag-row { cursor: default; }
.home-drag-row .drag-handle { cursor: grab; color: var(--ink-faint); font-weight: 800; letter-spacing: -2px; user-select: none; width: 28px; text-align: center; }
.home-drag-row.dragging { opacity: .45; }
.home-drag-row.drop-before td { box-shadow: inset 0 3px 0 0 var(--brand); }
.home-drag-row.drop-after td { box-shadow: inset 0 -3px 0 0 var(--brand); }
.live-stage {
  position: relative; background: #0b1020; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16/10;
  display: grid; place-items: center; color: #64748b;
}
.live-stage video { width: 100%; height: 100%; object-fit: cover; }
.live-stage .placeholder { text-align: center; padding: 30px; }
.live-stage .placeholder .ic { opacity: .5; margin-bottom: 12px; }
.live-overlay-top { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.live-badge {
  display: inline-flex; align-items: center; gap: 6px; background: #ef4444; color: #fff;
  padding: 5px 11px; border-radius: 7px; font-size: 12px; font-weight: 800; letter-spacing: .03em;
}
.live-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--surface); animation: pulse 1.5s infinite; }
.live-viewers {
  display: inline-flex; align-items: center; gap: 6px; background: rgba(15,23,42,.6); color: #fff;
  padding: 5px 11px; border-radius: 7px; font-size: 12.5px; font-weight: 700;
}
.live-viewers svg { width: 14px; height: 14px; }
.live-overlay-bottom {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 30px 16px 16px;
  background: linear-gradient(transparent, rgba(11,16,32,.92)); display: flex; gap: 14px; align-items: flex-end; justify-content: space-between;
}
.live-product { display: flex; align-items: center; gap: 12px; color: #fff; }
.live-product .pic { width: 54px; height: 44px; border-radius: 8px; background: rgba(255,255,255,.1); display: grid; place-items: center; overflow: hidden; flex: none; }
.live-product .pic img { width: 100%; height: 100%; object-fit: cover; }
.live-product .pic svg { width: 80%; }
.live-product .nm { font-weight: 700; font-size: 15px; }
.live-product .pr { font-size: 13px; color: #cbd5e1; }
.live-controls { display: flex; gap: 8px; }

/* sohbet & teklif paneli */
.live-side { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; height: 560px; }
.live-side-head { padding: 14px 16px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.live-bid-panel { padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--bg-softer); }
.live-bid-panel .row { display: flex; justify-content: space-between; align-items: baseline; }
.live-bid-panel .cur { font-size: 24px; font-weight: 800; }
.live-countdown {
  display: flex; flex-direction: column; align-items: flex-end; text-align: right;
}
.live-countdown .lc-lbl { font-size: 11px; color: var(--ink-faint); }
.live-countdown b { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--accent); line-height: 1.1; }
.live-countdown.ending b { animation: pulse 1s infinite; }
.live-countdown.done b { color: var(--ink-faint); }
.winner-banner {
  margin-top: 12px; border-radius: var(--r); padding: 14px; text-align: center;
  background: linear-gradient(135deg, #fff7ed, #ffedd5); border: 1px solid #fed7aa;
}
.winner-banner.you { background: linear-gradient(135deg, #ecfdf5, #d1fae5); border-color: #a7f3d0; }
.winner-banner .trophy { font-size: 30px; }
.winner-banner h4 { font-size: 17px; margin: 4px 0 2px; }
.winner-banner .who { font-weight: 800; }
.winner-banner .amt { color: var(--accent); font-weight: 800; }
.live-bid-btns { display: flex; gap: 8px; margin-top: 10px; }
.live-bid-btns.disabled { opacity: .5; pointer-events: none; }
.live-bid-btns .btn { flex: 1; }
.chat { flex: 1; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 9px; }
.chat .msg { font-size: 13.5px; line-height: 1.45; }
.chat .msg .u { font-weight: 700; color: var(--brand-dark); margin-right: 6px; }
.chat .user-link { cursor: pointer; }
.chat .user-link:hover { text-decoration: underline; }
.chat .msg.system { color: var(--ink-faint); font-style: italic; font-size: 12.5px; }
.chat .msg.bid { background: var(--accent-soft); color: var(--accent); padding: 6px 10px; border-radius: 8px; font-weight: 600; }
.chat .msg.host .u { color: var(--accent); }
.mod-bar {
  display: flex; align-items: center; gap: 6px; padding: 7px 14px; font-size: 11.5px; font-weight: 600;
  color: var(--success); background: var(--success-soft); border-top: 1px solid var(--line);
}
.mod-bar svg { flex: none; }
.host-toggle {
  margin-left: auto; background: var(--surface); border: 1px solid var(--line-strong); color: var(--ink-soft);
  font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; cursor: pointer; transition: .15s;
}
.host-toggle:hover { border-color: var(--brand); color: var(--brand); }
.host-toggle.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.chat-input { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); }
.chat-input input.err { border-color: #dc2626; box-shadow: 0 0 0 3px #fee2e2; }

/* yayıncı moderasyonu */
.ban-btn {
  margin-left: 6px; background: none; border: 1px solid var(--line-strong); color: var(--ink-faint);
  font-size: 10.5px; font-weight: 700; padding: 1px 7px; border-radius: 6px; cursor: pointer; vertical-align: middle; transition: .12s;
}
.ban-btn:hover { background: #fee2e2; border-color: #fecaca; color: #b91c1c; }
.msg.flagged { background: var(--warning-soft); border-radius: 8px; padding: 6px 10px; }
.msg.banned-msg { opacity: .45; text-decoration: line-through; }
.msg.banned-msg::after { content: " · engellendi"; font-size: 11px; color: #b91c1c; font-weight: 700; text-decoration: none; }

/* ---------- Admin paneli ---------- */
.admin-body { background: var(--bg-soft); min-height: 100vh; }
.admin-topbar {
  background: #0f172a; color: #fff; display: flex; align-items: center; gap: 14px; padding: 0 22px; height: 60px; position: sticky; top: 0; z-index: 40;
}
.admin-topbar .logo { color: #fff; font-size: 17px; }
.admin-topbar .badge-admin { background: #ef4444; color: #fff; font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 6px; letter-spacing: .04em; }
.admin-topbar .right { margin-left: auto; display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: #cbd5e1; }
.admin-shell { display: grid; grid-template-columns: 220px 1fr; max-width: 1280px; margin: 0 auto; }
.admin-side { padding: 22px 14px; border-right: 1px solid var(--line); min-height: calc(100vh - 60px); background: var(--surface); }
.admin-nav button {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: none; border: none;
  padding: 10px 12px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--ink-soft); cursor: pointer; margin-bottom: 3px;
}
.admin-nav button:hover { background: var(--bg-soft); color: var(--ink); }
.admin-nav button.active { background: var(--ink-fixed); color: #fff; }
.admin-nav button .ic { display: grid; place-items: center; }
.admin-main { padding: 26px 28px; background: var(--bg-soft); min-width: 0; }
.admin-main h2 { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.admin-main .sub { color: var(--ink-soft); font-size: 14px; margin-bottom: 22px; }

.stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 26px; }
.stat-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 20px; }
.stat-card .lbl { font-size: 13px; color: var(--ink-faint); display: flex; align-items: center; gap: 7px; }
.stat-card .val { font-size: 30px; font-weight: 800; margin-top: 6px; letter-spacing: -.02em; }
.stat-card .ic { color: var(--brand); }
.stat-card.clickable { cursor: pointer; transition: .15s; }
.stat-card.clickable:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); }
.stat-card .lbl .go { margin-left: auto; color: var(--ink-faint); font-weight: 700; opacity: 0; transition: .15s; }
.stat-card .lbl { justify-content: flex-start; }
.stat-card.clickable:hover .lbl .go { opacity: 1; color: var(--brand); }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.atable { width: 100%; border-collapse: collapse; }
.atable th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-faint); padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-softer); }
.atable td { padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: middle; }
.atable tr:last-child td { border-bottom: none; }
.atable .actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; max-width: 240px; margin-left: auto; }
.atable .uimg { width: 40px; height: 32px; border-radius: 6px; object-fit: cover; background: var(--bg-soft); }
.btn-danger { background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; }
.btn-danger:hover { background: #fecaca; }

.admin-login { display: grid; place-items: center; min-height: 100vh; padding: 20px; background: var(--bg-soft); }
.admin-login .card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 34px; width: 100%; max-width: 400px; box-shadow: var(--shadow); }
.admin-login h1 { font-size: 24px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.demo-cred { background: var(--warning-soft); color: var(--warning); border-radius: var(--r); padding: 11px 14px; font-size: 13px; margin: 16px 0; }
.demo-cred b { font-family: monospace; }
.word-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.word-chip { display: inline-flex; align-items: center; gap: 7px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 5px 8px 5px 12px; font-size: 13px; }
.word-chip button { background: none; border: none; color: var(--ink-faint); cursor: pointer; font-size: 15px; line-height: 1; }
.word-chip button:hover { color: #b91c1c; }

@media (max-width: 820px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { min-height: auto; border-right: none; border-bottom: 1px solid var(--line); padding: 9px 12px; position: sticky; top: 0; z-index: 20; }
  .admin-nav { display: flex; gap: 6px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .admin-nav button { white-space: nowrap; margin-bottom: 0; flex: none; }
  .admin-nav-group { display: none; }              /* mobilde yatay kaydırmada grup başlıkları gizli */
  .admin-main { padding: 18px 14px; }
  .admin-topbar { flex-wrap: wrap; gap: 6px; }
  .admin-topbar .right { gap: 8px; font-size: 12px; }
  .stat-grid { grid-template-columns: repeat(2,1fr); }
  .atable { font-size: 13px; }
}
@media (max-width: 460px) { .stat-grid { grid-template-columns: 1fr; } }
.chat-input input { flex: 1; border: 1px solid var(--line-strong); border-radius: 999px; padding: 9px 14px; font-size: 14px; font-family: inherit; }
.chat-input input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.chat-input button { width: 40px; height: 40px; border-radius: 50%; border: none; background: var(--brand); color: #fff; display: grid; place-items: center; flex: none; }

/* canlı yayın kartları (liste) */
.live-card-media { position: relative; aspect-ratio: 3/4; background: #0b1020; display: grid; place-items: center; overflow: hidden; }
.live-card-media img { width: 100%; height: 100%; object-fit: cover; }
.live-card-media svg { width: 55%; opacity: .8; }
.live-card-media .lb { position: absolute; top: 10px; left: 10px; }
.live-card-media .vw { position: absolute; top: 10px; right: 10px; }

/* ============ Canlı yayın · TikTok/Whatnot DİKEY REEL ============ */
.reel-page { display: flex; flex-direction: column; align-items: center; padding: 18px 12px 40px; }
.reel-shell { width: 100%; max-width: 440px; }
.reel {
  position: relative; width: 100%; aspect-ratio: 9/16; max-height: calc(100vh - 120px);
  margin: 0 auto; background: #0b1020; color: #fff; border-radius: 22px; overflow: hidden;
  display: grid; place-items: center; box-shadow: 0 24px 60px rgba(0,0,0,.32);
}
.reel > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #0b1020; }

/* karşılama */
.reel-ph { position: relative; z-index: 5; text-align: center; padding: 30px; }
.reel-ph .ic { opacity: .55; margin-bottom: 14px; color: #cbd5e1; }
.reel-ph h3 { font-size: 21px; margin: 0 0 6px; color: #fff; }
.reel-ph p { font-size: 14px; color: #cbd5e1; max-width: 290px; margin: 0 auto 20px; }
.reel-ph-btns { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.reel-ph-btns .btn-lg { min-width: 220px; }
.reel-ph #followGate { color: #fca5a5; font-size: 13px; margin-top: 14px; max-width: 300px; margin-left: auto; margin-right: auto; }
.reel-ph-share { display: inline-flex; align-items: center; gap: 7px; margin: 16px auto 0; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.3); color: #fff; font-family: inherit; font-size: 13px; font-weight: 600;
  padding: 9px 16px; border-radius: 999px; cursor: pointer; backdrop-filter: blur(6px); }
.reel-ph-share:hover { background: rgba(255,255,255,.22); }
.reel-ph-share svg { width: 15px; height: 15px; }

/* üst katman */
.reel-top { position: absolute; top: 0; left: 0; right: 0; z-index: 6; padding: 12px;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 8px;
  background: linear-gradient(rgba(11,16,32,.6), transparent); }
.reel-host { display: flex; align-items: center; gap: 8px; background: rgba(15,23,42,.42);
  backdrop-filter: blur(6px); padding: 5px 11px 5px 5px; border-radius: 999px; min-width: 0; }
.reel-host .av { width: 32px; height: 32px; font-size: 13px; flex: none; }
.reel-host .rh-meta { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.reel-host .rh-meta b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 110px; }
.reel-host .rh-meta .faint { font-size: 11px; color: #cbd5e1; }
.reel-host .follow-btn { padding: 4px 11px; font-size: 12px; min-height: 0; }
.reel-top-right { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.reel-iconbtn { width: 34px; height: 34px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(15,23,42,.5); color: #fff; display: grid; place-items: center; backdrop-filter: blur(6px); }
.reel-iconbtn:hover { background: rgba(15,23,42,.8); }
.reel-iconbtn svg { width: 16px; height: 16px; }
.reel-stop { background: rgba(239,68,68,.9); font-size: 13px; }

/* alt katman */
.reel-bottom { position: absolute; left: 0; right: 0; bottom: var(--kb-inset, 0px); z-index: 6;
  flex-direction: column; gap: 10px; padding: 46px 12px 12px; transition: bottom .12s ease;
  background: linear-gradient(transparent, rgba(11,16,32,.5) 28%, rgba(11,16,32,.94)); }

/* sohbet (şeffaf, video üstünde) */
.reel-chat { display: flex; flex-direction: column; gap: 6px; max-height: 34vh; overflow-y: auto;
  -webkit-mask-image: linear-gradient(transparent, #000 26%); mask-image: linear-gradient(transparent, #000 26%); }
.reel-chat::-webkit-scrollbar { width: 0; }
.reel-chat .msg { font-size: 13.5px; line-height: 1.4; text-shadow: 0 1px 3px rgba(0,0,0,.65); max-width: 90%; }
.reel-chat .msg .u { font-weight: 800; color: #fcd34d; margin-right: 6px; }
.reel-chat .user-link { cursor: pointer; } .reel-chat .user-link:hover { text-decoration: underline; }
.reel-chat .msg.system { color: #cbd5e1; font-style: italic; font-size: 12.5px; }
.reel-chat .msg.bid { background: rgba(244,63,94,.92); padding: 5px 11px; border-radius: 11px; font-weight: 700; align-self: flex-start; text-shadow: none; }
.reel-chat .msg.host .u { color: #fca5a5; }
.reel-chat .ban-btn { color: #fff; border-color: rgba(255,255,255,.4); }

/* satış kartı */
.reel-sale { background: rgba(255,255,255,.97); color: var(--ink); border-radius: 16px; padding: 11px 13px; box-shadow: 0 10px 28px rgba(0,0,0,.28); }
.reel-sale .rs-row1 { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.rs-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .04em; color: var(--accent); text-transform: uppercase; }
.rs-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 1.5s infinite; }
.reel-sale .rs-row2 { display: flex; align-items: center; gap: 12px; }
.rs-pic { width: 52px; height: 42px; border-radius: 9px; overflow: hidden; flex: none; background: var(--bg-soft); display: grid; place-items: center; }
.rs-pic img { width: 100%; height: 100%; object-fit: cover; } .rs-pic svg { width: 88%; }
.rs-info { flex: 1; min-width: 0; }
.rs-name { font-weight: 700; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rs-cur { display: flex; align-items: baseline; gap: 7px; margin-top: 1px; }
.rs-cur span { font-size: 11.5px; color: var(--ink-faint); }
.rs-cur b { font-size: 25px; font-weight: 800; line-height: 1.05; }
.rs-host-lbl { font-size: 11px; font-weight: 700; color: var(--ink-faint); letter-spacing: .03em; margin: 11px 0 6px; }
#winnerSelect { flex: 1; padding: 8px 10px; font-size: 13px; border: 1px solid var(--line-strong); border-radius: 8px; font-family: inherit; }

/* aksiyon çubuğu */
.reel-actions { display: flex; flex-direction: column; gap: 9px; }
.reel-comment { display: flex; gap: 8px; align-items: center; }
.reel-comment input { flex: 1; min-width: 0; border: none; border-radius: 999px; padding: 12px 16px; font-size: 14px;
  font-family: inherit; background: rgba(255,255,255,.16); color: #fff; backdrop-filter: blur(6px); }
.reel-comment input::placeholder { color: rgba(255,255,255,.72); }
.reel-comment input:focus { outline: none; background: rgba(255,255,255,.26); }
.reel-comment input.err { box-shadow: 0 0 0 2px #ef4444; }
.reel-comment button { width: 44px; height: 44px; border-radius: 50%; border: none; flex: none; cursor: pointer;
  background: rgba(255,255,255,.16); color: #fff; display: grid; place-items: center; backdrop-filter: blur(6px); }
.reel-comment button:hover { background: rgba(255,255,255,.28); }
.reel-comment button svg { width: 17px; height: 17px; }
#viewerShareBtn { background: rgba(244,63,94,.85); }
#viewerShareBtn:hover { background: rgba(244,63,94,1); }
.reel-bids { display: flex; gap: 9px; }
.reel-quick { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 0; line-height: 1.05;
  min-height: 52px; border: 2px solid rgba(255,255,255,.5); background: rgba(255,255,255,.12); color: #fff;
  border-radius: 14px; cursor: pointer; backdrop-filter: blur(6px); font-family: inherit; }
.reel-quick b { font-size: 16px; } .reel-quick span { font-size: 11px; opacity: .85; }
.reel-offer { flex: 1.55; min-height: 52px; border: none; border-radius: 14px; background: var(--accent); color: #fff;
  font-size: 16px; font-weight: 800; cursor: pointer; font-family: inherit; box-shadow: 0 6px 18px rgba(244,63,94,.5); }
.reel-quick:disabled, .reel-offer:disabled { opacity: .45; pointer-events: none; }

.reel-note { max-width: 440px; font-size: 12px; color: var(--ink-faint); text-align: center; margin: 10px auto 0; }
.reel-secondary { width: 100%; max-width: 760px; margin: 22px auto 0; }
.reel-secondary .live-extra { margin-top: 14px; }
.reel-legacy { display: none !important; }

/* mobil: tam ekran reel */
@media (max-width: 760px) {
  body.live-page { display: flex; flex-direction: column; min-height: 100dvh; overflow: hidden; }
  body.live-page #bottomNav, body.live-page #footer { display: none; }
  .live-page #header { flex: none; }
  .live-page main.reel-page { flex: 1; min-height: 0; padding: 0; }
  .reel-shell { max-width: none; height: 100%; }
  .reel { height: 100%; aspect-ratio: auto; max-height: none; border-radius: 0; box-shadow: none; }
  .reel-secondary, .reel-note { display: none; }
}

@media (max-width: 900px) { .live-layout { grid-template-columns: 1fr; } .live-side { height: 460px; } .live-sale-panel { position: static; } .live-extra-body[id="scheduleArea"], .live-extra-body#scheduleArea { grid-template-columns: 1fr !important; } .uploader-grid { grid-template-columns: repeat(3,1fr); } }

/* ========== MOBİL TAM EKRAN CANLI DENEYİM ========== */
@media (max-width: 760px) {
  /* Tam ekran: alt nav gizli, kenarlıksız, sayfa kaydırması kapalı (yalnız sohbet kayar) */
  body.live-page #bottomNav { display: none; }
  body.live-page #footer { display: none; }
  body.live-page { padding-bottom: 0; overflow: hidden; position: fixed; inset: 0; display: flex; flex-direction: column; }
  .live-page main.section { padding: 0; flex: 1; min-height: 0; display: flex; }
  .live-page .wrap { padding: 0; max-width: none; flex: 1; min-height: 0; display: flex; }
  .live-page .live-intro { display: none; }
  .live-page .live-extra { display: none; }   /* ikincil bölümler tam ekranda gizli */

  .live-page .live-layout {
    display: flex; flex-direction: column; gap: 0;
    flex: 1; min-height: 0; height: auto; width: 100%;
  }
  .live-page .live-main { flex: none; min-width: 0; }
  .live-page .live-stage { border-radius: 0; }

  /* sticky satış şeridi: kompakt bilgi (ad + güncel teklif + geri sayım) */
  .live-page .live-sale-panel {
    position: static; margin-top: 0; border-radius: 0; box-shadow: none;
    border-left: none; border-right: none; padding: 12px 14px;
  }
  .live-page .live-sale-panel .lsp-head { margin-bottom: 8px; }
  .live-page .live-sale-panel .live-bid-btns { display: none; } /* teklif butonları alt çubukta */
  .live-page .live-sale-panel .lsp-cur .cur { font-size: 26px; }
  .live-page #camNote, .live-page #saleListPanel { display: none; }

  /* sohbet: video altında akan tek kaydırılan katman */
  .live-page .live-side {
    flex: 1; min-height: 0; height: auto; border: none; border-radius: 0;
    border-top: 1px solid var(--line);
  }
  .live-page .live-side .live-side-head,
  .live-page .live-side .mod-bar,
  .live-page .live-side .chat-input { display: none; }  /* alt çubuk kullanılır */
  .live-page .live-side .chat { padding: 14px 14px 130px; gap: 11px; }
  .live-page .live-side .chat .msg { font-size: 15px; }  /* küçük metin yok */

  /* Alt aksiyon çubuğu — başparmak bölgesi; klavye açılınca yukarı itilir */
  .live-page .live-mobile-bar {
    display: flex; flex-direction: column; gap: 9px;
    position: fixed; left: 0; right: 0; bottom: var(--kb-inset, 0px); z-index: 70;
    padding: 10px 12px calc(12px + env(safe-area-inset-bottom, 0px));
    background: rgba(255,255,255,.98); backdrop-filter: blur(8px);
    border-top: 1px solid var(--line); box-shadow: 0 -3px 16px rgba(15,23,42,.12);
    transition: bottom .14s ease;
  }
  .lmb-bids { display: flex; gap: 10px; }
  .lmb-quick { flex: 1; display: flex; flex-direction: column; gap: 1px; line-height: 1.1; min-height: 56px; }
  .lmb-quick b { font-size: 17px; } .lmb-quick span { font-size: 11.5px; color: var(--ink-faint); font-weight: 600; }
  .lmb-offer { flex: 1.4; font-size: 17px; font-weight: 800; min-height: 56px; }
  .lmb-chat { display: flex; gap: 8px; }
  .lmb-chat input { flex: 1; border: 1px solid var(--line-strong); border-radius: 999px; padding: 12px 16px; font-size: 15px; font-family: inherit; min-height: 50px; }
  .lmb-chat input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
  .lmb-chat button { width: 50px; height: 50px; border-radius: 50%; border: none; background: var(--brand); color: #fff; display: grid; place-items: center; flex: none; }
}

/* ---------- Sosyal: takip & profil ---------- */
.av {
  width: 24px; height: 24px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-dark);
  display: grid; place-items: center; font-size: 11px; font-weight: 800; flex: none; overflow: hidden;
}
.av img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Profil fotoğrafı düzenleme ---------- */
.avatar-edit { position: relative; cursor: pointer; flex: none; }
.avatar-edit img { width: 100%; height: 100%; object-fit: cover; }
.avatar-edit .cam-badge {
  position: absolute; bottom: -2px; right: -2px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--brand); color: #fff; display: grid; place-items: center; border: 2px solid #fff;
}
.avatar-edit .cam-badge svg { width: 14px; height: 14px; }
.profile-hero .pav { overflow: hidden; }
.profile-hero .pav img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Yıldız puanlama ---------- */
.stars-input { display: inline-flex; gap: 4px; font-size: 30px; line-height: 1; cursor: pointer; }
.stars-input span { color: var(--line-strong); transition: .1s; }
.stars-input span.on { color: #f59e0b; }
.rating-summary { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.rating-summary .big { font-size: 40px; font-weight: 800; line-height: 1; }
.rating-summary .stars { color: #f59e0b; font-size: 18px; }
.review-list { display: flex; flex-direction: column; gap: 12px; }
.review-item { border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.review-item .top { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.review-item .top .av { width: 34px; height: 34px; font-size: 13px; }
.review-item .who { font-weight: 700; font-size: 14px; }
.review-item .rstars { color: #f59e0b; font-size: 13px; }
.review-item .date { margin-left: auto; font-size: 12px; color: var(--ink-faint); }
.review-item .rtext { font-size: 14px; color: var(--ink-soft); margin: 0; }
.seller-reply { display: flex; gap: 10px; margin-top: 12px; padding: 12px 14px; background: var(--bg-soft); border-radius: var(--r-sm); border-left: 3px solid var(--brand); }
.seller-reply svg { flex: none; color: var(--brand); margin-top: 2px; }
.card-seller { text-decoration: none; color: var(--ink-soft); }
.card-seller:hover span:not(.av):not(.faint):not(.badge) { color: var(--brand); }
.follow-btn.is-following::before { content: ""; }

.profile-hero {
  background: linear-gradient(160deg, #0f172a, #1c3a6e); border-radius: var(--r-xl); padding: 34px;
  color: #fff; display: flex; gap: 24px; align-items: center; flex-wrap: wrap;
}
.profile-hero .pav {
  width: 92px; height: 92px; border-radius: 50%; background: rgba(255,255,255,.12);
  display: grid; place-items: center; font-size: 34px; font-weight: 800; flex: none; border: 3px solid rgba(255,255,255,.2);
}
.profile-hero h1 { font-size: 28px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.profile-hero .bio { color: #cbd5e1; font-size: 14.5px; margin: 8px 0 0; max-width: 460px; }
.profile-hero .who { flex: 1; min-width: 240px; }
.profile-stats { display: flex; gap: 26px; margin-top: 16px; }
.profile-stats .st b { font-size: 22px; font-weight: 800; display: block; line-height: 1.1; }
.profile-stats .st span { font-size: 12.5px; color: #94a3b8; }
.profile-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.profile-hero .follow-btn { padding: 11px 22px; font-size: 14.5px; }

.stat-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-soft); }
.stat-chip b { color: var(--ink); }

/* takip kutusu (ürün detay satıcı) */
.seller-box .follow-row { display: flex; align-items: center; gap: 10px; }
.seller-box .foll { font-size: 12.5px; color: var(--ink-faint); }
.seller-box .foll b { color: var(--ink); }

/* ---------- Yayın planlama ---------- */
.schedule-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.schedule-form .full { grid-column: 1 / -1; }
.upcoming-card {
  display: flex; gap: 14px; align-items: center; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 14px; margin-bottom: 12px;
}
.upcoming-card .uc-pic { width: 56px; height: 76px; border-radius: var(--r-sm); background: #0b1020; display: grid; place-items: center; overflow: hidden; flex: none; }
.upcoming-card .uc-pic img { width: 100%; height: 100%; object-fit: cover; }
.upcoming-card .uc-pic svg { width: 80%; }
.upcoming-card .uc-meta { flex: 1; }
.upcoming-card .uc-meta h4 { font-size: 15.5px; }
.upcoming-card .uc-meta .sub { font-size: 13px; color: var(--ink-faint); }
.upcoming-card .uc-count { text-align: right; font-variant-numeric: tabular-nums; }
.upcoming-card .uc-count b { display: block; font-size: 18px; font-weight: 800; color: var(--accent); }
.upcoming-card .uc-count span { font-size: 11px; color: var(--ink-faint); }
@media (max-width: 620px) { .schedule-form { grid-template-columns: 1fr; } .profile-stats { gap: 18px; } }

/* ============================================================
   🌙 KARANLIK MOD  — [data-theme="dark"]
   Yüzeyler var(--surface), zeminler var(--bg*), çizgiler var(--line)
   üzerinden çalışır; burada değişkenleri koyulaştırıp birkaç
   sabit-renkli yüzeyi hedefli olarak eziyoruz.
   ============================================================ */
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0e1014;          /* sayfa zemini (en koyu) */
  --bg-soft: #14171d;     /* bölüm zemini */
  --bg-softer: #181b22;
  --ink: #e7e9ee;         /* ana metin */
  --ink-soft: #a3abb8;
  --ink-faint: #6b7382;
  --line: #262b34;
  --line-strong: #353c47;
  --surface: #181b22;     /* kart / panel / girdi yüzeyi */
  --surface-2: #1f242c;
  --brand-soft: #16243d;
  --accent-soft: #2e1a13;
  --success-soft: #11271d;
  --warning-soft: #2a2210;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow: 0 4px 18px rgba(0,0,0,.45);
  --shadow-lg: 0 18px 50px rgba(0,0,0,.6);
}
/* Sabit-renkli yüzeyleri karanlıkta ez (var kullanmayanlar) */
[data-theme="dark"] .site-header { background: rgba(16,18,22,.82); }
[data-theme="dark"] .btn-soft:hover { background: var(--line); }
[data-theme="dark"] .btn-ghost:hover { background: var(--surface-2); }
[data-theme="dark"] .chat-daysep span,
[data-theme="dark"] .convo-item.active { background: var(--surface-2); }
/* Geçiş düğmesi */
.theme-toggle { font-size: 16px !important; line-height: 1; padding-left: 9px; padding-right: 9px; }

/* ============================================================
   Dalga 3a — Arama otomatik tamamlama · Yardım widget · Tanıtım
   ============================================================ */
/* --- Arama otomatik tamamlama --- */
.nav-search, .mm-search, .hero-search .q { position: relative; }
.ac-box { position: absolute; top: calc(100% + 6px); left: 0; right: 0; min-width: 240px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); overflow: hidden auto; max-height: 62vh; z-index: 120; }
.ac-sec { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-faint); padding: 9px 12px 4px; }
.ac-row { display: flex; align-items: center; gap: 10px; padding: 8px 12px; cursor: pointer; color: var(--ink); }
.ac-row:hover, .ac-row.ac-on { background: var(--bg-soft); }
.ac-row .ac-ic svg { width: 16px; height: 16px; opacity: .55; display: block; }
.ac-thumb { width: 34px; height: 28px; border-radius: 6px; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; flex: none; font-size: 15px; }
.ac-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ac-t { flex: 1; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-p { font-size: 13px; font-weight: 800; color: var(--brand); white-space: nowrap; }
.ac-brand .ac-t { font-weight: 700; }

/* --- Yardım widget --- */
.help-fab { position: fixed; right: 18px; bottom: 22px; width: 50px; height: 50px; border-radius: 50%; border: none; background: var(--brand); color: #fff; font-size: 25px; font-weight: 800; cursor: pointer; box-shadow: 0 8px 24px rgba(23,99,214,.4); z-index: 90; display: flex; align-items: center; justify-content: center; transition: transform .15s; }
.help-fab:hover { transform: scale(1.06); }
.help-fab.open { transform: rotate(90deg); }
.help-panel { position: fixed; right: 18px; bottom: 84px; width: 300px; max-width: calc(100vw - 36px); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); z-index: 90; padding: 8px; opacity: 0; transform: translateY(10px) scale(.97); pointer-events: none; transition: opacity .15s, transform .15s; }
.help-panel.open { opacity: 1; transform: none; pointer-events: auto; }
.help-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px 10px; }
.help-x { background: none; border: none; font-size: 22px; line-height: 1; color: var(--ink-faint); cursor: pointer; }
.help-link { display: block; padding: 11px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--ink); }
.help-link:hover { background: var(--bg-soft); }
.help-all { color: var(--brand); }
.help-mail { display: block; padding: 11px 12px; margin-top: 4px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-soft); }
@media (max-width: 720px) {
  .help-fab { bottom: calc(74px + env(safe-area-inset-bottom)); width: 46px; height: 46px; font-size: 22px; }
  .help-panel { bottom: calc(130px + env(safe-area-inset-bottom)); }
}

/* --- Onboarding --- */
.onb-modal { max-width: 380px; text-align: left; }
.onb-hero { font-size: 46px; text-align: center; }
.onb-feat { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; }
.onb-feat span { font-size: 22px; flex: none; line-height: 1.3; }
.onb-feat b { font-size: 14.5px; }
.onb-feat p { font-size: 13px; color: var(--ink-soft); margin: 2px 0 0; }

/* 📷 "AI ile Tanı" — fotoğraf makinesine periyodik flaş patlama efekti */
.cam-flash { position: relative; display: inline-block; }
.cam-flash::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, rgba(255,255,255,.85) 35%, rgba(255,255,255,0) 70%);
  transform: translate(-50%, -50%) scale(0); opacity: 0;
  pointer-events: none; mix-blend-mode: screen;
  animation: camFlash 3.6s ease-out infinite;
}
@keyframes camFlash {
  0%, 88%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(0); box-shadow: none; }
  90%  { opacity: 1; transform: translate(-50%, -50%) scale(1.7);
         box-shadow: 0 0 10px 5px rgba(255,255,255,.95); }
  94%  { opacity: .65; transform: translate(-50%, -50%) scale(1.05);
         box-shadow: 0 0 6px 2px rgba(255,255,255,.5); }
  98%  { opacity: 0; transform: translate(-50%, -50%) scale(.85); box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) { .cam-flash::after { animation: none; } }
