.sp-page { --sc: var(--accent); --gold: #f2c23a; max-width: 980px; }
.sp-hero { --sc: var(--accent); display: grid; grid-template-columns: 1fr auto; grid-template-areas: "title acts" "prog prog"; gap: 16px 24px; align-items: center; padding: 20px 24px; margin: 0 0 16px; background: var(--bg2); border: 4px solid var(--ink); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--sc) 55%, var(--bg2)), 0 4px 0 var(--ink); position: relative; }
.sp-hero::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: repeating-linear-gradient(90deg, var(--sc) 0 12px, color-mix(in srgb, var(--sc) 55%, var(--ink)) 12px 24px); }
.sp-title { grid-area: title; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sp-kick { font-size: var(--fs-label, 14px); letter-spacing: 2px; color: var(--sc); line-height: 1; white-space: pre; }
.sp-sname { margin: 0; font-size: 34px; line-height: 1; color: var(--fg); text-shadow: 0 3px 0 var(--ink); }
.sp-acts { grid-area: acts; display: flex; gap: 12px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.sp-buy canvas { margin: 0 4px 0 2px; }
.sp-owned { display: inline-flex; align-items: center; height: 44px; padding: 0 16px; border: 3px solid var(--gold); color: var(--gold); font-size: var(--fs-label, 14px); letter-spacing: 2px; background: color-mix(in srgb, var(--gold) 12%, var(--bg2)); line-height: 1; }
.sp-prog { grid-area: prog; display: flex; gap: 16px; align-items: center; }
.sp-tierbox { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 72px; height: 64px; flex: none; background: var(--ink); border: 3px solid var(--sc); }
.sp-tiern { font-size: 30px; line-height: 1; color: var(--fg); }
.sp-tierk { font-size: var(--fs-small, 12px); line-height: 1; color: var(--muted); margin-top: 4px; letter-spacing: 1px; }
.sp-barwrap { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.sp-bar { height: 16px; background: var(--ink); border: 3px solid var(--ink); box-shadow: inset 0 0 0 2px var(--bg3); }
.sp-bar i { display: block; height: 100%; background: var(--sc); box-shadow: inset 0 -4px 0 color-mix(in srgb, var(--sc) 60%, var(--ink)); }
.sp-barlab { font-size: var(--fs-label, 14px); color: var(--fg); line-height: 1; }

.sp-switch { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 16px; }
.sp-switchk { font-size: var(--fs-label, 14px); color: var(--muted); line-height: 1; }
.sp-chip { height: 36px; padding: 0 14px; background: var(--bg2); color: var(--fg); border: 3px solid var(--ink); box-shadow: inset 0 0 0 2px var(--bg3); font: inherit; font-size: var(--fs-label, 14px); line-height: 1; cursor: pointer; }
.sp-chip.on { box-shadow: inset 0 0 0 2px var(--sc); color: var(--sc); }

.sp-vouch { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 16px; padding: 12px 16px; background: var(--bg2); border: 3px solid var(--ink); }
.sp-vouch.empty { display: none; }
.sp-vouchk { font-size: var(--fs-label, 14px); color: var(--accent); letter-spacing: 1px; line-height: 1; margin-right: 6px; }
.sp-vc { display: inline-grid; grid-template-columns: 52px auto auto; grid-template-rows: auto auto; column-gap: 10px; row-gap: 4px; align-items: center; padding: 6px 12px 6px 6px; background: var(--bg3); border: 3px solid var(--ink); color: var(--fg); font: inherit; cursor: pointer; }
.sp-vc > :first-child { grid-row: span 2; display: flex; justify-content: center; }
.sp-vcn { font-size: var(--fs-label, 14px); line-height: 1; }
.sp-vcx { font-size: var(--fs-label, 14px); color: var(--muted); line-height: 1; }
.sp-vco { grid-column: 2 / span 2; font-size: var(--fs-small, 12px); color: var(--accent); letter-spacing: 2px; line-height: 1; }
.sp-vc:hover { box-shadow: inset 0 0 0 2px var(--accent); }

.sp-track { position: relative; display: flex; flex-direction: column; gap: 10px; }
.sp-cols { display: grid; grid-template-columns: 1fr 64px 1fr; gap: 12px; padding: 0 0 2px; }
.sp-col { display: flex; align-items: center; justify-content: center; height: 36px; font-size: var(--fs-label, 14px); letter-spacing: 3px; line-height: 1; border: 3px solid var(--ink); white-space: pre; }
.sp-col.free { background: var(--bg2); color: var(--fg); }
.sp-col.prem { background: color-mix(in srgb, var(--gold) 18%, var(--bg2)); color: var(--gold); }
.sp-row { display: grid; grid-template-columns: 1fr 64px 1fr; gap: 12px; align-items: stretch; position: relative; }
.sp-node { position: relative; display: flex; align-items: center; justify-content: center; }
.sp-node::before { content: ""; position: absolute; left: 50%; top: -10px; bottom: -10px; width: 6px; margin-left: -3px; background: var(--bg3); }
.sp-row.on .sp-node::before { background: var(--sc); }
.sp-row:first-of-type .sp-node::before { top: 50%; }
.sp-row:last-child .sp-node::before { bottom: 50%; }
.sp-num { position: relative; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: var(--bg2); border: 3px solid var(--ink); box-shadow: inset 0 0 0 2px var(--bg3); font-size: 18px; line-height: 1; color: var(--muted); }
.sp-row.on .sp-num { background: var(--sc); color: var(--ink); box-shadow: inset 0 -4px 0 color-mix(in srgb, var(--sc) 60%, var(--ink)); }
.sp-row.next .sp-num { color: var(--fg); box-shadow: inset 0 0 0 2px var(--sc); }

.sp-cell { --rc: var(--muted); display: grid; grid-template-columns: 84px 1fr auto; align-items: center; gap: 12px; min-height: 72px; padding: 8px 12px 8px 8px; background: var(--bg2); border: 3px solid var(--ink); box-shadow: inset 0 0 0 2px var(--bg3), 0 3px 0 var(--ink); color: var(--fg); font: inherit; text-align: left; cursor: pointer; position: relative; }
.sp-cell.prem { background: color-mix(in srgb, var(--gold) 7%, var(--bg2)); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--gold) 35%, var(--bg3)), 0 3px 0 var(--ink); }
.sp-cell.big { min-height: 92px; box-shadow: inset 0 0 0 2px var(--rc), 0 3px 0 var(--ink); }
.sp-cell.big .sp-art { height: 72px; background: color-mix(in srgb, var(--rc) 18%, var(--ink)); }
.sp-cell.big .sp-art canvas { max-height: 64px; }
.sp-art { display: flex; align-items: center; justify-content: center; width: 84px; height: 56px; background: var(--ink); overflow: hidden; }
.sp-art canvas { max-width: 76px; max-height: 50px; image-rendering: pixelated; }
.sp-txt { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sp-kind { font-size: var(--fs-small, 12px); color: var(--muted); letter-spacing: 1px; line-height: 1; text-transform: uppercase; }
.sp-name { font-size: var(--fs-body, 16px); line-height: 1.1; color: var(--fg); overflow-wrap: anywhere; }
.sp-cell.big .sp-name { color: var(--rc); }
.sp-mark { display: flex; align-items: center; justify-content: center; min-width: 72px; }
.sp-lv, .sp-done, .sp-claim { display: inline-flex; align-items: center; justify-content: center; height: 30px; padding: 0 12px; font-size: var(--fs-label, 14px); letter-spacing: 1px; line-height: 1; }
.sp-lv { color: var(--muted); border: 2px solid var(--bg3); }
.sp-done { color: var(--good); }
.sp-claim { background: var(--accent); color: var(--ink); border: 2px solid var(--ink); }
.sp-swatch { width: 44px; height: 32px; background: var(--tc); border: 3px solid var(--fg); box-shadow: inset 0 -8px 0 color-mix(in srgb, var(--tc) 55%, var(--ink)); }

.sp-cell.free.locked .sp-art { opacity: 0.55; }
.sp-cell.prem.locked .sp-art, .sp-cell.paid .sp-art { opacity: 0.85; }
.sp-cell.locked .sp-name { color: color-mix(in srgb, var(--fg) 70%, var(--bg2)); }
.sp-cell.paid { background: color-mix(in srgb, var(--gold) 6%, var(--bg2)); }
.sp-cell.got { background: var(--bg); }
.sp-cell.got .sp-art, .sp-cell.got .sp-txt { opacity: 0.45; }
.sp-cell.ready { background: color-mix(in srgb, var(--accent) 22%, var(--bg2)); box-shadow: inset 0 0 0 3px var(--accent), 0 3px 0 var(--ink); animation: sp-ready 1.2s steps(2) infinite; }
.sp-cell.ready:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 3px var(--accent), 0 5px 0 var(--ink); }
.sp-cell:not(.ready):hover { box-shadow: inset 0 0 0 2px var(--fg), 0 3px 0 var(--ink); }
.sp-cell:focus-visible { outline: 3px solid var(--fg); outline-offset: 2px; }
@keyframes sp-ready { 50% { box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--accent) 50%, var(--bg2)), 0 3px 0 var(--ink); } }

body.phone .sp-page { padding-left: 10px; padding-right: 10px; }
body.phone .sp-hero { grid-template-columns: 1fr; grid-template-areas: "title" "prog" "acts"; padding: 16px 14px; gap: 14px; }
body.phone .sp-sname { font-size: 26px; }
body.phone .sp-acts { justify-content: stretch; }
body.phone .sp-acts > * { flex: 1 1 140px; justify-content: center; }
body.phone .sp-cols, body.phone .sp-row { grid-template-columns: 1fr 40px 1fr; gap: 6px; }
body.phone .sp-num { width: 34px; height: 34px; font-size: 14px; }
body.phone .sp-node::before { width: 4px; margin-left: -2px; }
body.phone .sp-cell { grid-template-columns: 1fr; grid-template-rows: auto auto auto; justify-items: center; text-align: center; gap: 6px; padding: 8px 6px; min-height: 0; }
body.phone .sp-art { width: 100%; max-width: 96px; height: 48px; }
body.phone .sp-txt { align-items: center; }
body.phone .sp-name { font-size: var(--fs-label, 14px); }
body.phone .sp-mark { min-width: 0; }
body.phone .sp-col { font-size: var(--fs-small, 12px); letter-spacing: 1px; }

.nav-season { display: inline-flex; align-items: center; height: 20px; padding: 0 6px; font-style: normal; font-size: 12px; overflow: visible; line-height: 1; letter-spacing: 1px; color: var(--ink); background: var(--accent); border: 2px solid var(--ink); white-space: nowrap; }
.nav-btn.on .nav-season { background: var(--fg); }
@media (max-width: 1180px) { body.pc .nav-season { display: none; } }

.sp-pcard { --sc: var(--accent); --gold: #f2c23a; display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; max-width: 1060px; box-sizing: border-box; margin: 16px auto 20px; padding: 16px 20px; background: color-mix(in srgb, var(--gold) 9%, var(--bg2)); border: 4px solid var(--ink); box-shadow: inset 0 0 0 2px var(--gold), 0 4px 0 var(--ink); }
.sp-pc-skins { display: flex; gap: 8px; }
.sp-pc-skin { display: flex; align-items: center; justify-content: center; width: 104px; height: 64px; background: color-mix(in srgb, var(--rc) 18%, var(--ink)); border: 3px solid var(--ink); box-shadow: inset 0 0 0 2px var(--rc); }
.sp-pc-skin canvas { image-rendering: pixelated; }
.sp-pc-mid { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.sp-pc-name { margin: 0; font-size: 24px; line-height: 1; color: var(--fg); }
.sp-pc-say { font-size: var(--fs-label, 14px); line-height: 1.35; color: color-mix(in srgb, var(--fg) 85%, var(--bg2)); }
.sp-pc-act { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.sp-pc-act > * { justify-content: center; }
.sp-gift { display: flex; flex-direction: column; gap: 12px; width: min(440px, 86vw); }
.sp-gift-say { font-size: var(--fs-label, 14px); line-height: 1.35; color: color-mix(in srgb, var(--fg) 85%, var(--bg2)); }
.sp-gift-list { display: flex; flex-direction: column; gap: 8px; max-height: 50vh; overflow-y: auto; }
.sp-gift-f { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; min-height: 48px; padding: 6px 10px 6px 14px; background: var(--bg2); border: 3px solid var(--ink); box-shadow: inset 0 0 0 2px var(--bg3); color: var(--fg); font: inherit; text-align: left; cursor: pointer; }
.sp-gift-f:hover { box-shadow: inset 0 0 0 2px var(--accent); }
.sp-gift-f:disabled { opacity: 0.5; cursor: default; }
.sp-gift-n { font-size: var(--fs-body, 16px); line-height: 1; }
.sp-gift-lv { font-size: var(--fs-small, 12px); color: var(--muted); line-height: 1; }
body.phone .sp-pcard { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 14px 12px; }
body.phone .sp-pc-mid { align-items: center; }
body.phone .sp-pc-act { width: 100%; }
.sp-crate { --sc: var(--accent); display: grid; grid-template-columns: auto 1fr auto; gap: 16px 24px; align-items: center; margin: 0 0 16px; padding: 16px 20px; background: var(--bg2); border: 4px solid var(--ink); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--sc) 45%, var(--bg2)), 0 4px 0 var(--ink); }
.sp-crate.empty { display: none; }
.sp-crart { display: grid; place-items: center; width: 144px; height: 120px; padding: 0; background: color-mix(in srgb, var(--sc) 18%, var(--bg3)); border: 3px solid var(--ink); cursor: pointer; }
.sp-crart:hover { box-shadow: inset 0 0 0 2px var(--sc); }
.sp-crtxt { display: grid; gap: 8px; min-width: 0; }
.sp-crname { margin: 0; font-size: var(--fs-h2, 24px); line-height: 1; color: var(--fg); }
.sp-crsay { margin: 0; font-size: var(--fs-body, 15px); line-height: 1.3; color: var(--muted); }
.sp-crbest { display: flex; flex-wrap: wrap; gap: 8px; }
.sp-crit { display: grid; place-items: center; width: 76px; height: 50px; background: var(--bg3); border: 3px solid var(--ink); box-shadow: inset 0 -4px 0 var(--rc); }
.sp-cracts { display: grid; gap: 10px; justify-items: stretch; min-width: 200px; }
body.phone .sp-crate { grid-template-columns: auto 1fr; padding: 14px; gap: 12px 14px; }
body.phone .sp-crart { width: 104px; height: 88px; }
body.phone .sp-cracts { grid-column: 1 / -1; min-width: 0; grid-template-columns: 1fr 1fr; }
body.phone .sp-cracts > :first-child:nth-last-child(3) { grid-column: 1 / -1; }
body.phone .sp-crit { width: 60px; height: 42px; }
.se-page { --ev: var(--accent); max-width: 1040px; }
.se-intro { margin: 0 0 16px; font-size: var(--fs-body, 15px); line-height: 1.35; color: var(--muted); }
.se-stall { --ev: var(--accent); margin: 0 0 24px; background: var(--bg2); border: 4px solid var(--ink); box-shadow: 0 4px 0 var(--ink); }
.se-awning { height: 24px; border-bottom: 4px solid var(--ink); background: repeating-linear-gradient(90deg, var(--ev) 0 32px, color-mix(in srgb, var(--ev) 30%, #fff) 32px 64px); box-shadow: inset 0 -4px 0 rgb(0 0 0 / 0.25); }
.se-body { display: grid; grid-template-columns: 248px 1fr; gap: 20px 28px; padding: 20px 24px 24px; align-items: start; }
.se-stage { display: grid; place-items: center; width: 248px; height: 200px; padding: 0; cursor: pointer; border: 4px solid var(--ink); background: color-mix(in srgb, var(--ev) 22%, var(--bg3)); box-shadow: inset 0 -24px 0 color-mix(in srgb, var(--ev) 10%, var(--bg)); }
.se-stage:hover { box-shadow: inset 0 -24px 0 color-mix(in srgb, var(--ev) 10%, var(--bg)), inset 0 0 0 3px var(--ev); }
.se-info { display: grid; gap: 10px; min-width: 0; }
.se-kick { font-size: var(--fs-label, 14px); letter-spacing: 2px; line-height: 1; color: var(--ev); }
.se-name { margin: 0; font-size: var(--fs-h1, 30px); line-height: 1; color: var(--fg); }
.se-when { font-size: var(--fs-label, 14px); line-height: 1; color: var(--fg); }
.se-say { margin: 0; font-size: var(--fs-body, 15px); line-height: 1.3; color: var(--muted); }
.se-best { display: flex; flex-wrap: wrap; gap: 8px; }
.se-it { display: grid; place-items: center; width: 72px; height: 48px; background: var(--bg3); border: 3px solid var(--ink); box-shadow: inset 0 -4px 0 var(--rc); }
.se-deals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 4px; }
.se-deal { display: grid; justify-items: center; gap: 8px; padding: 12px 8px; font: inherit; color: var(--fg); cursor: pointer; background: var(--bg3); border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink); }
.se-deal:hover:not(:disabled) { box-shadow: 0 4px 0 var(--ink), inset 0 0 0 3px var(--ev); }
.se-deal:active:not(:disabled) { transform: translateY(4px); box-shadow: 0 0 0 var(--ink); }
.se-deal:disabled { opacity: 0.5; cursor: not-allowed; }
.se-deal.save { background: color-mix(in srgb, var(--ev) 16%, var(--bg3)); }
.se-dn { font-size: var(--fs-h2, 24px); line-height: 1; }
.se-dp { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-label, 14px); line-height: 1; color: var(--gold, #f2c23a); }
.se-doff { padding: 4px 8px; font-size: var(--fs-small, 12px); line-height: 1; letter-spacing: 1px; color: var(--ink); background: var(--ev); }
.se-doff.plain { color: var(--muted); background: transparent; }
.se-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 4px; }
.se-own { display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; margin-right: auto; background: var(--bg3); border: 3px solid var(--ink); }
.se-ownk { font-size: var(--fs-small, 12px); letter-spacing: 1px; color: var(--muted); line-height: 1; }
.se-ownn { font-size: var(--fs-h2, 24px); line-height: 1; color: var(--fg); }
.se-next { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0 0 24px; }
.se-ncard { display: grid; justify-items: center; gap: 8px; padding: 14px 8px 16px; font: inherit; color: var(--fg); cursor: pointer; text-align: center; background: var(--bg2); border: 3px solid var(--ink); box-shadow: inset 0 4px 0 var(--ev); }
.se-ncard:hover { box-shadow: inset 0 4px 0 var(--ev), inset 0 0 0 3px var(--ev); }
.se-nart { display: grid; place-items: center; height: 64px; }
.se-nname { font-size: var(--fs-label, 14px); line-height: 1.1; }
.se-nwhen { font-size: var(--fs-small, 12px); line-height: 1; color: var(--muted); }
.ev-card.stash .button, .ev-card.stash button { margin-top: 4px; }
body.phone .se-body { grid-template-columns: 1fr; padding: 14px; gap: 14px; }
body.phone .se-stage { width: 100%; height: 168px; }
body.phone .se-deals { gap: 8px; }
body.phone .se-next { grid-template-columns: 1fr 1fr; }
body.phone .se-foot > .button, body.phone .se-foot > button { flex: 1 1 140px; }
.ev-feature.ev2 { border: 4px solid var(--ink); box-shadow: 0 4px 0 var(--ink), inset 0 0 0 2px color-mix(in srgb, var(--ev) 45%, var(--bg2)); background: var(--bg2); }
.ev-feature.ev2 .ev-kicker { font-size: var(--fs-label, 14px); }
.ev-feature.ev2 .ev-time { font-size: var(--fs-body, 15px); }
.ev-stash { display: inline-grid; grid-template-columns: auto auto auto auto; align-items: center; gap: 8px 12px; justify-self: start; align-self: flex-start; padding: 8px 14px; background: var(--bg3); border: 3px solid var(--ink); }
.ev-stashk { font-size: var(--fs-small, 12px); letter-spacing: 1px; line-height: 1; color: var(--muted); }
.ev-stashn { font-size: var(--fs-h2, 24px); line-height: 1; color: var(--fg); margin-right: 8px; }
.ev-shelves { display: grid; gap: 12px; max-width: 1060px; margin: 0 auto 24px; }
.ev-shelf { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: center; padding: 10px 12px; background: var(--bg2); border: 3px solid var(--ink); box-shadow: inset 4px 0 0 var(--rc); }
.ev-shelfk { font-size: var(--fs-label, 14px); line-height: 1.1; color: var(--rc); padding-left: 6px; }
.ev-shelfi { display: flex; flex-wrap: wrap; gap: 8px; }
.ev-item { display: grid; justify-items: center; gap: 4px; width: 96px; padding: 6px 4px; background: var(--bg); border: 3px solid var(--ink); opacity: 0.55; }
.ev-item.got { opacity: 1; box-shadow: inset 0 -4px 0 var(--rc); }
.ev-itemart { display: grid; place-items: center; height: 48px; }
.ev-itemn { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--fs-small, 12px); line-height: 1.1; color: var(--fg); }
.ev-item .ev-q { font-size: 24px; color: var(--rc); }
body.phone .ev-shelf { grid-template-columns: 1fr; padding: 10px; }
body.phone .ev-shelfi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.phone .ev-item { width: auto; }
.ev-stashgrid { display: flex; flex-wrap: wrap; justify-content: center; margin-bottom: 24px; }
.ev-stashgrid > .ev-card { width: 196px; box-sizing: border-box; }
body.phone .ev-stashgrid > .ev-card { width: calc(50% - 6px); }
.se-ncard.soon { cursor: default; }
.sp-hero { overflow: hidden; isolation: isolate; min-height: 180px; }
.sp-hero > :not(.sp-scene) { position: relative; z-index: 1; }
.sp-scene { position: absolute; z-index: 0; right: 0; top: 0; height: 100%; aspect-ratio: 4 / 1; image-rendering: pixelated; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 38%); mask-image: linear-gradient(90deg, transparent 0, #000 38%); }
.sp-hero::after { content: ""; position: absolute; z-index: 0; inset: auto 0 0 0; height: 34%; background: linear-gradient(0deg, color-mix(in srgb, var(--bg2) 75%, transparent), transparent); pointer-events: none; }
.sp-hero::before { z-index: 2; }
.sp-sname { text-shadow: 0 3px 0 var(--ink), 3px 0 0 var(--ink), -3px 0 0 var(--ink); }
body.phone .sp-hero { min-height: 0; padding-top: 60px; }
body.phone .sp-scene { left: 0; right: 0; width: 100%; height: auto; -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 60%); mask-image: linear-gradient(0deg, transparent 0, #000 60%); }
.sp-pile { display: inline-flex; align-items: flex-end; }
.sp-pile > * { flex: none; }
.sp-pile > * + * { margin-left: -14px; }
.sp-pile.k2 > :nth-child(2), .sp-pile.k3 > :nth-child(2) { transform: translateY(-6px); }
.sp-pile.k3 > :nth-child(3) { transform: translateY(2px); }
.sp-art canvas { max-width: 80px; max-height: 52px; }
.sp-name.num { font-size: 20px; color: var(--gold); text-shadow: 0 2px 0 var(--ink); }
.sp-cell.got .sp-mark .sp-done::before { content: ""; display: inline-block; width: 10px; height: 6px; margin: -4px 8px 0 0; border: solid var(--good); border-width: 0 0 3px 3px; transform: rotate(-45deg); }
.sp-cell.pop { animation: sp-pop 0.42s steps(6) 1; }
.sp-cell.pop .sp-art { animation: sp-popart 0.42s steps(6) 1; }
@keyframes sp-pop { 0% { transform: scale(1); background: color-mix(in srgb, var(--accent) 45%, var(--bg2)); } 35% { transform: scale(1.04); } 100% { transform: scale(1); } }
@keyframes sp-popart { 0% { opacity: 1; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-8px); } 100% { opacity: 0.45; transform: translateY(0); } }
.sp-tops { margin: 0 0 18px; }
.sp-topsk { display: block; margin: 0 0 8px; font-size: var(--fs-label, 14px); letter-spacing: 3px; color: var(--sc); line-height: 1; }
.sp-toprow { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.sp-top { --rc: var(--sc); display: flex; flex-direction: column; align-items: stretch; gap: 6px; padding: 6px 6px 8px; background: var(--bg2); border: 3px solid var(--ink); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--rc) 45%, var(--bg3)), 0 3px 0 var(--ink); cursor: pointer; font: inherit; color: var(--fg); text-align: center; min-width: 0; }
.sp-top:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 2px var(--rc), 0 5px 0 var(--ink); }
.sp-topart { display: flex; align-items: center; justify-content: center; height: 64px; background: color-mix(in srgb, var(--rc) 16%, var(--ink)); overflow: hidden; }
.sp-topart canvas { max-width: 100%; max-height: 60px; image-rendering: pixelated; }
.sp-top.skin .sp-topart { background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--rc) 40%, var(--ink)), var(--ink) 75%); }
.sp-topname { font-size: var(--fs-small, 12px); line-height: 1.15; min-height: 2.3em; display: flex; align-items: center; justify-content: center; overflow-wrap: anywhere; }
.sp-top.skin .sp-topname { color: var(--rc); }
.sp-topk { font-size: 10px; letter-spacing: 0; color: var(--muted); line-height: 1; white-space: pre; }
.sp-topst { font-size: 10px; letter-spacing: 1px; line-height: 1; padding: 4px 0; background: var(--ink); color: var(--muted); }
.sp-top.ready .sp-topst { background: var(--accent); color: var(--ink); }
.sp-top.got .sp-topst { color: var(--good); }
.sp-top.got .sp-topart { opacity: 0.5; }
.sp-row.flash .sp-cell { animation: sp-flash 1.1s steps(2) 2; }
@keyframes sp-flash { 50% { box-shadow: inset 0 0 0 3px var(--fg), 0 3px 0 var(--ink); } }
body.phone .sp-toprow { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
body.phone .sp-top { flex: 0 0 116px; scroll-snap-align: start; }
.sp-cell.prem.unlock { animation: sp-unlock 0.5s steps(5) 1 both; }
@keyframes sp-unlock { 0% { transform: scale(0.96); filter: brightness(1.8); } 60% { transform: scale(1.02); } 100% { transform: scale(1); filter: none; } }
.sp-intro { display: flex; flex-direction: column; width: 100%; min-width: 0; box-sizing: border-box; }
.sp-introbg { position: relative; aspect-ratio: 4 / 1; min-height: 120px; overflow: hidden; border-bottom: 4px solid var(--ink); background: var(--ink); }
.sp-introbg .sp-scene { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; -webkit-mask-image: none; mask-image: none; }
.sp-introt { position: absolute; left: 20px; bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.sp-introt .sp-kick { color: var(--fg); text-shadow: 0 2px 0 var(--ink); }
.sp-introbody { display: flex; flex-direction: column; gap: 14px; padding: 18px 20px 20px; }
.sp-introskins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sp-introskin { min-width: 0; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 6px; background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--rc) 35%, var(--ink)), var(--ink) 80%); border: 3px solid var(--ink); box-shadow: inset 0 0 0 2px var(--rc); color: var(--rc); font-size: var(--fs-small, 12px); text-align: center; }
.sp-introskin canvas { image-rendering: pixelated; max-width: 100%; }
.sp-introsay { margin: 0; font-size: var(--fs-body, 16px); line-height: 1.35; color: var(--fg); }
.sp-introacts { display: flex; justify-content: flex-end; }
body.phone .sp-introacts > * { flex: 1; }
body.phone .sp-introskins { gap: 6px; } body.phone .sp-introbody { padding: 14px 4px 6px; }
.sp-earn { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -4px 0 16px; }
.sp-earnk { font-size: var(--fs-small, 12px); letter-spacing: 2px; color: var(--muted); line-height: 1; margin-right: 4px; }
.sp-ex { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px; background: var(--bg2); border: 2px solid var(--ink); box-shadow: inset 0 0 0 2px var(--bg3); font: inherit; font-size: var(--fs-small, 12px); color: var(--fg); line-height: 1; }
button.sp-ex { cursor: pointer; }
button.sp-ex:hover { box-shadow: inset 0 0 0 2px var(--sc); }
.sp-exx { color: var(--sc); }
body.phone .sp-earn { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
body.phone .sp-ex { flex: none; }
.sp-cell.big { grid-template-columns: 140px 1fr auto; }
.sp-cell.big .sp-art { width: 140px; }
.sp-cell.big .sp-art canvas { max-width: 132px; max-height: 64px; }
body.phone .sp-cell.big { grid-template-columns: 1fr; }
body.phone .sp-cell.big .sp-art { width: 100%; max-width: 140px; height: 64px; }
body.phone .sp-cell.big .sp-art canvas { max-width: 100%; }
.sp-chip { display: inline-flex; align-items: center; gap: 8px; }
.sp-chipt { color: var(--muted); font-size: var(--fs-small, 12px); }
.sp-chipr { padding: 3px 6px; background: var(--accent); color: var(--ink); font-size: 10px; letter-spacing: 1px; line-height: 1; }
.se-stage, .ev-stage { position: relative; overflow: hidden; isolation: isolate; }
.ev-scene { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; pointer-events: none; }
.se-stage > canvas:not(.ev-scene), .ev-stage > canvas:not(.ev-scene) { position: relative; }
.sp-chs { margin: 0 0 18px; }
.sp-chs.empty { display: none; }
.sp-chhead { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 8px; }
.sp-chhead .sp-topsk { margin: 0; }
.sp-chk { font-size: var(--fs-small, 12px); letter-spacing: 1px; color: var(--muted); line-height: 1; }
.sp-chgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sp-ch { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; background: var(--bg2); border: 3px solid var(--ink); box-shadow: inset 0 0 0 2px var(--bg3), 0 3px 0 var(--ink); min-width: 0; }
.sp-ch.ready { box-shadow: inset 0 0 0 3px var(--accent), 0 3px 0 var(--ink); background: color-mix(in srgb, var(--accent) 14%, var(--bg2)); }
.sp-ch.got { opacity: 0.6; }
.sp-cht { font-size: var(--fs-small, 12px); line-height: 1.25; color: var(--fg); }
.sp-chbar { height: 8px; background: var(--ink); border: 2px solid var(--ink); }
.sp-chbar i { display: block; height: 100%; background: var(--sc); }
.sp-ch.got .sp-chbar i { background: var(--good); }
.sp-chfoot { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 30px; }
.sp-chn { font-size: var(--fs-small, 12px); color: var(--muted); line-height: 1; }
.sp-ch.got .sp-chn { color: var(--good); }
.sp-chx { font-size: 10px; letter-spacing: 1px; color: var(--sc); line-height: 1; }
body.phone .sp-chgrid { grid-template-columns: 1fr 1fr; gap: 8px; }
.sp-chn, .sp-chx, .sp-earnk { white-space: nowrap; }
body.phone .sp-chfoot { flex-direction: column; align-items: flex-start; gap: 6px; }
body.phone .sp-chfoot .btn { align-self: stretch; }
body.phone .sp-earn { scrollbar-width: none; }
