.style-shop{width:min(calc(100% - 24px),620px);max-width:none;max-height:min(92dvh,760px);padding:0;border:1px solid #9871dd;border-radius:22px;background:#1b1130;color:#fff5ec;box-shadow:0 22px 70px #090511d9;overscroll-behavior:contain}
.style-shop::backdrop{background:#080511b8}
.sty-header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;background:#1b1130;border-bottom:1px solid #3b2b52}.sty-header>div{display:flex;align-items:center;gap:12px}.sty-header h2{margin:0;font-size:clamp(1.35rem,6vw,1.9rem)}.sty-price{border:1px solid #c4a260;border-radius:999px;color:#ffe4a9;padding:4px 10px;font-size:.82rem;white-space:nowrap}.sty-close{min-width:44px;min-height:44px}
.sty-body{display:grid;gap:16px;padding:16px 18px 20px}.sty-preview{--sty-accent:#ffd168;position:relative;min-height:155px;display:grid;grid-template-rows:1fr auto;place-items:center;gap:8px;padding:18px;border:2px solid var(--sty-accent);border-radius:18px;overflow:hidden;isolation:isolate;background:radial-gradient(ellipse at 70% 48%,#553d77,#1b1332)}.sty-preview[data-scene=marquee]{background:linear-gradient(90deg,#10072080,#10072052),url("/art/game-stage.webp") center 49%/cover}.sty-preview[data-scene=afterglow]{background:radial-gradient(ellipse at 73% 18%,#ffb171 0%,transparent 41%),linear-gradient(165deg,#552443,#240f36 75%)}.sty-preview[data-scene=reef]{background:radial-gradient(ellipse at 76% 15%,#2cd2b9,transparent 55%),linear-gradient(145deg,#103842,#111636)}.sty-preview[data-scene=neon]{background:radial-gradient(ellipse at 75% 0,#db3fc7,transparent 48%),linear-gradient(146deg,#323078,#181134)}.sty-preview[data-scene=orchard]{background:radial-gradient(ellipse at 70% 0,#ff9c65,transparent 55%),linear-gradient(145deg,#6f2b20,#2f193b 80%)}.sty-preview[data-scene=ice]{background:radial-gradient(ellipse at 75% 0,#9bdcff,transparent 48%),linear-gradient(144deg,#314582,#171834)}
.sty-preview[data-accent=berry]{--sty-accent:#fa87dd}.sty-preview[data-accent=mint]{--sty-accent:#79ebc5}.sty-preview[data-accent=sky]{--sty-accent:#8dd7ff}.sty-preview[data-accent=rose]{--sty-accent:#ff9c9a}.sty-preview[data-accent=plum]{--sty-accent:#d7a3ff}.sty-preview[data-accent=silver]{--sty-accent:#e5eeff}.sty-preview[data-accent=lime]{--sty-accent:#ceef82}
.sty-avatar{display:grid;place-items:center;width:76px;height:76px;border-radius:24px;border:3px solid var(--sty-accent);background:#19112d;box-shadow:0 0 22px #05040c8c;font-size:2.35rem}.sty-preview[data-frame=pearl] .sty-avatar,.sty-preview[data-frame=orbit] .sty-avatar{border-radius:50%;border-style:double;border-width:5px}.sty-preview[data-frame=electric] .sty-avatar{border-style:dashed;transform:rotate(-5deg)}.sty-preview[data-frame=prism] .sty-avatar{border-radius:12px 38px 12px 38px}.sty-preview[data-frame=hearts] .sty-avatar,.sty-preview[data-frame=bloom] .sty-avatar{border-radius:28px 28px 17px 17px}.sty-preview[data-frame=comet] .sty-avatar{border-style:dotted;box-shadow:0 0 20px var(--sty-accent)}
.sty-emblem{position:absolute;top:77px;margin-left:65px;color:#180d2d;background:var(--sty-accent);display:grid;place-items:center;width:27px;height:27px;border-radius:50%;font-weight:900}.sty-name{background:#160d2b;color:#fff3eb;padding:4px 12px;border-radius:20px;font-size:.86rem}.sty-preview-badge{position:absolute;top:9px;left:9px;background:#190e2e;border:1px solid #9c82c4;color:#fff0d8;padding:3px 8px;border-radius:20px;font-size:.65rem;letter-spacing:.1em}.sty-group{min-width:0}.sty-group h3{margin:0 0 7px;font-size:.88rem;letter-spacing:.02em}.sty-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.sty-option{display:grid;place-content:center;justify-items:center;padding:5px;min-width:0;min-height:49px;gap:2px;font-size:.72rem;line-height:1.18;text-align:center}.sty-option-icon{font-size:1.16rem;line-height:1}.sty-option[aria-pressed=true],.sty-swatch[aria-pressed=true]{outline:2px solid #ffe09a;outline-offset:1px}.sty-swatches{display:flex;flex-wrap:wrap;gap:6px}.sty-swatch{display:block;min-width:38px;min-height:38px;width:38px;border:2px solid #2b1d41;background:#ffd168;padding:0}.sty-swatch[data-key=berry]{background:#fa87dd}.sty-swatch[data-key=mint]{background:#79ebc5}.sty-swatch[data-key=sky]{background:#8dd7ff}.sty-swatch[data-key=rose]{background:#ff9c9a}.sty-swatch[data-key=plum]{background:#d7a3ff}.sty-swatch[data-key=silver]{background:#e5eeff}.sty-swatch[data-key=lime]{background:#ceef82}.sty-terms,.sty-status{margin:0;font-size:.86rem;color:#dfd0ef}.sty-status{font-weight:650}.sty-sr{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
@media(max-width:360px){.sty-body{padding:12px}.sty-header{padding:10px 12px}.sty-option{font-size:.67rem}.sty-swatch{width:34px;min-width:34px;min-height:34px}}

.style-entry{margin:10px 0 0;text-align:center}.style-entry .jb-btn{font-size:.82rem;min-height:44px}

.sty-preview[data-scene=marquee],body[data-trial-stage=marquee] .card.question{background-image:linear-gradient(90deg,#170f299c,#170f2960),url('/art/style-marquee.webp');background-size:cover;background-position:center 53%}
.sty-preview[data-scene=afterglow],body[data-trial-stage=afterglow] .card.question{background-image:linear-gradient(90deg,#170f299c,#170f2960),url('/art/style-afterglow.webp');background-size:cover;background-position:center 53%}
.sty-preview[data-scene=reef],body[data-trial-stage=reef] .card.question{background-image:linear-gradient(90deg,#170f299c,#170f2960),url('/art/style-reef.webp');background-size:cover;background-position:center 53%}
.sty-preview[data-scene=neon],body[data-trial-stage=neon] .card.question{background-image:linear-gradient(90deg,#170f299c,#170f2960),url('/art/style-neon.webp');background-size:cover;background-position:center 53%}
.sty-preview[data-scene=orchard],body[data-trial-stage=orchard] .card.question{background-image:linear-gradient(90deg,#170f299c,#170f2960),url('/art/style-orchard.webp');background-size:cover;background-position:center 53%}
.sty-preview[data-scene=ice],body[data-trial-stage=ice] .card.question{background-image:linear-gradient(90deg,#170f299c,#170f2960),url('/art/style-ice.webp');background-size:cover;background-position:center 53%}
body[data-trial-stage] .card.question .question-inner{background:#190e30dc;border-radius:14px;margin:8px;display:block}

body[data-trial-accent=berry]{--trial-accent:#fa87dd}
body[data-trial-accent=mint]{--trial-accent:#79ebc5}
body[data-trial-accent=sky]{--trial-accent:#8dd7ff}
body[data-trial-accent=rose]{--trial-accent:#ff9c9a}
body[data-trial-accent=plum]{--trial-accent:#d7a3ff}
body[data-trial-accent=silver]{--trial-accent:#e5eeff}
body[data-trial-accent=lime]{--trial-accent:#ceef82}
body[data-trial-stage] .card.question{border-color:var(--trial-accent,#ffd168)} body[data-trial-stage] .live-score-name:has(+.live-score-meta .you-badge) .character-art{outline:2px solid var(--trial-accent,#ffd168);outline-offset:2px}
body[data-trial-frame=pearl] .live-score-name:has(+.live-score-meta .you-badge) .character-art{border-radius:50%;outline-style:double}
body[data-trial-frame=orbit] .live-score-name:has(+.live-score-meta .you-badge) .character-art{border-radius:50%;outline-style:solid}
body[data-trial-frame=electric] .live-score-name:has(+.live-score-meta .you-badge) .character-art{border-radius:8px;outline-style:dashed}
body[data-trial-frame=prism] .live-score-name:has(+.live-score-meta .you-badge) .character-art{border-radius:4px 13px;outline-style:solid}
body[data-trial-frame=hearts] .live-score-name:has(+.live-score-meta .you-badge) .character-art{border-radius:9px 9px 4px 4px;outline-style:double}
body[data-trial-frame=bloom] .live-score-name:has(+.live-score-meta .you-badge) .character-art{border-radius:9px 9px 4px 4px;outline-style:dotted}
body[data-trial-frame=comet] .live-score-name:has(+.live-score-meta .you-badge) .character-art{border-radius:25%;outline-style:dotted}
@media(max-width:480px){
 .sty-body{gap:12px}.sty-swatches{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:5px}
 .sty-swatch{width:100%;min-width:0;min-height:36px}.sty-option{min-height:44px}
}
