/* =====================================================================
   USA Turk Support - Kullanıcı arayüzü
   Mobil öncelikli. Renkler banner'daki ABD bayrağı + Türk bayrağı
   ===================================================================== */

:root {
  --navy: #0b2f6b;
  --navy-700: #082553;
  --navy-900: #051a3d;
  --red: #c1121f;
  --red-700: #9b0e18;
  --tr-red: #e30a17;
  --white: #ffffff;
  --ink: #13203b;
  --muted: #5d6984;
  --line: #e3e8f1;
  --bg: #f3f5f9;
  --card: #ffffff;
  --success: #12805c;
  --warning: #b7791f;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(10, 30, 70, .06);
  --shadow: 0 8px 28px rgba(10, 30, 70, .09);
  --shadow-lg: 0 18px 48px rgba(10, 30, 70, .16);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Montserrat", "Inter", system-ui, sans-serif;
  --font-cond: "Saira Condensed", "Arial Narrow", sans-serif;

  --header-h: 64px;
  --bottom-nav-h: 64px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);

  /* Bootstrap 5 değişkenleri marka değerlerine bağlanır */
  --bs-body-font-family: var(--font);
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--bg);
  --bs-link-color: var(--navy);
  --bs-link-color-rgb: 11, 47, 107;
  --bs-link-hover-color: var(--red);
  --bs-link-hover-color-rgb: 193, 18, 31;
  --bs-primary: var(--navy);
  --bs-primary-rgb: 11, 47, 107;
  --bs-danger: var(--red);
  --bs-danger-rgb: 193, 18, 31;
  --bs-border-color: var(--line);
  --bs-border-radius: var(--radius-sm);
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--bottom-nav-h) + var(--safe-bottom));
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(28px, 7vw, 52px); font-weight: 900; letter-spacing: -.01em; }
h2 { font-size: clamp(22px, 4.6vw, 32px); font-weight: 800; }
h3 { font-size: 18px; font-weight: 800; }
p { margin: 0 0 1em; }
svg { flex-shrink: 0; }
:focus-visible { outline: 3px solid #5b9bff; outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 18px; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 999; border-radius: 8px; }
.skip-link:focus { left: 8px; }

/* ---------- Butonlar (Bootstrap 5 .btn üzerine marka renkleri) ---------- */
.btn {
  --bs-btn-padding-x: 22px; --bs-btn-padding-y: 12px;
  --bs-btn-font-family: var(--font); --bs-btn-font-size: 15px; --bs-btn-font-weight: 700; --bs-btn-line-height: 1.1;
  --bs-btn-border-width: 2px; --bs-btn-border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; letter-spacing: .01em; text-decoration: none !important;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-sm { --bs-btn-padding-x: 16px; --bs-btn-padding-y: 8px; --bs-btn-font-size: 14px; --bs-btn-border-radius: 999px; min-height: 38px; }
.btn-lg { --bs-btn-padding-x: 28px; --bs-btn-padding-y: 16px; --bs-btn-font-size: 17px; --bs-btn-border-radius: 999px; min-height: 56px; }
.btn-block { width: 100%; }
.btn-red {
  --bs-btn-color: #fff; --bs-btn-bg: var(--red); --bs-btn-border-color: var(--red);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--red-700); --bs-btn-hover-border-color: var(--red-700);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--red-700); --bs-btn-active-border-color: var(--red-700);
  --bs-btn-disabled-color: #fff; --bs-btn-disabled-bg: var(--red); --bs-btn-disabled-border-color: var(--red);
  --bs-btn-focus-shadow-rgb: 193, 18, 31;
  box-shadow: 0 6px 18px rgba(193, 18, 31, .32);
}
.btn-navy {
  --bs-btn-color: #fff; --bs-btn-bg: var(--navy); --bs-btn-border-color: var(--navy);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--navy-700); --bs-btn-hover-border-color: var(--navy-700);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--navy-700); --bs-btn-active-border-color: var(--navy-700);
  --bs-btn-focus-shadow-rgb: 11, 47, 107;
  box-shadow: 0 6px 18px rgba(11, 47, 107, .28);
}
.btn-white {
  --bs-btn-color: var(--red); --bs-btn-bg: #fff; --bs-btn-border-color: #fff;
  --bs-btn-hover-color: var(--red-700); --bs-btn-hover-bg: #fff3f3; --bs-btn-hover-border-color: #fff3f3;
  --bs-btn-active-color: var(--red-700); --bs-btn-active-bg: #ffe4e4; --bs-btn-active-border-color: #ffe4e4;
}
.btn-outline {
  --bs-btn-color: var(--navy); --bs-btn-bg: transparent; --bs-btn-border-color: var(--navy);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--navy); --bs-btn-hover-border-color: var(--navy);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--navy-700); --bs-btn-active-border-color: var(--navy-700);
}
.btn-ghost-light {
  --bs-btn-color: #fff; --bs-btn-bg: rgba(255, 255, 255, .1); --bs-btn-border-color: rgba(255, 255, 255, .45);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: rgba(255, 255, 255, .2); --bs-btn-hover-border-color: #fff;
  --bs-btn-active-color: #fff; --bs-btn-active-bg: rgba(255, 255, 255, .25); --bs-btn-active-border-color: #fff;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  box-shadow: var(--shadow-sm);
  padding-top: env(safe-area-inset-top, 0px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.header-stripe { height: 4px; background: var(--red); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none !important; min-width: 0; }
.brand-badge { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--red); object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-text strong { font-family: var(--font-head); font-weight: 800; font-size: 16px; color: var(--navy); white-space: nowrap; }
.brand-text small { font-size: 11.5px; color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

.nav-desktop { display: none; align-items: center; gap: 6px; }
.main-link { padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--ink); }
.main-link:hover { background: var(--bg); color: var(--ink); text-decoration: none; }
.main-link.is-active { color: var(--red); background: #fdeeee; }

.menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: var(--navy); cursor: pointer;
}
.menu-btn:hover { background: var(--bg); }

/* Mobil menü (Bootstrap offcanvas) */
.mobile-menu { --bs-offcanvas-width: min(86vw, 340px); }
.mobile-menu .offcanvas-header { border-bottom: 1px solid var(--line); }
.mobile-menu .offcanvas-body { display: flex; flex-direction: column; padding-bottom: calc(18px + var(--safe-bottom)); }
.drawer-nav { display: flex; flex-direction: column; gap: 4px; }
.drawer-nav a:not(.btn) { padding: 13px 10px; font-weight: 600; font-size: 17px; color: var(--ink); border-radius: 10px; }
.drawer-nav a:not(.btn):hover { background: var(--bg); text-decoration: none; }
.drawer-nav .btn { margin-top: 10px; }
.drawer-foot { margin-top: auto; display: flex; gap: 16px; font-size: 14px; padding-top: 16px; }
.drawer-foot a { color: var(--muted); }

/* Alt menü (mobil) */
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: repeat(4, 1fr);
  height: calc(var(--bottom-nav-h) + var(--safe-bottom)); padding-bottom: var(--safe-bottom);
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 18px rgba(10, 30, 70, .06);
}
.bottom-nav a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--muted); font-size: 11.5px; font-weight: 600; text-decoration: none !important;
}
.bottom-nav a.is-active { color: var(--red); }
.bottom-nav a.is-active svg { transform: translateY(-1px); }

/* ---------- Hero (bayrak) ---------- */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero-stars { background: var(--navy); padding: 18px 0 16px; position: relative; }
.hero-stars .wrap { display: flex; align-items: center; justify-content: center; position: relative; }
.stars-row { display: flex; gap: clamp(14px, 5vw, 46px); color: #fff; }
.stars-row svg { width: clamp(26px, 7vw, 52px); height: clamp(26px, 7vw, 52px); filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .2)); }
.hero-badge {
  position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: clamp(48px, 12vw, 76px); height: clamp(48px, 12vw, 76px);
  border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px #fff, 0 10px 26px rgba(0, 0, 0, .3);
}
.hero-main { background: var(--red); padding: 38px 0 42px; text-align: center; position: relative; }
.hero-main::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 0, rgba(255, 255, 255, .14), transparent 60%);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
  padding: 6px 14px; border-radius: 999px; background: rgba(0, 0, 0, .18);
  font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .25); }
.hero h1 { color: #fff; margin-bottom: 14px; text-shadow: 0 3px 12px rgba(0, 0, 0, .18); }
.hero h1 span { display: block; font-size: .62em; font-weight: 800; margin-top: 6px; }
.hero-lead { max-width: 620px; margin: 0 auto 26px; font-size: clamp(16px, 2.4vw, 19px); color: rgba(255, 255, 255, .92); }
.hero-actions { display: flex; flex-direction: column; gap: 12px; max-width: 420px; margin: 0 auto; }
.hero-band { background: var(--navy); padding: 14px 0 56px; text-align: center; }
.hero-band p {
  margin: 0; font-family: var(--font-cond); font-weight: 400;
  font-size: clamp(24px, 6vw, 40px); letter-spacing: .03em; color: #fff;
}
.hero-stripes { height: 34px; background: repeating-linear-gradient(180deg, var(--red) 0 12px, #fff 12px 17px); }

/* İstatistik şeridi (hero'nun üstüne biner) */
.stats-strip { position: relative; z-index: 2; margin-top: -64px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
}
.stat { background: #fff; padding: 18px 14px; text-align: center; }
.stat-value { display: block; font-family: var(--font-head); font-weight: 900; font-size: clamp(24px, 6vw, 34px); color: var(--navy); line-height: 1.1; }
.stat-label { display: block; margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--muted); }
.stat:nth-child(1) .stat-value { color: var(--red); }

/* ---------- Bölümler ---------- */
.section { padding: 48px 0; }
.section-tight { padding: 28px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: 6px 0 0; color: var(--muted); }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 8px;
  font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--red);
}
.kicker::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--red); }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--red); }

/* ---------- Kampanya kartları ---------- */
.card-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.camp-card {
  display: flex; flex-direction: column; background: var(--card);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease;
}
.camp-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.camp-media { position: relative; aspect-ratio: 16 / 9; background: var(--navy); overflow: hidden; }
.camp-media img { width: 100%; height: 100%; object-fit: cover; }
.camp-media-fallback {
  position: absolute; inset: 0; display: flex; flex-direction: column;
}
.camp-media-fallback .f-top { flex: 0 0 30%; background: var(--navy); display: flex; align-items: center; justify-content: center; gap: 14px; color: #fff; }
.camp-media-fallback .f-top svg { width: 22px; height: 22px; }
.camp-media-fallback .f-mid { flex: 1; background: var(--red); display: flex; align-items: center; justify-content: center; padding: 0 18px; text-align: center; }
.camp-media-fallback .f-mid span { font-family: var(--font-head); font-weight: 900; color: #fff; font-size: 20px; line-height: 1.15; }
.camp-media-fallback .f-bot { flex: 0 0 14%; background: repeating-linear-gradient(180deg, var(--red) 0 6px, #fff 6px 9px); }
.camp-tag {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, .95); color: var(--ink); font-size: 12px; font-weight: 700; box-shadow: var(--shadow-sm);
}
.camp-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: #16a34a; }
.camp-tag.is-featured { background: var(--tr-red); color: #fff; }
.camp-tag.is-featured .dot { background: #fff; }
.camp-body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 20px; }
.camp-target { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 6px; }
.camp-title { font-size: 19px; margin-bottom: 8px; }
.camp-title a { color: var(--ink); }
.camp-summary { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.camp-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.camp-meta span { display: inline-flex; align-items: center; gap: 6px; }
.camp-meta strong { color: var(--ink); }
.camp-body .btn { margin-top: auto; }

.meter { margin-bottom: 16px; }
.meter-track { height: 10px; border-radius: 999px; background: #edf0f6; overflow: hidden; }
.meter-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--red), var(--tr-red)); }
.meter-label { display: flex; justify-content: space-between; margin-top: 6px; font-size: 13px; color: var(--muted); }
.meter-label strong { color: var(--ink); }

/* ---------- Nasıl çalışır ---------- */
.steps { display: grid; gap: 14px; grid-template-columns: 1fr; counter-reset: step; }
.step {
  position: relative; background: #fff; border-radius: var(--radius); padding: 20px 20px 20px 76px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.step-icon {
  position: absolute; left: 18px; top: 20px; width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; background: #fdeeee; color: var(--red);
}
.step:nth-child(2) .step-icon { background: #e8eefa; color: var(--navy); }
.step:nth-child(3) .step-icon { background: #e7f6ef; color: var(--success); }
.step h3 { margin-bottom: 4px; font-size: 17px; }
.step h3::before { counter-increment: step; content: counter(step) ". "; color: var(--red); }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

.providers { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }
.providers-label { font-size: 14px; font-weight: 600; color: var(--muted); }
.provider-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: 14px; box-shadow: var(--shadow-sm);
}
.provider-chip img, .provider-chip svg { width: 20px; height: 20px; }

/* ---------- Güven kutusu ---------- */
.trust {
  display: grid; gap: 14px; grid-template-columns: 1fr;
  background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 26px 22px; position: relative; overflow: hidden;
}
.trust::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .1), transparent 70%);
}
.trust h2 { color: #fff; }
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.trust-list li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255, 255, 255, .9); }
.trust-list svg { color: #6ee7b7; margin-top: 2px; }

/* ---------- Sonuç kartları ---------- */
.result-card {
  display: flex; flex-direction: column; gap: 8px; background: #fff; border-radius: var(--radius); padding: 18px;
  border: 1px solid var(--line); border-left: 5px solid var(--navy); box-shadow: var(--shadow-sm);
}
.result-card.is-success { border-left-color: var(--success); }
.result-card.is-partial { border-left-color: var(--warning); }
.result-card.is-unsuccessful { border-left-color: var(--red); }
.result-card h3 { margin: 0; font-size: 17px; }
.result-card p { margin: 0; color: var(--muted); font-size: 15px; }
.result-foot { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13.5px; color: var(--muted); }

.badge {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase;
  background: #e8eefa; color: var(--navy);
}
.badge-success { background: #e2f5ec; color: var(--success); }
.badge-warning { background: #fdf3e1; color: var(--warning); }
.badge-danger { background: #fdeeee; color: var(--red); }
.badge-muted { background: #eef1f6; color: var(--muted); }

/* ---------- Üyelik çağrısı ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 30px 22px; color: #fff; text-align: center;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-700) 100%);
}
.cta-band::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 16px;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .9) 0 4px, transparent 4px 8px);
  opacity: .25;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .9); max-width: 560px; margin: 0 auto 20px; }
.cta-actions { display: flex; flex-direction: column; gap: 10px; max-width: 380px; margin: 0 auto; }

/* ---------- Boş durum (uyarılar için Bootstrap .alert kullanılır) ---------- */
.empty {
  background: #fff; border: 2px dashed var(--line); border-radius: var(--radius-lg);
  padding: 34px 22px; text-align: center; color: var(--muted);
}
.empty svg { color: var(--navy); margin: 0 auto 10px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .78); margin-top: 24px; }
.footer-stripes { height: 10px; background: linear-gradient(90deg, var(--red) 0 50%, #fff 50% 52%, var(--navy) 52% 100%); }
.footer-inner { display: grid; gap: 26px; padding-top: 34px; padding-bottom: 24px; }
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand strong { color: #fff; font-family: var(--font-head); font-size: 18px; }
.footer-brand p { margin: 4px 0 0; font-size: 14.5px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.footer-links h3 { color: #fff; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.footer-links a { display: block; padding: 5px 0; color: rgba(255, 255, 255, .78); font-size: 15px; }
.footer-links a:hover { color: #fff; }
.install-btn { justify-self: start; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 16px; padding-bottom: 20px; }
.footer-bottom p { margin: 0; font-size: 13px; color: rgba(255, 255, 255, .55); }

/* iOS ana ekrana ekle ipucu */
.ios-hint {
  position: fixed; left: 12px; right: 12px; bottom: calc(var(--bottom-nav-h) + var(--safe-bottom) + 10px); z-index: 60;
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px;
  background: var(--navy); color: #fff; box-shadow: var(--shadow-lg); font-size: 14px;
}
.ios-hint[hidden] { display: none; }
.ios-hint p { margin: 0; flex: 1; }
.ios-hint svg { vertical-align: -3px; }
.ios-hint button { background: transparent; border: 0; color: #fff; padding: 6px; cursor: pointer; }

/* ---------- Görünürken animasyon ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =====================================================================
   Tablet ve üzeri
   ===================================================================== */
@media (min-width: 640px) {
  .hero-actions, .cta-actions { flex-direction: row; justify-content: center; max-width: none; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1.3fr 1fr; align-items: start; }
  .install-btn { grid-column: 1 / -1; }
}

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .bottom-nav, .menu-btn { display: none; }
  .nav-desktop { display: flex; }
  .ios-hint { bottom: 16px; left: auto; max-width: 380px; }
  .hero-main { padding: 56px 0 60px; }
  .hero-band { padding-bottom: 72px; }
  .stats-strip { margin-top: -78px; }
  .stat { padding: 24px 16px; }
  .section { padding: 64px 0; }
  .card-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { padding: 24px; }
  .step-icon { position: static; margin-bottom: 14px; }
  .trust { grid-template-columns: 1fr 1.2fr; padding: 38px; align-items: center; }
  .cta-band { padding: 46px 40px; }
}

/* =====================================================================
   Kampanya detay / gönderim sayfası
   ===================================================================== */
.camp-hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.camp-hero::after { content: ""; display: block; height: 14px; background: repeating-linear-gradient(180deg, var(--red) 0 5px, #fff 5px 8px); }
.camp-hero-inner { padding-top: 24px; padding-bottom: 26px; }
.camp-hero .camp-target { color: #ffb3b8; margin-bottom: 8px; }
.camp-hero h1 { color: #fff; font-size: clamp(24px, 6vw, 40px); margin-bottom: 10px; }
.camp-hero-lead { color: rgba(255, 255, 255, .86); font-size: 16px; margin-bottom: 18px; max-width: 760px; }
.camp-hero-stats { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14.5px; color: rgba(255, 255, 255, .86); }
.camp-hero-stats span { display: inline-flex; align-items: center; gap: 6px; }
.camp-hero-stats strong { color: #fff; }
.camp-hero .meter { margin: 16px 0 0; max-width: 560px; }
.camp-hero .meter-track { background: rgba(255, 255, 255, .18); }
.camp-hero .meter-label, .camp-hero .meter-label strong { color: rgba(255, 255, 255, .9); }
.camp-status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; background: rgba(255, 255, 255, .14); margin-bottom: 12px; }
.camp-status .dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; }
.camp-status.is-closed .dot { background: #cbd5e1; }

.camp-layout { display: grid; gap: 18px; grid-template-areas: "done" "msg" "send" "about"; padding: 20px 0 40px; }
.area-done { grid-area: done; }
.area-msg { grid-area: msg; }
.area-send { grid-area: send; }
.area-about { grid-area: about; }
.area-done:empty { display: none; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 20px; }
.panel + .panel { margin-top: 18px; }
.panel-title { display: flex; align-items: center; gap: 10px; font-size: 18px; margin-bottom: 14px; }
.panel-title .num { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--red); color: #fff; font-size: 14px; font-weight: 800; flex-shrink: 0; }
.panel-about { color: var(--muted); }
.panel-about p:last-child { margin-bottom: 0; }

.msg-label { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.msg-block + .msg-block { margin-top: 16px; }
.recipient-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.recipient { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--bg); }
.recipient-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; flex-shrink: 0; }
.recipient-name { font-weight: 700; line-height: 1.25; }
.recipient-meta { font-size: 13px; color: var(--muted); line-height: 1.3; overflow-wrap: anywhere; }
.msg-subject { font-weight: 700; padding: 12px 14px; border-radius: 12px; background: var(--bg); line-height: 1.45; }
.msg-body { white-space: pre-wrap; padding: 14px; border-radius: 12px; background: var(--bg); line-height: 1.65; font-size: 15.5px; overflow-wrap: anywhere; }
.msg-signature { color: var(--muted); font-style: italic; }
.msg-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.msg-note svg { color: var(--success); margin-top: 2px; }

.provider-btn { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 56px; padding: 12px 18px; border-radius: 14px; font-weight: 700; font-size: 16px; text-decoration: none !important; border: 2px solid var(--line); background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .15s; }
.provider-btn:hover { border-color: var(--navy); box-shadow: var(--shadow); color: var(--ink); }
.provider-btn:active { transform: scale(.99); }
.provider-btn svg { width: 26px; height: 26px; }
.provider-btn + .provider-btn { margin-top: 10px; }
.send-hint { font-size: 13.5px; color: var(--muted); margin: 12px 0 0; text-align: center; }

.connected-chip { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #eef4ff; border: 1px solid #d6e2fb; margin-bottom: 14px; }
.connected-chip svg { width: 24px; height: 24px; }
.connected-chip .who { flex: 1; min-width: 0; line-height: 1.3; }
.connected-chip .who small { display: block; color: var(--muted); font-size: 12px; }
.connected-chip .who strong { display: block; word-break: break-all; font-size: 14.5px; }
.connected-chip a { font-size: 13px; font-weight: 600; white-space: nowrap; }

.consent { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 16px; font-size: 14.5px; cursor: pointer; }
.consent .form-check-input { width: 22px; height: 22px; margin-top: 0; flex-shrink: 0; border: 2px solid #8a96ad; }
.consent .form-check-input:checked { background-color: var(--red); border-color: var(--red); }

.done-card { text-align: center; background: linear-gradient(135deg, #0f7a55, #12805c); color: #fff; border: 0; }
.done-card h2 { color: #fff; font-size: 22px; margin-bottom: 6px; }
.done-card p { color: rgba(255, 255, 255, .9); margin-bottom: 0; }
.done-icon { width: 58px; height: 58px; border-radius: 50%; background: rgba(255, 255, 255, .18); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 10px; }

.share-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.share-btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 12px; border-radius: 12px; font-weight: 700; font-size: 14.5px; color: #fff; border: 0; text-decoration: none !important; cursor: pointer; }
.share-btn:hover { color: #fff; filter: brightness(1.08); }
.share-btn svg { width: 20px; height: 20px; }
.share-whatsapp { background: #1fa855; }
.share-facebook { background: #1877f2; }
.share-x { background: #111; }
.share-telegram { background: #229ed9; }
.share-email { background: var(--navy); }
.share-copy { background: #eef1f6; color: var(--ink); }
.share-copy:hover { color: var(--ink); }
.share-native { grid-column: 1 / -1; background: var(--red); }

.inapp-box { border: 2px solid #f2c94c; background: #fffbea; }
.inapp-box h3 { font-size: 17px; display: flex; gap: 8px; align-items: center; }
.inapp-box svg { color: #b7791f; }

@media (min-width: 992px) {
  .camp-hero-inner { padding-top: 38px; padding-bottom: 40px; }
  .camp-layout { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); grid-template-areas: "done done" "msg send" "about send"; gap: 22px 28px; padding: 30px 0 60px; align-items: start; }
  .area-send { position: sticky; top: calc(var(--header-h) + 18px); }
  .camp-layout.has-done .area-send { position: static; }
  .panel { padding: 26px; }
}

/* =====================================================================
   Yasal sayfalar (Privacy Policy, Terms of Service)
   ===================================================================== */
.legal-layout { display: grid; gap: 18px; padding: 20px 0 48px; }
.legal-toc { display: none; }
.legal-summary { background: #eef4ff; border: 1px solid #d6e2fb; border-radius: var(--radius-lg); padding: 18px 20px; }
.legal-summary h2 { font-size: 18px; margin-bottom: 10px; }
.legal-summary ul { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 8px; }
.legal-summary li { display: flex; gap: 8px; align-items: flex-start; }
.legal-summary li svg { color: var(--success); flex-shrink: 0; margin-top: 3px; }
.legal { line-height: 1.7; }
.legal h2 { font-size: 21px; margin: 34px 0 10px; scroll-margin-top: calc(var(--header-h) + 16px); }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 16.5px; margin: 20px 0 6px; }
.legal ul { padding-left: 1.2em; }
.legal li + li { margin-top: 4px; }
.legal code { font-size: 13.5px; color: var(--navy); background: var(--bg); padding: 2px 6px; border-radius: 6px; overflow-wrap: anywhere; }
.legal .legal-note { border-left: 4px solid var(--red); background: #fff5f5; padding: 12px 16px; border-radius: 0 12px 12px 0; margin: 14px 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 10px 0 16px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--line); }
.legal th { background: var(--bg); font-weight: 700; }
.legal-table { overflow-x: auto; }
@media (min-width: 992px) {
  .legal-layout { grid-template-columns: 250px minmax(0, 1fr); gap: 28px; padding: 30px 0 64px; align-items: start; }
  .legal-toc { display: block; position: sticky; top: calc(var(--header-h) + 18px); font-size: 14px; }
  .legal-toc strong { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
  .legal-toc a { display: block; padding: 5px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; line-height: 1.35; }
  .legal-toc a:hover { background: #eef1f6; }
}

/* =====================================================================
   Kampanya listesi (/campaigns)
   ===================================================================== */
.camp-tag.is-closed { background: #e7ebf2; color: var(--ink); }
.camp-tag.is-closed .dot { background: #94a3b8; }
.camp-card.is-closed .camp-media { filter: grayscale(.55); }
.tab-pills { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 22px; scrollbar-width: none; }
.tab-pills::-webkit-scrollbar { display: none; }
.tab-pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: 14.5px; white-space: nowrap; text-decoration: none !important; transition: background .15s, border-color .15s; }
.tab-pill:hover { border-color: var(--navy); color: var(--ink); }
.tab-pill.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.tab-count { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 22px; padding: 0 7px; border-radius: 999px; background: #eef1f6; color: var(--ink); font-size: 12.5px; font-weight: 800; }
.tab-pill.is-active .tab-count { background: rgba(255, 255, 255, .2); color: #fff; }
.list-heading { font-size: 22px; margin: 6px 0 14px; }
.card-grid + .list-heading, .empty + .list-heading { margin-top: 40px; }

/* =====================================================================
   Sonuçlar (/results)
   ===================================================================== */
.result-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.rs-tile { background: #fff; padding: 16px 12px; text-align: center; }
.rs-tile:first-child { grid-column: 1 / -1; }
.rs-value { display: block; font-family: var(--font-head); font-weight: 900; font-size: clamp(24px, 6vw, 32px); color: var(--navy); line-height: 1.1; }
.rs-label { display: block; margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--muted); }
.rs-tile.is-success .rs-value { color: var(--success); }
.rs-tile.is-partial .rs-value { color: var(--warning); }
.result-list { display: grid; gap: 18px; margin-top: 22px; }
.result-item { background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--navy); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.result-item.is-success { border-left-color: var(--success); }
.result-item.is-partial { border-left-color: var(--warning); }
.result-item.is-unsuccessful { border-left-color: var(--red); }
.result-item.is-pending { border-left-color: #94a3b8; }
.result-item-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.result-date { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.result-item .camp-target { margin-bottom: -4px; }
.result-title { font-size: clamp(19px, 4.4vw, 24px); margin: 0; }
.result-title a { color: var(--ink); text-decoration: none; }
.result-title a:hover { color: var(--red); }
.result-text { color: var(--ink); }
.result-text p:last-child { margin-bottom: 0; }
.result-numbers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.result-numbers div { background: var(--bg); border-radius: 12px; padding: 10px 12px; }
.result-numbers strong { display: block; font-family: var(--font-head); font-size: 20px; color: var(--navy); line-height: 1.1; }
.result-numbers span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.result-item .meter { margin: 0; }
.result-item .link-more { align-self: flex-start; }
@media (min-width: 768px) {
  .result-stats { grid-template-columns: repeat(5, 1fr); }
  .rs-tile:first-child { grid-column: auto; }
  .result-numbers { grid-template-columns: repeat(4, 1fr); }
  .result-item { padding: 26px 28px; }
}

/* =====================================================================
   Üyelik: kayıt, giriş, şifre (auth) ve hesap sayfaları
   ===================================================================== */
.auth-section { padding: 28px 0 56px; background: linear-gradient(180deg, var(--navy) 0 150px, transparent 150px); }
.auth-card { max-width: 560px; margin: 0 auto; padding: 26px 22px; }
.auth-icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: #eef4ff; color: var(--navy); margin-bottom: 12px; }
.auth-icon.is-success { background: #e2f5ec; color: var(--success); }
.auth-title { font-size: clamp(24px, 6vw, 30px); margin-bottom: 6px; }
.auth-lead { color: var(--muted); margin-bottom: 20px; }
.auth-form .form-label { font-weight: 700; margin-bottom: 4px; }
.auth-form .form-control[readonly] { background: var(--bg); }
.auth-switch { text-align: center; margin: 20px 0 0; font-size: 15px; color: var(--muted); }
.auth-switch a { font-weight: 700; }
@media (min-width: 576px) { .auth-card { padding: 34px 36px; } }

.account-layout { display: grid; gap: 18px; padding: 20px 0 48px; }
.account-nav { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.account-nav::-webkit-scrollbar { display: none; }
.account-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: 14.5px; white-space: nowrap; text-decoration: none !important; }
.account-nav a.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.account-layout .form-label { font-weight: 700; margin-bottom: 4px; }
.account-layout .form-control[readonly] { background: var(--bg); }

.member-stats { grid-template-columns: repeat(2, 1fr); }
.member-stats .rs-tile:first-child { grid-column: auto; }
.rs-value.rs-date { font-size: 18px; padding: 6px 0; }
.joined-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.joined-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--bg); color: var(--ink); text-decoration: none !important; }
.joined-item:hover { background: #e9edf5; color: var(--ink); }
.joined-main { min-width: 0; }
.joined-title { display: block; font-weight: 700; line-height: 1.3; }
.joined-meta { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.joined-item .badge { flex-shrink: 0; }

@media (min-width: 768px) {
  .member-stats { grid-template-columns: repeat(4, 1fr); }
  .card-grid.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
  .account-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 28px; padding: 30px 0 64px; align-items: start; }
  .account-nav { flex-direction: column; position: sticky; top: calc(var(--header-h) + 18px); }
  .account-nav a { border-radius: 12px; }
  .card-grid.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
}

/* =====================================================================
   Bayraklı telefon alanı (intl-tel-input)
   ===================================================================== */
.iti { display: block; width: 100%; }
.iti .form-control { width: 100%; }
.iti--separate-dial-code .iti__selected-flag { background: #e9edf5; border-radius: var(--bs-border-radius-lg, 12px) 0 0 var(--bs-border-radius-lg, 12px); padding: 0 10px 0 14px; }
.iti--separate-dial-code .iti__selected-dial-code { font-weight: 600; color: var(--ink); margin-left: 8px; }
.iti__country-list { z-index: 30; max-width: min(340px, calc(100vw - 48px)); white-space: normal; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 14.5px; }
.iti__country { padding: 8px 12px; }
.iti__country.iti__highlight { background: #eef4ff; }
.iti__divider { border-bottom-color: var(--line); }
.phone-feedback { display: none; }
.iti .form-control.is-invalid { background-image: none; }

/* =====================================================================
   YÖNETİCİ PANELİ
   ===================================================================== */
.admin-body { background: #f1f4f9; padding-bottom: 0; }
.admin-top { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 12px rgba(10, 30, 70, .18); }
.admin-top-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1280px; margin: 0 auto; padding: 10px 18px; }
.admin-brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none !important; }
.admin-brand img { border-radius: 50%; box-shadow: 0 0 0 2px #fff; }
.admin-brand span { display: flex; flex-direction: column; line-height: 1.15; }
.admin-brand strong { font-family: var(--font-head); font-size: 15px; }
.admin-brand small { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #ffb3b8; font-weight: 700; }
.admin-user { display: flex; align-items: center; gap: 14px; font-size: 14px; color: rgba(255, 255, 255, .85); }
.admin-top-link { display: inline-flex; align-items: center; gap: 6px; color: #fff; text-decoration: none !important; padding: 6px 10px; border-radius: 8px; }
.admin-top-link:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.admin-nav { display: flex; gap: 4px; max-width: 1280px; margin: 0 auto; padding: 0 12px; overflow-x: auto; scrollbar-width: none; border-top: 1px solid rgba(255, 255, 255, .12); }
.admin-nav::-webkit-scrollbar { display: none; }
.admin-nav a { display: inline-flex; align-items: center; gap: 7px; padding: 11px 12px; color: rgba(255, 255, 255, .78); font-weight: 600; font-size: 14.5px; white-space: nowrap; text-decoration: none !important; border-bottom: 3px solid transparent; }
.admin-nav a:hover { color: #fff; }
.admin-nav a.is-active { color: #fff; border-bottom-color: var(--red); }
.admin-main { padding: 22px 0 48px; }
.admin-wrap { max-width: 1280px; margin: 0 auto; padding: 0 18px; }
.admin-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.admin-head h1 { font-size: clamp(24px, 5vw, 30px); margin: 0; }
.admin-head p { margin: 4px 0 0; color: var(--muted); }
.admin-auth { max-width: 460px; margin: 40px auto; padding: 30px 28px; }
.admin-auth-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; color: var(--ink); text-decoration: none !important; }
.admin-auth-brand img { border-radius: 50%; }
.admin-auth-brand span { display: flex; flex-direction: column; line-height: 1.2; }
.admin-auth-brand small { color: var(--muted); font-size: 12.5px; }
.admin-body .panel + .panel, .admin-body .panel + .admin-grid-2, .admin-body .admin-grid-2 + .panel { margin-top: 18px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }

.admin-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 18px; }
.a-stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px; display: flex; flex-direction: column; gap: 2px; box-shadow: var(--shadow-sm); }
.a-stat-label { font-size: 13px; font-weight: 700; color: var(--muted); }
.a-stat-value { font-family: var(--font-head); font-weight: 900; font-size: clamp(24px, 5vw, 32px); color: var(--ink); line-height: 1.15; }
.a-stat-note { font-size: 12.5px; color: var(--muted); }

.admin-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; border-bottom-width: 1px; white-space: nowrap; }
.admin-table td { font-size: 14.5px; }
.admin-table .btn-sm { padding: 5px 8px; }
.badge-navy { background: #e6ecf7; color: var(--navy); }

.admin-grid-2 { display: grid; gap: 18px; margin-top: 18px; }
.activity-list { list-style: none; margin: 0; padding: 0; }
.activity-list li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line); }
.activity-list li:first-child { border-top: 0; padding-top: 0; }
.activity-dot { width: 9px; height: 9px; border-radius: 50%; margin-top: 7px; flex-shrink: 0; background: #94a3b8; }
.activity-dot.is-ok { background: var(--success); }
.activity-dot.is-fail { background: var(--red); }
.activity-dot.is-wait { background: var(--warning); }
.activity-main { flex: 1; min-width: 0; line-height: 1.4; overflow-wrap: anywhere; }
.activity-time { font-size: 12.5px; color: var(--muted); white-space: nowrap; }

/* Günlük sütun grafiği (tek seri) */
.chart-panel { margin-bottom: 18px; }
.chart-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.chart-sub { margin: 0; font-size: 13.5px; color: var(--muted); }
.vchart { position: relative; height: 230px; margin: 18px 0 6px; padding-left: 42px; }
.vchart-grid { position: absolute; inset: 0 0 22px 42px; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.vchart-line { position: relative; border-top: 1px solid #e3e8f0; height: 0; }
.vchart-line span { position: absolute; right: calc(100% + 8px); top: -9px; font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.vchart-bars { position: absolute; inset: 0 0 22px 42px; display: flex; align-items: flex-end; gap: 2px; }
.vchart-col { flex: 1; height: 100%; display: flex; align-items: flex-end; justify-content: center; position: relative; outline: none; cursor: default; }
.vchart-col:hover, .vchart-col:focus-visible { background: rgba(31, 78, 156, .06); border-radius: 4px; }
.vchart-bar { position: relative; width: 100%; max-width: 24px; background: #1f4e9c; border-radius: 4px 4px 0 0; }
.vchart-col.is-zero .vchart-bar { height: 2px !important; background: #d5dce8; border-radius: 1px; }
.vchart-peak { position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); font-size: 12px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.vchart-col::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 600; padding: 5px 9px; border-radius: 8px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .12s; z-index: 5; }
.vchart-col:hover::after, .vchart-col:focus-visible::after { opacity: 1; }
.vchart-col:first-child::after { left: 0; transform: none; }
.vchart-col:last-child::after { left: auto; right: 0; transform: none; }
.vchart-x { position: absolute; left: 42px; right: 0; bottom: 0; display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); }
.chart-table summary { cursor: pointer; font-size: 13.5px; font-weight: 600; color: var(--navy); margin-top: 6px; }
.chart-table .table-responsive { max-height: 260px; overflow-y: auto; margin-top: 8px; }

@media (min-width: 768px) {
  .admin-stats { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1100px) {
  .admin-grid-2 { grid-template-columns: 1fr 1fr; }
}
.admin-grid-2 > .panel { margin-top: 0 !important; }
.panel-head .link-more, .admin-head .btn { white-space: nowrap; }
.admin-table td:first-child { min-width: 210px; }
.admin-table td:nth-child(2) { min-width: 170px; }
.draft-banner { background: #fff3cd; color: #664d03; border-bottom: 1px solid #f2d27a; padding: 10px 0; font-size: 14.5px; }
.draft-banner a { font-weight: 700; color: #664d03; }

/* Panel: kampanya düzenleme */
.edit-layout { display: grid; gap: 18px; }
.edit-layout .form-label { font-weight: 700; margin-bottom: 4px; }
.edit-layout .panel + .panel { margin-top: 18px; }
.edit-side .consent { font-size: 14.5px; }
.edit-side.is-highlight { border-color: var(--warning); box-shadow: 0 0 0 3px rgba(183, 121, 31, .15); }
.font-monospace-soft { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 14px; line-height: 1.6; }
.recipient-rows { display: grid; gap: 10px; }
.recipient-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 10px; border-radius: 12px; background: var(--bg); }
.recipient-row .r-email { grid-column: 1 / -1; }
.recipient-row .r-remove { grid-column: 1 / -1; justify-self: end; }
.list-toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.list-search { position: relative; flex: 1 1 240px; max-width: 360px; }
.list-search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.list-search .form-control { padding-left: 38px; border-radius: 999px; }
.bar-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bar-list li { display: grid; grid-template-columns: 120px 1fr 48px; align-items: center; gap: 10px; font-size: 14px; }
.bar-list-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-list-track { height: 10px; background: #edf0f6; border-radius: 999px; overflow: hidden; }
.bar-list-fill { display: block; height: 100%; background: #1f4e9c; border-radius: 0 4px 4px 0; }
.bar-list-value { text-align: right; font-weight: 700; }
@media (min-width: 768px) {
  .recipient-row { grid-template-columns: 1.3fr 1.1fr 1.1fr 64px 1.5fr 40px; align-items: center; }
  .recipient-row .r-email, .recipient-row .r-remove { grid-column: auto; }
}
@media (min-width: 1100px) {
  .edit-layout { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
  .edit-layout aside { position: sticky; top: 130px; }
}
.detail-list { display: grid; grid-template-columns: 140px 1fr; gap: 8px 14px; margin: 0; font-size: 14.5px; }
.detail-list dt { color: var(--muted); font-weight: 600; }
.detail-list dd { margin: 0; overflow-wrap: anywhere; }
.pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 16px; }
.admin-grid-2.mt-0 { margin-top: 0; }
@media (max-width: 480px) { .detail-list { grid-template-columns: 1fr; gap: 2px; } .detail-list dd { margin-bottom: 8px; } }
.email-preview { border: 1px dashed var(--line); border-radius: 12px; padding: 16px; background: #fbfcfe; }

/* 404 */
.notfound { max-width: 640px; margin: 0 auto; text-align: center; }
.notfound-code { font-family: var(--font-head); font-weight: 900; font-size: clamp(72px, 22vw, 140px); line-height: 1; color: var(--navy); letter-spacing: -.02em; background: linear-gradient(180deg, var(--navy) 0 55%, var(--red) 55% 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.notfound h1 { font-size: clamp(24px, 6vw, 34px); margin: 10px 0 8px; }
.notfound > p { color: var(--muted); margin-bottom: 22px; }
.notfound-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.notfound-list { margin-top: 36px; text-align: left; }
.notfound-list h2 { font-size: 18px; margin-bottom: 10px; }
.notfound-list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.notfound-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); font-weight: 700; text-decoration: none !important; box-shadow: var(--shadow-sm); }
.notfound-list a:hover { border-color: var(--navy); }
.notfound-list small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red); margin-bottom: 2px; }
.notfound-list svg { color: var(--red); flex-shrink: 0; }
