:root {
  --night: #050d1d;
  --panel: #0b1930dd;
  --panel2: #10213cdc;
  --line: #ffffff18;
  --text: #f5f3ff;
  --muted: #9ca9c3;
  --violet: #8d7cf4;
  --teal: #61d5cd;
  --gold: #f4d8a2;
}
* {
  box-sizing: border-box;
}
/* [hidden] is an attribute selector (specificity 0,0,1,0) — the same as a
   single class like `.page-action`, which sets its own `display` value.
   Without !important here, whichever rule happens to come later in the
   cascade wins the tie, so `el.hidden = true` on a `.page-action` (or any
   element with its own explicit display) silently does nothing visually
   even though the DOM property is set correctly - exactly what made the
   Cancel/Resume subscription buttons show at the same time. */
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  min-height: 100vh;
  /* iOS Safari can refuse to hand a touch-drag to page scroll from some
     starting points when the scroll container isn't explicitly marked for
     momentum scrolling — this is a no-op everywhere else. contain/none both
     block that handoff on some Chromium/Android builds too; auto is the
     only value that reliably lets a swipe starting mid-content scroll. */
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: auto;
  background:
    radial-gradient(circle at 50% -10%, #263660 0, transparent 35rem),
    linear-gradient(180deg, #061023, #09162a 65%, #07101f);
  color: var(--text);
  font:
    15px/1.5 Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
.sky {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.sky:before {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  right: 9%;
  top: 6%;
  border-radius: 50%;
  background: #fff0c9;
  box-shadow: 0 0 70px #f7e9c84d;
}
.sky i {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: white;
  box-shadow:
    12vw 8vh white,
    26vw 2vh #fff8,
    38vw 15vh white,
    54vw 6vh #fff9,
    70vw 18vh white,
    82vw 11vh #fff8,
    91vw 27vh white;
}
.sky i:nth-child(2) {
  top: 21%;
  left: 8%;
  opacity: 0.45;
}
.sky i:nth-child(3) {
  top: 42%;
  left: 18%;
  opacity: 0.25;
}
aside {
  position: fixed;
  inset: 0 auto 0 0;
  width: 225px;
  padding: 32px 20px;
  background: #061127e8;
  border-right: 1px solid var(--line);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  z-index: 10;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 12px 35px;
  color: #fff;
  text-decoration: none;
  font-family: Georgia, serif;
  font-size: 28px;
}
.brand span {
  color: var(--gold);
  font-size: 35px;
}
aside nav {
  display: grid;
  gap: 6px;
}
aside nav button {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 13px 15px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
aside nav button:hover,
aside nav button.active {
  color: white;
  background: linear-gradient(135deg, #6559c8, #413b91);
  border-color: #ffffff17;
}
.goodnight {
  margin-top: auto;
  color: #c9c1ff;
}
.mobile {
  display: none;
}
main {
  position: relative;
  margin-left: 225px;
  padding: 38px clamp(22px, 4vw, 60px) 70px;
  max-width: 1550px;
}
.welcome {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}
.welcome p,
.glass > p,
.heading p {
  margin: 0;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.welcome h1 {
  margin: 3px 0;
  font:
    42px Georgia,
    serif;
}
.welcome span {
  color: var(--muted);
}
.clock {
  display: grid;
  padding: 12px 18px;
  border: 1px solid #8d7cf44d;
  border-radius: 14px;
  background: #5c51bd3d;
  text-align: center;
}
.clock span {
  font-size: 11px;
}
.glass {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: linear-gradient(145deg, var(--panel2), var(--panel));
  box-shadow: 0 18px 55px #0005;
  backdrop-filter: blur(18px);
}
.heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.heading h2,
.glass h2 {
  margin: 3px 0 16px;
  font:
    23px Georgia,
    serif;
}
.reset {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff08;
  color: var(--muted);
  cursor: pointer;
}
.sounds {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.sound {
  text-align: center;
}
.sound-art {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 50%;
  font-size: 34px;
  background: radial-gradient(circle at 40% 30%, #38598b, #0a1b32 66%);
  border: 1px solid #ffffff31;
  box-shadow: inset 0 0 28px #0008;
}
.sound:nth-child(2) .sound-art {
  background: radial-gradient(circle at 45% 30%, #34829c, #102343 66%);
}
.sound:nth-child(3) .sound-art {
  background: radial-gradient(circle at 40% 30%, #39765c, #0a1d26 66%);
}
.sound:nth-child(4) .sound-art {
  background: radial-gradient(circle at 40% 30%, #a8542b, #271424 66%);
}
.sound:nth-child(5) .sound-art {
  background: radial-gradient(circle at 40% 30%, #5a5591, #11152f 66%);
}
.sound b {
  display: block;
  margin: 9px 0 3px;
}
.sound input {
  width: 85%;
  accent-color: var(--violet);
}
.master {
  display: grid;
  grid-template-columns: 50px 1fr minmax(100px, 220px);
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.master div {
  display: grid;
}
.master span {
  color: var(--muted);
  font-size: 12px;
}
.master input {
  accent-color: var(--teal);
}
.play {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), #6253d0);
  color: white;
  font-size: 18px;
  cursor: pointer;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 18px 0;
}
.timer-ring {
  display: grid;
  place-items: center;
  width: 110px;
  height: 110px;
  margin: 12px auto;
  border-radius: 50%;
  border: 8px solid #695ed0;
  box-shadow: 0 0 25px #8d7cf43b;
}
.timer-ring strong {
  font-size: 35px;
  line-height: 1;
}
.timer-ring span {
  color: var(--muted);
  font-size: 11px;
}
.chips {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin: 14px 0;
}
.chips button {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: #ffffff08;
  color: var(--muted);
  cursor: pointer;
}
.chips button.active,
.chips button:hover {
  background: #6559c8;
  color: #fff;
}
.wide {
  width: 100%;
  padding: 11px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #7164dc, #4b449f);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}
.orb {
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  margin: 16px auto;
  border-radius: 50%;
  background: radial-gradient(circle, #9b8df7, #504397 60%, #2b2759);
  box-shadow: 0 0 45px #8d7cf44a;
}
.orb.running {
  animation: breathe 8s ease-in-out infinite;
}
.orb span {
  font-weight: 800;
}
ol {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #ffffff0d;
}
li > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #ffffff0b;
  color: var(--violet);
}
li div {
  display: grid;
}
li small {
  color: var(--muted);
}
.lower {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr;
  gap: 18px;
}
.favourites {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(84px, 112px);
  gap: 10px;
}
.favourites + .library-subheading {
  margin-top: 22px;
}
.library-subheading {
  margin: 3px 0 16px;
  font:
    23px Georgia,
    serif;
}
.fav {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff08;
}
.fav small {
  display: block;
  color: var(--muted);
}
.score {
  display: grid;
  place-items: center;
  margin: 20px;
}
.score strong {
  font-size: 55px;
  color: var(--teal);
}
.score span {
  color: var(--muted);
}
.bars {
  height: 100px;
  display: flex;
  align-items: end;
  justify-content: space-around;
  gap: 8px;
}
.bar {
  width: 10%;
  border-radius: 7px 7px 0 0;
  background: linear-gradient(var(--teal), #397d89);
  position: relative;
}
.bar span {
  position: absolute;
  top: calc(100% + 5px);
  font-size: 9px;
  color: var(--muted);
}
@keyframes breathe {
  0%,
  100% {
    transform: scale(0.72);
    box-shadow: 0 0 20px #8d7cf42a;
  }
  50% {
    transform: scale(1);
    box-shadow: 0 0 65px #8d7cf47a;
  }
}
@media (max-width: 1050px) {
  .sounds {
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
  }
  .cards {
    grid-template-columns: 1fr 1fr;
  }
  .cards article:last-child {
    grid-column: 1/-1;
  }
}
@media (max-width: 900px) {
  aside {
    transform: translateX(-100%);
    transition: 0.25s;
  }
  aside.open {
    transform: none;
  }
  .mobile {
    display: flex;
    position: sticky;
    top: 0;
    z-index: 8;
    justify-content: space-between;
    padding: 14px 18px;
    background: #061127e8;
    backdrop-filter: blur(15px);
  }
  .mobile button {
    border: 0;
    background: none;
    color: white;
    font-size: 22px;
  }
  main {
    margin: 0;
    padding: 24px 14px 60px;
  }
  .welcome {
    align-items: flex-start;
  }
  .clock {
    display: none;
  }
  .sounds {
    grid-template-columns: repeat(3, 1fr);
  }
  .sound-art {
    font-size: 26px;
  }
  .master {
    grid-template-columns: 50px 1fr;
  }
  .master input {
    grid-column: 1/-1;
    width: 100%;
  }
  .cards,
  .lower {
    grid-template-columns: 1fr;
  }
  .cards article:last-child {
    grid-column: auto;
  }
  .favourites {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  body[data-page="home"] .sounds {
    grid-template-columns: repeat(
      auto-fit,
      minmax(min(100%, 130px), 1fr)
    ) !important;
    gap: clamp(12px, 2.5vw, 20px) !important;
  }

  body[data-page="home"] .sound,
  body[data-page="home"] .sound:last-child {
    grid-column: auto !important;
    min-width: 0;
  }

  body[data-page="home"] .sound-art {
    width: min(100%, clamp(118px, 24vw, 180px));
    aspect-ratio: 1 !important;
    margin-inline: auto;
    overflow: hidden;
    border-radius: 50% !important;
  }

  body[data-page="home"] .sound-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
@media (max-width: 430px) {
  .sounds {
    grid-template-columns: repeat(2, 1fr);
  }
  .sound:last-child {
    grid-column: 1/-1;
    width: 50%;
    justify-self: center;
  }
}
.audio-credit {
  margin-left: 225px;
  padding: 15px 30px 25px;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}
.audio-credit a {
  color: var(--teal);
}
@media (max-width: 900px) {
  .audio-credit {
    margin-left: 0;
  }
}

.mobile-tabs {
  display: none;
}
@media (max-width: 900px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
    background:
      radial-gradient(circle at 50% -10%, #1b2a50 0, transparent 25rem),
      linear-gradient(180deg, #061023, #07101f);
  }
  .mobile {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    min-height: 64px;
    padding: 8px 12px;
    padding-top: max(8px, env(safe-area-inset-top));
    border-bottom: 1px solid var(--line);
    background: rgba(6, 17, 39, 0.94);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.24);
  }
  .mobile button,
  .mobile-account {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #ffffff08;
    color: #d9d8ed;
    font-size: 20px;
    text-decoration: none;
  }
  .mobile .noctara-wordmark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #fff;
    text-decoration: none;
    font:
      400 25px/1 Georgia,
      serif;
    letter-spacing: -0.035em;
  }
  .mobile .noctara-moon {
    color: var(--gold);
    font-size: 31px;
  }
  main {
    padding: 15px 10px 34px;
  }
  .welcome {
    display: none;
  }
  .glass {
    padding: 14px;
    border-radius: 16px;
  }
  .heading h2,
  .glass h2 {
    font-size: 18px;
    margin-bottom: 10px;
  }
  .mixer {
    min-width: 0;
    padding: 13px 10px 15px;
  }
  .sounds {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 5px;
  }
  .sound,
  .sound:last-child {
    grid-column: auto;
    min-width: 0;
    width: auto;
    overflow: hidden;
  }
  .sound-art {
    font-size: 18px;
  }
  .sound b {
    margin: 5px 0 1px;
    font-size: 9px;
  }
  .sound input {
    display: block;
    width: 4px;
    min-width: 4px;
    height: 62px;
    min-height: 62px;
    margin: 5px auto;
    writing-mode: vertical-lr;
    direction: rtl;
    appearance: slider-vertical;
  }
  .master {
    grid-template-columns: 42px 1fr;
    margin-top: 12px;
    padding-top: 12px;
    gap: 10px;
  }
  .master input {
    grid-column: 1/-1;
  }
  .play {
    width: 40px;
    height: 40px;
  }
  .master span {
    font-size: 10px;
  }
  .cards {
    gap: 10px;
    margin: 10px 0;
  }
  .timer-ring,
  .orb {
    width: 88px;
    height: 88px;
    margin: 8px auto;
  }
  .timer-ring {
    border-width: 6px;
  }
  .timer-ring strong {
    font-size: 28px;
  }
  .chips {
    margin: 9px 0;
  }
  .chips button {
    padding: 6px 9px;
    font-size: 11px;
  }
  .lower {
    gap: 10px;
  }
  .favourites {
    grid-template-columns: 1fr 1fr;
  }
  .fav {
    padding: 11px;
  }
  .mobile-tabs {
    position: fixed;
    z-index: 30;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    min-height: 66px;
    padding: 5px 3px calc(5px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(6, 17, 39, 0.96);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
  }
  .mobile-tabs button {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 1px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--muted);
    font: 600 9px/1.2 inherit;
  }
  .mobile-tabs button:first-child {
    color: #c8c0ff;
  }
  .mobile-tabs span {
    font-size: 18px;
  }
  .audio-credit {
    display: none;
  }
}
@media (max-width: 380px) {
  .sound b {
    font-size: 9px;
  }
  .glass {
    padding: 12px;
  }
  .mobile-tabs button {
    font-size: 8px;
  }
}

aside nav a {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 13px 15px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: var(--muted);
  text-decoration: none;
}
aside nav a:hover,
aside nav a.active {
  color: #fff;
  background: linear-gradient(135deg, #6559c8, #413b91);
  border-color: #ffffff17;
}
.goodnight.active {
  padding: 10px 12px;
  border-radius: 10px;
  background: #ffffff0d;
  color: #fff;
  text-decoration: none;
}
.account-panel {
  width: min(100%, 760px);
}
.account-plan {
  margin: 20px 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff07;
}
.account-plan h2 {
  font-size: 34px;
  color: var(--teal);
}
.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.page-main {
  width: calc(100% - 225px);
  max-width: none;
  min-height: 100vh;
}
.page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.page-head h1 {
  margin: 3px 0 6px;
  font:
    42px Georgia,
    serif;
}
.page-head > div > p:first-child {
  margin: 0;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.page-head > div > p:last-child {
  max-width: 720px;
  color: var(--muted);
}
.page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.page-card {
  min-width: 0;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, var(--panel2), var(--panel));
  box-shadow: 0 18px 55px #0004;
}
.page-card h2 {
  margin: 0 0 8px;
  font:
    23px Georgia,
    serif;
}
.page-card p {
  color: var(--muted);
}
.page-card.wide {
  grid-column: 1/-1;
}
.page-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 15px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #7164dc, #4b449f);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}
.page-action.alt {
  border: 1px solid var(--line);
  background: #ffffff08;
  color: #ddd9ff;
}
.feature-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.directory-tile {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
  min-height: 132px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(145deg, var(--panel2), var(--panel));
  color: #fff;
  text-decoration: none;
}
.directory-tile:hover {
  border-color: #8d7cf477;
  box-shadow: 0 14px 36px #0005;
}
.directory-icon {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #ffffff0d;
  color: #c6bdff;
  font-size: 20px;
}
.directory-tile b,
.directory-tile span {
  display: block;
}
.directory-tile span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}
.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.setting-row:last-child {
  border-bottom: 0;
}
.setting-row label {
  font-weight: 750;
}
.setting-row small {
  display: block;
  color: var(--muted);
}
.setting-row input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--violet);
}
.page-list {
  display: grid;
  gap: 10px;
}
.mix-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #ffffff07;
}
.mix-row small {
  display: block;
  color: var(--muted);
}
.mix-row button {
  border: 0;
  background: transparent;
  color: #ffaaa8;
  cursor: pointer;
}
.empty-state {
  padding: 38px 20px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 14px;
}
.faq details {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.faq summary {
  font-weight: 800;
  cursor: pointer;
}
.faq p {
  margin: 8px 0 0;
}
.insight-chart {
  display: flex;
  align-items: end;
  gap: 13px;
  height: 190px;
  padding-top: 20px;
}
.insight-chart div {
  display: grid;
  place-items: center;
  align-content: end;
  flex: 1;
  min-width: 0;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(var(--teal), #397d89);
  color: #07101f;
  font-size: 10px;
  font-weight: 800;
}
.page-mobile-head {
  display: none;
}
@media (max-width: 980px) {
  .page-grid,
  .feature-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  aside {
    width: min(86vw, 320px);
    overflow-y: auto;
    box-shadow: 20px 0 60px #0008;
  }
  aside nav {
    gap: 3px;
  }
  aside nav a {
    padding: 11px 14px;
  }
  .goodnight {
    margin-top: 14px;
  }
  .page-main {
    width: 100%;
    padding: 18px 11px 92px;
  }
  .page-mobile-head {
    position: sticky;
    top: 0;
    z-index: 9;
    display: grid;
    grid-template-columns: 42px 1fr 42px;
    align-items: center;
    min-height: 64px;
    padding: 8px 12px;
    border-bottom: 1px solid var(--line);
    background: #061127f2;
  }
  .page-mobile-head .noctara-wordmark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #fff;
    text-decoration: none;
    font:
      400 25px/1 Georgia,
      serif;
  }
  .page-mobile-head .noctara-moon {
    color: var(--gold);
    font-size: 31px;
  }
  .page-menu,
  .page-account {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #ffffff08;
    color: #ddd9ff;
    text-decoration: none;
    font-size: 20px;
  }
  .page-head {
    display: block;
    margin-bottom: 20px;
  }
  .page-head h1 {
    font-size: 31px;
  }
  .page-head > .page-action {
    margin-top: 8px;
  }
  .page-grid,
  .feature-directory {
    grid-template-columns: 1fr;
  }
  .page-card {
    padding: 18px;
  }
  .directory-tile {
    min-height: 116px;
    padding: 17px;
  }
  .mobile-tabs {
    display: none;
  }
  .sound b {
    white-space: normal;
    overflow: visible;
  }
  .cards .glass h2,
  .cards .glass p,
  .cards .glass small {
    white-space: normal;
    overflow: visible;
  }
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
@media (max-width: 900px) {
  .mobile,
  .page-mobile-head {
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }
  main,
  .page-main {
    padding-left: max(10px, env(safe-area-inset-left));
    padding-right: max(10px, env(safe-area-inset-right));
  }
  input,
  select {
    font-size: 16px;
  }
  aside {
    display: none !important;
  }
  .page-menu,
  .page-account,
  .mobile button,
  .mobile-account {
    display: none !important;
  }
  .page-mobile-head,
  .mobile {
    display: flex !important;
    justify-content: center !important;
  }
  .app-bottom-tabs,
  .mobile-tabs {
    position: fixed;
    z-index: 50;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    min-height: 66px;
    padding: 5px 4px calc(5px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(6, 17, 39, 0.97);
    box-shadow: 0 -10px 30px #0006;
  }
  .app-bottom-tabs a,
  .mobile-tabs a,
  .mobile-tabs button {
    display: grid !important;
    place-items: center;
    align-content: center;
    gap: 2px;
    min-width: 0;
    border: 0;
    background: transparent;
    color: var(--muted);
    text-decoration: none;
    font:
      600 9px/1.2 Inter,
      sans-serif;
  }
  .app-bottom-tabs a.active {
    color: #c8c0ff;
  }
  .app-bottom-tabs span,
  .mobile-tabs span {
    font-size: 19px;
  }
}
