/* ============================================================
   CALCULADORA DE TRADEOS v4 — bloxyfrutas.com
   ============================================================ */

:root {
  --c-bg:        #0a0a0f;
  --c-card:      #0d0d16;
  --c-card2:     #11111d;
  --c-border:    #1d1d2e;
  --c-gold:      #F5C518;
  --c-gold-dim:  #c49a10;
  --c-gold-glow: rgba(245,197,24,0.18);
  --c-blue-lt:   #4484d6;
  --c-blue-glow: rgba(68,132,214,0.18);
  --c-text:      #f0f0f5;
  --c-muted:     #6e6e96;
  --c-win:       #22c55e;
  --c-lose:      #ef4444;
  --t:           0.25s ease;
}

/* ── RESET ─────────────────────────────────────────────── */
#ct, #ct * { box-sizing: border-box; margin: 0; padding: 0; }

/* ── FULL-WIDTH OVERRIDE ──────────────────────────────── */
body:has(.calc-page--fullwidth) #primary,
body:has(.calc-page--fullwidth) .entry-content,
body:has(.calc-page--fullwidth) article,
body:has(.calc-page--fullwidth) #content {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* ── PAGE ─────────────────────────────────────────────── */
.calc-page {
  background-color: var(--c-bg);
  background-image: radial-gradient(rgba(245,197,24,0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  min-height: 100vh;
  width: 100%;
  padding: 2.5rem clamp(1rem, 4vw, 3rem) 4rem;
  box-sizing: border-box;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ── HEADER ───────────────────────────────────────────── */
.calc-page__header { text-align: center; margin-bottom: 2.5rem; }
.calc-page__title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--c-text);
  margin-bottom: 0.6rem;
}
.calc-page__title span { color: var(--c-gold); }
.calc-page__sub { font-size: 1rem; color: var(--c-muted); }

/* ── CONTAINER ────────────────────────────────────────── */
#ct {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: 20px;
  padding: clamp(20px, 3vw, 36px);
  color: var(--c-text);
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

/* ── SIDES ────────────────────────────────────────────── */
.sides { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 32px; }
.side-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.side-btn {
  display: inline-flex; align-items: center; gap: 7px;
  border-radius: 50px; padding: 8px 20px;
  font-size: 14px; font-weight: 700; letter-spacing: 0.02em;
  transition: all var(--t);
}
.side-btn.you {
  background: rgba(245,197,24,0.1);
  border: 1.5px solid rgba(245,197,24,0.4);
  color: var(--c-gold);
}
.side-btn.them {
  background: rgba(68,132,214,0.1);
  border: 1.5px solid rgba(68,132,214,0.4);
  color: var(--c-blue-lt);
}
.side-count {
  font-size: 12px; color: var(--c-muted); font-family: monospace;
  background: var(--c-card2); border: 1px solid var(--c-border);
  border-radius: 6px; padding: 2px 8px;
}

/* ── SIDE STATS CARDS ─────────────────────────────────── */
.side-stats {
  display: flex;
  border: 1px solid var(--c-border);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 16px;
}
.ss-item {
  flex: 1;
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px;
  background: var(--c-card2);
  border-right: 1px solid var(--c-border);
  transition: background var(--t);
}
.ss-item:last-child { border-right: none; }
.ss-icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800; flex-shrink: 0;
}
.ss-val-icon   { background: rgba(245,197,24,0.16);  color: var(--c-gold); }
.ss-price-icon { background: rgba(68,132,214,0.16);  color: var(--c-blue-lt); }
.ss-dem-icon   { background: rgba(34,197,94,0.16);   color: var(--c-win); }
.ss-label {
  font-size: 12px; font-weight: 700; color: var(--c-muted);
  letter-spacing: 0.08em; text-transform: uppercase; line-height: 1;
  margin-bottom: 5px;
}
.ss-value {
  font-size: 20px; font-weight: 800;
  color: var(--c-text); font-family: monospace; line-height: 1;
  transition: color var(--t);
}

/* ── SLOTS ────────────────────────────────────────────── */
.slots-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.slot {
  background: var(--c-card2);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  position: relative; overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
.slot.empty {
  border: 1.5px dashed rgba(245,197,24,0.2);
  background: rgba(245,197,24,0.01);
}
.slot.empty:hover {
  border-color: var(--c-gold);
  background: rgba(245,197,24,0.05);
  box-shadow: 0 0 20px rgba(245,197,24,0.12);
  transform: translateY(-2px);
}
.slot-add {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(245,197,24,0.3);
  transition: color var(--t), transform var(--t);
}
.slot-add svg { width: 26px; height: 26px; stroke-width: 1.5; }
.slot-add span { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.slot.empty:hover .slot-add { color: var(--c-gold); transform: scale(1.06); }
.slot.filled { border-color: rgba(255,255,255,0.05); cursor: default; }
.slot.filled:hover { border-color: rgba(245,197,24,0.15); box-shadow: 0 4px 16px rgba(0,0,0,0.3); }
.slot.filled.delete-active { cursor: pointer; }
.slot.filled.delete-active:hover {
  border-color: rgba(239,68,68,0.45);
  box-shadow: 0 0 16px rgba(239,68,68,0.1);
}
.slot-overlay {
  position: absolute; inset: 0;
  background: rgba(10,10,15,0.9);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 3px; opacity: 0;
  transition: opacity var(--t);
  border-radius: 15px; padding: 6px;
}
.slot.filled.delete-active:hover .slot-overlay { opacity: 1; }
.slot-overlay-name { font-size: 11px; font-weight: 700; color: var(--c-text); text-align: center; line-height: 1.2; }
.slot-overlay-del  { font-size: 10px; color: var(--c-lose); font-weight: 600; }
.slot-overlay-icon { width: 20px; height: 20px; color: var(--c-lose); margin: 2px 0; }
.slot-overlay-val  { font-size: 11px; font-weight: 700; color: var(--c-gold); font-family: monospace; }
.slot-overlay-dem  { font-size: 10px; color: var(--c-blue-lt); font-weight: 600; }
.slot-img { width: 75%; height: 75%; object-fit: contain; transition: transform var(--t), opacity var(--t); }
.slot.filled.delete-active:hover .slot-img { transform: scale(0.8); opacity: 0.12; }
.slot-badge {
  position: absolute; top: 6px; right: 6px;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 800; color: #0a0a0f; z-index: 1;
}
.slot-qty {
  position: absolute; top: 6px; left: 8px;
  font-size: 11px; font-weight: 700; color: #fff;
  background: rgba(0,0,0,0.7); border-radius: 6px;
  padding: 1px 6px; z-index: 1;
}
.slot-val {
  position: absolute; bottom: 5px; left: 0; right: 0;
  text-align: center; font-size: 10px; font-weight: 700;
  color: var(--c-gold); font-family: monospace; z-index: 1;
}

/* ── TOTALS ───────────────────────────────────────────── */
.totals { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.total-box {
  background: var(--c-card2);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: 22px 20px;
  transition: border-color var(--t);
}
.total-box:hover { border-color: rgba(245,197,24,0.15); }
.total-rows { display: flex; flex-direction: column; }
.total-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.total-row:last-child { border-bottom: none; }
.total-row .lbl { font-size: 13px; color: var(--c-muted); font-weight: 500; }
.total-row .val {
  font-weight: 700; font-family: monospace;
  color: var(--c-gold); font-size: 14px;
}
.total-main {
  border-top: 1px solid var(--c-border);
  margin-top: 16px; padding-top: 16px;
  display: flex; justify-content: space-between; align-items: baseline;
}
.total-main .lbl { font-size: 13px; color: var(--c-muted); font-weight: 500; }
.total-main .val {
  font-size: 26px; font-weight: 900; color: var(--c-gold);
  font-family: monospace; text-shadow: 0 0 20px rgba(245,197,24,0.25);
}

/* ── ANIMACIONES VEREDICTO ────────────────────────────── */
@keyframes badgePop {
  0%   { opacity: 0; transform: scale(0.88) translateY(-6px); }
  60%  { transform: scale(1.04) translateY(1px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.8; }
  50%       { opacity: 1; }
}

/* ── VERDICT AREA ─────────────────────────────────────── */
.verdict-area {
  background: var(--c-card2);
  border: 1px solid var(--c-border);
  border-radius: 20px;
  padding: 36px 36px 36px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.verdict-badge {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; padding: 16px 52px; border-radius: 50px;
  margin-top: 24px; margin-bottom: 24px;
  font-size: 24px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  border: 1.5px solid transparent;
  transition: background var(--t), border-color var(--t), color var(--t), box-shadow var(--t);
  flex-shrink: 0;
}
.vb-neutral {
  background: rgba(110,110,150,0.1);
  border-color: rgba(110,110,150,0.25);
  color: var(--c-muted);
  animation: badgePop 0.35s ease;
}
.vb-win {
  background: rgba(34,197,94,0.1);
  border-color: rgba(34,197,94,0.45);
  color: var(--c-win);
  box-shadow: 0 0 28px rgba(34,197,94,0.18);
  animation: badgePop 0.35s cubic-bezier(0.34,1.56,0.64,1), glowPulse 2.5s ease-in-out 0.35s infinite;
}
.vb-lose {
  background: rgba(239,68,68,0.1);
  border-color: rgba(239,68,68,0.45);
  color: var(--c-lose);
  box-shadow: 0 0 28px rgba(239,68,68,0.18);
  animation: badgePop 0.35s cubic-bezier(0.34,1.56,0.64,1), glowPulse 2.5s ease-in-out 0.35s infinite;
}
.vb-fair {
  background: rgba(245,197,24,0.1);
  border-color: rgba(245,197,24,0.45);
  color: var(--c-gold);
  box-shadow: 0 0 28px rgba(245,197,24,0.18);
  animation: badgePop 0.35s cubic-bezier(0.34,1.56,0.64,1), glowPulse 2.5s ease-in-out 0.35s infinite;
}

.verdict-offers {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 16px;
  width: 100%;
}
.vo-side {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  gap: 10px; padding: 24px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--c-border);
  border-radius: 16px;
}
.vo-right { text-align: center; align-items: center; }
.vo-label {
  font-size: 13px; font-weight: 700; color: var(--c-muted);
  letter-spacing: 0.1em; text-transform: uppercase;
}
.vo-value {
  font-size: 42px; font-weight: 900; color: var(--c-gold);
  font-family: monospace; line-height: 1;
  text-shadow: 0 0 24px rgba(245,197,24,0.25);
}
.vo-demand { font-size: 14px; color: var(--c-muted); line-height: 1.5; }
.vo-price  { font-size: 14px; color: var(--c-blue-lt); font-weight: 600; font-family: monospace; line-height: 1.5; }
.vo-vs {
  font-size: 13px; font-weight: 800; color: var(--c-muted); text-align: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--c-border);
  border-radius: 50%; width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ── BARRA DE PROGRESO ────────────────────────────────── */
.progress-wrap {
  border-radius: 50px; overflow: hidden; height: 44px;
  display: flex;
  background: var(--c-bg); border: 1px solid var(--c-border);
  width: 100%;
}
.progress-you {
  background: linear-gradient(to right, #c49a10, #7aabdc);
  display: flex; align-items: center; padding-left: 12px;
  font-size: 14px; font-weight: 800; color: #0a0a0f;
  transition: width 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 0; overflow: hidden; white-space: nowrap;
}
.progress-them {
  background: linear-gradient(to right, #7aabdc, #4484d6);
  display: flex; align-items: center; justify-content: flex-end; padding-right: 12px;
  font-size: 14px; font-weight: 800; color: #fff;
  transition: width 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 0; overflow: hidden; white-space: nowrap;
}

/* ── DIFERENCIA ───────────────────────────────────────── */
.diff-box {
  background: var(--c-bg); border: 1px solid var(--c-border);
  border-radius: 14px; padding: 22px 28px;
  display: flex; align-items: center; justify-content: center; gap: 16px;
  width: 100%; margin-top: 16px;
}
.diff-label {
  font-size: 14px; font-weight: 700; color: var(--c-muted);
  letter-spacing: 0.12em; text-transform: uppercase;
}
.diff-val  { font-size: 34px; font-weight: 900; font-family: monospace; transition: color var(--t); }
.diff-pos  { color: var(--c-win);  text-shadow: 0 0 20px rgba(34,197,94,0.3); }
.diff-neg  { color: var(--c-lose); text-shadow: 0 0 20px rgba(239,68,68,0.3); }
.diff-zero { color: var(--c-muted); }

/* ── BOTTOM BAR ───────────────────────────────────────── */
.bottom-bar { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; gap: 12px; }
.toggle-wrap {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--c-muted); cursor: pointer; user-select: none;
  transition: color var(--t);
}
.toggle-wrap:hover { color: var(--c-text); }
.toggle-wrap svg { width: 16px; height: 16px; }
.toggle {
  width: 40px; height: 22px; background: var(--c-card2); border-radius: 11px;
  position: relative; cursor: pointer;
  transition: background var(--t), border-color var(--t);
  border: 1px solid var(--c-border); flex-shrink: 0;
}
.toggle.on { background: var(--c-lose); border-color: var(--c-lose); }
.toggle-knob {
  width: 16px; height: 16px; background: #fff; border-radius: 50%;
  position: absolute; top: 2px; left: 2px;
  transition: left var(--t); box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.toggle.on .toggle-knob { left: 20px; }
.reset-btn {
  display: flex; align-items: center; gap: 6px;
  background: transparent; border: 1px solid var(--c-border);
  border-radius: 10px; padding: 8px 16px;
  font-size: 13px; font-weight: 600; color: var(--c-muted);
  cursor: pointer; transition: all var(--t);
}
.reset-btn:hover { border-color: var(--c-lose); color: var(--c-lose); background: rgba(239,68,68,0.06); }
.reset-btn svg { width: 14px; height: 14px; }

/* ── MODAL ────────────────────────────────────────────── */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.85); z-index: 9999;
  align-items: center; justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--c-card); border: 1px solid var(--c-border);
  border-radius: 18px; padding: 20px;
  width: 95%; max-width: 580px; max-height: 88vh;
  display: flex; flex-direction: column;
  box-shadow: 0 20px 56px rgba(0,0,0,0.6);
}
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 4px; }
.modal-title    { font-size: 17px; font-weight: 800; color: var(--c-text); }
.modal-subtitle { font-size: 12px; color: var(--c-muted); margin-bottom: 14px; }
.modal-close {
  background: rgba(255,255,255,0.05); border: 1px solid var(--c-border);
  border-radius: 8px; color: var(--c-muted);
  width: 32px; height: 32px; font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t); flex-shrink: 0;
}
.modal-close:hover { background: rgba(239,68,68,0.1); border-color: rgba(239,68,68,0.4); color: var(--c-lose); }

.modal-filters { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.mf-btn {
  background: var(--c-card2); border: 1px solid var(--c-border);
  border-radius: 50px; padding: 5px 14px;
  font-size: 13px; font-weight: 600; color: var(--c-muted);
  cursor: pointer; transition: all var(--t);
  display: flex; align-items: center; gap: 5px;
}
.mf-btn.active { background: var(--c-gold); border-color: var(--c-gold); color: #0a0a0f; }
.mf-btn:hover:not(.active) { border-color: var(--c-gold); color: var(--c-gold); }
.mf-count { background: rgba(0,0,0,0.2); border-radius: 10px; padding: 1px 7px; font-size: 11px; }
.mf-btn.active .mf-count { background: rgba(0,0,0,0.25); }

.modal-search-wrap { position: relative; margin-bottom: 12px; }
.modal-search-wrap svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--c-muted); width: 16px; height: 16px; }
.modal-search {
  width: 100%; background: var(--c-card2); border: 1px solid var(--c-border);
  border-radius: 10px; padding: 9px 12px 9px 36px;
  color: var(--c-text); font-size: 13px; outline: none;
  font-family: 'Inter', system-ui, sans-serif;
  transition: border-color var(--t);
}
.modal-search:focus { border-color: var(--c-gold); }
.modal-search::placeholder { color: var(--c-muted); }

.modal-avail { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.modal-avail span { font-size: 13px; font-weight: 700; color: var(--c-text); }
.avail-count { background: var(--c-card2); border: 1px solid var(--c-border); border-radius: 10px; padding: 2px 10px; font-size: 12px; color: var(--c-muted); font-weight: 600; }
.modal-sort {
  margin-left: auto; background: var(--c-card2); border: 1px solid var(--c-border);
  border-radius: 8px; padding: 5px 10px; font-size: 12px; color: var(--c-text);
  outline: none; cursor: pointer; font-family: 'Inter', system-ui, sans-serif;
}
.modal-sort:focus { border-color: var(--c-gold); }

.modal-grid {
  overflow-y: auto; flex: 1; max-height: 360px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px;
}
.mg-item {
  background: var(--c-card2); border: 1px solid var(--c-border);
  border-radius: 14px; padding: 12px 8px 10px;
  cursor: pointer; transition: border-color var(--t), background var(--t);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.mg-item:hover { border-color: var(--c-gold); background: rgba(245,197,24,0.04); }
.mg-item img { width: 64px; height: 64px; object-fit: contain; }
.mg-item-name { font-size: 12px; font-weight: 700; color: var(--c-text); text-align: center; line-height: 1.3; }
.mg-item-cat  { font-size: 11px; color: var(--c-muted); }
.mg-item-val  { font-size: 11px; font-weight: 700; color: var(--c-gold); font-family: monospace; }

/* ── PANTALLA CONFIGURAR ──────────────────────────────── */
.cfg-screen { display: none; flex-direction: column; }
.cfg-screen.open { display: flex; }
.cfg-topbar { display: flex; justify-content: flex-end; margin-bottom: 10px; }
.cfg-back {
  background: none; border: 1px solid var(--c-border);
  border-radius: 8px; padding: 5px 14px;
  font-size: 13px; color: var(--c-text); cursor: pointer;
  font-family: 'Inter', system-ui, sans-serif; transition: all var(--t);
}
.cfg-back:hover { border-color: var(--c-gold); color: var(--c-gold); }
.cfg-fruit-row {
  display: flex; align-items: center; gap: 14px;
  background: var(--c-card2); border: 1px solid var(--c-border);
  border-radius: 14px; padding: 14px 16px; margin-bottom: 20px;
}
.cfg-fruit-row img { width: 54px; height: 54px; object-fit: contain; }
.cfg-fruit-name { font-size: 17px; font-weight: 700; color: var(--c-text); }
.cfg-fruit-val  { font-size: 13px; color: var(--c-gold); margin-top: 2px; font-family: monospace; font-weight: 600; }

.cfg-section { margin-bottom: 20px; }
.cfg-section-title { font-size: 12px; font-weight: 700; color: var(--c-muted); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.07em; }
.cfg-type-btns { display: flex; gap: 10px; }
.cfg-type-btn {
  flex: 1; padding: 12px; border-radius: 10px;
  border: 1px solid var(--c-border); background: var(--c-card2);
  color: var(--c-muted); font-size: 14px; font-weight: 700;
  cursor: pointer; transition: all var(--t); text-align: center;
  font-family: 'Inter', system-ui, sans-serif;
}
.cfg-type-btn.active { background: var(--c-gold); border-color: var(--c-gold); color: #0a0a0f; }
.cfg-type-btn:hover:not(.active):not(.disabled) { border-color: var(--c-gold); color: var(--c-gold); }
.cfg-type-btn.disabled { opacity: 0.3; cursor: not-allowed; pointer-events: none; }

.cfg-qty-row {
  display: flex; align-items: center;
  background: var(--c-card2); border: 1px solid var(--c-border);
  border-radius: 10px; overflow: hidden;
}
.cfg-qty-btn {
  width: 50px; height: 48px; background: none; border: none;
  color: var(--c-text); font-size: 22px; cursor: pointer;
  transition: background var(--t); flex-shrink: 0;
  font-family: 'Inter', system-ui, sans-serif;
}
.cfg-qty-btn:hover { background: rgba(245,197,24,0.08); color: var(--c-gold); }
.cfg-qty-val { flex: 1; text-align: center; font-size: 18px; font-weight: 700; color: var(--c-text); font-family: monospace; }
.cfg-add-btn {
  width: 100%; padding: 14px;
  background: linear-gradient(135deg, var(--c-gold-dim), var(--c-gold));
  border: none; border-radius: 12px;
  color: #0a0a0f; font-size: 15px; font-weight: 800;
  cursor: pointer; transition: opacity var(--t), transform var(--t);
  margin-top: 4px; letter-spacing: 0.03em;
  font-family: 'Inter', system-ui, sans-serif;
}
.cfg-add-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.cfg-add-btn:active { transform: translateY(0); }

/* ── SCROLLBAR ────────────────────────────────────────── */
.modal-grid::-webkit-scrollbar { width: 5px; }
.modal-grid::-webkit-scrollbar-track { background: transparent; }
.modal-grid::-webkit-scrollbar-thumb { background: var(--c-border); border-radius: 4px; }

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 768px) {
  .vo-value  { font-size: 28px; }
  .diff-val  { font-size: 26px; }
  .ss-value  { font-size: 14px; }
}
@media (max-width: 600px) {
  .sides      { grid-template-columns: 1fr; }
  .bottom-bar { flex-direction: column; align-items: flex-start; }
  .modal-grid { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); }
  .verdict-area { padding: 24px 20px; }
  .verdict-offers { gap: 12px; }
  .vo-value  { font-size: 24px; }
  .diff-val  { font-size: 22px; }
  .verdict-badge { font-size: 18px; padding: 13px 28px; }
  .ss-item   { padding: 10px 10px; gap: 7px; }
  .ss-value  { font-size: 13px; }
}
