/* Panel kabuğu — yüzen kenar çubuğu, üst çubuk, gösterge paneli bileşenleri.
   Renkler app.css'teki jetonlardan gelir; koyu ve açık tema aynı kodla çalışır.

   Buz Kobalt teması: kenar çubuğu yüzüyor; seçili menü ve ana eylemler
   kobalt, bilgi vurguları turkuazdır. */

/* --- ton renkleri (duyuru rozetleri, rapor çubukları) --- */
:root {
  --t-blue:#00747b;   --t-blue-bg:#ddf2f2;
  --t-green:#1f9d6a;  --t-green-bg:rgba(31,157,106,.13);
  --t-violet:#7c4fe0; --t-violet-bg:rgba(124,79,224,.13);
  --t-amber:#b8760a;  --t-amber-bg:rgba(245,158,11,.15);
  --t-rose:#d9455f;   --t-rose-bg:rgba(217,69,95,.13);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --t-blue:#45d6ce; --t-blue-bg:#153e46; --t-green:#78dfb1; --t-violet:#c4a9f3; --t-amber:#ffd280; --t-rose:#ffa5b0;
  }
}
[data-theme="dark"] {
  --t-blue:#45d6ce; --t-blue-bg:#153e46; --t-green:#78dfb1; --t-violet:#c4a9f3; --t-amber:#ffd280; --t-rose:#ffa5b0;
}

/* --- iskelet --- */
body.app-body { display: block; min-height: 100vh; }
.app { display: grid; grid-template-columns: 276px 1fr; min-height: 100vh; }
.app-main { display: flex; flex-direction: column; min-width: 0; }
.rail-toggle { display: none; }

/* --- yüzen kenar çubuğu --- */
.rail {
  position: sticky; top: 20px; height: calc(100vh - 40px);
  margin: 20px 0 20px 20px; border-radius: 20px;
  background: var(--rail); border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  padding: 22px 14px 16px; display: flex; flex-direction: column; gap: 2px;
  overflow-y: auto; scrollbar-width: thin;
}
.brand { display: flex; align-items: center; gap: 10px; padding: 2px 10px 18px;
  text-decoration: none; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-name { font-weight: 800; font-size: 17px; letter-spacing: -.02em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.rail-sec { margin: 12px 0 4px; padding: 0 12px; font-size: 10.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted); opacity: .8; }
.rail-link { display: flex; align-items: center; gap: 11px; padding: 10px 12px;
  border-radius: 11px; font-size: 14px; font-weight: 600; color: var(--muted);
  text-decoration: none; transition: color .15s, background .15s; }
.rail-link svg { width: 17px; height: 17px; flex: none; opacity: .75; transition: opacity .15s; }
.rail-link:hover { color: var(--ink); text-decoration: none; background: var(--surface-2); }
.rail-link:hover svg { opacity: 1; }
.rail-link.on { background: var(--accent); color: var(--on-accent); }
.rail-link.on svg { opacity: 1; }
.rail-soon { display: flex; align-items: center; gap: 11px; padding: 10px 12px;
  font-size: 14px; font-weight: 600; color: var(--muted); opacity: .5; cursor: default; }
.rail-soon svg { width: 17px; height: 17px; flex: none; }
.rail-soon em { margin-left: auto; font-style: normal; font-size: 10px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; }
.rail-foot { margin-top: auto; padding: 14px 0 0; }
.theme-form { margin: 0; }
.theme-pill { display: flex; align-items: center; gap: 8px; width: 100%; cursor: pointer;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 11px;
  padding: 9px 12px; color: var(--ink-2); font: inherit; font-size: 13px; font-weight: 600; }
.theme-pill svg { width: 14px; height: 14px; }
.theme-pill:hover { border-color: var(--accent); color: var(--ink); }

/* --- üst çubuk --- */
.topbar { display: flex; align-items: center; gap: 14px; padding: 16px 32px;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(10px); border-bottom: 0;
  position: sticky; top: 0; z-index: 5; }
.burger { display: none; place-items: center; color: var(--muted); cursor: pointer; }
.burger svg { width: 20px; height: 20px; }
.omni { flex: 1; max-width: 440px; display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0 14px; margin: 0; height: 42px; box-shadow: var(--shadow-card);
  transition: border-color .15s, box-shadow .15s; }
.omni:focus-within { border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.omni svg { width: 16px; height: 16px; color: var(--muted); flex: none; }
.omni input { flex: 1; border: none; background: none; padding: 0; font: inherit;
  font-size: 13.5px; color: var(--ink); width: 100%; box-shadow: none; }
.omni input:focus { outline: none; box-shadow: none; }
.omni .kbd { font-family: var(--mono); font-size: 10.5px;
  color: var(--muted); background: var(--surface-2); border-radius: 6px;
  padding: 2px 7px; flex: none; }

.top-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.wallet-chip { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  text-decoration: none; color: var(--muted); font-size: 12.5px; font-weight: 600;
  box-shadow: var(--shadow-card); transition: border-color .15s; }
.wallet-chip:hover { border-color: var(--accent); text-decoration: none; }
.wallet-chip svg { width: 15px; height: 15px; color: var(--accent); }
.wallet-chip i { font-style: normal; }
.wallet-chip b { font-size: 14px; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--accent);
  color: var(--on-accent); border: 1px solid var(--accent); border-radius: var(--radius-sm);
  height: 42px; padding: 0 18px; font-weight: 700; font-size: 14px; white-space: nowrap;
  text-decoration: none; cursor: pointer; font-family: inherit;
  transition: filter .15s, transform .12s; }
.btn-primary svg { width: 15px; height: 15px; }
.btn-primary:hover { filter: brightness(1.05); text-decoration: none; }
.btn-primary:active { transform: translateY(1px); }
.bell { position: relative; width: 42px; height: 42px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--line); display: grid;
  place-items: center; color: var(--muted); text-decoration: none; box-shadow: var(--shadow-card); }
.bell:hover { color: var(--ink); border-color: var(--accent); }
.bell svg { width: 17px; height: 17px; }
.bell b { position: absolute; top: -5px; right: -5px; background: var(--accent); color: var(--on-accent);
  font-size: 9.5px; min-width: 17px; height: 17px; border-radius: 9px; display: grid;
  place-items: center; font-weight: 800; padding: 0 4px; }
.who-chip { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 8px 0 5px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card); }
.avatar { width: 32px; height: 32px; border-radius: 9px; background: var(--surface-2);
  color: var(--ink); display: grid; place-items: center; font-size: 12px;
  font-weight: 800; flex: none; }
.who-chip .who { line-height: 1.15; }
.who-chip .who b { display: block; font-size: 13px; font-weight: 700; }
.who-chip .who i { font-style: normal; font-size: 11px; color: var(--muted); }
.icon-btn { background: none; border: none; padding: 6px; cursor: pointer; border-radius: 8px;
  color: var(--muted); display: grid; place-items: center; }
.icon-btn svg { width: 15px; height: 15px; }
.icon-btn:hover { color: var(--bad); background: var(--surface-2); }

/* --- içerik --- */
.content { padding: 8px 32px 48px; display: flex; flex-direction: column; gap: 16px;
  max-width: 1480px; width: 100%; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 6px; }
.page-head .page-title { font-size: 28px; }
.page-head h1 { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -.03em; }
.page-head .lead { margin-top: 6px; }
.page-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.page-actions .button { margin-top: 0; }

/* Karşılama bandı: gösterge panelinin başlığı bir kart içinde, sol üstte
   soluk ışık ve ince nokta dokusu. Işık saf CSS gradyan — resim/filtre yok. */
.dash-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
  flex-wrap: wrap; padding: 28px 30px; border-radius: 20px; border: 1px solid var(--line);
  background:
    radial-gradient(55% 130% at 0% 0%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 60%),
    radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--ink) 7%, transparent) 1px, transparent 1.6px) 0 0 / 22px 22px,
    var(--surface);
  box-shadow: var(--shadow-card); }
.dash-hero h1 { margin: 0; font-size: 32px; font-weight: 800; letter-spacing: -.03em; }
.dash-hero p { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; }
.dash-hero .page-actions { flex: none; }

/* --- KPI kartları --- */
.kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1240px) { .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px)  { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px)  { .kpis { grid-template-columns: 1fr; } }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow-card); transition: transform .18s, border-color .18s; }
.kpi:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.kpi-top { display: flex; align-items: center; gap: 10px; }
/* Tüm ikon kareleri marka renginde: ton sınıfları duruyor ama rengi belirlemiyor. */
.kpi-ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; flex: none;
  background: var(--accent); color: var(--on-accent); }
.kpi-ic svg { width: 15px; height: 15px; }
.kpi-l { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.kpi-v { font-size: 26px; font-weight: 800; letter-spacing: -.03em; margin-top: 10px;
  font-variant-numeric: tabular-nums; }
.kpi-d { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 12px;
  color: var(--muted); }
.delta { font-weight: 700; font-size: 11.5px; border-radius: 6px; padding: 2px 7px;
  font-variant-numeric: tabular-nums; }
.delta.up { background: var(--ok-bg); color: var(--ok); }
.delta.down { background: var(--bad-bg); color: var(--bad); }

/* --- iki sütun --- */
.cols { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; align-items: start; }
.cols.even { grid-template-columns: 1fr 1fr; }

/* --- ürün karoları --- */
.prods { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.prod { background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; text-decoration: none; color: var(--ink); padding: 7px 7px 11px;
  display: flex; flex-direction: column; position: relative;
  transition: transform .18s cubic-bezier(.2,.7,.2,1), border-color .18s; }
.prod:hover { border-color: var(--accent); transform: translateY(-3px); text-decoration: none; }
/* Karo bir <div>; bağlantı içeriği kaplar, yıldız düğmesi yanında durur (iç içe değil). */
.prod .prod-a { display: flex; flex-direction: column; flex: 1; color: inherit; text-decoration: none; min-width: 0; }
.prod .prod-a:hover { text-decoration: none; }
/* Favori yıldızı: kapağın sağ üstü. Ürün sayfasındaki .po-fav ile aynı dil. */
.prod-fav { position: absolute; top: 13px; right: 13px; width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center; z-index: 2; cursor: pointer; font: inherit; padding: 0;
  background: color-mix(in srgb, var(--paper) 78%, transparent); backdrop-filter: blur(6px);
  border: 1px solid color-mix(in srgb, var(--line) 70%, transparent); color: var(--ink);
  transition: background .15s, border-color .15s, transform .15s; }
.prod-fav svg { width: 14px; height: 14px; }
.prod-fav:hover { border-color: var(--accent); transform: scale(1.06); }
.prod-fav.on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.prod-fav.on svg { fill: currentColor; }
.prods.overlay .prod-fav { top: 10px; right: 10px; }

/* Kapak kendi oranını korur; kutu yüksekliğini kart genişliği belirler.
   `overflow: hidden` şart: görsel bir grid öğesi olduğunda yüzdelik yükseklik
   çözülemiyor, resim kendi en-boy oranına düşüp kutudan taşıyordu.
   Görsel KIRPILMAZ (`contain`): tedarikçi görselleri kare, 16:9 ve dikey
   karışık geliyor; `cover` logoların üstünü altını kesiyordu. Boş kalan
   şerit görselin kendi bulanık kopyasıyla dolar (`.cover-bg`) — beyaz zeminli
   logo beyaz kart gibi, koyu illüstrasyon koyu kart gibi görünür; tema
   renginden bağımsız. */
.prod .cover { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 9px;
  display: grid; place-items: center; font-size: 10px;
  letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.7);
  font-weight: 700; background: linear-gradient(150deg, #223052, #141c36);
  text-align: center; padding: 0 8px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.prod .cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.prod .cover .cover-bg { object-fit: cover; transform: scale(1.3); filter: blur(16px) saturate(1.15);
  opacity: .9; pointer-events: none; }

.prod .pb { display: flex; flex-direction: column; gap: 2px; padding: 10px 5px 0; }
/* Ad kırpılmıyor: satır sayısı kadar sarılır, kart da ona göre uzar. */
.prod .pn { display: block; font-size: 13.5px; font-weight: 700; line-height: 1.25;
  white-space: normal; overflow-wrap: anywhere; }
.prod .pv { display: block; font-size: 11.5px; color: var(--muted); }

/* Vitrin varyantı (gösterge paneli): ad görselin üstünde, karartma altında.
   Katalogda kullanılmaz — 900 gerçek kapakta okunabilirlik kumar olurdu. */
.prods.overlay .prod { padding: 0; border-radius: 14px; }
.prods.overlay .prod .cover { border-radius: 0; box-shadow: none; color: transparent; }
.prods.overlay .prod::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 42%, color-mix(in srgb, var(--paper) 94%, transparent)); }
.prods.overlay .prod .pb { position: absolute; left: 12px; right: 12px; bottom: 11px; padding: 0;
  z-index: 1; }
.prods.overlay .prod .pn { text-shadow: 0 2px 10px rgba(0,0,0,.8); color: #fff; }
.prods.overlay .prod .pv { color: #c9d1e6; text-shadow: 0 2px 10px rgba(0,0,0,.8); }

/* --- duyurular --- */
.ann { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.ann:last-child { border-bottom: none; padding-bottom: 0; }
.ann:first-child { padding-top: 0; }
.ann-b { font-size: 9.5px; font-weight: 700; letter-spacing: .06em; border-radius: 6px;
  padding: 3px 7px; height: fit-content; flex: none; text-transform: uppercase; }
.ann-b.new { background: var(--t-violet-bg); color: var(--t-violet); }
.ann-b.info { background: var(--t-blue-bg); color: var(--t-blue); }
.ann-b.update { background: var(--t-amber-bg); color: var(--t-amber); }
.ann-b.warning { background: var(--bad-bg); color: var(--bad); }
.ann-t { font-size: 13.5px; font-weight: 700; }
.ann-x { font-size: 12.5px; color: var(--muted); margin-top: 3px; line-height: 1.45; }
.ann-w { font-size: 11px; color: var(--muted); opacity: .75; margin-top: 4px; }

/* --- grafik --- */
.chart-wrap svg { width: 100%; height: auto; display: block; }
.chart-foot { display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; margin-top: 6px; border-top: 1px solid var(--line-soft); font-size: 12.5px; }
.chart-foot b { font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }

/* --- arama sonuçları --- */
.hits { display: grid; gap: 6px; }
.hit { display: flex; align-items: center; gap: 12px; padding: 11px 14px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
  text-decoration: none; color: var(--ink); font-size: 13.5px; }
.hit:hover { border-color: var(--accent); text-decoration: none; }
.hit .kind { font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700;
  color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px;
  flex: none; }
.hit .meta { margin-left: auto; color: var(--muted); font-size: 12px; }

/* --- duyarlı --- */
@media (max-width: 1080px) {
  .cols { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; }
  .rail { position: fixed; left: 0; top: 0; bottom: 0; width: 250px; z-index: 30; margin: 0;
    height: 100vh; border-radius: 0 20px 20px 0;
    transform: translateX(-100%); transition: transform .18s ease;
    box-shadow: 0 0 40px rgba(0,0,0,.4); }
  .rail-toggle:checked ~ .app .rail { transform: none; }
  .burger { display: grid; }
  .omni .kbd { display: none; }
  .wallet-chip, .who-chip .who { display: none; }
  .content { padding: 8px 16px 32px; }
  .topbar { padding: 12px 16px; }
  .dash-hero { padding: 20px; }
  .dash-hero h1 { font-size: 26px; }
}
@media (max-width: 560px) {
  .topbar { gap: 10px; }
  .btn-primary span { display: none; }
}

.date-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 14px; height: 42px;
  font-size: 13.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.date-pill svg { color: var(--muted); }
.warn-text { color: var(--warn); }

/* --- içerik yönetimi: sayfa önizlemesi, geniş alanlar, renk seçimi --- */
.wide-field { display: block; }
.wide-field .field-input { max-width: none; }
.wide-field .field-label { margin-bottom: 8px; }
.td-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.link-button.danger { color: var(--bad); }

.prose.flat { border: none; padding: 0; background: none; max-width: 74ch; }
.prose h2 { margin: 22px 0 6px; font-size: 17px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 18px 0 4px; font-size: 14.5px; }
.prose p { margin: 0 0 12px; color: var(--ink-2); }
.prose ul, .prose ol { margin: 0 0 12px; padding-left: 20px; color: var(--ink-2); }

.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px;
  border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
  background: var(--surface); font-size: 13px; font-weight: 600; }
.swatch input { position: absolute; opacity: 0; width: 0; height: 0; }
.swatch-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); flex: none; }
.swatch-name { text-transform: capitalize; color: var(--ink-2); }
.swatch:has(input:checked) { border-color: var(--accent); background: var(--accent-wash); }
.swatch:has(input:checked) .swatch-name { color: var(--accent-ink); }
.swatch input:focus-visible ~ .swatch-dot { outline: 2px solid var(--accent);
  outline-offset: 2px; }

/* --- katalog (hem panelde hem vitrinde çizilir) --- */
.filters { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.filter-search { position: relative; flex: 1; min-width: 220px; max-width: 460px; }
.filter-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.filter-search input { width: 100%; padding: 0 14px 0 40px; height: 42px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  font: inherit; font-size: 13.5px; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); font-size: 12.5px; font-weight: 600; text-decoration: none;
  color: var(--muted); transition: border-color .15s, color .15s; }
.chip:hover { border-color: var(--accent); color: var(--ink); text-decoration: none; }
.chip.on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

.pager { display: flex; align-items: center; justify-content: center; gap: 18px;
  padding-top: 12px; font-size: 13.5px; }

.empty { text-align: center; padding: 56px 20px; background: var(--surface);
  border: 1px dashed var(--line); border-radius: var(--radius); }
.empty svg { width: 30px; height: 30px; color: var(--muted); opacity: .6; }
.empty h3 { margin: 12px 0 0; font-size: 17px; }
.empty p { margin: 6px 0 0; color: var(--muted); }

/* --- ürün sayfası: iki sütun, sağda yapışkan özet --- */
.pcols { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 14px; align-items: start; }
.pcols > .pmain { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pcols > aside { position: sticky; top: 90px; }
.pmeta h1 { margin: 6px 0 0; font-size: 32px; font-weight: 800; letter-spacing: -.03em; }
.pmeta .lead { margin-top: 8px; max-width: 60ch; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 6px; background: var(--accent); color: var(--on-accent); }
.badges-row { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px;
  font-size: 12px; font-weight: 600; background: var(--surface); border: 1px solid var(--line);
  color: var(--muted); }
.badge svg { width: 13px; height: 13px; color: var(--ok); }
.summary .total span:first-child { color: var(--muted); }
@media (max-width: 1080px) {
  .pcols { grid-template-columns: 1fr; }
  .pcols > aside { position: static; }
}

/* --- cüzdan --- */
.wcols { display: grid; grid-template-columns: 1fr 1.5fr; gap: 14px; align-items: stretch; }
.wbal { display: flex; flex-direction: column; justify-content: center; padding: 26px 28px; }
.wl { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.wv { font-size: 44px; font-weight: 800; letter-spacing: -.03em; margin-top: 6px;
  font-variant-numeric: tabular-nums; line-height: 1.1; }
.wsub { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.wsub svg { width: 13px; height: 13px; color: var(--ok); }
@media (max-width: 900px) { .wcols { grid-template-columns: 1fr; } }

/* --- bakiye yükleme --- */
.amount-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.amount-opt { position: relative; }
.amount-opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.amount-opt span { display: block; text-align: center; padding: 0 16px; height: 40px; line-height: 38px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  font-weight: 700; font-size: 13.5px; font-variant-numeric: tabular-nums; cursor: pointer;
  color: var(--muted); transition: border-color .15s, color .15s; }
.amount-opt span:hover { border-color: var(--accent); color: var(--ink); }
.amount-opt:has(input:checked) span { border-color: var(--accent);
  background: var(--accent); color: var(--on-accent); }
.amount-opt input:focus-visible ~ span { outline: 2px solid var(--accent);
  outline-offset: 2px; }

.pay-amount { display: flex; align-items: baseline; gap: 8px; padding: 14px 0 4px; }
.pay-figure { font-size: 32px; font-weight: 800; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums; color: var(--accent-ink); }
.pay-unit { font-size: 14px; color: var(--muted); font-weight: 600; }

.qr-box { display: flex; justify-content: center; padding: 18px 0 4px; }
.qr-box svg { width: 190px; height: 190px; background: #fff; padding: 8px;
  border-radius: 12px; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: flex; gap: 14px; padding: 9px 0;
  border-bottom: 1px solid var(--line-soft); font-size: 13.5px; }
.timeline li:last-child { border-bottom: none; }
.tl-when { flex: none; width: 108px; font-size: 12.5px; font-variant-numeric: tabular-nums; }

/* --- API anahtarı gösterimi --- */
.key-reveal { border-color: var(--accent); }
.snippet { margin: 8px 0 0; padding: 12px 14px; border-radius: var(--radius-sm); overflow-x: auto;
  background: var(--surface-2); border: 1px solid var(--line);
  font-family: var(--mono); font-size: 12.5px;
  color: var(--ink-2); }
.code-box.small { font-size: 13px; letter-spacing: .04em; }

/* --- destek yazışması --- */
.thread { display: flex; flex-direction: column; gap: 12px; }
.msg { border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px;
  background: var(--surface-2); }
.msg.from-staff { background: var(--accent-wash); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.msg-who { display: flex; align-items: baseline; gap: 10px; font-size: 12.5px;
  font-weight: 700; margin-bottom: 6px; }
.msg-body { white-space: pre-wrap; font-size: 14px; line-height: 1.6;
  color: var(--ink-2); }

/* --- rapor sütun grafiği --- */
.bars { display: flex; align-items: flex-end; gap: 4px; height: 170px;
  padding: 8px 0 0; overflow-x: auto; }
.bar-col { display: flex; flex-direction: column; align-items: center; gap: 6px;
  flex: 1; min-width: 14px; height: 100%; justify-content: flex-end; }
.bar { display: block; width: 100%; max-width: 26px; min-height: 2px;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 4px 4px 0 0; position: relative; display: flex;
  align-items: flex-end; overflow: hidden; }
.bar i { display: block; width: 100%; background: var(--accent);
  border-radius: 2px 2px 0 0; }
.bar-l { font-size: 9.5px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* --- canlıya çıkış denetimi --- */
.checks { list-style: none; margin: 0; padding: 0; display: flex;
  flex-direction: column; gap: 2px; }
.checks li { display: flex; gap: 12px; padding: 11px 0;
  border-bottom: 1px solid var(--line-soft); }
.checks li:last-child { border-bottom: none; }
.check-mark { width: 22px; height: 22px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.check-ok .check-mark { background: var(--ok-bg); color: var(--ok); }
.check-warn .check-mark { background: var(--warn-bg); color: var(--warn); }
.check-block .check-mark { background: var(--bad-bg); color: var(--bad); }
.check-t { font-size: 14px; font-weight: 700; }
.check-d { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.check-f { font-size: 12.5px; color: var(--muted); margin-top: 4px;
  border-left: 2px solid var(--line); padding-left: 9px; }

/* --- favori düğmesi --- */
.link-button.fav { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  color: var(--muted); font-size: 12px; font-weight: 600; transition: all .15s; }
.link-button.fav:hover { color: var(--ink); border-color: var(--accent); }
.link-button.fav.on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

/* Sayfa girişi: kısa, sıkı bir yükselme. Hareket isteyene var, istemeyene yok. */
.content > * { animation: rise .45s cubic-bezier(.2,.7,.2,1) both; }
.content > *:nth-child(2) { animation-delay: 50ms; }
.content > *:nth-child(3) { animation-delay: 100ms; }
.content > *:nth-child(4) { animation-delay: 150ms; }
.content > *:nth-child(n+5) { animation-delay: 200ms; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .content > * { animation: none; }
  .kpi, .prod, .btn-primary, .button { transition: none; }
}

/* --- ürün / sipariş sayfası v2: sol künye + not, sağda kaydırmalı paketler,
   altta sipariş özeti; onay ve sonuç aynı sayfada pencere --- */
.po { display: grid; grid-template-columns: minmax(0, 1fr) 372px; gap: 14px;
  align-items: start; }
/* Ziyaretçi: sipariş özeti yok, liste tam genişlik. */
.po.po-browse { grid-template-columns: minmax(0, 1fr); }
.po-top { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 14px;
  align-items: start; }
.po-side { padding: 12px 12px 16px; position: relative; }
.po-back, .po-fav { position: absolute; top: 20px; width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center; background: color-mix(in srgb, var(--paper) 80%, transparent);
  border: 1px solid var(--line); color: var(--ink); z-index: 2; backdrop-filter: blur(6px);
  text-decoration: none; cursor: pointer; font: inherit; }
.po-back { left: 20px; }
.po-back svg { transform: rotate(180deg); }
.po-fav { right: 20px; }
.po-back svg, .po-fav svg { width: 16px; height: 16px; }
.po-fav.on { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.po-back:hover, .po-fav:hover { border-color: var(--accent); text-decoration: none; }
.po-img { display: block; width: 100%; aspect-ratio: 1 / 1; border-radius: 12px;
  background: linear-gradient(150deg, #223052, #141c36); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
/* Kırpma yok — karo kapağıyla aynı desen (sığdır + bulanık arka plan). */
.po-pic { position: relative; overflow: hidden; }
.po-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.po-pic .cover-bg { object-fit: cover; transform: scale(1.3); filter: blur(18px) saturate(1.15);
  opacity: .9; pointer-events: none; }
.po-cover { display: grid; place-items: center; text-align: center; padding: 20px; color: rgba(255,255,255,.7);
  font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.po-name { margin: 12px 4px 0; font-size: 16px; font-weight: 800; letter-spacing: -.015em; line-height: 1.3; }
.po-note { margin: 12px 0 0; padding: 12px 14px; border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line));
  background: color-mix(in srgb, var(--accent) 6%, var(--surface-2)); }
.po-note-h { display: flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.po-note-h svg { width: 13px; height: 13px; }
.po-note-b { margin-top: 8px; font-size: 12.5px; line-height: 1.55; color: var(--ink-2);
  white-space: pre-line; overflow-wrap: anywhere; }

/* Guven rozetleri (shop.trust_badges). ONEMLI: bu kurallar eskiden
   public.css'teydi ve panel kabugu o dosyayi yuklemedigi icin giris
   yapmis kullanicida rozetler stilsiz ciziliyordu. Urun sayfasi iki
   kabukta da acildigindan ortak dosya buraya ait. */
/* Ürün sayfası güven rozetleri (shop.trust_badges) */
.po-trust { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.po-trust li { display: flex; gap: 9px; align-items: flex-start; font-size: 13px; }
.po-trust li svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--info); }
.po-trust li b { display: block; color: var(--ink); font-weight: 600; }
.po-trust li em { display: block; color: var(--muted); font-style: normal; font-size: 12px; margin-top: 1px; }

.po-list { padding: 18px 20px 20px; }
.po-list .card-head { margin-bottom: 12px; }
.po-scroll { position: relative; max-height: 420px; overflow-y: auto; padding-right: 4px;
  scrollbar-width: thin; display: flex; flex-direction: column; gap: 8px; }
/* Paket satiri. Secim UC isaretle ayni anda soylenir: gorunur radyo, belirgin
   cerceve, fiyat rengi. Tek isarete guvenmek renk koru kullanicida yetmiyor. */
/* Zemin farki secimin ASIL isareti. Bu temada --surface-2 ile
   --accent-wash ayni renk (#243b5c) oldugu icin satirin normal ve secili
   zemini birbirinden ayrilmiyordu. Normal artik bir kademe KOYU
   (--paper), secili bir kademe ACIK (--surface-2): kutu once cukur,
   secilince kabarik okunuyor. */
.po-row { position: relative; display: flex; align-items: center; gap: 13px;
  padding: 15px 16px; border-radius: 12px; background: var(--paper);
  cursor: pointer; flex: none; transition: border-color .15s, background .15s;
  /* --line satir zemininde yalnizca 1.6:1 idi: kutu kenari gorunmuyordu.
     Sabit renk yerine jetondan turetiliyor; acik temada koyulasir, koyu
     temada acilir. Olculen: koyu 3.5:1, acik 3.2:1. */
  border: 1.5px solid color-mix(in srgb, var(--line) 65%, var(--ink));
  /* Kabarik dursun: --shadow-card tema basina dogru recete zaten (koyu
     temada ust ic parlama + golge, acik temada yalnizca golge). */
  box-shadow: var(--shadow-card), 0 2px 5px rgba(0, 0, 0, .14); }
.po-row:hover { border-color: var(--accent);
  box-shadow: var(--shadow-card), 0 4px 10px rgba(0, 0, 0, .20); }

/* Secim isareti. Eskiden `opacity: 0` ile TAMAMEN gizliydi; hangi paketin
   secili oldugu yalnizca cerceve renginden anlasiliyordu. */
.po-row input { position: static; flex: none; width: 18px; height: 18px; margin: 0;
  opacity: 1; appearance: none; -webkit-appearance: none; cursor: pointer;
  border: 2px solid color-mix(in srgb, var(--line) 65%, var(--ink));
  border-radius: 50%; background: transparent;
  transition: border-color .15s, border-width .15s; }
.po-row:hover input { border-color: var(--accent); }
.po-row:has(input:checked) input { border-color: var(--accent); border-width: 6px; }
.po-row input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.po-row:has(input:checked) { border-color: var(--accent); background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--accent), var(--shadow-card),
    0 4px 12px color-mix(in srgb, var(--accent) 22%, transparent); }
/* Ad esner ki fiyat hep sagda hizali kalsin (satirda artik uc oge var). */
.po-row-n { flex: 1; font-size: 14.5px; font-weight: 600; }
/* Fiyat rengi AÇIKÇA veriliyor. Genel `label > span { color: var(--ink-2) }`
   kuralı satırın span'lerini soluk tona düşürüyordu; fiyat da onu miras alıp
   #CAD8EC çiziliyordu. Fiyat satırın en belirgin öğesi olmalı: --ink. */
.po-row-p { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums;
  color: var(--ink); }
/* Fiyatın altında kalan stok — yalnızca hediye kartlarında. */
.po-row-r { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; flex: none; }
.po-row-s { font-size: 11px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.po-row:has(input:checked) .po-row-s { color: var(--accent-ink); opacity: .75; }
.po-row:has(input:checked) .po-row-p { color: var(--accent-ink); }
.po-scroll-hint { position: sticky; bottom: 0; margin-top: -8px; padding: 26px 0 4px; text-align: center;
  font-size: 12px; font-weight: 700; color: var(--muted); pointer-events: none; flex: none;
  background: linear-gradient(180deg, transparent, var(--surface) 55%); }
.po-scroll-hint[hidden] { display: none; }

/* Siparis ozeti SAG RAY: sayfa kaydirilirken toplam ve buton ekranda kalir.
   Eskiden altta tam genislikteydi; musteri paketi sectikten sonra fiyati
   gormek icin asagi inmek zorundaydi. */
.po-sum { padding: 18px 20px 18px; position: sticky; top: 18px; }
/* Rayda alan dar: etiket ustte, giris tam genislikte. */
.po-sum .po-r.po-f { flex-direction: column; align-items: stretch; gap: 6px;
  padding: 10px 14px; }
.po-sum .po-r.po-f > label { color: var(--ink); }
.po-sum .po-r.po-f input, .po-sum .po-r.po-f select { width: 100%; max-width: none; }
.po-r { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 14px; margin-bottom: 8px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface-2); font-size: 13.5px; }
.po-r > span:first-child, .po-r > label { color: var(--muted); font-weight: 600; }
.po-r > b { font-weight: 700; text-align: right; }
.po-r > label .hint { display: block; margin-top: 2px; font-weight: 500; }
.po-r.po-f { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); padding: 8px 8px 8px 14px; }
.po-r.po-f > label { color: var(--ink); }
.po-r.po-f input, .po-r.po-f select { width: 260px; max-width: 55%; height: 40px; padding: 0 12px; }
.po-foot { display: flex; flex-direction: column; align-items: stretch; gap: 10px;
  padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--line); }
.po-foot .button, .po-foot .btn-primary { width: 100%; justify-content: center; }
.po-topay { font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
/* Odenecek tutar: 30px cok baskindi. Paket fiyati 15px, ozet satiri
   13.5px; ikisinin ustunde ama ezmeyen bir punto. */
.po-amt { font-size: 22px; font-weight: 800; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums; line-height: 1.15; }
.po-err { color: var(--bad); font-size: 13px; font-weight: 600; margin: 0 0 8px; }
/* Oyuncu kimliği bilgisi: yalnızca bilgilendirme, siparişi engellemez. */
.po-idc { display: flex; align-items: center; gap: 8px; margin: -2px 0 10px; padding: 8px 14px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2);
  font-size: 13px; color: var(--muted); }
.po-idc[hidden] { display: none; }
.po-idc b { color: var(--ink); font-weight: 700; }
.po-idc .po-idc-srv { color: var(--info); font-weight: 700; }
.po-idc.is-miss { border-color: color-mix(in srgb, var(--bad) 40%, var(--line)); }
.po-err[hidden] { display: none; }
@media (max-width: 1100px) {
  /* Ray dar ekranda alta iner ve yapiskanligi birakir. */
  .po { grid-template-columns: 1fr; }
  .po-sum { position: static; }
}
@media (max-width: 900px) {
  .po-top { grid-template-columns: 1fr; }
  .po-r.po-f { flex-direction: column; align-items: stretch; }
  .po-r.po-f input, .po-r.po-f select { width: 100%; max-width: none; }
  /* Dar ekranda kahraman gorsel tam genislikti: ilk paket ~900 px, siparis
     dugmesi ~1.700 px asagida kaliyordu (2026-09-11 denetimi, D9). Yan panel
     kompakt bir baslik satirina doner: kucuk gorsel + ad yan yana, geri/favori
     dugmeleri ustte kendi satirinda, not ve rozetler altta. Paketler ilk
     ekranda gorunur. */
  .po-side { display: grid; grid-template-columns: 76px minmax(0, 1fr);
    grid-template-rows: auto auto; column-gap: 14px; row-gap: 10px; align-items: center;
    padding: 12px 14px 14px; }
  .po-back, .po-fav { position: static; grid-row: 1; }
  .po-back { grid-column: 1; justify-self: start; }
  .po-fav { grid-column: 2; justify-self: end; }
  .po-side .po-img { grid-row: 2; grid-column: 1; width: 76px; border-radius: 10px; }
  .po-side .po-cover { font-size: 11px; padding: 6px; }
  .po-side .po-name { grid-row: 2; grid-column: 2; margin: 0; font-size: 17px; }
  .po-side .po-note, .po-side .po-trust, .po-side .po-crypto, .po-side .po-group { grid-column: 1 / -1; margin-top: 2px; }
  .po-trust { flex-direction: row; flex-wrap: wrap; gap: 8px 14px; }
}

/* --- pencere --- */
.modal-back { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px;
  background: color-mix(in srgb, var(--paper) 72%, transparent); backdrop-filter: blur(4px); }
.modal-back[hidden] { display: none; }
.modal { position: relative; width: min(440px, 100%); background: var(--surface); border: 1px solid var(--line);
  border-radius: 20px; padding: 26px 24px 22px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.9);
  animation: pop .22s cubic-bezier(.2,.7,.2,1) both; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-x { position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--surface-2); color: var(--muted); cursor: pointer;
  font: inherit; font-size: 16px; line-height: 1; display: grid; place-items: center; }
.modal-x:hover { color: var(--ink); border-color: var(--accent); }
.modal-ic { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 12px; display: grid; place-items: center;
  background: var(--ok-bg); color: var(--ok); }
.modal-ic svg { width: 24px; height: 24px; }
.modal-ic.bad { background: var(--bad-bg); color: var(--bad); }
.modal h3 { margin: 0; text-align: center; font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.modal .modal-sub { margin: 4px 0 16px; text-align: center; color: var(--muted); font-size: 13.5px; }
.modal .po-r { padding: 9px 12px; margin-bottom: 6px; }
.modal .button { margin-top: 12px; }
.modal [hidden] { display: none; }


/* ============================================================
   Ledger duzeni (2026-09-09)
   YAPI eklemeleri. Tek bir sabit renk yok; hepsi mevcut jetonlardan.
   ============================================================ */



/* Katalog filtre rayi. 316 urunde tek arama kutusu yetmiyordu. */
.cat-shell { display: grid; grid-template-columns: 236px 1fr; gap: 18px; align-items: start; }
.facets { position: sticky; top: 18px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; }
.facet { padding: 13px 15px; border-bottom: 1px solid var(--line-soft); }
.facet:last-child { border-bottom: 0; }
.facet-h { font-size: 11px; text-transform: uppercase; letter-spacing: .09em; color: var(--muted);
  font-weight: 700; margin-bottom: 8px; }
.facet a { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 13.5px;
  color: var(--ink-2); text-decoration: none; }
.facet a:hover { color: var(--accent-ink); text-decoration: none; }
.facet a.on { color: var(--accent-ink); font-weight: 700; }
.facet a .c { margin-left: auto; font-size: 12px; color: var(--muted);
  font-variant-numeric: tabular-nums; }


@media (max-width: 900px) {
  .cat-shell { grid-template-columns: 1fr; }
  .facets { position: static; }
}

/* --- odeme sayfasi ("pay sheet"): fatura ve kalici adres ayni dili konusur.
   Merkezde tek kart: durum + buyuk tutar (hero), adres + kopyala, "tam bu
   tutari gonder" uyarisi, QR + bilgi karolari. Renkler tema jetonlarindan;
   acik/koyu ikisinde de okunur. --- */
.pay { max-width: 580px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-card); }
.pay-hero { text-align: center; padding: 26px 22px 22px; border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, var(--surface-2), color-mix(in srgb, var(--surface-2) 45%, var(--surface))); }
.pay-state { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; }
.pay-state i { width: 9px; height: 9px; border-radius: 50%; background: currentColor;
  animation: paypulse 1.6s ease-out infinite; }
.pay-state--wait { color: var(--warn); }
.pay-state--confirm { color: var(--info); }
.pay-state--open { color: var(--ok); }
.pay-state--open i { animation: none; }
@keyframes paypulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 45%, transparent); }
  100% { box-shadow: 0 0 0 10px transparent; } }
.pay-big { margin: 12px 0 10px; display: flex; justify-content: center; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pay-big-num { font-size: clamp(34px, 6vw, 46px); font-weight: 800; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums; color: var(--ink); line-height: 1; }
.pay-big-unit { font-size: 18px; font-weight: 700; color: var(--ink-2); }
.pay-chips { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pay-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px;
  background: var(--accent-wash); color: var(--accent-ink); font-size: 12.5px; font-weight: 700; }
.pay-chip.muted { background: var(--surface); color: var(--muted); border: 1px solid var(--line-soft); font-weight: 600; }
.pay-chip svg { width: 13px; height: 13px; }
.pay-chip.is-late { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 45%, var(--line)); font-variant-numeric: tabular-nums; }
.pay-chip[data-countdown] { font-variant-numeric: tabular-nums; }
.pay-body { padding: 22px; display: grid; gap: 18px; }
.pay-label { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px; }
.pay-addr { font-family: var(--mono); font-size: 14px; word-break: break-all; line-height: 1.5; padding: 12px 14px;
  border: 1px solid var(--line-soft); border-radius: 10px; background: var(--paper); color: var(--ink);
  font-feature-settings: "tnum" 1, "liga" 0, "clig" 0, "calt" 0; }
.pay .button.wide-btn { margin-top: 10px; }
.pay .button svg { width: 15px; height: 15px; }
.pay-callout { border: 1px solid color-mix(in srgb, var(--warn) 45%, var(--line)); background: var(--warn-bg);
  border-radius: 14px; padding: 16px 18px; }
.pay-callout.info { border-color: color-mix(in srgb, var(--info) 45%, var(--line)); background: var(--info-bg); }
.pay-callout-h { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; color: var(--warn); }
.pay-callout.info .pay-callout-h { color: var(--info); }
.pay-callout-h svg { width: 16px; height: 16px; flex: none; }
.pay-callout-amt { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 10px 0 8px;
  font-size: 26px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--ink); }
.pay-callout p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.pay-callout p + p { margin-top: 6px; }
.pay .button.small { height: 32px; padding: 0 12px; font-size: 12.5px; margin: 0; }
.pay-grid { display: grid; grid-template-columns: 204px minmax(0, 1fr); gap: 16px; align-items: start; }
.pay-qr { display: grid; justify-items: center; gap: 8px; }
.pay-qr svg { width: 184px; height: 184px; background: #fff; padding: 10px; border-radius: 14px; }
.pay-qr span { font-size: 12px; color: var(--muted); font-weight: 600; }
.pay-tiles { display: grid; gap: 10px; }
.pay-tile { border: 1px solid var(--line-soft); border-radius: 12px; padding: 11px 13px; background: var(--paper);
  font-size: 13.5px; line-height: 1.45; color: var(--ink); }
.pay-tile b { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 4px; }
.pay-tile.tone-bad { border-color: color-mix(in srgb, var(--bad) 40%, var(--line-soft)); }
.pay-tile.tone-bad b { color: var(--bad); }
.pay-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.pay-actions .button { margin-top: 0; }
.pay-foot { font-size: 13px; color: var(--muted); line-height: 1.5; margin: 0; }
.pay-list { margin: 0; }
@media (max-width: 560px) {
  .pay-grid { grid-template-columns: 1fr; }
  .pay-body { padding: 16px; }
  .pay-hero { padding: 22px 16px 18px; }
}

/* --- siparis durum gecmisi (musteri): kart basina bir basamak --- */
.sh-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sh-item { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start;
  padding: 12px 14px; border: 1px solid var(--line-soft); border-radius: 12px; background: var(--paper); }
.sh-icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--surface); color: var(--muted); }
.sh-icon svg { width: 18px; height: 18px; }
.sh-body { display: grid; gap: 2px; min-width: 0; }
.sh-title { font-size: 16px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.sh-note { font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.sh-when { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; margin-top: 2px; }
.sh-item.tone-ok { border-color: color-mix(in srgb, var(--ok) 45%, var(--line-soft)); background: var(--ok-bg); }
.sh-item.tone-ok .sh-icon { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 50%, var(--line)); }
.sh-item.tone-warn { border-color: color-mix(in srgb, var(--warn) 45%, var(--line-soft)); background: var(--warn-bg); }
.sh-item.tone-warn .sh-icon { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 50%, var(--line)); }
.sh-item.tone-bad { border-color: color-mix(in srgb, var(--bad) 45%, var(--line-soft)); background: var(--bad-bg); }
.sh-item.tone-bad .sh-icon { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 50%, var(--line)); }
.sh-item.is-current .sh-icon svg { animation: shspin 6s linear infinite; }
@keyframes shspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .sh-item.is-current .sh-icon svg { animation: none; } }


/* --- oyun sayfası (/g/<slug>) — iki kabukta da çizilir --- */
.po-group { display: inline-block; margin: 6px 4px 0; font-size: 12.5px; font-weight: 700; color: var(--accent-ink); }
.hub { display: flex; flex-direction: column; gap: 22px; }
.hub-h { margin: 0 0 8px; font-size: 17px; font-weight: 800; letter-spacing: -.015em; }
.hub-note { margin: 0 0 12px; font-size: 13px; color: var(--muted); }
.hub-intro { max-width: 72ch; font-size: 14.5px; line-height: 1.6; }
.hub-intro h2 { font-size: 17px; margin: 18px 0 6px; }
.hub-intro h3 { font-size: 15px; margin: 14px 0 4px; }
.hub-intro p { margin: 0 0 10px; }
.hub-intro ul, .hub-intro ol { margin: 0 0 10px 20px; }
.hub-prices td, .hub-prices th { vertical-align: middle; }
.hub-faq { max-width: 72ch; }
.hub-q { padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); margin-bottom: 8px; }
.hub-q summary { cursor: pointer; font-weight: 700; font-size: 14px; }
.hub-q p { margin: 8px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--muted); }

/* --- kripto açılış sayfası ve bağlantıları --- */
.po-crypto { display: block; margin: 10px 4px 0; font-size: 12.5px; font-weight: 700; color: var(--accent-ink); }
.hub-crypto { padding: 14px 16px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line));
  background: color-mix(in srgb, var(--accent) 6%, var(--surface-2)); max-width: 72ch; }
.hub-crypto p { margin: 0; font-size: 14px; line-height: 1.5; }
.hub-crypto a { font-weight: 700; color: var(--accent-ink); }
.cr { display: flex; flex-direction: column; gap: 26px; }
.cr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.cr-card { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.cr-card h3 { margin: 0 0 6px; font-size: 14.5px; font-weight: 800; }
.cr-card p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.cr-step { position: relative; padding-left: 44px; }
.cr-step .n { position: absolute; left: 14px; top: 16px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent); font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.cr-methods { display: flex; flex-wrap: wrap; gap: 10px; }
.cr-method { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface-2); min-width: 220px; }
.cr-method b { font-size: 15px; }
.cr-method span { font-size: 12.5px; color: var(--muted); }
.cr-cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
