#journeySocial{padding:14px;color:#fff3dc}
#journeySocial .social-header{display:flex;align-items:center;gap:12px;margin:0 0 14px;background:none}
.social-header>img{width:64px;height:64px;flex:none;object-fit:contain;filter:drop-shadow(0 3px 2px #0007)}
#journeySocial .social-header h2{font-size:23px;line-height:1.1;margin:0 0 5px;color:#ffe59c}
#journeySocial .social-header p{font-size:13px;line-height:1.35;margin:0;color:#deebef}
.social-tab-group{margin:10px 0}.social-group-label{display:block;margin:0 0 5px;color:#a8cbdc;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:1px}
#journeySocial .social-tabs{display:grid;grid-template-columns:repeat(var(--tab-count),minmax(0,1fr));gap:5px;margin:0}
#journeySocial button,.social-profile button{background:linear-gradient(#ffe876,#ffc03e);color:#2b1c13;border:2px solid #553c22;border-radius:9px;padding:8px;font-weight:800;cursor:pointer}
#journeySocial .social-tabs button{min-width:0;padding:8px 3px;font-size:clamp(10px,2.75cqw,12px);line-height:1.2;white-space:nowrap}
#journeySocial button[aria-pressed=true]{background:linear-gradient(#b9ecf6,#78c5e5);border-color:#5bafcc;box-shadow:0 2px 8px #0004}
#journeySocial button:disabled{opacity:.6;cursor:default}
.social-ranking-rule{font-size:12px;line-height:1.4;padding:9px 11px;border-left:3px solid #efc65f;border-radius:6px;background:#071d2cb3;color:#f5e3b5}
.social-status{font-size:12px;line-height:1.4;margin:8px 0}.social-status:empty{display:none}
.social-people{display:grid;gap:9px}
.social-person{padding:11px;border:1px solid #51788c;border-radius:13px;background:linear-gradient(125deg,#173c50,#102a3b);box-shadow:0 3px 6px #0003;min-width:0}
.social-person-self{border-color:#f3d16b;background:linear-gradient(125deg,#35555a,#17303b)}
.social-person-head{display:flex;align-items:center;gap:8px;min-width:0}
.social-person-copy{flex:1;min-width:0}.social-person-copy strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}
.social-person-copy small{display:block;color:#d2e4ef;font-size:11px;margin-top:4px;line-height:1.3}
.social-face{width:43px;height:43px;flex:none}.social-rank{font-size:13px;font-weight:900;color:#ffd75b;min-width:24px}
.social-presence{flex:none;white-space:nowrap;font-size:9px;font-weight:800;border-radius:20px;padding:4px 6px;background:#1b2d39;color:#b9cbd6}
.social-presence.is-online{background:#244e36;color:#baf5a8}
.social-record{display:block;font-size:10px;margin:7px 0 0 32px;color:#b6cddb}
.social-person-actions{display:flex;gap:5px;align-items:center;justify-content:flex-end;flex-wrap:nowrap;margin-top:9px}
#journeySocial .social-person-actions button{padding:6px 9px;font-size:11px;white-space:nowrap;flex:none}
.social-pending{font-size:10px;color:#e1d2a0;margin-left:auto}
.social-actions-menu{position:relative;flex:none}.social-actions-menu>summary{list-style:none;cursor:pointer;border:1px solid #7d9daa;background:#294858;color:#ffdb6b;border-radius:8px;padding:5px 8px;font-size:13px;letter-spacing:1px}
.social-actions-menu>summary::-webkit-details-marker{display:none}
.social-actions-options{position:absolute;z-index:30;right:0;top:calc(100% + 5px);display:grid;gap:4px;min-width:160px;background:#0b2130;border:1px solid #7298ab;border-radius:10px;padding:7px;box-shadow:0 6px 15px #0008}
#journeySocial .social-actions-options button{text-align:left;padding:9px}
#journeySocial .social-action-danger{background:#592d2b;color:#ffd9c3;border-color:#86534a}
.social-list-label{font-size:12px;margin:8px 0 0;color:#a9d3e7}
.social-login-gate{margin-top:12px;padding:18px;text-align:center;border:1px solid #507a8d;border-radius:15px;background:#102b3ec7}
.social-login-gate strong{color:#ffe6a6;font-size:18px}.social-login-gate p{font-size:13px;line-height:1.5;color:#d2e5ee}
#journeySocial .social-login-gate button{width:100%;max-width:270px}
#journeySocial .social-search{display:flex;gap:7px;margin:12px 0}
#journeySocial .social-search input{width:100%;min-width:0;padding:9px;border:1px solid #719eb3;border-radius:8px;background:#eef8fb;color:#102b3e}
.social-profile-overlay{position:absolute;inset:0;z-index:150;display:grid;place-items:center;padding:14px;box-sizing:border-box;background:#03131bcf;backdrop-filter:blur(5px)}
.social-profile{display:flex;flex-direction:column;width:min(100%,420px);max-height:90%;min-height:0;overflow:hidden;box-sizing:border-box;border:1px solid #ebcb82;border-radius:18px;background:linear-gradient(140deg,#204954,#102d3d);color:#eff4e9;box-shadow:0 5px 0 #071826,0 16px 28px #0008;text-align:left}
.social-profile-header{display:flex;align-items:center;gap:12px;padding:16px 12px;border-bottom:1px solid #97b7b54d;background:#255563}
.social-profile-header .cosmetic-face{width:64px;height:64px;flex:none}.social-profile-header>div{flex:1;min-width:0}
.social-profile-header small{color:#f8d985;font-size:9px;font-weight:800;letter-spacing:1px}.social-profile-header h2{margin:4px 0;font-size:23px;line-height:1.15;color:#fff2c8;overflow-wrap:anywhere}.social-profile-header p{margin:0;color:#c5dee6;font-size:12px}
.social-profile button.social-profile-close{width:36px;height:38px;flex:none;font-size:24px;padding:0}
.social-profile-content{min-height:0;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;padding:14px;scrollbar-width:thin;scrollbar-color:#dbbf7b #102b3b}
.social-profile-scores{display:grid;grid-template-columns:1fr 1fr;gap:8px}.social-profile-scores>div{display:grid;gap:5px;text-align:center;padding:12px 5px;border-radius:12px;background:#0a2335;border:1px solid #709099}
.social-profile-scores strong{color:#ffda6a;font-size:24px;line-height:1}.social-profile-scores small{font-size:10px;color:#cddfe5}
.social-profile-record,.social-profile-seen{font-size:12px;line-height:1.45;color:#ccdee2}.social-profile-content h3{font-size:14px;color:#ffe4a2;margin:18px 0 10px}
.social-profile-history{list-style:none;padding:0;margin:0;display:grid;gap:7px}.social-profile-history li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 10px;padding:9px 11px;border:1px solid #557a855c;border-radius:10px;background:#113240;font-size:12px}.social-profile-history li strong{color:#f0e0b4}.social-profile-history li span{grid-row:2;color:#bdd5df;font-size:10px}.social-profile-history li small{grid-column:2;grid-row:1/3;align-self:center;color:#a9c7d4;font-size:10px}
#homePacksBtn img.hub-social-logo{width:clamp(32px,5.6cqh,43px);height:clamp(32px,5.6cqh,43px);object-fit:contain;flex:none;filter:drop-shadow(0 2px 1px #0007)}
.emote-shop-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px}.emote-shop-item{padding:12px;border:2px solid #a16e39;border-radius:15px;background:#173344;color:#ffefd2}.emote-shop-item .cosmetic-face{display:block;width:76px;height:76px;margin:auto}.emote-shop-item button{width:100%;padding:10px;border-radius:10px;background:#ffcc4f;font-weight:800}.emote-shop-item small{display:block;margin:6px 0}.emote-shop-item h4{margin:8px 0}
#journeyShop [hidden]{display:none!important}
.shop-tabs{position:sticky;top:0;z-index:20;isolation:isolate;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:5px;margin:12px 0 16px;border-radius:12px;border:1px solid #547a8c;background:#102b3e;box-shadow:0 5px 12px #06182499}
.shop-tabs button,.emote-shop-controls button{min-height:42px;padding:8px;border:1px solid #577c8f;border-radius:8px;background:#173c50;color:#c4deea;font:800 12px system-ui;cursor:pointer}
.shop-tabs button[aria-selected=true],.emote-shop-controls button[aria-pressed=true]{background:linear-gradient(#ffe68b,#f9ad2a);color:#2e230e;border-color:#ffe797;box-shadow:0 2px 0 #684c21}
.emote-shop-controls{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:14px 0}.emote-shop-character{display:grid;gap:6px;margin:12px 0;color:#c3dce8;font-size:12px}.emote-shop-character select{width:100%;min-height:40px;padding:8px;border:1px solid #709bae;border-radius:8px;background:#102b3e;color:#f4e9d0;font:14px system-ui}
.emote-shop-item{display:flex;flex-direction:column;min-width:0}.emote-shop-item h4{font:800 14px/1.3 system-ui;color:#ffe398}.emote-shop-item button{margin-top:auto;min-height:42px;border:1px solid #f9db7b;color:#33210e;cursor:pointer}.emote-shop-item button:disabled{opacity:.65;cursor:default}
@container(max-width:350px){.emote-shop-list{grid-template-columns:repeat(2,minmax(0,1fr))}.emote-shop-item{padding:9px}.emote-shop-item .cosmetic-face{width:64px;height:64px}.emote-shop-item h4{font-size:13px}}


/* Random emote and Skin pack reveals */
.emote-pack-offer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;margin:12px 0 22px}
.emote-pack-offer{position:relative;display:flex;flex-direction:column;align-items:center;gap:9px;padding:18px 15px;border:1px solid rgba(255,199,68,.42);border-radius:18px;background:linear-gradient(150deg,rgba(255,196,66,.13),rgba(10,37,54,.94) 58%);text-align:center;box-shadow:0 10px 24px #0003}
.emote-pack-offer h3,.emote-pack-offer p{margin:0}.emote-pack-offer p{min-height:2.7em}.emote-pack-offer-art,.skin-roulette-art{display:grid;place-items:center;width:70px;height:70px;border-radius:20px;background:radial-gradient(circle,#ffdb75 0,rgba(245,159,28,.32) 46%,transparent 73%);font-size:42px;filter:drop-shadow(0 4px 12px #ffb62970)}
.emote-pack-offer .shop-buy-btn{width:100%;margin-top:5px}
.skin-roulette-card{border-color:#f4bd45;background:linear-gradient(145deg,rgba(255,190,57,.2),rgba(11,36,53,.95) 65%)}
.skin-roulette-art{width:100%;height:82px;font-size:54px}
.skin-roulette-card button.is-rolling{animation:roulette-glow .45s ease-in-out infinite alternate}
.skin-roulette-status{min-height:1.2em;color:#ffdf8c}
@keyframes roulette-glow{to{filter:brightness(1.35);transform:scale(1.03)}}
.cosmetic-reveal-backdrop{position:fixed;inset:0;z-index:10050;display:grid;place-items:center;padding:18px;background:rgba(3,12,20,.82);backdrop-filter:blur(9px)}
.cosmetic-reveal-dialog{width:min(760px,100%);max-height:min(88dvh,820px);overflow:auto;padding:clamp(20px,4vw,34px);border:1px solid #ffd268;border-radius:24px;background:radial-gradient(ellipse at 50% 0,#28516a,#102b40 54%,#0a1b2a);color:#fff4dc;text-align:center;box-shadow:0 24px 100px #000b,0 0 42px #ffb83240}
.cosmetic-reveal-kicker{font-size:11px;font-weight:900;letter-spacing:.15em;color:#ffcf59}
.cosmetic-reveal-dialog h2{margin:7px 0 20px;font-size:clamp(23px,5vw,34px)}
.cosmetic-reveal-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(105px,1fr));gap:13px;justify-content:center}
.cosmetic-reveal-card{display:flex;flex-direction:column;align-items:center;gap:7px;min-width:0;padding:10px 8px;border:1px solid #f7cb6b78;border-radius:16px;background:linear-gradient(160deg,#fff2c319,#071b2cbd);animation:cosmetic-card-flip .65s both;animation-delay:var(--reveal-delay,0ms)}
.cosmetic-reveal-art{width:min(100%,104px);height:104px;object-fit:contain;filter:drop-shadow(0 6px 12px #0007)}
.cosmetic-reveal-card strong{font-size:12px}.cosmetic-reveal-card small{font-size:10px;color:#ffdb84}
.cosmetic-reveal-close{margin-top:22px;min-width:180px;padding:12px 20px;border:1px solid #ffda78;border-radius:12px;background:linear-gradient(#ffe58d,#ffb62d);color:#392209;font-weight:900}
@keyframes cosmetic-card-flip{0%{opacity:0;transform:perspective(600px) rotateY(90deg) scale(.75)}70%{transform:perspective(600px) rotateY(-8deg) scale(1.04)}100%{opacity:1;transform:perspective(600px) rotateY(0) scale(1)}}
@media(max-width:560px){.emote-pack-offer-grid{grid-template-columns:1fr 1fr;gap:9px}.emote-pack-offer{padding:13px 9px}.emote-pack-offer-art{width:56px;height:56px;font-size:34px}.cosmetic-reveal-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.cosmetic-reveal-art{height:80px}.cosmetic-reveal-card{padding:8px 4px}.cosmetic-reveal-card strong{font-size:10px}}

/* Initial skins and roulette-exclusive locked collection */
.skin-roulette-list{display:grid;grid-template-columns:minmax(220px,420px);justify-content:center;margin:8px 0 20px}
.skin-collection-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(138px,1fr));gap:12px;margin:10px 0 24px}
.skin-collection-art{display:grid;place-items:center;min-height:116px;width:100%;overflow:hidden;border-radius:14px;background:linear-gradient(145deg,#173b51,#0b2233)}
.skin-collection-art .shop-emote-preview{width:100%;height:112px;object-fit:contain}
.skin-locked-art{filter:grayscale(1) brightness(.58);opacity:.63}
.skin-locked{border-color:#7b8790!important;background:linear-gradient(150deg,#69737b1c,#14232f)!important}
.skin-collection-badge{display:inline-flex;align-self:center;padding:5px 9px;border-radius:999px;background:#253947;color:#cbd5dd;font-size:10px;font-weight:900;letter-spacing:.04em}
.skin-unlocked .skin-collection-badge{background:#214b35;color:#c5ffd5}
@media(max-width:560px){.skin-collection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.skin-collection-art{min-height:98px}.skin-collection-art .shop-emote-preview{height:94px}}
