.watchstream-page {
    --ws-purple: #9146ff;
    --ws-purple-bright: #b786ff;
    --ws-cyan: #00d4ff;
    --ws-panel: rgba(12, 16, 31, 0.88);
    max-width: 1800px;
    margin: 0 auto;
    padding: 30px 20px 70px;
}

.watchstream-hero {
    position: relative;
    overflow: hidden;
    padding: 24px 28px;
    border: 1px solid rgba(145, 70, 255, 0.34);
    border-radius: 20px;
    background:
        radial-gradient(circle at 82% 10%, rgba(145, 70, 255, .28), transparent 40%),
        radial-gradient(circle at 8% 90%, rgba(0, 212, 255, .15), transparent 40%),
        linear-gradient(135deg, rgba(15, 19, 39, .98), rgba(23, 15, 44, .96));
    box-shadow: 0 15px 40px rgba(0, 0, 0, .28);
}

.watchstream-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .16;
    background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to left, #000, transparent 76%);
}

.watchstream-eyebrow,
.watchstream-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.watchstream-eyebrow {
    padding: 6px 12px;
    color: #d9c2ff;
    background: rgba(145,70,255,.13);
    border: 1px solid rgba(183,134,255,.28);
    font-size: .72rem;
}

.watchstream-eyebrow::before,
.watchstream-live-pill::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff3b5c;
    box-shadow: 0 0 0 5px rgba(255,59,92,.12);
    animation: ws-pulse 1.8s infinite;
}

.watchstream-hero h1 {
    max-width: 720px;
    margin: 10px 0 8px;
    color: #fff;
    font-size: clamp(1.4rem, 2.8vw, 2.2rem);
    line-height: 1.1;
    letter-spacing: -.03em;
}

.watchstream-hero h1 span {
    background: linear-gradient(100deg, var(--ws-cyan), #fff 45%, var(--ws-purple-bright));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.watchstream-hero p {
    max-width: 680px;
    margin: 0 0 8px;
    color: rgba(234,238,255,.72);
    font-size: .9rem;
    line-height: 1.5;
}

.watchstream-hero .watchstream-directory-note {
    max-width: 680px;
    padding: 6px 12px;
    border: 1px solid rgba(145,70,255,.22);
    border-radius: 9px;
    color: rgba(234,238,255,.65);
    background: rgba(145,70,255,.08);
    font-size: .78rem;
}

.watchstream-hero__actions { position:relative; z-index:1; display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-top:12px; }
.watchstream-hero__actions a { display:inline-flex; min-height:38px; align-items:center; justify-content:center; gap:8px; padding:8px 16px; border:1px solid rgba(255,255,255,.14); border-radius:10px; color:#fff; text-decoration:none; font-size:.8rem; font-weight:800; transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease; }
.watchstream-hero__actions a:hover { transform:translateY(-2px); border-color:rgba(255,255,255,.3); }
.watchstream-hero__room-button { background:linear-gradient(135deg,#00aeca,#206fe5); box-shadow:0 8px 20px rgba(0,174,202,.2); }
.watchstream-hero__twitch-button { background:linear-gradient(135deg,#9146ff,#6431d0); box-shadow:0 8px 20px rgba(145,70,255,.2); }
.watchstream-hero__twitch-button.is-connected { background:rgba(145,70,255,.14); }

.watchstream-stats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.watchstream-explainer {
    display:grid;
    grid-template-columns:minmax(0, 1.15fr) minmax(330px, .85fr);
    gap:clamp(22px,4vw,46px);
    align-items:center;
    margin:24px 0;
    padding:clamp(18px,3vw,34px);
    border:1px solid rgba(0,212,255,.2);
    border-radius:24px;
    background:
        radial-gradient(circle at 10% 80%,rgba(0,212,255,.1),transparent 35%),
        linear-gradient(135deg,rgba(13,20,36,.96),rgba(29,17,51,.94));
    box-shadow:0 20px 60px rgba(0,0,0,.24);
}
.watchstream-explainer__visual { position:relative; overflow:hidden; border:1px solid rgba(145,70,255,.4); border-radius:18px; box-shadow:0 18px 45px rgba(0,0,0,.35); }
.watchstream-explainer__visual img { display:block; width:100%; aspect-ratio:16/9; object-fit:cover; }
.watchstream-explainer__visual > span { position:absolute; left:13px; bottom:13px; display:inline-flex; align-items:center; gap:7px; padding:8px 11px; border:1px solid rgba(255,255,255,.16); border-radius:10px; color:#fff; background:rgba(7,10,20,.86); font-size:.72rem; font-weight:900; backdrop-filter:blur(12px); }
.watchstream-explainer__kicker { display:inline-flex; align-items:center; gap:7px; color:#b786ff; font-size:.73rem; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.watchstream-explainer__content h2 { margin:10px 0 10px; color:#fff; font-size:clamp(1.35rem,2.4vw,2.15rem); line-height:1.15; letter-spacing:-.035em; }
.watchstream-explainer__content > p { margin:0; color:rgba(255,255,255,.65); font-size:.9rem; line-height:1.65; }
.watchstream-explainer__content ol { display:grid; gap:9px; margin:18px 0; padding:0; list-style:none; }
.watchstream-explainer__content li { display:flex; align-items:center; gap:10px; color:rgba(255,255,255,.75); font-size:.82rem; }
.watchstream-explainer__content li > b { display:grid; width:28px; height:28px; flex:0 0 28px; place-items:center; border-radius:9px; color:#fff; background:linear-gradient(135deg,#00aeca,#9146ff); }
.watchstream-explainer__paths { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; margin:17px 0 3px; }
.watchstream-explainer__path { display:flex; min-width:0; align-items:center; gap:9px; padding:10px; border:1px solid rgba(255,255,255,.1); border-radius:11px; background:rgba(255,255,255,.035); }
.watchstream-explainer__path > span { display:grid; width:30px; height:30px; flex:0 0 30px; place-items:center; border-radius:9px; color:#fff; background:linear-gradient(135deg,#9146ff,#00aeca); }
.watchstream-explainer__path strong,.watchstream-explainer__path small { display:block; }
.watchstream-explainer__path strong { color:#fff; font-size:.74rem; }
.watchstream-explainer__path small { margin-top:2px; color:rgba(255,255,255,.55); font-size:.65rem; line-height:1.3; }
.watchstream-explainer__actions { display:flex; gap:9px; flex-wrap:wrap; }
.watchstream-explainer__cta { display:inline-flex; min-height:45px; align-items:center; justify-content:center; gap:8px; padding:10px 16px; border-radius:12px; color:#fff; background:linear-gradient(135deg,#9146ff,#6431d0); box-shadow:0 10px 28px rgba(145,70,255,.25); text-decoration:none; font-size:.82rem; font-weight:900; }
.watchstream-explainer__cta--secondary { border:1px solid rgba(0,212,255,.32); color:#8eeaff; background:rgba(0,212,255,.08); box-shadow:none; }

.watchstream-access-card {
    display:grid;
    grid-template-columns:auto minmax(0, 1fr) auto;
    gap:18px;
    align-items:center;
    margin:24px 0 0;
    padding:20px;
    border:1px solid rgba(145,70,255,.34);
    border-radius:20px;
    background:linear-gradient(135deg, rgba(145,70,255,.13), rgba(12,16,31,.92));
    outline:none;
}
.watchstream-access-card.is-highlighted { animation:ws-access-flash .7s ease; }
.watchstream-access-card__icon { display:grid; width:54px; height:54px; place-items:center; border-radius:16px; color:#fff; background:#9146ff; font-size:1.55rem; box-shadow:0 10px 30px rgba(145,70,255,.32); }
.watchstream-access-card span { color:#b786ff; font-size:.72rem; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.watchstream-access-card h2 { margin:3px 0 5px; color:#fff; font-size:1.06rem; }
.watchstream-access-card p { margin:0; color:rgba(255,255,255,.58); font-size:.82rem; line-height:1.5; }
.watchstream-access-card__cta { display:inline-flex; min-height:44px; align-items:center; justify-content:center; gap:8px; padding:10px 16px; border-radius:12px; color:#fff; background:linear-gradient(135deg,#9146ff,#6e2bd8); text-decoration:none; font-size:.82rem; font-weight:900; white-space:nowrap; }

.watchstream-stat {
    min-width: 130px;
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 14px;
    background: rgba(255,255,255,.05);
}

.watchstream-stat strong { display:block; color:#fff; font-size:1.2rem; }
.watchstream-stat span { color:rgba(234,238,255,.6); font-size:.78rem; }

.watchstream-toolbar {
    position: sticky;
    top: calc(var(--admin-bar-offset, 0px) + 78px);
    z-index: 50;
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 24px 0 18px;
    padding: 12px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 18px;
    background: rgba(10,14,27,.88);
    box-shadow: 0 14px 38px rgba(0,0,0,.24);
    backdrop-filter: blur(18px);
}

.watchstream-search {
    position: relative;
    flex: 1;
}

.watchstream-search i {
    position:absolute;
    left:16px;
    top:50%;
    transform:translateY(-50%);
    color:rgba(255,255,255,.45);
}

.watchstream-search input,
.watchstream-filter {
    width: 100%;
    height: 46px;
    color: #fff;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    background: rgba(255,255,255,.055);
    font: inherit;
}

.watchstream-search input { padding:0 16px 0 44px; }
.watchstream-filter { width:auto; min-width:160px; padding:0 36px 0 13px; }
.watchstream-search input:focus,
.watchstream-filter:focus { outline:none; border-color:var(--ws-purple); box-shadow:0 0 0 3px rgba(145,70,255,.16); }

.watchstream-grid {
    display:grid;
    grid-template-columns:repeat(auto-fill, minmax(300px, 1fr));
    gap:18px;
}

.stream-card {
    overflow:hidden;
    border:1px solid rgba(255,255,255,.085);
    border-radius:20px;
    background:var(--ws-panel);
    box-shadow:0 12px 38px rgba(0,0,0,.22);
    transition:transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.stream-card:hover {
    transform:translateY(-4px);
    border-color:rgba(145,70,255,.5);
    box-shadow:0 20px 50px rgba(0,0,0,.34);
}

.stream-card__visual {
    position:relative;
    aspect-ratio:16/9;
    overflow:hidden;
    background:linear-gradient(135deg, #1c2035, #29183d);
}

.stream-card__visual img {
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .35s ease;
}

.stream-card:hover .stream-card__visual img { transform:scale(1.035); }

.stream-card__offline {
    display:flex;
    height:100%;
    align-items:center;
    justify-content:center;
    color:rgba(255,255,255,.18);
    font-size:3rem;
    background:radial-gradient(circle, rgba(145,70,255,.18), transparent 60%);
}

.watchstream-live-pill {
    position:absolute;
    left:12px;
    top:12px;
    padding:6px 10px;
    color:#fff;
    background:#e9193f;
    font-size:.68rem;
    box-shadow:0 8px 22px rgba(233,25,63,.3);
}

.watchstream-demo-badge {
    position:absolute;
    left:12px;
    bottom:10px;
    padding:5px 8px;
    border:1px solid rgba(0,212,255,.45);
    border-radius:7px;
    color:#a8f1ff;
    background:rgba(5,18,29,.82);
    font-size:.62rem;
    font-weight:900;
    letter-spacing:.04em;
    text-transform:uppercase;
}

.watchstream-live-pill::before { width:6px; height:6px; background:#fff; box-shadow:none; }
.stream-card__viewers { position:absolute; right:12px; bottom:10px; padding:5px 9px; border-radius:8px; color:#fff; background:rgba(0,0,0,.72); font-size:.75rem; }

.stream-card__select {
    position:absolute;
    right:12px;
    top:12px;
    display:grid;
    width:40px;
    height:40px;
    place-items:center;
    border:1px solid rgba(255,255,255,.25);
    border-radius:12px;
    color:#fff;
    background:rgba(5,7,14,.72);
    cursor:pointer;
    transition:.18s ease;
}

.stream-card__select:hover,
.stream-card__select.is-selected { background:var(--ws-purple); border-color:var(--ws-purple-bright); transform:scale(1.04); }

.stream-card__body { padding:16px; }
.stream-card__creator { display:flex; gap:12px; align-items:center; }
.stream-card__tags { display:flex; flex-wrap:wrap; gap:6px; margin-top:10px; }
.stream-tag { display:inline-flex; align-items:center; padding:4px 8px; border-radius:999px; font-size:.72rem; font-weight:700; color:#e9e9f5; background:rgba(255,255,255,.09); border:1px solid rgba(255,255,255,.12); }
.stream-tag--sfida { color:#fde68a; background:rgba(245,158,11,.14); border-color:rgba(245,158,11,.3); }
.stream-tag--creator { color:#c4b5fd; background:rgba(139,92,246,.14); border-color:rgba(139,92,246,.3); }
.stream-tag--team { color:#86efac; background:rgba(34,197,94,.14); border-color:rgba(34,197,94,.3); }
.stream-tag--torneo { color:#7dd3fc; background:rgba(14,165,233,.14); border-color:rgba(14,165,233,.3); }
.stream-card__avatar { width:46px; height:46px; flex:0 0 46px; object-fit:cover; border-radius:14px; border:2px solid rgba(145,70,255,.45); }
.stream-card__avatar--fallback { display:grid; place-items:center; color:#fff; background:linear-gradient(135deg,var(--ws-cyan),var(--ws-purple)); font-weight:900; }
.stream-card__identity { min-width:0; flex:1; }
.stream-card__identity strong,
.stream-card__identity span { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.stream-card__identity strong { color:#fff; }
.stream-card__identity span { color:rgba(255,255,255,.52); font-size:.78rem; }
.stream-card__identity-link { width:100%; padding:0; border:0; text-align:left; background:transparent; color:inherit; cursor:pointer; }
.stream-card__identity-link:hover strong,
.stream-card__identity-link:focus-visible strong { color:#c99cff; text-decoration:underline; }
.stream-card__title { min-height:44px; margin:14px 0 8px; color:rgba(255,255,255,.88); font-size:.91rem; line-height:1.45; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.stream-card__meta { display:flex; gap:8px; align-items:center; color:var(--ws-purple-bright); font-size:.78rem; }
.stream-card__actions { display:flex; gap:8px; margin-top:15px; }
.stream-card__actions a,
.stream-card__watch,
.stream-card__demo-action {
    display:inline-flex;
    min-height:39px;
    align-items:center;
    justify-content:center;
    gap:7px;
    padding:8px 12px;
    border-radius:11px;
    text-decoration:none;
    font-size:.8rem;
    font-weight:800;
}
.stream-card__watch { flex:1; color:#fff; background:linear-gradient(135deg,#6e2bd8,var(--ws-purple)); }
.stream-card__actions a { color:rgba(255,255,255,.78); border:1px solid rgba(255,255,255,.1); background:rgba(255,255,255,.045); }
.stream-card__demo-action { color:#8eeaff; border:1px solid rgba(0,212,255,.16); background:rgba(0,212,255,.06); }

.watchstream-empty {
    display:none;
    padding:55px 20px;
    border:1px dashed rgba(255,255,255,.14);
    border-radius:20px;
    text-align:center;
    color:rgba(255,255,255,.6);
}

.multistream-dock {
    position:fixed;
    z-index:120;
    right:22px;
    bottom:22px;
    display:flex;
    max-width:min(680px, calc(100vw - 44px));
    align-items:center;
    gap:12px;
    padding:11px 12px 11px 16px;
    border:1px solid rgba(183,134,255,.38);
    border-radius:18px;
    background:rgba(15,12,29,.94);
    box-shadow:0 20px 60px rgba(0,0,0,.48);
    backdrop-filter:blur(20px);
    transform:translateY(140%);
    transition:transform .28s ease;
}
.multistream-dock.is-visible { transform:translateY(0); }
.multistream-dock__count { color:#fff; font-weight:900; white-space:nowrap; }
.multistream-dock__count span { color:var(--ws-purple-bright); }
.multistream-dock__channels { display:flex; gap:5px; overflow:hidden; }
.multistream-dock__avatar { width:30px; height:30px; flex:0 0 30px; object-fit:cover; border-radius:9px; border:1px solid rgba(255,255,255,.15); }
.multistream-dock button { min-height:40px; padding:8px 15px; border:0; border-radius:11px; color:#fff; background:linear-gradient(135deg,var(--ws-purple),#6131c8); font-weight:900; cursor:pointer; white-space:nowrap; }
.multistream-dock__clear { color:rgba(255,255,255,.58)!important; background:transparent!important; padding:8px!important; }

.multistream-stage { display:none; margin:24px 0; }
.multistream-stage.is-open { display:block; }
.single-stream-stage { scroll-margin-top:120px; }
.single-stream-player { grid-template-columns:minmax(0, 1fr); max-width:1180px; margin:0 auto; }
.multistream-stage__top { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; }
.multistream-stage__top h2 { margin:0; color:#fff; font-size:1.25rem; }
.multistream-stage__actions { display:flex; gap:8px; }
.multistream-stage__actions button { padding:9px 12px; border:1px solid rgba(255,255,255,.1); border-radius:10px; color:#fff; background:rgba(255,255,255,.055); cursor:pointer; }
.multistream-players { display:grid; grid-template-columns:repeat(var(--ws-columns, 2), minmax(0, 1fr)); gap:8px; }
.multistream-player { position:relative; overflow:hidden; aspect-ratio:16/9; border:1px solid rgba(145,70,255,.35); border-radius:14px; background:#05070e; }
.multistream-player iframe { width:100%; height:100%; border:0; display:block; }
.twitch-player-host { width:100%; height:100%; }
.twitch-player-host iframe { width:100%!important; height:100%!important; border:0; display:block; }
.multistream-player span { position:absolute; left:8px; top:8px; padding:4px 8px; border-radius:7px; color:#fff; background:rgba(0,0,0,.7); font-size:.7rem; font-weight:800; pointer-events:none; }
.multistream-demo-feed { display:flex; height:100%; align-items:center; justify-content:center; flex-direction:column; gap:5px; color:#fff; background-position:center; background-size:cover; text-align:center; animation:ws-demo-feed 4s ease-in-out infinite alternate; }
.multistream-demo-feed i { font-size:clamp(1.3rem,3vw,2.5rem); color:#00d4ff; text-shadow:0 4px 18px rgba(0,0,0,.6); }
.multistream-demo-feed strong { font-size:clamp(.65rem,1.4vw,1rem); letter-spacing:.08em; text-shadow:0 3px 10px #000; }
.multistream-demo-feed small { color:#d9c2ff; font-size:.58rem; font-weight:900; letter-spacing:.12em; }

.watchstream-multi-page { min-height:70vh; }
.watchstream-multi-header { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:22px; padding:24px; border:1px solid rgba(145,70,255,.3); border-radius:22px; background:linear-gradient(135deg,rgba(0,212,255,.08),rgba(145,70,255,.16)); }
.watchstream-multi-header h1 { margin:12px 0 2px; color:#fff; font-size:clamp(1.7rem,4vw,3rem); letter-spacing:-.04em; }
.watchstream-multi-header p { margin:0; color:rgba(255,255,255,.58); }
.watchstream-multi-actions { display:flex; gap:9px; flex-wrap:wrap; }
.watchstream-multi-actions a,
.watchstream-multi-actions button { display:inline-flex; min-height:42px; align-items:center; justify-content:center; gap:7px; padding:9px 14px; border:1px solid rgba(255,255,255,.12); border-radius:11px; color:#fff; background:rgba(255,255,255,.06); font:inherit; font-size:.8rem; font-weight:800; text-decoration:none; cursor:pointer; }
.watchstream-multi-actions [hidden] { display:none!important; }
.watchstream-multi-actions .watchstream-back-button { border-color:rgba(0,212,255,.34); background:rgba(0,212,255,.1); }
.watchstream-multi-actions .watchstream-expand-button { border-color:rgba(0,212,255,.5); background:linear-gradient(135deg,rgba(0,212,255,.22),rgba(145,70,255,.32)); box-shadow:0 10px 28px rgba(0,212,255,.12); }
.watchstream-room-grid { margin-top:0; display:grid; grid-template-columns:repeat(3, minmax(240px, 1fr)); gap:12px; overflow-x:visible; padding:2px; }
.watchstream-room-grid .multistream-player { position:relative; display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-rows:40px minmax(180px,1fr); min-width:0; min-height:280px; width:100%; aspect-ratio:auto; border-radius:12px; overflow:hidden; }
.watchstream-room-grid .multistream-player > iframe,
.watchstream-room-grid .multistream-player > .twitch-player-host,
.watchstream-room-grid .multistream-player > .multistream-demo-feed { grid-column:1 / -1; grid-row:2; width:100%; height:100%; }
.watchstream-room-grid .multistream-player > span { position:static; grid-column:1; grid-row:1; display:flex; min-width:0; align-items:center; overflow:hidden; padding:0 12px; border-radius:0; background:rgba(10,14,25,.98); font-size:.78rem; text-overflow:ellipsis; white-space:nowrap; }
.watchstream-cinema-toolbar { display:none; }
body.watchstream-cinema-open { overflow:hidden; }
.watchstream-multi-page.is-cinema { position:fixed; z-index:10000; inset:0; width:100vw; max-width:none; height:100vh; margin:0; padding:8px; overflow:hidden; background:radial-gradient(circle at top,#151d35 0,#070a12 48%,#03050a 100%); }
.watchstream-multi-page.is-cinema .watchstream-multi-header,
.watchstream-multi-page.is-cinema .watchstream-room-search { display:none; }
.watchstream-multi-page.is-cinema .watchstream-cinema-toolbar { position:absolute; z-index:20; top:12px; left:50%; display:flex; min-height:42px; align-items:center; gap:14px; padding:6px 7px 6px 14px; border:1px solid rgba(255,255,255,.16); border-radius:13px; color:#fff; background:rgba(5,8,15,.88); box-shadow:0 12px 35px rgba(0,0,0,.45); transform:translateX(-50%); backdrop-filter:blur(14px); }
.watchstream-multi-page.is-cinema .watchstream-cinema-toolbar strong { white-space:nowrap; font-size:.78rem; }
.watchstream-multi-page.is-cinema .watchstream-cinema-toolbar a,
.watchstream-multi-page.is-cinema .watchstream-cinema-toolbar button { min-height:30px; padding:6px 10px; border:0; border-radius:8px; color:#fff; background:rgba(145,70,255,.82); font:inherit; font-size:.72rem; font-weight:800; cursor:pointer; }
.watchstream-multi-page.is-cinema .watchstream-cinema-toolbar a { display:inline-flex; align-items:center; gap:6px; background:rgba(0,212,255,.18); text-decoration:none; }
.watchstream-multi-page.is-cinema .watchstream-room-grid { width:100%; height:100%; grid-template-columns:repeat(var(--ws-cinema-columns,3),minmax(0,1fr)); grid-template-rows:repeat(var(--ws-cinema-rows,var(--ws-rows)),minmax(0,1fr)); gap:5px; overflow:hidden; }
.watchstream-multi-page.is-cinema .watchstream-room-grid .multistream-player { grid-template-rows:minmax(0,1fr); min-width:0; min-height:0; aspect-ratio:auto; border-radius:7px; }
.watchstream-multi-page.is-cinema .watchstream-room-grid .multistream-player > iframe,
.watchstream-multi-page.is-cinema .watchstream-room-grid .multistream-player > .twitch-player-host,
.watchstream-multi-page.is-cinema .watchstream-room-grid .multistream-player > .multistream-demo-feed { grid-row:1; }
.watchstream-multi-page.is-cinema .watchstream-room-grid .multistream-player > span,
.watchstream-multi-page.is-cinema .watchstream-room-remove { display:none; }
.watchstream-room-remove { position:static; z-index:3; grid-column:2; grid-row:1; display:grid; width:31px; height:31px; margin:4px 6px 4px 0; padding:0; place-items:center; align-self:center; border:0; border-radius:8px; color:#fff; background:rgba(180,20,48,.85); text-decoration:none; cursor:pointer; }
.watchstream-empty--standalone h2 { color:#fff; }
.watchstream-empty--standalone .watchstream-access-card__cta { margin-top:14px; }

.watchstream-room-search { margin:20px 0 0; padding:18px; border:1px solid rgba(0,212,255,.18); border-radius:18px; background:rgba(13,18,32,.88); }
.watchroom-recents { margin:20px 0 0; padding:18px; border:1px solid rgba(145,70,255,.24); border-radius:18px; background:linear-gradient(135deg,rgba(145,70,255,.09),rgba(13,18,32,.9)); }
.watchroom-recents__heading { display:flex; align-items:flex-end; justify-content:space-between; gap:14px; }
.watchroom-recents__heading span { color:#c9a7ff; font-size:.7rem; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.watchroom-recents__heading h2 { margin:3px 0 0; color:#fff; font-size:1.08rem; }
.watchroom-recents__heading small { color:rgba(255,255,255,.5); font-size:.7rem; text-align:right; }
.watchroom-recents__empty { margin:12px 0 0; color:rgba(255,255,255,.52); font-size:.78rem; }
.watchroom-recents__list { display:flex; gap:8px; flex-wrap:wrap; margin:13px 0 0; padding:0; list-style:none; }
.watchroom-recent { display:inline-flex; min-width:0; overflow:hidden; border:1px solid rgba(183,134,255,.24); border-radius:11px; background:rgba(255,255,255,.045); }
.watchroom-recent button { min-height:40px; border:0; color:#fff; background:transparent; font:inherit; cursor:pointer; }
.watchroom-recent__add { display:inline-flex; min-width:0; align-items:center; gap:7px; padding:8px 11px; font-size:.76rem; font-weight:800; }
.watchroom-recent__add span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.watchroom-recent__add i { color:#b786ff; }
.watchroom-recent__remove { display:grid; width:36px; place-items:center; color:rgba(255,255,255,.58)!important; border-left:1px solid rgba(255,255,255,.08)!important; }
.watchroom-recent button:hover { background:rgba(145,70,255,.17); }
.watchroom-recent button:focus-visible { position:relative; z-index:1; outline:2px solid #8eeaff; outline-offset:-2px; }
.watchstream-room-search__heading { display:flex; align-items:center; justify-content:space-between; gap:15px; margin-bottom:14px; }
.watchstream-room-search__heading > div > span { color:#8eeaff; font-size:.7rem; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.watchstream-room-search__heading h2 { margin:3px 0 0; color:#fff; font-size:1.08rem; }
.watchstream-room-search__heading > strong { display:inline-flex; min-width:54px; height:38px; align-items:center; justify-content:center; gap:1px; border-radius:11px; color:#fff; background:rgba(145,70,255,.18); border:1px solid rgba(145,70,255,.3); }
.watchstream-room-search__heading > strong > span { color:inherit; font-size:inherit; font-weight:inherit; letter-spacing:normal; text-transform:none; }
.watchstream-room-search__field { position:relative; display:block; }
.watchstream-room-search__bar { display:grid; grid-template-columns:minmax(0,1fr); gap:9px; align-items:center; }
.watchstream-room-search__field > i { position:absolute; left:14px; top:50%; transform:translateY(-50%); color:rgba(255,255,255,.4); }
.watchstream-room-search__field input { width:100%; height:44px; padding:0 14px 0 41px; border:1px solid rgba(255,255,255,.1); border-radius:11px; color:#fff; background:rgba(255,255,255,.05); font:inherit; font-size:.84rem; }
.watchstream-room-search__field input:focus { outline:none; border-color:#9146ff; box-shadow:0 0 0 3px rgba(145,70,255,.15); }
.watchstream-room-search__external { display:inline-flex; min-height:44px; align-items:center; justify-content:center; gap:7px; padding:0 14px; border:1px solid rgba(145,70,255,.48); border-radius:11px; color:#fff; background:linear-gradient(135deg,rgba(145,70,255,.34),rgba(85,40,160,.48)); font:inherit; font-size:.76rem; font-weight:900; cursor:pointer; }
.watchstream-room-search__hint { margin:7px 0 0; color:rgba(255,255,255,.48); font-size:.72rem; }
.watchstream-room-external { display:grid; grid-template-columns:minmax(230px,.8fr) minmax(360px,1.2fr); gap:14px; align-items:center; margin-top:14px; padding:14px; border:1px solid rgba(145,70,255,.3); border-radius:14px; background:linear-gradient(135deg,rgba(145,70,255,.1),rgba(0,212,255,.045)); }
.watchstream-room-external__intro { display:flex; min-width:0; align-items:center; gap:11px; }
.watchstream-room-external__icon { display:grid; width:42px; height:42px; flex:0 0 42px; place-items:center; border-radius:12px; color:#fff; background:linear-gradient(135deg,#9146ff,#6431d0); box-shadow:0 9px 24px rgba(145,70,255,.22); }
.watchstream-room-external__intro strong,
.watchstream-room-external__intro small { display:block; }
.watchstream-room-external__intro strong { color:#fff; font-size:.84rem; }
.watchstream-room-external__intro small { margin-top:3px; color:rgba(255,255,255,.55); font-size:.7rem; line-height:1.4; }
.watchstream-room-external__form { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:9px; }
.watchstream-room-external__lookup { position:relative; min-width:0; }
.watchstream-room-external__suggestions { position:absolute; z-index:30; top:calc(100% + 7px); right:0; left:0; max-height:310px; padding:6px; overflow-y:auto; border:1px solid rgba(145,70,255,.38); border-radius:13px; background:rgba(8,11,21,.98); box-shadow:0 20px 55px rgba(0,0,0,.55); backdrop-filter:blur(16px); }
.watchstream-room-external__suggestions[hidden] { display:none!important; }
.watchstream-room-external__suggestion { display:grid; width:100%; grid-template-columns:auto minmax(0,1fr) auto; gap:10px; align-items:center; padding:9px; border:0; border-radius:10px; color:#fff; background:transparent; font:inherit; text-align:left; cursor:pointer; }
.watchstream-room-external__suggestion:hover,
.watchstream-room-external__suggestion:focus-visible { outline:none; background:rgba(145,70,255,.16); }
.watchstream-room-external__suggestion-avatar { display:grid; width:38px; height:38px; place-items:center; overflow:hidden; border-radius:10px; color:#fff; background:linear-gradient(135deg,#9146ff,#00aeca); font-size:.85rem; font-weight:900; }
.watchstream-room-external__suggestion-avatar img { width:100%; height:100%; object-fit:cover; }
.watchstream-room-external__suggestion-copy { min-width:0; }
.watchstream-room-external__suggestion-copy strong,
.watchstream-room-external__suggestion-copy small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.watchstream-room-external__suggestion-copy strong { font-size:.78rem; }
.watchstream-room-external__suggestion-copy small { margin-top:2px; color:rgba(255,255,255,.5); font-size:.65rem; }
.watchstream-room-external__suggestion-live { padding:4px 7px; border-radius:7px; color:#fff; background:#e9193f; font-size:.58rem; font-weight:900; letter-spacing:.08em; }
.watchstream-room-external__suggestion-live.is-offline { color:rgba(255,255,255,.65); background:rgba(255,255,255,.1); }
.watchstream-room-search__results { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; max-height:250px; margin-top:10px; overflow:auto; }
.watchstream-room-search__result { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:10px; align-items:center; padding:9px; border:1px solid rgba(255,255,255,.07); border-radius:11px; background:rgba(255,255,255,.035); }
.watchstream-room-search__result[hidden] { display:none; }
.watchstream-room-search__avatar { display:grid; width:36px; height:36px; place-items:center; border-radius:10px; color:#fff; background:linear-gradient(135deg,#00aeca,#9146ff); font-weight:900; }
.watchstream-room-search__result div { min-width:0; }
.watchstream-room-search__result strong,
.watchstream-room-search__result small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.watchstream-room-search__result strong { color:#fff; font-size:.82rem; }
.watchstream-room-search__result small { color:rgba(255,255,255,.5); font-size:.68rem; }
.watchstream-room-search__result a,
.watchstream-room-search__result button { display:inline-flex; align-items:center; gap:5px; padding:7px 9px; border:0; border-radius:9px; color:#fff; background:rgba(145,70,255,.2); text-decoration:none; font:inherit; font-size:.7rem; font-weight:900; cursor:pointer; }
.watchstream-room-search__empty,
.watchstream-room-search__limit { margin:11px 0 0; color:rgba(255,255,255,.55); font-size:.78rem; }
.watchstream-room-search__limit { padding:11px; border-radius:10px; color:#8eeaff; background:rgba(0,212,255,.06); }
.watchstream-room-search [hidden] { display:none!important; }

.watchstream-modal[hidden] { display:none; }
.watchstream-modal { position:fixed; z-index:100000; inset:0; display:grid; place-items:center; padding:18px; }
.watchstream-modal__backdrop { position:absolute; inset:0; width:100%; height:100%; border:0; background:rgba(2,5,13,.78); backdrop-filter:blur(9px); cursor:pointer; }
.watchstream-modal__dialog { position:relative; z-index:1; width:min(470px,100%); padding:32px; border:1px solid rgba(183,134,255,.45); border-radius:24px; color:#fff; background:radial-gradient(circle at 50% 0,rgba(145,70,255,.25),transparent 43%),linear-gradient(155deg,#15182c,#0d101e); box-shadow:0 35px 100px rgba(0,0,0,.65); text-align:center; animation:ws-modal-in .22s ease-out; }
.watchstream-modal__close { position:absolute; right:14px; top:14px; display:grid; width:36px; height:36px; place-items:center; border:1px solid rgba(255,255,255,.1); border-radius:10px; color:rgba(255,255,255,.7); background:rgba(255,255,255,.055); cursor:pointer; }
.watchstream-modal__icon { display:grid; width:64px; height:64px; margin:0 auto 14px; place-items:center; border-radius:19px; color:#fff; background:linear-gradient(135deg,#9146ff,#6530ca); box-shadow:0 14px 35px rgba(145,70,255,.35); font-size:1.8rem; }
.watchstream-modal__dialog > span { color:#b786ff; font-size:.7rem; font-weight:900; letter-spacing:.1em; text-transform:uppercase; }
.watchstream-modal__dialog h2 { margin:8px 0 8px; font-size:clamp(1.45rem,4vw,2rem); letter-spacing:-.035em; }
.watchstream-modal__dialog p { margin:0; color:rgba(255,255,255,.65); font-size:.9rem; line-height:1.6; }
.watchstream-modal__example { display:flex; align-items:center; justify-content:center; gap:10px; margin:20px 0; padding:13px; border:1px solid rgba(0,212,255,.17); border-radius:13px; color:#8eeaff; background:rgba(0,212,255,.055); font-size:.82rem; }
.watchstream-modal__example .fa-arrow-right { color:rgba(255,255,255,.35); font-size:.7rem; }
.watchstream-modal__cta { display:flex; min-height:48px; align-items:center; justify-content:center; gap:9px; border-radius:13px; color:#fff; background:linear-gradient(135deg,#9146ff,#6530ca); box-shadow:0 12px 32px rgba(145,70,255,.28); text-decoration:none; font-size:.87rem; font-weight:900; }
.watchstream-modal__later { margin-top:12px; padding:7px 12px; border:0; color:rgba(255,255,255,.48); background:transparent; font:inherit; font-size:.78rem; cursor:pointer; }
.watchstream-modal-open { overflow:hidden; }

@keyframes ws-pulse { 50% { opacity:.45; transform:scale(.84); } }
@keyframes ws-access-flash { 50% { border-color:#b786ff; box-shadow:0 0 0 5px rgba(145,70,255,.15), 0 18px 50px rgba(145,70,255,.2); } }
@keyframes ws-demo-feed { to { filter:saturate(1.3) brightness(1.08); background-position:52% 48%; } }
@keyframes ws-modal-in { from { opacity:0; transform:translateY(12px) scale(.97); } }

@media (max-width: 780px) {
    .watchstream-page { padding:18px 12px 90px; }
    .watchstream-hero { border-radius:21px; }
    .watchstream-hero__actions a { width:100%; }
    .watchstream-explainer { grid-template-columns:1fr; border-radius:20px; }
    .watchstream-explainer__paths { grid-template-columns:1fr; }
    .watchstream-explainer__actions > a { flex:1 1 100%; }
    .watchstream-toolbar { top:calc(var(--admin-bar-offset, 0px) + 66px); flex-wrap:wrap; }
    .watchstream-search { flex-basis:100%; }
    .watchstream-filter { flex:1; min-width:0; }
    .watchstream-grid { grid-template-columns:1fr; }
    .watchstream-access-card { grid-template-columns:auto 1fr; }
    .watchstream-access-card__cta { grid-column:1 / -1; width:100%; }
    .multistream-players { grid-template-columns:minmax(280px,1fr)!important; }
    .multistream-dock { right:12px; bottom:12px; max-width:calc(100vw - 24px); }
    .multistream-dock__count { min-width:0; white-space:normal; }
    .multistream-dock__channels { display:none; }
    .multistream-stage__top { align-items:flex-start; flex-direction:column; }
    .watchstream-multi-header { align-items:flex-start; flex-direction:column; }
    .watchstream-multi-actions { width:100%; }
    .watchstream-multi-actions > * { flex:1; }
    .watchstream-room-search__results { grid-template-columns:1fr; }
    .watchroom-recents__heading { align-items:flex-start; flex-direction:column; }
    .watchroom-recents__heading small { text-align:left; }
    .watchroom-recents__list { display:grid; grid-template-columns:minmax(0,1fr); }
    .watchroom-recent__add { flex:1; }
    .watchstream-room-search__bar { grid-template-columns:1fr; }
    .watchstream-room-search__external { width:100%; }
    .watchstream-room-external,
    .watchstream-room-external__form { grid-template-columns:1fr; }
}

@media (min-width:781px) and (max-width:1100px) {
    .watchstream-room-grid { grid-template-columns:repeat(2,minmax(260px,1fr)); }
}
