/* Watch is a browsing surface: persistent navigation, topic chips, then videos. */
.watch-library{--bg:#0f0f0f;--surface:#181818;--surface2:#252525;--surface-hover:#333;--border:#ffffff1c;--text:#f1f1f1;--dim:#b8b8b8;--faint:#aaa;--red:#ef5350;--red-link:#ff7774;--red-deep:#d93e3b;font-family:'Inter',Arial,sans-serif;background:var(--bg);color:var(--text)}
[data-theme="light"] .watch-library{--bg:#fff;--surface:#f8f8f8;--surface2:#f0f0f0;--surface-hover:#e5e5e5;--border:#0000001c;--text:#161616;--dim:#606060;--faint:#676767;--red:#c92b2b;--red-link:#bc2424;--red-deep:#ad2020}
.watch-library [hidden]{display:none!important}
.watch-library .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.watch-skip{position:fixed;left:20px;top:-80px;z-index:10000;background:var(--text);color:var(--bg);padding:12px 18px;border-radius:8px}
.watch-skip:focus{top:12px}
.watch-library a:focus-visible,.watch-library button:focus-visible{outline:2px solid var(--red);outline-offset:4px}
.watch-sidebar{position:fixed;top:70px;left:14px;width:192px;bottom:86px;overflow-y:auto;padding:10px 0;scrollbar-width:thin}
.watch-nav{display:grid;gap:5px}
.watch-nav a,.watch-channels a{display:flex;align-items:center;gap:13px;min-height:44px;padding:10px 13px;border-radius:9px;color:var(--text);font-size:13px;line-height:1.3;text-decoration:none}
.watch-nav svg{width:21px;height:21px;flex:none}
.watch-nav a:hover,.watch-channels a:hover{background:var(--surface2)}
.watch-nav a[aria-current="page"]{background:var(--surface2);font-weight:750}
.watch-nav a[aria-current="page"] svg{color:var(--red)}
.watch-channels{margin-top:24px;padding-top:22px;border-top:1px solid var(--border)}
.watch-nav-label{padding:0 13px 12px;color:var(--dim);font-size:11px;font-weight:650;letter-spacing:.05em;text-transform:uppercase}
.watch-channels a{font-size:12px;gap:10px;padding:9px 10px}
.channel-mark{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;flex:none;font-size:12px;font-weight:800;color:#fff;background:#474747;letter-spacing:-.03em}
.watch-channels .channel-mark{width:27px;height:27px;font-size:10px}
.channel-mark.iq{background:#d43c37}.channel-mark.ox{background:#183a58}.channel-mark.ju{background:#e8cc50;color:#161616}.channel-mark.ot{background:#3232ad}.channel-mark.em{background:#646a43;font-size:10px}.channel-mark.ps{background:#426369}
.watch-side-invite{border-top:1px solid var(--border);margin-top:24px;padding:24px 13px;font-size:12px;line-height:1.6}
.watch-side-invite b{font-size:13px}.watch-side-invite p{color:var(--faint);margin:6px 0 13px}.watch-side-invite a{font-weight:700;color:var(--red-link);text-decoration:none}.watch-side-invite a span{margin-left:6px}
.watch-library .wrap{width:auto;max-width:1770px;margin:0 32px 0 236px;padding:0 0 100px}
.watch-library .page-head{max-width:none;padding:78px 0 20px;margin:0;border:0;background:none;box-shadow:none}
.watch-masthead{display:flex;align-items:center;gap:28px}
.watch-library .page-title{font-family:'Inter',Arial,sans-serif!important;font-size:28px;line-height:1.2;letter-spacing:-1px;font-weight:800;margin:0}
.watch-title-dot{color:var(--red)}
.watch-search{display:flex;width:min(560px,100%);margin:0 auto;border:1px solid var(--border);border-radius:100px;overflow:hidden;background:var(--bg)}
.watch-search:focus-within{border-color:var(--red);box-shadow:0 0 0 1px var(--red)}
.watch-search input{background:none;color:var(--text);font:400 14px/1.4 'Inter',Arial,sans-serif;padding:11px 20px;width:100%;min-width:0;border:0;outline:0}
.watch-search input::placeholder{color:var(--faint)}
.watch-search button{border:0;border-left:1px solid var(--border);background:var(--surface2);color:var(--text);width:60px;flex:none;display:grid;place-items:center;cursor:pointer}
.watch-search button:hover{background:var(--surface-hover)}
.watch-search svg{width:21px;height:21px}
.watch-library .watch-join{display:inline-flex;align-items:center;gap:10px;flex:none;padding:11px 16px;min-height:42px;border-radius:100px;background:var(--surface2);font-size:12px;font-weight:750;text-decoration:none;color:var(--text)}
.watch-join:hover{background:var(--surface-hover)}
.watch-filters{position:sticky;top:52px;z-index:20;display:flex;gap:8px;padding:10px 0 20px;background:var(--bg);overflow-x:auto;scrollbar-width:none}
.watch-filters::-webkit-scrollbar{display:none}
.topic-chip{border:0;border-radius:8px;flex:none;background:var(--surface2);color:var(--text);padding:9px 13px;font:650 12px/1.2 'Inter',Arial,sans-serif;white-space:nowrap;cursor:pointer}
.topic-chip:hover{background:var(--surface-hover)}
.topic-chip[aria-pressed="true"]{background:var(--text);color:var(--bg)}
.watch-results:focus{outline:none}.watch-result-count:empty{display:none}.watch-result-count{color:var(--dim);font-size:13px;margin:0 0 20px}
.watch-empty{padding:65px 20px;text-align:center}.watch-empty h2{font-size:22px}.watch-empty p{color:var(--dim);font-size:14px;margin:12px 0 22px}
.watch-library .watch-cols{display:block;margin:0}
.watch-library .watch-main,.watch-library .watch-rail{min-width:0}
.watch-library .yt-sec{padding:0;margin:0;background:none;border:0}
.library-section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:8px 0 22px}
.library-section-head h2,.watch-library .rail-head h2{font-size:20px;line-height:1.35;font-weight:750;letter-spacing:-.45px}
.library-section-head p{color:var(--faint);font-size:12px;line-height:1.6;margin-top:5px}
.library-curated{font-size:11px;color:var(--faint);white-space:nowrap}
.watch-library .yt-grid,.watch-library .rail-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 18px;max-height:none;overflow:visible;padding:0;margin:0;align-items:start}
.yt-card{display:block;min-width:0;text-decoration:none;color:var(--text)}
.yt-thumb{display:block;position:relative;aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:var(--surface2)}
.yt-thumb img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .2s ease}
.yt-card:hover .yt-thumb img{transform:scale(1.025)}
.yt-dur{position:absolute;right:8px;bottom:8px;padding:3px 5px;border-radius:4px;background:#000d;color:#fff;font:650 11px/1 'Inter',Arial,sans-serif;font-variant-numeric:tabular-nums}
.yt-kind{position:absolute;left:9px;top:9px;border-radius:4px;background:#000c;color:#fff;padding:5px 7px;font-size:10px;font-weight:650;line-height:1}
.yt-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#0009;color:#fff;font-size:18px;padding-left:3px;opacity:0;transition:opacity .15s}
.yt-open{position:absolute;bottom:9px;left:9px;color:#fff;background:#000d;border-radius:4px;padding:4px 7px;font-size:10px;font-weight:600;opacity:0;transition:opacity .15s}
.yt-card:hover .yt-play,.yt-card:focus-visible .yt-play,.yt-card:hover .yt-open,.yt-card:focus-visible .yt-open{opacity:1}
.yt-body{display:flex;gap:11px;padding:12px 0 0}.yt-copy{min-width:0}
.yt-card h3{font:650 14px/1.45 'Inter',Arial,sans-serif;letter-spacing:-.15px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0 0 5px}
.yt-channel{font-size:11.5px;color:var(--dim);line-height:1.6}
.yt-description{color:var(--faint);font-size:11.5px;line-height:1.5;margin-top:2px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.yt-note{font-size:11px;line-height:1.6;color:var(--faint);margin-top:26px;padding-bottom:32px;border-bottom:1px solid var(--border)}
.watch-library .watch-rail{position:static;margin-top:30px;padding:0;border:0;background:none}
.watch-library .rail-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px}
.gallery-title-link{text-decoration:none;color:inherit}.gallery-title-link:hover{text-decoration:underline;text-underline-offset:3px}
.gallery-open{color:var(--dim);font-size:12px;font-weight:600;text-decoration:none;white-space:nowrap}.gallery-open:hover{color:var(--text)}
.gallery-open span{margin-left:5px}.rail-actions{display:flex;gap:10px}
.watch-library .feed-chips{margin:0 0 9px;padding:0 0 10px}
.watch-library .fchip{font-size:12px;border:0;border-radius:7px;padding:8px 12px}
.watch-library .rail-list .card{display:block;min-width:0;padding:0;margin:0;width:auto;border:0;background:none}
.watch-library .rail-list .thumb{border-radius:12px}
.watch-library .card-body{padding-top:12px}
.watch-library .card h3{font-size:14px;font-weight:650;line-height:1.45}
.watch-library .card .foot{font-size:11.5px;line-height:1.6}
.watch-library .card-moment{display:none}
.watch-library .feed-empty{grid-column:1/-1;padding:28px 0;font-size:14px;line-height:1.6}
.watch-library .feed-empty .btn{margin-left:10px}
.watch-library .wait-banner{display:none;border:0;background:var(--surface2);box-shadow:none;margin:0 0 20px;padding:16px 18px}
.watch-library .wait-banner.live{display:none}
.watch-library .live-strip{margin:0 0 24px}
.watch-library .live-band{margin:0 0 28px}
.watch-library .player-card{margin:0 0 30px}
.watch-library .watch-reference{margin-top:36px;border-top:1px solid var(--border)}
.watch-library footer{border:0;font-size:12px;margin-top:26px;padding:12px 0;color:var(--faint)}
html[data-watch-view="youtube"] .watch-rail,html[data-watch-view="youtube"] .live-strip,html[data-watch-view="youtube"] .live-band,
html[data-watch-view="debatable"] .watch-main,html[data-watch-view="debatable"] .live-strip,html[data-watch-view="debatable"] .live-band,
html[data-watch-view="live"] .watch-cols,html[data-watch-view="live"] .watch-filters,html[data-watch-view="live"] .watch-results{display:none}
html[data-watch-view="debatable"] .watch-rail{margin-top:8px}
html[data-watch-view="live"] .watch-library .wait-banner{display:flex;margin-top:12px}
html[data-watch-view="live"] .watch-library .wait-banner .wait-dot{background:var(--faint);box-shadow:none;animation:none}
html[data-watch-view="live"] .watch-library .wait-banner.live .wait-dot{background:var(--red)}
html.dbnative .watch-library .page-head{padding-top:22px}
html.dbnative .watch-sidebar{top:calc(env(safe-area-inset-top,0px) + 16px)}
@media(min-width:1800px){.watch-library .yt-grid,.watch-library .rail-list{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1150px){.watch-library .wrap{margin-left:100px;margin-right:24px}.watch-sidebar{width:66px;left:12px}.watch-nav a{flex-direction:column;gap:7px;font-size:9px;padding:12px 0;text-align:center}.watch-channels,.watch-side-invite{display:none}.watch-library .yt-grid,.watch-library .rail-list{grid-template-columns:repeat(2,minmax(0,1fr))}.library-curated{display:none}.watch-masthead{gap:20px}.watch-search{max-width:440px}}
@media(max-width:720px){.watch-sidebar{position:static;width:auto;height:auto;bottom:auto;margin:58px 16px 0;padding:0;overflow:visible}.watch-nav{display:flex;gap:5px;border-bottom:1px solid var(--border);padding-bottom:10px;overflow-x:auto;scrollbar-width:none}.watch-nav a{flex-direction:row;justify-content:center;gap:7px;padding:9px 10px;font-size:11px;white-space:nowrap;min-height:38px}.watch-nav svg{width:17px;height:17px}.watch-library .wrap{margin:0 18px;padding-bottom:96px}.watch-library .page-head{padding:19px 0 12px}.watch-masthead{display:grid;grid-template-columns:1fr auto;gap:14px}.watch-library .page-title{font-size:25px}.watch-search{grid-column:1/-1;grid-row:2;max-width:none;width:100%}.watch-search input{font-size:16px;padding:11px 16px}.watch-search button{width:52px}.watch-library .watch-join{grid-column:2;grid-row:1;font-size:11px;padding:10px 13px;min-height:36px}.watch-filters{top:47px;padding:10px 0 16px;margin-right:-2px;gap:7px}.topic-chip{font-size:11px;padding:9px 11px}.library-section-head{margin:6px 0 18px}.library-section-head h2,.watch-library .rail-head h2{font-size:18px}.library-section-head p{font-size:11px}.watch-library .yt-grid,.watch-library .rail-list{gap:27px 14px}.yt-body{gap:9px}.yt-body .channel-mark{width:30px;height:30px;font-size:11px}.yt-card h3{font-size:13px}.yt-description{display:none}.yt-channel{font-size:11px}.watch-library .rail-head{align-items:baseline}.gallery-open{font-size:11px}html.dbnative .watch-sidebar{margin-top:14px}html.dbnative .watch-library .page-head{padding-top:18px}html.dbnative .watch-filters{top:env(safe-area-inset-top,0px)}}
@media(max-width:520px){.watch-library .yt-grid,.watch-library .rail-list{grid-template-columns:minmax(0,1fr);gap:27px}.yt-card h3{font-size:15px}.yt-channel{font-size:12px}.yt-description{display:-webkit-box;font-size:12px;-webkit-line-clamp:1}.yt-body .channel-mark{width:36px;height:36px;font-size:12px}.yt-body{gap:12px}.yt-kind{font-size:11px}.yt-dur{font-size:12px}.watch-nav a{flex:1;flex-direction:column;padding:8px 4px;font-size:10px;gap:5px}.watch-library .card h3{font-size:15px}.watch-library .card .foot{font-size:12px}}
@media(prefers-reduced-motion:reduce){.yt-thumb img,.yt-play,.yt-open{transition:none}.watch-library{scroll-behavior:auto}}

.watch-result-row{display:flex;align-items:baseline;gap:16px;justify-content:space-between}
.watch-reset{border:0;background:none;color:var(--red-link);font:650 12px 'Inter',Arial,sans-serif;cursor:pointer;white-space:nowrap;margin-bottom:20px}
html[data-watch-view="live"] .watch-search{display:none}
@media(max-width:520px){.watch-library .page-title{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.watch-library .watch-join{display:none}.watch-masthead{display:block}.watch-library .page-head{padding-top:16px}.watch-search{margin:0}.library-section-head{margin-top:4px;margin-bottom:16px}}

html[data-watch-view="debatable"] .gallery-open{display:none}

/* Collections name the outside videos, not formats available in a live room. */
.watch-collections{display:flex;gap:24px;overflow-x:auto;border-bottom:1px solid var(--border);scrollbar-width:none;margin-bottom:6px}
.watch-collections button{position:relative;flex:none;white-space:nowrap;color:var(--dim);background:none;border:0;border-bottom:3px solid transparent;padding:13px 0;font:650 13px/1.3 'Inter',Arial,sans-serif;cursor:pointer}
.watch-collections button:hover{color:var(--text)}
.watch-collections button[aria-pressed="true"]{color:var(--text);border-bottom-color:var(--red)}
.watch-more{display:block;margin:30px auto 0;min-height:44px;padding:11px 24px;border:1px solid var(--border);border-radius:24px;color:var(--text);background:var(--surface2);font:650 13px 'Inter',Arial,sans-serif;cursor:pointer}
.watch-more:hover{background:var(--surface-hover)}
.channel-mark.tw{background:#6441a5}
.twitch-sources{display:flex;gap:16px;align-items:center;margin-top:26px;padding:18px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}
.twitch-sources strong{font-size:14px}.twitch-sources p{font-size:12px;line-height:1.6;color:var(--dim);margin-top:6px}.twitch-sources a{color:var(--text);text-underline-offset:3px}
/* A round is a matchup first. The faces get a larger stage, the text its own space. */
.watch-library .watch-cols{display:flex;flex-direction:column;gap:36px}
.watch-library .watch-rail{margin-top:0;margin-bottom:0;padding-bottom:34px;border-bottom:1px solid var(--border)}
.watch-library .rail-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 24px}
.watch-library .rail-head h2{font-size:23px;letter-spacing:-.65px}
.watch-library .replay-card .thumb{border-radius:12px 12px 0 0;background:#16161a}
.watch-library .replay-card .thumb::before{background:linear-gradient(180deg,rgba(0,0,0,.08),transparent 24%,transparent 80%,rgba(0,0,0,.1))}
.watch-library .replay-card .th-img{opacity:1;transition:transform .25s;transform:scale(1.015)}
.watch-library .replay-card:hover .th-img{opacity:1;transform:scale(1.04)}
.watch-library .replay-card .th-tag{top:10px;left:10px;padding:5px 8px;font-size:10px;border:0;border-radius:4px;background:#101014dd;letter-spacing:.05em}
.watch-library .replay-card .th-dur{right:10px;bottom:10px;font-size:12px;padding:5px 6px;border-radius:4px}
.watch-library .replay-card .th-play{width:48px;height:48px;margin:-24px 0 0 -24px;background:#111b;border:1px solid #ffffff80;box-shadow:none}
.replay-matchup{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:14px;border-radius:0 0 12px 12px;padding:12px 15px;background:var(--surface2)}
.replay-person{min-width:0;display:flex;flex-direction:column;gap:4px}.replay-person.against{text-align:right}
.replay-person small{font-size:9px;line-height:1;font-weight:750;letter-spacing:.1em;text-transform:uppercase;color:var(--dim)}
.replay-person small::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:#72b9b0;margin-right:6px;vertical-align:1px}
.replay-person.against small::before{background:#f18e85}
.replay-person b{font-size:13px;line-height:1.35;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.replay-versus{font-size:11px;font-weight:800;font-style:italic;color:var(--faint)}
.watch-library .replay-card .card-body{padding:15px 1px 0}
.replay-resolution{display:block;font-size:10px;font-weight:650;letter-spacing:.09em;text-transform:uppercase;color:var(--faint);margin-bottom:6px}
.watch-library .replay-card h3{display:block;font-size:18px;line-height:1.4;letter-spacing:-.25px;overflow:visible;-webkit-line-clamp:unset;font-weight:650}
.watch-library .replay-card .foot{flex-direction:row;justify-content:space-between;align-items:center;gap:14px;margin-top:10px;font-size:11.5px}
.watch-library .replay-watch{color:var(--text);font-weight:650;flex:none}.watch-library .replay-watch span{margin-left:3px}
@media(max-width:720px){.watch-collections{gap:22px;margin-right:-2px}.watch-collections button{font-size:12px;padding:11px 0}.watch-library .watch-cols{gap:28px}.watch-library .rail-head h2{font-size:20px}.watch-library .rail-list{grid-template-columns:minmax(0,1fr);gap:28px}.watch-library .replay-card h3{font-size:17px}.twitch-sources{align-items:flex-start}.watch-library .watch-rail{padding-bottom:28px}}
@media(prefers-reduced-motion:reduce){.watch-library .replay-card .th-img{transition:none;transform:none}.watch-library .replay-card:hover .th-img{transform:none}}
