@font-face {
  font-family: "Frame 1 Pixel";
  src: url("font/frame1.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Frame 2 Pixel";
  src: url("font/frame2.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "SC Title";
  src: url("prototype/SC_FONT.ttf") format("truetype");
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: #000;
  color: #ffff00;
  min-width: 0;
  overflow: hidden;
  overflow-x: hidden;
}

button {
  font: inherit;
}

.channel {
  --page-image: url("prototype/ani.gif");
  --fade-duration: 220ms;
  --content-width: min(96vw, 1760px);
  --profile-grid-size: 16px;
  --profile-grid-opacity: 1;

  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  overflow-x: hidden;
  display: grid;
  justify-items: center;
  grid-template-rows: auto 1fr;
  gap: clamp(18px, 3.8vh, 46px);
  padding: clamp(6px, 1.2vw, 18px);
  background-image: var(--page-image);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  image-rendering: pixelated;
  transition: opacity var(--fade-duration) ease-in-out;
}

.channel.is-changing {
  opacity: 0;
}

.channel.is-loading {
  opacity: 0;
  transition: none;
}

.channel[data-page="home"] {
  --page-image: url("prototype/ani.gif");
}

.channel[data-page="profile"] {
  --page-image: var(--profile-custom-image, url("prototype/ani3.gif"));
  padding: 0;
  gap: 0;
}

.channel[data-page="competitions"] {
  --page-image: url("prototype/077.gif");
}

.channel[data-page="arcade"] {
  --page-image: url("prototype/070.gif");
}

.channel[data-page="settings"] {
  --page-image: url("prototype/012.gif");
}

.channel[data-page="tutorials"],
.channel[data-page="forum"] {
  --page-image: url("prototype/069.gif");
}

.channel[data-page="soundtest"] {
  --page-image: url("prototype/sndtest.bmp");
}

.masthead {
  justify-self: center;
  display: grid;
  width: var(--content-width);
  margin-inline: auto;
  gap: clamp(8px, 1.5vw, 16px);
  justify-items: center;
}

h1 {
  position: relative;
  justify-self: center;
  width: min(100%, 1360px);
  aspect-ratio: 544 / 64;
  display: grid;
  place-items: center;
  margin: 0 auto;
  padding: 0 2.5% 24px;
  border: 0;
  background-image:
    url("export-borders/assets/banner_0.png"),
    linear-gradient(#050505, #050505);
  background-position: center, center;
  background-repeat: no-repeat;
  background-size: 100% 100%, calc(100% - 128px) calc(100% - 56px);
  color: #ff0000;
  font-family: "SC Title", "Arial Black", sans-serif;
  font-weight: 400;
  font-size: min(12vw, 12rem);
  line-height: 0.76;
  text-align: center;
  text-transform: uppercase;
  overflow: hidden;
  white-space: nowrap;
  image-rendering: pixelated;
  user-select: none;
  animation: animated-banner-border 650ms steps(1, end) infinite;
}

.channel[data-page="home"] h1 {
  width: min(100%, 1040px);
  aspect-ratio: 416 / 64;
  background-image:
    url("banner_0_sm.png?v=transparent-1"),
    linear-gradient(#050505, #050505);
  animation-name: animated-small-banner-border;
}

.navbar {
  justify-self: center;
  width: min(100%, 1360px);
  max-width: var(--content-width);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  justify-content: center;
  gap: clamp(4px, 0.65vw, 12px);
}

@media (min-width: 1100px) {
  .navbar {
    width: max-content;
    grid-template-columns: repeat(8, clamp(9.7rem, 11.4vw, 14.2rem));
    gap: 10px;
  }
}

.nav-button {
  position: relative;
  --pixel-flicker-color: #f8fc68;
  --button-fill-top: 8%;
  --button-fill-right: 1%;
  --button-fill-bottom: 8%;
  --button-fill-left: 1%;
  --button-hover-fill-top: var(--button-fill-top);
  --button-hover-fill-right: var(--button-fill-right);
  --button-hover-fill-bottom: var(--button-fill-bottom);
  --button-hover-fill-left: var(--button-fill-left);
  width: 100%;
  min-width: 0;
  aspect-ratio: 266 / 62;
  display: grid;
  grid-template: "label" 1fr / 1fr;
  place-items: center;
  padding: 0 0.05em;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--pixel-flicker-color);
  cursor: pointer;
  font-family: "Frame 1 Pixel", monospace;
  font-weight: 400;
  font-size: min(1.08vw, 1.55rem);
  line-height: 1.1;
  overflow: hidden;
  text-align: center;
  text-transform: uppercase;
  text-rendering: geometricPrecision;
  white-space: nowrap;
  image-rendering: pixelated;
  user-select: none;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: none;
}

.nav-button::before {
  content: "";
  position: absolute;
  inset: var(--button-fill-top) var(--button-fill-right) var(--button-fill-bottom) var(--button-fill-left);
  z-index: 0;
  background: #050505;
  pointer-events: none;
}

.nav-button::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: url("export-borders/assets/border.png") center / 100% 100% no-repeat;
  image-rendering: pixelated;
  pointer-events: none;
}

.nav-label {
  position: relative;
  z-index: 3;
  grid-area: label;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  transform: translateY(0.22em);
}

.pixel-flicker {
  --pixel-flicker-duration: 650ms;
  position: relative;
  color: transparent;
}

.pixel-flicker::before,
.pixel-flicker::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  display: block;
  text-align: inherit;
  color: var(--pixel-flicker-color, #f8fc68);
  pointer-events: none;
}

.nav-label.pixel-flicker::before,
.nav-label.pixel-flicker::after {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pixel-flicker::before {
  font-family: "Frame 1 Pixel", monospace;
  animation: pixel-flicker-frame-one var(--pixel-flicker-duration) steps(1, end) infinite;
}

.pixel-flicker::after {
  font-family: "Frame 2 Pixel", monospace;
  opacity: 0;
  animation: pixel-flicker-frame-two var(--pixel-flicker-duration) steps(1, end) infinite;
}

.nav-button:hover {
  --pixel-flicker-color: #000;
}

.nav-button:hover::before {
  inset: var(--button-hover-fill-top) var(--button-hover-fill-right) var(--button-hover-fill-bottom) var(--button-hover-fill-left);
  background: #f8fc68;
}

.nav-button:focus-visible {
  outline: none;
}

.content {
  width: var(--content-width);
  min-height: 0;
  display: grid;
  place-items: center;
  align-content: center;
}

.channel[data-page="profile"] .content {
  width: 100%;
  height: 100%;
  align-self: stretch;
  place-items: stretch;
  align-content: stretch;
}

.channel[data-page="profile"] .masthead {
  position: relative;
  z-index: 10;
  padding-top: clamp(6px, 1.2vw, 18px);
}

.home-card {
  position: relative;
  --card-border-width: 10px;
  --card-fill-top: 2%;
  --card-fill-right: 0%;
  --card-fill-bottom: 2%;
  --card-fill-left: 0%;
  --card-width: min(960px, 86vw);
  --card-height: clamp(150px, 20vw, 240px);
  --card-padding-block: clamp(18px, 2.4vw, 36px);
  --card-padding-inline: clamp(36px, 5.5vw, 76px);
  --card-font-size: clamp(0.95rem, 1.7vw, 1.85rem);
  width: var(--card-width);
  min-height: var(--card-height);
  display: grid;
  place-items: center;
  margin: 0;
  padding: var(--card-padding-block) var(--card-padding-inline);
  background: transparent;
  color: #f8fc68;
  font-family: "Frame 1 Pixel", monospace;
  font-size: var(--card-font-size);
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
  image-rendering: pixelated;
}

.home-card::before {
  content: "";
  position: absolute;
  inset: var(--card-fill-top) var(--card-fill-right) var(--card-fill-bottom) var(--card-fill-left);
  z-index: 0;
  background: #050505;
  pointer-events: none;
}

.home-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border: var(--card-border-width) solid transparent;
  border-image-source: url("export-borders/assets/border.png");
  border-image-slice: 6;
  border-image-repeat: stretch;
  box-sizing: border-box;
  image-rendering: pixelated;
  pointer-events: none;
}

.home-card > * {
  position: relative;
  z-index: 3;
  margin: 0;
}

.home-card[hidden] {
  display: none;
}

.page-panel {
  position: relative;
  width: min(1380px, 94vw);
  height: min(66vh, 720px);
  display: grid;
  gap: clamp(16px, 2vw, 28px);
  padding: clamp(16px, 1.6vw, 24px);
  overflow: hidden;
  image-rendering: pixelated;
}

.page-panel[hidden] {
  display: none;
}

.profile-panel {
  color: #f8fc68;
  font-family: "Frame 1 Pixel", monospace;
  padding: 0;
  width: 100vw;
  max-width: 100vw;
  height: 100%;
  min-height: 0;
  justify-self: stretch;
  align-self: stretch;
  place-self: stretch;
}

.profile-canvas {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  isolation: isolate;
  user-select: none;
}

.profile-hitbox {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(7, 96, 118, calc(0.5 * var(--profile-grid-opacity))) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 96, 118, calc(0.5 * var(--profile-grid-opacity))) 1px, transparent 1px);
  background-size: var(--profile-grid-size) var(--profile-grid-size);
  background-position: 0 0;
}

.profile-layout {
  position: relative;
  z-index: 1;
  width: min(1380px, 94vw);
  margin: 0 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.9fr);
  gap: 16px;
}

.profile-main {
  min-height: 0;
  display: grid;
  gap: 14px;
}

.profile-hero {
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(0, 1.5fr) minmax(220px, 0.9fr);
  gap: clamp(12px, 1.5vw, 18px);
  align-items: stretch;
}

.avatar-card,
.profile-copy,
.profile-stats,
.showcase-card,
.track-row,
.info-panel-copy {
  position: relative;
  background:
    linear-gradient(180deg, rgba(5, 12, 28, 0.95), rgba(0, 0, 0, 0.92));
  border: 4px solid #1dd5ff;
  box-shadow:
    inset 0 0 0 4px rgba(0, 0, 0, 0.75),
    0 0 0 4px rgba(14, 44, 98, 0.75);
}

.avatar-card {
  min-height: 176px;
  display: grid;
  place-items: center;
  padding: 12px;
  background:
    radial-gradient(circle at 30% 25%, rgba(248, 252, 104, 0.28), transparent 36%),
    linear-gradient(180deg, #1c345b, #08111f 72%);
}

.avatar-badge {
  width: min(100%, 148px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 4px solid #f8fc68;
  border-radius: 50%;
  color: #f8fc68;
  background: rgba(5, 5, 5, 0.78);
  font-family: "SC Title", "Arial Black", sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.3rem);
  line-height: 1;
}

.profile-copy {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: clamp(14px, 1.4vw, 20px);
}

.profile-copy h2,
.section-heading h3,
.info-panel-copy h2 {
  margin: 0;
  color: #ff5d5d;
  font-family: "SC Title", "Arial Black", sans-serif;
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  font-weight: 400;
  line-height: 0.88;
  text-transform: uppercase;
}

.profile-kicker,
.profile-handle,
.profile-bio,
.section-heading p,
.showcase-card p,
.info-panel-copy p,
.profile-stat-label,
.track-plays,
.track-duration {
  margin: 0;
  line-height: 1.4;
}

.profile-kicker,
.info-panel-kicker {
  color: #1dd5ff;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.profile-handle {
  color: #1dd5ff;
  font-size: 0.92rem;
}

.profile-bio,
.section-heading p,
.showcase-card p,
.info-panel-copy p {
  color: #d8ebff;
  font-size: 0.82rem;
  text-transform: none;
}

.profile-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 0;
  padding: 12px;
  list-style: none;
}

.profile-stat {
  display: grid;
  gap: 4px;
  padding: 8px 10px;
  background: rgba(248, 252, 104, 0.08);
  border: 2px solid rgba(248, 252, 104, 0.35);
}

.profile-stat-value {
  color: #f8fc68;
  font-size: clamp(1.05rem, 1.5vw, 1.4rem);
}

.profile-stat-label {
  color: #d8ebff;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.profile-section {
  display: grid;
  gap: 10px;
  min-height: 0;
}

.section-heading {
  display: grid;
  gap: 6px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.showcase-card {
  display: grid;
  gap: 8px;
  min-height: 138px;
  padding: 14px;
}

.showcase-index,
.showcase-badge {
  width: max-content;
  padding: 4px 8px;
  color: #000;
  background: #f8fc68;
}

.showcase-badge {
  background: #1dd5ff;
}

.showcase-card h3 {
  margin: auto 0 0;
  color: #f8fc68;
  font-size: 1rem;
  line-height: 1.25;
  text-transform: uppercase;
}

.track-panel {
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  align-content: start;
  padding-bottom: 32px;
}

.track-list {
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 10px;
  margin: 0;
  padding: 0;
  max-height: 100%;
  list-style: none;
  overflow: auto;
}

.track-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 160px 84px;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
}

.track-order,
.track-duration {
  color: #1dd5ff;
}

.track-name {
  color: #f8fc68;
  text-transform: uppercase;
}

.track-plays {
  color: #d8ebff;
  text-align: right;
}

.info-panel {
  place-items: center;
  background:
    linear-gradient(180deg, rgba(10, 14, 30, 0.96), rgba(2, 4, 12, 0.96));
  border: 6px solid transparent;
  border-image-source: url("export-borders/assets/border.png");
  border-image-slice: 6;
  border-image-repeat: stretch;
  box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.45);
}

.info-panel-copy {
  width: min(760px, 100%);
  display: grid;
  gap: 12px;
  padding: clamp(22px, 2.6vw, 34px);
  text-align: center;
}

.settings-panel {
  width: min(920px, 94vw);
}

.settings-copy {
  width: min(920px, 100%);
  text-align: left;
}

.settings-grid {
  display: grid;
  gap: 16px;
}

.settings-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 4px solid #1dd5ff;
  background: linear-gradient(180deg, rgba(5, 12, 28, 0.95), rgba(0, 0, 0, 0.92));
  box-shadow:
    inset 0 0 0 4px rgba(0, 0, 0, 0.75),
    0 0 0 4px rgba(14, 44, 98, 0.75);
}

.settings-label {
  color: #f8fc68;
  font-size: 0.92rem;
  text-transform: uppercase;
}

.settings-help {
  color: #d8ebff;
  font-size: 0.78rem;
  line-height: 1.4;
}

.settings-control-row,
.settings-toggle-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.settings-range {
  flex: 1;
  accent-color: #1dd5ff;
}

.settings-output,
.settings-toggle-text {
  min-width: 84px;
  color: #1dd5ff;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.settings-checkbox {
  width: 18px;
  height: 18px;
  accent-color: #f8fc68;
}

.sound-test {
  width: min(640px, 88vw);
  max-height: 52vh;
  object-fit: contain;
  image-rendering: pixelated;
}

.profile-floating-layer {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.profile-edit-hint {
  position: absolute;
  right: 12px;
  bottom: 8px;
  z-index: 2;
  margin: 0;
  color: #1dd5ff;
  font-size: 0.68rem;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 #000;
  pointer-events: none;
}

.floating-item {
  position: absolute;
  display: grid;
  align-content: stretch;
  gap: 6px;
  padding: 24px 10px 10px;
  pointer-events: auto;
  cursor: grab;
  touch-action: none;
  background: linear-gradient(180deg, rgba(8, 18, 42, 0.95), rgba(0, 0, 0, 0.92));
  border: 3px solid #f8fc68;
  box-shadow:
    inset 0 0 0 3px rgba(0, 0, 0, 0.8),
    0 0 0 3px rgba(29, 213, 255, 0.45);
  overflow: hidden;
}

.floating-item.is-selected {
  border-color: #1dd5ff;
  box-shadow:
    inset 0 0 0 3px rgba(0, 0, 0, 0.8),
    0 0 0 3px rgba(248, 252, 104, 0.55);
}

.floating-item:active {
  cursor: grabbing;
}

.floating-item-body {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
}

.profile-widget-card {
  width: 100%;
  height: 100%;
}

.profile-widget-fill {
  width: 100%;
  height: 100%;
}

.floating-item .profile-copy,
.floating-item .profile-stats,
.floating-item .profile-section,
.floating-item .avatar-card {
  min-height: 0;
}

.floating-item .profile-stats,
.floating-item .profile-section.track-panel {
  overflow: hidden;
}

.floating-item .showcase-grid {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.floating-item .track-panel {
  padding-bottom: 0;
}

.floating-item .track-list {
  max-height: none;
}

.floating-item-chrome {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 18px;
  padding: 2px 6px;
  color: #000;
  background: #f8fc68;
  font-size: 0.58rem;
  line-height: 1;
}

.floating-item-label {
  display: inline-flex;
  align-items: center;
}

.floating-text,
.floating-button {
  width: 100%;
  height: 100%;
  min-width: 0;
  border: 0;
  color: #f8fc68;
  background: rgba(0, 0, 0, 0.25);
  font-family: "Frame 1 Pixel", monospace;
  font-size: 0.82rem;
  line-height: 1.35;
  text-transform: uppercase;
}

.floating-text {
  display: grid;
  align-items: center;
  padding: 8px;
}

.floating-button {
  border: 3px solid #1dd5ff;
  background: linear-gradient(180deg, #183e72, #08101d);
  cursor: pointer;
  pointer-events: none;
}

.floating-item-image {
  padding: 20px 6px 6px;
}

.floating-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
  pointer-events: none;
  -webkit-user-drag: none;
}

.floating-resize-handle {
  position: absolute;
  width: 14px;
  height: 14px;
  padding: 0;
  border: 2px solid #000;
  background: #1dd5ff;
  box-shadow: 0 0 0 2px #f8fc68;
  pointer-events: auto;
}

.floating-resize-handle-nw {
  top: 2px;
  left: 2px;
  cursor: nwse-resize;
}

.floating-resize-handle-ne {
  top: 2px;
  right: 2px;
  cursor: nesw-resize;
}

.floating-resize-handle-sw {
  bottom: 2px;
  left: 2px;
  cursor: nesw-resize;
}

.floating-resize-handle-se {
  right: 2px;
  bottom: 2px;
  cursor: nwse-resize;
}

.profile-context-menu {
  position: absolute;
  z-index: 8;
  min-width: 172px;
  display: grid;
  gap: 4px;
  padding: 6px;
  background: rgba(0, 0, 0, 0.96);
  border: 3px solid #1dd5ff;
  box-shadow:
    inset 0 0 0 3px rgba(0, 0, 0, 0.75),
    0 0 0 3px rgba(248, 252, 104, 0.35);
}

.context-submenu-group {
  position: relative;
}

.context-submenu {
  position: absolute;
  top: 0;
  left: calc(100% - 2px);
  min-width: 172px;
  display: none;
  gap: 4px;
  padding: 6px;
  background: rgba(0, 0, 0, 0.96);
  border: 3px solid #1dd5ff;
  box-shadow:
    inset 0 0 0 3px rgba(0, 0, 0, 0.75),
    0 0 0 3px rgba(248, 252, 104, 0.35);
}

.context-submenu-group:hover .context-submenu,
.context-submenu-group:focus-within .context-submenu {
  display: grid;
}

.context-action {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border: 2px solid #f8fc68;
  background: #08101d;
  color: #f8fc68;
  font-family: "Frame 1 Pixel", monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
}

.context-submenu-group:hover .context-action.has-submenu,
.context-submenu-group:focus-within .context-action.has-submenu {
  color: #000;
  background: #1dd5ff;
}

.context-action:hover:not(:disabled) {
  color: #000;
  background: #f8fc68;
}

.context-action:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

@media (max-width: 680px) {
  .channel {
    gap: 16px;
  }

  h1 {
    width: min(100%, 760px);
    font-size: min(13vw, 8rem);
    padding: 0 4% 14px;
  }

  h1 {
    background-size: 100% 100%, calc(100% - 48px) calc(100% - 20px);
  }

  .navbar {
    width: min(100%, 1360px);
    max-width: var(--content-width);
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: clamp(1px, 0.5vw, 5px);
  }

  .nav-button {
    padding-inline: 0.01em;
    font-size: 0.9vw;
  }
}

@media (max-width: 1080px) {
  .page-panel {
    height: min(70vh, 760px);
  }

  .profile-panel {
    height: 100%;
  }

  .profile-layout {
    grid-template-columns: 1fr;
  }

  .profile-hero {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .profile-stats {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .track-list {
    max-height: 240px;
  }
}

@media (max-width: 760px) {
  .page-panel {
    width: 100%;
    height: min(72vh, 760px);
  }

  .profile-panel {
    width: 100%;
    max-width: 100%;
    height: 100%;
  }

  .profile-edit-hint {
    left: 12px;
    right: 12px;
    bottom: 6px;
    font-size: 0.58rem;
  }

  .profile-hero {
    grid-template-columns: 1fr;
  }

  .avatar-card {
    min-height: 180px;
  }

  .profile-stats {
    grid-template-columns: 1fr;
  }

  .track-row {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .track-list {
    max-height: 220px;
  }

  .track-plays,
  .track-duration {
    text-align: left;
  }

  .floating-item {
    max-width: calc(100% - 12px);
  }

  .context-submenu {
    top: calc(100% - 2px);
    left: 0;
  }
}

@keyframes animated-banner-border {
  0%,
  49.999% {
    background-image:
      url("export-borders/assets/banner_0.png"),
      linear-gradient(#050505, #050505);
  }

  50%,
  100% {
    background-image:
      url("export-borders/assets/banner_1.png"),
      linear-gradient(#050505, #050505);
  }
}

@keyframes animated-small-banner-border {
  0%,
  49.999% {
    background-image:
      url("banner_0_sm.png?v=transparent-1"),
      linear-gradient(#050505, #050505);
  }

  50%,
  100% {
    background-image:
      url("banner_1_sm.png?v=transparent-1"),
      linear-gradient(#050505, #050505);
  }
}

@keyframes pixel-flicker-frame-one {
  0%,
  49.999% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

@keyframes pixel-flicker-frame-two {
  0%,
  49.999% {
    opacity: 0;
  }

  50%,
  100% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .channel {
    transition: none;
  }

  .pixel-flicker::before,
  .pixel-flicker::after {
    animation: none;
  }

  .pixel-flicker::before {
    opacity: 1;
  }

  .pixel-flicker::after {
    opacity: 0;
  }
}
