/* ============================================================================
   Setup of the Month (inc/setup-vote.php, inc/setup-vote-pages.php, assets/js/setup-vote.js), 2026-12-05.
   Swipe deck, setup battle, month hub, the setups hub promo and the winner badge. Monochrome, kit tokens only,
   no negative letter-spacing; motion is off under prefers-reduced-motion.
   ============================================================================ */
.vgnw-sv { padding-bottom: 72px; }
.vgnw-sv-crumbs { margin-top: 16px; }
.vgnw-sv a:not(.vgnw-btn) { color: inherit; }

/* Head */
.vgnw-sv-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 16px 0 16px; }
.vgnw-sv-head-l { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.vgnw-sv-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-micro); font-weight: 700; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-muted); }
.vgnw-sv-eyebrow i { font-size: 14px; }
.vgnw-sv-head h1 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.02; letter-spacing: 0; color: var(--fg-default); text-wrap: balance; }
.vgnw-sv-lede { margin: 0; max-width: 760px; font-family: var(--font-deck); font-size: 16px; line-height: 1.45; color: var(--fg-muted); }
.vgnw-sv-clock { flex-shrink: 0; display: flex; flex-direction: column; gap: 4px; padding: 12px 16px; border: 1px solid var(--border-subtle); border-radius: 14px; background: var(--bg-surface); }
.vgnw-sv-clock-l { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-micro); font-weight: 700; font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-subtle); }
.vgnw-sv-clock-v { font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1.1; color: var(--fg-default); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Tabs */
.vgnw-sv-tabs { display: inline-flex; gap: 2px; padding: 3px; margin: 0 0 20px; border-radius: 999px; background: var(--bg-inset); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.vgnw-sv-tabs::-webkit-scrollbar { display: none; }
.vgnw-sv-tab { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 16px; border-radius: 999px; font-family: var(--font-deck); font-weight: 600; font-size: 13.5px; color: var(--fg-muted); text-decoration: none; white-space: nowrap; transition: background var(--dur-fast), color var(--dur-fast); }
.vgnw-sv-tab i { font-size: 16px; }
.vgnw-sv-tab-s { display: none; }
.vgnw-sv-tab:hover { color: var(--fg-default); }
.vgnw-sv-tab.is-on { background: var(--bg-surface); color: var(--fg-default); box-shadow: var(--shadow-sm); }
.vgnw-sv-tab:focus-visible { outline: none; box-shadow: var(--shadow-focus); }

/* Shared bits */
.vgnw-sv-muted { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--fg-muted); }
.vgnw-sv-fine { margin: 12px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--fg-subtle); }
.vgnw-sv-note { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px; margin: 10px 0 0; font-size: 12.5px; color: var(--fg-muted); text-align: center; }
.vgnw-sv-note a { font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.vgnw-sv-keys { margin: 14px 0 0; font-size: 12px; color: var(--fg-subtle); text-align: center; }
.vgnw-sv-keys kbd { display: inline-block; min-width: 20px; padding: 1px 5px; border: 1px solid var(--border-default); border-bottom-width: 2px; border-radius: 5px; background: var(--bg-surface); font-family: var(--font-mono); font-size: 11px; line-height: 1.5; color: var(--fg-default); text-align: center; }
.vgnw-sv-empty-p { text-align: center; color: var(--fg-muted); }
.vgnw-sv-cta { display: flex; flex-wrap: wrap; gap: 8px; }
.vgnw-sv-bar { position: relative; display: block; height: 6px; border-radius: 999px; background: var(--bg-inset); overflow: hidden; }
.vgnw-sv-bar > span { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: var(--fg-default); }
.vgnw-sv-by { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13.5px; }
.vgnw-sv-by > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vgnw-sv-pip { position: absolute; left: 14px; top: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 6px; background: rgba(10, 10, 9, 0.78); color: #fff; font-family: var(--font-micro); font-weight: 700; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; backdrop-filter: blur(6px); }
.vgnw-sv-pip i { font-size: 13px; }

/* Panels (deck aside) */
.vgnw-sv-panel { display: block; padding: 16px; border: 1px solid var(--border-subtle); border-radius: 16px; background: var(--bg-surface); text-decoration: none; }
.vgnw-sv-panel-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.vgnw-sv-panel-h b { font-family: var(--font-deck); font-weight: 700; font-size: 15px; color: var(--fg-default); }
.vgnw-sv-panel-h a { display: inline-flex; align-items: center; gap: 3px; font-size: 12.5px; color: var(--fg-muted); text-decoration: none; }
.vgnw-sv-panel-h a:hover { color: var(--fg-default); }
.vgnw-sv-mine { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13.5px; color: var(--fg-muted); }
.vgnw-sv-mine b { font-family: var(--font-display); font-weight: 700; font-size: 24px; color: var(--fg-default); font-variant-numeric: tabular-nums; }
.vgnw-sv-jump { display: flex; align-items: center; gap: 12px; color: var(--fg-default); transition: border-color var(--dur-fast); }
.vgnw-sv-jump:hover { border-color: var(--border-strong); }
.vgnw-sv-jump > i { font-size: 20px; }
.vgnw-sv-jump > span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.vgnw-sv-jump b { font-family: var(--font-deck); font-weight: 700; font-size: 14.5px; }
.vgnw-sv-jump small { font-size: 12.5px; line-height: 1.4; color: var(--fg-muted); }

/* Mini ranking rows (deck aside, battle board) */
.vgnw-sv-mini, .vgnw-sv-board, .vgnw-sv-ranking { list-style: none; margin: 0; padding: 0; }
.vgnw-sv-mrow, .vgnw-sv-brow { display: grid; grid-template-columns: 24px 52px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 7px 8px; margin: 0 -8px; border-radius: 10px; text-decoration: none; transition: background var(--dur-fast); }
.vgnw-sv-mrow:hover, .vgnw-sv-brow:hover { background: var(--bg-raised); }
.vgnw-sv-mrank { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--fg-subtle); text-align: center; font-variant-numeric: tabular-nums; }
.vgnw-sv-mrank.is-first { color: var(--fg-default); }
.vgnw-sv-mrank i { font-size: 16px; }
.vgnw-sv-mthumb, .vgnw-sv-rthumb { position: relative; display: block; width: 52px; height: 38px; border-radius: 7px; overflow: hidden; background: var(--bg-inset); }
.vgnw-sv-mthumb img, .vgnw-sv-rthumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vgnw-sv-mtext { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.vgnw-sv-mtext b { font-family: var(--font-deck); font-weight: 600; font-size: 13.5px; color: var(--fg-default); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vgnw-sv-mtext small { font-size: 12px; color: var(--fg-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vgnw-sv-mscore { font-family: var(--font-deck); font-weight: 700; font-size: 14px; color: var(--fg-default); font-variant-numeric: tabular-nums; }

/* ---- Swipe deck ---------------------------------------------------------------------------------------- */
.vgnw-sv-play { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.vgnw-sv-deckcol { min-width: 0; display: flex; flex-direction: column; align-items: center; }
.vgnw-sv-aside { display: flex; flex-direction: column; gap: 12px; position: sticky; top: calc(var(--vgnw-sticky-top, 110px) + 16px); }
.vgnw-sv-deck { position: relative; width: 100%; max-width: 440px; height: clamp(400px, calc(100vh - 485px), 600px); margin-top: 4px; }

.vgnw-sv-card { position: absolute; inset: 0; border-radius: 22px; overflow: hidden; background: var(--n-900); color: #fff; box-shadow: var(--shadow-lg); user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: grab; transform-origin: 50% 85%; transition: transform 320ms var(--ease-snap), opacity 320ms var(--ease-out); will-change: transform; }
.vgnw-sv-card[data-pos="1"] { transform: translateY(14px) scale(0.955); pointer-events: none; }
.vgnw-sv-card[data-pos="2"] { transform: translateY(28px) scale(0.91); opacity: 0.6; pointer-events: none; }
.vgnw-sv-card[data-pos="3"] { transform: translateY(36px) scale(0.87); opacity: 0; pointer-events: none; }
.vgnw-sv-card[data-pos="1"] .vgnw-sv-card-body, .vgnw-sv-card[data-pos="2"] .vgnw-sv-card-body { opacity: 0; }
.vgnw-sv-card.is-drag { transition: none; cursor: grabbing; }
.vgnw-sv-card.is-back { transition: transform 460ms cubic-bezier(0.18, 1.3, 0.4, 1), opacity 200ms var(--ease-out); }
.vgnw-sv-card.is-out { z-index: 30 !important; pointer-events: none; }
.vgnw-sv-card:focus-visible { outline: none; box-shadow: var(--shadow-focus), var(--shadow-lg); }
.vgnw-sv-card-media { position: absolute; inset: 0; background: var(--n-800); }
.vgnw-sv-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.vgnw-sv-card::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgba(10, 10, 9, 0.94) 0%, rgba(10, 10, 9, 0.62) 34%, rgba(10, 10, 9, 0) 62%); }
.vgnw-sv-card.is-skeleton { cursor: default; box-shadow: none; background: var(--bg-inset); }
.vgnw-sv-card.is-skeleton::after { background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%); background-size: 220% 100%; animation: vgnw-sv-shimmer 1.4s linear infinite; }
.vgnw-sv-card.is-skeleton .vgnw-sv-card-media { background: transparent; }
@keyframes vgnw-sv-shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.vgnw-sv-card-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; flex-direction: column; gap: 10px; padding: 22px; transition: opacity var(--dur-base); }
.vgnw-sv-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.vgnw-sv-chips span { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); font-family: var(--font-micro); font-weight: 700; font-size: 11.5px; white-space: nowrap; backdrop-filter: blur(6px); }
.vgnw-sv-chips i { font-size: 13px; }
.vgnw-sv-card-t { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 27px; line-height: 1.08; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.vgnw-sv-card-t a { color: #fff; text-decoration: none; }
.vgnw-sv-card-t a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 4px; }
.vgnw-sv-card .vgnw-sv-by { color: rgba(255, 255, 255, 0.82); }
.vgnw-sv-card .vgnw-avatar { background: rgba(255, 255, 255, 0.2); color: #fff; }
.vgnw-sv-tops { list-style: none; margin: 2px 0 0; padding: 12px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.vgnw-sv-tops li, .vgnw-sv-tops [role="listitem"] { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.vgnw-sv-tops small { font-family: var(--font-micro); font-weight: 700; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.58); }
.vgnw-sv-tops span { font-size: 12.5px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vgnw-sv-stamp { position: absolute; top: 24px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 10px; border: 2px solid #fff; font-family: var(--font-micro); font-weight: 700; font-size: 16px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0; pointer-events: none; }
.vgnw-sv-stamp.is-like { left: 22px; transform: rotate(-10deg); background: #fff; color: var(--n-950); }
.vgnw-sv-stamp.is-pass { right: 22px; transform: rotate(10deg); background: rgba(10, 10, 9, 0.72); color: #fff; }

.vgnw-sv-ctrl { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 46px; }
.vgnw-sv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 58px; padding: 0 28px; border-radius: 999px; border: 1px solid var(--border-default); background: var(--bg-surface); color: var(--fg-default); font-family: var(--font-deck); font-weight: 700; font-size: 15.5px; cursor: pointer; box-shadow: var(--shadow-sm); transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast), border-color var(--dur-fast), opacity var(--dur-fast); }
.vgnw-sv-btn i { font-size: 22px; }
.vgnw-sv-btn:hover { transform: translateY(-1px) scale(1.03); border-color: var(--border-strong); }
.vgnw-sv-btn:active { transform: scale(0.96); }
.vgnw-sv-btn:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.vgnw-sv-btn:disabled { opacity: 0.4; cursor: default; transform: none; }
.vgnw-sv-btn.is-like { background: var(--bg-inverse); border-color: var(--bg-inverse); color: var(--fg-inverse); }
.vgnw-sv-btn.is-undo { width: 46px; height: 46px; padding: 0; box-shadow: none; }
.vgnw-sv-btn.is-undo i { font-size: 18px; }

/* Deck / arena states (all rated, empty, error) */
.vgnw-sv-state { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 32px; border: 1px dashed var(--border-default); border-radius: 22px; background: var(--bg-surface); text-align: center; }
.vgnw-sv-deck .vgnw-sv-state { position: absolute; inset: 0; }
.vgnw-sv-state > i { font-size: 34px; color: var(--fg-default); }
.vgnw-sv-state h2 { margin: 0; font-family: var(--font-deck); font-weight: 700; font-size: 21px; color: var(--fg-default); }
.vgnw-sv-state p { margin: 0 0 6px; max-width: 360px; font-size: 14px; line-height: 1.5; color: var(--fg-muted); }
.vgnw-sv-state .vgnw-sv-cta { justify-content: center; }

/* ---- Battle ----------------------------------------------------------------------------------------------- */
.vgnw-sv-arena { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: 18px; }
.vgnw-sv-arena.is-done { display: block; }
.vgnw-sv-fighter { position: relative; display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--border-subtle); border-radius: 20px; background: var(--bg-surface); overflow: hidden; transition: transform 280ms var(--ease-snap), opacity 280ms var(--ease-out), box-shadow 200ms var(--ease-out), border-color 200ms; }
.vgnw-sv-fighter.is-skeleton { min-height: 420px; }
.vgnw-sv-fighter.is-skeleton .vgnw-sv-fighter-media { background: var(--bg-inset); }
.vgnw-sv-fighter:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.vgnw-sv-fighter-pick { flex: 1; display: flex; flex-direction: column; width: 100%; margin: 0; padding: 0 0 4px; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.vgnw-sv-fighter-pick:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--fg-default); border-radius: 20px 20px 0 0; }
.vgnw-sv-fighter-media { position: relative; display: block; height: clamp(220px, calc(100vh - 610px), 420px); background: var(--n-800); overflow: hidden; }
.vgnw-sv-fighter-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-expo); }
.vgnw-sv-fighter-pick:hover .vgnw-sv-fighter-media img { transform: scale(1.03); }
.vgnw-sv-fighter-body { display: flex; flex-direction: column; gap: 7px; padding: 14px 18px 4px; min-width: 0; }
.vgnw-sv-fighter .vgnw-sv-tops [role="listitem"]:nth-child(n+3) { display: none; }
.vgnw-sv-fighter .vgnw-sv-tops { padding-top: 9px; }
.vgnw-sv-fighter .vgnw-sv-chips span { background: var(--bg-inset); color: var(--fg-muted); backdrop-filter: none; }
.vgnw-sv-fighter-t { font-family: var(--font-display); font-weight: 700; font-size: 21px; line-height: 1.12; color: var(--fg-default); overflow-wrap: anywhere; }
.vgnw-sv-fighter .vgnw-sv-by { color: var(--fg-muted); }
.vgnw-sv-fighter .vgnw-sv-tops { border-top-color: var(--border-subtle); }
.vgnw-sv-fighter .vgnw-sv-tops small { color: var(--fg-subtle); }
.vgnw-sv-fighter .vgnw-sv-tops span { color: var(--fg-default); }
.vgnw-sv-fighter-cta { display: flex; align-items: center; justify-content: center; gap: 7px; height: 44px; margin: 10px 18px 0; border-radius: 999px; border: 1px solid var(--border-default); font-family: var(--font-deck); font-weight: 700; font-size: 14.5px; color: var(--fg-default); transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast); }
.vgnw-sv-fighter-cta i { font-size: 17px; }
.vgnw-sv-fighter-pick:hover .vgnw-sv-fighter-cta, .vgnw-sv-fighter-pick:focus-visible .vgnw-sv-fighter-cta { background: var(--bg-inverse); border-color: var(--bg-inverse); color: var(--fg-inverse); }
.vgnw-sv-fighter-open { display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding: 8px 18px 12px; font-size: 13px; color: var(--fg-muted); text-decoration: none; }
.vgnw-sv-fighter-open:hover { color: var(--fg-default); text-decoration: underline; text-underline-offset: 3px; }
.vgnw-sv-fighter-badge { position: absolute; left: 14px; top: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--bg-inverse); color: var(--fg-inverse); font-family: var(--font-micro); font-weight: 700; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0; transform: scale(0.8); transition: opacity 200ms var(--ease-out), transform 320ms cubic-bezier(0.18, 1.4, 0.4, 1); }
.vgnw-sv-fighter.is-win { border-color: var(--fg-default); box-shadow: 0 0 0 1px var(--fg-default), var(--shadow-lg); transform: translateY(-4px); }
.vgnw-sv-fighter.is-win .vgnw-sv-fighter-badge { opacity: 1; transform: none; }
.vgnw-sv-fighter.is-win .vgnw-sv-fighter-cta { background: var(--bg-inverse); border-color: var(--bg-inverse); color: var(--fg-inverse); }
.vgnw-sv-fighter.is-lose { opacity: 0.4; transform: scale(0.97); }
.vgnw-sv-arena.is-in .vgnw-sv-fighter { animation: vgnw-sv-in 380ms var(--ease-expo) both; }
.vgnw-sv-arena.is-in .vgnw-sv-fighter[data-side="1"] { animation-delay: 60ms; }
@keyframes vgnw-sv-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.vgnw-sv-vs { align-self: center; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 999px; background: var(--bg-inverse); color: var(--fg-inverse); font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: 0.04em; box-shadow: var(--shadow-md); }
.vgnw-sv-ctrl.is-battle { justify-content: space-between; margin-top: 18px; gap: 12px; flex-wrap: wrap; }
.vgnw-sv-mine-inline { font-size: 13px; color: var(--fg-muted); }
.vgnw-sv-mine-inline b { color: var(--fg-default); font-variant-numeric: tabular-nums; }
.vgnw-sv-brow { grid-template-columns: 24px 52px minmax(0, 1fr) 54px 150px; margin: 0; padding: 9px 10px; border-bottom: 1px solid var(--border-subtle); border-radius: 0; }
.vgnw-sv-wl { font-family: var(--font-deck); font-weight: 700; font-size: 13.5px; color: var(--fg-default); text-align: right; font-variant-numeric: tabular-nums; }
.vgnw-sv-rate { display: flex; align-items: center; gap: 10px; }
.vgnw-sv-rate .vgnw-sv-bar { flex: 1; }
.vgnw-sv-rate b { min-width: 40px; font-family: var(--font-deck); font-weight: 700; font-size: 13.5px; text-align: right; font-variant-numeric: tabular-nums; }

/* ---- Sections ---------------------------------------------------------------------------------------------- */
.vgnw-sv-sec { margin-top: 40px; }
.vgnw-sv-sec-h { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--border-subtle); }
.vgnw-sv-sec-h h2 { margin: 0; font-family: var(--font-deck); font-weight: 700; font-size: 20px; color: var(--fg-default); }
.vgnw-sv-sec-h span { font-size: 12.5px; color: var(--fg-subtle); }

/* ---- Month hub -------------------------------------------------------------------------------------------- */
.vgnw-sv-leader { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); border: 1px solid var(--border-subtle); border-radius: 20px; background: var(--bg-surface); overflow: hidden; }
.vgnw-sv-leader-media { position: relative; display: block; min-height: 320px; background: var(--n-800); }
.vgnw-sv-leader-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vgnw-sv-leader-body { display: flex; flex-direction: column; gap: 16px; padding: 28px; min-width: 0; }
.vgnw-sv-leader-t { font-family: var(--font-display); font-weight: 700; font-size: 32px; line-height: 1.06; color: var(--fg-default); text-decoration: none; overflow-wrap: anywhere; }
.vgnw-sv-leader-t:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.vgnw-sv-leader .vgnw-sv-by { color: var(--fg-muted); }
.vgnw-sv-leader .vgnw-sv-cta { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border-subtle); }
.vgnw-sv-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.vgnw-sv-stat { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.vgnw-sv-stat b { font-family: var(--font-display); font-weight: 700; font-size: 23px; color: var(--fg-default); font-variant-numeric: tabular-nums; white-space: nowrap; }
.vgnw-sv-stat small { font-family: var(--font-micro); font-weight: 700; font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-subtle); }
.vgnw-sv-leader.is-empty { display: block; }
.vgnw-sv-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 48px 24px; text-align: center; }
.vgnw-sv-empty > i { font-size: 36px; color: var(--fg-default); }
.vgnw-sv-empty h2 { margin: 0; font-family: var(--font-deck); font-weight: 700; font-size: 22px; color: var(--fg-default); }
.vgnw-sv-empty p { margin: 0 0 8px; max-width: 520px; font-size: 14.5px; line-height: 1.55; color: var(--fg-muted); }
.vgnw-sv-empty .vgnw-sv-cta { justify-content: center; }
.vgnw-sv-empty.is-small { padding: 28px 20px; border: 1px dashed var(--border-default); border-radius: 16px; }
.vgnw-sv-empty.is-small > i { font-size: 26px; color: var(--fg-muted); }
.vgnw-sv-rrow { display: grid; grid-template-columns: 30px minmax(0, 1fr) 70px 70px 160px; align-items: center; gap: 12px; padding: 10px 4px; border-bottom: 1px solid var(--border-subtle); }
.vgnw-sv-rrow.is-pending { opacity: 0.72; }
.vgnw-sv-rmain { display: flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none; }
.vgnw-sv-rmain:hover b { text-decoration: underline; text-underline-offset: 3px; }
.vgnw-sv-rthumb { width: 64px; height: 44px; flex-shrink: 0; }
.vgnw-sv-rnum { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.vgnw-sv-rnum b { font-family: var(--font-deck); font-weight: 700; font-size: 14px; color: var(--fg-default); font-variant-numeric: tabular-nums; }
.vgnw-sv-rnum small { font-family: var(--font-micro); font-weight: 700; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-subtle); }
.vgnw-sv-rscore { display: flex; align-items: center; gap: 10px; }
.vgnw-sv-rscore .vgnw-sv-bar { flex: 1; }
.vgnw-sv-rscore b { min-width: 38px; font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--fg-default); text-align: right; font-variant-numeric: tabular-nums; }
.vgnw-sv-how-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; padding: 20px 24px; border-radius: 16px; background: var(--bg-raised); }
.vgnw-sv-how-grid p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--fg-muted); }
.vgnw-sv-formula code { display: block; padding: 10px 12px; border: 1px solid var(--border-default); border-radius: 8px; background: var(--bg-surface); font-family: var(--font-mono); font-size: 13px; line-height: 1.5; color: var(--fg-default); white-space: normal; }
.vgnw-sv-wins { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.vgnw-sv-win { display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
.vgnw-sv-win-media { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: var(--bg-inset); }
.vgnw-sv-win-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-expo); }
.vgnw-sv-win:hover .vgnw-sv-win-media img { transform: scale(1.03); }
.vgnw-sv-win-t { margin-top: 4px; font-family: var(--font-deck); font-weight: 700; font-size: 15px; color: var(--fg-default); }
.vgnw-sv-win-m { font-size: 12.5px; color: var(--fg-muted); }

/* ---- Setups hub promo ------------------------------------------------------------------------------------- */
.vgnw-sv-promo { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0 0 28px; padding: 22px 26px; border: 1px solid var(--border-subtle); border-radius: 16px; background: var(--bg-surface); }
.vgnw-sv-promo-l { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.vgnw-sv-promo h2 { margin: 2px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 25px; line-height: 1.1; color: var(--fg-default); }
.vgnw-sv-promo-p { margin: 0; max-width: 560px; font-size: 14.5px; line-height: 1.5; color: var(--fg-muted); }
.vgnw-sv-promo-p a { font-weight: 700; color: var(--fg-default); }
.vgnw-sv-promo-clock { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--fg-muted); }
.vgnw-sv-promo-clock b { color: var(--fg-default); font-variant-numeric: tabular-nums; }
.vgnw-sv-promo-r { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; flex-shrink: 0; }

/* ---- Winner badge on a setup page ------------------------------------------------------------------------- */
.vgnw-ss3-kick .vgnw-sv-badge { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 999px; background: var(--bg-inverse); color: var(--fg-inverse); font-family: var(--font-micro); font-weight: 700; font-size: 11px; text-decoration: none; }
.vgnw-ss3-kick .vgnw-sv-badge:hover { opacity: 0.85; }

/* ---- Toast ------------------------------------------------------------------------------------------------- */
.vgnw-sv-toast { position: fixed; left: 50%; bottom: 24px; z-index: 1000; max-width: calc(100% - 32px); padding: 11px 16px; border-radius: 12px; background: var(--bg-inverse); color: var(--fg-inverse); font-size: 14px; line-height: 1.4; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); }
.vgnw-sv-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---- Narrow screens ---------------------------------------------------------------------------------------- */
@media (max-width: 1080px) {
	.vgnw-sv-play { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.vgnw-sv-aside { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.vgnw-sv-aside > .vgnw-sv-panel:first-child { grid-row: span 2; }
	.vgnw-sv-leader { grid-template-columns: minmax(0, 1fr); }
	.vgnw-sv-leader-media { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 760px) {
	.vgnw-sv-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 12px; padding: 12px 0 14px; }
	.vgnw-sv-head-l { display: contents; }
	.vgnw-sv-eyebrow { grid-column: 1 / -1; }
	.vgnw-sv-head h1 { grid-column: 1; font-size: 28px; }
	.vgnw-sv-lede { grid-column: 1 / -1; font-size: 14.5px; }
	.vgnw-sv--deck .vgnw-sv-lede, .vgnw-sv--battle .vgnw-sv-lede { display: none; }
	.vgnw-sv-clock { grid-column: 2; grid-row: 2; flex-direction: row; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; }
	.vgnw-sv-clock-l > span { display: none; }
	.vgnw-sv-clock-l i { font-size: 14px; }
	.vgnw-sv-clock-v { font-size: 15px; }
	.vgnw-sv-tabs { display: flex; width: 100%; margin-bottom: 16px; }
	.vgnw-sv-tab { flex: 1; padding: 0 8px; font-size: 13px; }
	.vgnw-sv-tab-l { display: none; }
	.vgnw-sv-tab-s { display: inline; }
	.vgnw-sv-deck { height: clamp(350px, calc(100svh - 470px), 560px); }
	.vgnw-sv--deck .vgnw-sv-crumbs, .vgnw-sv--battle .vgnw-sv-crumbs { display: none; }
	.vgnw-sv-card { border-radius: 18px; }
	.vgnw-sv-card-body { padding: 18px; gap: 9px; }
	.vgnw-sv-card-t { font-size: 23px; }
	.vgnw-sv-ctrl { margin-top: 38px; gap: 12px; }
	.vgnw-sv-btn { height: 54px; padding: 0 22px; }
	.vgnw-sv-keys { display: none; }
	.vgnw-sv-aside { grid-template-columns: minmax(0, 1fr); }
	.vgnw-sv-aside > .vgnw-sv-panel:first-child { grid-row: auto; }
	.vgnw-sv-arena { position: relative; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.vgnw-sv-vs { position: absolute; left: 50%; top: 118px; z-index: 3; width: 40px; height: 40px; font-size: 13px; transform: translate(-50%, -50%); }
	.vgnw-sv-fighter { border-radius: 16px; }
	.vgnw-sv-fighter-pick:focus-visible { border-radius: 16px 16px 0 0; }
	.vgnw-sv-fighter-media { height: auto; aspect-ratio: 3 / 4; max-height: 236px; }
	.vgnw-sv-fighter-body { padding: 10px 11px 2px; gap: 6px; }
	.vgnw-sv-fighter .vgnw-sv-chips span:not(:first-child) { display: none; }
	.vgnw-sv-fighter .vgnw-sv-chips span { max-width: 100%; height: 22px; padding: 0 8px; font-size: 10.5px; overflow: hidden; text-overflow: ellipsis; }
	.vgnw-sv-fighter-t { font-size: 15.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.vgnw-sv-fighter .vgnw-sv-by { font-size: 12.5px; gap: 6px; }
	.vgnw-sv-fighter .vgnw-sv-tops { display: none; }
	.vgnw-sv-fighter-cta { height: 40px; margin: 8px 10px 0; font-size: 13.5px; }
	.vgnw-sv-fighter-badge { left: 8px; top: 8px; padding: 5px 9px; font-size: 10.5px; }
	.vgnw-sv-fighter-open { padding: 8px 10px 10px; font-size: 12.5px; }
	.vgnw-sv-fighter.is-skeleton { min-height: 260px; }
	.vgnw-sv-brow { grid-template-columns: 22px 46px minmax(0, 1fr) 76px; }
	.vgnw-sv-brow .vgnw-sv-wl { display: none; }
	.vgnw-sv-rate .vgnw-sv-bar { display: none; }
	.vgnw-sv-rrow { grid-template-columns: 26px minmax(0, 1fr) 64px; gap: 10px; }
	.vgnw-sv-rrow .vgnw-sv-rnum { display: none; }
	.vgnw-sv-rscore .vgnw-sv-bar { display: none; }
	.vgnw-sv-rthumb { width: 54px; height: 38px; }
	.vgnw-sv-leader-body { padding: 20px; }
	.vgnw-sv-leader-t { font-size: 25px; }
	.vgnw-sv-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.vgnw-sv-how-grid { grid-template-columns: minmax(0, 1fr); padding: 16px 18px; }
	.vgnw-sv-wins { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.vgnw-sv-win-t { font-size: 14px; }
	.vgnw-sv-promo { flex-direction: column; align-items: stretch; padding: 18px; }
	.vgnw-sv-promo h2 { font-size: 21px; }
	.vgnw-sv-promo-r { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
	.vgnw-sv-card, .vgnw-sv-card.is-back { transition: opacity 160ms linear; }
	.vgnw-sv-card.is-skeleton::after { animation: none; }
	.vgnw-sv-btn, .vgnw-sv-btn:hover, .vgnw-sv-btn:active { transform: none; }
	.vgnw-sv-fighter, .vgnw-sv-fighter.is-win, .vgnw-sv-fighter.is-lose { transform: none; transition: opacity 160ms linear, border-color 160ms linear; }
	.vgnw-sv-fighter-badge { transition: none; transform: none; }
	.vgnw-sv-arena.is-in .vgnw-sv-fighter { animation: none; }
	.vgnw-sv-fighter-media img, .vgnw-sv-win-media img { transition: none; transform: none !important; }
	.vgnw-sv-toast { transition: none; }
}
