.watch-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:start}
.watch-layout .watch{min-width:0;width:100%;max-width:none;margin:0}
.watch-layout .watch video{display:block;max-height:65vh}
.watch-layout h1{font-size:clamp(24px,2.7vw,36px)}
.watch-layout .watch-details,.watch-comments,.watch-queue{background:rgba(255,255,255,.97);border:1px solid #dfe5ee;border-radius:12px}
.watch-layout .watch-details{margin-top:14px;padding:20px}
.quality-control{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.watch .quality-control select{margin:0;max-width:100%}
.reaction-bar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:18px}
.reaction-bar button{display:inline-flex;align-items:center;gap:8px;background:#f3f6fc;color:#24334b}
.reaction-bar svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;flex-shrink:0}
.thumb-down{transform:rotate(180deg)}
.reaction-bar button[aria-pressed=true]{background:#e3ecff;border-color:#2457d6;color:#123fbb;box-shadow:inset 0 0 0 1px #2457d6}
.watch-layout button:disabled{opacity:.5;cursor:default}
.interaction-signin{color:#1745b1;text-decoration:underline;line-height:1.6}
.interaction-status,.list-status{min-height:24px;font-size:14px;color:#40536e;margin:10px 0 0}
.interaction-status[data-error=true],.list-status[data-error=true]{color:#a42121}
.watch-comments{margin-top:20px;padding:20px;min-width:0}
.watch-comments h2{margin:0 0 18px}
.watch-comments label{display:block;font-weight:600;margin-bottom:8px}
.watch-comments textarea{font:inherit;width:100%;resize:vertical;min-height:92px;max-height:180px;padding:12px;border:1px solid #bac8dc;border-radius:8px}
.comment-form-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:10px 0 18px}
.comment-form-footer small{color:#536582}
.comment-list{height:340px;overflow-y:auto;overscroll-behavior:contain;border-top:1px solid #e5eaf2;padding-top:4px}
.watch-comment{padding:16px 2px;border-bottom:1px solid #e5eaf2;overflow-wrap:anywhere}
.comment-meta{display:flex;gap:10px;align-items:baseline;flex-wrap:wrap;font-size:14px}
.comment-meta time,.comment-meta>span{font-size:12px;color:#536582}
.watch-comment p{margin:8px 0 0;white-space:pre-wrap}
.list-empty{padding:20px 8px;color:#536582;margin:0}
.watch-queue{min-width:0;position:sticky;top:20px;overflow:hidden}
.queue-heading{padding:18px;border-bottom:1px solid #e5eaf2;min-height:90px}
.queue-heading h2{font-size:18px;margin:0 0 6px;overflow-wrap:anywhere}
.queue-heading>span{font-size:13px;color:#536582}
.watch-video-list{height:clamp(320px,60vh,620px);overflow-y:auto;overscroll-behavior:contain;padding:8px}
.queue-video{display:grid;grid-template-columns:96px minmax(0,1fr);gap:12px;padding:10px 8px;border-radius:8px;align-items:center;min-height:80px}
.queue-video:hover{background:#f2f5fb;text-decoration:none}
.queue-video.is-current{background:#e7eeff;box-shadow:inset 3px 0 #2457d6}
.queue-thumbnail{aspect-ratio:16/9;background:#e0e7f4;display:grid;place-items:center;border-radius:6px;overflow:hidden;color:#526888}
.queue-thumbnail img{width:100%;height:100%;object-fit:cover}
.queue-video strong{font-size:14px;line-height:1.45;display:block;overflow-wrap:anywhere}
.queue-video small{display:block;margin-top:6px;color:#1745b1;font-size:12px}
.watch-paging{display:flex;gap:8px;justify-content:space-between;align-items:center;flex-wrap:nowrap;padding-top:14px;min-height:58px}
.watch-paging span{font-size:13px;white-space:nowrap}
.watch-paging button{font-size:13px;padding:8px 12px;min-height:38px;background:#f3f6fc;color:#24334b}
.watch-queue .watch-paging{padding:12px;border-top:1px solid #e5eaf2}
.watch-queue .list-status{padding:0 18px}
[aria-busy=true]{cursor:progress}
@media(max-width:1050px){.watch-layout{grid-template-columns:minmax(0,1fr) 300px;gap:16px}.queue-video{grid-template-columns:78px minmax(0,1fr);gap:8px}}
@media(max-width:820px){.watch-layout{grid-template-columns:minmax(0,1fr)}.watch-queue{position:static}.watch-video-list{height:360px}.queue-video{grid-template-columns:110px minmax(0,1fr)}.watch-layout .watch video{max-height:60vh}}
@media(max-width:480px){.watch-layout .watch-details,.watch-comments{padding:16px}.reaction-bar button{font-size:13px;gap:6px;padding:10px}.reaction-bar svg{width:18px;height:18px}.comment-list{height:300px}.watch-video-list{height:320px}}
