@font-face {
  font-family: Jakarta;
  src: url("/assets/jakarta.ttf");
}
* {
  box-sizing: border-box;
}
html {
  color-scheme: dark;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background:
    radial-gradient(ellipse at 5% 0%, #234c70 0, transparent 48%),
    radial-gradient(ellipse at 85% 5%, #20233d 0, transparent 35%), #071221;
  color: #f5f7fc;
  font-family: Jakarta, system-ui, sans-serif;
  min-height: 100dvh;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  color: inherit;
  cursor: pointer;
  background: #14263d;
  border: 1px solid #2d435d;
  border-radius: 14px;
  padding: 13px 18px;
  font-weight: 650;
  transition:
    background 0.15s,
    transform 0.15s;
}
button:hover {
  background: #243e5c;
}
button:active {
  transform: scale(0.98);
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #70b4ff;
  outline-offset: 4px;
}
a {
  color: #83b9ff;
  text-decoration: none;
}
p {
  line-height: 1.7;
  color: #adbcd1;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(28px, 3vw, 46px);
  letter-spacing: -1.6px;
  margin: 0;
}
h2 {
  font-size: clamp(22px, 2.3vw, 32px);
  letter-spacing: -0.8px;
}
h3 {
  font-size: 18px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 2px;
  color: #7d9dbf;
  margin-bottom: 12px;
}
#sidebar {
  position: fixed;
  left: 24px;
  top: max(80px, 12vh);
  bottom: 30px;
  width: 238px;
  padding: 24px 14px 16px;
  border: 1px solid #283c53;
  background: #0e1e33ed;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  z-index: 10;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px 24px;
  color: white;
}
.brand img {
  width: 43px;
  height: 43px;
  border-radius: 11px;
}
.brand strong {
  font-size: 22px;
  font-style: italic;
}
.brand b {
  font-size: 11px;
  background: #f52d50;
  border-radius: 4px;
  padding: 3px 5px;
}
nav button {
  border: none;
  background: transparent;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  margin: 3px 0;
  padding: 14px 17px;
  color: #d2dce9;
  font-size: 16px;
}
nav button.active {
  background: #203c5d;
  color: #74b3ff;
}
nav .glyph {
  font-size: 23px;
  font-weight: 400;
  width: 25px;
  text-align: center;
}
.profile {
  margin-top: auto;
  background: transparent;
  border: none;
  border-top: 1px solid #293b50;
  border-radius: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 12px 4px;
}
.avatar {
  display: inline-grid;
  place-items: center;
  width: 37px;
  height: 37px;
  background: linear-gradient(135deg, #ffb268, #ff696d);
  color: #371c1e;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 800;
}
.workspace {
  margin-left: 300px;
  padding: 55px 42px 20px;
  max-width: 1900px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 46px;
  min-height: 72px;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.top-actions button {
  font-size: 12px;
  background: #122239aa;
}
.top-actions time {
  font-size: 26px;
  font-weight: 750;
  margin-left: 15px;
}
.top-actions span {
  margin-left: 3px;
}
.section-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin: 30px 0 20px;
}
.section-top h2 {
  margin: 0;
  font-size: 24px;
}
.section-top button {
  padding: 8px 13px;
  font-size: 12px;
}
.welcome {
  color: #bbcce0;
  font-size: 17px;
}
.hero {
  position: relative;
  overflow: hidden;
  border: 1px solid #345170;
  border-radius: 25px;
  padding: 38px;
  min-height: 280px;
  background: linear-gradient(115deg, #1d4263, #14243d 63%, #213146);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.hero:after {
  content: "";
  position: absolute;
  right: -70px;
  top: -120px;
  width: 430px;
  height: 430px;
  border: 1px solid #7bb7f520;
  border-radius: 50%;
  pointer-events: none;
}
.hero h2 {
  font-size: clamp(28px, 3vw, 44px);
  max-width: 550px;
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero p {
  max-width: 550px;
  font-size: 14px;
}
.hero-mark {
  width: 110px;
  opacity: 0.85;
  flex-shrink: 0;
}
.pill {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  border-radius: 7px;
  padding: 6px 9px;
  background: #07142377;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1px;
  margin-bottom: 18px;
}
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff4660;
  display: inline-block;
}
.primary {
  background: #61a8ff;
  color: #07172a;
  border-color: #61a8ff;
}
.primary:hover {
  background: #8ec3ff;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 22px 0;
}
.quick-card {
  text-align: left;
  padding: 23px;
  border-radius: 20px;
  min-height: 120px;
  background: #142840aa;
}
.quick-card .glyph {
  display: block;
  color: #72b2ff;
  font-size: 25px;
  margin-bottom: 12px;
}
.quick-card strong {
  font-size: 17px;
}
.quick-card small {
  display: block;
  color: #9badc3;
  font-size: 11px;
  margin-top: 7px;
  font-weight: 400;
}
.service-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 25px;
  border: 1px solid #263f59;
  border-radius: 20px;
  background: #10233a;
}
.service-card h3 {
  margin: 0 0 5px;
}
.service-card p {
  margin: 0;
  font-size: 12px;
}
.service-symbol {
  font-size: 30px;
  color: #75bdff;
}
.service-copy {
  flex: 1;
}
.toolbar {
  display: flex;
  gap: 12px;
  margin-bottom: 26px;
  align-items: center;
}
.toolbar input {
  flex: 1;
  min-width: 90px;
}
.toolbar select {
  max-width: 230px;
}
.count {
  font-size: 12px;
  color: #a1b4ce;
  margin: 0 0 20px;
}
input,
select {
  background: #14253c;
  color: white;
  border: 1px solid #2b405b;
  border-radius: 13px;
  padding: 13px 15px;
  width: 100%;
  min-height: 46px;
}
input::placeholder {
  color: #8499b5;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
  gap: 25px 20px;
}
.poster {
  border: 0;
  background: transparent;
  padding: 0;
  border-radius: 15px;
  text-align: left;
  overflow: hidden;
}
.poster:hover {
  background: transparent;
  transform: translateY(-4px);
}
.poster-art {
  aspect-ratio: 2/3;
  background: linear-gradient(145deg, #244664, #152a42 60%, #172139);
  border: 1px solid #2b425a;
  border-radius: 15px;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}
.poster-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.poster-art .glyph {
  font-size: 38px;
  color: #7391b1;
}
.poster strong {
  font-size: 12px;
  display: block;
  margin-top: 10px;
  line-height: 1.5;
  font-weight: 550;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.poster small {
  color: #8296b1;
  font-size: 10px;
}
.grid.live-grid {
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
}
.live-grid .poster-art {
  aspect-ratio: 16/10;
}
.live-grid img {
  object-fit: contain;
  padding: 20px;
}
.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 65px 25px;
  border: 1px dashed #34506e;
  border-radius: 24px;
  min-height: 270px;
}
.empty .glyph {
  font-size: 42px;
  color: #6eacfa;
  margin-bottom: 20px;
}
.empty h2 {
  font-size: 24px;
}
.empty p {
  max-width: 480px;
  font-size: 14px;
}
.muted {
  color: #9eb0c8;
  font-size: 13px;
}
.skeleton {
  height: 220px;
  border-radius: 20px;
  background: linear-gradient(100deg, #152a40 30%, #243c56 50%, #152a40 70%);
  background-size: 250% 100%;
  animation: pulse 2s linear infinite;
}
@keyframes pulse {
  to {
    background-position: -250% 0;
  }
}
footer {
  margin-top: 55px;
  color: #69819b;
  font-size: 10px;
}
footer span {
  margin: 0 8px;
}
#bottom-nav {
  display: none;
}
dialog {
  color: inherit;
  background: #0e2035;
  border: 1px solid #345170;
  border-radius: 26px;
  padding: 35px;
  max-width: 560px;
  width: calc(100% - 30px);
  box-shadow: 0 25px 100px #0008;
  max-height: 90dvh;
  overflow: auto;
}
dialog::backdrop {
  background: #020915bd;
  backdrop-filter: blur(8px);
}
dialog h2 {
  padding-right: 25px;
}
dialog label {
  display: block;
  font-size: 13px;
  color: #b5c6db;
  margin: 18px 0;
}
dialog label input {
  margin-top: 9px;
}
.close {
  position: absolute;
  right: 15px;
  top: 15px;
  background: transparent;
  border: 0;
  font-size: 25px;
  padding: 0 12px;
}
.tabs {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.tabs button {
  font-size: 12px;
  padding: 9px 12px;
}
.tabs button.active {
  background: #2d537c;
}
.form-error {
  color: #ffb5b7;
  font-size: 13px;
  margin-top: 15px;
}
.form-foot {
  margin-top: 25px;
  font-size: 11px;
  color: #8fa4bf;
}
.profile-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 12px 0;
}
.profile-row button:first-child {
  flex: 1;
  text-align: left;
}
.summary-list {
  padding: 0;
  list-style: none;
}
.summary-list li {
  padding: 14px 0;
  border-bottom: 1px solid #29405b;
  font-size: 14px;
}
.summary-list b {
  display: block;
  color: #8ba5c6;
  font-size: 11px;
  margin-bottom: 5px;
}
.guide-row {
  padding: 15px;
  border-bottom: 1px solid #2d4159;
}
.guide-row time {
  color: #8dbdff;
  font-size: 11px;
  display: block;
  margin-bottom: 5px;
}
.guide-row strong {
  font-size: 14px;
}
.install-note {
  border: 1px solid #2c4664;
  border-radius: 16px;
  padding: 20px;
  background: #152b44;
  margin: 20px 0;
}
.install-note ol {
  padding-left: 22px;
  color: #b4c6dd;
  line-height: 1.9;
  font-size: 13px;
}
#toast {
  position: fixed;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);
  padding: 15px 22px;
  max-width: 90vw;
  background: #28445e;
  border: 1px solid #5a809e;
  border-radius: 15px;
  z-index: 100;
  color: white;
  font-size: 13px;
}
#player-dialog {
  width: min(1200px, 100vw);
  max-width: 100vw;
  padding: 0;
  background: #03070c;
  border-radius: 20px;
  overflow: hidden;
}
#video {
  display: block;
  width: 100%;
  max-height: 70dvh;
  background: black;
  aspect-ratio: 16/9;
}
.player-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
}
.player-head button,
.player-actions button {
  font-size: 12px;
  padding: 9px 12px;
  background: #162a40;
}
.player-head strong {
  flex: 1;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.player-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 13px;
}
.player-head #fullscreen {
  font-size: 11px;
}
#player-status {
  font-size: 12px;
  padding: 0 20px;
  text-align: center;
}
.pager {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 25px;
}
.pager button {
  font-size: 12px;
}
#player-dialog:fullscreen {
  width: 100vw;
  height: 100dvh;
  border: 0;
  border-radius: 0;
}
#player-dialog:fullscreen #video {
  max-height: calc(100dvh - 125px);
}
.error-page {
  border-color: #915865;
}
.error-page p {
  color: #ffb4b4;
}
@media (min-width: 1600px) {
  .workspace {
    padding: 70px 55px;
  }
  .grid {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  }
  header {
    margin-bottom: 55px;
  }
}
@media (max-width: 1100px) {
  #sidebar {
    left: 15px;
    width: 195px;
    padding: 22px 9px;
    top: 100px;
  }
  .workspace {
    margin-left: 225px;
    padding: 35px 25px;
  }
  .brand strong {
    font-size: 20px;
  }
  .brand {
    gap: 7px;
  }
  .brand img {
    width: 35px;
    height: 35px;
  }
  nav button {
    font-size: 13px;
    padding: 12px;
  }
  .top-actions time {
    display: none;
  }
  .hero-mark {
    width: 80px;
  }
  .hero {
    padding: 28px;
  }
  .top-actions button {
    padding: 10px;
  }
  .eyebrow {
    font-size: 8px;
  }
  .top-actions span {
    display: none;
  }
}
@media (max-width: 700px) and (orientation: portrait) {
  #sidebar {
    display: none;
  }
  .workspace {
    margin: 0;
    padding: calc(env(safe-area-inset-top) + 24px) 20px 100px;
  }
  header {
    align-items: flex-start;
    margin-bottom: 28px;
    gap: 12px;
  }
  h1 {
    font-size: 30px;
  }
  .eyebrow {
    font-size: 7px;
    letter-spacing: 1.4px;
    max-width: 150px;
  }
  .top-actions {
    gap: 5px;
  }
  .top-actions button {
    border: 0;
    background: #152940;
    padding: 10px 12px;
  }
  .top-actions #account-button {
    font-size: 0;
    width: 38px;
    height: 38px;
    padding: 0;
  }
  .top-actions #account-button:after {
    content: "♙";
    font-size: 22px;
  }
  .top-actions #top-search,
  .top-actions #top-more {
    font-size: 20px;
    line-height: 18px;
  }
  .hero {
    padding: 25px;
    min-height: 290px;
    align-items: flex-start;
  }
  .hero h2 {
    font-size: 29px;
    max-width: 240px;
  }
  .hero p {
    font-size: 12px;
    max-width: 240px;
  }
  .hero-mark {
    width: 48px;
    position: absolute;
    right: 23px;
    top: 25px;
    opacity: 0.55;
  }
  .hero h2 {
    padding-right: 35px;
  }
  .hero .primary {
    font-size: 13px;
  }
  .quick-grid {
    gap: 9px;
    margin: 16px 0;
  }
  .quick-card {
    padding: 16px 12px;
    min-height: 110px;
    border-radius: 17px;
  }
  .quick-card strong {
    font-size: 12px;
  }
  .quick-card small {
    font-size: 9px;
    line-height: 1.5;
  }
  .quick-card .glyph {
    font-size: 22px;
    margin-bottom: 9px;
  }
  .service-card {
    padding: 19px 16px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .service-card h3 {
    font-size: 14px;
  }
  .service-card p {
    font-size: 10px;
  }
  .service-card button {
    font-size: 11px;
    padding: 9px 12px;
  }
  .section-top h2 {
    font-size: 20px;
  }
  .section-top button {
    font-size: 10px;
  }
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 12px;
  }
  .poster-art {
    border-radius: 12px;
  }
  .poster strong {
    font-size: 10px;
    margin-top: 8px;
  }
  .poster small {
    font-size: 8px;
  }
  .grid.live-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .toolbar {
    gap: 8px;
    flex-wrap: wrap;
  }
  .toolbar input {
    flex-basis: 65%;
  }
  .toolbar select {
    max-width: 100%;
    flex: 1;
    min-width: 0;
    font-size: 11px;
  }
  .toolbar button {
    font-size: 12px;
    padding: 11px;
  }
  .toolbar input {
    font-size: 12px;
  }
  .toolbar input::placeholder {
    font-size: 11px;
  }
  .count {
    font-size: 10px;
  }
  .empty {
    padding: 40px 20px;
    min-height: 260px;
  }
  .empty h2 {
    font-size: 21px;
  }
  .empty p {
    font-size: 12px;
  }
  #bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 7px calc(9px + env(safe-area-inset-bottom));
    z-index: 20;
    background: #0d1e32f5;
    backdrop-filter: blur(18px);
    border-top: 1px solid #2c435b;
    justify-content: space-around;
  }
  #bottom-nav button {
    width: 20%;
    padding: 7px 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 8px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 12px;
  }
  #bottom-nav .glyph {
    font-size: 22px;
  }
  #bottom-nav button.active {
    color: #78b4ff;
  }
  #bottom-nav button[data-page="live"] .glyph {
    width: 46px;
    background: #5ca4ff;
    color: #071c32;
    padding: 7px 0;
    margin-top: -18px;
    border-radius: 15px;
    border: 4px solid #0d1e32;
    font-size: 22px;
  }
  footer {
    font-size: 8px;
    margin-top: 35px;
  }
  #toast {
    bottom: calc(90px + env(safe-area-inset-bottom));
    width: max-content;
  }
  dialog {
    padding: 28px 23px;
    border-radius: 22px;
  }
  #player-dialog {
    border-radius: 0;
  }
  .player-head {
    padding-top: max(13px, env(safe-area-inset-top));
  }
  .player-head strong {
    font-size: 11px;
  }
  .player-head button {
    font-size: 10px;
  }
  .player-head #fullscreen {
    font-size: 0;
  }
  .player-head #fullscreen:after {
    content: "⛶";
    font-size: 20px;
  }
  .player-actions {
    gap: 6px;
    padding-bottom: max(13px, env(safe-area-inset-bottom));
  }
  .player-actions button {
    font-size: 10px;
    padding: 10px;
  }
  #video {
    max-height: 65dvh;
  }
  .welcome {
    font-size: 13px;
  }
  .tabs button {
    font-size: 11px;
  }
}
@media (max-height: 600px) and (orientation: landscape) {
  #sidebar {
    top: 18px;
    bottom: 18px;
    width: 165px;
    padding: 16px 8px;
    border-radius: 22px;
  }
  .brand {
    padding-bottom: 10px;
  }
  .brand img {
    width: 28px;
    height: 28px;
  }
  .brand strong {
    font-size: 17px;
  }
  .brand b {
    font-size: 8px;
  }
  nav button {
    padding: 6px 10px;
    font-size: 11px;
    gap: 10px;
  }
  nav .glyph {
    font-size: 17px;
  }
  .profile {
    padding: 10px 5px 0;
    font-size: 10px;
  }
  .avatar {
    width: 25px;
    height: 25px;
  }
  .workspace {
    margin-left: 185px;
    padding: 25px;
  }
  header {
    margin-bottom: 20px;
    min-height: 45px;
  }
  h1 {
    font-size: 28px;
  }
  .hero {
    min-height: 220px;
  }
  .hero h2 {
    font-size: 30px;
  }
  #player-dialog {
    max-height: 100dvh;
  }
  #video {
    max-height: 70dvh;
  }
  .player-head {
    padding: 6px 15px;
  }
  .player-actions {
    padding: 6px;
  }
  #player-status:empty {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

.service-summary {
  white-space: pre-line;
}
.service-image {
  max-width: 100%;
  max-height: 380px;
  object-fit: contain;
  border-radius: 15px;
  display: block;
  margin: auto;
}
#player-dialog.quiet .player-head,
#player-dialog.quiet .player-actions {
  opacity: 0;
  pointer-events: none;
}
#player-dialog .player-head,
#player-dialog .player-actions {
  transition: opacity 0.25s;
}
.hero-mark {
  border-radius: 14px;
}

#video {
  max-height: min(65dvh, calc(90dvh - 205px));
}

/* Shared Skytech navigation and immersive playback. */
.gear {font-size:28px;border-radius:50%;width:52px;height:52px;flex:none;padding:0;}
header {gap:18px;}
header>div:first-of-type {flex:1;}
.vod-search {display:flex;gap:12px;margin:12px 0 24px;}
.vod-search input {flex:1;min-width:0;}
.vod-row {display:flex;gap:18px;overflow-x:auto;padding:10px 2px 24px;scroll-snap-type:x proximity;}
.vod-row>.poster {flex:0 0 170px;scroll-snap-align:start;}
.poster-grid {display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:20px;}
.vod-hero {padding:40px 28px;min-height:350px;background-size:cover;background-position:center;border-radius:24px;margin:20px 0;}
.vod-hero h2 {font-size:clamp(30px,5vw,60px);max-width:800px;}
.vod-hero p {max-width:750px;line-height:1.6;}
#player-dialog,#player-dialog:fullscreen {width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0;padding:0;margin:0;overflow:hidden;background:#000;}
#video,#player-dialog:fullscreen #video {width:100%;height:100%;max-height:100%;object-fit:contain;display:block;}
.player-head {position:absolute;top:0;left:0;right:0;z-index:3;background:linear-gradient(#000b,transparent);padding:calc(12px + env(safe-area-inset-top)) 18px 18px;}
#player-dialog>.player-actions {position:absolute;bottom:calc(95px + env(safe-area-inset-bottom));left:0;right:0;z-index:3;background:transparent;}
#player-dialog>.track-actions {bottom:calc(145px + env(safe-area-inset-bottom));display:flex;flex-wrap:wrap;gap:12px;justify-content:center;}
#player-dialog>.player-actions:last-of-type {bottom:calc(205px + env(safe-area-inset-bottom));}
#player-status {position:absolute;bottom:calc(255px + env(safe-area-inset-bottom));left:15%;right:15%;z-index:3;background:#000b;border-radius:12px;padding:8px;text-align:center;}
#player-status:empty {display:none;}
#previous,#next {font-size:28px;width:52px;height:52px;border:0;border-radius:50%;padding:0;background:#13263ccc;}
.track-actions label {color:white;background:#13263cdd;border-radius:12px;padding:6px 10px;font-size:13px;}
.track-actions select {max-width:180px;padding:7px;background:#13263c;border:0;color:white;}
.file-button input {width:160px;max-width:100%;font-size:11px;}
@media(max-width:600px){.gear{width:42px;height:42px;font-size:23px;}header{gap:8px;}.eyebrow{display:none;}.vod-row>.poster{flex-basis:125px;}.vod-hero{padding:24px 18px;min-height:260px;}.track-actions select{max-width:125px;}#player-status{left:5%;right:5%;font-size:12px;}}

#channel-brand{position:absolute;top:90px;right:30px;width:64px;height:64px;object-fit:contain;z-index:2;pointer-events:none;}

#skip-marker{position:absolute;bottom:calc(270px + env(safe-area-inset-bottom));right:24px;z-index:4;}
#player-dialog.quiet #skip-marker{opacity:0;pointer-events:none;}
.skip-settings{display:flex;flex-wrap:wrap;gap:16px;}.skip-settings label{display:grid;gap:8px;}.skip-settings input{max-width:180px;}
@media(max-width:600px){header{flex-wrap:wrap;}#account-button{max-width:55vw;white-space:normal;}main{min-width:0;}.poster-grid{grid-template-columns:repeat(auto-fill,minmax(115px,1fr));gap:12px;}.vod-search{gap:8px;}.vod-hero p{overflow-wrap:anywhere;}#playing-title{font-size:14px;min-width:0;overflow-wrap:anywhere;}#fullscreen{font-size:0;width:44px;flex:none;}#fullscreen::after{content:'⛶';font-size:26px;}.track-actions{max-height:110px;overflow:auto;}#skip-marker{right:12px;bottom:280px;}}
@media(max-height:500px){#player-dialog>.player-actions{bottom:50px;}#player-dialog>.track-actions{bottom:100px;}#player-dialog>.player-actions:last-of-type{bottom:155px;}#player-status{bottom:210px;}#skip-marker{bottom:210px;}}
#mobile-skytech-nav{display:none;}
@media(max-width:700px) and (orientation:portrait){#mobile-skytech-nav:not([hidden]){display:flex;gap:10px;margin:0 16px 16px;flex-wrap:wrap;}#mobile-skytech-nav button{flex:1;min-width:130px;padding:12px;font-weight:700;}#mobile-skytech-nav button.active{background:#24486c;}}

/* Distinct advertising space, separated from navigation and playback controls. */
.home-ad { margin: 28px 0; padding: 16px 0; min-width: 0; overflow: hidden; }
.home-ad > small { display: block; color: #a8b9cf; font-size: 11px; text-align: center; margin-bottom: 12px; }
.home-ad .adsbygoogle { display: block; min-height: 100px; width: 100%; }
.home-ad[hidden] { display: none; }

/* Skytech TV shared blue treatment for the web home. */
.hero {
  border: 0;
  box-shadow: none;
  background: radial-gradient(ellipse at 78% 18%, #1261a466, transparent 58%);
}
.hero h2 { color: #dff3ff; }
.quick-card { border-color: #2b5479; background: linear-gradient(135deg,#11355c,#0c192d 80%); }
.quick-card .glyph { color: #5bd8ff; }
nav button.active { box-shadow: inset 0 0 0 1px #68d8ff, 0 0 13px #0279e566; }
button:focus-visible { outline: 3px solid #82dfff; outline-offset: 3px; }

#player-dialog #channel-brand{display:none!important}
#player-options-panel[hidden]{display:none!important}
#player-options-panel{position:absolute;right:max(12px,env(safe-area-inset-right));top:calc(68px + env(safe-area-inset-top));z-index:5;width:min(420px,calc(100vw - 24px));max-height:calc(100dvh - 170px);overflow:auto;background:#0c1b2bf5;border:1px solid #375976;border-radius:16px;padding:14px;box-sizing:border-box}
#player-options-panel .player-actions{position:static;display:flex;flex-wrap:wrap;justify-content:flex-start;padding:6px;gap:8px}
#player-options-panel label{flex:1;min-width:130px}
#player-options-panel select,#player-options-panel input{max-width:100%;box-sizing:border-box}
#player-dialog .player-head button{width:44px;height:44px;padding:0;border-radius:50%;font-size:22px;flex:none}
#player-dialog .player-head #fullscreen:after{content:none}
#player-status{bottom:100px;pointer-events:none}
#player-dialog.quiet #player-options-panel:not([hidden]){opacity:1;pointer-events:auto}
.brand img{object-fit:contain;border-radius:10px}.brand strong{font-style:italic}
