/* hySocial GLOBAL platform theme overlay. Load AFTER beautiful + V16.
   Default deliberately has no declarations: Blackhole V16 Chroma stays intact.
   All paint is gated by both platform choice and the existing app body marker.
   No external artwork, fonts, images, or layout ownership. */
html[data-hysocial-platform-theme="vice-city"]:has(body[data-hysocial-page]) {
  --hsx-bg:#100c23;
  --hsx-void:#090817;
  --hsx-surface:#201531;
  --hsx-surface-raised:#302044;
  --hsx-ink:#fff2fc;
  --hsx-muted:#c5b4d3;
  --hsx-line:#685779;
  --hsx-cyan:#59edee;
  --hsx-blue:#77acff;
  --hsx-violet:#ba96ff;
  --hsx-pink:#ff82ca;
  --hsx-success:#7cdeb8;
  --hsx-warn:#ffd68d;
  --hsx-danger:#ff91a8;
  --hsx-dim:#c5b4d3;
  --bg-input:#160e27;
  --hsx-depth-soft:0 14px 40px #0005,inset 0 1px 0 #fff1;
}
html[data-hysocial-platform-theme="vice-city"][data-mode="light"]:has(body[data-hysocial-page]) {
  --hsx-bg:#fff3fa;
  --hsx-void:#f3e5f1;
  --hsx-surface:#fffafd;
  --hsx-surface-raised:#f6e7f3;
  --hsx-ink:#301638;
  --hsx-muted:#69536e;
  --hsx-line:#ae8aad;
  --hsx-cyan:#006b72;
  --hsx-blue:#3059a2;
  --hsx-violet:#6b379f;
  --hsx-pink:#a5206e;
  --hsx-success:#176244;
  --hsx-warn:#785000;
  --hsx-danger:#b02242;
  --hsx-dim:#69536e;
  --bg-input:#fffafd;
  --hsx-depth-soft:0 12px 32px #39251d18,inset 0 1px 0 #fff9;
}
html[data-hysocial-platform-theme="christmas"]:has(body[data-hysocial-page]) {
  --hsx-bg:#081b18;
  --hsx-void:#05100f;
  --hsx-surface:#112c25;
  --hsx-surface-raised:#1c3930;
  --hsx-ink:#fff7e5;
  --hsx-muted:#b6cabd;
  --hsx-line:#617d69;
  --hsx-cyan:#f0c77b;
  --hsx-blue:#9cd9c9;
  --hsx-violet:#d4ac62;
  --hsx-pink:#ff9a9f;
  --hsx-success:#88d3a7;
  --hsx-warn:#f5cc80;
  --hsx-danger:#ff9d9d;
  --hsx-dim:#b6cabd;
  --bg-input:#0a211b;
  --hsx-depth-soft:0 14px 40px #0005,inset 0 1px 0 #fff1;
}
html[data-hysocial-platform-theme="christmas"][data-mode="light"]:has(body[data-hysocial-page]) {
  --hsx-bg:#fbf6e9;
  --hsx-void:#eee7d5;
  --hsx-surface:#fffdf4;
  --hsx-surface-raised:#f0ead8;
  --hsx-ink:#18392e;
  --hsx-muted:#4d6657;
  --hsx-line:#90a38a;
  --hsx-cyan:#795117;
  --hsx-blue:#246757;
  --hsx-violet:#795a20;
  --hsx-pink:#aa2b3e;
  --hsx-success:#206c45;
  --hsx-warn:#795117;
  --hsx-danger:#ae263b;
  --hsx-dim:#4d6657;
  --bg-input:#fffdf6;
  --hsx-depth-soft:0 12px 32px #39251d18,inset 0 1px 0 #fff9;
}
html:is([data-hysocial-platform-theme="vice-city"],[data-hysocial-platform-theme="christmas"]):has(body[data-hysocial-page]) {
  --accent:var(--hsx-cyan);--accent-dim:color-mix(in srgb,var(--accent) 14%,transparent);
  --accent-glow:color-mix(in srgb,var(--accent) 24%,transparent);
  --text:var(--hsx-ink);--muted:var(--hsx-muted);--border:var(--hsx-line);
  --bg:var(--hsx-bg);--bg-deep:var(--hsx-bg);--bg-card:var(--hsx-surface);--bg-surface:var(--hsx-surface-raised);
  --glass-bg:var(--hsx-surface);--glass-bg-heavy:var(--hsx-surface-raised);--glass-border:var(--hsx-line);
  --success:var(--hsx-success);--online:var(--success);--danger:var(--hsx-danger);--warning:var(--hsx-warn);
  --success-bg:color-mix(in srgb,var(--success) 14%,transparent);
  --hsx-edge:linear-gradient(135deg,var(--hsx-pink),var(--hsx-violet) 45%,var(--hsx-cyan));
  --hs-contract-surface:var(--hsx-surface);--hs-contract-surface-raised:var(--hsx-surface-raised);
  --hs-contract-border:var(--hsx-line);--hs-contract-control:var(--bg-input);
  --hs-accent:var(--accent);--hs-accent-dim:var(--accent-dim);--hs-accent-glow:var(--accent-glow);
  --hs-bg:var(--bg-deep);--hs-card:var(--bg-card);--hs-surface:var(--bg-surface);
  --hs-text:var(--text);--hs-muted:var(--muted);--hs-border:var(--border);--hs-danger:var(--danger);
}
html:is([data-hysocial-platform-theme="vice-city"],[data-hysocial-platform-theme="christmas"]) body[data-hysocial-page] {
  background:radial-gradient(ellipse at 12% 0%,color-mix(in srgb,var(--hsx-pink) 13%,transparent),transparent 55%),
    radial-gradient(ellipse at 90% 45%,color-mix(in srgb,var(--accent) 9%,transparent),transparent 65%),var(--bg)!important;
  color:var(--text)!important;
}
html:is([data-hysocial-platform-theme="vice-city"],[data-hysocial-platform-theme="christmas"]) body[data-hysocial-page] :is(.hs-topbar,.hm-header,.ha-top,.ha-side,.hs-sidebar,.hsg-sidebar,.hsm-sidebar,.hsm-toolbar,.hp-topbar,.top-bar,.lg-topbar,.legal-nav,.nav,.hero-nav,.hy-tabbar,.hm-tabbar,.hs-mobile-tabs,.hs-app-panel-head) { background:var(--bg-surface)!important;border-color:var(--border)!important;color:var(--text)!important; }
html:is([data-hysocial-platform-theme="vice-city"],[data-hysocial-platform-theme="christmas"]) body[data-hysocial-page] :is(.hs-post,.hs-compose,.glass-card,.card,.kpi,.hsg-card,.hsm-listing-card,.discover-card,.legal-doc,.onboard-card,.profile-card,.settings-card,.panel,.modal-content,.sheet,.drawer-panel,.filter-panel,.match-modal-content,.hs-community-card,.hs-event-card,.hs-poll-card) { background:linear-gradient(145deg,var(--bg-surface),var(--bg-card)) padding-box,var(--hsx-edge) border-box!important;box-shadow:var(--hsx-depth-soft)!important; }
html:is([data-hysocial-platform-theme="vice-city"],[data-hysocial-platform-theme="christmas"]) body[data-hysocial-page] :is(.hs-filter-pill,.chip,.pill,.tool-chip,.hs-ai-chip,.seg button,.hs-tab,.hm-tab,.hy-tabbar-item,.hsg-nav-item,.hsm-nav-item,.ha-navbtn) { background:var(--bg-card)!important;color:var(--text)!important;border-color:var(--border)!important; }
html:is([data-hysocial-platform-theme="vice-city"],[data-hysocial-platform-theme="christmas"]) body[data-hysocial-page] :is(.hs-tab.active,.hm-tab.active,.hy-tabbar-item.active,.hsg-nav-item.active,.hsm-nav-item.active,.ha-navbtn.active,.seg button.active,.chip.selected,.chip.sel,.chip.active,.hs-filter-pill.active,.hs-filter-pill.selected,.hs-ai-chip.active,[aria-current="page"]) { color:var(--accent)!important;background:color-mix(in srgb,var(--accent) 14%,var(--bg-card))!important;border-color:var(--accent)!important;box-shadow:inset 3px 0 var(--accent)!important; }
html:is([data-hysocial-platform-theme="vice-city"],[data-hysocial-platform-theme="christmas"]) body[data-hysocial-page] :is(button.primary,a.primary,.hs-ai-btn.primary,.submit-btn,.cta:is(button,a),.btn.primary,.btn-primary,.primary-btn,.hs-post-btn,.compose-send,.filter-apply,.btn-accent,.btn-cyan) { background:var(--accent)!important;color:var(--bg-deep)!important;border-color:var(--accent)!important;box-shadow:0 4px 16px var(--accent-dim)!important; }
html:is([data-hysocial-platform-theme="vice-city"],[data-hysocial-platform-theme="christmas"]) body[data-hysocial-page] :is(.hero h1 .gr,.stitle .gr,.cta h2 span) { background:linear-gradient(110deg,var(--hsx-cyan),var(--hsx-pink))!important;background-clip:text!important;-webkit-background-clip:text!important;-webkit-text-fill-color:transparent!important; }
html:is([data-hysocial-platform-theme="vice-city"],[data-hysocial-platform-theme="christmas"]) body[data-hysocial-page] :is(.loading-state,.m-loading,.hs-ai-loading,.thinking) { background:var(--accent-dim)!important;box-shadow:none; }
html:is([data-hysocial-platform-theme="vice-city"],[data-hysocial-platform-theme="christmas"]) body[data-hysocial-page] :is(.hero-sub,.ssub,.hero-note,.rep-desc,.cdesc,.step-desc,.mc-desc,.trust-text span,.nav-links a) { color:var(--muted)!important; }

/* Original Miami-inspired horizon, fine neon grid and luminous sunset disc. */
html[data-hysocial-platform-theme="vice-city"] body[data-hysocial-page]::before {
  content:"";position:fixed;inset:0;z-index:-2;pointer-events:none;opacity:.23;
  background-image:linear-gradient(color-mix(in srgb,var(--hsx-pink) 55%,transparent) 1px,transparent 1px),
    linear-gradient(90deg,color-mix(in srgb,var(--accent) 45%,transparent) 1px,transparent 1px);
  background-size:64px 64px;mask-image:linear-gradient(transparent 12%,black 100%);
}
html[data-hysocial-platform-theme="vice-city"] body[data-hysocial-page]::after {
  content:"";position:fixed;right:4vw;top:9vh;width:clamp(120px,24vw,360px);aspect-ratio:1;
  border-radius:50%;pointer-events:none;z-index:-1;opacity:.14;
  background:repeating-linear-gradient(0deg,transparent 0 8px,var(--hsx-pink) 8px 20px),linear-gradient(var(--warning),var(--hsx-pink));
  mask-image:linear-gradient(black,transparent);box-shadow:0 0 80px var(--accent-glow);
}
/* Santa's workshop: pine / parchment surfaces, brass fittings and candy-cane edges.
   Decorative snow stays behind content; never intercepts input or overlays text. */
html[data-hysocial-platform-theme="christmas"]:has(body[data-hysocial-page]) {
  --hsx-edge:repeating-linear-gradient(135deg,var(--hsx-pink) 0 9px,var(--hsx-surface-raised) 9px 17px,var(--hsx-violet) 17px 19px,var(--hsx-surface-raised) 19px 25px);
}
html[data-hysocial-platform-theme="christmas"] body[data-hysocial-page]::before {
  content:"";position:fixed;inset:0;z-index:-2;pointer-events:none;opacity:.16;
  background-image:repeating-radial-gradient(ellipse at 15% 80%,transparent 0 26px,var(--hsx-violet) 27px 28px,transparent 29px 54px);
  background-size:440px 360px;mask-image:linear-gradient(black,transparent 95%);
}
html[data-hysocial-platform-theme="christmas"] body[data-hysocial-page]::after {
  content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:.32;
  background-image:radial-gradient(circle,var(--hsx-ink) 1.5px,transparent 2px),
    radial-gradient(circle,var(--hsx-ink) 1px,transparent 2px),
    linear-gradient(60deg,transparent 48%,var(--hsx-ink) 49% 51%,transparent 52%),
    linear-gradient(-60deg,transparent 48%,var(--hsx-ink) 49% 51%,transparent 52%);
  background-size:113px 137px,173px 193px,8px 8px,8px 8px;
  background-repeat:repeat,repeat,no-repeat,no-repeat;
  background-position:0 0,43px 71px,90% 10%,90% 10%;
  animation:hs-platform-snow 24s linear infinite;
}
html[data-hysocial-platform-theme="christmas"] body[data-hysocial-page] :is(.hs-topbar,.hs-app-panel-head,.top-bar,.hsm-toolbar,.hp-topbar) {
  border-bottom:2px solid var(--hsx-violet)!important;
  background:linear-gradient(110deg,var(--bg-surface),var(--bg-card))!important;
}
html[data-hysocial-platform-theme="christmas"] body[data-hysocial-page] :is(.hs-sidebar-header,.hero-badge,.card-title) {
  /* A small brass ornament in existing heading space; no new interactive target. */
  position:relative;
}
html[data-hysocial-platform-theme="christmas"] body[data-hysocial-page] :is(.hs-sidebar-header,.hero-badge,.card-title)::after {
  content:"";display:inline-block;width:10px;height:10px;margin-inline-start:10px;
  vertical-align:middle;border-radius:50%;border:1px solid var(--hsx-violet);
  background:radial-gradient(circle at 30% 25%,var(--bg-card),var(--hsx-pink) 60%);
  box-shadow:0 -3px 0 -1px var(--hsx-violet);pointer-events:none;
}
@keyframes hs-platform-snow {
  to {background-position:0 137px,43px 264px,90% 10%,90% 10%;}
}
@media (prefers-reduced-motion:reduce) {
html:is([data-hysocial-platform-theme="vice-city"],[data-hysocial-platform-theme="christmas"]) body[data-hysocial-page]::after {animation:none!important;}
}
html:is([data-hysocial-platform-theme="vice-city"],[data-hysocial-platform-theme="christmas"])[data-reduce-motion="true"] body[data-hysocial-page]::after,
html:is([data-hysocial-platform-theme="vice-city"],[data-hysocial-platform-theme="christmas"]) body[data-hysocial-page][data-reduce-motion="true"]::after {animation:none!important;}
@media (forced-colors:active) {
html:is([data-hysocial-platform-theme="vice-city"],[data-hysocial-platform-theme="christmas"]) body[data-hysocial-page]::before,
html:is([data-hysocial-platform-theme="vice-city"],[data-hysocial-platform-theme="christmas"]) body[data-hysocial-page]::after {display:none;}
html:is([data-hysocial-platform-theme="vice-city"],[data-hysocial-platform-theme="christmas"]) body[data-hysocial-page] :is(.card-title,.hero-badge,.hs-sidebar-header)::after {display:none;}
}
/* Retire the landing badge's hardcoded light-mode magenta in seasonal paint. */
html:is([data-hysocial-platform-theme="vice-city"],[data-hysocial-platform-theme="christmas"]) body[data-hysocial-page] .hero-badge {
  color:var(--accent)!important;background:var(--accent-dim)!important;border-color:var(--border)!important;
}
