@font-face {
  font-family: Inter;
  src: url('/apps/assets/fonts/InterVariable.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --app-bg: #07131d;
  --app-surface: #0e202b;
  --app-surface-hover: #142c38;
  --app-text: #f6f7f3;
  --app-muted: #a9bec6;
  --app-green: #90d4a6;
  --app-gold: #f1ce64;
  --app-line: #203542;
  --app-header-height: 60px;
  --app-nav-height: 68px;
  --app-max-width: 1180px;
  --player-radius: 0;
  --player-accent: #90d4a6;
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background: var(--app-bg);
  color: var(--app-text);
}

.channel-availability {
  display: block;
  margin-top: 5px;
  color: #e3bb83;
  font-size: 12px;
  line-height: 1.4;
}

.channel-pools {
  display: flex;
  gap: 4px;
  margin: 18px 0 4px;
  padding: 4px;
  border: 1px solid var(--app-line);
  border-radius: 12px;
  background: #0b1b25;
}
.channel-pools button {
  flex: 1;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 8px;
  background: transparent;
  color: var(--app-muted);
  font-size: 14px;
  font-weight: 650;
}
.channel-pools button[aria-pressed='true'] {
  background: #163c30;
  color: var(--app-green);
}
.channel-pools span { margin-left: 4px; font-size: 12px; opacity: .8; }

* {
  box-sizing: border-box;
}

html {
  min-width: 280px;
  min-height: 100%;
  scroll-padding-top: calc(var(--app-header-height) + 16px);
  scrollbar-color: #3c5664 var(--app-bg);
}

body {
  min-width: 280px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding-bottom: calc(var(--app-nav-height) + env(safe-area-inset-bottom, 0px));
  background: var(--app-bg);
  color: var(--app-text);
  -webkit-tap-highlight-color: transparent;
}

body:has(.picker-dialog[open]) {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
summary {
  touch-action: manipulation;
}

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

button {
  color: inherit;
  cursor: pointer;
}

button {
  border: 0;
}

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

button:disabled {
  cursor: wait;
  opacity: .55;
}

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

h1,
h2,
h3,
p {
  margin: 0;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--app-green);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 10px;
  padding: 12px 16px;
  transform: translateY(-180%);
  border-radius: 8px;
  background: var(--app-gold);
  color: var(--app-bg);
  font-weight: 700;
}

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

.app-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  min-height: var(--app-header-height);
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--app-bg);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: var(--app-max-width);
  min-height: var(--app-header-height);
  margin-inline: auto;
  padding-inline: 16px;
}

.brand {
  display: inline-flex;
  min-width: 0;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  color: var(--app-text);
  font-size: 30px;
  font-weight: 850;
  letter-spacing: -1.2px;
  line-height: 1;
}

.brand img {
  flex: 0 0 auto;
  width: 51px;
  height: 34px;
  object-fit: contain;
}

.brand span {
  min-width: 0;
}

.icon-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 10px;
  border-radius: 12px;
  background: transparent;
}

.icon-button img {
  width: 24px;
  height: 24px;
}

.app-main {
  width: 100%;
  max-width: var(--app-max-width);
  min-height: calc(100dvh - var(--app-header-height) - var(--app-nav-height) - env(safe-area-inset-bottom, 0px));
  margin-inline: auto;
  padding-bottom: 24px;
}

#app[data-view='explore'] .app-main {
  min-height: 0;
  padding-bottom: 0;
}

.screen-padding {
  min-width: 0;
  padding: 17px 16px 12px;
}

.screen-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  color: var(--app-text);
  font-size: clamp(27px, 8.2vw, 34px);
  font-weight: 800;
  letter-spacing: -1.1px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.screen-heading h1 {
  min-width: 0;
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}

.screen-heading .country-choice {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
}

.screen-subtitle {
  margin-top: 6px;
  color: var(--app-muted);
  font-size: 15px;
  line-height: 1.5;
}

.country-choice {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  background: transparent;
  color: var(--app-text);
  font-weight: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-align: left;
}

.country-choice img {
  width: 20px;
  height: 20px;
}

.language-tabs {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 7px;
  min-width: 0;
  min-height: 51px;
  padding-inline: 16px;
  border-bottom: 1px solid var(--app-line);
  overflow-x: auto;
  scrollbar-width: none;
}

.language-tabs::-webkit-scrollbar {
  display: none;
}

.screen-padding > .language-tabs {
  width: calc(100% + 32px);
  margin-top: 12px;
  margin-inline: -16px;
}

div.screen-padding:has(> .language-tabs) {
  padding-bottom: 0;
}

.language-tab {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 50px;
  min-width: 44px;
  padding: 0 6px;
  border-radius: 0;
  background: transparent;
  color: #d5e0e4;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

.language-tab img {
  width: 16px;
  height: 16px;
}

.language-tab[aria-pressed='true'] {
  color: var(--app-green);
}

.language-tab[aria-pressed='true']::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--app-green);
  content: '';
}

.world-entry {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  height: 180px;
  overflow: hidden;
  border-bottom: 1px solid var(--app-line);
  background: var(--app-bg);
}

.world-copy {
  position: relative;
  z-index: 2;
  width: 61%;
  min-width: 0;
  max-width: 250px;
  padding-left: 16px;
  padding-right: 7px;
}

.world-copy h2 {
  max-width: 215px;
  color: var(--app-text);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.9px;
  line-height: 1.07;
}

.world-copy p {
  max-width: 165px;
  margin-top: 8px;
  color: #c1d0d7;
  font-size: 14px;
  line-height: 1.45;
}

.world-action {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-height: 44px;
  margin-top: 2px;
  padding: 0;
  background: transparent;
  color: var(--app-green);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.3;
}

.world-action img {
  width: 20px;
  height: 20px;
}

.world-image {
  position: absolute;
  z-index: 0;
  top: -11px;
  right: -28px;
  width: 270px;
  max-width: none;
  height: 202px;
  object-fit: contain;
  mix-blend-mode: screen;
  pointer-events: none;
}

.section-block {
  min-width: 0;
  padding: 20px 16px 8px;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  margin-bottom: 12px;
}

.section-title h2,
h2.section-title {
  min-width: 0;
  color: var(--app-text);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -.65px;
  line-height: 1.2;
}

.section-title > a,
.section-title > button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  min-height: 44px;
  background: transparent;
  color: var(--app-green);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.3;
  white-space: nowrap;
}

.section-title > a img,
.section-title > button img {
  width: 17px;
  height: 17px;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 17px 12px;
  min-width: 0;
}

.channel-card {
  display: block;
  min-width: 0;
  width: 100%;
  padding: 0;
  border-radius: 9px;
  background: transparent;
  color: inherit;
  text-align: left;
}

.channel-picture {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid #34414b;
  border-radius: 9px;
  background: #122530;
}

.channel-picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.channel-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 14px;
  background: #122530;
  color: #bedacb;
  font-size: 24px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
}

.channel-symbol img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.play-affordance {
  position: absolute;
  bottom: 7px;
  left: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #07131deb;
}

.play-affordance img {
  width: 17px;
  height: 17px;
}

.channel-title {
  display: block;
  min-width: 0;
  margin-top: 5px;
  color: var(--app-text);
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -.32px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.channel-meta {
  display: block;
  min-width: 0;
  margin-top: 3px;
  color: var(--app-muted);
  font-size: 12px;
  font-weight: 450;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}

.category-entry {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 102px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  overflow: hidden;
  padding: 12px;
  border-radius: 10px;
  background: #132731;
  color: var(--app-text);
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -.3px;
  line-height: 1.25;
  text-align: left;
}

.category-entry > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-entry > span {
  position: relative;
  z-index: 1;
  max-width: 100%;
  padding: 5px 7px;
  border-radius: 5px;
  background: #07131de8;
}

.install-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-width: 0;
  min-height: 76px;
  margin: 24px 16px 0;
  padding: 15px 0;
  border-top: 1px solid var(--app-line);
  border-bottom: 1px solid var(--app-line);
  color: var(--app-muted);
  font-size: 13px;
  line-height: 1.5;
}

.install-entry strong {
  display: block;
  margin-bottom: 2px;
  color: var(--app-text);
  font-size: 15px;
  font-weight: 650;
}

.install-entry a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  color: var(--app-green);
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}

.install-entry img {
  width: 19px;
  height: 19px;
}

.install-entry > img {
  flex: 0 0 auto;
  width: 40px;
  height: 28px;
  object-fit: contain;
}

.install-entry > div {
  flex: 1 1 auto;
  min-width: 0;
}

.bottom-nav {
  position: fixed;
  z-index: 60;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  width: 100%;
  max-width: var(--app-max-width);
  min-height: calc(var(--app-nav-height) + env(safe-area-inset-bottom, 0px));
  margin-inline: auto;
  padding: 0 6px env(safe-area-inset-bottom, 0px);
  border-top: 1px solid var(--app-line);
  background: var(--app-bg);
}

.bottom-nav a {
  display: flex;
  min-width: 0;
  min-height: var(--app-nav-height);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 8px 3px;
  color: #e8edef;
  font-size: 11px;
  font-weight: 550;
  line-height: 1.3;
  text-align: center;
}

.bottom-nav a img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.bottom-nav a[aria-current='page'] {
  color: var(--app-green);
  font-weight: 700;
}

.field-label {
  display: block;
  margin: 16px 0 7px;
  color: var(--app-muted);
  font-size: 13px;
  font-weight: 550;
  line-height: 1.4;
}

.results-caption,
.section-note {
  margin-top: 16px;
  color: var(--app-muted);
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.results-caption {
  margin-bottom: 5px;
}

.search-input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #3b5361;
  border-radius: 11px;
  outline-offset: 3px;
  background: #10232e;
  color: var(--app-text);
  font-size: 16px;
  line-height: 1.4;
}

.search-input::placeholder {
  color: #9ab1bd;
  opacity: 1;
}

.search-input::-webkit-search-cancel-button {
  cursor: pointer;
}

.filter-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  margin-top: 12px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 44px;
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid var(--app-line);
  border-radius: 9px;
  background: #10232e;
  color: #cfdee3;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.3;
}

.filter-chip[aria-pressed='true'] {
  border-color: #619875;
  background: #133d30;
  color: #b9f1ca;
}

.filter-chip img {
  width: 17px;
  height: 17px;
}

.channel-list {
  display: grid;
  min-width: 0;
  margin: 4px 16px 0;
}

.screen-padding .channel-list {
  margin-inline: 0;
}

.channel-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
  min-height: 78px;
  padding: 11px 0;
  border-bottom: 1px solid var(--app-line);
  background: transparent;
  color: inherit;
  text-align: left;
}

.channel-row[aria-current='true'],
.channel-row[aria-current='page'],
.channel-row.is-playing {
  margin-inline: -10px;
  width: calc(100% + 20px);
  padding-inline: 10px;
  border-bottom-color: #2f5747;
  border-radius: 9px;
  background: #102e25;
}

.row-picture {
  position: relative;
  display: block;
  flex: 0 0 82px;
  width: 82px;
  height: 49px;
  overflow: hidden;
  border-radius: 6px;
  background: #122530;
}

.row-picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.row-picture .channel-symbol {
  padding: 6px;
  font-size: 15px;
}

.row-picture .channel-symbol img {
  width: 25px;
  height: 25px;
}

.row-channel-text {
  flex: 1 1 auto;
  min-width: 0;
}

.row-channel-text .channel-title {
  margin-top: 0;
  font-size: 15px;
  line-height: 1.3;
}

.row-channel-text .channel-meta {
  font-size: 12px;
  line-height: 1.45;
}

.row-play {
  display: inline-flex;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 44px;
}

.row-play img {
  width: 20px;
  height: 20px;
}

.primary-button,
.load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 11px;
  background: var(--app-gold);
  color: #11202a;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.primary-button img,
.load-more img {
  width: 20px;
  height: 20px;
}

.load-more {
  display: flex;
  width: calc(100% - 32px);
  margin: 22px 16px 6px;
  border: 1px solid #365461;
  background: #122934;
  color: var(--app-text);
}

.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 6px 0;
  background: transparent;
  color: var(--app-green);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
}

.text-button img {
  width: 19px;
  height: 19px;
}

.empty-state,
.loading-state {
  min-width: 0;
  padding: 38px 20px;
  color: var(--app-muted);
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

.empty-state h2,
.empty-state h3,
.loading-state h2 {
  margin-bottom: 9px;
  color: var(--app-text);
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -.4px;
  line-height: 1.3;
}

.empty-state p,
.loading-state p {
  max-width: 420px;
  margin-inline: auto;
}

.empty-state .primary-button,
.empty-state .text-button {
  margin-top: 14px;
}

.watch-section {
  width: 100%;
  max-width: var(--app-max-width);
  min-width: 0;
  margin-inline: auto;
  background: var(--app-bg);
}

.watch-section .mobile-player {
  --player-accent: var(--app-green);
  --player-radius: 0;
}

.watch-section .mobile-player__notice {
  color: var(--app-muted);
}

.watch-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  min-height: 50px;
  padding-inline: 10px 16px;
}

.watch-navigation > a,
.watch-navigation > button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 5px 6px;
  background: transparent;
  color: var(--app-green);
  font-size: 13px;
  font-weight: 600;
}

.watch-navigation img {
  width: 20px;
  height: 20px;
}

.watch-country {
  min-width: 0;
  color: var(--app-muted);
  font-size: 13px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.watch-channel-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  padding: 15px 16px;
  border-bottom: 1px solid var(--app-line);
}

.watch-channel-info > div {
  min-width: 0;
}

.watch-channel-info h1,
.watch-channel-info h2 {
  color: var(--app-text);
  font-size: 24px;
  font-weight: 750;
  letter-spacing: -.6px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.watch-channel-info p {
  margin-top: 5px;
  color: var(--app-muted);
  font-size: 13px;
  line-height: 1.4;
}

.watch-feedback {
  min-width: 0;
  padding: 0 16px;
  color: var(--app-muted);
  font-size: 12px;
  line-height: 1.5;
}

.watch-feedback:not(:empty) {
  padding-top: 10px;
  padding-bottom: 10px;
}

.explore-content {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--app-header-height) - var(--app-nav-height) - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  height: calc(100dvh - var(--app-header-height) - var(--app-nav-height) - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  min-height: 320px;
  overflow: hidden;
  background: var(--app-bg);
}

.globe-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #080f14;
}

.explore-loading {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  padding: 12px 16px;
  background: #10232e;
  color: var(--app-muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  pointer-events: none;
}

.explore-fallback,
.fallback {
  position: absolute;
  z-index: 3;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 16px;
  border: 1px solid #365461;
  border-radius: 12px;
  background: #10232e;
  color: var(--app-muted);
  font-size: 14px;
  line-height: 1.5;
}

.explore-fallback h2,
.fallback h2 {
  margin-bottom: 6px;
  color: var(--app-text);
  font-size: 18px;
  line-height: 1.3;
}

.explore-fallback .text-button,
.fallback .text-button {
  margin-top: 8px;
}

.picker-dialog {
  width: min(440px, calc(100% - 32px));
  max-height: min(680px, calc(100dvh - 48px));
  padding: 20px;
  overflow: auto;
  border: 1px solid #365461;
  border-radius: 18px;
  background: #10232e;
  color: var(--app-text);
}

.picker-dialog::backdrop {
  background: #000a;
}

.dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
  margin-bottom: 12px;
}

.dialog-heading h2 {
  min-width: 0;
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -.5px;
  line-height: 1.3;
}

.dialog-heading .icon-button {
  margin: -6px -6px -6px 0;
}

.picker-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
  margin-top: 12px;
}

.picker-option {
  display: flex;
  min-width: 0;
  min-height: 48px;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid #294653;
  border-radius: 9px;
  background: #132c38;
  color: #e1edef;
  font-size: 14px;
  line-height: 1.35;
  text-align: left;
  overflow-wrap: anywhere;
}

.picker-option:has(small) {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
}

.picker-option small {
  color: var(--app-muted);
  font-size: 11px;
  font-weight: 450;
  line-height: 1.4;
}

.picker-option[aria-pressed='true'],
.picker-option[aria-current='true'] {
  border-color: #6fa785;
  background: #153e30;
  color: #c3f1cf;
}

.picker-option img {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
}

.app-toast {
  position: fixed;
  z-index: 90;
  bottom: calc(var(--app-nav-height) + env(safe-area-inset-bottom, 0px) + 12px);
  left: 50%;
  width: max-content;
  max-width: min(430px, calc(100% - 32px));
  padding: 12px 16px;
  transform: translateX(-50%);
  border: 1px solid #497561;
  border-radius: 11px;
  background: #153e30;
  color: #e8f8ed;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

@media (hover: hover) {
  .icon-button:hover,
  .picker-option:hover,
  .filter-chip:hover,
  .load-more:hover {
    background: var(--app-surface-hover);
  }

  .channel-card:hover .channel-title,
  .channel-row:hover .channel-title,
  .world-action:hover,
  .text-button:hover {
    color: #c5efd1;
  }

  .channel-card:hover .channel-picture {
    border-color: #7aa98d;
  }

  .primary-button:hover {
    background: #f5da88;
  }
}

@media (max-width: 359px) {
  .header-content,
  .screen-padding {
    padding-inline: 14px;
  }

  .screen-heading {
    font-size: 27px;
    letter-spacing: -.9px;
  }

  .language-tabs {
    gap: 4px;
    padding-inline: 12px;
  }

  .screen-padding > .language-tabs {
    width: calc(100% + 28px);
    margin-inline: -14px;
  }

  .language-tab {
    padding-inline: 4px;
    font-size: 13px;
  }

  .world-copy {
    width: 62%;
    padding-left: 14px;
  }

  .world-copy h2 {
    font-size: 25px;
  }

  .world-copy p {
    max-width: 165px;
    font-size: 12px;
  }

  .world-image {
    right: -90px;
  }

  .section-block {
    padding-inline: 14px;
  }

  .section-title {
    gap: 8px;
  }

  .section-title h2,
  h2.section-title {
    font-size: 21px;
  }

  .section-title > a,
  .section-title > button {
    font-size: 11px;
  }

  .channel-grid {
    column-gap: 10px;
  }

  .channel-title {
    font-size: 14px;
  }

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

  .row-picture {
    flex-basis: 70px;
    width: 70px;
    height: 44px;
  }

  .channel-row {
    gap: 10px;
  }
}

@media (min-width: 768px) {
  .header-content {
    min-height: 72px;
    padding-inline: 32px;
  }

  :root {
    --app-header-height: 72px;
  }

  .brand {
    font-size: 32px;
  }

  .brand img {
    width: 55px;
    height: 36px;
  }

  .screen-padding {
    padding: 24px 32px 16px;
  }

  .screen-heading {
    font-size: 39px;
    letter-spacing: -1.4px;
  }

  .screen-subtitle {
    font-size: 16px;
  }

  .language-tabs {
    justify-content: flex-start;
    gap: 24px;
    padding-inline: 32px;
  }

  .screen-padding > .language-tabs {
    width: calc(100% + 64px);
    margin-inline: -32px;
  }

  .language-tab {
    padding-inline: 8px;
    font-size: 16px;
  }

  .world-entry {
    height: 230px;
  }

  .world-copy {
    width: 54%;
    max-width: 560px;
    padding-left: 32px;
  }

  .world-copy h2 {
    max-width: 400px;
    font-size: 38px;
    letter-spacing: -1.2px;
  }

  .world-copy p {
    max-width: 340px;
    font-size: 15px;
  }

  .world-action {
    margin-top: 6px;
    font-size: 15px;
  }

  .world-image {
    top: -20px;
    right: 8%;
    width: 360px;
    height: 270px;
  }

  .section-block {
    padding: 27px 32px 10px;
  }

  .section-title {
    margin-bottom: 16px;
  }

  .section-title h2,
  h2.section-title {
    font-size: 27px;
  }

  .section-title > a,
  .section-title > button {
    font-size: 14px;
  }

  .channel-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 23px 18px;
  }

  .channel-title {
    margin-top: 8px;
    font-size: 16px;
  }

  .channel-meta {
    font-size: 13px;
  }

  .category-grid {
    gap: 18px;
  }

  .category-entry {
    min-height: 156px;
    padding: 18px;
    font-size: 22px;
  }

  .install-entry {
    margin-inline: 32px;
    font-size: 14px;
  }

  .channel-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 30px;
    margin-inline: 32px;
  }

  .channel-row {
    min-height: 86px;
    gap: 15px;
  }

  .row-picture {
    flex-basis: 94px;
    width: 94px;
    height: 55px;
  }

  .load-more {
    max-width: 360px;
    margin-inline: auto;
  }

  .watch-navigation,
  .watch-channel-info {
    padding-inline: 32px;
  }

  .watch-navigation {
    padding-left: 26px;
  }

  .watch-channel-info h1,
  .watch-channel-info h2 {
    font-size: 30px;
  }

  .watch-feedback {
    padding-inline: 32px;
  }

  .bottom-nav {
    padding-inline: max(16px, calc((100% - 800px) / 2));
  }

  .bottom-nav a {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
/* A small return-to-channel link is available after a real channel selection. */
.resume-entry{display:flex;align-items:center;gap:10px;min-height:48px;border-top:1px solid var(--app-line);border-bottom:1px solid var(--app-line);padding:12px 0;color:var(--app-muted);font-size:13px;line-height:1.5}.resume-entry>img{width:20px;height:20px;flex-shrink:0}.resume-entry>img:last-child{margin-left:auto}.resume-entry strong{color:var(--app-text);font-weight:650}
/* Explore uses its own globe toolbar, so it has a single GGTV header. */
#app[data-view="explore"]>.app-header{display:none}
#app[data-view="explore"] .explore-content{height:calc(100dvh - 68px - env(safe-area-inset-bottom,0px))}
@media(max-width:699px) and (min-height:700px){.watch-section{position:sticky;top:0;z-index:12;background:var(--app-bg)}}
@media(max-width:699px){.filter-bar{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.filter-chip{flex-shrink:0}}
.header-back{display:none}
#app[data-view="watch"] .header-back{display:inline-flex}
#app[data-view="watch"] .header-content{justify-content:flex-start;gap:8px}
#app[data-view="watch"] .header-content>a:last-child{margin-left:auto}
.watch-navigation{display:none}
.watch-channel-info{padding-block:12px}
.watch-channel-info h1{font-size:22px}
.watch-feedback[data-status="playing"],.watch-feedback[data-status="paused"]{display:none}
.watch-section .mobile-player__toolbar{padding:0 8px;gap:0;border-bottom:1px solid var(--app-line)}
.watch-section .mobile-player__toolbar button{border:0;border-radius:0;background:transparent;font-size:12px;font-weight:600;min-height:44px;padding:8px}
#app[data-view="watch"] #screen-content>.screen-padding{padding-top:10px}
#app[data-view="watch"] #screen-content .section-title{margin-bottom:0}
#app[data-view="watch"] #screen-content .language-tabs{margin-top:0;min-height:44px}
#app[data-view="watch"] #screen-content .language-tab{min-height:44px}
#app[data-view="watch"] .channel-row{min-height:72px;padding-block:8px}
