/* Haske247 GoLive NEXT UI V1.0 — additive skin, no room engine changes. */
:root{--nx-accent:#a78bfa;--nx-ink:#f7f7fe;--nx-muted:#aeb9d1;--nx-card:#141929;--nx-line:rgba(190,203,255,.17);--nx-glow:rgba(134,93,255,.22)}
:root[data-theme="light"]{--nx-accent:#6744df;--nx-ink:#171729;--nx-muted:#4b5873;--nx-card:#fff;--nx-line:rgba(26,29,71,.12);--nx-glow:rgba(115,83,220,.1)}
html{scroll-behavior:smooth} body.golive-spaces{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;letter-spacing:-.012em}
body.golive-spaces .shell{max-width:1240px!important;padding:clamp(12px,2vw,26px)!important}
body.golive-spaces .shell>header{padding:8px 0 12px!important;min-height:66px}
body.golive-spaces .identity{max-width:100%;color:var(--nx-ink)!important;font-weight:650!important;gap:10px}
body.golive-spaces .theme-toggle{display:grid!important;place-items:center!important;min-width:42px!important;min-height:42px!important;font-size:18px!important;cursor:pointer!important;flex-shrink:0}
body.golive-spaces .theme-toggle:focus-visible,body.golive-spaces button:focus-visible,body.golive-spaces a:focus-visible,body.golive-spaces input:focus-visible{outline:3px solid #8b5cf6!important;outline-offset:3px!important}
.gl-next-hero{position:relative;display:grid;grid-template-columns:minmax(0,1.45fr) minmax(260px,.9fr);gap:18px;overflow:hidden;min-height:285px;padding:clamp(22px,4vw,46px);margin:14px 0 20px;border-radius:28px;background:radial-gradient(circle at 78% 8%,rgba(174,93,255,.38),transparent 34%),linear-gradient(120deg,#171127,#241d55 56%,#191638);border:1px solid rgba(189,165,255,.24);box-shadow:0 22px 65px rgba(17,9,39,.26);color:#fff}
.gl-next-hero-copy{position:relative;z-index:2;display:flex;align-items:flex-start;flex-direction:column;justify-content:center}
.gl-next-eyebrow{display:inline-flex;align-items:center;gap:10px;color:#d9c8ff;font-size:11px;font-weight:850;letter-spacing:.15em}
.gl-next-pulse{width:9px;height:9px;background:#fb4971;border-radius:50%;box-shadow:0 0 0 5px rgba(251,73,113,.15)}
.gl-next-hero h2{color:#fff!important;margin:15px 0 12px!important;font-weight:900!important;font-size:clamp(29px,4.3vw,56px)!important;line-height:1.06!important;letter-spacing:-.055em!important}
.gl-next-hero h2 span{color:#e7bcff!important}
.gl-next-hero p{color:#c9c5e4!important;max-width:510px;font-size:clamp(14px,1.3vw,17px);line-height:1.55;margin:0 0 24px}
.gl-next-hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
body.golive-spaces .gl-next-hero .gl-next-primary{background:#f6d762!important;color:#241736!important;border:0!important;box-shadow:0 10px 26px rgba(246,215,98,.16)!important;font-weight:850!important;padding:13px 20px!important;border-radius:14px!important}
body.golive-spaces .gl-next-hero .gl-next-secondary{display:inline-flex;gap:9px;align-items:center;background:rgba(255,255,255,.11)!important;color:#fff!important;border:1px solid rgba(255,255,255,.2)!important;border-radius:14px!important;padding:12px 17px!important;font-weight:750;text-decoration:none}
.gl-next-art{position:relative;min-height:210px;isolation:isolate}
.gl-next-orbit{position:absolute;border-radius:50%;border:1px solid rgba(255,255,255,.2);left:50%;top:50%;translate:-50% -50%;width:220px;height:220px;background:radial-gradient(circle,#a17afe44,transparent 70%)}
.gl-next-orbit.orbit-two{width:300px;height:300px;transform:rotate(-18deg);border-style:dashed;opacity:.7}
.gl-next-bubble{display:grid;place-items:center;position:absolute;font-size:46px;width:95px;height:95px;border-radius:24px;box-shadow:0 18px 36px rgba(10,7,32,.28);backdrop-filter:blur(6px)}
.bubble-one{background:#946df8;left:18%;top:8%;rotate:-14deg}.bubble-two{background:#f05e91;right:13%;top:30%;rotate:11deg}.bubble-three{background:#edb546;left:37%;bottom:9%;rotate:7deg}
.gl-next-art-label{position:absolute;bottom:0;right:10px;letter-spacing:.16em;font-size:11px;font-weight:900;color:#dfd0ff;white-space:nowrap}.gl-next-art-label span{color:#f4c45a}
/* Discovery and room cards */
body.golive-spaces #lobby.panel,body.golive-spaces #live.panel{border-radius:25px!important;padding:clamp(16px,2.5vw,28px)!important}
body.golive-spaces #lobby>.head h2{font-size:clamp(24px,3vw,34px)!important;font-weight:850!important;letter-spacing:-.04em!important;margin-bottom:4px}
body.golive-spaces .gl-status-bar{gap:7px!important;margin-top:15px!important}
body.golive-spaces .gl-status-pill{border-radius:999px!important;font-size:12px!important;font-weight:750!important}
body.golive-spaces #createForm.create-house{margin:18px 0 24px!important;border-radius:19px!important;overflow:hidden}
body.golive-spaces .create-collapse-head{padding:14px 17px!important}
body.golive-spaces .glass-house,body.golive-spaces .glass-house.gh2,body.golive-spaces .gh-cell .glass-house{border-radius:22px!important;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important}
@media (hover:hover){body.golive-spaces .glass-house:hover{transform:translateY(-3px)}}
body.golive-spaces .gh2-live,body.golive-spaces .livepill{font-weight:900!important;letter-spacing:.09em!important}
body.golive-spaces #rooms.rooms{gap:16px!important}
body.golive-spaces #previousLives .house-hist{border-radius:17px!important}
/* Controls need readable contrast in bright AND dark modes */
:root[data-theme="dark"] body.golive-spaces input,:root[data-theme="dark"] body.golive-spaces select,:root[data-theme="dark"] body.golive-spaces textarea{color:#f5f6fc!important;background:#111727!important;border-color:rgba(175,192,255,.24)!important}
:root[data-theme="dark"] body.golive-spaces input::placeholder,:root[data-theme="dark"] body.golive-spaces textarea::placeholder{color:#a2aec8!important;opacity:1}
:root[data-theme="light"] body.golive-spaces{background:radial-gradient(circle at 86% 0%,rgba(194,168,255,.22),transparent 34%),linear-gradient(180deg,#faf9ff,#f3f5fb 65%,#fff)!important;color:#171729!important}
:root[data-theme="light"] body.golive-spaces .panel,:root[data-theme="light"] body.golive-spaces #lobby.panel,:root[data-theme="light"] body.golive-spaces #live.panel{background:#fff!important;border-color:#e6e7f1!important;box-shadow:0 16px 44px rgba(39,32,92,.07)!important}
:root[data-theme="light"] body.golive-spaces .identity{background:rgba(255,255,255,.94)!important;border-color:#e4e3ef!important}
:root[data-theme="light"] body.golive-spaces .earnings-card,:root[data-theme="light"] body.golive-spaces .create-house,:root[data-theme="light"] body.golive-spaces .collapse-head,:root[data-theme="light"] body.golive-spaces .collapse-body{background:#f8f8fd!important;border-color:#e5e5f0!important;color:#25233c!important}
:root[data-theme="light"] body.golive-spaces .glass-house,:root[data-theme="light"] body.golive-spaces .glass-house.gh2,:root[data-theme="light"] body.golive-spaces .gh-cell .glass-house{background:linear-gradient(150deg,#fff,#f9f7ff)!important;border-color:#e6e3f0!important;box-shadow:0 10px 28px rgba(56,44,113,.07)!important}
:root[data-theme="light"] body.golive-spaces input,:root[data-theme="light"] body.golive-spaces select,:root[data-theme="light"] body.golive-spaces textarea{background:#fff!important;color:#211f35!important;border:1px solid #cdd2e2!important;box-shadow:none!important}
:root[data-theme="light"] body.golive-spaces input::placeholder,:root[data-theme="light"] body.golive-spaces textarea::placeholder{color:#64708a!important;opacity:1}
:root[data-theme="light"] body.golive-spaces .opt:not(.on),:root[data-theme="light"] body.golive-spaces button.secondary,:root[data-theme="light"] body.golive-spaces .linkish{background:#eeeff8!important;color:#282744!important;border:1px solid #d8d9e9!important;box-shadow:none!important}
:root[data-theme="light"] body.golive-spaces .gl-status-pill{color:#322c4d!important;background:#f2f0fb!important;border-color:#e3dcf7!important}
:root[data-theme="light"] body.golive-spaces .gl-status-pill.is-online{color:#0d7752!important;background:#e4f9ed!important;border-color:#c0ead4!important}
:root[data-theme="light"] body.golive-spaces .theme-toggle{background:#f5f2ff!important;color:#302157!important;border-color:#e4ddfb!important;box-shadow:none!important}
/* Button-specific accessibility: avoid the old all-buttons rule colouring close icons */
body.golive-spaces .theme-toggle,body.golive-spaces .collapse-head,body.golive-spaces .linkish,body.golive-spaces .opt,body.golive-spaces .step{box-shadow:none!important}
body.golive-spaces [hidden]{display:none!important}
@media(max-width:690px){.gl-next-hero{grid-template-columns:1fr;min-height:auto;padding:25px 20px;border-radius:22px}.gl-next-art{display:none}.gl-next-hero h2{font-size:clamp(31px,8.2vw,43px)!important}.gl-next-hero-actions{width:100%}.gl-next-hero .gl-next-primary,.gl-next-hero .gl-next-secondary{justify-content:center;flex:1}.gl-next-hero p{margin-bottom:19px}body.golive-spaces .shell{padding:12px 12px calc(90px + env(safe-area-inset-bottom))!important}body.golive-spaces .identity span{max-width:95px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body.golive-spaces #rooms.rooms{grid-template-columns:1fr!important}}
@media(min-width:691px) and (max-width:900px){.gl-next-hero{grid-template-columns:1.2fr .8fr}.gl-next-bubble{width:75px;height:75px;font-size:36px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.glass-house{transition:none!important}.gl-next-pulse{box-shadow:none}}
