:root {
  --red-1: #ff3b4d;
  --red-2: #b90018;
  --red-3: #65000a;
  --aqua: #49ecff;
  --lime: #a8ff2e;
  --lavender: #b9a8ff;
  --chrome: #dce7ef;
  --cream: #fff3c7;
  --ink: #160708;
  --lcd: #9eafa5;
  --ui-shell: #29347e;
  --ui-violet: #6b54bd;
  --ui-ink: #091125;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  font-family: Verdana, Arial, sans-serif;
  color: white;
  background:
    linear-gradient(rgba(26, 18, 52, 0.04), rgba(14, 10, 38, 0.18)),
    url("https://millennium-memories.neocities.org/teen-room-2004-bg-clean.png") center center / cover fixed no-repeat;
  transition:
    background-size 260ms ease,
    background-position 260ms ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 44%, transparent 0 36%, rgba(12, 10, 38, 0.12) 72%, rgba(8, 5, 28, 0.3)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 5px);
  transition: opacity 240ms ease;
}

body.is-zoomed {
  background:
    linear-gradient(rgba(255, 224, 188, 0.06), rgba(22, 13, 36, 0.1)),
    url("https://millennium-memories.neocities.org/teen-room-2004-bg-clean.png") 50% 58% / auto 128% fixed no-repeat;
}

body.is-zoomed::before {
  opacity: 0.58;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 242, 212, 0.09) 0 34%, rgba(36, 21, 50, 0.1) 72%, rgba(28, 14, 42, 0.18)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 5px);
}

button,
input {
  font: inherit;
}

.shell {
  position: fixed;
  inset: 0;
  width: min(100%, 1040px);
  height: 100vh;
  margin: 0 auto;
  padding: 0 14px;
  text-align: center;
  overflow: hidden;
  left: 50%;
  transform: translateX(-50%);
}

.player {
  position: relative;
  width: 100%;
  height: 100%;
}

.player::before {
  content: "";
  position: fixed;
  left: max(29vw, 360px);
  top: max(56vh, 385px);
  width: min(36vw, 470px);
  height: min(26vh, 210px);
  z-index: 0;
  pointer-events: none;
  border-radius: 46% 38% 44% 42%;
  opacity: 0.16;
  background:
    repeating-linear-gradient(92deg, rgba(98, 78, 65, 0.18) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(3deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 5px),
    radial-gradient(ellipse at 45% 48%, rgba(134, 102, 72, 0.26), transparent 72%);
  filter: blur(0.35px);
  mix-blend-mode: multiply;
  transform: rotate(-5deg);
}

.player::after {
  content: "";
  position: fixed;
  left: max(31vw, 384px);
  top: max(68vh, 472px);
  width: min(24vw, 320px);
  height: min(9vh, 68px);
  z-index: 1;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0.38;
  background:
    radial-gradient(ellipse at 42% 45%, rgba(92, 30, 24, 0.34), rgba(65, 28, 28, 0.18) 48%, transparent 74%),
    radial-gradient(ellipse at 54% 58%, rgba(255, 108, 88, 0.16), transparent 66%);
  filter: blur(13px);
  mix-blend-mode: multiply;
  transform: rotate(-3deg);
}

.discman-wrap {
  position: absolute;
  z-index: 2;
  left: clamp(318px, 29vw, 382px);
  top: clamp(438px, 68vh, 506px);
  width: min(22vw, 246px);
  margin: 0;
  transform: perspective(900px) rotateX(13deg) rotateZ(1.2deg) scaleY(0.72);
  transform-origin: 50% 82%;
  filter:
    drop-shadow(-1px 1px 1px rgba(255, 255, 255, 0.08))
    drop-shadow(3px 5px 3px rgba(98, 33, 29, 0.2))
    drop-shadow(10px 13px 9px rgba(34, 20, 33, 0.4));
  transition:
    left 220ms ease,
    top 220ms ease,
    width 220ms ease,
    transform 220ms ease,
    filter 220ms ease;
}

.discman-wrap::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 4%;
  bottom: 7%;
  height: 12%;
  z-index: 1;
  pointer-events: none;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 53% 48%, rgba(21, 10, 18, 0.62), rgba(45, 20, 22, 0.34) 52%, rgba(126, 48, 38, 0.15) 66%, transparent 82%);
  filter: blur(6px);
  transform: translate(7%, 42%) scaleX(1.18);
}

.discman {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(0.92) contrast(0.91) brightness(0.96) sepia(0.04) blur(0.12px);
  user-select: none;
  -webkit-user-drag: none;
}

.discman-wrap::before {
  content: "";
  position: absolute;
  inset: 1% 2% 3%;
  z-index: 3;
  pointer-events: none;
  border-radius: 48% 48% 24% 24%;
  opacity: 0.17;
  background:
    radial-gradient(ellipse at 30% 80%, rgba(255, 196, 154, 0.18), transparent 42%),
    radial-gradient(ellipse at 75% 44%, rgba(18, 6, 18, 0.22), transparent 52%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(93deg, rgba(20, 6, 9, 0.12) 0 1px, transparent 1px 6px);
  mix-blend-mode: soft-light;
}

body.is-zoomed .discman-wrap {
  position: fixed;
  left: 50%;
  top: 45%;
  z-index: 9;
  width: min(88vw, 790px);
  transform: translate(-50%, -50%) perspective(980px) rotateX(3deg) rotateZ(0.4deg) scaleY(0.94);
  filter:
    drop-shadow(0 3px 4px rgba(255, 238, 215, 0.1))
    drop-shadow(18px 30px 24px rgba(7, 4, 18, 0.58));
}

body.is-zoomed .discman-wrap::after {
  opacity: 0.78;
  transform: translate(3%, 45%) scaleX(1.28);
}

body.is-zoomed .lcd {
  opacity: 1;
  color: #053018;
  text-shadow:
    0 1px rgba(255, 255, 255, 0.5),
    0 0 4px rgba(224, 255, 218, 0.88),
    0 0 12px rgba(124, 255, 148, 0.68);
  background:
    repeating-linear-gradient(0deg, rgba(20, 92, 38, 0.07) 0 1px, transparent 1px 3px),
    radial-gradient(circle at 52% 42%, rgba(255, 255, 220, 1), rgba(217, 255, 172, 0.95) 45%, rgba(149, 238, 134, 0.78) 76%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.44), transparent 38%, rgba(31, 92, 45, 0.04)),
    linear-gradient(#fbffd2, #dfffab 52%, #9ceb92);
  box-shadow:
    inset 0 0 4px rgba(255, 255, 235, 0.72),
    inset 0 0 9px rgba(76, 148, 60, 0.12),
    0 0 0 1px rgba(250, 255, 220, 0.8),
    0 0 20px rgba(193, 255, 139, 0.82),
    0 0 42px rgba(143, 255, 142, 0.56);
}

.lcd {
  position: absolute;
  z-index: 4;
  left: 31.25%;
  top: 79.2%;
  width: 24.3%;
  height: 6.45%;
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 0 8px 3px;
  color: #07321b;
  font-family: "Courier New", monospace;
  font-weight: 700;
  text-shadow: 0 1px rgba(255, 255, 255, 0.35);
  background:
    repeating-linear-gradient(0deg, rgba(25, 87, 39, 0.06) 0 1px, transparent 1px 3px),
    radial-gradient(circle at 54% 42%, rgba(255, 255, 218, 0.92), rgba(211, 255, 172, 0.78) 47%, rgba(145, 223, 126, 0.6) 76%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.32), transparent 36%, rgba(0, 58, 28, 0.04)),
    linear-gradient(#f6ffd3, #d3f8b0 52%, #92d58b);
  border: 1px solid rgba(225, 255, 200, 0.72);
  border-radius: 8px 14px 12px 8px;
  box-shadow:
    inset 0 0 4px rgba(255, 255, 228, 0.64),
    inset 0 0 8px rgba(18, 76, 38, 0.1),
    0 0 0 1px rgba(245, 255, 222, 0.48),
    0 0 15px rgba(189, 255, 147, 0.62),
    0 0 26px rgba(137, 255, 143, 0.28);
  opacity: 1;
  transform: rotate(0.9deg) skewX(-2deg);
  transform-origin: 50% 50%;
  clip-path: polygon(2% 7%, 98% 0, 96% 93%, 0 100%);
}

.lcd::before {
  content: "";
  position: absolute;
  inset: -2px -4px;
  z-index: -1;
  border-radius: 10px 16px 14px 10px;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.38), transparent 32%),
    linear-gradient(#e7ead9, #b8beb4 48%, #6c746b);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.42),
    inset 0 -2px rgba(55, 62, 55, 0.18),
    0 2px 3px rgba(0, 0, 0, 0.24);
  transform: rotate(-0.2deg);
}

.lcd::after {
  content: "";
  position: absolute;
  inset: 2px 5px;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.34), transparent 24% 72%, rgba(255, 255, 255, 0.12)),
    radial-gradient(circle at 55% 38%, rgba(255, 255, 225, 0.42), transparent 42%);
  mix-blend-mode: screen;
  opacity: 0.58;
}

.lcd span {
  position: relative;
  z-index: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: clamp(10px, 1.9vw, 17px);
  letter-spacing: 0;
  text-transform: uppercase;
}

.lcd small {
  position: relative;
  z-index: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: clamp(6px, 1.15vw, 10px);
  opacity: 0.82;
}

.hotspot {
  position: absolute;
  z-index: 5;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: transparent;
  background: rgba(255, 255, 255, 0);
}

body.is-zoomed .hotspot {
  z-index: 7;
}

.hotspot:focus-visible {
  outline: 3px solid #ffe4e2;
  outline-offset: 3px;
}

.restart-on-device {
  left: 12.8%;
  top: 61.2%;
  width: 6.1%;
  height: 5.6%;
  border-radius: 999px;
}

.play-on-device {
  left: 71.7%;
  top: 75.2%;
  width: 8%;
  height: 10%;
  border-radius: 13px 16px 16px 12px;
}

.stop-on-device {
  left: 63.8%;
  top: 75.9%;
  width: 8%;
  height: 9.6%;
  border-radius: 18px 12px 12px 18px;
}

.pause-on-device {
  left: 78.8%;
  top: 74.4%;
  width: 8.6%;
  height: 10.2%;
  border-radius: 14px 24px 24px 14px;
}

.youtube-row button:active,
.youtube-fallback:active {
  transform: translateY(1px);
  box-shadow:
    inset 0 1px 3px rgba(7, 14, 60, 0.45);
}

.loader-tab,
.zoom-button {
  position: fixed;
  bottom: 14px;
  z-index: 12;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 92px;
  min-height: 34px;
  padding: 5px 11px 5px;
  border: 1px solid rgba(124, 74, 109, 0.54);
  border-radius: 5px;
  color: #672048;
  cursor: pointer;
  font-family: "Courier New", monospace;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow:
    0 1px rgba(255, 255, 255, 0.72),
    0 0 1px rgba(104, 30, 61, 0.16);
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.42), transparent 22%),
    repeating-linear-gradient(-8deg, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 7px),
    linear-gradient(#fff2b8, #ffd86d 58%, #e58f4e);
  box-shadow:
    0 2px 0 rgba(118, 77, 38, 0.58),
    3px 9px 15px rgba(42, 18, 32, 0.34),
    -1px -1px 0 rgba(255, 240, 199, 0.38),
    inset 0 1px rgba(255, 255, 255, 0.72);
  transform: rotate(-1.6deg);
}

.loader-tab {
  right: clamp(14px, 3vw, 34px);
}

.loader-tab::before,
.zoom-button::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 25%;
  width: 44%;
  height: 13px;
  border-radius: 2px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 5px),
    rgba(226, 218, 255, 0.62);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.52),
    0 2px 4px rgba(28, 18, 36, 0.18);
  transform: rotate(1.8deg);
}

.loader-tab-mark,
.zoom-icon {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 18px;
  border: 1px solid rgba(33, 24, 57, 0.46);
  border-radius: 3px;
  color: #a8ff2e;
  font-size: 10px;
  text-shadow: 0 0 4px rgba(168, 255, 46, 0.42);
  background:
    linear-gradient(90deg, rgba(73, 236, 255, 0.16), transparent),
    #17142b;
  box-shadow: inset 0 0 7px rgba(0, 0, 0, 0.56);
}

.loader-tab:active,
.zoom-button:active {
  transform: rotate(-1.6deg) translateY(2px);
  box-shadow:
    0 1px 0 rgba(118, 77, 38, 0.58),
    0 5px 10px rgba(42, 18, 32, 0.26),
    inset 0 1px rgba(255, 255, 255, 0.46);
}

body.drawer-open .loader-tab {
  opacity: 0;
  pointer-events: none;
}

.dock {
  position: fixed;
  left: auto;
  right: clamp(14px, 3vw, 34px);
  top: auto;
  bottom: 64px;
  z-index: 11;
  width: min(31vw, 326px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin: 0;
  padding: 25px 9px 9px;
  overflow: hidden;
  border: 1px solid rgba(56, 28, 80, 0.82);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.62), transparent 18%),
    linear-gradient(135deg, rgba(198, 173, 255, 0.66), rgba(116, 82, 172, 0.58) 42%, rgba(38, 30, 76, 0.9)),
    linear-gradient(#e9eef7, #c6d1e5);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.34),
    0 12px 22px rgba(23, 10, 40, 0.46),
    inset 0 1px rgba(255, 255, 255, 0.68),
    inset 0 -12px 26px rgba(20, 9, 38, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(0.98) rotate(-0.5deg);
  transform-origin: 50% 50%;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.dock.is-dragging {
  cursor: grabbing;
  transition: opacity 120ms ease;
}

body.drawer-open .dock {
  opacity: 0.96;
  pointer-events: auto;
  transform: rotate(-0.5deg);
}

.dock::before,
.dock::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.dock::before {
  top: 0;
  left: 0;
  right: 0;
  height: 20px;
  border-bottom: 1px solid rgba(7, 16, 55, 0.72);
  border-radius: 7px 7px 0 0;
  cursor: grab;
  background:
    linear-gradient(90deg, #22183f, #5752ad 48%, #1d367f);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.62),
    inset 0 -1px rgba(0, 0, 0, 0.24);
}

.dock::after {
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 4px),
    linear-gradient(115deg, rgba(255, 255, 255, 0.24), transparent 28% 76%, rgba(0, 0, 0, 0.12));
  opacity: 0.5;
}

body.is-zoomed .dock {
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(0.98);
}

body.is-zoomed.drawer-open .dock {
  opacity: 0.94;
  pointer-events: auto;
  transform: rotate(-0.5deg);
}

.drawer-close {
  position: absolute;
  right: 5px;
  top: 3px;
  z-index: 4;
  width: 16px;
  height: 14px;
  padding: 0;
  border: 1px solid rgba(255, 210, 226, 0.58);
  border-radius: 2px;
  color: #ffffff;
  cursor: pointer;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 1px rgba(0, 0, 0, 0.5);
  background: linear-gradient(#ffb2c3, #be1f36 54%, #711220);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.62);
}

.zoom-button {
  left: 14px;
  right: auto;
  min-width: 94px;
  transform: rotate(1.4deg);
}

.zoom-button:active {
  transform: rotate(1.4deg) translateY(2px);
}

.zoom-icon {
  font-size: 14px;
  line-height: 1;
}

body.is-zoomed .zoom-button {
  color: #ffffff;
  text-shadow: 0 1px rgba(65, 0, 8, 0.9);
  background:
    repeating-linear-gradient(-8deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 7px),
    linear-gradient(#ff9aa5, #d9273d 58%, #8b0c19);
  box-shadow:
    0 2px 0 rgba(80, 2, 11, 0.72),
    0 9px 16px rgba(42, 18, 32, 0.34),
    inset 0 1px rgba(255, 255, 255, 0.5);
}

body.is-zoomed .zoom-icon {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.7);
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.38);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent),
    #48101a;
}

.panel {
  position: relative;
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 6px;
  overflow: hidden;
  border: 1px solid rgba(28, 20, 55, 0.58);
  border-radius: 6px;
  background:
    radial-gradient(circle at 13% 12%, rgba(255, 255, 255, 0.32), transparent 24%),
    linear-gradient(#edeaf7, #b9b3d0 48%, #847ca9);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.72),
    inset 0 -8px 16px rgba(35, 22, 54, 0.13),
    0 1px 2px rgba(9, 14, 35, 0.28);
}

.panel::before {
  display: none;
}

.panel::after {
  display: none;
}

.panel h2 {
  position: relative;
  margin: 0;
  padding: 0;
  color: #382b73;
  font-size: 10px;
  line-height: 1.1;
  letter-spacing: 0;
  text-align: left;
  text-shadow: 0 1px #ffffff;
  z-index: 1;
}

.panel p,
.panel small {
  position: relative;
  margin: 0;
  color: #2c245b;
  font-weight: 700;
  z-index: 1;
}

.panel p {
  min-height: 1.3em;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 10px;
}

.panel small {
  font-size: 9px;
}

.youtube-panel small,
.video-panel p,
.video-panel small {
  padding: 3px 5px;
  border: 1px inset #3d4d55;
  border-radius: 4px;
  color: #b8f4c1;
  font-family: "Courier New", monospace;
  text-shadow:
    0 0 4px rgba(168, 255, 210, 0.28),
    0 1px rgba(255, 255, 255, 0.12);
  background:
    repeating-linear-gradient(0deg, rgba(159, 255, 181, 0.06) 0 1px, transparent 1px 4px),
    linear-gradient(90deg, rgba(153, 255, 184, 0.12), transparent 46%),
    linear-gradient(#1a3127, #07140f);
  box-shadow:
    inset 0 0 6px rgba(0, 0, 0, 0.58),
    inset 0 1px rgba(255, 255, 255, 0.14),
    0 0 8px rgba(147, 255, 168, 0.12);
}

.video-panel {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 4px;
}

.video-panel p {
  min-width: 0;
}

.video-panel small {
  grid-column: 2;
}

.volume-panel {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 5px;
}

.volume-panel h2,
.volume-panel small {
  white-space: nowrap;
}

.volume {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 18px;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

.volume::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, #bafc82 calc(var(--level, 85) * 1%), #1a1837 0);
  box-shadow:
    inset 0 1px 4px rgba(0, 0, 0, 0.52),
    0 0 9px rgba(168, 255, 46, 0.44);
}

.volume::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #bafc82 calc(var(--level, 85) * 1%), #1a1837 0);
  box-shadow:
    inset 0 1px 4px rgba(0, 0, 0, 0.36),
    0 0 7px rgba(73, 236, 255, 0.45);
}

.volume::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  margin-top: -5px;
  border: 1px solid #3d315f;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #fff, #d8d2e6 45%, #7869a5 72%, #352c62);
  box-shadow:
    0 4px 9px rgba(0, 0, 0, 0.5),
    0 0 8px rgba(73, 236, 255, 0.42);
}

.volume::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 1px solid #3d315f;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #fff, #d8d2e6 45%, #7869a5 72%, #352c62);
  box-shadow:
    0 4px 9px rgba(0, 0, 0, 0.5),
    0 0 8px rgba(73, 236, 255, 0.42);
}

.youtube-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px;
  align-items: center;
}

.youtube-row input {
  min-width: 0;
  min-height: 25px;
  padding: 0 7px;
  color: #d9ffe5;
  border: 2px inset #40534c;
  border-radius: 4px;
  font-family: "Courier New", monospace;
  font-size: 10px;
  font-weight: 700;
  background:
    repeating-linear-gradient(0deg, rgba(188, 255, 198, 0.055) 0 1px, transparent 1px 4px),
    linear-gradient(90deg, rgba(146, 255, 184, 0.17), transparent),
    #07150f;
  box-shadow:
    inset 0 0 10px rgba(127, 255, 166, 0.2),
    inset 0 2px 9px rgba(0, 0, 0, 0.74);
}

.youtube-row button,
.youtube-fallback {
  min-width: 47px;
  min-height: 25px;
  justify-self: center;
  display: inline-grid;
  place-items: center;
  padding: 0 7px;
  border: 1px solid rgba(81, 47, 86, 0.66);
  border-color: rgba(81, 47, 86, 0.66);
  border-radius: 5px;
  cursor: pointer;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  color: #4d173c;
  text-decoration: none;
  text-shadow: 0 1px rgba(255, 255, 255, 0.76);
  background:
    radial-gradient(circle at 27% 24%, rgba(255, 255, 255, 0.58), transparent 28%),
    linear-gradient(#fff4a7, #ffcd5e 52%, #e57555);
  box-shadow:
    0 1px 0 #81422e,
    0 1px 2px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 -2px 7px rgba(126, 41, 38, 0.34);
}

.youtube-fallback {
  grid-column: 2;
  width: max-content;
  margin-top: -1px;
  color: #2f1339;
}

.youtube-fallback[hidden] {
  display: none;
}

#youtubeBox {
  position: fixed;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 720px) {
  .shell {
    padding-inline: 10px;
  }

  .discman-wrap {
    width: min(42vw, 230px);
    top: clamp(260px, 52vh, 390px);
    left: clamp(92px, 24vw, 188px);
  }

  body.is-zoomed .discman-wrap {
    width: min(96vw, 680px);
    top: 42%;
  }

  .dock {
    grid-template-columns: 1fr;
    top: auto;
    left: auto;
    right: 12px;
    bottom: 62px;
    width: min(62vw, 290px);
    gap: 4px;
    padding: 24px 6px 6px;
  }

  .loader-tab,
  .zoom-button {
    right: 12px;
    bottom: 10px;
    min-height: 34px;
  }

  .zoom-button {
    left: 12px;
    right: auto;
  }

  body.drawer-open .dock,
  body.is-zoomed.drawer-open .dock {
    transform: none;
  }

  .panel {
    min-height: 0;
    gap: 3px;
    padding: 4px;
  }

  .panel h2 {
    font-size: 9px;
  }

  .panel p,
  .panel small {
    font-size: 8px;
  }

  .youtube-panel small,
  .video-panel small {
    display: none;
  }

  .youtube-row input,
  .youtube-row button {
    min-height: 21px;
    font-size: 8px;
  }

  .volume {
    min-height: 15px;
  }
}
