#skin-roulette{margin:0 0 42px;padding:28px;border:1px solid #6385a744;border-radius:18px;background:linear-gradient(120deg,#101827ed,#0a1b2ded);box-shadow:0 18px 60px #0003;color:#edf3fb}
.roulette-heading{display:flex;justify-content:space-between;align-items:center;gap:24px}.roulette-heading h2{font-size:clamp(26px,3vw,40px);letter-spacing:-.04em;margin:8px 0}.roulette-heading p{color:#a8bbce;font-size:14px;line-height:1.6}.roulette-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.roulette-controls label{display:flex;align-items:center;gap:8px;font-size:14px;white-space:nowrap}.roulette-controls input{width:18px;height:18px;accent-color:#ff9655}.roulette-controls button,#roulette-profile,.skin-profile button{border:1px solid #6b8aa34a;border-radius:8px;background:#203146;color:#edf3fb;padding:12px 18px;cursor:pointer;font:inherit}.roulette-controls .roulette-primary{background:linear-gradient(110deg,#fc9454,#e47839);color:#151b24;font-weight:800;border:0}.roulette-controls button:disabled{opacity:.5;cursor:wait}#skin-roulette button[hidden]{display:none}
.skin-reel-shell{position:relative;margin-top:24px;padding-top:12px}.skin-reel-viewport{position:relative;overflow:hidden;height:210px;isolation:isolate}.skin-reel-viewport:before,.skin-reel-viewport:after{content:'';position:absolute;inset:0 auto 0 0;width:12%;pointer-events:none;z-index:3;background:linear-gradient(90deg,#101a29,transparent)}.skin-reel-viewport:after{left:auto;right:0;background:linear-gradient(270deg,#0b1b2c,transparent)}.skin-reel-track{position:relative;display:flex;gap:16px;width:max-content;will-change:transform}.skin-reel-card{width:224px;flex-shrink:0;padding:7px;text-align:center;opacity:.68;box-sizing:border-box}.skin-reel-card>div{height:124px;background:#152437;border:1px solid #8ca5c12b;border-radius:10px;display:grid;place-items:center}.skin-reel-card img{width:100%;height:100%;object-fit:contain;padding:10px;box-sizing:border-box}.skin-reel-card strong,.skin-reel-card small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.skin-reel-card strong{font-size:13px;margin-top:12px}.skin-reel-card small{font-size:11px;color:#9eb6cd;margin-top:6px}.skin-reel-card.selected{opacity:1}.skin-reel-selection{position:absolute;top:16px;left:50%;transform:translateX(-50%);width:214px;height:132px;border:2px solid #ffad70;border-radius:12px;box-shadow:0 0 25px #fd93562b;pointer-events:none;z-index:4}.skin-reel-pointer{position:absolute;left:50%;top:0;transform:translateX(-50%);width:24px;height:4px;border-radius:4px;background:#ffad70;z-index:4}#roulette-status{margin:8px 0;color:#b7c7d7;font-size:14px}#roulette-profile{margin-top:10px}
.skin-profile{width:min(1120px,calc(100% - 32px));max-height:90dvh;border:1px solid #82a3bf55;border-radius:18px;padding:24px;background:#0e1929;color:#ecf3fb;box-sizing:border-box}.skin-profile::backdrop{background:#020814dd;backdrop-filter:blur(6px)}.skin-profile-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px}.skin-profile-head h2{font-size:clamp(27px,4vw,42px);margin:8px 0;letter-spacing:-.04em}.skin-profile code{display:block;overflow-wrap:anywhere;font-size:12px;line-height:1.65;color:#bfd8ef}.skin-profile-head p{color:#9fb3c9}.skin-profile-head button{flex-shrink:0}.skin-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.skin-profile-card{overflow:hidden;border:1px solid #6385a738;border-radius:12px;background:#162236}.skin-profile-card.skin-winner{border-color:#ffab6a;box-shadow:0 0 24px #ff9a5020}.skin-profile-card>img{display:block;width:100%;height:210px;object-fit:contain;padding:18px;box-sizing:border-box;background:#0b1424}.skin-profile-card>div{padding:20px}.skin-profile-card h3{margin:10px 0;font-size:22px}.skin-profile-card p{color:#9fb3c9;font-size:13px;line-height:1.6}.winner-badge{color:#ffc394;font-size:11px;font-weight:800;letter-spacing:.12em}.skin-profile .profile-inventory{margin-bottom:4px}.skin-profile-card button{font-size:12px;margin:6px 0}.profile-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:12px}.profile-actions a{padding:12px 16px;border-radius:8px;background:#fc9659;color:#152031;font-weight:700;text-decoration:none;font-size:13px}.profile-source{color:#83bce9;font-size:12px}.skin-profile-footer{display:flex;justify-content:space-between;gap:16px;margin-top:24px;color:#b1c6db}.skin-profile button:focus-visible,#skin-roulette button:focus-visible{outline:2px solid #ffb276;outline-offset:3px}
@media(max-width:700px){#skin-roulette{padding:18px;margin-bottom:30px}.roulette-heading{align-items:flex-start;flex-direction:column;gap:12px}.skin-reel-card{width:184px}.skin-reel-selection{width:174px}.skin-profile{padding:18px}.skin-profile-grid{grid-template-columns:1fr}.skin-profile-head .tag{font-size:10px}.skin-profile-card>img{height:170px}}

#skin-roulette .tag,.skin-profile .tag{font-size:11px;letter-spacing:.12em;color:#ffc090;font-weight:700}
/* Keep the reel independent of the catalogue's generic selected-card styles. */
.skin-reel-card.selected{min-height:0;margin-top:0;padding:7px;border-top:0}
.roulette-selection-row{display:flex;gap:24px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-top:14px}.roulette-categories{display:flex;gap:7px;flex-wrap:wrap}.roulette-categories button{padding:8px 12px;background:transparent;color:#9cb0c6;border:1px solid #657c982b;border-radius:999px;font:inherit;font-size:12px;cursor:pointer}.roulette-categories button[aria-pressed=true]{background:#ffac7220;border-color:#f9a66b99;color:#ffc898}.roulette-categories button:disabled{cursor:wait;opacity:.65}
.skin-reel-card>div{overflow:hidden;min-width:0}.skin-reel-card img{display:block;min-width:0;max-width:100%;max-height:100%;object-fit:contain}
.skin-profile-card{min-width:0}.skin-profile-card.skin-winner{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}.skin-profile-card.skin-winner>img{height:100%;max-height:380px;min-width:0;max-width:100%;align-self:center;object-fit:contain}.profile-other-skins{margin-top:20px;border-top:1px solid #6083a338;padding-top:16px}.profile-other-skins>summary{cursor:pointer;color:#9cc4e6;font-size:14px}.profile-other-skins .skin-profile-grid{margin-top:18px}.profile-other-skins:not([open]) .skin-profile-grid{display:none}
@media(max-width:700px){.skin-profile-card.skin-winner{grid-template-columns:1fr}.skin-profile-card.skin-winner>img{height:200px;max-height:200px}.roulette-selection-row{gap:16px}.roulette-categories{gap:6px}.roulette-categories button{padding:8px 10px;font-size:11px}}
.skin-reel-card>div{position:relative;display:block}.skin-reel-card img{position:absolute;inset:0;width:100%;height:100%;max-width:100%;max-height:100%}

.skin-profile-controls{display:flex;flex-direction:column;align-items:flex-end;gap:12px;flex-shrink:0}.skin-profile-controls [data-profile-again]{background:linear-gradient(110deg,#fc9454,#e47839);color:#151b24;font-weight:800;border:0;white-space:nowrap}.skin-profile-footer:has(#profile-copy-status:empty){display:none}
