:root {
  --accent: #f97316;
  --bg: #020617;
  --soft: #101a2a;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --line: #334155;
  --radius: 7px
}

body {
  background: #020617;
  color: #e2e8f0;
  font: 16px/1.6 system-ui, sans-serif;
  margin: 0
}

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

.hud-shell {
  box-sizing: border-box;
  max-width: 1280px;
  padding-inline: 32px;
  margin: auto
}

.hud-header {
  position: sticky;
  top: 0;
  z-index: 15;
  background: #090f1ded;
  border-bottom: 1px solid #243145;
  backdrop-filter: blur(14px);
  color: #e2e8f0
}

.hud-bar,
.hud-brand,
.hud-bar>nav,
.hud-controls,
.hud-buttons,
.hud-pills,
.hud-foot nav,
.hud-navlinks {
  display: flex;
  align-items: center
}

.hud-bar {
  height: 64px;
  justify-content: space-between;
  gap: 14px
}

.hud-brand {
  gap: 11px;
  flex-shrink: 0
}

.hud-brand img {
  border-radius: 7px
}

.hud-brand b,
.hud-brand small {
  display: block;
  line-height: 1.3
}

.hud-brand b {
  font-size: 18px;
  letter-spacing: .12em;
  color: #f1f5f9
}

.hud-brand small {
  font: 9px/1.6 ui-monospace, monospace;
  letter-spacing: .13em;
  color: #9dacbd
}

.hud-bar>nav {
  gap: 26px;
  font-size: 14px
}

.hud-controls {
  gap: 12px
}

.hud-controls details {
  position: relative
}

.hud-controls summary {
  list-style: none;
  cursor: pointer;
  font-size: 18px
}

.hud-controls details>div {
  position: absolute;
  z-index: 10;
  top: 36px;
  right: 0;
  width: 252px;
  padding: 15px;
  background: #111b2e;
  border: 1px solid #364153;
  border-radius: 7px
}

.hud-controls details nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  margin-top: 8px
}

.hud-controls select {
  margin-top: 8px
}

.hud-outline,
.hud-button,
.hud-banner>a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #944522;
  border-radius: 5px;
  background: #48241680;
  color: #ffb47e;
  padding: 9px 17px;
  font-size: .9rem;
  font-weight: 650
}

.hud-button {
  background: #f27625;
  color: #111827;
  border-color: #fa833a
}

.hud-dark {
  background: #020617;
  color: #f1f5f9
}

.hud-gridpaper {
  background-color: #020617;
  background-image: linear-gradient(#17243770 1px, transparent 1px), linear-gradient(90deg, #17243770 1px, transparent 1px), radial-gradient(ellipse at 95% 10%, #17233e 0, transparent 55%);
  background-size: 44px 44px, 44px 44px, 100% 100%
}

.hud-hero {
  min-height: 590px;
  display: grid;
  grid-template-columns: 7fr 5fr;
  align-items: center;
  gap: 55px;
  padding-block: 91px
}

.hud-hero>* {
  min-width: 0
}

.hud-tab {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 4px 10px;
  border: 1px solid #70503a;
  border-radius: 4px;
  font: 600 11px/1.5 ui-monospace, monospace;
  letter-spacing: .09em;
  color: #ffac70;
  background: #42271866
}

.hud-tab i,
.hud-console-top i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  background: #f78c42
}

.hud-intro h1,
.hud-inner h1 {
  font-size: clamp(37px, 3.5vw, 52px);
  line-height: 1.15;
  letter-spacing: -.045em;
  color: #f1f5f9;
  margin: 22px 0
}

.hud-intro h1 em {
  font-style: normal;
  color: #f8fafc
}

.hud-intro>p,
.hud-inner>p,
.hud-file>div>p {
  color: #acbbcf;
  max-width: 40em;
  line-height: 1.85
}

.hud-pills {
  gap: 8px;
  flex-wrap: wrap;
  margin: 20px 0
}

.hud-pills a {
  border: 1px solid #303b4c;
  background: #101a30;
  padding: 4px 9px;
  border-radius: 5px;
  font-size: 12px;
  color: #c0cbd9
}

.hud-buttons {
  gap: 10px;
  flex-wrap: wrap
}

.hud-console {
  border: 1px solid #37475d;
  border-radius: 12px;
  padding: 23px;
  background: #0c1525ee;
  box-shadow: inset 0 1px #56678144
}

.hud-console-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  color: #f1f5f9;
  font-size: 17px;
  font-weight: 700
}

.hud-console-top span {
  display: flex;
  align-items: center;
  gap: 9px
}

.hud-console-top i {
  background: #45dc9b;
  box-shadow: 0 0 12px #45dc9b6b
}

.hud-console-top small {
  display: block;
  font: 10px ui-monospace, monospace;
  color: #83caaa;
  letter-spacing: .1em
}

.hud-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin: 22px 0
}

.hud-kpis>div {
  border: 1px solid #29374c;
  border-radius: 7px;
  padding: 15px;
  background: #101c30;
  min-height: 105px
}

.hud-kpis small,
.hud-kpis b,
.hud-kpis span {
  display: block
}

.hud-kpis small {
  color: #a0aec2
}

.hud-kpis b {
  font: 700 30px/1.35 ui-monospace, monospace;
  color: #fdba74
}

.hud-kpis span {
  width: 65%;
  height: 2px;
  margin-top: 5px;
  background: linear-gradient(90deg, #e58a4b, #334155)
}

.hud-console>a {
  color: #aab7c9;
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 13px;
  border-top: 1px solid #26374d;
  padding-top: 12px
}

.hud-promo {
  padding: 28px 0;
  background: #fff8e7;
  color: #321a0c
}

.hud-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background: linear-gradient(105deg, #f57923, #ffc456);
  border-radius: 12px;
  padding: 24px 33px;
  min-height: 150px;
  box-sizing: border-box
}

.hud-banner small {
  font: bold 11px ui-monospace, monospace;
  letter-spacing: .12em
}

.hud-banner h2 {
  font-size: clamp(24px, 2.5vw, 34px);
  margin: 6px 0;
  line-height: 1.2
}

.hud-banner p {
  margin: 0
}

.hud-banner>a {
  background: #1c2230;
  color: #fff8ed;
  border: 0;
  flex-shrink: 0
}

.hud-light {
  --text: #17263a;
  --muted: #526378;
  --soft: #f1f5f9;
  --line: #d5dfeb;
  background: #fbfdff;
  color: #17263a
}

.hud-slate {
  background: #eaf0f6;
  color: #17263a
}

.hud-section {
  padding: 60px 0
}

.hud-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 24px
}

.hud-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(25px, 3vw, 37px);
  line-height: 1.2
}

.hud-heading>a,
.hud-rows .hud-go {
  color: #a54b1b
}

.hud-light .hud-tab,
.hud-slate .hud-tab {
  color: #984314;
  border-color: #efcdb9;
  background: #fff2e6
}

.hud-topics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px
}

.hud-topics a {
  border: 1px solid #d8e2ee;
  background: #fff;
  border-radius: 8px;
  padding: 18px;
  position: relative
}

.hud-topics b {
  font: 600 18px ui-monospace, monospace;
  color: #a44a17
}

.hud-topics span {
  position: absolute;
  right: 15px;
  bottom: 14px
}

.hud-rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px
}

.hud-rows article {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #b9c8d9;
  min-width: 0
}

.hud-rows article>a:first-child {
  min-width: 0
}

.hud-rows h3 {
  margin: 2px 0 0;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 17px
}

.hud-rows article>span {
  margin-left: auto;
  font-size: 11px;
  white-space: nowrap;
  color: #526372
}

.hud-rows small {
  color: #975025;
  font: 11px ui-monospace, monospace
}

.hud-section .catalog-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 15px
}

.catalog-cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: 6px
}

.catalog-title {
  font-weight: 700
}

.hud-inner {
  padding-block: 62px
}

.hud-file,
.hud-download {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px
}

.hud-file>img {
  width: min(25%, 240px);
  height: auto;
  max-height: 340px;
  object-fit: cover;
  border: 1px solid #405066;
  border-radius: 5px
}

.hud-player,
.hud-content>section+section {
  margin-top: 25px
}

.hud-foot {
  background: #050b17;
  padding: 40px 0;
  border-top: 1px solid #263247;
  color: #adbbcc
}

.hud-foot nav,
.hud-navlinks {
  gap: 17px;
  margin: 20px 0;
  flex-wrap: wrap
}

.hud-foot .hud-shell>div {
  font-size: .85rem
}

.hud-dark .hud-heading>a {
  color: #ffb97c
}

.hud-light .episode {
  color: #20304a;
  background: #f1f5fa;
  border-color: #ccd8e5
}

.hud-light .episode.active {
  background: #b8490a;
  color: white
}

@media(max-width:900px) {
  .hud-bar>nav {
    gap: 10px
  }

  .hud-hero {
    grid-template-columns: 1fr 1fr;
    gap: 26px
  }

  .hud-section .catalog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr))
  }
}

@media(max-width:710px) {
  .hud-shell {
    padding-inline: 16px
  }

  .hud-bar>nav {
    display: none
  }

  .hud-controls {
    gap: 13px
  }

  .hud-bar {
    height: 64px
  }

  .hud-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    padding-block: 65px;
    gap: 38px
  }

  .hud-intro h1,
  .hud-inner h1 {
    font-size: clamp(29px, 8vw, 39px)
  }

  .hud-intro p {
    margin: 15px 0
  }

  .hud-console {
    padding: 19px
  }

  .hud-kpis>div {
    min-height: 94px
  }

  .hud-promo {
    padding: 23px 0
  }

  .hud-banner {
    align-items: flex-start;
    flex-direction: column;
    padding: 23px;
    gap: 15px
  }

  .hud-section,
  .hud-inner {
    padding-block: 40px
  }

  .hud-topics,
  .hud-section .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px
  }

  .hud-rows {
    grid-template-columns: 1fr
  }

  .hud-file,
  .hud-download {
    flex-direction: column;
    align-items: flex-start
  }

  .hud-file>img {
    width: 150px
  }

  .hud-heading>a {
    font-size: 12px
  }

  .hud-controls .hud-outline {
    padding: 6px 9px;
    font-size: 13px
  }

  .hud-foot nav {
    gap: 10px
  }
}

.hud-console {
  min-height: 399px;
  display: flex;
  flex-direction: column;
  justify-content: space-between
}

@media(min-width:901px) {
  .hud-hero {
    grid-template-columns: 1.44fr 1fr;
    gap: 48px;
    min-height: 592px
  }

  .hud-intro h1 {
    font-size: 48px;
    line-height: 1.1
  }
}

@media (max-width: 350px) {
  .hud-bar,
  .hud-controls {
    gap: 8px;
  }

  .hud-controls {
    min-width: 0;
  }

  .hud-controls .hud-outline {
    min-width: 0;
    padding: 5px;
    text-align: center;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .hud-controls details > div {
    right: auto;
    inset-inline-end: 0;
  }
}

@media (max-width: 350px) {
  .hud-heading > div {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .hud-heading > a {
    flex-shrink: 0;
    max-inline-size: 26%;
  }
}
