:root {
  color-scheme: dark;
  --bg: #101010;
  --header: #151515;
  --nav: #111111;
  --panel: #1b1b1b;
  --panel-2: #242424;
  --line: #333333;
  --text: #f7f7f7;
  --muted: #b8b8b8;
  --red: #e51b05;
  --red-dark: #bd1708;
  --pill: #666666;
  --danger: #ef6b5d;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

img,
video {
  max-width: 100%;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: #080808;
  padding: 18px;
}

.age-gate[hidden] {
  display: none;
}

.age-panel {
  width: min(520px, 100%);
  border: 1px solid #2f2f2f;
  border-radius: 6px;
  background: #151515;
  color: #ffffff;
  padding: 28px;
  text-align: center;
}

.age-kicker {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.age-panel h1 {
  margin: 0 0 10px;
  font-size: 48px;
  line-height: 1;
}

.age-panel p {
  color: #d6d6d6;
}

.age-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 22px 0 12px;
}

.age-note {
  min-height: 20px;
  margin: 0;
  font-size: 13px;
}

body.is-age-locked {
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--header);
  border-top: 2px solid #eeeeee;
}

.masthead {
  width: min(900px, calc(100% - 32px));
  max-width: 100%;
  min-height: 92px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  gap: 10px;
  padding: 12px 0 14px;
}

.brand-row,
.status-row,
.dialog-head,
.dialog-actions,
.settings-actions,
.quality-row,
.chip-list {
  display: flex;
  align-items: center;
}

.brand-row {
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
}

.brand-logo {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  background: var(--red);
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
}

.brand-mark {
  white-space: nowrap;
  font-size: 32px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark span {
  color: var(--red);
  font-size: 32px;
  letter-spacing: 0;
}

.search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 50px;
  width: min(560px, 100%);
  min-width: 0;
  height: 40px;
}

.search-form input {
  width: 100%;
  min-width: 0;
  border: 0;
  border-radius: 6px 0 0 6px;
  background: #f3f3f3;
  color: #222222;
  padding: 0 12px;
  font-size: 18px;
  outline: none;
}

.search-button {
  border: 0;
  border-radius: 0 6px 6px 0;
  background: #d9d9d9;
  color: #000000;
  overflow: hidden;
  text-indent: -999px;
  position: relative;
}

.search-button::before {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
  border: 3px solid #000000;
  border-radius: 50%;
  left: 15px;
  top: 10px;
}

.search-button::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 3px;
  background: #000000;
  transform: rotate(45deg);
  left: 27px;
  top: 26px;
}

.text-button,
.join-button,
.premium-button,
.icon-button,
.primary-button,
.secondary-button {
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  padding: 0 14px;
  color: var(--text);
  background: transparent;
}

.text-button {
  color: #d8d8d8;
}

.join-button {
  min-width: 150px;
  background: #f0f0f0;
  color: #000000;
  font-weight: 700;
}

.premium-button,
.primary-button {
  background: var(--red);
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
}

.premium-button {
  min-width: 122px;
}

.secondary-button,
.icon-button {
  border: 1px solid var(--line);
  background: var(--panel-2);
}

.compact {
  min-height: 32px;
  padding: 0 10px;
}

.app-shell {
  width: min(1700px, calc(100% - 48px));
  max-width: 100%;
  margin: 0 auto;
  padding: 18px 0 46px;
}

.search-panel {
  display: grid;
  gap: 12px;
  width: min(850px, 100%);
  margin-right: auto;
  margin-bottom: 10px;
  margin-left: auto;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 10px;
}

label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
}

select,
.settings-form input {
  width: 100%;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #0d0d0d;
  color: var(--text);
  padding: 0 9px;
  outline: none;
}

button:focus-visible,
input:focus,
select:focus,
a:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.check-row {
  grid-template-columns: auto 1fr;
  align-items: center;
  align-content: end;
  min-height: 55px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 8px 10px;
  background: #0d0d0d;
}

.check-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--red);
}

.status-row {
  justify-content: space-between;
  gap: 16px;
  min-height: 45px;
  color: var(--muted);
}

.pager {
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}

.page-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 62px;
  margin: 28px auto 0;
  padding: 6px 0;
  overflow-x: auto;
}

.page-button,
.page-ellipsis,
.page-next {
  flex: 0 0 auto;
  min-width: 42px;
  min-height: 38px;
  border: 0;
  background: #2c2c2c;
  color: #e8f6ff;
  font-size: 18px;
  font-weight: 700;
  padding: 0 10px;
}

.page-button.is-current {
  background: var(--red);
  color: #ffffff;
}

.page-next {
  min-width: 70px;
  background: transparent;
  color: #ffffff;
  text-decoration: underline;
}

.page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: auto;
  background: transparent;
  padding: 0;
  color: #ffffff;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(335px, 1fr));
  gap: 18px 8px;
}

.video-card {
  min-width: 0;
  background: transparent;
}

.thumb {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid #000000;
  background: #050505;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  padding: 12px;
  overflow: hidden;
}

.thumb-button {
  border-radius: 0;
}

.thumb.has-image {
  padding: 0;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb::after {
  content: attr(data-overlay);
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 28px;
  min-height: 28px;
  border-radius: 4px;
  padding: 2px 4px;
  background: rgba(0, 0, 0, 0.62);
  color: #ffffff;
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  text-align: center;
}

.thumb-label {
  color: #d8d8d8;
}

.card-body {
  display: grid;
  gap: 5px;
  padding-top: 4px;
}

.card-title {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  color: #ffffff;
  padding: 0;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.card-title:hover {
  text-decoration: underline;
}

.meta-line {
  margin: 0;
  color: #bdbdbd;
  text-align: center;
  font-size: 16px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.uploader-name {
  text-decoration: underline;
}

.duration-pill {
  display: inline-flex;
  align-items: center;
  min-height: 21px;
  border-radius: 4px;
  background: var(--pill);
  color: #ffffff;
  padding: 0 5px;
  font-size: 14px;
}

.quality-row a {
  min-height: 29px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0 7px;
  font-size: 13px;
  text-transform: none;
}

.quality-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--panel-2);
  color: var(--text);
  text-decoration: none;
}

dialog {
  width: calc(100vw - 18px);
  max-width: none;
  max-height: calc(100vh - 18px);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #171717;
  color: var(--text);
  padding: 16px;
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.78);
}

.video-dialog {
  overflow: auto;
}

.dialog-head {
  justify-content: space-between;
  gap: 14px;
}

.dialog-actions {
  flex: 0 0 auto;
  gap: 8px;
}

.back-home-button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #242424;
  color: #ffffff;
  padding: 0 14px;
  font-weight: 700;
}

.back-home-button:hover {
  background: #303030;
  color: var(--red);
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2,
h3,
p {
  margin-top: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 22px;
  line-height: 1.2;
}

h3 {
  margin: 18px 0 10px;
  color: var(--muted);
  font-size: 14px;
  text-transform: uppercase;
}

.player-frame {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: clamp(360px, 42vw, calc(100vh - 120px));
  margin-top: 14px;
  border: 1px solid #000000;
  background: #000000;
  overflow: hidden;
}

.player-frame video,
.player-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000000;
}

.watch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 18px;
  margin-top: 12px;
}

.watch-main {
  min-width: 0;
}

.big-play-button {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 86px;
  height: 86px;
  border: 0;
  background: transparent;
  color: #ffffff;
  text-indent: -999px;
  overflow: hidden;
}

.big-play-button::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 19px;
  border-top: 24px solid transparent;
  border-bottom: 24px solid transparent;
  border-left: 38px solid #ffffff;
}

.player-frame.is-playing .big-play-button {
  opacity: 0;
  pointer-events: none;
}

.player-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 7px;
  padding: 0 14px 11px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
}

.progress-track {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.progress-track span {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--red);
}

.control-row,
.control-left,
.control-right,
.watch-toolbar,
.cam-footer {
  display: flex;
  align-items: center;
}

.control-row {
  justify-content: space-between;
  gap: 14px;
  min-height: 38px;
  color: #ffffff;
}

.control-left,
.control-right {
  gap: 12px;
}

.player-icon-button {
  position: relative;
  flex: 0 0 auto;
  width: 38px;
  min-width: 38px;
  height: 36px;
  min-height: 36px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  overflow: hidden;
  padding: 0;
  text-indent: -999px;
}

.player-icon-button::before,
.player-icon-button::after {
  content: "";
  position: absolute;
  display: block;
}

.player-icon-button:hover,
.watch-action:hover {
  color: var(--red);
}

.player-icon-button:hover::before,
.player-icon-button:hover::after {
  border-color: var(--red);
}

#controlPlay::before {
  left: 15px;
  top: 10px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid currentColor;
}

#controlPlay.is-playing::before {
  left: 12px;
  top: 9px;
  width: 5px;
  height: 18px;
  border: 0;
  background: currentColor;
  box-shadow: 10px 0 0 currentColor;
}

#controlMute::before {
  left: 8px;
  top: 12px;
  width: 14px;
  height: 13px;
  background: currentColor;
  clip-path: polygon(0 30%, 42% 30%, 100% 0, 100% 100%, 42% 70%, 0 70%);
}

#controlMute::after {
  left: 20px;
  top: 9px;
  width: 11px;
  height: 18px;
  border: 2px solid transparent;
  border-right-color: currentColor;
  border-radius: 50%;
}

#controlMute.is-muted::after {
  left: 18px;
  top: 17px;
  width: 18px;
  height: 3px;
  border: 0;
  border-radius: 0;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: center;
}

#controlSnapshot::before {
  left: 9px;
  top: 12px;
  width: 19px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

#controlSnapshot::after {
  left: 16px;
  top: 16px;
  width: 5px;
  height: 5px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

#controlDownload::before {
  left: 18px;
  top: 7px;
  width: 3px;
  height: 17px;
  background: currentColor;
}

#controlDownload::after {
  left: 12px;
  top: 18px;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 8px solid currentColor;
}

#controlFullscreen::before {
  left: 9px;
  top: 9px;
  width: 7px;
  height: 7px;
  border-top: 3px solid currentColor;
  border-left: 3px solid currentColor;
  box-shadow: 13px 0 0 -1px #000000, 14px 0 0 0 currentColor;
}

#controlFullscreen::after {
  right: 9px;
  bottom: 9px;
  width: 7px;
  height: 7px;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  box-shadow: -13px 0 0 -1px #000000, -14px 0 0 0 currentColor;
}

#timeText {
  display: inline-flex;
  align-items: center;
  min-width: 110px;
  font-size: 15px;
  white-space: nowrap;
}

.watch-toolbar {
  gap: 16px;
  min-height: 54px;
  border-bottom: 1px solid #222222;
  color: #ffffff;
  flex-wrap: wrap;
}

.watch-stat {
  font-size: 22px;
  font-weight: 700;
}

.watch-action {
  min-height: 34px;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-weight: 700;
}

.watch-action.is-active {
  color: var(--red);
}

.toolbar-spacer {
  flex: 1 1 auto;
}

.live-sidebar {
  min-width: 0;
  border-left: 4px solid #2c2c2c;
  background: #050505;
  padding: 14px 14px 0;
}

.live-sidebar h3 {
  margin: 0 0 18px;
  text-align: center;
  color: #ffffff;
  font-size: 18px;
}

.live-sidebar h3 span {
  color: var(--red);
}

.live-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
}

.live-card {
  position: relative;
  min-width: 0;
  border: 0;
  background: #151515;
  color: #ffffff;
  padding: 0;
  text-align: left;
}

.live-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.live-card span {
  display: block;
  padding: 3px 5px 5px;
  font-size: 14px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-card::after {
  content: "Live";
  position: absolute;
  top: 7px;
  right: 7px;
  border-radius: 999px;
  background: #00d26a;
  color: #ffffff;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 700;
}

.cam-footer {
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding: 10px 0 0;
}

.cam-footer .premium-button {
  min-width: 130px;
}

.quality-row {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}

dl {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 8px 12px;
  margin: 0;
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.chip-list {
  flex-wrap: wrap;
  gap: 7px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 9px;
  background: #0d0d0d;
  color: #ffffff;
  font-size: 13px;
}

.settings-dialog {
  width: min(560px, calc(100% - 28px));
}

.settings-form {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.empty-state,
.error-state {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 28px;
  background: var(--panel);
  color: var(--muted);
  text-align: center;
}

.error-state {
  border-color: var(--danger);
  color: #ffd8d3;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1280px) {
  .masthead {
    gap: 10px;
  }

  .brand-row {
    justify-content: center;
  }

  .results-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .watch-layout {
    grid-template-columns: 1fr;
  }

  .live-sidebar {
    border-left: 0;
    border-top: 4px solid #2c2c2c;
  }
}

@media (max-width: 980px) {
  .results-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .masthead,
  .app-shell {
    width: 100%;
  }

  .masthead {
    min-height: auto;
    gap: 8px;
    padding: 10px;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }

  .brand-mark {
    font-size: 27px;
  }

  .brand-mark span {
    font-size: 27px;
  }

  .search-form {
    grid-template-columns: minmax(0, 1fr) 46px;
    width: min(520px, 100%);
    height: 38px;
  }

  .search-form input {
    border-radius: 4px 0 0 4px;
    padding: 0 10px;
    font-size: 16px;
  }

  .search-button {
    border-radius: 0 4px 4px 0;
  }

  .search-button::before {
    left: 15px;
    top: 11px;
    width: 12px;
    height: 12px;
    border-width: 3px;
  }

  .search-button::after {
    left: 27px;
    top: 26px;
    width: 10px;
  }

  .app-shell {
    padding: 8px 6px 28px;
  }

  .search-panel {
    gap: 8px;
    margin-bottom: 8px;
  }

  .filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  label {
    gap: 4px;
    font-size: 11px;
  }

  select,
  .settings-form input {
    min-height: 36px;
    padding: 0 7px;
    font-size: 13px;
  }

  .check-row {
    min-height: 50px;
    padding: 7px 8px;
  }

  .status-row {
    align-items: stretch;
    flex-direction: column;
    gap: 7px;
    min-height: 0;
    margin: 0 0 8px;
    font-size: 13px;
  }

  .pager {
    width: 100%;
    justify-content: space-between;
    gap: 6px;
  }

  .pager .secondary-button {
    flex: 1 1 0;
  }

  #pageText {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 74px;
  }

  .results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 6px;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .thumb {
    padding: 8px;
    font-size: 11px;
  }

  .thumb::after {
    top: 3px;
    right: 3px;
    min-width: 24px;
    min-height: 24px;
    border-radius: 3px;
    font-size: 15px;
    line-height: 20px;
  }

  .card-body {
    gap: 3px;
    padding-top: 3px;
  }

  .card-title {
    font-size: 14px;
    line-height: 1.15;
  }

  .meta-line {
    font-size: 12px;
    line-height: 1.2;
  }

  .duration-pill {
    min-height: 18px;
    padding: 0 4px;
    font-size: 11px;
  }

  .page-strip {
    justify-content: flex-start;
    gap: 6px;
    min-height: 48px;
    margin-top: 18px;
    padding: 5px 1px 8px;
    scrollbar-width: thin;
  }

  .page-button,
  .page-ellipsis,
  .page-next {
    min-width: 36px;
    min-height: 34px;
    padding: 0 8px;
    font-size: 15px;
  }

  .page-next {
    min-width: 60px;
  }

  dialog {
    width: 100vw;
    height: 100dvh;
    max-height: none;
    margin: 0;
    border: 0;
    border-radius: 0;
    padding: 10px;
  }

  .dialog-head {
    align-items: flex-start;
    gap: 8px;
  }

  .dialog-head h2 {
    display: -webkit-box;
    overflow: hidden;
    font-size: 16px;
    line-height: 1.2;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .icon-button {
    flex: 0 0 auto;
    min-width: 40px;
    min-height: 36px;
  }

  .dialog-actions {
    gap: 6px;
  }

  .back-home-button {
    min-height: 36px;
    padding: 0 10px;
    font-size: 13px;
  }

  .watch-layout {
    gap: 10px;
    margin-top: 8px;
  }

  .player-frame {
    width: calc(100vw - 20px);
    height: auto;
    aspect-ratio: 16 / 9;
    margin-top: 0;
  }

  .big-play-button {
    width: 62px;
    height: 62px;
  }

  .big-play-button::before {
    left: 23px;
    top: 14px;
    border-top-width: 17px;
    border-bottom-width: 17px;
    border-left-width: 28px;
  }

  .player-controls {
    gap: 5px;
    padding: 0 8px 8px;
  }

  .control-row {
    gap: 7px;
  }

  .control-left,
  .control-right {
    gap: 5px;
  }

  .player-icon-button {
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
    padding: 0 3px;
    font-size: 10px;
  }

  #controlPlay::before {
    left: 13px;
    top: 9px;
  }

  #controlPlay.is-playing::before {
    left: 10px;
    top: 8px;
  }

  #controlMute::before {
    left: 7px;
  }

  #controlMute::after {
    left: 18px;
  }

  #controlSnapshot::before {
    left: 7px;
  }

  #controlSnapshot::after {
    left: 14px;
  }

  #controlDownload::before {
    left: 16px;
  }

  #controlDownload::after {
    left: 10px;
  }

  #controlFullscreen::before {
    left: 8px;
  }

  #controlFullscreen::after {
    right: 8px;
  }

  #timeText {
    min-width: 82px;
    font-size: 12px;
    white-space: nowrap;
  }

  .watch-toolbar {
    gap: 8px;
    min-height: 0;
    padding: 8px 0;
  }

  .watch-stat {
    flex: 0 0 100%;
    font-size: 18px;
  }

  .watch-action {
    min-height: 32px;
    padding: 0 4px;
    font-size: 12px;
  }

  .toolbar-spacer {
    display: none;
  }

  .quality-row {
    gap: 6px;
    margin-top: 8px;
  }

  .quality-row a {
    min-height: 30px;
    font-size: 12px;
  }

  h3 {
    margin: 12px 0 8px;
    font-size: 12px;
  }

  dl {
    grid-template-columns: 1fr;
    gap: 4px;
    font-size: 13px;
  }

  .chip {
    min-height: 26px;
    font-size: 12px;
  }

  .live-sidebar {
    border-left: 0;
    border-top: 3px solid #2c2c2c;
    padding: 10px;
  }

  .live-sidebar h3 {
    margin-bottom: 10px;
    font-size: 15px;
  }

  .live-grid {
    gap: 8px;
  }

  .live-card span {
    font-size: 12px;
  }

  .live-card::after {
    top: 5px;
    right: 5px;
    padding: 2px 6px;
    font-size: 11px;
  }

  .cam-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .cam-footer .premium-button {
    min-width: 0;
  }

  .age-gate {
    padding: 10px;
  }

  .age-panel {
    padding: 22px 16px;
  }

  .age-panel h1 {
    font-size: 38px;
  }

  .age-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .masthead {
    padding: 9px 8px;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .brand-mark {
    font-size: 24px;
  }

  .brand-mark span {
    font-size: 24px;
  }

  .card-title {
    font-size: 13px;
  }

  .meta-line {
    font-size: 11px;
  }

  #timeText {
    min-width: 76px;
  }
}

@media (max-width: 700px) and (orientation: landscape) {
  dialog {
    padding: 8px;
  }

  .dialog-head h2,
  .eyebrow,
  .quality-row,
  .detail-grid,
  .live-sidebar {
    display: none;
  }

  .player-frame {
    width: calc(100vw - 16px);
    height: calc(100dvh - 64px);
    aspect-ratio: auto;
  }
}

@media (max-width: 340px) {
  .filter-grid,
  .results-grid {
    grid-template-columns: 1fr;
  }
}
