:root{
  --stream-bg:#090b0f;
  --stream-panel:#101318;
  --stream-panel-soft:#15191f;
  --stream-card:rgba(18,21,27,.91);
  --stream-card-2:#171b21;
  --stream-line:#2b3038;
  --stream-text:#f5f7fa;
  --stream-muted:#8f98a6;
  --stream-red:#d00018;
  --stream-red-soft:#ff3349;
  --stream-green:#31d487;
  --stream-purple:#9146ff;
  --stream-side:214px;
  --stream-footer:38px;
}
*{box-sizing:border-box}
html{background:var(--stream-bg);color-scheme:dark}
body.streams-body{margin:0;min-height:100vh;overflow:hidden;background:var(--stream-bg);color:var(--stream-text);font-family:Arial,Helvetica,sans-serif}
.streams-body a{text-decoration:none;color:inherit}
.streams-body button,.streams-body input{font:inherit}

/* top bar */
.streams-top{height:56px;display:grid;grid-template-columns:minmax(205px,1fr) auto minmax(205px,1fr);align-items:center;gap:16px;padding:0 14px;border-top:2px solid rgba(208,0,24,.55);border-bottom:1px solid var(--stream-line);background:linear-gradient(90deg,rgba(208,0,24,.16),rgba(16,19,24,.98) 27%,rgba(16,19,24,.98) 73%,rgba(208,0,24,.08));position:relative;z-index:80}
.streams-brand{display:flex;align-items:center;gap:10px;min-width:0;justify-self:start}
.streams-brand img{width:31px;height:36px;object-fit:contain;filter:drop-shadow(0 0 10px rgba(208,0,24,.18))}
.streams-brand-copy{display:grid;line-height:1.05;min-width:0}
.streams-brand-copy strong{font-size:14px;letter-spacing:.02em;color:#fff;white-space:nowrap}
.streams-brand-copy small{margin-top:4px;color:#9da6b4;font-size:7px;letter-spacing:.15em;text-transform:uppercase;white-space:nowrap}
.streams-stats{display:flex;align-items:center;justify-content:center;gap:6px;padding:4px;border:1px solid #2b3038;border-radius:999px;background:#15191f;box-shadow:0 10px 26px rgba(0,0,0,.18)}
.stream-top-stat{height:33px;display:flex;align-items:center;gap:6px;padding:0 12px;border-right:1px solid #2a2f36;white-space:nowrap}
.stream-top-stat:last-child{border-right:0}
.stream-top-stat .top-stat-icon{color:var(--stream-red-soft);font-size:9px}
.stream-top-stat strong{font-size:12px;line-height:1;color:#fff}
.stream-top-stat small{font-size:8px;color:#8993a1;letter-spacing:.08em;text-transform:uppercase}
.stream-top-stat.live .top-stat-icon{animation:streamPulse 1.8s ease-in-out infinite}
.streams-account{display:flex;align-items:center;justify-content:flex-end;gap:7px;min-width:0}
.streams-live-state{display:flex;align-items:center;gap:6px;color:#7f8997;font-size:8px;white-space:nowrap;margin-right:2px}
.streams-live-state i{width:7px;height:7px;border-radius:50%;background:var(--stream-green);box-shadow:0 0 0 4px rgba(49,212,135,.08)}
.stream-btn,.stream-icon-btn{border:1px solid var(--stream-line);background:#171b21;color:#fff;min-height:36px;border-radius:11px;padding:0 13px;font-weight:800;font-size:9px;letter-spacing:.05em;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease}
.stream-btn:hover,.stream-icon-btn:hover{transform:translateY(-1px);border-color:rgba(208,0,24,.68);box-shadow:0 8px 20px rgba(0,0,0,.18)}
.stream-btn.primary{background:var(--stream-red);border-color:var(--stream-red)}
.stream-btn.account-btn{min-height:35px;border-radius:10px}
.stream-btn.account-btn.twitch{background:linear-gradient(180deg,#8d2df1,#6e1fd4);border-color:#9146ff}
.stream-btn.account-btn img{width:17px;height:17px;object-fit:contain;border-radius:50%}
.stream-icon-btn{width:35px;padding:0;border-radius:50%;font-size:14px}
.logout-btn{font-size:15px}

/* app frame */
.streams-app{height:calc(100vh - 56px);display:grid;grid-template-rows:minmax(0,1fr) var(--stream-footer);background:#090b0f}
.streams-workspace{min-height:0;display:grid;grid-template-columns:var(--stream-side) minmax(0,1fr) var(--stream-side);position:relative;transition:grid-template-columns .24s ease}
.streams-workspace.left-collapsed{grid-template-columns:0 minmax(0,1fr) var(--stream-side)}
.streams-workspace.right-collapsed{grid-template-columns:var(--stream-side) minmax(0,1fr) 0}
.streams-workspace.left-collapsed.right-collapsed{grid-template-columns:0 minmax(0,1fr) 0}

/* sidebars */
.streams-sidebar{position:relative;min-width:0;background:rgba(15,18,23,.98);border-color:var(--stream-line);z-index:20;transition:opacity .18s ease,transform .24s ease;overflow:visible}
.streams-sidebar-left{border-right:1px solid var(--stream-line)}
.streams-sidebar-right{border-left:1px solid var(--stream-line)}
.streams-workspace.left-collapsed .streams-sidebar-left,.streams-workspace.right-collapsed .streams-sidebar-right{background:transparent;border-color:transparent}
.streams-workspace.left-collapsed .streams-sidebar-left .sidebar-scroll{opacity:0;pointer-events:none;transform:translateX(-100%)}
.streams-workspace.right-collapsed .streams-sidebar-right .sidebar-scroll{opacity:0;pointer-events:none;transform:translateX(100%)}
.sidebar-scroll{height:100%;overflow:auto;padding-bottom:14px;transition:opacity .18s ease,transform .24s ease}
.side-section{padding:12px 10px;border-bottom:1px solid #242930}
.side-heading{min-height:23px;display:flex;align-items:center;justify-content:space-between;gap:8px;color:#7f8997;text-transform:uppercase;letter-spacing:.12em;font-size:8px}
.side-heading strong{font-size:8px;font-weight:800;color:#7f8997}
.side-search{width:100%;height:37px;margin-top:7px;border:1px solid #2b3038;border-radius:9px;background:#15191f;color:#e9edf2;padding:0 10px;font-size:10px;outline:none}
.side-search::placeholder{color:#68717e}
.side-search:focus{border-color:rgba(208,0,24,.72);box-shadow:0 0 0 3px rgba(208,0,24,.07)}
.sort-list{display:grid;gap:3px;margin-top:7px}
.sort-option{width:100%;height:36px;border:0;border-radius:8px;background:transparent;color:#a2aab6;padding:0 9px;display:flex;align-items:center;justify-content:space-between;text-align:left;font-size:10px;cursor:pointer;transition:background .18s ease,color .18s ease,transform .18s ease}
.sort-option b{min-width:25px;text-align:center;color:#69727f;font-size:9px}
.sort-option:hover{background:#171b21;color:#fff}
.sort-option.active{background:linear-gradient(90deg,rgba(208,0,24,.25),rgba(208,0,24,.08));color:#fff;box-shadow:inset 3px 0 0 var(--stream-red)}
.sort-option.active b{background:var(--stream-red);color:#fff;border-radius:6px;height:24px;display:grid;place-items:center}
.control-label,.range-label{display:block;margin:10px 0 6px;color:#8993a1;font-size:8px;letter-spacing:.05em}
.range-wrap{display:grid;grid-template-columns:1fr 24px;align-items:center;gap:8px;padding:5px 7px;border:1px solid #2b3038;border-radius:9px;background:#15191f}
.range-wrap input{width:100%;accent-color:var(--stream-red)}
.range-wrap output{font-size:9px;color:#fff;text-align:center}
.segmented{display:flex;padding:3px;border:1px solid #2b3038;border-radius:9px;background:#15191f;gap:3px}
.segmented.wide button{flex:1}
.segmented.three button{padding-inline:4px}
.segmented button{border:0;background:transparent;color:#7e8794;min-height:30px;border-radius:7px;font-size:8px;font-weight:800;cursor:pointer;white-space:nowrap}
.segmented button.active{background:#2b3038;color:#fff;box-shadow:0 6px 14px rgba(0,0,0,.18)}
.side-count{display:inline-grid;place-items:center;min-width:35px;height:20px;padding:0 7px;border-radius:999px;background:#1d2229;color:#8d97a5;font-size:8px;letter-spacing:.04em}
.offline-title{margin-top:2px}
.offline-list{display:grid;gap:5px;margin-top:8px}
.offline-list .stream-empty{min-height:88px;padding:14px 8px;font-size:8px}
.offline-item{min-height:48px;display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:8px;padding:5px 7px;border:1px solid #2b3038;border-radius:9px;background:#171b21;transition:border-color .18s ease,transform .18s ease,background .18s ease}
.offline-item:hover{border-color:rgba(208,0,24,.5);transform:translateX(-2px);background:#1a1f26}
.offline-avatar{width:36px;height:36px;border-radius:8px;object-fit:cover;background:#0c0e12}
.offline-copy{min-width:0;line-height:1.15}
.offline-copy strong{display:block;color:#e9edf2;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.offline-copy small{display:block;margin-top:4px;color:#7a8491;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.offline-open{color:#68727f;font-size:10px}
.side-handle{position:absolute;top:50%;width:18px;height:48px;margin-top:-24px;border:1px solid #303640;background:#171b21;color:#68727f;display:grid;place-items:center;cursor:pointer;z-index:35;font-size:18px;line-height:1;transition:background .18s ease,color .18s ease}
.side-handle:hover{background:#20252d;color:#fff}
.side-handle-left{right:-18px;border-radius:0 10px 10px 0;border-left:0}
.side-handle-right{left:-18px;border-radius:10px 0 0 10px;border-right:0}
.streams-workspace.left-collapsed .side-handle-left{opacity:1;pointer-events:auto;transform:translateX(100%)}
.streams-workspace.right-collapsed .side-handle-right{opacity:1;pointer-events:auto;transform:translateX(-100%)}

/* center */
.streams-center{position:relative;min-width:0;min-height:0;overflow:auto;padding:17px 18px 28px;background:#090b0f}
.streams-center-bg{position:fixed;inset:56px var(--stream-side) var(--stream-footer);z-index:0;background:linear-gradient(180deg,rgba(39,4,9,.55),rgba(8,10,13,.73) 34%,rgba(8,10,13,.92) 76%),url('../img/home-hero-heli-night.webp') center/cover no-repeat;filter:saturate(.72);pointer-events:none;transition:inset .24s ease}
.streams-center-bg::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 4%,rgba(208,0,24,.18),transparent 34%),linear-gradient(90deg,rgba(0,0,0,.22),transparent 10%,transparent 90%,rgba(0,0,0,.22));backdrop-filter:blur(1.4px)}
.streams-workspace.left-collapsed .streams-center-bg{left:0}
.streams-workspace.right-collapsed .streams-center-bg{right:0}
.streams-center>*:not(.streams-center-bg){position:relative;z-index:2}
.streams-center-topline{min-height:25px;margin-bottom:11px;display:flex;justify-content:space-between;align-items:center;gap:12px;color:#8b95a3;font-size:8px;letter-spacing:.07em;text-transform:uppercase}
.streams-center-topline>span{display:flex;align-items:center;gap:7px}
.streams-center-topline i{width:7px;height:7px;border-radius:50%;background:var(--stream-red);box-shadow:0 0 0 4px rgba(208,0,24,.08)}
.stream-grid{--columns:4;display:grid;grid-template-columns:repeat(var(--columns),minmax(0,1fr));gap:12px;align-content:start}
.stream-card{position:relative;min-width:0;overflow:hidden;border:1px solid rgba(68,73,83,.88);border-radius:10px;background:linear-gradient(180deg,rgba(25,29,36,.93),rgba(16,19,24,.96));box-shadow:0 12px 26px rgba(0,0,0,.25);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;cursor:pointer;backdrop-filter:blur(8px)}
.stream-card:hover{transform:translateY(-3px);border-color:rgba(208,0,24,.72);box-shadow:0 18px 32px rgba(0,0,0,.34)}
.stream-card:focus-visible{outline:2px solid var(--stream-red-soft);outline-offset:2px}
.stream-thumb{position:relative;aspect-ratio:16/8.2;background:#0b0d11;overflow:hidden;border-bottom:1px solid #343943}
.stream-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease,filter .25s ease,opacity .25s ease}
.stream-card:hover .stream-thumb img{transform:scale(1.025)}
.thumbs-blur .stream-thumb img{filter:blur(12px) brightness(.55);transform:scale(1.08)}
.thumbs-hide .stream-thumb img{opacity:0}
.stream-live-badge{position:absolute;left:8px;bottom:7px;display:inline-flex;align-items:center;gap:5px;padding:3px 7px;border-radius:6px;background:rgba(5,7,9,.9);color:#fff;font-size:8px;font-weight:900;box-shadow:0 3px 8px rgba(0,0,0,.3)}
.stream-live-badge::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--stream-red-soft)}
.stream-viewers{position:absolute;right:8px;bottom:7px;padding:3px 7px;border-radius:6px;background:rgba(5,7,9,.9);color:#fff;font-size:8px;font-weight:900}
.stream-card-body{padding:8px 9px 9px}
.stream-card-channel{display:grid;grid-template-columns:31px minmax(0,1fr) auto;align-items:center;gap:7px}
.stream-card-channel img{width:31px;height:31px;border-radius:50%;object-fit:cover;background:#0c0e12;border:1px solid #343943}
.stream-card-name{min-width:0}
.stream-card-name strong{display:block;color:#fff;font-size:12px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left}
.stream-card-name small{display:block;margin-top:3px;color:#8f98a6;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left}
.stream-twitch-link{width:24px;height:24px;border-radius:7px;border:1px solid #343943;display:grid;place-items:center;color:#9fa7b3;font-size:9px;transition:color .18s ease,border-color .18s ease,background .18s ease}
.stream-twitch-link:hover{color:#fff;border-color:#9146ff;background:rgba(145,70,255,.12)}
.stream-card-title{margin-top:7px;color:#d1d6dd;font-size:9px;line-height:1.35;height:25px;overflow:hidden;text-align:left}
.stream-card-meta{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:7px;color:#919aa7;font-size:8px}
.stream-card-tags{display:flex;gap:4px;flex-wrap:wrap;margin-top:7px}
.stream-tag{display:inline-flex;align-items:center;min-height:17px;padding:0 6px;border-radius:5px;border:1px solid rgba(255,255,255,.07);background:#20252c;color:#7f8995;font-size:7px;line-height:1;text-transform:uppercase;letter-spacing:.04em}
.stream-tag.apx{color:#ff6576;border-color:rgba(208,0,24,.24);background:rgba(208,0,24,.08)}
.stream-grid.list{grid-template-columns:1fr!important}
.stream-grid.list .stream-card{display:grid;grid-template-columns:210px minmax(0,1fr)}
.stream-grid.list .stream-thumb{height:118px;aspect-ratio:auto;border-bottom:0;border-right:1px solid #343943}
.stream-grid.list .stream-card-body{display:flex;flex-direction:column;justify-content:center;padding:12px 14px}
.stream-grid.list .stream-card-title{height:auto;max-height:42px;font-size:10px}
.stream-loading,.stream-empty{grid-column:1/-1;min-height:170px;display:grid;place-items:center;padding:30px;border:1px dashed rgba(255,255,255,.15);border-radius:11px;background:rgba(14,17,21,.72);color:#8f98a6;font-size:10px;text-align:center}
.stream-notice{margin:0 0 12px;padding:12px 14px;border:1px solid rgba(208,0,24,.32);border-radius:10px;background:rgba(16,18,23,.92);display:flex;gap:4px;flex-direction:column;color:#d8dde4;font-size:10px}
.stream-notice strong{color:#fff}
.stream-notice.success{border-color:rgba(49,212,135,.3);background:rgba(49,212,135,.08)}

/* footer */
.streams-footer{height:var(--stream-footer);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 16px;border-top:1px solid var(--stream-line);background:#0d1014;color:#7d8794;font-size:8px;letter-spacing:.03em;position:relative;z-index:50}
.footer-version{display:flex;align-items:center;gap:9px}
.footer-version strong{color:#aeb5bf;font-weight:700}
.footer-social{display:flex;align-items:center;gap:18px;color:#afb6bf}
.footer-social a,.footer-legal a{transition:color .18s ease}
.footer-social a:hover,.footer-legal a:hover{color:#fff}
.footer-legal{justify-self:end;display:flex;gap:14px}

/* modal + dashboard */
.stream-eyebrow{display:block;color:var(--stream-red-soft);font-size:9px;font-weight:900;letter-spacing:.18em;text-transform:uppercase}
.stream-modal[hidden]{display:none}
.stream-modal{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:20px}
.stream-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.78);backdrop-filter:blur(9px)}
.stream-modal-dialog{position:relative;z-index:1;width:min(1280px,100%);max-height:calc(100vh - 40px);overflow:auto;border:1px solid var(--stream-line);border-radius:18px;background:#0d1014;box-shadow:0 30px 90px rgba(0,0,0,.55);padding:20px}
.help-dialog{width:min(720px,100%)}
.stream-modal-close{position:absolute;right:12px;top:12px;z-index:2;width:35px;height:35px;border-radius:50%;border:1px solid var(--stream-line);background:#15191f;color:#fff;font-size:21px;cursor:pointer}
.stream-viewer-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,.55fr);gap:12px;padding-top:32px}
.stream-viewer-grid iframe{width:100%;height:70vh;min-height:420px;border:0;border-radius:12px;background:#050608}
.embed-consent{padding:70px 25px;text-align:center;border-radius:14px;background:#111419}
.embed-consent h3{font-size:25px}
.embed-consent p{max-width:660px;margin:0 auto 22px;color:var(--stream-muted)}
.stream-card-actions{display:flex;gap:8px;margin-top:13px;justify-content:center}
.stream-faq{display:grid;gap:8px;margin-top:20px}
.stream-faq details{border:1px solid var(--stream-line);border-radius:11px;background:#12151a;overflow:hidden}
.stream-faq summary{cursor:pointer;padding:15px 16px;font-weight:800;font-size:12px}
.stream-faq p{padding:0 16px 16px;margin:0;color:var(--stream-muted);line-height:1.7;font-size:11px}
.stream-cookie{position:fixed;left:20px;right:20px;bottom:50px;z-index:90;display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:1000px;margin:auto;padding:15px 17px;border:1px solid var(--stream-line);border-radius:14px;background:rgba(15,18,22,.97);box-shadow:0 20px 60px rgba(0,0,0,.48)}
.stream-cookie p{margin:3px 0 0;color:var(--stream-muted);font-size:10px}
.stream-cookie>div:last-child{display:flex;gap:8px;flex:0 0 auto}
.stream-dashboard{width:min(820px,calc(100% - 32px));margin:0 auto;padding:50px 0}
.dashboard-panel{margin-top:24px;padding:28px;background:#111419;border:1px solid var(--stream-line);border-radius:18px}
.dashboard-user{display:flex;align-items:center;gap:16px}.dashboard-user>img{width:76px;height:76px;border-radius:18px}.dashboard-user h1{margin:3px 0}.dashboard-user p{color:var(--stream-muted);margin:0}.dashboard-form{display:grid;gap:18px;margin-top:28px}.stream-switch-row{display:flex;justify-content:space-between;align-items:center;padding:18px;border:1px solid var(--stream-line);border-radius:14px;background:#0e1115}.stream-switch-row small{display:block;color:var(--stream-muted);margin-top:3px}.stream-switch-row input{width:22px;height:22px;accent-color:var(--stream-red)}.dashboard-state{display:flex;justify-content:space-between;border-bottom:1px solid var(--stream-line);padding-bottom:14px}.dashboard-help{color:var(--stream-muted);font-size:13px}.dashboard-actions{display:flex;gap:10px;margin-top:22px}

/* light stream theme */
body.stream-light{--stream-bg:#e8ebf0;--stream-panel:#f7f8fa;--stream-panel-soft:#fff;--stream-card:rgba(255,255,255,.94);--stream-card-2:#fff;--stream-line:#cfd5de;--stream-text:#151820;--stream-muted:#697382;background:#e8ebf0;color:#151820}
body.stream-light .streams-top{background:linear-gradient(90deg,rgba(208,0,24,.06),rgba(250,251,252,.98) 27%,rgba(250,251,252,.98) 73%,rgba(208,0,24,.04));border-color:#ccd2dc}
body.stream-light .streams-brand-copy strong,body.stream-light .stream-top-stat strong,body.stream-light .stream-card-name strong{color:#151820}
body.stream-light .streams-brand-copy small,body.stream-light .stream-top-stat small{color:#6f7885}
body.stream-light .streams-stats,body.stream-light .segmented,body.stream-light .range-wrap,body.stream-light .side-search{background:#fff;border-color:#d3d9e1}
body.stream-light .stream-top-stat{border-color:#dfe3e9}
body.stream-light .streams-sidebar{background:rgba(246,248,250,.98);border-color:#d3d9e1}
body.stream-light .side-section{border-color:#dfe3e9}
body.stream-light .sort-option{color:#66707d}
body.stream-light .sort-option:hover{background:#fff;color:#151820}
body.stream-light .sort-option.active{background:linear-gradient(90deg,rgba(208,0,24,.12),rgba(208,0,24,.03));color:#151820}
body.stream-light .segmented button.active{background:#e4e8ee;color:#151820}
body.stream-light .streams-center{background:#e7eaef}
body.stream-light .streams-center-bg{background:linear-gradient(180deg,rgba(255,255,255,.54),rgba(234,237,242,.82) 34%,rgba(234,237,242,.94) 76%),url('../img/home-hero-heli-night.webp') center/cover no-repeat;filter:saturate(.5)}
body.stream-light .stream-card{background:rgba(255,255,255,.93);border-color:#d3d9e1;box-shadow:0 12px 25px rgba(32,40,50,.1)}
body.stream-light .stream-card-title{color:#495260}
body.stream-light .stream-card-name small,body.stream-light .stream-card-meta{color:#6e7885}
body.stream-light .stream-tag{background:#eef1f5;border-color:#dde2e9;color:#6e7885}
body.stream-light .offline-item{background:#fff;border-color:#d5dae2}
body.stream-light .offline-copy strong{color:#171a20}
body.stream-light .streams-footer{background:#f5f7f9;border-color:#d3d9e1;color:#6f7885}
body.stream-light .footer-version strong,body.stream-light .footer-social{color:#3c4550}
body.stream-light .stream-btn,body.stream-light .stream-icon-btn{background:#fff;color:#171a20;border-color:#d0d6df}
body.stream-light .stream-btn.primary{background:var(--stream-red);color:#fff;border-color:var(--stream-red)}
body.stream-light .stream-btn.account-btn.twitch{background:linear-gradient(180deg,#8d2df1,#6e1fd4);color:#fff;border-color:#9146ff}

@keyframes streamPulse{0%,100%{opacity:.65;transform:scale(.86)}50%{opacity:1;transform:scale(1.18)}}

@media(max-width:1200px){
  :root{--stream-side:190px}
  .streams-top{grid-template-columns:minmax(175px,1fr) auto minmax(175px,1fr)}
  .stream-top-stat{padding:0 9px}
  .stream-top-stat small{display:none}
  .stream-grid{--columns:3}
}
@media(max-width:900px){
  body.streams-body{overflow:auto}
  .streams-top{height:auto;min-height:58px;grid-template-columns:1fr auto;padding:8px 10px;gap:8px}
  .streams-stats{grid-column:1/-1;grid-row:2;justify-self:stretch;justify-content:center}
  .streams-account{grid-column:2;grid-row:1}
  .streams-live-state{display:none}
  .streams-app{height:auto;min-height:calc(100vh - 58px);display:block}
  .streams-workspace,.streams-workspace.left-collapsed,.streams-workspace.right-collapsed,.streams-workspace.left-collapsed.right-collapsed{display:grid;grid-template-columns:1fr}
  .streams-sidebar{position:relative;transform:none!important;opacity:1!important;pointer-events:auto!important;border:0;border-bottom:1px solid var(--stream-line)}
  .streams-sidebar-right{order:3;border-top:1px solid var(--stream-line)}
  .sidebar-scroll{height:auto;overflow:visible}
  .streams-workspace.left-collapsed .streams-sidebar-left .sidebar-scroll,.streams-workspace.right-collapsed .streams-sidebar-right .sidebar-scroll{opacity:1;pointer-events:auto;transform:none}
  .streams-sidebar-left .sidebar-scroll{display:grid;grid-template-columns:1fr 1.4fr 1.3fr;align-items:start}
  .streams-sidebar-left .side-section{border-bottom:0;border-right:1px solid #242930;height:100%}
  .streams-sidebar-left .side-section:last-child{border-right:0}
  .sort-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .side-handle{display:none}
  .streams-center{min-height:560px;overflow:visible}
  .streams-center-bg{position:absolute;inset:0}
  .stream-grid{--columns:2}
  .streams-footer{height:auto;min-height:44px;grid-template-columns:1fr auto;padding:8px 12px;gap:8px}
  .footer-social{display:none}
}
@media(max-width:620px){
  .streams-brand-copy strong{font-size:12px}.streams-brand-copy small{font-size:6px}
  .streams-account .stream-btn.account-btn{font-size:0;width:38px;padding:0}.streams-account .stream-btn.account-btn img{width:18px;height:18px}
  .streams-stats{gap:3px}.stream-top-stat{height:29px;padding:0 8px}.stream-top-stat strong{font-size:10px}.stream-top-stat small{display:none}
  .streams-sidebar-left .sidebar-scroll{grid-template-columns:1fr}
  .streams-sidebar-left .side-section{border-right:0;border-bottom:1px solid #242930}
  .sort-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .stream-grid{grid-template-columns:1fr!important}
  .stream-grid.list .stream-card{grid-template-columns:1fr}.stream-grid.list .stream-thumb{height:auto;aspect-ratio:16/8.2;border-right:0;border-bottom:1px solid #343943}
  .streams-center{padding:12px 10px 20px}
  .offline-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .footer-version{font-size:7px}.footer-legal{gap:8px;font-size:7px}
  .stream-cookie{left:8px;right:8px;bottom:50px;flex-direction:column;align-items:stretch}.stream-cookie>div:last-child{display:grid;grid-template-columns:1fr 1fr}
  .stream-modal{padding:8px}.stream-modal-dialog{max-height:calc(100vh - 16px);padding:14px}.stream-viewer-grid{grid-template-columns:1fr;padding-top:34px}.stream-viewer-grid iframe{min-height:300px;height:48vh}
  .dashboard-panel{padding:20px}.dashboard-actions{display:grid}
}
@media(max-width:430px){.offline-list{grid-template-columns:1fr}.sort-list{grid-template-columns:1fr}.streams-footer{grid-template-columns:1fr}.footer-legal{display:none}}
@media(prefers-reduced-motion:reduce){.stream-top-stat.live .top-stat-icon{animation:none}.stream-card,.offline-item,.stream-btn,.stream-icon-btn{transition:none}}

/* V10.40 APX refinement */
body.streams-body{
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}
.streams-top{
  height:64px;
  padding:0 16px;
  background:linear-gradient(90deg,rgba(208,0,24,.18),rgba(11,15,21,.98) 25%,rgba(11,15,21,.98) 75%,rgba(208,0,24,.10));
}
.streams-brand{gap:12px}
.streams-brand img{width:34px;height:39px}
.streams-brand-copy strong{font-size:15px;font-weight:800}
.streams-brand-copy small{font-size:8px;letter-spacing:.18em}
.streams-stats{gap:8px;padding:5px 6px;background:rgba(17,22,29,.92);border-color:#333a45}
.stream-top-stat{height:38px;padding:0 14px;gap:8px;align-items:center}
.stream-top-stat strong{font-size:13px;font-weight:800}
.stream-top-stat small{font-size:9px}
.streams-live-state{font-size:10px}
.stream-btn,.stream-icon-btn{
  min-height:40px;
  padding:0 15px;
  font-size:11px;
  line-height:1;
  letter-spacing:.04em;
  text-align:center;
}
.stream-btn.account-btn{min-height:40px}
.stream-icon-btn{width:40px;height:40px}
.streams-sidebar{background:rgba(12,15,20,.985)}
.side-section{padding:14px 12px}
.side-heading,.side-heading strong{font-size:9px;letter-spacing:.14em}
.side-search{height:40px;font-size:12px;border-radius:10px}
.sort-option{height:38px;font-size:11px;border-radius:10px}
.sort-option b{font-size:10px}
.control-label,.range-label{margin:12px 0 7px;font-size:9px}
.range-wrap{padding:6px 8px;border-radius:10px}
.range-wrap output{font-size:10px;font-weight:700}
.segmented{border-radius:10px}
.segmented button{min-height:34px;font-size:10px}
.side-count{height:22px;font-size:9px}
.offline-item{min-height:56px;padding:7px 8px;border-radius:10px}
.offline-avatar{width:40px;height:40px;border-radius:10px}
.offline-copy strong{font-size:11px}
.offline-copy small{font-size:9px}
.streams-center{padding:18px 20px 30px}
.streams-center-bg{inset:64px var(--stream-side) var(--stream-footer)}
.streams-center-topline{margin-bottom:14px;font-size:11px}
.streams-center-topline strong{font-size:13px}
.stream-notice{
  margin:0 0 14px;
  padding:14px 16px;
  border-radius:14px;
  font-size:12px;
  line-height:1.45;
  background:rgba(16,18,24,.94);
}
.stream-notice strong{font-size:13px}
.stream-notice.warning{border-color:rgba(255,179,64,.42);background:rgba(52,36,10,.62);color:#f0d9aa}
.stream-notice.info{border-color:rgba(208,0,24,.32);background:rgba(34,16,20,.52);color:#e5d2d7}
.stream-notice.success{border-color:rgba(49,212,135,.3);background:rgba(18,46,31,.58);color:#d1f0df}
.stream-grid{gap:18px}
.stream-card{border-radius:18px}
.stream-thumb{border-bottom:1px solid rgba(255,255,255,.06)}
.stream-live-badge,.stream-viewers{font-size:10px}
.stream-card-body{padding:15px 15px 14px}
.stream-card-channel{gap:11px}
.stream-card-name strong{font-size:14px;line-height:1.2}
.stream-card-name small{font-size:10px}
.stream-card-title{font-size:13px;line-height:1.45;min-height:38px;color:#eef1f5}
.stream-card-meta{font-size:10px}
.stream-tag{font-size:9px;padding:5px 8px}
.stream-loading,.stream-empty{min-height:190px;font-size:12px;border-radius:14px}
.streams-footer{padding:0 18px;font-size:9px}
.footer-version strong,.footer-social,.footer-legal{font-size:10px}
.stream-modal-dialog{border-radius:20px}
.stream-cookie{border-radius:18px}
body.stream-light .streams-top{background:linear-gradient(90deg,rgba(208,0,24,.07),rgba(252,253,255,.98) 25%,rgba(252,253,255,.98) 75%,rgba(208,0,24,.05))}
body.stream-light .stream-notice.info{background:rgba(255,244,246,.98);color:#6c2f38}
body.stream-light .stream-notice.warning{background:rgba(255,250,238,.98);color:#7f5a19}
@media(max-width:1200px){
  .streams-top{grid-template-columns:minmax(180px,1fr) auto minmax(180px,1fr)}
}
@media(max-width:900px){
  .streams-top{min-height:64px;padding:10px 12px}
  .streams-stats{width:100%;justify-content:center}
  .streams-center{padding:16px 14px 24px}
}
@media(max-width:620px){
  .streams-brand-copy strong{font-size:13px}
  .stream-top-stat strong{font-size:11px}
  .stream-btn,.stream-icon-btn{font-size:10px}
  .side-search,.sort-option{font-size:12px}
  .stream-card-title{font-size:12px}
  .stream-notice{font-size:11px}
}

/* V10.41 streamer overview final polish */
.streams-top{height:62px;min-height:62px;border-bottom:1px solid rgba(208,0,24,.55)}
.streams-brand{min-width:185px}
.streams-brand img{width:32px;height:37px}
.streams-brand-copy strong{font-size:14px}
.streams-stats{border-radius:999px;box-shadow:0 10px 24px rgba(0,0,0,.12)}
.stream-top-stat{min-width:112px;justify-content:center}
.streams-account{gap:8px}
.stream-btn,.stream-icon-btn{border-radius:999px}
.streams-workspace{--stream-side:200px}
.streams-sidebar{border-color:#242a33}
.side-section{border-color:#242a33}
.side-heading strong{font-size:9px;color:#9da6b4}
.side-search{background:#141820;border-color:#303641;color:#eef2f7}
.sort-option{padding:0 10px}
.sort-option.active{background:linear-gradient(90deg,rgba(208,0,24,.24),rgba(208,0,24,.08));border-left:2px solid var(--red)}
.segmented button.active{background:#29303a;color:#fff}
.streams-center{padding:16px 18px 26px}
.streams-center-topline{padding:0 2px}
.stream-grid{gap:14px}
.stream-card{border:1px solid #2c323c;border-radius:16px;background:rgba(19,23,29,.96);box-shadow:0 14px 34px rgba(0,0,0,.18);overflow:hidden;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.stream-card:hover{transform:translateY(-3px);border-color:rgba(208,0,24,.42);box-shadow:0 18px 42px rgba(0,0,0,.26)}
.stream-thumb{aspect-ratio:16/9;overflow:hidden}
.stream-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease,filter .3s ease}
.stream-card:hover .stream-thumb img{transform:scale(1.025)}
.stream-card-body{padding:13px 14px 14px}
.stream-card-name strong{font-size:14px}
.stream-card-title{font-size:12.5px;line-height:1.4}
.stream-card-meta{font-size:9.5px}
.offline-list{gap:6px}
.offline-item{border-radius:12px;background:#151920;border-color:#303641}
.offline-item:hover{background:#1b2029;border-color:rgba(208,0,24,.35)}
.side-handle{background:#181d25;border-color:#323844;color:#b9c1cd}
.side-handle:hover{background:#222833;color:#fff}
.streams-footer{height:34px;min-height:34px;border-top:1px solid #242a33}
.stream-modal-dialog,.stream-cookie,.stream-panel{border-radius:20px!important}
.stream-notice{border-radius:14px}
body.stream-light .streams-sidebar,body.stream-light .streams-footer{background:#f5f7fa;border-color:#d8dde5;color:#11141a}
body.stream-light .side-heading strong{color:#66707e}
body.stream-light .side-search,body.stream-light .offline-item{background:#fff;color:#11141a;border-color:#d8dde5}
body.stream-light .stream-card{background:#fff;color:#11141a;border-color:#d8dde5;box-shadow:0 14px 34px rgba(20,28,40,.08)}
body.stream-light .stream-card-title{color:#20242b}
body.stream-light .stream-card-meta,body.stream-light .stream-card-name small{color:#66707e}
body.stream-light .segmented button.active{background:#e7ebef;color:#11141a}
@media(max-width:1180px){.streams-workspace{--stream-side:178px}.stream-top-stat{min-width:98px}}
@media(max-width:900px){.streams-top{height:auto;min-height:62px}.streams-workspace{--stream-side:0px}.streams-center{padding:14px}.stream-grid{gap:12px}}

/* V10.46 Twitch configuration notices */
.stream-notice.server-flash{position:relative;z-index:4;margin-bottom:14px}
.stream-notice.server-flash.success{border-color:rgba(43,196,118,.42);background:rgba(18,48,32,.88);color:#d7f5e5}
.stream-notice.server-flash.warning{border-color:rgba(224,0,27,.42);background:rgba(57,19,26,.90);color:#f3d8dd}

/* V10.49: hidden status notices must never be forced visible by display:flex */
.stream-notice[hidden], #config-warning[hidden]{display:none !important;}

/* V10.49 inline focus player inspired by the reference, adapted to APX */
.stream-card.active{
  border-color:var(--stream-red-soft)!important;
  box-shadow:0 0 0 1px rgba(208,0,24,.28),0 20px 46px rgba(208,0,24,.22),0 18px 42px rgba(0,0,0,.35)!important;
  transform:translateY(-3px);
}
.stream-card.active .stream-thumb::after{
  content:"LIVE AUSGEWÄHLT";
  position:absolute;
  top:10px;
  right:10px;
  z-index:3;
  padding:6px 9px;
  border-radius:999px;
  background:rgba(208,0,24,.92);
  color:#fff;
  font-size:8px;
  font-weight:900;
  letter-spacing:.08em;
}
.stream-stage[hidden]{display:none!important}
.stream-stage{
  width:min(1120px,calc(100% - 28px));
  margin:24px auto 8px;
  border:1px solid rgba(208,0,24,.35);
  border-radius:18px;
  overflow:hidden;
  background:#0c0f14;
  box-shadow:0 28px 80px rgba(0,0,0,.48),0 0 0 1px rgba(255,255,255,.02) inset;
  animation:streamStageIn .28s ease both;
  position:relative;
  z-index:6;
}
.stream-stage-head{
  min-height:58px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:center;
  gap:14px;
  padding:8px 12px 8px 14px;
  border-bottom:1px solid #2a3038;
  background:linear-gradient(90deg,rgba(208,0,24,.10),#13171d 30%,#13171d 70%,rgba(145,70,255,.07));
}
.stream-stage-channel{display:flex;align-items:center;gap:10px;min-width:0}
.stream-stage-channel img{width:38px;height:38px;border-radius:50%;object-fit:cover;border:1px solid #363d47;background:#0c0f14}
.stream-stage-channel div{display:grid;min-width:0;line-height:1.1}
.stream-stage-channel small{font-size:8px;font-weight:900;letter-spacing:.13em;color:var(--stream-red-soft)}
.stream-stage-channel strong{margin-top:4px;font-size:14px;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.stream-stage-grip{display:grid;grid-template-columns:repeat(3,3px);gap:3px;opacity:.65}
.stream-stage-grip span{width:3px;height:3px;border-radius:50%;background:#8b94a0}
.stream-stage-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}
.stream-stage-raid,.stream-stage-twitch,.stream-stage-close{
  min-height:36px;
  border-radius:11px;
  border:1px solid #353b45;
  background:#171b21;
  color:#fff;
  font-size:10px;
  font-weight:900;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  cursor:pointer;
  transition:.18s ease;
}
.stream-stage-raid{padding:0 12px;border-color:rgba(208,0,24,.44);color:#ff5b6c;background:rgba(208,0,24,.08)}
.stream-stage-raid:hover,.stream-stage-raid.copied{background:var(--stream-red);border-color:var(--stream-red);color:#fff;transform:translateY(-1px)}
.stream-stage-twitch{padding:0 12px;background:rgba(145,70,255,.14);border-color:rgba(145,70,255,.48)}
.stream-stage-twitch:hover{background:#9146ff;border-color:#9146ff;transform:translateY(-1px)}
.stream-stage-twitch img{width:15px;height:15px}
.stream-stage-close{width:36px;padding:0;font-size:21px;font-weight:500}
.stream-stage-close:hover{background:#242a32;border-color:#505967}
.stream-stage-content{background:#07090d}
.stream-stage-viewer{display:grid;grid-template-columns:minmax(0,1fr) 320px;min-height:560px}
.stream-stage-player,.stream-stage-chat{width:100%;height:100%;min-height:560px;border:0;background:#050608}
.stream-stage-chat{border-left:1px solid #242a31}
.stream-stage-consent{
  min-height:420px;
  padding:90px 28px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  background:radial-gradient(circle at 50% 35%,rgba(208,0,24,.10),transparent 38%),#0a0d11;
}
.stream-stage-consent h3{margin:8px 0 10px;font-size:28px;color:#fff}
.stream-stage-consent p{max-width:620px;margin:0;color:#9ba5b2;font-size:13px;line-height:1.6}
body.stream-light .stream-stage{background:#fff;border-color:rgba(208,0,24,.25);box-shadow:0 24px 60px rgba(30,38,50,.16)}
body.stream-light .stream-stage-head{background:linear-gradient(90deg,#fff4f6,#fff 35%,#fff 65%,#f8f5ff);border-bottom-color:#d8dde5}
body.stream-light .stream-stage-channel strong{color:#14171c}
body.stream-light .stream-stage-content{background:#eef1f5}
body.stream-light .stream-stage-consent{background:#f7f8fa}
body.stream-light .stream-stage-consent h3{color:#151820}
@keyframes streamStageIn{from{opacity:0;transform:translateY(14px) scale(.99)}to{opacity:1;transform:none}}
@media(max-width:1180px){
  .stream-stage{width:100%}
  .stream-stage-viewer{grid-template-columns:minmax(0,1fr) 280px;min-height:500px}
  .stream-stage-player,.stream-stage-chat{min-height:500px}
}
@media(max-width:900px){
  .stream-stage{margin-top:18px;border-radius:15px}
  .stream-stage-head{grid-template-columns:minmax(0,1fr) auto;padding:9px 10px}
  .stream-stage-grip{display:none}
  .stream-stage-actions{gap:6px}
  .stream-stage-raid span,.stream-stage-twitch{font-size:0}
  .stream-stage-twitch{width:36px;padding:0}
  .stream-stage-viewer{grid-template-columns:1fr;min-height:0}
  .stream-stage-player{height:56vw;min-height:300px;max-height:62vh}
  .stream-stage-chat{height:360px;min-height:360px;border-left:0;border-top:1px solid #242a31}
}
@media(max-width:560px){
  .stream-stage{width:100%;margin-top:14px}
  .stream-stage-channel img{width:34px;height:34px}
  .stream-stage-channel strong{font-size:12px}
  .stream-stage-raid{width:38px;padding:0;font-size:0}
  .stream-stage-raid::before{content:"▣";font-size:13px}
  .stream-stage-consent{min-height:320px;padding:55px 18px}
  .stream-stage-consent h3{font-size:22px}
}
@media(prefers-reduced-motion:reduce){.stream-stage{animation:none}}

/* V10.50 Twitch account, live chat and floating player */
.streams-user-chip{
  min-height:40px;
  display:flex;
  align-items:center;
  gap:9px;
  padding:4px 11px 4px 5px;
  border:1px solid transparent;
  border-radius:999px;
  color:#f5f7fa;
  font-size:12px;
  font-weight:800;
  white-space:nowrap;
  transition:.18s ease;
}
.streams-user-chip:hover{background:#171b21;border-color:#343b46}
.streams-user-chip img{width:31px;height:31px;border-radius:50%;object-fit:cover;border:1px solid #3b424d}
.auto-update-btn{border-color:rgba(208,0,24,.34);color:#c6cdd7;background:#171b21}
.auto-update-btn .auto-update-icon{color:#777f8c;transition:.18s ease}
.auto-update-btn.active{border-color:rgba(208,0,24,.72);background:rgba(208,0,24,.10);color:#fff}
.auto-update-btn.active .auto-update-icon{color:#ff3349;text-shadow:0 0 10px rgba(255,51,73,.55);animation:streamPulse 1.8s ease-in-out infinite}
.streams-account>.logout-btn{font-size:10px;padding:0 13px;color:#d5dbe4;background:#171b21}
.streams-account>.logout-btn:hover{color:#fff;background:rgba(208,0,24,.15)}

.stream-stage.floating{
  position:fixed;
  width:min(980px,calc(100vw - 44px));
  margin:0;
  z-index:130;
  max-height:calc(100vh - 76px);
  display:flex;
  flex-direction:column;
  box-shadow:0 34px 100px rgba(0,0,0,.62),0 0 0 1px rgba(255,255,255,.025) inset;
  animation:streamFloatIn .22s ease both;
}
.stream-stage.floating .stream-stage-head{flex:0 0 auto;cursor:grab;user-select:none;touch-action:none}
.stream-stage.floating.dragging{transition:none;box-shadow:0 42px 110px rgba(0,0,0,.72),0 0 0 1px rgba(208,0,24,.32)}
.stream-stage.floating.dragging .stream-stage-head{cursor:grabbing}
.stream-stage.floating .stream-stage-content{flex:1 1 auto;min-height:0;overflow:hidden}
.stream-stage.floating .stream-stage-viewer{height:min(68vh,610px);min-height:430px}
.stream-stage.floating .stream-stage-grip{cursor:grab}
@keyframes streamFloatIn{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:none}}

.stream-stage-player-consent{
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:28px;
  text-align:center;
  background:radial-gradient(circle at 50% 40%,rgba(208,0,24,.13),transparent 35%),linear-gradient(180deg,#0b0e13,#07090c);
}
.stream-stage-player-consent h3{margin:0;color:#fff;font-size:25px}
.stream-stage-player-consent p{max-width:520px;margin:0 0 7px;color:#9aa4b1;font-size:12px;line-height:1.55}
.apx-chat{
  min-width:0;
  display:grid;
  grid-template-rows:52px minmax(0,1fr) auto;
  border-left:1px solid #2b3038;
  background:#12151a;
  color:#eef1f5;
}
.apx-chat-head{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:0 13px;
  border-bottom:1px solid #2a3038;
  background:#15191f;
}
.apx-chat-head strong{font-size:14px;font-weight:900;color:#fff}
.apx-chat-head span{position:absolute;margin-left:250px;color:#d9dee6;font-size:17px}
.apx-chat-messages{
  min-height:0;
  overflow:auto;
  padding:13px 14px 18px;
  scrollbar-width:thin;
  scrollbar-color:#515966 transparent;
}
.apx-chat-message{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 8px;font-size:12px;line-height:1.45;word-break:break-word}
.apx-chat-message strong{font-weight:900;color:#ff5265}
.apx-chat-message span{color:#e2e6ec}
.apx-chat-system{
  margin:2px 0 10px;
  padding:9px 10px;
  border-left:2px solid rgba(208,0,24,.7);
  border-radius:0 8px 8px 0;
  background:rgba(208,0,24,.06);
  color:#9fa8b5;
  font-size:10px;
  line-height:1.5;
}
.apx-chat-system.error{border-left-color:#ff4b5e;background:rgba(255,75,94,.08);color:#ffb7c0}
.apx-chat-form{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:8px;
  padding:10px;
  border-top:1px solid #2a3038;
  background:#15191f;
}
.apx-chat-form input{
  min-width:0;
  height:40px;
  border:1px solid #4a515c;
  border-radius:10px;
  outline:0;
  padding:0 11px;
  background:#11141a;
  color:#fff;
  font-size:12px;
}
.apx-chat-form input:focus{border-color:var(--stream-red-soft);box-shadow:0 0 0 3px rgba(208,0,24,.10)}
.apx-chat-form button{
  min-width:68px;
  height:40px;
  border:0;
  border-radius:999px;
  padding:0 15px;
  background:var(--stream-red);
  color:#fff;
  font-size:11px;
  font-weight:900;
  cursor:pointer;
}
.apx-chat-form button:hover{background:#ee001d}
.apx-chat-form button:disabled{opacity:.55;cursor:wait}
.apx-chat-gate{
  grid-row:2 / 4;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:24px 18px;
  text-align:center;
}
.apx-chat-gate img{width:30px;height:30px;margin-bottom:12px}
.apx-chat-gate strong{font-size:16px;color:#fff}
.apx-chat-gate p{max-width:250px;margin:8px 0 15px;color:#8f99a6;font-size:11px;line-height:1.5}
.apx-chat-gate .stream-btn{background:#9146ff;border-color:#9146ff}

body.stream-light .streams-user-chip{color:#171a20}
body.stream-light .streams-user-chip:hover{background:#f0f3f7;border-color:#d9dee5}
body.stream-light .auto-update-btn{background:#fff;border-color:#ccd2da;color:#4f5865}
body.stream-light .auto-update-btn.active{background:#fff3f5;border-color:rgba(208,0,24,.55);color:#9f0719}
body.stream-light .stream-stage-player-consent{background:#f5f7fa}
body.stream-light .stream-stage-player-consent h3{color:#151820}
body.stream-light .apx-chat{background:#fff;color:#151820;border-left-color:#d7dce3}
body.stream-light .apx-chat-head{background:#f6f7f9;border-bottom-color:#d7dce3}
body.stream-light .apx-chat-head strong{color:#151820}
body.stream-light .apx-chat-message span{color:#303641}
body.stream-light .apx-chat-system{background:#fff4f6;color:#66707d}
body.stream-light .apx-chat-form{background:#f6f7f9;border-top-color:#d7dce3}
body.stream-light .apx-chat-form input{background:#fff;color:#151820;border-color:#cbd2dc}
body.stream-light .apx-chat-gate strong{color:#151820}

@media(max-width:1180px){
  .streams-user-chip strong{display:none}
  .streams-user-chip{padding-right:5px}
  .auto-update-btn span:last-child{display:none}
  .auto-update-btn{width:40px;padding:0}
}
@media(max-width:900px){
  .stream-stage.floating{
    left:8px!important;
    right:8px!important;
    top:72px!important;
    bottom:8px!important;
    width:auto;
    max-height:none;
    height:auto;
    border-radius:15px;
  }
  .stream-stage.floating .stream-stage-head{cursor:default;touch-action:auto}
  .stream-stage.floating .stream-stage-viewer{height:100%;min-height:0;grid-template-columns:1fr;grid-template-rows:minmax(220px,1fr) 300px}
  .stream-stage-player,.stream-stage-player-consent{min-height:0;height:100%}
  .apx-chat{border-left:0;border-top:1px solid #2b3038;min-height:0}
  .apx-chat-head span{position:static;margin-left:auto}
}
@media(max-width:620px){
  .streams-user-chip{display:none}
  .streams-account>.logout-btn{font-size:0;width:40px;padding:0}
  .streams-account>.logout-btn span{font-size:14px}
  .stream-stage.floating{top:64px!important}
  .stream-stage.floating .stream-stage-viewer{grid-template-rows:minmax(190px,.8fr) minmax(280px,1.2fr)}
  .apx-chat-form{grid-template-columns:1fr auto;padding:8px}
  .apx-chat-form input{height:38px}
  .apx-chat-form button{height:38px;min-width:60px;padding:0 12px}
}

/* V10.51 list layout and center status refinement */
.stream-list-stats{display:none}
.streams-center-status{justify-content:flex-end;margin-bottom:10px}
.streams-center-status #center-update-state{margin-left:auto}
.stream-grid.list{
  grid-template-columns:1fr!important;
  gap:10px;
}
.stream-grid.list .stream-card{
  display:grid;
  grid-template-columns:190px 92px minmax(0,1fr);
  min-height:104px;
  border-radius:14px;
  overflow:hidden;
  background:linear-gradient(90deg,rgba(22,25,31,.97),rgba(26,20,22,.96));
  border:1px solid #343942;
  box-shadow:0 10px 28px rgba(0,0,0,.20);
}
.stream-grid.list .stream-card:hover{
  transform:translateY(-1px);
  border-color:rgba(208,0,24,.55);
}
.stream-grid.list .stream-thumb{
  height:104px;
  aspect-ratio:auto;
  border:0;
  border-right:1px solid #343943;
}
.stream-grid.list .stream-thumb img{object-fit:cover}
.stream-grid.list .stream-live-badge{
  left:8px;
  bottom:8px;
  font-size:9px;
  padding:4px 7px;
}
.stream-grid.list .stream-viewers{
  right:8px;
  bottom:8px;
  font-size:9px;
  padding:4px 7px;
}
.stream-grid.list .stream-list-stats{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:7px;
  padding:12px 10px;
  border-right:1px solid #30353e;
  color:#8f98a6;
  font-size:10px;
  line-height:1;
}
.stream-grid.list .stream-list-stats span{
  display:flex;
  align-items:center;
  gap:7px;
  white-space:nowrap;
}
.stream-grid.list .stream-list-stats b{
  color:#c9d0d9;
  font-size:10px;
  font-weight:800;
}
.stream-grid.list .stream-card-body{
  display:grid;
  grid-template-columns:minmax(230px,.45fr) minmax(0,1fr) auto;
  grid-template-rows:auto auto;
  align-items:center;
  column-gap:16px;
  row-gap:6px;
  padding:14px 16px;
}
.stream-grid.list .stream-card-channel{
  grid-column:1;
  grid-row:1 / span 2;
  grid-template-columns:42px minmax(0,1fr) auto;
  gap:10px;
}
.stream-grid.list .stream-card-channel img{
  width:42px;
  height:42px;
}
.stream-grid.list .stream-card-name strong{
  font-size:15px;
  letter-spacing:.01em;
}
.stream-grid.list .stream-card-name small{
  margin-top:4px;
  font-size:10px;
}
.stream-grid.list .stream-card-title{
  grid-column:2;
  grid-row:1;
  margin:0;
  height:auto;
  max-height:40px;
  min-height:0;
  color:#d9dee5;
  font-size:12px;
  line-height:1.45;
}
.stream-grid.list .stream-card-meta{
  grid-column:2;
  grid-row:2;
  justify-content:flex-start;
  gap:16px;
  margin:0;
  font-size:9.5px;
}
.stream-grid.list .stream-card-tags{
  grid-column:3;
  grid-row:1 / span 2;
  align-self:center;
  justify-content:flex-end;
  margin:0;
  max-width:220px;
}
.stream-grid.list .stream-twitch-link{display:none}
.stream-grid.list .stream-tag{font-size:8px;padding:5px 7px}
body.stream-light .stream-grid.list .stream-card{
  background:linear-gradient(90deg,#fff,#f7f8fa);
  border-color:#d5dbe4;
}
body.stream-light .stream-grid.list .stream-list-stats{border-color:#d8dde5;color:#66707e}
body.stream-light .stream-grid.list .stream-list-stats b{color:#27303b}
body.stream-light .stream-grid.list .stream-card-title{color:#28313c}
@media(max-width:1100px){
  .stream-grid.list .stream-card{grid-template-columns:170px 78px minmax(0,1fr)}
  .stream-grid.list .stream-card-body{grid-template-columns:minmax(190px,.42fr) minmax(0,1fr);padding:12px}
  .stream-grid.list .stream-card-tags{display:none}
}
@media(max-width:760px){
  .stream-grid.list .stream-card{grid-template-columns:132px minmax(0,1fr);min-height:94px}
  .stream-grid.list .stream-thumb{height:94px}
  .stream-grid.list .stream-list-stats{display:none}
  .stream-grid.list .stream-card-body{grid-template-columns:1fr;padding:10px 12px}
  .stream-grid.list .stream-card-channel{grid-column:1;grid-row:1;grid-template-columns:34px minmax(0,1fr)}
  .stream-grid.list .stream-card-channel img{width:34px;height:34px}
  .stream-grid.list .stream-card-title{grid-column:1;grid-row:2;font-size:10.5px;max-height:32px}
  .stream-grid.list .stream-card-meta,.stream-grid.list .stream-card-tags{display:none}
}


/* V10.52 resizable floating stream window */
.stream-stage.floating{width:min(980px,calc(100vw - 44px));height:min(650px,calc(100vh - 92px));min-width:360px;min-height:250px;max-width:calc(100vw - 20px);max-height:calc(100vh - 76px);overflow:hidden}
.stream-stage.floating .stream-stage-content{height:100%;min-height:0}
.stream-stage.floating .stream-stage-viewer{height:100%;min-height:0;grid-template-columns:minmax(0,1fr) minmax(250px,32%)}
.stream-stage.floating .stream-stage-player,.stream-stage.floating .stream-stage-player-consent,.stream-stage.floating .apx-chat{height:100%;min-height:0}
.stream-stage.floating.resizing{transition:none;user-select:none;box-shadow:0 42px 115px rgba(0,0,0,.76),0 0 0 1px rgba(208,0,24,.42)}
.stream-stage-size-wrap{position:relative;display:flex;align-items:center}
.stream-stage-size-toggle,.stream-stage-chat-toggle{width:36px;height:36px;padding:0;border:1px solid #353b45;border-radius:11px;background:#171b21;color:#fff;display:grid;place-items:center;cursor:pointer;transition:.18s ease;font-weight:900}
.stream-stage-size-toggle{font-size:17px;color:#c8d0da}
.stream-stage-size-toggle:hover,.stream-stage-size-wrap.menu-open .stream-stage-size-toggle{border-color:rgba(208,0,24,.62);background:#222730;color:#fff}
.stream-stage-chat-toggle{background:rgba(145,70,255,.15);border-color:rgba(145,70,255,.48)}
.stream-stage-chat-toggle img{width:17px;height:17px}
.stream-stage-chat-toggle:hover,.stream-stage-chat-toggle.active{background:#9146ff;border-color:#9146ff;transform:translateY(-1px)}
.stream-stage-size-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:40;width:190px;padding:7px;border:1px solid #343a44;border-radius:13px;background:#11151b;box-shadow:0 18px 48px rgba(0,0,0,.52);opacity:0;visibility:hidden;transform:translateY(-5px);pointer-events:none;transition:.16s ease}
.stream-stage-size-wrap:hover .stream-stage-size-menu,.stream-stage-size-wrap:focus-within .stream-stage-size-menu,.stream-stage-size-wrap.menu-open .stream-stage-size-menu{opacity:1;visibility:visible;transform:none;pointer-events:auto}
.stream-stage-size-menu button{width:100%;min-height:42px;border:0;border-radius:9px;background:transparent;color:#fff;padding:7px 9px;display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;cursor:pointer}
.stream-stage-size-menu button:hover,.stream-stage-size-menu button:focus-visible{outline:0;background:rgba(208,0,24,.12)}
.stream-stage-size-menu span{font-size:11px;font-weight:900}.stream-stage-size-menu small{font-size:8px;color:#7f8997;text-transform:uppercase;letter-spacing:.08em}
.stream-stage-resize-handle{position:absolute;right:5px;bottom:5px;z-index:45;width:30px;height:30px;border:0;background:transparent;cursor:nwse-resize;padding:0;touch-action:none;opacity:.62;transition:.18s ease}
.stream-stage-resize-handle::before,.stream-stage-resize-handle::after,.stream-stage-resize-handle span::before{content:"";position:absolute;right:3px;bottom:3px;border-right:2px solid #ff4055;border-bottom:2px solid #ff4055;border-radius:0 0 3px 0}
.stream-stage-resize-handle::before{width:19px;height:19px}.stream-stage-resize-handle::after{width:12px;height:12px}.stream-stage-resize-handle span::before{width:5px;height:5px}
.stream-stage-resize-handle:hover,.stream-stage-resize-handle:focus-visible{opacity:1;filter:drop-shadow(0 0 8px rgba(255,51,73,.45));outline:0}
.stream-stage.stage-chat-hidden .stream-stage-viewer{grid-template-columns:1fr}.stream-stage.stage-chat-hidden .apx-chat{display:none}
.stream-stage.stage-compact .stream-stage-viewer{grid-template-columns:1fr!important;grid-template-rows:1fr!important}.stream-stage.stage-compact .apx-chat{display:none;border-left:0}
.stream-stage.stage-compact.chat-open .stream-stage-player,.stream-stage.stage-compact.chat-open .stream-stage-player-consent{display:none}.stream-stage.stage-compact.chat-open .apx-chat{display:grid}
.stream-stage.stage-compact .stream-stage-raid,.stream-stage.stage-compact .stream-stage-twitch{display:none}.stream-stage.stage-compact .stream-stage-channel img{width:30px;height:30px}.stream-stage.stage-compact .stream-stage-channel small{display:none}
.stream-stage.stage-compact .stream-stage-head{min-height:48px;padding:6px 8px}.stream-stage.stage-compact .stream-stage-actions{gap:5px}.stream-stage.stage-compact .stream-stage-size-toggle,.stream-stage.stage-compact .stream-stage-chat-toggle,.stream-stage.stage-compact .stream-stage-close{width:34px;height:34px;border-radius:9px}.stream-stage.stage-compact .stream-stage-size-menu{right:-42px}
body.stream-light .stream-stage-size-toggle{background:#fff;border-color:#ccd2da;color:#343b45}body.stream-light .stream-stage-size-menu{background:#fff;border-color:#d6dbe3;box-shadow:0 18px 48px rgba(30,38,50,.18)}body.stream-light .stream-stage-size-menu button{color:#171a20}body.stream-light .stream-stage-size-menu button:hover{background:#fff0f2}
@media(max-width:900px){.stream-stage.floating{min-width:0;min-height:0;max-width:none;max-height:none;height:auto}.stream-stage-resize-handle,.stream-stage-size-wrap{display:none}.stream-stage.floating .stream-stage-viewer{grid-template-columns:1fr;grid-template-rows:minmax(220px,1fr) 300px}.stream-stage.floating .apx-chat{display:grid}.stream-stage.floating .stream-stage-chat-toggle{display:none}}
@media(hover:none){.stream-stage-size-menu{transition:none}}


/* V10.54 — compact list, APX grid hover and template refinement */
.stream-thumb-expand{position:absolute;inset:0;display:grid;place-items:center;text-align:center;font-size:28px;line-height:.72;color:#fff;letter-spacing:5px;background:rgba(7,9,12,.36);opacity:0;transform:scale(.92);transition:.18s ease;pointer-events:none;text-shadow:0 2px 10px #000}
.stream-card-raid{width:100%;min-height:34px;margin-top:10px;border:0;border-top:1px solid #2c323b;background:transparent;color:#ff4258;font-size:12px;font-weight:900;letter-spacing:.08em;cursor:pointer;opacity:0;pointer-events:none;transform:translateY(5px);transition:.18s ease}
.stream-card:hover{z-index:5;transform:translateY(-4px) scale(1.012);border-color:rgba(208,0,24,.88);box-shadow:0 24px 48px rgba(0,0,0,.38),0 0 0 1px rgba(208,0,24,.18)}
.stream-card:hover .stream-thumb-expand{opacity:1;transform:none}
.stream-card:hover .stream-card-raid{opacity:1;pointer-events:auto;transform:none}
.stream-card-raid:hover{color:#fff;background:rgba(208,0,24,.16)}
.stream-grid.list{gap:8px}
.stream-grid.list .stream-card{min-height:88px;display:grid;grid-template-columns:138px 96px minmax(0,1fr);border-radius:12px;background:linear-gradient(90deg,rgba(28,31,38,.98),rgba(18,21,27,.96));transform:none!important}
.stream-grid.list .stream-card:hover{border-color:rgba(208,0,24,.65);box-shadow:0 12px 28px rgba(0,0,0,.28)}
.stream-grid.list .stream-thumb{height:86px;aspect-ratio:auto;border:0;border-right:1px solid #343943}
.stream-grid.list .stream-thumb-expand{display:none}
.stream-grid.list .stream-list-stats{height:86px;padding:9px 10px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:7px;border-right:1px solid #343943;background:rgba(8,10,13,.35)}
.stream-grid.list .stream-list-stats span{display:flex;align-items:center;gap:6px;font-size:9px;color:#929ba8}
.stream-grid.list .stream-list-stats b{font-size:10px;color:#fff}
.stream-grid.list .stream-card-body{min-height:86px;padding:10px 13px;display:grid;grid-template-columns:minmax(210px,.35fr) minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:14px;align-content:center}
.stream-grid.list .stream-card-channel{grid-column:1;grid-row:1 / span 2;grid-template-columns:40px minmax(0,1fr) auto;gap:9px}
.stream-grid.list .stream-card-channel img{width:40px;height:40px}
.stream-grid.list .stream-card-name strong{font-size:13px}.stream-grid.list .stream-card-name small{font-size:9px}
.stream-grid.list .stream-card-title{grid-column:2;grid-row:1;font-size:11px;line-height:1.35;min-height:0;max-height:30px;margin:0;color:#e7eaf0}
.stream-grid.list .stream-card-meta{grid-column:2;grid-row:2;margin-top:4px;font-size:8.5px}
.stream-grid.list .stream-card-tags{grid-column:3;grid-row:1 / span 2;display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;max-width:220px}
.stream-grid.list .stream-card-raid{display:none}
.stream-grid.list .stream-twitch-link{display:block}
.streams-center{padding:14px 16px 24px}.stream-grid{gap:13px}
body.stream-light .stream-card-raid{border-color:#e1e5eb;color:#d00018}.stream-light .stream-thumb-expand{background:rgba(15,18,23,.28)}
@media(max-width:1150px){.stream-grid.list .stream-card{grid-template-columns:126px 78px minmax(0,1fr)}.stream-grid.list .stream-card-body{grid-template-columns:minmax(170px,.4fr) minmax(0,1fr)}.stream-grid.list .stream-card-tags{display:none}}
@media(max-width:720px){.stream-grid.list .stream-card{grid-template-columns:116px minmax(0,1fr)}.stream-grid.list .stream-list-stats{display:none}.stream-grid.list .stream-card-body{grid-template-columns:1fr;grid-template-rows:auto auto}.stream-grid.list .stream-card-channel{grid-column:1;grid-row:1}.stream-grid.list .stream-card-title{grid-column:1;grid-row:2;margin-top:5px}.stream-grid.list .stream-card-meta{display:none}}


/* V10.55 — reliable Twitch consent + native Twitch chat + simplified floating player */
.stream-cookie[hidden]{display:none!important}
.stream-cookie{z-index:1000!important;pointer-events:auto!important;isolation:isolate}
.stream-cookie *{pointer-events:auto}
.stream-cookie .stream-btn{position:relative;z-index:2;cursor:pointer}

.stream-stage.floating{
  z-index:520;
  width:min(900px,calc(100vw - 36px));
  height:min(570px,calc(100vh - 92px));
  border-radius:16px;
  border-color:rgba(208,0,24,.42);
  background:#0d1015;
  animation:apxStageSlideUp .34s cubic-bezier(.2,.78,.25,1) both;
}
@keyframes apxStageSlideUp{
  from{opacity:0;transform:translateY(86px) scale(.985)}
  to{opacity:1;transform:translateY(0) scale(1)}
}
.stream-stage-head{
  min-height:50px;
  padding:6px 9px 6px 10px;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  background:#12161c;
  border-bottom-color:#252b34;
}
.stream-stage-channel img{width:32px;height:32px}
.stream-stage-channel small{display:none}
.stream-stage-channel strong{margin-top:0;font-size:12px}
.stream-stage-actions{gap:6px}
.stream-stage-size-toggle,.stream-stage-chat-toggle,.stream-stage-close{width:34px;height:34px;border-radius:9px}
.stream-stage-twitch{width:34px;padding:0;font-size:0;border-radius:9px}
.stream-stage-twitch img{width:16px;height:16px}
.stream-stage-content{min-height:0;background:#05070a}
.stream-stage.floating .stream-stage-viewer{
  height:100%;
  min-height:0;
  grid-template-columns:minmax(0,1fr) minmax(290px,34%);
  background:#05070a;
}
.stream-stage.floating .stream-stage-player,
.stream-stage.floating .stream-stage-player-consent,
.stream-stage.floating .stream-stage-chat{
  width:100%;height:100%;min-height:0;border:0;
}
.stream-stage-chat{border-left:1px solid #252b34;background:#11151b}
.stream-stage-chat-consent{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;
  padding:24px;text-align:center;color:#fff;
}
.stream-stage-chat-consent img{width:28px;height:28px}
.stream-stage-chat-consent strong{font-size:15px}
.stream-stage-chat-consent p{max-width:240px;margin:0;color:#929dab;font-size:11px;line-height:1.5}
.stream-stage.stage-chat-hidden .stream-stage-viewer{grid-template-columns:1fr!important}
.stream-stage.stage-chat-hidden .stream-stage-chat{display:none!important}
.stream-stage.stage-compact .stream-stage-viewer{grid-template-columns:1fr!important;grid-template-rows:1fr!important}
.stream-stage.stage-compact .stream-stage-chat{display:none!important;border-left:0}
.stream-stage.stage-compact.chat-open .stream-stage-player,
.stream-stage.stage-compact.chat-open .stream-stage-player-consent{display:none!important}
.stream-stage.stage-compact.chat-open .stream-stage-chat{display:block!important}
.stream-stage.stage-compact .stream-stage-twitch{display:none}
.stream-stage-chat-toggle{background:#171b21;border-color:#353b45}
.stream-stage-chat-toggle:hover,.stream-stage-chat-toggle.active{background:#9146ff;border-color:#9146ff}
.stream-stage-chat-toggle::after{content:"Chat";position:absolute;top:calc(100% + 7px);right:0;padding:5px 7px;border-radius:7px;background:#0b0e12;color:#dfe4eb;font-size:8px;font-weight:800;opacity:0;visibility:hidden;transform:translateY(-3px);transition:.14s ease;white-space:nowrap;pointer-events:none}
.stream-stage-chat-toggle{position:relative}
.stream-stage-chat-toggle:hover::after{opacity:1;visibility:visible;transform:none}
body.stream-light .stream-stage-head{background:#fff;border-bottom-color:#d9dee5}
body.stream-light .stream-stage-chat{background:#fff;border-color:#d9dee5}
body.stream-light .stream-stage-chat-consent{color:#14171c;background:#f7f9fb}
body.stream-light .stream-stage-chat-consent p{color:#66707d}
@media(max-width:900px){
  .stream-stage.floating{position:fixed!important;left:10px!important;right:10px!important;bottom:10px!important;top:auto!important;width:auto!important;height:min(72vh,560px)!important;max-height:calc(100vh - 80px)!important;margin:0!important}
  .stream-stage.floating .stream-stage-viewer{grid-template-columns:1fr!important;grid-template-rows:1fr!important}
  .stream-stage.floating .stream-stage-chat{display:none!important}
  .stream-stage.floating.chat-open .stream-stage-player,.stream-stage.floating.chat-open .stream-stage-player-consent{display:none!important}
  .stream-stage.floating.chat-open .stream-stage-chat{display:block!important}
  .stream-stage.floating .stream-stage-chat-toggle{display:grid!important}
  .stream-stage-resize-handle,.stream-stage-size-wrap{display:none!important}
}
@media(prefers-reduced-motion:reduce){.stream-stage.floating{animation:none}}

/* V10.56 — HomeState inspired stream polish, same-tab Twitch login and native chat drawer */
.streams-stats-wrap{position:relative;display:flex;align-items:center;justify-content:center;justify-self:center;min-width:0}
.streams-stats{gap:0;padding:3px 5px;border-color:#30353e;background:rgba(22,25,31,.94);box-shadow:0 9px 24px rgba(0,0,0,.23)}
.stream-top-stat{height:31px;gap:7px;padding:0 13px}
.stream-top-stat .top-stat-icon{font-size:9px}
.stream-top-stat.viewers .top-stat-icon{color:#9146ff}
.stream-top-stat.players .top-stat-icon{color:#ff8a1f}
.streams-refresh-pill{position:absolute;left:50%;top:calc(100% + 4px);transform:translateX(-50%);height:20px;display:flex;align-items:center;gap:6px;padding:0 10px;border:1px solid #30353e;border-radius:999px;background:#191d23;color:#8f98a6;font-size:7px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;white-space:nowrap;box-shadow:0 6px 18px rgba(0,0,0,.28);pointer-events:none}
.streams-refresh-pill i{width:6px;height:6px;border-radius:50%;background:#ff3349;box-shadow:0 0 8px rgba(255,51,73,.58)}
.auto-update-btn{gap:7px;min-width:116px;padding:0 11px}
.auto-update-btn small{display:inline-flex;min-width:30px;height:20px;align-items:center;justify-content:center;padding:0 6px;border-radius:999px;background:rgba(255,255,255,.055);color:#9ca5b2;font-size:8px;font-weight:900;letter-spacing:.02em}
.auto-update-btn.active small{background:rgba(208,0,24,.16);color:#ff8794}

/* Stream cards stay compact. Viewer count and runtime already live on the thumbnail. */
.stream-card-body{padding:8px 9px 9px}
.stream-card-title{margin-top:7px;height:25px}
.stream-card-tags{margin-top:6px}
.stream-card-meta,.stream-card-raid{display:none!important}
.stream-card:hover{transform:translateY(-3px);border-color:rgba(208,0,24,.78);box-shadow:0 20px 42px rgba(0,0,0,.36),0 0 0 1px rgba(208,0,24,.12)}
.stream-thumb-expand{font-size:24px;line-height:.76;letter-spacing:4px;background:rgba(7,9,12,.31)}
.stream-twitch-link{background:rgba(13,16,21,.78)}

/* Floating player: only channel, chat and close in the title bar. */
.stream-stage.floating{
  position:fixed!important;
  z-index:620!important;
  width:min(1080px,calc(100vw - 42px));
  height:min(690px,calc(100vh - 88px));
  min-width:420px;
  min-height:300px;
  max-width:calc(100vw - 20px);
  max-height:calc(100vh - 70px);
  margin:0!important;
  overflow:hidden;
  border:1px solid rgba(208,0,24,.46);
  border-radius:17px;
  background:#0a0d11;
  box-shadow:0 34px 105px rgba(0,0,0,.66),0 0 0 1px rgba(255,255,255,.025) inset;
  animation:apxStageSlideUp .30s cubic-bezier(.2,.78,.25,1) both;
}
.stream-stage.floating.closing{pointer-events:none;animation:apxStageSlideDown .18s ease-in both}
@keyframes apxStageSlideUp{from{opacity:0;transform:translateY(92px) scale(.988)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes apxStageSlideDown{from{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(60px) scale(.992)}}
.stream-stage-head{
  min-height:52px;
  height:52px;
  padding:0 10px 0 15px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:center;
  border-bottom:1px solid #272c34;
  background:#16191f;
}
.stream-stage-channel{display:block;min-width:0}
.stream-stage-channel strong{display:block;margin:0!important;color:#fff;font-size:14px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.stream-stage-channel img,.stream-stage-channel small,.stream-stage-channel div{display:none!important}
.stream-stage-grip{justify-self:center;grid-template-columns:repeat(3,3px);gap:3px;opacity:.7}
.stream-stage-actions{justify-self:end;gap:7px}
.stream-stage-size-wrap,.stream-stage-size-toggle,.stream-stage-size-menu,.stream-stage-twitch,.stream-stage-raid{display:none!important}
.stream-stage-chat-toggle,.stream-stage-close{width:38px;height:38px;padding:0;border-radius:10px;display:grid;place-items:center;cursor:pointer;transition:.16s ease}
.stream-stage-chat-toggle{position:relative;border:1px solid rgba(145,70,255,.55);background:rgba(145,70,255,.13);color:#fff}
.stream-stage-chat-toggle svg{width:21px;height:21px;fill:currentColor}
.stream-stage-chat-toggle:hover,.stream-stage-chat-toggle.active{background:#9146ff;border-color:#9146ff;transform:none;box-shadow:0 8px 20px rgba(145,70,255,.22)}
.stream-stage-chat-toggle::after{content:"Twitch-Chat";position:absolute;right:0;top:calc(100% + 7px);padding:5px 8px;border-radius:7px;background:#090c10;color:#e8ebf0;font-size:8px;font-weight:800;opacity:0;visibility:hidden;transform:translateY(-3px);transition:.14s ease;white-space:nowrap;pointer-events:none;box-shadow:0 8px 22px rgba(0,0,0,.35)}
.stream-stage-chat-toggle:hover::after{opacity:1;visibility:visible;transform:none}
.stream-stage-close{border:1px solid #373d46;background:#171b21;color:#fff;font-size:24px;font-weight:300;line-height:1}
.stream-stage-close:hover{background:#242a32;border-color:#59616d}
.stream-stage.floating .stream-stage-content{position:relative;flex:1 1 auto;height:calc(100% - 52px);min-height:0;overflow:hidden;background:#05070a}
.stream-stage.floating .stream-stage-viewer{position:relative!important;display:block!important;width:100%;height:100%!important;min-height:0!important;overflow:hidden;background:#05070a}
.stream-stage.floating .stream-stage-player,.stream-stage.floating .stream-stage-player-consent{position:absolute;inset:0;width:100%!important;height:100%!important;min-height:0!important;border:0}
.stream-stage.floating .stream-stage-chat{
  position:absolute!important;
  top:0;
  right:0;
  z-index:8;
  width:clamp(300px,34%,390px)!important;
  height:100%!important;
  min-height:0!important;
  border:0!important;
  border-left:1px solid #2a3038!important;
  background:#11151b;
  transform:translateX(102%);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:transform .22s cubic-bezier(.2,.75,.25,1),opacity .16s ease,visibility 0s linear .22s;
  box-shadow:-16px 0 38px rgba(0,0,0,0);
}
.stream-stage.floating.chat-open .stream-stage-chat{transform:translateX(0);opacity:1;visibility:visible;pointer-events:auto;transition-delay:0s;box-shadow:-18px 0 42px rgba(0,0,0,.42)}
.stream-stage-chat-consent{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:24px;text-align:center;color:#fff}
.stream-stage-chat-consent .native-chat-label{display:flex;align-items:center;gap:8px}
.stream-stage-chat-consent .native-chat-label svg{width:23px;height:23px;fill:#9146ff}
.stream-stage-chat-consent strong{font-size:14px}
.stream-stage-chat-consent p{max-width:250px;margin:0;color:#929dab;font-size:11px;line-height:1.55}
.stream-stage-player-consent{min-height:0!important}
.stream-stage-resize-handle{z-index:15;opacity:.42}
.stream-stage-resize-handle:hover{opacity:.95}

/* Cookie choice is always clickable and does not trap the rest of the page after a choice. */
.stream-cookie[hidden]{display:none!important}
.stream-cookie{z-index:2500!important;pointer-events:auto!important;isolation:isolate}
.stream-cookie *{pointer-events:auto!important}
.stream-cookie .stream-btn{position:relative;z-index:2;cursor:pointer!important}

/* Same-tab Twitch login transition. Twitch itself is only shown when Twitch requires interaction. */
.stream-login-overlay[hidden]{display:none!important}
.stream-login-overlay{position:fixed;inset:0;z-index:3000;display:grid;place-items:center;padding:20px;background:rgba(3,5,8,.72);backdrop-filter:blur(8px);opacity:0;transition:opacity .14s ease;pointer-events:none}
.stream-login-overlay.show{opacity:1;pointer-events:auto}
.stream-login-box{width:min(390px,calc(100vw - 34px));min-height:210px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;padding:28px;border:1px solid rgba(208,0,24,.5);border-radius:22px;background:linear-gradient(180deg,rgba(38,11,15,.97),rgba(16,18,23,.98));box-shadow:0 28px 90px rgba(0,0,0,.58);text-align:center}
.stream-login-box strong{font-size:17px;color:#fff;letter-spacing:.02em}
.stream-login-box small{color:#8f98a6;font-size:10px}
.stream-login-spinner{width:58px;height:58px;border-radius:50%;border:5px solid rgba(208,0,24,.16);border-top-color:#ff3349;animation:apxLoginSpin .75s linear infinite;box-shadow:0 0 28px rgba(208,0,24,.10)}
@keyframes apxLoginSpin{to{transform:rotate(360deg)}}

body.stream-light .streams-refresh-pill{background:#fff;border-color:#d4dae2;color:#697382}
body.stream-light .stream-stage-head{background:#fff;border-bottom-color:#d7dce3}
body.stream-light .stream-stage-channel strong{color:#171a20}
body.stream-light .stream-stage-chat{background:#fff!important;border-left-color:#d9dee5!important}
body.stream-light .stream-stage-chat-consent{color:#171a20}
body.stream-light .stream-login-box{background:linear-gradient(180deg,#fff,#f6f7f9);border-color:rgba(208,0,24,.35)}
body.stream-light .stream-login-box strong{color:#171a20}

@media(max-width:1180px){
  .auto-update-btn{width:auto;min-width:58px;padding:0 9px}
  .auto-update-btn .auto-update-label{display:none}
  .auto-update-btn small{display:inline-flex!important;min-width:29px;padding:0 5px}
}
@media(max-width:900px){
  .streams-refresh-pill{display:none}
  .stream-stage.floating{left:9px!important;right:9px!important;top:66px!important;bottom:9px!important;width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;border-radius:15px}
  .stream-stage.floating .stream-stage-head{cursor:default;touch-action:auto}
  .stream-stage.floating .stream-stage-chat{width:min(86%,360px)!important}
  .stream-stage-resize-handle{display:none!important}
}
@media(max-width:680px){
  .streams-top{grid-template-columns:auto 1fr auto;gap:7px;padding-inline:8px}
  .streams-stats-wrap{justify-self:center}
  .stream-top-stat{padding:0 8px}
  .stream-top-stat small{display:none}
  .stream-top-stat strong{font-size:10px}
  .streams-brand-copy{display:none}
  .streams-account{gap:4px}
  .auto-update-btn{min-width:46px;width:46px;padding:0}
  .auto-update-btn small{display:none!important}
  .auto-update-btn .auto-update-icon{font-size:12px}
  .stream-stage-head{padding-left:11px}
  .stream-stage-channel strong{font-size:12px}
  .stream-stage-chat-toggle,.stream-stage-close{width:35px;height:35px}
  .stream-stage.floating .stream-stage-chat{width:92%!important}
}
@media(prefers-reduced-motion:reduce){.stream-stage.floating,.stream-stage.floating.closing,.stream-login-spinner{animation:none}}
@media(max-width:900px){
  .stream-stage.floating .stream-stage-player,.stream-stage.floating .stream-stage-player-consent{display:flex!important}
  .stream-stage.floating .stream-stage-player{display:block!important}
  .stream-stage.floating .stream-stage-chat{display:block!important}
  .stream-stage.floating.chat-open .stream-stage-player,.stream-stage.floating.chat-open .stream-stage-player-consent{display:block!important}
  .stream-stage.floating.chat-open .stream-stage-player-consent{display:flex!important}
  .stream-stage.floating .stream-stage-chat-toggle{display:grid!important}
}


/* V10.57 — single auto-update countdown + HomeState-style compact list */
.streams-stats-wrap{
  position:relative;
}
.streams-refresh-pill{
  display:none!important;
}

/* Clear chat action on every stream card. It opens the native Twitch chat in the stream overlay. */
.stream-card-chat{
  width:26px;
  height:26px;
  flex:0 0 26px;
  display:grid;
  place-items:center;
  padding:0;
  border:1px solid #343943;
  border-radius:8px;
  background:rgba(13,16,21,.78);
  color:#a9b1bd;
  cursor:pointer;
  transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease;
}
.stream-card-chat svg{
  width:14px;
  height:14px;
  fill:currentColor;
}
.stream-card-chat:hover,
.stream-card-chat:focus-visible{
  outline:0;
  color:#fff;
  background:#9146ff;
  border-color:#9146ff;
  transform:translateY(-1px);
}

/* List view follows the reference more closely: thumbnail, three stats, avatar/name/title, one chat action. */
.stream-grid.list{
  gap:8px;
}
.stream-grid.list .stream-card{
  min-height:78px;
  display:grid;
  grid-template-columns:132px 76px minmax(0,1fr);
  overflow:hidden;
  border:1px solid rgba(117,45,52,.55);
  border-radius:10px;
  background:
    linear-gradient(90deg,rgba(67,31,33,.92) 0%,rgba(43,25,28,.94) 34%,rgba(25,22,27,.97) 100%);
  box-shadow:0 10px 24px rgba(0,0,0,.22);
  transform:none!important;
}
.stream-grid.list .stream-card:hover{
  border-color:rgba(208,0,24,.68);
  box-shadow:0 13px 30px rgba(0,0,0,.3),0 0 0 1px rgba(208,0,24,.08);
}
.stream-grid.list .stream-thumb{
  width:132px;
  height:76px;
  min-height:76px;
  aspect-ratio:auto;
  border:0;
  border-radius:9px 0 0 9px;
  overflow:hidden;
  align-self:center;
}
.stream-grid.list .stream-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.stream-grid.list .stream-thumb .stream-live-badge,
.stream-grid.list .stream-thumb .stream-viewers,
.stream-grid.list .stream-thumb-expand{
  display:none!important;
}
.stream-grid.list .stream-list-stats{
  height:76px;
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:5px;
  padding:7px 10px;
  border:0;
  background:rgba(8,10,13,.16);
}
.stream-grid.list .stream-list-stats span{
  min-width:0;
  display:flex;
  align-items:center;
  gap:5px;
  color:#b5bbc5;
  font-size:9px;
  line-height:1;
  white-space:nowrap;
}
.stream-grid.list .stream-list-stats b{
  color:#fff;
  font-size:10px;
  font-weight:900;
}
.stream-grid.list .stream-card-body{
  min-width:0;
  min-height:76px;
  padding:8px 12px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr) 32px;
  grid-template-rows:auto auto;
  column-gap:10px;
  row-gap:2px;
  align-content:center;
}
.stream-grid.list .stream-card-channel{
  display:contents;
}
.stream-grid.list .stream-card-channel > img{
  grid-column:1;
  grid-row:1 / span 2;
  width:38px;
  height:38px;
  align-self:center;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.12);
}
.stream-grid.list .stream-card-name{
  grid-column:2;
  grid-row:1;
  min-width:0;
  align-self:end;
}
.stream-grid.list .stream-card-name strong{
  display:block;
  overflow:hidden;
  color:#fff;
  font-size:12px;
  font-weight:900;
  line-height:1.15;
  white-space:nowrap;
  text-overflow:ellipsis;
}
.stream-grid.list .stream-card-name small{
  display:none!important;
}
.stream-grid.list .stream-card-title{
  grid-column:2;
  grid-row:2;
  min-width:0;
  height:auto;
  max-height:28px;
  margin:0;
  overflow:hidden;
  color:#d7dce4;
  font-size:10px;
  line-height:1.35;
  align-self:start;
}
.stream-grid.list .stream-card-tags{
  display:none!important;
}
.stream-grid.list .stream-card-chat{
  grid-column:3;
  grid-row:1 / span 2;
  align-self:center;
  justify-self:end;
}
.stream-grid.list .stream-twitch-link,
.stream-grid.list .stream-card-meta,
.stream-grid.list .stream-card-raid{
  display:none!important;
}

body.stream-light .stream-grid.list .stream-card{
  border-color:#d7dbe2;
  background:linear-gradient(90deg,#f2ecee 0%,#f7f5f6 34%,#fff 100%);
  box-shadow:0 8px 22px rgba(25,32,42,.08);
}
body.stream-light .stream-grid.list .stream-list-stats{
  background:rgba(255,255,255,.4);
}
body.stream-light .stream-grid.list .stream-list-stats span{
  color:#66707d;
}
body.stream-light .stream-grid.list .stream-list-stats b,
body.stream-light .stream-grid.list .stream-card-name strong{
  color:#181c22;
}
body.stream-light .stream-grid.list .stream-card-title{
  color:#4b5562;
}

@media(max-width:1150px){
  .stream-grid.list .stream-card{
    grid-template-columns:120px 70px minmax(0,1fr);
  }
  .stream-grid.list .stream-thumb{
    width:120px;
  }
}
@media(max-width:720px){
  .stream-grid.list .stream-card{
    grid-template-columns:116px minmax(0,1fr);
    min-height:72px;
  }
  .stream-grid.list .stream-thumb{
    width:116px;
    height:72px;
    min-height:72px;
  }
  .stream-grid.list .stream-list-stats{
    display:none!important;
  }
  .stream-grid.list .stream-card-body{
    min-height:72px;
    grid-template-columns:34px minmax(0,1fr) 30px;
    padding:7px 9px;
    column-gap:8px;
  }
  .stream-grid.list .stream-card-channel > img{
    width:32px;
    height:32px;
  }
  .stream-grid.list .stream-card-name strong{
    font-size:11px;
  }
  .stream-grid.list .stream-card-title{
    max-height:26px;
    font-size:9px;
  }
}

/* V10.58 — detailed live runtime, animated raid action, roomier center and attached Twitch chat */
.streams-center{
  padding:22px clamp(22px,2vw,34px) 34px!important;
}
.stream-grid{gap:14px}
.stream-viewers,
.stream-list-stats b{
  font-variant-numeric:tabular-nums;
  font-feature-settings:"tnum" 1;
}
.stream-viewers{
  min-width:72px;
  text-align:center;
  letter-spacing:.02em;
}

/* One raid action per card. It floats in without changing the card height. */
.stream-card>.stream-card-raid{
  display:flex!important;
  position:absolute;
  z-index:12;
  left:10px;
  right:10px;
  bottom:9px;
  min-height:36px;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin:0;
  padding:0 12px;
  border:1px solid rgba(208,0,24,.48);
  border-radius:9px;
  background:linear-gradient(180deg,rgba(34,13,17,.97),rgba(17,15,19,.98));
  color:#ff5366;
  box-shadow:0 10px 28px rgba(0,0,0,.44);
  font-size:11px;
  font-weight:900;
  letter-spacing:.06em;
  opacity:0;
  pointer-events:none;
  transform:translateY(calc(100% + 14px));
  transition:transform .20s cubic-bezier(.2,.75,.25,1),opacity .15s ease,border-color .15s ease,background .15s ease,color .15s ease;
}
.stream-card:hover>.stream-card-raid,
.stream-card:focus-within>.stream-card-raid,
.stream-card.active>.stream-card-raid{
  opacity:1;
  pointer-events:auto;
  transform:translateY(0);
}
.stream-card>.stream-card-raid:hover,
.stream-card>.stream-card-raid:focus-visible,
.stream-card>.stream-card-raid.copied{
  outline:0;
  color:#fff;
  border-color:#d00018;
  background:#d00018;
}
.stream-raid-icon{font-size:12px;line-height:1}

/* List: the raid action slides in from the right beside the chat button. */
.stream-grid.list .stream-card{
  overflow:hidden;
}
.stream-grid.list .stream-card-title{
  padding-right:76px;
}
.stream-grid.list .stream-card>.stream-card-raid{
  left:auto;
  right:49px;
  top:50%;
  bottom:auto;
  width:70px;
  min-height:30px;
  height:30px;
  padding:0 9px;
  border-radius:8px;
  box-shadow:0 7px 18px rgba(0,0,0,.34);
  font-size:9px;
  transform:translate(18px,-50%);
}
.stream-grid.list .stream-card:hover>.stream-card-raid,
.stream-grid.list .stream-card:focus-within>.stream-card-raid,
.stream-grid.list .stream-card.active>.stream-card-raid{
  transform:translate(0,-50%);
}

/* Twitch chat is attached to the player instead of covering it. */
.stream-stage.floating{
  transition:width .23s cubic-bezier(.2,.75,.25,1),left .23s cubic-bezier(.2,.75,.25,1),top .23s cubic-bezier(.2,.75,.25,1);
}
.stream-stage.floating.dragging,
.stream-stage.floating.resizing,
.stream-stage.floating.closing{
  transition:none!important;
}
.stream-stage.floating .stream-stage-content{
  overflow:hidden!important;
}
.stream-stage.floating .stream-stage-viewer{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 0!important;
  grid-template-rows:1fr!important;
  width:100%;
  height:100%!important;
  min-height:0!important;
  overflow:hidden;
  transition:grid-template-columns .23s cubic-bezier(.2,.75,.25,1);
}
.stream-stage.floating.chat-open .stream-stage-viewer{
  grid-template-columns:minmax(0,1fr) var(--stage-chat-width,340px)!important;
}
.stream-stage.floating .stream-stage-player,
.stream-stage.floating .stream-stage-player-consent{
  position:relative!important;
  inset:auto!important;
  grid-column:1;
  grid-row:1;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
}
.stream-stage.floating .stream-stage-chat{
  position:relative!important;
  inset:auto!important;
  grid-column:2;
  grid-row:1;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  display:none!important;
  border:0!important;
  border-left:1px solid #2a3038!important;
  background:#11151b;
  box-shadow:none!important;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateX(18px);
  transition:transform .20s cubic-bezier(.2,.75,.25,1),opacity .15s ease;
}
.stream-stage.floating.chat-open .stream-stage-chat{
  display:block!important;
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateX(0);
}
.stream-stage.floating.chat-open .stream-stage-chat-consent{
  display:flex!important;
}
body.stream-light .stream-stage.floating .stream-stage-chat{
  border-left-color:#d9dee5!important;
  background:#fff;
}

@media(max-width:900px){
  .streams-center{padding:16px 14px 26px!important}
  .stream-stage.floating .stream-stage-viewer,
  .stream-stage.floating.chat-open .stream-stage-viewer{
    grid-template-columns:1fr!important;
    grid-template-rows:1fr 0!important;
  }
  .stream-stage.floating.chat-open .stream-stage-viewer{
    grid-template-rows:minmax(0,1fr) minmax(240px,42%)!important;
  }
  .stream-stage.floating .stream-stage-chat{
    grid-column:1;
    grid-row:2;
    border-left:0!important;
    border-top:1px solid #2a3038!important;
    transform:translateY(14px);
  }
  .stream-stage.floating.chat-open .stream-stage-chat{transform:translateY(0)}
}

@media(max-width:720px){
  .stream-grid.list .stream-card-title{padding-right:0}
  .stream-grid.list .stream-card>.stream-card-raid{
    right:43px;
    width:60px;
  }
}

@media(hover:none){
  .stream-card>.stream-card-raid{opacity:1;pointer-events:auto;transform:translateY(0)}
  .stream-grid.list .stream-card>.stream-card-raid{transform:translate(0,-50%)}
}


/* V10.59 — wider side spacing, minimum 3-column grid, refined corners and heartbeat refresh */
@media(min-width:901px){
  .streams-workspace{
    --stream-left-side:226px;
    --stream-right-side:252px;
    grid-template-columns:var(--stream-left-side) minmax(0,1fr) var(--stream-right-side)!important;
  }
  .streams-workspace.left-collapsed{
    grid-template-columns:0 minmax(0,1fr) var(--stream-right-side)!important;
  }
  .streams-workspace.right-collapsed{
    grid-template-columns:var(--stream-left-side) minmax(0,1fr) 0!important;
  }
  .streams-workspace.left-collapsed.right-collapsed{
    grid-template-columns:0 minmax(0,1fr) 0!important;
  }
  .streams-center{
    padding:24px 38px 36px 44px!important;
  }
  .streams-center-bg{
    left:var(--stream-left-side)!important;
    right:var(--stream-right-side)!important;
  }
  .streams-workspace.left-collapsed .streams-center-bg{left:0!important}
  .streams-workspace.right-collapsed .streams-center-bg{right:0!important}
}

/* The grid control never goes below three columns on desktop. Responsive breakpoints may still stack cards. */
#grid-size{min-width:0}

/* Cleaner card frame with a small integrated lower-right accent instead of a heavy full glow. */
.stream-card{
  border-color:rgba(63,70,81,.9);
  border-radius:15px;
  isolation:isolate;
}
.stream-card::before{
  content:"";
  position:absolute;
  right:-1px;
  bottom:-1px;
  z-index:20;
  width:28px;
  height:28px;
  border-right:2px solid rgba(255,51,73,.6);
  border-bottom:2px solid rgba(255,51,73,.6);
  border-radius:0 0 15px 0;
  opacity:.48;
  pointer-events:none;
  transition:opacity .18s ease,filter .18s ease,width .18s ease,height .18s ease;
}
.stream-card:hover::before,
.stream-card:focus-within::before,
.stream-card.active::before{
  width:34px;
  height:34px;
  opacity:1;
  filter:drop-shadow(0 0 7px rgba(255,51,73,.42));
}
.stream-grid.list .stream-card::before{
  width:22px;
  height:22px;
  border-radius:0 0 10px 0;
}
.stream-grid.list .stream-card:hover::before,
.stream-grid.list .stream-card:focus-within::before,
.stream-grid.list .stream-card.active::before{
  width:27px;
  height:27px;
}
body.stream-light .stream-card::before{
  border-color:rgba(208,0,24,.48);
}

/* Refined floating-player frame. The corner detail is part of the frame and doubles as the resize affordance. */
.stream-stage.floating{
  border:1px solid rgba(118,28,39,.76)!important;
  border-radius:18px!important;
  box-shadow:0 34px 105px rgba(0,0,0,.66),0 0 0 1px rgba(255,255,255,.025) inset!important;
  isolation:isolate;
}
.stream-stage.floating::before,
.stream-stage.floating::after{
  content:"";
  position:absolute;
  z-index:30;
  width:34px;
  height:34px;
  pointer-events:none;
}
.stream-stage.floating::before{
  left:-1px;
  top:-1px;
  border-left:2px solid #ff3349;
  border-top:2px solid #ff3349;
  border-radius:18px 0 0 0;
  filter:drop-shadow(0 0 5px rgba(255,51,73,.28));
}
.stream-stage.floating::after{
  right:-1px;
  bottom:-1px;
  border-right:2px solid #ff3349;
  border-bottom:2px solid #ff3349;
  border-radius:0 0 18px 0;
  filter:drop-shadow(0 0 5px rgba(255,51,73,.28));
}
.stream-stage-resize-handle{
  right:0!important;
  bottom:0!important;
  width:38px!important;
  height:38px!important;
  z-index:46!important;
  opacity:1!important;
}
.stream-stage-resize-handle::before,
.stream-stage-resize-handle::after,
.stream-stage-resize-handle span::before{
  display:none!important;
}
.stream-stage-resize-handle:hover,
.stream-stage-resize-handle:focus-visible{
  filter:drop-shadow(0 0 9px rgba(255,51,73,.48))!important;
}

/* The right offline rail gets a little more breathing room. */
.streams-sidebar-right .side-section{padding-left:14px;padding-right:14px}
.streams-sidebar-right .offline-item{grid-template-columns:42px minmax(0,1fr) auto;gap:10px}
.streams-sidebar-right .offline-avatar{width:42px;height:42px}

/* Auto-update heartbeat: two short light pulses after a successful refresh. */
.streams-stats{
  position:relative;
  transform-origin:center;
  will-change:transform,box-shadow,border-color;
}
.streams-stats.updating{
  border-color:rgba(255,105,28,.58);
  box-shadow:0 9px 24px rgba(0,0,0,.23),0 0 14px rgba(255,81,31,.12);
}
.streams-stats.heartbeat{
  animation:apxUpdateHeartbeat 1.35s cubic-bezier(.2,.72,.25,1) both;
}
@keyframes apxUpdateHeartbeat{
  0%,100%{
    transform:scale(1);
    border-color:#30353e;
    box-shadow:0 9px 24px rgba(0,0,0,.23),0 0 0 rgba(255,78,31,0);
  }
  10%{
    transform:scale(1.012);
    border-color:rgba(255,104,24,.95);
    box-shadow:0 9px 24px rgba(0,0,0,.23),0 0 0 1px rgba(255,104,24,.22),0 0 23px rgba(255,75,28,.48);
  }
  20%{
    transform:scale(1);
    border-color:rgba(255,74,39,.58);
    box-shadow:0 9px 24px rgba(0,0,0,.23),0 0 10px rgba(255,75,28,.16);
  }
  31%{
    transform:scale(1.018);
    border-color:rgba(255,104,24,1);
    box-shadow:0 9px 24px rgba(0,0,0,.23),0 0 0 2px rgba(255,104,24,.18),0 0 31px rgba(255,70,24,.58);
  }
  47%{
    transform:scale(1);
    border-color:rgba(255,74,39,.48);
    box-shadow:0 9px 24px rgba(0,0,0,.23),0 0 13px rgba(255,75,28,.12);
  }
}
body.stream-light .streams-stats.heartbeat{
  animation-name:apxUpdateHeartbeatLight;
}
@keyframes apxUpdateHeartbeatLight{
  0%,100%{transform:scale(1);border-color:#d3d9e1;box-shadow:0 9px 24px rgba(40,48,58,.08),0 0 0 rgba(208,0,24,0)}
  10%{transform:scale(1.012);border-color:rgba(225,74,25,.8);box-shadow:0 9px 24px rgba(40,48,58,.08),0 0 18px rgba(225,74,25,.24)}
  20%{transform:scale(1);border-color:rgba(208,0,24,.38);box-shadow:0 9px 24px rgba(40,48,58,.08)}
  31%{transform:scale(1.018);border-color:rgba(225,74,25,.9);box-shadow:0 9px 24px rgba(40,48,58,.08),0 0 25px rgba(225,74,25,.3)}
  47%{transform:scale(1);border-color:rgba(208,0,24,.32);box-shadow:0 9px 24px rgba(40,48,58,.08)}
}
@media(prefers-reduced-motion:reduce){
  .streams-stats.heartbeat{animation:none}
}


/* V10.60 — HomeState-style raid reveal + compact floating player */
/* Raid is a soft bottom reveal, not a red block. It overlays the card and therefore does not change card height. */
.stream-card>.stream-card-raid{
  display:flex!important;
  left:0!important;
  right:0!important;
  top:auto!important;
  bottom:0!important;
  width:auto!important;
  height:60px!important;
  min-height:60px!important;
  margin:0!important;
  padding:20px 14px 9px!important;
  border:0!important;
  border-radius:0 0 14px 14px!important;
  background:linear-gradient(180deg,rgba(8,10,13,0) 0%,rgba(8,10,13,.72) 38%,rgba(8,10,13,.98) 76%,#080a0d 100%)!important;
  box-shadow:none!important;
  color:#ff7200!important;
  font-size:12px!important;
  font-weight:900!important;
  letter-spacing:.07em!important;
  text-shadow:0 0 0 rgba(255,114,0,0);
  opacity:0!important;
  pointer-events:none!important;
  transform:translateY(18px)!important;
  transition:opacity .16s ease,transform .24s cubic-bezier(.18,.82,.25,1),color .16s ease,text-shadow .16s ease!important;
}
.stream-card:hover>.stream-card-raid,
.stream-card:focus-within>.stream-card-raid,
.stream-card.active>.stream-card-raid{
  opacity:1!important;
  pointer-events:auto!important;
  transform:translateY(0)!important;
}
.stream-card>.stream-card-raid:hover,
.stream-card>.stream-card-raid:focus-visible,
.stream-card>.stream-card-raid.copied{
  outline:0!important;
  border:0!important;
  background:linear-gradient(180deg,rgba(8,10,13,0) 0%,rgba(8,10,13,.76) 35%,rgba(8,10,13,.99) 74%,#080a0d 100%)!important;
  color:#ff8a18!important;
  text-shadow:0 0 14px rgba(255,114,0,.34)!important;
}
.stream-card>.stream-card-raid .stream-raid-icon{font-size:13px;opacity:.95}
.stream-card>.stream-card-raid .stream-raid-label{font-size:12px}

/* In list view the same raid action slides in from the right as a compact ghost control. */
.stream-grid.list .stream-card>.stream-card-raid{
  display:flex!important;
  left:auto!important;
  right:48px!important;
  top:50%!important;
  bottom:auto!important;
  width:72px!important;
  height:30px!important;
  min-height:30px!important;
  padding:0 9px!important;
  border:1px solid rgba(255,114,0,.30)!important;
  border-radius:8px!important;
  background:rgba(11,13,17,.88)!important;
  box-shadow:0 8px 20px rgba(0,0,0,.28)!important;
  color:#ff7200!important;
  font-size:9px!important;
  opacity:0!important;
  pointer-events:none!important;
  transform:translate(16px,-50%)!important;
}
.stream-grid.list .stream-card:hover>.stream-card-raid,
.stream-grid.list .stream-card:focus-within>.stream-card-raid,
.stream-grid.list .stream-card.active>.stream-card-raid{
  opacity:1!important;
  pointer-events:auto!important;
  transform:translate(0,-50%)!important;
}
.stream-grid.list .stream-card>.stream-card-raid:hover,
.stream-grid.list .stream-card>.stream-card-raid:focus-visible,
.stream-grid.list .stream-card>.stream-card-raid.copied{
  border-color:rgba(255,114,0,.72)!important;
  background:rgba(24,18,13,.96)!important;
  color:#ff8a18!important;
}
.stream-grid.list .stream-card-title{padding-right:84px!important}

/* Clicking a stream opens a deliberately compact floating player. Chat remains closed and attaches to the right when requested. */
.stream-stage.floating{
  min-width:480px!important;
  min-height:340px!important;
  transform-origin:50% 100%;
  animation:apxCompactStageIn .30s cubic-bezier(.16,.84,.24,1) both!important;
}
.stream-stage.floating.closing{
  animation:apxCompactStageOut .19s cubic-bezier(.4,0,.9,.55) both!important;
}
@keyframes apxCompactStageIn{
  0%{opacity:0;transform:translateY(46px) scale(.958);filter:blur(3px)}
  64%{opacity:1;transform:translateY(-3px) scale(1.004);filter:blur(0)}
  100%{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}
}
@keyframes apxCompactStageOut{
  from{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}
  to{opacity:0;transform:translateY(34px) scale(.976);filter:blur(2px)}
}
.stream-stage.floating .stream-stage-head{
  min-height:48px!important;
  height:48px!important;
  background:rgba(18,21,27,.98)!important;
}
.stream-stage.floating .stream-stage-content{
  background:#05070a!important;
}
.stream-stage.floating .stream-stage-viewer{
  min-height:0!important;
  height:100%!important;
}
.stream-stage.floating:not(.chat-open) .stream-stage-viewer{
  grid-template-columns:minmax(0,1fr) 0!important;
}
.stream-stage.floating.chat-open .stream-stage-viewer{
  grid-template-columns:minmax(0,1fr) var(--stage-chat-width,340px)!important;
}
.stream-stage.floating .stream-stage-chat{
  transform:translateX(22px)!important;
  transition:transform .24s cubic-bezier(.18,.82,.25,1),opacity .16s ease!important;
}
.stream-stage.floating.chat-open .stream-stage-chat{transform:translateX(0)!important}

/* More restrained card motion to match the reference: thumbnail zoom + small lift, no aggressive scaling. */
.stream-card{transition:transform .22s cubic-bezier(.2,.72,.25,1),border-color .18s ease,box-shadow .22s ease!important}
.stream-card:hover{transform:translateY(-3px)!important}
.stream-card:hover .stream-thumb img{transform:scale(1.032)!important}
.stream-card.active{transform:translateY(-2px)!important}

body.stream-light .stream-card>.stream-card-raid{
  background:linear-gradient(180deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.76) 38%,rgba(255,255,255,.98) 78%,#fff 100%)!important;
  color:#df5f00!important;
}
body.stream-light .stream-grid.list .stream-card>.stream-card-raid{
  background:rgba(255,255,255,.94)!important;
  border-color:rgba(223,95,0,.28)!important;
}
@media(max-width:900px){
  .stream-stage.floating{min-width:0!important;min-height:0!important;animation:apxCompactStageInMobile .26s cubic-bezier(.18,.82,.25,1) both!important}
  @keyframes apxCompactStageInMobile{from{opacity:0;transform:translateY(34px)}to{opacity:1;transform:none}}
}
@media(hover:none){
  .stream-card>.stream-card-raid{opacity:1!important;pointer-events:auto!important;transform:translateY(0)!important}
  .stream-grid.list .stream-card>.stream-card-raid{transform:translate(0,-50%)!important}
}
@media(prefers-reduced-motion:reduce){
  .stream-stage.floating,.stream-stage.floating.closing{animation:none!important}
  .stream-card>.stream-card-raid,.stream-stage.floating .stream-stage-chat{transition:none!important}
}


/* V10.61 — top stats bar refined to match HomeState-style scan */
.streams-top{
  height:70px;
  min-height:70px;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:16px;
  padding:0 20px 0 24px;
  border-bottom:1px solid rgba(208,0,24,.42);
  background:linear-gradient(90deg,rgba(54,8,15,.72),rgba(9,13,18,.98) 24%,rgba(9,13,18,.98) 74%,rgba(54,8,15,.44));
}
.streams-brand{min-width:190px}
.streams-brand-copy strong{font-size:15px}
.streams-brand-copy small{font-size:7px;letter-spacing:.18em}
.streams-stats-wrap{
  justify-self:start;
  align-self:center;
  min-width:0;
  padding-bottom:18px;
  margin-left:10px;
}
.streams-stats{
  gap:0;
  padding:5px 10px;
  border:1px solid rgba(255,138,31,.76);
  border-radius:999px;
  background:rgba(21,25,31,.96);
  box-shadow:0 0 0 1px rgba(255,138,31,.18) inset,0 0 22px rgba(255,138,31,.16),0 14px 30px rgba(0,0,0,.23);
}
.stream-top-stat{
  height:42px;
  gap:8px;
  padding:0 18px;
  border-right:1px solid rgba(71,78,88,.72);
}
.stream-top-stat .top-stat-icon{font-size:11px}
.stream-top-stat strong{font-size:17px;font-weight:900;letter-spacing:.01em}
.stream-top-stat small{font-size:9px;letter-spacing:.08em;color:#8a94a3}
.stream-top-stat.live .top-stat-icon{color:#ff4f61}
.stream-top-stat.viewers .top-stat-icon{color:#9146ff}
.stream-top-stat.players .top-stat-icon{color:#ff9a2e}
.streams-refresh-pill{
  display:flex!important;
  top:calc(100% + 7px);
  height:24px;
  padding:0 13px;
  border:1px solid rgba(74,81,91,.78);
  border-radius:999px;
  background:rgba(27,31,37,.96);
  color:#cdd3dc;
  font-size:8px;
  letter-spacing:.17em;
  box-shadow:0 10px 22px rgba(0,0,0,.18);
  opacity:0;
  visibility:hidden;
  transform:translateX(-50%) translateY(-4px);
  transition:opacity .18s ease,transform .18s ease,visibility 0s linear .18s;
}
.streams-refresh-pill.active{
  opacity:1;
  visibility:visible;
  transform:translateX(-50%) translateY(0);
  transition-delay:0s;
}
.streams-refresh-pill i{
  width:7px;
  height:7px;
  background:#ff8a1f;
  box-shadow:0 0 10px rgba(255,138,31,.62);
}
.streams-account{gap:10px;justify-self:end}
.streams-user-chip{padding:4px 10px 4px 5px}
.streams-user-chip strong{font-size:11px;letter-spacing:.01em}
.auto-update-btn{
  min-width:132px;
  gap:8px;
  padding:0 13px;
  border-radius:14px;
  border:1px solid rgba(255,138,31,.72);
  background:rgba(31,24,13,.58);
  color:#ff9b2f;
  box-shadow:inset 0 0 0 1px rgba(255,138,31,.08);
}
.auto-update-btn .auto-update-icon{color:#ff8a1f;text-shadow:0 0 9px rgba(255,138,31,.34)}
.auto-update-btn small{
  min-width:36px;
  height:22px;
  padding:0 7px;
  background:rgba(255,138,31,.16);
  color:#ffbb73;
  font-size:9px;
}
.auto-update-btn.active{
  border-color:rgba(255,138,31,.8);
  background:rgba(32,24,14,.72);
  color:#ff9b2f;
  box-shadow:0 0 0 1px rgba(255,138,31,.08) inset,0 0 18px rgba(255,138,31,.08);
}
.auto-update-btn.active .auto-update-icon{animation:streamPulse 1.8s ease-in-out infinite;color:#ff8a1f;text-shadow:0 0 12px rgba(255,138,31,.48)}
.streams-account>.logout-btn{
  border-color:rgba(208,0,24,.4);
  background:rgba(25,19,24,.7);
  color:#ef626d;
}
.streams-account>.logout-btn:hover{background:rgba(208,0,24,.12);color:#fff}
.stream-icon-btn{background:#171b21}
.streams-center-status{display:none!important}
@media(max-width:1180px){
  .streams-top{padding-inline:16px;gap:10px}
  .streams-brand{min-width:160px}
  .streams-stats-wrap{margin-left:0}
  .stream-top-stat{padding:0 14px}
  .stream-top-stat strong{font-size:15px}
  .auto-update-btn{min-width:50px}
  .auto-update-btn .auto-update-label{display:none}
}
@media(max-width:900px){
  .streams-top{height:auto;min-height:68px;grid-template-columns:1fr auto;gap:8px;padding:10px 12px}
  .streams-brand{min-width:0}
  .streams-stats-wrap{grid-column:1/-1;justify-self:center;padding-bottom:0}
  .streams-refresh-pill{display:none!important}
}


/* V10.62 — HomeState-inspired APX red refinement */
:root{
  --apx-red:#e0001b;
  --apx-red-bright:#ff3048;
  --apx-red-soft:rgba(224,0,27,.18);
  --apx-red-faint:rgba(224,0,27,.08);
  --apx-panel:#11151b;
  --apx-panel-2:#171b22;
  --apx-line:#2b313a;
  --stream-side-left:222px;
  --stream-side-right:262px;
}
body.streams-body{
  background:#080a0e;
  color:#f3f5f8;
}
.streams-top{
  height:62px;
  min-height:62px;
  grid-template-columns:minmax(185px,1fr) auto minmax(330px,1fr);
  gap:18px;
  padding:0 18px;
  border-top:1px solid rgba(224,0,27,.72);
  border-bottom:1px solid rgba(224,0,27,.42);
  background:linear-gradient(90deg,rgba(48,8,13,.88) 0,rgba(12,15,20,.98) 22%,rgba(11,14,19,.99) 78%,rgba(41,7,12,.74) 100%);
  box-shadow:0 8px 30px rgba(0,0,0,.22);
}
.streams-brand{min-width:0;gap:9px}
.streams-brand img{width:30px;height:34px;filter:drop-shadow(0 0 10px rgba(224,0,27,.2))}
.streams-brand-copy strong{font-size:13px;font-weight:900;letter-spacing:.02em}
.streams-brand-copy small{margin-top:3px;font-size:6.5px;letter-spacing:.17em;color:#8e97a5}
.streams-stats-wrap{justify-self:center;align-self:center;margin:0;padding-bottom:0}
.streams-stats{
  min-height:38px;
  padding:3px 7px;
  gap:0;
  border:1px solid #323842;
  border-radius:999px;
  background:rgba(20,24,31,.96);
  box-shadow:0 8px 24px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.025);
}
.stream-top-stat{height:30px;padding:0 13px;gap:7px;border-right:1px solid #303640}
.stream-top-stat strong{font-size:12px;font-weight:900}
.stream-top-stat small{font-size:7.5px;letter-spacing:.06em;color:#87909d}
.stream-top-stat .top-stat-icon{font-size:9px}
.stream-top-stat.live .top-stat-icon{color:#ff3349}
.stream-top-stat.viewers .top-stat-icon{color:#9146ff}
.stream-top-stat.players .top-stat-icon{color:#ff8a1f}
.streams-stats.updating,.streams-stats.heartbeat{
  border-color:rgba(224,0,27,.82)!important;
  box-shadow:0 0 0 1px rgba(224,0,27,.16) inset,0 0 23px rgba(224,0,27,.22),0 10px 28px rgba(0,0,0,.25)!important;
}
.streams-refresh-pill{
  top:calc(100% + 7px);
  height:21px;
  padding:0 10px;
  border-color:#343a44;
  background:#191d23;
  color:#9fa8b5;
  font-size:7px;
  letter-spacing:.12em;
  box-shadow:0 8px 20px rgba(0,0,0,.25);
}
.streams-refresh-pill i{background:var(--apx-red-bright);box-shadow:0 0 9px rgba(255,48,72,.6)}
.streams-account{justify-self:end;gap:8px}
.streams-user-chip{min-height:37px;padding:3px 9px 3px 4px;border-radius:999px}
.streams-user-chip img{width:29px;height:29px;border-color:#343a43}
.streams-user-chip strong{font-size:10px}
.auto-update-btn{
  min-height:36px;
  min-width:118px;
  border-radius:11px;
  border-color:rgba(224,0,27,.56);
  background:rgba(36,11,16,.55);
  color:#f7f8fa;
}
.auto-update-btn.active{border-color:rgba(224,0,27,.8);background:rgba(224,0,27,.11);color:#fff;box-shadow:inset 0 0 0 1px rgba(224,0,27,.06)}
.auto-update-btn .auto-update-icon,.auto-update-btn.active .auto-update-icon{color:#ff3349;text-shadow:0 0 9px rgba(255,51,73,.38)}
.auto-update-btn small,.auto-update-btn.active small{height:19px;min-width:31px;background:rgba(224,0,27,.16);color:#ff7a8a;font-size:8px}
.streams-account>.logout-btn{min-height:36px;border-radius:11px;border-color:rgba(224,0,27,.34);color:#ef6975;background:rgba(21,24,30,.82)}
.stream-icon-btn{width:36px;height:36px;min-height:36px;background:#171b21;border-color:#303640}

.streams-app{height:calc(100vh - 62px)}
.streams-workspace{grid-template-columns:var(--stream-side-left) minmax(0,1fr) var(--stream-side-right)}
.streams-workspace.left-collapsed{grid-template-columns:0 minmax(0,1fr) var(--stream-side-right)}
.streams-workspace.right-collapsed{grid-template-columns:var(--stream-side-left) minmax(0,1fr) 0}
.streams-center-bg{
  top:62px;
  right:var(--stream-side-right);
  bottom:var(--stream-footer);
  left:var(--stream-side-left);
  background:
    radial-gradient(circle at 52% 7%,rgba(224,0,27,.20),transparent 34%),
    linear-gradient(180deg,rgba(62,5,13,.46),rgba(8,10,14,.70) 31%,rgba(7,9,12,.91) 73%),
    url('../img/home-hero-heli-night.webp') center/cover no-repeat;
  filter:saturate(.78) contrast(1.04);
}
.streams-center-bg::after{
  background:linear-gradient(90deg,rgba(4,6,9,.38),transparent 12%,transparent 88%,rgba(4,6,9,.42)),radial-gradient(circle at 50% 18%,transparent 0 26%,rgba(0,0,0,.17) 67%,rgba(0,0,0,.36));
  backdrop-filter:blur(1.8px);
}
.streams-workspace.left-collapsed .streams-center-bg{left:0}
.streams-workspace.right-collapsed .streams-center-bg{right:0}
.streams-sidebar{background:rgba(14,17,22,.985);border-color:#292e36}
.streams-sidebar-left{box-shadow:12px 0 28px rgba(0,0,0,.12)}
.streams-sidebar-right{box-shadow:-12px 0 28px rgba(0,0,0,.12)}
.sidebar-scroll{scrollbar-width:thin;scrollbar-color:#3a414c transparent}
.side-section{padding:12px 11px;border-bottom:1px solid #242930}
.side-heading{min-height:21px;color:#7f8997}
.side-heading strong{font-size:7.5px;letter-spacing:.13em;color:#8f98a6}
.side-search{height:35px;margin-top:7px;border-color:#2d333c;border-radius:8px;background:#171b21;font-size:9px}
.side-search:focus{border-color:rgba(224,0,27,.7);box-shadow:0 0 0 3px rgba(224,0,27,.07)}
.sort-list{gap:2px}
.sort-option{height:34px;border-radius:7px;font-size:9.5px;color:#a7afba}
.sort-option:hover{background:#191e25}
.sort-option.active{background:linear-gradient(90deg,rgba(224,0,27,.22),rgba(224,0,27,.055));box-shadow:inset 3px 0 0 var(--apx-red)}
.sort-option.active b{background:var(--apx-red);border-radius:6px;color:#fff}
.range-wrap{padding:6px 8px;border-color:#2c323a;background:#171b21}
.range-wrap input{accent-color:var(--apx-red)}
.segmented{border-color:#2d333c;background:#171b21}
.segmented button{font-size:8px}
.segmented button.active{background:#2a3039;color:#fff;box-shadow:0 4px 12px rgba(0,0,0,.16),inset 0 -2px 0 rgba(224,0,27,.8)}
.side-handle{background:#181c22;border-color:#303640;color:#737d8a}
.side-handle:hover{background:#20252d;color:#fff;border-color:rgba(224,0,27,.5)}

.streams-center{padding:18px 28px 30px}
.stream-grid{display:block!important;--columns:4}
.stream-featured-head{
  width:max-content;
  margin:0 auto 12px;
  min-height:28px;
  display:flex;
  align-items:center;
  gap:7px;
  padding:0 12px;
  border:1px solid rgba(224,0,27,.58);
  border-radius:999px;
  background:rgba(19,17,21,.88);
  color:#ff6c7c;
  font-size:8px;
  letter-spacing:.08em;
  box-shadow:0 8px 22px rgba(0,0,0,.2),0 0 16px rgba(224,0,27,.08);
}
.stream-featured-head strong{font-size:8px;font-weight:900;color:#ff6577}
.stream-featured-grid{
  width:min(980px,100%);
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:15px;
}
.stream-main-grid{
  width:min(1480px,100%);
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(var(--columns),minmax(0,1fr));
  gap:14px;
  align-items:start;
}
.stream-section-divider{
  width:min(1120px,92%);
  height:26px;
  margin:10px auto 6px;
  display:flex;
  align-items:center;
}
.stream-section-divider span{width:100%;height:1px;background:linear-gradient(90deg,transparent,#343a43 14%,#343a43 86%,transparent)}
.stream-card{
  border:1px solid #303640!important;
  border-radius:11px!important;
  background:rgba(17,20,26,.95)!important;
  box-shadow:0 12px 30px rgba(0,0,0,.28)!important;
  animation:apxCardIn .34s cubic-bezier(.2,.72,.25,1) both;
  animation-delay:min(calc(var(--card-index,0) * 28ms),240ms);
}
@keyframes apxCardIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
.stream-card::before{display:none!important}
.stream-card:hover,.stream-card:focus-within{
  transform:translateY(-3px)!important;
  border-color:rgba(224,0,27,.72)!important;
  box-shadow:0 18px 42px rgba(0,0,0,.34),0 0 0 1px rgba(224,0,27,.08),0 0 22px rgba(224,0,27,.08)!important;
}
.stream-card.active{border-color:var(--apx-red)!important;box-shadow:0 0 0 1px rgba(224,0,27,.16),0 18px 42px rgba(0,0,0,.34)!important}
.stream-card.featured{border-color:#3a404a!important}
.stream-card.featured:hover{border-color:rgba(224,0,27,.82)!important}
.stream-thumb{aspect-ratio:16/9;border-bottom:1px solid #2b3038;background:#090b0f}
.stream-thumb::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.02),transparent 68%,rgba(0,0,0,.17));pointer-events:none}
.stream-card:hover .stream-thumb img{transform:scale(1.025)!important}
.stream-new-badge{position:absolute;z-index:5;left:8px;top:8px;height:20px;display:flex;align-items:center;padding:0 7px;border:1px solid rgba(224,0,27,.7);border-radius:6px;background:rgba(20,8,11,.88);color:#ff5367;font-size:7px;font-weight:900;letter-spacing:.08em;box-shadow:0 4px 12px rgba(0,0,0,.24)}
.stream-live-badge,.stream-viewers{z-index:5;background:rgba(7,9,12,.88);border:1px solid rgba(255,255,255,.12);border-radius:6px;color:#fff;box-shadow:0 4px 12px rgba(0,0,0,.22)}
.stream-card-body{padding:10px 11px 11px!important}
.stream-card-channel{gap:8px}
.stream-card-channel img{width:32px;height:32px;border-color:#3b424d}
.stream-card-name strong{font-size:12px!important;color:#f6f7f9}
.stream-card-name small{font-size:8px!important;color:#858f9d}
.stream-card-title{height:30px!important;margin-top:7px!important;font-size:9.5px!important;line-height:1.42!important;color:#dce1e8!important}
.stream-card-tags{margin-top:7px!important;gap:4px}
.stream-tag{border-color:#343a43!important;background:#1b2027!important;color:#909aa8!important}
.stream-tag.apx{border-color:rgba(224,0,27,.38)!important;background:rgba(224,0,27,.09)!important;color:#ff7483!important}
.stream-card-chat{border-color:#343a43;background:#171b21;color:#9ca5b2}
.stream-card-chat:hover,.stream-card-chat:focus-visible{background:#9146ff;border-color:#9146ff;color:#fff}
.stream-thumb-expand{background:rgba(4,6,9,.25)!important;font-size:22px!important;text-shadow:0 2px 12px rgba(0,0,0,.7)}
.stream-card>.stream-card-raid{
  min-height:38px!important;
  border-top:1px solid rgba(224,0,27,.24)!important;
  background:linear-gradient(180deg,rgba(10,12,16,.02),rgba(224,0,27,.08))!important;
  color:#ff5266!important;
}
.stream-card>.stream-card-raid:hover{background:rgba(224,0,27,.16)!important;color:#fff!important}

.stream-grid.list .stream-main-grid{display:grid;grid-template-columns:1fr;gap:9px;width:100%}
.stream-grid.list .stream-card{border-radius:10px!important;background:rgba(17,20,26,.96)!important}
.stream-grid.list .stream-card:hover{transform:translateY(-1px)!important}
.stream-grid.list .stream-card>.stream-card-raid{background:rgba(224,0,27,.08)!important}

.streams-sidebar-right .side-section{padding-left:12px;padding-right:12px}
.offline-list{gap:5px}
.offline-item{min-height:46px;grid-template-columns:36px minmax(0,1fr) auto;gap:8px;padding:5px 7px;border-color:#2d333c;border-radius:8px;background:#171b21}
.offline-item:hover{border-color:rgba(224,0,27,.48);background:#1a1e25;transform:translateX(-2px)}
.offline-avatar{width:36px;height:36px;border-radius:7px}
.offline-copy strong{font-size:9px}.offline-copy small{font-size:7.5px}
.side-count{background:#1c2128;color:#9aa3b0}
.streams-footer{background:#0f1217;border-top-color:#282e36;color:#7d8794}
.streams-footer a:hover{color:#fff}

.stream-stage.floating{
  border-color:rgba(224,0,27,.58)!important;
  background:#090c10!important;
  box-shadow:0 34px 100px rgba(0,0,0,.66),0 0 0 1px rgba(224,0,27,.04) inset!important;
}
.stream-stage-head{background:#15191f!important;border-bottom-color:#292f37!important}
.stream-stage-chat-toggle{border-color:rgba(145,70,255,.48)!important;background:rgba(145,70,255,.10)!important}
.stream-stage-chat-toggle:hover,.stream-stage-chat-toggle.active{background:#9146ff!important;border-color:#9146ff!important}
.stream-stage-close{border-color:#343a43!important;background:#171b21!important}
.stream-stage-close:hover{border-color:rgba(224,0,27,.55)!important;background:rgba(224,0,27,.11)!important}
.stream-stage-resize-handle{border-color:rgba(224,0,27,.34)!important}

body.stream-light .streams-top{background:#f8f9fb!important;border-color:#d6dbe2!important}
body.stream-light .streams-sidebar{background:#fff!important}
body.stream-light .stream-card{background:#fff!important;border-color:#d7dce3!important}
body.stream-light .streams-center-bg{filter:saturate(.55) brightness(1.08)}
body.stream-light .stream-featured-head{background:#fff;color:#b90a20}
body.stream-light .stream-card-name strong{color:#171a20!important}
body.stream-light .stream-card-title{color:#4f5865!important}

@media(max-width:1320px){
  :root{--stream-side-left:205px;--stream-side-right:235px}
  .streams-center{padding-inline:20px}
  .stream-top-stat{padding:0 10px}
  .stream-top-stat small{display:none}
}
@media(max-width:1050px){
  .streams-top{grid-template-columns:auto 1fr auto;padding-inline:12px}
  .streams-brand-copy{display:none}
  .streams-user-chip strong{display:none}
  .streams-user-chip{padding-right:4px}
  .auto-update-btn{min-width:54px;padding:0 9px}
  .auto-update-btn .auto-update-label{display:none}
  .stream-featured-grid{grid-template-columns:1fr}
}
@media(max-width:900px){
  :root{--stream-side-left:0px;--stream-side-right:0px}
  .streams-top{height:auto;min-height:62px;grid-template-columns:auto 1fr auto;gap:7px;padding:8px 10px}
  .streams-stats-wrap{grid-column:1/-1;grid-row:2;justify-self:stretch}
  .streams-stats{justify-content:center;width:100%}
  .streams-app{height:calc(100vh - 100px)}
  .streams-workspace,.streams-workspace.left-collapsed,.streams-workspace.right-collapsed,.streams-workspace.left-collapsed.right-collapsed{grid-template-columns:0 minmax(0,1fr) 0}
  .streams-center{padding:14px}
  .streams-center-bg{top:0;left:0;right:0}
  .stream-main-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:620px){
  .stream-main-grid{grid-template-columns:1fr!important}
  .stream-featured-grid{grid-template-columns:1fr}
  .streams-center{padding:10px}
  .stream-top-stat{padding:0 8px}
  .stream-top-stat strong{font-size:10px}
  .stream-top-stat small{display:none}
}
@media(prefers-reduced-motion:reduce){.stream-card{animation:none!important}}


/* V10.64 — APX card cleanup: HomeState-like structure without the oversized selected overlay */
.stream-card{
  position:relative!important;
  overflow:hidden!important;
  border:1px solid #333943!important;
  border-radius:12px!important;
  background:rgba(16,19,24,.97)!important;
  box-shadow:0 12px 28px rgba(0,0,0,.28)!important;
}
.stream-card:hover,
.stream-card:focus-within{
  transform:translateY(-2px)!important;
  border-color:rgba(224,0,27,.72)!important;
  box-shadow:0 18px 38px rgba(0,0,0,.34),0 0 0 1px rgba(224,0,27,.07)!important;
}
.stream-card.active{
  transform:none!important;
  border-color:rgba(224,0,27,.86)!important;
  box-shadow:0 16px 34px rgba(0,0,0,.34),0 0 0 1px rgba(224,0,27,.12)!important;
}
/* Completely neutralise the old LIVE AUSGEWÄHLT pseudo element that could expand into a red blob. */
.stream-card.active .stream-thumb::after,
.stream-card .stream-thumb::after{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  top:0!important;
  right:0!important;
  bottom:0!important;
  left:0!important;
  width:auto!important;
  height:auto!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:linear-gradient(180deg,rgba(0,0,0,.02),transparent 66%,rgba(0,0,0,.18))!important;
  color:transparent!important;
  font-size:0!important;
  letter-spacing:0!important;
  box-shadow:none!important;
  pointer-events:none!important;
}
.stream-card.active .stream-thumb{
  box-shadow:inset 0 0 0 1px rgba(224,0,27,.12)!important;
}
.stream-card.featured{
  border-color:#3a414b!important;
}
.stream-card.featured:hover,
.stream-card.featured:focus-within{
  border-color:rgba(224,0,27,.78)!important;
}
.stream-new-badge{
  height:21px!important;
  padding:0 8px!important;
  border-radius:6px!important;
  border-color:rgba(224,0,27,.62)!important;
  background:rgba(15,12,16,.92)!important;
  color:#ff5d70!important;
  box-shadow:0 5px 14px rgba(0,0,0,.24)!important;
}
.stream-thumb{
  overflow:hidden!important;
  border-bottom:1px solid #2d333c!important;
}
.stream-thumb-expand{
  opacity:0!important;
  transform:translate(-50%,-50%) scale(.92)!important;
  transition:opacity .16s ease,transform .18s ease!important;
  background:transparent!important;
  font-size:20px!important;
  line-height:.78!important;
  text-shadow:0 2px 12px rgba(0,0,0,.9)!important;
}
.stream-card:hover .stream-thumb-expand,
.stream-card:focus-within .stream-thumb-expand,
.stream-card.active .stream-thumb-expand{
  opacity:.9!important;
  transform:translate(-50%,-50%) scale(1)!important;
}
.stream-card-body{
  position:relative!important;
  padding:10px 11px 51px!important;
  background:linear-gradient(180deg,rgba(18,21,27,.98),rgba(15,18,23,.99))!important;
}
.stream-card-channel{align-items:center!important}
.stream-card-name strong{font-size:12px!important;line-height:1.1!important}
.stream-card-name small{margin-top:3px!important;font-size:8px!important}
.stream-card-title{
  height:auto!important;
  min-height:29px!important;
  max-height:31px!important;
  overflow:hidden!important;
  margin-top:8px!important;
  color:#d9dee6!important;
  line-height:1.45!important;
}
.stream-card-tags{
  margin-top:8px!important;
  min-height:21px!important;
  padding-right:0!important;
}
.stream-tag{height:21px!important;padding:0 7px!important;border-radius:5px!important}

/* Raid returns to a distinct bottom row like the reference: centered, dark, compact and red APX accent. */
.stream-card>.stream-card-raid{
  display:flex!important;
  position:absolute!important;
  z-index:9!important;
  left:0!important;
  right:0!important;
  bottom:0!important;
  top:auto!important;
  width:100%!important;
  height:40px!important;
  min-height:40px!important;
  margin:0!important;
  padding:0 12px!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  border:0!important;
  border-top:1px solid rgba(224,0,27,.23)!important;
  border-radius:0!important;
  background:linear-gradient(180deg,rgba(18,20,25,.90),rgba(12,14,18,.99))!important;
  color:#ff5367!important;
  font-size:11px!important;
  font-weight:900!important;
  letter-spacing:.055em!important;
  opacity:.64!important;
  pointer-events:auto!important;
  transform:translateY(7px)!important;
  text-shadow:none!important;
  box-shadow:none!important;
  transition:opacity .17s ease,transform .20s cubic-bezier(.2,.72,.25,1),background .17s ease,color .17s ease!important;
}
.stream-card:hover>.stream-card-raid,
.stream-card:focus-within>.stream-card-raid,
.stream-card.active>.stream-card-raid{
  opacity:1!important;
  transform:translateY(0)!important;
}
.stream-card>.stream-card-raid:hover,
.stream-card>.stream-card-raid:focus-visible,
.stream-card>.stream-card-raid.copied{
  outline:0!important;
  background:linear-gradient(180deg,rgba(34,14,19,.97),rgba(19,13,17,.99))!important;
  color:#fff!important;
  box-shadow:inset 0 1px 0 rgba(224,0,27,.16)!important;
}
.stream-card>.stream-card-raid .stream-raid-icon{font-size:12px!important}
.stream-card>.stream-card-raid .stream-raid-label{font-size:11px!important}

/* List view keeps raid as a small right-side action, animated from the right. */
.stream-grid.list .stream-card-body{padding-bottom:10px!important;padding-right:108px!important}
.stream-grid.list .stream-card>.stream-card-raid{
  left:auto!important;
  right:12px!important;
  top:50%!important;
  bottom:auto!important;
  width:78px!important;
  height:31px!important;
  min-height:31px!important;
  padding:0 9px!important;
  border:1px solid rgba(224,0,27,.32)!important;
  border-radius:7px!important;
  background:rgba(25,14,18,.88)!important;
  opacity:.68!important;
  transform:translate(12px,-50%)!important;
}
.stream-grid.list .stream-card:hover>.stream-card-raid,
.stream-grid.list .stream-card:focus-within>.stream-card-raid,
.stream-grid.list .stream-card.active>.stream-card-raid{
  opacity:1!important;
  transform:translate(0,-50%)!important;
}
.stream-grid.list .stream-card-title{padding-right:0!important}

/* Featured area stays close to the reference, but cards keep the same rectangular APX language. */
.stream-featured-grid{align-items:start!important}
.stream-featured-head{
  margin-bottom:13px!important;
  border-color:rgba(224,0,27,.46)!important;
  background:rgba(14,16,20,.92)!important;
  box-shadow:0 7px 18px rgba(0,0,0,.18)!important;
}
.stream-section-divider{height:30px!important;margin:10px auto 7px!important}

body.stream-light .stream-card-body{background:#fff!important}
body.stream-light .stream-card>.stream-card-raid{background:linear-gradient(180deg,#fff,#f7f8fa)!important;border-top-color:rgba(185,10,32,.18)!important;color:#bd1127!important}

@media(max-width:900px){
  .stream-card-body{padding-bottom:48px!important}
  .stream-card>.stream-card-raid{opacity:1!important;transform:none!important}
  .stream-grid.list .stream-card-body{padding-right:94px!important;padding-bottom:10px!important}
  .stream-grid.list .stream-card>.stream-card-raid{right:9px!important;opacity:1!important;transform:translate(0,-50%)!important}
}
@media(prefers-reduced-motion:reduce){
  .stream-card>.stream-card-raid,.stream-thumb-expand{transition:none!important}
}
\n\n/* V10.70 — HomeState-inspired mobile stream navigation, adapted to APX red */\n.stream-auto-reactivate{\n  position:fixed;z-index:760;right:18px;top:70px;min-height:52px;display:flex;align-items:center;gap:15px;padding:9px 10px 9px 14px;border:1px solid rgba(224,0,27,.58);border-radius:12px;background:rgba(18,20,25,.97);box-shadow:0 18px 48px rgba(0,0,0,.42),0 0 18px rgba(224,0,27,.08);color:#f5f7fa;opacity:0;transform:translateY(-8px);transition:opacity .18s ease,transform .2s ease;\n}\n.stream-auto-reactivate[hidden]{display:none!important}\n.stream-auto-reactivate.show{opacity:1;transform:none}\n.stream-auto-reactivate>span{display:flex;align-items:center;gap:8px;font-size:10px;font-weight:800;white-space:nowrap}\n.stream-auto-reactivate>span i{width:8px;height:8px;border:2px solid var(--apx-red-bright);border-radius:50%;box-shadow:0 0 9px rgba(255,48,72,.45)}\n.stream-auto-reactivate>div{display:flex;gap:5px}\n.stream-auto-reactivate button{height:31px;min-width:39px;padding:0 10px;border:1px solid #353b45;border-radius:7px;background:#222730;color:#aab2bd;font-size:9px;font-weight:900;cursor:pointer}\n.stream-auto-reactivate button:first-child{border-color:var(--apx-red);background:var(--apx-red);color:#fff}\n.stream-auto-reactivate button:hover{filter:brightness(1.08)}\n.streams-mobile-backdrop[hidden]{display:none!important}\n\n/* The featured area uses exactly one compact card, like the mobile reference. */\n.stream-featured-grid{width:min(520px,100%)!important;grid-template-columns:1fr!important}\n\n@media(max-width:900px){\n  html,body.streams-body{height:100%;min-height:100%;overscroll-behavior:none}\n  body.streams-body{overflow:hidden;background:#090b0f}\n  :root{--mobile-stream-header:92px;--mobile-stream-footer:54px}\n\n  .streams-top{\n    position:relative;z-index:600;height:92px!important;min-height:92px!important;grid-template-columns:auto 1fr auto!important;grid-template-rows:58px 34px!important;gap:0 8px!important;padding:0 14px!important;border-top:0!important;border-bottom:1px solid rgba(224,0,27,.38)!important;background:linear-gradient(90deg,rgba(48,8,13,.78),#101318 26%,#101318 74%,rgba(42,7,12,.68))!important;box-shadow:0 10px 28px rgba(0,0,0,.24)!important;\n  }\n  .streams-brand{grid-column:1;grid-row:1;width:46px!important;min-width:46px!important;height:46px!important;align-self:center;justify-content:center;padding:0!important}\n  .streams-brand img{width:38px!important;height:42px!important;filter:drop-shadow(0 0 10px rgba(224,0,27,.18))!important}\n  .streams-brand-copy{display:none!important}\n  .streams-account{grid-column:3;grid-row:1;align-self:center;justify-self:end;gap:7px!important}\n  .streams-user-chip{width:42px!important;min-width:42px!important;height:42px!important;min-height:42px!important;padding:3px!important;border:1px solid #333943!important;background:#171b21!important;justify-content:center!important}\n  .streams-user-chip img{width:34px!important;height:34px!important}\n  .streams-user-chip strong{display:none!important}\n  .stream-btn.account-btn.twitch{width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;border-radius:11px!important;font-size:0!important;background:#9146ff!important;border-color:#9146ff!important;box-shadow:0 8px 22px rgba(145,70,255,.19)!important}\n  .stream-btn.account-btn.twitch img{width:23px!important;height:23px!important;border-radius:0!important}\n  .stream-icon-btn{width:42px!important;height:42px!important;min-height:42px!important;border-radius:11px!important;font-size:15px!important;background:#171b21!important}\n  .streams-account>.logout-btn{display:none!important}\n  .auto-update-btn{width:42px!important;min-width:42px!important;height:42px!important;min-height:42px!important;padding:0!important;border-radius:11px!important}\n  .auto-update-btn .auto-update-label,.auto-update-btn small{display:none!important}\n  .auto-update-btn .auto-update-icon{font-size:14px!important}\n\n  .streams-stats-wrap{\n    position:relative!important;z-index:640!important;grid-column:1/-1!important;grid-row:2!important;justify-self:center!important;align-self:start!important;width:auto!important;margin:0!important;padding:0!important;transform:translateY(17px)!important;\n  }\n  .streams-stats{\n    width:auto!important;min-width:280px!important;min-height:44px!important;justify-content:center!important;padding:4px 8px!important;border:1px solid #353b45!important;background:#1a1e24!important;border-radius:999px!important;box-shadow:0 12px 28px rgba(0,0,0,.38)!important;\n  }\n  .stream-top-stat{height:34px!important;padding:0 13px!important;gap:7px!important}\n  .stream-top-stat strong{font-size:13px!important}\n  .stream-top-stat small{display:none!important}\n  .stream-top-stat .top-stat-icon{font-size:10px!important}\n  .streams-refresh-pill{display:none!important}\n\n  .streams-app{height:calc(100dvh - 92px)!important;min-height:0!important;grid-template-rows:minmax(0,1fr) var(--mobile-stream-footer)!important}\n  .streams-workspace,.streams-workspace.left-collapsed,.streams-workspace.right-collapsed,.streams-workspace.left-collapsed.right-collapsed{display:block!important;position:relative!important;min-height:0!important}\n  .streams-center{height:100%!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch!important;padding:58px 0 34px!important;scrollbar-width:none!important}\n  .streams-center::-webkit-scrollbar{display:none!important}\n  .streams-center-bg{position:fixed!important;inset:92px 0 var(--mobile-stream-footer) 0!important;background:radial-gradient(circle at 50% 7%,rgba(224,0,27,.16),transparent 34%),linear-gradient(180deg,rgba(64,5,14,.37),rgba(8,10,14,.72) 31%,rgba(7,9,12,.93) 76%),url('../img/home-hero-heli-night.webp') center/cover no-repeat!important;filter:saturate(.72) contrast(1.04)!important}\n  .streams-center-bg::after{backdrop-filter:blur(1.5px)!important}\n  .streams-center-status{display:none!important}\n\n  .stream-grid{width:100%!important;padding:0!important}\n  .stream-featured-head{margin:0 auto 16px!important;min-height:38px!important;padding:0 18px!important;border-radius:999px!important;font-size:10px!important;gap:9px!important;background:rgba(18,20,25,.96)!important;border-color:rgba(224,0,27,.58)!important;color:#ff6072!important;box-shadow:0 10px 24px rgba(0,0,0,.29),0 0 18px rgba(224,0,27,.07)!important}\n  .stream-featured-head strong{font-size:10px!important;color:#ff6577!important}\n  .stream-featured-grid,.stream-main-grid{width:min(620px,calc(100% - 56px))!important;margin-left:auto!important;margin-right:auto!important;display:grid!important;grid-template-columns:1fr!important;gap:22px!important}\n  .stream-section-divider{width:min(620px,calc(100% - 56px))!important;height:40px!important;margin:13px auto 13px!important}\n  .stream-section-divider span{background:linear-gradient(90deg,transparent,#3a4049 12%,#3a4049 88%,transparent)!important}\n  .stream-card{width:100%!important;border-radius:11px!important;box-shadow:0 16px 34px rgba(0,0,0,.34)!important}\n  .stream-card:hover{transform:none!important}\n  .stream-thumb{aspect-ratio:16/9!important}\n  .stream-new-badge{left:10px!important;top:10px!important;height:28px!important;padding:0 10px!important;font-size:9px!important;border-radius:7px!important}\n  .stream-live-badge,.stream-viewers{bottom:9px!important;height:27px!important;padding:0 9px!important;font-size:10px!important;border-radius:6px!important}\n  .stream-live-badge{left:9px!important}\n  .stream-viewers{right:9px!important}\n  .stream-thumb-expand{display:none!important}\n  .stream-card-body{padding:13px 13px 12px!important}\n  .stream-card-channel{display:grid!important;grid-template-columns:46px minmax(0,1fr) 34px!important;gap:10px!important;align-items:center!important}\n  .stream-card-channel>img{width:46px!important;height:46px!important;border-radius:50%!important}\n  .stream-card-name strong{font-size:17px!important;line-height:1.05!important}\n  .stream-card-name small{margin-top:5px!important;font-size:9px!important;color:#8e98a6!important}\n  .stream-card-chat{width:34px!important;height:34px!important;border-radius:8px!important}\n  .stream-card-chat svg{width:16px!important;height:16px!important}\n  .stream-card-title{min-height:37px!important;max-height:42px!important;margin-top:9px!important;font-size:11.5px!important;line-height:1.45!important;color:#d8dde5!important}\n  .stream-card-tags{min-height:24px!important;margin-top:9px!important;gap:6px!important}\n  .stream-tag{height:24px!important;padding:0 8px!important;font-size:9px!important;border-radius:5px!important}\n  /* On mobile the raid action stays small and inline, never a wide banner. */\n  .stream-card-body{padding-bottom:13px!important}\n  .stream-card>.stream-card-raid{\n    position:absolute!important;left:auto!important;right:12px!important;bottom:11px!important;top:auto!important;width:auto!important;min-width:64px!important;height:25px!important;min-height:25px!important;padding:0 7px!important;border:0!important;border-radius:5px!important;background:transparent!important;color:#ff4e62!important;justify-content:flex-end!important;gap:5px!important;opacity:1!important;transform:none!important;font-size:9px!important;letter-spacing:.02em!important;\n  }\n  .stream-card>.stream-card-raid:hover,.stream-card>.stream-card-raid:focus-visible,.stream-card>.stream-card-raid.copied{background:rgba(224,0,27,.10)!important;color:#fff!important}\n  .stream-card>.stream-card-raid .stream-raid-icon{font-size:10px!important}.stream-card>.stream-card-raid .stream-raid-label{font-size:10px!important}\n  .stream-card-tags{padding-right:74px!important}\n\n  /* HomeState-like side drawers: content stays in place and each panel slides over it. */\n  .streams-sidebar{\n    position:fixed!important;z-index:680!important;top:92px!important;bottom:var(--mobile-stream-footer)!important;width:min(370px,54vw)!important;height:auto!important;overflow:visible!important;background:rgba(17,19,24,.985)!important;border-color:#303640!important;box-shadow:0 22px 60px rgba(0,0,0,.44)!important;transition:transform .24s cubic-bezier(.2,.72,.25,1),visibility .24s linear!important;\n  }\n  .streams-sidebar-left{left:0!important;right:auto!important;border-right:1px solid #303640!important;transform:translateX(calc(-100% + 1px))!important}\n  .streams-sidebar-right{right:0!important;left:auto!important;border-left:1px solid #303640!important;transform:translateX(calc(100% - 1px))!important}\n  .streams-workspace.mobile-left-open .streams-sidebar-left{transform:translateX(0)!important}\n  .streams-workspace.mobile-right-open .streams-sidebar-right{transform:translateX(0)!important}\n  .sidebar-scroll{height:100%!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch!important;padding-bottom:18px!important;opacity:1!important;transform:none!important}\n  .streams-workspace.left-collapsed .streams-sidebar-left .sidebar-scroll,.streams-workspace.right-collapsed .streams-sidebar-right .sidebar-scroll{opacity:1!important;pointer-events:auto!important;transform:none!important}\n  .side-section{padding:14px 12px!important}\n  .side-heading{min-height:27px!important}.side-heading strong{font-size:9px!important}\n  .side-search{height:42px!important;font-size:11px!important;padding-inline:12px!important}\n  .sort-option{height:45px!important;font-size:13px!important;padding-inline:12px!important}\n  .sort-option b{min-width:34px!important;height:34px!important;font-size:11px!important}\n  .control-label,.range-label{font-size:9px!important;margin-top:13px!important}\n  .range-wrap{min-height:45px!important}\n  .segmented button{min-height:38px!important;font-size:10px!important}\n  .offline-item{min-height:58px!important;grid-template-columns:42px minmax(0,1fr) auto!important;padding:6px 8px!important}\n  .offline-avatar{width:42px!important;height:42px!important}\n  .offline-copy strong{font-size:11px!important}.offline-copy small{font-size:9px!important}\n  .side-count{font-size:9px!important}\n  .side-handle{\n    position:fixed!important;z-index:710!important;top:50%!important;margin:0!important;width:30px!important;height:64px!important;transform:translateY(-50%)!important;background:#1b1f25!important;border:1px solid #444b56!important;color:#c2c8d0!important;font-size:22px!important;box-shadow:0 9px 28px rgba(0,0,0,.34)!important;transition:left .24s cubic-bezier(.2,.72,.25,1),right .24s cubic-bezier(.2,.72,.25,1),background .16s ease!important;\n  }\n  .side-handle-left{left:0!important;right:auto!important;border-left:0!important;border-radius:0 15px 15px 0!important}\n  .side-handle-right{right:0!important;left:auto!important;border-right:0!important;border-radius:15px 0 0 15px!important}\n  .streams-workspace.mobile-left-open .side-handle-left{left:min(370px,54vw)!important}\n  .streams-workspace.mobile-right-open .side-handle-right{right:min(370px,54vw)!important}\n  .streams-workspace.left-collapsed .side-handle-left,.streams-workspace.right-collapsed .side-handle-right{opacity:1!important;pointer-events:auto!important}\n  .streams-mobile-backdrop{position:fixed!important;z-index:650!important;inset:92px 0 var(--mobile-stream-footer) 0!important;border:0!important;background:rgba(0,0,0,.12)!important;backdrop-filter:blur(.6px)!important;opacity:0!important;transition:opacity .18s ease!important}\n  .streams-mobile-backdrop.show{display:block!important;opacity:1!important}\n  .streams-drawer-open .streams-center{overflow:hidden!important}\n\n  .streams-footer{height:var(--mobile-stream-footer)!important;min-height:var(--mobile-stream-footer)!important;grid-template-columns:1fr auto!important;padding:0 16px!important;gap:10px!important;background:#111318!important;border-top:1px solid #30343c!important;z-index:720!important}\n  .footer-version{font-size:9px!important}.footer-version strong{font-size:10px!important}\n  .footer-social{display:none!important}\n  .footer-legal{gap:14px!important;font-size:10px!important}\n\n  .stream-auto-reactivate{right:12px!important;left:12px!important;top:100px!important;min-height:52px!important;justify-content:space-between!important;padding:8px 9px 8px 12px!important;border-radius:11px!important}\n  .stream-auto-reactivate>span{font-size:10px!important}\n}\n\n@media(max-width:620px){\n  :root{--mobile-stream-header:92px;--mobile-stream-footer:52px}\n  .streams-top{padding-inline:12px!important}\n  .streams-stats{min-width:270px!important}\n  .stream-top-stat{padding-inline:11px!important}\n  .streams-center{padding-top:56px!important}\n  .stream-featured-grid,.stream-main-grid,.stream-section-divider{width:calc(100% - 48px)!important}\n  .stream-featured-head{min-height:36px!important;padding-inline:16px!important}\n  .streams-sidebar{width:min(360px,53vw)!important}\n  .streams-workspace.mobile-left-open .side-handle-left{left:min(360px,53vw)!important}\n  .streams-workspace.mobile-right-open .side-handle-right{right:min(360px,53vw)!important}\n}\n\n@media(max-width:430px){\n  .streams-stats{min-width:260px!important;padding-inline:5px!important}\n  .stream-top-stat{padding-inline:9px!important}\n  .stream-top-stat strong{font-size:12px!important}\n  .stream-featured-grid,.stream-main-grid,.stream-section-divider{width:calc(100% - 42px)!important}\n  .stream-card-name strong{font-size:15px!important}\n  .stream-card-title{font-size:10.5px!important}\n  .streams-sidebar{width:54vw!important;min-width:212px!important}\n  .streams-workspace.mobile-left-open .side-handle-left{left:max(212px,54vw)!important}\n  .streams-workspace.mobile-right-open .side-handle-right{right:max(212px,54vw)!important}\n  .footer-legal{gap:10px!important;font-size:9px!important}\n}\n\n\n/* V10.70 mobile stacking polish */\n@media(max-width:900px){\n  .streams-top{z-index:760!important}\n  .stream-auto-reactivate{z-index:790!important}\n  .streams-stats-wrap{z-index:770!important}\n}\n

/* V10.70 — active but one-time stream page motion */
.streams-top{animation:apxStreamsTopIn .52s cubic-bezier(.16,.82,.2,1) both}
.streams-stats-wrap{animation:apxStreamsStatsIn .68s cubic-bezier(.16,.82,.2,1) .12s both}
.streams-sidebar-left{animation:apxStreamsSideLeft .58s cubic-bezier(.16,.82,.2,1) .06s both}
.streams-sidebar-right{animation:apxStreamsSideRight .58s cubic-bezier(.16,.82,.2,1) .06s both}
@keyframes apxStreamsTopIn{from{opacity:0;transform:translateY(-14px)}to{opacity:1;transform:none}}
@keyframes apxStreamsStatsIn{from{opacity:0;transform:translateY(-10px) scale(.96);filter:blur(3px)}to{opacity:1;transform:none;filter:none}}
@keyframes apxStreamsSideLeft{from{opacity:0;transform:translateX(-18px)}to{opacity:1;transform:none}}
@keyframes apxStreamsSideRight{from{opacity:0;transform:translateX(18px)}to{opacity:1;transform:none}}

.stream-card.apx-stream-reveal,.offline-item.apx-stream-reveal{
  opacity:0;transform:translate3d(0,28px,0) scale(.975);filter:blur(3px) saturate(.9);
  transition:opacity .55s ease var(--stream-reveal-delay,0ms),transform .72s cubic-bezier(.16,.82,.2,1) var(--stream-reveal-delay,0ms),filter .55s ease var(--stream-reveal-delay,0ms);
}
.offline-item.apx-stream-reveal{transform:translate3d(14px,0,0) scale(.985)}
.stream-card.apx-stream-visible,.offline-item.apx-stream-visible{opacity:1;transform:none;filter:none}
.stream-card.apx-stream-visible{will-change:auto}
.stream-card.apx-stream-reveal::after{
  content:"";position:absolute;left:-38%;top:0;width:28%;height:2px;z-index:12;pointer-events:none;
  background:linear-gradient(90deg,transparent,#ff5366,transparent);opacity:0;filter:drop-shadow(0 0 6px rgba(208,0,24,.72));
}
.stream-card.apx-stream-visible::after{animation:apxStreamCardScan .82s ease-out calc(var(--stream-reveal-delay,0ms) + 210ms) both}
@keyframes apxStreamCardScan{0%{left:-38%;opacity:0}20%{opacity:.9}80%{opacity:.5}100%{left:116%;opacity:0}}

.stream-featured-head{animation:apxFeaturedHead .62s cubic-bezier(.16,.82,.2,1) .08s both}
.stream-section-divider span{transform-origin:left;animation:apxDividerGrow .78s cubic-bezier(.16,.82,.2,1) .22s both}
@keyframes apxFeaturedHead{from{opacity:0;transform:translateY(-10px) scale(.97)}to{opacity:1;transform:none}}
@keyframes apxDividerGrow{from{transform:scaleX(0);opacity:.2}to{transform:scaleX(1);opacity:1}}

.stream-thumb img{transition:transform .65s cubic-bezier(.16,.82,.2,1),filter .4s ease}
.stream-card:hover .stream-thumb img{transform:scale(1.025)}
.stream-card-chat,.stream-card-raid,.stream-btn,.stream-icon-btn{transition:transform .2s ease,box-shadow .22s ease,border-color .22s ease,background .22s ease,color .22s ease}
.stream-card-chat:active,.stream-card-raid:active,.stream-btn:active,.stream-icon-btn:active{transform:scale(.96)}
.streams-stats.heartbeat{filter:saturate(1.12)}

@media(max-width:900px){
  .streams-top,.streams-stats-wrap,.streams-sidebar-left,.streams-sidebar-right{animation-duration:.44s}
  .stream-card.apx-stream-reveal{transform:translate3d(0,22px,0) scale(.985);filter:blur(2px)}
  .stream-card:hover .stream-thumb img{transform:none}
}
@media(prefers-reduced-motion:reduce){
  .streams-top,.streams-stats-wrap,.streams-sidebar-left,.streams-sidebar-right,.stream-featured-head,.stream-section-divider span,.stream-card.apx-stream-visible::after{animation:none!important}
  .stream-card.apx-stream-reveal,.offline-item.apx-stream-reveal{opacity:1!important;transform:none!important;filter:none!important}
}


/* V10.70 — HomeState-like hover reveal for desktop stream cards, APX red */
@media (min-width:901px) and (hover:hover) and (pointer:fine){
  /* Default state stays compact. Nothing is permanently bolted onto the bottom. */
  .stream-grid:not(.list) .stream-card{
    overflow:hidden!important;
    isolation:isolate;
    transform:translateZ(0);
  }
  .stream-grid:not(.list) .stream-card-body{
    padding:10px 11px 11px!important;
    transition:filter .22s ease,opacity .22s ease,transform .22s cubic-bezier(.2,.72,.25,1)!important;
  }

  /* Viewer, runtime, expand and chat controls only become visible while hovering the card. */
  .stream-grid:not(.list) .stream-live-badge,
  .stream-grid:not(.list) .stream-viewers{
    opacity:0!important;
    transform:translateY(7px) scale(.96)!important;
    transition:opacity .17s ease,transform .22s cubic-bezier(.2,.72,.25,1)!important;
    pointer-events:none!important;
  }
  .stream-grid:not(.list) .stream-viewers{transition-delay:0ms!important}
  .stream-grid:not(.list) .stream-live-badge{transition-delay:0ms!important}

  .stream-grid:not(.list) .stream-thumb-expand{
    opacity:0!important;
    transform:translate(-50%,-50%) scale(.82)!important;
    filter:blur(1.2px)!important;
    transition:opacity .18s ease,transform .28s cubic-bezier(.16,.82,.22,1),filter .22s ease!important;
  }
  .stream-grid:not(.list) .stream-card-chat{
    opacity:0!important;
    transform:translateX(8px) scale(.92)!important;
    pointer-events:none!important;
    transition:opacity .16s ease,transform .22s cubic-bezier(.2,.72,.25,1),background .18s ease,border-color .18s ease,color .18s ease!important;
  }

  .stream-grid:not(.list) .stream-card:hover .stream-live-badge,
  .stream-grid:not(.list) .stream-card:hover .stream-viewers,
  .stream-grid:not(.list) .stream-card:focus-visible .stream-live-badge,
  .stream-grid:not(.list) .stream-card:focus-visible .stream-viewers{
    opacity:1!important;
    transform:translateY(0) scale(1)!important;
  }
  .stream-grid:not(.list) .stream-card:hover .stream-live-badge{transition-delay:35ms!important}
  .stream-grid:not(.list) .stream-card:hover .stream-viewers{transition-delay:70ms!important}
  .stream-grid:not(.list) .stream-card:hover .stream-thumb-expand,
  .stream-grid:not(.list) .stream-card:focus-visible .stream-thumb-expand{
    opacity:.96!important;
    transform:translate(-50%,-50%) scale(1)!important;
    filter:none!important;
  }
  .stream-grid:not(.list) .stream-card:hover .stream-card-chat,
  .stream-grid:not(.list) .stream-card:focus-visible .stream-card-chat,
  .stream-grid:not(.list) .stream-card-chat:focus-visible{
    opacity:1!important;
    transform:none!important;
    pointer-events:auto!important;
  }

  /* /raid behaves like the reference: hidden below the card, then slides upward over a dark fade. */
  .stream-grid:not(.list) .stream-card>.stream-card-raid{
    display:flex!important;
    position:absolute!important;
    z-index:14!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    top:auto!important;
    width:100%!important;
    height:58px!important;
    min-height:58px!important;
    padding:20px 12px 9px!important;
    align-items:flex-end!important;
    justify-content:center!important;
    gap:8px!important;
    border:0!important;
    border-radius:0!important;
    background:linear-gradient(180deg,rgba(14,17,22,0) 0%,rgba(13,16,21,.82) 35%,rgba(10,12,16,.98) 72%,#090b0f 100%)!important;
    color:#ff4a60!important;
    opacity:0!important;
    transform:translateY(34px)!important;
    pointer-events:none!important;
    box-shadow:none!important;
    text-shadow:0 0 14px rgba(224,0,27,.16)!important;
    transition:opacity .18s ease,transform .30s cubic-bezier(.16,.82,.22,1),color .18s ease!important;
  }
  .stream-grid:not(.list) .stream-card:hover>.stream-card-raid,
  .stream-grid:not(.list) .stream-card:focus-visible>.stream-card-raid,
  .stream-grid:not(.list) .stream-card>.stream-card-raid:focus-visible{
    opacity:1!important;
    transform:translateY(0)!important;
    pointer-events:auto!important;
  }
  .stream-grid:not(.list) .stream-card:hover>.stream-card-raid{transition-delay:55ms!important}
  .stream-grid:not(.list) .stream-card>.stream-card-raid:hover,
  .stream-grid:not(.list) .stream-card>.stream-card-raid:focus-visible,
  .stream-grid:not(.list) .stream-card>.stream-card-raid.copied{
    color:#fff!important;
    background:linear-gradient(180deg,rgba(14,17,22,0) 0%,rgba(28,12,17,.84) 34%,rgba(20,11,15,.98) 72%,#100b0d 100%)!important;
  }

  /* The content underneath softly recedes as the raid action comes up, like the reference. */
  .stream-grid:not(.list) .stream-card:hover .stream-card-tags{
    opacity:.20!important;
    transform:translateY(-2px)!important;
    filter:blur(.35px)!important;
  }
  .stream-grid:not(.list) .stream-card-tags{
    transition:opacity .17s ease,transform .22s ease,filter .22s ease!important;
  }

  /* Thumbnail gets a controlled darkening instead of a heavy red overlay. */
  .stream-grid:not(.list) .stream-card:hover .stream-thumb img{
    transform:scale(1.035)!important;
    filter:brightness(.84) saturate(.94)!important;
  }
  .stream-grid:not(.list) .stream-thumb img{
    transition:transform .34s cubic-bezier(.16,.82,.22,1),filter .28s ease!important;
  }

  /* Selected/open stream keeps only the thin APX border when the pointer leaves. */
  .stream-grid:not(.list) .stream-card.active:not(:hover) .stream-thumb-expand,
  .stream-grid:not(.list) .stream-card.active:not(:hover)>.stream-card-raid{
    opacity:0!important;
    pointer-events:none!important;
  }

  /* List layout uses the same principle: chat + raid slide in from the right only on hover. */
  .stream-grid.list .stream-card-chat{
    opacity:0!important;
    transform:translateX(7px) scale(.94)!important;
    pointer-events:none!important;
    transition:opacity .16s ease,transform .22s cubic-bezier(.2,.72,.25,1),background .18s ease,border-color .18s ease!important;
  }
  .stream-grid.list .stream-card:hover .stream-card-chat,
  .stream-grid.list .stream-card:focus-visible .stream-card-chat,
  .stream-grid.list .stream-card-chat:focus-visible{
    opacity:1!important;
    transform:none!important;
    pointer-events:auto!important;
  }
  .stream-grid.list .stream-card>.stream-card-raid{
    opacity:0!important;
    transform:translate(15px,-50%) scale(.96)!important;
    pointer-events:none!important;
  }
  .stream-grid.list .stream-card:hover>.stream-card-raid,
  .stream-grid.list .stream-card:focus-visible>.stream-card-raid,
  .stream-grid.list .stream-card>.stream-card-raid:focus-visible{
    opacity:1!important;
    transform:translate(0,-50%) scale(1)!important;
    pointer-events:auto!important;
  }
}

/* Touch devices cannot hover: keep essential controls directly usable. */
@media (max-width:900px), (hover:none), (pointer:coarse){
  .stream-live-badge,.stream-viewers{opacity:1!important;transform:none!important}
  .stream-card-chat{opacity:1!important;transform:none!important;pointer-events:auto!important}
}


/* V10.71 — Offline-Streamer immer sichtbar, mit eigener einmaliger Sidebar-Animation */
.offline-item{
  opacity:1;
  visibility:visible;
}
.offline-item.apx-offline-enter{
  animation:apxOfflineSidebarEnter .46s cubic-bezier(.16,.82,.2,1) var(--offline-enter-delay,0ms) both;
}
@keyframes apxOfflineSidebarEnter{
  from{opacity:0;transform:translate3d(14px,0,0) scale(.985);filter:blur(2px)}
  to{opacity:1;transform:none;filter:none}
}
@media(prefers-reduced-motion:reduce){
  .offline-item.apx-offline-enter{animation:none!important}
}


/* V10.72 — echte SVG-Icons für Stats, Hover und Raid */
.top-stat-icon,
.auto-update-icon,
.stream-live-badge,
.stream-viewers,
.stream-list-stats span,
.stream-raid-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.top-stat-icon svg{width:15px;height:15px;display:block}
.auto-update-icon svg{width:15px;height:15px;display:block}
.stream-ui-icon{width:13px;height:13px;display:block;flex:0 0 auto}
.stream-live-badge,.stream-viewers{gap:5px}
.stream-live-badge b,.stream-viewers b{font:inherit;color:inherit}
.stream-live-badge .stream-ui-icon{width:14px;height:14px}
.stream-viewers .stream-ui-icon{width:13px;height:13px}
.stream-list-stats span{gap:5px}
.stream-list-stats .stream-ui-icon{width:12px;height:12px;color:#8d97a5}
.stream-thumb-expand{
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  right:auto!important;
  bottom:auto!important;
  width:66px!important;
  height:66px!important;
  display:grid!important;
  place-items:center!important;
  color:#fff!important;
  background:transparent!important;
  text-shadow:none!important;
}
.stream-expand-svg{width:58px;height:58px;display:block;filter:drop-shadow(0 3px 8px rgba(0,0,0,.76))}
.stream-raid-icon{width:17px;height:17px}
.stream-raid-svg{width:16px;height:16px;display:block}
.stream-card>.stream-card-raid{gap:7px!important}
@media (min-width:901px) and (hover:hover) and (pointer:fine){
  .stream-grid:not(.list) .stream-thumb-expand{transform:translate(-50%,-50%) scale(.78)!important}
  .stream-grid:not(.list) .stream-card:hover .stream-thumb-expand,
  .stream-grid:not(.list) .stream-card:focus-visible .stream-thumb-expand{transform:translate(-50%,-50%) scale(1)!important}
  .stream-grid:not(.list) .stream-card:hover .stream-expand-svg{animation:apxExpandIconPop .34s cubic-bezier(.16,.82,.22,1) both}
}
@keyframes apxExpandIconPop{
  0%{opacity:0;transform:scale(.72)}
  70%{opacity:1;transform:scale(1.06)}
  100%{opacity:1;transform:scale(1)}
}
@media(max-width:900px),(hover:none),(pointer:coarse){
  .stream-thumb-expand{width:54px!important;height:54px!important}
  .stream-expand-svg{width:48px;height:48px}
}
@media(prefers-reduced-motion:reduce){.stream-expand-svg{animation:none!important}}


/* V10.111 mobile stream controls: wide drawer prevents overlapping labels */
@media(max-width:620px){.streams-sidebar{width:min(360px,88vw)!important}.streams-workspace.mobile-left-open .side-handle-left{left:min(360px,88vw)!important}.streams-workspace.mobile-right-open .side-handle-right{right:min(360px,88vw)!important}.sort-list{grid-template-columns:1fr!important}.streams-sidebar-left .side-section{padding:16px 14px!important}.side-search{width:100%!important;min-width:0!important}.segmented{width:100%!important}.streams-center{padding-left:14px!important;padding-right:14px!important}}
@media(max-width:430px){.streams-sidebar{width:92vw!important;min-width:0!important}.streams-workspace.mobile-left-open .side-handle-left{left:92vw!important}.streams-workspace.mobile-right-open .side-handle-right{right:92vw!important}}
