.amcvg {
  --amc-border: #e1e3e7;
  --amc-muted: #6b7280;
  color: #202124;
  font: 400 15px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  width: 100%; max-width: 1160px; margin: 0 auto 42px;
}
.amcvg *, .amcvg *::before, .amcvg *::after { box-sizing: border-box; }
.amcvg [hidden] { display: none !important; }
.amcvg button { cursor: pointer; font: inherit; }
.amcvg button:focus-visible { outline: 3px solid #8aa5d7; outline-offset: 3px; }
.amcvg__header { margin-bottom: 25px; }
.amcvg__eyebrow { margin: 0 0 5px; font-size: 11px; letter-spacing: .15em; font-weight: 750; color: #7b8491; }
.amcvg__header h2 { margin: 0 0 6px; font: 750 clamp(28px, 4vw, 40px)/1.15 system-ui, sans-serif; color: #171717; }
.amcvg__intro { color: var(--amc-muted); margin: 0; }
.amcvg__viewer { scroll-margin-top: 25px; border-radius: 16px; overflow: hidden; background: #111318; color: #fff; margin: 0 0 26px; box-shadow: 0 14px 40px rgba(0,0,0,.13); }
.amcvg__viewer-top { display: flex; align-items: start; justify-content: space-between; gap: 16px; padding: 18px 22px; }
.amcvg__viewer-top h3 { margin: 0; color: #fff; font-size: clamp(16px, 2vw, 21px); line-height: 1.3; font-weight: 680; overflow-wrap: anywhere; }
.amcvg__close { border: 1px solid #4a4d55; border-radius: 50%; background: #24262e; color: #fff; width: 36px; height: 36px; min-width: 36px; padding: 0; font-size: 17px; }
.amcvg__close:hover { background: #3b3f48; }
.amcvg__player-wrap { background: #090a0d; }
.amcvg__player { width: 100%; max-width: 100%; }
.amcvg__player .flowplayer, .amcvg__player video, .amcvg__player .wp-video { max-width: 100%; width: 100%; }
.amcvg__player video { display: block; max-height: 70vh; }
.amcvg__status { margin: 0; color: #e5e7eb; text-align: center; }
.amcvg__status:not(:empty) { padding: 28px 15px; }
.amcvg__nav { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; padding: 16px 22px; }
.amcvg__nav button { background: #fff; color: #141414; font-weight: 650; border: 0; border-radius: 9px; padding: 11px 16px; transition: background .16s ease; }
.amcvg__nav button:first-child { justify-self: start; }
.amcvg__nav button:last-child { justify-self: end; }
.amcvg__nav button:hover { background: #ebeff5; }
.amcvg__nav button:disabled { opacity: .38; cursor: not-allowed; }
.amcvg__position { font-size: 13px; white-space: nowrap; color: #c9cdd4; font-variant-numeric: tabular-nums; }
.amcvg__list-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-bottom: 12px; border-bottom: 1px solid #dfe3e9; margin-bottom: 18px; }
.amcvg__list-head strong { font-weight: 720; font-size: 18px; }
.amcvg__list-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; }
.amcvg__count { font-size: 13px; color: var(--amc-muted); font-variant-numeric: tabular-nums; }
.amcvg__shuffle { border: 1px solid #ccd1d8; border-radius: 9px; background: #fff; color: #262c33; min-height: 38px; white-space: nowrap; padding: 8px 13px; font-weight: 650; }
.amcvg__shuffle:hover { background: #f2f4f7; }
.amcvg__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.amcvg__item { appearance: none; display: flex; flex-direction: column; align-items: stretch; gap: 11px; overflow: hidden; text-align: left; padding: 0; border: 1px solid var(--amc-border); border-radius: 12px; background: #f8f9fa; color: #202124; transition: box-shadow .14s ease, border-color .14s ease, transform .14s ease; }
.amcvg__item:hover { transform: translateY(-2px); border-color: #b3bbc7; box-shadow: 0 6px 15px rgba(17,24,39,.07); }
.amcvg__item--active { border-color: #464a52; box-shadow: 0 0 0 2px #464a52; }
.amcvg__poster { display: block; position: relative; overflow: hidden; width: 100%; aspect-ratio: 16 / 9; background: #242933; flex-shrink: 0; }
.amcvg__poster--empty { background: linear-gradient(135deg, #323844, #161b21); }
.amcvg__poster-image { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.amcvg__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; color: #fff; background: rgba(0,0,0,.7); border: 1px solid rgba(255,255,255,.85); border-radius: 50%; width: 46px; height: 46px; font-size: 15px; padding-left: 3px; transition: background .15s ease, transform .15s ease; }
.amcvg__item:hover .amcvg__play { background: rgba(0,0,0,.88); transform: translate(-50%, -50%) scale(1.12); }
.amcvg__item-content { display: flex; flex-direction: column; gap: 7px; min-width: 0; padding: 0 14px 14px; flex: 1; }
.amcvg__item-title { font-size: 14px; font-weight: 670; line-height: 1.4; overflow-wrap: anywhere; color: #212329; }
.amcvg__year-pill { align-self: flex-start; padding: 2px 7px; border-radius: 5px; background: #e9ebef; color: #505866; font-weight: 660; font-size: 11px; margin-top: auto; }
.amcvg__admin-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 0 0 18px; padding: 13px 16px; border: 1px dashed #cbd0d8; border-radius: 10px; }
.amcvg__generate { border: 0; border-radius: 8px; background: #2b3442; color: #fff; padding: 9px 15px; font-weight: 650; }
.amcvg__generate:disabled { opacity: .45; cursor: not-allowed; }
.amcvg__thumb-progress { font-size: 12px; color: var(--amc-muted); overflow-wrap: anywhere; flex: 1; }
@media (max-width: 1000px) { .amcvg__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .amcvg__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .amcvg__list-head { align-items: flex-start; } }
@media (max-width: 460px) { .amcvg__grid { grid-template-columns: 1fr; } .amcvg__nav { padding: 13px; gap: 8px; } .amcvg__nav button { padding: 10px 9px; font-size: 12px; } .amcvg__viewer-top { padding: 15px; } .amcvg__list-actions { justify-content: flex-end; gap: 7px; } }
@media (prefers-reduced-motion: reduce) { .amcvg__item, .amcvg__play, .amcvg__nav button { transition: none; } }
