.mnh {
  --mnh-navy: #0d1b2a;
  --mnh-ink: #2a2929;
  --mnh-ice: #e0e1dd;
  --mnh-gold: #ffc841;
  --mnh-muted: #415a77;
  --mnh-paper: #f8f9fa;
  color: var(--mnh-ink);
  font-family: Roboto, Calibri, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

.mnh h2,
.mnh h3 {
  font-family: Roboto, Calibri, "Segoe UI", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0;
}

.mnh p { margin: 0; }

.mnh-wrap {
  width: min(1100px, calc(100% - 48px));
  margin-inline: auto;
}

.mnh-kicker {
  margin: 0 0 12px;
  color: var(--mnh-gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mnh-kicker-ink { color: var(--mnh-ink); }

.mnh-hero {
  background: #2a2929;
  color: #fff;
  padding: 28px 0 72px;
}

.mnh-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: center;
}

.mnh-hero h2 {
  color: #fff;
  font-size: clamp(28px, 4vw, 44px);
}

.mnh-deck {
  margin-top: 16px;
  max-width: 46ch;
  color: var(--mnh-ice);
  font-size: 17px;
}

.mnh-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 18px 0 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.mnh-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.mnh-btn,
.mnh-filters button,
.mnh-search input,
.mnh-text-btn,
.mnh-poster,
.mnh-dialog-close {
  font: inherit;
}

.mnh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--mnh-gold);
  color: var(--mnh-ink);
  border: 0;
  border-radius: 4px;
  padding: 14px 28px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.mnh-btn:hover { opacity: 0.92; }

.mnh-btn-ghost {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 2px var(--mnh-gold);
}

.mnh-poster {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #111;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  overflow: hidden;
  text-align: left;
}

.mnh-poster img,
.mnh-poster-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mnh-poster-fallback { background: #1b2838; }

.mnh-badge,
.mnh-runtime {
  position: absolute;
  z-index: 1;
}

.mnh-badge {
  top: 12px;
  left: 12px;
  background: var(--mnh-gold);
  color: var(--mnh-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
}

.mnh-runtime {
  right: 12px;
  bottom: 12px;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 3px 7px;
}

.mnh-play-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68px;
  height: 68px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--mnh-gold);
}

.mnh-play-icon::after {
  content: "";
  position: absolute;
  left: 28px;
  top: 22px;
  border-style: solid;
  border-width: 12px 0 12px 18px;
  border-color: transparent transparent transparent var(--mnh-ink);
}

.mnh-library { background: var(--mnh-paper); padding: 64px 0 80px; }

.mnh-library h2 { font-size: clamp(28px, 3vw, 40px); color: var(--mnh-navy); }

.mnh-tools {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin: 22px 0 8px;
}

.mnh-filters { display: flex; flex-wrap: wrap; gap: 8px; }

.mnh-filters button {
  border: 0;
  background: #fff;
  color: var(--mnh-ink);
  border-radius: 100px;
  padding: 8px 14px;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px #e6e6e6;
}

.mnh-filters button[aria-pressed="true"] {
  background: var(--mnh-gold);
  box-shadow: none;
  font-weight: 700;
}

.mnh-search input {
  border: 1px solid #ddd;
  background: #fff;
  padding: 10px 12px;
  min-width: min(280px, 100%);
}

.mnh-count { color: var(--mnh-muted); font-size: 14px; margin: 8px 0 16px; }

.mnh-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 22px;
}

.mnh-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(13, 27, 42, 0.08);
}

.mnh-card[hidden] { display: none !important; }

.mnh-card h3 { font-size: 18px; margin: 16px 18px 0; }

.mnh-card h3 button,
.mnh-text-btn {
  background: none;
  border: 0;
  padding: 0;
  color: var(--mnh-navy);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.mnh-card h3 button:hover,
.mnh-text-btn:hover { text-decoration: underline; }

.mnh-card > p {
  color: var(--mnh-muted);
  font-size: 14.5px;
  margin: 8px 18px 0;
}

.mnh-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: auto;
  padding: 14px 18px 16px;
  color: var(--mnh-muted);
  font-size: 13px;
}

.mnh-none,
.mnh-empty {
  color: var(--mnh-muted);
  padding: 28px 0 8px;
}

.mnh-empty { padding: 48px 24px; text-align: center; }

.mnh-dialog {
  border: 0;
  padding: 0;
  background: transparent;
  width: min(920px, calc(100% - 32px));
}

.mnh-dialog::backdrop { background: rgba(0, 0, 0, 0.72); }

.mnh-dialog-card { background: #111; color: #fff; }

.mnh-dialog-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 16px 12px;
}

.mnh-dialog-top h2 { color: #fff; font-size: 18px; }

.mnh-dialog-close {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.mnh-dialog-frame { background: #000; aspect-ratio: 16 / 9; }

.mnh-dialog-frame video,
.mnh-dialog-frame audio,
.mnh-single video,
.mnh-single audio {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}

.mnh-dialog-frame audio { height: auto; margin-top: 24%; }

.mnh-dialog-link {
  display: inline-block;
  margin: 12px 16px 16px;
  color: var(--mnh-gold);
}

.mnh-single { margin: 0 0 24px; }
.mnh-single video,
.mnh-single audio { width: 100%; height: auto; }

.mnh :focus-visible { outline: 2px solid var(--mnh-gold); outline-offset: 3px; }

@media (max-width: 900px) {
  .mnh-hero-grid,
  .mnh-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .mnh-wrap { width: min(1100px, calc(100% - 32px)); }
  .mnh-hero { padding-top: 8px; }
}
