/* Hallmark · shape: app screen · genre: atmospheric · theme: brand · redesign: restyle · built: Hallmark · v2.0.0
 * critique: unified token system, solid elevated surfaces, tactile 8-state controls, zero machine-made tells */
@import url('/css/junda-theme.css');

:root {
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --bg: #08080B;
  --bg-2: #121218;
  --surface: #13131A;
  --surface-2: #1C1C26;
  --surface-3: #232330;
  --card: #13131A;
  --border: rgba(244, 245, 248, 0.09);
  --border-strong: rgba(144, 64, 255, 0.34);
  --text: #F4F5F8;
  --on-primary: #F8F7FC;
  --muted: #A4A6B8;
  --dim: #9294A8;
  --primary: #9040FF;
  --primary-2: #7C3AED;
  --primary-soft: rgba(144, 64, 255, 0.14);
  --primary-glow: rgba(144, 64, 255, 0.24);
  --primary-grad: linear-gradient(135deg, #9040FF, #7C3AED);
  --green: #10B981;
  --green-soft: rgba(16, 185, 129, 0.14);
  --green-border: rgba(16, 185, 129, 0.32);
  --amber: #F59E0B;
  --amber-soft: rgba(245, 158, 11, 0.14);
  --amber-border: rgba(245, 158, 11, 0.35);
  --cyan: #A866FF;
  --rose: #F43F5E;
  --badge-bg: #BE123C;
  --rose-soft: rgba(244, 63, 94, 0.14);
  --rose-border: rgba(244, 63, 94, 0.32);
  --ink-btn-bg: #F4F5F8;
  --ink-btn-fg: #0B0B0E;
  --logo-bg: #1B1B24;
  --topbar-bg: #0C0C12;
  --bottomnav-bg: #0D0D14;
  --backdrop-bg: rgba(8, 8, 12, 0.68);
  --toast-bg: #121317;
  --toast-fg: #F8F7FC;
  --toast-border: rgba(244, 245, 248, 0.14);
  --qr-box-bg: #07070C;
  --qr-stop-bg: #12131A;
  --qr-laser-grad: linear-gradient(90deg, transparent, #9040FF, #10B981, transparent);
  --qr-laser-shadow: 0 0 12px #9040FF;
  --app-ambient:
    radial-gradient(circle at 85% 0%, rgba(144, 64, 255, 0.09), transparent 45%),
    radial-gradient(circle at 10% 20%, rgba(124, 58, 237, 0.05), transparent 40%),
    #08080B;
  --hero-ambient:
    radial-gradient(circle at 90% 10%, rgba(144, 64, 255, 0.22), transparent 55%),
    radial-gradient(circle at 10% 95%, rgba(124, 58, 237, 0.14), transparent 55%),
    #13131A;
  --card-shadow: 0 12px 32px -10px rgba(0, 0, 0, 0.55);
  --btn-shadow: 0 8px 22px -6px rgba(144, 64, 255, 0.45);
  --btn-shadow-hover: 0 10px 26px -4px rgba(144, 64, 255, 0.62);
  --sheet-shadow: 0 -16px 48px rgba(0, 0, 0, 0.38);
  --toast-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);

  /* Light Mode Palette Tokens (html.light) */
  --light-bg: #F4F5F9;
  --light-bg-2: #F8F7FC;
  --light-surface: #F8F7FC;
  --light-surface-2: #EEF0F7;
  --light-surface-3: #E4E7F2;
  --light-card: #F8F7FC;
  --light-border: rgba(18, 19, 23, 0.10);
  --light-border-strong: rgba(124, 58, 237, 0.32);
  --light-text: #121317;
  --light-muted: #454854;
  --light-dim: #575B6B;
  --light-primary: #7C3AED;
  --light-primary-2: #9040FF;
  --light-primary-soft: rgba(124, 58, 237, 0.10);
  --light-green: #059669;
  --light-amber: #D97706;
  --light-cyan: #7C3AED;
  --light-rose: #E11D48;
  --light-ink-btn-bg: #121317;
  --light-ink-btn-fg: #F8F7FC;
  --light-topbar-bg: #F4F5F9;
  --light-bottomnav-bg: #F8F7FC;
  --light-app-ambient:
    radial-gradient(circle at 85% 0%, rgba(124, 58, 237, 0.07), transparent 45%),
    radial-gradient(circle at 10% 20%, rgba(144, 64, 255, 0.04), transparent 40%),
    #F4F5F9;
  --light-hero-ambient:
    radial-gradient(circle at 90% 0%, rgba(144, 64, 255, 0.12), transparent 52%),
    radial-gradient(circle at 5% 100%, rgba(124, 58, 237, 0.08), transparent 50%),
    #F8F7FC;
  --light-card-shadow: 0 8px 28px -6px rgba(18, 19, 23, 0.06), 0 2px 6px -1px rgba(18, 19, 23, 0.03);
  --light-amethyst-bg: #F5F2FB;
  --light-amethyst-surface-2: #EFEAF9;
  --light-sandstone-bg: #F6F4EF;
  --light-sandstone-surface-2: #EFECE4;

  --r-sm: 0.75rem;
  --r-md: 1.15rem;
  --r-lg: 1.65rem;
  --r-xl: 2.1rem;

  --top-h: 3.6rem;
  --nav-h: 4.2rem;
  --gap: 0.9rem;
  --pad: 1.05rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html.light {
  --bg: var(--light-bg);
  --bg-2: var(--light-bg-2);
  --surface: var(--light-surface);
  --surface-2: var(--light-surface-2);
  --surface-3: var(--light-surface-3);
  --card: var(--light-card);
  --border: var(--light-border);
  --border-strong: var(--light-border-strong);
  --text: var(--light-text);
  --muted: var(--light-muted);
  --dim: var(--light-dim);
  --primary: var(--light-primary);
  --primary-2: var(--light-primary-2);
  --primary-soft: var(--light-primary-soft);
  --green: var(--light-green);
  --amber: var(--light-amber);
  --cyan: var(--light-cyan);
  --rose: var(--light-rose);
  --ink-btn-bg: var(--light-ink-btn-bg);
  --ink-btn-fg: var(--light-ink-btn-fg);
  --topbar-bg: var(--light-topbar-bg);
  --bottomnav-bg: var(--light-bottomnav-bg);
  --app-ambient: var(--light-app-ambient);
  --hero-ambient: var(--light-hero-ambient);
  --card-shadow: var(--light-card-shadow);
}

html.light[data-light-tone="amethyst"] {
  --bg: var(--light-amethyst-bg);
  --surface-2: var(--light-amethyst-surface-2);
}

html.light[data-light-tone="sandstone"] {
  --bg: var(--light-sandstone-bg);
  --surface-2: var(--light-sandstone-surface-2);
}

/* Taban ölçek */
html {
  font-size: clamp(0.84rem, 3.55vw, 1rem);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  overflow-x: clip;
  overflow-y: hidden;
  overscroll-behavior: none;
  -webkit-font-smoothing: antialiased;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
}

input, select, textarea {
  font: inherit;
  color: inherit;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.link:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.hidden,
[hidden] {
  display: none !important;
}

.hidden-file {
  display: none;
}

[data-icon] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

[data-icon] svg {
  width: 1.15em;
  height: 1.15em;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Uygulama kabuğu ---------- */
.app {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: var(--app-ambient);
}

.topbar {
  flex: 0 0 auto;
  height: calc(var(--top-h) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) var(--pad) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--topbar-bg);
  border-bottom: 1px solid var(--border);
  z-index: 20;
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 0.68rem;
  overflow: hidden;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--logo-bg);
  border: 1px solid var(--border-strong);
}

.logo img {
  width: 100%;
  height: 100%;
  border-radius: 0.65rem;
  object-fit: cover;
  display: block;
}

.topbar h1 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.conn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  padding: 0.34rem 0.75rem;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--border);
}

.conn .dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--dim);
}

.conn.on {
  color: var(--green);
  border-color: var(--green-border);
  background: var(--green-soft);
}

.conn.on .dot {
  background: var(--green);
  animation: pulse 2s infinite;
}

.conn.off {
  color: var(--rose);
}

.conn.off .dot {
  background: var(--rose);
}

@keyframes pulse {
  50% { opacity: 0.45; }
}

.screens {
  flex: 1 1 auto;
  position: relative;
  overflow: hidden;
}

.screen {
  position: absolute;
  inset: 0;
  display: none;
  overflow-y: auto;
  overflow-x: clip;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  touch-action: pan-y;
  padding: var(--pad) var(--pad) calc(var(--nav-h) + env(safe-area-inset-bottom) + 1.6rem);
}

.screen.active {
  display: block;
  z-index: 1;
}

.screen::-webkit-scrollbar {
  display: none;
}

/* ---------- Alt menü ---------- */
.bottomnav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(var(--nav-h) + env(safe-area-inset-bottom));
  padding: 0 0.5rem env(safe-area-inset-bottom);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--bottomnav-bg);
  border-top: 1px solid var(--border);
  z-index: 30;
  transition: transform 0.2s var(--ease);
}

body.kb-open .bottomnav {
  transform: translateY(110%);
}

.nav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.24rem;
  color: var(--dim);
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  transition: color 0.18s var(--ease);
}

.nav-item:hover {
  color: var(--text);
}

.nav-ico {
  width: 3.4rem;
  height: 1.85rem;
  border-radius: var(--r-sm);
  font-size: 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.nav-item.active {
  color: var(--text);
}

.nav-item.active .nav-ico {
  background: var(--primary-soft);
  color: var(--primary);
}

.nav-badge {
  position: absolute;
  top: 0.45rem;
  left: 56%;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.3rem;
  border-radius: var(--r-sm);
  background: var(--badge-bg);
  color: var(--on-primary);
  font-size: 0.72rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

/* ---------- Ana Sayfa Hero ---------- */
.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  padding: 1.7rem 1.4rem 1.5rem;
  background: var(--hero-ambient);
  border: 1px solid var(--border);
  color: var(--text);
}

.hero-glow {
  display: none;
}

.landing h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 6.8vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.14;
  color: var(--text);
  position: relative;
  max-width: 26ch;
  text-wrap: balance;
}

.landing .hero-sub {
  position: relative;
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.75rem;
  line-height: 1.58;
  max-width: 60ch;
}

.hero-cta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.3rem;
}

.hero-cta .btn {
  flex: 1 1 auto;
  border-radius: 9999px;
}

.hero-suite-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.suite-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.75rem 0.38rem 0.45rem;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  transition: transform 0.15s var(--ease), border-color 0.15s var(--ease), background-color 0.15s var(--ease);
}

.suite-pill:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.suite-pill:active {
  transform: scale(0.97);
}

.suite-pill img {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 0.4rem;
  object-fit: cover;
}

/* ---------- Buton Sistemi (8 Durumlu Tactile Kontroller) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.48rem;
  padding: 0.78rem 1.3rem;
  border-radius: 9999px;
  background: var(--primary-grad);
  color: var(--on-primary);
  font-weight: 700;
  font-size: 0.86rem;
  text-align: center;
  border: 1px solid transparent;
  box-shadow: var(--btn-shadow);
  transition: transform 0.15s var(--ease), box-shadow 0.2s var(--ease), background-color 0.15s var(--ease), border-color 0.15s var(--ease);
  white-space: nowrap;
}

.btn:hover {
  box-shadow: var(--btn-shadow-hover);
}

.btn:active {
  transform: scale(0.97);
}

.btn:disabled {
  background: var(--surface-2);
  color: var(--dim);
  border-color: var(--border);
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-sm {
  padding: 0.48rem 0.95rem;
  font-size: 0.78rem;
  border-radius: 9999px;
}

.btn-ghost,
.btn-glass {
  background: var(--surface-2);
  border: 1px solid var(--border);
  box-shadow: none;
  color: var(--text);
}

.btn-ghost:hover,
.btn-glass:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.btn-ok {
  background: var(--green-soft);
  color: var(--green);
  border: 1px solid var(--green-border);
  box-shadow: none;
}

.btn-block {
  width: 100%;
}

.btn [data-icon] svg {
  width: 1.05em;
  height: 1.05em;
}

.update-banner {
  margin-top: var(--gap);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--amber-border);
  color: var(--text);
}

.ub-icon {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 0.7rem;
  font-size: 1.1rem;
}

.ub-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ub-text strong {
  font-size: 0.88rem;
}

.ub-text span {
  font-size: 0.76rem;
  color: var(--muted);
}

.q-indigo, .r-indigo { background: var(--primary-soft); color: var(--primary); }
.q-green,  .r-green  { background: var(--green-soft); color: var(--green); }
.q-amber,  .r-amber  { background: var(--amber-soft); color: var(--amber); }
.q-cyan,   .r-cyan   { background: var(--primary-soft); color: var(--primary); }
.r-rose  { background: var(--rose-soft); color: var(--rose); }
.r-slate { background: var(--surface-2); color: var(--muted); }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 1.5rem 0 0.65rem;
}

.section-head h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.link {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 700;
  white-space: nowrap;
  transition: opacity 0.15s var(--ease);
}

.link:hover {
  opacity: 0.85;
}

/* ---------- Kartlar ve Listeler ---------- */
.card,
.item,
.app-row,
.feat,
.ticket,
.guide-step,
.store-app-card,
.showcase-card,
.featured,
.support-hero,
.group {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.card {
  border-radius: var(--r-md);
  padding: 1rem;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem;
  border-radius: var(--r-md);
  width: 100%;
  transition: background-color 0.15s var(--ease), border-color 0.15s var(--ease);
}

.item:hover {
  border-color: var(--border-strong);
}

.item:active {
  background: var(--surface-2);
}

.i-ico {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 0.7rem;
  font-size: 1.05rem;
}

.i-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.i-title {
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.i-sub {
  font-size: 0.78rem;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.i-meta {
  font-size: 0.75rem;
  color: var(--dim);
  white-space: nowrap;
  align-self: flex-start;
}

.empty {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  padding: 1.6rem 1rem;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--r-md);
}

.skeleton {
  height: 3.8rem;
  border-radius: var(--r-md);
  background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 50%, var(--surface) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.3s infinite;
}

.skeleton.tall {
  height: 5.2rem;
}

@keyframes shimmer {
  to { background-position: -200% 0; }
}

/* ---------- Uygulamalar ve Arama ---------- */
.search {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0 1rem;
  height: 3rem;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--dim);
  transition: border-color 0.15s var(--ease);
}

.search:focus-within {
  border-color: var(--primary);
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.search input {
  flex: 1;
  background: none;
  border: 0;
  outline: none;
  font-size: 0.9rem;
  color: var(--text);
  min-width: 0;
}

.chips {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  margin: 0.8rem calc(var(--pad) * -1) 0.9rem;
  padding: 0 var(--pad);
  scrollbar-width: none;
  touch-action: pan-x;
}

.chips::-webkit-scrollbar {
  display: none;
}

.chip {
  flex-shrink: 0;
  padding: 0.42rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  white-space: nowrap;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease), border-color 0.15s var(--ease);
}

.chip:hover {
  border-color: var(--primary);
  color: var(--text);
}

.chip.active {
  background: var(--ink-btn-bg);
  color: var(--ink-btn-fg);
  border-color: var(--ink-btn-bg);
}

.app-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem;
  border-radius: var(--r-lg);
  width: 100%;
  transition: background-color 0.15s var(--ease), border-color 0.15s var(--ease);
}

.app-row:hover {
  border-color: var(--border-strong);
}

.app-row:active {
  background: var(--surface-2);
}

.app-ic {
  width: 3.3rem;
  height: 3.3rem;
  border-radius: 0.95rem;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--logo-bg);
}

.app-body {
  flex: 1;
  min-width: 0;
}

.app-name {
  font-size: 0.96rem;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-meta {
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 0.1rem;
  font-variant-numeric: tabular-nums;
}

.app-desc {
  font-size: 0.78rem;
  color: var(--dim);
  margin-top: 0.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- Öne Çıkan ve Tanıtım Kartları ---------- */
.featured {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 1.1rem;
  border-radius: var(--r-lg);
  width: 100%;
  transition: transform 0.15s var(--ease), border-color 0.15s var(--ease);
}

.featured:hover {
  border-color: var(--border-strong);
}

.featured:active {
  transform: scale(0.99);
}

.featured .app-ic {
  width: 3.8rem;
  height: 3.8rem;
  border-radius: 1.05rem;
}

.featured .fe-body {
  flex: 1;
  min-width: 0;
}

.featured .fe-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
}

.featured .app-name {
  font-size: 1.05rem;
  margin-top: 0.12rem;
}

.featured .app-desc {
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.intro-showcase {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.showcase-card {
  padding: 1.15rem;
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  cursor: pointer;
  transition: transform 0.16s var(--ease), border-color 0.16s var(--ease);
}

.showcase-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.showcase-card:active {
  transform: scale(0.99);
}

.sc-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.sc-icon {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 0.95rem;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--logo-bg);
  border: 1px solid var(--border-strong);
}

.sc-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.sc-header h4 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text);
}

.sc-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  display: block;
}

.sc-desc {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: 64ch;
}

.sc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.sc-pills span {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ---------- Mağaza Kartı ve Sürüm Geçmişi ---------- */
.store-app-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.7rem;
  padding: 1.05rem;
  border-radius: var(--r-lg);
  cursor: pointer;
}

.store-app-card .sac-top {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
}

.store-app-card .sac-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

.changelog-wrap {
  margin-top: 0.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: default;
}

.changelog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.8rem;
  background: var(--primary-soft);
  border-bottom: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary);
}

.changelog-head small {
  font-weight: 700;
  color: var(--muted);
  font-size: 0.75rem;
}

.changelog-scroll-box {
  max-height: 11rem;
  overflow-y: auto;
  padding: 0.65rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  -webkit-overflow-scrolling: touch;
}

.cl-entry {
  padding-bottom: 0.6rem;
  border-bottom: 1px dashed var(--border);
}

.cl-entry:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.cl-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.32rem;
}

.cl-ver {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.14rem 0.5rem;
  border-radius: var(--r-sm);
  background: var(--primary-soft);
  color: var(--primary);
}

.cl-entry.latest .cl-ver {
  background: var(--green-soft);
  color: var(--green);
}

.cl-latest-pill {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.12rem 0.45rem;
  border-radius: var(--r-sm);
  background: var(--primary-soft);
  color: var(--primary);
}

.cl-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
}

.cl-date {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--dim);
}

.cl-list {
  margin: 0;
  padding-left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
}

.cl-list li {
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.45;
}

/* ---------- Canlı Destek ---------- */
.support-hero {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.1rem;
  border-radius: var(--r-lg);
}

.support-hero > div {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
}

.support-hero strong {
  font-size: 0.96rem;
  font-weight: 800;
}

.support-hero span {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
}

#ticketFilter {
  margin-top: 0.85rem;
}

.ticket {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.9rem 1rem;
  border-radius: var(--r-md);
  width: 100%;
  transition: background-color 0.15s var(--ease), border-color 0.15s var(--ease);
}

.ticket:hover {
  border-color: var(--border-strong);
}

.ticket:active {
  background: var(--surface-2);
}

.ticket.unread {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.t-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.t-no {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--dim);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.t-time {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--dim);
}

.t-subject {
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.t-last {
  font-size: 0.78rem;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.t-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--primary);
}

.status {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.18rem 0.55rem;
  border-radius: var(--r-sm);
  white-space: nowrap;
}

.st-open {
  background: var(--amber-soft);
  color: var(--amber);
}

.st-answered {
  background: var(--green-soft);
  color: var(--green);
}

.st-closed {
  background: var(--surface-2);
  color: var(--muted);
}

.ticket-screen.active {
  display: flex;
  flex-direction: column;
  padding: 0 0 calc(var(--nav-h) + env(safe-area-inset-bottom));
  overflow: hidden;
  touch-action: auto;
}

body.kb-open .ticket-screen.active {
  padding-bottom: 0;
}

.ticket-head {
  flex: 0 0 auto;
  padding: 0.85rem var(--pad);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.ticket-head h2 {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
  text-wrap: balance;
}

.th-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--dim);
}

.thread {
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
  padding: var(--pad);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.chat-empty {
  margin: auto;
  text-align: center;
  color: var(--dim);
  max-width: 75%;
}

.chat-empty p {
  font-size: 0.85rem;
  margin-top: 0.6rem;
  line-height: 1.5;
}

.ce-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 1.5rem;
  color: var(--primary);
}

.bubble {
  max-width: 80%;
  padding: 0.6rem 0.9rem;
  border-radius: 1.1rem;
  font-size: 0.88rem;
  line-height: 1.45;
  word-wrap: break-word;
  white-space: pre-wrap;
  animation: pop 0.18s var(--ease);
}

.bubble .who {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.82;
  margin-bottom: 0.15rem;
}

.bubble.me {
  align-self: flex-end;
  background: var(--primary-grad);
  color: var(--on-primary);
  border-bottom-right-radius: 0.3rem;
}

.bubble.them {
  align-self: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  border-bottom-left-radius: 0.3rem;
}

.bubble time {
  display: block;
  font-size: 0.72rem;
  opacity: 0.74;
  margin-top: 0.2rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.day-sep {
  align-self: center;
  font-size: 0.72rem;
  color: var(--dim);
  padding: 0.22rem 0.75rem;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  margin: 0.4rem 0;
}

@keyframes pop {
  from { transform: scale(0.95); opacity: 0; }
}

.composer {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem var(--pad);
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.composer input {
  flex: 1;
  min-width: 0;
  height: 2.8rem;
  padding: 0 1.05rem;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 0.9rem;
}

.composer input:focus {
  border-color: var(--primary);
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.send {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--primary-grad);
  color: var(--on-primary);
  font-size: 1.05rem;
  flex-shrink: 0;
  transition: transform 0.15s var(--ease);
}

.send:active {
  transform: scale(0.92);
}

.closed-note {
  flex: 0 0 auto;
  padding: 0.9rem var(--pad);
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  background: var(--surface);
}

/* ---------- Form ve Ayarlar ---------- */
.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.9rem;
}

.field label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.78rem 0.95rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  font: inherit;
  font-size: 0.9rem;
  color: var(--text);
  resize: none;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--primary);
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.field textarea {
  min-height: 7.5rem;
  line-height: 1.5;
}

.field .chips {
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  overflow: visible;
}

.native-warn {
  font-size: 0.8rem;
  color: var(--amber);
  background: var(--amber-soft);
  border: 1px solid var(--amber-border);
  padding: 0.75rem 0.95rem;
  border-radius: var(--r-sm);
  margin-bottom: 0.6rem;
}

.group-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  margin: 1.25rem 0.3rem 0.5rem;
}

.group-title:first-of-type {
  margin-top: 0.3rem;
}

.group {
  border-radius: var(--r-lg);
  overflow: hidden;
}

.group-spaced {
  margin-top: 0.65rem;
}

.group-padded {
  padding: 1rem;
  margin-bottom: 1rem;
}

.row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.85rem 0.95rem;
  transition: background-color 0.15s var(--ease);
}

.row.tappable {
  white-space: nowrap;
}

.row + .row {
  border-top: 1px solid var(--border);
}

.row.tappable:hover {
  background: var(--surface-2);
}

.row.tappable:active {
  background: var(--surface-3);
}

.r-ico {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.68rem;
  font-size: 1rem;
}

.r-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  white-space: normal;
}

.r-body strong {
  font-size: 0.88rem;
  font-weight: 700;
}

.r-body span {
  font-size: 0.76rem;
  color: var(--muted);
}

.mono {
  font-family: var(--font-mono);
  word-break: break-all;
}

.chev {
  color: var(--dim);
  font-size: 1rem;
}

.pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  color: var(--muted);
  white-space: nowrap;
}

.pill.ok {
  background: var(--green-soft);
  color: var(--green);
}

.pill.bad {
  background: var(--rose-soft);
  color: var(--rose);
}

.mode .r-body span {
  line-height: 1.45;
}

.mode strong {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.rec {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.14rem 0.5rem;
  border-radius: var(--r-sm);
  background: var(--primary-soft);
  color: var(--primary);
}

.radio {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  border: 2px solid var(--dim);
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.2s var(--ease);
  align-self: flex-start;
  margin-top: 0.15rem;
}

.mode.selected .radio {
  border-color: var(--primary);
}

.mode.selected .radio::after {
  content: '';
  position: absolute;
  inset: 0.18rem;
  border-radius: 50%;
  background: var(--primary);
}

.mode.selected {
  background: var(--primary-soft);
}

.mode:disabled {
  background: var(--surface-2);
  color: var(--dim);
  cursor: not-allowed;
  opacity: 0.6;
}

.hint {
  font-size: 0.76rem;
  color: var(--amber);
  margin: 0.5rem 0.3rem 0;
  line-height: 1.45;
}

.back-btn {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 9999px;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: background-color 0.15s var(--ease);
}

.back-btn:hover,
.back-btn:active {
  background: var(--surface-2);
}

.foot {
  text-align: center;
  font-size: 0.75rem;
  color: var(--dim);
  margin-top: 1.6rem;
}

/* ---------- Hesabım ve Güvenlik Merkezi (JundaGuard 2FA ve QR) ---------- */
.hub-auth-guest {
  display: none;
  margin: -0.5rem -0.5rem 0;
}

.hub-account-body {
  display: none;
}

.hub-pending-2fa-wrap {
  display: none;
  margin-bottom: 1rem;
}

.hub-qr-skeleton {
  position: relative;
  width: 100%;
  max-width: 20rem;
  height: 13.75rem;
  margin: 0 auto 0.85rem;
  border-radius: var(--r-md);
  background: var(--qr-box-bg);
  border: 1px dashed var(--border-strong);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hub-qr-corner {
  position: absolute;
  width: 1.65rem;
  height: 1.65rem;
  border-color: var(--primary);
  border-style: solid;
  border-width: 0;
  pointer-events: none;
  z-index: 3;
}

.hub-qr-corner.tl { top: 0.75rem; left: 0.75rem; border-top-width: 3px; border-left-width: 3px; border-top-left-radius: 0.5rem; }
.hub-qr-corner.tr { top: 0.75rem; right: 0.75rem; border-top-width: 3px; border-right-width: 3px; border-top-right-radius: 0.5rem; }
.hub-qr-corner.bl { bottom: 0.75rem; left: 0.75rem; border-bottom-width: 3px; border-left-width: 3px; border-bottom-left-radius: 0.5rem; }
.hub-qr-corner.br { bottom: 0.75rem; right: 0.75rem; border-bottom-width: 3px; border-right-width: 3px; border-bottom-right-radius: 0.5rem; }

.hub-qr-laser {
  position: absolute;
  top: 1.1rem;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--qr-laser-grad);
  box-shadow: var(--qr-laser-shadow);
  animation: jHubQrLaser 2.4s ease-in-out infinite;
  pointer-events: none;
  z-index: 3;
}

@keyframes jHubQrLaser {
  0%, 100% { transform: translateY(0); opacity: 0.82; }
  50% { transform: translateY(11.2rem); opacity: 1; }
}

.hub-qr-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.2s var(--ease);
  z-index: 1;
  background: transparent;
}

.hub-qr-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 1rem;
  pointer-events: none;
}

.hub-qr-badge-ico {
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 0.9rem;
  margin: 0 auto 0.5rem;
  background: var(--primary-soft);
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  color: var(--primary);
  font-size: 1.5rem;
}

.hub-qr-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text);
}

.hub-qr-sub {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.25rem;
  line-height: 1.4;
}

.hub-qr-stop {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 4;
  background: var(--qr-stop-bg);
  color: var(--on-primary);
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: 0.3rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.hub-qr-helper {
  font-size: 0.76rem;
  color: var(--muted);
  display: block;
  margin-bottom: 0.55rem;
  text-align: center;
  line-height: 1.45;
}

.hub-qr-pair-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.hub-input {
  width: 100%;
  padding: 0.68rem 0.85rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 0.86rem;
  transition: border-color 0.15s var(--ease);
}

.hub-input:focus {
  border-color: var(--primary);
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.hub-input-mono {
  flex: 1;
  min-width: 10rem;
  font-family: var(--font-mono);
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.04em;
}

.hub-flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.hub-wrap {
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.hub-card-heading {
  font-size: 0.88rem;
  font-weight: 700;
  display: block;
  color: var(--text);
}

.hub-card-sub {
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.45;
  display: block;
}

.hub-min-btn {
  min-width: 5.8rem;
  justify-content: center;
}

.hub-totp-box {
  margin-top: 0.85rem;
  padding: 0.85rem 0.95rem;
  border-radius: var(--r-md);
  background: var(--primary-soft);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.hub-totp-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
}

.hub-totp-code {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--text);
  margin-top: 0.15rem;
  font-variant-numeric: tabular-nums;
}

.hub-totp-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.hub-totp-timer {
  font-variant-numeric: tabular-nums;
}

.hub-totp-copy {
  font-size: 0.76rem;
}

.hub-profile-top {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.95rem;
}

.hub-acc-avatar {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: var(--r-md);
  background: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--on-primary);
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--border-strong);
}

.hub-profile-meta {
  flex: 1;
  min-width: 0;
}

.hub-acc-title {
  font-weight: 800;
  font-size: 1rem;
  color: var(--text);
}

.hub-acc-sub {
  font-size: 0.78rem;
  color: var(--muted);
}

.hub-photo-lbl {
  display: inline-block;
  margin-top: 0.3rem;
  cursor: pointer;
  font-size: 0.78rem;
}

.hub-form-grid {
  display: grid;
  gap: 0.65rem;
}

.hub-field-lbl {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  display: block;
  margin-bottom: 0.25rem;
}

.hub-pass-box {
  margin-top: 1.1rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--border);
}

.hub-pass-title {
  font-size: 0.84rem;
  display: block;
  margin-bottom: 0.55rem;
}

.hub-select {
  padding: 0.52rem 0.75rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 700;
}

.hub-sessions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0.65rem 0 0.5rem;
}

.hub-sessions-heading {
  font-size: 0.8rem;
  color: var(--muted);
}

.hub-danger-link {
  font-size: 0.76rem;
  color: var(--rose);
}

.hub-stack {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hub-mb-sm {
  margin-bottom: 0.55rem;
}

.hub-mb-md {
  margin-bottom: 0.65rem;
}

.hub-actions-split {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border);
}

.hub-actions-split .btn {
  flex: 1;
  justify-content: center;
}

.hub-logout-btn {
  color: var(--rose);
  border-color: var(--rose-border);
}

/* ---------- Bottom Sheet ---------- */
.sheet-backdrop {
  position: fixed;
  inset: 0;
  background: var(--backdrop-bg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
  z-index: 40;
}

.sheet-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  max-height: 82%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  padding: 0.4rem var(--pad) calc(1.3rem + env(safe-area-inset-bottom));
  transform: translateY(105%);
  transition: transform 0.3s var(--ease);
  will-change: transform;
}

.sheet.open {
  transform: translateY(0);
}

.sheet.expanded {
  max-height: 94%;
}

.sheet.dragging {
  transition: none !important;
  user-select: none;
}

.sheet-handle {
  width: 100%;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  touch-action: none;
  margin: 0 auto 0.35rem;
}

.sheet-handle::before {
  content: '';
  width: 2.8rem;
  height: 0.3rem;
  border-radius: var(--r-sm);
  background: var(--border);
  transition: background-color 0.15s var(--ease);
}

.sh-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.sh-head .app-ic {
  width: 4rem;
  height: 4rem;
  border-radius: 1.1rem;
}

.sh-head h3 {
  font-size: 1.15rem;
  font-weight: 800;
}

.sh-head p {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.sh-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  margin: 1rem 0;
  padding: 0.7rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.sh-stats strong {
  display: block;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}

.sh-stats span {
  font-size: 0.74rem;
  color: var(--dim);
}

.sh-section {
  margin-top: 0.9rem;
}

.sh-section h4 {
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.sh-section p {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.55;
  white-space: pre-line;
}

.sh-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.sh-actions .btn {
  flex: 1;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--nav-h) + env(safe-area-inset-bottom) + 0.9rem);
  transform: translate(-50%, 1rem);
  opacity: 0;
  pointer-events: none;
  max-width: 88%;
  padding: 0.68rem 1.15rem;
  border-radius: var(--r-md);
  background: var(--toast-bg);
  color: var(--toast-fg);
  border: 1px solid var(--toast-border);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  z-index: 60;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Erişilebilir Hareket Azaltma ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Geniş Ekran (Tablet ve Masaüstü Önizleme) ---------- */
@media (min-width: 48rem) {
  html { font-size: 1rem; }
  .screen > * { max-width: 42rem; margin-left: auto; margin-right: auto; }
  .bottomnav {
    left: 50%;
    right: auto;
    width: 42rem;
    transform: translateX(-50%);
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
  }
}
