/* Minimal MiniCinema layout adjustments to the original IINA stylesheet. */
@media (min-width: 841px) {
  .hero .hero-title { font-size: clamp(3.6rem, 6vw, 5rem); }
  .hero .hero-subtitle { max-width: 24rem; }
}
@media (max-width: 840px) {
  .hero .hero-title { font-size: clamp(3.15rem, 10vw, 5rem); margin-left: 0; }
}
.feat-native .feature-image img { aspect-ratio: 2752 / 974; object-fit: contain; object-position: center top; }
/* The customization section no longer contains plugin links. */
.feat-extensible { height: auto; }
/* One real contribution link, centered instead of the original three-link arrangement. */
.feat-free .links { display: flex; justify-content: center; height: auto; }
.feat-free .links .link-github {
  position: relative; inset: auto; transform: none; box-sizing: border-box;
  width: min(100%, 18rem); padding: .8rem 1.2rem .8rem 3rem;
}
.feat-free .links .link-github > span:last-child { position: relative; z-index: 2; }
@media (max-width: 600px) {
  nav .nav-menu[open] ul { z-index: 10; background: var(--body-bg); padding: .5rem; }
}

/* Language switch: uses the existing navigation style. */
nav .language-link { white-space: nowrap; }
nav .language-link a { text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 380px) {
  nav .nav-left { gap: .65rem; }
  nav .nav-menu { margin-left: .65rem; }
}
