:root {
  color-scheme: dark;
  --page-bg: #080d13;
  --surface: #111922;
  --surface-strong: #172431;
  --surface-muted: #0d141d;
  --line: rgba(172, 217, 232, 0.18);
  --line-strong: rgba(80, 211, 255, 0.46);
  --text: #f5f9fb;
  --muted: #b8c4cc;
  --soft: #dce8ee;
  --cyan: #38d6ff;
  --cyan-strong: #09b9ee;
  --violet: #8d6aff;
  --amber: #ffc85a;
  --green: #78e5b1;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --max-width: 1180px;
  --header-height: 74px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

body.gallery-open {
  overflow: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(180deg, rgba(8, 13, 19, 0.76), #080d13 42rem),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.024) 0 1px, transparent 1px 96px);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 50;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--text);
  color: var(--page-bg);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 13, 19, 0.88);
  backdrop-filter: blur(18px);
}

.header-inner,
.section-shell {
  width: min(100% - 32px, var(--max-width));
  margin-inline: auto;
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(56, 214, 255, 0.7);
  border-radius: var(--radius);
  background: #102235;
  overflow: hidden;
  box-shadow: inset 0 0 18px rgba(56, 214, 255, 0.18);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  gap: 6px;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a {
  padding: 9px 10px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 650;
  transition: background 160ms ease, color 160ms ease;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.nav-links a[aria-current="page"] {
  background: rgba(56, 214, 255, 0.12);
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
}

.header-cta,
.button,
.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  border-radius: var(--radius);
  font-weight: 800;
  letter-spacing: 0;
}

.header-cta {
  flex: 0 0 auto;
  padding: 0 15px;
  background: var(--cyan);
  color: #031018;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--soft);
}

.language-switcher svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  stroke-width: 2.2;
}

.language-switcher select {
  max-width: 132px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0;
  color-scheme: dark;
}

.language-switcher option {
  background: var(--surface);
  color: var(--text);
}

.header-cta svg,
.button svg,
.download-button svg,
.feature-card svg,
.platform-icon svg {
  width: 19px;
  height: 19px;
  stroke-width: 2.2;
}

.hero {
  position: relative;
  min-height: clamp(520px, 78svh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url("images/openiptv-hero.jpeg");
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 13, 19, 0.92) 0%, rgba(8, 13, 19, 0.56) 44%, rgba(8, 13, 19, 0.18) 100%),
    linear-gradient(0deg, #080d13 0%, rgba(8, 13, 19, 0.2) 36%, rgba(8, 13, 19, 0.08) 100%);
}

.hero-content {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
  padding: 110px 0 84px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  color: var(--text);
  font-size: clamp(3.4rem, 12vw, 7.6rem);
  line-height: 0.95;
  letter-spacing: 0;
  text-shadow: 0 8px 44px rgba(0, 0, 0, 0.58);
}

.hero-subline {
  max-width: 670px;
  margin: 22px 0 0;
  color: var(--soft);
  font-size: clamp(1.12rem, 3vw, 1.55rem);
  line-height: 1.35;
}

.hero-disclaimer {
  max-width: 640px;
  margin: 18px 0 0;
  padding-left: 16px;
  border-left: 4px solid var(--amber);
  color: #fff3d0;
  font-size: 1rem;
  font-weight: 750;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  padding: 0 18px;
  border: 1px solid transparent;
  transition: border 160ms ease, background 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--cyan);
  color: #031018;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(9, 17, 25, 0.74);
  color: var(--text);
}

.content-notice,
.downloads-section {
  background: #0b121a;
}

.content-notice {
  border-bottom: 1px solid var(--line);
}

.notice-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  gap: 34px;
  padding: 42px 0;
  align-items: start;
}

.notice-layout h2,
.section-heading h2,
.update-heading h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.notice-copy {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(255, 200, 90, 0.34);
  border-radius: var(--radius);
  background: rgba(255, 200, 90, 0.08);
}

.notice-copy p {
  margin: 0;
  color: #f7eac8;
  font-size: 1.05rem;
}

.page-section {
  padding: clamp(72px, 10vw, 116px) 0;
}

.privacy-main {
  background: var(--page-bg);
}

.privacy-hero {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(56, 214, 255, 0.12), transparent 34rem),
    var(--surface-muted);
}

.privacy-hero .section-shell,
.privacy-document {
  max-width: 920px;
}

.privacy-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  margin-bottom: 24px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--soft);
  font-weight: 800;
  transition: background 160ms ease, color 160ms ease;
}

.privacy-back:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.privacy-back svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

.privacy-hero h1 {
  max-width: 840px;
  margin: 0;
  color: var(--text);
  font-size: clamp(2.6rem, 8vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.privacy-effective {
  margin: 20px 0 0;
  color: var(--amber);
  font-weight: 850;
}

.privacy-lead {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--soft);
  font-size: clamp(1.05rem, 2.4vw, 1.24rem);
}

.privacy-document {
  padding: clamp(56px, 8vw, 86px) 0;
}

.privacy-document section + section {
  margin-top: 42px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.privacy-document h2 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.16;
  letter-spacing: 0;
}

.privacy-document p {
  margin: 0;
  color: var(--soft);
  font-size: 1.02rem;
}

.privacy-document p + p,
.privacy-document p + ul,
.privacy-document ul + p {
  margin-top: 14px;
}

.privacy-document ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 22px;
  color: var(--soft);
}

.privacy-document li::marker {
  color: var(--cyan);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p:not(.section-kicker),
.update-heading p:not(.section-kicker) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.compact-heading {
  max-width: 820px;
}

.feature-grid,
.download-grid {
  display: grid;
  gap: 14px;
}

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

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

.download-highlight-grid {
  grid-template-columns: 1fr;
  margin-bottom: 18px;
}

.feature-card,
.download-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17, 25, 34, 0.82);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
}

.feature-card {
  padding: 18px;
}

.feature-card svg {
  width: 27px;
  height: 27px;
  margin-bottom: 16px;
  color: var(--cyan);
}

.feature-card:nth-child(3n) svg {
  color: var(--violet);
}

.feature-card:nth-child(4n) svg {
  color: var(--green);
}

.feature-card h3,
.download-card h3,
.release-summary h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.03rem;
  line-height: 1.25;
}

.feature-card p,
.download-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.screenshot-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-muted);
}

.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.screenshot-card {
  position: relative;
  grid-column: span 4;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #05080c;
  box-shadow: var(--shadow);
}

.screenshot-card.is-wide {
  grid-column: span 6;
}

.screenshot-card.is-portrait,
.screenshot-card.is-start {
  grid-column: span 4;
}

.screenshot-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  background: #05080c;
}

.screenshot-card.is-wide img {
  aspect-ratio: 1881 / 836;
}

.screenshot-card.is-portrait img,
.screenshot-card.is-start img {
  height: min(62vw, 620px);
}

.gallery-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
}

.gallery-trigger img {
  transition: transform 220ms ease, filter 220ms ease;
}

.gallery-trigger:hover img {
  filter: brightness(1.08);
  transform: scale(1.018);
}

.screenshot-card figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  padding: 9px 10px;
  border-radius: var(--radius);
  background: rgba(5, 8, 12, 0.72);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.support-section {
  border-top: 1px solid var(--line);
  background: #0b121a;
}

.support-stack {
  display: grid;
  gap: 22px;
}

.support-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 296px);
  gap: 24px;
  align-items: center;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17, 25, 34, 0.82);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
}

.support-copy {
  min-width: 0;
}

.support-copy h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.12;
}

.support-copy p {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--soft);
  font-size: 1.04rem;
}

.visible-url {
  display: inline-flex;
  max-width: 100%;
  margin-top: 16px;
  padding: 10px 12px;
  border: 1px solid rgba(56, 214, 255, 0.34);
  border-radius: var(--radius);
  background: rgba(56, 214, 255, 0.08);
  color: var(--cyan);
  font-weight: 850;
  overflow-wrap: anywhere;
  transition: border 160ms ease, background 160ms ease, color 160ms ease;
}

.visible-url:hover {
  border-color: var(--line-strong);
  background: rgba(56, 214, 255, 0.14);
  color: var(--text);
}

.support-image-link {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #05080c;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
  transition: border 160ms ease, transform 160ms ease, filter 160ms ease;
}

.support-image-link:hover {
  border-color: var(--line-strong);
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.support-image-link img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: minmax(52px, 0.12fr) minmax(0, 1fr) minmax(52px, 0.12fr);
  gap: 18px;
  align-items: center;
  padding: 72px 24px 28px;
  background: rgba(4, 8, 13, 0.92);
  backdrop-filter: blur(18px);
}

.gallery-modal[aria-hidden="true"] {
  display: none;
}

.gallery-frame {
  display: grid;
  grid-column: 2;
  justify-items: center;
  gap: 14px;
  margin: 0;
  min-width: 0;
}

.gallery-frame img {
  max-width: 100%;
  max-height: min(78vh, 820px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #05080c;
  object-fit: contain;
  box-shadow: var(--shadow);
}

.gallery-frame figcaption {
  max-width: min(100%, 900px);
  padding: 8px 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--soft);
  font-weight: 800;
  text-align: center;
}

.gallery-control {
  display: inline-grid;
  width: 48px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17, 25, 34, 0.84);
  color: var(--text);
  cursor: pointer;
  transition: background 160ms ease, border 160ms ease, transform 160ms ease;
}

.gallery-control:hover {
  border-color: var(--line-strong);
  background: rgba(56, 214, 255, 0.16);
  transform: translateY(-1px);
}

.gallery-control svg {
  width: 24px;
  height: 24px;
}

.gallery-close {
  position: absolute;
  top: 18px;
  right: 18px;
}

.gallery-prev {
  grid-column: 1;
  justify-self: end;
}

.gallery-next {
  grid-column: 3;
  justify-self: start;
}

.download-card {
  display: grid;
  min-height: 306px;
  padding: 18px;
}

.tv-downloader-card {
  grid-template-columns: minmax(0, 1fr) minmax(190px, 260px);
  gap: 18px;
  align-items: center;
  min-height: 0;
}

.download-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.platform-icon {
  display: grid;
  width: 44px;
  aspect-ratio: 1;
  flex: 0 0 auto;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(56, 214, 255, 0.12);
  color: var(--cyan);
}

.platform-icon svg {
  width: 24px;
  height: 24px;
}

.download-meta {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}

.tv-downloader-copy {
  max-width: 760px;
  margin-top: 16px;
  color: var(--soft);
}

.tv-downloader-code {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(255, 200, 90, 0.42);
  border-radius: var(--radius);
  background: rgba(255, 200, 90, 0.09);
  color: #fff3d0;
  text-align: center;
}

.tv-downloader-code span {
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tv-downloader-code strong {
  color: var(--text);
  font-size: clamp(2.05rem, 6vw, 3.1rem);
  font-weight: 950;
  line-height: 1;
  overflow-wrap: anywhere;
}

.download-meta div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding-bottom: 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

.download-meta strong {
  color: var(--soft);
  font-weight: 800;
  overflow-wrap: anywhere;
  text-align: right;
}

.download-meta .checksum-row {
  align-items: center;
}

.checksum-row span {
  flex: 0 0 auto;
}

.checksum-copy {
  max-width: 100%;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--soft);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  overflow-wrap: normal;
  text-align: right;
  transition: color 160ms ease, background 160ms ease;
  white-space: nowrap;
}

.checksum-copy:hover,
.checksum-copy:focus-visible {
  color: var(--cyan);
}

.checksum-copy.is-copied {
  color: var(--green);
}

.download-button {
  align-self: end;
  width: 100%;
  padding: 0 14px;
  background: var(--cyan);
  color: #031018;
  text-align: center;
}

.download-button.is-disabled {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
  cursor: not-allowed;
}

.loading-line {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
}

.updates-section {
  background: #080d13;
}

.update-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 1.08fr);
  gap: 28px;
  align-items: start;
}

.release-summary {
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(17, 25, 34, 0.82);
  box-shadow: var(--shadow);
}

.release-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 26px;
}

.release-meta div {
  padding: 15px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.release-meta dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.release-meta dd {
  margin: 4px 0 0;
  color: var(--text);
  font-size: 1.18rem;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.release-notes {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--soft);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #070a0f;
}

.footer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px 0;
}

.footer-brand {
  margin-bottom: 12px;
}

.site-footer p {
  max-width: 460px;
  margin: 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.footer-links a {
  padding: 9px 10px;
  border-radius: var(--radius);
  color: var(--soft);
  font-weight: 750;
}

.footer-links a:hover {
  background: rgba(255, 255, 255, 0.07);
}

@media (max-width: 1040px) {
  .feature-grid,
  .download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .download-highlight-grid {
    grid-template-columns: 1fr;
  }

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

  .screenshot-card.is-wide {
    grid-column: span 12;
  }

  .screenshot-card.is-portrait,
  .screenshot-card.is-start {
    grid-column: span 4;
  }

  .gallery-modal {
    grid-template-columns: 56px minmax(0, 1fr) 56px;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: auto;
  }

  .header-inner {
    min-height: 0;
    padding: 12px 0;
    flex-wrap: wrap;
  }

  .brand {
    margin-right: auto;
  }

  .header-actions {
    margin-left: auto;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding-bottom: 2px;
  }

  .nav-links a {
    flex: 0 0 auto;
  }

  .hero {
    min-height: 610px;
  }

  .hero-media {
    background-position: 45% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8, 13, 19, 0.97) 0%, rgba(8, 13, 19, 0.82) 62%, rgba(8, 13, 19, 0.62) 100%),
      linear-gradient(0deg, #080d13 0%, rgba(8, 13, 19, 0.48) 46%, rgba(8, 13, 19, 0.24) 100%);
  }

  .hero-content {
    padding: 88px 0 54px;
  }

  .notice-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .screenshot-card.is-portrait,
  .screenshot-card.is-start {
    grid-column: span 6;
  }
}

@media (max-width: 620px) {
  .header-inner,
  .section-shell,
  .hero-content {
    width: min(100% - 24px, var(--max-width));
  }

  .header-cta span {
    display: none;
  }

  .header-cta {
    width: 44px;
    padding: 0;
  }

  .language-switcher {
    gap: 6px;
    padding: 0 8px;
  }

  .language-switcher select {
    width: 2.5rem;
    max-width: 2.5rem;
    min-width: 0;
    overflow: hidden;
    text-overflow: clip;
  }

  .hero {
    min-height: clamp(470px, 60svh, 520px);
  }

  .hero-content {
    padding: 52px 0 64px;
  }

  .hero h1 {
    font-size: clamp(3rem, 16vw, 4rem);
  }

  .hero-subline {
    max-width: 22rem;
    font-size: 1.08rem;
  }

  .hero-disclaimer {
    max-width: 22rem;
    font-size: 0.98rem;
  }

  .button {
    width: 100%;
  }

  .feature-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .tv-downloader-card {
    grid-template-columns: 1fr;
  }

  .screenshot-gallery {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .screenshot-card,
  .screenshot-card.is-wide,
  .screenshot-card.is-portrait,
  .screenshot-card.is-start {
    grid-column: auto;
  }

  .screenshot-card.is-portrait img,
  .screenshot-card.is-start img {
    height: auto;
    aspect-ratio: 1 / 1.9;
  }

  .support-panel {
    grid-template-columns: 1fr;
  }

  .support-image-link {
    width: min(100%, 296px);
  }

  .gallery-modal {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 74px 14px 18px;
  }

  .gallery-frame {
    grid-column: 1 / -1;
  }

  .gallery-frame img {
    max-height: 70vh;
  }

  .gallery-prev,
  .gallery-next {
    grid-row: 2;
  }

  .gallery-prev {
    grid-column: 1;
    justify-self: end;
  }

  .gallery-next {
    grid-column: 2;
    justify-self: start;
  }

  .release-meta,
  .footer-layout {
    grid-template-columns: 1fr;
  }

  .footer-layout {
    display: grid;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}