/* Scoped video gallery: four covers expand into a player and three suggestions. */
.mega-videos { background:#fff; color:#0f0f0f; padding:30px clamp(18px,3vw,48px) 34px; font-family:Arial,"Microsoft YaHei",sans-serif; }
.mega-videos * { box-sizing:border-box; }
.mega-videos,.mega-videos h2,.mega-videos h3,.mega-videos p,.mega-videos button { font-family:Arial,"Microsoft YaHei",sans-serif!important; }
.mega-videos button { font:inherit; cursor:pointer; }
.mega-videos button:focus-visible,.mega-videos a:focus-visible { outline:2px solid #065fd4; outline-offset:4px; }
.mv-head { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:22px; }
.mv-head h2 { margin:0; color:#0f0f0f; font:600 22px/1.35 Arial,"Microsoft YaHei",sans-serif; letter-spacing:0; }
.mv-tools { display:flex; align-items:center; gap:16px; }
.mv-count { color:#606060; font-size:12px; white-space:nowrap; }
.mv-back { border:0; border-radius:20px; background:#f2f2f2; color:#0f0f0f; padding:10px 16px; font-size:12px!important; }
.mv-back[hidden] { display:none; }
.mv-board { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:20px; align-items:start; }
.mv-tile { min-width:0; position:relative; }
.mv-main { z-index:1; }
.mv-cover-button { border:0; padding:0; background:none; color:inherit; display:block; width:100%; text-align:left; }
.mv-picture { position:relative; display:block; aspect-ratio:16/9; overflow:hidden; border-radius:12px; background:#111; }
.mv-picture img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .3s ease; }
.mv-cover-button:hover .mv-picture img { transform:scale(1.025); }
.mv-play { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); display:grid; place-items:center; width:52px; height:36px; background:#f00; color:white; border-radius:10px; font-size:14px; opacity:0; transition:opacity .2s; }
.mv-cover-button:hover .mv-play,.mv-cover-button:focus-visible .mv-play { opacity:1; }
.mv-meta { display:grid; grid-template-columns:34px minmax(0,1fr); gap:10px; margin-top:12px; }
.mv-avatar { display:grid; place-items:center; width:32px; height:32px; border-radius:50%; background:#172631; color:white; font:700 6px/1 Arial; letter-spacing:.4px; }
.mv-meta h3 { margin:0; font:600 14px/1.45 Arial,"Microsoft YaHei",sans-serif; color:#0f0f0f; letter-spacing:0; }
.mv-meta p { margin:5px 0 0; font:400 12px/1.5 Arial,"Microsoft YaHei",sans-serif; color:#606060; white-space:pre-line; }
.mv-board.is-expanded { max-width:1150px; margin:auto; grid-template-columns:minmax(0,2.35fr) minmax(0,1fr); gap:25px; }
.mv-player { position:relative; width:100%; max-width:100%; aspect-ratio:16/9; min-height:200px; border-radius:12px; background:#000; overflow:hidden; }
.mv-player iframe { width:100%; height:100%; min-height:200px; display:block; border:0; }
.mv-main .mv-meta { margin-top:16px; grid-template-columns:42px minmax(0,1fr); gap:12px; }
.mv-main .mv-avatar { width:40px; height:40px; font-size:8px; }
.mv-main h3 { font-size:20px; }
.mv-main .mv-meta p { font-size:13px; }
.mv-sidebar { position:relative; display:flex; flex-direction:column; gap:16px; }
.mv-sidebar .mv-cover-button { display:grid; grid-template-columns:46% minmax(0,1fr); gap:11px; align-items:start; }
.mv-sidebar .mv-picture { border-radius:8px; }
.mv-sidebar .mv-meta { display:block; margin:0; }
.mv-sidebar .mv-avatar { display:none; }
.mv-sidebar h3 { font-size:13px; }
.mv-sidebar .mv-play { width:38px; height:27px; font-size:10px; border-radius:7px; }
.mv-pending { height:100%; position:relative; display:grid; place-items:center; }
.mv-pending img { position:absolute; width:100%; height:100%; object-fit:contain; opacity:.55; }
.mv-pending span { position:relative; color:#fff; background:#071821b3; padding:9px 14px; border-radius:5px; font-size:12px; }
.mv-youtube { display:inline-block; color:#065fd4; margin:10px 0 0 54px; font-size:12px; text-decoration:none; }
@media(max-width:980px) and (min-width:701px) { .mv-board { gap:14px; }.mv-meta{grid-template-columns:26px 1fr;gap:7px}.mv-avatar{width:26px;height:26px;font-size:5px}.mv-meta h3{font-size:12px}.mv-meta p{font-size:11px}.mv-board.is-expanded{grid-template-columns:2fr 1fr;gap:20px} }
@media(max-width:700px) {
 .mega-videos { padding:24px 16px 28px; }
 .mv-head { margin-bottom:18px; gap:14px; }
 .mv-head h2 { font-size:20px; }
 .mv-count { font-size:11px; }
 .mv-tools { gap:10px; }
 .mv-back { padding:8px 12px; font-size:11px!important; }
 .mv-board { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px 12px; }
 .mv-meta { grid-template-columns:26px 1fr; gap:7px; margin-top:10px; }
 .mv-avatar { width:26px; height:26px; font-size:5px; }
 .mv-meta h3 { font-size:12px; }
 .mv-meta p { font-size:10px; }
 .mv-play { opacity:1; width:38px; height:27px; font-size:10px; border-radius:7px; }
 .mv-board.is-expanded { display:block; }
 .mv-main { margin-bottom:24px; }
 .mv-main h3 { font-size:17px; }
 .mv-sidebar { gap:17px; }
 .mv-sidebar .mv-cover-button { grid-template-columns:43% 1fr; }
 .mv-sidebar .mv-meta p { font-size:11px; }
}
@media(prefers-reduced-motion:reduce) { .mega-videos * { transition:none!important; } }

/* Expanded view: warm paper, a large player shell and three separate cards. */
.mega-videos { transition:background-color .35s ease; }
.mega-videos.is-watching {
 background-color:#f3f2ef;
 background-image:radial-gradient(ellipse at 12% 5%,#fff 0%,transparent 54%),radial-gradient(ellipse at 92% 86%,#e8e9e6aa,transparent 55%);
 padding-bottom:42px;
}
.is-watching .mv-head { max-width:1200px; margin:0 auto 24px; }
.is-watching .mv-head h2 { color:#252b30; }
.is-watching .mv-back { background:#ffffffc9; color:#596169; box-shadow:0 3px 10px #30384008; }
.is-watching .mv-count { color:#94999e; }
.is-watching .mv-board.is-expanded { max-width:1200px; grid-template-columns:minmax(0,2.05fr) minmax(0,1fr); gap:22px; }
.is-watching .mv-main { position:relative; background:#fffdfa; border:1px solid #fff; border-radius:24px; padding:18px; box-shadow:0 18px 45px #26313b12,0 4px 12px #26313b05; overflow:hidden; }
.mv-player-head { height:52px; display:flex; gap:20px; align-items:center; color:#858b90; }
.mv-player-brand { color:#414b53; font:700 12px/1 Arial; letter-spacing:2px; }
.mv-player-collection { font-size:8px; letter-spacing:1.8px; }
.mv-player-index { margin-left:auto; font-size:9px; color:#9ca2a8; letter-spacing:1px; }
.is-watching .mv-player { border-radius:15px; }
.mv-player-footer { display:flex; justify-content:space-between; align-items:flex-end; gap:18px; }
.is-watching .mv-main .mv-meta { flex:1; min-width:0; margin:16px 4px 0; grid-template-columns:34px minmax(0,1fr); gap:11px; padding-right:0; }
.is-watching .mv-main .mv-avatar { width:32px; height:32px; background:#e8e9e6; color:#66727a; font-size:6px; }
.is-watching .mv-main h3 { font-size:16px; font-weight:600; color:#343b40; }
.is-watching .mv-main .mv-meta p { font-size:11px; color:#979da2; margin-top:5px; }
.is-watching .mv-youtube {
 display:inline-flex; align-items:center; justify-content:center; gap:10px;
 flex-shrink:0; margin:0 4px 2px 0; padding:11px 15px;
 min-height:44px; border:1px solid #f0c9c7; border-radius:12px;
 background:#fff5f4; color:#393d42; font-size:14px; font-weight:600;
 line-height:1.4; white-space:nowrap; box-shadow:0 3px 9px #89242408;
 transition:background .2s,border-color .2s,box-shadow .2s,transform .2s;
}
.is-watching .mv-youtube::before {
 content:'▶'; display:grid; place-items:center; flex:0 0 26px;
 width:26px; height:19px; border-radius:6px; background:#f00;
 color:#fff; font-size:9px; padding-left:1px;
}
.is-watching .mv-youtube:hover {
 background:#ffebe9; border-color:#e7948f; color:#202327;
 box-shadow:0 5px 14px #89242412; transform:translateY(-1px);
}
.is-watching .mv-youtube:active { transform:translateY(0); }
.mega-videos .mv-back {
 display:block; margin:20px 0 0 auto; min-height:44px;
 border:1px solid #d4dde2; border-radius:14px;
 background:#fff; color:#345969; font-size:14px!important;
 padding:12px 20px; box-shadow:0 4px 13px #26313b0c;
 transition:background .2s,box-shadow .2s;
}
.mega-videos .mv-back[hidden] { display:none; }
.mega-videos .mv-back:hover { background:#f1f7fa; }
.mega-videos .mv-back.is-floating {
 position:fixed; right:28px; bottom:26px; z-index:100;
 margin:0; border:1px solid #39566c; background:#16384d; color:#fff;
 box-shadow:0 8px 26px #102b4150; font-weight:600;
 padding:15px 24px; min-height:50px;
}
.mega-videos .mv-back.is-floating:hover { background:#244e68; }
.is-watching .mv-sidebar { gap:16px; }
.is-watching .mv-sidebar .mv-tile { border:1px solid #fff; background:#fffdfa; border-radius:22px; padding:15px; box-shadow:0 11px 26px #26313b0c; }
.is-watching .mv-sidebar .mv-cover-button { grid-template-columns:45% minmax(0,1fr); gap:15px; position:relative; min-height:100px; }
.is-watching .mv-sidebar .mv-picture { height:112px; aspect-ratio:auto; min-height:0; border-radius:12px; }
.mv-main h3:focus { outline:none; }
.is-watching .mv-sidebar .mv-meta { padding:3px 0 38px; }
.is-watching .mv-sidebar h3 { color:#394148; font-size:13px; font-weight:600; }
.is-watching .mv-sidebar .mv-meta p { color:#969ca1; font-size:10px; line-height:1.8; margin-top:8px; }
.is-watching .mv-sidebar .mv-play { display:none; }
.is-watching .mv-sidebar .mv-cover-button::after { content:'▶'; display:grid; place-items:center; width:31px; height:31px; position:absolute; right:0; bottom:0; border-radius:50%; background:#92989d; color:#fff; font-size:10px; box-shadow:0 5px 12px #26313b18; transition:background .2s,transform .2s; }
.is-watching .mv-sidebar .mv-cover-button:hover::after { background:#586974; transform:scale(1.06); }
.is-watching .mv-pending { background:#eeefec; }
.is-watching .mv-pending img { opacity:1; }
.is-watching .mv-pending span { background:#ffffffdd; color:#818b92; box-shadow:0 5px 20px #26313b10; font-size:11px; border-radius:18px; padding:8px 14px; }
@media(min-width:701px) and (max-width:980px) {
 .is-watching .mv-board.is-expanded { grid-template-columns:minmax(0,1.8fr) minmax(0,1fr); gap:16px; }
 .is-watching .mv-main { padding:12px 12px 16px; border-radius:20px; }
 .mv-player-head { gap:12px; }
 .mv-player-collection { font-size:7px; letter-spacing:1px; }
 .is-watching .mv-sidebar .mv-tile { padding:12px; border-radius:18px; }
 .is-watching .mv-sidebar .mv-cover-button { gap:10px; }
 .is-watching .mv-sidebar .mv-picture { height:100px; }
 .is-watching .mv-sidebar h3 { font-size:12px; }
}
@media(max-width:700px) {
 .mega-videos .mv-back.is-floating { right:16px; bottom:calc(16px + env(safe-area-inset-bottom)); padding:13px 19px; font-size:13px!important; }
 .mega-videos.is-watching { padding:22px 12px 30px; }
 .is-watching .mv-head { margin-bottom:18px; padding:0 4px; }
 .is-watching .mv-main { border-radius:20px; padding:10px 10px 17px; margin-bottom:18px; }
 .mv-player-head { height:44px; gap:12px; }
 .mv-player-brand { font-size:10px; }
 .mv-player-collection { font-size:7px; letter-spacing:1px; }
 .mv-player-index { font-size:8px; }
 .is-watching .mv-player { border-radius:12px; }
 .mv-player-footer { flex-direction:column; align-items:stretch; gap:8px; }
 .is-watching .mv-main .mv-meta { margin-top:13px; padding-right:0; grid-template-columns:28px 1fr; gap:9px; }
 .is-watching .mv-main .mv-avatar { width:27px; height:27px; font-size:5px; }
 .is-watching .mv-main h3 { font-size:13px; }
 .is-watching .mv-main .mv-meta p { font-size:10px; }
 .is-watching .mv-youtube { align-self:flex-end; margin:0 4px; font-size:13px; padding:10px 13px; }
 .is-watching .mv-sidebar { gap:12px; }
 .is-watching .mv-sidebar .mv-tile { padding:12px; border-radius:18px; }
 .is-watching .mv-sidebar .mv-cover-button { grid-template-columns:39% minmax(0,1fr); gap:14px; min-height:90px; }
 .is-watching .mv-sidebar .mv-picture { height:90px; }
 .is-watching .mv-sidebar .mv-meta { padding-bottom:30px; }
 .is-watching .mv-sidebar .mv-meta p { margin-top:5px; }
 .is-watching .mv-sidebar .mv-cover-button::after { width:27px; height:27px; font-size:9px; }
}
.mv-footer-actions { display:flex; align-items:center; justify-content:flex-end; gap:10px; flex-shrink:0; }
.is-watching .mv-main { overflow:visible; }
.mv-close { position:absolute; top:-12px; right:-12px; z-index:3; display:grid; place-items:center; width:36px; height:36px; padding:0; border:1px solid #d9dfe2; border-radius:50%; background:#fff; color:#6e7b84; font-size:23px!important; line-height:1; box-shadow:0 4px 12px #26313b14; }
.mv-close:hover { background:#eef3f5; color:#213e4e; }
@media(max-width:700px) {
 .mv-footer-actions { align-self:flex-end; }
 .is-watching .mv-footer-actions .mv-youtube { margin:0; }
 .mv-close { width:34px; height:34px; top:-10px; right:-10px; }
}

/* Mobile uses a two-column library and a compact one-column watching layout. */
@media(max-width:700px) {
 .mega-videos { padding:24px 16px 28px; }
 .mv-board { gap:22px 14px; }
 .mv-picture { border-radius:11px; }
 .mv-meta { grid-template-columns:27px minmax(0,1fr); gap:8px; margin-top:10px; }
 .mv-avatar { width:27px; height:27px; }
 .mv-meta h3 { font-size:14px; line-height:1.4; }
 .mv-meta p { font-size:11px; line-height:1.5; margin-top:4px; }
 .mv-play { width:36px; height:26px; font-size:9px; border-radius:7px; }
 .mega-videos.is-watching { padding:18px 12px 26px; }
 .is-watching .mv-main { padding:6px 6px 13px; border-radius:18px; margin-bottom:16px; box-shadow:0 8px 24px #26313b0c; }
 .is-watching .mv-player { border-radius:13px; }
 .is-watching .mv-player-footer { gap:13px; padding:0 8px; }
 .is-watching .mv-main .mv-meta { margin:13px 0 0; grid-template-columns:30px minmax(0,1fr); gap:10px; }
 .is-watching .mv-main .mv-avatar { width:30px; height:30px; font-size:6px; }
 .is-watching .mv-main h3 { font-size:16px; line-height:1.4; }
 .is-watching .mv-main .mv-meta p { font-size:11px; line-height:1.5; color:#83909a; }
 .mv-footer-actions { align-self:stretch; display:grid; grid-template-columns:minmax(0,1fr) 44px; align-items:center; gap:10px; width:100%; }
 .is-watching .mv-footer-actions .mv-youtube { align-self:auto; margin:0; width:100%; min-height:44px; padding:10px 12px; font-size:13px; white-space:normal; text-align:center; }
 .mv-footer-actions .mv-close { grid-column:2; position:static; width:44px; height:44px; font-size:25px!important; border-radius:12px; box-shadow:none; background:#f4f6f6; }
 .mv-footer-actions .mv-close:hover { background:#e8edef; }
 .is-watching .mv-sidebar { gap:10px; }
 .is-watching .mv-sidebar .mv-tile { padding:10px; border-radius:16px; box-shadow:0 4px 14px #26313b07; }
 .is-watching .mv-sidebar .mv-cover-button { grid-template-columns:35% minmax(0,1fr); gap:12px; min-height:76px; align-items:center; }
 .is-watching .mv-sidebar .mv-picture { height:76px; border-radius:10px; }
 .is-watching .mv-sidebar .mv-meta { padding:0 33px 0 0; }
 .is-watching .mv-sidebar h3 { font-size:13px; line-height:1.4; }
 .is-watching .mv-sidebar .mv-meta p { font-size:10px; line-height:1.5; margin-top:5px; }
 .is-watching .mv-sidebar .mv-cover-button::after { width:28px; height:28px; right:0; top:50%; bottom:auto; transform:translateY(-50%); font-size:9px; box-shadow:none; background:#8d9aa3; }
 .is-watching .mv-sidebar .mv-cover-button:hover::after { transform:translateY(-50%); }
 .is-watching .mv-sidebar .mv-picture img { object-fit:cover; }
}
@media(max-width:350px) {
 .mega-videos { padding-inline:12px; }
 .mv-board { column-gap:10px; }
 .mv-meta { grid-template-columns:24px minmax(0,1fr); gap:6px; }
 .mv-avatar { width:24px; height:24px; }
 .mv-meta h3 { font-size:13px; }
 .mv-meta p { font-size:10px; }
 .is-watching .mv-sidebar .mv-cover-button { gap:9px; grid-template-columns:34% minmax(0,1fr); }
 .is-watching .mv-sidebar h3 { font-size:12px; }
 .is-watching .mv-main h3 { font-size:15px; }
 .is-watching .mv-footer-actions .mv-youtube { font-size:12px; gap:8px; padding-inline:9px; }
}
@media(max-width:700px) {
 .mega-videos:not(.is-watching) { padding:25px 0 18px; background:linear-gradient(180deg,#fff 0%,#f2f7f9 100%); }
 .mv-board.is-carousel {
  display:flex; align-items:flex-start; gap:14px;
  padding:8px calc((100% - 58vw)/2) 22px;
  overflow-x:auto; overflow-y:hidden; scrollbar-width:none;
  scroll-snap-type:x mandatory; overscroll-behavior-x:contain;
  -webkit-overflow-scrolling:touch; touch-action:pan-x pan-y;
 }
 .mv-board.is-carousel::-webkit-scrollbar { display:none; }
 .mv-board.is-carousel .mv-tile { flex:0 0 58vw; scroll-snap-align:center; opacity:.48; transition:opacity .2s; }
 .mv-board.is-carousel .mv-tile.is-current { opacity:1; }
 .mv-board.is-carousel .mv-cover-button { padding:6px; border:1px solid #e4edf2; border-radius:18px; background:#fff; }
 .mv-board.is-carousel .is-current .mv-cover-button { border-color:#badce9; box-shadow:0 9px 20px #22435e14; }
 .mv-board.is-carousel .mv-picture { border-radius:12px; }
 .mv-board.is-carousel .mv-meta { grid-template-columns:27px minmax(0,1fr); gap:8px; padding:2px 5px 9px; min-height:78px; }
 .mv-board.is-carousel .mv-meta h3 { font-size:14px; line-height:1.4; }
 .mv-board.is-carousel .mv-meta p { font-size:11px; line-height:1.5; }
 .mv-board.is-carousel .mv-avatar { width:27px; height:27px; background:#16394d; }
 .mv-board.is-carousel .mv-play { opacity:0; }
 .mv-board.is-carousel .is-current .mv-play { opacity:1; }
 .mv-carousel-dots { display:flex; align-items:center; justify-content:center; gap:2px; }
 .mv-carousel-dot { display:grid; place-items:center; width:28px; height:28px; border:0; background:transparent; padding:0; }
 .mv-carousel-dot::before { content:''; display:block; width:5px; height:5px; border-radius:5px; background:#becfd7; transition:width .2s,background .2s; }
 .mv-carousel-dot[aria-pressed=true]::before { width:18px; background:#159ecc; }
}
@media(min-width:701px) {
 .mv-board:not(.is-expanded) .mv-picture { aspect-ratio:4/3; height:auto; }
}
