/* ============================================================
   soho.win — Kazanç Vitrini
   Temel görsel dil: içeri alınan "Sohobet SEO websites" tasarımı
   (koyu tema + parlak Sohobet yeşili #1ED760).
   Alt kısımda kazanç-vitrini bileşenleri eklenmiştir.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --canvas: #0a1512;
  --surface: #0f211b;
  --surface-2: #142b22;
  --surface-soft: #0c1a16;
  --surface-glass: rgba(255,255,255,.04);

  --green: #1ed760;
  --green-bright: #34e273;
  --green-dark: #16b34e;
  --green-deep: #0c5c2c;
  --green-soft: rgba(30, 215, 96, 0.12);
  --green-soft-2: rgba(30, 215, 96, 0.18);

  --deep-900: #050d0b;
  --deep-800: #07140f;
  --deep-700: #0a1d15;

  --on-dark: #ffffff;
  --ink: #eaf3ee;
  --slate: #a4b8ae;
  --steel: #7a9087;
  --muted: #5d706a;
  --on-dark-muted: rgba(255, 255, 255, 0.62);
  --on-green: #052012;

  --gold: #f5c451;

  --hairline: rgba(255, 255, 255, 0.08);
  --hairline-strong: rgba(255, 255, 255, 0.16);
  --hairline-green: rgba(30, 215, 96, 0.4);

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-pill: 999px;

  --sh-1: 0 1px 2px rgba(0, 0, 0, 0.4);
  --sh-2: 0 14px 34px -14px rgba(0, 0, 0, 0.7);
  --sh-3: 0 28px 70px -22px rgba(0, 0, 0, 0.8);
  --sh-green: 0 14px 34px -12px rgba(30, 215, 96, 0.5);

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; color: var(--on-dark); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--green);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--green); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); margin: 16px 0 14px; }
.section-head p { color: var(--slate); font-size: 17px; }

section { padding-block: clamp(56px, 8vw, 92px); }
.lede { color: var(--slate); font-size: 17px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: inherit; font-weight: 700; font-size: 15px;
  padding: 13px 26px; border-radius: var(--r-pill); border: 1.5px solid transparent;
  cursor: pointer; transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn-gold, .btn-green { background: var(--green); color: var(--on-green); box-shadow: var(--sh-green); }
.btn-gold:hover, .btn-green:hover { background: var(--green-bright); transform: translateY(-2px); }
.btn-outline, .btn-on-dark-outline { background: transparent; color: var(--on-dark); border-color: var(--hairline-strong); }
.btn-outline:hover, .btn-on-dark-outline:hover { border-color: var(--green); color: var(--green); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--green); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .16s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Icon chip ---------- */
.ichip { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; flex: none; background: var(--green-soft); color: var(--green); }
.ichip svg { width: 26px; height: 26px; }
.ichip.gold { background: var(--green-soft-2); color: var(--green-bright); }
.ichip.dark { background: rgba(255,255,255,.06); color: var(--green); }

/* ---------- Badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .02em; padding: 5px 12px; border-radius: var(--r-pill); }
.badge-green { background: var(--green-soft); color: var(--green); }
.badge-popular { background: var(--green); color: var(--on-green); }

/* =========================================================
   PROMO STRIP + HEADER
   ========================================================= */
.promo { background: var(--deep-900); color: var(--on-dark); font-size: 13.5px; font-weight: 600; text-align: center; padding: 9px 16px; border-bottom: 1px solid var(--hairline); }
.promo b { color: var(--green); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10, 21, 18, .78); backdrop-filter: blur(16px); border-bottom: 1px solid transparent; transition: box-shadow .2s ease, border-color .2s ease, background .2s ease; }
.site-header.scrolled { box-shadow: var(--sh-1); border-bottom-color: var(--hairline); background: rgba(8, 16, 14, .9); }
.nav { display: flex; align-items: center; gap: 28px; height: 74px; }
.logo { display: flex; align-items: center; }
.logo img { height: 32px; width: auto; display: block; }
.nav-links { display: flex; gap: 4px; margin-inline: auto; }
.nav-links a { font-weight: 600; font-size: 14.5px; color: var(--slate); padding: 9px 13px; border-radius: var(--r-sm); transition: background .15s, color .15s; }
.nav-links a:hover { background: var(--surface); color: var(--green); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; color: var(--on-dark); }
.nav-toggle svg { width: 28px; height: 28px; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 80% -10%, rgba(30,215,96,.20), transparent 58%),
    radial-gradient(900px 600px at 6% 115%, rgba(30,215,96,.10), transparent 55%),
    linear-gradient(165deg, var(--deep-900), var(--deep-700) 55%, var(--canvas));
  color: var(--on-dark); padding-block: clamp(56px, 8vw, 96px); border-bottom: 1px solid var(--hairline);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 28px 28px; mask-image: linear-gradient(to bottom, #000, transparent 72%); opacity: .6;
}
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(34px, 5.4vw, 58px); line-height: 1.08; margin: 18px 0 20px; }
.hero h1 .hl { color: var(--green); }
.hero p.sub { color: var(--on-dark-muted); font-size: clamp(16px, 1.6vw, 19px); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; }
.trust-row .t { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--on-dark-muted); }
.trust-row .t svg { width: 17px; height: 17px; color: var(--green); flex: none; }

/* hero visual: en yüksek kazanç vitrin kartı */
.hero-visual { position: relative; }
.glass-card { background: var(--surface-glass); border: 1px solid var(--hairline-strong); border-radius: var(--r-xl); padding: 22px; backdrop-filter: blur(10px); box-shadow: var(--sh-3); }
.glass-card .gc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.gc-head .label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); font-weight: 700; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: var(--green); }
.status-pill .live { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(30,215,96,.25); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(30,215,96,0); } }
.gc-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 16px; }
.gc-stats .s { background: rgba(255,255,255,.04); border: 1px solid var(--hairline); border-radius: var(--r-md); padding: 13px 12px; text-align: center; }
.gc-stats .s b { display: block; font-size: 20px; color: var(--green); }
.gc-stats .s span { font-size: 11.5px; color: var(--on-dark-muted); }

/* =========================================================
   YÜKSEK KAZANÇLAR — VIDEO KARTLARI (üst sıra)
   ========================================================= */
.video-wins { background: var(--surface-soft); }
.vw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.video-card {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--sh-1);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  display: flex; flex-direction: column;
}
.video-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--hairline-green); }
.video-card.featured { grid-column: span 3; }
@media (min-width: 961px) { .video-card.featured { grid-column: span 1; } }

.vw-media { position: relative; aspect-ratio: 16/9; background: var(--surface-2); overflow: hidden; cursor: pointer; }
.vw-media img, .vw-media iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.vw-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(5,13,11,.55)); pointer-events: none; }
.vw-play {
  position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%;
  background: var(--green); color: var(--on-green); display: grid; place-items: center;
  box-shadow: var(--sh-green); border: 0; cursor: pointer; transition: transform .18s ease; z-index: 2;
}
.vw-play svg { width: 26px; height: 26px; margin-left: 3px; }
.video-card:hover .vw-play { transform: scale(1.08); }
.vw-win {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--green); color: var(--on-green); font-weight: 800; font-size: 15px;
  padding: 7px 14px; border-radius: var(--r-pill); box-shadow: var(--sh-2);
}
.vw-win .cur { font-size: 11px; transform: translateY(-5px); font-weight: 700; }
.vw-rank { position: absolute; top: 14px; left: 14px; z-index: 2; background: rgba(0,0,0,.6); color: #fff; font-weight: 800; font-size: 12px; padding: 5px 10px; border-radius: var(--r-sm); backdrop-filter: blur(4px); }
.vw-rank.top { background: var(--gold); color: #2a1f00; }
.vw-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.vw-body .game { font-size: 17px; font-weight: 700; color: #fff; }
.vw-body .prov { font-size: 12.5px; color: var(--steel); font-weight: 600; }
.vw-body .actions { margin-top: 14px; display: flex; gap: 10px; }

/* =========================================================
   SON KAZANÇLAR — CANLI TABLO (alt sıra) — 2. görsel stili
   ========================================================= */
.wins-live { background: var(--canvas); }
.live-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.live-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--green); background: var(--green-soft); padding: 7px 14px; border-radius: var(--r-pill); }
.live-tag .live { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(30,215,96,.25); animation: pulse 2s infinite; }

.win-table-wrap { background: var(--deep-900); border: 1px solid var(--hairline); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-2); }
.win-table { width: 100%; border-collapse: collapse; }
.win-table thead th {
  text-align: left; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--steel); font-weight: 700; padding: 16px 22px; border-bottom: 1px solid var(--hairline);
}
.win-table thead th.right, .win-table td.right { text-align: right; }
.win-table tbody tr { border-bottom: 1px solid rgba(255,255,255,.05); transition: background .15s ease; }
.win-table tbody tr:last-child { border-bottom: 0; }
.win-table tbody tr:hover { background: rgba(255,255,255,.03); }
.win-table td { padding: 15px 22px; font-size: 14.5px; vertical-align: middle; }

/* yeni satır vurgusu (yenilenince) */
@keyframes rowin { from { background: var(--green-soft-2); } to { background: transparent; } }
.win-table tbody tr.new { animation: rowin 1.4s ease; }

/* oyun hücresi */
.wt-game { display: flex; align-items: center; gap: 12px; font-weight: 700; color: #fff; min-width: 170px; }
.wt-ico { width: 38px; height: 38px; border-radius: 10px; flex: none; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #fff; background: linear-gradient(140deg, var(--green-dark), var(--green-deep)); overflow: hidden; }
.wt-ico.has-img { background: none; }
.wt-ico img { width: 100%; height: 100%; object-fit: cover; }

/* kullanıcı hücresi */
.wt-user { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; }
.wt-avatar { width: 30px; height: 30px; border-radius: 9px; flex: none; display: grid; place-items: center; background: var(--green-soft); color: var(--green); }
.wt-avatar svg { width: 18px; height: 18px; }
.wt-user .uname { color: var(--ink); }
.wt-user.hidden .uname { color: var(--steel); }

.wt-time { color: var(--slate); font-weight: 600; }

/* para çipi (₺) */
.money { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.money .chip { width: 22px; height: 22px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--green); color: var(--on-green); font-size: 12px; font-weight: 800; }

/* çarpan pili */
.mult { display: inline-flex; align-items: center; font-weight: 800; font-size: 13px; color: var(--green); background: var(--green-soft); padding: 5px 12px; border-radius: var(--r-pill); }
.mult.none { color: var(--muted); background: transparent; padding-left: 0; }

/* ödeme (yeşil +) */
.payout { color: var(--green); font-weight: 800; }
.payout.zero { color: var(--steel); }

.live-note { margin-top: 16px; font-size: 12.5px; color: var(--muted); text-align: center; }

/* =========================================================
   STATS BANNER
   ========================================================= */
.stats-banner {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(800px 400px at 85% 0%, rgba(30,215,96,.18), transparent 60%),
    linear-gradient(150deg, var(--deep-900), var(--deep-700));
  text-align: center; border-block: 1px solid var(--hairline);
}
.stats-banner h2 { color: #fff; font-size: clamp(26px, 4vw, 40px); max-width: 760px; margin: 0 auto 16px; }
.stats-banner > .wrap > p { color: var(--on-dark-muted); max-width: 600px; margin: 0 auto 44px; font-size: 17px; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.stat { background: rgba(255,255,255,.04); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 30px 20px; }
.stat b { display: block; font-size: clamp(28px, 4vw, 40px); font-weight: 800; color: var(--green); letter-spacing: -.03em; }
.stat span { color: var(--on-dark-muted); font-size: 14.5px; font-weight: 600; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--deep-900); color: var(--on-dark-muted); padding-block: 60px 0; border-top: 1px solid var(--hairline); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer .logo { margin-bottom: 16px; }
.footer .logo img { height: 30px; }
.footer-about p { font-size: 14.5px; max-width: 320px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.06); display: grid; place-items: center; color: #fff; transition: background .15s, color .15s; }
.footer-social a:hover { background: var(--green); color: var(--on-green); }
.footer-social svg { width: 19px; height: 19px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; padding: 6px 0; color: var(--on-dark-muted); transition: color .15s; }
.footer-col a:hover { color: var(--green); }
.footer-bottom { border-top: 1px solid var(--hairline); padding-block: 24px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.footer-bottom .age { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; }
.footer-bottom .age .b18 { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--green); color: var(--green); font-weight: 800; font-size: 13px; display: grid; place-items: center; flex: none; }
.footer-bottom .copy { font-size: 13px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .vw-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: 74px; left: 0; right: 0;
    background: var(--deep-800); padding: 16px var(--gutter) 24px; box-shadow: var(--sh-2);
    border-bottom: 1px solid var(--hairline); margin: 0;
  }
  .nav-links.open a { padding: 12px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  /* tabloyu mobilde yatay kaydır */
  .win-table-wrap { overflow-x: auto; }
  .win-table { min-width: 720px; }
}
@media (max-width: 620px) {
  .vw-grid, .stats-grid, .footer-grid { grid-template-columns: 1fr; }
  .footer-grid { gap: 32px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .nav { gap: 14px; }
  .nav-actions .btn-outline { display: none; }
  section { padding-block: 48px; }
}

/* =========================================================
   ADMIN PANELİ
   ========================================================= */
.admin-body { background: var(--canvas); min-height: 100vh; }
.admin-shell { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
.admin-side { background: var(--deep-900); border-right: 1px solid var(--hairline); padding: 24px 16px; display: flex; flex-direction: column; }
.admin-side .brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 22px; }
.admin-side .brand img { height: 26px; }
.admin-nav a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: var(--r-md); color: var(--slate); font-weight: 600; font-size: 14.5px; margin-bottom: 4px; transition: background .15s, color .15s; }
.admin-nav a:hover { background: var(--surface); color: var(--ink); }
.admin-nav a.active { background: var(--green-soft); color: var(--green); }
.admin-nav svg { width: 18px; height: 18px; }
.admin-side .foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--hairline); font-size: 13px; color: var(--steel); }
.admin-side .foot a { color: var(--green); font-weight: 700; }
.admin-main { padding: 30px clamp(20px, 4vw, 44px); }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.admin-topbar h1 { font-size: 24px; }
.admin-topbar .who { font-size: 13.5px; color: var(--slate); }

.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 30px; }
.kpi { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 22px; }
.kpi b { display: block; font-size: 30px; color: #fff; letter-spacing: -.02em; }
.kpi span { font-size: 13px; color: var(--slate); font-weight: 600; }

.panel { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 24px; margin-bottom: 24px; }
.panel h2 { font-size: 18px; margin-bottom: 18px; }

.atable { width: 100%; border-collapse: collapse; }
.atable th { text-align: left; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--steel); font-weight: 700; padding: 10px 12px; border-bottom: 1px solid var(--hairline); }
.atable td { padding: 12px; border-bottom: 1px solid rgba(255,255,255,.05); font-size: 14px; color: var(--ink); vertical-align: middle; }
.atable tr:last-child td { border-bottom: 0; }
.atable .muted { color: var(--steel); }

.form-row { display: grid; gap: 6px; margin-bottom: 16px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
label { font-size: 13px; font-weight: 600; color: var(--slate); }
input[type=text], input[type=password], input[type=number], input[type=url], select, textarea {
  font-family: inherit; font-size: 14.5px; color: var(--ink);
  background: var(--surface-2); border: 1px solid var(--hairline-strong); border-radius: var(--r-md);
  padding: 11px 14px; width: 100%; transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
input[type=file] { padding: 9px 12px; background: var(--surface-2); border: 1px dashed var(--hairline-strong); cursor: pointer; }
input[type=file]::file-selector-button { font-family: inherit; font-weight: 700; font-size: 13px; color: var(--on-green); background: var(--green); border: 0; border-radius: var(--r-sm); padding: 8px 14px; margin-right: 12px; cursor: pointer; }
.btn-danger { background: transparent; color: #ff8d8d; border-color: rgba(255,141,141,.4); }
.btn-danger:hover { background: rgba(255,141,141,.1); border-color: #ff8d8d; }
.pill-on { color: var(--green); font-weight: 700; }
.pill-off { color: var(--steel); font-weight: 700; }
.pill-demo { font-size: 11px; font-weight: 700; color: var(--gold); background: rgba(245,196,81,.12); padding: 3px 9px; border-radius: var(--r-pill); }

.flash { border-radius: var(--r-md); padding: 12px 16px; margin-bottom: 20px; font-size: 14px; font-weight: 600; }
.flash.ok { background: var(--green-soft); color: var(--green); border: 1px solid var(--hairline-green); }
.flash.err { background: rgba(255,141,141,.1); color: #ff8d8d; border: 1px solid rgba(255,141,141,.4); }

/* login */
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px;
  background: radial-gradient(900px 500px at 50% -10%, rgba(30,215,96,.16), transparent 60%), var(--canvas); }
.login-card { width: 100%; max-width: 380px; background: var(--surface); border: 1px solid var(--hairline-strong); border-radius: var(--r-xl); padding: 36px 32px; box-shadow: var(--sh-3); }
.login-card .logo { justify-content: center; margin-bottom: 22px; }
.login-card .logo img { height: 34px; }
.login-card h1 { font-size: 20px; text-align: center; margin-bottom: 6px; }
.login-card p.sub { text-align: center; color: var(--slate); font-size: 14px; margin-bottom: 26px; }

@media (max-width: 820px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { flex-direction: row; align-items: center; overflow-x: auto; padding: 12px; gap: 8px; }
  .admin-side .brand { padding: 0 8px 0 4px; }
  .admin-nav { display: flex; gap: 6px; }
  .admin-nav a { margin-bottom: 0; white-space: nowrap; }
  .admin-side .foot { display: none; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
}
