:root {
  --bg: #09070d;
  --bg2: #121218;
  --card: #16161e;
  --line: #262633;
  --text: #ecebf3;
  --muted: #aaa5b8;
  --acid: #c1a0ff;
  --pink: #b957ff;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background-image: radial-gradient(900px 400px at 85% -10%, rgba(255,46,147,.14), transparent 60%),
                    radial-gradient(800px 400px at -10% 0%, rgba(182,255,0,.10), transparent 60%);
  background-attachment: fixed;
}
a { color: var(--acid); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Header */
header.site { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(12px); background: rgba(10,10,13,.82); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; gap: 22px; height: 64px; }
.logo { font-weight: 900; letter-spacing: .08em; font-size: 1.15rem; color: var(--text); }
.logo b { color: var(--acid); }
.logo:hover { text-decoration: none; }
nav.main { display: flex; gap: 6px; flex: 1; flex-wrap: wrap; }
nav.main a { color: var(--muted); padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: .95rem; }
nav.main a:hover, nav.main a.active { color: var(--text); background: var(--bg2); text-decoration: none; }
.hdr-right { display: flex; align-items: center; gap: 10px; }
.cart-link { position: relative; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); font-weight: 600; }
.cart-link:hover { text-decoration: none; border-color: var(--acid); }
.badge { background: var(--pink); color: #fff; border-radius: 999px; font-size: .72rem; padding: 1px 7px; margin-left: 6px; }
.menu-btn { display: none; }
@media (max-width: 780px) {
  header.site .wrap { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; }
  nav.main { order: 3; width: 100%; }
}

/* Buttons & forms */
.btn { display: inline-block; cursor: pointer; border: 0; border-radius: 10px; padding: 11px 18px; font-weight: 800; font-size: .95rem; background: var(--acid); color: #0a0a0d; transition: transform .08s, filter .15s; }
.btn:hover { filter: brightness(1.08); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn.alt { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn.alt:hover { border-color: var(--acid); }
.btn.pink { background: var(--pink); color: #fff; }
.btn.discord { background: #5865f2; color: #fff; }
.btn.sm { padding: 6px 12px; font-size: .85rem; }
.btn.danger { background: #3a1018; color: #ff6b81; border: 1px solid #5a1a26; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
input, textarea, select {
  width: 100%; padding: 11px 13px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg2); color: var(--text); font: inherit;
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--acid); outline-offset: 0; border-color: transparent; }
label { display: block; font-size: .85rem; color: var(--muted); margin: 12px 0 5px; font-weight: 600; }
textarea { min-height: 120px; resize: vertical; }

/* Layout bits */
main { padding: 36px 0 70px; min-height: 60vh; }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.1; margin: 0 0 8px; }
h2 { font-size: 1.4rem; margin: 0 0 14px; }
.lead { color: var(--muted); font-size: 1.1rem; max-width: 640px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.muted { color: var(--muted); }
.err { color: #ff6b81; margin-top: 10px; min-height: 1.2em; }
.ok { color: var(--acid); }
.pill { display: inline-block; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.pill.acid { color: var(--acid); border-color: rgba(182,255,0,.4); }

/* Hero */
.hero { padding: 56px 0 30px; }
.hero h1 { font-size: clamp(2.4rem, 7vw, 4.6rem); font-weight: 900; letter-spacing: -.02em; }
.hero h1 span { color: var(--acid); }
.hero h1 em { font-style: normal; color: var(--pink); }
.features { margin-top: 40px; }
.feature h3 { margin: 6px 0 6px; }

/* Product cards */
.product { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.product .cover { aspect-ratio: 1/1; background: linear-gradient(135deg, #1b1b27, #2a1030); display: grid; place-items: center; font-size: 2.6rem; color: var(--pink); }
.product .cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product .body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product h3 { margin: 0; font-size: 1.05rem; }
.product p { margin: 0; color: var(--muted); font-size: .9rem; flex: 1; }
.price { font-weight: 900; font-size: 1.15rem; color: var(--acid); }

/* Cart */
.cart-item { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item:last-child { border-bottom: 0; }
.cart-item .t { flex: 1; font-weight: 700; }
.cart-grid { display: grid; gap: 22px; grid-template-columns: 1.5fr 1fr; align-items: start; }
@media (max-width: 820px) { .cart-grid { grid-template-columns: 1fr; } }
.pay-methods { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.pay-methods span { font-size: .72rem; font-weight: 700; padding: 4px 9px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); background: var(--bg2); }
.method-pick { display: grid; gap: 8px; margin-top: 10px; }
.method-pick label { display: flex; align-items: center; gap: 10px; margin: 0; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; color: var(--text); font-size: .95rem; }
.method-pick input { width: auto; }
.method-pick label:has(input:checked) { border-color: var(--acid); background: rgba(182,255,0,.06); }
.total { display: flex; justify-content: space-between; font-size: 1.2rem; font-weight: 900; margin: 14px 0; }

/* Forum */
.thread-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.thread-row:last-child { border-bottom: 0; }
.thread-row a.title { font-weight: 700; color: var(--text); }
.post { padding: 16px 0; border-bottom: 1px solid var(--line); }
.post .meta { font-size: .85rem; color: var(--muted); margin-bottom: 6px; }
.post .body { white-space: pre-wrap; word-wrap: break-word; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0; }
.tabs button { background: var(--bg2); color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; cursor: pointer; font-weight: 600; }
.tabs button.on { color: #0a0a0d; background: var(--acid); border-color: var(--acid); }

/* Admin */
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
.table-scroll { overflow-x: auto; }
.two { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .two { grid-template-columns: 1fr; } }

/* Chat widget */
#chat-fab { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer; background: var(--pink); color: #fff; font-size: 1.5rem; box-shadow: 0 8px 30px rgba(255,46,147,.45); }
#chat-box { position: fixed; right: 20px; bottom: 90px; z-index: 90; width: min(380px, calc(100vw - 40px)); height: min(540px, 70vh); display: none; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
#chat-box.open { display: flex; }
#chat-box header { padding: 14px 16px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; font-weight: 800; }
#chat-box header button { background: none; border: 0; color: var(--muted); font-size: 1.3rem; cursor: pointer; }
#chat-msgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 86%; padding: 9px 12px; border-radius: 12px; font-size: .93rem; white-space: pre-wrap; word-wrap: break-word; }
.msg.bot { background: var(--bg2); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.me { background: var(--acid); color: #0a0a0d; align-self: flex-end; border-bottom-right-radius: 4px; }
#chat-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); }
#chat-form input { flex: 1; }
.chat-discord { padding: 0 14px 10px; }
.chat-discord a { display: block; text-align: center; }

footer.site { border-top: 1px solid var(--line); padding: 26px 0; color: var(--muted); font-size: .9rem; }
footer.site .wrap { display: flex; gap: 18px; flex-wrap: wrap; justify-content: space-between; }
.empty { text-align: center; padding: 40px 10px; color: var(--muted); }

/* TSS visual identity */
body {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  background-image:
    radial-gradient(ellipse at 78% 8%, rgba(104, 40, 151, .14), transparent 58%),
    radial-gradient(ellipse at 12% 75%, rgba(69, 31, 106, .08), transparent 48%);
  background-attachment: scroll;
}
/* A single decorative layer reuses the original brand asset across the site. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url('/assets/tss-logo.png');
  background-repeat: no-repeat;
  background-size: min(1420px, 112vw) auto;
  background-position: center clamp(120px, 18vh, 220px);
  mix-blend-mode: screen;
  opacity: .14;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 72%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 72%, transparent);
}
@media (max-width: 780px) {
  body::before {
    background-size: 150vw auto;
    background-position: center 145px;
    opacity: .10;
  }
}
@media (prefers-contrast: more) { body::before { opacity: .04; } }
@media (forced-colors: active), print { body::before { display: none; } }
.wrap { max-width: 1280px; padding-inline: 28px; }
main.wrap { padding-top: 42px; padding-bottom: 90px; }
header.site .wrap { height: 82px; gap: 24px; }
.logo { display:flex; align-items:center; gap:10px; font-size:.78rem; line-height:1.25; letter-spacing:.06em; flex-shrink:0; }
.brand-image { width:88px; height:50px; object-fit:contain; }
.brand-name { max-width:100px; }
nav.main { justify-content:center; }
nav.main a.active { color:var(--acid); background:#c1a0ff10; }
.hdr-right { flex-wrap:wrap; }
.hdr-right .muted { max-width:110px; overflow:hidden; text-overflow:ellipsis; }
.btn { border-radius:6px; padding:13px 20px; }
.btn.sm { padding:8px 12px; }
a, button, input, select, textarea { -webkit-tap-highlight-color:transparent; }
:focus-visible { outline:2px solid var(--acid); outline-offset:5px; }
.skip-link { position:fixed; top:8px; left:12px; z-index:110; padding:12px; background:var(--acid); color:var(--bg); transform:translateY(-160%); }
.skip-link:focus { transform:translateY(0); }
.eyebrow { font-size:.7rem; font-weight:700; letter-spacing:.18em; color:var(--acid); margin:0 0 24px; }
.hero-station { display:grid; grid-template-columns:1.05fr 1fr; gap:18px; align-items:center; padding:50px 0 80px; }
.hero h1 { font-size:clamp(2.7rem,5.2vw,4.5rem); line-height:1.02; letter-spacing:-.055em; }
.hero h1 em { color:var(--acid); }
.hero .lead { font-size:1.05rem; max-width:490px; margin:25px 0; }
.hero-actions { gap:12px; }
.hero-note { margin-top:32px; font-size:.58rem; letter-spacing:.12em; color:var(--muted); }
.hero-note span { padding:0 8px; color:var(--pink); }
.hero-art { margin:0; min-width:0; position:relative; }
.hero-art img { display:block; width:100%; height:auto; mix-blend-mode:screen; }
.hero-art figcaption { display:flex; justify-content:space-between; gap:10px; border-top:1px solid var(--line); padding-top:15px; font-size:.57rem; letter-spacing:.16em; color:var(--muted); }
.catalog-section { border-top:1px solid var(--line); padding-top:38px; }
.section-heading { display:flex; justify-content:space-between; gap:20px; align-items:end; margin-bottom:25px; }
.section-heading .eyebrow { margin-bottom:12px; }
h2 { font-size:clamp(1.5rem,2.6vw,2.1rem); letter-spacing:-.035em; line-height:1.2; }
.text-link { font-size:.9rem; font-weight:600; }
.empty { grid-column:1/-1; border:1px dashed var(--line); border-radius:8px; padding:44px 24px; }
.empty h2 { font-size:1.3rem; color:var(--text); }
.workflow { display:grid; grid-template-columns:1fr 1.2fr; gap:70px; padding:80px 0; }
.steps { list-style:none; padding:0; margin:0; }
.steps li { display:flex; gap:24px; padding:18px 0; border-bottom:1px solid var(--line); }
.steps li:first-child { padding-top:0; }
.steps li>span { color:var(--acid); font-size:.8rem; padding-top:4px; }
.steps h3 { margin:0 0 7px; font-size:1.05rem; }
.steps p { margin:0; color:var(--muted); font-size:.95rem; }
.community-banner { border:1px solid #68418b; padding:38px; background:linear-gradient(120deg,#23132f,#100c16); border-radius:10px; }
.community-banner .eyebrow { margin-bottom:16px; }
.community-banner h2 { max-width:650px; }
.community-banner .row { margin-top:24px; gap:24px; }
.page-intro { padding:30px 0; }
.shop-filters { display:grid; grid-template-columns:2fr 1fr 1fr; gap:18px; padding:20px; background:var(--bg2); border:1px solid var(--line); border-radius:8px; }
.shop-filters label { margin-top:0; }
.product { transition:border-color .2s, transform .2s; }
.product:hover { border-color:#8054a7; transform:translateY(-3px); }
.product .cover { background:radial-gradient(ellipse at center,#46235e,#14101d); color:var(--acid); }
.product .body { padding:22px; gap:12px; }
#chat-fab { background:#7037a8; box-shadow:0 8px 30px #9b4aff30; }
#chat-form input { min-width:0; }
footer.site { padding:30px 0 95px; }
@media (max-width:1000px) { .brand-name {display:none;} header.site .wrap {gap:10px;} nav.main a {padding:8px;} }
@media (max-width:780px) {
  header.site .wrap { height:auto; justify-content:space-between; padding-block:10px; }
  nav.main { order:3; width:100%; flex-basis:100%; justify-content:flex-start; }
  .wrap { padding-inline:20px; }
  .hero-station { grid-template-columns:1fr; padding:20px 0 45px; gap:28px; }
  .hero-art { max-width:540px; width:100%; justify-self:center; }
  .hero h1 { font-size:clamp(2.6rem,9vw,4.5rem); }
  .workflow { grid-template-columns:1fr; gap:28px; padding:50px 0; }
  .shop-filters { grid-template-columns:1fr 1fr; }
  .shop-filters>div:first-child {grid-column:1/-1;}
  .section-heading {align-items:start; flex-direction:column;}
  .community-banner {padding:25px;}
}
@media (max-width:420px) { .hdr-right {gap:6px;} .hdr-right .muted {display:none;} .brand-image {width:62px;} .shop-filters {grid-template-columns:1fr;} .grid {grid-template-columns:minmax(0,1fr);} .hero-note {line-height:2;} }
@media (prefers-reduced-motion:reduce) { html {scroll-behavior:auto;} *, *::before, *::after {transition:none!important; animation:none!important;} }

/* Daily drop and station control */
.accent {color:var(--acid);font-style:normal;}
.small {font-size:.82rem;}
.auth-card {max-width:540px;margin:30px auto;}
.daily-drop-banner {display:flex;gap:28px;align-items:center;padding:30px;margin-top:50px;border:1px solid #74449a;border-radius:12px;color:var(--text);background:linear-gradient(115deg,#34144c,#14101c);transition:border-color .2s,transform .2s;}
.daily-drop-banner:hover {text-decoration:none;border-color:var(--acid);transform:translateY(-3px);}
.daily-drop-banner .eyebrow {margin:0 0 10px;}.daily-drop-banner h2{margin:0 0 10px;}.daily-drop-banner p{margin:0;color:var(--muted);}.drop-symbol{font-size:4rem;color:var(--acid);}.drop-arrow{margin-left:auto;font-size:2rem;}
.spin-layout {display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center;padding:30px 0 65px;}
.spin-copy h1 {font-size:clamp(2.8rem,5.4vw,4.8rem);letter-spacing:-.06em;}
.spin-facts {display:flex;flex-wrap:wrap;gap:10px;margin:25px 0;}.spin-facts span{font-size:.72rem;border:1px solid var(--line);padding:6px 10px;border-radius:5px;}
.spin-controls {display:flex;flex-wrap:wrap;gap:12px;}.spin-result{min-height:80px;padding:14px 0;}.spin-result strong{font-size:1.2rem;}.spin-result.won{color:var(--acid);}
.wheel-stage {position:relative;aspect-ratio:1;width:100%;max-width:500px;justify-self:center;display:grid;place-items:center;isolation:isolate;}
.wheel-stage::before {content:'';position:absolute;inset:5%;background:#a94fff28;border-radius:50%;filter:blur(30px);z-index:-1;}
.wheel-orbit {position:absolute;inset:0;border:1px solid #8e5aae50;border-radius:50%;}.wheel-orbit::before,.wheel-orbit::after{content:'✦';position:absolute;left:48%;top:-15px;font-size:20px;color:var(--acid);}.wheel-orbit::after{top:auto;bottom:-15px;}
.lucky-wheel {position:absolute;inset:5%;border-radius:50%;border:8px solid #291a39;outline:1px solid #b88bda;box-shadow:inset 0 0 0 2px #b282db80,0 0 40px #9b4aff24;background:repeating-conic-gradient(from -22.5deg,#5e2c83 0deg 44deg,#c9a3ff 44deg 45deg,#271332 45deg 89deg,#c9a3ff 89deg 90deg);transition:transform 2.6s cubic-bezier(.12,.75,.15,1);}
.wheel-markers {position:absolute;inset:8%;border:1px dashed #c29be188;border-radius:50%;}.wheel-markers span{position:absolute;color:#e2c4ff;font-size:26px;}.wheel-markers span:nth-child(1){top:0;left:47%;}.wheel-markers span:nth-child(2){right:0;top:45%;}.wheel-markers span:nth-child(3){bottom:0;left:47%;}.wheel-markers span:nth-child(4){left:0;top:45%;}
.wheel-center {width:45%;height:45%;z-index:2;border-radius:50%;background:radial-gradient(circle,#24132e,#0b080f);box-shadow:0 0 0 8px #0c0814,0 0 0 9px #9870b4;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;}.wheel-center span{font-size:clamp(.35rem,.65vw,.5rem);letter-spacing:.15em;color:var(--acid);}.wheel-center strong{font-size:clamp(1.4rem,3.8vw,3.2rem);line-height:.95;letter-spacing:-.05em;}
.wheel-pointer {position:absolute;top:1%;left:calc(50% - 12px);z-index:3;width:0;height:0;border-left:12px solid transparent;border-right:12px solid transparent;border-top:30px solid #e3cbff;filter:drop-shadow(0 2px 7px #c69cfa);}
.prize-cover{width:100%;aspect-ratio:1.5;object-fit:cover;border-radius:6px;margin-bottom:16px;}.prize-icon{font-size:2.6rem;color:var(--acid);margin-bottom:16px;}.prize-card h3{margin-bottom:12px;}.chance{font-size:1.6rem;font-weight:900;}.pill.rare{color:#f9ce70;border-color:#f9ce7066;background:#f9ce7009;}
.winners-section{padding:60px 0 30px;}.winner-row{display:flex;gap:20px;align-items:center;padding:18px 0;border-bottom:1px solid var(--line);}.winner-row p{margin:4px 0 0;}.winner-star{font-size:1.8rem;color:var(--acid);}.winner-row time{margin-left:auto;color:var(--muted);font-size:.8rem;}.winner-row strong{overflow-wrap:anywhere;}.spin-rules{padding:22px;border:1px solid var(--line);border-radius:8px;color:var(--muted);}.spin-rules summary{cursor:pointer;color:var(--text);font-weight:700;}
.admin-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:28px 0;}.stat{padding:20px;border:1px solid var(--line);border-radius:8px;display:flex;flex-direction:column;}.stat strong{font-size:2rem;color:var(--acid);}.stat span{color:var(--muted);font-size:.85rem;}#prize-body{margin-top:20px;}.prize-card{min-width:0;}#p-spin table{margin-top:30px;}
@media(max-width:1000px){.spin-layout{gap:25px;}nav.main a{font-size:.83rem;padding:7px;}}
@media(max-width:780px){.spin-layout{grid-template-columns:1fr;}.wheel-stage{max-width:400px;grid-row:2;}.wheel-center strong{font-size:2.4rem;}.wheel-center span{font-size:.42rem;}.daily-drop-banner{padding:22px;gap:15px;}.drop-symbol{font-size:2.6rem;}.daily-drop-banner h2{font-size:1.3rem;}.winner-row{gap:12px;flex-wrap:wrap;}.winner-row time{margin-left:42px;}.admin-stats{grid-template-columns:1fr 1fr;}}

/* A winning pack banks left, then lands in front of the viewer. */
.discount-form { margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.discount-entry { display: flex; gap: 8px; }
.discount-entry input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .04em; }
.discount-entry button { white-space: nowrap; }
.discount-form #discount-remove { margin-top: 10px; }
.cart-summary-row { display: flex; justify-content: space-between; gap: 12px; margin: 8px 0; font-size: .9rem; color: var(--muted); }
.discount-row { color: var(--acid); }
.discount-row[hidden],#discount-remove[hidden] { display: none; }
.discount-toggle { display: flex; align-items: center; gap: 8px; margin: 0; }
.discount-toggle input { width: auto; }
#discount-body input[type=number] { width: 95px; }
#discount-form+.table-scroll { margin-top: 24px; }

/* Winning pack reveal */
html.win-reveal-open { overflow: hidden; }
.prize-reveal:not([open]) { display: none; }
.prize-reveal {
  position: fixed; inset: 0; z-index: 1000;
  width: 100vw; max-width: none; height: 100vh; height: 100dvh; max-height: none;
  margin: 0; padding: 20px; border: 0; color: var(--text);
  overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
  background: radial-gradient(ellipse at 50% 42%, #48216a80, transparent 60%), rgba(6,4,11,.97);
}
.prize-reveal::backdrop { background: rgba(0,0,0,.7); backdrop-filter: blur(10px); }
.prize-reveal-scene { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; width: min(100%,880px); min-height: 100%; margin: auto; padding: 30px 0; text-align: center; }
.prize-reveal-close { position: absolute; right: 0; top: 0; z-index: 5; width: 44px; height: 44px; border: 1px solid #9870b466; border-radius: 50%; background: #16101f; color: var(--text); font-size: 1.8rem; cursor: pointer; }
.prize-reveal-kicker { position: relative; z-index: 2; margin: 0; padding: 8px 14px; border: 1px solid #c1a0ff55; border-radius: 999px; color: #d7bcff; background: #120c20; font-size: .68rem; font-weight: 800; letter-spacing: .14em; }
.prize-reveal-demo .prize-reveal-kicker { color: #ffda91; border-color: #ffda9155; }
.prize-reveal-stage { position: relative; display: grid; place-items: center; width: 100%; height: clamp(260px,44vh,410px); perspective: 1000px; }
.prize-flight { position: relative; z-index: 2; width: clamp(190px,28vw,285px); aspect-ratio: .78; transform-style: preserve-3d; animation: prize-fly-in 2.35s cubic-bezier(.2,.7,.22,1) both; }
.prize-pack { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateY(-12deg) rotateX(4deg); }
.prize-pack-front { position: absolute; inset: 0; overflow: hidden; border: 1px solid #d9b4ff; border-radius: 5px; background: #0a0710; transform: translateZ(18px); box-shadow: 0 0 35px #b15aff3d, inset 0 0 0 4px #ffffff08; backface-visibility: hidden; }
.prize-pack-front img { display: block; width: 100%; height: 62%; object-fit: cover; background: #050307; }
.prize-pack-front img.prize-brand-cover { object-fit: contain; }
.prize-pack-label { position: absolute; inset: 53% 0 0; display: flex; flex-direction: column; justify-content: end; gap: 10px; padding: 24px 16px 18px; background: linear-gradient(transparent,#120a1c 28%); text-align: left; }
.prize-pack-label strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; color: #f4eaff; font-size: clamp(1.1rem,2.2vw,1.6rem); font-weight: 900; line-height: 1.05; letter-spacing: -.035em; }
.prize-pack-label>span:last-child { color: #bba2d0; font-size: .44rem; letter-spacing: .13em; }
.prize-pack-badge { align-self: start; color: #e2c5ff; font-size: .5rem; font-weight: 900; letter-spacing: .12em; border: 1px solid #aa6dd678; padding: 4px 6px; border-radius: 3px; }
.prize-pack-spine { position: absolute; top: 0; bottom: 0; left: -18px; width: 36px; display: grid; place-items: center; border: 1px solid #8553b7; background: linear-gradient(90deg,#261135,#713aa1,#301744); transform: rotateY(-90deg); }
.prize-pack-spine span { writing-mode: vertical-rl; text-orientation: mixed; color: #ecdcff; font-size: .55rem; font-weight: 900; letter-spacing: .17em; transform: rotate(180deg); }
.prize-pack-top { position: absolute; left: 0; right: 0; top: -18px; height: 36px; border: 1px solid #aa71d0; background: linear-gradient(#3b1c56,#8b54b4); transform: rotateX(90deg); }
.prize-flight-trail { position: absolute; left: 98%; top: 43%; width: 260px; height: 36px; transform: translateZ(-20px); background: linear-gradient(90deg,#d8afff88,transparent); clip-path: polygon(0 15%,100% 0,75% 35%,100% 50%,65% 70%,100% 100%,0 85%); filter: blur(2px); animation: prize-trail 2.35s ease both; }
.prize-landing-ring { position: absolute; top: 78%; left: 50%; width: min(380px,80vw); height: 65px; border: 1px solid #c79aff88; border-radius: 50%; background: radial-gradient(ellipse,#b57aff22,transparent 66%); box-shadow: 0 0 35px #a54eff33; animation: prize-land 1s 1.7s ease-out both; }
.prize-sparks { position: absolute; inset: 0; pointer-events: none; }
.prize-spark { position: absolute; left: 50%; top: 48%; color: #e2bbff; font-size: 1.3rem; animation: prize-spark 1.4s calc(1.95s + var(--spark-delay)) ease-out both; }
.prize-reveal-copy { position: relative; z-index: 3; max-width: 620px; animation: prize-copy-in .6s 1.85s ease both; }
.prize-reveal-copy:focus-within { animation: none; opacity: 1; transform: none; }
.prize-reveal-copy .eyebrow { margin: 0 0 12px; font-size: .6rem; }
.prize-reveal-copy h2 { margin: 0 0 12px; font-size: clamp(1.65rem,4vw,2.7rem); overflow-wrap: anywhere; }
.prize-reveal-copy>p:not(.eyebrow) { margin: 0 auto 22px; max-width: 510px; color: #c2b4d1; font-size: .95rem; }
.prize-reveal-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
@keyframes prize-fly-in {
  0% { opacity: 0; transform: translate3d(88vw,-18vh,-650px) rotateY(-62deg) rotateZ(14deg) scale(.18); }
  12% { opacity: 1; }
  38% { transform: translate3d(-34vw,-12vh,-300px) rotateY(-52deg) rotateZ(-15deg) scale(.5); }
  58% { transform: translate3d(-22vw,0,-120px) rotateY(36deg) rotateZ(-6deg) scale(.68); }
  80% { transform: translate3d(2vw,2vh,60px) rotateY(-8deg) rotateZ(2deg) scale(1.08); }
  100% { opacity: 1; transform: translate3d(0,0,0) rotateY(0) rotateZ(-2deg) scale(1); }
}
@keyframes prize-trail { 0%,45% { opacity: .9; } 75%,100% { opacity: 0; } }
@keyframes prize-land { from { opacity: 0; transform: translateX(-50%) scale(.35); } to { opacity: 1; transform: translateX(-50%) scale(1); } }
@keyframes prize-spark { 0% { opacity: 0; transform: translate(0,0) scale(.4); } 20% { opacity: .9; } 100% { opacity: 0; transform: translate(var(--spark-x),var(--spark-y)) scale(1); } }
@keyframes prize-copy-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media(max-width:600px) {
  .prize-reveal { padding: 14px; }
  .prize-reveal-scene { padding-top: 54px; }
  .prize-reveal-kicker { font-size: .52rem; letter-spacing: .09em; }
  .prize-reveal-stage { height: clamp(245px,39vh,320px); }
  .prize-flight { width: 170px; }
  .prize-reveal-copy>p:not(.eyebrow) { font-size: .86rem; }
  .prize-reveal-actions .btn { padding: 11px 15px; }
}
@media(prefers-reduced-motion:reduce) {
  .prize-flight { animation: none; transform: rotateZ(-2deg); }
  .prize-flight-trail,.prize-sparks { display: none; }
  .prize-landing-ring { animation: none; transform: translateX(-50%); }
  .prize-reveal-copy { animation: none; opacity: 1; transform: none; }
}

/* Keep account and team navigation visible on narrow screens. */
header.site .hdr-right { flex-wrap:wrap; min-width:0; }
header.site .hdr-right>a { max-width:100%; overflow-wrap:anywhere; }
@media (max-width:780px) { header.site .hdr-right { flex:1 1 240px; justify-content:flex-end; } }

/* Small entrance and interaction movements keep the station responsive. */
@media (prefers-reduced-motion:no-preference) {
  main .card {animation:station-arrive .42s ease-out both;}
  .hero-copy,.page-intro,.spin-copy {animation:station-arrive .55s ease-out both;}
  .hero-art {animation:station-arrive .75s ease-out both;}
  .btn {transition:transform .18s ease,border-color .18s ease,background-color .18s ease,box-shadow .18s ease;}
  .btn:hover:not(:disabled) {transform:translateY(-2px);box-shadow:0 5px 18px #a660ee20;}
  .btn:active:not(:disabled) {transform:translateY(0) scale(.98);}
  .product .cover img {transition:transform .35s ease;}
  .product:hover .cover img {transform:scale(1.035);}
  .profile-social {transition:transform .18s ease,border-color .18s ease;}
  .profile-social:hover {transform:translateY(-2px);border-color:var(--acid);}
}
@keyframes station-arrive {from {opacity:0;transform:translateY(12px);}to {opacity:1;transform:translateY(0);}}

footer.site .footer-credits {display:flex;align-items:center;gap:10px 18px;flex-wrap:wrap;}
.developer-credit {display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:.75rem;}
.developer-credit a {display:inline-flex;align-items:center;gap:6px;color:inherit;}
.developer-credit a:hover {color:var(--acid);}
.developer-credit img {width:18px;height:18px;filter:invert(1);opacity:.75;}

.arcade-teaser{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:26px 0;border-top:1px solid var(--line);margin-top:36px;}.arcade-teaser h2{margin:6px 0;}.arcade-teaser p{margin-bottom:8px;}.arcade-teaser .btn{white-space:nowrap;}

/* Catalogue feedback and a keyboard-accessible cart confirmation. */
.cart-notice{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:1100;display:flex;align-items:center;gap:16px;max-width:calc(100vw - 32px);width:max-content;padding:16px 20px;border:1px solid var(--acid);border-radius:14px;background:var(--panel,#15151d);box-shadow:0 12px 45px #0008;flex-wrap:wrap}
.cart-notice[hidden]{display:none}.cart-notice span{overflow-wrap:anywhere;flex:1}.cart-notice a{font-weight:700}.cart-notice button{border:0;background:transparent;color:inherit;font-size:24px;cursor:pointer;padding:4px 8px}.loading-label{grid-column:1/-1}.product-skeleton{overflow:hidden;min-height:290px}.skeleton-cover{height:175px;background:#ffffff0b}.skeleton-line{height:16px;margin:24px 20px;background:#ffffff10;border-radius:6px}.skeleton-line.short{width:45%;margin-top:12px}
@media(prefers-reduced-motion:no-preference){.product-skeleton{animation:catalogue-pulse 1.3s ease-in-out infinite alternate}.cart-notice{animation:notice-in .2s ease-out}@keyframes catalogue-pulse{to{opacity:.45}}@keyframes notice-in{from{opacity:0;translate:0 8px}to{opacity:1;translate:0 0}}}
