/* BADDGES HUB v50 — featured campaign/badge previews from public snapshots. */
#community-panel.hub-featured-mode>.community-panel-header,
#community-panel.hub-featured-mode>.community-cards{display:none!important}
.shell.has-community>#community-panel.hub-featured-mode:not([hidden]){
 display:flex!important;flex-direction:column;gap:0;padding:5px 2px 12px!important;
 background:transparent!important;border:0!important;box-shadow:none!important;
 overflow-x:hidden;overflow-y:auto;
}
.hub-featured{box-sizing:border-box;width:100%;font-family:inherit;color:var(--text,#f4f3ff);min-width:0;direction:ltr}
.hub-spotlight-title{margin:0 0 12px;padding:3px 7px 0;text-align:center;font-size:19px;letter-spacing:-.035em;font-weight:850;line-height:1.2;color:var(--text,#f4f3ff)}
.hub-spotlight-tile{--spot-accent:#a66cff;--spot-soft:rgba(166,108,255,.12);background:linear-gradient(150deg,#101523,#0c111d);border:1px solid color-mix(in srgb,var(--spot-accent) 58%,#505e78);border-radius:17px;padding:15px 13px 13px;margin-bottom:13px;box-shadow:0 10px 25px rgba(0,0,0,.22),0 0 18px color-mix(in srgb,var(--spot-accent) 9%,transparent);min-width:0;}
.hub-spotlight-tile.kick{--spot-accent:#37e992;--spot-soft:rgba(55,233,146,.11)}
.hub-spotlight-tile.next{border-color:color-mix(in srgb,#edb84d 50%,var(--spot-accent));background:linear-gradient(145deg,#171728,#0c111b)}
.hub-spotlight-kicker{display:flex;gap:7px;align-items:center;font-size:11px;letter-spacing:.06em;font-weight:850;color:var(--spot-accent);line-height:1.35}
.hub-spotlight-tile.next .hub-spotlight-kicker{color:#ffd17c}
.hub-spotlight-led{width:7px;height:7px;border-radius:50%;background:currentColor;box-shadow:0 0 8px currentColor;flex:none}
.hub-spotlight-platform{font-size:10px;letter-spacing:.05em;font-weight:800;color:var(--spot-accent);margin-top:12px}
.hub-spotlight-platform span{font-weight:600;letter-spacing:0;color:#9faac1}
.hub-spotlight-hero{display:flex;align-items:center;flex-direction:column;gap:7px;min-width:0;margin:12px 0}
.hub-spotlight-hero strong{font-size:17px;font-weight:850;line-height:1.2;text-align:center;overflow-wrap:anywhere;color:#f2f3fc}
.hub-spotlight-art{width:100%;display:flex;align-items:center;justify-content:center;gap:7px;min-height:57px;padding:5px 3px;border-radius:11px;background:var(--spot-soft);border:1px solid color-mix(in srgb,var(--spot-accent) 24%,transparent)}
.hub-spotlight-art img{width:min(22%,53px);height:49px;object-fit:contain;flex:none;min-width:0;filter:drop-shadow(0 3px 6px rgba(0,0,0,.20))}
.hub-spotlight-schedule{display:flex;flex-direction:column;gap:4px;border-top:1px solid #30384c;margin-top:11px;padding-top:10px;font-size:12px;color:#e3e7f4;line-height:1.45}
.hub-spotlight-schedule small{font-size:11px;color:#aab5ca}
.hub-spotlight-countdown-label{color:#ffc975;font-size:11px;font-weight:750;margin:9px 0 4px}
.hub-spotlight-timer{font-size:19px;font-weight:900;font-variant-numeric:tabular-nums;color:#ffe0a0;letter-spacing:-.02em;min-height:25px}
.hub-spotlight-open{display:flex;justify-content:space-between;gap:8px;align-items:center;min-height:38px;padding:8px 11px;margin-top:11px;background:color-mix(in srgb,var(--spot-accent) 15%,#171b27);border:1px solid color-mix(in srgb,var(--spot-accent) 58%,transparent);border-radius:9px;color:#f2f4fc!important;font-size:12px;font-weight:800;text-decoration:none;transition:transform .17s ease,box-shadow .17s ease,border-color .17s ease}
.hub-spotlight-open span{font-size:18px;line-height:1}
.hub-spotlight-open:hover,.hub-spotlight-open:focus-visible{outline:none;border-color:var(--spot-accent);transform:translateY(-2px);box-shadow:0 0 15px color-mix(in srgb,var(--spot-accent) 25%,transparent)}
.hub-spotlight-empty{margin:15px 2px 4px;font-size:12px;color:#adb7c9;line-height:1.5}
.hub-featured-mobile{display:none}
html[data-theme="light"] .hub-spotlight-tile{background:linear-gradient(150deg,#fff,#f8f9fe);box-shadow:0 8px 20px rgba(53,66,100,.10);border-color:color-mix(in srgb,var(--spot-accent) 66%,#cbd3df)}
html[data-theme="light"] .hub-spotlight-tile.next{background:linear-gradient(150deg,#fff,#fffaf1)}
html[data-theme="light"] .hub-spotlight-hero strong{color:#17213a}
html[data-theme="light"] .hub-spotlight-platform span,html[data-theme="light"] .hub-spotlight-empty,html[data-theme="light"] .hub-spotlight-schedule small{color:#566781}
html[data-theme="light"] .hub-spotlight-schedule{color:#203250;border-color:#d3dce9}
html[data-theme="light"] .hub-spotlight-timer{color:#875b0c}
html[data-theme="light"] .hub-spotlight-tile.next .hub-spotlight-kicker,html[data-theme="light"] .hub-spotlight-countdown-label{color:#90651c}
html[data-theme="light"] .hub-spotlight-open{background:color-mix(in srgb,var(--spot-accent) 12%,white);color:#1b2b42!important}
html[data-theme="light"] .hub-spotlight-tile.kick .hub-spotlight-kicker,html[data-theme="light"] .hub-spotlight-tile.kick .hub-spotlight-platform{color:#147e4c}
html[data-theme="light"] .hub-spotlight-tile.twitch .hub-spotlight-kicker,html[data-theme="light"] .hub-spotlight-tile.twitch .hub-spotlight-platform{color:#7436c3}
/* The original left rail only exists beside the desktop chat. Below that
 * width, show the exact same information above the first card instead. */
.shell:not(.has-community) #hub-featured-mobile{display:block;margin:0 auto 23px;max-width:780px}
.shell:not(.has-community) #hub-featured-mobile>.hub-spotlight-title{text-align:left;margin-left:5px}
.shell:not(.has-community) #hub-featured-mobile{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 13px}
.shell:not(.has-community) #hub-featured-mobile>.hub-spotlight-title{grid-column:1/-1;margin-bottom:0}
.shell:not(.has-community) #hub-featured-mobile>.hub-spotlight-tile{margin:0;height:100%}
@media(max-width:610px){.shell:not(.has-community) #hub-featured-mobile{grid-template-columns:1fr}.hub-spotlight-art img{height:52px}}
@media(prefers-reduced-motion:reduce){.hub-spotlight-open{transition:none}}

/* v46: cost of every campaign member and individual badge, without adding
   network requests or exposing these private highlights to the public HUB. */
.hub-spotlight-cost-row{display:flex;align-items:center;justify-content:flex-start;gap:5px;margin-top:7px;min-width:0}
.hub-spotlight-cost-summary{display:flex;gap:5px;flex-wrap:wrap}
.hub-spotlight-cost{box-sizing:border-box;border-radius:999px;padding:2px 6px;font-weight:800;font-size:9px;line-height:1.2;white-space:nowrap;border:1px solid #718096;background:#202938;color:#e0e7f3}
.hub-spotlight-cost.free{background:#123427;border-color:#18895b;color:#86ffc1}
.hub-spotlight-cost.paid{background:#132c4b;border-color:#3197f1;color:#c8e4ff}
.hub-spotlight-cost.unknown{background:#222837;border-color:#647088;color:#cad3e0}
.hub-spotlight-item{display:flex;flex:1 1 0;min-width:0;max-width:72px;align-items:center;justify-content:center;flex-direction:column;gap:5px}
.hub-spotlight-art .hub-spotlight-item img{max-width:100%;width:52px;height:49px;object-fit:contain;min-width:0}
.hub-spotlight-item .hub-spotlight-cost{max-width:100%;text-overflow:ellipsis;overflow:hidden;font-size:9px;padding:2px 5px}
html[data-theme="light"] .hub-spotlight-cost.free{background:#e7fff1;border-color:#159356;color:#087341}
html[data-theme="light"] .hub-spotlight-cost.paid{background:#e7f3ff;border-color:#2583db;color:#085caa}
html[data-theme="light"] .hub-spotlight-cost.unknown{background:#f0f3f9;border-color:#9ba8bd;color:#405069}
@media(max-width:380px){.hub-spotlight-cost{font-size:8px;padding:2px 4px}.hub-spotlight-art .hub-spotlight-item img{width:43px;height:44px}}

/* v47: center the featured heading on desktop AND narrow layouts. */
.hub-featured>.hub-spotlight-title,
.shell:not(.has-community) #hub-featured-mobile>.hub-spotlight-title{
 text-align:center!important;margin-left:auto!important;margin-right:auto!important;width:100%;box-sizing:border-box
}
/* Shared schedule summaries come only from verified member dates. */
.hub-spotlight-current-info{border-top:1px solid #30384c;padding-top:10px;margin-top:9px;display:grid;gap:9px;min-width:0}
.hub-spotlight-added,.hub-spotlight-expiry{display:flex;flex-wrap:wrap;justify-content:space-between;gap:3px 7px;font-size:12px;line-height:1.45;min-width:0}
.hub-spotlight-added small,.hub-spotlight-expiry small{font-size:11px;font-weight:700;color:#aeb9cb}
.hub-spotlight-added span,.hub-spotlight-expiry span{color:#eff0f7;font-weight:700;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.hub-spotlight-current-timer{color:var(--spot-accent);font-size:17px;letter-spacing:-.02em}
.hub-spotlight-current-info .hub-spotlight-countdown-label{margin:2px 0 -4px;color:var(--spot-accent)}
html[data-theme="light"] .hub-spotlight-current-info{border-color:#d4dce8}
html[data-theme="light"] .hub-spotlight-added small,html[data-theme="light"] .hub-spotlight-expiry small{color:#4c5c73}
html[data-theme="light"] .hub-spotlight-added span,html[data-theme="light"] .hub-spotlight-expiry span{color:#18233c}
html[data-theme="light"] .hub-spotlight-current-timer,html[data-theme="light"] .hub-spotlight-current-info .hub-spotlight-countdown-label{color:#225eaa}
html[data-theme="light"] .hub-spotlight-tile.kick .hub-spotlight-current-timer,html[data-theme="light"] .hub-spotlight-tile.kick .hub-spotlight-current-info .hub-spotlight-countdown-label{color:#147e4c}
/* The only card on a platform without upcoming items fills the mobile row. */
.shell:not(.has-community) #hub-featured-mobile>.hub-spotlight-tile:last-child:nth-child(2){grid-column:1/-1}

/* Public highlight safety: respect explicit visibility attributes. */
#hub-featured[hidden],#hub-featured-mobile[hidden]{display:none!important}
#community-panel.hub-featured-mode{scrollbar-width:thin;scrollbar-color:#48516a transparent}
/* Four social icons centered above the catalogue, using validated site links. */
.hub-top-socials{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:14px;margin:1px auto 27px;width:max-content;max-width:100%;min-height:50px;position:relative;z-index:2}
.hub-top-socials .footer-social{display:grid;place-items:center;flex:none;width:52px;height:48px;border-radius:13px;background:linear-gradient(155deg,#171e2e,#0d121d);border:1px solid #44506a;color:#d4d7e2;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease,color .2s ease;text-decoration:none}
.hub-top-socials .footer-social svg{width:25px;height:25px;display:block}
.hub-top-socials .social-kick{order:1;color:#39ea91;border-color:#176d46}
.hub-top-socials .social-twitch{order:2;color:#b16eff;border-color:#644396}
.hub-top-socials .social-discord{order:3;color:#8fa4ff;border-color:#4e65aa}
.hub-top-socials .social-x{order:4;color:#e2e8f1;border-color:#77839d}
.hub-top-socials a.footer-social:hover,.hub-top-socials a.footer-social:focus-visible{transform:translateY(-3px);outline:none;border-color:currentColor;box-shadow:0 0 15px color-mix(in srgb,currentColor 28%,transparent)}
.hub-top-socials .is-unset{opacity:.46;cursor:default}
html[data-theme="light"] .hub-top-socials .footer-social{background:#fff;border-width:1.5px;box-shadow:0 4px 12px #293a5b17}
html[data-theme="light"] .hub-top-socials .social-kick{color:#07834b}
html[data-theme="light"] .hub-top-socials .social-twitch{color:#782cc9}
html[data-theme="light"] .hub-top-socials .social-discord{color:#4c63c8}
html[data-theme="light"] .hub-top-socials .social-x{color:#27364b}
@media(max-width:680px){.hub-top-socials{gap:10px;margin:3px auto 23px}.hub-top-socials .footer-social{width:47px;height:45px}}
