@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');:root{color-scheme:dark;--bg:#0b0814;--panel:#171121;--line:#c4a0ff22;--text:#f6f1ff;--muted:#a69bb9;--purple:#a855f7;--pink:#e879f9}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,sans-serif;min-height:100vh;overflow-x:hidden}a{color:inherit;text-decoration:none}.ambient{position:fixed;z-index:-1;pointer-events:none;filter:blur(95px);opacity:.15;border-radius:50%;width:350px;height:350px;background:#8b5cf6}.ambient.a{top:-170px;left:20%}.ambient.b{right:-180px;bottom:-150px;background:#d946ef}.logo{font:700 22px 'Space Grotesk';letter-spacing:2px}.logo span{color:var(--pink);padding-left:8px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:800;color:#c084fc;margin:0 0 10px}.landing{min-height:100vh;max-width:900px;margin:auto;padding:9vh 8vw;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.landing .eyebrow{margin-top:42px}.landing h1{font:700 clamp(48px,8vw,82px)/1.03 'Space Grotesk';letter-spacing:-3px;margin:0}.landing h1 span,.hero h2 span{color:#c084fc;text-shadow:0 0 28px #a855f755}.lead{color:#b7acc9;max-width:540px;font-size:16px;line-height:1.8;margin:22px 0 30px}.button{display:inline-flex;align-items:center;gap:20px;border:1px solid transparent;border-radius:10px;padding:13px 18px;font-size:12px;font-weight:700;background:linear-gradient(110deg,#7c3aed,#c026d3);box-shadow:0 0 28px #a855f72c}.button:hover{transform:translateY(-1px)}.button.secondary{background:#211632;border-color:#4c2e70}.button.disabled{background:#20172d;color:#9888ab;border-color:#392849}.hint{color:#857995;font-size:11px}.pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:45px}.pills span,.tag{border:1px solid var(--line);background:#171024;color:#c7bad9;border-radius:30px;padding:8px 12px;font-size:10px}.shell{min-height:100vh}.sidebar{width:225px;position:fixed;inset:0 auto 0 0;background:#0e0a18ed;border-right:1px solid var(--line);padding:25px 14px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:8px;font:700 11px 'Space Grotesk';letter-spacing:.7px;padding:0 8px 35px}.brand b{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:linear-gradient(145deg,#9333ea,#db2777);font-size:17px}.brand small{color:#867a99;font-size:9px}.sidebar label{font-size:9px;letter-spacing:1.7px;color:#716580;font-weight:800;padding:0 10px 10px;margin-top:9px}.nav{display:block;padding:11px;border-radius:8px;color:#a99dbb;font-size:12px;margin:2px 0}.nav:hover,.nav.active{background:#6d28d929;color:#f5eaff;box-shadow:inset 2px 0 #c084fc}.sidefoot{margin-top:auto;border-top:1px solid var(--line);padding:17px 6px 0;color:#8e82a1;font-size:10px}.main{margin-left:225px;padding:32px clamp(20px,4vw,56px) 18px;max-width:1550px}.main header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:27px}.main h1{font:700 28px 'Space Grotesk';margin:0}.user{display:flex;align-items:center;gap:10px;border:1px solid var(--line);background:#171121;border-radius:10px;padding:9px 11px;font-size:11px;color:#cfc2df}.user img{width:27px;height:27px;border-radius:50%}.user button{border:0;border-left:1px solid var(--line);padding:5px 0 5px 9px;background:transparent;color:#b8a8ca;font-size:10px;cursor:pointer}.hero{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:230px;padding:clamp(23px,4vw,40px);border-radius:17px;border:1px solid #a855f72c;background:radial-gradient(ellipse at 80% 45%,#7c3aed29,transparent 40%),linear-gradient(115deg,#1b122b,#130e20)}.hero h2{font:700 clamp(28px,3.5vw,41px)/1.15 'Space Grotesk';letter-spacing:-1.4px;margin:0 0 12px}.hero p:not(.eyebrow){font-size:12px;color:#a99bbd;line-height:1.7;max-width:500px;margin:0}.orb{width:145px;height:145px;flex-shrink:0;border:1px solid #c084fc70;border-radius:50%;display:grid;place-items:center;color:#ead7ff;font:700 20px 'Space Grotesk';letter-spacing:2px;box-shadow:0 0 38px #a855f72e,inset 0 0 27px #a855f72e;background:#9333ea12}.sectionhead{display:flex;align-items:center;justify-content:space-between;margin:30px 0 14px}.sectionhead h2{font:600 20px 'Space Grotesk';margin:0}.sectionhead .eyebrow{margin-bottom:5px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.card{padding:17px;border:1px solid var(--line);border-radius:12px;background:linear-gradient(145deg,#191226,#120e1c);transition:.2s}.card:hover{border-color:#a855f75c;transform:translateY(-2px)}.cardtop{display:flex;align-items:center;justify-content:space-between;gap:6px}.glyph{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:color-mix(in srgb,var(--accent) 13%,transparent);color:var(--accent);font-size:16px;font-weight:800}.status{font-size:8px;color:#998da9;border:1px solid var(--line);padding:6px 7px;border-radius:20px;white-space:nowrap}.card h3{font:600 15px 'Space Grotesk';margin:18px 0 6px}.card p{font-size:10px;color:#9b8fad;margin:0 0 20px}.cardfoot{border-top:1px solid var(--line);padding-top:12px;display:flex;justify-content:space-between;color:#a99bbd;font-size:10px}.cardfoot b{color:#c084fc;font-size:15px}.notice{display:flex;gap:12px;padding:15px 17px;margin-top:19px;border:1px solid #8b5cf62e;border-radius:11px;background:#8b5cf60b}.notice>b,.spark{color:#c084fc;font-size:20px}.notice strong{font-size:11px}.notice p{font-size:10px;color:#9d91af;line-height:1.6;margin:5px 0 0}footer{display:flex;justify-content:space-between;gap:12px;margin-top:32px;padding:16px 0 4px;border-top:1px solid var(--line);color:#716680;font-size:9px}footer span{letter-spacing:1px}.back{display:inline-block;color:#a995c4;font-size:11px;margin-bottom:13px}.hero.compact{min-height:160px;display:block}.hero.compact h2{margin-top:17px}.panel{margin-top:17px;padding:22px;border:1px solid var(--line);border-radius:14px;background:#151020}.panel>h3{font:600 16px 'Space Grotesk';margin:0}.panel>p:not(.eyebrow){font-size:12px;line-height:1.8;color:#a99bbd}.empty{text-align:center;max-width:470px;margin:35px auto 25px}.empty h3{font:600 17px 'Space Grotesk';margin:14px 0 8px}.empty p{font-size:12px;line-height:1.8;color:#a99bbd;margin-bottom:22px}.center{min-height:100vh;display:grid;place-items:center;padding:20px}.center .panel{max-width:490px;width:100%;padding:34px}.center h1{font:700 32px 'Space Grotesk';margin:0}.center .eyebrow{margin-top:28px}.center p:not(.eyebrow){font-size:12px;line-height:1.8;color:#a99bbd;margin-bottom:23px}@media(max-width:1050px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.orb{width:110px;height:110px}}@media(max-width:700px){.sidebar{width:58px;padding:18px 5px}.brand{padding:0 8px 30px}.brand>span,.brand small,.sidebar label,.nav:not(.active){display:none}.nav{text-align:center;padding:12px 0;font-size:0}.sidefoot{font-size:0;text-align:center}.main{margin-left:58px;padding:22px 12px 15px}.main h1{font-size:23px}.user{font-size:0;gap:5px;padding:7px}.user button{font-size:9px}.hero{padding:21px;min-height:190px}.hero h2{font-size:28px}.orb{display:none}.grid{grid-template-columns:1fr}.card{padding:15px}.status{font-size:8px}footer{font-size:8px}footer span{display:none}.landing{padding:8vh 7vw}.landing h1{letter-spacing:-2px}}


/* TWITCH CONTROL UI */
.twitch-main { min-width: 0; }
.twitch-accent, .hero h2 span { color: #b89aff; }
.twitch-panel { margin-top: 22px; }
.twitch-section-head { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:18px; }
.twitch-section-head h3, .twitch-panel h3 { margin:4px 0 0; }
.twitch-search { display:flex; gap:10px; }
.twitch-search input, .twitch-settings input[type="text"],
.twitch-settings select, .twitch-settings textarea {
  width:100%; min-width:0; padding:12px 14px; color:inherit;
  background:rgba(255,255,255,.045); border:1px solid rgba(255,255,255,.13);
  border-radius:10px; font:inherit; box-sizing:border-box;
}
.twitch-search input { flex:1; }
.twitch-settings select { max-width:260px; }
.twitch-settings textarea { resize:vertical; }
.twitch-results, .twitch-channel-list { margin-top:16px; }
.twitch-channel-row {
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:14px 0; border-bottom:1px solid rgba(255,255,255,.09);
}
.twitch-channel-row:last-child { border-bottom:0; }
.twitch-identity { display:flex; align-items:center; gap:13px; min-width:0; flex:1; }
.twitch-avatar { width:48px; height:48px; flex:0 0 48px; object-fit:cover; border-radius:50%; background:rgba(255,255,255,.06); }
.twitch-details { display:flex; flex-direction:column; gap:4px; min-width:0; }
.twitch-details strong { overflow-wrap:anywhere; }
.twitch-muted { color:var(--muted, #aaa); font-size:.9rem; overflow-wrap:anywhere; }
.twitch-live { color:#ff6d91; font-weight:700; font-size:.78rem; letter-spacing:.08em; }
.twitch-offline { color:#aaa; font-size:.78rem; letter-spacing:.08em; }
.twitch-controls { display:flex; align-items:center; justify-content:flex-end; gap:12px; flex-wrap:wrap; }
.twitch-inline-check { display:flex; align-items:center; gap:7px; font-size:.85rem; }
.twitch-inline-check input, .twitch-check input { accent-color:#9b76ff; }
.twitch-settings { display:flex; flex-direction:column; gap:10px; margin-top:16px; }
.twitch-settings > label:not(.twitch-check) { margin-top:10px; font-weight:600; }
.twitch-check { display:flex; align-items:flex-start; gap:9px; margin:8px 0; }
.twitch-check input { margin-top:4px; }
.twitch-actions { display:flex; gap:10px; flex-wrap:wrap; margin-top:8px; }
.twitch-message { display:none; padding:12px 15px; margin-top:16px; border-radius:10px; background:rgba(146,112,255,.12); border:1px solid rgba(146,112,255,.25); overflow-wrap:anywhere; }
.twitch-message:not(:empty) { display:block; }
.twitch-message.error { background:rgba(255,80,110,.10); border-color:rgba(255,80,110,.3); }
.twitch-search button, .twitch-channel-row button, .twitch-actions button { flex-shrink:0; }
@media (max-width:700px) {
  .twitch-search { flex-direction:column; }
  .twitch-channel-row { align-items:flex-start; flex-direction:column; }
  .twitch-controls { justify-content:flex-start; width:100%; }
  .twitch-section-head { align-items:flex-start; }
  .twitch-settings select { max-width:100%; }
}
