@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
:root {
  --bg: #060608; --panel: rgba(255,255,255,.035); --panel2: rgba(255,255,255,.06); --line: rgba(255,255,255,.08); --line2: rgba(255,255,255,.16);
  --text: #ededf2; --dim: #8a8a99; --dim2: #5c5c6a; --ink: #ffd23f;
  --grad: linear-gradient(90deg, #ff2e88, #9b5de5, #00bbf9, #00f5a0, #ffd23f, #ff2e88);
  --sans: "Inter", "Segoe UI Variable Display", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, monospace;
  --ease: cubic-bezier(.2,.8,.2,1);
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; color: var(--text); font: 15px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
::selection { background: #9b5de5; color: #fff; }
.mono { font-family: var(--mono); }
.dim { color: var(--dim); }
.hidden { display: none !important; }
.bg-aura { position: fixed; inset: -20% -10% auto; height: 80vh; z-index: -1; pointer-events: none; opacity: .5;
  background: radial-gradient(40% 50% at 20% 20%, rgba(155,93,229,.22), transparent 70%), radial-gradient(35% 45% at 80% 10%, rgba(0,187,249,.16), transparent 70%), radial-gradient(30% 40% at 55% 40%, rgba(255,46,136,.10), transparent 70%);
  animation: aura 18s ease-in-out infinite alternate; }
@keyframes aura { to { transform: translate3d(3%, 4%, 0) scale(1.06); } }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; height: 64px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 0 28px;
  background: rgba(6,6,8,.66); backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 760; font-size: 23px; letter-spacing: -.05em; color: #fff; justify-self: start; }
.mark { width: 20px; height: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mark i { border-radius: 3px; animation: mark 8s infinite; }
.mark i:nth-child(1) { background: #ff2e88; } .mark i:nth-child(2) { background: #00bbf9; animation-delay: -2s; }
.mark i:nth-child(3) { background: #ffd23f; animation-delay: -4s; } .mark i:nth-child(4) { background: #9b5de5; animation-delay: -6s; }
@keyframes mark { 0%, 100% { filter: none; transform: none; } 25% { filter: hue-rotate(90deg); transform: scale(.8); } 50% { filter: hue-rotate(180deg); } }
nav { position: relative; display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
nav a { position: relative; z-index: 1; padding: 7px 18px; border-radius: 999px; color: var(--dim); font-weight: 560; font-size: 14px; transition: color .25s; white-space: nowrap; }
nav a:hover { color: #fff; }
nav a.on { color: #07070a; }
.nav-pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: 0; border-radius: 999px; background: #fff; box-shadow: 0 4px 20px rgba(255,255,255,.18); transition: left .45s var(--ease), width .45s var(--ease); }
.wallet { justify-self: end; display: flex; align-items: center; gap: 10px; }
.inkpill { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px; border-radius: 999px; background: rgba(255,210,63,.07); border: 1px solid rgba(255,210,63,.22); color: var(--ink); font: 600 13px var(--mono); font-variant-numeric: tabular-nums; }
:root { --gem: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%22-1%20-1%2026%2036%22%3E%3Cdefs%3E%3C%2Fdefs%3E%3Cpolygon%20points%3D%2212.00%2C0.00%200.00%2C15.00%2010.50%2C17.50%22%20fill%3D%22%23fff3bf%22%2F%3E%3Cpolygon%20points%3D%2212.00%2C0.00%2010.50%2C17.50%2024.00%2C15.00%22%20fill%3D%22%23ffc42f%22%2F%3E%3Cpolygon%20points%3D%220.00%2C15.00%2012.00%2C34.00%2010.50%2C17.50%22%20fill%3D%22%23ee9807%22%2F%3E%3Cpolygon%20points%3D%2210.50%2C17.50%2012.00%2C34.00%2024.00%2C15.00%22%20fill%3D%22%23b16100%22%2F%3E%3Cpolyline%20points%3D%220.00%2C15.00%2012.00%2C0.00%2024.00%2C15.00%22%20fill%3D%22none%22%20stroke%3D%22%23fffbe6%22%20stroke-opacity%3D%22.8%22%20stroke-width%3D%22.8%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpolygon%20points%3D%225.00%2C13.00%2011.00%2C4.50%2011.00%2C7.50%206.00%2C14.50%22%20fill%3D%22%23fff%22%20opacity%3D%22.6%22%2F%3E%3Cpolygon%20points%3D%2212.00%2C0.00%2024.00%2C15.00%2012.00%2C34.00%200.00%2C15.00%22%20fill%3D%22none%22%20stroke%3D%22%233a1a00%22%20stroke-opacity%3D%22.55%22%20stroke-width%3D%22.7%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E'); --gem-ar: 0.722; }
/* ink's mark: a gold topaz octahedron (founder's picks: gold topaz, then the octahedron; options on #/gems) */
.inkpill::before, .ink::before, i.gem { content: ''; width: calc(16px * var(--gem-ar, .625)); height: 16px; flex: none; display: inline-block; background: var(--gem) center / contain no-repeat; filter: drop-shadow(0 0 5px rgba(255,180,30,.5)); }
.inkpill::before { animation: glint 7s ease-in-out infinite; }
@keyframes glint { 0%, 90%, 100% { filter: drop-shadow(0 0 5px rgba(255,180,30,.5)); transform: none; } 94% { filter: brightness(1.6) drop-shadow(0 0 8px rgba(255,255,255,.9)); transform: scale(1.18) rotate(-6deg); } }
i.gem { width: calc(22px * var(--gem-ar, .625)); height: 22px; }
.ink { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font: 600 1em var(--mono); font-variant-numeric: tabular-nums; }
.ink::before { width: calc(1em * var(--gem-ar, .625)); height: 1em; }
.ink { gap: .32em; }
.me { position: relative; display: block; }
.orb { display: block; width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25), 0 0 18px -4px rgba(255,255,255,.25); }
.me .badge { position: absolute; top: -4px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #ff2e88; color: #fff; font: 700 11px/18px var(--sans); text-align: center; box-shadow: 0 0 0 2px var(--bg); }

main { max-width: 1360px; margin: 0 auto; padding: 0 28px 40px; min-height: 80vh; }
.page { animation: page .55s var(--ease); }
@keyframes page { from { opacity: 0; transform: translateY(12px); } }
.devnote { position: relative; z-index: 19; padding: 7px 16px; font-size: 12.5px; line-height: 1.4; text-align: center; color: #f3d9a4; background: rgba(120, 84, 20, .28); border-bottom: 1px solid rgba(240, 180, 80, .22); }
.devnote b { font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 10.5px; margin-right: 6px; padding: 2px 6px; border-radius: 6px; background: rgba(240, 180, 80, .2); color: #ffd98a; }
.devnote a { color: inherit; text-decoration: underline; text-underline-offset: 2px; margin-left: 4px; }
.devwarn { color: #f3d9a4; }
.foot { color: var(--dim2); font-size: 12.5px; text-align: center; padding: 40px 20px 50px; border-top: 1px solid var(--line); margin-top: 40px; }

/* ---------- type, buttons, chips ---------- */
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--dim); font: 600 12px var(--mono); text-transform: uppercase; letter-spacing: .12em; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff2e55; box-shadow: 0 0 0 0 rgba(255,46,85,.7); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(255,46,85,0); } 100% { box-shadow: 0 0 0 0 rgba(255,46,85,0); } }
.grad-text { background: var(--grad); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradmove 10s linear infinite; }
@keyframes gradmove { to { background-position: 300% 0; } }
.page-head { padding: 54px 0 26px; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; }
.page-head h1 { margin: 8px 0 0; font-size: clamp(38px, 5vw, 60px); line-height: 1; letter-spacing: -.05em; font-weight: 780; }
.page-head p { margin: 12px 0 0; color: var(--dim); max-width: 560px; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 64px 0 18px; }
.sec-head h2 { margin: 0; font-size: 26px; letter-spacing: -.035em; font-weight: 720; display: flex; align-items: center; gap: 12px; }
.sec-head a, .sec-head .aside { color: var(--dim); font-size: 14px; transition: color .2s; }
.sec-head a:hover { color: #fff; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 12px; font-weight: 620; font-size: 14.5px; letter-spacing: -.01em; cursor: pointer;
  background: rgba(255,255,255,.06); border: 1px solid var(--line2); color: #fff; transition: transform .18s var(--ease), background .2s, box-shadow .25s, opacity .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); background: rgba(255,255,255,.1); }
.btn:active { transform: translateY(0) scale(.98); }
.btn.primary { background: #fff; color: #07070a; border-color: #fff; box-shadow: 0 10px 34px -8px rgba(255,255,255,.35); }
.btn.primary:hover { box-shadow: 0 14px 40px -6px rgba(255,255,255,.45); }
.btn.glow { color: #fff; border: 0; background: var(--grad); background-size: 300% 100%; animation: gradmove 8s linear infinite; box-shadow: 0 12px 40px -10px rgba(155,93,229,.8); }
.btn.sm { height: 34px; padding: 0 13px; border-radius: 10px; font-size: 13px; }
.btn.danger { color: #ff7a8a; }
.btn:disabled { opacity: .35; pointer-events: none; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--dim); font-size: 13.5px; font-weight: 560; cursor: pointer; transition: all .2s; display: inline-flex; align-items: center; gap: 7px; }
.chip:hover { color: #fff; border-color: var(--line2); }
.chip.on { background: #fff; color: #07070a; border-color: #fff; }
.chip .n { opacity: .55; font-family: var(--mono); font-size: 11.5px; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 22px; }
.toolbar .grow { flex: 1; }
.field, select.field { height: 38px; padding: 0 14px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); color: var(--text); outline: none; transition: border-color .2s, background .2s; }
.field:focus { border-color: rgba(255,255,255,.35); background: var(--panel2); }
select.field { padding-right: 30px; appearance: none; background-image: linear-gradient(45deg, transparent 50%, #888 50%), linear-gradient(135deg, #888 50%, transparent 50%); background-position: calc(100% - 16px) 16px, calc(100% - 11px) 16px; background-size: 5px 5px; background-repeat: no-repeat; }
select.field option { background: #111; }
.seg { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.seg button { height: 32px; padding: 0 14px; border-radius: 9px; border: 0; background: none; color: var(--dim); cursor: pointer; font-weight: 580; font-size: 13.5px; transition: all .2s; }
.seg button.on { background: rgba(255,255,255,.12); color: #fff; }
.empty { padding: 60px 20px; text-align: center; color: var(--dim); border: 1px dashed var(--line2); border-radius: 18px; }
.empty b { display: block; color: #fff; font-size: 18px; margin-bottom: 6px; }

/* ---------- rarity heat ---------- */
.h0 { --hc: rgba(255,255,255,.4); --hg: rgba(255,255,255,.12); }
.h1 { --hc: #4cc9f0; --hg: rgba(76,201,240,.35); }
.h2 { --hc: #b388ff; --hg: rgba(179,136,255,.4); }
.h3 { --hc: #ffd23f; --hg: rgba(255,210,63,.45); }
.h4 { --hc: #ff6ad5; --hg: rgba(255,106,213,.5); }
.odds { display: inline-flex; align-items: center; gap: 6px; color: var(--hc); font: 650 11.5px var(--mono); letter-spacing: .01em; white-space: nowrap; }
.odds::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--hc); box-shadow: 0 0 8px var(--hc); }
.h4 .odds, .odds.h4 { background: var(--grad); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradmove 6s linear infinite; }
.h4 .odds::before, .odds.h4::before { background: #ff6ad5; }

/* ---------- cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.card { position: relative; border-radius: 18px; padding: 9px; cursor: pointer; isolation: isolate;
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02)); border: 1px solid var(--line);
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0));
  transition: transform .5s var(--ease), border-color .25s, box-shadow .35s;
  animation: rise .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 32ms); }
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(.97); } }
.card:hover { --ty: -4px; border-color: var(--line2); box-shadow: 0 24px 60px -18px rgba(0,0,0,.8), 0 0 50px -16px var(--hg); transition: transform .12s linear, border-color .25s, box-shadow .35s; }
.card.h3, .card.h4 { border-color: color-mix(in srgb, var(--hc) 35%, transparent); }
.card.h4::before { content: ''; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; padding: 1px;
  background: conic-gradient(from var(--a), #ff2e88, #9b5de5, #00bbf9, #00f5a0, #ffd23f, #ff2e88);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 4s linear infinite; }
@keyframes spin { to { --a: 360deg; } }
.card-art { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #000; }
.card-art img, .card-art canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.card-art img { opacity: 0; transition: opacity .5s ease, transform .6s var(--ease); }
.card-art img.ready { opacity: 1; }
.card:hover .card-art img { transform: scale(1.03); }
.card-art .skel { position: absolute; inset: 0; background: linear-gradient(110deg, #0d0d12 30%, #17171f 50%, #0d0d12 70%); background-size: 250% 100%; animation: skel 1.4s linear infinite; }
@keyframes skel { to { background-position: -250% 0; } }
.px { image-rendering: pixelated; }
.glare { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .3s; mix-blend-mode: overlay;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.55), transparent 50%); }
.card:hover .glare { opacity: 1; }
.fbadges { position: absolute; z-index: 4; top: 8px; left: 8px; right: 40px; display: flex; flex-wrap: wrap; gap: 4px; pointer-events: none; }
.fbadge { height: 22px; padding: 0 9px; border-radius: 999px; display: inline-flex; align-items: center;
  font: 700 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(8,8,12,.6); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.18); }
.fbadge.foil { background: linear-gradient(90deg, rgba(255,46,136,.6), rgba(0,187,249,.6)); }
.fbadge.blue { background: rgba(42,88,150,.8); }
.fbadge.mis { background: rgba(200,30,60,.75); }
.count { position: absolute; z-index: 4; top: 8px; right: 8px; height: 22px; padding: 0 8px; border-radius: 999px; display: inline-flex; align-items: center; font: 700 11px var(--mono); background: rgba(8,8,12,.65); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.18); }
.card-body { padding: 11px 5px 4px; }
.card-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card-title { font-weight: 650; font-size: 15px; letter-spacing: -.015em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; }
.card-sub { margin-top: 3px; color: var(--dim); font-size: 12.5px; }
.card-sub .ed { font-family: var(--mono); font-size: 11.5px; }
.card-foot { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card-foot .who { color: var(--dim); font-size: 12px; display: flex; align-items: center; gap: 6px; min-width: 0; white-space: nowrap; overflow: hidden; }
.card-foot .who .orb { width: 16px; height: 16px; flex: none; }
.price { font-weight: 700; font-size: 15px; }
.card.sel { border-color: #fff; box-shadow: 0 0 0 2px #fff, 0 20px 50px -20px rgba(255,255,255,.4); }
.card.sel::after { content: '✓'; position: absolute; z-index: 5; top: 16px; right: 16px; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: #000; display: grid; place-items: center; font-weight: 800; font-size: 14px; }

/* ---------- home ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; padding: 56px 0 10px; }
.hero h1 { margin: 18px 0 0; font-size: clamp(54px, 8vw, 116px); line-height: .9; letter-spacing: -.065em; font-weight: 820; }
.hero p.lead { margin: 26px 0 0; color: #b6b6c4; font-size: 19px; max-width: 470px; line-height: 1.5; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero .cta .btn { height: 52px; padding: 0 26px; font-size: 15.5px; border-radius: 14px; }
.stats { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 48px; }
.stat b { display: block; font-size: 28px; letter-spacing: -.04em; font-weight: 740; font-variant-numeric: tabular-nums; }
.stat span { color: var(--dim); font-size: 13px; }
.showpiece { position: relative; }
.showpiece .glow { position: absolute; inset: 0; z-index: 0; filter: blur(60px) saturate(2); opacity: .95; transform: scale(1.12); }
.showpiece .glow canvas { width: 100%; height: 100%; display: block; }
.frame { position: relative; z-index: 1; border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 50px 120px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.1); }
.frame canvas { display: block; width: 100%; aspect-ratio: 1; }
.home .showpiece .frame { animation: float 9s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px) rotate(-.4deg); } }
.frame.swap canvas { animation: swap .9s var(--ease); }
@keyframes swap { from { opacity: 0; transform: scale(1.04); filter: blur(10px); } }
.showmeta { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 14px;
  background: rgba(8,8,12,.55); backdrop-filter: blur(16px) saturate(1.4); border: 1px solid rgba(255,255,255,.12); cursor: pointer; transition: background .2s; }
.showmeta:hover { background: rgba(8,8,12,.7); }
.showmeta b { display: block; font-size: 16px; letter-spacing: -.02em; }
.showmeta span { color: #bbb; font-size: 12.5px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 28px; align-items: start; }
.panel { border-radius: 20px; background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)); border: 1px solid var(--line); padding: 8px; }
.live { display: flex; flex-direction: column; }
.live-row { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 13px; cursor: pointer; transition: background .2s; }
.live-row:hover { background: rgba(255,255,255,.05); }
.live-row.enter { animation: enter .9s var(--ease); }
@keyframes enter { from { opacity: 0; transform: translateX(-14px); background: rgba(255,255,255,.12); } }
.live-row .thumb { width: 46px; height: 46px; border-radius: 10px; overflow: hidden; background: #000; position: relative; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.live-row .thumb img { width: 100%; height: 100%; display: block; object-fit: cover; opacity: 0; transition: opacity .4s; }
.live-row .thumb img.ready { opacity: 1; }
.live-row .txt { font-size: 13.5px; line-height: 1.4; color: #b9b9c6; min-width: 0; }
.live-row .txt b { color: #fff; font-weight: 620; }
.live-row .txt .odds { display: flex; margin-top: 2px; }
.live-row .t { color: var(--dim2); font: 11.5px var(--mono); white-space: nowrap; }
.live.big .live-row { grid-template-columns: 56px minmax(0, 1fr) auto; padding: 12px 14px; }
.live.big .thumb { width: 56px; height: 56px; }
.row-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 240px); gap: 18px; overflow-x: auto; padding: 6px 4px 18px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #333 transparent; }
.row-scroll > * { scroll-snap-align: start; }

/* ---------- drops ---------- */
.drops { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 20px; }
.drop { position: relative; min-height: 440px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; isolation: isolate; animation: rise .8s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms); }
.drop .mosaic { position: absolute; inset: 0; z-index: -2; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; transform: scale(1.06) rotate(-2deg); transition: transform 1.2s var(--ease); }
.drop .mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity .6s; }
.drop .mosaic img.ready { opacity: 1; }
.drop:hover .mosaic { transform: scale(1.12) rotate(-1deg); }
.drop::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,6,8,.15) 0%, rgba(6,6,8,.6) 45%, rgba(6,6,8,.96) 78%); }
.drop .tag { position: absolute; top: 20px; left: 20px; display: flex; gap: 8px; }
.pilltag { height: 26px; padding: 0 11px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; font: 700 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; background: rgba(8,8,12,.55); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.18); }
.pilltag.new { background: #fff; color: #000; border-color: #fff; }
/* the next drop before its art is in: one tile per flavor */
.drop.soon .mosaic { grid-template-columns: repeat(3, 1fr); }
.drop.soon .fl { display: grid; place-items: center; font: 800 64px var(--mono); color: rgba(255,255,255,.85); }
.drop.soon .fl-a { background: linear-gradient(135deg, #ff5f6d, #ffc371); } .drop.soon .fl-b { background: linear-gradient(135deg, #36d1dc, #5b86e5); }
.drop.soon .fl-c { background: linear-gradient(135deg, #a8e063, #56ab2f); } .drop.soon .fl-d { background: linear-gradient(135deg, #c471f5, #fa71cd); }
.drop.soon .fl-e { background: linear-gradient(135deg, #f7971e, #ffd200); } .drop.soon .fl-f { background: linear-gradient(135deg, #43cea2, #185a9d); }
.drop.soon p a { color: #fff; }
.drop h3 { margin: 4px 0 6px; font-size: 40px; letter-spacing: -.05em; line-height: 1; font-weight: 780; }
.drop p { margin: 0 0 18px; color: #b9b9c6; font-size: 14px; }
.meter { height: 6px; border-radius: 99px; background: rgba(255,255,255,.1); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: inherit; background: var(--grad); background-size: 300% 100%; animation: gradmove 8s linear infinite; }
.meter-row { display: flex; justify-content: space-between; margin: 8px 0 18px; color: var(--dim); font: 12px var(--mono); }
.daily { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding: 18px 22px; border-radius: 18px; margin-bottom: 22px;
  background: linear-gradient(90deg, rgba(255,210,63,.09), rgba(255,46,136,.06) 60%, transparent); border: 1px solid rgba(255,210,63,.2); }
.daily b { font-size: 17px; letter-spacing: -.02em; }
.daily .grow { flex: 1; color: var(--dim); font-size: 14px; }
.how { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.how > div { padding: 18px 20px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); color: var(--dim); font-size: 14px; }
.how b { display: block; color: #fff; font-size: 15.5px; margin-bottom: 6px; letter-spacing: -.01em; }
.how .odds { margin-right: 6px; }

/* ---------- overlay (print detail, trades) ---------- */
.ov { position: fixed; inset: 0; z-index: 40; overflow-y: auto; background: rgba(4,4,6,.82); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.ov.open { opacity: 1; pointer-events: auto; }
.ov-box { position: relative; max-width: 1240px; margin: 0 auto; padding: 44px 32px 60px; transform: translateY(16px) scale(.985); transition: transform .45s var(--ease); }
.ov.open .ov-box { transform: none; }
.x { position: fixed; top: 18px; right: 22px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line2); background: rgba(255,255,255,.06); color: #fff; font-size: 18px; cursor: pointer; transition: transform .2s, background .2s; }
.x:hover { transform: rotate(90deg); background: rgba(255,255,255,.12); }
.pd { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(330px, .9fr); gap: 52px; align-items: center; }
.pd-info .kicker { margin-bottom: 10px; }
.pd-info h2 { margin: 0; font-size: clamp(38px, 4.4vw, 58px); line-height: 1; letter-spacing: -.055em; font-weight: 790; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 24px 0 12px; }
.fact { padding: 12px 14px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.fact > span:first-child { display: block; color: var(--dim); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.fact b { display: block; margin-top: 3px; font-size: 16px; letter-spacing: -.02em; }
.fact .odds { font-size: 14px; margin-top: 5px; }
.why { color: var(--dim); font-size: 13px; margin: 0 0 20px; }
.recipe { color: #b9b9c6; font-size: 15px; margin: 16px 0 18px; }
.owner { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); margin-bottom: 14px; }
.owner .orb { width: 40px; height: 40px; }
.owner .who { flex: 1; min-width: 0; }
.owner .who span, .owner .ask span { display: block; color: var(--dim); font-size: 12px; }
.owner .who a { font-weight: 640; }
.owner .who a:hover { text-decoration: underline; }
.owner .ask { text-align: right; }
.owner .ask .ink { font-size: 20px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.actions .field { width: 120px; height: 44px; font-family: var(--mono); }
.note { color: var(--dim); font-size: 13px; min-height: 20px; margin-top: 10px; }
.hash { font: 11.5px/1.5 var(--mono); color: var(--dim2); word-break: break-all; margin-top: 16px; }
.timeline { list-style: none; margin: 14px 0 0 6px; padding: 0 0 0 18px; border-left: 1px solid var(--line2); }
.timeline li { position: relative; padding: 0 0 14px 6px; font-size: 13.5px; color: #c7c7d2; }
.timeline li::before { content: ''; position: absolute; left: -25px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 2px solid var(--hc, #fff); }
.timeline li span { color: var(--dim2); font: 11.5px var(--mono); margin-left: 8px; }
.timeline a { color: #fff; font-weight: 600; }
.subhead { margin: 26px 0 0; font-size: 13px; color: var(--dim); text-transform: uppercase; letter-spacing: .1em; font-weight: 650; }
.tradebar { position: sticky; top: 0; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 14px 16px; margin: 18px 0; border-radius: 16px; background: rgba(14,14,18,.9); backdrop-filter: blur(12px); border: 1px solid var(--line); }
.tradebar .grow { flex: 1; color: var(--dim); }

/* ---------- pack opening stage ---------- */
.stage { position: fixed; inset: 0; z-index: 50; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 26px; overflow: hidden;
  background: radial-gradient(60% 55% at 50% 45%, #1b1030 0%, #0a0812 45%, #040406 80%); }
.stage.open { display: flex; animation: page .4s ease both; }
.stage .rays { position: absolute; inset: -50%; z-index: 0; opacity: .3; background: repeating-conic-gradient(from 0deg, rgba(255,255,255,.07) 0 6deg, transparent 6deg 18deg); animation: rays 50s linear infinite;
  -webkit-mask: radial-gradient(circle, #000 0, transparent 50%); mask: radial-gradient(circle, #000 0, transparent 50%); }
@keyframes rays { to { transform: rotate(360deg); } }
.stage > * { position: relative; z-index: 1; }
.stage > .x { position: absolute; z-index: 3; }
.stage .title { text-align: center; }
.stage .title h2 { margin: 6px 0 0; font-size: 34px; letter-spacing: -.045em; font-weight: 780; }
.pack { position: relative; width: 250px; height: 360px; border-radius: 20px; cursor: pointer; overflow: hidden;
  box-shadow: 0 40px 100px -20px rgba(0,0,0,.9), 0 0 90px -20px rgba(155,93,229,.7), inset 0 0 0 1px rgba(255,255,255,.25); animation: bob 3s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-12px) rotate(1.5deg); } }
.pack .skin { position: absolute; inset: 0; background-size: cover; background-position: center; image-rendering: pixelated; }
.pack .skin::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(0,0,0,.2), rgba(0,0,0,.65)); }
.pack .shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.6) 45%, transparent 60%); background-size: 250% 100%; animation: shine 2.6s ease-in-out infinite; mix-blend-mode: overlay; }
@keyframes shine { from { background-position: 150% 0; } to { background-position: -100% 0; } }
.pack .crimp { position: absolute; left: 0; right: 0; height: 18px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.4) 0 4px, rgba(255,255,255,.08) 4px 8px); }
.pack .crimp.t { top: 0; } .pack .crimp.b { bottom: 0; }
.pack .label { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.7); }
.pack .label b { display: block; font-size: 50px; letter-spacing: -.065em; font-weight: 830; }
.pack .label span { font: 700 12px var(--mono); letter-spacing: .18em; text-transform: uppercase; }
.pack.shake { animation: shake .55s cubic-bezier(.36,.07,.19,.97) both; }
@keyframes shake { 10%, 90% { transform: translateX(-2px) rotate(-1deg); } 20%, 80% { transform: translateX(4px) rotate(2deg); } 30%, 50%, 70% { transform: translateX(-7px) rotate(-3deg); } 40%, 60% { transform: translateX(7px) rotate(3deg); } }
.pack.gone { animation: gone .55s var(--ease) forwards; }
@keyframes gone { 30% { transform: scale(1.08); filter: brightness(2); } to { transform: scale(.4); opacity: 0; filter: blur(8px) brightness(3); } }
.flash { position: absolute !important; inset: 0; z-index: 2 !important; background: #fff; pointer-events: none; animation: flash .6s ease-out forwards; }
@keyframes flash { from { opacity: .7; } to { opacity: 0; } }
.hint { color: var(--dim); font: 600 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .4; } }
.deal { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; perspective: 1400px; max-width: 1240px; padding: 0 20px; }
.flip { position: relative; width: 214px; height: 300px; cursor: pointer; animation: dealin .8s var(--ease) both; animation-delay: calc(var(--i) * 110ms); }
@keyframes dealin { from { opacity: 0; transform: translateY(170px) rotate(calc(var(--r) * 1deg)) scale(.5); } }
.flip .inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .8s var(--ease); }
.flip.open .inner { transform: rotateY(180deg); }
.flip:not(.open):hover .inner { transform: translateY(-8px) rotateX(6deg); }
.flip .back, .flip .front { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 18px; }
.flip .back { overflow: hidden; background: #0b0b10 center/cover; image-rendering: pixelated; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 20px 50px -20px #000; }
.flip .back::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.28) 50%, transparent 65%); background-size: 250% 100%; animation: shine 3s ease-in-out infinite; }
.flip .front { transform: rotateY(180deg); }
.flip .front .card { height: 100%; animation: none; }
.flip.tease .back { box-shadow: inset 0 0 0 2px var(--hc), 0 0 46px 4px var(--hg); animation: tease 1.3s ease-in-out infinite; }
@keyframes tease { 50% { box-shadow: inset 0 0 0 2px var(--hc), 0 0 14px 0 var(--hg); } }
.burst { position: absolute; left: 50%; top: 45%; width: 0; height: 0; z-index: 5; pointer-events: none; }
.burst .ring { position: absolute; left: -150px; top: -150px; width: 300px; height: 300px; border-radius: 50%; border: 3px solid var(--hc); box-shadow: 0 0 60px var(--hc), inset 0 0 60px var(--hc); animation: ring .9s ease-out forwards; }
@keyframes ring { from { transform: scale(.2); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.burst i { position: absolute; width: 7px; height: 7px; border-radius: 2px; background: var(--hc); box-shadow: 0 0 10px var(--hc); animation: spark 1.1s var(--ease) forwards; }
@keyframes spark { to { transform: translate(var(--dx), var(--dy)) rotate(220deg) scale(.3); opacity: 0; } }
.stage .after { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; min-height: 52px; }

/* ---------- inventory, profile ---------- */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 28px; }
.kpi { padding: 16px 18px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); animation: rise .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); }
.kpi > span:first-child { color: var(--dim); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.kpi b { display: block; margin-top: 4px; font-size: 26px; letter-spacing: -.04em; font-weight: 740; font-variant-numeric: tabular-nums; }
.kpi .odds { font-size: 16px; margin-top: 9px; }
.fam { margin-bottom: 30px; }
.fam-head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 12px; }
.fam-head b { font-size: 17px; letter-spacing: -.02em; }
.fam-head .meter { width: 160px; }
.fam-head .done { color: var(--ink); font: 700 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.series-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.series-grid .card .card-body { padding: 9px 3px 2px; }
.series-grid .card-title { font-size: 13.5px; }
.slot { border-radius: 18px; border: 1px dashed var(--line2); display: flex; flex-direction: column; justify-content: flex-end; padding: 12px; min-height: 100%; aspect-ratio: .82; color: var(--dim2); font-size: 12px; background: repeating-linear-gradient(135deg, rgba(255,255,255,.018) 0 10px, transparent 10px 20px); }
.slot b { color: var(--dim); font-weight: 600; font-size: 13.5px; }
.banner { position: relative; height: 230px; margin: 26px 0 0; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); background: #111; }
.banner img { position: absolute; inset: -20%; width: 140%; height: 140%; object-fit: cover; filter: blur(34px) saturate(2.2) brightness(1.1); opacity: .9; }
.banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(6,6,8,.85)); }
.prof { position: relative; display: flex; flex-wrap: wrap; align-items: end; gap: 22px; margin: -70px 0 10px; padding: 0 26px; z-index: 1; }
.prof .orb { width: 112px; height: 112px; box-shadow: 0 0 0 5px var(--bg), 0 20px 50px -10px rgba(0,0,0,.8); }
.prof h1 { margin: 0; font-size: 42px; letter-spacing: -.05em; font-weight: 790; line-height: 1.05; }
.prof .sub { color: var(--dim); font-size: 14px; }
.prof .grow { flex: 1; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.badges span { height: 24px; padding: 0 10px; border-radius: 999px; display: inline-flex; align-items: center; font: 700 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); border: 1px solid rgba(255,210,63,.35); background: rgba(255,210,63,.06); }
.offer { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 14px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); margin-bottom: 12px; animation: rise .5s var(--ease) both; }
.offer .side { display: flex; gap: 10px; }
.offer .card { width: 130px; animation: none; }
.offer .card .card-body { padding: 8px 2px 2px; }
.offer .card .card-sub { display: none; }
.offer .arrow { font-size: 22px; color: var(--dim); }
.offer .grow { flex: 1; }
.offer .from { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.offer .from .orb { width: 26px; height: 26px; }

/* ---------- onboarding ---------- */
.onb { min-height: calc(100vh - 160px); display: grid; place-items: center; text-align: center; padding: 30px 0; }
.onb .orb { width: 140px; height: 140px; margin: 34px auto 18px; transition: background 1s; animation: float 6s ease-in-out infinite; box-shadow: 0 30px 80px -20px rgba(155,93,229,.7), inset 0 0 0 1px rgba(255,255,255,.3); }
.onb h1 { margin: 16px 0 0; font-size: clamp(56px, 9vw, 120px); letter-spacing: -.07em; line-height: .9; font-weight: 830; }
.onb p { color: #b6b6c4; max-width: 520px; margin: 22px auto 0; font-size: 17px; }
.onb .row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 16px; }
.onb .field { width: 240px; height: 50px; font-size: 16px; text-align: center; }
.onb .btn { height: 50px; }

/* ---------- toasts ---------- */
.toasts { position: fixed; left: 50%; bottom: 22px; z-index: 60; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 16px; font-size: 14px; max-width: min(520px, 92vw);
  background: rgba(20,20,26,.85); backdrop-filter: blur(18px) saturate(1.4); border: 1px solid var(--line2); box-shadow: 0 20px 50px -10px rgba(0,0,0,.7); animation: tin .5s var(--ease); }
.toast.out { animation: tout .35s ease forwards; }
.toast .ti { width: 38px; height: 38px; flex: none; border-radius: 10px; overflow: hidden; background: rgba(255,255,255,.08); display: grid; place-items: center; font-size: 17px; }
.toast .ti img { width: 100%; height: 100%; object-fit: cover; }
.toast a { font-weight: 640; color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); }
@keyframes tin { from { opacity: 0; transform: translateY(16px) scale(.96); } }
@keyframes tout { to { opacity: 0; transform: translateY(10px); } }

@media (max-width: 1000px) {
  .hero, .pd, .split { grid-template-columns: 1fr; }
  .hero { gap: 30px; padding-top: 36px; }
  .top { grid-template-columns: auto 1fr auto; padding: 0 14px; gap: 10px; }
  nav { justify-self: center; overflow-x: auto; max-width: 100%; }
  nav a { padding: 7px 12px; }
}
@media (max-width: 640px) {
  main { padding: 0 14px 30px; }
  .inkpill { padding: 0 9px; font-size: 12px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .flip { width: 150px; height: 214px; }
  .card-title { font-size: 13.5px; }
  .drops { grid-template-columns: 1fr; }
  .ov-box { padding: 70px 14px 40px; }
  .stats { gap: 22px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* card back and pack wrapper */
.flip .back { background:
  radial-gradient(70% 50% at 50% 38%, rgba(155,93,229,.38), transparent 70%),
  radial-gradient(60% 40% at 50% 100%, rgba(0,187,249,.22), transparent 70%),
  repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 14px),
  repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 14px), #0c0b14; }
.cb { position: absolute; inset: 10px; border-radius: 12px; border: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.cb .mark { width: 30px; height: 30px; gap: 3px; }
.cb b { font-size: 26px; font-weight: 800; letter-spacing: -.06em; color: #fff; }
.pack .skin { background: linear-gradient(160deg, #ff2e88 0%, #9b5de5 45%, #00bbf9 100%); }
.pack.d1 .skin { background: linear-gradient(160deg, #ff7a1a 0%, #ff2e55 50%, #7a04eb 100%); }
.pack.d2 .skin { background: linear-gradient(160deg, #00f5a0 0%, #00bbf9 50%, #3a0ca3 100%); }
.pack .skin::after { background: radial-gradient(circle at 50% 45%, rgba(255,255,255,.18), transparent 60%); }
.pack .grain { position: absolute; inset: 0; opacity: .35; mix-blend-mode: overlay; background: repeating-linear-gradient(0deg, rgba(0,0,0,.25) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(255,255,255,.12) 0 1px, transparent 1px 3px); }
.pack .label { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pack .label .mark { width: 34px; height: 34px; gap: 3px; margin-bottom: 4px; filter: drop-shadow(0 4px 10px rgba(0,0,0,.3)); }
.pack .label .mark i { background: #fff !important; animation: none; opacity: .95; }
.pack .label .n { opacity: .75; font-size: 11px; }

/* phones: the nav becomes a bottom tab bar */
nav { scrollbar-width: none; }
nav::-webkit-scrollbar { display: none; }
@media (max-width: 640px) {
  .top { grid-template-columns: 1fr auto; height: 58px; backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(6,6,8,.95); }
  .brand { font-size: 21px; gap: 8px; }
  nav { position: fixed; left: 10px; right: 10px; width: calc(100vw - 20px); justify-self: auto; bottom: max(10px, env(safe-area-inset-bottom)); z-index: 30; max-width: none; overflow: visible;
    justify-content: space-between; padding: 5px; border-radius: 20px; background: rgba(16,16,22,.86); backdrop-filter: blur(22px) saturate(1.5); -webkit-backdrop-filter: blur(22px) saturate(1.5); border-color: var(--line2); box-shadow: 0 16px 40px -10px rgba(0,0,0,.8); }
  nav a { flex: 1; text-align: center; padding: 11px 0; font-size: 13.5px; border-radius: 15px; }
  .nav-pill { border-radius: 15px; top: 5px; bottom: 5px; }
  body { padding-bottom: 76px; }
  .toasts { bottom: 86px; }
  .kpis { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kpi b { font-size: 22px; }
  .daily { flex-direction: column; align-items: stretch; gap: 8px; }
  .page-head { padding: 34px 0 20px; }
  .toolbar .field { flex: 1; min-width: 0; }
  .toolbar .grow { display: none; }
  .hero h1 { font-size: 64px; }
  .drop { min-height: 380px; padding: 20px; }
  .prof { padding: 0 6px; }
  .prof h1 { font-size: 32px; }
  .offer .card { width: 104px; }
}
.offer .card .card-row { flex-direction: column; align-items: flex-start; gap: 2px; }
.offer .card .card-title { max-width: 100%; font-size: 13px; }

/* traits */
.s-scanline .card-art::after, .frame.s-scanline::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.38) 0 1px, transparent 1px 3px), radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,.45)); }
.fbadge.blueprint { background: rgba(42,88,150,.85); }
.fbadge.misprint { background: rgba(200,30,60,.8); }
.fbadge.gold { background: linear-gradient(90deg, #8a6a00, #ffd23f); color: #1a1200; }
.fbadge.inverted { background: rgba(255,255,255,.9); color: #000; }
.fbadge.frozen { background: rgba(120,200,255,.8); color: #00131f; }
.fbadge.scanline { background: rgba(0,245,160,.25); }
.traits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 12px; }
.trait { padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.025); border: 1px solid var(--line); min-width: 0; }
.trait span { display: block; color: var(--dim2); font-size: 10.5px; text-transform: uppercase; letter-spacing: .09em; font-weight: 650; }
.trait b { display: block; font-size: 14px; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trait i { font-style: normal; font: 600 11.5px var(--mono); color: var(--dim); }
.trait.sp { border-color: color-mix(in srgb, var(--hc) 45%, transparent); background: color-mix(in srgb, var(--hc) 8%, transparent); }
.trait.sp i { color: var(--hc); }
@media (max-width: 640px) { .traits { grid-template-columns: 1fr 1fr; } }

/* ---------- likes ---------- */
.like { position: absolute; z-index: 5; right: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px 0 8px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.18); background: rgba(8,8,12,.55); backdrop-filter: blur(10px); color: #fff; font: 650 12px var(--mono); opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s, background .2s; }
.card:hover .like, .like.on, .like:focus-visible { opacity: 1; transform: none; }
.like svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 2; transition: fill .2s, stroke .2s; }
.like.on svg { fill: #ff2e88; stroke: #ff2e88; }
.like.on { background: rgba(255,46,136,.18); border-color: rgba(255,46,136,.5); }
.like.pop svg { animation: heart .45s var(--ease); }
@keyframes heart { 30% { transform: scale(1.5); } 60% { transform: scale(.9); } }
.like.big { position: static; opacity: 1; transform: none; height: 38px; padding: 0 14px 0 12px; font-size: 13.5px; }
.like.big svg { width: 17px; height: 17px; }
@media (hover: none) { .like { opacity: 1; transform: none; } }
.pd-title { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.pd-tools { display: flex; gap: 8px; align-items: center; }
.pd-info .kicker a:hover { color: #fff; text-decoration: underline; }

/* ---------- export ---------- */
.exp { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 10px 0 0; }
.expbar { flex: 1; min-width: 120px; height: 6px; border-radius: 99px; background: rgba(255,255,255,.1); overflow: hidden; }
.expbar i { display: block; height: 100%; width: 0; background: var(--grad); background-size: 300% 100%; animation: gradmove 3s linear infinite; transition: width .2s; }
.exptxt { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.expprev { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; box-shadow: 0 0 0 1px var(--line2); image-rendering: pixelated; }

/* ---------- drops: daily card and infinite tiles ---------- */
.dailycard { display: grid; grid-template-columns: 260px 1fr; gap: 26px; align-items: center; padding: 16px; margin-bottom: 10px; border-radius: 24px; border: 1px solid rgba(255,106,213,.35);
  background: radial-gradient(80% 120% at 0% 50%, rgba(255,46,136,.16), transparent 60%), linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); transition: transform .3s var(--ease), box-shadow .3s; animation: rise .7s var(--ease) both; }
.dailycard:hover { transform: translateY(-3px); box-shadow: 0 30px 70px -30px rgba(255,46,136,.6); }
.dc-art { aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: #000; position: relative; box-shadow: 0 20px 50px -20px #000; }
.dc-art img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity .5s; }
.dc-art img.ready { opacity: 1; }
.dc-info h3 { margin: 8px 0 6px; font-size: 34px; letter-spacing: -.045em; font-weight: 780; line-height: 1.05; }
.dc-info p { margin: 0 0 18px; color: #b9b9c6; }
.dc-row { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.dc-row span { display: block; color: var(--dim); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.dc-row b { font-size: 24px; letter-spacing: -.02em; }
.dc-row .btn { margin-left: auto; }
.series-grid.inf { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.inftile { border-radius: 16px; padding: 8px; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; animation: rise .6s var(--ease) both; animation-delay: calc(var(--i) * 25ms); transition: border-color .2s, transform .2s; }
.inftile:hover { border-color: var(--line2); transform: translateY(-2px); }
.inftile .ia { position: relative; display: block; aspect-ratio: 1; border-radius: 11px; overflow: hidden; background: #000; }
.inftile .ia img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity .5s, transform .6s var(--ease); }
.inftile .ia img.ready { opacity: 1; }
.inftile:hover .ia img { transform: scale(1.05); }
.inftile .ib { padding: 0 4px; min-width: 0; }
.inftile .ib b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inftile .ib span { font-size: 12px; }

/* ---------- market: collections table ---------- */
.ctable { display: flex; flex-direction: column; gap: 4px; }
.crow { display: grid; grid-template-columns: 40px minmax(220px, 2.4fr) repeat(6, minmax(70px, 1fr)); gap: 14px; align-items: center; padding: 10px 14px; border-radius: 14px; transition: background .2s; animation: rise .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 18ms); }
.crow:not(.head):hover { background: rgba(255,255,255,.05); }
.crow.head { color: var(--dim2); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; font-weight: 650; border-bottom: 1px solid var(--line); border-radius: 0; animation: none; }
.crow .rk { color: var(--dim2); font: 600 13px var(--mono); }
.crow .num { text-align: right; font-variant-numeric: tabular-nums; font-size: 14px; }
.cname { display: flex; align-items: center; gap: 14px; min-width: 0; }
.cname .cn { min-width: 0; }
.cname b { display: block; font-size: 15px; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cname small { display: flex; align-items: center; gap: 8px; color: var(--dim); font-size: 12px; }
.cthumb { width: 48px; height: 48px; flex: none; border-radius: 12px; overflow: hidden; background: #000; position: relative; box-shadow: 0 0 0 1px var(--line); display: block; }
.cthumb img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity .4s; }
.cthumb img.ready { opacity: 1; }
.cthumb.big { width: 120px; height: 120px; border-radius: 22px; box-shadow: 0 0 0 4px var(--bg), 0 20px 50px -10px rgba(0,0,0,.9); }
.kpill { display: inline-flex; align-items: center; height: 19px; padding: 0 7px; border-radius: 6px; font: 700 10px var(--mono); letter-spacing: .06em; text-transform: uppercase; background: rgba(255,255,255,.08); color: #ddd; }
.kpill.limited { background: rgba(76,201,240,.14); color: #4cc9f0; }
.kpill.infinite { background: rgba(0,245,160,.12); color: #00f5a0; }
.kpill.daily { background: rgba(255,106,213,.15); color: #ff6ad5; }
.btn.more { align-self: center; margin-top: 14px; }

/* ---------- collection page ---------- */
.chead { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 22px; margin: -60px 0 0; padding: 0 22px; }
.chead h1 { margin: 6px 0 4px; font-size: clamp(34px, 4.5vw, 52px); letter-spacing: -.05em; line-height: 1; font-weight: 790; }
.chead .grow { flex: 1; min-width: 240px; }
.cdesc { margin: 6px 0 0; color: #b0b0bd; max-width: 680px; font-size: 14.5px; }
.ccta { padding-bottom: 6px; }
.cstats { display: flex; flex-wrap: wrap; gap: 10px 34px; margin: 26px 0 22px; padding: 18px 22px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); }
.cstats span { display: block; color: var(--dim); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.cstats b { font-size: 20px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.cstats b span { display: inline-flex; font-size: inherit; text-transform: none; letter-spacing: 0; }
.ctabs { margin-bottom: 20px; }
.cbody { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 26px; align-items: start; }
.filters { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 18px; }
.fgroup h4 { margin: 0 0 8px; color: var(--dim); font-size: 11.5px; text-transform: uppercase; letter-spacing: .09em; }
.fopt { display: grid; grid-template-columns: 1fr auto 46px; gap: 8px; align-items: center; width: 100%; padding: 7px 10px; border-radius: 10px; border: 1px solid transparent; background: none; color: #ddd; font-size: 13.5px; cursor: pointer; text-align: left; transition: background .15s; }
.fopt:hover { background: rgba(255,255,255,.05); }
.fopt.on { background: rgba(255,255,255,.1); border-color: var(--line2); color: #fff; }
.fopt i { font-style: normal; font: 11px var(--mono); color: var(--dim2); text-align: right; }
.chartbox { padding: 16px 18px 6px; margin-bottom: 14px; }
.chart-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; font-size: 14px; }
.chart { width: 100%; height: 220px; display: block; }
.chart .grid { stroke: rgba(255,255,255,.07); stroke-dasharray: 3 5; }
.chart .dot { fill: #fff; stroke: #9b5de5; stroke-width: 2; }
.chart .lbl { fill: #6c6c7a; font: 11px var(--mono); }
.acts { padding: 6px; }
.act { display: grid; grid-template-columns: 74px 40px minmax(0, 1.4fr) 90px minmax(0, 1.2fr) 44px; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 12px; cursor: pointer; font-size: 13.5px; }
.act:hover { background: rgba(255,255,255,.05); }
.act .thumb { width: 40px; height: 40px; border-radius: 9px; overflow: hidden; background: #000; }
.act .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.act .an { min-width: 0; display: flex; flex-direction: column; }
.act .an b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 620; }
.act .num { text-align: right; }
.act .t { color: var(--dim2); font: 11.5px var(--mono); text-align: right; }
.evt { font: 700 10.5px var(--mono); text-transform: uppercase; letter-spacing: .07em; color: var(--dim); }
.evt.bought { color: #00f5a0; } .evt.won { color: #ff6ad5; } .evt.listed { color: #ffd23f; } .evt.minted, .evt.pulled { color: #4cc9f0; }

/* ---------- auction ---------- */
.bidbox { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 14px; }
.bidbox > div { padding: 14px 16px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.bidbox > div > span { display: block; color: var(--dim); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.bidbox b { display: block; margin: 4px 0 2px; font-size: 28px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.bidbox small { color: var(--dim); font-size: 12.5px; }
.auction .actions .field { width: 150px; }

@media (max-width: 1000px) {
  .cbody { grid-template-columns: 1fr; }
  .filters { position: static; flex-direction: row; flex-wrap: wrap; }
  .fgroup { min-width: 180px; flex: 1; }
  .dailycard { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .crow { grid-template-columns: 26px minmax(0, 2fr) repeat(3, minmax(56px, 1fr)); gap: 8px; padding: 9px 6px; }
  .hide-sm { display: none !important; }
  .act { grid-template-columns: 58px 36px minmax(0, 1fr) 70px 36px; }
  .cthumb { width: 40px; height: 40px; }
  nav a { font-size: 12.5px; padding: 11px 0; }
}
.bidbox small b { display: inline; font-size: inherit; margin: 0; letter-spacing: 0; color: #fff; }

/* ---------- header: create ---------- */
.top .right { justify-self: end; display: flex; align-items: center; gap: 12px; }
.top .wallet { justify-self: auto; }
.createbtn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; font-weight: 620; font-size: 13.5px; color: #fff;
  border: 1px solid rgba(255,255,255,.18); background: linear-gradient(135deg, rgba(255,46,136,.22), rgba(0,187,249,.18)); transition: transform .2s var(--ease), box-shadow .25s; }
.createbtn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -10px rgba(155,93,229,.8); }
.createbtn span { font-size: 17px; line-height: 1; }
iframe.runner { position: fixed; left: 0; bottom: 0; width: 2px; height: 2px; border: 0; opacity: 0; pointer-events: none; }

/* ---------- create ---------- */
.studio { display: flex; flex-direction: column; gap: 14px; }
.step { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 18px; padding: 22px 24px; border-radius: 20px; background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)); border: 1px solid var(--line); animation: rise .6s var(--ease) both; }
.sn { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 700 14px var(--mono); background: rgba(255,255,255,.08); border: 1px solid var(--line2); }
.sb h3 { margin: 4px 0 12px; font-size: 20px; letter-spacing: -.03em; }
.sb label { display: block; margin-bottom: 12px; color: var(--dim); font-size: 12.5px; font-weight: 600; letter-spacing: .02em; }
.sb label .field { display: block; width: 100%; margin-top: 6px; font-size: 14.5px; color: var(--text); }
.sb textarea.field { height: auto; padding: 10px 14px; resize: vertical; font: inherit; font-size: 14.5px; }
.sb .seg { margin-bottom: 14px; }
.row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.check { display: flex !important; align-items: center; gap: 10px; color: #ddd !important; font-size: 14.5px !important; font-weight: 500 !important; }
.check input { width: 18px; height: 18px; accent-color: #9b5de5; }
.small { font-size: 12.5px; }
.codewrap { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 14px; align-items: start; }
.code { width: 100%; min-height: 380px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line2); background: #0a0a10; color: #d9e1ff; font: 12.5px/1.6 var(--mono); tab-size: 2; resize: vertical; outline: none; }
.code:focus { border-color: rgba(155,93,229,.6); }
.pv { border-radius: 14px; overflow: hidden; border: 1px solid var(--line2); background: #000; }
.pvc { display: block; width: 100%; aspect-ratio: 1; }
.pvbar { display: flex; align-items: center; gap: 10px; padding: 8px; background: rgba(255,255,255,.03); }
.err { color: #ff7a8a; font: 12px var(--mono); }
.seeds { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.seeds canvas, .seeds .im img { width: 100%; aspect-ratio: 1; border-radius: 10px; display: block; background: #000; box-shadow: 0 0 0 1px var(--line); object-fit: cover; }
.seeds .im { position: relative; }
.x2 { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(0,0,0,.7); color: #fff; cursor: pointer; font-size: 11px; }
.drop-in { display: grid !important; place-items: center; height: 110px; border-radius: 16px; border: 1px dashed var(--line2); cursor: pointer; color: #fff !important; font-size: 15px !important; transition: background .2s; }
.drop-in:hover { background: rgba(255,255,255,.04); }
.crow.mine { grid-template-columns: 40px minmax(220px, 2.4fr) repeat(3, minmax(90px, 1fr)); }
.crow small { font-size: 11px; }

/* ---------- daily: day arrows and artist auctions ---------- */
.dayrow { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.dayrow h1 { margin: 0 !important; }
.btn.arrow { width: 40px; padding: 0; font-size: 17px; }
.btn.arrow.off { opacity: .25; pointer-events: none; }
.aucs { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 16px; }
.auc { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 14px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); animation: rise .6s var(--ease) both; }
.auc .aa { display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: #000; }
.auc .aa img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity .5s; }
.auc .aa img.ready { opacity: 1; }
.auc h3 { margin: 4px 0 10px; font-size: 20px; letter-spacing: -.03em; }
.auc .bidbox b { font-size: 20px; }
.auc .actions .field { width: 110px; }

@media (max-width: 760px) {
  .createbtn { padding: 0 11px; }
  .createbtn { font-size: 0; gap: 0; }
  .createbtn span { font-size: 20px; }
  .codewrap { grid-template-columns: 1fr; }
  .row3 { grid-template-columns: 1fr; }
  .seeds { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .step { grid-template-columns: 1fr; padding: 18px; }
  .aucs { grid-template-columns: 1fr; }
  .auc { grid-template-columns: 100px minmax(0, 1fr); }
}
.auc .bidbox b { font-size: 18px; white-space: nowrap; } .auc .bidbox > div { padding: 10px 12px; } .aucs { grid-template-columns: repeat(auto-fill, minmax(min(100%, 480px), 1fr)); }

/* ---------- logo ---------- */
canvas.logo { display: block; width: 22px; height: 22px; flex: none; image-rendering: pixelated; border-radius: 5px; background: #000;
  box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 0 14px -3px rgba(155,93,229,.7); }
.brand canvas.logo { width: 24px; height: 24px; }
.pack .label canvas.logo { width: 44px; height: 44px; border-radius: 9px; margin-bottom: 6px; box-shadow: 0 0 0 2px rgba(255,255,255,.7), 0 10px 30px -6px rgba(0,0,0,.6); }
.cb canvas.logo { width: 38px; height: 38px; border-radius: 8px; }

/* ---------- review ---------- */
.createbtn.on { box-shadow: 0 0 0 2px rgba(255,255,255,.5); }
.reviewlink { position: relative; }
.qn { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #ff2e88; color: #fff; font: 700 11.5px var(--sans); margin-left: 6px; }
.status { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font: 700 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.status.review { background: rgba(255,210,63,.12); color: #ffd23f; }
.status.rejected { background: rgba(255,46,85,.12); color: #ff7a8a; }
.crow.pending { opacity: .9; }
.crow.pending .cthumb canvas, .crow.pending .cthumb img { width: 100%; height: 100%; display: block; object-fit: cover; }
.rv { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 26px; padding: 22px; border-radius: 22px; margin-bottom: 16px; background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); border: 1px solid rgba(255,210,63,.25); animation: rise .6s var(--ease) both; animation-delay: calc(var(--i) * 80ms); }
.rv-art { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-content: start; }
.rv-art canvas, .rv-art img { width: 100%; aspect-ratio: 1; border-radius: 12px; display: block; background: #000; object-fit: cover; box-shadow: 0 0 0 1px var(--line); }
.rv-info h2 { margin: 8px 0 6px; font-size: 34px; letter-spacing: -.045em; }
.rv-terms { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.rv-terms span { padding: 5px 11px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); font-size: 13px; color: #c8c8d4; }
.rv-code { margin: 0 0 14px; }
.rv-code summary { cursor: pointer; color: var(--dim); font-size: 13.5px; }
.rv-code pre { max-height: 300px; overflow: auto; padding: 14px; border-radius: 12px; background: #0a0a10; border: 1px solid var(--line); font: 12px/1.55 var(--mono); color: #d9e1ff; white-space: pre; }
@media (max-width: 760px) { .rv { grid-template-columns: 1fr; } }
a.trait { display: block; color: inherit; cursor: pointer; transition: border-color .2s, background .2s, transform .2s var(--ease); } a.trait:hover { border-color: var(--line2); background: rgba(255,255,255,.07); transform: translateY(-1px); } a.trait:hover b::after { content: " →"; color: var(--dim); }
.pd.auction { align-items: start; } .pd.auction .pd-art { position: sticky; top: 84px; }

/* ---------- logo gallery ---------- */
.logogrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.lg { display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: 20px; background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); border: 1px solid var(--line); animation: rise .6s var(--ease) both; animation-delay: calc(var(--i) * 40ms); }
.lg.on { border-color: rgba(255,255,255,.5); box-shadow: 0 0 0 1px rgba(255,255,255,.3), 0 20px 50px -20px rgba(155,93,229,.7); }
.lg canvas.big { width: 100%; aspect-ratio: 1; image-rendering: pixelated; border-radius: 14px; background: #000; box-shadow: 0 0 0 1px var(--line); }
.lg-mock { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 12px; background: rgba(6,6,8,.8); border: 1px solid var(--line); }
.lg-head { display: inline-flex; align-items: center; gap: 8px; }
.lg-head canvas { width: 24px; height: 24px; image-rendering: pixelated; border-radius: 5px; background: #000; box-shadow: 0 0 0 1px rgba(255,255,255,.14); }
.lg-head b { font: 700 19px var(--display); letter-spacing: -.05em; }
.lg-fav { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 8px 8px 0 0; background: #2a2a33; font-size: 11px; color: #ccc; }
.lg-fav canvas { width: 16px; height: 16px; image-rendering: pixelated; }
.lg-n b { display: block; font-size: 15px; letter-spacing: -.02em; }
.lg-n span { color: var(--dim); font-size: 12.5px; }
.lg .btn { align-self: flex-start; }
/* stamps and other cut-out logos sit straight on the page: no tile behind them */
canvas.logo, .lg-head canvas, .lg-fav canvas { background: transparent !important; border-radius: 0 !important; box-shadow: none !important; }
.brand canvas.logo { width: 26px; height: 26px; filter: drop-shadow(0 2px 8px rgba(0,0,0,.6)); }
.pack .label canvas.logo { width: 52px; height: 52px; filter: drop-shadow(0 6px 14px rgba(0,0,0,.45)); }
.lg canvas.big { background: #0b0b10; border-radius: 14px; padding: 14px; }

/* ---------- header icons, notifications, search ---------- */
.iconbtn { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: #ddd; cursor: pointer; transition: background .2s, border-color .2s; }
.iconbtn:hover { background: rgba(255,255,255,.1); border-color: var(--line2); }
.iconbtn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.iconbtn .dot { position: absolute; top: -4px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #ff2e88; color: #fff; font: 700 10.5px/18px var(--sans); text-align: center; box-shadow: 0 0 0 2px var(--bg); }
.toppanel { position: fixed; top: 70px; right: 18px; z-index: 45; width: min(420px, calc(100vw - 24px)); max-height: min(560px, calc(100vh - 100px)); display: flex; flex-direction: column; border-radius: 20px; overflow: hidden;
  background: rgba(14,14,20,.96); backdrop-filter: blur(22px) saturate(1.4); border: 1px solid var(--line2); box-shadow: 0 30px 80px -20px #000; animation: tin .3s var(--ease); }
.tp-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.tp-list { overflow-y: auto; padding: 6px; scrollbar-width: thin; scrollbar-color: #333 transparent; }
.note-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 12px; cursor: pointer; font-size: 13.5px; color: #c8c8d4; }
.note-row:hover { background: rgba(255,255,255,.05); }
.note-row.new { background: rgba(155,93,229,.1); }
.note-row .ti { width: 40px; height: 40px; border-radius: 10px; overflow: hidden; display: grid; place-items: center; background: rgba(255,255,255,.06); font-size: 16px; }
.note-row .ti img { width: 100%; height: 100%; object-fit: cover; }
.note-row .t { color: var(--dim2); font: 11.5px var(--mono); }
.note-row a { color: #fff; text-decoration: underline; }
.search-ov { position: fixed; inset: 0; z-index: 70; background: rgba(4,4,6,.7); backdrop-filter: blur(10px); display: flex; justify-content: center; align-items: flex-start; padding-top: 12vh; animation: page .25s ease; }
.search-box { width: min(640px, calc(100vw - 24px)); border-radius: 22px; background: rgba(16,16,22,.97); border: 1px solid var(--line2); box-shadow: 0 40px 100px -20px #000; overflow: hidden; }
.search-box .sq { width: 100%; height: 60px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; font-size: 18px; padding: 0 22px; }
.search-box .sq:focus { outline: none; background: transparent; }
.sr { max-height: 52vh; overflow-y: auto; padding: 6px; }
.sg { padding: 10px 12px 4px; color: var(--dim2); font: 700 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.si { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px 12px; border-radius: 12px; cursor: pointer; }
.si.on { background: rgba(255,255,255,.08); }
.si .sa { width: 38px; height: 38px; border-radius: 9px; overflow: hidden; display: grid; place-items: center; background: rgba(255,255,255,.05); color: var(--dim); }
.si .sa img { width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.si .sa .orb { width: 30px; height: 30px; }
.si .st b { display: block; font-size: 14.5px; }
.si .st span { color: var(--dim); font-size: 12.5px; }
.search-hint { padding: 10px 18px; border-top: 1px solid var(--line); font-size: 12px; }

/* ---------- settings, help, collectors ---------- */
.prof-edit { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.orb.big { width: 72px; height: 72px; }
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 820px; }
.faq details { padding: 16px 20px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.faq summary { cursor: pointer; font: 650 17px var(--display); letter-spacing: -.02em; }
.faq p { color: #b9b9c6; margin: 10px 0 2px; }
.crow.ctop { grid-template-columns: 40px minmax(220px, 2.4fr) repeat(5, minmax(70px, 1fr)); }
.crow.ctop .orb { width: 40px; height: 40px; flex: none; }
.crow.meRow { background: rgba(155,93,229,.08); }
.bio { margin: 6px 0 0; color: #c8c8d4; max-width: 560px; }
.profside { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.foot .footlinks { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; margin-bottom: 12px; }
.foot .footlinks a { color: var(--dim); font-size: 13.5px; }
.foot .footlinks a:hover { color: #fff; }
.foot p { margin: 0; }
html.reduce *, html.reduce *::before, html.reduce *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
html.reduce .card { transform: none !important; }
@media (max-width: 760px) {
  .crow.ctop { grid-template-columns: 26px minmax(0, 2fr) repeat(2, minmax(56px, 1fr)); }
  .searchbtn { display: none; }
  .toppanel { top: 64px; right: 8px; }
}

/* ---------- print extras ---------- */
.pnav { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.pnav .btn { width: 36px; padding: 0; }
.sendbox, .offerbox { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 10px; padding: 12px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.offerbox { flex-direction: row; justify-content: flex-end; max-width: 420px; margin-left: auto; }
.offerbox .field { width: 110px; height: 40px; }
.offerbox .dim { flex-basis: 100%; text-align: right; }
.ccta { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; align-items: center; }
.btn.watch.on { color: #ffd23f; border-color: rgba(255,210,63,.4); }
.more-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.crow.offrow { grid-template-columns: minmax(0, 3fr) 1fr 1fr; }
.lvseg { margin-bottom: 10px; }
/* phones: segment controls scroll instead of wrapping, tables stay on one line, founder tools hide */
@media (max-width: 640px) {
  .seg { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .seg::-webkit-scrollbar { display: none; }
  .seg button { white-space: nowrap; flex: none; }
  .cname small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dayrow h1 { font-size: 34px !important; }
  .dayrow { gap: 8px; }
  .page-head { gap: 14px; }
  .chead { margin-top: -50px; padding: 0 8px; }
  .cthumb.big { width: 92px; height: 92px; }
  .ccta { justify-content: flex-start; }
  .cstats { gap: 10px 22px; padding: 14px 16px; }
  .pd-tools { flex-wrap: wrap; }
}
@media (max-width: 760px) {
  .crow { grid-template-columns: 22px minmax(0, 2.6fr) repeat(2, minmax(60px, 1fr)); }
  .crow.ctop { grid-template-columns: 22px minmax(0, 2.6fr) repeat(2, minmax(60px, 1fr)); }
}
@media (max-width: 640px) {
  .dayrow { flex-wrap: nowrap; }
  .dayrow h1 { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 30px !important; }
  .dayrow .btn.arrow { flex: none; }
}
@media (max-width: 640px) { .toolbar .field, .toolbar select.field { flex: 1 1 calc(50% - 5px); width: auto !important; } }
.ov { overflow-x: hidden; } .showpiece { contain: layout; }

/* ---------- getting started, ending soon, quick bids, bulk actions ---------- */
.quests { margin: 10px 0 0; padding: 18px 20px; border-radius: 22px; background: linear-gradient(120deg, rgba(155,93,229,.12), rgba(0,187,249,.06) 60%, transparent); border: 1px solid rgba(155,93,229,.3); animation: rise .6s var(--ease) both; }
.qh { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.qh b { font: 700 19px var(--display); letter-spacing: -.02em; }
.qh .meter { flex: 1; max-width: 320px; }
.qh .hideq { margin-left: auto; }
.ql { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.q { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line); font-size: 14px; color: #ddd; transition: background .2s; }
.q:hover { background: rgba(255,255,255,.08); text-decoration: none; }
.q .qc { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line2); display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.q.done { opacity: .55; }
.q.done .qc { background: #00f5a0; border-color: #00f5a0; color: #000; }
.q.done span:nth-child(2) { text-decoration: line-through; }
.ending { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 14px 0 0; padding: 14px 18px; border-radius: 16px; background: linear-gradient(90deg, rgba(255,46,85,.16), rgba(255,46,136,.06)); border: 1px solid rgba(255,46,85,.35); color: #fff; }
.ending:hover { text-decoration: none; filter: brightness(1.1); }
.ending span:not(.live-dot):not(.btn) { color: #d8c8d0; flex: 1; }
.quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.quick .chip { height: 28px; font-size: 12.5px; }
.selbtn.on { background: #fff; color: #000; }
.bulkbar { position: sticky; bottom: 16px; z-index: 15; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; padding: 12px 14px; border-radius: 18px; background: rgba(16,16,22,.94); backdrop-filter: blur(18px); border: 1px solid var(--line2); box-shadow: 0 20px 50px -14px #000; }
.bulkbar .grow { flex: 1; }
@media (max-width: 640px) { .bulkbar { bottom: 82px; } .qh { flex-wrap: wrap; } }
.qh .kicker { display: flex; margin-bottom: 2px; }

/* ---------- sweep, follow ---------- */
.sweep { margin: 0 0 16px; padding: 16px 18px; display: grid; gap: 12px; animation: rise .35s var(--ease) both; }
.sw-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.sw-row .grow { flex: 1; }
.sweep input[type=range] { flex: 1; min-width: 160px; accent-color: #9b5de5; }
.sw-n { font-size: 20px; min-width: 2ch; text-align: right; }
.sw-thumbs { display: flex; flex-wrap: wrap; gap: 6px; }
.sw-thumbs .thumb { width: 44px; height: 44px; border-radius: 9px; overflow: hidden; background: #111; animation: rise .25s var(--ease) both; }
.sw-thumbs .thumb img, .sw-thumbs .thumb canvas { width: 100%; height: 100%; display: block; object-fit: cover; }
.prof .follow.on { background: rgba(155,93,229,.22); border-color: rgba(155,93,229,.6); }

/* ---------- trending today ---------- */
.trend { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 8px 14px; }
.tr { display: grid; grid-template-columns: 18px 46px minmax(0, 1fr) 64px 64px; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 16px; background: rgba(255,255,255,.03); border: 1px solid var(--line); color: #fff; transition: background .2s, transform .2s var(--ease); animation: rise .5s var(--ease) both; animation-delay: calc(var(--i) * 40ms); }
.tr:hover { background: rgba(255,255,255,.07); transform: translateY(-2px); text-decoration: none; }
.tr .tn { font: 700 14px var(--mono); color: var(--dim); }
.tr .cthumb { width: 46px; height: 46px; border-radius: 12px; overflow: hidden; display: block; background: #111; }
.tr .cthumb img, .tr .cthumb canvas { width: 100%; height: 100%; object-fit: cover; display: block; }
.tr .ti { display: grid; gap: 4px; min-width: 0; }
.tr .ti b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tr .tv { display: grid; text-align: right; font-size: 14px; }
.tr .tv small { color: var(--dim); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 640px) {
  .q.done { display: none; }
  .quests { padding: 14px; }
  .trend { grid-template-columns: 1fr; }
  .tr { grid-template-columns: 14px 40px minmax(0, 1fr) 56px 56px; gap: 10px; padding: 8px 10px; }
  .tr .cthumb { width: 40px; height: 40px; }
  .tr .ti small { display: none; }
}

/* keyboard focus */
:focus-visible { outline: 2px solid #b388ff; outline-offset: 3px; }
.card:focus-visible, .live-row:focus-visible, .act:focus-visible { outline-offset: 2px; border-radius: 18px; }
.ask small { display: block; margin-top: 4px; font-size: 12px; }
/* art that hasn't drawn yet shows nothing, not its alt text */
main img:not(.ready), .ov img:not(.ready), .toppanel img:not(.ready), .search-ov img:not(.ready) { color: transparent; font-size: 0; }
.fol { color: #b388ff; font-size: 13px; }
.follows { display: flex; flex-wrap: wrap; gap: 8px; }
.fchip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid var(--line); color: #fff; }
.fchip:hover { background: rgba(255,255,255,.09); text-decoration: none; }
.fchip .orb { width: 28px; height: 28px; }
.fchip small { color: var(--dim); }
/* one column: the auction art scrolls with the page instead of sitting over the bids */
@media (max-width: 1000px) { .pd.auction .pd-art { position: static; } }

/* ---------- passkeys ---------- */
.authov { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; background: rgba(4,4,6,.66); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: fadein .25s ease both; }
.authov.out { animation: fadeout .25s ease forwards; }
@keyframes fadein { from { opacity: 0; } }
@keyframes fadeout { to { opacity: 0; } }
.authbox { width: min(420px, 100%); padding: 28px 26px 22px; border-radius: 26px; text-align: center; background: linear-gradient(180deg, #17161f, #0e0d14); border: 1px solid var(--line2); box-shadow: 0 40px 100px -20px rgba(0,0,0,.9), 0 0 80px -30px rgba(155,93,229,.6); animation: rise .4s var(--ease) both; }
.authbox h3 { margin: 14px 0 6px; font-size: 22px; letter-spacing: -.03em; }
.authbox p { margin: 0; color: #b6b6c4; font-size: 14.5px; }
.authbox .actions { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.authbox .actions .btn { width: 100%; height: 50px; }
.ak { width: 64px; height: 64px; margin: 0 auto; border-radius: 20px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(255,46,136,.25), rgba(0,187,249,.22)); border: 1px solid rgba(255,255,255,.18); box-shadow: 0 14px 40px -12px rgba(155,93,229,.8); }
.ak svg, .pkstate svg, .gate .kicker svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gate .kicker svg { width: 15px; height: 15px; stroke: currentColor; }
.gate .note { min-height: 22px; }
.linkbtn { background: none; border: 0; padding: 8px; color: var(--dim); font-size: 13.5px; cursor: pointer; text-decoration: underline; text-decoration-color: rgba(255,255,255,.2); text-underline-offset: 3px; }
.linkbtn:hover { color: #fff; }
.pkstate { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.pkstate svg { width: 26px; height: 26px; flex: none; stroke: var(--dim); }
.pkstate.on { border-color: rgba(0,245,160,.35); background: rgba(0,245,160,.06); }
.pkstate.on svg { stroke: #00f5a0; }
.pkstate b { display: block; }
.pkstate span { display: block; }
.pk .actions { display: flex; flex-wrap: wrap; gap: 8px; }
body.locked nav, body.locked .createbtn, body.locked .foot { display: none; }

/* ---------- account menu, bid bar, filter sheet (all sizes) ---------- */
nav a svg { display: none; }
.toppanel.menu { width: min(300px, calc(100vw - 24px)); }
.mm-head { display: flex; align-items: center; gap: 12px; padding: 16px; border-bottom: 1px solid var(--line); }
.mm-head .orb { width: 44px; height: 44px; flex: none; }
.mm-head b { display: block; font-size: 16px; letter-spacing: -.02em; }
.mm-head:hover b { text-decoration: underline; }
.mm-list { display: flex; flex-direction: column; padding: 6px; }
.mm-list a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; color: #ddd; font-size: 14.5px; font-weight: 540; }
.mm-list a:hover { background: rgba(255,255,255,.06); color: #fff; }
.mm-list svg, .mm-foot svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--dim); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mm-list .qn { margin-left: auto; }
.mm-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--line); }
.mm-foot > span { display: inline-flex; align-items: center; gap: 8px; }
.mm-foot svg { width: 15px; height: 15px; }
.bidbar { display: none; }
.fbtn, .fs-head, .fback, .allbids { display: none; }
.fbtn.on { background: #fff; color: #07070a; }

/* =====================================================================
   phones: an app shell (docked tab bar with icons, compact header,
   sheets), denser type, sideways rails, and touch-first controls
   ===================================================================== */
@media (max-width: 640px) {
  html { -webkit-tap-highlight-color: transparent; }
  body { font-size: 14.5px; padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  a, button, .chip, .card { touch-action: manipulation; }
  .field, select.field, textarea.field, .sb label .field { font-size: 16px; } /* no zoom on focus in iOS */
  main { padding: 0 16px 24px; min-height: 70vh; }

  /* header */
  .top { height: calc(56px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 12px 0 16px; grid-template-columns: 1fr auto; gap: 8px; background: rgba(6,6,8,.94); }
  /* (no backdrop-filter on the header: it would trap the fixed tab bar inside it) */
  .brand { font-size: 22px; gap: 8px; }
  .top .right { gap: 8px; }
  .createbtn { display: none; }
  .searchbtn { display: grid !important; }
  .top .wallet { gap: 7px; }
  .iconbtn { width: 36px; height: 36px; border-color: transparent; background: rgba(255,255,255,.06); }
  .iconbtn svg { width: 18px; height: 18px; }
  .inkpill { height: 32px; padding: 0 10px; font-size: 12.5px; }
  .top .orb { width: 32px; height: 32px; }
  .me .badge { top: -3px; right: -5px; }

  /* tab bar */
  nav { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; width: 100%; max-width: none; height: auto; overflow: visible; justify-self: auto;
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); border: 0; border-top: 1px solid var(--line); border-radius: 0;
    background: rgba(8,8,11,.9); backdrop-filter: blur(24px) saturate(1.6); -webkit-backdrop-filter: blur(24px) saturate(1.6); box-shadow: 0 -10px 30px -10px rgba(0,0,0,.7); }
  nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 50px; padding: 0; border-radius: 14px; font-size: 10.5px; font-weight: 620; letter-spacing: .01em; color: #7c7c8c; transition: color .25s, transform .15s; }
  nav a svg { display: block; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
  nav a:active { transform: scale(.92); }
  nav a.on { color: #fff; }
  nav a.on svg { stroke-width: 2.1; transform: translateY(-1px); filter: drop-shadow(0 0 10px rgba(179,136,255,.65)); }
  .nav-pill { top: 0; bottom: auto; height: 2px; border-radius: 0 0 3px 3px; background: var(--grad); background-size: 300% 100%; animation: gradmove 8s linear infinite; box-shadow: 0 0 14px rgba(155,93,229,.9); clip-path: inset(0 28%); }

  /* toasts, panels, search: full width */
  .toasts { left: 10px; right: 10px; transform: none; bottom: calc(74px + env(safe-area-inset-bottom)); align-items: stretch; }
  .toast { max-width: none; border-radius: 16px; }
  .toppanel { top: calc(60px + env(safe-area-inset-top)); left: 8px; right: 8px; width: auto; max-height: calc(100dvh - 150px); border-radius: 22px; }
  .toppanel.menu { left: auto; width: min(300px, calc(100vw - 16px)); }
  .search-ov { padding: calc(10px + env(safe-area-inset-top)) 8px 0; align-items: flex-start; }
  .search-box { width: 100%; }
  .search-box .sq { height: 56px; font-size: 16px; padding: 0 18px; }
  .sr { max-height: calc(100dvh - 160px); }
  .search-hint { display: none; }

  /* type and sections */
  .page-head { padding: 22px 0 16px; gap: 12px; }
  .page-head h1 { font-size: 36px; }
  .page-head p { font-size: 14px; margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .kicker { font-size: 11px; letter-spacing: .1em; max-width: 100%; }
  .page-head .kicker { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
  .page-head .kicker .live-dot { display: inline-block; vertical-align: 1px; margin-right: 6px; }
  .page-head > div:first-child { min-width: 0; max-width: 100%; }
  .sec-head { margin: 34px 0 12px; align-items: center; }
  .sec-head h2 { font-size: 21px; }
  .sec-head .aside { display: none; }
  .sec-head a { font-size: 13px; white-space: nowrap; }
  .btn { height: 46px; }
  .btn.sm { height: 36px; }
  .btn:hover { transform: none; }
  .btn:active { transform: scale(.97); }
  .foot { padding: 28px 16px 24px; margin-top: 24px; }
  .foot .footlinks { display: none; }
  .foot p { font-size: 11.5px; line-height: 1.5; }

  /* chips and segments scroll sideways, edge to edge */
  .toolbar > .chips, .page > .chips, .seg { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: none; }
  .toolbar > .chips, .page > .chips { margin-left: -16px; margin-right: -16px; padding: 0 16px; flex: 1 1 100%; }
  .toolbar > .chips::-webkit-scrollbar, .page > .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; height: 36px; }
  .page-head .seg { width: 100%; }
  .page-head .seg button { flex: 1 0 auto; }
  .toolbar { gap: 8px; margin-bottom: 16px; }

  /* cards: tighter, no tilt, quieter likes */
  .grid { gap: 10px; }
  .card { padding: 6px; border-radius: 16px; transform: none !important; }
  .card:hover { box-shadow: none; }
  .card-art { border-radius: 11px; }
  .card-body { padding: 8px 4px 3px; }
  .card-row { gap: 6px; }
  .card-title { font-size: 13.5px; }
  .card-sub { font-size: 11.5px; margin-top: 1px; }
  .card .odds { font-size: 10.5px; gap: 4px; }
  .card .odds::before { width: 5px; height: 5px; }
  .card-foot { margin-top: 7px; padding-top: 7px; }
  .price { font-size: 13.5px; }
  .like { height: 26px; right: 6px; bottom: 6px; padding: 0 8px 0 7px; font-size: 11px; }
  .fbadges { top: 6px; left: 6px; }
  .fbadge { height: 19px; padding: 0 7px; font-size: 9px; }
  .glare { display: none; }
  .card.sel::after { top: 12px; right: 12px; }

  /* rails: rows of prints slide sideways and snap */
  .rail { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 44%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 2px 16px 8px; scroll-padding: 0 16px; scrollbar-width: none; }
  .rail::-webkit-scrollbar { display: none; }
  .rail > * { scroll-snap-align: start; }
  .ov .rail { margin: 0 -14px; padding: 2px 14px 8px; scroll-padding: 0 14px; }

  /* home */
  .hero { padding-top: 26px; gap: 22px; }
  .hero h1 { font-size: 60px; margin-top: 14px; }
  .hero p.lead { font-size: 15.5px; margin-top: 16px; }
  .hero .cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
  .hero .cta .btn { height: 50px; padding: 0 12px; font-size: 15px; }
  .stats { gap: 0; margin-top: 24px; justify-content: space-between; padding: 14px 18px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
  .stat b { font-size: 22px; }
  .stat span { font-size: 12px; }
  .showpiece .frame { border-radius: 20px; }
  .showmeta { left: 10px; right: 10px; bottom: 10px; padding: 10px 12px; border-radius: 12px; }
  .split { gap: 0; }
  .split > div, .pd-info, .cbody > div { min-width: 0; }
  .bidwrap .note:empty { min-height: 0; margin: 0; }
  .bidwrap .subhead { margin-top: 20px; }
  .live-row { grid-template-columns: 42px minmax(0, 1fr) auto; gap: 10px; padding: 8px; }
  .live-row .thumb { width: 42px; height: 42px; }
  .live-row .txt { font-size: 13px; }
  .live.big .live-row { grid-template-columns: 46px minmax(0, 1fr) auto; padding: 9px 8px; }
  .live.big .thumb { width: 46px; height: 46px; }
  .panel { border-radius: 18px; padding: 6px; }
  .quests { margin-top: 18px; border-radius: 20px; }
  .ending { padding: 12px 14px; gap: 10px; }
  .ending span:not(.live-dot):not(.btn) { flex-basis: 100%; order: 3; font-size: 13px; }

  /* drops */
  .drop { min-height: 330px; padding: 18px; border-radius: 22px; }
  .drop h3 { font-size: 34px; }
  .drop .tag { top: 14px; left: 14px; }
  .dailycard { padding: 10px; gap: 14px; border-radius: 22px; }
  .dc-info { padding: 0 6px 6px; }
  .dc-info h3 { font-size: 28px; }
  .dc-row { gap: 18px; }
  .dc-row .btn { margin-left: 0; flex: 1 1 100%; }
  .daily { padding: 14px 16px; border-radius: 16px; }
  .series-grid.inf { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

  /* market tables */
  .crow { padding: 9px 4px; gap: 10px; }
  .crow.head { font-size: 10.5px; }
  .kpill { flex: none; white-space: nowrap; }
  .cname { gap: 10px; }
  .cname b { font-size: 14px; }
  .crow .num { font-size: 13px; }
  .tr { border-radius: 14px; }

  /* collection */
  .banner { height: 150px; margin-top: 14px; border-radius: 22px; }
  .chead { margin-top: -46px; padding: 0 4px; gap: 14px; }
  .cthumb.big { width: 84px; height: 84px; border-radius: 18px; }
  .chead .grow { min-width: 100%; }
  .chead h1 { font-size: 32px; }
  .cdesc { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .ccta { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .ccta > .btn:first-child, .ccta > a.btn:first-child { grid-column: 1 / -1; }
  .ccta > .dim, .ccta .offerbox { grid-column: 1 / -1; text-align: left !important; margin-top: 0 !important; }
  .ccta .btn { padding: 0 10px; }
  .offerbox { max-width: none; margin: 0; justify-content: flex-start; }
  .offerbox .field { flex: 1; }
  .offerbox .dim { text-align: left; }
  .cstats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 22px; margin: 18px -16px 16px; padding: 14px 16px; border-radius: 0; border-left: 0; border-right: 0; }
  .cstats::-webkit-scrollbar { display: none; }
  .cstats > div { flex: none; }
  .cstats b { font-size: 17px; white-space: nowrap; }
  .ctabs { margin-bottom: 14px; }
  .cbody { display: block; }
  .fbtn { display: inline-flex; }
  .fback { display: block; position: fixed; inset: 0; z-index: 44; background: rgba(0,0,0,.6); opacity: 0; pointer-events: none; transition: opacity .3s; }
  .filters { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; top: auto; max-height: 78dvh; overflow-y: auto; overscroll-behavior: contain; flex-direction: column; flex-wrap: nowrap; gap: 16px;
    padding: 0 16px calc(20px + env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0; background: #111018; border-top: 1px solid var(--line2); box-shadow: 0 -30px 80px -20px #000;
    transform: translateY(105%); transition: transform .4s var(--ease); }
  .fopen .filters { transform: none; }
  .fopen .fback { opacity: 1; pointer-events: auto; }
  .fs-head { display: flex; position: sticky; top: 0; z-index: 1; align-items: center; justify-content: space-between; margin: 0 -16px; padding: 20px 16px 12px; background: #111018; }
  .fs-head::before { content: ''; position: absolute; top: 8px; left: 50%; width: 38px; height: 4px; margin-left: -19px; border-radius: 9px; background: rgba(255,255,255,.2); }
  .fs-head b { font-size: 19px; letter-spacing: -.02em; }
  .fgroup { min-width: 0; }
  .fopt { padding: 11px 10px; font-size: 14.5px; }
  body.sheet-open { overflow: hidden; }
  .cbody .toolbar .sort { flex: 1 1 100%; }
  .act { gap: 8px; padding: 8px 4px; font-size: 13px; }

  /* daily auction */
  .dayrow { gap: 8px; margin-top: 4px; }
  .dayrow .btn { height: 36px; }
  .pd.auction { gap: 18px; }
  .pd-info { display: flex; flex-direction: column; }
  .pd-info > * { order: 3; }
  .pd-info > .pnav, .pd-info > .kicker, .pd-info > .pd-title, .pd-info > .facts { order: 0; }
  .pd-info > .owner, .pd-info > .actions, .pd-info > .sendbox, .pd-info > .note, .pd-info > .bb { order: 1; }
  .pd-info > .traits, .pd-info > .why { order: 2; }
  .traits { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .trait { padding: 8px 9px; border-radius: 10px; }
  .trait span { font-size: 9.5px; letter-spacing: .07em; }
  .trait b { font-size: 13px; }
  .trait i { font-size: 10.5px; }
  .bidbox { gap: 8px; margin-top: 2px; }
  .bidbox > div { padding: 12px 14px; }
  .bidbox b { font-size: 24px; }
  .bidwrap .actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .auction .actions .field { width: 100%; height: 50px; font-size: 18px; }
  .bidwrap .actions .btn { height: 50px; padding: 0 22px; }
  .quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .quick .chip { height: 34px; justify-content: center; padding: 0; }
  .maxbid { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
  .maxbid .field { flex: 1; min-width: 0; height: 40px; }
  .bids:not(.all) li:nth-child(n+6) { display: none; }
  .allbids { display: block; margin: -4px 0 4px; }
  .allbids.hidden { display: none; }
  .bidbar { position: fixed; z-index: 29; left: 10px; right: 10px; bottom: calc(72px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 16px; padding: 8px 8px 8px 16px; border-radius: 18px; cursor: pointer; text-align: left;
    background: rgba(20,18,30,.9); backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5); border: 1px solid rgba(255,106,213,.35); box-shadow: 0 16px 40px -12px #000, 0 0 40px -16px rgba(255,46,136,.6); color: #fff;
    transform: translateY(140%); opacity: 0; pointer-events: none; transition: transform .4s var(--ease), opacity .3s; }
  .bidbar.show { transform: none; opacity: 1; pointer-events: auto; }
  .bidbar .bl { display: flex; flex-direction: column; min-width: 0; }
  .bidbar small { color: var(--dim); font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; font-weight: 650; }
  .bidbar b { font-size: 16px; white-space: nowrap; }
  .bidbar em { font-style: normal; margin-left: 6px; font-size: 11px; color: #00f5a0; }
  .bidbar .btn { margin-left: auto; height: 40px; padding: 0 20px; }
  .auc { grid-template-columns: 96px minmax(0, 1fr); padding: 12px; gap: 12px; }

  /* print sheet */
  .ov { overscroll-behavior: contain; background: rgba(4,4,6,.94); }
  .ov-box { padding: calc(14px + env(safe-area-inset-top)) 14px calc(40px + env(safe-area-inset-bottom)); }
  .x { top: calc(12px + env(safe-area-inset-top)); right: 12px; width: 40px; height: 40px; background: rgba(20,20,26,.75); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
  .pd { gap: 18px; }
  .pd-art .frame { border-radius: 18px; }
  .pd-info h2 { font-size: 34px; }
  .pd-title { gap: 10px; }
  .pd-tools { gap: 6px; }
  .pd-tools .btn.sm { height: 36px; padding: 0 12px; }
  .like.big { height: 36px; }
  .pnav { margin: 0 0 8px; }
  .pnav .btn { width: 44px; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 16px 0 10px; }
  .fact { padding: 9px 10px; border-radius: 12px; }
  .fact > span:first-child { font-size: 9.5px; }
  .fact b { font-size: 14px; }
  .fact .odds { font-size: 12px; }
  .fact small { display: block; font-size: 11px; }
  .owner { padding: 12px 14px; margin: 4px 0 10px; }
  .pd-info > .actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pd-info > .actions .btn { width: 100%; padding: 0 8px; }
  .pd-info > .actions .field { width: 100%; height: 46px; }
  .pd-info > .actions .btn:only-child { grid-column: 1 / -1; }
  .sendbox { display: grid; grid-template-columns: 1fr; }
  .exp { gap: 8px; }
  .timeline li { font-size: 13px; }
  .tradebar { margin: 12px -4px; padding: 12px; border-radius: 14px; }

  /* inventory */
  .kpis { display: flex; overflow-x: auto; scrollbar-width: none; gap: 8px; margin: 0 -16px 18px; padding: 0 16px; }
  .kpis::-webkit-scrollbar { display: none; }
  .kpi { flex: none; min-width: 112px; padding: 10px 14px; border-radius: 14px; }
  .kpi > span:first-child { font-size: 10px; }
  .kpi b { font-size: 20px; margin-top: 2px; }
  .kpi .odds { font-size: 13px; margin-top: 6px; }
  .toolbar .field.q { flex: 1 1 58% !important; order: 1; }
  .toolbar .selbtn { order: 2; height: 38px; }
  .toolbar select.field { order: 3; flex: 1 1 28% !important; min-width: 0; padding: 0 26px 0 10px; font-size: 13.5px; background-position: calc(100% - 13px) 16px, calc(100% - 8px) 16px; }
  .bulkbar { bottom: calc(74px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr 1fr 1fr; padding: 10px; border-radius: 18px; }
  .bulkbar .bn { grid-column: 1 / 3; align-self: center; padding-left: 4px; }
  .bulkbar .grow { display: none; }
  .bulkbar .btn { padding: 0 6px; }
  .bulkbar .bdone { grid-column: 3; grid-row: 1; }
  .series-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .fam-head .meter { width: 90px; }

  /* profile */
  .prof { margin-top: -48px; padding: 0 4px; gap: 12px; }
  .prof .orb { width: 88px; height: 88px; box-shadow: 0 0 0 4px var(--bg), 0 20px 50px -10px rgba(0,0,0,.8); }
  .prof .grow { flex-basis: 100%; }
  .prof h1 { font-size: 30px; }
  .prof .sub { font-size: 13px; }
  .profside { flex-direction: row; align-items: center; width: 100%; justify-content: space-between; }
  .offer { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; padding: 12px; }
  .offer .from { grid-column: 1 / -1; }
  .offer .side { justify-content: center; flex-wrap: wrap; }
  .offer .card { width: 100%; max-width: 130px; }
  .offer > .ink { grid-column: 1 / -1; grid-row: 4; justify-self: center; }
  .offer .arrow { align-self: center; }
  .offer .grow { display: none; }
  .offer .acc, .offer .dec { grid-row: 5; }
  .offer .acc { grid-column: 1 / 3; }
  .offer .dec { grid-column: 3; }

  /* settings, create, help */
  .step { padding: 16px; gap: 10px; border-radius: 18px; }
  .sn { display: none; }
  .sb h3 { margin-top: 0; font-size: 18px; }
  .pk .actions .btn { flex: 1 1 auto; }
  .faq details { padding: 14px 16px; }

  /* onboarding, sign-in */
  .onb { min-height: calc(100dvh - 180px); }
  .onb h1 { font-size: 54px; }
  .onb p { font-size: 15px; }
  .onb .orb { width: 112px; height: 112px; margin: 24px auto 12px; }
  .onb .row { flex-wrap: nowrap; padding: 0 4px; }
  .onb .field { flex: 1; min-width: 0; width: auto; }
  .onb .go { width: 100%; }
  body.locked { padding-bottom: 0; }
  .authov { align-items: end; padding: 0; }
  .authbox { width: 100%; border-radius: 26px 26px 0 0; padding: 26px 20px calc(18px + env(safe-area-inset-bottom)); }

  /* pack opening */
  .stage { gap: 16px; justify-content: flex-start; padding: calc(60px + env(safe-area-inset-top)) 0 calc(20px + env(safe-area-inset-bottom)); overflow-y: auto; }
  .stage .title h2 { font-size: 26px; }
  .pack { width: 210px; height: 302px; margin-top: 6vh; flex: none; }
  .deal { gap: 10px; padding: 0 12px; width: 100%; }
  .flip { width: calc(50% - 5px); max-width: 190px; height: auto; aspect-ratio: 214 / 300; }
  .stage .after { padding: 0 16px; }
}
@media (max-width: 640px) and (hover: none) { .card:hover .card-art img { transform: none; } }
@media (max-width: 370px) {
  .hero h1 { font-size: 50px; }
  .inkpill { padding: 0 8px; font-size: 11.5px; }
  .top .wallet { gap: 5px; }
  nav a { font-size: 9.5px; }
}

/* ---------- ink gem options ---------- */
.gemgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.gm { display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: 20px; background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); border: 1px solid var(--line); animation: rise .6s var(--ease) both; animation-delay: calc(var(--i) * 40ms); }
.gm.on { border-color: rgba(255,210,63,.6); box-shadow: 0 0 0 1px rgba(255,210,63,.3), 0 20px 50px -20px rgba(255,170,20,.5); }
.gm-art { position: relative; height: 170px; border-radius: 14px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(60% 60% at 50% 50%, rgba(255,190,40,.16), transparent 70%), #0b0b10; box-shadow: inset 0 0 0 1px var(--line); }
.gm-big svg { display: block; height: 118px; width: auto; filter: drop-shadow(0 10px 24px rgba(255,160,0,.35)); animation: gemfloat 5s ease-in-out infinite; }
@keyframes gemfloat { 50% { transform: translateY(-5px) rotate(-2deg); } }
.gm-art .tw { position: absolute; left: 36%; top: 24%; width: 18px; height: 18px; background: radial-gradient(circle, #fff 0 12%, transparent 13%), linear-gradient(#fff, #fff) center / 2px 100% no-repeat, linear-gradient(#fff, #fff) center / 100% 2px no-repeat; border-radius: 50%; opacity: 0; animation: twinkle 3.2s ease-in-out infinite; animation-delay: calc(var(--i) * -370ms); filter: drop-shadow(0 0 4px #fff); }
@keyframes twinkle { 0%, 70%, 100% { opacity: 0; transform: scale(.3) rotate(0); } 80% { opacity: 1; transform: scale(1) rotate(45deg); } }
.gm-mock { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 10px 12px; border-radius: 12px; background: rgba(6,6,8,.8); border: 1px solid var(--line); }
.gm-sizes { display: flex; align-items: end; gap: 14px; padding: 0 4px; }
.gm-sizes .s1 { height: 12px; width: calc(12px * var(--gem-ar)); }
.gm-sizes .s2 { height: 16px; width: calc(16px * var(--gem-ar)); }
.gm-sizes .s3 { height: 24px; width: calc(24px * var(--gem-ar)); }
.gm-sizes .s4 { height: 40px; width: calc(40px * var(--gem-ar)); }
.gm .btn { align-self: flex-start; }
@media (max-width: 640px) { .gemgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .gm { padding: 10px; } .gm-art { height: 130px; } .gm-big svg { height: 92px; } .gm-mock { padding: 8px; gap: 6px 10px; } .gm-mock .small:last-child { display: none; } }

/* ---------- server: sign-in, invites, the public record, odds, verify ---------- */
.gate .join { max-width: 440px; margin: 34px auto 0; padding: 22px; display: grid; gap: 4px; text-align: center; }
.gate .join > b { font-size: 18px; }
.gate .join .orb { width: 64px; height: 64px; margin: 12px auto 4px; animation: none; }
.gate .join .row { margin-top: 8px; }
.gate .join .field.icode { font-family: var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.gate .join .check { justify-content: center; margin-top: 10px; }
.gate .join p { margin: 10px 0 0; font-size: 13px; }
.gate .row a.btn { height: 50px; }
.invlist { display: flex; flex-direction: column; gap: 8px; max-width: 760px; }
.inv { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 12px 14px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.inv .ic { font-size: 14px; color: #fff; word-break: break-all; }
.inv.used { opacity: .7; }
.recstats { margin-bottom: 8px; }
.ckpt { white-space: pre-wrap; word-break: break-all; font: 12px/1.5 var(--mono); color: var(--dim); background: #0a0a10; padding: 12px; border-radius: 10px; }
.act.rec { grid-template-columns: 74px 0 minmax(0, 1fr) 140px 0 44px; }
.okc { color: #00f5a0; font-weight: 650; } .bad { color: #ff7a8a; }
.oddsgrid { display: grid; gap: 8px; }
.oddrow { display: grid; grid-template-columns: 210px 80px minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 16px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.oddrow b { font: 700 18px var(--mono); }
.vbox { margin: 4px 0 14px; padding: 14px 16px; border-radius: 16px; background: rgba(0,245,160,.04); border: 1px solid rgba(0,245,160,.25); }
.vsteps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.vsteps li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 4px 10px; font-size: 14px; }
.vsteps li small { grid-column: 2; color: var(--dim); font-size: 12.5px; }
.vsteps .vs { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 12px; background: rgba(255,255,255,.08); }
.vsteps li.ok .vs { background: #00f5a0; color: #000; } .vsteps li.bad .vs { background: #ff2e55; color: #fff; } .vsteps li.wait .vs { background: #ffd23f; color: #000; }
.pack.sealing { animation: bob 1.4s ease-in-out infinite; filter: saturate(.7) brightness(.9); }
.pack.sealing .label span { font-size: 10px; }
@media (max-width: 640px) {
  .oddrow { grid-template-columns: 1fr auto; gap: 4px 10px; padding: 10px 12px; }
  .oddrow .dim { grid-column: 1 / -1; }
  .act.rec { grid-template-columns: 58px 0 minmax(0, 1fr) 80px 0 30px; }
  .gate .join { padding: 16px; }
}
@media (max-width: 640px) { .offer:not(:has(.acc)) .dec { grid-column: 1 / -1; } }

.page-head p.full { display: block; -webkit-line-clamp: unset; overflow: visible; }
.stage .hint { text-align: center; padding: 0 24px; }
@media (max-width: 640px) { .pd-info > .vbox { order: 0; } }
.act.rec .an b { white-space: normal; font-weight: 560; }

/* the founder's page */
.admlines { padding: 6px 16px; margin-bottom: 8px; }
.admlines > div { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.admlines > div:last-child { border-bottom: 0; }
.admlines span { color: var(--dim); min-width: 150px; }
.admlines b { font-weight: 500; }
.adm .invlist { margin-bottom: 8px; }
.adm .inv .bad { color: #ff7a7a; }

/* recovery codes */
.rcov { align-items: center; padding: 16px; z-index: 90; }
.rcbox { padding: 24px; display: grid; gap: 12px; max-width: 460px; }
.rcbox h2 { margin: 0; font-size: 24px; }
.rcbox p { margin: 0; }
.rccode { font-size: 20px; letter-spacing: .06em; text-align: center; padding: 16px 12px; border-radius: 14px; background: rgba(255,210,63,.07); border: 1px dashed rgba(255,210,63,.45); color: #fff; word-break: break-all; user-select: all; }
.gate .lost { max-width: 440px; margin: 10px auto 0; }
.gate .lost summary { cursor: pointer; list-style: none; }
.gate .lost summary::-webkit-details-marker { display: none; }
.gate .lost .row { margin-top: 10px; }
.gate .lost .rc { flex: 1; text-transform: uppercase; font-family: 'Space Mono', monospace; }
.rcwarn { padding: 12px 14px; border-radius: 14px; margin-bottom: 12px; background: rgba(255,210,63,.08); border: 1px solid rgba(255,210,63,.4); font-size: 14px; }
.pklist { display: grid; gap: 6px; margin: 10px 0 2px; }
.pkrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }

/* house rules */
.rules { max-width: 720px; display: grid; gap: 14px; }
.rules-sec { padding: 18px 20px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); }
.rules-sec h2 { margin: 0 0 8px; font-size: 19px; }
.rules-sec ul { margin: 0; padding-left: 18px; display: grid; gap: 7px; color: #d6d6de; line-height: 1.5; }
.locked .rules-sec a, .rules-sec a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); }
.gate .age a { color: #fff; text-decoration: underline; }

/* the server can't be reached */
.offbar { position: fixed; left: 50%; top: 12px; transform: translateX(-50%); z-index: 95; padding: 8px 16px; border-radius: 999px; background: rgba(30,30,38,.95); border: 1px solid var(--line2); color: #ddd; font-size: 13.5px; box-shadow: 0 10px 30px -10px #000; animation: page .25s ease; }
.offbar::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #ffb020; margin-right: 8px; vertical-align: 1px; animation: blink 1s ease-in-out infinite alternate; }
@keyframes blink { from { opacity: .3; } to { opacity: 1; } }
.inv .grow { flex: 1; }
.adm .invlist { max-width: 980px; }
.sb label.btn { display: inline-flex; margin-bottom: 0; color: #fff; font-size: 14.5px; font-weight: 620; letter-spacing: -.01em; }
.infbar { margin: -4px 0 14px; }
.infbar .iq { flex: 1; min-width: 160px; }
.infmore { justify-content: center; margin-top: 16px; }
.pubprint .pp-art { width: min(420px, 86vw); margin: 18px auto 10px; }
.pubprint .pp-title { font-size: clamp(34px, 9vw, 56px); margin: 6px 0; }
.lnk { cursor: pointer; text-decoration: underline; color: #fff; }

/* add to Home Screen, on phones */
.installcard { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin: 14px 0; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); position: relative; }
.installcard img { width: 42px; height: 42px; border-radius: 10px; image-rendering: pixelated; flex: none; }
.installcard > div { flex: 1; min-width: 0; }
.installcard b { display: block; }
.installcard span { display: block; }
.installcard .ix { width: 30px; height: 30px; border-radius: 50%; border: 0; background: none; color: var(--dim); cursor: pointer; flex: none; font-size: 14px; }
@media (max-width: 640px) {
  .tradebar { flex-wrap: wrap; }
  .tradebar .grow { flex: 1 1 100%; }
  .tradebar .field { flex: 1; width: auto !important; }
}

/* the sign-in screen's fan of prints */
.gate .fan { position: relative; height: 150px; width: 260px; margin: 0 auto 18px; }
.gate .fan .fc { position: absolute; top: 10px; left: 50%; width: 120px; height: 120px; margin-left: -60px; border-radius: 14px; overflow: hidden; background: #111; box-shadow: 0 24px 50px -18px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.12); animation: fanin .7s cubic-bezier(.2,.8,.2,1) both; }
.gate .fan .fc img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity .4s; }
.gate .fan .fc img.ready { opacity: 1; }
.gate .fan .fc img.px { image-rendering: pixelated; }
.gate .fan .f0 { --r: -14deg; --x: -78px; z-index: 1; }
.gate .fan .f1 { --r: 0deg; --x: 0px; top: 0; z-index: 2; }
.gate .fan .f2 { --r: 14deg; --x: 78px; z-index: 1; animation-delay: .08s; }
.gate .fan .fc { transform: translateX(var(--x)) rotate(var(--r)); }
@keyframes fanin { from { transform: translateX(0) rotate(0) translateY(20px); opacity: 0; } }
/* the record's rows: no empty columns */
.act.rec > span:nth-child(2), .act.rec > span:nth-child(5) { display: none; }
.act.rec { grid-template-columns: 74px minmax(0, 1fr) 140px 44px; }
@media (max-width: 640px) { .act.rec { grid-template-columns: 52px minmax(0, 1fr) auto auto; gap: 8px; } }
@media (max-width: 640px) { .fam .slot { aspect-ratio: auto; min-height: 66px; border-radius: 14px; } }
.pkbody > .actions { margin: 10px 0 6px; }

/* joining, in three steps */
.gate .join .jdots { display: flex; gap: 6px; justify-content: center; margin-bottom: 6px; }
.gate .join .jdots i { width: 26px; height: 4px; border-radius: 4px; background: var(--line2); transition: background .3s; }
.gate .join .jdots i.on { background: linear-gradient(90deg, #00c2ff, #9b5de5); }
.gate .join .js { display: grid; gap: 6px; animation: page .25s ease; }
.gate .join .js[hidden] { display: none; }
.gate .join .jt { font-size: 19px; }
.gate .join .js p { margin: 0 0 6px; }
.gate .join .fl { display: grid; gap: 6px; text-align: left; font-size: 12.5px; color: var(--dim); font-weight: 600; margin-top: 4px; }
.gate .join .fl > span:first-child { padding-left: 4px; }
.gate .join .fl .row { margin-top: 0; justify-content: flex-start; flex-wrap: nowrap; }
.gate .join .fl .field { width: 100%; text-align: left; padding: 0 16px; }
.gate .join .fl .nm { flex: 1; }
.gate .join .check { justify-content: flex-start; text-align: left; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line); cursor: pointer; }
.gate .join .check input { flex: none; width: 22px; height: 22px; }
.btn.ghost { background: none; border-color: transparent; color: var(--dim); }
.btn.ghost:hover { color: #fff; }

/* the welcome tour */
.tourov { align-items: center; padding: 16px; z-index: 90; }
.tourbox { padding: 24px 22px 18px; max-width: 440px; display: grid; gap: 10px; text-align: center; }
.tourbox .tdots { display: flex; gap: 6px; justify-content: center; }
.tourbox .tdots i { width: 22px; height: 4px; border-radius: 4px; background: var(--line2); }
.tourbox .tdots i.on { background: linear-gradient(90deg, #00c2ff, #9b5de5); }
.tourbox .ticon { font-size: 40px; line-height: 1; margin: 12px 0 2px; color: #fff; }
.tourbox .ticon .ink { font-size: 44px; }
.tourbox h2 { margin: 6px 0 0; font-size: 24px; letter-spacing: -.02em; }
.tourbox p { margin: 0; color: #c9c9d4; line-height: 1.55; font-size: 15px; min-height: 96px; }
.tourbox .textra { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; min-height: 10px; }
.tourbox .tactions { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
.tourbox .tactions .grow { flex: 1; }
.gate .join .fromwho { color: #fff; font-weight: 600; font-size: 14px; } .gate .join .fromwho:empty { display: none; }
/* phones: a card's name gets its own line, its odds go under it (names were cut to "Poly…") */
@media (max-width: 640px) {
  .card-body > .card-row:first-child { flex-direction: column; align-items: flex-start; gap: 3px; }
  .card-body > .card-row:first-child .card-title { max-width: 100%; }
}
.bad { color: #ff7a7a; }
/* white text stays readable when the gradient passes through yellow and green */
.btn.glow, .btn.primary.glow { text-shadow: 0 1px 2px rgba(0,0,0,.55), 0 0 12px rgba(0,0,0,.25); }
.pubprint .pp-title { color: #fff; }
.dc-row span.btn { display: inline-flex; text-transform: none; letter-spacing: -.01em; font-size: 14.5px; font-weight: 620; color: #fff; }
.search-box { position: relative; }
.search-box .sx { display: none; position: absolute; right: 10px; top: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.06); color: #ddd; font-size: 15px; cursor: pointer; z-index: 1; }
@media (max-width: 640px) { .search-box .sx { display: block; } .search-box .sq { padding-right: 60px !important; } }
.tourbox .sx, .rcbox .sx { display: none !important; }
/* phones: stat strips that scroll sideways fade at the edge, so it's clear there's more */
@media (max-width: 640px) { .cstats.more, .kpis.more { -webkit-mask-image: linear-gradient(90deg, #000 84%, transparent); mask-image: linear-gradient(90deg, #000 84%, transparent); } }
/* offers: who gives what, labelled */
.offer .from { flex: 1 1 100%; font-weight: 500; }
.offer .oside { display: grid; gap: 6px; align-content: start; }
.offer .olabel { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; color: var(--dim); }
.offer .oink { font-size: 14px; color: #ddd; }
.offer .oacts { display: flex; gap: 8px; }
@media (max-width: 640px) { .offer .oacts { flex: 1 1 100%; } .offer .oacts .btn { flex: 1; } .offer .card { width: 112px; } .offer .side { flex-wrap: wrap; } }
.pd .hash .small { margin-right: 6px; }
.ctop .cname, .ctop .cn { min-width: 0; }
.ctop .cn b, .ctop .cn small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.youpill { display: inline-block; padding: 1px 7px; margin-left: 4px; border-radius: 999px; font-size: 11px; font-weight: 600; background: rgba(155,93,229,.25); color: #e7d9ff; vertical-align: 1px; }
.mrow small, .crow .cn small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd .actions .pricef, .actions .pricef { display: flex !important; flex-direction: row !important; align-items: center; gap: 6px; height: 44px; min-width: 0; }
.actions .pricef .field { flex: 1; min-width: 0; height: 40px; }
.actions .pricef .small { white-space: nowrap; }
.crow .cname, .crow .cn { min-width: 0; } .crow .cn small { display: block; }
/* phones: bigger tap targets for small buttons and the display checkboxes */
@media (max-width: 640px) {
  .btn.sm, .pd-tools .btn.sm { height: 40px; }
  .sb .check { min-height: 44px; padding: 6px 0; }
  .sb .check input { width: 22px; height: 22px; flex: none; }
  .iconbtn { width: 40px; height: 40px; }
}
/* tall dialogs on short screens (landscape, large text) scroll instead of hiding their buttons */
.tourov, .rcov { overflow-y: auto; }
.tourov .tourbox, .rcov .rcbox { margin: auto; max-height: none; }
@media (max-height: 640px) { .tourov, .rcov { align-items: flex-start; } }
.gate .gatedc { margin: 14px auto 0; } .gate .gatedc a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* the free pull and a pack, one tap each (Home) */
.collect { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0 6px; }
.collect button { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; text-align: left; color: #fff; font: inherit; cursor: pointer;
  background: rgba(255,255,255,.04); border: 1px solid var(--line2); transition: transform .15s, border-color .15s, background .15s; }
.collect button:hover:not(:disabled) { transform: translateY(-1px); border-color: rgba(255,255,255,.3); }
.collect button:disabled { cursor: default; opacity: .62; }
.collect .cb-ic { font-size: 26px; line-height: 1; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: rgba(255,255,255,.06); flex: none; }
.collect .cb-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.collect .cb-t b { font-size: 16px; letter-spacing: -.01em; }
.collect .cb-t small { color: var(--dim); font-size: 12.5px; }
.collect .cb-free.ready { background: linear-gradient(120deg, rgba(64,220,160,.22), rgba(90,140,255,.16)); border-color: rgba(90,230,170,.55); box-shadow: 0 0 0 1px rgba(90,230,170,.15), 0 12px 30px -14px rgba(60,220,160,.6); }
.collect .cb-free.ready .cb-ic { animation: giftbob 1.8s ease-in-out infinite; }
.collect .cb-pack:not(:disabled) { background: linear-gradient(120deg, rgba(255,90,170,.18), rgba(255,170,60,.12)); border-color: rgba(255,120,170,.45); }
@keyframes giftbob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-3px) rotate(-6deg); } }
@media (max-width: 640px) { .collect { grid-template-columns: 1fr; gap: 10px; margin-top: 14px; } .collect button { padding: 14px 16px; } }
@media (prefers-reduced-motion: reduce) { .collect .cb-free.ready .cb-ic { animation: none; } }
/* the Packs tab: a dot while today's free pull is waiting */
#nav a[data-v="drops"] { position: relative; }
#nav a[data-v="drops"].due::after { content: ''; position: absolute; top: 6px; right: calc(50% - 16px); width: 8px; height: 8px; border-radius: 50%; background: #3fe0a0; box-shadow: 0 0 0 2px #060608; }
/* a print opened from a pack's results sits above them */
.ov.over { z-index: 60; }
.after .taphint { width: 100%; text-align: center; margin: 0 0 4px; }
.home > .collect:first-child { margin-top: 18px; }

/* the large view: a piece that answers the pointer, and a sound button for one that makes sound */
.showpiece.plays .frame canvas { cursor: crosshair; }
.sndbtn { position: absolute; right: 12px; bottom: 12px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(0,0,0,.55); color: #fff; font-size: 19px; line-height: 1; cursor: pointer; backdrop-filter: blur(6px); display: grid; place-items: center; }
.sndbtn:hover { background: rgba(0,0,0,.75); }
.sndbtn.on { border-color: rgba(90,230,170,.7); box-shadow: 0 0 0 3px rgba(90,230,170,.18); }
.playhint { position: relative; z-index: 1; margin-top: 10px; text-align: center; color: var(--dim); font-size: 12.5px; }

/* ---------- opening a pack (2026-10-13 redesign) ---------- */
@property --fx { syntax: '<percentage>'; inherits: true; initial-value: 30%; }
@property --fy { syntax: '<percentage>'; inherits: true; initial-value: 25%; }
@property --cut { syntax: '<number>'; inherits: true; initial-value: 0; }
.pk-stage { --amb: 124,92,255; background: radial-gradient(70% 60% at 50% 42%, rgba(var(--amb), .26) 0%, rgba(var(--amb), 0) 62%), radial-gradient(120% 90% at 50% 40%, #0d0a18 0%, #040406 80%); transition: background .8s ease; perspective: 1600px; }
.pk-stage.amb-h0 { --amb: 160,160,190; } .pk-stage.amb-h1 { --amb: 76,201,240; } .pk-stage.amb-h2 { --amb: 179,136,255; }
.pk-stage.amb-h3 { --amb: 255,190,40; } .pk-stage.amb-h4 { --amb: 255,90,200; }
.pk-stage .rays { opacity: .5; background: repeating-conic-gradient(from 0deg, rgba(var(--amb), .16) 0 5deg, transparent 5deg 16deg); }
.pk-stage .motes { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .55;
  background-image: radial-gradient(circle, rgba(255,255,255,.7) 0 1px, transparent 1.5px), radial-gradient(circle, rgba(var(--amb), .9) 0 1px, transparent 2px);
  background-size: 140px 160px, 230px 210px; background-position: 0 0, 60px 90px; animation: motes 24s linear infinite; }
@keyframes motes { to { background-position: 0 -320px, 60px -330px; } }
.pk-stage .title { min-height: 92px; }
.pk-stage .title .sub { margin: 8px 0 0; font-size: 14px; min-height: 20px; }
.pk-stage .hintline { font: 600 11.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); animation: blink 1.6s ease-in-out infinite; }
.pk-stage .odds-line { font: 700 13px var(--mono); color: var(--hc); }

/* the pack: a foil wrapper over a mosaic of the drop's art */
.pk2 { --w: 270px; --h: 392px; --flap: 15%; position: relative; width: var(--w); height: var(--h); cursor: grab; flex: none; outline: none; touch-action: none; user-select: none;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform .35s var(--ease); animation: pkfloat 4s ease-in-out infinite; }
.pk2.lit { transition: transform .08s linear; animation-play-state: paused; }
@keyframes pkfloat { 50% { translate: 0 -10px; } }
.pk2 .pk2-body, .pk2 .pk2-flap { position: absolute; left: 0; right: 0; overflow: hidden; background: #120c22; }
.pk2 .pk2-body { top: 0; bottom: 0; border-radius: 16px; box-shadow: 0 50px 110px -30px rgba(0,0,0,.95), 0 0 120px -30px rgba(var(--amb), .9), inset 0 0 0 1px rgba(255,255,255,.28); }
.pk2 .pk2-flap { top: 0; height: var(--flap); border-radius: 16px 16px 0 0; z-index: 3; transform-origin: 85% 100%; }
.pk2 .pk2-art { position: absolute; left: -10%; top: -10%; width: 120%; height: 120%; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(4, 1fr); filter: saturate(1.2) contrast(1.05); }
.pk2 .pk2-flap .pk2-art { height: calc(var(--h) * 1.2); top: calc(var(--h) * -0.1); }
.pk2 .pk2-art img, .pk2 .pk2-art canvas { width: 100%; height: 100%; min-height: 0; object-fit: cover; image-rendering: pixelated; display: block; }
.pk2 .pk2-holo { position: absolute; inset: 0; mix-blend-mode: color-dodge; opacity: .32; pointer-events: none;
  background-image: radial-gradient(circle at var(--fx) var(--fy), rgba(255,255,255,.6), rgba(255,255,255,0) 40%),
    repeating-linear-gradient(118deg, #ff5f8f 0, #ffd36b 4%, #8dff7a 8%, #6ff3ff 12%, #7c8bff 16%, #e077ff 20%, #ff5f8f 24%);
  background-size: 100% 100%, 300% 300%; background-position: center, var(--fx) var(--fy); animation: foildrift 8s ease-in-out infinite alternate; }
.pk2 .pk2-flap .pk2-holo { height: calc(var(--h)); }
.pk2.lit .pk2-holo { animation: none; }
.pk2 .pk2-shade { position: absolute; inset: 0; background: radial-gradient(75% 45% at 50% 54%, rgba(8,5,16,.82) 0%, rgba(8,5,16,.35) 70%, rgba(8,5,16,.1) 100%); }
.pk2 .pk2-label { position: absolute; left: 0; right: 0; top: 52%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: #fff; text-align: center; text-shadow: 0 3px 26px rgba(0,0,0,.85); }
.pk2 .pk2-label canvas.logo { width: 56px; height: 56px; border-radius: 12px; box-shadow: 0 0 0 2px rgba(255,255,255,.75), 0 14px 34px -8px rgba(0,0,0,.8); image-rendering: pixelated; }
.pk2 .pk2-label b { font-size: 56px; font-weight: 840; letter-spacing: -.065em; line-height: .9; }
.pk2 .pk2-label span { font: 700 11.5px var(--mono); letter-spacing: .2em; text-transform: uppercase; }
.pk2 .pk2-label em { font: 600 10.5px var(--mono); letter-spacing: .16em; text-transform: uppercase; font-style: normal; opacity: .75; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.2); }
.pk2 .pk2-crimp { position: absolute; left: 0; right: 0; height: 14px; z-index: 2;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.5) 0 3px, rgba(255,255,255,.1) 3px 6px); mix-blend-mode: overlay; }
.pk2 .pk2-crimp.t { top: 0; } .pk2 .pk2-crimp.b { bottom: 0; }
/* the line to tear along, and how far it's torn */
.pk2 .pk2-cut { position: absolute; left: 10px; right: 10px; top: var(--flap); height: 0; z-index: 4; border-top: 2px dashed rgba(255,255,255,.55); pointer-events: none; }
.pk2 .pk2-cut i { position: absolute; left: 0; top: -3px; height: 4px; width: calc(var(--cut) * 100%); border-radius: 4px; background: #fff; box-shadow: 0 0 14px 3px rgba(var(--amb), 1), 0 0 4px #fff; }
.pk2 .pk2-cut span { position: absolute; right: 0; top: -24px; font: 700 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #fff; opacity: .85; text-shadow: 0 1px 8px #000; }
.pk2.dragging { cursor: grabbing; animation: none; }
.pk2.dragging .pk2-flap { transform: rotate(calc(var(--cut) * -4deg)) translateY(calc(var(--cut) * -3px)); }
.pk2 .pk2-light { position: absolute; left: 6%; right: 6%; top: var(--flap); height: 0; z-index: 2; pointer-events: none; opacity: 0;
  box-shadow: 0 0 60px 26px rgba(255,255,255,.85), 0 0 160px 60px rgba(var(--amb), .9); border-radius: 50%; }
/* torn: the flap flies off, light pours out, the pack sinks away */
.pk2.torn { animation: none; cursor: default; }
.pk2.torn .pk2-cut { opacity: 0; transition: opacity .2s; }
.pk2.torn .pk2-flap { animation: flapoff .7s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes flapoff { 0% { transform: rotate(-4deg); } 100% { transform: translate(160px, -260px) rotate(38deg); opacity: 0; } }
.pk2.torn .pk2-light { animation: pour .9s ease-out .15s forwards; }
@keyframes pour { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: .9; transform: scaleY(1.4); } }
.pk2.torn .pk2-body { clip-path: inset(var(--flap) 0 0 0 round 0 0 16px 16px); }
.pk2.spent { animation: sink .5s var(--ease) forwards; }
@keyframes sink { to { transform: translateY(160px) scale(.85); opacity: 0; filter: brightness(1.8) blur(4px); } }
.pk2.sealing { cursor: progress; filter: saturate(.75) brightness(.85); }
.pk2.sealing .pk2-cut { display: none; }
.pk2.sealing .pk2-body::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,.22) 50%, transparent 100%); background-size: 100% 40%; background-repeat: no-repeat; animation: scan 1.6s linear infinite; }
@keyframes scan { from { background-position: 0 -40%; } to { background-position: 0 140%; } }
.flash.tint { background: radial-gradient(circle, var(--hc) 0%, transparent 70%); animation-duration: .9s; }

/* the stack of prints, turned over one at a time */
.deck { --cw: 300px; position: relative; width: var(--cw); height: calc(var(--cw) * 1.43); flex: none; outline: none; cursor: pointer; }
.dk { position: absolute; inset: 0; z-index: calc(20 - var(--i)); perspective: 1600px;
  transform: translateY(calc(var(--d) * -1px)) rotate(calc(var(--r) * 1deg * min(1, var(--i)))); animation: rise2 .6s var(--ease) both; animation-delay: calc(var(--d) * 70ms); }
@keyframes rise2 { from { transform: translateY(220px) scale(.7) rotate(calc(var(--r) * 3deg)); opacity: 0; } }
.dk .inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .75s cubic-bezier(.2,.8,.2,1.15); }
.dk.open .inner { transform: rotateY(180deg); }
.dk .back, .dk .front { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 20px; }
.dk .back { overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2), 0 30px 70px -24px #000;
  background: radial-gradient(70% 50% at 50% 38%, rgba(155,93,229,.42), transparent 70%), radial-gradient(60% 40% at 50% 100%, rgba(0,187,249,.25), transparent 70%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 14px), repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 14px), #0c0b14; }
.dk .back::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.22) 50%, transparent 65%); background-size: 250% 100%; animation: shine 3.2s ease-in-out infinite; }
.dk .back .cb canvas.logo { width: 44px; height: 44px; border-radius: 10px; image-rendering: pixelated; }
.dk .back .cb b { font-size: 34px; }
.dk .front { transform: rotateY(180deg); }
.dk .front .card { height: 100%; animation: none; padding: 12px; border-radius: 20px; background: linear-gradient(180deg, #16141f, #0d0c14); }
.dk .front .card .card-title { font-size: 17px; }
.dk:not(.open):hover .inner { transform: translateY(-6px) rotateX(5deg); }
/* a rare one glows from the back, then shakes before it turns */
.dk.rare .back { box-shadow: inset 0 0 0 2px var(--hc), 0 0 60px 6px var(--hg), 0 30px 70px -24px #000; }
.dk.charge .inner { animation: charge .9s ease-in both; }
@keyframes charge { 0% { transform: none; } 20% { transform: translateX(-3px) rotate(-1deg); } 40% { transform: translateX(4px) rotate(1.5deg) scale(1.02); } 60% { transform: translateX(-6px) rotate(-2deg) scale(1.04); } 80% { transform: translateX(7px) rotate(2.5deg) scale(1.06); } 100% { transform: scale(1.08); } }
.dk.charge .back { box-shadow: inset 0 0 0 3px var(--hc), 0 0 120px 30px var(--hg), 0 0 40px 6px var(--hc); }
.dk.open { animation: none; transform: none; }
.dk.open .front { box-shadow: 0 0 0 1px color-mix(in srgb, var(--hc) 50%, transparent), 0 40px 90px -30px #000, 0 0 90px -20px var(--hg); }
.dk.away { animation: away .42s ease-in forwards; }
@keyframes away { to { transform: translateY(260px) scale(.3); opacity: 0; } }
.dk .stamp { position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%) rotate(-3deg) scale(0); z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 16px; border-radius: 12px; background: rgba(8,8,12,.92); border: 1px solid var(--hc); box-shadow: 0 0 30px -4px var(--hg); white-space: nowrap; }
.dk .stamp b { font: 800 16px var(--mono); color: var(--hc); letter-spacing: -.02em; }
.dk .stamp span { font: 700 9.5px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #fff; opacity: .85; }
.dk.open .stamp { animation: stamp .45s cubic-bezier(.2,1.6,.4,1) .55s forwards; }
@keyframes stamp { to { transform: translateX(-50%) rotate(-3deg) scale(1); } }
.dk .burst { top: 40%; }
/* the prints already turned, small, in a row */
.tray { display: flex; gap: 8px; min-height: 52px; justify-content: center; }
.tray .tr { width: 46px; height: 46px; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1.5px var(--hc), 0 0 18px -4px var(--hg); animation: tpop .4s cubic-bezier(.2,1.5,.4,1) both; }
.tray .tr img, .tray .tr canvas { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; display: block; }
@keyframes tpop { from { transform: translateY(-40px) scale(.4); opacity: 0; } }
.btn.ghost { background: transparent; border-color: transparent; color: var(--dim); }
.btn.ghost:hover { color: #fff; }
/* the whole pull */
.deal.summary { perspective: none; }
.deal.summary .card { width: 214px; animation: rise .6s var(--ease) both; animation-delay: calc(var(--i) * 90ms); }
.deal.summary .card.best { box-shadow: 0 0 0 1.5px var(--hc), 0 0 60px -10px var(--hg); }
.deal.summary .card.best::after { content: 'best'; position: absolute; top: -10px; left: 50%; transform: translateX(-50%); z-index: 6; padding: 2px 10px; border-radius: 999px; font: 800 10px var(--mono); letter-spacing: .16em; text-transform: uppercase; background: var(--hc); color: #000; }
@media (max-width: 640px) {
  .pk2 { --w: 230px; --h: 334px; margin-top: 2vh; }
  .pk2 .pk2-label b { font-size: 46px; }
  .deck { --cw: min(76vw, 300px); }
  .pk-stage .title { min-height: 80px; padding: 0 16px; }
  .deal.summary .card { width: calc(50% - 5px); max-width: 190px; }
}

/* ---------- Foil: a holographic sheet over the art ----------
   Rainbow bands slide as the light moves (the pointer, or a slow drift), a fine etch catches it, and a
   bright spot follows the light. Glitter twinkles where it's brightest. */
@keyframes foildrift { 0% { --fx: 12%; --fy: 8%; } 50% { --fx: 82%; --fy: 42%; } 100% { --fx: 30%; --fy: 92%; } }
.s-foil .card-art::after, .frame.s-foil::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: color-dodge; opacity: .8;
  background-image: repeating-linear-gradient(118deg, hsl(340 75% 36%) 0, hsl(40 80% 33%) 2.4%, hsl(110 65% 31%) 4.8%, hsl(185 80% 33%) 7.2%, hsl(235 75% 38%) 9.6%, hsl(290 70% 36%) 12%, hsl(340 75% 36%) 14.4%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0) 0 3px, rgba(255,255,255,.07) 3px 4px);
  background-size: 260% 260%, 100% 100%; background-position: var(--fx) var(--fy), center;
  -webkit-mask-image: radial-gradient(farthest-corner circle at var(--fx) var(--fy), #000 0%, rgba(0,0,0,.6) 35%, rgba(0,0,0,.22) 85%); mask-image: radial-gradient(farthest-corner circle at var(--fx) var(--fy), #000 0%, rgba(0,0,0,.6) 35%, rgba(0,0,0,.22) 85%);
  animation: foildrift 9s ease-in-out infinite alternate; transition: opacity .3s; }
.s-foil .card-art::before, .frame.s-foil::before { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; mix-blend-mode: color-dodge; opacity: .8;
  background-image: radial-gradient(circle at var(--fx) var(--fy), rgba(255,255,255,.42), rgba(255,255,255,0) 34%),
    radial-gradient(circle, #fff 0 .7px, transparent 1.3px), radial-gradient(circle, #fff 0 .5px, transparent 1.1px), radial-gradient(circle, #ffe9a8 0 .6px, transparent 1.2px);
  background-size: 100% 100%, 19px 17px, 31px 27px, 43px 37px; background-position: center, 0 0, 9px 13px, 21px 5px;
  -webkit-mask-image: radial-gradient(circle at var(--fx) var(--fy), #000 0%, rgba(0,0,0,.3) 30%, transparent 55%); mask-image: radial-gradient(circle at var(--fx) var(--fy), #000 0%, rgba(0,0,0,.3) 30%, transparent 55%);
  animation: foildrift 9s ease-in-out infinite alternate; }
.card.s-foil:hover .card-art::after, .card.s-foil.lit .card-art::after, .frame.s-foil.lit::after { opacity: 1; }
.card.s-foil.lit .card-art::after, .card.s-foil.lit .card-art::before, .frame.s-foil.lit::after, .frame.s-foil.lit::before { animation: none; }

/* rankings */
a.rankfact { display: block; color: inherit; text-decoration: none; cursor: pointer; transition: border-color .2s, background .2s; }
a.rankfact:hover { border-color: var(--line2); background: rgba(255,255,255,.05); }
a.rankfact > span:first-child { display: flex; justify-content: space-between; }
a.rankfact i { font-style: normal; text-transform: none; letter-spacing: 0; color: var(--dim2); }
.rklist { display: grid; gap: 4px; max-width: 820px; }
.rkrow { display: grid; grid-template-columns: 56px 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 12px; border-radius: 14px; color: inherit; text-decoration: none; cursor: pointer; border: 1px solid transparent; }
.rkrow:hover { background: rgba(255,255,255,.04); }
.rkrow .rk { font: 700 13px var(--mono); color: var(--dim); text-align: right; }
.rkrow .cthumb { width: 44px; height: 44px; border-radius: 9px; overflow: hidden; display: block; }
.rkrow .cthumb img, .rkrow .cthumb canvas { width: 100%; height: 100%; object-fit: cover; display: block; image-rendering: pixelated; }
.rkrow .rkn { display: flex; flex-direction: column; min-width: 0; }
.rkrow .rkn b, .rkrow .rkn small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rkrow .rkn small { color: var(--dim); font-size: 12px; }
.rkrow.me { background: color-mix(in srgb, var(--hc) 12%, transparent); border-color: color-mix(in srgb, var(--hc) 55%, transparent); }
.rkrow.me .rk { color: var(--hc); }
.rklist .more { justify-self: center; margin: 6px 0; }
@media (max-width: 640px) { .rkrow { grid-template-columns: 40px 38px minmax(0, 1fr) auto; gap: 9px; padding: 7px 6px; } .rkrow .cthumb { width: 38px; height: 38px; } }
/* pulping from a pack's results */
.pulpfoot { margin-top: 8px; }
.pulpfoot .pulp { width: 100%; justify-content: center; }
.card.pulped { opacity: .35; filter: grayscale(1); pointer-events: none; transition: opacity .5s, filter .5s; }
.card.pulped .pulpfoot { pointer-events: none; }
.pk-stage .taphint { max-width: 560px; margin: 0 auto 4px; line-height: 1.5; }

/* phones and tablets: the same pack opening, lighter on the graphics chip. No drifting specks, turning rays,
   floating or tilting pack, and the prints turn over flat (a 3D flip with foil inside flickers on some
   Android phones). */
@keyframes flip2d { 0% { transform: scaleX(1); } 50% { transform: scaleX(0); } 100% { transform: scaleX(1); } }
@keyframes facein { 0%, 49% { visibility: hidden; } 50%, 100% { visibility: visible; } }
@keyframes faceout { 0%, 49% { visibility: visible; } 50%, 100% { visibility: hidden; } }
@media (hover: none), (pointer: coarse) {
  .pk-stage { transition: none; }
  .pk-stage .motes { display: none; }
  .pk-stage .rays { animation: none; }
  .pk2 { animation: none; transform: none !important; transform-style: flat; }
  .pk2 .pk2-holo { animation: none; }
  .pk2 .pk2-body { box-shadow: 0 30px 70px -30px rgba(0,0,0,.95), inset 0 0 0 1px rgba(255,255,255,.28); }
  .pk2.spent { animation: sinklite .45s ease forwards; }
  .dk { perspective: none; }
  .dk .inner { transform-style: flat; transition: none; }
  .dk .back, .dk .front { backface-visibility: visible; -webkit-backface-visibility: visible; }
  .dk .front { transform: none; visibility: hidden; }
  .dk.open .inner { transform: none; animation: flip2d .44s ease-in-out both; }
  .dk.open .front { animation: facein .44s linear both; }
  .dk.open .back { animation: faceout .44s linear both; }
  .dk:not(.open):hover .inner { transform: none; }
  .dk .back::after { animation: none; }
  .dk.rare .back { box-shadow: inset 0 0 0 2px var(--hc), 0 0 30px 2px var(--hg); }
}
@keyframes sinklite { to { transform: translateY(160px) scale(.85); opacity: 0; } }

/* ink drops waiting, on Home; and the note on the sign-in screen when a drop link brought someone here */
.dropbar { display: flex; align-items: center; gap: 14px; margin: 10px 0 6px; padding: 12px 16px; border-radius: 16px; color: inherit; text-decoration: none;
  background: linear-gradient(120deg, rgba(76,201,240,.16), rgba(155,93,229,.14)); border: 1px solid rgba(76,201,240,.45); }
.dropbar .cb-ic { font-size: 22px; }
.dropbar b { display: block; } .dropbar small { color: var(--dim); }
.claimnote { margin: 14px 0 0; padding: 12px 14px; border-radius: 14px; background: rgba(76,201,240,.08); border: 1px solid rgba(76,201,240,.35); font-size: 13.5px; line-height: 1.5; max-width: 520px; }

/* the listing check */
.cfm { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; background: rgba(4,4,8,.72); backdrop-filter: blur(6px); animation: page .2s ease both; }
.cfm-box { width: min(520px, 100%); max-height: min(86vh, 760px); display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 22px; background: #111018; border: 1px solid var(--line2); box-shadow: 0 40px 120px -20px #000; }
.cfm-box h3 { margin: 0; font-size: 21px; letter-spacing: -.02em; }
.cfm-warn { padding: 14px 16px; border-radius: 14px; background: rgba(255,60,90,.12); border: 1.5px solid rgba(255,80,110,.7); color: #ffd7de; font-size: 14.5px; line-height: 1.5; }
.cfm-warn b { display: block; font-size: 16px; color: #fff; margin-bottom: 2px; }
.cfm-note { color: var(--dim); font-size: 13.5px; line-height: 1.5; }
.cfm-list { overflow: auto; display: grid; gap: 4px; min-height: 0; }
.cfm-row { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 10px; font-size: 14px; }
.cfm-row.low { background: rgba(255,60,90,.08); }
.cfm-row.low .ink { color: #ff8aa0; }
.cfm-row .cthumb { width: 34px; height: 34px; border-radius: 8px; overflow: hidden; flex: none; }
.cfm-row .cthumb img, .cfm-row .cthumb canvas { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; display: block; }
.cfm-total { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding-top: 10px; border-top: 1px solid var(--line); }
.cfm-total b { font-size: 18px; }
.cfm .actions { justify-content: flex-end; }
.cfm-row .grow { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* bulk selling: the hint while selecting, and the price editor */
.pickhint { margin: 0 0 14px; padding: 12px 16px; border-radius: 14px; background: rgba(124,92,255,.12); border: 1px solid rgba(124,92,255,.45); font-size: 14px; line-height: 1.5; }
.pickhint > b:first-child { display: inline-block; margin-right: 6px; padding: 1px 8px; border-radius: 999px; background: #7c5cff; color: #fff; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.cfm-set { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cfm-same { display: inline-flex; gap: 6px; }
.cfm-same .field { width: 90px; }
.cfm-row .rp { width: 92px; flex: none; text-align: right; }
.cfm-row.low .rp { border-color: rgba(255,80,110,.8); color: #ff8aa0; }

/* a gap in a set: a way to the collection's prints for sale */
a.slot.go { color: inherit; text-decoration: none; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
a.slot.go:hover { border-color: var(--line2); background: rgba(255,255,255,.04); transform: translateY(-2px); }
.slot .slot-buy { display: block; margin-top: 8px; font-size: 12px; color: var(--dim); }
.slot .slot-cta { display: inline-block; margin-top: 10px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 650; background: rgba(255,255,255,.08); border: 1px solid var(--line2); }
.slot .slot-cta { align-self: flex-start; }

/* sold out: what to do instead */
.collect.soldout .cb-free.so { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: rgba(255,210,63,.08); border: 1px solid rgba(255,210,63,.4); }
.collect.soldout .cb-free.so a { color: inherit; }
.collect.soldout a.cb-pack { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; text-decoration: none; color: #fff; background: linear-gradient(120deg, rgba(76,201,240,.16), rgba(155,93,229,.14)); border: 1px solid rgba(76,201,240,.45); }

.verifybar { display: flex; align-items: center; gap: 14px; margin: 10px 0 6px; padding: 14px 16px; border-radius: 16px; color: inherit; text-decoration: none; background: rgba(88,101,242,.14); border: 1px solid rgba(88,101,242,.55); }
.verifybar .cb-ic { font-size: 22px; } .verifybar b { display: block; } .verifybar small { color: var(--dim); }
@media (max-width: 640px) { .verifybar { flex-wrap: wrap; } }

.count[data-series] { cursor: pointer; color: #fff; font: 700 11px var(--mono); }
.count[data-series]:hover { background: rgba(255,255,255,.2); }
.onlybar { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; padding: 10px 14px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid var(--line2); }
.onlybar span { flex: 1; }

/* inventory: a card's collection name filters to that collection */
.inv-page .card-title, .grid .card-title { cursor: pointer; }
.grid .card-title:hover { text-decoration: underline; text-underline-offset: 3px; }
