/* e-İDEAL — Mobil uygulama kabuğu (native his) */

:root { --app-max: 480px; --nav-h: 72px; --hdr-h: 60px; }

html, body { height: 100%; overscroll-behavior-y: none; }
body.app {
  background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
  font-size: var(--fs-md);
}

/* Masaüstünde telefon çerçevesi, mobilde tam ekran */
.phone {
  position: relative; flex: 1 1 auto; width: 100%; max-width: var(--app-max);
  height: 100dvh; background: var(--bg); display: flex; flex-direction: column;
  overflow: hidden;
  /* Sabit konumlu katmanlar (modal, alt sayfa, toast) çerçeve içinde kalsın */
  transform: translateZ(0);
}
/* Katmanlar telefon kabuğuna göre konumlanır */
.phone > .overlay, .phone > .toasts, .phone > .menu { position: absolute; }
.phone > .overlay { inset: 0; }
.phone > .toasts { left: 50%; right: auto; transform: translateX(-50%); width: min(340px, calc(100% - 32px)); }
@media (min-width: 620px) and (min-height: 780px) {
  body.app { background: radial-gradient(1000px 600px at 50% -10%, color-mix(in srgb,var(--brand) 10%,transparent), transparent 60%), var(--bg-alt); }
  .phone {
    flex: 0 0 414px; height: min(900px, 94dvh); max-width: 414px;
    border-radius: 44px; box-shadow: 0 40px 90px rgba(16,20,28,.28), 0 0 0 11px #14161A, 0 0 0 12.5px #33383F;
  }
  .phone::before {
    content: ""; position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
    width: 108px; height: 26px; background: #14161A; border-radius: 99px; z-index: 60; pointer-events: none;
  }
  .app-hd { padding-top: 48px !important; }
  .splash, .app-scroll { border-radius: 44px; }
}

/* Üst başlık */
.app-hd {
  flex: none; padding: calc(max(16px, env(safe-area-inset-top)) + 6px) var(--s5) 14px;
  display: flex; align-items: center; gap: var(--s3);
  background: var(--bg); border-bottom: 0; z-index: var(--z-header);
  transition: background var(--dur-2);
}
.app-hd.plain { background: var(--bg); }
.app-hd.scrolled { box-shadow: 0 1px 0 var(--line); }
.app-hd h1 { font-size: var(--fs-lg); letter-spacing: -.015em; }
.app-hd .sub { font-size: var(--fs-sm); color: var(--text-3); line-height: 1.35; }
.hd-btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-3); color: var(--text); flex: none; position: relative;
  transition: background var(--dur-1), transform var(--dur-1);
}
.hd-btn:hover { background: var(--line); }
.hd-btn:active { transform: scale(.92); }
.hd-btn svg { width: 19px; height: 19px; }
.hd-btn .count-badge { position: absolute; top: -2px; right: -2px; border: 2px solid var(--surface); }
.hd-logo { height: 26px; width: auto; flex: none; }

/* Kaydırma alanı */
.app-scroll {
  flex: 1; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch;
  padding: var(--s4) var(--s5) calc(var(--nav-h) + var(--s7) + env(safe-area-inset-bottom));
  scroll-behavior: smooth;
}
.app-scroll.nonav { padding-bottom: calc(var(--s6) + env(safe-area-inset-bottom)); }
.app-scroll > * { animation: pageIn var(--dur-3) var(--ease); }
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } }

/* Alt navigasyon */
.app-nav {
  position: absolute; left: var(--s5); right: var(--s5);
  bottom: max(var(--s3), env(safe-area-inset-bottom)); height: 66px;
  background: #171717; border-radius: var(--r-pill); overflow: visible;
  display: flex; align-items: center; justify-content: space-around; padding: 0 6px;
  box-shadow: 0 12px 30px rgba(16,20,28,.28); z-index: var(--z-nav);
}
.app-nav a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  height: 52px; border-radius: var(--r-pill); color: rgba(255,255,255,.66);
  font-size: 10.5px; font-weight: 600; transition: color var(--dur-2), background var(--dur-2);
  position: relative; min-width: 0;
}
.app-nav a svg { width: 21px; height: 21px; }
.app-nav a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-nav a[aria-current="page"] { color: #fff; }
:root[data-theme="dark"] .app-nav { background: #23262E; }
.app-nav a[aria-current="page"]::before {
  content: ""; position: absolute; left: 2px; right: 2px; top: -8px; bottom: -8px;
  background: var(--brand); border-radius: var(--r-pill); z-index: -1;
  box-shadow: 0 10px 22px rgba(227,6,19,.38);
  animation: navPop var(--dur-3) var(--ease);
}
.app-nav a[aria-current="page"] svg { stroke-width: 2.1; }
.app-nav a[aria-current="page"] span { font-weight: 700; }
@keyframes navPop { from { transform: scale(.7); opacity: 0; } }
.app-nav a .count-badge { position: absolute; top: 4px; right: 20%; border: 2px solid #171717; }
:root[data-theme="dark"] .app-nav a .count-badge { border-color: #23262E; }

/* Splash */
.splash {
  position: absolute; inset: 0; z-index: var(--z-splash);
  background: linear-gradient(160deg, var(--brand) 0%, var(--brand-strong) 100%);
  display: grid; place-items: center; color: #fff;
  transition: opacity 420ms var(--ease), visibility 420ms;
}
.splash.hide { opacity: 0; visibility: hidden; }
.splash-in { text-align: center; animation: splashIn 700ms var(--ease); }
@keyframes splashIn { from { opacity: 0; transform: scale(.9) translateY(14px); } }
.splash img { width: 168px; margin: 0 auto 22px; }
.splash .tag { font-size: var(--fs-sm); opacity: .82; letter-spacing: .04em; }
.splash .bar { width: 120px; height: 3px; border-radius: 99px; background: rgba(255,255,255,.28); margin: 26px auto 0; overflow: hidden; }
.splash .bar i { display: block; height: 100%; width: 40%; background: #fff; border-radius: 99px; animation: slide 1.1s var(--ease) infinite; }
@keyframes slide { 0% { transform: translateX(-110%); } 100% { transform: translateX(320%); } }

/* Kahraman kart (kırmızı dolu) */
.hero-card {
  background: var(--brand);
  color: #fff; border-radius: var(--r-xl); padding: var(--s6) var(--s5);
  box-shadow: var(--sh-brand); position: relative; overflow: hidden;
}
.hero-card .lbl { display: block; font-size: var(--fs-sm); opacity: .88; font-weight: 500; line-height: 1.3; }
.hero-card h3 { font-size: var(--fs-2xl); line-height: 1.16; letter-spacing: -.022em; font-weight: 700; }
.hero-card .ic-round {
  width: 54px; height: 54px; border-radius: 17px; background: rgba(255,255,255,.17);
  display: grid; place-items: center; flex: none;
}
.hero-card .ic-round svg { width: 25px; height: 25px; stroke-width: 2; }
/* Beyaz daire buton — referanstaki QR düğmesi */
.hero-card .ic-solid {
  width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--brand);
  display: grid; place-items: center; flex: none; box-shadow: 0 4px 14px rgba(0,0,0,.16);
  transition: transform var(--dur-2) var(--ease);
}
.hero-card .ic-solid:hover { transform: scale(1.06); }
.hero-card .ic-solid svg { width: 22px; height: 22px; }
.hero-card .btn-white { background: #fff; color: var(--brand); }
.hero-card .pill {
  background: rgba(255,255,255,.18); padding: 8px 15px; border-radius: 99px;
  font-size: var(--fs-sm); font-weight: 600; white-space: nowrap;
}

/* ---------- Kırmızı kimlik kartı (üst bölüm) ---------- */
.id-hero {
  background: var(--brand); color: #fff; border-radius: var(--r-xl); padding: var(--s5);
  box-shadow: var(--sh-brand); position: relative; overflow: hidden;
}
.id-hero .row-top { display: flex; align-items: center; gap: var(--s4); }
.id-hero .ph {
  width: 58px; height: 58px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: rgba(255,255,255,.18); font-weight: 800; font-size: var(--fs-lg); color: #fff;
  overflow: hidden; border: 2px solid rgba(255,255,255,.5);
}
.id-hero .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.id-hero .nm { font-size: var(--fs-xl); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.id-hero .sb { font-size: var(--fs-sm); opacity: .9; margin-top: 2px; }
.id-hero .meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); margin-top: var(--s5); }
.id-hero .meta > div + div { border-left: 1px solid rgba(255,255,255,.24); padding-left: var(--s3); }
.id-hero .meta .k { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; opacity: .72; display: block; }
.id-hero .meta .v { font-size: var(--fs-md); font-weight: 700; margin-top: 3px; display: block;
                    overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.id-hero .qr-btn {
  width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--brand);
  display: grid; place-items: center; flex: none; box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.id-hero .qr-btn svg { width: 21px; height: 21px; }

/* ---------- Her sayfada kırmızı şerit ---------- */
.hero-strip {
  background: var(--brand); color: #fff; border-radius: var(--r-lg);
  padding: var(--s4) var(--s5); box-shadow: var(--sh-brand);
  display: flex; align-items: center; gap: var(--s4); margin-bottom: var(--s5);
}
.hero-strip .hs-ic {
  width: 46px; height: 46px; border-radius: 15px; background: rgba(255,255,255,.18);
  display: grid; place-items: center; flex: none;
}
.hero-strip .hs-ic svg { width: 22px; height: 22px; }
.hero-strip .hs-l { font-size: var(--fs-xs); opacity: .88; display: block; }
.hero-strip .hs-v { font-size: var(--fs-xl); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; display: block; }
.hero-strip .hs-pill {
  background: rgba(255,255,255,.2); padding: 7px 13px; border-radius: 99px;
  font-size: var(--fs-sm); font-weight: 600; white-space: nowrap; flex: none;
}

/* ---------- Kırmızı hizmet paneli (referans "Hizmet Seç") ---------- */
.svc-panel {
  background: var(--brand); color: #fff; border-radius: var(--r-xl);
  padding: var(--s3) var(--s4) var(--s5); box-shadow: var(--sh-brand);
  position: relative; margin-top: var(--s5);
}
.svc-grip {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  width: 54px; height: 22px; background: var(--brand); border-radius: 26px 26px 0 0;
  display: grid; place-items: center;
}
.svc-grip svg { width: 16px; height: 16px; color: #fff; }
.svc-head {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
  padding: var(--s3) var(--s2) var(--s4);
}
.svc-head h3 { font-size: var(--fs-xl); font-weight: 700; letter-spacing: -.02em; }
.svc-circle {
  width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--brand);
  display: grid; place-items: center; flex: none; box-shadow: 0 3px 10px rgba(0,0,0,.14);
  transition: transform var(--dur-1);
}
.svc-circle:active { transform: scale(.92); }
.svc-circle svg { width: 18px; height: 18px; }
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.svc-card {
  background: var(--brand); border: 1.5px solid rgba(255,255,255,.22); border-radius: var(--r-lg);
  padding: var(--s4); min-height: 148px; color: #fff; text-align: left;
  display: flex; flex-direction: column; gap: var(--s3);
  transition: background var(--dur-2) var(--ease), transform var(--dur-1);
}
.svc-card:hover { background: var(--brand-strong); }
.svc-card:active { transform: scale(.97); }
.svc-card .svc-ic {
  width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--brand);
  display: grid; place-items: center; flex: none;
}
.svc-card .svc-ic svg { width: 23px; height: 23px; stroke-width: 1.9; }
.svc-card .svc-t { font-size: var(--fs-lg); font-weight: 600; line-height: 1.25; flex: 1; }
.svc-card .svc-go {
  width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.22);
  display: grid; place-items: center; align-self: flex-end; flex: none;
}
.svc-card .svc-go svg { width: 15px; height: 15px; }
@media (max-width: 359px) { .svc-card { min-height: 130px; padding: var(--s3); } }

/* Bölüm başlığı */
.sec-hd { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); margin: var(--s6) 0 var(--s3); }
.sec-hd a, .sec-hd button { font-size: var(--fs-sm); }
.app-scroll > .sec-hd:first-child, .app-scroll > *:first-child > .sec-hd:first-child { margin-top: 0; }
.sec-hd h4 { font-size: var(--fs-lg); letter-spacing: -.015em; font-weight: 700; }
.sec-hd a, .sec-hd button { font-size: var(--fs-sm); font-weight: 600; color: var(--brand); display: inline-flex; align-items: center; gap: 3px; }
.sec-hd svg { width: 15px; height: 15px; }

/* Büyük sayfa başlığı */
.page-title { font-size: 29px; font-weight: 800; letter-spacing: -.032em; line-height: 1.1; margin-bottom: var(--s5); }
.page-title small { display: block; font-size: var(--fs-md); font-weight: 500; color: var(--text-3); letter-spacing: 0; margin-top: 7px; }

/* Hızlı işlem ızgarası */
.qgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); align-items: stretch; }
.qgrid.c2 { grid-template-columns: repeat(2, 1fr); }
.qa {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: var(--s4) 6px var(--s3);
  border-radius: var(--r-md); background: var(--surface); border: 0; box-shadow: var(--sh-sm);
  font-size: 12px; font-weight: 600; color: var(--text); text-align: center; line-height: 1.2;
  min-height: 98px; height: 100%;
  transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.qa:active { transform: scale(.96); }
.qa:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
:root[data-theme="dark"] .qa { box-shadow: var(--sh-sm), inset 0 0 0 1px var(--line); }
/* Referans: ikon doğrudan kırmızı çizgi, arkasında kutu yok */
.qa .ic-b { width: 30px; height: 30px; display: grid; place-items: center;
            background: transparent; color: var(--brand); }
.qa .ic-b svg { width: 27px; height: 27px; stroke-width: 1.7; }
/* Referans: ilk (birincil) işlem dolu kırmızı daire içinde */
.qa.primary .ic-b {
  width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: #fff;
  box-shadow: 0 6px 16px rgba(227,6,19,.32);
}
.qa.primary .ic-b svg { width: 23px; height: 23px; stroke-width: 2.1; }
.qa.primary { padding-top: var(--s3); }

/* Büyük kırmızı hizmet kartı (referans stili) */
.svc {
  background: var(--brand); color: #fff; border-radius: var(--r-xl); padding: var(--s5);
  display: flex; flex-direction: column; gap: var(--s5); min-height: 132px;
  box-shadow: var(--sh-brand); transition: transform var(--dur-2) var(--ease);
}
.svc:active { transform: scale(.97); }
.svc .top { width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--brand); display: grid; place-items: center; }
.svc .top svg { width: 21px; height: 21px; }
.svc b { font-size: var(--fs-md); line-height: 1.25; }
.svc .arrow { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.22); display: grid; place-items: center; margin-left: auto; }
.svc .arrow svg { width: 15px; height: 15px; }
.svc.dark { background: var(--surface-inverse); color: var(--text-inverse); box-shadow: var(--sh-md); }
.svc.dark .top { background: var(--brand); color: #fff; }
.svc.dark .arrow { background: rgba(127,127,127,.28); }

/* Liste kartı */
.item {
  display: flex; align-items: center; gap: var(--s4); padding: var(--s4);
  background: var(--surface); border: 0; border-radius: var(--r-md); box-shadow: var(--sh-sm);
  width: 100%; text-align: left; transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.item + .item { margin-top: var(--s3); }
.item:active { transform: scale(.985); }
.item:hover { box-shadow: var(--sh-md); }
:root[data-theme="dark"] .item { box-shadow: var(--sh-sm), inset 0 0 0 1px var(--line); }
.item .ic-s { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.item .ic-s svg { width: 21px; height: 21px; }
.item .t { display: block; font-weight: 700; font-size: var(--fs-lg); line-height: 1.3; letter-spacing: -.012em; }
.item .m { display: block; font-size: var(--fs-sm); color: var(--text-3); margin-top: 3px;
            overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item .grow { min-width: 0; }
.item .chev { color: var(--text-3); flex: none; width: 18px; height: 18px; }

/* Program satırı */
.plan { display: flex; align-items: center; gap: var(--s3); padding: 11px 0; }
.plan + .plan { border-top: 1px solid var(--line); }
.plan .ic-s { width: 38px; height: 38px; display: grid; place-items: center; flex: none; color: var(--brand); background: transparent; }
.plan .ic-s svg { width: 24px; height: 24px; stroke-width: 1.7; }

/* İkili istatistik kartı — referans "Başlama / Geçen Süre" */
.stat2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.stat-card {
  display: flex; align-items: center; gap: var(--s3); padding: var(--s4);
  background: var(--surface); border-radius: var(--r-md); box-shadow: var(--sh-sm);
}
:root[data-theme="dark"] .stat-card { box-shadow: var(--sh-sm), inset 0 0 0 1px var(--line); }
.stat-card .ic {
  width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand);
}
.stat-card .ic svg { width: 20px; height: 20px; }
.stat-card .lb { font-size: var(--fs-xs); color: var(--text-3); display: block; }
.stat-card .vl { font-size: var(--fs-xl); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }

/* Kapatılabilir uyarı şeridi — referans "Kayıt başarıyla oluşturuldu" */
.alert {
  display: flex; align-items: center; gap: var(--s3); padding: var(--s4);
  border-radius: var(--r-md); font-size: var(--fs-sm); font-weight: 500;
}
.alert .ic { width: 22px; height: 22px; flex: none; }
.alert .x { margin-left: auto; opacity: .5; flex: none; }
.alert .x:hover { opacity: 1; }
.alert-ok   { background: var(--success-soft); color: var(--text); }
.alert-ok .ic   { color: var(--success); }
.alert-warn { background: var(--warning-soft); color: var(--text); }
.alert-warn .ic { color: var(--warning); }
.alert-err  { background: var(--danger-soft); color: var(--text); }
.alert-err .ic  { color: var(--danger); }

/* QR ekranı */
.qr-hero {
  background: var(--surface); border-radius: var(--r-xl); padding: var(--s6) var(--s5);
  text-align: center; border: 0; box-shadow: var(--sh-sm);
}
:root[data-theme="dark"] .qr-hero { box-shadow: var(--sh-sm), inset 0 0 0 1px var(--line); }
.qr-hero .qr-box { margin: var(--s4) auto; }
.qr-code-text {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: var(--fs-sm);
  letter-spacing: .08em; color: var(--text-2); background: var(--surface-3);
  padding: 8px 14px; border-radius: 8px; display: inline-block;
}

/* Dijital kimlik kartı */
.idcard {
  border-radius: var(--r-lg); padding: var(--s5); color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(145deg, #1B1D21 0%, #2A2E36 55%, #1B1D21 100%);
  box-shadow: var(--sh-lg);
}
.idcard::before {
  content:""; position:absolute; right:-60px; top:-70px; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(227,6,19,.55), transparent 70%);
}
.idcard::after {
  content:""; position:absolute; left:-30px; bottom:-70px; width: 160px; height: 160px; border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.idcard > * { position: relative; }
.idcard .lbl { display: block; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; opacity: .62; line-height: 1.4; margin-bottom: 2px; }
.idcard .val { font-weight: 700; font-size: var(--fs-md); }
.idcard img.logo { height: 22px; }

/* QR tarama simülasyonu */
.scanner {
  position: relative; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(135deg, #2B2F36, #14161A); display: grid; place-items: center;
}
.scanner .frame { position: absolute; inset: 16%; border-radius: 18px; }
.scanner .frame i {
  position: absolute; width: 34px; height: 34px; border: 3px solid #fff; border-radius: 6px;
}
.scanner .frame i:nth-child(1){ top:0; left:0; border-right:0; border-bottom:0; }
.scanner .frame i:nth-child(2){ top:0; right:0; border-left:0; border-bottom:0; }
.scanner .frame i:nth-child(3){ bottom:0; left:0; border-right:0; border-top:0; }
.scanner .frame i:nth-child(4){ bottom:0; right:0; border-left:0; border-top:0; }
.scanner .laser {
  position: absolute; left: 18%; right: 18%; height: 2px; background: var(--brand);
  box-shadow: 0 0 14px 2px rgba(227,6,19,.85); animation: laser 2.2s var(--ease) infinite;
}
@keyframes laser { 0%,100% { top: 20%; } 50% { top: 78%; } }
.scanner .hint { position: absolute; top: 6%; left: 0; right: 0; text-align: center; color: #fff; font-size: var(--fs-sm); font-weight: 600; }
.scanner video { position:absolute; inset:0; width:100%; height:100%; object-fit: cover; }

/* Giriş ekranı */
.login-wrap { min-height: 100%; display: flex; flex-direction: column; padding: var(--s5) var(--s5) var(--s7); }
.login-hd { text-align: center; padding: var(--s6) 0 var(--s7); }
.login-hd img { height: 46px; width: auto; margin: 0 auto var(--s5); }
.login-hd h2 { font-size: 30px; font-weight: 800; letter-spacing: -.035em; line-height: 1.1; }
.login-hd p { color: var(--text-2); font-size: var(--fs-md); margin-top: var(--s3); }
.login-lbl { font-size: var(--fs-sm); font-weight: 700; color: var(--text); margin-bottom: var(--s3); display: block; }
/* Tanıtım slaytları */
.ob { height: 100%; display: flex; flex-direction: column; padding: var(--s5); }
.ob-art { flex: 1; display: grid; place-items: center; }
.ob-dots { display: flex; gap: 6px; justify-content: center; margin: var(--s5) 0; }
.ob-dots i { width: 7px; height: 7px; border-radius: 99px; background: var(--line-2); transition: all var(--dur-2); }
.ob-dots i.on { width: 22px; background: var(--brand); }

/* Zaman çizelgesi mobil varyantı */
.tl-compact .tl-item { padding-bottom: var(--s4); }

/* Yatay kaydırma şeridi */
.hstrip { display: flex; gap: var(--s2); overflow-x: auto; padding-bottom: 4px; margin: 0 calc(var(--s5) * -1); padding-inline: var(--s5); }
/* Kart içindeyken negatif kenar boşluğu kullanma */
.card .hstrip, .card-p .hstrip { margin: 0; padding-inline: 0; }
.hstrip > * { flex: none; }
.hstrip::-webkit-scrollbar { display: none; }

/* Rozet satırı */
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.mini-stats > div { padding: 0 6px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.mini-stats > div + div { border-left: 1px solid rgba(255,255,255,.24); }
.mini-stats svg { width: 22px; height: 22px; opacity: .95; }
.mini-stats b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.mini-stats span { font-size: 12px; opacity: .88; font-weight: 500; }

/* Küçük ekran */
@media (max-width: 359px) {
  .qgrid { grid-template-columns: repeat(3, 1fr); }
  .page-title { font-size: var(--fs-2xl); }
}
