:root {
  color-scheme: dark;
  --bg: #07080b;
  --surface: #101318;
  --surface-2: #171b22;
  --surface-3: #202631;
  --text: #f6f3ee;
  --muted: #a8afba;
  --soft: #d6dbe3;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #38d6a6;
  --accent-2: #f0b84b;
  --accent-3: #df5f67;
  --focus: rgba(56, 214, 166, 0.42);
  --radius: 8px;
  --left-pane: minmax(520px, 58vw);
  --player: minmax(420px, 1fr);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background: #030406;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select {
  font: inherit;
}

button,
select,
input {
  outline: none;
}

button {
  align-items: center;
  background: var(--accent);
  border: 0;
  border-radius: var(--radius);
  color: #04120e;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  touch-action: manipulation;
}

button:focus-visible,
input:focus,
select:focus {
  box-shadow: 0 0 0 4px var(--focus);
}

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

.ghost-button {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  color: var(--text);
}

.tool-button,
.text-button,
.view-button {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  color: var(--text);
}

.tool-button {
  gap: 8px;
  padding: 0 13px;
}

.tool-button span {
  white-space: nowrap;
}

.tool-button.active,
.tool-button[aria-expanded="true"],
.view-button.active {
  background: rgba(56, 214, 166, 0.13);
  border-color: rgba(56, 214, 166, 0.62);
}

.tool-button strong {
  align-items: center;
  background: var(--accent);
  border-radius: 999px;
  color: #04120e;
  display: inline-flex;
  font-size: 12px;
  height: 20px;
  justify-content: center;
  min-width: 20px;
  padding: 0 6px;
}

.text-button {
  min-height: 34px;
  padding: 0 10px;
}

.app-shell {
  display: grid;
  grid-template-areas:
    "sidebar sidebar"
    "content player";
  grid-template-columns: var(--left-pane) var(--player);
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar,
.player-panel {
  background: #06070a;
  border-color: var(--line);
  border-style: solid;
}

.sidebar {
  align-items: center;
  border-width: 0 0 1px;
  display: grid;
  gap: 18px;
  grid-area: sidebar;
  grid-template-columns: minmax(210px, auto) minmax(0, 1fr) auto;
  padding: 12px 18px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.player-panel {
  border-width: 0 0 0 1px;
  grid-area: player;
  height: calc(100vh - 69px);
  overflow: auto;
  padding: 18px;
  position: sticky;
  top: 69px;
}

.brand {
  align-items: center;
  display: flex;
  gap: 12px;
  margin: 0;
}

.brand-mark {
  align-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: var(--radius);
  color: #07100d;
  display: inline-flex;
  font-size: 22px;
  font-weight: 900;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.brand strong,
.brand span {
  display: block;
}

.brand strong {
  font-size: 17px;
}

.brand span {
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}

#healthStatus.good {
  color: var(--accent);
}

#healthStatus.bad {
  color: var(--accent-3);
}

.nav-tabs,
.sidebar-actions,
.detail-stack {
  display: grid;
  gap: 10px;
}

.nav-tabs {
  display: flex;
  justify-content: center;
}

.nav-tab {
  background: transparent;
  border: 1px solid transparent;
  color: var(--muted);
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
}

.nav-tab.active,
.nav-tab:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line);
  color: var(--text);
}

.sidebar-actions {
  border: 0;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
}

.profile-modal {
  align-items: center;
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 18px;
  position: fixed;
  z-index: 100;
}

.profile-card {
  background: rgba(21, 23, 27, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 28px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.62);
  max-height: min(86vh, 760px);
  max-width: 520px;
  overflow: auto;
  padding: 28px;
  width: min(100%, 520px);
}

.profile-card.wide {
  max-width: 680px;
}

.profile-card h2 {
  font-size: 24px;
  line-height: 1.1;
  margin: 0 0 16px;
  text-align: center;
}

.profile-card p {
  color: var(--soft);
  font-size: 18px;
  font-weight: 750;
  line-height: 1.35;
  margin: 0 0 22px;
  text-align: center;
}

.profile-modal-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
}

.profile-modal-head h2 {
  margin: 0;
  text-align: left;
}

.icon-button {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-size: 24px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  width: 42px;
}

.profile-choice-stack,
.profile-actions.vertical,
.profile-list,
.profile-fields {
  display: grid;
  gap: 12px;
}

.profile-choice-stack button,
.profile-actions button {
  border-radius: 999px;
  font-size: 18px;
  min-height: 54px;
}

.profile-fields {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  margin: 0 auto 24px;
  padding: 18px 22px;
}

.profile-fields input {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 0;
  color: var(--text);
  min-height: 46px;
  padding: 0;
  width: 100%;
}

.profile-fields input:last-child {
  border-bottom: 0;
}

.profile-fields input::placeholder {
  color: rgba(255, 255, 255, 0.42);
  font-weight: 750;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.profile-row {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid transparent;
  color: var(--text);
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  justify-content: stretch;
  min-height: 64px;
  padding: 10px 14px;
  text-align: left;
  width: 100%;
}

.profile-row.active {
  background: rgba(56, 214, 166, 0.12);
  border-color: rgba(56, 214, 166, 0.58);
}

.profile-row span,
.profile-row strong,
.profile-row small,
.profile-row i {
  display: block;
}

.profile-row strong {
  font-size: 16px;
  line-height: 1.2;
}

.profile-row small,
.profile-row i,
.profile-empty {
  color: var(--muted);
  font-size: 13px;
}

.profile-row i {
  align-self: center;
  font-style: normal;
}

.profile-empty {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  line-height: 1.45;
  padding: 16px;
}

.content {
  background: #050609;
  border-right: 1px solid var(--line);
  grid-area: content;
  height: calc(100vh - 69px);
  min-width: 0;
  overflow: auto;
  padding: 14px;
}

.topbar,
.section-head,
.player-head,
.hero-actions,
.meta-row,
.status-grid {
  display: flex;
}

.topbar {
  align-items: flex-start;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 10px;
}

.mode-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.view-toggle {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: inline-flex;
  padding: 3px;
}

.view-button {
  border-color: transparent;
  min-height: 36px;
  padding: 0 12px;
}

.view-button:disabled {
  display: none;
}

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

h1 {
  font-size: 28px;
  letter-spacing: 0;
  line-height: 0.98;
}

h2 {
  font-size: clamp(26px, 3vw, 42px);
  letter-spacing: 0;
  line-height: 1.02;
}

h3 {
  font-size: 20px;
}

.eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.search-wrap {
  min-width: 0;
}

.search-wrap input,
.filter-bar select {
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  min-height: 44px;
  width: 100%;
}

.search-wrap input {
  padding: 0 15px;
}

.search-wrap span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  margin-top: 7px;
}

.browse-tools {
  margin-bottom: 14px;
  position: relative;
}

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

.filter-bar label {
  color: var(--muted);
  display: grid;
  font-size: 12px;
  gap: 7px;
  min-width: 0;
}

.filter-bar select {
  appearance: none;
  padding: 0 12px;
}

.filter-panel {
  background: rgba(14, 16, 20, 0.98);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.42);
  left: 0;
  margin-top: 10px;
  padding: 12px;
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 20;
}

.filter-panel[hidden] {
  display: none;
}

.filter-panel-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.hero-panel {
  background: linear-gradient(90deg, rgba(16, 19, 24, 0.96), rgba(16, 19, 24, 0.76));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: none;
  grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
  min-height: 330px;
  overflow: hidden;
}

.hero-art {
  background:
    linear-gradient(145deg, rgba(56, 214, 166, 0.24), rgba(223, 95, 103, 0.16)),
    var(--surface-2);
  background-position: center;
  background-size: cover;
  min-height: 330px;
}

.hero-content {
  align-self: center;
  min-width: 0;
  padding: 30px;
}

#featuredDescription {
  color: var(--soft);
  font-size: 15px;
  line-height: 1.55;
  margin-top: 14px;
  max-width: 760px;
}

.meta-row {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.meta-row span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--soft);
  font-size: 12px;
  padding: 7px 10px;
}

.hero-actions {
  gap: 10px;
  margin-top: 24px;
}

.player-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.library-section {
  margin-top: 0;
}

.section-head {
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 14px;
}

.section-head span {
  color: var(--muted);
  font-size: 13px;
}

.catalogue-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(142px, 1fr));
}

.content[data-mode="live"] .catalogue-grid.channel-list {
  grid-template-columns: 1fr;
}

.catalogue-grid.list-view {
  grid-template-columns: 1fr;
}

#itemGrid.catalogue-grid.list-view .title-row {
  display: grid !important;
  grid-template-columns: 86px minmax(0, 1fr) 52px;
}

#itemGrid.catalogue-grid.list-view .row-poster {
  height: 129px;
  max-width: 86px;
  width: 86px;
}

.playlist-list {
  display: grid;
  gap: 10px;
  grid-column: 1 / -1;
}

.playlist-row {
  background: rgba(255, 255, 255, 0.085);
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--text);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  justify-content: stretch;
  min-height: 58px;
  padding: 0 12px;
  text-align: left;
  width: 100%;
}

.playlist-row:hover,
.playlist-row:focus-visible {
  background: rgba(56, 214, 166, 0.1);
  border-color: rgba(56, 214, 166, 0.58);
  color: var(--accent);
}

.playlist-row span,
.playlist-row strong {
  align-self: center;
  display: block;
}

.playlist-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.playlist-row strong {
  color: var(--soft);
  font-size: 18px;
}

.home-sections {
  display: grid;
  gap: 24px;
  grid-column: 1 / -1;
}

.home-row {
  min-width: 0;
}

.home-row-head {
  align-items: baseline;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 12px;
}

.home-row-head h4 {
  font-size: 17px;
  letter-spacing: 0;
  margin: 0;
}

.home-row-head span {
  color: var(--muted);
  font-size: 12px;
}

.home-row-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
}

.title-card,
.skeleton-card,
.empty-state {
  border-radius: var(--radius);
}

.title-card {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid transparent;
  cursor: pointer;
  min-width: 0;
  overflow: hidden;
  position: relative;
}

.title-card:hover,
.title-card:focus-visible,
.title-card.active {
  background: rgba(56, 214, 166, 0.1);
  border-color: rgba(56, 214, 166, 0.55);
}

.channel-row {
  align-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  display: grid;
  gap: 12px;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  min-height: 68px;
  padding: 10px;
}

.channel-row:hover,
.channel-row:focus-visible,
.channel-row.active {
  background: rgba(56, 214, 166, 0.1);
  border-color: rgba(56, 214, 166, 0.55);
}

.channel-logo {
  align-items: center;
  background: linear-gradient(140deg, rgba(56, 214, 166, 0.24), rgba(240, 184, 75, 0.14));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.channel-row strong,
.channel-row span {
  display: block;
  overflow-wrap: anywhere;
}

.channel-row strong {
  font-size: 15px;
  line-height: 1.2;
}

.channel-row span {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

.inline-pill {
  background: rgba(56, 214, 166, 0.88);
  border-radius: 999px;
  color: #06120f;
  font-size: 11px;
  font-weight: 850;
  padding: 5px 7px;
}

.title-row {
  align-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  display: grid;
  gap: 14px;
  grid-template-columns: 86px minmax(0, 1fr) 52px;
  min-height: 132px;
  padding: 12px;
}

.title-row:hover,
.title-row:focus-visible,
.title-row.active {
  background: rgba(56, 214, 166, 0.1);
  border-color: rgba(56, 214, 166, 0.55);
}

.row-poster {
  align-items: center;
  aspect-ratio: 2 / 3;
  background:
    var(--poster),
    linear-gradient(140deg, rgba(56, 214, 166, 0.2), rgba(240, 184, 75, 0.14)),
    var(--surface-3);
  background-position: center;
  background-size: cover;
  border-radius: var(--radius);
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.row-poster span {
  background: rgba(0, 0, 0, 0.36);
  border-radius: var(--radius);
  color: var(--soft);
  font-size: 16px;
  font-weight: 900;
  padding: 8px;
}

.title-row-copy {
  min-width: 0;
}

.title-row-copy strong,
.title-row-copy span,
.title-row-copy p {
  display: block;
  overflow-wrap: anywhere;
}

.title-row-copy strong {
  font-size: 18px;
  line-height: 1.22;
}

.title-row-copy p {
  color: var(--soft);
  display: -webkit-box;
  font-size: 13px;
  line-height: 1.35;
  margin-top: 8px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.title-row-copy span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
  margin-top: 8px;
}

.favourite-toggle {
  align-items: center;
  background: rgba(0, 0, 0, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: var(--soft);
  display: inline-flex;
  font-size: 25px;
  height: 44px;
  justify-content: center;
  min-height: 44px;
  padding: 0;
  position: absolute;
  right: 8px;
  top: 8px;
  width: 44px;
}

.favourite-toggle:hover,
.favourite-toggle:focus-visible,
.favourite-toggle.saved {
  background: rgba(240, 184, 75, 0.16);
  border-color: rgba(240, 184, 75, 0.72);
  color: var(--accent-2);
}

.channel-row .favourite-toggle,
.title-row .favourite-toggle {
  position: static;
}

.row-star {
  justify-self: end;
}

.poster {
  align-items: center;
  aspect-ratio: 2 / 3;
  background:
    var(--poster),
    linear-gradient(140deg, rgba(56, 214, 166, 0.22), rgba(240, 184, 75, 0.16)),
    var(--surface-3);
  background-position: center;
  background-size: cover;
  display: flex;
  justify-content: center;
  position: relative;
}

.poster span {
  background: rgba(0, 0, 0, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.78);
  font-size: 24px;
  font-weight: 900;
  padding: 10px 12px;
}

.poster .card-pill {
  background: rgba(56, 214, 166, 0.92);
  border: 0;
  color: #06120f;
  font-size: 11px;
  left: 8px;
  padding: 5px 7px;
  position: absolute;
  top: 8px;
}

.poster .type-pill {
  background: rgba(10, 12, 16, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  bottom: 8px;
  color: var(--text);
  display: block;
  font-size: 11px;
  font-weight: 800;
  left: 8px;
  margin: 0;
  padding: 5px 7px;
  position: absolute;
  top: auto;
}

.watch-progress {
  background: rgba(255, 255, 255, 0.18);
  bottom: 0;
  height: 4px;
  left: 0;
  position: absolute;
  right: 0;
}

.watch-progress i {
  background: var(--accent);
  display: block;
  height: 100%;
}

.title-card-body {
  min-height: 82px;
  padding: 11px;
}

.title-card strong,
.title-card span {
  display: block;
  overflow-wrap: anywhere;
}

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

.title-card span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  margin-top: 5px;
}

.skeleton-card {
  aspect-ratio: 2 / 3.85;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border: 1px solid var(--line);
}

.empty-state {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--muted);
  grid-column: 1 / -1;
  padding: 22px;
}

.empty-state strong {
  color: var(--text);
  display: block;
  margin-bottom: 6px;
}

.player-head {
  align-items: center;
  gap: 12px;
  justify-content: space-between;
}

.player-head h2 {
  font-size: 22px;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

video {
  aspect-ratio: 16 / 9;
  background: #020304;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: block;
  margin-top: 14px;
  width: 100%;
}

.status-grid {
  gap: 10px;
  margin: 14px 0;
}

.status-grid div,
.detail-stack div {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
  padding: 12px;
}

.status-grid div {
  flex: 1;
}

.status-grid span,
.detail-stack span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  margin-bottom: 5px;
}

.status-grid strong,
.detail-stack strong {
  display: block;
  line-height: 1.32;
  overflow-wrap: anywhere;
}

pre {
  background: #06070a;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #dfe6ef;
  overflow: auto;
  padding: 12px;
  white-space: pre-wrap;
}

@media (max-width: 1180px) {
  .app-shell {
    grid-template-columns: minmax(430px, 56vw) minmax(0, 1fr);
  }
}

@media (max-width: 860px) {
  .app-shell {
    display: block;
  }

  .sidebar,
  .content,
  .player-panel {
    border-width: 0 0 1px;
    height: auto;
    position: static;
  }

  .sidebar {
    display: block;
  }

  .brand,
  .nav-tabs {
    margin-bottom: 12px;
  }

  .sidebar-actions {
    justify-content: stretch;
  }

  .sidebar-actions button {
    flex: 1;
  }

  .nav-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  .nav-tab {
    justify-content: center;
  }

  .topbar {
    display: block;
  }

  .filter-bar {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    position: static;
  }

  .search-wrap {
    margin-top: 14px;
    min-width: 0;
  }

  .mode-actions {
    justify-content: stretch;
    margin-top: 14px;
  }

  .mode-actions > * {
    flex: 1;
  }

  .view-toggle {
    display: flex;
  }

  .view-button {
    flex: 1;
  }

  .catalogue-grid,
  .home-row-grid {
    gap: 10px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .title-card-body {
    min-height: 70px;
    padding: 9px;
  }

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

  .hero-panel {
    display: none;
  }
}

@media (max-width: 560px) {
  .content,
  .sidebar,
  .player-panel {
    padding: 16px;
  }

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

  .catalogue-grid.list-view,
  .content[data-mode="live"] .catalogue-grid.channel-list {
    grid-template-columns: 1fr;
  }

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

  .title-row {
    align-items: start;
    gap: 10px;
    grid-template-columns: 72px minmax(0, 1fr) 44px;
    min-height: 112px;
    padding: 10px;
  }

  .title-row-copy p {
    display: none;
  }

  .title-row-copy strong {
    font-size: 15px;
  }

  #itemGrid.catalogue-grid.list-view .title-row {
    grid-template-columns: 72px minmax(0, 1fr) 44px;
  }

  #itemGrid.catalogue-grid.list-view .row-poster {
    height: 108px;
    max-width: 72px;
    width: 72px;
  }

  .section-head {
    align-items: flex-start;
    gap: 10px;
  }

  .section-head span {
    text-align: right;
  }
}

@media (max-width: 360px) {
  .catalogue-grid,
  .home-row-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
