/* CASEPAD. Graphite black ground, one gold taken from the crate logo, rarity colours as the only other colour. Headings are condensed and loud on purpose. */
:root {
  --bg: #0a0a0f; --bg2: #0e0e15; --panel: #14141d; --panel2: #1b1b27; --line: #262634; --line2: #35354a;
  --text: #f4f1e8; --muted: #a09db0; --faint: #6d6a80;
  --gold: #f5b62e; --gold2: #ffd56e; --gold3: #b97c08; --ok: #4fd69a; --err: #f0616d;
  --common: #9aa3b2; --rare: #3fd47a; --super: #3fa2ff; --epic: #a45cff; --legendary: #ffc23c;
  --head: "Barlow Condensed", "Arial Narrow", Impact, sans-serif; --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Consolas, monospace;
  --rail: 208px; --r: 14px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; } html.locked { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.55 var(--body); -webkit-font-smoothing: antialiased; min-height: 100vh; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; background: radial-gradient(900px 500px at 70% -10%, #f5b62e12, transparent 60%), radial-gradient(700px 500px at 0% 30%, #a45cff0e, transparent 60%); }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: #f5b62e55; }
:focus-visible { outline: 2px solid var(--gold2); outline-offset: 2px; }
.h { font-family: var(--head); font-weight: 800; letter-spacing: .01em; text-transform: uppercase; line-height: .95; }

/* ---------- layout: the live rail on the left, the page on the right ---------- */
.rail { position: fixed; z-index: 40; left: 0; top: 0; bottom: 0; width: var(--rail); background: #0c0c12; border-right: 1px solid var(--line); display: flex; flex-direction: column; overflow: hidden; }
.rail .brand { display: flex; align-items: center; gap: 10px; padding: 14px 16px 12px; border-bottom: 1px solid var(--line); }
.rail .brand img { width: 44px; height: 44px; object-fit: contain; filter: drop-shadow(0 4px 14px #f5b62e66); transition: transform .5s var(--ease); } .rail .brand:hover img { transform: rotate(-8deg) scale(1.08); }
.rail .brand b { font: 800 26px/1 var(--head); letter-spacing: .01em; text-transform: uppercase; } .rail .brand b i { font-style: normal; color: var(--gold); }
.rail .brand small { display: block; color: var(--faint); font: 600 10px var(--body); letter-spacing: .12em; text-transform: uppercase; margin-top: 2px; }
.live { flex: 1; overflow: hidden; position: relative; }
.live::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: linear-gradient(transparent, #0c0c12); pointer-events: none; }
.drop-mini { display: block; position: relative; padding: 10px 12px 9px; border-bottom: 1px solid #1a1a25; text-align: center; background: linear-gradient(180deg, color-mix(in srgb, var(--rc) 16%, transparent), transparent 70%); }
.drop-mini.fresh { animation: slideIn .6s var(--ease) both; }
.drop-mini::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--rc); box-shadow: 0 0 14px var(--rc); }
.drop-mini img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; margin: 0 auto 6px; border: 1px solid color-mix(in srgb, var(--rc) 50%, transparent); }
.drop-mini .n { font: 700 14px/1.1 var(--head); text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drop-mini .c { font: 600 10.5px var(--body); color: var(--rc); letter-spacing: .08em; text-transform: uppercase; margin-top: 2px; }
.drop-mini .ph { width: 72px; height: 72px; margin: 0 auto 6px; border-radius: 12px; background: var(--panel2); display: grid; place-items: center; font: 800 26px var(--head); color: var(--rc); }
@keyframes slideIn { from { opacity: 0; transform: translateY(-26px) scale(.96); } to { opacity: 1; transform: none; } }
.shell { margin-left: var(--rail); min-height: 100vh; }
.top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 6px; padding: 0 28px; height: 64px; background: #0a0a0ff5; border-bottom: 1px solid var(--line); }
.top .links { display: flex; gap: 2px; flex: 1; }
.top .links a { position: relative; padding: 8px 14px; border-radius: 9px; color: var(--muted); font: 700 15px var(--head); letter-spacing: .06em; text-transform: uppercase; transition: color .2s; }
.top .links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.top .links a:hover, .top .links a.on { color: var(--text); } .top .links a:hover::after, .top .links a.on::after { transform: scaleX(1); }
.top .mobile-brand { display: none; font: 800 24px var(--head); text-transform: uppercase; } .top .mobile-brand i { font-style: normal; color: var(--gold); }
.wal { height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line2); background: var(--panel); font: 700 14px var(--head); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: border-color .2s, transform .15s; white-space: nowrap; }
.wal:hover { border-color: var(--gold); } .wal:active { transform: translateY(1px); }
.wal.on { color: var(--ok); border-color: #4fd69a55; }
.hbadge { height: 28px; padding: 0 10px; border-radius: 99px; display: inline-flex; align-items: center; gap: 6px; font: 700 11.5px var(--head); letter-spacing: .08em; text-transform: uppercase; background: #4fd69a1a; color: var(--ok); border: 1px solid #4fd69a44; }
.hbadge.off { background: #ffffff08; color: var(--muted); border-color: var(--line2); }
.mute { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: transparent; cursor: pointer; color: var(--muted); display: grid; place-items: center; transition: all .2s; } .mute:hover { color: var(--text); border-color: var(--line2); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.page { padding: 34px 0 90px; }

/* ---------- buttons ---------- */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 26px; border-radius: 12px; border: 1px solid var(--line2); background: var(--panel); color: var(--text); font: 800 18px var(--head); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: transform .15s var(--ease), border-color .2s, background .2s, box-shadow .3s; white-space: nowrap; }
.btn:hover { border-color: var(--gold); background: var(--panel2); } .btn:active { transform: translateY(1px) scale(.99); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.gold { color: #1a1204; border-color: var(--gold2); background: linear-gradient(180deg, var(--gold2), var(--gold) 55%, #e69d0c); box-shadow: 0 10px 34px -10px #f5b62ecc, inset 0 1px 0 #fff8; }
.btn.gold::after { content: ""; position: absolute; top: 0; bottom: 0; width: 46%; left: -60%; background: linear-gradient(100deg, transparent, #fff9, transparent); transform: skewX(-20deg); animation: sheen 3.6s ease-in-out infinite; }
@keyframes sheen { 0%, 55% { left: -60%; } 100% { left: 130%; } }
.btn.gold:hover { filter: brightness(1.06); box-shadow: 0 14px 42px -8px #f5b62eee, inset 0 1px 0 #fff8; }
.btn.sm { height: 36px; padding: 0 16px; font-size: 15px; border-radius: 9px; }
.btn.lg { height: 60px; padding: 0 40px; font-size: 24px; border-radius: 14px; }
.btn.ghost { background: transparent; }

/* ---------- reveal on scroll ---------- */
.rv { opacity: 0; }
.rv.in { opacity: 1; animation: rvIn .55s var(--ease) backwards; animation-delay: var(--d, 0s); }
@keyframes rvIn { from { opacity: 0; transform: translateY(18px); } }
/* No blanket rule for prefers-reduced-motion: it switched every animation to 0.01 ms, which on a computer with Windows animations off turned the whole site into jumps. Light mode (below) handles slow or motion-averse screens instead. */

/* ---------- hero ---------- */
.hero { position: relative; padding: 62px 0 54px; min-height: 480px; display: grid; align-items: center; overflow: hidden; }
.hero .copy { position: relative; z-index: 2; max-width: 640px; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; background: #f5b62e14; border: 1px solid #f5b62e33; color: var(--gold2); font: 700 13px var(--head); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.hero .eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; transform: scale(.7); } }
.hero h1 { font: 800 clamp(58px, 8.4vw, 112px)/.88 var(--head); text-transform: uppercase; letter-spacing: -.005em; }
.hero h1 > span { display: block; } .hero h1 .g .w { background: linear-gradient(180deg, var(--gold2), var(--gold) 60%, var(--gold3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 .g { filter: drop-shadow(0 6px 30px #f5b62e44); }
.hero h1 .w { display: inline-block; opacity: 0; transform: translateY(40px) rotate(2deg); animation: wordIn .9s var(--ease) forwards; animation-delay: calc(var(--i) * .09s + .1s); }
@keyframes wordIn { to { opacity: 1; transform: none; } }
.hero p.sub { margin: 22px 0 28px; font-size: 18px; color: var(--muted); max-width: 520px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .floaters { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.floater { position: absolute; width: var(--s, 150px); left: var(--x); top: var(--y); opacity: .95; animation: bob var(--t, 7s) ease-in-out infinite; animation-delay: var(--dl, 0s); will-change: transform; }
.floater img { width: 100%; border-radius: 26px; transform: rotate(var(--r, 0deg)); box-shadow: 0 24px 46px -12px #000c, 0 0 0 1px #ffffff14; }
@keyframes bob { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -16px, 0); } }
.stats { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.stat { min-width: 120px; padding: 12px 18px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.stat b { display: block; font: 800 32px/1 var(--head); font-variant-numeric: tabular-nums; } .stat span { color: var(--faint); font: 600 11px var(--body); letter-spacing: .12em; text-transform: uppercase; }
.stat.hl b { color: var(--gold); }

/* ---------- sections and case cards ---------- */
.sec { margin-top: 58px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 20px; }
.sec-head h2 { font: 800 clamp(34px, 4vw, 48px)/.95 var(--head); text-transform: uppercase; }
.sec-head h2 small { display: block; color: var(--gold); font: 700 13px var(--head); letter-spacing: .18em; margin-bottom: 8px; }
.sec-head p { color: var(--muted); max-width: 520px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.ccard { --ac: #f5b62e; position: relative; display: block; border-radius: 16px; background: linear-gradient(180deg, #181822, #11111a); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, box-shadow .4s, transform .2s ease-out; cursor: pointer; }
.ccard::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--ac) 32%, transparent), transparent 55%); opacity: 0; transition: opacity .3s; pointer-events: none; z-index: 2; }
.cwrap:hover .ccard { border-color: color-mix(in srgb, var(--ac) 70%, transparent); box-shadow: 0 22px 50px -16px color-mix(in srgb, var(--ac) 55%, transparent); } .cwrap:hover .ccard::before { opacity: 1; }
.ccard .art { position: relative; aspect-ratio: 1; overflow: hidden; background: radial-gradient(circle at 50% 46%, color-mix(in srgb, var(--ac) 34%, #0c0c12), #0c0c12 68%); }
.ccard .art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.cwrap:hover .ccard .art img { transform: scale(1.08) translateY(-3px); }
.ccard .art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, #11111aee); }
.ccard .tag { position: absolute; z-index: 3; top: 10px; left: 10px; padding: 3px 9px; border-radius: 99px; background: #000a; backdrop-filter: blur(6px); font: 700 11px var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--ac); border: 1px solid color-mix(in srgb, var(--ac) 40%, transparent); }
.ccard .lock { position: absolute; z-index: 3; top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 50%; background: #000b; display: grid; place-items: center; font-size: 13px; }
.ccard .meta { padding: 12px 14px 14px; }
.ccard .nm { font: 800 24px/1 var(--head); text-transform: uppercase; letter-spacing: .02em; }
.ccard .bl { color: var(--faint); font-size: 12.5px; margin: 5px 0 11px; min-height: 36px; line-height: 1.4; }
.ccard .row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 8px; border: 1px solid color-mix(in srgb, var(--ac) 60%, transparent); background: color-mix(in srgb, var(--ac) 10%, transparent); font: 800 18px var(--head); letter-spacing: .04em; color: var(--text); }
.price.free { color: var(--ok); border-color: #4fd69a66; background: #4fd69a14; }
.mini-odds { display: flex; height: 5px; border-radius: 3px; overflow: hidden; width: 70px; background: var(--line); }
.mini-odds i { display: block; height: 100%; }
.dim { filter: grayscale(.8) brightness(.7); }

/* rarity colours as variables on any element */
[data-r="common"] { --rc: var(--common); } [data-r="rare"] { --rc: var(--rare); } [data-r="super"] { --rc: var(--super); } [data-r="epic"] { --rc: var(--epic); } [data-r="legendary"] { --rc: var(--legendary); }
.rchip { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 6px; background: color-mix(in srgb, var(--rc) 16%, transparent); border: 1px solid color-mix(in srgb, var(--rc) 55%, transparent); color: var(--rc); font: 800 13px var(--head); letter-spacing: .12em; text-transform: uppercase; }

/* ---------- drop cards (feed) ---------- */
.dgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.dcard { position: relative; display: block; border-radius: 14px; overflow: hidden; background: var(--panel); border: 1px solid color-mix(in srgb, var(--rc) 35%, var(--line)); transition: box-shadow .3s, border-color .3s; }
.dcard:hover { box-shadow: 0 18px 40px -14px color-mix(in srgb, var(--rc) 60%, transparent); border-color: color-mix(in srgb, var(--rc) 80%, transparent); }
.dcard .im { aspect-ratio: 1; background: radial-gradient(circle, color-mix(in srgb, var(--rc) 24%, #0c0c12), #0c0c12); overflow: hidden; display: grid; place-items: center; }
.dcard .im img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.dcard .im b { font: 800 56px var(--head); color: var(--rc); opacity: .6; }
.dcard .in { padding: 10px 12px 12px; } .dcard .nm { font: 800 20px/1.05 var(--head); text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dcard .sb { color: var(--faint); font-size: 12px; display: flex; justify-content: space-between; gap: 6px; margin-top: 4px; align-items: center; }
.dcard .rchip { position: absolute; top: 8px; left: 8px; } .dcard .launched { position: absolute; top: 8px; right: 8px; padding: 2px 8px; border-radius: 6px; background: #000b; color: var(--ok); font: 800 11px var(--head); letter-spacing: .1em; text-transform: uppercase; }
.dcard.leg { border-color: var(--legendary); box-shadow: 0 0 0 1px #ffc23c55, 0 0 34px -8px #ffc23c88; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow-x: auto; max-width: 100%; }
.tabs button { height: 36px; padding: 0 16px; border: 0; background: transparent; color: var(--muted); border-radius: 9px; font: 800 15px var(--head); letter-spacing: .07em; text-transform: uppercase; cursor: pointer; white-space: nowrap; transition: all .2s; }
.tabs button.on { background: var(--gold); color: #1a1204; } .tabs button:hover:not(.on) { color: var(--text); }
.empty { padding: 50px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line2); border-radius: var(--r); }
.skel { border-radius: 16px; background: linear-gradient(100deg, var(--panel) 30%, var(--panel2) 50%, var(--panel) 70%); background-size: 200% 100%; animation: sk 1.3s linear infinite; aspect-ratio: .78; } @keyframes sk { to { background-position: -200% 0; } }

/* ---------- case page ---------- */
.cp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 46px; align-items: center; }
.cp .big { position: relative; aspect-ratio: 1; border-radius: 26px; overflow: hidden; background: radial-gradient(circle at 50% 55%, color-mix(in srgb, var(--ac) 30%, #0c0c12), #0c0c12 72%); border: 1px solid color-mix(in srgb, var(--ac) 40%, var(--line)); box-shadow: 0 40px 90px -30px color-mix(in srgb, var(--ac) 50%, transparent); }
.cp .big img { width: 100%; height: 100%; object-fit: cover; }
@keyframes hover { 50% { transform: scale(1.04) translateY(-6px); } }
.cp h1 { font: 800 clamp(56px, 7vw, 96px)/.9 var(--head); text-transform: uppercase; }
.cp .lead { color: var(--muted); font-size: 18px; margin: 14px 0 22px; max-width: 460px; }
.access { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 22px; }
.odds { display: grid; gap: 7px; margin: 22px 0 26px; }
.orow { display: grid; grid-template-columns: 112px 1fr 58px; gap: 12px; align-items: center; font: 700 15px var(--head); letter-spacing: .08em; text-transform: uppercase; }
.orow .bar { height: 10px; border-radius: 5px; background: #ffffff0d; overflow: hidden; }
.orow .bar i { display: block; height: 100%; width: 0; border-radius: 5px; background: var(--rc); box-shadow: 0 0 14px var(--rc); transition: width 1.2s var(--ease); }
.orow span:first-child { color: var(--rc); } .orow .pc { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); }
.orow.zero { opacity: .35; }
.note { color: var(--faint); font-size: 13px; margin-top: 12px; max-width: 480px; }
.prizebar { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 20px; }
.pz { padding: 8px 14px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--rc) 50%, transparent); background: color-mix(in srgb, var(--rc) 10%, transparent); font: 700 14px var(--head); letter-spacing: .06em; text-transform: uppercase; } .pz b { color: var(--rc); font-size: 20px; }

/* ---------- toast and modal ---------- */
.toasts { position: fixed; z-index: 400; right: 18px; bottom: 18px; display: grid; gap: 8px; }
.toast { padding: 12px 18px; border-radius: 12px; background: #1b1b27; border: 1px solid var(--line2); box-shadow: 0 14px 40px #000a; font-weight: 500; max-width: 360px; animation: toastIn .45s var(--ease) both; } .toast.err { border-color: #f0616d77; } .toast.out { animation: toastOut .3s ease forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } } @keyframes toastOut { to { opacity: 0; transform: translateX(40px); } }
.foot { margin-top: 90px; padding: 30px 0 50px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; display: flex; gap: 18px; flex-wrap: wrap; justify-content: space-between; }

/* the opening stage lives in stage.css (loaded by open.js) */
@keyframes fadeIn { from { opacity: 0; } }
.dots::after { content: ""; animation: dots 1.4s steps(4) infinite; } @keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75%, 100% { content: "..."; } }

/* the result card */
.result { position: absolute; inset: 0; z-index: 8; display: grid; place-items: center; padding: 70px 20px 24px; overflow: auto; animation: fadeIn .5s ease both; }
.rcard { position: relative; width: min(980px, 100%); display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 34px; padding: 30px; border-radius: 24px; background: linear-gradient(160deg, color-mix(in srgb, var(--rc) 12%, #14141d), #0f0f17 60%); border: 1px solid color-mix(in srgb, var(--rc) 55%, transparent); box-shadow: 0 40px 100px -30px color-mix(in srgb, var(--rc) 60%, #000), inset 0 1px 0 #fff1; animation: cardIn .9s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(60px) scale(.92) rotateX(12deg); } to { opacity: 1; transform: none; } }
.rcard.leg { border-color: transparent; background: linear-gradient(160deg, #241a05, #0c0a06 60%); } .rcard.leg::before { content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: 26px; background: conic-gradient(from var(--ang, 0deg), #ffc23c, #fff4b0, #b97c08, #ffc23c, #fff4b0, #ffc23c); animation: spin 5s linear infinite; } .rcard.leg::after { content: ""; position: absolute; inset: 0; border-radius: 24px; background: #0c0a06; z-index: -1; }
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; } @keyframes spin { to { --ang: 360deg; } }
.rcard .pic { position: relative; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: radial-gradient(circle, color-mix(in srgb, var(--rc) 26%, #0c0c12), #0c0c12); border: 1px solid color-mix(in srgb, var(--rc) 45%, transparent); }
.rcard .pic img { width: 100%; height: 100%; object-fit: cover; animation: unblur 1.4s var(--ease) both; } @keyframes unblur { from { filter: blur(26px) saturate(2); transform: scale(1.14); } to { filter: none; transform: none; } }
.rcard .pic .noimg { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; color: var(--muted); }
.forge { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font: 800 20px var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--rc); background: linear-gradient(100deg, transparent 30%, #ffffff10 50%, transparent 70%), #0d0d14; background-size: 200% 100%; animation: sk 1.4s linear infinite; }
.rcard .ri { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.rcard .badge-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.rcard .case-n { color: var(--muted); font: 700 14px var(--head); letter-spacing: .14em; text-transform: uppercase; }
.rcard h2 { font: 800 clamp(40px, 5.4vw, 68px)/.92 var(--head); text-transform: uppercase; word-break: break-word; }
.rcard .tk { display: inline-block; margin: 8px 0 14px; padding: 3px 12px; border-radius: 8px; background: color-mix(in srgb, var(--rc) 16%, transparent); color: var(--rc); font: 800 24px var(--head); letter-spacing: .08em; }
.rcard .hook { font: 700 22px/1.2 var(--head); letter-spacing: .02em; margin-bottom: 10px; }
.rcard .nar { color: var(--muted); line-height: 1.6; min-height: 3em; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; } .chips span { padding: 3px 10px; border-radius: 99px; border: 1px solid var(--line2); color: var(--muted); font-size: 12.5px; }
.extra { margin-top: 16px; display: grid; gap: 10px; } .extra div { padding: 10px 12px; border-radius: 10px; background: #ffffff07; border: 1px solid var(--line); font-size: 13.5px; color: var(--muted); } .extra b { display: block; color: var(--rc); font: 700 12px var(--head); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 2px; }
.palette { display: flex; gap: 6px; margin-top: 4px; } .palette i { width: 26px; height: 26px; border-radius: 7px; border: 1px solid #fff2; }
.bounty { margin-top: 16px; padding: 12px 16px; border-radius: 12px; border: 1px solid #ffc23c77; background: linear-gradient(90deg, #ffc23c1f, transparent); font-size: 14px; } .bounty b { font: 800 22px var(--head); color: var(--legendary); letter-spacing: .04em; }
.acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.stage-actions-note { margin-top: 10px; color: var(--faint); font-size: 12.5px; }
.again { margin-top: 14px; }

/* ---------- launch panel (drop page) ---------- */
.lpanel { margin-top: 34px; padding: 26px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line2); }
.lpanel h3 { font: 800 30px var(--head); text-transform: uppercase; margin-bottom: 4px; } .lpanel .sub { color: var(--muted); margin-bottom: 18px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } .fgrid .full { grid-column: 1 / -1; }
.fld label { display: block; font: 700 12px var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.fld input, .fld textarea { width: 100%; padding: 11px 13px; border-radius: 10px; border: 1px solid var(--line2); background: var(--bg2); outline: none; transition: border-color .2s; } .fld input:focus, .fld textarea:focus { border-color: var(--gold); } .fld textarea { min-height: 84px; resize: vertical; }
.steps { display: grid; gap: 8px; margin: 18px 0; } .step { display: flex; gap: 10px; align-items: center; color: var(--faint); transition: color .3s; } .step i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line2); display: grid; place-items: center; font-size: 11px; font-style: normal; transition: all .3s; }
.step.wait { color: var(--text); } .step.wait i { border-color: var(--gold); border-top-color: transparent; animation: rot .8s linear infinite; } .step.done { color: var(--ok); } .step.done i { background: var(--ok); border-color: var(--ok); color: #04150e; } .step.bad { color: var(--err); } .step.bad i { border-color: var(--err); }
@keyframes rot { to { transform: rotate(360deg); } }
.fee { font-size: 13px; color: var(--muted); padding: 10px 12px; border-radius: 10px; background: #ffffff07; border: 1px solid var(--line); margin-bottom: 14px; }

/* ---------- tables (me, admin) ---------- */
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; } .tbl th { text-align: left; color: var(--faint); font: 700 12px var(--head); letter-spacing: .14em; text-transform: uppercase; padding: 8px 10px; border-bottom: 1px solid var(--line); } .tbl td { padding: 10px; border-bottom: 1px solid #1a1a25; vertical-align: middle; }
.mono { font-family: var(--mono); font-size: 12.5px; word-break: break-all; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  :root { --rail: 0px; }
  .rail { display: none; }
  .top { padding: 0 14px; gap: 4px; } .top .mobile-brand { display: block; margin-right: 6px; } .top .links a { padding: 8px 8px; font-size: 14px; } .top .links a::after { left: 8px; right: 8px; }
  .wrap { padding: 0 16px; }
  .cp { grid-template-columns: 1fr; gap: 26px; }
  .rcard { grid-template-columns: 1fr; padding: 18px; gap: 20px; } .rcard .pic { max-width: 340px; margin: 0 auto; width: 100%; }
  .hero .floaters { opacity: .35; } .hero { min-height: 0; padding: 40px 0; }
  .fgrid { grid-template-columns: 1fr; }
  .live-m { display: flex; }
}
.live-m { display: none; gap: 10px; overflow: hidden; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #0c0c12; }
.live-m .drop-mini { flex: none; width: 96px; padding: 8px; animation: none; } .live-m .drop-mini img, .live-m .drop-mini .ph { width: 54px; height: 54px; }
@media (max-width: 600px) { .top .hbadge { display: none !important; } .top .links a { padding: 8px 6px; font-size: 13px; } .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .ccard .nm { font-size: 20px; } .ccard .bl { display: none; } .mini-odds { display: none; } .orow { grid-template-columns: 96px 1fr 50px; } .stats .stat { flex: 1; min-width: 100px; } .top .wal { padding: 0 10px; font-size: 12.5px; } .mute { display: none; } }

/* ---------- top bar: X and CA in the middle, Withdrawal on the right ---------- */
.top .mid { display: grid; grid-template-columns: 104px 104px; gap: 10px; margin: 0 auto; }
@media (min-width: 961px) { .top .links { display: none; } .top .mid { order: -1; margin: 0 auto 0 0; } }          /* X and CA sit on the left of the bar now that credits, SOL and Withdrawal fill the right */
@media (min-width: 1620px) { .top .mid { order: 0; position: absolute; left: calc(50% - var(--rail) / 2); transform: translateX(-50%); margin: 0; } }          /* on a very wide window they go back to the middle of the WINDOW */          /* the middle of the WINDOW, not of the area right of the rail */
.chipb { display: inline-flex; align-items: center; justify-content: center; height: 34px; padding: 0; border-radius: 9px; border: 1px dashed var(--line2); background: transparent; color: var(--muted); font: 700 14px var(--head); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; white-space: nowrap; transition: color .2s, border-color .2s, background .2s; }
.chipb:hover { color: var(--text); border-color: var(--gold); background: #f5b62e10; }
.wd { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 10px; border: 1px solid #f5b62e66; background: linear-gradient(180deg, #f5b62e22, #f5b62e0a); color: var(--gold2); font: 800 15px var(--head); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; white-space: nowrap; transition: transform .15s, box-shadow .3s, border-color .2s; }
.wd:hover { border-color: var(--gold); box-shadow: 0 8px 28px -10px #f5b62eaa; } .wd:active { transform: translateY(1px); }
.wd b { padding: 2px 8px; border-radius: 6px; background: var(--gold); color: #1a1204; font: 800 13px var(--head); letter-spacing: .04em; }
.wd.hot { border-color: var(--gold); animation: wdpulse 2.4s ease-in-out infinite; } @keyframes wdpulse { 50% { box-shadow: 0 0 0 5px #f5b62e1f, 0 8px 28px -10px #f5b62ecc; } }
@media (max-width: 1040px) { .top .mid { display: none; } }
@media (max-width: 640px) { .wd { padding: 0 12px; font-size: 14px; } }

/* ---------- withdrawal window ---------- */
.wmod { position: fixed; inset: 0; z-index: 450; display: grid; place-items: center; padding: 18px; background: #05050af2; animation: fadeIn .2s ease both; overflow: auto; }
.wmod.out { animation: wout .22s ease forwards; } @keyframes wout { to { opacity: 0; } }
.wcard { position: relative; width: min(520px, 100%); max-height: 94vh; overflow: auto; padding: 28px; border-radius: 22px; background: linear-gradient(170deg, #1d1810, #11111a 55%); border: 1px solid #f5b62e55; box-shadow: 0 40px 100px -30px #f5b62e66; animation: wup .4s var(--ease) both; }
@keyframes wup { from { opacity: 0; transform: translateY(26px) scale(.97); } }
.wx { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line2); background: transparent; cursor: pointer; transition: transform .2s, border-color .2s; } .wx:hover { transform: rotate(90deg); border-color: var(--gold); }
.wtop small { color: var(--gold); font: 700 13px var(--head); letter-spacing: .18em; text-transform: uppercase; }
.wbig { display: flex; align-items: baseline; gap: 10px; margin: 4px 0 6px; } .wbig b { font: 800 76px/1 var(--head); font-variant-numeric: tabular-nums; background: linear-gradient(180deg, var(--gold2), var(--gold) 70%, var(--gold3)); -webkit-background-clip: text; background-clip: text; color: transparent; } .wbig span { font: 800 28px var(--head); color: var(--muted); }
.wlock { color: var(--muted); font-size: 13.5px; }
.wdrops { display: grid; gap: 8px; margin-top: 14px; } .wdrops > div { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #ffffff07; border: 1px solid color-mix(in srgb, var(--rc) 40%, var(--line)); } .wdrops b { flex: 1; font: 700 17px var(--head); text-transform: uppercase; } .wdrops i { font-style: normal; color: var(--rc); } .wdrops em { font: 800 18px var(--head); font-style: normal; color: var(--gold2); }
.wecho { min-height: 20px; margin-top: 6px; font: 12px var(--mono); word-break: break-all; color: var(--faint); } .wecho.good { color: var(--ok); } .wecho.bad { color: var(--err); }
.wnote { color: var(--faint); font-size: 12.5px; margin: 12px 0 16px; }
.wempty { padding: 18px 4px 6px; color: var(--muted); } .wempty ol { margin: 12px 0 18px; padding-left: 20px; display: grid; gap: 6px; }
.whist { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); } .whist small { color: var(--faint); font: 700 12px var(--head); letter-spacing: .16em; text-transform: uppercase; } .whist > div { display: grid; grid-template-columns: 1fr auto auto auto; gap: 12px; align-items: center; padding: 8px 0; font-size: 13px; color: var(--muted); } .whist b { color: var(--text); } .whist em { font-style: normal; color: var(--gold2); } .whist em.ok { color: var(--ok); }
.wdone { text-align: center; padding: 14px 0 4px; } .wdone .wtick { width: 76px; height: 76px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; font-size: 38px; color: #04150e; background: var(--ok); box-shadow: 0 0 0 10px #4fd69a22, 0 0 50px #4fd69a88; animation: tick .6s var(--ease) both; } @keyframes tick { from { transform: scale(.2); opacity: 0; } }
.wdone h3 { font: 800 36px var(--head); text-transform: uppercase; margin-bottom: 8px; } .wdone code { display: inline-block; margin-top: 6px; font: 12.5px var(--mono); word-break: break-all; color: var(--gold2); } .wdone .btn { margin-top: 8px; }
@media (max-width: 1480px) { .top .hbadge { display: none !important; } }

.limited { position: absolute; z-index: 3; left: 10px; bottom: 10px; padding: 3px 9px; border-radius: 99px; background: #ff3d5acc; color: #fff; font: 800 11px var(--head); letter-spacing: .1em; text-transform: uppercase; animation: lim 2s ease-in-out infinite; } @keyframes lim { 50% { opacity: .65; } }
.limited.big { position: static; display: inline-block; font-size: 14px; padding: 6px 14px; margin-bottom: 14px; animation: none; } .limited.big b { font-size: 16px; }

/* ---------- light mode: switched on by itself when the screen cannot keep 30 frames a second, or by the FX button ---------- */
html.lite .floater, html.lite .btn.gold::after, html.lite .hero .eyebrow i, html.lite .ndot, html.lite .wd.hot, html.lite .limited, html.lite .drop-mini.fresh, html.lite .rcard.leg::before { animation: none !important; }
html.lite .rv.in { animation: rvFade .4s ease-out backwards; animation-delay: var(--d, 0s); } @keyframes rvFade { from { opacity: 0; } } html.lite .hero h1 .w { animation-duration: .01ms; animation-delay: 0s !important; opacity: 1; transform: none; }
html.lite .ccard::before, html.lite .stage-glow { display: none; } html.lite .ccard .art img, html.lite .dcard .im img { transition: none; } html.lite body::before { display: none; }
.fxb { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: transparent; cursor: pointer; color: var(--muted); font: 800 13px var(--head); letter-spacing: .06em; transition: all .2s; } .fxb:hover { color: var(--text); border-color: var(--line2); } .fxb.on { color: var(--gold2); border-color: #f5b62e66; }
@media (max-width: 640px) { .fxb { display: none; } }

/* the menu lives in the left rail on a computer (the bar keeps the middle free for X and CA) */
.rnav { display: grid; gap: 2px; padding: 10px 10px 12px; border-bottom: 1px solid var(--line); }
.rnav a { position: relative; display: flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 9px; color: var(--muted); font: 800 17px var(--head); letter-spacing: .08em; text-transform: uppercase; transition: color .2s, background .2s; }
.rnav a:hover { color: var(--text); background: #ffffff08; } .rnav a.on { color: var(--gold2); background: #f5b62e12; }
.rnav a.on::before { content: ""; position: absolute; left: 0; top: 9px; bottom: 9px; width: 3px; border-radius: 2px; background: var(--gold); }

/* case cards: the still frame (cwrap) catches the pointer, the card inside leans */
.cwrap { perspective: 900px; border-radius: 16px; }
html.lite .ccard { will-change: auto; }

/* ---------- case page: drop chances, calculator, ideas ---------- */
.rgrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.rtile { position: relative; padding: 20px 16px 16px; border-radius: 20px; border: 1px solid color-mix(in srgb, var(--rc) 50%, var(--line)); background: linear-gradient(170deg, color-mix(in srgb, var(--rc) 24%, #14141d), #101018 72%); overflow: hidden; }
.rtile::after { content: ""; position: absolute; left: -30%; right: -30%; top: -40%; height: 80%; background: radial-gradient(closest-side, color-mix(in srgb, var(--rc) 35%, transparent), transparent); pointer-events: none; }
.rtile.zero { opacity: .36; filter: grayscale(.7); }
.rcap { position: relative; z-index: 1; width: 88px; height: 88px; margin: 0 auto 14px; border-radius: 24px; display: grid; place-items: center; background: linear-gradient(160deg, color-mix(in srgb, var(--rc) 58%, #15151d), color-mix(in srgb, var(--rc) 14%, #0c0c12) 72%); border: 2px solid color-mix(in srgb, var(--rc) 75%, transparent); box-shadow: 0 12px 30px -10px var(--rc), inset 0 0 22px color-mix(in srgb, var(--rc) 35%, transparent); }
.rcap::before { content: ""; width: 36px; height: 36px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff9, var(--rc) 45%, color-mix(in srgb, var(--rc) 40%, #000)); box-shadow: 0 0 20px var(--rc); }
.rcap.q { background: radial-gradient(circle, #2a1d06, #060509 75%); border-color: var(--legendary); box-shadow: 0 12px 34px -8px #ffc23ccc, inset 0 0 26px #ffc23c33; } .rcap.q::before { display: none; } .rcap.q::after { content: "?"; font: 800 60px/1 var(--head); color: var(--legendary); text-shadow: 0 0 18px #ffc23c; }
.rtile .rn { position: relative; z-index: 1; display: block; text-align: center; color: var(--rc); font: 800 21px var(--head); letter-spacing: .1em; text-transform: uppercase; }
.rtile .rp { position: relative; z-index: 1; text-align: center; font: 800 52px/1 var(--head); margin: 8px 0 2px; font-variant-numeric: tabular-nums; } .rtile .rp i { font-style: normal; font-size: .5em; color: var(--muted); margin-left: 2px; }
.rtile .o { position: relative; z-index: 1; display: block; text-align: center; color: var(--faint); font-size: 12.5px; }
.rtile ul { position: relative; z-index: 1; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid color-mix(in srgb, var(--rc) 25%, var(--line)); list-style: none; display: grid; gap: 5px; font-size: 12.5px; color: var(--muted); }
.rtile li::before { content: "✓"; color: var(--rc); margin-right: 7px; font-weight: 700; }
.rtile .tb { position: relative; z-index: 1; margin-top: 12px; padding: 6px 10px; border-radius: 9px; text-align: center; background: color-mix(in srgb, var(--rc) 16%, transparent); border: 1px solid color-mix(in srgb, var(--rc) 50%, transparent); color: var(--rc); font: 800 14px var(--head); letter-spacing: .06em; text-transform: uppercase; }
.calc { padding: 22px; border-radius: 20px; border: 1px solid var(--line); background: var(--panel); }
.calc-top { display: flex; gap: 22px; align-items: center; margin-bottom: 18px; flex-wrap: wrap; } .calc-top span { font: 700 20px var(--head); letter-spacing: .04em; text-transform: uppercase; } .calc-top b { color: var(--gold2); font-size: 28px; }
.calc input[type=range] { flex: 1; min-width: 200px; accent-color: var(--gold); height: 6px; cursor: pointer; }
.crow { display: grid; grid-template-columns: 120px 1fr 64px; gap: 14px; align-items: center; margin: 9px 0; font: 700 16px var(--head); letter-spacing: .08em; text-transform: uppercase; }
.crow span { color: var(--rc); } .crow .bar { height: 12px; border-radius: 6px; background: #ffffff0d; overflow: hidden; } .crow .bar i { display: block; height: 100%; width: 0; border-radius: 6px; background: var(--rc); box-shadow: 0 0 14px var(--rc); transition: width .45s var(--ease); } .crow b { text-align: right; font-variant-numeric: tabular-nums; }
.chips.big { gap: 9px; } .chips.big span { padding: 8px 16px; font-size: 14.5px; border-color: color-mix(in srgb, var(--ac, var(--gold)) 50%, var(--line2)); color: var(--text); text-transform: capitalize; background: #ffffff06; }
.firstup { display: flex; gap: 22px; align-items: center; padding: 22px; border-radius: 18px; border: 1px dashed var(--line2); background: linear-gradient(120deg, color-mix(in srgb, var(--ac, var(--gold)) 10%, transparent), transparent 60%); } .firstup img { width: 96px; height: 96px; border-radius: 18px; object-fit: cover; } .firstup b { font: 800 24px var(--head); text-transform: uppercase; } .firstup p { color: var(--muted); margin-top: 4px; max-width: 520px; }
@media (max-width: 1000px) { .rgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .rgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rtile:last-child { grid-column: 1 / -1; } .crow { grid-template-columns: 96px 1fr 54px; } .firstup { flex-direction: column; text-align: center; } }

/* ---------- credits chip (top right), sell button, sold card, credit cases ---------- */
.cred { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 10px; border-radius: 10px; border: 1px solid #f5b62e55; background: linear-gradient(180deg, #f5b62e18, #f5b62e06); font: 800 17px var(--head); letter-spacing: .04em; white-space: nowrap; transition: transform .15s, border-color .2s, box-shadow .3s; }
.cred:hover { border-color: var(--gold); box-shadow: 0 8px 26px -12px #f5b62eaa; } .cred span { color: var(--muted); font: 700 12px var(--head); letter-spacing: .14em; text-transform: uppercase; } .cred b { font-variant-numeric: tabular-nums; min-width: 1ch; color: var(--gold2); }
.coin { display: inline-block; flex: none; width: 20px; height: 20px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, var(--gold2) 28%, var(--gold) 60%, var(--gold3)); box-shadow: 0 0 10px #f5b62e88, inset 0 -2px 3px #0005; position: relative; } .coin::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; border: 1.5px solid #7a4d0099; }
.cred.up { animation: credUp .9s var(--ease); } .cred.down { animation: credDown .6s var(--ease); } .cred.no { animation: credNo .6s ease; }
@keyframes credUp { 0% { transform: scale(1); } 25% { transform: scale(1.14); box-shadow: 0 0 0 6px #f5b62e33, 0 0 40px #f5b62e99; border-color: var(--gold2); } 100% { transform: scale(1); } }
@keyframes credDown { 30% { transform: scale(.94); } 100% { transform: scale(1); } }
@keyframes credNo { 15% { transform: translateX(-7px); border-color: var(--err); } 35% { transform: translateX(6px); } 55% { transform: translateX(-4px); } 75% { transform: translateX(2px); } 100% { transform: none; } }
.cdelta { position: absolute; left: 50%; top: 100%; margin-top: 4px; font: 800 20px var(--head); pointer-events: none; text-shadow: 0 2px 10px #000; animation: cdelta 1.5s var(--ease) forwards; } .cdelta.up { color: var(--ok); } .cdelta.down { color: var(--err); }
@keyframes cdelta { 0% { opacity: 0; transform: translate(-50%, -8px); } 20% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 26px); } }
@media (max-width: 760px) { .cred span { display: none; } .cred { padding: 0 10px 0 8px; } }
html.lite .cred.up, html.lite .cred.down { animation: none; }

.btn.sell { color: #1a1204; border-color: #ffd56e88; background: linear-gradient(180deg, #ffe08a33, #f5b62e22); color: var(--gold2); } .btn.sell:hover { background: linear-gradient(180deg, #ffe08a55, #f5b62e33); border-color: var(--gold); }
.btn.sell.arm { color: #1a1204; background: linear-gradient(180deg, var(--gold2), var(--gold)); animation: armPulse .6s ease-in-out infinite alternate; } @keyframes armPulse { to { box-shadow: 0 0 0 5px #f5b62e44; } }
.btn.sell .coin { width: 18px; height: 18px; }
.rcard.sold .pic img { filter: grayscale(.85) brightness(.55); transition: filter .6s; } .rcard.sold { border-color: #ffffff22; box-shadow: none; }
.stamp { position: absolute; left: 50%; top: 50%; padding: 6px 22px 8px; text-align: center; border: 4px solid var(--gold2); border-radius: 12px; color: var(--gold2); background: #0009; transform: translate(-50%, -50%) rotate(-12deg); animation: stampIn .5s cubic-bezier(.3, 1.6, .5, 1) both; }
.stamp b { display: block; font: 800 64px/1 var(--head); letter-spacing: .12em; } .stamp span { font: 800 18px var(--head); letter-spacing: .14em; text-transform: uppercase; }
@keyframes stampIn { from { opacity: 0; transform: translate(-50%, -50%) rotate(-12deg) scale(2.6); } }
.soldnote { flex: 1 0 100%; display: grid; gap: 2px; padding: 12px 16px; border-radius: 12px; border: 1px solid #f5b62e55; background: #f5b62e10; } .soldnote b { font: 800 22px var(--head); color: var(--gold2); text-transform: uppercase; letter-spacing: .04em; } .soldnote span { color: var(--muted); font-size: 13.5px; }
.dcard.sold { opacity: .55; filter: grayscale(.7); } .dcard .soldtag { position: absolute; z-index: 3; right: 10px; top: 10px; padding: 3px 9px; border-radius: 99px; background: #000b; border: 1px solid #f5b62e88; color: var(--gold2); font: 800 11px var(--head); letter-spacing: .1em; text-transform: uppercase; }

/* the credits explainer on the home page */
.sellrow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 26px; }
.sellrow .st { position: relative; padding: 16px 14px; border-radius: 16px; text-align: center; background: linear-gradient(170deg, color-mix(in srgb, var(--rc) 16%, #14141d), #101018 70%); border: 1px solid color-mix(in srgb, var(--rc) 40%, var(--line)); overflow: hidden; }
.sellrow .st::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--rc); box-shadow: 0 0 16px var(--rc); }
.sellrow b { display: block; font: 800 15px var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--rc); } .sellrow .v { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 6px; font: 800 38px/1 var(--head); font-variant-numeric: tabular-nums; } .sellrow small { display: block; margin-top: 6px; color: var(--faint); font-size: 12px; }
.sellrow .st.none .v { font-size: 26px; color: var(--faint); }
@media (max-width: 760px) { .sellrow { grid-template-columns: repeat(2, 1fr); } .sellrow .st:last-child { grid-column: 1 / -1; } }
.price.pcr { color: var(--gold2); display: inline-flex; align-items: center; gap: 6px; } .price.pcr .coin { width: 16px; height: 16px; }

/* ---------- animated case art (the look of case-battle: art in a round window, neon rings turning behind it, the art floating) ---------- */
.orb { position: absolute; left: 15%; top: 9%; width: 70%; aspect-ratio: 1; }
.orb i, .orb svg { position: absolute; pointer-events: none; } .orb i { border-radius: 50%; }
.orb svg { overflow: visible; fill: none; }
.ringA { left: -5%; top: -5%; width: 110%; height: 110%; color: var(--ac); } .ringA circle { stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-dasharray: 26 11 18 45; }
.ringB { left: -13%; top: -13%; width: 126%; height: 126%; color: color-mix(in srgb, var(--ac) 70%, #fff); opacity: .5; } .ringB circle { stroke: currentColor; stroke-width: .7; stroke-dasharray: .8 2.2; }
.portal { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 3px #0a0a0f, 0 0 0 4.5px color-mix(in srgb, var(--ac) 70%, transparent); }
.portal img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ccard.live .ringA { animation: spinR 16s linear infinite; } .ccard.live .ringB { animation: spinR 38s linear infinite reverse; } .ccard.live .portal { animation: floatY 6s ease-in-out infinite; }
.cwrap:hover .ccard .portal { box-shadow: 0 0 0 3px #0a0a0f, 0 0 0 4px var(--ac); }
@keyframes spinR { to { transform: rotate(360deg); } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.ccard .art { aspect-ratio: 1.08; } .ccard .art::after { background: linear-gradient(180deg, transparent 70%, #11111acc); }
html.lite .ccard .ringA, html.lite .ccard .ringB, html.lite .ccard .portal { animation: none !important; } 

/* the case page: the Blender chest of this case turns in front of slowly turning neon rings; drag it with the mouse or a finger */
.cp .hero3d { position: relative; aspect-ratio: 1; border-radius: 26px; overflow: hidden; background: radial-gradient(circle at 50% 56%, color-mix(in srgb, var(--ac) 26%, #0c0c12), #08080c 74%); border: 1px solid color-mix(in srgb, var(--ac) 40%, var(--line)); --rc: var(--ac); }
.hero3d .hbg { position: absolute; inset: -8%; background-size: cover; background-position: center; filter: blur(22px) saturate(1.3) brightness(.33); }
.hero3d .orb { left: 13%; top: 10%; width: 74%; } .hero3d .ringC { inset: -24%; border: 1px dashed color-mix(in srgb, var(--ac) 45%, transparent); }
.hero3d.live .ringA { animation: spinR 24s linear infinite; } .hero3d.live .ringB { animation: spinR 60s linear infinite reverse; } .hero3d.live .ringC { animation: spinR 90s linear infinite; }
.hero3d .ringA { left: 0; top: 0; width: 100%; height: 100%; } .hero3d .ringB { left: -9%; top: -9%; width: 118%; height: 118%; }
.hero3d .hfloor { position: absolute; left: 50%; top: 73%; width: 66%; height: 12%; margin-left: -33%; background: radial-gradient(ellipse at center, #000d, transparent 70%); }
.hero3d .turn { position: absolute; left: 7%; top: 5%; width: 86%; height: 86%; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.hero3d .turn.drag { cursor: grabbing; }
.hero3d .turn img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; pointer-events: none; -webkit-user-drag: none; filter: drop-shadow(0 18px 26px #0009); }
.hero3d .turn img.on { opacity: 1; }
.hero3d.live .turn .tf { position: absolute; inset: 0; animation: floatY 7s ease-in-out infinite; }
.hero3d .tf { position: absolute; inset: 0; }
.hero3d .thint { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; font: 700 12px var(--head); letter-spacing: .2em; text-transform: uppercase; color: #ffffff88; pointer-events: none; transition: opacity .5s; }
.hero3d .thint i { font-style: normal; margin: 0 6px; opacity: .7; }
html.lite .hero3d .tf, html.lite .hero3d .ringA, html.lite .hero3d .ringB, html.lite .hero3d .ringC { animation: none !important; }

/* phones: the menu moves to a bar at the bottom, so the top bar keeps room for credits, Withdrawal and the wallet */
.mnav { display: none; }
@media (max-width: 960px) {
  .top .links { display: none; } .top .mobile-brand { flex: 1; }
  .mnav { position: fixed; z-index: 35; left: 0; right: 0; bottom: 0; display: flex; height: 58px; background: #0c0c12f7; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .mnav a { flex: 1; display: grid; place-items: center; color: var(--muted); font: 800 15px var(--head); letter-spacing: .1em; text-transform: uppercase; position: relative; transition: color .2s; }
  .mnav a.on { color: var(--gold2); } .mnav a.on::before { content: ""; position: absolute; top: 0; left: 28%; right: 28%; height: 3px; border-radius: 0 0 3px 3px; background: var(--gold); box-shadow: 0 0 14px var(--gold); }
  body { padding-bottom: 66px; } .toasts { bottom: 74px; }
}

@media (max-width: 960px) { .cp { grid-template-columns: minmax(0, 1fr); } .info, .cp > * { min-width: 0; } .access { min-width: 0; } }
@media (max-width: 640px) { .top { gap: 6px; padding: 0 10px; } .top .wal { max-width: 34vw; overflow: hidden; text-overflow: ellipsis; padding: 0 9px; } .top .mobile-brand { font-size: 21px; } }
.wd svg { flex: none; }
@media (max-width: 640px) { .btn.lg { width: 100%; padding: 0 14px; font-size: 21px; height: 56px; white-space: normal; line-height: 1; text-align: center; } .access { gap: 8px; } }
@media (max-width: 600px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.price { white-space: nowrap; } .ccard .nm { overflow-wrap: anywhere; } .ccard .meta { padding-bottom: 14px; }
* { scrollbar-width: thin; scrollbar-color: #35354a transparent; } ::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-thumb { background: #35354a; border-radius: 4px; } ::-webkit-scrollbar-track { background: transparent; }

/* drop cards: the same round window and turning rings as the cases, in the colour of the rarity */
.dcard { --ac: var(--rc); }
.dcard .im { position: relative; aspect-ratio: 1.08; background: radial-gradient(circle at 50% 58%, color-mix(in srgb, var(--rc) 26%, #0c0c12), #0a0a10 75%); display: block; }
.dcard .im::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 72%, #14141dcc); pointer-events: none; }
.dcard .portal { display: grid; place-items: center; background: #0c0c12; } .dcard .portal b { font: 800 44px var(--head); color: var(--rc); opacity: .7; }
.dcard.live .ringA { animation: spinR 16s linear infinite; } .dcard.live .ringB { animation: spinR 38s linear infinite reverse; } .dcard.live .portal { animation: floatY 6s ease-in-out infinite; }
.dcard:hover .portal img { transform: scale(1.06); } .dcard .portal img { transition: transform .6s var(--ease); }
.dcard .rchip { z-index: 3; } .dcard .launched { z-index: 3; }
html.lite .dcard .ringA, html.lite .dcard .ringB, html.lite .dcard .portal { animation: none !important; }
.dcard .launched { top: 8px; right: 8px; left: auto; width: 24px; height: 24px; padding: 0; border-radius: 50%; display: grid; place-items: center; font-size: 13px; background: #4fd69a; color: #04150e; box-shadow: 0 0 14px #4fd69a99; }
.dcard .orb { top: 11%; width: 68%; left: 16%; }

.ccard { isolation: isolate; }
@media (max-width: 1380px) { .top .mid { grid-template-columns: 88px 88px; } } @media (max-width: 1260px) { .top .mid { display: none; } }

/* ---------- SOL balance chip, next to credits ---------- */
.solc { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 11px; border-radius: 10px; border: 1px solid #4fd69a44; background: linear-gradient(180deg, #4fd69a14, #4fd69a05); color: var(--text); font: 800 17px var(--head); letter-spacing: .04em; white-space: nowrap; cursor: pointer; transition: transform .15s, border-color .2s, box-shadow .3s; }
.solc:hover { border-color: var(--ok); box-shadow: 0 8px 26px -12px #4fd69aaa; } .solc:active { transform: translateY(1px); }
.solc svg { flex: none; } .solc b { min-width: 3ch; font-variant-numeric: tabular-nums; color: #9af2cb; } .solc span { color: var(--muted); font: 700 12px var(--head); letter-spacing: .14em; text-transform: uppercase; }
.solc.has { border-color: #4fd69a99; } .solc.up { animation: credUp .9s var(--ease); } html.lite .solc.up { animation: none; }
@media (max-width: 760px) { .solc span { display: none; } .solc { padding: 0 10px 0 8px; gap: 6px; font-size: 16px; } }
/* phones: two rows: brand + wallet, then credits / SOL / Withdrawal sharing the width */
@media (max-width: 640px) {
  .top { height: auto; flex-wrap: wrap; row-gap: 8px; padding: 8px 10px 9px; }
  .top .mobile-brand { order: 1; flex: 1 1 calc(100% - 132px); margin: 0; } .top .wal { order: 2; flex: 0 0 auto; max-width: 120px; }
  .top .cred, .top .solc, .top .wd { order: 3; flex: 1 1 0; justify-content: center; min-width: 0; padding: 0 8px; }
  .top .cred b, .top .solc b { min-width: 0; }
}

/* Easter egg chip on a result card: a playful nod to a famous meme or coin character */
.rcard .chips span.egg { color: #1a1204; background: linear-gradient(180deg, #ffe08a, #ffc23c); border-color: #ffd86b; font-weight: 700; box-shadow: 0 6px 20px -8px #ffc23ccc; }
.chips.big span.eggchip { color: #1a1204; background: linear-gradient(180deg, #ffe08a, #ffc23c); border-color: #ffd86b; font-weight: 700; text-transform: none; }

/* ---------- top bar, final layout (28.10): X and CA on the left, everything else on the right, every control 40 px tall with the same 8 px gap, wallet last ---------- */
.top { gap: 8px; }
.top .mid { display: flex; gap: 8px; order: -1; position: static; transform: none; margin: 0; }
.top .fxb { margin-left: auto; }          /* the right group is pushed to the right edge, the wallet button is last */
.top .links { display: none; }
.chipb { height: 40px; padding: 0 14px; min-width: 0; font-size: 13px; letter-spacing: .1em; border-radius: 10px; }
#xb { text-transform: none; letter-spacing: .04em; font-size: 14px; }
.dep { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid #4fd69a77; background: linear-gradient(180deg, #4fd69a2e, #4fd69a12); color: #9af2cb; font: 800 15px var(--head); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; white-space: nowrap; transition: transform .15s, border-color .2s, box-shadow .3s; }
.dep:hover { border-color: var(--ok); box-shadow: 0 8px 26px -12px #4fd69aaa; } .dep:active { transform: translateY(1px); } .dep svg { flex: none; }
.wd, .wal, .dep, .cred, .solc, .fxb, .mute { height: 40px; box-sizing: border-box; }
@media (max-width: 1290px) { .top .mid { display: none; } }
@media (max-width: 1180px) { .dep span, .wd span { font-size: 14px; } .dep, .wd { padding: 0 12px; } }
@media (max-width: 760px) { .dep span { display: none; } .dep { width: 40px; padding: 0; justify-content: center; } }
@media (max-width: 640px) { .top .dep { order: 3; flex: 0 0 40px; } }
/* deposit window */
.dchips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.dchips button { flex: 1 1 0; min-width: 56px; height: 40px; border-radius: 10px; border: 1px solid var(--line2); background: var(--bg2); color: var(--text); font: 800 16px var(--head); letter-spacing: .04em; cursor: pointer; transition: border-color .2s, background .2s, transform .15s; }
.dchips button:hover { border-color: var(--gold); } .dchips button:active { transform: translateY(1px); } .dchips button.on { border-color: var(--gold); background: #f5b62e1f; color: var(--gold2); }
.dwal { padding: 11px 13px; border-radius: 10px; border: 1px solid var(--line2); background: var(--bg2); color: var(--muted); font-size: 14px; } .dwal code { color: var(--text); font-size: 14px; }

.wbody .fld { margin-bottom: 14px; } .wbody #dgo { margin-top: 4px; }
@media (max-width: 640px) { .top .fxb { margin-left: 0; } }

/* the status badges next to the price on a case page (free openings left, hold $10+ to unlock, holder active, your credits): bigger, and in colour so they stand out */
.access .hbadge { height: 40px; padding: 0 18px; gap: 8px; font: 800 15px var(--head); letter-spacing: .08em; background: linear-gradient(180deg, #4fd69a30, #4fd69a14); color: #9af2cb; border: 1px solid #4fd69a99; box-shadow: 0 8px 26px -14px #4fd69acc; }
.access .hbadge.off { background: linear-gradient(180deg, #f5b62e38, #f5b62e14); color: var(--gold2); border-color: #f5b62ecc; box-shadow: 0 8px 26px -12px #f5b62eee; }
.access { gap: 10px; flex-wrap: wrap; }
@media (max-width: 640px) { .access .hbadge { height: 36px; padding: 0 14px; font-size: 13.5px; } }

/* waiting screen of a new drop */
.forge .fg { width: min(88%, 340px); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.forge .fgt { font: 800 24px var(--head); letter-spacing: .14em; }
.forge .fgbar { width: 100%; height: 8px; border-radius: 99px; background: #ffffff14; overflow: hidden; } .forge .fgbar i { display: block; height: 100%; width: 4%; border-radius: 99px; background: var(--rc); box-shadow: 0 0 14px var(--rc); animation: fgfill 16s cubic-bezier(.2, .7, .3, 1) forwards; }
@keyframes fgfill { to { width: 94%; } }
.forge .fgs { margin: 0; font: 500 15px/1.45 var(--body, Inter, sans-serif); letter-spacing: 0; text-transform: none; color: var(--text); } .forge .fgs b { color: var(--gold2); font-weight: 700; }
.forge .fgm { margin: 0; min-height: 20px; font: 600 13px var(--body, Inter, sans-serif); letter-spacing: .04em; text-transform: none; color: var(--muted); }
html.lite .forge .fgbar i { animation-duration: 16s; }
