﻿:root {
  --pathe-bg: #10131a;
  --pathe-surface: #171c25;
  --pathe-text: #f7f7f2;
  --pathe-muted: #aeb4bf;
  --pathe-line: rgba(255, 255, 255, 0.12);
  --pathe-yellow: #f4bf2d;
  --pathe-yellow-strong: #ffc426;
  --pathe-nav-height: 72px;
}

html,
body.pathe-app-page,
body.pathe-app-page #app {
  min-height: 100%;
  background: var(--pathe-bg);
}

body.pathe-app-page {
  color: var(--pathe-text);
  color-scheme: dark;
}

body.pathe-app-page main {
  min-height: 100dvh;
  padding-bottom: calc(var(--pathe-nav-height) + env(safe-area-inset-bottom, 0px));
  background: var(--pathe-bg);
}

body.pathe-app-page footer > .van-tabbar,
body.pathe-app-page footer > .van-tabbar__placeholder {
  display: none !important;
}

.pathe-bottom-nav[hidden],
body.pathe-public-page .pathe-bottom-nav {
  display: none !important;
}

.pathe-brand-image {
  content: normal !important;
  display: block;
  max-width: min(42vw, 180px);
  max-height: 56px;
  height: auto;
  object-fit: contain;
}

.pathe-bottom-nav {
  position: fixed;
  z-index: 9998;
  box-sizing: border-box;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(100%, 1000px);
  min-height: var(--pathe-nav-height);
  margin: 0 auto;
  padding: 4px 8px max(4px, env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--pathe-line);
  background: rgba(12, 15, 21, 0.97);
  box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
}

.pathe-bottom-nav__item {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
  color: #c4c8d0;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease;
  -webkit-tap-highlight-color: transparent;
}

.pathe-bottom-nav__item::before {
  position: absolute;
  top: -5px;
  width: 30px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: transparent;
  content: "";
  transition: background-color 180ms ease;
}

.pathe-bottom-nav__item:active {
  background: rgba(255, 255, 255, 0.05);
}

.pathe-bottom-nav__item:focus-visible {
  outline: 2px solid var(--pathe-yellow);
  outline-offset: -4px;
}

.pathe-bottom-nav__item.is-active,
.pathe-bottom-nav__item[aria-current="page"] {
  color: var(--pathe-yellow-strong);
}

.pathe-bottom-nav__item.is-active::before,
.pathe-bottom-nav__item[aria-current="page"]::before {
  background: var(--pathe-yellow-strong);
}

.pathe-bottom-nav__icon {
  width: 24px;
  height: 24px;
  font-size: 24px;
  line-height: 24px;
}

.pathe-bottom-nav__label {
  overflow: hidden;
  max-width: 100%;
  font-size: 12px;
  font-weight: 650;
  line-height: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pathe-inline-logo {
  display: inline-flex;
  width: 58px;
  height: 174px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--pathe-yellow-strong);
  vertical-align: middle;
}

.pathe-inline-logo svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.pathe-legacy-logo-source {
  display: none !important;
}

body.pathe-app-page .van-nav-bar,
body.pathe-app-page .site-page-header,
body.pathe-app-page [class*="bg-[var(--header-bg)]"] {
  border-color: var(--pathe-line) !important;
  background: #151922 !important;
  color: var(--pathe-text) !important;
}

body.pathe-app-page .van-nav-bar::after,
body.pathe-app-page .van-hairline--bottom::after {
  border-color: var(--pathe-line) !important;
}

body.pathe-app-page .van-nav-bar__title,
body.pathe-app-page .van-nav-bar__text,
body.pathe-app-page .van-nav-bar .van-icon,
body.pathe-app-page .site-page-header h1 {
  color: var(--pathe-text) !important;
}

body.pathe-app-page .van-nav-bar__arrow,
body.pathe-app-page .site-page-header .van-icon {
  color: var(--pathe-yellow-strong) !important;
}

body.pathe-app-page .van-cell,
body.pathe-app-page .van-cell-group,
body.pathe-app-page .van-collapse-item__content,
body.pathe-app-page .van-tabs__nav,
body.pathe-app-page .van-dropdown-menu__bar,
body.pathe-app-page .van-popup,
body.pathe-app-page .bg-white {
  background: var(--pathe-surface) !important;
  color: var(--pathe-text) !important;
}

body.pathe-app-page .van-cell::after,
body.pathe-app-page .van-cell-group::after,
body.pathe-app-page .van-cell-group::before {
  border-color: var(--pathe-line) !important;
}

body.pathe-app-page .van-cell__title,
body.pathe-app-page .van-cell__value,
body.pathe-app-page .van-field__control,
body.pathe-app-page .van-field__label,
body.pathe-app-page .van-tab,
body.pathe-app-page .van-dropdown-menu__title,
body.pathe-app-page [class~="text-black"] {
  color: var(--pathe-text) !important;
}

body.pathe-app-page [class*="text-black/"] {
  color: var(--pathe-muted) !important;
}

body.pathe-app-page .van-field__control::placeholder,
body.pathe-app-page .van-cell__label,
body.pathe-app-page .text-gray-400,
body.pathe-app-page .text-gray-500 {
  color: var(--pathe-muted) !important;
}

body.pathe-app-page .van-tabs__line {
  background: var(--pathe-yellow-strong) !important;
}

body.pathe-app-page .van-button--primary,
body.pathe-app-page .bg-main,
body.pathe-app-page button.bg-main,
body.pathe-app-page a.bg-main {
  border-color: var(--pathe-yellow-strong) !important;
  background: var(--pathe-yellow-strong) !important;
  color: #11151b !important;
  box-shadow: none !important;
}

body.pathe-app-page .van-button--primary:active,
body.pathe-app-page .bg-main:active {
  filter: brightness(0.9);
}

body.pathe-app-page .van-switch--on,
body.pathe-app-page .van-radio__icon--checked .van-icon,
body.pathe-app-page .van-checkbox__icon--checked .van-icon {
  border-color: var(--pathe-yellow-strong) !important;
  background: var(--pathe-yellow-strong) !important;
  color: #11151b !important;
}

body.pathe-app-page .music-home {
  padding-bottom: calc(var(--pathe-nav-height) + 42px + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 768px) {
  .pathe-bottom-nav {
    padding-inline: 72px;
  }

  .pathe-bottom-nav__item {
    min-height: 62px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pathe-bottom-nav__item,
  .pathe-bottom-nav__item::before {
    transition: none;
  }
}


/* Uploaded branding overrides legacy CSS image replacements. */
img.pathe-custom-logo, img.pathe-brand-image {
  content: normal !important;
  object-fit: contain !important;
}
img.pathe-custom-logo {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.cinema-home-brand > img.pathe-custom-logo {
  width: min(230px, 42vw);
  height: 190px;
}
.pathe-inline-logo:has(> img.pathe-custom-logo) {
  width: min(230px, 42vw);
  height: 190px;
}
.pathe-inline-logo > img.pathe-custom-logo {
  width: 100%;
  height: 100%;
}

@media (max-width: 480px) {
  .cinema-home-brand > img.pathe-custom-logo {
    width: min(210px, 46vw);
    height: 174px;
  }
  .pathe-inline-logo:has(> img.pathe-custom-logo) {
    width: min(210px, 46vw);
    height: 174px;
  }
}
