/* WOLF BETS · back office */
:root {
  --bg: #f3f5f9;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --side: #060b1c;
  --side-2: #12204a;
  --side-ink: #b8c3dc;
  --accent: #2453d4;
  --accent-soft: #e8eefc;
  --accent-ink: #ffffff;
  --red: #d72638;
  --red-soft: #fdecee;
  --green: #0f9d63;
  --green-soft: #e6f6ef;
  --amber: #b7791f;
  --amber-soft: #fdf4e3;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 1px 1px rgba(15, 23, 42, .03);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0f1d; --surface: #111a2e; --surface-2: #0e1628; --ink: #e6ebf5; --ink-2: #c3cbe0; --muted: #8a96b3;
    --line: #1f2b45; --side: #070c19; --side-2: #111b36; --accent: #5b82f0; --accent-soft: #18264d;
    --red: #f2596a; --red-soft: #3a1820; --green: #34c58a; --green-soft: #0f2e22; --amber: #e3a44a; --amber-soft: #33270f;
    --shadow: none; color-scheme: dark;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-size: 14px; line-height: 1.5; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 12px; background: var(--surface-2); border: 1px solid var(--line); padding: 1px 6px; border-radius: 5px; }
h1 { font-size: 22px; margin: 0; letter-spacing: -0.02em; font-weight: 700; }
h2 { font-size: 14px; margin: 0 0 14px; font-weight: 600; }
h3 { font-size: 11.5px; margin: 16px 0 8px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.muted { color: var(--muted); }
small { font-size: 12px; }

/* ---------- layout ---------- */
.layout { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.sidebar { background: var(--side); color: var(--side-ink); padding: 18px 12px; display: flex; flex-direction: column; gap: 6px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.brand { display: flex; gap: 11px; align-items: center; padding: 4px 8px 14px; color: inherit; }
.brand:hover { text-decoration: none; }
.brand strong { display: block; color: #fff; font-size: 15px; letter-spacing: .04em; }
.brand small { color: #7d8bb0; font-size: 11.5px; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; font-weight: 800; font-size: 13px; letter-spacing: .02em;
  color: #fff; background: linear-gradient(135deg, #2453d4 0%, #2453d4 55%, #d72638 55%, #d72638 100%); }
.brand.big strong { color: var(--ink); }
.sidebar nav { display: flex; flex-direction: column; gap: 1px; }
.nav-group { font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; color: #5d6b8f; padding: 14px 10px 6px; font-weight: 600; }
.sidebar nav a { color: var(--side-ink); padding: 8px 10px; border-radius: 8px; display: flex; gap: 10px; align-items: center; font-weight: 500; }
.sidebar nav a:hover { background: var(--side-2); color: #fff; text-decoration: none; }
.sidebar nav a.active { background: var(--side-2); color: #fff; box-shadow: inset 3px 0 0 var(--accent); }
.nav-ico { width: 18px; text-align: center; opacity: .8; }
.side-foot { margin-top: auto; display: flex; gap: 10px; align-items: center; padding: 12px 8px 4px; border-top: 1px solid #1a2547; }
.side-foot strong { display: block; color: #fff; font-size: 13px; }
.side-foot a { color: #7d8bb0; font-size: 12px; }
.avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--side-2); color: #fff; font-weight: 700; }

.content { padding: 26px 32px 60px; min-width: 0; max-width: 1480px; }
.content.solo { max-width: 400px; margin: 10vh auto; }
.page-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px; margin-bottom: 22px; }
.page-head p { margin: 4px 0 0; }
.page-head .sub { color: var(--muted); font-size: 13px; margin-top: 4px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.section-title { margin: 30px 0 12px; font-size: 16px; }
.section-gap { margin-top: 22px; }

/* ---------- KPIs ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-bottom: 18px; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
@media (max-width: 1100px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .kpis { grid-template-columns: 1fr; } }
.card, .kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 15px 16px; color: var(--ink); display: flex; flex-direction: column; gap: 3px; box-shadow: var(--shadow); }
a.card:hover, a.kpi:hover { border-color: var(--accent); text-decoration: none; }
.card span, .kpi .k-label { color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.card strong, .kpi .k-value { font-size: 23px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.card strong.sm { font-size: 17px; }
.card small, .kpi .k-foot { color: var(--muted); font-size: 12px; }
.kpi .k-value small { font-size: 12px; color: var(--muted); font-weight: 500; margin-left: 3px; }
.card.good, .kpi.good { border-left: 3px solid var(--green); }
.card.bad, .kpi.bad { border-left: 3px solid var(--red); }
.card.warn, .kpi.warn { border-left: 3px solid var(--amber); background: var(--amber-soft); }
.delta { font-size: 12px; font-weight: 600; }
.delta.up { color: var(--green); }
.delta.down { color: var(--red); }

/* ---------- paneles ---------- */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 18px; overflow-x: auto; box-shadow: var(--shadow); }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.panel-head h2 { margin: 0; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; }
.grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; }
@media (max-width: 1100px) { .grid-2-1 { grid-template-columns: 1fr; } }
.chart-box { position: relative; height: 260px; }
.chart-box.sm { height: 200px; }

/* ---------- tablas ---------- */
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; background: var(--surface-2); }
thead th:first-child { border-top-left-radius: 8px; }
thead th:last-child { border-top-right-radius: 8px; }
tbody tr:hover td { background: var(--surface-2); }
tr:last-child td { border-bottom: 0; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pos { color: var(--green); }
.neg { color: var(--red); }
.err { color: var(--red); font-size: 12px; max-width: 360px; }
.leg { font-size: 12.5px; white-space: nowrap; }
.actions { white-space: nowrap; }
.bar { height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; min-width: 80px; }
.bar > i { display: block; height: 100%; background: var(--accent); border-radius: 99px; }

.pill { display: inline-block; padding: 2px 9px; border-radius: 99px; font-size: 11.5px; font-weight: 600; background: var(--surface-2); border: 1px solid var(--line); white-space: nowrap; }
.pill.won, .pill.approved { background: var(--green-soft); color: var(--green); border-color: transparent; }
.pill.lost, .pill.rejected { background: var(--red-soft); color: var(--red); border-color: transparent; }
.pill.void, .pill.half_lost, .pill.warn, .pill.pending { background: var(--amber-soft); color: var(--amber); border-color: transparent; }
.pill.open { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.cur { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .03em; padding: 1px 7px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); }

/* ---------- formularios ---------- */
.btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 8px; padding: 8px 14px; font: inherit; font-weight: 500; cursor: pointer; }
.btn:hover { border-color: var(--accent); text-decoration: none; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.danger { color: var(--red); border-color: color-mix(in srgb, var(--red) 35%, var(--line)); }
.btn.sm { padding: 4px 10px; font-size: 12.5px; }
.toggle { border: 1px solid var(--line); background: transparent; color: var(--muted); border-radius: 99px; padding: 3px 11px; cursor: pointer; font: inherit; font-size: 12.5px; }
.toggle.on { background: var(--green-soft); color: var(--green); border-color: transparent; }
input, select { font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; min-width: 0; }
input.sm { padding: 4px 8px; font-size: 12.5px; width: 110px; }
input:focus, select:focus { outline: 2px solid color-mix(in srgb, var(--accent) 35%, transparent); border-color: var(--accent); }
label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); font-weight: 500; }
label.check { flex-direction: row; align-items: center; gap: 8px; color: var(--ink); font-size: 14px; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; }
.row label { flex: 1; }
.grow { flex: 1; }
form.inline { display: inline-flex; gap: 6px; align-items: center; margin: 0 6px 6px 0; }

.tabs, .seg { display: inline-flex; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.tabs a, .seg a { padding: 6px 12px; border-radius: 7px; color: var(--muted); font-weight: 500; font-size: 13px; }
.tabs a:hover, .seg a:hover { text-decoration: none; color: var(--ink); }
.tabs a.active, .seg a.active { background: var(--accent); color: #fff; }

.flash { padding: 11px 14px; border-radius: 10px; margin-bottom: 14px; background: var(--green-soft); color: var(--green); font-weight: 500; }
.flash.error { background: var(--red-soft); color: var(--red); }
.pager { display: flex; gap: 16px; align-items: center; justify-content: center; margin-top: 14px; color: var(--muted); }
.odds { display: flex; flex-wrap: wrap; gap: 6px; }
.odds span { border: 1px solid var(--line); border-radius: 7px; padding: 4px 9px; font-size: 13px; }
.login-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 30px; box-shadow: var(--shadow); }
.proof { width: 64px; height: 84px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); }
.proof:hover { outline: 2px solid var(--accent); }
.empty { color: var(--muted); text-align: center; padding: 24px 0; }

@media (max-width: 860px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; }
  .sidebar nav { flex-direction: row; flex-wrap: wrap; }
  .nav-group, .side-foot { display: none; }
  .content { padding: 18px 16px 40px; }
  .grid-2 { grid-template-columns: 1fr; }
}

/* =========================================================
   Animaciones y detalles visuales
   ========================================================= */
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 45%, transparent); } 50% { box-shadow: 0 0 0 5px transparent; } }
@keyframes grow { from { width: 0; } }
@keyframes shimmer { from { background-position: 0% 50%; } to { background-position: 200% 50%; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* entrada escalonada del contenido */
.content > * { animation: fadeUp .45s cubic-bezier(.2, .7, .2, 1) both; }
.content > *:nth-child(2) { animation-delay: .04s; }
.content > *:nth-child(3) { animation-delay: .08s; }
.content > *:nth-child(4) { animation-delay: .12s; }
.content > *:nth-child(5) { animation-delay: .16s; }
.content > *:nth-child(6) { animation-delay: .2s; }
.content > *:nth-child(n+7) { animation-delay: .24s; }
.kpis > .kpi, .cards > .card { animation: fadeUp .5s cubic-bezier(.2, .7, .2, 1) both; }
.kpis > .kpi:nth-child(2), .cards > .card:nth-child(2) { animation-delay: .05s; }
.kpis > .kpi:nth-child(3), .cards > .card:nth-child(3) { animation-delay: .1s; }
.kpis > .kpi:nth-child(4), .cards > .card:nth-child(4) { animation-delay: .15s; }

/* tarjetas vivas */
.kpi, .card, .panel { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.kpi:hover, .card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px -12px rgba(15, 23, 42, .25); }
.kpi { position: relative; overflow: hidden; }
.kpi::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; opacity: 0; transition: opacity .2s;
  background: linear-gradient(90deg, var(--accent), var(--red)); }
.kpi:hover::after { opacity: 1; }
.panel:hover { box-shadow: 0 8px 22px -16px rgba(15, 23, 42, .3); }

/* marca con brillo */
.brand-mark { background: linear-gradient(120deg, #2453d4, #4f7bff, #d72638, #2453d4); background-size: 300% 100%;
  animation: shimmer 8s linear infinite; box-shadow: 0 4px 14px -4px rgba(36, 83, 212, .6); }

/* barra lateral */
.sidebar nav a { transition: background .15s, color .15s, padding-left .15s; }
.sidebar nav a:hover { padding-left: 14px; }
.side-action { padding: 10px 6px 4px; }
.btn-settle { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer;
  font: inherit; font-weight: 600; color: #fff; padding: 10px 12px; border-radius: 10px;
  background: linear-gradient(135deg, #2453d4, #3f6df0); box-shadow: 0 6px 18px -8px rgba(36, 83, 212, .9);
  transition: transform .15s, box-shadow .15s, filter .15s; }
.btn-settle:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn-settle:hover .spin { animation: spin 1s linear infinite; }
.spin { display: inline-block; }

/* botones */
.btn { transition: transform .12s, background .15s, border-color .15s, box-shadow .15s, color .15s; }
.btn:hover { box-shadow: 0 4px 12px -6px rgba(15, 23, 42, .25); }
.btn:active, .btn-settle:active { transform: scale(.97); }
.btn.primary:hover { filter: brightness(1.07); }
button.loading { pointer-events: none; opacity: .75; }
button.loading::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid currentColor;
  border-right-color: transparent; animation: spin .7s linear infinite; display: inline-block; }

/* avisos */
.flash { animation: slideDown .35s ease both; display: flex; justify-content: space-between; gap: 10px; transition: opacity .4s, transform .4s; }
.flash.hide { opacity: 0; transform: translateY(-6px); }
.flash-close { cursor: pointer; opacity: .6; background: none; border: 0; color: inherit; font-size: 16px; }

/* estados */
.pill.pending, .pill.warn { animation: pulse 2s ease-in-out infinite; }
.pill .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin-right: 5px;
  vertical-align: 1px; animation: pulse 1.8s ease-in-out infinite; }
.kpi.warn .k-value { color: var(--amber); }
.bar > i { animation: grow 1s cubic-bezier(.2, .7, .2, 1) both; }
tbody tr { transition: background .12s; }
.cur { transition: transform .15s; }
tr:hover .cur { transform: scale(1.06); }
.proof { transition: transform .2s; }
.proof:hover { transform: scale(1.06) rotate(-1deg); }
.seg a, .tabs a { transition: background .15s, color .15s; }

/* cabecera de página con línea de color */
.page-head h1 { position: relative; padding-bottom: 6px; }
.page-head h1::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), var(--red)); animation: grow .6s .1s both; }

/* métodos de pago */
.method-card { display: flex; flex-direction: column; gap: 12px; }
.method-card.is-off { opacity: .72; }
.method-card.is-off:hover { opacity: 1; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mini-stats > div { background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.mini-stats span { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.mini-stats strong { font-variant-numeric: tabular-nums; }
.method-actions { align-items: center; }
details.edit summary { cursor: pointer; color: var(--accent); font-weight: 500; list-style: none; padding: 4px 0; }
details.edit summary::-webkit-details-marker { display: none; }
details.edit[open] summary { margin-bottom: 10px; }
details.edit[open] > form { animation: fadeUp .3s ease both; }
input[type="date"].sm { width: 140px; }

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

/* ---------- Monedas ---------- */
.cur-emoji { display: inline-block; transition: transform .25s; }
.method-card:hover .cur-emoji { transform: scale(1.18) rotate(-6deg); }
.cur-limits { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--muted); }
.cur-limits b { color: var(--ink); font-variant-numeric: tabular-nums; }
.small { font-size: 12.5px; }
.limit-grid { gap: 10px; }
.hint { font-size: 12.5px; color: var(--muted); background: var(--surface-2); border: 1px dashed var(--line); border-radius: 10px; padding: 9px 12px; }
fieldset.new-currency { border: 1px solid var(--accent); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px;
  background: var(--accent-soft); animation: fadeUp .3s ease both; }
fieldset.new-currency[hidden] { display: none; }
fieldset.new-currency legend { font-weight: 600; color: var(--accent); padding: 0 6px; }

/* ---------- Marketing: referidos, promociones, difusión ---------- */
textarea { font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 9px 11px; resize: vertical; line-height: 1.45; }
textarea:focus { outline: 2px solid color-mix(in srgb, var(--accent) 35%, transparent); border-color: var(--accent); }
textarea.full { width: 100%; box-sizing: border-box; }
table.compact td, table.compact th { padding: 6px 8px; }
.emoji-bar { gap: 4px; align-items: center; }
.emoji { font-size: 18px; line-height: 1; padding: 6px 7px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface-2); cursor: pointer; transition: transform .12s, background .12s; }
.emoji:hover { transform: translateY(-2px) scale(1.12); background: var(--accent-soft); }
.bc-preview { border: 1px dashed var(--line); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 6px; animation: fadeUp .3s ease both; }
.bc-preview img, .bc-preview video { max-width: 100%; max-height: 260px; border-radius: 8px; object-fit: contain; align-self: flex-start; }
.bc-item { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.bc-item:last-child { border-bottom: 0; }
.promo-card.is-on { border-color: var(--green); box-shadow: 0 0 0 1px var(--green-soft), var(--shadow); }
.promo-preview { border-style: solid; }
.bc-preview[hidden] { display: none; }
.sidebar nav a { padding-top: 7px; padding-bottom: 7px; }

/* ---------- Base de datos ---------- */
.db-tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.db-tabs a { padding: 9px 14px; border-radius: 8px 8px 0 0; color: var(--muted); font-weight: 500; border-bottom: 2px solid transparent; transition: color .15s, background .15s; }
.db-tabs a:hover { color: var(--ink); background: var(--surface-2); text-decoration: none; }
.db-tabs a.active { color: var(--accent); border-bottom-color: var(--accent); background: var(--surface); }
.db-scope { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; margin-bottom: 14px; }
.seg-wrap { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.scope-label { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; }
.seg a.deleted { opacity: .55; text-decoration: line-through; }
.db-period-label { margin-left: auto; font-size: 12.5px; color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; }
.db-range { display: flex; gap: 8px; align-items: flex-end; }
.db-range[hidden] { display: none; }
.db-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.db-filters label { min-width: 140px; }
.db-filters label.grow { flex: 1 1 280px; }
.db-actions { display: flex; gap: 6px; }
.db-summary { display: flex; flex-direction: column; gap: 8px; }
.db-sum-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.db-sum-row > .cur { font-size: 12.5px; padding: 4px 10px; }
.db-sum-cell { padding: 4px 12px; border-left: 1px solid var(--line); }
.db-sum-cell span { display: block; font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.db-sum-cell strong { font-variant-numeric: tabular-nums; }
.db-sum-cell small { color: var(--muted); font-weight: 500; }
.table-wrap { overflow-x: auto; }
.db-table td { white-space: nowrap; }
.db-table td code { font-size: 11.5px; }
.db-table tr.day-start td { border-top: 2px solid var(--line); }
.pos { color: var(--green); }
.neg { color: var(--red); }
.db-search { display: flex; gap: 10px; align-items: center; }
.db-search input { flex: 1; font-size: 15px; padding: 11px 14px; }
.db-search-ico { font-size: 22px; color: var(--accent); }
.db-hit { margin-bottom: 14px; }
.db-hit-head { display: flex; gap: 12px; align-items: baseline; margin-bottom: 6px; }
.db-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 16px; }
.db-card .panel-head h2 small { font-weight: 400; font-size: 12px; }
.db-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.db-card-grid a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); color: var(--ink); transition: transform .15s, border-color .15s, box-shadow .15s; }
.db-card-grid a:hover { text-decoration: none; transform: translateY(-2px); border-color: var(--accent); box-shadow: var(--shadow); }
.db-card-grid span { font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; }
.db-card-grid strong { font-size: 17px; font-variant-numeric: tabular-nums; }
.db-card-grid small { color: var(--muted); font-size: 11.5px; }
.db-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--muted); }
@media (max-width: 720px) { .db-cards { grid-template-columns: 1fr; } .db-card-grid { grid-template-columns: repeat(2, 1fr); } .db-period-label { margin-left: 0; } }

/* Identidad WOLF BETS */
:root { --brand: #ffc61a; }
.brand-logo { width: 38px; height: 38px; object-fit: contain; flex: none; filter: drop-shadow(0 0 10px rgba(255, 198, 26, .3)); }
.brand.big .brand-logo { width: 64px; height: 64px; }
.brand strong { letter-spacing: .1em; }
.sidebar { background: radial-gradient(120% 40% at 0% 0%, rgba(38, 66, 120, .45), transparent 70%), var(--side); }
.sidebar nav a.active { box-shadow: inset 3px 0 0 var(--brand); }
.btn-settle { background: var(--brand) !important; color: #1c1400 !important; }
