/* Additions for the Go version (real player, forms, flash). Uses the mockup's tokens. */
.vplayer { position: relative; background: #000; border-radius: 6px; overflow: hidden; }
.vplayer video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.vplayer-cap { position: absolute; left: 12px; top: 10px; color: #fff; font-size: 14px; text-shadow: 0 1px 3px #000; pointer-events: none; opacity: .85; }
.player.empty { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: #000; }
.player.empty > img { width: 100%; height: 100%; object-fit: cover; opacity: .35; display: block; }
.player.empty .player-msg { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: #fff; gap: 6px; }

.flash { margin: 12px 0; }
.errs { margin: 0; padding-left: 18px; }
.inline { display: inline-flex; gap: 6px; align-items: center; margin: 0; }
.linkbtn { background: none; border: 0; padding: 8px 14px; width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.linkbtn:hover { background: var(--hover, rgba(127,127,127,.12)); }
.cmt-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.cmt.pending { opacity: .75; }
.cmt-reply > summary { cursor: pointer; font-size: 13px; color: var(--muted, #888); margin: 4px 0; }
.cmt-reply .cmt-form { margin-top: 8px; }
.profile-head { display: flex; gap: 20px; align-items: center; margin: 16px 0 8px; }
.profile-head h1 { margin: 0; }
/* rating stars: spans for guests, buttons for voters (COMMUNITY_RND §2) */
.stars span { padding: 0 1px; color: #666; font-size: 18px; }
.stars span.on { color: var(--gold); }
.stars.mine button.on { color: var(--accent); }
.stars + small { display: block; margin-top: 2px; }
.likes button.mine { border-color: currentColor; font-weight: 700; }
@media (max-width: 760px) { .stars span, .stars button { font-size: 13px; padding: 0; } }
.q-act { display: flex; gap: 6px; flex-wrap: wrap; }
.q-act form { margin: 0; }

/* edits & history */
.edit-form fieldset { border: 1px solid var(--line, rgba(127,127,127,.3)); border-radius: 6px; padding: 10px 12px; margin: 0; }
.edit-form legend { padding: 0 6px; }
.checks { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.seasons-edit input { width: 100%; min-width: 60px; }
.diff-t td { white-space: pre-wrap; overflow-wrap: anywhere; vertical-align: top; }
.mod-rev { margin-bottom: 18px; }
.mod-rev-h { margin-bottom: 6px; }
.mod-act { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.mod-act input { flex: 1 1 220px; }
.badge.danger { background: #8b2b2b; color: #fff; }

/* page posts (PERSONA_RND §3): .composer, .post-t, .ref-* come from the mockup (v2.css) */
.post-t.st-pending, .post-t.st-hidden, .post-t.st-rejected { opacity: .7; }
.composer-more summary { cursor: pointer; color: var(--muted); }
.composer-more > div { margin-top: 8px; }
.composer-ref input[size] { flex: 0 0 auto; min-width: 0; width: 6em; }
.post-t .cmt-act button.on { color: var(--accent); }
.ref-img { width: 40px; aspect-ratio: 2/3; object-fit: cover; border-radius: 2px; }

/* quotes (PERSONA_RND §4): .quotes, .quote come from the mockup (v2.css) */
.quote-frame { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); }
.quote.st-pending, .quote.st-hidden, .quote.st-rejected { opacity: .7; }
.quote-form input[size] { width: 6em; }

/* notifications (FEED_RND §4): .bell, .notifs, .notif come from the mockup (v3.css) */
.umenu .bell { color: var(--hdr-text); }
.dd-body a b, .sheet-list a b { background: var(--accent); color: var(--accent-ink); border-radius: 9px; padding: 0 6px; font-size: 11px; }

/* feed (FEED_RND §3): .feed, .feed-it, .feed-body come from the mockup (v3.css) */
.feed-h { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.feed-ico { width: 22px; text-align: center; }
.feed-it.k-review { border-left: 3px solid var(--gold); }
.feed-body p { margin: 0; overflow-wrap: anywhere; }

/* follows (FEED_RND §2) */
.follow-f { display: inline-flex; gap: 8px; align-items: center; margin: 6px 0 0; }
.actions .follow-f { margin: 0 0 0 8px; }

/* forum (COMMUNITY_RND §5) */
.forum td small { display: block; color: var(--muted); }
.post.hidden-post { opacity: .6; }
.post-u a { font-weight: 700; }

/* collections (COMMUNITY_RND §4) */
.coll-item { display: flex; flex-direction: column; gap: 6px; }
#colls form + form { margin-top: 8px; }
#colls .row-between { gap: 8px; }

/* reviews (COMMUNITY_RND §3) */
.review .cmt-act { display: flex; gap: 10px; align-items: center; }
.review .cmt-act button.on { color: var(--accent); font-weight: 700; }
.review-form .f-row { flex-wrap: wrap; }

/* header between the mobile layout (900px) and full width: with eight menu items the
   mockup header needs ~1400px (strict) / ~1600px (retro: uppercase serif); the bell adds ~40px */
.umenu summary .hide-sm { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1460px) {
  .hdr-top { gap: 10px; }
  .logo-text { display: none; }
  .mainnav a, :root[data-skin="retro"] .mainnav a { padding: 0 8px; font-size: 15px; }
  .search { min-width: 140px; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .mainnav { display: none; position: absolute; top: 52px; left: 0; right: 0; flex-direction: column; background: var(--hdr); height: auto; padding: 6px 0; }
  .mainnav.open { display: flex; }
  .mainnav a, :root[data-skin="retro"] .mainnav a { padding: 10px 16px; }
  .burger { display: block; }
  .search { max-width: none; }
}
@media (min-width: 1461px) and (max-width: 1700px) {
  :root[data-skin="retro"] .hdr-top { gap: 10px; }
  :root[data-skin="retro"] .logo-text { display: none; }
  :root[data-skin="retro"] .mainnav a { padding: 0 8px; font-size: 15px; }
  :root[data-skin="retro"] .search { min-width: 140px; }
}
@media (min-width: 1101px) and (max-width: 1240px) {
  :root[data-skin="retro"] .mainnav { display: none; position: absolute; top: 52px; left: 0; right: 0; flex-direction: column; background: var(--hdr); height: auto; padding: 6px 0; }
  :root[data-skin="retro"] .mainnav.open { display: flex; }
  :root[data-skin="retro"] .mainnav a { padding: 10px 16px; }
  :root[data-skin="retro"] .burger { display: block; }
  :root[data-skin="retro"] .search { max-width: none; }
}

/* player: a real <video> in the mockup's frame (VIDEO_RND §5) */
.hp-video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.hp-video::cue { opacity: 0; }
.hp-menu[hidden] { display: none; }
.hp-sub b, .hp-sub i, .hp-sub u { font: inherit; }
.hp-sub i { font-style: italic; } .hp-sub b { font-weight: 700; }
.upload-form .check { flex-direction: row; align-items: center; gap: 8px; }

/* captured frames in the post and quote forms (PERSONA_RND §9) */
.frames-pick { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0 0 8px; }
.frames-pick legend { width: 100%; margin-bottom: 4px; }
.frames-pick label { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 120px; cursor: pointer; font-size: 12px; }
.frames-pick img { width: 120px; aspect-ratio: 16/9; object-fit: cover; border-radius: 4px; outline: 2px solid transparent; }
.frames-pick input:checked + img { outline-color: var(--accent); }
.frames-pick small { text-align: center; line-height: 1.2; }

/* ---------- site settings (SITE_RND) ---------- */
.logo-img { height: 30px; width: auto; max-width: 180px; object-fit: contain; display: block; }
.site-file { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.site-prev { max-height: 48px; max-width: 220px; background: var(--panel-2); border: 1px solid var(--line); padding: 4px; }
.site-prev.sq { width: 48px; height: 48px; object-fit: contain; }
.site-prev.og { max-height: 120px; max-width: 100%; }
.site-colors { display: flex; flex-direction: column; gap: 8px; }
.site-colors input[type=color] { width: 44px; height: 28px; padding: 0; border: 1px solid var(--line); vertical-align: middle; margin-left: 6px; }
.site-form > * { min-width: 0; }
.site-file .drop { align-self: stretch; }
.site-file input[type=file] { max-width: 100%; }

/* pictures (PICTURES_RND §3, §4) */
.ps-credit { font-size: 12px; opacity: .75; margin-top: 8px; }
a.ps-credit { color: inherit; }
.pic-credit { margin-top: 8px; }
.pic-prev { max-width: 320px; max-height: 240px; border: 1px solid var(--line); }
.pic-prev.poster { max-height: 300px; }
.pic-stills { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.pic-stills figure { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.pic-stills img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--line); }
