/**
 * Greg James Website - Main Stylesheet
 *
 * This file imports all partials in the correct order.
 * Individual styles are organized into base/ and components/ directories.
 */
@import url("https://use.typekit.net/yrj8zfx.css");
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@300;400;500;600;700&family=Inter:wght@400;500;600;700&display=swap");
html {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

*, *:before, *:after {
  -webkit-box-sizing: inherit;
          box-sizing: inherit;
}

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  -webkit-box-sizing: content-box;
          box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  -webkit-box-sizing: border-box;
          box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  -webkit-box-sizing: border-box;
          box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

:root {
  --background: #424242;
  --background-contrast: #272727;
  --text: #fff;
  --text-muted: #a2a2a2;
  --black: #000;
  --accent: #3e0100;
  --grey-text: var(--text-muted);
  --font-family: "jali-latin-variable", Georgia, "Times New Roman", serif;
  --font-family-mono: ui-monospace, "SF Mono", Monaco, "Cascadia Code", monospace;
  --text-xs: 1rem;
  --text-sm: 1.2rem;
  --text-base: 1.4rem;
  --text-md: 1.6rem;
  --text-lg: 2rem;
  --text-xl: 2.7rem;
  --text-2xl: 3.6rem;
  --text-3xl: 5rem;
  --space-xs: 5px;
  --space-sm: 10px;
  --space-md: 20px;
  --space-lg: 40px;
  --space-xl: 80px;
  --row-height: 70px;
  --row-padd: 8px;
  --guide-offset: calc(var(--row-padd) * 2 + var(--row-height) + 10px);
  --sidebar-width: 380px;
  --border-radius: 20px;
  --border-radius-sm: 10px;
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --shadow-sm: 0 0 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 2px 0 10px rgba(0, 0, 0, 0.4);
  --shadow-lg: 2px 2px 30px rgba(0, 0, 0, 0.3);
}
@media (min-width: 640px) {
  :root {
    --row-height: 100px;
    --row-padd: 10px;
  }
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  background-color: var(--background);
  color: var(--text);
  font-family: var(--font-family);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.5em;
  font-weight: 400;
  line-height: 1.2;
}

h1 {
  font-size: var(--text-xl);
}

h2 {
  font-size: var(--text-lg);
}

h3 {
  font-size: var(--text-md);
}

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
  -webkit-text-decoration-skip: ink;
          text-decoration-skip-ink: auto;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

main {
  padding-top: var(--space-md);
}

footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: var(--space-md);
  padding: 0 var(--space-md) var(--space-md);
  color: var(--text);
  font-size: var(--text-sm);
}
footer a {
  text-decoration: none;
  -webkit-transition: opacity var(--transition-fast);
  transition: opacity var(--transition-fast);
}
footer a:hover {
  opacity: 0.8;
}

button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: inherit;
  font: inherit;
}

@-webkit-keyframes maxChaos {
  0% {
    background-position: 0% 0%, 50% 50%, 25% 75%, 100% 100%, 75% 25%;
  }
  25% {
    background-position: 25% 25%, 75% 0%, 0% 75%, 50% 50%, 100% 0%;
  }
  50% {
    background-position: 50% 50%, 100% 100%, 75% 25%, 25% 75%, 0% 100%;
  }
  75% {
    background-position: 75% 50%, 0% 100%, 50% 0%, 100% 50%, 25% 25%;
  }
  100% {
    background-position: 100% 100%, 25% 0%, 0% 25%, 75% 75%, 50% 50%;
  }
}

@keyframes maxChaos {
  0% {
    background-position: 0% 0%, 50% 50%, 25% 75%, 100% 100%, 75% 25%;
  }
  25% {
    background-position: 25% 25%, 75% 0%, 0% 75%, 50% 50%, 100% 0%;
  }
  50% {
    background-position: 50% 50%, 100% 100%, 75% 25%, 25% 75%, 0% 100%;
  }
  75% {
    background-position: 75% 50%, 0% 100%, 50% 0%, 100% 50%, 25% 25%;
  }
  100% {
    background-position: 100% 100%, 25% 0%, 0% 25%, 75% 75%, 50% 50%;
  }
}
@-webkit-keyframes colorCycle {
  0% {
    -webkit-filter: hue-rotate(0deg) blur(30px) contrast(10px) saturate(100px);
            filter: hue-rotate(0deg) blur(30px) contrast(10px) saturate(100px);
  }
  50% {
    -webkit-filter: hue-rotate(180deg) blur(13px) contrast(10px) saturate(100px);
            filter: hue-rotate(180deg) blur(13px) contrast(10px) saturate(100px);
  }
  100% {
    -webkit-filter: hue-rotate(360deg) blur(30px) contrast(10px) saturate(100px);
            filter: hue-rotate(360deg) blur(30px) contrast(10px) saturate(100px);
  }
}
@keyframes colorCycle {
  0% {
    -webkit-filter: hue-rotate(0deg) blur(30px) contrast(10px) saturate(100px);
            filter: hue-rotate(0deg) blur(30px) contrast(10px) saturate(100px);
  }
  50% {
    -webkit-filter: hue-rotate(180deg) blur(13px) contrast(10px) saturate(100px);
            filter: hue-rotate(180deg) blur(13px) contrast(10px) saturate(100px);
  }
  100% {
    -webkit-filter: hue-rotate(360deg) blur(30px) contrast(10px) saturate(100px);
            filter: hue-rotate(360deg) blur(30px) contrast(10px) saturate(100px);
  }
}
@-webkit-keyframes noiseMotion {
  0% {
    background-position: 0% 0%, 100% 100%;
    background-size: 200% 200%, 300% 300%;
    -webkit-transform: translate(0, 0) scale(1.2);
            transform: translate(0, 0) scale(1.2);
  }
  25% {
    background-position: 25% 75%, 50% 50%;
    background-size: 250% 150%, 350% 250%;
    -webkit-transform: translate(-5px, 5px) scale(1.4);
            transform: translate(-5px, 5px) scale(1.4);
  }
  50% {
    background-position: 50% 50%, 25% 25%;
    background-size: 300% 200%, 400% 300%;
    -webkit-transform: translate(10px, -10px) scale(1.1);
            transform: translate(10px, -10px) scale(1.1);
  }
  75% {
    background-position: 75% 25%, 0% 100%;
    background-size: 220% 180%, 320% 220%;
    -webkit-transform: translate(-10px, 10px) scale(2);
            transform: translate(-10px, 10px) scale(2);
  }
  100% {
    background-position: 100% 100%, 50% 0%;
    background-size: 200% 200%, 300% 300%;
    -webkit-transform: translate(0, 0) scale(1.2);
            transform: translate(0, 0) scale(1.2);
  }
}
@keyframes noiseMotion {
  0% {
    background-position: 0% 0%, 100% 100%;
    background-size: 200% 200%, 300% 300%;
    -webkit-transform: translate(0, 0) scale(1.2);
            transform: translate(0, 0) scale(1.2);
  }
  25% {
    background-position: 25% 75%, 50% 50%;
    background-size: 250% 150%, 350% 250%;
    -webkit-transform: translate(-5px, 5px) scale(1.4);
            transform: translate(-5px, 5px) scale(1.4);
  }
  50% {
    background-position: 50% 50%, 25% 25%;
    background-size: 300% 200%, 400% 300%;
    -webkit-transform: translate(10px, -10px) scale(1.1);
            transform: translate(10px, -10px) scale(1.1);
  }
  75% {
    background-position: 75% 25%, 0% 100%;
    background-size: 220% 180%, 320% 220%;
    -webkit-transform: translate(-10px, 10px) scale(2);
            transform: translate(-10px, 10px) scale(2);
  }
  100% {
    background-position: 100% 100%, 50% 0%;
    background-size: 200% 200%, 300% 300%;
    -webkit-transform: translate(0, 0) scale(1.2);
            transform: translate(0, 0) scale(1.2);
  }
}
@-webkit-keyframes rockIt {
  from {
    -webkit-transform: rotateY(0%);
            transform: rotateY(0%);
  }
  to {
    -webkit-transform: rotateY(100%);
            transform: rotateY(100%);
  }
}
@keyframes rockIt {
  from {
    -webkit-transform: rotateY(0%);
            transform: rotateY(0%);
  }
  to {
    -webkit-transform: rotateY(100%);
            transform: rotateY(100%);
  }
}
.no-scroll {
  overflow: hidden;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  z-index: 10000;
  padding: 12px 24px;
  background-color: var(--background);
  color: var(--text);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  border: 2px solid var(--text);
  border-radius: 4px;
  -webkit-transition: top 0.2s ease;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 10px;
  outline: 3px solid var(--accent, #0066cc);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

:focus-visible {
  outline: 3px solid var(--accent, #0066cc);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

button:focus-visible,
a:focus-visible,
[role=button]:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--accent, #0066cc);
  outline-offset: 2px;
}

.controls button:focus-visible {
  outline-color: #fff;
  -webkit-box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.5);
          box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.5);
}

.play-trigger:focus-visible,
.sound-trigger:focus-visible,
.fullscreen-trigger:focus-visible,
.playlist-trigger:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  border-radius: 50%;
}

.full-screen-timeline:focus-visible {
  outline: 3px solid var(--accent, #0066cc);
  outline-offset: 4px;
}

.app:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
  -webkit-transform: scale(1.02);
      -ms-transform: scale(1.02);
          transform: scale(1.02);
}

.episode:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  background-color: rgba(255, 255, 255, 0.1);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    -webkit-animation-duration: 0.01ms !important;
            animation-duration: 0.01ms !important;
    -webkit-animation-iteration-count: 1 !important;
            animation-iteration-count: 1 !important;
    -webkit-transition-duration: 0.01ms !important;
            transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
@media (prefers-contrast: high) {
  :focus-visible {
    outline-width: 4px;
  }
  .skip-link {
    border-width: 3px;
  }
}
.content {
  padding-bottom: var(--space-md);
}

.guide-header {
  position: sticky;
  top: 0;
  z-index: 3;
  background-color: var(--background);
  white-space: nowrap;
  width: 100%;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  vertical-align: middle;
}
@media (hover: none) and (pointer: coarse) {
  .guide-header {
    scrollbar-width: none;
  }
  .guide-header::-webkit-scrollbar {
    display: none;
  }
}
.guide-header .timeblock {
  width: 540px;
  padding-bottom: 5px;
  -webkit-transform: translateX(-8px);
      -ms-transform: translateX(-8px);
          transform: translateX(-8px);
  display: inline-block;
}

.tv-guide {
  position: relative;
  border-bottom: 1px solid var(--background-contrast);
}
.tv-guide .now-playing {
  width: 2px;
  background-color: var(--text);
  position: absolute;
  top: 0;
  left: var(--guide-offset);
  z-index: 2;
  height: 100%;
}
.tv-guide .now-playing::after, .tv-guide .now-playing::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--text);
  -webkit-transform: translate(-2px);
      -ms-transform: translate(-2px);
          transform: translate(-2px);
  position: absolute;
}
.tv-guide .now-playing::after {
  bottom: 0;
}
.tv-guide .now-playing::before {
  top: 0;
}

.row {
  height: calc(var(--row-padd) + var(--row-padd) + var(--row-height));
  padding-top: var(--row-padd);
  position: relative;
  white-space: nowrap;
  border-top: 1px solid var(--background-contrast);
  padding-bottom: var(--row-padd);
  width: 100%;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  vertical-align: middle;
}
@media (hover: none) and (pointer: coarse) {
  .row {
    scrollbar-width: none;
  }
  .row::-webkit-scrollbar {
    display: none;
  }
}
.row .cover {
  overflow: hidden;
  width: calc(var(--row-padd) + var(--row-padd) + var(--row-height));
  height: calc(var(--row-padd) + var(--row-padd) + var(--row-height));
  background-color: var(--background-contrast);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  -webkit-filter: drop-shadow(2px 0px 10px rgb(0, 0, 0));
          filter: drop-shadow(2px 0px 10px rgb(0, 0, 0));
  color: var(--text);
  font-size: 20px;
  text-decoration: none;
  padding: 10px;
  -webkit-box-flex: 0;
      -ms-flex: 0 0;
          flex: 0 0;
  -ms-flex-positive: 0;
      flex-grow: 0;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  vertical-align: top;
}
.row .cover h2 {
  white-space: wrap;
  font-size: 12px;
  text-align: center;
  width: 100%;
  margin: 0;
  line-height: 1;
  font-weight: 400;
}
@media (min-width: 640px) {
  .row .cover h2 {
    font-size: 20px;
  }
}
.row .cover img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  vertical-align: top;
}
.row .episodes {
  width: 100%;
  white-space: nowrap;
  gap: 0;
  font-size: 0px;
}
.row .episode {
  background-color: var(--background-contrast);
  border-radius: var(--border-radius);
  height: var(--row-height);
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  display: inline-block;
  vertical-align: top;
  white-space: normal;
  -webkit-filter: drop-shadow(var(--shadow-sm));
          filter: drop-shadow(var(--shadow-sm));
  cursor: pointer;
  color: var(--text);
  text-decoration: none;
  opacity: 0.6;
  overflow: hidden;
  -webkit-transition: opacity var(--transition-fast), background-color var(--transition-fast);
  transition: opacity var(--transition-fast), background-color var(--transition-fast);
}
@media (max-width: 639px) {
  .row .episode {
    padding: 10px 8px !important;
  }
}
@media (hover: hover) and (pointer: fine) {
  .row .episode:hover {
    background-color: #333;
    -webkit-filter: none;
            filter: none;
    opacity: 1;
  }
}
.row .episode:focus-visible {
  opacity: 1;
}
.row .episode.active {
  opacity: 1;
}
.row .episode h3 {
  margin: 0;
  font-weight: 400;
  font-size: var(--text-base);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  overflow-wrap: anywhere;
}
@media (min-width: 640px) {
  .row .episode h3 {
    font-size: var(--text-lg);
  }
}
.row .episode span {
  color: var(--text-muted);
  font-size: var(--text-xs);
  margin-top: 2px;
  display: block;
}
@media (min-width: 640px) {
  .row .episode span {
    margin-top: var(--space-xs);
  }
}

.sidebar {
  width: 100vw;
  max-width: var(--sidebar-width);
  text-align: center;
  position: fixed;
  bottom: 0;
  right: 0;
  max-height: 100vh;
  max-height: 100svh;
  background-color: var(--background-contrast);
  color: var(--text);
  padding-top: 0;
  padding-bottom: var(--space-sm);
  padding-bottom: calc(var(--space-sm) + env(safe-area-inset-bottom));
  -webkit-filter: drop-shadow(var(--shadow-md));
          filter: drop-shadow(var(--shadow-md));
  border-radius: var(--border-radius) 0 0 0;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: var(--space-sm);
  z-index: 202;
  overflow-y: auto;
  -webkit-transform: translateX(100%);
      -ms-transform: translateX(100%);
          transform: translateX(100%);
  -webkit-transition: bottom var(--transition-fast), height 0.4s ease, max-height 0.4s ease, max-width 0.4s ease, border-radius 0.3s ease, background-color 0.4s ease, padding 0.3s ease, -webkit-transform var(--transition-base);
  transition: bottom var(--transition-fast), height 0.4s ease, max-height 0.4s ease, max-width 0.4s ease, border-radius 0.3s ease, background-color 0.4s ease, padding 0.3s ease, -webkit-transform var(--transition-base);
  transition: bottom var(--transition-fast), height 0.4s ease, max-height 0.4s ease, transform var(--transition-base), max-width 0.4s ease, border-radius 0.3s ease, background-color 0.4s ease, padding 0.3s ease;
  transition: bottom var(--transition-fast), height 0.4s ease, max-height 0.4s ease, transform var(--transition-base), max-width 0.4s ease, border-radius 0.3s ease, background-color 0.4s ease, padding 0.3s ease, -webkit-transform var(--transition-base);
}
@media (max-width: 639px) {
  .sidebar {
    max-width: 100%;
    border-radius: 0;
  }
  .sidebar .header .media {
    border-radius: 0;
  }
}
.sidebar.second-player {
  z-index: 201;
  bottom: 67px;
}
.sidebar.active {
  -webkit-transform: translateX(0%);
      -ms-transform: translateX(0%);
          transform: translateX(0%);
}
.sidebar .header {
  -webkit-box-flex: 0;
      -ms-flex-positive: 0;
          flex-grow: 0;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  padding: 0;
  position: relative;
}
.sidebar .header .media {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--border-radius) 0 0 0;
}
.sidebar .header .media .play-trigger {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.4);
}
.sidebar .header .media iframe {
  pointer-events: none;
}
.sidebar .header .media .unmute-prompt {
  position: absolute;
  inset: 0;
  z-index: 100;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  pointer-events: auto;
  -ms-touch-action: manipulation;
      touch-action: manipulation;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  font: inherit;
  color: inherit;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0.1);
}
.sidebar .header .media .unmute-prompt__badge {
  margin: 12px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  pointer-events: none;
  -webkit-animation: unmute-pulse 2s ease-in-out infinite;
          animation: unmute-pulse 2s ease-in-out infinite;
}
@-webkit-keyframes unmute-pulse {
  0%, 100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.05);
            transform: scale(1.05);
  }
}
@keyframes unmute-pulse {
  0%, 100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.05);
            transform: scale(1.05);
  }
}
.sidebar .header .media .tap-to-play {
  position: absolute;
  z-index: 7;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  padding: 18px 28px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  font: inherit;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.sidebar .header .media .tap-to-play__icon {
  font-size: 28px;
  line-height: 1;
}
.sidebar .header .media .tap-to-play__label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.sidebar .header .media.podcast {
  background: rgba(0, 0, 0, 0.3);
  aspect-ratio: 16/9;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 10px;
}
.sidebar .header .media.podcast img {
  width: auto;
  max-width: 60%;
  max-height: 100%;
  border-radius: var(--border-radius-sm);
  -o-object-fit: contain;
     object-fit: contain;
}
.sidebar .header .title {
  padding: var(--space-sm);
}
.sidebar .header .title h1 {
  font-size: var(--text-xl);
  font-weight: 400;
  margin: 0;
  line-height: 1.2;
}
.sidebar .header img {
  width: 100%;
  display: block;
  border-radius: 0;
  margin-bottom: 0;
}
.sidebar .header .vid img {
  display: none;
}
.sidebar .header .vid .vid-wrap {
  display: block;
}
.sidebar .header .vid-wrap {
  height: auto;
  width: 100%;
  pointer-events: none;
  aspect-ratio: 16/9;
  overflow: hidden;
  display: none;
}
.sidebar .description {
  padding: var(--space-md);
  text-align: left;
  font-size: var(--text-sm);
  line-height: 1.4;
  overflow: hidden;
  max-height: 11.2em;
  position: relative;
  mask-image: -webkit-gradient(linear, left top, left bottom, color-stop(60%, black), to(transparent));
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  -webkit-mask-image: -webkit-gradient(linear, left top, left bottom, color-stop(60%, black), to(transparent));
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}
.sidebar .description a {
  color: var(--text);
}
.sidebar .description p {
  margin: 0;
}
.sidebar .meta {
  padding: var(--space-sm) var(--space-md);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  font-size: var(--text-xs);
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
}
.sidebar .meta span {
  display: block;
}
.sidebar .upcoming {
  padding: 0 var(--space-md);
  text-align: left;
  overflow-y: auto;
  -ms-flex-negative: 1;
      flex-shrink: 1;
}
.sidebar .upcoming h2 {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 0 var(--space-xs);
  font-weight: 600;
}
.sidebar .upcoming .upcoming-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  text-decoration: none;
  font-size: var(--text-sm);
  -webkit-transition: opacity 0.15s ease;
  transition: opacity 0.15s ease;
}
.sidebar .upcoming .upcoming-item:last-child {
  border-bottom: none;
}
.sidebar .upcoming .upcoming-item:hover {
  opacity: 0.7;
}
.sidebar .upcoming .upcoming-title {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 0px;
          flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sidebar .upcoming .upcoming-time {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.sidebar .upcoming .upcoming-duration {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  color: var(--text-muted);
  font-size: var(--text-xs);
}
.sidebar .schedule-info {
  padding: 0 var(--space-sm);
  text-align: center;
}
.sidebar .schedule-info .status-text {
  font-size: var(--text-base);
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.sidebar-scales {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 5px;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  gap: 8px;
  position: absolute;
  top: 5px;
  right: 5px;
  z-index: 20;
}
.sidebar-scales button {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
@media (hover: none) and (pointer: coarse) {
  .sidebar-scales button {
    min-width: 44px;
    min-height: 44px;
  }
}
.sidebar-scales svg {
  width: 15px;
  fill: var(--text);
}
.sidebar-scales .restore-player {
  display: none;
}

.mini-mode {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  padding: 0;
  gap: 0;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  border-radius: var(--border-radius) 0 0 0;
  position: fixed;
  max-width: 320px;
  min-height: 80px;
}
.mini-mode .header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  padding: 0;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  overflow: hidden;
}
.mini-mode .header .media {
  width: 100%;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  overflow: hidden;
  border-radius: var(--border-radius) 0 0 0;
  aspect-ratio: 16/9;
}
.mini-mode .header .media.podcast {
  aspect-ratio: 16/9;
  padding: 5px;
}
.mini-mode .header .media.podcast img {
  width: auto;
  max-width: 50%;
  max-height: 100%;
  border-radius: var(--border-radius-sm);
}
.mini-mode .header .media .play-trigger,
.mini-mode .header .media .background {
  display: none;
}
.mini-mode .header .media img {
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 0;
}
.mini-mode .header .media .vid-wrap {
  width: 100%;
  height: 100%;
}
.mini-mode .header .title {
  padding: 8px 10px;
  padding-right: 80px;
  -webkit-box-flex: 1;
      -ms-flex: 1 1;
          flex: 1 1;
  min-width: 0;
  width: 100%;
}
.mini-mode .header .title h1 {
  font-size: 15px;
  text-align: left;
  font-weight: 400;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  overflow-wrap: anywhere;
  white-space: normal;
  max-height: 1.5em;
}
.mini-mode .description, .mini-mode .buttons, .mini-mode .meta, .mini-mode .controls, .mini-mode .schedule-info, .mini-mode .upcoming {
  display: none;
}
.mini-mode .sidebar-scales {
  top: 5px;
  right: 5px;
  -webkit-transform: none;
      -ms-transform: none;
          transform: none;
}
.mini-mode .sidebar-scales .minimise-player,
.mini-mode .sidebar-scales .enlarge-player {
  display: none;
}
.mini-mode .sidebar-scales .restore-player {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.large-mode {
  max-width: 100vw;
  max-width: 100svw;
  max-height: 100vh;
  max-height: 100svh;
  height: 100vh;
  height: 100svh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  bottom: 0;
  right: 0;
  border-radius: 0;
  padding: 0;
  padding-bottom: 0;
  background: #000;
  cursor: none;
}
.large-mode.controls-visible {
  cursor: default;
}
.large-mode .sidebar-scales,
.large-mode .title,
.large-mode .controls,
.large-mode .description,
.large-mode .buttons,
.large-mode .meta,
.large-mode .schedule-info,
.large-mode .upcoming,
.large-mode .play-trigger {
  opacity: 0;
  -webkit-transition: opacity 0.4s ease;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.large-mode.controls-visible .sidebar-scales,
.large-mode.controls-visible .title,
.large-mode.controls-visible .controls,
.large-mode.controls-visible .description,
.large-mode.controls-visible .buttons,
.large-mode.controls-visible .meta,
.large-mode.controls-visible .schedule-info,
.large-mode.controls-visible .upcoming,
.large-mode.controls-visible .play-trigger {
  opacity: 1;
  pointer-events: auto;
}
.large-mode .sidebar-scales {
  top: 20px;
  right: 20px;
  z-index: 30;
}
.large-mode .sidebar-scales .minimise-player,
.large-mode .sidebar-scales .enlarge-player {
  display: none;
}
.large-mode .sidebar-scales .restore-player {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.large-mode .header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  padding: 0;
  z-index: 20;
}
.large-mode .header .media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-radius: 0;
  z-index: 1;
  background: #000;
}
.large-mode .header .media.podcast {
  aspect-ratio: auto;
}
.large-mode .header .media img {
  position: relative;
  z-index: 10;
  width: auto;
  max-width: 300px;
  max-height: 60%;
  border-radius: var(--border-radius-sm);
}
.large-mode .header .media .vid-wrap {
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.large-mode .header .media .vid-wrap iframe, .large-mode .header .media .vid-wrap video {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.large-mode .header .media .play-trigger {
  z-index: 20;
}
.large-mode .header .media .background {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
  z-index: 1;
  -webkit-filter: blur(40px) contrast(13.2) saturate(45.5);
          filter: blur(40px) contrast(13.2) saturate(45.5);
}
.large-mode .header .media .background .inner {
  width: 100%;
  height: 100%;
  z-index: 1;
  background: repeating-linear-gradient(45deg, rgba(255, 0, 150, 0.2) 0%, rgba(255, 255, 0, 0.3) 10%, transparent 20%), radial-gradient(circle, rgba(0, 255, 255, 0.3) 10%, rgba(255, 0, 255, 0.2) 70%, transparent 90%), linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.2) 100%), repeating-linear-gradient(90deg, rgba(50, 200, 150, 0.2) 0%, rgba(150, 50, 200, 0.3) 5%, transparent 10%), radial-gradient(circle, rgba(255, 200, 100, 0.3) 10%, rgba(0, 0, 0, 0) 70%);
  background-size: 400% 400%, 300% 300%, 600% 600%, 250% 250%, 500% 500%;
  -webkit-animation: noiseMotion 5s infinite alternate ease-in-out, colorCycle 5s infinite alternate ease-in-out;
          animation: noiseMotion 5s infinite alternate ease-in-out, colorCycle 5s infinite alternate ease-in-out;
}
.large-mode .header .media .background .inner::before {
  content: "";
  z-index: 2;
  opacity: 0.5;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(45deg, rgba(255, 0, 150, 0.2) 0%, rgba(255, 255, 0, 0.3) 10%, transparent 20%), radial-gradient(circle, rgba(0, 255, 255, 0.3) 10%, rgba(255, 0, 255, 0.2) 70%, transparent 90%), linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.2) 100%), repeating-linear-gradient(90deg, rgba(50, 200, 150, 0.2) 0%, rgba(150, 50, 200, 0.3) 5%, transparent 10%), radial-gradient(circle, rgba(255, 200, 100, 0.3) 10%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
  opacity: 0.8;
  -webkit-animation: noiseMotion 4s infinite alternate ease-in-out, colorCycle 4s infinite alternate ease-in-out;
          animation: noiseMotion 4s infinite alternate ease-in-out, colorCycle 4s infinite alternate ease-in-out;
}
.large-mode .header .media.vid .background {
  display: none;
}
.large-mode .header .title {
  position: absolute;
  bottom: 40px;
  left: 0;
  z-index: 15;
  padding: var(--space-sm) var(--space-lg);
  background: none;
  width: 50%;
  max-width: unset;
}
.large-mode .header .title h1 {
  font-size: var(--text-2xl);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  text-align: left;
}
.large-mode .header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 260px;
  background: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.95)), color-stop(40%, rgba(0, 0, 0, 0.7)), to(transparent));
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 40%, transparent 100%);
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  -webkit-transition: opacity 0.4s ease;
  transition: opacity 0.4s ease;
}
.large-mode .controls {
  position: absolute;
  bottom: 0;
  left: 0;
  width: auto;
  z-index: 30;
  padding: var(--space-sm) var(--space-lg);
  padding-bottom: calc(var(--space-sm) + env(safe-area-inset-bottom));
  max-width: unset;
}
.large-mode .controls .play-time {
  font-size: var(--text-sm);
  color: #fff;
}
.large-mode .meta {
  position: absolute;
  bottom: 0;
  right: auto;
  left: 120px;
  width: auto;
  z-index: 30;
  max-width: unset;
  background: none;
  border-top: none;
  padding: var(--space-sm) var(--space-lg);
  padding-bottom: calc(var(--space-sm) + env(safe-area-inset-bottom));
  margin-top: 0;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  gap: var(--space-md);
  font-size: var(--text-sm);
  color: #fff;
}
.large-mode .description {
  position: absolute;
  bottom: 40px;
  right: 0;
  left: auto;
  width: 50%;
  z-index: 25;
  padding: var(--space-sm) var(--space-lg) var(--space-sm) var(--space-md);
  max-width: unset;
  max-height: none;
  mask-image: none;
  -webkit-mask-image: none;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: var(--text-base);
  line-height: 1.4;
  text-align: left;
}
.large-mode .description:has(~ .upcoming) {
  display: none;
}
.large-mode .buttons {
  position: absolute;
  bottom: 0;
  right: 0;
  left: auto;
  width: 50%;
  z-index: 30;
  padding: var(--space-sm) var(--space-lg) var(--space-sm) var(--space-md);
  padding-bottom: calc(var(--space-sm) + env(safe-area-inset-bottom));
  max-width: unset;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  text-align: left;
}
.large-mode .buttons .button {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  font-size: var(--text-sm);
  text-decoration: underline;
  color: #fff;
  display: inline;
  min-height: 0;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  -webkit-transform: none;
      -ms-transform: none;
          transform: none;
}
.large-mode .buttons .button:hover {
  color: var(--text);
  opacity: 1;
  -webkit-transform: none;
      -ms-transform: none;
          transform: none;
}
.large-mode.controls-visible .header::after {
  opacity: 1;
}
.large-mode .upcoming {
  position: absolute;
  bottom: 40px;
  right: 0;
  left: auto;
  width: 50%;
  z-index: 25;
  padding: var(--space-sm) var(--space-lg) var(--space-sm) var(--space-md);
  max-height: 30vh;
  overflow-y: auto;
}
.large-mode .upcoming h2 {
  color: rgba(255, 255, 255, 0.6);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
.large-mode .upcoming .upcoming-item {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  border-bottom-color: rgba(255, 255, 255, 0.15);
}
.large-mode .upcoming .upcoming-time,
.large-mode .upcoming .upcoming-duration {
  color: rgba(255, 255, 255, 0.6);
}
.large-mode .schedule-info {
  position: absolute;
  bottom: 0;
  left: 120px;
  z-index: 25;
  width: auto;
  padding: var(--space-sm) var(--space-lg);
  padding-bottom: calc(var(--space-sm) + env(safe-area-inset-bottom));
}
.large-mode .schedule-info .status-text {
  font-size: var(--text-sm);
}
@media (max-width: 767px) {
  .large-mode .sidebar-scales {
    top: env(safe-area-inset-top, 10px);
    right: 10px;
  }
  .large-mode .header .title {
    width: 100%;
    bottom: 80px;
    padding: var(--space-xs) var(--space-md);
  }
  .large-mode .header .title h1 {
    font-size: var(--text-lg);
  }
  .large-mode .header::after {
    height: 50%;
  }
  .large-mode .description {
    width: 100%;
    right: auto;
    left: 0;
    bottom: 80px;
    padding: 0 var(--space-md);
    font-size: var(--text-sm);
    -webkit-line-clamp: 2;
  }
  .large-mode .description:has(~ .upcoming) {
    display: none;
  }
  .large-mode .upcoming {
    width: 100%;
    right: auto;
    left: 0;
    bottom: 40px;
    max-height: 20vh;
    padding: 0 var(--space-md) var(--space-xs);
  }
  .large-mode .upcoming h2 {
    font-size: 10px;
    margin-bottom: 2px;
  }
  .large-mode .upcoming .upcoming-item {
    font-size: var(--text-xs);
    padding: 3px 0;
    gap: var(--space-xs);
  }
  .large-mode .controls {
    padding: var(--space-xs) var(--space-md);
    padding-bottom: calc(var(--space-xs) + env(safe-area-inset-bottom));
  }
  .large-mode .controls .play-time {
    font-size: var(--text-xs);
  }
  .large-mode .meta {
    left: 100px;
    padding: var(--space-xs) var(--space-md);
    padding-bottom: calc(var(--space-xs) + env(safe-area-inset-bottom));
    font-size: var(--text-xs);
  }
  .large-mode .buttons {
    width: 100%;
    right: auto;
    left: 0;
    padding: 0 var(--space-md);
    padding-bottom: calc(var(--space-xs) + env(safe-area-inset-bottom));
  }
  .large-mode .schedule-info {
    left: 100px;
    padding: var(--space-xs) var(--space-md);
    padding-bottom: calc(var(--space-xs) + env(safe-area-inset-bottom));
  }
}
@media (max-width: 767px) and (orientation: landscape) {
  .large-mode .header .title {
    width: 50%;
    bottom: 40px;
  }
  .large-mode .upcoming {
    width: 50%;
    left: auto;
    right: 0;
    bottom: 40px;
  }
  .large-mode .description {
    width: 50%;
    bottom: 40px;
  }
}

.buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-md) var(--space-sm);
  width: 100%;
}
.buttons .button {
  padding: var(--space-sm) 16px;
  font-size: var(--text-sm);
  background-color: var(--text-muted);
  border-radius: var(--border-radius-sm);
  color: var(--black);
  text-decoration: none;
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  text-align: center;
  -webkit-transition: opacity var(--transition-fast), -webkit-transform var(--transition-fast);
  transition: opacity var(--transition-fast), -webkit-transform var(--transition-fast);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  transition: opacity var(--transition-fast), transform var(--transition-fast), -webkit-transform var(--transition-fast);
}
@media (hover: hover) and (pointer: fine) {
  .buttons .button:hover {
    opacity: 0.9;
    -webkit-transform: translateY(-1px);
        -ms-transform: translateY(-1px);
            transform: translateY(-1px);
  }
}

.controls {
  padding: 0 var(--space-sm);
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-transition: opacity var(--transition-fast), -webkit-transform var(--transition-fast);
  transition: opacity var(--transition-fast), -webkit-transform var(--transition-fast);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  transition: opacity var(--transition-fast), transform var(--transition-fast), -webkit-transform var(--transition-fast);
  opacity: 1;
  z-index: 2;
  gap: 0;
}
.controls.disabled {
  display: none;
}
.controls .play-time {
  font-size: var(--text-base);
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  -webkit-box-ordinal-group: 3;
      -ms-flex-order: 2;
          order: 2;
}
.controls .play-time .current-time,
.controls .play-time .duration {
  display: inline;
}
.controls .fill {
  fill: var(--text);
}
.controls .stroke {
  stroke: var(--text);
}
.controls .button-small {
  width: 38px;
  border: 2px solid var(--text);
  border-radius: 50%;
  height: 38px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  cursor: pointer;
  -webkit-transition: opacity 0.2s, color 0.2s, background-color 0.2s, -webkit-transform 0.34s;
  transition: opacity 0.2s, color 0.2s, background-color 0.2s, -webkit-transform 0.34s;
  transition: opacity 0.2s, transform 0.34s, color 0.2s, background-color 0.2s;
  transition: opacity 0.2s, transform 0.34s, color 0.2s, background-color 0.2s, -webkit-transform 0.34s;
  position: relative;
  -webkit-backface-visibility: visible;
          backface-visibility: visible;
  -webkit-perspective: 1000px;
          perspective: 1000px;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  background: transparent;
  padding: 0;
}
@media (hover: none) and (pointer: coarse) {
  .controls .button-small {
    width: 44px;
    height: 44px;
  }
}
.controls .button-small .fill {
  -webkit-transition: fill 0.2s;
  transition: fill 0.2s;
}
.controls .button-small .stroke {
  -webkit-transition: stroke 0.2s;
  transition: stroke 0.2s;
}
.controls .button-small .front, .controls .button-small .back {
  position: absolute;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  top: 50%;
  left: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  border-radius: 50%;
}
.controls .button-small .back {
  -webkit-transform: translate(-50%, -50%) rotateY(180deg);
          transform: translate(-50%, -50%) rotateY(180deg);
}
.controls .button-small .back .fill {
  fill: var(--text) !important;
}
.controls .button-small .back .stroke {
  stroke: var(--text) !important;
}
.controls .button-small .front {
  background-color: var(--text);
  color: var(--black);
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}
.controls .button-small .front .fill {
  fill: var(--black) !important;
}
.controls .button-small .front .stroke {
  stroke: var(--black) !important;
}
@media (hover: hover) and (pointer: fine) {
  .controls .button-small:hover {
    -webkit-animation: blink 0.3s ease-out infinite alternate;
            animation: blink 0.3s ease-out infinite alternate;
  }
}
.controls .button-small.play-podcast-trigger svg {
  height: 19px;
}
.controls .button-small.play-video-trigger svg {
  height: 10px;
}
.controls .button-small.disabled {
  opacity: 0.6;
}

.button-large {
  width: 80px;
  height: 80px;
  border: 2px solid var(--text);
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  cursor: pointer;
  -webkit-transition: opacity 0.2s, color 0.2s, background-color 0.2s, border 0.2s 0.3s, -webkit-transform 0.34s;
  transition: opacity 0.2s, color 0.2s, background-color 0.2s, border 0.2s 0.3s, -webkit-transform 0.34s;
  transition: opacity 0.2s, transform 0.34s, color 0.2s, background-color 0.2s, border 0.2s 0.3s;
  transition: opacity 0.2s, transform 0.34s, color 0.2s, background-color 0.2s, border 0.2s 0.3s, -webkit-transform 0.34s;
  position: relative;
  -webkit-backface-visibility: visible;
          backface-visibility: visible;
  -webkit-perspective: 1000px;
          perspective: 1000px;
  background: transparent;
  padding: 0;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
@media only screen and (min-height: 380px) {
  .button-large {
    width: 100px;
    height: 100px;
  }
}
.button-large svg {
  height: 30px;
}
@media only screen and (min-height: 380px) {
  .button-large svg {
    height: 40px;
  }
}
.button-large .front, .button-large .back {
  position: absolute;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  top: 50%;
  left: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  border-radius: 50%;
}
.button-large .back {
  -webkit-transform: translate(-50%, -50%) rotateY(180deg);
          transform: translate(-50%, -50%) rotateY(180deg);
}
.button-large .back .fill {
  fill: var(--text) !important;
}
.button-large .back .stroke {
  stroke: var(--text) !important;
}
.button-large .front {
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}
.button-large .front .fill {
  fill: var(--text) !important;
}
.button-large .front .stroke {
  stroke: var(--text) !important;
}
.button-large .fill {
  -webkit-transition: fill 0.2s;
  transition: fill 0.2s;
}
.button-large .stroke {
  -webkit-transition: stroke 0.2s;
  transition: stroke 0.2s;
}
@media (hover: hover) and (pointer: fine) {
  .button-large:hover {
    -webkit-animation: blink 0.3s ease-out infinite alternate;
            animation: blink 0.3s ease-out infinite alternate;
  }
}

.sidebar .play-trigger {
  opacity: 1;
  -webkit-transition: opacity 0.3s, -webkit-transform 0.34s;
  transition: opacity 0.3s, -webkit-transform 0.34s;
  transition: opacity 0.3s, transform 0.34s;
  transition: opacity 0.3s, transform 0.34s, -webkit-transform 0.34s;
}

.sidebar.playing .play-trigger {
  -webkit-animation: fade-out-play 0.4s ease 3s forwards;
          animation: fade-out-play 0.4s ease 3s forwards;
}

.sidebar.playing:hover .play-trigger,
.sidebar.playing:focus-within .play-trigger {
  -webkit-animation: none;
          animation: none;
  opacity: 1;
  -webkit-transition: opacity 0.2s, -webkit-transform 0.34s;
  transition: opacity 0.2s, -webkit-transform 0.34s;
  transition: opacity 0.2s, transform 0.34s;
  transition: opacity 0.2s, transform 0.34s, -webkit-transform 0.34s;
}

@-webkit-keyframes fade-out-play {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes fade-out-play {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
.sidebar.large-mode.playing .play-trigger {
  opacity: 0;
}

.sidebar.large-mode.playing.controls-visible .play-trigger {
  opacity: 1;
}

.playing .play-trigger {
  -webkit-transform: translate(-50%, -50%) rotateY(180deg) !important;
          transform: translate(-50%, -50%) rotateY(180deg) !important;
}
.playing .play-trigger .front {
  opacity: 0;
}
.playing .play-trigger .back {
  -webkit-backface-visibility: visible;
          backface-visibility: visible;
  -webkit-transform: translate(-50%, -50%) rotateY(180deg);
          transform: translate(-50%, -50%) rotateY(180deg);
}

.app-bar {
  white-space: nowrap;
  padding: var(--space-md) 0;
  margin-bottom: var(--space-md);
  height: auto;
  overflow-x: clip;
  overflow-y: visible;
}
@media (min-width: 640px) {
  .app-bar {
    height: 400px;
  }
}

.app {
  aspect-ratio: 16/9;
  width: 75vw;
  max-width: 320px;
  height: auto;
  -webkit-perspective: 800px;
          perspective: 800px;
}
@media (min-width: 640px) {
  .app {
    width: auto;
    max-width: none;
    height: 100%;
  }
}

.app, .app-body {
  margin-left: 0;
  display: inline-block;
  position: relative;
  border-radius: var(--border-radius);
  cursor: pointer;
  min-height: 0;
  vertical-align: top;
  -webkit-transition: opacity var(--transition-fast);
  transition: opacity var(--transition-fast);
}
@media (min-width: 640px) {
  .app, .app-body {
    margin-left: var(--space-md);
    min-height: 190px;
  }
}
.app .close, .app-body .close {
  position: fixed;
  top: calc(15px + env(safe-area-inset-top));
  right: calc(15px + env(safe-area-inset-right));
  font-size: 3rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #cc0000;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: #fff;
  text-decoration: none;
  -webkit-filter: drop-shadow(var(--shadow-md));
          filter: drop-shadow(var(--shadow-md));
  z-index: 100;
  -webkit-transition: -webkit-transform var(--transition-fast);
  transition: -webkit-transform var(--transition-fast);
  transition: transform var(--transition-fast);
  transition: transform var(--transition-fast), -webkit-transform var(--transition-fast);
}
@media (hover: hover) and (pointer: fine) {
  .app .close:hover, .app-body .close:hover {
    -webkit-transform: scale(1.05);
        -ms-transform: scale(1.05);
            transform: scale(1.05);
  }
}
@media (min-width: 640px) {
  .app .close, .app-body .close {
    top: calc(var(--space-md) + env(safe-area-inset-top));
    right: calc(var(--space-md) + env(safe-area-inset-right));
    font-size: 4rem;
    width: 70px;
    height: 70px;
  }
}
.app.full-screen, .app-body.full-screen {
  position: fixed;
  left: 0px !important;
  width: 100% !important;
  height: 100% !important;
  top: 0px !important;
  border-radius: 0px !important;
  margin-left: 0;
  background-position: center !important;
  color: transparent;
  overflow: auto;
}
.app.full-screen .background, .app-body.full-screen .background {
  border-radius: 0px !important;
}
.app .inner, .app-body .inner {
  height: 100%;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  -webkit-transition: -webkit-transform 0.4s ease-out;
  transition: -webkit-transform 0.4s ease-out;
  transition: transform 0.4s ease-out;
  transition: transform 0.4s ease-out, -webkit-transform 0.4s ease-out;
  will-change: transform;
}
.app .inner::before, .app-body .inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--border-radius);
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.01) 30%, rgba(255, 255, 255, 0.06) 40%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.06) 60%, rgba(255, 255, 255, 0.01) 70%, transparent 100%);
  background-size: 300% 100%;
  background-position-x: var(--gloss-x, 120%);
  z-index: 3;
  pointer-events: none;
}
.app .inner::after, .app-body .inner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.15);
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -2px 4px rgba(0, 0, 0, 0.15);
          box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -2px 4px rgba(0, 0, 0, 0.15);
  z-index: 3;
  pointer-events: none;
}
.app .inner.loading, .app-body .inner.loading {
  -webkit-transition: all 1s;
  transition: all 1s;
}
.app .inner.full-screen, .app-body .inner.full-screen {
  position: fixed;
  left: 0px !important;
  width: 100% !important;
  height: 100% !important;
  top: 0px !important;
  border-radius: 0px !important;
  z-index: 10;
  color: transparent;
  pointer-events: none;
}
.app .inner.full-screen .background, .app-body .inner.full-screen .background {
  border-radius: 0px;
}
.app .inner.full-screen::before, .app .inner.full-screen::after, .app-body .inner.full-screen::before, .app-body .inner.full-screen::after {
  border-radius: 0px;
}
.app .inner .background, .app-body .inner .background {
  border-radius: var(--border-radius);
  overflow: hidden;
  height: 100%;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-transition: border-radius 1s, opacity var(--transition-fast);
  transition: border-radius 1s, opacity var(--transition-fast);
  -webkit-filter: drop-shadow(var(--shadow-lg));
          filter: drop-shadow(var(--shadow-lg));
  background-position: center;
}
.app .inner img, .app-body .inner img {
  position: absolute;
  -webkit-transition: opacity 0.2s;
  transition: opacity 0.2s;
}
.app .inner .background-img, .app-body .inner .background-img {
  position: absolute;
  max-width: 110%;
  max-height: 110%;
  -o-object-fit: cover;
     object-fit: cover;
}
.app .inner .foreground-img, .app-body .inner .foreground-img {
  position: absolute;
  max-width: 100%;
  max-height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.app .app-title, .app-body .app-title {
  position: absolute;
  bottom: var(--space-md);
  left: var(--space-md);
  z-index: 4;
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--text);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.app-body {
  background-size: cover !important;
  z-index: 101;
}

.menu-button {
  display: none;
}

:root {
  --pixel: 8px;
  --pixel-c1: #242c3c;
  --pixel-c2: #626262;
  --pixel-bg: #fffde4;
}

.pop-up {
  position: fixed;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  background: var(--pixel-bg);
  color: #000;
  padding: calc(3 * var(--pixel)) calc(4 * var(--pixel));
  text-align: center;
  z-index: 200;
  max-width: calc(100% - 40px);
  width: 410px;
  font-family: monospace;
  -webkit-transition: opacity 0.2s, -webkit-transform 0.2s;
  transition: opacity 0.2s, -webkit-transform 0.2s;
  transition: transform 0.2s, opacity 0.2s;
  transition: transform 0.2s, opacity 0.2s, -webkit-transform 0.2s;
}
.pop-up.hidden {
  -webkit-transform: translate(-50%, 50%);
      -ms-transform: translate(-50%, 50%);
          transform: translate(-50%, 50%);
  opacity: 0;
  pointer-events: none;
}
.pop-up::before, .pop-up::after {
  content: "";
  position: absolute;
  left: var(--pixel);
  right: var(--pixel);
  height: var(--pixel);
  z-index: 2;
  background: repeating-linear-gradient(to right, var(--pixel-c1) 0 var(--pixel), var(--pixel-c2) var(--pixel) calc(2 * var(--pixel)));
}
.pop-up::before {
  top: 0;
}
.pop-up::after {
  bottom: 0;
}
.pop-up .side {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}
.pop-up .side.left, .pop-up .side.right {
  top: var(--pixel);
  bottom: var(--pixel);
  width: var(--pixel);
  background: repeating-linear-gradient(to bottom, var(--pixel-c1) 0 var(--pixel), var(--pixel-c2) var(--pixel) calc(2 * var(--pixel)));
}
.pop-up .side.left {
  left: 0;
}
.pop-up .side.right {
  right: 0;
}
.pop-up .corner {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  width: calc(2 * var(--pixel));
  height: calc(2 * var(--pixel));
  background: linear-gradient(135deg, var(--pixel-c1) 50%, var(--pixel-c2) 50%);
}
.pop-up .corner.tl {
  top: 0;
  left: 0;
}
.pop-up .corner.tr {
  top: 0;
  right: 0;
  -webkit-transform: scaleX(-1);
      -ms-transform: scaleX(-1);
          transform: scaleX(-1);
}
.pop-up .corner.bl {
  bottom: 0;
  left: 0;
  -webkit-transform: scaleY(-1);
      -ms-transform: scaleY(-1);
          transform: scaleY(-1);
}
.pop-up .corner.br {
  bottom: 0;
  right: 0;
  -webkit-transform: scaleX(-1) scaleY(-1);
      -ms-transform: scaleX(-1) scaleY(-1);
          transform: scaleX(-1) scaleY(-1);
}
.pop-up p {
  margin: 0 0 20px 0;
  font-size: clamp(18px, 5vw, 25px);
  line-height: 1.3;
}
.pop-up button, .pop-up .start {
  display: block;
  width: 100%;
  background: var(--pixel-c1);
  color: var(--pixel-bg);
  border: none;
  padding: var(--space-sm) var(--space-lg);
  font-size: clamp(18px, 5vw, 25px);
  border-radius: 10px;
  cursor: pointer;
  font-family: monospace;
  margin-bottom: 20px;
  -webkit-transition: background-color var(--transition-fast), -webkit-transform var(--transition-fast);
  transition: background-color var(--transition-fast), -webkit-transform var(--transition-fast);
  transition: transform var(--transition-fast), background-color var(--transition-fast);
  transition: transform var(--transition-fast), background-color var(--transition-fast), -webkit-transform var(--transition-fast);
}
.pop-up button:hover, .pop-up .start:hover {
  -webkit-transform: scale(1.05);
      -ms-transform: scale(1.05);
          transform: scale(1.05);
}

#gameCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
#gameCanvas.no-interact {
  pointer-events: none;
}

.soundboard-rack {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  min-height: 100%;
  min-height: calc(100vh - 80px);
  min-height: calc(100svh - 80px);
  padding: 20px;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  justify-content: center;
}

.rack {
  width: 100%;
  max-width: 860px;
  background: var(--sb-surface);
  border-radius: 6px;
  border: 1px solid var(--sb-border);
  -webkit-box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(255, 255, 255, 0.03) inset;
          box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(255, 255, 255, 0.03) inset;
  overflow: hidden;
  --sb-bg: #1a1a1a;
  --sb-surface: #222;
  --sb-surface-raised: #2a2a2a;
  --sb-surface-inset: #161616;
  --sb-border: #333;
  --sb-border-light: #3a3a3a;
  --sb-text: #ccc;
  --sb-text-dim: #666;
  --sb-text-muted: #444;
  --sb-accent: #ff6b2b;
  --sb-accent-dim: #803818;
  --sb-meter-green: #4ecf4e;
  --sb-meter-yellow: #cfcf30;
  --sb-meter-red: #cf3030;
}

.rack-top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 0 10px;
  height: 26px;
  background: -webkit-gradient(linear, left top, left bottom, from(#2e2e2e), to(#252525));
  background: linear-gradient(180deg, #2e2e2e 0%, #252525 100%);
  border-bottom: 1px solid var(--sb-border);
}

.rack-screw {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #444, #222);
  border: 1px solid #555;
  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(255, 255, 255, 0.05);
          box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(255, 255, 255, 0.05);
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
.rack-screw::after {
  content: "";
  display: block;
  width: 6px;
  height: 1px;
  background: #333;
  margin: 4px auto 0;
  border-radius: 1px;
}

.rack-title {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--sb-text-dim);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.rack-title span {
  color: var(--sb-accent);
}

.rack-body {
  padding: 12px;
  position: relative;
}

.top-section {
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 8px;
  margin-bottom: 10px;
}

.display {
  background: #0c0c0c;
  border: 1px solid #111;
  border-radius: 3px;
  padding: 10px 12px;
  -webkit-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.5);
          box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.5);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 4px;
  position: relative;
  overflow: hidden;
}

.display-now {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sb-accent);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.display-meta {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.5rem;
  color: #555;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 12px;
}
.display-meta .val {
  color: #888;
}

.display-count {
  position: absolute;
  top: 8px;
  right: 12px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--sb-accent);
  opacity: 0.15;
  line-height: 1;
}
.display-count.has-active {
  opacity: 1;
}

.meter-panel {
  background: #0c0c0c;
  border: 1px solid #111;
  border-radius: 3px;
  padding: 8px;
  -webkit-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.5);
          box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.5);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.meter-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.4rem;
  color: #444;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-align: center;
  margin-bottom: 4px;
}

.meter-bars {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 3px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
}

.meter-channel {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: reverse;
      -ms-flex-direction: column-reverse;
          flex-direction: column-reverse;
  gap: 1px;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  max-width: 12px;
}

.meter-seg {
  height: 3px;
  border-radius: 0.5px;
  background: #1a1a1a;
  -webkit-transition: background 0.06s;
  transition: background 0.06s;
}
.meter-seg.lit-green {
  background: var(--sb-meter-green);
  -webkit-box-shadow: 0 0 3px rgba(78, 207, 78, 0.3);
          box-shadow: 0 0 3px rgba(78, 207, 78, 0.3);
}
.meter-seg.lit-yellow {
  background: var(--sb-meter-yellow);
  -webkit-box-shadow: 0 0 3px rgba(207, 207, 48, 0.3);
          box-shadow: 0 0 3px rgba(207, 207, 48, 0.3);
}
.meter-seg.lit-red {
  background: var(--sb-meter-red);
  -webkit-box-shadow: 0 0 3px rgba(207, 48, 48, 0.3);
          box-shadow: 0 0 3px rgba(207, 48, 48, 0.3);
}

.meter-ch-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.35rem;
  color: #444;
  text-align: center;
  margin-top: 3px;
}

.analyser {
  background: #0c0c0c;
  border: 1px solid #111;
  border-radius: 3px;
  padding: 4px;
  margin-bottom: 10px;
  -webkit-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.5);
          box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.5);
  position: relative;
}
.analyser canvas {
  display: block;
  width: 100%;
  height: 48px;
  border-radius: 2px;
}

.analyser-label {
  position: absolute;
  top: 6px;
  right: 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.35rem;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.soundboard-rack .toolbar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.soundboard-rack .toolbar .spacer {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.toolbar-group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1px;
  background: var(--sb-border);
  border-radius: 4px;
  overflow: hidden;
}
.toolbar-group button {
  font-family: "Inter", sans-serif;
  font-size: 0.58rem;
  font-weight: 600;
  padding: 5px 12px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: var(--sb-surface-raised);
  color: var(--sb-text-dim);
  border: none;
  -webkit-transition: all 0.08s;
  transition: all 0.08s;
}
.toolbar-group button:hover {
  background: #333;
  color: var(--sb-text);
}
.toolbar-group button.active {
  background: var(--sb-accent);
  color: #fff;
}

.tool-btn {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.52rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 3px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  -webkit-transition: all 0.08s;
  transition: all 0.08s;
  background: var(--sb-surface-raised);
  color: var(--sb-text-dim);
  border: 1px solid var(--sb-border);
}
.tool-btn:hover {
  background: #333;
  color: var(--sb-text);
}
.tool-btn:active {
  background: var(--sb-surface-inset);
}

#btn-stop {
  color: var(--sb-meter-red);
}
#btn-stop:hover {
  border-color: var(--sb-meter-red);
  color: #ff5050;
  -webkit-box-shadow: 0 0 6px rgba(207, 48, 48, 0.15);
          box-shadow: 0 0 6px rgba(207, 48, 48, 0.15);
}

#btn-mode .indicator {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sb-meter-green);
  -webkit-box-shadow: 0 0 4px rgba(78, 207, 78, 0.4);
          box-shadow: 0 0 4px rgba(78, 207, 78, 0.4);
  margin-right: 4px;
  vertical-align: middle;
}
#btn-mode.mono .indicator {
  background: var(--sb-meter-yellow);
  -webkit-box-shadow: 0 0 4px rgba(207, 207, 48, 0.4);
          box-shadow: 0 0 4px rgba(207, 207, 48, 0.4);
}

.soundboard-rack .grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 4px;
  position: relative;
}

.pad-logo {
  position: absolute;
  bottom: 10px;
  right: 20px;
  height: 62px;
}
.pad-logo svg {
  fill: #a7471e;
  width: auto;
  height: 100%;
}
.pad-logo svg path {
  fill: #a7471e;
}

.pad {
  position: relative;
  background: var(--sb-surface-inset);
  border: 1px solid var(--sb-border);
  border-radius: 3px;
  padding: 6px;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  min-height: 62px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-transition: border-color 0.1s, background 0.1s, -webkit-box-shadow 0.1s;
  transition: border-color 0.1s, background 0.1s, -webkit-box-shadow 0.1s;
  transition: border-color 0.1s, box-shadow 0.1s, background 0.1s;
  transition: border-color 0.1s, box-shadow 0.1s, background 0.1s, -webkit-box-shadow 0.1s;
  overflow: hidden;
}
.pad::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--pad-color);
  opacity: 0.3;
  -webkit-transition: opacity 0.15s, -webkit-box-shadow 0.15s;
  transition: opacity 0.15s, -webkit-box-shadow 0.15s;
  transition: opacity 0.15s, box-shadow 0.15s;
  transition: opacity 0.15s, box-shadow 0.15s, -webkit-box-shadow 0.15s;
}
.pad:hover {
  border-color: var(--sb-border-light);
  background: #1c1c1c;
}
.pad:hover::before {
  opacity: 0.6;
}
.pad:active, .pad.pressed {
  background: #131313;
  border-color: var(--sb-border);
  -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4);
          box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4);
}
.pad.pad--active {
  border-color: var(--pad-color);
  background: var(--pad-active-bg);
  -webkit-box-shadow: 0 0 8px var(--pad-glow), inset 0 0 8px var(--pad-glow-inset);
          box-shadow: 0 0 8px var(--pad-glow), inset 0 0 8px var(--pad-glow-inset);
}
.pad.pad--active::before {
  opacity: 1;
  height: 2px;
  -webkit-box-shadow: 0 0 6px var(--pad-color), 0 2px 8px var(--pad-glow);
          box-shadow: 0 0 6px var(--pad-color), 0 2px 8px var(--pad-glow);
}
.pad.pad--active .pad-label {
  color: #eee;
}
.pad.pad--active .pad-key {
  color: var(--pad-color);
  opacity: 1;
}
.pad.pad--active .pad-meter {
  opacity: 1;
}
.pad.pad--active.pressed {
  -webkit-filter: brightness(0.85);
          filter: brightness(0.85);
}
.pad.missing {
  opacity: 0.12;
  pointer-events: none;
}

.pad-top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}

.pad-key {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.42rem;
  font-weight: 600;
  color: var(--sb-text-muted);
  opacity: 0.6;
  -webkit-transition: all 0.15s;
  transition: all 0.15s;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.pad-meter {
  width: 16px;
  height: 3px;
  border-radius: 1px;
  background: var(--pad-color);
  opacity: 0;
  -webkit-transition: opacity 0.15s;
  transition: opacity 0.15s;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  -webkit-animation: meter-flicker 0.8s ease-in-out infinite;
          animation: meter-flicker 0.8s ease-in-out infinite;
}

@-webkit-keyframes meter-flicker {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

@keyframes meter-flicker {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}
.pad-label {
  font-family: "Inter", sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--sb-text-dim);
  line-height: 1.3;
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-transition: color 0.15s;
  transition: color 0.15s;
}

.rack-bottom {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 0 10px;
  height: 22px;
  background: -webkit-gradient(linear, left top, left bottom, from(#252525), to(#2e2e2e));
  background: linear-gradient(180deg, #252525 0%, #2e2e2e 100%);
  border-top: 1px solid var(--sb-border);
}

.rack-bottom-text {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.38rem;
  color: #333;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .soundboard-rack {
    padding: 8px;
  }
  .top-section {
    grid-template-columns: 1fr;
  }
  .meter-panel {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    padding: 6px;
  }
  .meter-bars {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
  }
  .meter-channel {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
    max-width: none;
  }
  .soundboard-rack .grid {
    grid-template-columns: repeat(auto-fill, minmax(68px, 1fr));
    gap: 3px;
  }
  .pad {
    min-height: 52px;
    padding: 5px;
  }
  .pad-logo {
    height: 52px;
    padding: 5px;
  }
  .pad-label {
    font-size: 0.44rem;
  }
  .display-now {
    font-size: 0.7rem;
  }
  .toolbar-group button {
    font-size: 0.5rem;
    padding: 4px 8px;
  }
}
.app-entry.page {
  min-height: 100vh;
  padding: 20px;
}
@media (min-width: 640px) {
  .app-entry.page {
    padding: 40px;
  }
}
@media (min-width: 768px) {
  .app-entry.page {
    padding: 60px;
  }
}
.app-entry.page article {
  background: #fff;
  border-radius: 0;
  max-width: 1200px;
  min-height: calc(100vh - 40px);
  margin: 0 auto;
}
@media (min-width: 640px) {
  .app-entry.page article {
    border-radius: 8px;
    min-height: calc(100vh - 80px);
  }
}
@media (min-width: 768px) {
  .app-entry.page article {
    min-height: calc(100vh - 120px);
  }
}

.app-entry.page article {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  color: #1a1a1a;
  gap: clamp(40px, 8vw, 80px);
  padding-bottom: 100px;
}
.app-entry.page article a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  -webkit-transition: opacity 0.2s;
  transition: opacity 0.2s;
}
.app-entry.page article a:hover {
  opacity: 0.6;
}
.app-entry.page article .page-header {
  text-align: center;
  padding: 30px 20px 30px 20px;
}
@media (min-width: 640px) {
  .app-entry.page article .page-header {
    padding: 120px 20px 0px 20px;
  }
}
.app-entry.page article .page-header h1 {
  font-size: 36px;
  font-weight: 400;
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
@media (min-width: 640px) {
  .app-entry.page article .page-header h1 {
    font-size: 56px;
  }
}
.app-entry.page article .page-header img {
  margin-bottom: 40px;
}
.app-entry.page article .page-header .page-logo {
  max-width: 280px;
  max-height: 120px;
  width: auto;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
}
@media (min-width: 640px) {
  .app-entry.page article .page-header .page-logo {
    max-width: 400px;
    max-height: 160px;
  }
}
.app-entry.page article .page-header .subtitle {
  font-size: 16px;
  color: #666;
  margin: 1rem auto 0;
  max-width: 500px;
  line-height: 1.5;
}
@media (min-width: 640px) {
  .app-entry.page article .page-header .subtitle {
    font-size: 18px;
  }
}
.app-entry.page article section {
  width: 100%;
  padding: 0 20px;
}
@media (min-width: 640px) {
  .app-entry.page article section {
    padding: 0 40px;
  }
}
.app-entry.page article section p {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.app-entry.page article section h2 {
  font-size: 28px;
  font-weight: 400;
  margin: 0 0 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
@media (min-width: 640px) {
  .app-entry.page article section h2 {
    font-size: 36px;
  }
}
.app-entry.page article section .article-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px 20px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
@media (min-width: 640px) {
  .app-entry.page article section .article-row {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    gap: 60px;
    padding: 0px 30px;
  }
}
@media (min-width: 768px) {
  .app-entry.page article section .article-row {
    padding: 0px 50px;
  }
}
@media (min-width: 640px) {
  .app-entry.page article section .article-row:has(.col + .col) .col {
    max-width: 50%;
  }
}
.app-entry.page article section .col {
  -webkit-box-flex: 0;
      -ms-flex: 0 1 auto;
          flex: 0 1 auto;
  max-width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 20px;
}
.app-entry.page article section .col p {
  font-size: 17px;
  line-height: 1.8;
  color: #444;
  margin: 0 0 1.25rem;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 640px) {
  .app-entry.page article section .col p {
    font-size: 18px;
  }
}
.app-entry.page article section .col p:last-child {
  margin-bottom: 0;
}
.app-entry.page article section .col .img-wrap {
  position: relative;
  width: 100%;
}
.app-entry.page article section .col .img-wrap img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
}
.app-entry.page article section .col .img-wrap.img-small {
  max-width: 200px;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .app-entry.page article section .col .img-wrap.img-small {
    max-width: 250px;
  }
}
.app-entry.page article section .col .img-wrap.img-mid {
  max-width: 400px;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .app-entry.page article section .col .img-wrap.img-mid {
    max-width: 500px;
  }
}
.app-entry.page article section .col .img-wrap.img-natural {
  width: auto;
  max-width: 100%;
  margin: 0 auto;
}
.app-entry.page article section .col .img-wrap.img-natural img {
  width: auto;
  max-width: 100%;
}
.app-entry.page article section .section-title {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #999;
  margin-bottom: 1rem;
  text-align: center;
}
.app-entry.page article section .button-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 16px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-top: 2rem;
}
.app-entry.page article section .button {
  display: inline-block;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #1a1a1a;
  color: #fff;
  border: none;
  -webkit-transition: background 0.2s;
  transition: background 0.2s;
  border-radius: 10px;
}
.app-entry.page article section .button:hover {
  background: #333;
  opacity: 1;
}
.app-entry.page article section:has(.img-wrap:only-child) {
  padding: 0;
}
.app-entry.page article section:has(.img-wrap:only-child) .col {
  padding: 0;
  max-width: 100%;
}
.app-entry.page article section:has(.img-wrap:only-child) .img-wrap img {
  width: 100%;
  max-width: 100%;
}
.app-entry.page article section .article-row:has(.col:only-child) .col {
  max-width: 100%;
}
.app-entry.page article .col:has(.video-embed),
.app-entry.page article .col:has(.slideshow) {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 100%;
          flex: 1 1 100%;
  width: 100%;
  max-width: 100% !important;
}
.app-entry.page article .video-embed {
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: var(--border-radius);
  overflow: hidden;
  -webkit-box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
          box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}
.app-entry.page article .video-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
}
.app-entry.page article .slideshow {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--border-radius);
  overflow: hidden;
  -webkit-box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
          box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  position: relative;
}
.app-entry.page article .slideshow .swiper-slide img {
  display: block;
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
}

.cricket-broadcast ~ .close,
.cricket-broadcast + .close,
.app-body:has(.cricket-broadcast) > .close {
  display: none !important;
}

body:has(.cricket-broadcast) .menu-button {
  display: none !important;
}

.cricket-broadcast.nes-style {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  color: #ffffff;
  font-family: monospace;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.cricket-layout {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  min-height: 0;
  gap: 0;
}

.cricket-center {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  min-width: 0;
  position: relative;
}

.cricket-canvas {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  width: 100%;
  min-height: 0;
  -ms-interpolation-mode: nearest-neighbor;
      image-rendering: -webkit-optimize-contrast;
      image-rendering: pixelated;
  image-rendering: crisp-edges;
  background: #2a2a32;
}

.nes-scoreboard {
  background: #000000;
  border: 2px solid #00ffff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 8px;
  font-size: 10px;
  font-weight: bold;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  padding: 4px 8px;
  margin: 2px 1px;
}
@media (min-width: 500px) {
  .nes-scoreboard {
    font-size: 12px;
    gap: 12px;
    padding: 6px 12px;
  }
}
@media (min-width: 768px) {
  .nes-scoreboard {
    font-size: 14px;
    gap: 16px;
  }
}

.nes-team {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 4px;
}
.nes-team .team-abbr {
  color: var(--team-color, #ffffff);
}
.nes-team .team-score {
  color: #00ff00;
}
.nes-team.batting .team-abbr {
  background: #ffff00;
  color: #000000;
  padding: 0 3px;
}
.nes-team.batting .team-score {
  color: #ffff00;
}

.nes-innings {
  color: #ff00ff;
  font-size: 0.85em;
}

.nes-overs {
  color: #00ffff;
}

.over-balls-panel {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 2px;
  margin-top: 2px;
}

.ball-result {
  width: 14px;
  height: 14px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-size: 9px;
  font-weight: bold;
  border: 1px solid;
}
@media (min-width: 1024px) {
  .ball-result {
    width: 16px;
    height: 16px;
    font-size: 10px;
  }
}
.ball-result.dot {
  color: #666;
  border-color: #333;
  background: #111;
}
.ball-result.runs {
  color: #ffffff;
  border-color: #555;
  background: #111;
}
.ball-result.four {
  background: #00ffff;
  color: #000000;
  border-color: #00ffff;
}
.ball-result.six {
  background: #ffff00;
  color: #000000;
  border-color: #ffff00;
}
.ball-result.wicket {
  background: #ff0000;
  color: #ffffff;
  border-color: #ff0000;
}

.nes-close {
  position: absolute;
  top: calc(4px + env(safe-area-inset-top));
  right: calc(4px + env(safe-area-inset-right));
  width: 24px;
  height: 24px;
  background: #ff0000;
  border: 2px solid #ffffff;
  color: #ffffff;
  font-family: monospace;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  z-index: 100;
}
@media (min-width: 768px) {
  .nes-close {
    top: 8px;
    right: 170px;
  }
}
@media (min-width: 1024px) {
  .nes-close {
    right: 210px;
  }
}
.nes-close:hover {
  background: #ffffff;
  color: #ff0000;
}

.teletext-panel {
  width: 140px;
  background: #000000;
  display: none;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  font-size: 9px;
  line-height: 1.2;
  border: 2px solid #00ffff;
  margin: 2px;
  outline: 3px solid #000000;
}
@media (min-width: 768px) {
  .teletext-panel {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 160px;
  }
}
@media (min-width: 1024px) {
  .teletext-panel {
    width: 200px;
    font-size: 10px;
  }
}

.teletext-header {
  background: #0000aa;
  padding: 3px 6px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-bottom: 2px solid #00ffff;
}
.teletext-header .teletext-page {
  color: #ffff00;
  font-weight: bold;
}
.teletext-header .teletext-title {
  color: #ffffff;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.teletext-content {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  padding: 4px 6px;
  overflow: hidden;
}

.teletext-art {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 8px 4px 6px;
  border-bottom: 2px solid #333;
  background: #000000;
  position: relative;
  height: 59px;
}

.pixel-cricketer-wrap {
  width: 48px;
  height: 36px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: absolute;
  right: 22px;
  bottom: 12px;
}
@media (min-width: 1024px) {
  .pixel-cricketer-wrap {
    -webkit-transform: scale(1.2);
        -ms-transform: scale(1.2);
            transform: scale(1.2);
    margin-bottom: 2px;
  }
}

.art-title {
  color: #00ffff;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-top: 2px;
  position: absolute;
  left: 20px;
  top: 10px;
  font-weight: 800;
  font-style: italic;
}
@media (min-width: 1024px) {
  .art-title {
    font-size: 12px;
  }
}

.pixel-cricketer {
  width: 4px;
  height: 4px;
  background: transparent;
  margin-left: -16px;
  margin-top: -12px;
  -webkit-box-shadow: 0 0 0 #ffff00, 0 4px 0 #ffff00, 0 8px 0 #ffff00, 0 12px 0 #ffff00, 0 16px 0 #ffff00, 0 20px 0 #ffff00, 0 24px 0 #ffff00, 8px 0 0 #ffff00, 8px 4px 0 #ffff00, 8px 8px 0 #ffff00, 8px 12px 0 #ffff00, 8px 16px 0 #ffff00, 8px 20px 0 #ffff00, 8px 24px 0 #ffff00, 16px 0 0 #ffff00, 16px 4px 0 #ffff00, 16px 8px 0 #ffff00, 16px 12px 0 #ffff00, 16px 16px 0 #ffff00, 16px 20px 0 #ffff00, 16px 24px 0 #ffff00, 4px -4px 0 #ffff00, 12px -4px 0 #ffff00, 28px 16px 0 #ff0000, 32px 12px 0 #ff0000, 32px 16px 0 #ff0000, 32px 20px 0 #ff0000, 36px 16px 0 #ff0000, -4px 28px 0 #00ff00, 0 28px 0 #00ff00, 4px 28px 0 #00ff00, 8px 28px 0 #00ff00, 12px 28px 0 #00ff00, 16px 28px 0 #00ff00, 20px 28px 0 #00ff00, 24px 28px 0 #00ff00, 28px 28px 0 #00ff00, 32px 28px 0 #00ff00, 36px 28px 0 #00ff00, 40px 28px 0 #00ff00;
          box-shadow: 0 0 0 #ffff00, 0 4px 0 #ffff00, 0 8px 0 #ffff00, 0 12px 0 #ffff00, 0 16px 0 #ffff00, 0 20px 0 #ffff00, 0 24px 0 #ffff00, 8px 0 0 #ffff00, 8px 4px 0 #ffff00, 8px 8px 0 #ffff00, 8px 12px 0 #ffff00, 8px 16px 0 #ffff00, 8px 20px 0 #ffff00, 8px 24px 0 #ffff00, 16px 0 0 #ffff00, 16px 4px 0 #ffff00, 16px 8px 0 #ffff00, 16px 12px 0 #ffff00, 16px 16px 0 #ffff00, 16px 20px 0 #ffff00, 16px 24px 0 #ffff00, 4px -4px 0 #ffff00, 12px -4px 0 #ffff00, 28px 16px 0 #ff0000, 32px 12px 0 #ff0000, 32px 16px 0 #ff0000, 32px 20px 0 #ff0000, 36px 16px 0 #ff0000, -4px 28px 0 #00ff00, 0 28px 0 #00ff00, 4px 28px 0 #00ff00, 8px 28px 0 #00ff00, 12px 28px 0 #00ff00, 16px 28px 0 #00ff00, 20px 28px 0 #00ff00, 24px 28px 0 #00ff00, 28px 28px 0 #00ff00, 32px 28px 0 #00ff00, 36px 28px 0 #00ff00, 40px 28px 0 #00ff00;
}

.table-header-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-size: 7px;
  color: #00ffff;
  border-bottom: 1px solid #333;
  padding-bottom: 2px;
  margin-bottom: 2px;
}
@media (min-width: 1024px) {
  .table-header-row {
    font-size: 8px;
  }
}
.table-header-row .col-pos {
  width: 12px;
}
.table-header-row .col-team {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
.table-header-row .col-stat {
  width: 16px;
  text-align: center;
}
@media (min-width: 1024px) {
  .table-header-row .col-stat {
    width: 20px;
  }
}

.table-rows {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 0;
}

.table-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 8px;
  padding: 2px 0;
  border-bottom: 1px solid #222;
}
@media (min-width: 1024px) {
  .table-row {
    font-size: 9px;
  }
}
.table-row:last-child {
  border-bottom: none;
}
.table-row.playing {
  -webkit-animation: flash-playing 1s ease-in-out infinite;
          animation: flash-playing 1s ease-in-out infinite;
}
.table-row .row-pos {
  width: 10px;
  color: #00ffff;
}
.table-row .row-color {
  width: 6px;
  height: 6px;
  margin-right: 4px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
@media (min-width: 1024px) {
  .table-row .row-color {
    width: 8px;
    height: 8px;
  }
}
.table-row .row-team {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.table-row .row-stat {
  width: 16px;
  text-align: center;
  color: #00ff00;
}
@media (min-width: 1024px) {
  .table-row .row-stat {
    width: 20px;
  }
}
.table-row .row-pts {
  width: 18px;
  text-align: center;
  color: #ffff00;
  font-weight: bold;
}
@media (min-width: 1024px) {
  .table-row .row-pts {
    width: 22px;
  }
}

@-webkit-keyframes flash-playing {
  0%, 100% {
    background: transparent;
  }
  50% {
    background: rgba(255, 255, 0, 0.25);
  }
}

@keyframes flash-playing {
  0%, 100% {
    background: transparent;
  }
  50% {
    background: rgba(255, 255, 0, 0.25);
  }
}
.stat-section {
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid #222;
}
.stat-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.stat-section.match-teams {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 2px;
  padding: 4px 0 8px;
  text-align: center;
}
.stat-section.match-teams .team-name {
  font-weight: bold;
  font-size: 9px;
  line-height: 1.2;
}
@media (min-width: 1024px) {
  .stat-section.match-teams .team-name {
    font-size: 10px;
  }
}
.stat-section.match-teams .vs {
  color: #666;
  font-size: 7px;
}

.stat-label {
  font-weight: bold;
  font-size: 8px;
  margin-bottom: 3px;
  text-transform: uppercase;
}
@media (min-width: 1024px) {
  .stat-label {
    font-size: 9px;
  }
}
.stat-label.yellow {
  color: #ffff00;
}
.stat-label.cyan {
  color: #00ffff;
}
.stat-label.green {
  color: #00ff00;
}
.stat-label.magenta {
  color: #ff00ff;
}
.stat-label.red {
  color: #ff0000;
}

.stat-row {
  color: #ffffff;
  font-size: 8px;
  padding: 1px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media (min-width: 1024px) {
  .stat-row {
    font-size: 9px;
  }
}
.stat-row .stat-name {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.stat-row .stat-value {
  color: #00ff00;
  font-weight: bold;
  margin-left: 4px;
}
.stat-row .stat-value-sub {
  color: #666;
  font-size: 7px;
  margin-left: 2px;
}
.stat-row.batting .stat-value {
  color: #ffff00;
}
.stat-row.strike .stat-name::after {
  content: "*";
  color: #ffff00;
}
.stat-row.small {
  font-size: 7px;
  opacity: 0.85;
}
@media (min-width: 1024px) {
  .stat-row.small {
    font-size: 8px;
  }
}

.progress-bar {
  height: 4px;
  background: #111;
  border: 1px solid #00ffff;
  margin: 3px 0;
  overflow: hidden;
}
.progress-bar .progress-fill {
  height: 100%;
  background: #00ff00;
  width: 0%;
  -webkit-transition: width 0.3s ease;
  transition: width 0.3s ease;
}

.ff-textbox {
  background: #000000;
  border: 2px solid #ffff00;
  outline: 3px solid #000000;
  margin: 2px;
  padding: 0;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.ff-textbox-inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.ff-textbox::before {
  content: "P166 COMMENTARY";
  display: block;
  background: #0000aa;
  color: #ffff00;
  font-size: 9px;
  font-weight: bold;
  padding: 2px 6px;
  border-bottom: 2px solid #ffff00;
}
@media (min-width: 500px) {
  .ff-textbox::before {
    font-size: 10px;
  }
}

.ff-text {
  color: #ffffff;
  font-size: 10px;
  line-height: 1.3;
  padding: 6px 8px;
  min-height: 36px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media (min-width: 500px) {
  .ff-text {
    font-size: 11px;
    padding: 8px 10px;
    min-height: 44px;
  }
}
@media (min-width: 768px) {
  .ff-text {
    font-size: 12px;
  }
}
.ff-text .event-wicket {
  color: #ff0000;
  font-weight: bold;
}
.ff-text .event-six {
  color: #ffff00;
  font-weight: bold;
}
.ff-text .event-four {
  color: #00ffff;
  font-weight: bold;
}

.ff-cursor {
  color: #ffff00;
  font-size: 10px;
  -webkit-animation: cursor-blink 0.5s step-end infinite;
          animation: cursor-blink 0.5s step-end infinite;
  margin-left: 4px;
  opacity: 0;
}
.ff-cursor.visible {
  opacity: 1;
}

@-webkit-keyframes cursor-blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

@keyframes cursor-blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
.predict-buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 2px;
  margin-top: 2px;
}

.predict-btn {
  background: #000000;
  border: 1px solid #555;
  color: #ffffff;
  width: 18px;
  height: 18px;
  padding: 0;
  font-size: 9px;
  font-family: monospace;
  font-weight: bold;
  cursor: pointer;
  -webkit-transition: all 0.1s;
  transition: all 0.1s;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
@media (min-width: 1024px) {
  .predict-btn {
    width: 22px;
    height: 22px;
    font-size: 10px;
  }
}
.predict-btn:hover {
  background: #222;
  border-color: #00ffff;
}
.predict-btn.active {
  background: #ff00ff;
  color: #000000;
  border-color: #ff00ff;
}
.predict-btn[data-predict=wicket] {
  color: #ff0000;
  border-color: #ff0000;
}
.predict-btn[data-predict=wicket].active {
  background: #ff0000;
  color: #ffffff;
}
.predict-btn[data-predict=six] {
  color: #ffff00;
  border-color: #ffff00;
}
.predict-btn[data-predict=six].active {
  background: #ffff00;
  color: #000000;
}
.predict-btn[data-predict=four] {
  color: #00ffff;
  border-color: #00ffff;
}
.predict-btn[data-predict=four].active {
  background: #00ffff;
  color: #000000;
}

@-webkit-keyframes flash-correct {
  0%, 100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.2);
            transform: scale(1.2);
    color: #ffff00;
  }
}

@keyframes flash-correct {
  0%, 100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.2);
            transform: scale(1.2);
    color: #ffff00;
  }
}
.achievement-toast {
  position: fixed;
  top: 10px;
  left: 50%;
  -webkit-transform: translateX(-50%) translateY(-100px);
      -ms-transform: translateX(-50%) translateY(-100px);
          transform: translateX(-50%) translateY(-100px);
  background: #000000;
  border: 3px solid #ffff00;
  padding: 8px 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  z-index: 200;
  opacity: 0;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}
.achievement-toast::before {
  content: "ACHIEVEMENT";
  position: absolute;
  top: -12px;
  left: 50%;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  background: #ffff00;
  color: #000000;
  font-size: 8px;
  font-weight: bold;
  padding: 1px 6px;
}
.achievement-toast.visible {
  -webkit-transform: translateX(-50%) translateY(0);
      -ms-transform: translateX(-50%) translateY(0);
          transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.achievement-icon {
  font-size: 24px;
}

.achievement-text {
  color: #ffffff;
  font-size: 11px;
  font-weight: bold;
}

.stats-overlay {
  position: fixed;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%) scale(0.9);
      -ms-transform: translate(-50%, -50%) scale(0.9);
          transform: translate(-50%, -50%) scale(0.9);
  background: #000000;
  border: 3px solid #00ffff;
  padding: 0;
  z-index: 150;
  display: none;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  min-width: 300px;
  max-width: 90vw;
}
.stats-overlay.visible {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-transform: translate(-50%, -50%) scale(1);
      -ms-transform: translate(-50%, -50%) scale(1);
          transform: translate(-50%, -50%) scale(1);
}

.stats-tabs {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  background: #0000aa;
  border-bottom: 2px solid #00ffff;
}

.stats-tab {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  background: transparent;
  border: none;
  color: #ffffff;
  padding: 6px 8px;
  font-size: 8px;
  font-family: monospace;
  cursor: pointer;
  opacity: 0.6;
}
@media (min-width: 500px) {
  .stats-tab {
    font-size: 9px;
    padding: 8px 12px;
  }
}
.stats-tab:hover {
  opacity: 0.8;
  background: rgba(0, 255, 255, 0.2);
}
.stats-tab.active {
  opacity: 1;
  background: #00ffff;
  color: #000000;
}

.stats-close {
  background: #ff0000;
  border: none;
  color: #ffffff;
  padding: 6px 10px;
  font-size: 12px;
  font-family: monospace;
  cursor: pointer;
}
.stats-close:hover {
  background: #ff3333;
}

.stats-content {
  padding: 12px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
}

#stats-canvas {
  background: #0a0a1a;
  border: 1px solid #00ffff;
  -ms-interpolation-mode: nearest-neighbor;
      image-rendering: -webkit-optimize-contrast;
      image-rendering: pixelated;
}

.stats-info {
  color: #ffffff;
  font-size: 9px;
  text-align: center;
}
.stats-info .cyan {
  color: #00ffff;
}
.stats-info .yellow {
  color: #ffff00;
}
.stats-info .green {
  color: #00ff00;
}

.stats-toggle {
  position: absolute;
  top: calc(6px + env(safe-area-inset-top));
  left: calc(6px + env(safe-area-inset-left));
  padding: 3px 8px;
  background: #000000;
  border: 2px solid #00ffff;
  color: #00ffff;
  font-size: 9px;
  font-family: monospace;
  font-weight: bold;
  cursor: pointer;
  z-index: 50;
}
@media (min-width: 500px) {
  .stats-toggle {
    font-size: 10px;
    padding: 4px 10px;
  }
}
.stats-toggle:hover {
  background: #00ffff;
  color: #000000;
}

.nes-ticker {
  display: none;
}

.racing-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.racing-canvas.no-interact {
  pointer-events: none;
}

.racing-controls-hint {
  font-size: clamp(12px, 3vw, 16px);
  opacity: 0.7;
}

.racing-canvas ~ .pop-up {
  --pixel-c1: #000;
  --pixel-c2: #d41c9b;
  --pixel-bg: #fff;
}

.racing-landscape-prompt {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  color: #fff;
  z-index: 300;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-family: monospace;
  font-size: clamp(16px, 4vw, 24px);
  text-align: center;
  padding: 40px;
}
@media (orientation: portrait) and (max-width: 768px) {
  .racing-landscape-prompt {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}

.site-splash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 200;
  background: var(--background);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-transition: opacity 0.6s ease, visibility 0.6s ease;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  pointer-events: none !important;
}
.site-splash.done {
  opacity: 0;
  pointer-events: none !important;
  visibility: hidden;
  -webkit-transition: none;
  transition: none;
  background: transparent;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  padding: calc(15px + env(safe-area-inset-top)) 15px 15px calc(15px + env(safe-area-inset-left));
}
@media (min-width: 640px) {
  .site-splash.done {
    padding: calc(20px + env(safe-area-inset-top)) 20px 20px calc(20px + env(safe-area-inset-left));
  }
}
.site-splash.done .site-logo {
  max-width: none;
}
.site-splash.done .site-logo .letter {
  font-size: 36px;
}
@media (min-width: 640px) {
  .site-splash.done .site-logo .letter {
    font-size: 46px;
  }
}
.site-splash.done .site-logo .os {
  font-size: 16px;
}
@media (min-width: 640px) {
  .site-splash.done .site-logo .os {
    font-size: 20px;
  }
}
.site-splash .site-logo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  opacity: 1;
  visibility: visible;
  position: static;
  text-decoration: none;
  max-width: 90vw;
  pointer-events: auto;
}
.site-splash .site-logo h1 {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  margin: 0;
  font-size: 0;
  line-height: 1;
}
.site-splash .site-logo .letter {
  font-size: min(17vw, 200px);
}
.site-splash .site-logo .os {
  font-size: min(7vw, 80px);
  top: 0;
}

.site-logo {
  text-decoration: none;
  line-height: 1;
  opacity: 0;
  visibility: hidden;
}
.site-logo h1 {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  margin: 0;
  font-size: 0;
  line-height: 1;
}
.site-logo .letter {
  -webkit-transform-origin: center center;
      -ms-transform-origin: center center;
          transform-origin: center center;
  position: relative;
  text-align: center;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.25);
  font-family: "IBM Plex Mono", var(--font-family-mono);
  font-size: 36px;
  font-weight: 700;
  line-height: normal;
  display: inline-block;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-filter: brightness(1.5) saturate(2.5);
          filter: brightness(1.5) saturate(2.5);
  -webkit-transition: opacity 0.2s, -webkit-transform 0.4s;
  transition: opacity 0.2s, -webkit-transform 0.4s;
  transition: transform 0.4s, opacity 0.2s;
  transition: transform 0.4s, opacity 0.2s, -webkit-transform 0.4s;
}
@media (min-width: 640px) {
  .site-logo .letter {
    font-size: 46px;
  }
}
.site-logo .letter.start {
  opacity: 0;
  -webkit-transform: rotate(0deg) translateY(50%);
      -ms-transform: rotate(0deg) translateY(50%);
          transform: rotate(0deg) translateY(50%);
}
.site-logo .g {
  background-color: #5D904D;
  -webkit-transform: rotate(-3.724deg);
      -ms-transform: rotate(-3.724deg);
          transform: rotate(-3.724deg);
}
.site-logo .r {
  background-color: #EA5F80;
  -webkit-transform: rotate(8.72deg);
      -ms-transform: rotate(8.72deg);
          transform: rotate(8.72deg);
}
.site-logo .e {
  background-color: #D86925;
  -webkit-transform: rotate(-0.3deg);
      -ms-transform: rotate(-0.3deg);
          transform: rotate(-0.3deg);
}
.site-logo .g2 {
  background-color: #F6F052;
  -webkit-transform: rotate(-4.45deg);
      -ms-transform: rotate(-4.45deg);
          transform: rotate(-4.45deg);
}
.site-logo .os {
  font-family: "IBM Plex Mono", var(--font-family-mono);
  font-size: 16px;
  color: #fff;
  position: relative;
  top: 0;
  display: inline-block;
  vertical-align: top;
  font-weight: 300;
  -webkit-transition: opacity 0.2s 0.4s, -webkit-transform 0.4s 0.4s;
  transition: opacity 0.2s 0.4s, -webkit-transform 0.4s 0.4s;
  transition: transform 0.4s 0.4s, opacity 0.2s 0.4s;
  transition: transform 0.4s 0.4s, opacity 0.2s 0.4s, -webkit-transform 0.4s 0.4s;
}
@media (min-width: 640px) {
  .site-logo .os {
    font-size: 20px;
  }
}
.site-logo .os.start {
  opacity: 0;
  -webkit-transform: rotate(0deg) translateY(50%);
      -ms-transform: rotate(0deg) translateY(50%);
          transform: rotate(0deg) translateY(50%);
}

.menu-open .site-splash {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  -webkit-transition: none;
  transition: none;
  background: transparent;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  z-index: 101;
  padding: calc(15px + env(safe-area-inset-top)) 15px 15px calc(15px + env(safe-area-inset-left));
}
@media (min-width: 640px) {
  .menu-open .site-splash {
    padding: calc(20px + env(safe-area-inset-top)) 20px 20px calc(20px + env(safe-area-inset-left));
  }
}
.menu-open .site-splash .site-logo {
  opacity: 1;
  visibility: visible;
  max-width: none;
}
.menu-open .site-splash .site-logo .letter {
  font-size: 36px;
}
@media (min-width: 640px) {
  .menu-open .site-splash .site-logo .letter {
    font-size: 46px;
  }
}
.menu-open .site-splash .site-logo .os {
  font-size: 16px;
}
@media (min-width: 640px) {
  .menu-open .site-splash .site-logo .os {
    font-size: 20px;
  }
}

.site-time {
  position: fixed;
  top: calc(60px + env(safe-area-inset-top));
  left: calc(15px + env(safe-area-inset-left));
  z-index: 101;
  font-family: var(--font-family-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.3s ease, visibility 0.3s ease;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
@media (min-width: 640px) {
  .site-time {
    top: calc(76px + env(safe-area-inset-top));
    left: calc(20px + env(safe-area-inset-left));
    font-size: 11px;
  }
}

.menu-open .site-time {
  opacity: 1;
  visibility: visible;
}

.menu-button {
  position: fixed;
  top: calc(15px + env(safe-area-inset-top));
  right: calc(15px + env(safe-area-inset-right));
  z-index: 201;
  display: block;
}
@media (min-width: 640px) {
  .menu-button {
    top: calc(20px + env(safe-area-inset-top));
    right: calc(20px + env(safe-area-inset-right));
  }
}
.menu-button button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e4002b;
  border: none;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-shadow: 0 0 15px rgba(228, 0, 43, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
          box-shadow: 0 0 15px rgba(228, 0, 43, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
  -webkit-transition: -webkit-box-shadow 0.3s ease, -webkit-transform 0.3s ease;
  transition: -webkit-box-shadow 0.3s ease, -webkit-transform 0.3s ease;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  transition: box-shadow 0.3s ease, transform 0.3s ease, -webkit-box-shadow 0.3s ease, -webkit-transform 0.3s ease;
}
@media (min-width: 640px) {
  .menu-button button {
    width: 54px;
    height: 54px;
  }
}
@media (hover: hover) and (pointer: fine) {
  .menu-button button:hover {
    -webkit-box-shadow: 0 0 25px rgba(228, 0, 43, 0.6), 0 2px 12px rgba(0, 0, 0, 0.4);
            box-shadow: 0 0 25px rgba(228, 0, 43, 0.6), 0 2px 12px rgba(0, 0, 0, 0.4);
    -webkit-transform: scale(1.05);
        -ms-transform: scale(1.05);
            transform: scale(1.05);
  }
}
.menu-button button svg {
  width: 20px;
  height: 20px;
  fill: #fff;
  -webkit-transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
  transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transition: transform 0.3s ease, opacity 0.3s ease, -webkit-transform 0.3s ease;
}
.menu-button button .icon-hamburger {
  display: block;
}
.menu-button button .icon-close {
  display: none;
}

.menu-open .menu-button button,
.app-active .menu-button button {
  -webkit-box-shadow: 0 0 20px rgba(228, 0, 43, 0.5);
          box-shadow: 0 0 20px rgba(228, 0, 43, 0.5);
}
.menu-open .menu-button button .icon-hamburger,
.app-active .menu-button button .icon-hamburger {
  display: none;
}
.menu-open .menu-button button .icon-close,
.app-active .menu-button button .icon-close {
  display: block;
  -webkit-transform: rotate(90deg) translateX(-2px);
      -ms-transform: rotate(90deg) translateX(-2px);
          transform: rotate(90deg) translateX(-2px);
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  background: var(--background-contrast);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.3s ease, visibility 0.3s ease;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}
.menu-overlay.active .menu-panel {
  opacity: 1;
  -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
          transform: translateY(0);
}
.menu-overlay.active .menu-panel__row {
  opacity: 1;
  -webkit-transform: translateX(0);
      -ms-transform: translateX(0);
          transform: translateX(0);
}

.menu-panel {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  width: 100%;
  height: 100%;
  opacity: 0;
  -webkit-transform: translateY(8px);
      -ms-transform: translateY(8px);
          transform: translateY(8px);
  -webkit-transition: opacity 0.3s ease 0.05s, -webkit-transform 0.3s ease 0.05s;
  transition: opacity 0.3s ease 0.05s, -webkit-transform 0.3s ease 0.05s;
  transition: opacity 0.3s ease 0.05s, transform 0.3s ease 0.05s;
  transition: opacity 0.3s ease 0.05s, transform 0.3s ease 0.05s, -webkit-transform 0.3s ease 0.05s;
  position: relative;
  overflow: hidden;
}

.menu-panel__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  padding: calc(80px + env(safe-area-inset-top)) 20px 20px;
  width: 100%;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  height: 100%;
  overflow-y: auto;
}
@media (min-width: 640px) {
  .menu-panel__list {
    padding: calc(96px + env(safe-area-inset-top)) 0 20px;
    width: 260px;
  }
}
@media (min-width: 768px) {
  .menu-panel__list {
    width: 300px;
  }
}
@media (min-width: 1024px) {
  .menu-panel__list {
    width: 340px;
  }
}

.menu-panel__content {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  overflow-y: auto;
  display: none;
  position: relative;
}
@media (max-width: 639px) {
  .menu-panel__content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-top: calc(80px + env(safe-area-inset-top));
    background: var(--background-contrast);
    -webkit-transform: translateX(100%);
        -ms-transform: translateX(100%);
            transform: translateX(100%);
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: -webkit-transform 0.3s ease;
    transition: transform 0.3s ease;
    transition: transform 0.3s ease, -webkit-transform 0.3s ease;
    z-index: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    visibility: hidden;
  }
}
@media (min-width: 640px) {
  .menu-panel__content {
    display: block;
    opacity: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
  }
}
@media (max-width: 639px) {
  .has-content .menu-panel__content {
    visibility: visible;
    -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
            transform: translateX(0);
  }
}
@media (min-width: 640px) {
  .has-content .menu-panel__content {
    opacity: 1;
  }
}
.menu-panel__content::-webkit-scrollbar {
  width: 6px;
}
.menu-panel__content::-webkit-scrollbar-track {
  background: transparent;
}
.menu-panel__content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}
.menu-panel__content::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

.menu-panel__content-inner {
  padding: 16px 16px 24px;
  color: #fff;
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
}
@media (max-width: 639px) {
  .menu-panel__content-inner {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    overflow-y: auto;
  }
}
.menu-panel__content-inner.loading {
  opacity: 0.3;
}
@media (min-width: 640px) {
  .menu-panel__content-inner {
    padding: 20px 30px 24px;
  }
}
@media (min-width: 768px) {
  .menu-panel__content-inner {
    padding: 24px 40px 30px;
  }
}
.menu-panel__content-inner .app-entry.page {
  min-height: 0;
  padding: 0;
}
.menu-panel__content-inner .app-entry.page article {
  background: transparent;
  color: #fff;
  min-height: 0;
  border-radius: 0;
  gap: 20px;
  padding-bottom: 20px;
}
.menu-panel__content-inner .app-entry.page article a {
  color: #f5c518;
  text-decoration-color: rgba(245, 197, 24, 0.4);
}
.menu-panel__content-inner .app-entry.page article a:hover {
  opacity: 0.8;
}
.menu-panel__content-inner .app-entry.page .page-header {
  padding: 0 0 4px;
  text-align: left;
}
@media (min-width: 640px) {
  .menu-panel__content-inner .app-entry.page .page-header {
    padding: 0 0 4px;
  }
}
.menu-panel__content-inner .app-entry.page .page-header h1 {
  font-size: 20px;
  color: #fff;
  margin: 0;
  visibility: hidden;
  opacity: 0;
}
@media (min-width: 640px) {
  .menu-panel__content-inner .app-entry.page .page-header h1 {
    font-size: 24px;
  }
}
@media (min-width: 768px) {
  .menu-panel__content-inner .app-entry.page .page-header h1 {
    font-size: 28px;
  }
}
.menu-panel__content-inner .app-entry.page .page-header .subtitle {
  color: var(--text-muted);
  margin: 0.3rem 0 0;
  max-width: none;
  font-size: 14px;
}
.menu-panel__content-inner .app-entry.page .page-header img {
  max-width: 160px;
  margin-bottom: 12px;
}
.menu-panel__content-inner .app-entry.page section {
  padding: 0;
  width: auto;
}
.menu-panel__content-inner .app-entry.page section h2 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 0.8rem;
}
@media (min-width: 640px) {
  .menu-panel__content-inner .app-entry.page section h2 {
    font-size: 22px;
  }
}
.menu-panel__content-inner .app-entry.page section p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 65ch;
  margin-left: 0;
  margin-right: 0;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0.8em;
}
@media (min-width: 640px) {
  .menu-panel__content-inner .app-entry.page section p {
    font-size: 15px;
  }
}
.menu-panel__content-inner .app-entry.page section .article-row {
  padding: 0;
  max-width: none;
  gap: 16px;
}
@media (min-width: 640px) {
  .menu-panel__content-inner .app-entry.page section .article-row {
    gap: 30px;
  }
}
.menu-panel__content-inner .app-entry.page section .article-row .col {
  max-width: none;
  gap: 12px;
}
.menu-panel__content-inner .app-entry.page section .article-row .col p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 65ch;
  margin-left: 0;
  margin-right: 0;
}
.menu-panel__content-inner .app-entry.page section .section-title {
  color: var(--text-muted);
  font-size: 11px;
  margin-bottom: 0.6rem;
}
.menu-panel__content-inner .app-entry.page section .button {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 10px 20px;
  font-size: 13px;
}
.menu-panel__content-inner .app-entry.page section .button:hover {
  background: rgba(255, 255, 255, 0.2);
}
.menu-panel__content-inner > *:not(.app-entry) h1, .menu-panel__content-inner > *:not(.app-entry) h2, .menu-panel__content-inner > *:not(.app-entry) h3 {
  color: #fff;
  margin-top: 0;
}
.menu-panel__content-inner > *:not(.app-entry) p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}
.menu-panel__content-inner > *:not(.app-entry) a {
  color: #f5c518;
}
.menu-panel__content-inner img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.menu-panel__back {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 48px;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--background-contrast);
  color: #fff;
  cursor: pointer;
  -webkit-transition: background 0.15s ease;
  transition: background 0.15s ease;
  padding: 0 16px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
@media (min-width: 640px) {
  .menu-panel__back {
    display: none;
  }
}
.menu-panel__back svg {
  width: 18px;
  height: 18px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  opacity: 0.6;
}
@media (hover: hover) and (pointer: fine) {
  .menu-panel__back:hover {
    background: rgba(255, 255, 255, 0.06);
  }
}
.menu-panel__back:active {
  background: rgba(255, 255, 255, 0.1);
}

.menu-panel__back-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.8;
}

.menu-panel__row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 18px;
  padding: 16px 20px;
  text-decoration: none;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  opacity: 0;
  -webkit-transform: translateX(-12px);
      -ms-transform: translateX(-12px);
          transform: translateX(-12px);
  -webkit-transition: opacity 0.3s ease, background 0.15s ease, -webkit-transform 0.3s ease;
  transition: opacity 0.3s ease, background 0.15s ease, -webkit-transform 0.3s ease;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.15s ease;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.15s ease, -webkit-transform 0.3s ease;
}
@media (min-width: 640px) {
  .menu-panel__row {
    padding: 20px 24px;
    gap: 22px;
  }
}
.menu-panel__row:nth-child(1) {
  -webkit-transition-delay: 0.16s;
          transition-delay: 0.16s;
}
.menu-panel__row:nth-child(2) {
  -webkit-transition-delay: 0.22s;
          transition-delay: 0.22s;
}
.menu-panel__row:nth-child(3) {
  -webkit-transition-delay: 0.28s;
          transition-delay: 0.28s;
}
.menu-panel__row:nth-child(4) {
  -webkit-transition-delay: 0.34s;
          transition-delay: 0.34s;
}
.menu-panel__row:nth-child(5) {
  -webkit-transition-delay: 0.4s;
          transition-delay: 0.4s;
}
.menu-panel__row:nth-child(6) {
  -webkit-transition-delay: 0.46s;
          transition-delay: 0.46s;
}
.menu-panel__row:nth-child(7) {
  -webkit-transition-delay: 0.52s;
          transition-delay: 0.52s;
}
.menu-panel__row:nth-child(8) {
  -webkit-transition-delay: 0.58s;
          transition-delay: 0.58s;
}
.menu-panel__row:last-child {
  border-bottom: none;
}
.menu-panel__row.selected {
  background: rgba(255, 255, 255, 0.1);
  -webkit-box-shadow: inset 3px 0 0 #f5c518;
          box-shadow: inset 3px 0 0 #f5c518;
}
.menu-panel__row.selected .menu-panel__label {
  color: #f5c518;
}
@media (hover: hover) and (pointer: fine) {
  .menu-panel__row:hover {
    background: rgba(255, 255, 255, 0.06);
  }
}
.menu-panel__row:active {
  background: rgba(255, 255, 255, 0.12);
}

.menu-panel__num {
  font-family: var(--font-family-mono);
  font-size: 20px;
  font-weight: 700;
  color: #f5c518;
  min-width: 24px;
  text-align: center;
}
@media (min-width: 640px) {
  .menu-panel__num {
    font-size: 24px;
    min-width: 30px;
  }
}

.menu-page #main-content {
  visibility: hidden;
}
.menu-page footer {
  display: none;
}
.menu-page .site-splash {
  background: transparent;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  z-index: 101;
  padding: calc(15px + env(safe-area-inset-top)) 15px 15px calc(15px + env(safe-area-inset-left));
}
@media (min-width: 640px) {
  .menu-page .site-splash {
    padding: calc(20px + env(safe-area-inset-top)) 20px 20px calc(20px + env(safe-area-inset-left));
  }
}
.menu-page .site-splash .site-logo {
  opacity: 1;
  visibility: visible;
  max-width: none;
}
.menu-page .site-splash .site-logo .letter {
  font-size: 36px;
}
@media (min-width: 640px) {
  .menu-page .site-splash .site-logo .letter {
    font-size: 46px;
  }
}
.menu-page .site-splash .site-logo .os {
  font-size: 16px;
}
@media (min-width: 640px) {
  .menu-page .site-splash .site-logo .os {
    font-size: 20px;
  }
}
.menu-page .site-time {
  opacity: 1;
  visibility: visible;
}
.menu-page .menu-overlay {
  opacity: 1;
  visibility: visible;
  -webkit-transition: none;
  transition: none;
}
.menu-page .menu-overlay .menu-panel {
  opacity: 1;
  -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
          transform: translateY(0);
  -webkit-transition: none;
  transition: none;
}
.menu-page .menu-overlay .menu-panel__row {
  opacity: 1;
  -webkit-transform: translateX(0);
      -ms-transform: translateX(0);
          transform: translateX(0);
  -webkit-transition: none;
  transition: none;
}

.menu-panel__label {
  font-size: 18px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
}
@media (min-width: 640px) {
  .menu-panel__label {
    font-size: 22px;
  }
}

.announcements-bar {
  overflow: hidden;
  background: var(--background-contrast);
  white-space: nowrap;
  position: relative;
  z-index: 10;
}

.announcements-track {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  will-change: transform;
}
.announcements-track a {
  display: inline-block;
  padding: var(--space-xs) 0;
  color: var(--text);
  text-decoration: none;
  font-size: var(--text-base);
  white-space: nowrap;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
.announcements-track a:hover {
  text-decoration: underline;
}
.announcements-track .dot {
  display: inline-block;
  padding: 0 var(--space-md);
  color: var(--text-muted);
  font-size: var(--text-base);
  -ms-flex-negative: 0;
      flex-shrink: 0;
  pointer-events: none;
}