/* Justice in the Dark — main stylesheet (logged-in) */

:root {
  --bg-deep: #0c0907;
  --bg-card: #15110d;
  --bg-card-2: #1c1712;
  --bg-elev: #221b15;
  --bg-row: #100c08;
  --border: #2c2418;
  --border-bright: #3d3322;
  --gold: #c8a258;
  --gold-bright: #e6c275;
  --gold-dim: #8a7546;
  --blood: #8b1a1a;
  --blood-bright: #b22b2b;
  --text: #e8dcc4;
  --text-dim: #a89a82;
  --text-faint: #6a5f4d;
  --health: #b22b2b;
  --energy: #e6c275;
  --money: #b89849;
  --bullet: #b8a48c;
  --location: #6a8da3;
  --mood: #c4a85a;
  --topbar-h: 52px;
  --sidebar-w: 168px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  min-height: 100vh;
  background: var(--bg-deep);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 13.5px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  background:
    radial-gradient(ellipse at top, rgba(139, 26, 26, 0.04) 0%, transparent 55%),
    radial-gradient(ellipse at bottom right, rgba(200, 162, 88, 0.025) 0%, transparent 50%),
    var(--bg-deep);
}

a { color: var(--gold); text-decoration: none; transition: color 120ms ease; }
a:hover { color: var(--gold-bright); }

.serif { font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif; }
.mono  { font-family: 'JetBrains Mono', 'SF Mono', 'Courier New', monospace; }

/* ---------- Topbar ---------- */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--topbar-h);
  background: linear-gradient(180deg, #14100b 0%, #0d0a07 100%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(200, 162, 88, 0.06) inset, 0 6px 20px rgba(0,0,0,0.4);
  display: flex;
  align-items: stretch;
  z-index: 100;
  font-size: 12.5px;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-right: 1px solid var(--border);
  white-space: nowrap;
  color: var(--text-dim);
  position: relative;
}

.topbar-item.is-action { cursor: pointer; }
.topbar-item.is-action:hover { background: rgba(200, 162, 88, 0.06); color: var(--text); }
.topbar-item .icon { width: 16px; height: 16px; flex-shrink: 0; }

.topbar-item.tb-logout { color: var(--blood); }
.topbar-item.tb-logout:hover { color: var(--blood-bright); background: rgba(139, 26, 26, 0.12); }

.topbar-item.tb-forum {
  color: var(--blood-bright);
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 11.5px;
}
.topbar-item.tb-forum:hover { color: #d44545; background: rgba(139, 26, 26, 0.12); }

.topbar-item.tb-user {
  color: var(--gold-bright);
  font-weight: 500;
}
.topbar-item.tb-user .clan-tag {
  font-size: 10.5px;
  color: var(--text-faint);
  margin-left: 2px;
}

.topbar-item.tb-online .icon { color: #4a8a5a; }
.topbar-item.tb-energy .icon { color: var(--energy); }
.topbar-item.tb-health .icon { color: var(--health); }
.topbar-item.tb-money  { color: var(--money); }
.topbar-item.tb-money .icon { color: var(--money); }
.topbar-item.tb-bullets .icon { color: var(--bullet); }
.topbar-item.tb-city   { color: var(--location); }
.topbar-item.tb-city .icon { color: var(--location); }
.topbar-item.tb-mood .icon { color: var(--mood); }
.topbar-item.tb-job .icon { color: var(--text-dim); }
.topbar-item.tb-rep .icon { color: var(--gold); }

.topbar-spacer { flex: 1; border-right: none; }

.topbar-item .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: -0.01em;
  color: var(--text);
}

@media (max-width: 1100px) {
  .topbar { overflow-x: auto; overflow-y: hidden; }
  .topbar::-webkit-scrollbar { height: 4px; }
  .topbar::-webkit-scrollbar-thumb { background: var(--border-bright); }
  .topbar-spacer { display: none; }
}

/* ---------- Layout ---------- */
.app {
  padding-top: var(--topbar-h);
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  min-height: 100vh;
}

.sidebar {
  background: linear-gradient(180deg, #110d09 0%, #0a0805 100%);
  border-right: 1px solid var(--border);
  padding: 16px 0 24px;
  position: sticky;
  top: var(--topbar-h);
  align-self: start;
  height: calc(100vh - var(--topbar-h));
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border-bright) transparent;
}

.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-thumb { background: var(--border-bright); }

/* sidebar group (link, no expansion) */
.sb-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 8px 16px;
  color: var(--text-dim);
  cursor: pointer;
  position: relative;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: color 150ms ease, background 150ms ease;
}
.sb-group:last-of-type { border-bottom: none; }
.sb-group:hover { color: var(--gold-bright); background: rgba(200, 162, 88, 0.04); }

.sb-group .icon { width: 28px; height: 28px; stroke-width: 1.4; }

.sb-group .label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  letter-spacing: 0.18em;
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
}

.sb-group.is-active { color: var(--gold-bright); background: rgba(200, 162, 88, 0.06); }
.sb-group.is-active::before {
  content: "";
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--gold);
}

.sb-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 22px;
  font-size: 12.5px;
  color: var(--text-dim);
  border-left: 2px solid transparent;
}
.sb-item:hover { color: var(--text); border-left-color: var(--gold-dim); background: rgba(200, 162, 88, 0.03); }
.sb-item.is-current {
  color: var(--gold-bright);
  border-left-color: var(--gold);
  background: rgba(200, 162, 88, 0.05);
}
.sb-item .dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--text-faint);
  flex-shrink: 0;
}
.sb-item.is-current .dot { background: var(--gold-bright); }
.sb-item:hover .dot { background: var(--gold-dim); }

/* mascot at bottom of sidebar */
.sb-mascot {
  margin-top: 24px;
  text-align: center;
  padding: 10px 12px 4px;
}
.sb-mascot-frame {
  width: 100%;
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 50% 35%, rgba(200, 162, 88, 0.12) 0%, transparent 60%),
    linear-gradient(180deg, #1c1712 0%, #0d0a07 100%);
  border: 1px solid var(--border-bright);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.sb-mascot-frame::before,
.sb-mascot-frame::after {
  content: "";
  position: absolute;
  width: 10px; height: 10px;
  border: 1px solid var(--gold-dim);
}
.sb-mascot-frame::before { top: 4px; left: 4px; border-right: none; border-bottom: none; }
.sb-mascot-frame::after { bottom: 4px; right: 4px; border-left: none; border-top: none; }
.sb-mascot-frame svg {
  width: 70%; height: 70%;
  color: var(--gold);
  opacity: 0.85;
}
.sb-mascot-name {
  margin-top: 8px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  letter-spacing: 0.22em;
  color: var(--blood-bright);
  text-transform: uppercase;
  font-weight: 600;
}
.sb-mascot-tag {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-faint);
  text-transform: uppercase;
  margin-top: 2px;
}

/* ---------- Main content ---------- */
.main {
  padding: 24px 28px 60px;
  min-width: 0;
}

.page-greeting {
  text-align: center;
  padding: 8px 0 22px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 22px;
}
.page-greeting h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gold-bright);
  margin-bottom: 6px;
}
.page-greeting .ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 6px 0 10px;
}
.page-greeting .ornament .line {
  height: 1px; width: 60px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}
.page-greeting .ornament .diamond {
  width: 6px; height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}
.page-greeting p {
  color: var(--text-dim);
  max-width: 720px;
  margin: 0 auto;
  font-size: 13px;
}

/* two-column dashboard grid */
.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
@media (max-width: 1000px) {
  .dash-grid { grid-template-columns: 1fr; }
}

/* panels */
.panel {
  background: linear-gradient(180deg, #15110d 0%, #110d09 100%);
  border: 1px solid var(--border);
  border-radius: 2px;
  position: relative;
}
.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(200, 162, 88, 0.08);
  margin: 3px;
  pointer-events: none;
  border-radius: 1px;
}

.panel-head {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  text-align: center;
  position: relative;
}
.panel-head h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--gold-bright);
}
.panel-head .sub {
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 2px;
}

.panel-body { padding: 4px 0; }

/* news table */
.news-table {
  width: 100%;
  border-collapse: collapse;
}
.news-table th, .news-table td {
  padding: 10px 14px;
  text-align: left;
  font-size: 12.5px;
  border-bottom: 1px solid var(--border);
}
.news-table th {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  letter-spacing: 0.14em;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-dim);
  background: rgba(0,0,0,0.25);
}
.news-table tr:last-child td { border-bottom: none; }
.news-table tbody tr:hover { background: rgba(200, 162, 88, 0.025); }
.news-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-faint);
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
}

/* version details */
.detail-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 14px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 12.5px;
}
.detail-row:last-child { border-bottom: none; }
.detail-row dt {
  color: var(--text-dim);
  font-weight: 500;
}
.detail-row dt .qmark {
  display: inline-block;
  width: 14px; height: 14px;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  text-align: center;
  line-height: 12px;
  font-size: 10px;
  color: var(--gold-dim);
  margin-left: 6px;
  cursor: help;
}
.detail-row dd {
  color: var(--text);
}
.detail-row dd ul { list-style: none; padding: 0; }
.detail-row dd ul li {
  padding: 2px 0 2px 14px;
  position: relative;
  color: var(--text-dim);
  font-size: 12px;
}
.detail-row dd ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold-dim);
}
.detail-row dd .accent { color: var(--gold-bright); }
.detail-row dd .blood { color: var(--blood-bright); }

/* Pe mobile: orice grid 1fr 1fr / repeat(2,1fr) / repeat(3,1fr) stiv vertical sa nu se rupa cuvintele */
@media (max-width: 720px) {
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:repeat(2,1fr)"],
  [style*="grid-template-columns:repeat(2, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns:repeat(3,1fr)"],
  [style*="grid-template-columns:repeat(3, 1fr)"] {
    grid-template-columns: 1fr 1fr !important;
  }
}
@media (max-width: 480px) {
  [style*="grid-template-columns:repeat(3,1fr)"],
  [style*="grid-template-columns:repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
  /* Previne ruperea cuvintelor in caractere verticale */
  .fact-card *, .panel *, .hub-panel * { word-break: normal; overflow-wrap: anywhere; }
}

/* Responsive — pe ecrane mici se stivuiesc detaliile */
@media (max-width: 640px) {
  .detail-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px 14px;
  }
  .detail-row dt {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-faint);
  }
  .news-table th, .news-table td {
    padding: 8px 10px;
    font-size: 11.5px;
  }
  .panel-head { padding: 12px 14px; }
  .panel-head h2 { font-size: 16px; }
  .dash-grid { gap: 14px; }
}
@media (max-width: 400px) {
  .detail-row dd { font-size: 12px; word-break: break-word; }
  .detail-row dd ul li { font-size: 11px; }
}

/* generic page card for stub pages */
.stub-card {
  margin-top: 8px;
  padding: 36px 32px;
  text-align: center;
}
.stub-card .icon-wrap {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-bright);
  color: var(--gold);
  background: rgba(200, 162, 88, 0.04);
}
.stub-card .icon-wrap svg { width: 28px; height: 28px; }
.stub-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--gold-bright);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.stub-card p { color: var(--text-dim); max-width: 540px; margin: 0 auto; }
.stub-card .badge {
  display: inline-block;
  margin-top: 18px;
  padding: 4px 12px;
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* footer (logged-in) */
.app-footer {
  grid-column: 2 / -1;
  text-align: center;
  padding: 18px 20px 12px;
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  border-top: 1px solid var(--border);
  margin-top: 30px;
}
.app-footer a { color: #89D6FB; }
.app-footer a:hover { color: #b1e3fc; }

/* utility */
.text-gold { color: var(--gold-bright); }
.text-dim  { color: var(--text-dim); }
.text-faint { color: var(--text-faint); }
.text-blood { color: var(--blood-bright); }
.tabular { font-variant-numeric: tabular-nums; }

/* ==========================================================
   Responsive — tablet + mobile
   ========================================================== */

/* hamburger trigger lives in topbar; hidden by default */
.topbar-item.tb-menu {
  display: none;
  cursor: pointer;
  background: transparent;   /* reset fundal alb implicit de buton */
  border: none;
  border-right: 1px solid var(--border);
  color: var(--gold);        /* iconita vizibila (aurie) */
  height: 100%;
  align-items: center;
  justify-content: center;
  font: inherit;
  -webkit-appearance: none;
  appearance: none;
}
.topbar-item.tb-menu .icon { width: 20px; height: 20px; }
.topbar-item.tb-menu:hover { background: rgba(200,162,88,0.06); color: var(--gold-bright); }

/* sidebar backdrop, off by default */
.sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 4, 3, 0.7);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}
body.sidebar-open .sidebar-backdrop {
  opacity: 1;
  pointer-events: auto;
}

/* sidebar close button (X), shown only inside drawer mode */
.sb-close {
  display: none;
  position: absolute;
  top: 10px; right: 10px;
  width: 34px; height: 34px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--border-bright);
  color: var(--text-dim);
  cursor: pointer;
  z-index: 2;
}
.sb-close:hover { color: var(--gold-bright); border-color: var(--gold-dim); }
.sb-close .icon { width: 18px; height: 18px; }

/* prevent body scroll behind drawer */
body.sidebar-open { overflow: hidden; }

/* ---------- Tablet & smaller (≤ 1023px) ---------- */
@media (max-width: 1023px) {
  .topbar-item.tb-menu { display: flex; }
  .topbar { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; }
  .topbar::-webkit-scrollbar { height: 3px; }
  .topbar::-webkit-scrollbar-thumb { background: var(--border-bright); }
  .topbar-spacer { display: none; }
  /* item-urile isi pastreaza marimea si curg cu scroll orizontal — nu se mai inghesuie/suprapun */
  .topbar-item { flex-shrink: 0; }
  .topbar-bell { flex-shrink: 0; }

  .app {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: fixed;
    top: var(--topbar-h);
    left: 0;
    bottom: 0;
    width: 260px;
    max-width: 84vw;
    height: calc(100vh - var(--topbar-h));
    transform: translateX(-100%);
    transition: transform 260ms cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 95;
    box-shadow: 8px 0 40px rgba(0,0,0,0.7);
    padding-top: 50px; /* space for close btn */
  }
  body.sidebar-open .sidebar { transform: translateX(0); }

  .sb-close { display: flex; }

  .sb-group-head { padding: 14px 12px 12px; }
  .sb-item { padding: 10px 14px 10px 24px; font-size: 13px; }

  .app-footer { grid-column: 1 / -1; }
}

/* ---------- Mobile (≤ 700px) ---------- */
@media (max-width: 700px) {
  :root { --topbar-h: 46px; }

  .main { padding: 14px 14px 40px; }

  .page-greeting { padding: 6px 0 14px; margin-bottom: 16px; }
  .page-greeting h1 { font-size: 24px; }
  .page-greeting p  { font-size: 12.5px; padding: 0 4px; }
  .page-greeting .ornament { margin: 4px 0 8px; }
  .page-greeting .ornament .line { width: 36px; }

  .dash-grid { gap: 16px; }

  .panel-head { padding: 12px 14px; }
  .panel-head h2 { font-size: 17px; letter-spacing: 0.08em; }
  .panel-head .sub { font-size: 10.5px; }

  .detail-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px 14px;
  }
  .detail-row dt { font-size: 12px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.08em; }
  .detail-row dd { font-size: 13px; }
  .detail-row dd ul li { font-size: 12px; padding-left: 12px; }

  .news-table th, .news-table td { padding: 8px 12px; font-size: 12px; }
  .news-empty { padding: 40px 14px; font-size: 13px; }

  .stub-card { padding: 28px 18px; }
  .stub-card .icon-wrap { width: 48px; height: 48px; }
  .stub-card .icon-wrap svg { width: 24px; height: 24px; }
  .stub-card h3 { font-size: 20px; }
  .stub-card p { font-size: 13px; }

  .topbar-item { padding: 0 10px; gap: 5px; font-size: 12px; }
  .topbar-item .icon { width: 15px; height: 15px; }
  .topbar-item.tb-forum { font-size: 11px; padding: 0 9px; }
  .topbar-item .num { font-size: 11.5px; }

  .panel::before { margin: 2px; }
  .app-footer { font-size: 10.5px; padding: 14px 12px 10px; }
}

/* ---------- Very small (≤ 380px) ---------- */
@media (max-width: 380px) {
  .main { padding: 12px 10px 32px; }
  .panel-head h2 { font-size: 15px; }
  .stub-card { padding: 24px 14px; }
}

/* ==========================================================
   Tile menu (Informații meniu)
   ========================================================== */
.tile-section { margin-top: 4px; }
.tile-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.tile-grid + .tile-grid { margin-top: 14px; }
@media (max-width: 1280px) { .tile-grid { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 1100px) { .tile-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 860px)  { .tile-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px)  { .tile-grid { grid-template-columns: repeat(2, 1fr); } }

.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 18px 10px 16px;
  background: linear-gradient(180deg, #15110d 0%, #110d09 100%);
  border: 1px solid var(--border);
  position: relative;
  text-decoration: none;
  color: var(--text);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(200,162,88,0.06);
  margin: 3px;
  pointer-events: none;
}
.tile:hover {
  border-color: var(--gold-dim);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.5), 0 0 24px rgba(200,162,88,0.08);
}
.tile-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
  font-weight: 500;
}
.tile-icon {
  margin: 14px 0 10px;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.tile-icon svg { width: 36px; height: 36px; stroke-width: 1.4; }
.tile-sub {
  font-size: 12.5px;
  color: var(--gold-bright);
  letter-spacing: 0.04em;
  font-weight: 500;
  word-break: break-word;
  font-family: 'JetBrains Mono', monospace;
}
.tile-sub.is-action { color: var(--gold); font-style: italic; font-family: 'Cormorant Garamond', serif; font-size: 14px; }
.tile-sub.is-warn   { color: var(--blood-bright); }
.tile-sub.is-dim    { color: var(--text-dim); }

.tile.is-logout { border-color: var(--blood); }
.tile.is-logout .tile-label,
.tile.is-logout .tile-icon { color: var(--blood-bright); }
.tile.is-logout:hover {
  border-color: var(--blood-bright);
  box-shadow: 0 0 24px rgba(139,26,26,0.25), 0 8px 28px rgba(0,0,0,0.5);
}
.tile.is-new::after {
  content: "NOU";
  position: absolute;
  top: -7px; right: 10px;
  background: var(--blood);
  color: var(--text);
  font-size: 9px;
  letter-spacing: 0.18em;
  padding: 2px 7px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
}

/* tile variants */
.tile.is-urgent { border-color: rgba(139,26,26,0.5); }
.tile.is-urgent .tile-label { color: var(--blood-bright); }
.tile.is-urgent .tile-icon { color: var(--blood); }
.tile.is-urgent:hover {
  border-color: var(--blood-bright);
  box-shadow: 0 0 24px rgba(139,26,26,0.2), 0 8px 28px rgba(0,0,0,0.5);
}

.tile.is-promo .tile-label { color: #d6a847; }
.tile.is-promo .tile-icon { color: #d6a847; }
.tile.is-promo { border-color: rgba(214,168,71,0.4); }
.tile.is-promo:hover {
  border-color: #d6a847;
  box-shadow: 0 0 24px rgba(214,168,71,0.18), 0 8px 28px rgba(0,0,0,0.5);
}

.tile-sub.is-good { color: #6cb083; font-family: 'JetBrains Mono', monospace; }

.tile.is-paused { border-color: rgba(139,26,26,0.45); }
.tile.is-paused .tile-label { color: var(--blood-bright); }
.tile.is-paused .tile-icon { color: var(--blood); }
.tile.is-paused .tile-sub { color: var(--blood-bright); }
.tile.is-paused:hover {
  border-color: var(--blood-bright);
  box-shadow: 0 0 24px rgba(139,26,26,0.18), 0 8px 28px rgba(0,0,0,0.5);
}

/* ==========================================================
   Ucide
   ========================================================== */
.ucide-tabs { display: grid; grid-template-columns: 1fr 1fr; }
.ucide-tab {
  padding: 16px;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.16em;
  font-size: 16px;
  color: var(--text-dim);
  text-decoration: none;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.ucide-tab:last-child { border-right: none; }
.ucide-tab svg { width: 18px; height: 18px; color: var(--gold-dim); }
.ucide-tab.is-active { color: #d6a847; background: rgba(200,162,88,0.06); border-bottom-color: var(--gold); }
.ucide-tab.is-active svg { color: var(--gold); }

.ucide-head { padding: 14px; text-align: center; font-family: 'Cormorant Garamond', serif; font-size: 16px; letter-spacing: 0.14em; color: var(--gold-bright); border-bottom: 1px solid var(--border); }
.ucide-head .qmark { color: var(--blood-bright); font-size: 12px; margin-left: 6px; }

.ucide-figure { display: flex; align-items: center; justify-content: center; padding: 24px 20px; border-bottom: 1px solid var(--border); }
.ucide-figure svg { width: 320px; height: 200px; }

.ucide-form { padding: 0; }
.ucide-form .row {
  display: grid; grid-template-columns: 1fr 2fr;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.ucide-form .label { padding: 11px 16px; text-align: right; font-family: 'Cormorant Garamond', serif; color: var(--text-dim); font-size: 14px; letter-spacing: 0.04em; }
.ucide-form .value { padding: 11px 16px; }
.ucide-form input[type=text], .ucide-form input[type=number] {
  width: 100%; max-width: 360px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-bright);
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
}
.ucide-form input:focus { outline: none; border-color: var(--gold); }
.ucide-form .counter {
  width: 60px; padding: 8px;
  background: #f4eedf; color: #15110d;
  border: 1px solid var(--border-bright);
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  text-align: center;
  font-weight: 600;
  font-style: italic;
}
.ucide-actions {
  text-align: center;
  padding: 16px;
  border-bottom: 1px solid var(--border);
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
  align-items: center;
}
.ucide-actions .btn {
  padding: 9px 18px;
  background: linear-gradient(180deg, #1f1810 0%, #15110d 100%);
  border: 1px solid var(--border-bright);
  color: var(--text);
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  cursor: pointer;
}
.ucide-actions .btn:hover { border-color: var(--gold-dim); color: var(--gold-bright); }
.ucide-actions .btn.is-kill { border-color: var(--blood); color: var(--blood-bright); }
.ucide-actions .btn.is-kill:hover { background: var(--blood); color: var(--text); }
.ucide-actions .sep { color: var(--text-faint); }

.ucide-calc { text-align: center; padding: 18px; }
.ucide-calc h3 { font-family: 'Cormorant Garamond', serif; font-size: 16px; letter-spacing: 0.14em; color: var(--gold-bright); margin-bottom: 10px; }
.ucide-calc .cost-label { color: var(--text-dim); font-family: 'Cormorant Garamond', serif; font-size: 14px; }
.ucide-calc .cost-val { color: #d6a847; font-family: 'JetBrains Mono', monospace; font-size: 16px; font-weight: 600; margin-top: 6px; }

/* ==========================================================
   GTA
   ========================================================== */
.gta-stats {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 14px;
  border-bottom: 1px solid var(--border);
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--text-dim);
}
.gta-stats svg { width: 28px; height: 22px; color: var(--gold); }
.gta-stats .nums { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.gta-stats .ok { color: #6cb083; }
.gta-stats .fail { color: var(--blood-bright); }
.gta-stats .total { color: var(--gold-bright); }
.gta-stats .sep { color: var(--text-faint); }

.gta-figure { padding: 26px 20px; text-align: center; border-bottom: 1px solid var(--border); }
.gta-figure svg { width: 100%; max-width: 480px; height: auto; }

.gta-score { text-align: center; padding: 12px; font-family: 'Cormorant Garamond', serif; font-size: 14px; color: var(--text-dim); border-bottom: 1px solid var(--border); }
.gta-score .ok { color: #6cb083; font-weight: 600; }
.gta-score .fail { color: var(--blood-bright); font-weight: 600; }

.crime-options { list-style: none; padding: 22px 26px; }
.crime-options li {
  padding: 7px 14px 7px 30px;
  margin-bottom: 8px;
  background: rgba(0,0,0,0.2);
  border-left: 3px solid var(--border);
  position: relative;
  font-family: 'Cormorant Garamond', serif;
  font-size: 14.5px;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.crime-options li.is-ok { border-left-color: #6cb083; color: #6cb083; }
.crime-options li.is-blocked { border-left-color: var(--blood); color: var(--blood-bright); }
.crime-options li::before {
  content: ""; position: absolute; left: 10px;
  width: 14px; height: 14px;
}
.crime-options li.is-ok::before {
  content: "✓"; color: #6cb083; font-weight: bold;
}
.crime-options li.is-blocked::before {
  content: "✗"; color: var(--blood-bright); font-weight: bold;
}
.crime-options li .pct { font-family: 'JetBrains Mono', monospace; font-size: 13.5px; }

.crime-action {
  text-align: center;
  padding: 16px 18px 22px;
  border-top: 1px solid var(--border);
}
.crime-action button {
  padding: 11px 26px;
  background: linear-gradient(180deg, #1f1810 0%, #15110d 100%);
  border: 1px solid var(--gold-dim);
  color: var(--gold-bright);
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}
.crime-action button:hover { background: var(--gold); color: #0c0907; border-color: var(--gold); }

/* ==========================================================
   Gainarii (sub-tabs)
   ========================================================== */
.gainarii-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--border);
}
@media (max-width: 700px) { .gainarii-tabs { grid-template-columns: repeat(2, 1fr); } }
.gainarii-tab {
  padding: 14px 12px;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.gainarii-tab:last-child { border-right: none; }
.gainarii-tab svg { width: 16px; height: 16px; color: var(--gold-dim); }
.gainarii-tab.is-active { color: var(--gold-bright); background: rgba(200,162,88,0.05); }
.gainarii-tab.is-active svg { color: var(--gold); }
.gainarii-tab:hover { color: var(--gold-bright); }

.gainarii-body { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 20px 26px; }
@media (max-width: 700px) { .gainarii-body { grid-template-columns: 1fr; } }
.gainarii-body .crime-options { padding: 0; }
.gainarii-body .figure { padding: 0 20px; }
.gainarii-body .figure svg { width: 200px; height: 220px; }

/* ==========================================================
   Sparge Banca / Jaf
   ========================================================== */
.heist-head { text-align: center; padding: 14px; font-family: 'Cormorant Garamond', serif; font-size: 16px; letter-spacing: 0.1em; color: var(--text); border-bottom: 1px solid var(--border); }
.heist-head .city { color: #6cb083; }

.heist-figure { padding: 24px 20px; text-align: center; border-bottom: 1px solid var(--border); }
.heist-figure svg { width: 100%; max-width: 420px; height: auto; }

.heist-info { text-align: center; padding: 14px 22px; font-family: 'Cormorant Garamond', serif; font-size: 13.5px; color: var(--text-dim); line-height: 1.85; border-bottom: 1px solid var(--border); }
.heist-info p { margin: 4px 0; }
.heist-info .win { color: #d6a847; font-weight: 600; font-family: 'JetBrains Mono', monospace; font-size: 14px; }
.heist-info .available {
  margin-top: 8px;
  padding-top: 8px;
  color: #6cb083;
  font-family: 'Cormorant Garamond', serif;
  font-size: 13.5px;
  font-weight: 600;
}
.heist-info .players { color: #5cb0ff; padding: 6px 12px; word-break: break-word; line-height: 2; }
.heist-info .players a { color: #5cb0ff; text-decoration: none; margin: 0 6px; }
.heist-info .players a:hover { color: #82c8ff; }

.heist-form { padding: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 700px) { .heist-form { grid-template-columns: 1fr; } }
.heist-row {
  display: grid;
  grid-template-columns: 60px 1fr 2fr;
  align-items: center;
  background: linear-gradient(180deg, #1c1712 0%, #15110d 100%);
  border: 1px solid var(--border);
  padding: 12px 14px;
  gap: 8px;
}
.heist-row .icon {
  width: 38px; height: 38px;
  background: rgba(200,162,88,0.06);
  border: 1px solid var(--gold-dim);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.heist-row .icon svg { width: 18px; height: 18px; }
.heist-row .lbl { color: var(--text-dim); font-family: 'Cormorant Garamond', serif; font-size: 13.5px; letter-spacing: 0.04em; }
.heist-row input, .heist-row select {
  width: 100%;
  padding: 8px 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-bright);
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
}
.heist-row input:focus, .heist-row select:focus { outline: none; border-color: var(--gold); }
.heist-row.full { grid-column: 1 / -1; }

.heist-cost {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
}
.heist-cost .cost-lbl { color: var(--text-dim); font-family: 'Cormorant Garamond', serif; font-size: 13.5px; }
.heist-cost .cost-val { color: #d6a847; font-family: 'JetBrains Mono', monospace; font-weight: 600; }
.heist-cost button {
  padding: 9px 18px;
  background: linear-gradient(180deg, #1f1810 0%, #15110d 100%);
  border: 1px solid var(--gold-dim);
  color: var(--gold-bright);
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.heist-cost button:hover { background: var(--gold); color: #0c0907; border-color: var(--gold); }

.jaf-form { display: flex; flex-direction: column; gap: 12px; padding: 20px; max-width: 580px; margin: 0 auto; }
.jaf-row {
  display: grid;
  grid-template-columns: 56px 110px 1fr;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: linear-gradient(180deg, #1c1712 0%, #15110d 100%);
  border: 1px solid var(--border);
}
.jaf-row .icon { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; color: var(--gold); }
.jaf-row .icon svg { width: 22px; height: 22px; }
.jaf-row .lbl { color: var(--text-dim); font-family: 'Cormorant Garamond', serif; font-size: 13.5px; letter-spacing: 0.04em; }
.jaf-row input, .jaf-row select {
  width: 100%;
  padding: 8px 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-bright);
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
}
.jaf-submit {
  padding: 11px 30px;
  background: linear-gradient(180deg, #1f1810 0%, #15110d 100%);
  border: 1px solid var(--gold-dim);
  color: var(--gold-bright);
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  align-self: center;
  margin-top: 4px;
}
.jaf-submit:hover { background: var(--gold); color: #0c0907; border-color: var(--gold); }

/* ==========================================================
   Trafic
   ========================================================== */
.trafic-banner { padding: 18px 22px 12px; text-align: center; border-bottom: 1px solid var(--border); }
.trafic-banner svg { width: 100%; max-width: 580px; height: auto; }
.trafic-cap { text-align: center; padding: 10px; font-family: 'Cormorant Garamond', serif; font-size: 14px; color: var(--text-dim); border-bottom: 1px solid var(--border); }
.trafic-cap .accent { color: #6cb083; font-weight: 600; }
.trafic-cap .qmark { color: var(--blood-bright); font-size: 12px; margin-left: 6px; }

.trafic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 800px) { .trafic-grid { grid-template-columns: 1fr; } }
.trafic-cell {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 130px;
}
.trafic-cell:nth-child(2n) { border-right: none; }
@media (max-width: 800px) { .trafic-cell { border-right: none; } }
.trafic-cell.is-empty { opacity: 0.3; }
.trafic-cell .info { display: flex; flex-direction: column; gap: 6px; }
.trafic-cell .have { text-align: center; font-family: 'Cormorant Garamond', serif; font-size: 14px; color: var(--text-dim); margin-bottom: 4px; }
.trafic-cell .have .qty { font-family: 'JetBrains Mono', monospace; font-weight: 600; }
.trafic-cell .have .qty.zero { color: var(--blood-bright); }
.trafic-cell .have .qty.full { color: #6cb083; }
.trafic-cell .price { font-family: 'Cormorant Garamond', serif; font-size: 14px; color: var(--text-dim); }
.trafic-cell .price .val { color: #d6a847; font-family: 'JetBrains Mono', monospace; font-weight: 600; }
.trafic-cell .actions {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}
.trafic-cell input[type=number] {
  width: 70px; padding: 6px 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-bright);
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  text-align: center;
}
.trafic-cell .btn-cump, .trafic-cell .btn-vinde {
  padding: 6px 12px;
  background: linear-gradient(180deg, #1f1810 0%, #15110d 100%);
  border: 1px solid var(--border-bright);
  color: var(--text);
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  cursor: pointer;
}
.trafic-cell .btn-cump:hover { border-color: var(--gold-dim); color: var(--gold-bright); }
.trafic-cell .btn-vinde:hover { border-color: var(--blood); color: var(--blood-bright); }
.trafic-cell .product-img {
  width: 90px; height: 100px;
  display: flex; align-items: center; justify-content: center;
}
.trafic-cell .product-img svg { width: 100%; height: 100%; }
.trafic-cell .sep { color: var(--text-faint); }

/* ==========================================================
   Bani Murdari
   ========================================================== */
.bm-banner { text-align: center; padding: 22px 20px; border-bottom: 1px solid var(--border); }
.bm-banner svg { width: 200px; height: 130px; }
.bm-info { text-align: center; padding: 16px 22px; font-family: 'Cormorant Garamond', serif; font-size: 14px; color: var(--text-dim); line-height: 1.85; border-bottom: 1px solid var(--border); }
.bm-info .price { color: #d6a847; font-weight: 600; }
.bm-info .days { color: #6cb083; font-weight: 600; }
.bm-info .range { color: #d6a847; font-weight: 600; font-family: 'JetBrains Mono', monospace; }

.bm-actions { text-align: center; padding: 14px; border-bottom: 1px solid var(--border); font-family: 'Cormorant Garamond', serif; font-size: 15px; }
.bm-actions a { color: #d6a847; text-decoration: none; margin: 0 8px; font-weight: 600; }
.bm-actions a:hover { color: #f3d585; }
.bm-actions .sep { color: var(--text-faint); margin: 0 8px; }
.bm-actions .row + .row { margin-top: 8px; }

.bm-warn {
  text-align: center;
  padding: 14px 22px;
  background: rgba(139,26,26,0.08);
  border-bottom: 1px solid var(--border);
}
.bm-warn .head { color: var(--blood-bright); font-weight: 600; letter-spacing: 0.18em; margin-bottom: 8px; }
.bm-warn p { color: var(--blood-bright); font-size: 12.5px; line-height: 1.7; }

.bm-form { text-align: center; padding: 18px; }
.bm-form .row { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.bm-form label { color: var(--text-dim); font-family: 'Cormorant Garamond', serif; font-size: 14px; }
.bm-form input[type=number] {
  width: 100px; padding: 8px 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-bright);
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  text-align: center;
}
.bm-form button {
  padding: 9px 22px;
  background: linear-gradient(180deg, #1f1810 0%, #15110d 100%);
  border: 1px solid var(--border-bright);
  color: var(--text);
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  cursor: pointer;
}
.bm-form button:hover { border-color: var(--gold-dim); color: var(--gold-bright); }

/* ==========================================================
   Sala (fights)
   ========================================================== */
.sala-intro { text-align: center; padding: 14px 20px; font-family: 'Cormorant Garamond', serif; font-size: 13.5px; color: var(--text-dim); line-height: 1.7; border-bottom: 1px solid var(--border); }
.sala-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 800px) { .sala-grid { grid-template-columns: 1fr; } }
.fight-card {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
  position: relative;
}
.fight-card:nth-child(2n) { border-right: none; }
@media (max-width: 800px) { .fight-card { border-right: none; } }
.fight-card .head {
  text-align: center;
  padding: 12px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  color: var(--text);
  letter-spacing: 0.04em;
  background: rgba(0,0,0,0.2);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.fight-card .head::before {
  content: "";
  position: absolute; top: -7px; left: 50%; transform: translateX(-50%);
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #5cb0ff;
  border: 2px solid #15110d;
}
.fight-card .body { padding: 14px; display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; min-height: 180px; }
.fight-card .stats { font-family: 'Cormorant Garamond', serif; font-size: 13.5px; color: var(--text); line-height: 1.85; }
.fight-card .stats .icon { color: var(--gold); margin-right: 6px; }
.fight-card .stats .accent { color: #d6a847; font-weight: 600; }
.fight-card .stats .counter {
  display: inline-block;
  width: 64px; padding: 6px;
  background: #f4eedf; color: #15110d;
  border: 1px solid var(--border-bright);
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  text-align: center;
  font-style: italic;
  font-weight: 600;
  margin: 8px 0;
}
.fight-card .stats input[type=text] {
  width: 200px; padding: 6px 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-bright);
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
}
.fight-card .stats button {
  padding: 8px 18px;
  background: linear-gradient(180deg, #1f1810 0%, #15110d 100%);
  border: 1px solid var(--border-bright);
  color: var(--text);
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  cursor: pointer;
}
.fight-card .stats button:hover { border-color: var(--gold-dim); color: var(--gold-bright); }
.fight-card .opponent { width: 130px; height: 160px; display: flex; align-items: center; justify-content: center; }
.fight-card .opponent svg { width: 100%; height: 100%; }

.sala-challenge {
  padding: 16px 20px;
  text-align: center;
}
.sala-challenge h3 {
  color: #6cb083;
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
}
.sala-challenge p { color: var(--text); font-family: 'Cormorant Garamond', serif; font-size: 13.5px; margin: 6px 0; }
.sala-challenge .accent { color: #d6a847; font-weight: 600; }
.sala-challenge .ok { color: #6cb083; }
.sala-challenge .fail { color: var(--blood-bright); }
.sala-challenge input[type=number] {
  width: 140px; padding: 7px 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-bright);
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  text-align: center;
}
.sala-challenge button {
  padding: 9px 18px;
  background: linear-gradient(180deg, #1f1810 0%, #15110d 100%);
  border: 1px solid var(--gold-dim);
  color: var(--gold-bright);
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  cursor: pointer;
  margin-top: 8px;
}
.sala-challenge button:hover { background: var(--gold); color: #0c0907; }

.sala-foot { text-align: center; padding: 14px; color: var(--gold-bright); font-family: 'Cormorant Garamond', serif; font-size: 14px; letter-spacing: 0.06em; border-top: 1px solid var(--border); }

/* ==========================================================
   Prostituate
   ========================================================== */
.pr-banner {
  height: 60px;
  position: relative;
  background:
    repeating-linear-gradient(90deg, rgba(139,26,26,0.4) 0px, rgba(139,26,26,0.7) 30px, rgba(80,15,15,0.5) 60px),
    radial-gradient(ellipse at center, rgba(255,80,80,0.3) 0%, transparent 70%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.pr-banner::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(0,0,0,0.4) 0px, transparent 40px, rgba(0,0,0,0.4) 80px);
}
.pr-banner .nums {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--text);
  text-shadow: 0 0 4px #000;
}
.pr-banner .nums .ok { color: #6cb083; }
.pr-banner .nums .fail { color: var(--blood-bright); }

.pr-stats { text-align: center; padding: 18px 20px; border-bottom: 1px solid var(--border); font-family: 'Cormorant Garamond', serif; font-size: 14px; color: var(--text); line-height: 1.85; }
.pr-stats .accent { color: #d6a847; font-weight: 600; font-family: 'JetBrains Mono', monospace; }
.pr-stats .ok { color: #6cb083; font-weight: 600; }

.pr-search { text-align: center; padding: 16px; }
.pr-search .check { color: #6cb083; font-family: 'Cormorant Garamond', serif; font-size: 14px; margin-bottom: 10px; }
.pr-search button {
  padding: 9px 22px;
  background: linear-gradient(180deg, #1f1810 0%, #15110d 100%);
  border: 1px solid var(--border-bright);
  color: var(--text);
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  cursor: pointer;
}
.pr-search button:hover { border-color: var(--gold-dim); color: var(--gold-bright); }

.pr-income { text-align: center; padding: 14px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); font-family: 'Cormorant Garamond', serif; font-size: 14px; color: var(--text); line-height: 1.85; }
.pr-income .val { color: #d6a847; font-family: 'JetBrains Mono', monospace; font-weight: 600; }

.pr-vitrine { padding: 18px 20px; }
.pr-vitrine h3 { text-align: center; font-family: 'Cormorant Garamond', serif; font-size: 16px; letter-spacing: 0.14em; color: var(--gold-bright); margin-bottom: 12px; }
.pr-vitrine p { text-align: center; color: var(--text-dim); font-size: 13.5px; font-family: 'Cormorant Garamond', serif; margin: 4px 0; }
.pr-vitrine p .val { color: var(--text); font-family: 'JetBrains Mono', monospace; font-weight: 600; }
.pr-vitrine .form { text-align: center; margin-top: 12px; }
.pr-vitrine input[type=number] {
  width: 130px; padding: 8px 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-bright);
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  text-align: center;
  margin-right: 8px;
}
.pr-vitrine button {
  padding: 8px 22px;
  background: linear-gradient(180deg, #1f1810 0%, #15110d 100%);
  border: 1px solid var(--border-bright);
  color: var(--text);
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  cursor: pointer;
}
.pr-vitrine button:hover { border-color: var(--gold-dim); color: var(--gold-bright); }

/* ==========================================================
   Caini
   ========================================================== */
.dog-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid var(--border);
}
@media (max-width: 700px) { .dog-tabs { grid-template-columns: repeat(3, 1fr); } }
.dog-tab {
  padding: 16px 10px;
  text-align: center;
  border-right: 1px solid var(--border);
  color: var(--text-dim);
  text-decoration: none;
  display: flex; align-items: center; justify-content: center;
}
.dog-tab:last-child { border-right: none; }
.dog-tab svg { width: 28px; height: 28px; color: var(--text-dim); }
.dog-tab.is-active { background: rgba(200,162,88,0.05); }
.dog-tab.is-active svg { color: var(--gold); }
.dog-tab:hover svg { color: var(--gold-bright); }

.dog-figure { text-align: center; padding: 24px 22px; border-bottom: 1px solid var(--border); }
.dog-figure svg { width: 100%; max-width: 320px; height: auto; }

.dog-tops {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 800px) { .dog-tops { grid-template-columns: 1fr; } }
.dog-top {
  border-right: 1px solid var(--border);
}
.dog-top:last-child { border-right: none; }
.dog-top h3 {
  text-align: center;
  padding: 14px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}
.dog-top table { width: 100%; border-collapse: collapse; }
.dog-top th { padding: 10px; background: rgba(0,0,0,0.2); font-family: 'Cormorant Garamond', serif; font-size: 12px; letter-spacing: 0.16em; color: var(--gold-dim); text-transform: uppercase; border-bottom: 1px solid var(--border); }
.dog-top th svg { width: 14px; height: 14px; vertical-align: middle; }
.dog-top td { padding: 9px 10px; border-bottom: 1px solid var(--border); font-size: 13px; }
.dog-top tr:last-child td { border-bottom: none; }
.dog-top tbody tr:hover td { background: rgba(200,162,88,0.025); }
.dog-top .num { text-align: center; width: 40px; color: var(--text-faint); font-family: 'JetBrains Mono', monospace; }
.dog-top .pl-cell { font-family: 'Cormorant Garamond', serif; font-size: 13.5px; }
.dog-top .pl-cell .breed { color: var(--text-dim); }
.dog-top .pl-cell .crown { color: var(--gold); margin-left: 4px; }
.dog-top .score-cell { text-align: right; font-family: 'JetBrains Mono', monospace; font-size: 13px; padding-right: 14px; white-space: nowrap; }
.dog-top .score-cell .win { color: #6cb083; }
.dog-top .score-cell .loss { color: var(--blood-bright); }
.dog-top .score-cell .total { color: var(--gold-bright); }

/* ==========================================================
   Fotbal
   ========================================================== */
.fb-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid var(--border);
}
@media (max-width: 700px) { .fb-tabs { grid-template-columns: repeat(3, 1fr); } }
.fb-tab {
  padding: 16px 10px;
  text-align: center;
  border-right: 1px solid var(--border);
  color: var(--text-dim);
  text-decoration: none;
}
.fb-tab:last-child { border-right: none; }
.fb-tab svg { width: 26px; height: 26px; color: var(--text-dim); }
.fb-tab.is-active { background: rgba(200,162,88,0.05); }
.fb-tab.is-active svg { color: var(--gold); }
.fb-tab:hover svg { color: var(--gold-bright); }

.fb-grid { display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .fb-grid { grid-template-columns: 1fr; } }
.fb-grid > div { border-right: 1px solid var(--border); }
.fb-grid > div:last-child { border-right: none; }
.fb-info-head { padding: 12px 14px; text-align: center; background: rgba(0,0,0,0.3); font-family: 'Cormorant Garamond', serif; font-size: 14px; letter-spacing: 0.14em; color: var(--gold-dim); border-bottom: 1px solid var(--border); }

.fb-info table { width: 100%; border-collapse: collapse; }
.fb-info td { padding: 11px 14px; border-bottom: 1px solid var(--border); font-size: 13px; }
.fb-info td.k { color: var(--text-dim); width: 50%; font-family: 'Cormorant Garamond', serif; font-size: 13.5px; }
.fb-info td.k svg { color: var(--gold); width: 14px; height: 14px; vertical-align: middle; margin-right: 8px; }
.fb-info td.v { color: var(--text); font-family: 'JetBrains Mono', monospace; }
.fb-info td.v .accent { color: #d6a847; font-weight: 600; }
.fb-info td.v .ok { color: #6cb083; font-weight: 600; }
.fb-info td.v select { background: rgba(255,255,255,0.06); color: var(--text); border: 1px solid var(--border-bright); padding: 5px 8px; font-family: inherit; font-size: 12.5px; }

.fb-train { text-align: center; padding: 16px; border-bottom: 1px solid var(--border); }
.fb-train button {
  padding: 9px 22px;
  background: linear-gradient(180deg, #1f1810 0%, #15110d 100%);
  border: 1px solid var(--gold-dim);
  color: var(--gold-bright);
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  cursor: pointer;
}
.fb-train button:hover { background: var(--gold); color: #0c0907; }
.fb-train .timer-icon { color: #6cb083; margin-right: 6px; }

.fb-top { padding: 0; }
.fb-top table { width: 100%; border-collapse: collapse; }
.fb-top th { padding: 12px 14px; background: rgba(0,0,0,0.2); font-family: 'Cormorant Garamond', serif; letter-spacing: 0.14em; font-size: 12px; color: var(--gold-dim); text-transform: uppercase; text-align: center; border-bottom: 1px solid var(--border); }
.fb-top th svg { width: 14px; height: 14px; }
.fb-top td { padding: 8px 14px; border-bottom: 1px solid var(--border); font-size: 13px; }
.fb-top tr:last-child td { border-bottom: none; }
.fb-top tbody tr:hover td { background: rgba(200,162,88,0.025); }
.fb-top .name-cell { font-family: 'Cormorant Garamond', serif; font-size: 13.5px; }
.fb-top .val-cell { color: #d6a847; font-family: 'JetBrains Mono', monospace; text-align: right; }
.fb-top .val-cell .info { color: var(--gold-dim); margin-right: 6px; }

/* ==========================================================
   Diverse Crime (gambling tiles)
   ========================================================== */
.gamble-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}
@media (max-width: 1100px) { .gamble-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .gamble-grid { grid-template-columns: repeat(2, 1fr); } }
.gamble-tile {
  padding: 18px 10px 16px;
  text-align: center;
  background: linear-gradient(180deg, #15110d 0%, #110d09 100%);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  position: relative;
  transition: all 180ms ease;
}
.gamble-tile:hover { border-color: var(--gold-dim); transform: translateY(-2px); }
.gamble-tile .label { font-family: 'Cormorant Garamond', serif; font-size: 18px; color: var(--text); letter-spacing: 0.04em; font-weight: 600; }
.gamble-tile .icon { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; color: var(--gold); }
.gamble-tile .icon svg { width: 44px; height: 44px; stroke-width: 1.4; }
.gamble-tile .sub { font-size: 14px; font-family: 'Cormorant Garamond', serif; color: #6cb083; }
.gamble-tile.is-played .label { color: var(--blood-bright); }
.gamble-tile.is-played .icon { color: var(--blood); }
.gamble-tile.is-played .sub { color: var(--blood-bright); }

/* ==========================================================
   Casino back-link (used on game subpages)
   ========================================================== */
.cazino-back {
  text-align: center;
  padding: 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.cazino-back a { color: var(--gold-bright); text-decoration: none; letter-spacing: 0.04em; }
.cazino-back a:hover { color: #f3d585; }

/* ==========================================================
   Loz în Plic
   ========================================================== */
.loz-banner {
  text-align: center;
  padding: 24px 22px 10px;
}
.loz-banner svg { width: 100%; max-width: 360px; height: auto; }
.loz-info {
  text-align: center;
  padding: 14px 22px;
  font-family: 'Cormorant Garamond', serif;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.85;
  border-bottom: 1px solid var(--border);
}
.loz-info .accent { color: var(--gold-bright); font-weight: 600; }
.loz-cta {
  text-align: center;
  padding: 16px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
}
.loz-cta a { color: var(--gold-bright); font-weight: 600; }
.loz-cta .price { color: #6cb083; font-weight: 600; }

/* ==========================================================
   50/50
   ========================================================== */
.cz-banner {
  text-align: center;
  padding: 8px;
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid var(--border);
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  color: var(--text);
  letter-spacing: 0.06em;
}
.cz-title {
  text-align: center;
  padding: 26px 20px 18px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 96px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #5cb0ff;
  line-height: 1;
  text-shadow: 0 0 30px rgba(92,176,255,0.4), 0 0 60px rgba(92,176,255,0.2);
}
@media (max-width: 600px) { .cz-title { font-size: 64px; } }
.cz-explain {
  text-align: center;
  padding: 0 22px 22px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
  line-height: 1.7;
}
.cz-cap {
  text-align: center;
  padding: 16px;
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.06em;
  font-size: 15px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.cz-grid { display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 700px) { .cz-grid { grid-template-columns: 1fr; } }
.cz-side {
  border-right: 1px solid var(--border);
  padding: 22px;
  text-align: center;
}
.cz-side:last-child { border-right: none; }
@media (max-width: 700px) { .cz-side { border-right: none; border-bottom: 1px solid var(--border); } }
.cz-side .icon-circle {
  width: 50px; height: 50px;
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  background: rgba(0,0,0,0.4);
}
.cz-side .icon-circle svg { width: 28px; height: 28px; }
.cz-side p { font-family: 'Cormorant Garamond', serif; color: var(--text); font-size: 14px; line-height: 1.85; }
.cz-side .max { color: #d6a847; font-weight: 600; font-family: 'JetBrains Mono', monospace; }
.cz-side input[type=number] {
  width: 200px; padding: 8px 12px;
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1px solid var(--border-bright);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  text-align: center;
  margin: 12px auto;
  display: block;
}
.cz-side button {
  padding: 10px 22px;
  background: linear-gradient(180deg, #1f1810 0%, #15110d 100%);
  border: 1px solid var(--border-bright);
  color: var(--text);
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  cursor: pointer;
  text-transform: uppercase;
}
.cz-side button:hover { border-color: var(--gold-dim); color: var(--gold-bright); }

/* ==========================================================
   Jackpot
   ========================================================== */
.jp-logo {
  text-align: center;
  padding: 32px 20px 20px;
}
.jp-logo .word {
  font-family: 'Cormorant Garamond', serif;
  font-size: 62px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: linear-gradient(180deg, #ff8b40 0%, #d6a847 40%, #ff5050 60%, #b22b2b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 30px rgba(214,168,71,0.3);
  font-style: italic;
  display: inline-block;
}
.jp-logo .word.ext {
  font-size: 38px;
  background: linear-gradient(180deg, #d6a847 0%, #a87f30 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-top: -8px;
  display: block;
}
@media (max-width: 600px) { .jp-logo .word { font-size: 42px; } .jp-logo .word.ext { font-size: 26px; } }

.jp-info { text-align: center; padding: 16px 22px; border-bottom: 1px solid var(--border); font-family: 'Cormorant Garamond', serif; font-size: 14px; color: var(--text-dim); line-height: 1.85; }
.jp-info .you { color: #5cb0ff; font-weight: 600; }
.jp-info .city { color: #6cb083; font-weight: 600; }
.jp-info .sum { color: #6cb083; font-weight: 600; font-family: 'JetBrains Mono', monospace; }
.jp-warn { text-align: center; padding: 14px 22px; font-family: 'Cormorant Garamond', serif; font-size: 13.5px; color: var(--text); line-height: 1.85; border-bottom: 1px solid var(--border); }
.jp-warn .head { color: var(--blood-bright); font-weight: 600; letter-spacing: 0.18em; margin-bottom: 6px; }
.jp-warn .cost { color: #d6a847; font-weight: 600; font-family: 'JetBrains Mono', monospace; }
.jp-cta { text-align: center; padding: 16px; }
.jp-cta a { color: #6cb083; font-family: 'Cormorant Garamond', serif; font-size: 16px; font-weight: 600; text-decoration: none; }
.jp-cta a::before { content: "✓ "; }
.jp-tables { display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 700px) { .jp-tables { grid-template-columns: 1fr; } }
.jp-tables > div { border-right: 1px solid var(--border); }
.jp-tables > div:last-child { border-right: none; }
.jp-tables h3 {
  text-align: center;
  padding: 12px;
  background: rgba(0,0,0,0.3);
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  letter-spacing: 0.16em;
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
  font-weight: 600;
}
.jp-tables h3.win { color: #6cb083; }
.jp-tables h3.loss { color: var(--blood-bright); }
.jp-tables ul { list-style: none; padding: 0; }
.jp-tables li {
  padding: 8px 14px;
  text-align: center;
  border-bottom: 1px solid rgba(44,36,24,0.5);
  font-family: 'Cormorant Garamond', serif;
  font-size: 13.5px;
}
.jp-tables li:last-child { border-bottom: none; }
.jp-tables li .qmark { color: var(--text-faint); margin-left: 4px; }

/* ==========================================================
   Tombola
   ========================================================== */
.tb-tokens { text-align: center; padding: 24px 22px 14px; }
.tb-tokens svg { width: 100%; max-width: 320px; height: auto; }
.tb-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media (max-width: 900px) { .tb-stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .tb-stats { grid-template-columns: 1fr; } }
.tb-stat {
  padding: 14px 16px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 12px;
}
.tb-stat:last-child { border-right: none; }
.tb-stat .ic {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(200,162,88,0.06);
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  flex-shrink: 0;
}
.tb-stat .ic svg { width: 22px; height: 22px; }
.tb-stat .body { font-family: 'Cormorant Garamond', serif; font-size: 13.5px; color: var(--text); }
.tb-stat .body .lbl { color: var(--text-dim); }
.tb-stat .body .val { color: #d6a847; font-weight: 600; font-family: 'JetBrains Mono', monospace; margin-left: 4px; }
.tb-stat .body .val.green { color: #6cb083; }
.tb-stat .body .val.warn { color: var(--blood-bright); }

.tb-buy { text-align: center; padding: 16px; border-bottom: 1px solid var(--border); }
.tb-buy label { font-family: 'Cormorant Garamond', serif; color: var(--text); font-size: 14px; }
.tb-buy input[type=number] {
  width: 100px; padding: 7px 10px;
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1px solid var(--border-bright);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  text-align: center;
  margin: 0 8px;
}
.tb-buy button {
  padding: 8px 18px;
  background: linear-gradient(180deg, #1f1810 0%, #15110d 100%);
  border: 1px solid var(--border-bright);
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 0.1em;
  cursor: pointer;
}
.tb-buy button:hover { border-color: var(--gold-dim); color: var(--gold-bright); }
.tb-buy .note { color: var(--text-dim); font-family: 'Cormorant Garamond', serif; font-size: 12.5px; margin-left: 10px; }

.tb-noticket {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  color: var(--blood-bright);
}
.tb-noticket svg { color: var(--blood); width: 24px; height: 24px; }

.tb-rules { padding: 18px 22px; }
.tb-rules h3 { text-align: center; font-family: 'Cormorant Garamond', serif; font-size: 16px; letter-spacing: 0.14em; color: var(--gold-bright); margin-bottom: 12px; font-weight: 500; }
.tb-rules ul { list-style: none; padding: 0; }
.tb-rules li {
  padding: 4px 0 4px 14px;
  position: relative;
  color: var(--text-dim);
  font-size: 13px;
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.7;
}
.tb-rules li::before {
  content: "—"; position: absolute; left: 0; color: var(--gold-dim);
}
.tb-rules li strong { color: var(--text); font-weight: 600; }

/* ==========================================================
   Pariuri Sportive
   ========================================================== */
.pa-match {
  display: grid;
  grid-template-columns: 1fr 200px 1fr;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 700px) { .pa-match { grid-template-columns: 1fr; } }
.pa-team {
  text-align: center;
  padding: 16px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--text);
}
.pa-team svg { width: 22px; height: 22px; color: var(--gold); display: block; margin: 0 auto 6px; }
.pa-team.home { border-right: 1px solid var(--border); }
.pa-team.away { border-left: 1px solid var(--border); }
@media (max-width: 700px) { .pa-team.home, .pa-team.away { border: none; } }
.pa-vs {
  text-align: center;
  padding: 16px;
  font-family: 'Cormorant Garamond', serif;
}
.pa-vs .vs { color: var(--text-dim); font-size: 14px; letter-spacing: 0.18em; }
.pa-vs .bet { color: #6cb083; font-weight: 600; font-size: 16px; margin-top: 4px; letter-spacing: 0.06em; }
.pa-vs .bet:after { content: " [i]"; color: var(--text-faint); font-size: 11px; }

.pa-grid { display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .pa-grid { grid-template-columns: 1fr; } }
.pa-grid > div { border-right: 1px solid var(--border); }
.pa-grid > div:last-child { border-right: none; }

.pa-h3 {
  text-align: center;
  padding: 12px;
  background: rgba(0,0,0,0.3);
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  letter-spacing: 0.14em;
  color: #d6a847;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}
.pa-table { width: 100%; border-collapse: collapse; }
.pa-table th { padding: 8px 12px; background: rgba(0,0,0,0.2); font-family: 'Cormorant Garamond', serif; font-size: 12px; letter-spacing: 0.14em; color: var(--gold-dim); text-transform: uppercase; text-align: left; border-bottom: 1px solid var(--border); }
.pa-table td { padding: 6px 14px; border-bottom: 1px solid var(--border); font-size: 13px; }
.pa-table tr:last-child td { border-bottom: none; }
.pa-table tbody tr:hover td { background: rgba(200,162,88,0.025); }
.pa-table .num { color: var(--text-faint); font-family: 'JetBrains Mono', monospace; }
.pa-table .pl { font-family: 'Cormorant Garamond', serif; font-size: 13.5px; }
.pa-table .qmark { color: var(--text-faint); font-size: 11px; margin-left: 2px; }
.pa-table .res { color: var(--text-dim); font-family: 'Cormorant Garamond', serif; }
.pa-table .res .home { color: var(--text); }
.pa-table .res .sep { color: var(--gold-dim); margin: 0 4px; }
.pa-table .info-cell { text-align: right; color: var(--text-faint); font-family: 'JetBrains Mono', monospace; font-size: 11px; }

/* ==========================================================
   Online players list
   ========================================================== */
.online-head {
  text-align: center;
  padding: 14px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border);
}
.online-head .label { color: var(--blood-bright); font-weight: 600; }
.online-head .label.players { color: #6cb083; }
.online-head .count { color: #d6a847; font-weight: 600; }
.online-head .count::before { content: "["; color: var(--text-faint); }
.online-head .count::after { content: "]"; color: var(--text-faint); }

.online-staff-table { width: 100%; border-collapse: collapse; }
.online-staff-table th {
  padding: 12px;
  background: rgba(0,0,0,0.3);
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
  font-style: italic;
  border-bottom: 1px solid var(--border);
}
.online-staff-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  text-align: center;
  font-size: 13.5px;
  color: var(--text);
}
.online-staff-table .empty { color: var(--blood-bright); font-family: 'Cormorant Garamond', serif; font-size: 14px; padding: 14px; }

.online-list { width: 100%; border-collapse: collapse; }
.online-list .head-cell {
  padding: 12px;
  background: rgba(0,0,0,0.3);
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--text);
  font-style: italic;
  border-bottom: 1px solid var(--border);
}
.online-list td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  text-align: center;
  font-size: 14px;
  font-family: 'Cormorant Garamond', serif;
}
.online-list tr:last-child td { border-bottom: none; }
.online-list tbody tr:hover td { background: rgba(200,162,88,0.025); }
.online-list .num { color: var(--text-dim); font-family: 'JetBrains Mono', monospace; font-size: 12.5px; margin-right: 4px; }
.online-list .actions { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; }
.online-list .actions a { display: inline-flex; align-items: center; }
.online-list .actions svg { width: 14px; height: 14px; color: var(--gold-dim); }
.online-list .actions a:hover svg { color: var(--gold-bright); }
.online-list .actions .mail-ic svg { color: #6a8da3; }

/* ==========================================================
   Transfer
   ========================================================== */
.tx-intro {
  padding: 18px 22px;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.85;
  border-bottom: 1px solid var(--border);
}
.tx-intro .step { color: var(--text); font-weight: 600; }
.tx-intro p { margin: 4px 0; }

.tx-form { padding: 0; }
.tx-form .row {
  border-bottom: 1px solid var(--border);
  padding: 12px 18px;
  text-align: center;
}
.tx-form .row .lbl {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: 0.06em;
}
.tx-form .head {
  background: rgba(0,0,0,0.3);
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  color: var(--text);
  letter-spacing: 0.04em;
}
.tx-form input[type=text],
.tx-form input[type=number] {
  width: 100%;
  max-width: 460px;
  padding: 9px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-bright);
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
}
.tx-form input:focus { outline: none; border-color: var(--gold); }
.tx-form .pair {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}
.tx-form .pair input { max-width: 240px; }
.tx-form select {
  padding: 9px 14px;
  background: linear-gradient(180deg, #2a2218 0%, #1c1712 100%);
  border: 1px solid var(--border-bright);
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  min-width: 130px;
}
.tx-form .submit {
  text-align: center;
  padding: 16px;
  border-bottom: 1px solid var(--border);
}
.tx-form .submit button {
  padding: 10px 24px;
  background: linear-gradient(180deg, #1f1810 0%, #15110d 100%);
  border: 1px solid var(--border-bright);
  color: var(--text);
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  letter-spacing: 0.14em;
  cursor: pointer;
  text-transform: uppercase;
}
.tx-form .submit button:hover { border-color: var(--gold-dim); color: var(--gold-bright); }

.tx-history { width: 100%; border-collapse: collapse; }
.tx-history caption {
  padding: 14px;
  background: rgba(0,0,0,0.3);
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
  font-style: italic;
}
.tx-history th {
  padding: 12px;
  background: rgba(0,0,0,0.2);
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--gold-dim);
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}
.tx-history td {
  padding: 9px 14px;
  border-bottom: 1px solid var(--border);
  text-align: center;
  font-size: 13px;
}
.tx-history tr:last-child td { border-bottom: none; }
.tx-history tbody tr:hover td { background: rgba(200,162,88,0.025); }
.tx-history .ok-cell { color: #6cb083; font-family: 'Cormorant Garamond', serif; font-weight: 600; }
.tx-history .ok-cell::before { content: "✓ "; }
.tx-history .ammo { color: var(--text); font-family: 'Cormorant Garamond', serif; font-size: 13.5px; }

/* ==========================================================
   Loto 6/49
   ========================================================== */
.loto-banner { text-align: center; padding: 22px 20px 12px; }
.loto-banner svg { width: 100%; max-width: 440px; height: auto; }
.loto-jp { text-align: center; padding: 0 22px 16px; font-family: 'Cormorant Garamond', serif; font-size: 18px; color: var(--gold-bright); border-bottom: 1px solid var(--border); }
.loto-jp .val { color: #d6a847; font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 22px; }

.loto-rules { padding: 18px 22px; border-bottom: 1px solid var(--border); }
.loto-rules ul { list-style: none; padding: 0; }
.loto-rules li {
  padding: 4px 0 4px 18px;
  position: relative;
  color: var(--text-dim);
  font-family: 'Cormorant Garamond', serif;
  font-size: 13.5px;
  line-height: 1.7;
}
.loto-rules li::before { content: "•"; position: absolute; left: 4px; color: var(--gold); font-size: 16px; top: 4px; }
.loto-rules .accent { color: var(--gold-bright); font-weight: 600; }
.loto-rules .cumul {
  text-align: center;
  margin-top: 14px;
  padding: 10px;
  font-family: 'Cormorant Garamond', serif;
  color: #d6a847;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.loto-pick { text-align: center; padding: 22px; border-bottom: 1px solid var(--border); }
.loto-pick .slots {
  display: inline-flex;
  gap: 10px;
  margin-bottom: 14px;
}
.loto-pick .slot {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(60,50,38,0.3);
  border: 2px solid var(--border-bright);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-faint);
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
}
.loto-pick .slot.is-filled {
  background: linear-gradient(180deg, #d6a847 0%, #a87f30 100%);
  border-color: #d6a847;
  color: #0c0907;
  font-weight: 700;
}
.loto-pick button {
  padding: 11px 26px;
  background: linear-gradient(180deg, #1f1810 0%, #15110d 100%);
  border: 1px solid var(--border-bright);
  color: var(--text);
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  letter-spacing: 0.14em;
  cursor: pointer;
  text-transform: uppercase;
}
.loto-pick button:hover { border-color: var(--gold-dim); color: var(--gold-bright); }

.loto-meta {
  text-align: center;
  padding: 14px 22px;
  border-bottom: 1px solid var(--border);
  font-family: 'Cormorant Garamond', serif;
  color: var(--text);
  font-size: 14px;
  line-height: 1.85;
}
.loto-meta .price { color: #d6a847; font-weight: 600; font-family: 'JetBrains Mono', monospace; }
.loto-meta .timer { color: #d6a847; font-family: 'JetBrains Mono', monospace; font-weight: 600; }

.loto-winners { width: 100%; border-collapse: collapse; }
.loto-winners caption {
  padding: 14px;
  background: rgba(0,0,0,0.3);
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
}
.loto-winners th {
  padding: 11px 14px;
  background: rgba(0,0,0,0.2);
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--gold-dim);
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}
.loto-winners td {
  padding: 9px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  text-align: center;
}
.loto-winners tr:last-child td { border-bottom: none; }
.loto-winners tbody tr:hover td { background: rgba(200,162,88,0.025); }
.loto-winners .runda { color: var(--text-dim); font-family: 'JetBrains Mono', monospace; }
.loto-winners .nums { color: var(--text); font-family: 'JetBrains Mono', monospace; letter-spacing: 0.08em; }
.loto-winners .castig { color: #d6a847; font-family: 'JetBrains Mono', monospace; font-weight: 600; }

/* ==========================================================
   Securitate Anti AUTO-REFRESH
   ========================================================== */
.sec-head {
  text-align: center;
  padding: 14px;
  background: rgba(0,0,0,0.35);
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  letter-spacing: 0.1em;
  color: var(--gold-bright);
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}
.sec-block {
  text-align: center;
  padding: 30px 22px 36px;
}
.sec-block .lbl {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
  font-weight: 600;
  margin-bottom: 16px;
}
.sec-code {
  display: inline-block;
  padding: 14px 36px;
  background: linear-gradient(180deg, #f4eedf 0%, #c4b894 100%);
  color: #d6a847;
  border: 1px solid var(--gold-dim);
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.16em;
  text-shadow: 1px 1px 0 #5a4d34, 2px 2px 0 rgba(0,0,0,0.3);
  user-select: none;
  -webkit-user-select: none;
  margin-bottom: 16px;
}
.sec-input {
  display: block;
  margin: 0 auto 16px;
  width: 200px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-bright);
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  text-align: center;
  letter-spacing: 0.16em;
}
.sec-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.sec-btn {
  padding: 11px 26px;
  background: linear-gradient(180deg, #1f1810 0%, #15110d 100%);
  border: 1px solid var(--gold-dim);
  color: var(--gold-bright);
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  letter-spacing: 0.16em;
  cursor: pointer;
  text-transform: uppercase;
}
.sec-btn:hover { background: var(--gold); color: #0c0907; border-color: var(--gold); }
.sec-error {
  margin-top: 14px;
  padding: 10px;
  color: var(--blood-bright);
  font-family: 'Cormorant Garamond', serif;
  font-size: 13.5px;
  letter-spacing: 0.04em;
}

.topbar-item.tb-chat .icon { color: #5cb0ff; }
.topbar-item.tb-chat:hover .icon { color: #82c8ff; }

/* ==========================================================
   Profil edit
   ========================================================== */
.pe-head {
  padding: 12px 22px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
}
.pe-form { padding: 0; }
.pe-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 700px) { .pe-row { grid-template-columns: 1fr; gap: 4px; padding: 10px; } }
.pe-row .label {
  padding: 12px 18px;
  text-align: right;
  font-family: 'Cormorant Garamond', serif;
  color: var(--text-dim);
  font-size: 14px;
  letter-spacing: 0.04em;
}
@media (max-width: 700px) { .pe-row .label { text-align: left; padding: 4px 0; } }
.pe-row .value {
  padding: 10px 18px;
}
.pe-row .static {
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13.5px;
}
.pe-row input[type=text],
.pe-row input[type=number],
.pe-row input[type=email],
.pe-row input[type=url],
.pe-row textarea {
  width: 100%;
  max-width: 580px;
  padding: 9px 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-bright);
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
}
.pe-row textarea { min-height: 96px; resize: vertical; font-family: inherit; }
.pe-row input:focus, .pe-row textarea:focus { outline: none; border-color: var(--gold); }
.pe-row .radio-row { display: flex; flex-direction: column; gap: 4px; padding: 4px 0; }
.pe-row .radio-row .pre { color: var(--text-dim); font-family: 'Cormorant Garamond', serif; margin-bottom: 4px; }
.pe-row .radio-row label { display: inline-flex; align-items: center; gap: 8px; font-family: 'Cormorant Garamond', serif; color: var(--text); }
.pe-row input[type=color] { width: 56px; height: 32px; padding: 0; border: 1px solid var(--border-bright); background: transparent; cursor: pointer; }
.pe-submit {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}
.pe-submit button {
  padding: 11px 26px;
  background: linear-gradient(180deg, #1f1810 0%, #15110d 100%);
  border: 1px solid var(--gold-dim);
  color: var(--gold-bright);
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}
.pe-submit button:hover { background: var(--gold); color: #0c0907; border-color: var(--gold); }

.pe-mod {
  padding: 18px 22px;
  text-align: center;
}
.pe-mod h3 { font-family: 'Cormorant Garamond', serif; font-size: 15px; color: var(--gold-bright); letter-spacing: 0.06em; margin-bottom: 12px; }
.pe-mod select {
  width: 100%; max-width: 360px;
  padding: 10px 14px;
  background: linear-gradient(180deg, #2a2218 0%, #1c1712 100%);
  color: var(--text);
  border: 1px solid var(--border-bright);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
}
.pe-mod select:focus { outline: none; border-color: var(--gold); }

/* ==========================================================
   Mesagerie
   ========================================================== */
.msg-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
}
.msg-tab {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  text-decoration: none;
  border-right: 1px solid var(--border);
}
.msg-tab svg { width: 16px; height: 16px; color: var(--gold-dim); }
.msg-tab.is-active { color: var(--gold-bright); background: rgba(200,162,88,0.05); }
.msg-tab.is-active svg { color: var(--gold); }
.msg-tab.is-active.is-block svg { color: var(--blood-bright); }
.msg-tab:hover { color: var(--gold-bright); }
.msg-tab.is-block svg { color: var(--blood); }

.msg-table { width: 100%; border-collapse: collapse; }
.msg-table th {
  padding: 14px;
  background: rgba(0,0,0,0.3);
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
  font-style: italic;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}
.msg-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.msg-table tr:last-child td { border-bottom: none; }
.msg-table tbody tr:hover td { background: rgba(200,162,88,0.025); }
.msg-table .check { width: 40px; text-align: center; }
.msg-table .check input { accent-color: var(--gold); }
.msg-table .from-cell { font-family: 'Cormorant Garamond', serif; font-size: 14px; }
.msg-table .from-cell .badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  background: var(--blood);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  margin-left: 6px;
  border-radius: 50%;
  font-family: 'Inter', sans-serif;
}
.msg-table .subject { color: var(--text); font-family: 'Cormorant Garamond', serif; font-size: 14px; }
.msg-table .subject.faded { color: var(--text-faint); font-style: italic; }
.msg-actions {
  padding: 14px 16px;
}
.msg-actions button {
  padding: 8px 18px;
  background: linear-gradient(180deg, #1f1810 0%, #15110d 100%);
  border: 1px solid var(--border-bright);
  color: var(--text);
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  cursor: pointer;
}
.msg-actions button:hover { border-color: var(--blood); color: var(--blood-bright); }

/* Mesaj nou (compose) */
.msg-compose { padding: 0; }
.msg-compose .row {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 600px) { .msg-compose .row { grid-template-columns: 1fr; } }
.msg-compose .row .lbl {
  padding: 12px 14px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  color: var(--text-dim);
}
.msg-compose .row .field { padding: 10px 14px; }
.msg-compose .row input[type=text],
.msg-compose .row textarea {
  width: 100%;
  padding: 9px 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-bright);
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
}
.msg-compose .row input:focus, .msg-compose .row textarea:focus { outline: none; border-color: var(--gold); }
.msg-compose .row.body-row { grid-template-columns: 110px 110px 1fr; }
@media (max-width: 700px) { .msg-compose .row.body-row { grid-template-columns: 1fr; } }
.msg-compose .emoji-tray {
  padding: 10px 12px;
  display: grid;
  grid-template-columns: repeat(6, 22px);
  gap: 6px;
  background: rgba(0,0,0,0.2);
  align-items: center;
  justify-content: center;
}
.msg-compose .emoji {
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  cursor: pointer;
  filter: saturate(0.8);
}
.msg-compose .body-textarea {
  padding: 10px 14px;
}
.msg-compose .body-textarea textarea { min-height: 130px; resize: vertical; }
.msg-compose .link-click { padding: 12px 14px; color: var(--text-dim); font-family: 'Cormorant Garamond', serif; font-size: 14px; border-bottom: 1px solid var(--border); }
.msg-compose .send-row { padding: 14px; text-align: right; }
.msg-compose .send-row button {
  padding: 9px 22px;
  background: linear-gradient(180deg, #1f1810 0%, #15110d 100%);
  border: 1px solid var(--gold-dim);
  color: var(--gold-bright);
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  cursor: pointer;
  text-transform: uppercase;
}
.msg-compose .send-row button:hover { background: var(--gold); color: #0c0907; }

/* ==========================================================
   Chat global
   ========================================================== */
.chat-page {
  display: flex;
  flex-direction: column;
  height: calc(100vh - var(--topbar-h) - 80px);
  min-height: 480px;
}
.chat-stream {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}
.chat-stream::-webkit-scrollbar { width: 6px; }
.chat-stream::-webkit-scrollbar-thumb { background: var(--border-bright); }

.chat-msg {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(180deg, #1c1712 0%, #15110d 100%);
  border: 1px solid var(--border);
  padding: 7px 14px 7px 8px;
  margin-bottom: 8px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 13.5px;
  border-radius: 2px;
  max-width: 100%;
}
.chat-msg .ava {
  width: 22px; height: 22px;
  margin-right: 8px;
  flex-shrink: 0;
}
.chat-msg .ava svg { width: 100%; height: 100%; color: var(--text-dim); }
.chat-msg .uname { font-weight: 600; color: var(--text); margin-right: 4px; }
.chat-msg .uname.is-gold { color: var(--gold-bright); }
.chat-msg .uname.is-cool { color: #5cb0ff; }
.chat-msg .uname.is-pink { color: #c47aa6; }
.chat-msg .uname.is-blood { color: var(--blood-bright); }
.chat-msg .uname::after { content: ":"; color: var(--text); }
.chat-msg .body { color: var(--text); }
.chat-msg .ts { color: var(--text-faint); font-family: 'JetBrains Mono', monospace; font-size: 11px; margin-left: 10px; }
.chat-msg .src { color: var(--text-faint); font-family: 'JetBrains Mono', monospace; font-size: 11px; margin-left: 4px; }

.chat-msg.is-system {
  background: linear-gradient(180deg, #2a1c10 0%, #1f1408 100%);
  border-color: var(--gold-dim);
}
.chat-msg.is-system .body { color: var(--gold-bright); font-style: italic; }

.chat-cmd {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,0.3);
  gap: 12px;
}
.chat-cmd .smile { font-size: 18px; }
.chat-cmd .label { color: #d6a847; font-family: 'Cormorant Garamond', serif; font-weight: 600; letter-spacing: 0.16em; font-size: 13px; }

.chat-input {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--border);
}
.chat-input input {
  flex: 1;
  padding: 12px 14px;
  background: rgba(255,255,255,0.06);
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 13.5px;
  border-right: 1px solid var(--border);
}
.chat-input input:focus { outline: none; background: rgba(200,162,88,0.04); }
.chat-input button {
  padding: 12px 26px;
  background: linear-gradient(180deg, #1f1810 0%, #15110d 100%);
  color: var(--gold-bright);
  border: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}
.chat-input button:hover { background: var(--gold); color: #0c0907; }

/* ==========================================================
   Activitate
   ========================================================== */
.activity-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 18px; }
@media (max-width: 980px) { .activity-grid { grid-template-columns: 1fr; } }

.activity-emblem { display: flex; align-items: center; justify-content: center; padding: 20px; }
.activity-emblem svg { width: 180px; height: 180px; filter: drop-shadow(0 0 30px rgba(139,26,26,0.45)); }
.points-banner { text-align: center; padding: 0 20px 14px; font-size: 14px; color: var(--gold-bright); font-family: 'Cormorant Garamond', serif; }
.points-banner strong { color: #f3d585; font-weight: 600; font-size: 16px; }

.prize-table { width: 100%; border-collapse: collapse; }
.prize-table td { padding: 11px 16px; border-bottom: 1px solid var(--border); text-align: center; font-size: 13px; }
.prize-table tr:last-child td { border-bottom: none; }
.prize-table .place { font-family: 'Cormorant Garamond', serif; letter-spacing: 0.06em; color: var(--text); font-size: 14px; }
.prize-table .place .trophy { color: var(--gold); margin-left: 4px; vertical-align: -2px; }
.prize-table .reward { color: #d6a847; font-family: 'JetBrains Mono', monospace; }
.prize-foot { text-align: center; padding: 12px; color: var(--text-dim); font-size: 12.5px; border-top: 1px solid var(--border); }
.prize-foot .accent { color: var(--gold-bright); }

.top-list { list-style: none; padding: 0; }
.top-list li { padding: 9px 16px; border-bottom: 1px solid var(--border); font-size: 12.5px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.top-list li:last-child { border-bottom: none; }
.top-list .rank-num { color: var(--text-dim); font-family: 'JetBrains Mono', monospace; min-width: 30px; }
.top-list .rank-num.is-1 { color: #f3d585; font-weight: 600; }
.top-list .rank-num.is-2 { color: #d6a847; }
.top-list .rank-num.is-3 { color: #cd7f32; }
.top-list .pts { color: var(--text-dim); font-family: 'JetBrains Mono', monospace; font-size: 11.5px; }
.top-list .name { flex: 1; }
.top-list .crown { color: var(--gold); margin-left: 4px; }

/* ==========================================================
   Happy Hour
   ========================================================== */
.hh-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; }
@media (max-width: 900px) { .hh-grid { grid-template-columns: 1fr; } }

.hh-banner {
  text-align: center; padding: 36px 20px;
  background:
    radial-gradient(ellipse at center, rgba(255,150,50,0.14) 0%, transparent 70%),
    linear-gradient(180deg, #1c0f08 0%, #110705 100%);
  border-bottom: 1px solid var(--border);
}
.hh-banner h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px;
  letter-spacing: 0.08em;
  color: #ff8b40;
  text-shadow: 0 0 30px rgba(255,107,53,0.55), 0 0 60px rgba(255,107,53,0.3);
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1;
}
.hh-banner .sub { font-family: 'Cormorant Garamond', serif; font-size: 22px; letter-spacing: 0.1em; color: #d6a847; }
.hh-claim { text-align: center; padding: 22px 20px; }
.hh-claim p { color: var(--text-dim); margin-bottom: 14px; line-height: 1.7; }
.hh-claim p strong { color: var(--gold-bright); }
.hh-claim .salutation { color: #6cb083; font-family: 'Cormorant Garamond', serif; font-size: 17px; margin-bottom: 8px; }
.hh-button {
  display: inline-block;
  padding: 13px 36px;
  background: linear-gradient(180deg, #4a7c45 0%, #2d4f29 100%);
  border: 1px solid #6cb083;
  color: #e3f3de;
  font-family: 'Cormorant Garamond', serif;
  font-size: 14.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  font-weight: 500;
  transition: all 150ms ease;
  text-decoration: none;
}
.hh-button:hover { background: linear-gradient(180deg, #5a9054 0%, #3a6534 100%); box-shadow: 0 0 20px rgba(108,176,131,0.3); }

.hh-prizes ul { list-style: none; padding: 22px 26px; text-align: left; }
.hh-prizes ul li { padding: 8px 0 8px 18px; color: #d6a847; font-size: 13px; font-family: 'Cormorant Garamond', serif; letter-spacing: 0.04em; position: relative; line-height: 1.6; }
.hh-prizes ul li::before { content: "•"; color: var(--gold); position: absolute; left: 4px; top: 4px; font-size: 18px; }
.hh-prizes-head {
  text-align: center; padding: 14px;
  background: rgba(0,0,0,0.3);
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.14em;
  font-size: 14px;
  color: var(--gold-bright);
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}

/* ==========================================================
   Slujba
   ========================================================== */
.slujba-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; }
@media (max-width: 980px) { .slujba-grid { grid-template-columns: 1fr; } }
.slujba-figure { display: flex; align-items: center; justify-content: center; padding: 30px 20px; }
.slujba-figure svg { width: 200px; height: 240px; color: var(--text); }
.work-status { padding: 14px 20px 18px; text-align: center; border-top: 1px solid var(--border); font-size: 13px; line-height: 1.9; }
.work-status .check { color: #6cb083; margin-right: 6px; }
.work-status p { color: var(--text-dim); }
.work-status .accent { color: var(--gold-bright); font-weight: 600; }
.work-status .warn { color: var(--blood-bright); font-weight: 600; }
.work-warn { margin-top: 12px; padding: 12px; border-top: 1px solid var(--border); text-align: center; font-size: 13px; color: var(--blood-bright); line-height: 1.7; }
.work-warn .quit { color: var(--gold-bright); cursor: pointer; }
.jobs-table { width: 100%; border-collapse: collapse; }
.jobs-table th, .jobs-table td { padding: 9px 14px; border-bottom: 1px solid var(--border); font-size: 12.5px; text-align: center; }
.jobs-table th { background: rgba(0,0,0,0.3); font-family: 'Cormorant Garamond', serif; font-size: 12px; letter-spacing: 0.14em; color: var(--gold-dim); text-transform: uppercase; }
.jobs-table th:nth-child(1) { width: 50px; }
.jobs-table td:nth-child(2) { text-align: left; }
.jobs-table tr:last-child td { border-bottom: none; }
.jobs-table tbody tr:hover td { background: rgba(200,162,88,0.025); }
.jobs-table tbody tr.is-current td { background: rgba(200,162,88,0.06); color: var(--gold-bright); }
.jobs-table .salary { color: var(--gold-bright); font-family: 'JetBrains Mono', monospace; }
.jobs-table .xp { color: var(--text-dim); font-family: 'JetBrains Mono', monospace; }

/* ==========================================================
   Misiuni
   ========================================================== */
.misiuni-tabs { display: grid; grid-template-columns: 1fr 1fr; }
.mis-tab { padding: 14px; text-align: center; font-family: 'Cormorant Garamond', serif; font-size: 16px; letter-spacing: 0.12em; color: var(--text-dim); border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); cursor: pointer; text-decoration: none; }
.mis-tab:last-child { border-right: none; }
.mis-tab.is-active { color: var(--gold-bright); background: rgba(200,162,88,0.05); border-bottom-color: var(--gold); }
.mis-tab:hover { color: var(--gold-bright); }
.mission-figure { display: flex; align-items: center; justify-content: center; padding: 30px 20px; background: rgba(0,0,0,0.15); border-bottom: 1px solid var(--border); }
.mission-figure svg { width: 220px; height: 280px; color: var(--text); }
.mission-info-head { text-align: center; padding: 12px; background: rgba(0,0,0,0.3); font-family: 'Cormorant Garamond', serif; letter-spacing: 0.12em; font-size: 14px; color: var(--gold-dim); text-transform: uppercase; border-bottom: 1px solid var(--border); }
.mission-info-body { padding: 18px 20px; font-style: italic; color: var(--text-dim); font-family: 'Cormorant Garamond', serif; font-size: 14.5px; text-align: center; line-height: 1.7; border-bottom: 1px solid var(--border); }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; }
.mission-grid > div { padding: 14px; text-align: center; border-right: 1px solid var(--border); }
.mission-grid > div:last-child { border-right: none; }
.mission-grid h4 { font-family: 'Cormorant Garamond', serif; letter-spacing: 0.14em; font-size: 13px; color: var(--gold-dim); text-transform: uppercase; font-weight: 500; padding-bottom: 8px; border-bottom: 1px solid var(--border); margin-bottom: 10px; }
.mission-grid .req { color: #d6a847; font-size: 14px; }
.mission-grid .reward { color: var(--text); font-size: 14px; }
.mission-status { text-align: center; padding: 14px; font-size: 13px; border-top: 1px solid var(--border); }
.mission-status.is-fail { color: var(--blood-bright); }
.mission-status.is-fail::before { content: "✗ "; }
.mission-status.is-ok { color: #6cb083; }
.mission-counter { text-align: center; padding: 14px; color: var(--text); border-bottom: 1px solid var(--border); font-size: 14px; }
.mission-counter .accent { color: var(--gold-bright); }
.mission-counter .reset { color: #6cb083; }

/* ==========================================================
   Locuinta
   ========================================================== */
.no-house { padding: 28px 20px 20px; text-align: center; }
.no-house h2 { margin-bottom: 8px; font-family: 'Cormorant Garamond', serif; font-size: 22px; color: var(--gold-bright); letter-spacing: 0.06em; font-weight: 500; }
.no-house svg.homeless { width: 200px; height: 200px; margin: 14px auto 0; display: block; color: var(--text-dim); }
.no-house .agent-link { margin-top: 18px; font-family: 'Cormorant Garamond', serif; font-size: 17px; color: #6cb083; }
.no-house .agent-link a { color: #6cb083; text-decoration: none; }
.no-house .agent-link a:hover { color: #8ed59f; }
.agency-listing { padding: 20px; text-align: center; border-top: 1px solid var(--border); }
.agency-listing svg { width: 160px; height: 110px; margin: 0 auto 12px; display: block; color: var(--gold-dim); }
.agency-listing .name { font-size: 14px; color: var(--text-dim); margin: 8px 0; font-family: 'Cormorant Garamond', serif; }
.agency-listing .price { color: #d6a847; font-weight: 600; font-family: 'JetBrains Mono', monospace; font-size: 16px; }
.agency-listing .buy { display: inline-block; margin-top: 14px; padding: 11px 26px; background: linear-gradient(180deg, #1f1810 0%, #15110d 100%); color: var(--gold-bright); border: 1px solid var(--gold-dim); cursor: pointer; font-family: 'Cormorant Garamond', serif; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; }
.agency-listing .buy:hover { background: var(--gold); color: #0c0907; border-color: var(--gold); }

/* ==========================================================
   Oferta Click
   ========================================================== */
.offer-intro { padding: 22px 20px; text-align: center; border-bottom: 1px solid var(--border); }
.offer-intro svg { width: 90px; height: 90px; margin: 0 auto 12px; display: block; color: var(--gold); }
.offer-intro .info { color: var(--text-dim); font-size: 13px; margin-bottom: 12px; }
.offer-intro .add-link { font-family: 'Cormorant Garamond', serif; color: var(--text); font-size: 16px; }
.offer-intro .add-link a { color: #d6a847; text-decoration: none; letter-spacing: 0.08em; }
.offer-table { width: 100%; border-collapse: collapse; }
.offer-table th, .offer-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); text-align: center; font-size: 13px; }
.offer-table th { background: rgba(0,0,0,0.3); font-family: 'Cormorant Garamond', serif; letter-spacing: 0.14em; font-size: 12px; color: var(--gold-dim); text-transform: uppercase; }
.offer-table th:nth-child(1) { width: 50px; }
.offer-table th:nth-child(3) { width: 80px; }
.offer-table tr:last-child td { border-bottom: none; }
.offer-table tbody tr:hover td { background: rgba(200,162,88,0.025); }
.offer-table .checkbox-cell input { accent-color: var(--gold); transform: scale(1.1); }

/* ==========================================================
   Prieteni / Dusmani
   ========================================================== */
.dusmani-illustration { text-align: center; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.dusmani-illustration svg { width: 200px; height: 130px; }
.dusmani-illustration p { margin-top: 12px; color: var(--text-dim); font-size: 13px; line-height: 1.7; }
.dusmani-grid { display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 800px) { .dusmani-grid { grid-template-columns: 1fr; } }
.dusmani-col { padding: 18px 20px; border-right: 1px solid var(--border); }
.dusmani-col:last-child { border-right: none; }
.dusmani-col h3 { text-align: center; font-family: 'Cormorant Garamond', serif; font-size: 16px; letter-spacing: 0.12em; margin-bottom: 14px; }
.dusmani-col h3.friend { color: #6cb083; }
.dusmani-col h3.foe { color: var(--blood-bright); }
.add-form { text-align: center; margin-bottom: 18px; }
.add-form input { width: 100%; max-width: 240px; padding: 9px 12px; background: rgba(255,255,255,0.06); color: var(--text); border: 1px solid var(--border-bright); font-size: 13px; margin-bottom: 8px; font-family: inherit; display: block; margin-left: auto; margin-right: auto; }
.add-form input:focus { outline: none; border-color: var(--gold); }
.add-form button { padding: 9px 22px; background: linear-gradient(180deg, #1f1810 0%, #15110d 100%); color: var(--text); border: 1px solid var(--border-bright); font-family: inherit; font-size: 12px; letter-spacing: 0.14em; cursor: pointer; text-transform: uppercase; }
.add-form button:hover { border-color: var(--gold-dim); color: var(--gold-bright); }
.dusmani-list { list-style: none; padding: 0; text-align: center; }
.dusmani-list h4 { font-family: 'Cormorant Garamond', serif; font-size: 13.5px; color: var(--text-dim); margin-bottom: 8px; letter-spacing: 0.04em; }
.dusmani-list li { padding: 5px 0; font-family: 'JetBrains Mono', monospace; font-size: 12.5px; }
.dusmani-list .who { color: var(--blood-bright); font-weight: 600; }
.dusmani-list .who.friend { color: #6cb083; }
.dusmani-list .reason { color: var(--text-dim); font-size: 11.5px; margin-left: 6px; }

/* ==========================================================
   Underground
   ========================================================== */
.under-tabs { display: grid; grid-template-columns: 1fr 1fr; }
.under-tab { padding: 16px; text-align: center; font-family: 'Cormorant Garamond', serif; letter-spacing: 0.12em; font-size: 16px; color: var(--text-dim); text-decoration: none; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.under-tab:last-child { border-right: none; }
.under-tab.is-active { color: #d6a847; background: rgba(200,162,88,0.05); border-bottom-color: var(--gold); }
.under-status { padding: 18px 20px; text-align: center; border-bottom: 1px solid var(--border); }
.under-status p { color: var(--text-dim); font-size: 13px; line-height: 1.8; }
.under-status .username { color: #d6a847; font-weight: 600; }
.under-status .points { color: #d6a847; font-weight: 600; }
.under-status .warn { color: var(--blood-bright); margin-top: 8px; line-height: 1.7; }
.under-status .warn-link { color: #d6a847; font-weight: 600; }
.benefits-table { width: 100%; border-collapse: collapse; }
.benefits-table th { padding: 10px; text-align: center; background: rgba(0,0,0,0.3); font-family: 'Cormorant Garamond', serif; letter-spacing: 0.12em; font-size: 12px; color: var(--gold-dim); text-transform: uppercase; }
.benefits-table th.recovery { background: rgba(139,26,26,0.12); color: var(--blood-bright); font-size: 14px; letter-spacing: 0.06em; padding: 14px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.benefits-table td { padding: 11px 14px; border-bottom: 1px solid var(--border); font-size: 13px; }
.benefits-table tbody tr:hover td { background: rgba(200,162,88,0.025); }
.benefits-table .pick { width: 70px; text-align: center; }
.benefits-table .pick input { accent-color: var(--gold); transform: scale(1.2); }
.benefits-table .desc { color: var(--text); }
.benefits-table .desc.is-good { color: #6cb083; }
.benefits-table .desc small { color: var(--blood-bright); display: block; margin-top: 2px; font-size: 11.5px; }
.benefits-table .price-pct { width: 100px; text-align: right; color: var(--gold-bright); font-family: 'JetBrains Mono', monospace; }
.under-buy { text-align: center; padding: 18px; }
.under-buy button { padding: 12px 30px; background: linear-gradient(180deg, #1f1810 0%, #15110d 100%); color: var(--gold-bright); border: 1px solid var(--gold-dim); font-family: 'Cormorant Garamond', serif; font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; }
.under-buy button:hover { background: var(--gold); color: #0c0907; border-color: var(--gold); }
.under-note { padding: 14px 20px; text-align: center; font-size: 12.5px; color: var(--text-dim); line-height: 1.7; font-family: 'Cormorant Garamond', serif; font-style: italic; }

/* ==========================================================
   HOF
   ========================================================== */
.hof-row { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--border); }
@media (max-width: 800px) { .hof-row { grid-template-columns: 1fr; } }
.hof-row > .hof-section { border-right: 1px solid var(--border); border-bottom: none; }
.hof-row > .hof-section:last-child { border-right: none; }
.hof-section { border-bottom: 1px solid var(--border); }
.hof-section:last-child { border-bottom: none; }
.hof-banner { display: flex; flex-direction: column; align-items: center; padding: 20px 12px 14px; border-bottom: 1px solid var(--border); position: relative; }
.hof-banner svg.crest { width: 90px; height: 90px; color: var(--gold); margin-bottom: 6px; filter: drop-shadow(0 0 18px rgba(200,162,88,0.3)); }
.hof-banner h2 { font-family: 'Cormorant Garamond', serif; font-size: 17px; letter-spacing: 0.22em; color: var(--gold-bright); text-transform: uppercase; font-weight: 600; }
.hof-list { padding: 12px 0; }
.hof-list .item { padding: 9px 18px; border-bottom: 1px solid rgba(44,36,24,0.5); font-size: 13px; font-family: 'Cormorant Garamond', serif; font-style: italic; display: flex; align-items: center; }
.hof-list .item:last-child { border-bottom: none; }
.hof-list .item.is-done { color: #6cb083; }
.hof-list .item.is-todo { color: var(--blood-bright); }
.hof-list .item .icon { margin-right: 10px; flex-shrink: 0; width: 14px; height: 14px; }
.hof-intro { text-align: center; padding: 18px 24px; border-bottom: 1px solid var(--border); }
.hof-intro h2 { font-family: 'Cormorant Garamond', serif; font-size: 18px; letter-spacing: 0.04em; color: var(--gold-bright); margin-bottom: 8px; font-weight: 500; }
.hof-intro p { color: var(--text-dim); font-size: 13px; line-height: 1.7; }
.hof-intro .ws-msg { color: var(--blood-bright); margin-top: 8px; font-style: italic; font-family: 'Cormorant Garamond', serif; }

/* ==========================================================
   Promovare
   ========================================================== */
.promo-tabs { display: grid; grid-template-columns: 1fr 1fr; }
.promo-tab { padding: 16px; text-align: center; font-family: 'Cormorant Garamond', serif; letter-spacing: 0.12em; font-size: 16px; color: var(--text-dim); text-decoration: none; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.promo-tab:last-child { border-right: none; }
.promo-tab.is-active { color: #d6a847; background: rgba(200,162,88,0.05); border-bottom-color: var(--gold); }
.promo-block { padding: 22px 28px; font-size: 13.5px; line-height: 1.85; color: var(--text-dim); }
.promo-block h3 { text-align: center; font-family: 'Cormorant Garamond', serif; font-size: 22px; letter-spacing: 0.06em; color: var(--text); font-weight: 500; margin: 18px 0 14px; }
.promo-block .accent { color: #6cb083; font-weight: 600; }
.promo-block .accent-gold { color: var(--gold-bright); font-weight: 600; }
.promo-block .accent-warn { color: #d6a847; font-weight: 600; }
.promo-block strong { color: var(--text); }
.promo-block .example { margin-top: 14px; padding: 14px 16px; background: rgba(0,0,0,0.2); border-left: 2px solid var(--gold-dim); font-style: italic; font-family: 'Cormorant Garamond', serif; font-size: 13.5px; color: var(--text); line-height: 1.7; }
.promo-block .ex-headline { font-family: 'Cormorant Garamond', serif; color: var(--gold-bright); font-size: 15px; margin: 14px 0 8px; }
.promo-block .center { text-align: center; }

/* ==========================================================
   Banca
   ========================================================== */
.bank-illustration { text-align: center; padding: 26px 20px 18px; }
.bank-illustration svg { width: 220px; height: 150px; }
.bank-stats { text-align: center; font-size: 14.5px; line-height: 2; padding: 0 20px 16px; font-family: 'Cormorant Garamond', serif; letter-spacing: 0.04em; }
.bank-stats .lbl { color: var(--text-dim); }
.bank-stats .val { color: #d6a847; font-family: 'JetBrains Mono', monospace; font-weight: 600; }
.bank-form { text-align: center; padding: 0 20px 22px; }
.bank-form input[type=number] { width: 100%; max-width: 320px; padding: 10px 14px; background: rgba(255,255,255,0.06); border: 1px solid var(--border-bright); color: var(--text); font-family: 'JetBrains Mono', monospace; font-size: 13px; text-align: center; margin: 0 auto 12px; display: block; }
.bank-form input[type=number]:focus { outline: none; border-color: var(--gold); }
.bank-form .actions { display: inline-flex; gap: 12px; align-items: center; }
.bank-form .btn-bank { padding: 10px 22px; background: linear-gradient(180deg, #1f1810 0%, #15110d 100%); color: var(--gold-bright); border: 1px solid var(--gold-dim); font-family: 'Cormorant Garamond', serif; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; }
.bank-form .btn-bank:hover { background: var(--gold); color: #0c0907; border-color: var(--gold); }
.bank-form .sep { color: var(--text-faint); }
.bank-transfer { text-align: center; padding: 18px 20px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); font-family: 'Cormorant Garamond', serif; font-size: 16px; }
.bank-transfer a { color: #d6a847; text-decoration: none; }
.bank-transfer .arrow { color: #6cb083; }
.bank-quick { padding: 16px 20px 20px; }
.bank-quick h3 { text-align: center; font-family: 'Cormorant Garamond', serif; font-size: 14px; letter-spacing: 0.12em; color: var(--gold-dim); text-transform: uppercase; margin-bottom: 14px; }
.bank-quick .row { display: flex; gap: 6px; justify-content: center; align-items: center; margin-bottom: 8px; flex-wrap: wrap; }
.bank-quick .amount { padding: 8px 14px; background: rgba(255,255,255,0.06); border: 1px solid var(--border-bright); color: var(--text); font-family: 'JetBrains Mono', monospace; font-size: 12.5px; cursor: pointer; }
.bank-quick .amount:hover { border-color: var(--gold-dim); color: var(--gold-bright); }
.bank-quick .verb { padding: 8px 18px; background: linear-gradient(180deg, #2d4f29 0%, #1c331b 100%); border: 1px solid #4a7c45; color: #ddf3d8; font-family: 'Cormorant Garamond', serif; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; }
.bank-quick .verb:hover { background: linear-gradient(180deg, #3d6d39 0%, #28482a 100%); }

/* ==========================================================
   Spital
   ========================================================== */
.hospital-banner { text-align: center; padding: 18px; }
.hospital-banner svg { width: 280px; height: 160px; color: var(--gold-dim); }
.hospital-info table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--border); }
.hospital-info caption { padding: 14px; font-family: 'Cormorant Garamond', serif; font-size: 16px; letter-spacing: 0.1em; color: var(--gold-bright); background: rgba(0,0,0,0.3); border-bottom: 1px solid var(--border); }
.hospital-info td { padding: 11px 16px; border-top: 1px solid var(--border); font-size: 13px; }
.hospital-info td.k { color: var(--text-dim); width: 50%; text-align: right; font-family: 'Cormorant Garamond', serif; font-size: 13.5px; }
.hospital-info td.v { color: var(--text); font-family: 'JetBrains Mono', monospace; }
.hospital-info td.v .accent { color: #d6a847; }
.hospital-time { text-align: center; padding: 16px; color: #6cb083; font-family: 'Cormorant Garamond', serif; font-size: 14px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.hospital-time .timer { color: #d6a847; font-family: 'JetBrains Mono', monospace; font-weight: 600; }
.heal-block { text-align: center; padding: 22px; border-bottom: 1px solid var(--border); }
.heal-block h3 { font-family: 'Cormorant Garamond', serif; font-size: 18px; letter-spacing: 0.1em; color: var(--gold-bright); margin-bottom: 12px; font-weight: 500; }
.heal-block p { color: var(--text-dim); font-size: 13px; line-height: 1.9; }
.heal-block .accent { color: #6cb083; font-weight: 600; }
.heal-block .gold { color: #d6a847; font-weight: 600; }
.heal-block .heal-btn { margin-top: 16px; padding: 11px 28px; background: linear-gradient(180deg, #2d4f29 0%, #1c331b 100%); border: 1px solid #4a7c45; color: #ddf3d8; font-family: 'Cormorant Garamond', serif; font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; }
.heal-block .heal-btn:hover { background: linear-gradient(180deg, #3d6d39 0%, #28482a 100%); }
.hospital-list { width: 100%; border-collapse: collapse; }
.hospital-list caption { padding: 14px; font-family: 'Cormorant Garamond', serif; font-size: 16px; letter-spacing: 0.1em; color: var(--gold-bright); background: rgba(0,0,0,0.3); border-bottom: 1px solid var(--border); }
.hospital-list .note { padding: 12px 14px; text-align: center; font-size: 12.5px; color: var(--text-dim); border-bottom: 1px solid var(--border); font-family: 'Cormorant Garamond', serif; line-height: 1.7; }
.hospital-list th { padding: 10px; text-align: center; background: rgba(0,0,0,0.2); font-family: 'Cormorant Garamond', serif; font-size: 12px; letter-spacing: 0.14em; color: var(--gold-dim); text-transform: uppercase; border-bottom: 1px solid var(--border); }
.hospital-list td { padding: 10px 14px; border-bottom: 1px solid var(--border); font-size: 13px; text-align: center; }
.hospital-list tr:last-child td { border-bottom: none; }
.hospital-list tbody tr:hover td { background: rgba(200,162,88,0.025); }
.hospital-list .city-cell { color: var(--text); font-family: 'Cormorant Garamond', serif; font-size: 14px; }
.hospital-list .profit { color: #d6a847; font-family: 'JetBrains Mono', monospace; }

/* ==========================================================
   Inchisoare
   ========================================================== */
.siren-banner {
  text-align: center;
  padding: 20px 18px 10px;
}
.siren-banner svg { width: 100%; max-width: 380px; height: auto; }
.prison-info {
  text-align: center;
  padding: 0 20px 18px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--text-dim);
  font-family: 'Cormorant Garamond', serif;
}
.prison-info .accent { color: var(--gold-bright); font-weight: 600; }

.prison-table { width: 100%; border-collapse: collapse; }
.prison-table th {
  padding: 12px 14px;
  background: rgba(0,0,0,0.3);
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--gold-dim);
  text-transform: uppercase;
  text-align: center;
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
}
.prison-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  text-align: center;
}
.prison-table tr:last-child td { border-bottom: none; }
.prison-table .empty { color: var(--text-faint); font-style: italic; padding: 18px; }
.prison-table .city-cell { color: var(--text); font-family: 'Cormorant Garamond', serif; font-size: 14px; }
.prison-table .profit { color: #d6a847; font-family: 'JetBrains Mono', monospace; }
.prison-table .pay-btn {
  padding: 6px 14px;
  background: linear-gradient(180deg, #2d4f29 0%, #1c331b 100%);
  border: 1px solid #4a7c45;
  color: #ddf3d8;
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.list-caption {
  padding: 14px;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  letter-spacing: 0.1em;
  color: var(--gold-bright);
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
}

.prison-time {
  text-align: center;
  padding: 16px;
  color: #6cb083;
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  border-top: 1px solid var(--border);
}
.prison-time .timer { color: #d6a847; font-family: 'JetBrains Mono', monospace; font-weight: 600; }

/* ==========================================================
   Călătorie (Gara)
   ========================================================== */
.train-banner {
  text-align: center;
  padding: 24px 20px 18px;
  border-bottom: 1px solid var(--border);
}
.train-banner svg { width: 100%; max-width: 460px; height: auto; }

.gara-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
}
@media (max-width: 900px) { .gara-grid { grid-template-columns: 1fr; } }
.gara-grid > div { padding: 22px 26px; }
.gara-grid > div + div { border-left: 1px solid var(--border); }
@media (max-width: 900px) { .gara-grid > div + div { border-left: none; border-top: 1px solid var(--border); } }

.dest-list { list-style: none; padding: 0; margin-bottom: 18px; }
.dest-list li {
  position: relative;
  padding: 10px 14px 10px 30px;
  margin-bottom: 8px;
  background: linear-gradient(180deg, #1c1712 0%, #15110d 100%);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 150ms ease;
}
.dest-list li::before {
  content: "•";
  position: absolute;
  left: 12px; top: 9px;
  color: var(--gold);
  font-size: 18px;
}
.dest-list li label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14.5px;
  letter-spacing: 0.04em;
  color: var(--gold-bright);
  cursor: pointer;
  font-weight: 500;
  display: block;
}
.dest-list li input[type=radio] { display: none; }
.dest-list li:hover { border-color: var(--gold-dim); background: rgba(200,162,88,0.04); }
.dest-list li:has(input:checked),
.dest-list li.is-selected { border-color: var(--gold); background: rgba(200,162,88,0.08); }

.btn-travel {
  padding: 12px 28px;
  background: linear-gradient(180deg, #1f1810 0%, #15110d 100%);
  color: var(--gold-bright);
  border: 1px solid var(--gold-dim);
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  font-weight: 500;
}
.btn-travel:hover { background: var(--gold); color: #0c0907; border-color: var(--gold); }

.gara-side .timer-row {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  color: #6cb083;
  font-size: 14px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.gara-side .timer-row .t { color: #d6a847; font-family: 'JetBrains Mono', monospace; font-weight: 600; }
.gara-side h3 {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  color: #d6a847;
  font-size: 16px;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  font-weight: 500;
}
.gara-side p {
  color: var(--text-dim);
  font-size: 13px;
  text-align: center;
  margin-bottom: 8px;
  line-height: 1.7;
}
.gara-side p .accent { color: #d6a847; font-weight: 600; }
.gara-side .price-block {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.gara-side .price-block .row {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  margin: 6px 0;
}
.gara-side .lbl { color: var(--text-dim); }
.gara-side .val { color: #d6a847; font-family: 'JetBrains Mono', monospace; font-weight: 600; }

/* ==========================================================
   Căsătorie (Starea Civila)
   ========================================================== */
.wedding-banner {
  text-align: center;
  padding: 28px 20px 14px;
}
.wedding-banner svg { width: 220px; height: 280px; }

.wedding-form {
  text-align: center;
  padding: 18px 20px 24px;
  border-top: 1px solid var(--border);
}
.wedding-form .label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.wedding-form input[type=text] {
  width: 100%;
  max-width: 380px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1px solid var(--border-bright);
  font-family: inherit;
  font-size: 13px;
  margin: 0 auto 16px;
  display: block;
  text-align: center;
}
.wedding-form input[type=text]:focus { outline: none; border-color: var(--gold); }
.wedding-form select {
  width: 100%;
  max-width: 380px;
  padding: 11px 14px;
  background: linear-gradient(180deg, #2a2218 0%, #1c1712 100%);
  color: var(--text);
  border: 1px solid var(--border-bright);
  font-family: inherit;
  font-size: 13px;
  margin: 0 auto 16px;
  display: block;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c8a258' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.wedding-form select:focus { outline: none; border-color: var(--gold); }
.wedding-form .btn-send {
  padding: 11px 30px;
  background: linear-gradient(180deg, #1f1810 0%, #15110d 100%);
  color: var(--gold-bright);
  border: 1px solid var(--gold-dim);
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}
.wedding-form .btn-send:hover { background: var(--gold); color: #0c0907; border-color: var(--gold); }

.wedding-warn {
  text-align: center;
  padding: 18px 22px 24px;
  border-top: 1px solid var(--border);
  font-family: 'Cormorant Garamond', serif;
}
.wedding-warn .head {
  color: var(--blood-bright);
  font-weight: 600;
  letter-spacing: 0.18em;
  font-size: 13px;
  margin-bottom: 14px;
}
.wedding-warn p { color: var(--text); font-size: 13.5px; line-height: 1.85; margin-bottom: 8px; }
.wedding-warn p strong { color: var(--gold-bright); }
.wedding-warn .small { color: var(--text-faint); font-style: italic; font-size: 12.5px; margin-top: 4px; }
.wedding-warn .divorce { color: var(--text-dim); margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
.wedding-warn .divorce strong { color: #d6a847; }

/* ==========================================================
   Zidul Rușinii
   ========================================================== */
.zid-intro {
  padding: 16px 20px 18px;
  text-align: center;
  font-size: 13.5px;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
  line-height: 1.85;
  font-family: 'Cormorant Garamond', serif;
}
.zid-intro h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--gold-bright);
  letter-spacing: 0.16em;
  margin-bottom: 8px;
  font-weight: 500;
}
.zid-intro a { color: #d6a847; font-weight: 600; }

.zid-table { width: 100%; border-collapse: collapse; }
.zid-table th {
  padding: 12px 14px;
  background: rgba(0,0,0,0.3);
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--gold-bright);
  text-transform: uppercase;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.zid-table td {
  padding: 9px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  text-align: center;
  color: var(--text);
}
.zid-table tr:last-child td { border-bottom: none; }
.zid-table tbody tr:hover td { background: rgba(200,162,88,0.025); }
.zid-table .motiv { color: var(--text-dim); }
.zid-table .admin-cell { color: var(--gold-dim); font-family: 'JetBrains Mono', monospace; font-size: 12px; }

/* ==========================================================
   Piața Neagră
   ========================================================== */
.piata-banner {
  position: relative;
  height: 220px;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(139,26,26,0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(200,162,88,0.08) 0%, transparent 50%),
    linear-gradient(180deg, #0c0907 0%, #15110d 100%);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.piata-banner svg { width: 100%; max-width: 700px; height: auto; opacity: 0.85; }
.piata-banner h2 {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
  text-shadow: 0 0 15px rgba(139,26,26,0.5), 0 4px 12px rgba(0,0,0,0.7);
  font-style: italic;
  font-weight: 600;
  z-index: 2;
}

.piata-meta {
  text-align: center;
  padding: 14px;
  font-size: 13.5px;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.06em;
}
.piata-meta .marker { color: var(--blood-bright); margin: 0 6px; }
.piata-meta .item { color: var(--text); }

.piata-products { text-align: center; padding: 26px 22px; }
.piata-products h3 {
  color: #6cb083;
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  font-weight: 600;
}
.piata-list {
  list-style: none;
  padding: 0;
  display: inline-block;
  text-align: left;
}
.piata-list li {
  padding: 5px 0;
  color: var(--text);
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  letter-spacing: 0.04em;
}
.piata-list li .sep-mark { color: var(--gold-dim); margin: 0 6px; }
.piata-list li .name { color: var(--text); font-weight: 600; }
.piata-list li .qty { color: #6cb083; font-weight: 600; font-family: 'JetBrains Mono', monospace; }
.piata-list li .lbl { color: var(--text-dim); }

/* ==========================================================
   Magazin
   ========================================================== */
.weapons-display {
  text-align: center;
  padding: 28px 22px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, transparent 100%);
}
.weapons-display svg { width: 100%; max-width: 600px; height: auto; }

.magazin-head {
  text-align: center;
  padding: 14px;
  background: rgba(0,0,0,0.3);
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  letter-spacing: 0.16em;
  color: var(--gold-bright);
  border-bottom: 1px solid var(--border);
}

.magazin-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
}
@media (max-width: 800px) {
  .magazin-grid { grid-template-columns: 1fr; }
  .magazin-grid > * { grid-column: 1 !important; }
}
.magazin-cell {
  padding: 22px 16px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: background 150ms ease;
}
.magazin-cell:last-child { border-right: none; }
@media (max-width: 800px) { .magazin-cell { border-right: none; } }
.magazin-cell:hover { background: rgba(200,162,88,0.04); color: var(--gold-bright); }
.magazin-cell svg { width: 56px; height: 56px; color: var(--text-dim); margin-bottom: 14px; stroke-width: 1.6; transition: color 150ms ease, transform 160ms ease; }
.magazin-cell:hover svg { color: var(--gold); transform: scale(1.1); }
.magazin-cell .label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.magazin-mid {
  padding: 22px 18px;
  text-align: center;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.magazin-mid p { color: var(--text); font-size: 13.5px; line-height: 1.7; margin: 8px 0; }
.magazin-mid .price-row { color: var(--text); font-size: 14px; margin: 10px 0; }
.magazin-mid .val { color: #d6a847; font-family: 'JetBrains Mono', monospace; font-weight: 600; }
.magazin-mid .check-row { font-size: 13.5px; color: var(--text); margin: 12px 0; display: flex; align-items: center; justify-content: center; gap: 8px; font-family: 'Cormorant Garamond', serif; }
.magazin-mid .check-row input[type=radio] { accent-color: var(--gold); transform: scale(1.1); }
.magazin-mid input[type=number] {
  width: 140px;
  padding: 8px 12px;
  background: #f4eedf;
  color: #15110d;
  border: 1px solid var(--border-bright);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  text-align: center;
  margin: 10px auto 12px;
  display: block;
}
.magazin-mid .btn-tax {
  padding: 10px 22px;
  background: linear-gradient(180deg, #1f1810 0%, #15110d 100%);
  color: var(--text);
  border: 1px solid var(--border-bright);
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}
.magazin-mid .btn-tax:hover { border-color: var(--gold-dim); color: var(--gold-bright); }
.magazin-mid .left {
  margin-top: 14px;
  color: var(--text-dim);
  font-size: 15px;
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.04em;
}

/* ==========================================================
   Fabrica de Muniție
   ========================================================== */
.fabrica-block {
  text-align: center;
  padding: 26px 22px;
}
.fabrica-block h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--gold-bright);
  letter-spacing: 0.16em;
  margin-bottom: 14px;
  font-weight: 500;
}
.fabrica-block p { color: var(--text-dim); font-size: 14px; line-height: 1.85; margin: 6px 0; font-family: 'Cormorant Garamond', serif; letter-spacing: 0.04em; }
.fabrica-block .price { color: #d6a847; font-weight: 600; font-family: 'JetBrains Mono', monospace; }
.fabrica-block .buy {
  margin-top: 18px;
  padding: 11px 32px;
  background: linear-gradient(180deg, #1f1810 0%, #15110d 100%);
  color: var(--gold-bright);
  border: 1px solid var(--gold-dim);
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}
.fabrica-block .buy:hover { background: var(--gold); color: #0c0907; border-color: var(--gold); }

/* ==========================================================
   Profile multi-panel (Ascunzătoare)
   ========================================================== */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 980px) { .profile-grid { grid-template-columns: 1fr; } }
.profile-grid > div { display: flex; flex-direction: column; gap: 18px; }

.kv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.kv-grid .pair {
  display: grid;
  grid-template-columns: minmax(110px, auto) 1fr;
  gap: 10px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  font-size: 12.5px;
  align-items: center;
}
.kv-grid .pair:nth-child(2n) { border-right: none; }
.kv-grid .pair .k {
  color: var(--text-dim);
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.kv-grid .pair .v {
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  text-align: right;
  word-break: break-word;
}
.kv-grid .pair .v.is-warn { color: var(--blood-bright); }
.kv-grid .pair .v.is-gold { color: var(--gold-bright); }
.kv-grid .pair .v a { color: var(--gold); }
@media (max-width: 600px) {
  .kv-grid { grid-template-columns: 1fr; }
  .kv-grid .pair { border-right: none; }
}

.profile-promo { padding: 14px 18px; font-size: 12.5px; }
.profile-promo .row { padding: 4px 0; display: flex; gap: 8px; flex-wrap: wrap; align-items: baseline; }
.profile-promo .lbl { color: var(--text-dim); font-weight: 500; font-family: 'Cormorant Garamond', serif; font-size: 13px; letter-spacing: 0.06em; }
.profile-promo .url { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--gold); word-break: break-all; }
.profile-promo .note {
  margin-top: 12px;
  padding: 10px 14px;
  background: rgba(200,162,88,0.04);
  border-left: 2px solid var(--gold);
  color: var(--gold-bright);
  font-size: 12.5px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  line-height: 1.7;
}
.profile-promo .note strong { color: var(--gold-bright); font-style: normal; }

.top-positions { width: 100%; border-collapse: collapse; }
.top-positions td {
  padding: 9px 14px;
  font-size: 12.5px;
  border-bottom: 1px solid var(--border);
}
.top-positions tr:last-child td { border-bottom: none; }
.top-positions tr:hover td { background: rgba(200,162,88,0.025); }
.top-positions .icon-cell { width: 28px; color: var(--gold); text-align: center; }
.top-positions .icon-cell svg { width: 14px; height: 14px; }
.top-positions .label-cell {
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.16em;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-dim);
}
.top-positions .pos-cell {
  text-align: right;
  color: var(--gold-bright);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
}

.kv-table { width: 100%; border-collapse: collapse; }
.kv-table td { padding: 10px 14px; font-size: 12.5px; border-bottom: 1px solid var(--border); }
.kv-table tr:last-child td { border-bottom: none; }
.kv-table .k { color: var(--text-dim); font-family: 'Cormorant Garamond', serif; }
.kv-table .v { color: var(--text); }

/* ==========================================================
   Data table (Spionaj / Elita)
   ========================================================== */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
.data-table th {
  padding: 10px 14px;
  text-align: left;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  letter-spacing: 0.16em;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--gold-dim);
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid var(--border);
}
.data-table td {
  padding: 9px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover td { background: rgba(200,162,88,0.025); color: var(--text); }
.data-table .num-cell { text-align: center; width: 50px; color: var(--text-faint); font-family: 'JetBrains Mono', monospace; }
.data-table .name-cell { font-weight: 500; }

.player-name { color: var(--text); font-weight: 500; text-decoration: none; }
.player-name:hover { color: var(--gold-bright); }
.player-name.is-gold { color: var(--gold-bright); }
.player-name.is-cool { color: #6a8da3; }
.player-name.is-blood { color: var(--blood-bright); }
.player-name.is-pink { color: #c47aa6; }
.player-name.is-purple { color: #9b7ec4; }
.player-name.is-cream { color: var(--text); }

.dot-status {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}
.dot-status.is-online { background: #5a9c6e; box-shadow: 0 0 6px rgba(90,156,110,0.4); }
.dot-status.is-offline { background: var(--blood); }

.tag {
  display: inline-block;
  padding: 1px 6px;
  font-size: 10px;
  margin-left: 6px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(139,26,26,0.18);
  color: var(--blood-bright);
  font-family: 'Inter', sans-serif;
  vertical-align: middle;
}

.search-bar {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: stretch;
}
.search-bar input {
  flex: 1;
  min-width: 200px;
  padding: 10px 14px;
  background: #f4eedf;
  color: #15110d;
  border: 1px solid var(--border-bright);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
}
.search-bar input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}
.search-bar button {
  padding: 10px 22px;
  background: linear-gradient(180deg, #1f1810 0%, #15110d 100%);
  border: 1px solid var(--gold-dim);
  color: var(--gold-bright);
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 150ms ease;
}
.search-bar button:hover { background: var(--gold); color: #0c0907; border-color: var(--gold); }

/* ==========================================================
   Tabs (Elita / Hall of Fame)
   ========================================================== */
.tabs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.tab-pill {
  padding: 14px 18px;
  text-align: center;
  background: linear-gradient(180deg, #15110d 0%, #110d09 100%);
  border: 1px solid var(--border);
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  position: relative;
  cursor: pointer;
  text-decoration: none;
  transition: color 150ms, border-color 150ms;
}
.tab-pill:hover { color: var(--gold-bright); border-color: var(--gold-dim); }
.tab-pill.is-active { color: var(--gold-bright); border-color: var(--gold); }
.tab-pill.is-active::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--gold);
}
@media (max-width: 600px) {
  .tabs-row { grid-template-columns: 1fr; }
  .tab-pill { font-size: 16px; padding: 12px 14px; }
}

/* ==========================================================
   Info Orașe
   ========================================================== */
.city-banner {
  position: relative;
  height: 140px;
  background:
    linear-gradient(180deg, transparent 0%, var(--bg-card) 100%),
    radial-gradient(ellipse at 50% 100%, rgba(200,162,88,0.18) 0%, transparent 60%);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.city-banner svg { width: 90%; max-width: 700px; opacity: 0.7; }
.city-banner svg path { fill: rgba(200,162,88,0.55); }

.city-table { width: 100%; border-collapse: collapse; }
.city-table th {
  padding: 16px 14px;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  letter-spacing: 0.14em;
  color: var(--gold-bright);
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  vertical-align: middle;
}
.city-table th:last-child { border-right: none; }
.city-table th .col-icon { display: block; margin: 8px auto 0; width: 36px; height: 36px; color: var(--gold); }
.city-table th .col-icon svg { width: 30px; height: 30px; opacity: 0.85; stroke-width: 1.4; }

.city-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  font-size: 13px;
}
.city-table td:last-child { border-right: none; }
.city-table tbody tr:hover td { background: rgba(200,162,88,0.03); }
.city-table .city-cell { color: var(--text); font-family: 'Cormorant Garamond', serif; font-size: 14px; letter-spacing: 0.04em; }
.city-table .count { color: var(--text-faint); font-family: 'JetBrains Mono', monospace; font-size: 11.5px; margin-left: 4px; }
.city-table .free { color: var(--gold-bright); font-style: italic; font-family: 'Cormorant Garamond', serif; }

@media (max-width: 700px) {
  .city-banner { height: 90px; }
  .city-table th { padding: 12px 6px; font-size: 12px; letter-spacing: 0.06em; }
  .city-table th .col-icon { width: 24px; height: 24px; margin-top: 4px; }
  .city-table th .col-icon svg { width: 20px; height: 20px; }
  .city-table td { padding: 9px 6px; font-size: 11.5px; }
  .city-table .city-cell { font-size: 12.5px; }
}

/* ==========================================================
   Familie meniu
   ========================================================== */
.familie-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 800px) { .familie-layout { grid-template-columns: 1fr; } }

.familie-options { display: flex; flex-direction: column; gap: 14px; padding: 24px; }
.familie-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #1c1712 0%, #15110d 100%);
  text-decoration: none;
  color: var(--text);
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  letter-spacing: 0.04em;
  transition: all 180ms ease;
}
.familie-option:hover { border-color: var(--gold-dim); color: var(--gold-bright); transform: translateX(4px); }
.familie-option .num {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(200,162,88,0.08);
  border: 1px solid var(--gold-dim);
  color: var(--gold-bright);
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  flex-shrink: 0;
}
.familie-option:hover .num { background: var(--gold); color: #0c0907; }

.familie-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at center, rgba(200,162,88,0.06) 0%, transparent 70%),
    var(--bg-card);
  padding: 24px;
  border-left: 1px solid var(--border);
}
@media (max-width: 800px) { .familie-illustration { border-left: none; border-top: 1px solid var(--border); padding: 36px 24px; } }
.familie-illustration svg { width: 70%; max-width: 220px; color: var(--gold-dim); }

.familie-info {
  margin: 18px 18px 18px;
  padding: 16px 20px;
  background: rgba(200,162,88,0.03);
  border: 1px solid var(--gold-dim);
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-style: italic;
  color: var(--text-dim);
  line-height: 1.7;
}
.familie-info .lbl { color: var(--gold-bright); font-style: normal; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 11.5px; margin-right: 6px; font-family: 'Inter', sans-serif; }
.familie-info .accent { color: var(--gold-bright); font-weight: 600; font-style: normal; }

/* ==========================================================
   Elita Jocului — top-5 grid
   ========================================================== */
.elita-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}
@media (max-width: 900px) { .elita-grid { grid-template-columns: 1fr; } }
.elita-grid .panel { margin: 0; }

/* Mobil: in topuri/clasamente, numele lipit stanga, valoarea lipita dreapta (nu adunate la mijloc) */
@media (max-width: 600px) {
  .data-table td { padding-left: 10px; padding-right: 6px; }
  /* numele absoarbe tot spatiul liber -> valoarea e impinsa la marginea dreapta */
  .data-table td:first-child { width: 100%; padding-right: 4px; }
  .data-table td:last-child { width: 1%; white-space: nowrap; padding-right: 4px; text-align: right; }
}

/* topbar cash style */
.topbar-item.tb-cash { color: var(--text-dim); }
.topbar-item.tb-cash .icon { color: var(--text-dim); }
.topbar-item.tb-cash .num { color: var(--text); }
.topbar-item.tb-cash:hover .icon,
.topbar-item.tb-cash:hover .num { color: var(--gold-bright); }

/* ==========================================================
   Sub-tabs row (Loguri)
   ========================================================== */
.subtabs {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
}
.subtab {
  flex: 1;
  min-width: 110px;
  padding: 14px 12px;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  text-decoration: none;
  border-right: 1px solid var(--border);
  transition: all 150ms ease;
  position: relative;
}
.subtab:last-child { border-right: none; }
.subtab:hover { color: var(--gold-bright); background: rgba(200,162,88,0.04); }
.subtab.is-active {
  color: var(--gold-bright);
  background: rgba(200,162,88,0.08);
}
.subtab.is-active::after {
  content: ""; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px;
  background: var(--gold);
}
@media (max-width: 700px) {
  .subtab { min-width: 100px; padding: 12px 8px; font-size: 12.5px; letter-spacing: 0.08em; }
}

/* ==========================================================
   Loguri table
   ========================================================== */
.log-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.log-table th {
  padding: 10px 14px;
  text-align: left;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  letter-spacing: 0.16em;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--gold-dim);
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid var(--border);
}
.log-table th.num-cell { text-align: center; width: 50px; }
.log-table td { padding: 9px 14px; border-bottom: 1px solid var(--border); color: var(--text-dim); }
.log-table tr:last-child td { border-bottom: none; }
.log-table tbody tr:hover td { background: rgba(200,162,88,0.025); }
.log-table .num { text-align: center; color: var(--text-faint); font-family: 'JetBrains Mono', monospace; }

.log-result { font-family: 'JetBrains Mono', monospace; font-size: 12px; }
.log-result .amt-win  { color: #6cb083; }
.log-result .amt-loss { color: var(--blood-bright); }
.log-result .amt-zero { color: var(--text-faint); }
.log-result .when     { color: var(--text-faint); margin-left: 6px; }

/* ==========================================================
   Forum
   ========================================================== */
.forum-table { width: 100%; border-collapse: collapse; }
.forum-table th {
  padding: 12px 16px;
  background: rgba(0,0,0,0.3);
  text-align: left;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  letter-spacing: 0.14em;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--gold-dim);
  border-bottom: 1px solid var(--border);
}
.forum-table th.num { text-align: center; width: 110px; }
.forum-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); }
.forum-table tr:last-child td { border-bottom: none; }
.forum-table tbody tr:hover td { background: rgba(200,162,88,0.025); }
.forum-table .cat-name {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  color: var(--gold-bright);
  text-decoration: none;
  letter-spacing: 0.04em;
}
.forum-table .cat-name:hover { color: #f0d28a; }
.forum-table .cat-name svg { color: var(--gold); width: 16px; height: 16px; flex-shrink: 0; }
.forum-table .cat-desc { color: var(--text-dim); font-size: 12.5px; margin-top: 4px; line-height: 1.55; }
.forum-table .count {
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-dim);
  font-size: 13px;
  vertical-align: middle;
}
@media (max-width: 700px) {
  .forum-table th, .forum-table td { padding: 10px 10px; }
  .forum-table th.num { width: 70px; }
  .forum-table .cat-name { font-size: 15px; }
  .forum-table .cat-desc { font-size: 11.5px; }
}

/* ==========================================================
   Regulament
   ========================================================== */
.rules-toc {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.2);
}
.rules-toc ul { list-style: none; padding: 0; columns: 2; column-gap: 30px; }
@media (max-width: 600px) { .rules-toc ul { columns: 1; } }
.rules-toc li { padding: 4px 0 4px 22px; position: relative; font-size: 13.5px; break-inside: avoid; }
.rules-toc li::before {
  content: "▸"; position: absolute; left: 4px; color: var(--gold);
}
.rules-toc a { color: var(--text); text-decoration: none; }
.rules-toc a:hover { color: var(--gold-bright); }

.rules-section { padding: 24px; }
.rules-section + .rules-section { border-top: 1px solid var(--border); }
.rules-section h3 {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  letter-spacing: 0.1em;
  color: var(--gold-bright);
  margin-bottom: 22px;
  font-weight: 500;
}

.article {
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-dim);
}
.article .nr {
  font-weight: 600;
  font-family: 'Cormorant Garamond', serif;
  font-size: 14.5px;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-right: 6px;
}
.article.is-grave { color: #d65c5c; }
.article.is-grave .nr { color: #d65c5c; }
.article.is-warn  { color: #d6a847; }
.article.is-warn .nr { color: #d6a847; }

@media (max-width: 700px) {
  .rules-section { padding: 18px 14px; }
  .article { font-size: 12.5px; }
}

/* ==========================================================
   Chestionar (poll)
   ========================================================== */
.poll-block {
  padding: 28px 24px 30px;
  text-align: center;
}
.poll-block h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  font-weight: 600;
}
.poll-block h3.is-vote    { color: var(--gold-bright); }
.poll-block h3.is-results { color: #6cb083; }
.poll-block .label {
  color: var(--text-dim);
  font-size: 12.5px;
  margin-bottom: 14px;
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.04em;
}
.poll-block select {
  width: 100%;
  max-width: 640px;
  padding: 14px 18px;
  background: linear-gradient(180deg, #2a2218 0%, #1c1712 100%);
  color: var(--text);
  border: 1px solid var(--border-bright);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c8a258' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.poll-block select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}

/* ========== Piața Neagră — listing page ========== */
.piata-link { display: block; color: inherit; text-decoration: none; padding: 4px 0; transition: background 0.15s ease; }
.piata-link:hover { background: rgba(200,162,88,0.06); }
.piata-link:hover .name { color: var(--gold-bright); }

.piata-listing-back { text-align: center; padding: 14px 20px 22px; font-family: 'Cormorant Garamond', serif; font-size: 16px; }
.piata-listing-back a { color: var(--text); text-decoration: none; letter-spacing: 0.06em; transition: color 0.15s; }
.piata-listing-back a:hover { color: var(--gold-bright); }

.piata-listing-title { text-align: left; padding: 0 24px 14px; font-family: 'Cormorant Garamond', serif; font-size: 18px; color: var(--text); letter-spacing: 0.05em; font-weight: 600; }

.piata-listing-wrap { padding: 0 18px 22px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.piata-listing-table { width: 100%; border-collapse: collapse; font-family: 'JetBrains Mono', monospace; font-size: 13px; }
@media (max-width: 700px) {
  .piata-listing-wrap { padding: 0 8px 22px; }
  .piata-listing-table { min-width: 480px; font-size: 12px; }
  .piata-listing-table thead th { padding: 10px 6px; font-size: 11px; letter-spacing: 0.06em; }
  .piata-listing-table tbody td { padding: 8px 6px; font-size: 12px; }
}
.piata-listing-table thead th {
  text-align: center;
  padding: 12px 10px;
  background: linear-gradient(180deg, #1a1410 0%, #0f0c09 100%);
  color: var(--gold-dim);
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  border-bottom: 1px solid var(--gold-dim);
}
.piata-listing-table tbody td {
  text-align: center;
  padding: 10px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--text);
}
.piata-listing-table tbody tr:hover td { background: rgba(200,162,88,0.04); }
.piata-listing-table .cant { color: var(--text); font-weight: 500; }
.piata-listing-table .vanz { color: var(--text); }
.piata-listing-table .pret { color: #d6a847; }
.piata-listing-table .tag-x { color: var(--blood-bright); font-weight: 700; margin-left: 4px; }
.piata-listing-table .x-col { width: 60px; }
.piata-listing-table .x-form { display: inline; margin: 0; padding: 0; }
.piata-listing-table .x-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.15s;
}
.piata-listing-table .x-btn:hover { color: var(--gold-bright); }

.piata-captcha { padding: 20px 24px 26px; }
.piata-captcha .captcha-label { font-family: 'Cormorant Garamond', serif; font-size: 15px; color: var(--text); letter-spacing: 0.05em; margin-bottom: 12px; }
.piata-captcha .captcha-image {
  display: inline-block;
  background: #ffffff;
  color: #2563d6;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  margin-bottom: 14px;
  user-select: none;
}
.piata-captcha .captcha-input {
  display: block;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-bright);
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  padding: 8px 12px;
  width: 100px;
  margin-bottom: 12px;
}
.piata-captcha .captcha-input:focus { outline: none; border-color: var(--gold); }
.piata-captcha .captcha-btn {
  padding: 10px 22px;
  background: linear-gradient(180deg, #2a2218 0%, #1c1712 100%);
  color: var(--text);
  border: 1px solid var(--border-bright);
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.10em;
  cursor: pointer;
  transition: all 0.15s;
}
.piata-captcha .captcha-btn:hover { border-color: var(--gold); color: var(--gold-bright); }

@media (max-width: 700px) {
  .piata-listing-title { padding: 0 14px 10px; font-size: 16px; }
  .piata-listing-wrap { padding: 0 8px 18px; }
  .piata-listing-table { font-size: 12px; }
  .piata-listing-table thead th { padding: 10px 6px; font-size: 12px; }
  .piata-listing-table tbody td { padding: 9px 6px; }
  .piata-captcha { padding: 18px 14px 20px; }
}

/* ========== Magazin — pagină de categorie ========== */
.magazin-cat-back { text-align: center; padding: 14px 20px 22px; font-family: 'Cormorant Garamond', serif; font-size: 16px; border-bottom: 1px solid var(--border); }
.magazin-cat-back a { color: var(--text); text-decoration: none; letter-spacing: 0.06em; transition: color 0.15s; font-weight: 600; }
.magazin-cat-back a:hover { color: var(--gold-bright); }

.magazin-item { border-bottom: 1px solid var(--border); padding: 0; }
.magazin-item:last-of-type { border-bottom: none; }
.magazin-item-name {
  background: linear-gradient(180deg, #1a1410 0%, #0f0c09 100%);
  color: var(--text);
  padding: 12px 24px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.10em;
  border-bottom: 1px solid var(--border);
}
.magazin-item-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 24px;
  align-items: center;
}
.magazin-item-img {
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--border);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
}
.magazin-item-img svg { width: 100%; max-width: 180px; height: auto; }
.magazin-item-info { display: flex; flex-direction: column; gap: 8px; font-family: 'Cormorant Garamond', serif; font-size: 15px; }
.magazin-item-info .stat-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 12px;
  align-items: center;
  padding: 4px 0;
}
.magazin-item-info .stat-row .lbl { color: var(--text-dim); letter-spacing: 0.04em; }
.magazin-item-info .stat-row .val { color: var(--text); font-family: 'JetBrains Mono', monospace; font-size: 13.5px; }
.magazin-item-info .stat-row .val.gold { color: #d6a847; font-weight: 600; }
.magazin-item-info .stat-row.hl .lbl { color: #d6a847; font-weight: 600; }
.magazin-item-info .qty-input {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-bright);
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  padding: 6px 10px;
  width: 120px;
  text-align: left;
}
.magazin-item-info .qty-input:focus { outline: none; border-color: var(--gold); }
.magazin-item-info .btn-row { padding-top: 6px; padding-left: 172px; }
.magazin-item-info .btn-cumpara {
  padding: 8px 22px;
  background: linear-gradient(180deg, #2a2218 0%, #1c1712 100%);
  color: var(--text);
  border: 1px solid var(--border-bright);
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.15s;
}
.magazin-item-info .btn-cumpara:hover { border-color: var(--gold); color: var(--gold-bright); background: linear-gradient(180deg, #332919 0%, #1f1a13 100%); }

@media (max-width: 760px) {
  .magazin-item-body { grid-template-columns: 1fr; gap: 14px; padding: 16px; }
  .magazin-item-img { max-width: 240px; margin: 0 auto; }
  .magazin-item-info .stat-row { grid-template-columns: 120px 1fr; gap: 8px; font-size: 14px; }
  .magazin-item-info .stat-row .val { font-size: 12.5px; }
  .magazin-item-info .btn-row { padding-left: 132px; }
  .magazin-item-name { padding: 10px 16px; font-size: 15px; }
}
@media (max-width: 480px) {
  .magazin-item-info .stat-row { grid-template-columns: 100px 1fr; }
  .magazin-item-info .btn-row { padding-left: 0; text-align: center; }
}

/* ========== Ucide :: Contracte ========== */
.lista-neagra { padding: 22px 24px 28px; border-bottom: 1px solid var(--border); }
.ln-title {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  padding: 14px 0;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, #15110d 0%, #0a0807 100%);
}
.ln-reaper-frame { display: flex; justify-content: center; padding: 18px 0 8px; }
.ln-reaper-frame svg { width: 240px; height: 280px; max-width: 100%; }
.ln-quote {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 17px;
  color: var(--text);
  padding: 6px 12px 22px;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}
.ln-target-block { text-align: center; padding: 4px 12px; }
.ln-target { font-family: 'Cormorant Garamond', serif; font-size: 17px; color: var(--text); font-weight: 600; padding: 4px 0; }
.ln-target-name { color: #4a90b8; font-weight: 700; }
.ln-status { font-family: 'Cormorant Garamond', serif; font-size: 16px; font-weight: 700; padding: 6px 0 16px; }
.ln-status.is-killed { color: #6cb083; }
.ln-status.is-active { color: #d6a847; }
.ln-status.is-failed { color: var(--blood-bright); }
.ln-details { font-family: 'Cormorant Garamond', serif; font-size: 15px; line-height: 1.85; color: var(--text); }
.ln-details-title { font-weight: 700; padding: 4px 0; letter-spacing: 0.05em; }
.ln-detail-line strong { color: var(--text); font-weight: 700; }
.ln-reward { color: #d6a847; font-family: 'JetBrains Mono', monospace; font-weight: 700; }

.contract-section { padding: 26px 24px; border-bottom: 1px solid var(--border); }
.contract-section:last-child { border-bottom: none; }
.contract-h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dim);
  text-align: center;
  padding: 8px 0 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}
.contract-hint {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14.5px;
  color: var(--text-dim);
  text-align: center;
  padding: 0 16px 18px;
  line-height: 1.7;
  letter-spacing: 0.03em;
}

.contract-form { max-width: 520px; margin: 0 auto; }
.contract-form .cf-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 14px;
  align-items: center;
  padding: 8px 0;
}
.contract-form label { font-family: 'Cormorant Garamond', serif; font-size: 14.5px; color: var(--text-dim); letter-spacing: 0.04em; }
.contract-form input[type=text],
.contract-form input[type=number],
.contract-form select {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-bright);
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  padding: 8px 12px;
  width: 100%;
}
.contract-form input:focus, .contract-form select:focus { outline: none; border-color: var(--gold); }
.contract-form .cf-actions { display: flex; gap: 18px; align-items: center; padding: 14px 0 0; padding-left: 194px; flex-wrap: wrap; }
.contract-form .btn-place {
  padding: 10px 24px;
  background: linear-gradient(180deg, #5a0e0e 0%, #3d0808 100%);
  color: #f3d8d8;
  border: 1px solid #7B1A1A;
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.15s;
}
.contract-form .btn-place:hover { background: linear-gradient(180deg, #7B1A1A 0%, #5a0e0e 100%); color: #fff; }
.contract-form .cf-balance { color: var(--text-dim); font-family: 'Cormorant Garamond', serif; font-size: 14px; }
.contract-form .cf-balance strong { color: #d6a847; font-family: 'JetBrains Mono', monospace; font-weight: 600; }

.contracts-table-wrap { overflow-x: auto; }
.contracts-table { width: 100%; border-collapse: collapse; font-family: 'JetBrains Mono', monospace; font-size: 13px; }
.contracts-table thead th {
  text-align: center;
  padding: 12px 10px;
  background: linear-gradient(180deg, #1a1410 0%, #0f0c09 100%);
  color: var(--gold-dim);
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-weight: 700;
  border-bottom: 1px solid var(--gold-dim);
}
.contracts-table tbody td {
  text-align: center;
  padding: 11px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--text);
}
.contracts-table tbody tr:hover td { background: rgba(123,26,26,0.08); }
.contracts-table .ct-tinta { color: var(--text); font-weight: 600; }
.contracts-table .ct-reward { color: #d6a847; font-weight: 700; }
.contracts-table .ct-action-col { width: 110px; }
.contracts-table .btn-accept {
  padding: 6px 16px;
  background: linear-gradient(180deg, #2d4f29 0%, #1c331b 100%);
  color: #ddf3d8;
  border: 1px solid #4a7c45;
  font-family: 'Cormorant Garamond', serif;
  font-size: 12.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.contracts-table .btn-accept:hover { background: linear-gradient(180deg, #3d6d39 0%, #28482a 100%); color: #fff; }

.victim-roster {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  justify-content: center;
  padding: 6px 4px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
}
.victim { display: inline-block; }
.victim-cream { color: #d8cdb8; }
.victim-pink  { color: #d68aae; }
.victim-gold  { color: #d6a847; }
.victim-blood { color: #d65a5a; }

@media (max-width: 700px) {
  .lista-neagra, .contract-section { padding: 20px 14px; }
  .ln-title { font-size: 18px; letter-spacing: 0.12em; }
  .ln-reaper-frame svg { width: 180px; height: 220px; }
  .ln-quote { font-size: 15px; }
  .ln-target { font-size: 15px; }
  .ln-details { font-size: 14px; }
  .contract-form .cf-row { grid-template-columns: 1fr; gap: 6px; }
  .contract-form .cf-actions { padding-left: 0; justify-content: center; }
  .contracts-table { font-size: 12px; }
  .contracts-table thead th { padding: 10px 6px; font-size: 12px; }
  .contracts-table tbody td { padding: 9px 6px; }
  .victim-roster { font-size: 14px; gap: 4px 10px; }
}

/* ========== GTA · Mașini & Curse ========== */
.gta-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #15110d 0%, #0a0807 100%);
}
.gta-tab {
  flex: 1;
  padding: 14px 18px;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  border-right: 1px solid var(--border);
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.gta-tab:last-child { border-right: none; }
.gta-tab i { width: 16px; height: 16px; }
.gta-tab:hover { color: var(--gold-bright); background: rgba(200,162,88,0.05); }
.gta-tab.is-active { color: var(--gold-bright); background: rgba(200,162,88,0.10); border-bottom: 2px solid var(--gold); }

.gta-shop-head {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  font-family: 'Cormorant Garamond', serif;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.gta-shop-head p { color: var(--text-dim); font-size: 14.5px; line-height: 1.6; flex: 1 1 320px; margin: 0; }
.gta-shop-head .cash-tag { color: var(--text); font-size: 14px; padding: 8px 14px; border: 1px solid var(--border-bright); background: rgba(0,0,0,0.35); }
.gta-shop-head .cash-tag strong { color: #d6a847; font-family: 'JetBrains Mono', monospace; font-weight: 600; }

.gta-shop-grid, .gta-garage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  padding: 22px;
}

.gta-card {
  background: linear-gradient(180deg, #1a1410 0%, #0f0c09 100%);
  border: 1px solid var(--border);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.15s, transform 0.15s;
  position: relative;
}
.gta-card:hover { border-color: var(--gold-dim); transform: translateY(-2px); }
.gta-card.is-locked { opacity: 0.55; }
.gta-card.is-preferred { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset; }

.gta-card .pref-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(180deg, #d6a847 0%, #a07e34 100%);
  color: #15110d;
  font-family: 'Cormorant Garamond', serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 4px 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.gta-card .pref-badge i { width: 11px; height: 11px; }

.gtas-img {
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.04);
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
}
.gtas-img svg { width: 100%; max-width: 200px; height: auto; }

.gtas-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  letter-spacing: 0.05em;
  padding: 4px 0;
}

.gtas-stats { display: flex; flex-direction: column; gap: 6px; padding: 4px 0; }
.gtas-stat {
  display: grid;
  grid-template-columns: 80px 1fr 36px;
  gap: 8px;
  align-items: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
}
.gtas-stat .lbl { color: var(--text-dim); letter-spacing: 0.04em; }
.gtas-stat .num { color: var(--text); font-family: 'JetBrains Mono', monospace; font-size: 12px; text-align: right; }
.gtas-stat .bar {
  position: relative;
  height: 6px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.04);
  display: block;
  overflow: hidden;
}
.gtas-stat .bar > span {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: linear-gradient(90deg, #a07e34 0%, #d6a847 100%);
  display: block;
}

.gtas-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: #d6a847;
  font-weight: 700;
  text-align: center;
  padding: 6px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  letter-spacing: 0.04em;
}

.gtas-btn {
  padding: 10px 16px;
  background: linear-gradient(180deg, #2a2218 0%, #1c1712 100%);
  color: var(--text);
  border: 1px solid var(--border-bright);
  font-family: 'Cormorant Garamond', serif;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.15s;
  width: 100%;
}
.gtas-btn:hover:not(:disabled) { border-color: var(--gold); color: var(--gold-bright); background: linear-gradient(180deg, #332919 0%, #1f1a13 100%); }
.gtas-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.gtas-btn.alt { background: linear-gradient(180deg, #2d4f29 0%, #1c331b 100%); border-color: #4a7c45; color: #ddf3d8; }
.gtas-btn.alt:hover:not(:disabled) { background: linear-gradient(180deg, #3d6d39 0%, #28482a 100%); color: #fff; }

.gtag-meta { display: flex; flex-direction: column; gap: 4px; padding: 6px 0; font-family: 'Cormorant Garamond', serif; font-size: 13.5px; }
.gtag-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.gtag-row .lbl { color: var(--text-dim); }
.gtag-row .val { color: var(--text); font-family: 'JetBrains Mono', monospace; font-size: 12.5px; }
.gtag-row .val.gold { color: #d6a847; font-weight: 700; }

.garage-empty {
  text-align: center;
  padding: 48px 24px;
  font-family: 'Cormorant Garamond', serif;
  color: var(--text-dim);
  font-size: 16px;
}
.garage-empty p { margin: 0 0 18px; font-style: italic; }
.garage-empty .empty-cta {
  display: inline-block;
  padding: 10px 22px;
  background: linear-gradient(180deg, #2a2218 0%, #1c1712 100%);
  color: var(--gold-bright);
  border: 1px solid var(--gold-dim);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 14px;
  transition: all 0.15s;
}
.garage-empty .empty-cta:hover { background: var(--gold); color: #0c0907; border-color: var(--gold); }

/* === Curse === */
.curse-current { padding: 20px 24px; border-bottom: 1px solid var(--border); }
.curse-head {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dim);
  text-align: center;
  padding: 4px 0 14px;
}
.curse-mine {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 22px;
  align-items: center;
  background: linear-gradient(180deg, #1a1410 0%, #0f0c09 100%);
  border: 1px solid var(--gold-dim);
  padding: 18px;
}
.cm-img {
  background: rgba(0,0,0,0.45);
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cm-img svg { width: 100%; max-width: 200px; }
.cm-info { display: flex; flex-direction: column; gap: 8px; font-family: 'Cormorant Garamond', serif; }
.cm-name { font-size: 22px; font-weight: 700; color: var(--text); letter-spacing: 0.04em; }
.cm-power { font-size: 15px; color: var(--text-dim); }
.cm-power strong { color: #d6a847; font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 16px; }
.cm-change { color: var(--gold-bright); text-decoration: none; font-size: 14px; padding: 6px 0; letter-spacing: 0.04em; }
.cm-change:hover { color: #fff; }

.curse-section { padding: 22px 24px; }
.curse-h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dim);
  text-align: center;
  padding: 8px 0 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}
.curse-hint {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--text-dim);
  padding: 0 16px 22px;
  line-height: 1.7;
}
.curse-hint em { color: #d6a847; font-style: normal; font-family: 'JetBrains Mono', monospace; font-size: 12.5px; }

.opponents-list { display: flex; flex-direction: column; gap: 10px; }
.opponent-row {
  display: grid;
  grid-template-columns: 1fr 1.3fr 220px;
  gap: 18px;
  align-items: center;
  padding: 14px 18px;
  background: linear-gradient(180deg, #1a1410 0%, #0f0c09 100%);
  border: 1px solid var(--border);
  transition: border-color 0.15s;
}
.opponent-row:hover { border-color: var(--gold-dim); }

.opp-info { font-family: 'Cormorant Garamond', serif; }
.opp-name { font-size: 17px; font-weight: 700; color: var(--text); letter-spacing: 0.04em; }
.opp-car { font-size: 13px; color: var(--text-dim); padding: 4px 0; }
.opp-car strong { color: var(--text); font-family: 'JetBrains Mono', monospace; font-weight: 600; }

.opp-chance { font-family: 'Cormorant Garamond', serif; }
.opp-chance .chance-label { font-size: 12px; color: var(--text-dim); letter-spacing: 0.10em; text-transform: uppercase; padding-bottom: 4px; }
.chance-bar {
  position: relative;
  height: 22px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-bright);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.chance-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  display: block;
  transition: width 0.3s ease;
}
.chance-fill.chance-high { background: linear-gradient(90deg, #2d4f29 0%, #4a7c45 100%); }
.chance-fill.chance-mid  { background: linear-gradient(90deg, #a07e34 0%, #d6a847 100%); }
.chance-fill.chance-low  { background: linear-gradient(90deg, #5a0e0e 0%, #7B1A1A 100%); }
.chance-num {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.7);
  letter-spacing: 0.04em;
}

.opp-bet { display: flex; gap: 8px; align-items: center; }
.opp-bet input[type=number] {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-bright);
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  padding: 8px 10px;
  min-width: 0;
}
.opp-bet input:focus { outline: none; border-color: var(--gold); }
.btn-race {
  padding: 8px 16px;
  background: linear-gradient(180deg, #5a0e0e 0%, #3d0808 100%);
  color: #f3d8d8;
  border: 1px solid #7B1A1A;
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
}
.btn-race:hover { background: linear-gradient(180deg, #7B1A1A 0%, #5a0e0e 100%); color: #fff; }

@media (max-width: 880px) {
  .opponent-row { grid-template-columns: 1fr; gap: 10px; padding: 14px; }
  .curse-mine { grid-template-columns: 1fr; gap: 14px; }
  .cm-img { max-width: 240px; margin: 0 auto; }
}
@media (max-width: 600px) {
  .gta-tab { font-size: 12px; padding: 12px 8px; letter-spacing: 0.06em; }
  .gta-shop-grid, .gta-garage-grid { grid-template-columns: 1fr; gap: 12px; padding: 14px; }
  .gta-shop-head { padding: 14px 16px; }
  .opp-bet { flex-direction: column; align-items: stretch; }
  .opp-bet input { width: 100%; }
  .btn-race { width: 100%; }
}

/* ============================================================================
   FLASH MESSAGES (success / error)
   ============================================================================ */
.flash {
  max-width: 720px;
  margin: 12px auto 0;
  padding: 10px 14px;
  border-radius: 3px;
  font-size: 13px;
  letter-spacing: 0.04em;
  font-family: 'Inter', system-ui, sans-serif;
  border-left: 3px solid;
}
.flash-ok {
  background: rgba(108, 176, 131, 0.10);
  border-color: #6cb083;
  color: #8ec5a1;
}
.flash-err {
  background: rgba(196, 74, 74, 0.10);
  border-color: #c44a4a;
  color: #e08585;
}

/* ---------- Cooldown coloring pe sectiuni (tile + crime-tab) ---------- */
.tile.cd-full { border-color: #7B1A1A !important; background: rgba(122,26,26,0.12) !important; }
.tile.cd-full .tile-label, .tile.cd-full .tile-icon { color: #c44a4a !important; }
.tile.cd-partial { border-color: #c8862f !important; background: rgba(200,134,47,0.10) !important; }
.tile.cd-partial .tile-label { color: #e0a347 !important; }
.tile .cd-note { font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase; margin-top: 2px; }
.tile.cd-full .cd-note { color: #c44a4a; }
.tile.cd-partial .cd-note { color: #e0a347; }

.crime-tab.cd-full { background: rgba(122,26,26,0.18); color: #c44a4a; }
.crime-tab.cd-partial { background: rgba(200,134,47,0.15); color: #e0a347; }
.crime-tab .cd-note { display: block; font-size: 9px; letter-spacing: 0.03em; text-transform: uppercase; opacity: 0.9; }

/* ---------- Tile cooldown icon (⏳/🔒) ---------- */
.tile { position: relative; }
.tile-cd-icon { position: absolute; top: 6px; right: 8px; font-size: 14px; line-height: 1; }

/* ---------- Sidebar glow: grup cu activitati disponibile ---------- */
.sb-group.sb-glow { position: relative; }
.sb-group.sb-glow .label { color: var(--gold, #d6a847); }
.sb-group.sb-glow { animation: sbGlow 1.8s ease-in-out infinite; }
@keyframes sbGlow {
  0%, 100% { box-shadow: inset 2px 0 0 transparent; }
  50% { box-shadow: inset 2px 0 0 var(--gold, #d6a847); }
}
.sb-glow-dot {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold, #d6a847);
  animation: sbDot 1.4s ease-in-out infinite;
}
@keyframes sbDot { 0%,100% { opacity: 0.35; } 50% { opacity: 1; box-shadow: 0 0 6px var(--gold, #d6a847); } }

/* ======================= RESPONSIVE GUARDRAILS (mobil) ======================= */
img, svg, video { max-width: 100%; height: auto; }
.panel, section, .tile, .gamble-tile, .fb-card { max-width: 100%; box-sizing: border-box; }
.page-greeting { text-align: center; }
.page-greeting p { max-width: 680px; margin-left: auto; margin-right: auto; overflow-wrap: break-word; }
table { max-width: 100%; }

@media (max-width: 680px) {
  /* tabelele late devin scrollabile orizontal, nu ies din ecran */
  .panel table, .contracts-table, .msg-table, .benefits-table, .pa-table, .tb-stats { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  /* input-uri/butoane nu depasesc ecranul */
  input, select, textarea, button { max-width: 100%; box-sizing: border-box; }
  /* containere cu padding mare → mai mic pe telefon */
  .panel { padding-left: 10px; padding-right: 10px; }
  /* text lung se rupe in loc sa iasa */
  .panel, .page-greeting, .tile, .gamble-tile, td, p, h1, h2, h3 { overflow-wrap: break-word; word-break: break-word; }
  h1 { font-size: 22px; }
  /* grid-uri inline fixe → o coloana */
  .fb-dash { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .fb-dash { grid-template-columns: 1fr; }
  h1 { font-size: 19px; }
}

@media (max-width: 680px) {
  /* clasamente / statistici pe 3 coloane → o coloana pe telefon */
  .cmsn-status { grid-template-columns: 1fr !important; }
}
