/* The shop. On top of ../classement/classement.css (same colours and type). Gold is what is paid for. */
:root { --gold: #ffd257; --gold-ink: #171204; --ease: cubic-bezier(0.16, 1, 0.3, 1); }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }
h2 { font: 300 clamp(30px, 4vw, 56px)/1 var(--sans); letter-spacing: -0.04em; margin: 0; }
section { margin-bottom: clamp(48px, 9vh, 96px); }
.kicker.gold { color: var(--gold); }

/* ---------- the offer (one since 2026-12-03: the VIP, 7.99, which holds the Season Pass) ---------- */
.offers { display: grid; grid-template-columns: minmax(0, 760px); justify-content: center; gap: 16px; align-items: stretch; }
.offer {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  padding: clamp(22px, 2.6vw, 36px); border-radius: 22px; border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  transition: transform 0.5s var(--ease), border-color 0.3s, box-shadow 0.5s var(--ease);
}
.offer::before { content: ""; position: absolute; right: -120px; top: -140px; width: 420px; height: 360px; background: radial-gradient(closest-side, rgba(255, 210, 87, 0.16), transparent); pointer-events: none; }
.offer:hover { transform: translateY(-6px); border-color: rgba(255, 210, 87, 0.6); box-shadow: 0 30px 60px -36px rgba(255, 210, 87, 0.5); }
.offer > * { position: relative; }
.offer header { display: flex; flex-direction: column; gap: 10px; }
.offer-kind { margin: 0; color: var(--dim); }
.offer h2 { font: 400 clamp(26px, 2.6vw, 38px)/1 var(--sans); letter-spacing: -0.035em; }
.price { display: flex; align-items: baseline; gap: 14px; margin: clamp(20px, 4vh, 40px) 0 6px; }
.price b { font: 300 clamp(60px, 7.4vw, 112px)/0.86 var(--sans); letter-spacing: -0.06em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price .mono { color: var(--dim); white-space: nowrap; }
.offer-text { margin: 14px 0 0; font-size: clamp(16px, 1.3vw, 19px); letter-spacing: -0.015em; color: var(--text); }
.perks { list-style: none; margin: 22px 0 28px; padding: 0; flex: 1; }
.perks li { position: relative; padding: 13px 0 13px 26px; border-top: 1px solid var(--line); color: #b5b6b1; font-size: 15px; }
.perks li::before { content: ""; position: absolute; left: 3px; top: 21px; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }
.perks em { color: var(--text); font-size: 1.12em; }
.buy {
  appearance: none; width: 100%; height: 54px; border-radius: 999px; border: 1px solid var(--gold); background: var(--gold); color: var(--gold-ink);
  font: 500 16px var(--sans); letter-spacing: -0.01em; cursor: pointer;
}
a.buy { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.buy:disabled { cursor: not-allowed; background: rgba(255, 210, 87, 0.06); border: 1px dashed rgba(255, 210, 87, 0.45); color: var(--gold); font: 500 12px var(--mono); letter-spacing: 0.18em; text-transform: uppercase; }

/* The Season Pass: quiet gold. */
.offer-pass { border-color: rgba(255, 210, 87, 0.3); }
.offer-pass .price b { color: var(--text); }

/* The VIP: fuller gold, and a soft light that crosses the card. */
.offer-vip { border-color: rgba(255, 210, 87, 0.55); background: linear-gradient(160deg, rgba(255, 210, 87, 0.17), rgba(255, 210, 87, 0.04) 46%, rgba(255, 255, 255, 0.015)); }
.offer-vip::before { background: radial-gradient(closest-side, rgba(255, 210, 87, 0.3), transparent); }
.offer-vip::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 46%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 236, 170, 0.11) 45%, rgba(255, 255, 255, 0.16) 50%, rgba(255, 236, 170, 0.11) 55%, transparent);
  transform: translateX(-130%) skewX(-12deg); animation: sheen 6.5s var(--ease) infinite;
}
@keyframes sheen { 0%, 12% { transform: translateX(-130%) skewX(-12deg); } 58%, 100% { transform: translateX(340%) skewX(-12deg); } }
.offer-vip h2, .offer-vip .price b { color: var(--gold); }
.offer-vip .offer-kind { color: var(--gold); }

/* ---------- the ten pieces ---------- */
.pieces-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; margin-bottom: 22px; }
.go { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 500; transition: border-color 0.3s, color 0.3s; }
.go i { font-style: normal; transition: transform 0.4s var(--ease); }
.go:hover { border-color: var(--gold); color: var(--gold); }
.go:hover i { transform: translateX(4px); }
.piece-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.piece-list[hidden] { display: none; }
.piece {
  display: flex; flex-direction: column; justify-content: space-between; gap: 22px; min-height: 128px; padding: 14px 14px 16px; border-radius: 14px;
  border: 1px solid rgba(255, 210, 87, 0.4); background: linear-gradient(165deg, rgba(255, 210, 87, 0.14), rgba(255, 210, 87, 0.03) 60%);
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.6s var(--ease) calc(var(--i, 0) * 45ms), transform 0.7s var(--ease) calc(var(--i, 0) * 45ms), border-color 0.3s;
}
.piece-list.in .piece { opacity: 1; transform: none; }
.piece:hover { border-color: var(--gold); }
.piece-tier { color: var(--gold); }
.piece-name { font: 500 16px/1.2 var(--sans); letter-spacing: -0.015em; color: #fff3cf; }
.empty { border: 1px dashed var(--line-2); border-radius: 14px; }

/* ---------- the rule ---------- */
.rule { border-top: 1px solid var(--line); padding-top: clamp(32px, 6vh, 64px); }
.rule h2 { font-size: clamp(32px, 4.6vw, 68px); max-width: 16em; line-height: 0.98; }
.rule h2 em { color: var(--accent); }
.rule-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 48px; margin-top: clamp(24px, 4vh, 44px); max-width: 920px; }
.rule-cols p { margin: 0; padding-top: 16px; border-top: 1px solid var(--line-2); color: #b5b6b1; }
.rule-cols b { display: block; margin-bottom: 6px; font: 500 11px/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); }
.legal { margin: 0; color: var(--dim); font-size: 10px; line-height: 1.7; }

@media (max-width: 1000px) { .piece-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .offers { grid-template-columns: 1fr; }
  .rule-cols { grid-template-columns: 1fr; }
  .piece-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .piece { min-height: 108px; }
}
@media (prefers-reduced-motion: reduce) {
  .offer, .piece, .go i { transition: none; }
  .offer:hover { transform: none; }
  .offer-vip::after { animation: none; display: none; }
  .piece { opacity: 1; transform: none; }
}

/* The pieces of the pass, pictured. */
.piece.pictured { padding: 0; gap: 0; overflow: hidden; min-height: 0; }
.piece.pictured .piece-shot { display: block; width: 100%; aspect-ratio: 5 / 6; object-fit: cover; object-position: 50% 40%; background: #111218; }
.piece.pictured .piece-tier { position: absolute; margin: 10px 0 0 12px; z-index: 1; }
.piece.pictured { position: relative; }
.piece.pictured .piece-name { font-size: 12.5px; font-weight: 400; color: #d9c98f; padding: 9px 12px 11px; }
.piece.pictured:hover .piece-shot { filter: brightness(1.12); }

/* Names in the colours a VIP can take. */
.vip-names { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 18px 0 4px; }
.vip-name { font: 600 15px/1.3 var(--sans); letter-spacing: -0.01em; background: linear-gradient(90deg, var(--a), var(--b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vip-name.moving { background-image: linear-gradient(90deg, var(--a), var(--b), var(--a)); background-size: 200% 100%; animation: vip-run 3.2s linear infinite; }
@keyframes vip-run { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .vip-name.moving { animation: none; } }

/* The ten pieces, small, in the box of the Season Pass. */
.pass-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 18px 0 6px; }
.pass-thumb { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 35%; border-radius: 10px; border: 1px solid rgba(255, 210, 87, 0.3); background: #111218; transition: transform 0.3s var(--ease), border-color 0.3s; }
.pass-thumb:hover { transform: translateY(-2px) scale(1.04); border-color: var(--gold); }
@media (prefers-reduced-motion: reduce) { .pass-thumb { transition: none; } .pass-thumb:hover { transform: none; } }

/* The colours of the name: the heart of the VIP box, right under its headline. */
.vip-show { margin: 20px 0 6px; padding: 18px 20px 16px; border-radius: 16px; border: 1px solid rgba(255, 210, 87, 0.32); background: rgba(8, 9, 11, 0.55); }
.vip-show-label { color: var(--gold); margin: 0 0 12px; }
.vip-show .vip-names { margin: 0; gap: 8px 20px; }
.vip-show .vip-name { font-size: clamp(19px, 1.7vw, 24px); font-weight: 600; }
.vip-show-note { margin: 12px 0 0; font-size: 13px; color: var(--dim); }

.shop-legal { color: var(--dim); text-transform: none; letter-spacing: 0.04em; margin: -40px auto clamp(48px, 9vh, 96px); max-width: 760px; text-align: center; line-height: 1.8; }
.shop-legal a { color: var(--text); border-bottom: 1px solid var(--line-2); }

/* ---------- one by one ---------- */
.unit-lead { color: #b5b6b1; margin: -8px 0 22px; }
.unit-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.unit-tab { appearance: none; cursor: pointer; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--dim); font: 500 14px var(--sans); transition: color 0.2s, border-color 0.2s, background 0.2s; }
.unit-tab .mono { color: inherit; opacity: 0.6; letter-spacing: 0.04em; }
.unit-tab:hover { color: var(--text); border-color: rgba(255, 210, 87, 0.5); }
.unit-tab[aria-selected="true"] { color: var(--gold-ink); background: var(--gold); border-color: var(--gold); }
.unit-skin { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 14px; }
.unit-skin-label { color: #b5b6b1; font-size: 14px; }
.unit-skin-field { display: inline-flex; align-items: center; gap: 8px; padding: 4px 6px 4px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); transition: border-color 0.2s; }
.unit-skin-field:focus-within { border-color: var(--gold); }
.unit-skin-field img { width: 24px; height: 24px; border-radius: 5px; image-rendering: pixelated; }
.unit-skin-field input { width: 150px; padding: 6px 0; border: 0; outline: 0; background: transparent; color: var(--text); font: 500 14px var(--sans); }
.unit-skin-field input::placeholder { color: var(--dim); }
.unit-skin-field button { appearance: none; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.06); color: var(--text); font: 300 18px/1 var(--sans); cursor: pointer; }
.unit-skin-field button:hover { color: var(--gold); }
.unit-view { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: -4px 0 16px; }
.unit-view-label { color: var(--dim); margin-right: 6px; }
.unit-view-gap { width: 10px; }
.unit-view button { appearance: none; cursor: pointer; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); color: var(--text); font: 500 13px var(--sans); transition: border-color 0.2s, background 0.2s, color 0.2s; }
.unit-view button:hover { border-color: rgba(255, 210, 87, 0.5); }
.unit-view button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.unit-engine { position: fixed; left: -10px; top: -10px; width: 1px; height: 1px; border: 0; opacity: 0; pointer-events: none; }
.unit-live { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.unit-look.live .unit-live { display: block; }
.unit-look.live .unit-shot { visibility: hidden; }
.unit-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.unit-item { display: flex; flex-direction: column; gap: 10px; padding: 8px 8px 12px; border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)); transition: border-color 0.3s; animation: unit-in 0.6s var(--ease) both; animation-delay: calc(var(--i, 0) * 25ms); }
@keyframes unit-in { from { opacity: 0; transform: translateY(10px); } }
.unit-item:hover { border-color: rgba(255, 210, 87, 0.5); }
.unit-look { appearance: none; position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 11px; overflow: hidden; background: #111218; cursor: zoom-in; aspect-ratio: 170 / 200; }
.unit-shot { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease), filter 0.3s; }
.unit-look:hover .unit-shot { transform: scale(1.05); filter: brightness(1.12); }
.unit-zoom { position: absolute; right: 8px; top: 8px; padding: 4px 7px; border-radius: 999px; background: rgba(8, 9, 11, 0.6); color: var(--gold); opacity: 0; transition: opacity 0.3s; }
.unit-look:hover .unit-zoom, .unit-look:focus-visible .unit-zoom { opacity: 1; }
.unit-name { font: 500 14.5px/1.25 var(--sans); letter-spacing: -0.015em; padding: 0 4px; }
.unit-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 4px; margin-top: auto; }
.unit-price { font: 400 19px var(--sans); letter-spacing: -0.03em; color: var(--gold); white-space: nowrap; }
.unit-buy { padding: 7px 14px; border-radius: 999px; background: var(--gold); color: var(--gold-ink); font: 500 13px var(--sans); white-space: nowrap; }
.unit-buy.off { background: transparent; border: 1px dashed rgba(255, 210, 87, 0.45); color: var(--gold); font: 500 10px var(--mono); letter-spacing: 0.16em; text-transform: uppercase; }
@media (max-width: 1100px) { .unit-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 860px) { .unit-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .unit-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* The large view, grown out of a picture. */
html.staged { overflow: hidden; }
.stage { position: fixed; inset: 0; z-index: 100; }
.stage-veil { position: absolute; inset: 0; background: rgba(4, 5, 7, 0.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.45s var(--ease); }
.stage.on .stage-veil { opacity: 1; }
.stage-card { position: absolute; overflow: hidden; border-radius: 12px; background: #111218; border: 1px solid rgba(255, 210, 87, 0.25); box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.9);
  transition: left 0.5s var(--ease), top 0.5s var(--ease), width 0.5s var(--ease), height 0.5s var(--ease), border-radius 0.5s var(--ease); }
.stage.on .stage-card { border-radius: 22px; }
.stage-pic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity 0.4s; }
.stage-3d { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity 0.5s; }
.stage-card.live .stage-3d { opacity: 1; }
.stage-card.live .stage-pic { opacity: 0; }
.stage-head { position: absolute; left: 0; right: 0; top: 0; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 18px 20px; opacity: 0; transition: opacity 0.3s 0.25s; pointer-events: none; }
.stage.on .stage-head { opacity: 1; pointer-events: auto; }
.stage-title { display: flex; flex-direction: column; gap: 6px; }
.stage-kind { color: var(--gold); }
.stage-title b { font: 400 clamp(22px, 2.6vw, 34px)/1 var(--sans); letter-spacing: -0.03em; }
.stage-side { display: flex; align-items: center; gap: 12px; }
.stage-close { appearance: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(8, 9, 11, 0.6); color: var(--text); font: 300 24px/1 var(--sans); cursor: pointer; }
.stage-close:hover { border-color: var(--gold); color: var(--gold); }
@media (max-width: 560px) { .stage-head { flex-direction: column; } }
@media (prefers-reduced-motion: reduce) { .stage-card, .stage-veil, .unit-shot { transition: none; } .unit-item { animation: none; } }
