/* Videos page: the latest video in a big player, then a wall of cards. Colors come from the site tokens. */
.vhead{display:flex;gap:1rem 2rem;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;margin-bottom:.5rem}
.vhead>div{flex:1 1 24rem;min-width:0}
.vhead h1{margin:0 0 .4rem}
.vhead p{margin:0;color:var(--muted);max-width:42rem}
.vsuggest{flex:0 1 22rem;min-width:0}
.vsuggest summary{list-style:none;cursor:pointer;display:inline-block}
.vsuggest summary::-webkit-details-marker{display:none}
.vsuggest[open] summary{margin-bottom:.7rem}
.vform{display:flex;flex-direction:column;gap:.4rem;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:.9rem}
.vform label{font-weight:600;font-size:.9rem}
.vform textarea{resize:vertical}
@media (max-width:640px){ .vsuggest{flex-basis:100%} }

.vcard{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:12px;overflow:hidden;min-width:0}
.vplay,.vplayer{display:block;position:relative;aspect-ratio:16/9;background:#000;overflow:hidden}
.vplay img{width:100%;height:100%;object-fit:cover;display:block}
.vplayer iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.vgo{position:absolute;left:50%;top:50%;width:3.2rem;height:2.3rem;margin:-1.15rem 0 0 -1.6rem;border-radius:.7rem;background:rgba(0,0,0,.72);transition:background .15s}
.vgo::after{content:"";position:absolute;left:50%;top:50%;margin:-.55rem 0 0 -.3rem;border:.55rem solid transparent;border-left:.9rem solid #fff;border-right:0}
.vplay:hover .vgo,.vplay:focus-visible .vgo{background:var(--accent)}
.vplay:focus-visible{outline:3px solid var(--accent);outline-offset:-3px}
.vbody{padding:.7rem .85rem .8rem;display:flex;flex-direction:column;gap:.15rem;flex:1}
.vbody h3{margin:0;font-size:1rem;line-height:1.3;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.vbody h3 a{color:var(--fg);text-decoration:none}
.vbody h3 a:hover{text-decoration:underline}
.vmeta{margin:0;color:var(--muted);font-size:.85rem;overflow-wrap:anywhere}
.vtime{margin:.3rem 0 0}
.vdigits{display:inline-block;font:italic 400 1.9rem/1.1 Arial,Helvetica,"Liberation Sans",sans-serif;white-space:nowrap;padding:0 .08em .06em 0;font-variant-numeric:tabular-nums;
  background:linear-gradient(to bottom,var(--digits-a),var(--digits-b) 62%);-webkit-background-clip:text;background-clip:text;color:transparent}

.vcard.feature{max-width:60rem}
.vcard.feature .vbody{padding:1rem 1.2rem 1.1rem}
.vcard.feature h3{font-size:1.35rem;-webkit-line-clamp:3}
.vcard.feature .vdigits{font-size:3rem}
@media (min-width:900px){
  .vcard.feature{flex-direction:row;max-width:none}
  .vcard.feature .vplay,.vcard.feature .vplayer{flex:0 0 62%;aspect-ratio:16/9}
  .vcard.feature .vbody{justify-content:center}
}

.vsort{justify-content:space-between;margin-top:.4rem}
.vsort .sec{margin:1.4rem 0 .6rem}
.vtabs{display:flex;gap:.3rem}
.vtabs a{padding:.3rem .8rem;border-radius:8px;color:var(--muted);text-decoration:none;font-weight:500}
.vtabs a.on{background:var(--chip);color:var(--fg)}
.vwall{display:grid;grid-template-columns:repeat(auto-fill,minmax(16rem,1fr));gap:1rem}
@media (max-width:560px){ .vwall{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem} .vbody{padding:.5rem .6rem .6rem} .vbody h3{font-size:.9rem} .vdigits{font-size:1.5rem} .vgo{transform:scale(.75)} }
@media (max-width:360px){ .vwall{grid-template-columns:minmax(0,1fr)} }

/* Moderation queue section */
.qrow.vq img{width:9rem;aspect-ratio:16/9;object-fit:cover}
.vedit{display:flex;gap:.4rem;flex-wrap:wrap;align-items:center;margin:.4rem 0}
.vedit input[type=text]{width:auto;flex:1 1 14rem;padding:.3rem .6rem}
.vedit input.vt{flex:0 0 7rem;min-width:0}
.qcompact{display:flex;gap:.6rem;align-items:center;padding:.35rem 0;border-bottom:1px solid var(--line);flex-wrap:wrap}
.qcompact .qt{flex:1 1 14rem;min-width:0;overflow-wrap:anywhere}
