/* =====================================================================
   Vexxed Vanilla - Tebex store theme
   Layout: one centred 1180px column; pixel-notched panels on a deep
   violet night; gold is reserved for money, purple for actions.
   ===================================================================== */
:root {
  color-scheme: dark;
  /* colour */
  --bg: #0D0714;
  --bg-2: #140A21;
  --surface: #1B0F2C;
  --surface-2: #24153A;
  --line: #3A2459;
  --line-hi: #5A3A86;
  --fg: #F3ECFF;
  --muted: #B6A6D0;
  --faint: #7E6C9C;
  --accent: #A000FF;
  --accent-2: #B53DFF;
  --accent-hi: #E86BFF;
  --gold: #FFD000;
  --gold-deep: #C07A12;
  --good: #00FF66;
  --bad: #FF1744;
  --ink: #140822;          /* outline colour used by the pixel art */
  /* type */
  --f-display: "VV Digits", "Pixelify Sans", "Silkscreen", ui-monospace, monospace;
  --f-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-label: "Silkscreen", "Pixelify Sans", ui-monospace, monospace;
  /* scale */
  --t-xs: .78rem; --t-sm: .9rem; --t-md: 1rem; --t-lg: 1.2rem; --t-xl: 1.6rem; --t-2xl: 2.2rem; --t-3xl: 3rem;
  --px: 3px;               /* one "pixel" of the notched frame */
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
.vv {
  margin: 0;
  min-height: 100vh;
  display: flex; flex-direction: column;
  background:
    radial-gradient(1200px 520px at 50% -140px, rgba(160, 0, 255, .32), transparent 70%),
    linear-gradient(var(--bg), var(--bg-2) 60%, var(--bg));
  background-color: var(--bg);
  color: var(--fg);
  font: 400 var(--t-md)/1.6 var(--f-body);
}
.vv::before { /* faint pixel grid */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(199, 125, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(199, 125, 255, .035) 1px, transparent 1px);
  background-size: 24px 24px;
}
.vv > * { position: relative; z-index: 1; }
.vv-main { flex: 1; padding-block: 0 72px; }
img { max-width: 100%; }
.px { image-rendering: pixelated; image-rendering: crisp-edges; }
a { color: var(--accent-hi); text-decoration: none; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: .01em; }
h1 { font-size: var(--t-2xl); }
h2 { font-size: var(--t-xl); }
h3 { font-size: var(--t-lg); }
p { margin: 0; }
small { font-size: var(--t-xs); }
code { font-family: var(--f-label); font-size: .85em; }
.vv-wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.vv-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vv-skip { position: absolute; left: 8px; top: -60px; background: var(--gold); color: var(--ink); padding: 8px 12px; z-index: 50; }
.vv-skip:focus { top: 8px; }
.vv-muted { color: var(--muted); }
.vv-good { color: var(--good); }
.vv-bad { color: var(--bad); }
.vv-eyebrow { font-family: var(--f-label); font-size: var(--t-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-hi); }
.vv-eyebrow a { color: var(--muted); }
.vv-fineprint { color: var(--faint); font-size: var(--t-xs); margin-top: 20px; }

/* ---------- pixel frame: the notched border every panel shares ---------- */
.vv-frame, .vv-panel, .vv-card, .vv-cat, .vv-module, .vv-owner, .vv-line, .vv-empty, .vv-toast {
  --pb: var(--line);
  background: var(--surface);
  box-shadow:
    0 calc(var(--px) * -1) 0 0 var(--pb), 0 var(--px) 0 0 var(--pb),
    calc(var(--px) * -1) 0 0 0 var(--pb), var(--px) 0 0 0 var(--pb),
    inset 0 var(--px) 0 0 rgba(255, 255, 255, .05);
}

/* ---------- buttons ---------- */
.vv-btn {
  --bb: var(--surface-2); --bf: var(--fg); --bl: var(--line-hi);
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 42px; padding: 8px 18px; margin: var(--px);
  font: 500 var(--t-md)/1 var(--f-display); letter-spacing: .02em;
  color: var(--bf); background: var(--bb); border: 0; cursor: pointer; text-align: center; white-space: nowrap;
  box-shadow:
    0 calc(var(--px) * -1) 0 0 var(--bl), 0 var(--px) 0 0 var(--bl),
    calc(var(--px) * -1) 0 0 0 var(--bl), var(--px) 0 0 0 var(--bl),
    inset 0 calc(var(--px) * -1) 0 0 rgba(0, 0, 0, .35), inset 0 var(--px) 0 0 rgba(255, 255, 255, .16);
  transition: transform .08s ease, filter .12s ease;
}
.vv-btn:hover { color: var(--bf); filter: brightness(1.15); transform: translateY(-1px); }
.vv-btn:active { transform: translateY(1px); box-shadow:
    0 calc(var(--px) * -1) 0 0 var(--bl), 0 var(--px) 0 0 var(--bl),
    calc(var(--px) * -1) 0 0 0 var(--bl), var(--px) 0 0 0 var(--bl),
    inset 0 var(--px) 0 0 rgba(0, 0, 0, .35); }
.vv-btn-primary { --bb: var(--accent); --bf: #fff; --bl: #2A0058; }
.vv-btn-good { --bb: #1E7A42; --bf: #fff; --bl: #0C3A1E; }
.vv-btn-ghost { --bb: var(--surface-2); --bf: var(--fg); --bl: var(--line-hi); }
.vv-btn-disabled { --bb: var(--surface); --bf: var(--faint); --bl: var(--line); cursor: not-allowed; }
.vv-btn-disabled:hover { transform: none; filter: none; }
.vv-btn-sm { min-height: 34px; padding: 6px 12px; font-size: var(--t-sm); }
.vv-btn-lg { min-height: 52px; padding: 12px 24px; font-size: var(--t-lg); }
.vv-btn-block { display: flex; width: calc(100% - var(--px) * 2); }
.vv-btn code { background: rgba(0, 0, 0, .25); padding: 3px 6px; font-size: .8em; }

/* ---------- top bar ---------- */
.vv-topbar { background: #07030C; border-bottom: 1px solid var(--line); font-size: var(--t-sm); }
.vv-topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 40px; flex-wrap: wrap; }
.vv-ip { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; color: var(--fg); font: inherit; cursor: pointer; padding: 6px 0; }
.vv-ip-text { font-family: var(--f-label); font-size: var(--t-xs); letter-spacing: .04em; }
.vv-ip-count { color: var(--good); font-weight: 600; }
.vv-ip-count:empty { display: none; }
.vv-ip-hint { color: var(--faint); font-size: var(--t-xs); }
.vv-ip:hover .vv-ip-hint { color: var(--accent-hi); }
.vv-dot { width: 8px; height: 8px; background: var(--faint); box-shadow: 0 0 0 2px rgba(255, 255, 255, .06); flex: none; }
.vv-dot.is-online, .vv-status.is-online .vv-dot { background: var(--good); box-shadow: 0 0 10px var(--good); }
.vv-status.is-offline .vv-dot { background: var(--bad); }
.vv-discord { display: inline-flex; align-items: center; gap: 8px; color: #B9C2FF; font-weight: 600; }
.vv-discord:hover { color: #fff; }

/* ---------- header ---------- */
.vv-header { position: sticky; top: 0; z-index: 20; background: rgba(13, 7, 20, .88); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.vv-header-in { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.vv-brand { display: flex; align-items: center; gap: 12px; flex: none; }
.vv-brand-word { height: 40px; width: auto; }
.vv-nav { display: flex; gap: 4px; flex: 1; flex-wrap: wrap; }
.vv-nav a { color: var(--muted); font-family: var(--f-display); font-weight: 500; font-size: var(--t-md); padding: 8px 12px; }
.vv-nav a:hover { color: var(--fg); background: var(--surface); }
.vv-nav a.is-active { color: #fff; background: var(--surface-2); box-shadow: inset 0 calc(var(--px) * -1) 0 0 var(--accent); }
.vv-account { display: flex; align-items: center; gap: 10px; flex: none; margin-left: auto; }
.vv-user { display: flex; align-items: center; gap: 8px; color: var(--fg); font-weight: 600; font-size: var(--t-sm); }
.vv-cart { position: relative; display: flex; align-items: center; gap: 8px; padding: 8px 14px; margin: var(--px); color: var(--fg); background: var(--surface-2);
  box-shadow: 0 calc(var(--px) * -1) 0 0 var(--line-hi), 0 var(--px) 0 0 var(--line-hi), calc(var(--px) * -1) 0 0 0 var(--line-hi), var(--px) 0 0 0 var(--line-hi); }
.vv-cart:hover { color: #fff; background: var(--accent); }
.vv-cart-total { font-weight: 700; font-variant-numeric: tabular-nums; }
.vv-cart-total small { color: var(--muted); font-weight: 500; }
.vv-cart-count { position: absolute; top: -10px; right: -10px; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center;
  font: 700 11px/1 var(--f-body); color: var(--ink); background: var(--gold); box-shadow: 0 0 0 2px var(--ink); }
.vv-menu-btn { display: none; }

/* ---------- toast ---------- */
.vv-toast { --pb: var(--accent); position: fixed; z-index: 60; left: 50%; top: calc(88px + env(safe-area-inset-top, 0px)); transform: translateX(-50%);
  width: min(560px, calc(100% - 32px)); display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 14px 18px; }
.vv-toast-success { --pb: var(--good); }
.vv-toast-danger, .vv-toast-error { --pb: var(--bad); }
.vv-toast button { background: none; border: 0; color: var(--muted); font-size: 22px; cursor: pointer; line-height: 1; }

/* ---------- hero ---------- */
.vv-hero { padding-block: 56px 24px; overflow: hidden; }
.vv-hero-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 32px; align-items: center; }
.vv-hero-copy { display: grid; gap: 20px; justify-items: start; min-width: 0; }
.vv-hero-logo { width: min(480px, 100%); height: auto; filter: drop-shadow(0 12px 30px rgba(160, 0, 255, .5)); }
.vv-hero-tag { font-size: var(--t-lg); color: var(--muted); max-width: 34ch; }
.vv-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.vv-hero-art { position: relative; height: 340px; }
.vv-float { position: absolute; width: auto; filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .5)); animation: vv-bob 5s ease-in-out infinite; }
.vv-float-1 { height: 240px; left: 26%; top: 0; }
.vv-float-2 { height: 150px; right: 0; bottom: 10px; animation-delay: -1.6s; }
.vv-float-3 { height: 150px; left: 0; bottom: 0; animation-delay: -3.2s; }
@keyframes vv-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- sections ---------- */
.vv-section { padding-block: 40px 0; }
.vv-section-head { display: grid; gap: 8px; margin-bottom: 24px; }
.vv-section-head p:not(.vv-eyebrow) { color: var(--muted); max-width: 62ch; }

/* category buttons */
.vv-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.vv-cat { --pb: color-mix(in srgb, var(--tint, var(--accent)) 55%, var(--line));
  display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 22px; margin: var(--px); color: var(--fg);
  background: linear-gradient(120deg, color-mix(in srgb, var(--tint, var(--accent)) 16%, var(--surface)), var(--surface) 70%);
  transition: transform .12s ease, background .12s ease; }
.vv-cat img { width: 96px; height: 96px; object-fit: contain; transition: transform .2s ease; }
.vv-cat-text { display: grid; gap: 4px; min-width: 0; }
.vv-cat-name { font: 700 var(--t-xl)/1.1 var(--f-display); }
.vv-cat-blurb { color: var(--muted); font-size: var(--t-sm); }
.vv-cat-go { font: 700 var(--t-xl)/1 var(--f-display); color: var(--tint, var(--accent-hi)); }
.vv-cat:hover { color: #fff; transform: translateY(-3px); --pb: var(--tint, var(--accent)); }
.vv-cat:hover img { transform: scale(1.08) rotate(-3deg); }

/* owner message */
.vv-owner { --pb: var(--line-hi); display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 32px; align-items: end; padding: 32px 36px 0; margin: var(--px);
  background: linear-gradient(180deg, var(--surface-2), var(--surface)); }
.vv-owner-skin { margin: 0; align-self: end; display: flex; justify-content: center; }
.vv-owner-skin img { width: 150px; height: auto; display: block; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .55)); }
.vv-owner-msg { display: grid; gap: 14px; padding-bottom: 32px; max-width: 66ch; }
.vv-owner-msg p:not(.vv-eyebrow):not(.vv-sign) { font-size: var(--t-lg); line-height: 1.55; }
.vv-sign { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.vv-sign small { color: var(--muted); }

/* ---------- modules (Tebex sidebar modules) ---------- */
.vv-modules { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; align-items: start; }
.vv-module { padding: 20px; margin: var(--px); display: grid; gap: 14px; min-width: 0; }
.vv-module-title { font-family: var(--f-label); font-weight: 400; font-size: var(--t-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-hi); }
.vv-payments { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.vv-payments li { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.vv-payments-who { display: grid; min-width: 0; }
.vv-payments-who small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vv-payments time { color: var(--faint); font-size: var(--t-xs); }
.vv-top { display: flex; gap: 16px; align-items: center; }
.vv-top img:first-child { width: 60px; height: auto; }
.vv-top-crown { display: block; margin-bottom: 4px; }
.vv-top-name { font: 700 var(--t-xl)/1.1 var(--f-display); color: var(--gold); display: block; }
.vv-status { display: flex; align-items: center; gap: 10px; }
.vv-bar { height: 14px; background: var(--bg); box-shadow: inset 0 0 0 2px var(--line); }
.vv-bar span { display: block; height: 100%; background: repeating-linear-gradient(90deg, var(--accent) 0 12px, var(--accent-2) 12px 14px); }
.vv-module .vv-card { margin: var(--px); }

/* ---------- category page ---------- */
.vv-cat-hero { padding-block: 40px 32px; border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, color-mix(in srgb, var(--tint, var(--accent)) 14%, transparent), transparent); }
.vv-cat-hero-in { display: flex; align-items: center; gap: 24px; }
.vv-cat-hero-in img { width: 88px; height: 88px; object-fit: contain; flex: none; }
.vv-cat-hero-in > div { display: grid; gap: 8px; min-width: 0; }
.vv-cat-desc { color: var(--muted); max-width: 70ch; }
.vv-with-aside { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 32px; }
@media (min-width: 1100px) { .vv-with-aside:has(.vv-aside) { grid-template-columns: minmax(0, 1fr) 300px; } .vv-aside { grid-template-columns: 1fr; } }
.vv-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.vv-chip { padding: 6px 14px; background: var(--surface-2); color: var(--fg); font-family: var(--f-display); box-shadow: inset 0 0 0 2px var(--line-hi); }
.vv-chip:hover { background: var(--accent); color: #fff; }

/* package cards */
.vv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 26px; }
.vv-card { --pb: var(--line); display: flex; flex-direction: column; margin: var(--px); transition: transform .12s ease; min-width: 0; }
.vv-card:hover { transform: translateY(-3px); --pb: color-mix(in srgb, var(--tint, var(--accent)) 70%, var(--line)); }
.vv-card.is-in-basket { --pb: var(--good); }
.vv-card-art { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; max-width: 100%;
  background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--tint, var(--accent)) 30%, transparent), transparent 65%), var(--bg-2);
  border-bottom: 2px solid var(--line); }
.vv-card-art img { width: 62%; height: 80%; object-fit: contain; transition: transform .2s ease; }
.vv-card:hover .vv-card-art img { transform: scale(1.06); }
.vv-card-body { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 18px; flex: 1; }
.vv-card-title { font-size: var(--t-xl); color: color-mix(in srgb, var(--tint, var(--fg)) 55%, #fff); }
.vv-card-desc { color: var(--muted); font-size: var(--t-sm); }
.vv-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.vv-price strong { font: 700 var(--t-xl)/1 var(--f-display); color: var(--gold); }
.vv-price small { color: var(--muted); }
.vv-price del { color: var(--faint); }
.vv-price-note { color: var(--muted); font-size: var(--t-sm); }
.vv-price-lg strong { font-size: var(--t-2xl); }
.vv-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: auto; padding-top: 6px; }
.vv-card-actions .vv-btn:first-child { flex: 1 1 100%; }
.vv-card-actions .vv-link-more, .vv-card-actions .vv-link-remove { margin-inline: auto; }
.vv-link-more, .vv-link-remove { font-size: var(--t-sm); font-weight: 600; }
.vv-link-remove { color: var(--bad); }
.vv-reason { color: var(--faint); flex-basis: 100%; }
.vv-flag { position: absolute; top: 10px; padding: 3px 8px; font: 400 var(--t-xs)/1.3 var(--f-label); color: var(--ink); }
.vv-flag-sale { left: 10px; background: var(--gold); }
.vv-flag-timer { right: 10px; background: var(--bad); color: #fff; }
.vv-flag-inline { position: static; }
.vv-grid-list { grid-template-columns: 1fr; }
.vv-grid-list .vv-card { flex-direction: row; }
.vv-grid-list .vv-card-art { width: 200px; flex: none; border-bottom: 0; border-right: 2px solid var(--line); }

.vv-empty { display: grid; justify-items: center; gap: 14px; padding: 48px 24px; margin: var(--px); text-align: center; color: var(--muted); }

/* ---------- package detail ---------- */
.vv-pkg-page { padding-block: 40px; }
.vv-pkg { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 32px; align-items: start; }
.vv-pkg-art { display: grid; place-items: center; aspect-ratio: 1; max-width: 100%;
  background: radial-gradient(circle at 50% 55%, color-mix(in srgb, var(--tint, var(--accent)) 35%, transparent), transparent 65%), var(--bg-2); box-shadow: inset 0 0 0 2px var(--line); }
.vv-pkg-art img { width: 72%; height: 72%; object-fit: contain; }
.vv-pkg-info { display: grid; gap: 16px; min-width: 0; }
.vv-pkg-title { font-size: var(--t-2xl); color: color-mix(in srgb, var(--tint, var(--fg)) 55%, #fff); }
.vv-pkg-desc { color: var(--muted); }
.vv-back { font-size: var(--t-sm); }

/* prose from Tebex (descriptions, pages) */
.vv-prose { line-height: 1.65; overflow-wrap: anywhere; }
.vv-prose > * + * { margin-top: .8em; }
.vv-prose ul { padding-left: 0; list-style: none; display: grid; gap: 6px; }
.vv-prose ul li { position: relative; padding-left: 20px; }
.vv-prose ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; background: var(--tint, var(--accent-hi)); }
.vv-prose strong { color: var(--fg); }
.vv-prose img { height: auto; }
.vv-prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.vv-prose td, .vv-prose th { padding: 6px 10px; border-bottom: 1px solid var(--line); text-align: left; }

/* ---------- basket ---------- */
.vv-checkout { padding-block: 40px; }
.vv-checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.vv-checkout-items { display: grid; gap: 28px; min-width: 0; }
.vv-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.vv-line { display: grid; grid-template-columns: 56px minmax(0, 1fr) 76px auto 32px; align-items: center; gap: 16px; padding: 14px 16px; margin: var(--px); }
.vv-line-art { width: 56px; height: 56px; object-fit: contain; }
.vv-line-info { display: grid; gap: 2px; min-width: 0; }
.vv-line-info strong { font: 700 var(--t-lg)/1.2 var(--f-display); color: color-mix(in srgb, var(--tint, var(--fg)) 55%, #fff); }
.vv-gift { color: var(--gold); }
.vv-line-price { font-weight: 700; color: var(--gold); font-variant-numeric: tabular-nums; white-space: nowrap; }
.vv-line-price small { color: var(--muted); font-weight: 500; }
.vv-line-x { color: var(--faint); font-size: 24px; line-height: 1; text-align: center; }
.vv-line-x:hover { color: var(--bad); }
.vv-update { margin-top: 12px; }
input[type="text"], input[type="number"], input[type="email"], select, textarea {
  width: 100%; min-height: 44px; padding: 10px 12px; color: var(--fg); background: var(--bg); border: 0; font: 500 var(--t-md) var(--f-body);
  box-shadow: inset 0 0 0 2px var(--line-hi); }
input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent-hi); }
.vv-qty input { text-align: center; padding-inline: 6px; }
.vv-panel { --pb: var(--line); padding: 22px; margin: var(--px); display: grid; gap: 14px; }
.vv-panel-title { font-size: var(--t-lg); }
.vv-inline-form { display: flex; gap: 10px; align-items: center; }
.vv-inline-form input { flex: 1; min-width: 0; }
.vv-applied { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.vv-applied li { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.vv-applied code { color: var(--good); }
.vv-summary { position: sticky; top: 96px; --pb: var(--line-hi); }
.vv-summary-user { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.vv-summary-user small { color: var(--muted); }
.vv-summary-user .vv-link-more { margin-left: auto; }
.vv-summary-rows { margin: 0; display: grid; gap: 8px; }
.vv-summary-rows > div { display: flex; justify-content: space-between; }
.vv-summary-rows dt { color: var(--muted); }
.vv-summary-rows dd { margin: 0; font-variant-numeric: tabular-nums; }
.vv-summary-total { padding-top: 10px; border-top: 1px solid var(--line); align-items: baseline; }
.vv-summary-total dd { font: 700 var(--t-2xl)/1 var(--f-display); color: var(--gold); }
.vv-summary-total dd small { font: 500 var(--t-sm) var(--f-body); color: var(--muted); }

/* ---------- login / pages ---------- */
.vv-login { display: grid; place-items: center; padding-block: 56px; }
.vv-login-card { --pb: var(--line-hi); width: min(440px, 100%); justify-items: center; text-align: center; padding: 32px; gap: 16px; }
.vv-login-card p { color: var(--muted); }
.vv-login-head { width: 96px; height: 96px; box-shadow: 0 0 0 4px var(--ink), 0 0 0 7px var(--accent); }
.vv-login-form { display: grid; gap: 10px; width: 100%; text-align: left; }
.vv-label { font-family: var(--f-label); font-size: var(--t-xs); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.vv-page { padding-block: 40px; }

/* ---------- footer ---------- */
.vv-footer { border-top: 1px solid var(--line); background: #07030C; padding-block: 32px; color: var(--muted); font-size: var(--t-sm); }
.vv-footer-in { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.vv-footer-brand { display: flex; gap: 14px; align-items: center; max-width: 520px; }
.vv-footer-brand strong { color: var(--fg); font-family: var(--f-display); }
.vv-footer-brand p { color: var(--faint); font-size: var(--t-xs); }
.vv-footer-links, .vv-currency { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.vv-footer-links a, .vv-currency a { color: var(--muted); }
.vv-currency a.is-active { color: var(--gold); }

/* ---------- modal ---------- */
.vv-modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; }
.vv-modal[hidden] { display: none; }
.vv-modal-backdrop { position: absolute; inset: 0; background: rgba(5, 2, 10, .78); }
.vv-modal-card { position: relative; width: min(880px, 100%); max-height: calc(100vh - 48px); overflow: auto; background: var(--surface); padding: 28px;
  box-shadow: 0 -3px 0 var(--line-hi), 0 3px 0 var(--line-hi), -3px 0 0 var(--line-hi), 3px 0 0 var(--line-hi), 0 30px 80px rgba(0, 0, 0, .6); }
.vv-modal-card .vv-pkg-page { padding: 0; }
.vv-modal-card .vv-wrap { padding: 0; }
.vv-modal-x { position: absolute; top: 8px; right: 12px; background: none; border: 0; font-size: 30px; color: var(--muted); cursor: pointer; z-index: 2; }
.vv-modal-x:hover { color: #fff; }
.vv-loading { color: var(--muted); padding: 40px; text-align: center; font-family: var(--f-label); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .vv-hero-in { grid-template-columns: 1fr; }
  .vv-hero-art { height: 200px; order: -1; }
  .vv-float-1 { height: 170px; left: 34%; top: 0; }
  .vv-float-2 { height: 110px; }
  .vv-float-3 { height: 110px; }
  .vv-checkout-grid { grid-template-columns: 1fr; }
  .vv-summary { position: static; }
}
@media (max-width: 860px) {
  .vv-menu-btn { display: grid; gap: 4px; width: 42px; height: 42px; place-content: center; background: var(--surface-2); border: 0; cursor: pointer; order: 3; }
  .vv-menu-btn > span:not(.vv-sr) { display: block; width: 20px; height: 3px; background: var(--fg); }
  .vv-header-in { flex-wrap: wrap; min-height: 64px; gap: 12px; }
  .vv-account { margin-left: auto; }
  .vv-nav { display: none; order: 4; flex-basis: 100%; flex-direction: column; padding-bottom: 12px; }
  .vv-nav.is-open { display: flex; }
  .vv-brand-word { display: none; }
  .vv-user span { display: none; }
}
@media (max-width: 640px) {
  :root { --t-2xl: 1.8rem; --t-xl: 1.35rem; }
  .vv-hero { padding-top: 28px; }
  .vv-owner { grid-template-columns: 1fr; padding: 24px 20px 0; gap: 8px; }
  .vv-owner-skin { order: 2; }
  .vv-owner-skin img { width: 110px; }
  .vv-owner-msg { padding-bottom: 0; }
  .vv-cat { grid-template-columns: 64px minmax(0, 1fr) auto; padding: 16px; gap: 14px; }
  .vv-cat img { width: 64px; height: 64px; }
  .vv-pkg { grid-template-columns: 1fr; }
  .vv-pkg-art { max-width: 240px; }
  .vv-line { grid-template-columns: 44px minmax(0, 1fr) auto; grid-template-areas: "art info x" "art qty price"; gap: 8px 12px; }
  .vv-line-art { grid-area: art; width: 44px; height: 44px; }
  .vv-line-info { grid-area: info; }
  .vv-qty { grid-area: qty; max-width: 80px; }
  .vv-line-price { grid-area: price; justify-self: end; }
  .vv-line-x { grid-area: x; }
  .vv-grid-list .vv-card { flex-direction: column; }
  .vv-grid-list .vv-card-art { width: auto; border-right: 0; border-bottom: 2px solid var(--line); }
  .vv-cart-total { display: none; }
  .vv-ip-hint { display: none; }
  .vv-hero-art { display: none; }
  .vv-hero-cta { width: 100%; }
  .vv-hero-cta .vv-btn { flex: 1 1 100%; }
  .vv-discord span { display: none; }
  .vv-grid { grid-template-columns: 1fr; gap: 18px; }
  .vv-card { flex-direction: row; }
  .vv-card-art { width: 112px; flex: none; aspect-ratio: auto; border-bottom: 0; border-right: 2px solid var(--line); }
  .vv-card-art img { width: 84%; height: auto; }
  .vv-card-body { padding: 14px; gap: 8px; }
  .vv-card-title { font-size: var(--t-lg); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
