/* ============================================================
   ThotX shared stylesheet (index + watch)
   Dark tube theme — neutral charcoal canvas, crimson brand.
   ============================================================ */

:root {
  --bg: #101010;
  --bg-soft: #171717;
  --bg-elev: #1c1c1c;
  --bg-elev-2: #262626;
  --chrome: #131313;
  --chrome-2: #1c1c1c;
  --chrome-input: #262626;
  --border: #262626;
  --border-strong: #363636;
  --text: #f2f2f2;
  --text-dim: #9a9a9a;
  --text-faint: #6e6e6e;
  --accent: #dc143c;
  --accent-d: #a80f2e;
  --accent-soft: rgba(220, 20, 60, 0.16);
  --gold: #f0a500;
  --green: #1faf63;
  --radius: 3px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: "Roboto", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { display: block; }

::selection { background: var(--accent); color: #fff; }

/* ---------- TOPBAR (network links) ---------- */
.topbar {
  background: #0a0a0a;
  border-bottom: 1px solid #000;
  font-size: 12px;
}
.topbar-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 6px 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}
.topbar-inner::-webkit-scrollbar { display: none; }
.topbar-label {
  margin-right: auto;
  color: #6b6b6b;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}
.topbar-links { display: flex; align-items: center; gap: 18px; }
.topbar a {
  color: #a8a8a8;
  font-weight: 500;
  white-space: nowrap;
  transition: color .15s;
}
.topbar a:hover { color: #fff; }
.topbar a.pro { color: var(--gold); }
.topbar-sep { width: 1px; height: 13px; background: #262626; flex: none; }

/* ---------- HEADER ---------- */
header.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--chrome);
  border-bottom: 1px solid #000;
}
.top-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 9px 20px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.logo {
  font-family: "Bebas Neue", "Roboto", sans-serif;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
  display: flex;
  align-items: baseline;
  gap: 1px;
  flex: none;
}
.logo .x {
  color: var(--accent);
}
.search {
  flex: 1;
  max-width: 560px;
  position: relative;
  margin-left: auto;
}
.search input {
  width: 100%;
  background: var(--chrome-input);
  border: 1px solid #333;
  border-radius: var(--radius);
  color: #fff;
  padding: 9px 16px 9px 40px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.search input::placeholder { color: #888; }
.search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-soft);
}
.search > svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #9a9a9a;
}

/* ---------- MOBILE NAV ---------- */
.hamburger {
  display: none;
  width: 40px; height: 40px;
  border-radius: var(--radius);
  align-items: center; justify-content: center;
  color: #fff;
  background: var(--chrome-input);
  border: 1px solid #333;
  flex: none;
  transition: background .15s;
}
.hamburger:hover { background: #333; }
.hamburger:active { transform: scale(.95); }
.hamburger svg { width: 21px; height: 21px; }

.drawer {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: min(300px, 84vw);
  background: var(--bg-soft);
  border-right: 1px solid var(--border);
  transform: translateX(-100%);
  transition: transform .26s cubic-bezier(.4,0,.2,1);
  z-index: 120;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  visibility: hidden;
}
.drawer.open { transform: translateX(0); visibility: visible; }
.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
  z-index: 110;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }
.drawer-head {
  position: sticky; top: 0;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  padding: 12px 14px;
  display: flex; align-items: center; justify-content: space-between;
}
.drawer-head .logo { color: var(--text); font-size: 26px; }
.drawer-head .logo .x { color: var(--accent); }
.drawer-close {
  width: 34px; height: 34px;
  border-radius: var(--radius);
  display: grid; place-items: center;
  color: var(--text-dim);
  font-size: 20px;
  line-height: 1;
  transition: background .15s, color .15s;
}
.drawer-close:hover { background: var(--bg-elev); color: var(--text); }
.drawer-body { padding: 4px 0 28px; }
.drawer-section { padding: 10px 0; border-bottom: 1px solid var(--border); }
.drawer-section:last-child { border-bottom: none; }
.drawer-section h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-faint);
  padding: 0 16px 6px;
  font-weight: 700;
}
.drawer-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 16px;
  color: var(--text-dim);
  font-weight: 500;
  font-size: 14px;
  width: 100%;
  text-align: left;
  transition: background .12s, color .12s;
}
.drawer-link:hover { background: var(--bg-elev); color: var(--text); }
.drawer-link.active { color: var(--accent); background: var(--accent-soft); font-weight: 700; }
.drawer-link .chev { color: var(--text-faint); font-size: 16px; }
.drawer-net { display: grid; grid-template-columns: 1fr 1fr; }
.drawer-net a {
  padding: 11px 16px;
  color: var(--text-dim);
  font-weight: 500;
  font-size: 14px;
  transition: color .12s;
}
.drawer-net a:hover { color: var(--accent); }
.drawer-net a.pro { color: var(--gold); }
body.no-scroll { overflow: hidden; }

/* ---------- SORT BAR (dark tabs) ---------- */
nav.cats {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 43px;
  z-index: 40;
}
.cats-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}
.cats-inner::-webkit-scrollbar { display: none; }
.chip {
  padding: 11px 14px;
  border-radius: 0;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: inset 0 -2px 0 transparent;
  transition: color .12s, box-shadow .12s;
}
.chip:hover { color: var(--text); }
.chip.active {
  color: var(--accent);
  box-shadow: inset 0 -2px 0 var(--accent);
}

/* ---------- LAYOUT ---------- */
main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 20px 20px 44px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 16px;
}
.section-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 9px;
}
.section-title .pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

/* ---------- VIDEO GRID / CARD ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 14px;
}
.card { display: block; position: relative; cursor: pointer; min-width: 0; overflow: hidden; }
.thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
}
.thumb img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  transition: transform .3s ease;
}
.card:hover .thumb img { transform: scale(1.03); }
.thumb .duration {
  position: absolute;
  bottom: 5px; right: 5px;
  background: rgba(0,0,0,0.85);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 2px;
}
.thumb .views {
  position: absolute;
  bottom: 5px; left: 5px;
  background: rgba(0,0,0,0.78);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.thumb .views svg { width: 12px; height: 12px; }
.thumb .badge {
  position: absolute;
  top: 5px; left: 5px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 6px;
  border-radius: 2px;
}
.thumb .badge.hd { background: var(--gold); color: #1a1300; }
.thumb .preview-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(255,255,255,0.4);
  opacity: 0;
  transition: opacity .15s;
}
.card:hover .preview-bar { opacity: 1; }
.preview-bar > i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--accent);
}

/* stretched link: whole card clicks through to watch page */
.cardlink::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.meta { padding: 8px 1px 0; }
.meta h3 {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 4px;
}
.card:hover h3 { color: var(--accent); }
.meta .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
  position: relative;
  z-index: 2;
  overflow: hidden;
  max-height: 21px;
}
.meta .tags a {
  font-size: 11px;
  color: var(--text-dim);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  padding: 1px 7px;
  border-radius: 2px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color .15s, border-color .15s, background .15s;
}
.meta .tags a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-soft);
}

/* ---------- PAGINATION ---------- */
.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-top: 34px;
}
.pager button, .pager .num, .pager .prev, .pager .next {
  min-width: 36px;
  height: 36px;
  padding: 0 11px;
  border-radius: var(--radius);
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  color: var(--text-dim);
  font-weight: 700;
  font-size: 13px;
  display: grid; place-items: center;
  text-decoration: none;
  transition: all .15s;
}
.pager button:hover, .pager .num:hover, .pager .prev:hover, .pager .next:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.pager .num.current {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.pager .gap { color: var(--text-faint); padding: 0 3px; }

/* ---------- TAG CLOUD ---------- */
.tag-cloud { margin-top: 38px; }
.tag-cloud-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.tag-cloud-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud-list a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  padding: 5px 10px;
  border-radius: var(--radius);
  transition: color .15s, border-color .15s, background .15s;
}
.tag-cloud-list a:hover {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
}
.tag-cloud-list a:hover .tag-ic { color: #fff; }

/* ---------- SEARCH AUTOCOMPLETE ---------- */
.search-suggest {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(0,0,0,0.6);
  overflow: hidden;
  z-index: 60;
  display: none;
}
.search-suggest.open { display: block; }
.suggest-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text-dim);
  cursor: pointer;
  transition: background .1s, color .1s;
}
.suggest-item + .suggest-item { border-top: 1px solid var(--border); }
.suggest-item svg { width: 15px; height: 15px; color: var(--text-faint); flex: none; }
.suggest-item:hover, .suggest-item.kbd { background: var(--bg-elev-2); color: var(--text); }
.suggest-item:hover svg, .suggest-item.kbd svg { color: var(--accent); }
.suggest-item b { color: var(--accent); font-weight: 700; }
.suggest-empty { padding: 14px; font-size: 13px; color: var(--text-faint); text-align: center; }

/* ---------- RESULTS / TAG HEADER ---------- */
.results-head, .tag-header { margin-bottom: 18px; }
.results-title, .tag-title { font-size: 22px; font-weight: 700; color: var(--text); letter-spacing: -0.3px; }
.results-title .q, .tag-title .q { color: var(--accent); }
.results-count, .tag-count { font-size: 13px; color: var(--text-dim); margin-top: 5px; font-weight: 500; }
.tag-desc { font-size: 13px; color: var(--text-faint); margin-top: 8px; max-width: 680px; line-height: 1.6; }

/* ---------- SORT BAR (search / tag) ---------- */
.sort-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}
.sort-bar::-webkit-scrollbar { display: none; }
.sort-bar .chip {
  padding: 7px 14px;
  border-radius: 4px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: none;
  transition: color .12s, background .12s, border-color .12s;
}
.sort-bar .chip:hover {
  color: var(--text);
  border-color: var(--text-faint);
}
.sort-bar .chip.active {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: none;
}

/* ---------- EMPTY STATE ---------- */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-dim);
}
.empty-state p { font-size: 15px; margin: 6px 0; }
.empty-state b { color: var(--accent); }
.empty-state a { color: var(--accent); text-decoration: underline; }

/* ---------- SEO / ABOUT BLOCK ---------- */
.seo {
  max-width: 820px;
  margin: 40px auto 0;
  padding: 26px 20px 0;
  text-align: center;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
}
.seo h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.seo p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-faint);
}
.seo p + p { margin-top: 10px; }
.seo .accent { color: var(--accent); font-weight: 700; }

/* ---------- FOOTER ---------- */
footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  margin-top: 20px;
}
.foot-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 20px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.foot-inner .logo { color: var(--text); font-size: 26px; }
.foot-inner .logo .x { color: var(--accent); }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-links a {
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 500;
  transition: color .15s;
}
.foot-links a:hover { color: var(--accent); }
.foot-bottom {
  border-top: 1px solid var(--border);
  padding: 13px 20px;
  text-align: center;
  color: var(--text-faint);
  font-size: 12px;
}
.foot-bottom strong { color: var(--accent); }

/* ============================================================
   WATCH PAGE
   ============================================================ */
.crumbs {
  font-size: 12px;
  color: var(--text-faint);
  font-weight: 500;
  margin-bottom: 10px;
  display: flex; gap: 6px; align-items: center;
  flex-wrap: wrap;
}
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { opacity: .5; }

.watch-stage {
  max-width: 1100px;
  margin: 0 auto;
}

/* player */
.player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
}
.player iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.player-poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.player.playing .player-poster { filter: brightness(.82); }
.player-bigplay {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 78px; height: 78px;
  border-radius: 50%;
  background: rgba(220, 20, 60, 0.92);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
  transition: transform .15s, opacity .2s;
}
.player-bigplay:hover { transform: translate(-50%, -50%) scale(1.06); }
.player-bigplay svg { width: 32px; height: 32px; margin-left: 4px; }
.player.playing .player-bigplay { opacity: 0; pointer-events: none; }

.player-controls {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px 14px 11px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0));
  display: flex; align-items: center; gap: 10px;
  opacity: 0;
  transition: opacity .2s;
}
.player:hover .player-controls,
.player.paused .player-controls,
.player.show-controls .player-controls { opacity: 1; }
.player-progress {
  position: relative;
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  cursor: pointer;
}
.player-progress > i {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 2px;
  position: relative;
}
.player-progress > i::after {
  content: "";
  position: absolute;
  right: -6px; top: 50%;
  transform: translateY(-50%);
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  transition: opacity .15s;
}
.player-progress:hover > i::after { opacity: 1; }
.player-btn {
  color: #fff;
  display: grid; place-items: center;
  width: 30px; height: 30px;
  border-radius: 3px;
  flex: none;
}
.player-btn:hover { background: rgba(255, 255, 255, 0.15); }
.player-btn svg { width: 19px; height: 19px; }
.player-spacer { flex: 1; }
.player-time {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* video info */
.video-info { margin-top: 14px; }
.video-title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.2px;
  margin-bottom: 9px;
  color: var(--text);
}
.video-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.video-stats { display: inline-flex; align-items: center; gap: 6px; color: var(--text-dim); font-size: 13px; font-weight: 500; }
.video-stats svg { width: 15px; height: 15px; color: var(--text-faint); flex: none; }
.video-stats b { color: var(--text); font-weight: 700; }

/* action bar */
.actions { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.act {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dim);
  transition: color .15s, border-color .15s, background .15s;
}
.act:hover { color: var(--text); border-color: #4a4a4a; }
.act svg { width: 16px; height: 16px; }
.act.active { color: #fff; border-color: var(--accent); background: var(--accent); }

/* tags (chips) */
.tag-block {
  margin-top: 14px;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 7px;
}
.tag-label {
  font-weight: 700;
  color: var(--text-dim);
  font-size: 12px;
  flex: none;
  padding-top: 5px;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-row a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
  transition: color .15s, border-color .15s, background .15s;
}
.tag-row a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-soft);
}
.tag-ic { width: 12px; height: 12px; flex: none; }

/* related grid */
.related-block { margin-top: 30px; }
.related-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}
.related-head h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}
.rel-info { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--text-faint); font-weight: 500; margin-top: 2px; }
.rel-info svg { width: 13px; height: 13px; color: var(--text-faint); flex: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .watch-stage { max-width: 100%; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .topbar { display: none; }
  nav.cats { display: none; }
  .hamburger { display: flex; }
  .top-inner { gap: 10px; padding: 9px 14px; }
  .logo { font-size: 26px; }
  .search { max-width: none; }
  .search input { padding: 9px 14px 9px 36px; font-size: 13px; }
  .search > svg { left: 11px; width: 15px; height: 15px; }
  main { padding: 14px 14px 36px; }
  .section-head { flex-direction: column; align-items: stretch; gap: 10px; }
  .section-title { font-size: 17px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
  .meta { padding: 7px 1px 0; }
  .meta h3 { font-size: 12.5px; }
  .meta .tags a { font-size: 10px; padding: 1px 6px; }
  .thumb .duration { font-size: 10px; bottom: 4px; right: 4px; padding: 1px 4px; }
  .thumb .views { font-size: 10px; bottom: 4px; left: 4px; padding: 1px 5px; }
  .thumb .badge { font-size: 9px; top: 4px; left: 4px; padding: 1px 5px; }
  .pager button, .pager .num, .pager .prev, .pager .next { min-width: 34px; height: 34px; font-size: 13px; }
  .seo { margin-top: 32px; padding: 20px 14px 0; }
  .seo h2 { font-size: 16px; }
  .seo p { font-size: 12px; }
  .foot-inner { padding: 16px 14px; justify-content: center; }

  .video-title { font-size: 16px; }
  .player-bigplay { width: 64px; height: 64px; }
  .player-bigplay svg { width: 26px; height: 26px; }
}
@media (max-width: 380px) {
  .grid { gap: 14px 8px; }
  .meta h3 { font-size: 12px; }
  .logo { font-size: 24px; }
}
