/* ==========================================================================
   SRK VAULT — ULTRA LUXURY HYPER-PREMIUM DESIGN SYSTEM (WORLD CLASS EDIT)
   ========================================================================== */
/* Fonts are loaded once from page_header/layout; duplicate @import removed for faster first paint. */

:root {
  /* Color Palette: Obsidian, Deep Midnight & Champagne Gold */
  --void: #06080e;
  --slab: #0e121d;
  --slab-2: #141926;
  --raise: #1a2030;
  
  --hair: rgba(243, 208, 130, 0.22);
  --hair-glow: rgba(243, 208, 130, 0.45);
  --hair-soft: rgba(255, 255, 255, 0.08);
  
  --gold: #f3d082;
  --gold-light: #fff2d4;
  --gold-deep: #c99e4c;
  --gold-glow: rgba(243, 208, 130, 0.28);
  --gold-gradient: linear-gradient(135deg, #fff2d4 0%, #f3d082 45%, #c99e4c 100%);
  
  --cyan: #00f2fe;
  --cyan-glow: rgba(0, 242, 254, 0.25);
  --jade: #10b981;
  --rose: #ff4757;
  --amber: #ffa502;
  
  --text: #f4f6fc;
  --muted: #949db3;
  --dim: #626a80;
  
  --r: 18px;
  --r-sm: 12px;
  --r-lg: 24px;

  --glass-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  --glass-border: linear-gradient(135deg, rgba(243, 208, 130, 0.25), rgba(255, 255, 255, 0.05) 60%, rgba(0, 242, 254, 0.15));
  --box-shadow-lux: 0 20px 50px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(243, 208, 130, 0.12), transparent 60%),
    radial-gradient(1000px 500px at 5% -5%, rgba(0, 242, 254, 0.08), transparent 55%),
    radial-gradient(800px 400px at 50% 100%, rgba(147, 51, 234, 0.06), transparent 60%),
    var(--void);
  background-attachment: fixed;
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, .f-display, .btn, .eyebrow, .stat-v {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  letter-spacing: -0.01em;
}

.mono, code, .trx, .uid {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: -0.02em;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

a:hover {
  color: var(--gold-light);
  text-shadow: 0 0 10px rgba(243, 208, 130, 0.4);
}

.muted { color: var(--muted); }
.dim { color: var(--dim); }
img { max-width: 100%; height: auto; }

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

main {
  flex: 1 0 auto;
  padding: 26px 0 70px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.68rem;
  color: var(--gold);
  font-weight: 700;
  text-shadow: 0 0 12px rgba(243, 208, 130, 0.3);
}

.hr {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hair), transparent);
  border: 0;
  margin: 28px 0;
}

/* ==========================================================================
   TOPBAR & NAVIGATION
   ========================================================================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(6, 8, 14, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--hair-soft);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.topbar-in {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 66px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
}

.logo .mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 900;
  color: #120e06;
  background: var(--gold-gradient);
  box-shadow: 0 6px 20px rgba(243, 208, 130, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.logo:hover .mark {
  transform: scale(1.06) rotate(-3deg);
  box-shadow: 0 8px 25px rgba(243, 208, 130, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.logo small {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
}

.top-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.navrail {
  border-bottom: 1px solid var(--hair-soft);
  background: rgba(14, 18, 29, 0.6);
  backdrop-filter: blur(12px);
}

.navrail-in {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 10px 0;
}
.navrail-in::-webkit-scrollbar { display: none; }

.navlink {
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  color: var(--muted);
  padding: 0.48rem 0.95rem;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.navlink:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.navlink.on {
  color: var(--gold);
  border-color: var(--hair-glow);
  background: linear-gradient(135deg, rgba(243, 208, 130, 0.15), rgba(243, 208, 130, 0.04));
  box-shadow: 0 4px 15px rgba(243, 208, 130, 0.15);
}

/* ==========================================================================
   BUTTONS & CONTROLS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.68rem 1.25rem;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #120e06;
  box-shadow: 0 6px 22px rgba(243, 208, 130, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-gold::before {
  content: "";
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.btn-gold:hover::before {
  left: 100%;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(243, 208, 130, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  color: #0d0a04;
}

.btn-line {
  border-color: var(--hair);
  color: var(--text);
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(8px);
}

.btn-line:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(243, 208, 130, 0.08);
  box-shadow: 0 6px 20px rgba(243, 208, 130, 0.15);
  transform: translateY(-1.5px);
}

.btn-ghost {
  color: var(--muted);
  background: transparent;
}

.btn-ghost:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.btn-lg {
  padding: 0.92rem 1.6rem;
  font-size: 1rem;
  width: 100%;
  border-radius: 14px;
}

.btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.78rem;
  border-radius: 9px;
}

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

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
}

/* ==========================================================================
   PANELS & LAYOUT GRIDS
   ========================================================================== */
.panel {
  background: var(--glass-bg);
  border: 1px solid var(--hair-soft);
  border-radius: var(--r);
  padding: 24px;
  box-shadow: var(--box-shadow-lux);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.panel-gold {
  border-color: var(--hair);
  box-shadow: inset 0 1px 0 rgba(243, 208, 130, 0.18), 0 20px 45px rgba(0, 0, 0, 0.5);
}

.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g6 { grid-template-columns: repeat(6, 1fr); }
.split { display: grid; grid-template-columns: 1.35fr 0.95fr; gap: 24px; }
.row { display: flex; gap: 14px; flex-wrap: wrap; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 14px; }

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 40px 0 18px;
}

.sec-head h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff 40%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sec-head a {
  font-size: 0.82rem;
  font-weight: 700;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   HERO & TICKET CONSOLE
   ========================================================================== */
.hero {
  position: relative;
  border: 1px solid var(--hair-glow);
  border-radius: var(--r-lg);
  overflow: hidden;
  background:
    radial-gradient(600px 300px at 90% 10%, rgba(243, 208, 130, 0.15), transparent 70%),
    radial-gradient(500px 250px at 10% 90%, rgba(0, 242, 254, 0.1), transparent 70%),
    var(--slab);
  padding: 36px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(243, 208, 130, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 208, 130, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(circle at 85% 15%, #000, transparent 65%);
  mask-image: radial-gradient(circle at 85% 15%, #000, transparent 65%);
  pointer-events: none;
}

.hero-in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(1.85rem, 3.8vw, 2.85rem);
  line-height: 1.15;
  margin: 0.6rem 0 0.8rem;
  font-weight: 800;
}

.hero h1 em {
  font-style: normal;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 15px rgba(243, 208, 130, 0.3));
}

.hero p {
  color: var(--muted);
  margin: 0 0 22px;
  max-width: 46ch;
  font-size: 0.96rem;
}

.trust {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--hair-soft);
}

.trust div { font-size: 0.76rem; color: var(--muted); }
.trust b {
  display: block;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 1.12rem;
  color: var(--text);
  font-weight: 700;
}

/* SIGNATURE: verification ticket console */
.ticket {
  position: relative;
  background: var(--slab-2);
  border: 1px solid var(--hair-glow);
  border-radius: 20px;
  padding: 22px 22px 18px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45);
}

.ticket::before, .ticket::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--void);
  border: 1px solid var(--hair-glow);
  top: calc(50% + 6px);
  transform: translateY(-50%);
}
.ticket::before { left: -13px; }
.ticket::after { right: -13px; }

.ticket .perf {
  border: 0;
  border-top: 1px dashed rgba(243, 208, 130, 0.32);
  margin: 16px -22px;
}

.game-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 14px 0 16px;
  padding-bottom: 4px;
}
.game-tabs::-webkit-scrollbar { display: none; }

.gt {
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  padding: 0.48rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--hair-soft);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: all 0.2s ease;
}

.gt:hover {
  color: var(--text);
  border-color: var(--hair);
  background: rgba(255, 255, 255, 0.06);
}

.gt.on {
  color: #120e06;
  background: var(--gold-gradient);
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(243, 208, 130, 0.35);
}

.id-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.id-row.two { grid-template-columns: 1.4fr 0.8fr auto; }

.result { margin-top: 16px; display: none; }
.result.on { display: block; animation: rise 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.stamp {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.04));
  border: 1px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.15);
}

.stamp .seal {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: var(--jade);
  flex: 0 0 auto;
}

.stamp .who { font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; font-weight: 700; font-size: 1.05rem; }
.stamp .meta { font-size: 0.76rem; color: var(--muted); }

.checking {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.88rem;
  padding: 14px 16px;
  border: 1px dashed var(--hair);
  border-radius: 14px;
  background: rgba(243, 208, 130, 0.03);
}

.spin {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(243, 208, 130, 0.25);
  border-top-color: var(--gold);
  animation: sp 0.75s linear infinite;
}
@keyframes sp { to { transform: rotate(360deg); } }

/* ==========================================================================
   INPUTS & FORMS
   ========================================================================== */
.field { display: block; margin-bottom: 16px; }
.field label, .lab {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 7px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

input, select, textarea {
  width: 100%;
  background: rgba(4, 6, 12, 0.45);
  border: 1px solid var(--hair-soft);
  color: var(--text);
  border-radius: 12px;
  padding: 0.75rem 0.95rem;
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
  transition: all 0.2s ease;
}

input.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

input:focus, select:focus, textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3.5px var(--gold-glow);
  background: rgba(6, 9, 16, 0.7);
}

input::placeholder { color: var(--dim); }

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--gold) 50%),
    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.hint { font-size: 0.76rem; color: var(--dim); margin: 7px 0 0; }

/* ==========================================================================
   PRODUCT CARDS & TILES
   ========================================================================== */
.tile {
  display: block;
  border: 1px solid var(--hair-soft);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--slab);
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.22s ease, box-shadow 0.22s ease;
  height: 100%;
  position: relative;
}

.tile:hover {
  transform: translateY(-5px) scale(1.01);
  border-color: var(--hair-glow);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.65), 0 0 25px rgba(243, 208, 130, 0.15);
}

.art {
  aspect-ratio: 5 / 4;
  display: grid;
  place-items: center;
  position: relative;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  text-align: center;
  padding: 12px;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6, 8, 14, 0.85));
}

.art span { position: relative; z-index: 1; }

.a1 { background: linear-gradient(145deg, #4c1d47, #131e42); }
.a2 { background: linear-gradient(145deg, #0e344a, #16203d); }
.a3 { background: linear-gradient(145deg, #241944, #3e274c); }
.a4 { background: linear-gradient(145deg, #11362e, #16273d); }
.a5 { background: linear-gradient(145deg, #3d2912, #211a2e); }
.a6 { background: linear-gradient(145deg, #2b1730, #112842); }

.tile-body { padding: 14px 16px 16px; }
.tile-body h3 {
  margin: 0 0 4px;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text);
}

.price {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-weight: 800;
  color: var(--gold);
  font-size: 1.02rem;
  text-shadow: 0 0 10px rgba(243, 208, 130, 0.25);
}

.was {
  color: var(--dim);
  text-decoration: line-through;
  font-size: 0.82rem;
  margin-left: 8px;
  font-weight: 500;
}

.save {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: 8px;
  background: var(--gold-gradient);
  color: #120e06;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 8px;
  border: 1px solid var(--hair-soft);
  color: var(--muted);
}

.pill-live {
  color: var(--jade);
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.12);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.2);
}

.pill-gold {
  color: var(--gold);
  border-color: var(--hair-glow);
  background: rgba(243, 208, 130, 0.12);
}

.rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 6px;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { flex: 0 0 210px; }

/* ==========================================================================
   VARIANT PACKS SELECTION
   ========================================================================== */
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pk { position: relative; }
.pk input { position: absolute; opacity: 0; pointer-events: none; }
.pk label {
  display: flex;
  flex-direction: column;
  gap: 3px;
  border: 1px solid var(--hair-soft);
  background: rgba(255, 255, 255, 0.025);
  border-radius: 14px;
  padding: 0.8rem 0.9rem;
  cursor: pointer;
  height: 100%;
  transition: all 0.2s ease;
}

.pk label:hover {
  border-color: var(--hair);
  background: rgba(255, 255, 255, 0.05);
}

.pk input:checked + label {
  border-color: var(--gold);
  background: linear-gradient(160deg, rgba(243, 208, 130, 0.2), rgba(243, 208, 130, 0.06));
  box-shadow: inset 0 0 0 1.5px var(--gold), 0 8px 25px rgba(243, 208, 130, 0.2);
}

.pk .n { font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; font-weight: 700; font-size: 0.9rem; }
.pk .p { color: var(--gold); font-size: 0.86rem; font-weight: 800; }
.pk input:disabled + label { opacity: 0.4; cursor: not-allowed; }

/* ==========================================================================
   BADGES, TABLES & STATS
   ========================================================================== */
.sum-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 0.9rem; }
.sum-row.total {
  border-top: 1px solid var(--hair-soft);
  margin-top: 10px;
  padding-top: 14px;
  font-size: 1.08rem;
  font-weight: 700;
}

.badge {
  display: inline-block;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.28rem 0.65rem;
  border-radius: 8px;
}
.b-pending { background: rgba(255, 165, 2, 0.16); color: var(--amber); border: 1px solid rgba(255, 165, 2, 0.3); }
.b-proc { background: rgba(243, 208, 130, 0.16); color: var(--gold); border: 1px solid var(--hair-glow); }
.b-done { background: rgba(16, 185, 129, 0.16); color: var(--jade); border: 1px solid rgba(16, 185, 129, 0.3); }
.b-cancel { background: rgba(255, 71, 87, 0.16); color: var(--rose); border: 1px solid rgba(255, 71, 87, 0.3); }

table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
th {
  text-align: left;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--dim);
  font-weight: 700;
  padding: 0 12px 12px;
  border-bottom: 1px solid var(--hair-soft);
}
td { padding: 14px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); vertical-align: middle; }
.tbl-wrap { overflow-x: auto; }

.stat {
  padding: 18px 20px;
  border: 1px solid var(--hair-soft);
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent);
}
.stat .l { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--dim); font-weight: 700; }
.stat-v { font-size: 1.6rem; font-weight: 800; margin-top: 6px; }

.bar-line { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.bar-line i { display: block; height: 100%; background: var(--gold-gradient); }

.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 6px; }
.dot-on { background: var(--jade); box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2); }
.dot-off { background: var(--rose); box-shadow: 0 0 0 4px rgba(255, 71, 87, 0.2); }

.note {
  border-left: 3px solid var(--gold);
  padding: 12px 16px;
  background: rgba(243, 208, 130, 0.08);
  border-radius: 0 12px 12px 0;
  font-size: 0.88rem;
}

.codebox {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  padding: 14px 16px;
  border: 1px dashed var(--hair-glow);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.4);
  word-break: break-all;
  color: var(--gold);
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.5);
}

.flow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 0.82rem; color: var(--muted); }
.flow b { font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; color: var(--text); font-weight: 700; }
.flow .step { border: 1px solid var(--hair-soft); border-radius: 12px; padding: 0.6rem 0.85rem; background: rgba(255, 255, 255, 0.03); }

.foot {
  border-top: 1px solid var(--hair-soft);
  padding: 30px 0;
  color: var(--dim);
  font-size: 0.82rem;
  background: rgba(14, 18, 29, 0.5);
}

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

@media (max-width: 900px) {
  .split, .hero-in { grid-template-columns: 1fr; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g6 { grid-template-columns: repeat(3, 1fr); }
  .g3 { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 14px; }
  .hero { padding: 22px; border-radius: 20px; }
  .packs { grid-template-columns: repeat(2, 1fr); }
  .g6 { grid-template-columns: repeat(2, 1fr); }
  .g2 { grid-template-columns: 1fr; }
  .rail > * { flex: 0 0 175px; }
  .id-row.two { grid-template-columns: 1fr 1fr; }
  .id-row.two .btn { grid-column: 1 / -1; }
}

/* ==========================================================================
   ALERTS & THUMBNAILS
   ========================================================================== */
.alert { border-radius: 14px; padding: 14px 18px; font-size: 0.88rem; margin-bottom: 16px; border: 1px solid var(--hair-soft); }
.alert-ok { background: rgba(16, 185, 129, 0.12); border-color: rgba(16, 185, 129, 0.35); color: #a7f3d0; }
.alert-bad { background: rgba(255, 71, 87, 0.12); border-color: rgba(255, 71, 87, 0.35); color: #fecdd3; }
.alert-warn { background: rgba(255, 165, 2, 0.12); border-color: rgba(255, 165, 2, 0.35); color: #fef3c7; }
.alert-info { background: rgba(243, 208, 130, 0.1); border-color: var(--hair-glow); color: #fde68a; }

.pager { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.pager a {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--hair-soft);
  color: var(--muted);
}
.pager a.on, .pager a:hover { border-color: var(--gold); color: var(--gold); background: rgba(243, 208, 130, 0.1); }

.thumb-img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; display: block; background: #080b12; }
.chk { display: flex; align-items: center; gap: 10px; font-size: 0.86rem; color: var(--muted); padding: 0.4rem 0; }
.chk input { width: 18px; height: 18px; accent-color: var(--gold-deep); flex: 0 0 auto; }
.empty { text-align: center; padding: 45px 20px; color: var(--dim); }
form.inline { display: inline; }
.sticky-side { position: sticky; top: 90px; }
@media (max-width: 900px) { .sticky-side { position: static; } }

/* ========================================================================== 
   SRK GLOBAL RESPONSIVE CONTENT WIDTH SYSTEM — 2026-09-05
   --------------------------------------------------------------------------
   Purpose:
   - Remove the large empty left/right gutters seen on tablet / desktop mode.
   - Keep one consistent content width across shop, account, wallet, checkout
     and the data-heavy admin screens.
   - Do NOT stretch login / register / password forms or policy reading pages.
   ========================================================================== */
:root {
  --srk-content-max: 1440px;
}

/* The normal site shell now has enough room on wide/tablet desktop view. */
.wrap {
  max-width: var(--srk-content-max);
}

/* Customer screens that had their own smaller hard-coded max-width. */
body.srk-page-profile .ac,
body.srk-page-category .cat,
body.srk-page-search .sw,
body.srk-page-checkout .co-wrap,
body.srk-page-wallet main > .wrap,
body.srk-page-orders main > .wrap,
body.srk-page-product main > .wrap,
.srk-cart-page {
  width: 100% !important;
  max-width: var(--srk-content-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

/* Admin/data screens with the same narrow-column problem. */
.srk-cur-wrap,
.cpw,
.srk-fm,
.srk-ub,
.pb,
.su,
.srk-ship,
.srk-sc,
.gvp,
.pc-wrap,
.oq-wrap,
.ss {
  width: 100% !important;
  max-width: var(--srk-content-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

/* Use the screen efficiently on phones/tablets without touching the forms'
   intentional max-width. */
@media (max-width: 899px) {
  .wrap {
    padding-left: 12px;
    padding-right: 12px;
  }

  body.srk-page-profile .ac,
  body.srk-page-category .cat,
  body.srk-page-search .sw,
  body.srk-page-checkout .co-wrap,
  body.srk-page-wallet main > .wrap,
  body.srk-page-orders main > .wrap,
  body.srk-page-product main > .wrap,
  .srk-cart-page,
  .srk-cur-wrap,
  .cpw,
  .srk-fm,
  .srk-ub,
  .pb,
  .su,
  .srk-ship,
  .srk-sc,
  .gvp,
  .pc-wrap,
  .oq-wrap,
  .ss {
    max-width: 100% !important;
  }
}



/* ==========================================================================
   SRK REAL GLOBAL WIDTH OVERRIDE — 2026-09-05
   Fixes pages whose own .ac / inline max-width rules were winning over the
   earlier responsive patch.  This is intentionally CSS-only: no business
   logic, wallet, currency, order, Telegram or payment code is changed.
   ========================================================================== */

/* All normal customer pages: use the available viewport instead of 760/820px
   narrow columns.  !important is required because several page templates set
   their own max-width or inline max-width. */
main > .wrap,
main > div.wrap,
main .wrap.ac,
main .wrap.ac.ac-orders-wide {
  width: 100% !important;
  max-width: 1320px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
  box-sizing: border-box !important;
}

/* Profile / My Orders / Wallet history currently use .ac{max-width:760px}. */
main .ac {
  width: 100% !important;
  max-width: 1320px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Checkout and wallet-topup pages may have their own page wrapper. */
main .co-wrap,
main [class*="wallet-wrap"],
main [class*="wallet_topup"],
main [class*="wallet-topup"] {
  width: 100% !important;
  max-width: 1320px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

/* Keep readable side breathing room but remove the huge gutters on tablets. */
@media (min-width: 600px) and (max-width: 1399px) {
  main > .wrap,
  main > div.wrap,
  main .wrap.ac,
  main .wrap.ac.ac-orders-wide,
  main .ac,
  main .co-wrap {
    max-width: calc(100vw - 32px) !important;
  }
}

/* Phones stay edge-safe. */
@media (max-width: 599px) {
  main > .wrap,
  main > div.wrap,
  main .wrap.ac,
  main .wrap.ac.ac-orders-wide,
  main .ac,
  main .co-wrap {
    max-width: 100% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}


/* ==========================================================================\n   SRK DESKTOP FULL-WIDTH CONTENT FIX — 2026-09-07\n   Desktop/laptop only. Mobile/tablet layout remains unchanged.\n   ========================================================================== */
@media (min-width: 1024px) {
  :root { --srk-content-max: 1540px; }

  body:not(.srk-page-login):not(.srk-page-register):not(.srk-page-forgot-password):not(.srk-page-reset-password) main > .wrap,
  body:not(.srk-page-login):not(.srk-page-register):not(.srk-page-forgot-password):not(.srk-page-reset-password) main > div.wrap,
  body.srk-page-category .cat,
  body.srk-page-search .sw,
  body.srk-page-profile .ac,
  body.srk-page-orders main > .wrap,
  body.srk-page-wallet main > .wrap,
  body.srk-page-product main > .wrap,
  body.srk-page-checkout .co-wrap,
  .srk-cart-page {
    width: calc(100% - 40px) !important;
    max-width: 1540px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  /* Keep a small safe gutter on very wide screens instead of a narrow centered column. */
  body.srk-page-category .cat { max-width: 1540px !important; }
}

/* ==========================================================================\n   SRK A-Z DESKTOP/LAPTOP RESPONSIVE SYSTEM — 2026-09-07\n   Desktop only. Phone/tablet rules below 1024px remain untouched.\n   ========================================================================== */
@media (min-width: 1024px) {
  html { font-size: 17px; }

  :root {
    --srk-desktop-gutter: clamp(22px, 2.4vw, 44px);
    --srk-desktop-max: 1680px;
  }

  body { min-width: 1024px; }
  main { width: 100%; padding-top: 30px; }

  /* Shared site/admin shells use the actual laptop width instead of mobile-like columns. */
  .wrap,
  main > .wrap,
  main > div.wrap,
  .cat,.sw,.ac,.co-wrap,.sc,.pb,
  .srk-cart-page,.srk-cur-wrap,.cpw,.srk-fm,.srk-ub,.srk-ship,.srk-sc,
  .gvp,.pc-wrap,.oq-wrap,.ss,.su,.sm,.aa,.pv,.srk-tools-wrap,.srk-ov,
  .wt-wrap,.pw,.api-sec,.srk-policy-page,.srk-license-vault,
  .profile-wrap,.add-wrap,.reset-wrap {
    width: calc(100vw - (var(--srk-desktop-gutter) * 2)) !important;
    max-width: var(--srk-desktop-max) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  /* Keep true authentication dialogs intentionally readable, not stretched edge-to-edge. */
  .srk-login-wrap,.srk-adm-wrap,.tf-wrap,.reg-wrap,.fp-wrap,.srk-rp-wrap,.srk-ban-page {
    width: min(760px, calc(100vw - 64px)) !important;
    max-width: 760px !important;
  }

  /* Desktop tables/forms/cards should no longer inherit tiny phone typography. */
  main input, main select, main textarea, main button,
  main .btn, main table, main .panel, main .card {
    font-size: max(0.82rem, 14px);
  }
  main h1 { font-size: clamp(1.55rem, 2vw, 2.15rem); }
  main h2 { font-size: clamp(1.18rem, 1.5vw, 1.55rem); }

  /* Generic grids/cards: let wide screens breathe without making cards microscopic. */
  .grid, .product-grid, .products-grid, .cat-grid, .category-grid {
    width: 100%;
  }

  /* Admin pages that used narrow hard-coded wrappers. */
  .profile-wrap,.add-wrap,.reset-wrap { padding-left: 24px !important; padding-right: 24px !important; }
  .pv-sub { max-width: 1180px !important; }

  /* Desktop header / admin navigation should span the same shell as page content. */
  .topbar > .wrap,
  .navrail > .wrap,
  .srk-home-search-band > .wrap {
    width: calc(100vw - (var(--srk-desktop-gutter) * 2)) !important;
    max-width: var(--srk-desktop-max) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .topbar-main { min-height: 66px !important; gap: 14px !important; }
  .srk-brand-img { width: 92px !important; height: 38px !important; }
  .logo-words { font-size: 1rem !important; }
  .dots-btn,.topbar-cart { width: 44px !important; height: 44px !important; }

  /* Keep the five-button SRK dock on desktop/laptop too. It still auto-hides while scrolling. */
  .orb-dock { display: block !important; }
  .srk-desktop-public-nav { display: block !important; }
  body { padding-bottom: 92px !important; }
  iframe[title*="chat" i] { bottom: 100px !important; }

  .srk-desktop-public-nav .navrail-in {
    min-height: 52px;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .srk-desktop-public-nav .navrail-in::-webkit-scrollbar { display:none; }
  .srk-desktop-public-nav .navlink {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 16px;
    font-size: .84rem;
    white-space: nowrap;
    border-radius: 11px;
  }

  /* Home builder and search should also use desktop width. */
  .srk-home-builder-zone > .wrap {
    width: calc(100vw - (var(--srk-desktop-gutter) * 2)) !important;
    max-width: var(--srk-desktop-max) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .srk-home-search-band .top-search { max-width: 980px !important; height: 48px !important; }
}

@media (min-width: 1440px) {
  html { font-size: 18px; }
}

/* SRK 2026-09-07: desktop storefront shell hardening. Mobile/tablet <=1024px unchanged. */
@media (min-width:1025px) {
  html { font-size: 16px !important; }
  body { min-width:0 !important; }
  .wrap { width:calc(100vw - 64px) !important; max-width:1640px !important; padding-left:0 !important; padding-right:0 !important; }
  .topbar > .wrap,.navrail > .wrap { width:calc(100vw - 64px) !important; max-width:1640px !important; }
  .topbar { min-height:76px; }
  .navrail { min-height:54px; }
  main { width:100%; }
}
@media (min-width:1600px) {
  .wrap,.topbar > .wrap,.navrail > .wrap { width:calc(100vw - 96px) !important; max-width:1740px !important; }
}
