.screen.hotpot-finale-mode {
  display: block;
  padding: 0;
}
.home-arrival-caption.finale-thought { position: absolute; top: auto; bottom: var(--caption-bottom, 5vh); left: var(--caption-left, 4vw); right: var(--caption-right, 4vw); width: auto; max-width: none; box-sizing: border-box; overflow-wrap: anywhere; z-index: 10; }
.home-arrival-caption.finale-thought:focus-visible { outline: none; }
.finale-computer-dialogue { position: absolute; z-index: 10; left: var(--caption-left,4vw); right: var(--caption-right,4vw); bottom: var(--caption-bottom,5vh); width: auto; border: 0; padding: 0; background: transparent; text-align: left; color: #fff; font: 600 clamp(20px,1.75vw,30px)/1.6 "I.MingCP","Noto Serif TC","PMingLiU",serif; letter-spacing: .08em; cursor: pointer; }
.finale-computer-dialogue:focus-visible { outline: none; }
.finale-computer-dialogue__hint { display: block; margin: 6px 24px 0; color: rgba(255,255,255,.7); font: 400 13px/1.2 "Microsoft JhengHei",sans-serif; letter-spacing: .08em; text-align: right; text-shadow: 0 1px 4px rgba(0,0,0,.72); }
.finale-computer-dialogue .story-dialogue-lines { display: flex; flex-direction: column; gap: 12px; padding: 12px 24px 16px; max-height: 65vh; overflow-y: auto; }
.finale-computer-dialogue .speaker-mengjie { color: #e4cfff; font-family: "Microsoft JhengHei","Noto Sans TC",sans-serif; font-weight: 400; }
.finale-computer-dialogue .speaker-jiayu { color: #f5e8b8; font-family: "Microsoft JhengHei","Noto Sans TC",sans-serif; font-weight: 400; }
#lca-player-safe-stage[style*="position: fixed"] .home-stage,
#lca-player-safe-stage[style*="position: fixed"] .map-stage-full,
#lca-player-safe-stage[style*="position: fixed"] #game,
#lca-player-safe-stage[style*="position: fixed"] > main { width: 100%; max-width: 100%; }
#lca-player-safe-stage[style*="position: fixed"] .home-arrival-caption { max-width: 84%; }
.restart-corner { z-index: 1601 !important; color: #fff !important; background: transparent !important; border: 0 !important; box-shadow: none !important; text-shadow: 0 0 3px #fff, 0 0 10px #ffffff99, 0 2px 8px #0009 !important; }
.restart-corner:hover, .restart-corner:focus-visible { background: transparent !important; outline: none; filter: brightness(1.15); }
.restart-corner { position: fixed; width: 34px; height: 34px; right: 12px; bottom: 12px; font-size: 22px; cursor: pointer; }
.home-arrival-caption.finale-thought[data-speaker="mengjie"] { color: #e5d4f6; font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif; font-weight: 400; }
.home-arrival-caption.finale-thought[data-speaker="jiayu"] { color: #f5e8b8; font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif; font-weight: 400; }
.finale-computer.is-active img { animation-duration: 60s; }
body.is-journey-ending::after { pointer-events: auto; -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); transition: -webkit-backdrop-filter 3s ease-in, backdrop-filter 3s ease-in; }
@media(prefers-reduced-motion:reduce) { body.is-journey-ending::after { display:block; } }

.wanwan-player__mute svg { width: 18px; height: 18px; }

.game-music { position: fixed; inset: 0; z-index: 1500; pointer-events: none; background: transparent; }
.game-music .wanwan-player,
.game-music .qianwan-mini-player { pointer-events: auto; }
.game-music [hidden] { display: none !important; }
body.is-finale-song-camera { overflow: hidden; }
body.is-finale-song-camera .restart-corner { visibility: hidden; }
body.is-finale-song-camera .wanwan-player__ticker span {
  animation: none; transform: none;
  padding-left: var(--song-reveal-title-inset, 12px);
}
.game-music.has-finale-song-reveal[data-song-camera] .wanwan-player { left: auto !important; right: 0 !important; }
@media (max-width: 680px) {
  .game-music.has-finale-song-reveal .wanwan-player {
    width: min(360px,72vw) !important;
    height: min(78dvh,720px) !important;
    --mobile-player-top: auto;
    --mobile-player-left: auto;
  }
}
.qianwan-mini-player {
  position: absolute; right: 58px; bottom: 12px;
  display: flex; align-items: center; gap: 6px;
  padding: 5px 8px 5px 12px;
  border: 1px solid #7499b5; border-radius: 17px;
  background: linear-gradient(#f0faff 0%, #d8ebf7 46%, #adcfe6 50%, #d8eaf5 100%);
  box-shadow: inset 0 0 0 1px #f4fbff, 0 2px 7px #123b5a30;
  color: #234b68; font: 12px "Microsoft JhengHei", sans-serif; white-space: nowrap;
}
.qianwan-mini-player strong { font-size: 12px; font-weight: 500; margin-right: 3px; letter-spacing: .08em; }
.qianwan-mini-player__volume {
  --volume-progress: 72%;
  position: relative; display: flex; align-items: center; width: 68px; height: 27px; padding: 0 2px;
}
.qianwan-mini-player__volume::before {
  content: "";
  position: absolute;
  left: 8.5px;
  right: 8.5px;
  top: calc(50% - 5px);
  height: 10px;
  pointer-events: none;
  clip-path: polygon(0 85%, 100% 0, 100% 100%, 0 100%);
  background:
    repeating-linear-gradient(90deg, #ffffff77 0 1px, transparent 1px 3px),
    linear-gradient(90deg, #4b91bb 0 var(--volume-progress), #dfedf6 var(--volume-progress) 100%);
}
.qianwan-mini-volume {
  --volume-progress: 72%;
  appearance: none; position: relative; z-index: 1; width: 100%; height: 27px; margin: 0;
  border: 0; border-radius: 0; background: transparent; box-shadow: none; cursor: pointer;
}
.qianwan-mini-volume::-webkit-slider-runnable-track { height: 4px; background: transparent; }
.qianwan-mini-volume::-moz-range-track { height: 4px; background: transparent; }
.qianwan-mini-volume::-moz-range-progress { background: transparent; }
.qianwan-mini-volume::-webkit-slider-thumb {
  appearance: none; width: 11px; height: 15px; border: 1px solid #527a95; border-radius: 5px;
  margin-top: -5.5px; background: linear-gradient(90deg, #f8fdff, #8ebddd 50%, #f8fdff); box-shadow: 0 1px 2px rgba(24, 55, 76, .32);
}
.qianwan-mini-volume::-moz-range-thumb {
  width: 9px; height: 13px; border: 1px solid #527a95; border-radius: 5px;
  background: linear-gradient(90deg, #f8fdff, #8ebddd 50%, #f8fdff); box-shadow: 0 1px 2px rgba(24, 55, 76, .32);
}
.qianwan-mini-volume:focus-visible { outline: 1px solid #315d7a; outline-offset: 2px; }
.qianwan-mini-player button,
.wanwan-player__collapse {
  display: grid; place-items: center; width: 27px; height: 27px;
  min-width: 0; min-height: 0; padding: 4px; border: 0; border-radius: 50%;
  box-shadow: none; background: transparent; color: #315d7a; cursor: pointer;
}
.qianwan-mini-player button:hover,
.wanwan-player__collapse:hover { background: transparent; box-shadow: none; outline: none; }
.qianwan-mini-player button:focus-visible,
.wanwan-player__collapse:focus-visible { outline: none; filter: brightness(1.35); }
.qianwan-mini-player svg,
.wanwan-player__collapse svg { width: 100%; height: 100%; }
@media (max-width: 440px) {
  .qianwan-mini-player { right: 48px; bottom: 8px; gap: 3px; padding: 3px 6px 3px 10px; }
  .qianwan-mini-player__volume { width: 52px; }
  .qianwan-mini-player button { width: 29px; height: 29px; }
}

.hotpot-finale {
  position: fixed;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  background: #201812;
  isolation: isolate;
}

.qianwan-mini-player { cursor: grab; touch-action: none; user-select: none; }
.qianwan-mini-player.is-dragging { cursor: grabbing; }
.qianwan-mini-player [data-mini="restore"] { display: none; }
.qianwan-mini-player.is-icon { width: 46px; height: 46px; box-sizing: border-box; padding: 0; border-radius: 50%; gap: 0; }
.qianwan-mini-player.is-icon > :not([data-mini="restore"]) { display: none; }
.qianwan-mini-player.is-icon [data-mini="restore"] { display: grid; width: 100%; height: 100%; padding: 8px; font-size: 25px; cursor: grab; touch-action: none; }
.qianwan-mini-player.is-dragging [data-mini="restore"] { cursor: grabbing; }

.hotpot-finale__slideshow,
.hotpot-finale__photo,
.hotpot-finale__photo img,
.hotpot-finale__vignette {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hotpot-finale__photo {
  margin: 0;
  opacity: 0;
  overflow: hidden;
  transition: opacity 2s ease-in-out;
  will-change: opacity;
}

.hotpot-finale__slideshow {
  width: auto;
  transition: left .24s ease, right .24s ease;
}
.hotpot-finale[data-dock="left"] .hotpot-finale__slideshow { left: var(--dock-width); }
.hotpot-finale[data-dock="right"] .hotpot-finale__slideshow { right: var(--dock-width); }
.hotpot-finale[data-dock] .hotpot-finale__photo img { object-fit: cover; }
.screen:has(.hotpot-finale[data-dock="right"]) ~ .restart-corner {
  right: auto;
  left: 12px;
}

.hotpot-finale__photo.is-active {
  opacity: 1;
  z-index: 1;
}

.hotpot-finale__photo img {
  max-width: none;
  object-fit: cover;
  filter: none;
  transform: scale(1.12);
  will-change: transform;
}

.hotpot-finale__photo:is(.is-active, .is-leaving) img { animation: finale-photo-zoom-out 9s linear both; }
.hotpot-finale__photo.is-leaving { z-index: 1; }
.hotpot-finale__photo.is-active { z-index: 2; }
.finale-transition-out { pointer-events: none; animation: finale-blur-out 1.5s ease-in both; }
.finale-transition-in { animation: finale-blur-in 1.5s ease-out both; }
.finale-transition-in .hotpot-finale__photo img { animation-play-state: paused; }
@keyframes finale-blur-out { from { filter: blur(0); opacity: 1; } to { filter: blur(22px); opacity: .2; } }
@keyframes finale-blur-in { from { filter: blur(22px); opacity: .2; } to { filter: blur(0); opacity: 1; } }
@keyframes finale-photo-zoom-out { from { transform: scale(1.12); } to { transform: scale(1); } }

.hotpot-finale__vignette {
  z-index: 2;
  pointer-events: none;
  background: none;
}

@keyframes hotpot-kitchen-camera {
  from { transform: scale(1.035) translate3d(0, 0, 0); }
  to { transform: scale(1.105) translate3d(-1.3%, -.7%, 0); }
}

@keyframes hotpot-dining-camera {
  from { transform: scale(1.1) translate3d(-1.1%, -.4%, 0); }
  to { transform: scale(1.035) translate3d(.5%, .3%, 0); }
}

.wanwan-player {
  --player-blue: #b8d9f2;
  --player-deep: #527da1;
  --player-edge: #eef9ff;
  position: fixed;
  z-index: 5;
  right: clamp(62px, 5vw, 88px);
  bottom: clamp(42px, 5vh, 68px);
  display: grid;
  grid-template-rows: auto auto auto var(--playlist-height, 84px) minmax(100px, 1fr);
  width: clamp(340px, 29vw, 390px);
  height: clamp(620px, 80vh, 720px);
  min-width: 300px;
  min-height: min(570px, calc(100vh - 12px));
  max-width: min(620px, calc(100vw - 12px));
  max-height: calc(100vh - 12px);
  overflow: hidden;
  color: #17324b;
  border: 1px solid rgba(220, 243, 255, .96);
  border-radius: 9px 9px 12px 12px;
  clip-path: url(#wanwan-shell-clip);
  background:
    linear-gradient(155deg, rgba(250, 254, 255, .97), rgba(171, 210, 240, .96) 22%, rgba(112, 165, 210, .96) 66%, rgba(212, 237, 251, .97));
  box-shadow:
    inset 0 0 0 2px rgba(83, 126, 162, .8),
    inset 0 0 0 4px rgba(238, 249, 255, .6),
    0 16px 42px rgba(8, 17, 25, .48);
  font-family: "Microsoft JhengHei", "PingFang TC", sans-serif;
  user-select: none;
  touch-action: none;
}

.wanwan-player.is-moving,
.wanwan-player.is-resizing {
  box-shadow:
    inset 0 0 0 2px rgba(83, 126, 162, .9),
    inset 0 0 0 4px rgba(238, 249, 255, .72),
    0 20px 52px rgba(4, 12, 18, .58);
}

.wanwan-player__titlebar {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 4px 10px 4px 50px;
  gap: 7px;
  color: #173a58;
  border-bottom: 1px solid rgba(55, 100, 138, .66);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .8), rgba(177, 216, 244, .72) 48%, rgba(98, 158, 206, .62) 52%, rgba(204, 234, 250, .72));
  cursor: grab;
}

.wanwan-player__titlebar:active {
  cursor: grabbing;
}

.wanwan-player__shell-edge {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 8;
  pointer-events: none;
}
.wanwan-player[data-dock] .wanwan-player__shell-edge { visibility: hidden; }
.wanwan-player:not([data-dock]) {
  border: 0;
  box-shadow: inset 1px 1px 2px #ffffffd9, inset -1px -2px 3px #527da180, 0 10px 26px #183c5540;
  scrollbar-width: none !important;
}
.wanwan-player:not([data-dock])::-webkit-scrollbar { display: none; width: 0; height: 0; }
.wanwan-player:not([data-dock]) .wanwan-player__shell-edge { display: none; }
.wanwan-player__titlebar .wanwan-player__mark { display: none; }

.wanwan-player__titlebar strong {
  white-space: nowrap;
  font-size: .94rem;
  font-weight: 600;
  letter-spacing: .12em;
}

.wanwan-player__mark {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: white;
  border: 1px solid #547e9c;
  border-radius: 50%;
  background: linear-gradient(#8fd1ff, #3d83b7);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .8);
  font-size: .72rem;
}

.wanwan-player__dock {
  display: grid;
  place-items: center;
  flex: 0 0 27px;
  width: 27px;
  height: 27px;
  padding: 4px;
  border: 0;
  background: transparent;
  color: #315d7a;
  font: 24px/1 sans-serif;
  cursor: pointer;
}
.wanwan-player__dock svg { width: 100%; height: 100%; }
.wanwan-player__dock:hover { background: #ffffff66; }
.wanwan-player__dock:focus-visible { outline: 2px solid #315f7e; }
@media (max-width: 680px), (max-width: 960px) and (max-height: 500px) and (pointer: coarse) {
  .wanwan-player__dock { display: none; }
}
.wanwan-player__titlebar { gap: 3px; padding-left: 40px; }


.wanwan-player__body {
  position: relative;
  display: grid;
  grid-template-rows: 90px 23px 26px 44px;
  gap: 5px;
  padding: 10px 12px;
  margin-bottom: 7px;
  border-radius: 0 0 42px 24px;
  background: linear-gradient(170deg, #c7ddf1 0%, #a9c7e0 63%, #f5faff 82%, #8ca5c3 98%);
  box-shadow: inset 0 -2px 1px #f4fbff, 0 2px 2px #6184a7;
}

.wanwan-player__display {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 5px;
  height: 90px;
  padding: 4px;
  border: 1px solid #3d617e;
  border-radius: 6px;
  background: linear-gradient(#d4edfb, #90bddd);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .78);
}

.wanwan-player__visualizer {
  width: 100%;
  height: 100%;
  border: 1px solid #081916;
  border-radius: 2px;
  image-rendering: auto;
}

.wanwan-player__lcd {
  display: grid;
  grid-template-columns: minmax(20px, 3fr) minmax(0, 7fr);
  column-gap: 5px;
  grid-template-rows: 47px 1fr;
  align-items: center;
  min-width: 0;
  padding: 4px;
  overflow: hidden;
  color: #7dfaff;
  border: 1px solid #0e2833;
  border-radius: 2px;
  background: linear-gradient(135deg, #172336, #030c18 80%);
  font-family: Consolas, "Courier New", monospace;
}

.wanwan-player__time {
  display: block;
  width: 100%;
  white-space: nowrap;
  font-size: .76rem;
  letter-spacing: -.04em;
}
.wanwan-player__time svg { display: block; width: 100%; height: 33px; }
.wanwan-player__big-note {
  grid-row: 1 / 3;
  align-self: start;
  width: 100%;
  max-width: 32px;
  height: 100%;
  margin-top: 0;
}

.wanwan-player__status {
  margin-top: 0;
  color: #d8faff;
  font-size: .67rem;
  white-space: nowrap;
  text-align: right;
  padding-right: 4px;
}

.wanwan-player__ticker {
  height: 23px;
  margin-top: 0;
  overflow: hidden;
  color: #ffef3d;
  border: 1px solid #18303a;
  border-radius: 3px;
  background: #071008;
  font-family: "PMingLiU", "MingLiU", serif;
  font-size: .76rem;
  line-height: 21px;
  white-space: nowrap;
}

.wanwan-player__ticker span {
  display: inline-block;
  min-width: 100%;
  padding-left: 100%;
  animation: wanwan-ticker 13s linear infinite;
}

@keyframes wanwan-ticker {
  to { transform: translateX(-100%); }
}

.wanwan-player__seek-label,
.wanwan-player__volume-label {
  display: flex;
  align-items: center;
}

.wanwan-player__seek {
  width: 100%;
  height: 15px;
  margin: 0;
}

.wanwan-player__seek-label { padding: 0 7px; }
.wanwan-player__volume-label { padding: 0 7px; min-width: 0; }

.wanwan-player__controls {
  display: grid;
  grid-template-columns: 36px repeat(5, 25px) minmax(36px, 1fr);
  align-items: center;
  gap: 6px;
  padding: 0 3px;
}

.wanwan-player__mode svg { width: 18px; height: 18px; }
.wanwan-player__controls .wanwan-player__volume-label {
  position: relative;
  width: 100%;
  max-width: 68px;
  height: 28px;
  justify-self: end;
  box-sizing: border-box;
  padding: 0 4px;
}
.wanwan-player__volume-label::before {
  content: "";
  position: absolute;
  left: 10.5px;
  right: 10.5px;
  top: calc(50% - 5px);
  height: 10px;
  pointer-events: none;
  clip-path: polygon(0 85%, 100% 0, 100% 100%, 0 100%);
  background:
    repeating-linear-gradient(90deg, #ffffff77 0 1px, transparent 1px 3px),
    linear-gradient(90deg, #4b91bb 0 var(--volume-progress, 72%), #dfedf6 var(--volume-progress, 72%) 100%);
}
.wanwan-player__playlist-title .wanwan-player__count { flex: 0 0 auto; white-space: nowrap; }

.wanwan-player :is(button, input, [tabindex]):is(:hover, :focus, :focus-visible),
.wanwan-player__reopen:is(:hover, :focus, :focus-visible) { outline: none; }
/* Keep a non-framed keyboard cue without the global yellow focus outline. */
.wanwan-player :is(button, input, [tabindex]):focus-visible,
.wanwan-player__reopen:focus-visible { filter: brightness(1.18); }

.wanwan-player__round {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  padding: 0;
  color: #244f70;
  border: 1px solid #708b9f;
  border-radius: 50%;
  background: linear-gradient(145deg, #faffff 9%, #e3f1fa 36%, #a6c8df 70%, #edf8ff 100%);
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, .58),
    0 1px 2px rgba(32, 67, 91, .36);
  font-size: .7rem;
  line-height: 1;
}

.wanwan-player__round:active {
  transform: translateY(1px);
  filter: brightness(.94);
}

.wanwan-player__play {
  width: 36px;
  height: 36px;
  border: 2px solid #688399;
  box-shadow: 0 0 0 2px #eef7ff, inset 0 2px 3px #ffffff, inset 0 -2px 2px #99b6cc;
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
}
.wanwan-player__transport-icon {
  display: block;
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid #244f70;
}
.wanwan-player__play.is-playing .wanwan-player__transport-icon {
  width: 13px;
  height: 16px;
  margin-left: 0;
  border: 0;
  background: linear-gradient(to right, #244f70 0 4px, transparent 4px 9px, #244f70 9px 13px);
}
.wanwan-player__stop span {
  display: block;
  width: 10px;
  height: 10px;
  background: #244f70;
}

.wanwan-player__equalizer {
  display: grid;
  grid-template-rows: 26px 1fr 16px;
  height: 150px;
  min-width: 0;
  margin: 0 8px 5px;
  border: 1px solid #557e9e;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(#172738, #0c1826);
  color: #c6eafa;
  box-shadow: inset 0 0 0 1px #d8ecf466;
}
.wanwan-player__equalizer .wanwan-player__playlist-title {
  background: linear-gradient(#dceffc, #aacce3);
  gap: 4px;
  padding: 0 7px;
}
.wanwan-player__eq-toggle,
.wanwan-player__eq-reset,
.wanwan-player__eq-fold {
  height: 20px;
  padding: 0 7px;
  border: 1px solid #7194af;
  border-radius: 3px;
  background: linear-gradient(#f1faff, #9fbdd7);
  color: #2a4a63;
  font: 11px/18px "Microsoft JhengHei", sans-serif;
}
.wanwan-player__eq-toggle,
.wanwan-player__eq-reset,
.wanwan-player__eq-preset-label {
  flex: 0 0 auto;
  padding: 0 6px;
  border-radius: 4px;
  font: bold 9px/18px Arial, sans-serif;
  box-shadow: inset 0 1px 0 #ffffffcc, inset 0 -2px 0 #6c91ad66;
}
.wanwan-player__eq-preset-label {
  position: relative;
  height: 20px;
  box-sizing: border-box;
  border: 1px solid #7194af;
  background: linear-gradient(#eef8ff, #a1c2d9 48%, #85aac5 52%, #c7dfef);
  color: #2a4a63;
}
.wanwan-player__eq-preset-label span { color: inherit; font: inherit; }
.wanwan-player__eq-preset {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.wanwan-player__eq-preset-label:focus-within { filter: brightness(1.18); }
.wanwan-player__eq-console {
  display: grid;
  grid-template-columns: minmax(58px, .9fr) 31px minmax(0, 2.4fr);
  gap: 4px;
  min-height: 0;
  padding: 5px 8px 0;
  background: linear-gradient(120deg, #213d55, #172b40 60%, #243e57);
}
.wanwan-player__eq-masters { display: grid; grid-template-rows: 1fr 1fr; gap: 6px; min-width: 0; padding: 1px 3px 4px; }
.wanwan-player__eq-masters label { display: grid; grid-template-rows: 12px 1fr 10px; align-items: center; min-width: 0; }
.wanwan-player__eq-masters span { display: flex; justify-content: space-between; gap: 2px; font: 9px/12px "Microsoft JhengHei", sans-serif; white-space: nowrap; }
.wanwan-player__eq-masters output { color: #b9e5ff; font: 9px/12px Consolas, monospace; }
.wanwan-player__eq-masters small { font: 9px/10px Consolas, monospace; color: #96bcd5; text-align: center; }
.wanwan-player .wanwan-player__eq-masters input[type="range"] {
  width: 100%; margin: 0; height: 4px; border-radius: 1px;
  background: linear-gradient(90deg, #769fbd 49%, #effaff 49% 51%, #769fbd 51%);
}
.wanwan-player .wanwan-player__eq-masters input::-webkit-slider-thumb { width: 8px; height: 12px; border-radius: 2px; }
.wanwan-player__eq-scale { display: flex; flex-direction: column; justify-content: space-between; padding: 19px 0 17px; font: bold 9px/10px Consolas, monospace; color: #d2edff; text-align: right; }
.wanwan-player__eq-fold {
  display: grid;
  place-items: center;
  width: 24px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  box-shadow: none;
  color: #446783;
}
.wanwan-player__eq-fold svg {
  width: 16px;
  height: 16px;
  transition: transform .16s ease;
}
.wanwan-player__eq-fold[aria-expanded="false"] svg { transform: rotate(180deg); }
.wanwan-player__eq-fold:hover { color: #173d5c; background: #e7f4fc66; }
.wanwan-player__equalizer.is-collapsed { height: 28px; grid-template-rows: 26px; }
.wanwan-player__equalizer.is-collapsed .wanwan-player__eq-console,
.wanwan-player__equalizer.is-collapsed .wanwan-player__eq-bands,
.wanwan-player__equalizer.is-collapsed .wanwan-player__eq-caption { display: none; }
.wanwan-player__eq-toggle { margin-left: auto; }
.wanwan-player__eq-toggle[aria-pressed="true"] { color: #f0fbff; background: linear-gradient(#729fc4, #396284 50%, #284a68 52%, #608eae); text-shadow: 0 0 4px #a7e0ff; }
.wanwan-player__eq-bands {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 1px;
  min-height: 0;
  padding: 0;
}
.wanwan-player__eq-band {
  display: grid;
  grid-template-rows: 12px minmax(0, 1fr) 12px;
  justify-items: center;
  min-width: 0;
  gap: 3px;
  font: 10px/12px Consolas, monospace;
}
.wanwan-player .wanwan-player__eq-band input[type="range"] {
  writing-mode: vertical-lr;
  direction: rtl;
  width: 5px;
  height: 100%;
  min-height: 0;
  margin: 0;
  border-radius: 2px;
  background: linear-gradient(to bottom, #7ca6ce 49%, #e6f9ff 49% 51%, #7ca6ce 51%);
  box-shadow: 0 0 3px #71beef55, inset 1px 0 #203d59;
}
.wanwan-player .wanwan-player__eq-band input::-webkit-slider-thumb {
  width: 9px;
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(#edfaff, #8fc3de 50%, #effaff);
}
.wanwan-player__eq-caption {
  text-align: right;
  padding: 0 9px;
  color: #8fabbe;
  font: 10px/16px "Microsoft JhengHei", sans-serif;
}
.wanwan-player .wanwan-player__eq-band input::-moz-range-thumb { width: 7px; height: 6px; border: 1px solid #527a95; border-radius: 2px; background: linear-gradient(#edfaff, #8fc3de 50%, #effaff); }
.wanwan-player .wanwan-player__eq-masters input::-moz-range-thumb { width: 6px; height: 10px; border: 1px solid #527a95; border-radius: 2px; background: #a9cde4; }
.wanwan-player__equalizer.is-bypassed .wanwan-player__eq-console { opacity: .55; }

/* Separate text rows from the complete thumb travel area, even in narrow docks. */
.wanwan-player__equalizer {
  box-sizing: border-box;
  grid-template-rows: 28px 148px 18px;
  height: 196px;
}
.wanwan-player__eq-console {
  box-sizing: border-box;
  grid-template-columns: 32px minmax(0, 1fr);
  grid-template-rows: 42px 88px;
  gap: 8px 6px;
  padding: 5px 10px;
  overflow: hidden;
}
.wanwan-player__eq-masters {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: 42px;
  column-gap: 20px;
  padding: 0;
}
.wanwan-player__eq-masters label { grid-template-rows: 14px 18px 10px; }
.wanwan-player__eq-masters label > span:first-child { font-size: 11px; line-height: 14px; gap: 6px; }
.wanwan-player__eq-masters output { font-size: 11px; line-height: 14px; }
.wanwan-player__eq-masters .wanwan-player__eq-master-rail {
  position: relative; display: block; height: 18px; overflow: hidden;
}
.wanwan-player .wanwan-player__eq-masters input[type="range"] {
  position: absolute; top: 7px; left: 5px;
  width: calc(100% - 10px); height: 4px; margin: 0;
}
.wanwan-player__eq-scale { grid-row: 2; height: 88px; padding: 20px 0; box-sizing: border-box; }
.wanwan-player__eq-bands { grid-row: 2; height: 88px; gap: 2px; }
.wanwan-player__eq-band { grid-template-rows: 12px 56px 12px; gap: 4px; font-size: 9px; }
.wanwan-player__eq-band > output,
.wanwan-player__eq-band > span:last-child { position: relative; z-index: 1; line-height: 12px; white-space: nowrap; }
.wanwan-player__eq-rail { position: relative; display: block; width: 100%; height: 56px; overflow: hidden; }
.wanwan-player .wanwan-player__eq-rail input[type="range"] {
  position: absolute; top: 6px; left: calc(50% - 2.5px);
  width: 5px; height: 44px; min-height: 0; margin: 0;
}
.wanwan-player__eq-caption { line-height: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wanwan-player__eq-toggle, .wanwan-player__eq-reset, .wanwan-player__eq-preset-label { font-size: 10px; }
.wanwan-player__eq-preset-label { display: inline-block; }
.wanwan-player:has(.wanwan-player__equalizer:not(.is-collapsed)) {
  overflow-y: auto; scrollbar-width: thin; scrollbar-color: #7ea7c5 #c2ddee;
}

.wanwan-player[hidden],
.wanwan-player__reopen[hidden] { display: none !important; }
.wanwan-player__close {
  display: grid;
  place-items: center;
  flex: 0 0 20px;
  width: 20px;
  height: 25px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  color: #3c5879;
  background: transparent;
  font: bold 23px/1 Arial, sans-serif;
}
.wanwan-player__close:hover { background: #e3eff8; color: #162c4d; }
.wanwan-player__reopen {
  position: absolute;
  z-index: 5;
  right: 18px;
  top: 18px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #789bb7;
  border-radius: 50%;
  color: #305979;
  background: linear-gradient(#edf8ff, #9dc4df);
  box-shadow: 0 2px 8px #0005, inset 0 1px 2px #fff;
  font-size: 23px;
}

.wanwan-player__volume {
  width: 100%;
}

.wanwan-player input[type="range"] {
  --seek-progress: 0%;
  --volume-progress: 72%;
  appearance: none;
  height: 5px;
  border: 1px solid rgba(48, 87, 115, .76);
  border-radius: 6px;
  background: linear-gradient(90deg, #5eb0de 0 var(--seek-progress), rgba(235, 248, 255, .78) var(--seek-progress) 100%);
  box-shadow: inset 0 1px 2px rgba(28, 65, 89, .32);
}

.wanwan-player input.wanwan-player__volume {
  position: relative;
  z-index: 1;
  height: 28px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}
.wanwan-player__volume::-webkit-slider-runnable-track { height: 4px; background: transparent; }
.wanwan-player__volume::-moz-range-track { height: 4px; background: transparent; }
.wanwan-player__volume::-moz-range-progress { background: transparent; }

.wanwan-player input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 13px;
  height: 17px;
  border: 1px solid #527a95;
  border-radius: 5px;
  background: linear-gradient(90deg, #f8fdff, #8ebddd 50%, #f8fdff);
  box-shadow: 0 1px 2px rgba(24, 55, 76, .32);
}
.wanwan-player input.wanwan-player__volume::-webkit-slider-thumb { margin-top: -6.5px; }
.wanwan-player input.wanwan-player__volume::-moz-range-thumb {
  width: 11px;
  height: 15px;
  border: 1px solid #527a95;
  border-radius: 5px;
  background: linear-gradient(90deg, #f8fdff, #8ebddd 50%, #f8fdff);
  box-shadow: 0 1px 2px rgba(24, 55, 76, .32);
}

.wanwan-player__playlist,
.wanwan-player__lyrics-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 28px minmax(0, 1fr) 12px;
  min-width: 0;
  min-height: 0;
  margin: 0 8px 5px;
  overflow: hidden;
  border: 1px solid #507b9b;
  border-radius: 9px;
  background: linear-gradient(150deg, rgba(222, 241, 252, .95), rgba(120, 174, 215, .92));
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, .56),
    0 2px 5px rgba(32, 66, 90, .26);
}
.wanwan-player__panel-grip {
  cursor: ns-resize;
  touch-action: none;
  background: linear-gradient(#d4e5f5, #8baecf);
  position: relative;
}
.wanwan-player__panel-grip::after {
  content: "";
  position: absolute;
  width: 36px;
  height: 3px;
  left: calc(50% - 18px);
  top: 4px;
  border-top: 1px dotted #365a7d;
  border-bottom: 1px dotted #f2f9ff;
}
.wanwan-player__panel-grip:focus-visible { filter: brightness(1.18); }

.wanwan-player__playlist-title {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  color: #204867;
  border-bottom: 1px solid rgba(65, 103, 132, .52);
  font-size: .77rem;
}

.wanwan-player__playlist-title span {
  color: rgba(31, 70, 98, .66);
  font-size: .65rem;
}
.wanwan-player__playlist-title { gap: 6px; }
.wanwan-player__playlist-title strong { flex-shrink: 0; }
.wanwan-player__lyrics-title {
  flex: 1 1 0%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wanwan-player__add {
  display: grid;
  place-items: center;
  width: 27px;
  height: 25px;
  flex-shrink: 0;
  margin-left: auto;
  border: 1px solid #6d93b5;
  border-radius: 3px;
  background: linear-gradient(#f1f8ff, #a1c3df);
  color: #224465;
  font: inherit;
  font-size: .65rem;
  line-height: 18px;
  padding: 2px;
  white-space: nowrap;
}
.wanwan-player__add svg { width: 21px; height: 19px; }
.wanwan-player__tracks {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  justify-self: stretch;
  align-self: stretch;
  min-height: 0;
  overflow: auto;
  background: #08110e;
  scrollbar-width: thin;
  scrollbar-color: #7195aa #0b1510;
}
.wanwan-player__files[hidden] { display: none !important; }
.wanwan-player__no-lyrics {
  color: #819787;
  font-size: .8rem;
  text-align: center;
}

.wanwan-player__track {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: start;
  gap: 4px;
  padding: 5px 9px;
  color: #eaff8b;
  border-bottom: 1px solid #233629;
  background: #0a160d;
  font-family: "PMingLiU", "MingLiU", serif;
  font-size: .75rem;
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  text-align: left;
}
.wanwan-player__track strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: normal;
}
.wanwan-player__track.is-selected {
  color: #eaff8b;
  background: #17341c;
}
.wanwan-player__track:hover { background: #20392c; }

.wanwan-player__track span {
  color: #67e33e;
}

.wanwan-player__track time {
  color: #7ecad7;
  font-family: Consolas, monospace;
  font-size: .68rem;
}

.wanwan-player__lyrics {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 0;
  overflow: hidden auto;
  padding: 48px 14px 62px;
  color: rgba(226, 240, 229, .44);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .035), transparent 20%),
    #07100a;
  scrollbar-color: #7195aa #0b1510;
  scrollbar-width: thin;
}

.wanwan-player__lyric-line {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  transform-origin: center;
  margin: 0;
  padding: .26em 0;
  color: inherit;
  font-family: "PMingLiU", "MingLiU", serif;
  font-size: clamp(.72rem, 2.4cqw, .94rem);
  line-height: 1.52;
  text-align: center;
  transition: color .4s ease, transform .4s ease, opacity .4s ease;
}

.wanwan-player__lyric-line.is-past {
  color: rgba(178, 203, 183, .28);
}

.wanwan-player__lyric-line.is-current {
  color: #fff36d;
  transform: scale(1.035);
  opacity: 1;
}

.wanwan-player__resize {
  position: absolute;
  right: 3px;
  bottom: 3px;
  width: 22px;
  height: 22px;
  cursor: nwse-resize;
}

.wanwan-player__resize::before {
  content: none;
}

.wanwan-player[data-dock] {
  clip-path: none;
  min-width: 0;
  max-width: none;
  min-height: 0;
  max-height: none;
  border-radius: 0;
  box-shadow: inset 0 0 0 2px rgba(83,126,162,.8), 0 0 20px #0005;
}
.wanwan-player[data-dock] .wanwan-player__resize {
  top: 35px;
  bottom: 0;
  height: auto;
  width: 8px;
  cursor: ew-resize;
}
.wanwan-player[data-dock="left"] .wanwan-player__resize { right: 0; }
.wanwan-player[data-dock="right"] .wanwan-player__resize { left: 0; right: auto; }
.wanwan-player[data-dock] .wanwan-player__resize::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 2px;
  right: auto;
  bottom: auto;
  width: 3px;
  height: 30px;
  border: 0;
  border-radius: 2px;
  background: #5c87a9;
}

.wanwan-player .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-height: 620px) {
  .wanwan-player { height: calc(100vh - 12px); overflow-y: auto; }
  .wanwan-player__body { grid-template-rows: 70px 21px 22px 44px; gap: 3px; padding-top: 6px; padding-bottom: 6px; }
  .wanwan-player__display { height: 70px; }
  .wanwan-player__lcd { grid-template-rows: 35px 1fr; }
  .wanwan-player__equalizer:not(.is-collapsed) { height: 196px; }
}

/* A bottom sheet on phones, including landscape; desktop dock geometry stays saved. */
@media (max-width: 680px), (max-width: 960px) and (max-height: 500px) and (pointer: coarse) {
  .wanwan-player,
  .wanwan-player:not([data-dock]),
  .wanwan-player[data-dock] {
    box-sizing: border-box;
    display: block;
    top: var(--mobile-player-top, auto) !important;
    left: var(--mobile-player-left, auto) !important;
    right: max(6px, env(safe-area-inset-right)) !important;
    bottom: max(6px, env(safe-area-inset-bottom)) !important;
    width: min(390px, calc(100vw - 12px - env(safe-area-inset-left) - env(safe-area-inset-right))) !important;
    height: 33.333vh !important;
    height: 33.333dvh !important;
    min-width: 0;
    min-height: 0;
    max-width: none;
    max-height: none;
    padding-bottom: 8px;
    overflow: hidden auto;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
    scrollbar-width: auto !important;
    scrollbar-color: #426f96 #d3e6f2;
    clip-path: none;
    border-radius: 12px;
  }
  .wanwan-player__titlebar {
    position: sticky;
    top: 0;
    z-index: 10;
    min-height: 34px;
    padding-left: 14px;
    cursor: grab;
    touch-action: none;
    background: linear-gradient(#edf8ff, #badcf3 48%, #83b5db 52%, #cee8f7);
  }
  .wanwan-player__body {
    grid-template-rows: 54px 21px 22px 44px;
    gap: 3px;
    padding: 6px 10px;
  }
  .wanwan-player__display { height: 54px; }
  .wanwan-player__lcd { grid-template-rows: 27px 1fr; padding: 1px 4px; }
  .wanwan-player__big-note { height: 43px; }
  .wanwan-player__playlist { height: 78px; grid-template-rows: 28px minmax(0, 1fr); }
  .wanwan-player__lyrics-panel { height: 156px; grid-template-rows: 28px minmax(0, 1fr); }
  .wanwan-player__lyrics { padding: 32px 14px 44px; }
  .wanwan-player__shell-edge,
  .wanwan-player__resize,
  .wanwan-player__panel-grip { display: none; }
  .wanwan-player input[type="range"] { touch-action: none; }
  .hotpot-finale[data-dock] .hotpot-finale__slideshow { left: 0; right: 0; }
}

.wanwan-player__lyric-line { white-space: pre-line; }
.wanwan-player__load-lyrics {
  flex: none; padding: 2px 7px; border: 1px solid #769db9; border-radius: 4px;
  background: linear-gradient(#f4fbff,#bcd7e9); color: #254b68;
  font: 13px/20px 'Microsoft JhengHei',sans-serif; cursor: pointer;
}
.wanwan-player__lyrics-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wanwan-player__file-dialog {
  box-sizing: border-box; width: min(440px,calc(100vw - 24px)); max-height: calc(100dvh - 32px);
  margin: auto; padding: 0; overflow: auto; pointer-events: auto;
  border: 2px solid #779bb9; border-radius: 14px; color: #254b68;
  background: #e2eff8; box-shadow: inset 0 0 0 1px #fff,0 16px 60px #142d4966;
  font: 15px/1.6 'Microsoft JhengHei',sans-serif;
}
.wanwan-player__file-dialog::backdrop { background: #132b4855; }
.wanwan-player__file-dialog header {
  display: flex; align-items: center; justify-content: space-between; padding: 10px 14px;
  background: linear-gradient(#f4fbff,#b7d5e9); border-bottom: 1px solid #97b8d0;
}
.wanwan-player__file-options { display: grid; gap: 12px; padding: 18px; }
.wanwan-player__file-options button {
  padding: 14px; text-align: left; border: 1px solid #8babc3; border-radius: 9px;
  background: linear-gradient(#fff,#d5e8f5); color: #254b68; font: 600 17px/1.5 'Microsoft JhengHei',sans-serif; cursor: pointer;
}
.wanwan-player__file-options button:hover { background: #c6e5f7; }
.wanwan-player__file-options button:focus-visible,
.wanwan-player__load-lyrics:focus-visible { outline: 2px solid #237eaa; outline-offset: 2px; }
.wanwan-player__file-options small { display: block; margin-top: 5px; font-size: 13px; font-weight: 400; }
.wanwan-player__file-notice { margin: 0 18px 12px; }
@media (max-width: 680px), (max-width: 960px) and (max-height: 500px) and (pointer: coarse) {
  .wanwan-player::-webkit-scrollbar,
  .wanwan-player:not([data-dock])::-webkit-scrollbar { display: block; width: 9px; height: 9px; }
  .wanwan-player::-webkit-scrollbar-track { background: #d3e6f2; border-radius: 8px; margin: 10px 0; }
  .wanwan-player::-webkit-scrollbar-thumb { background: #426f96; border: 2px solid #d3e6f2; border-radius: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .hotpot-finale__photo {
    transition-duration: .7s;
  }

  .hotpot-finale__photo.is-active img,
  .wanwan-player__ticker span {
    animation: none;
  }
  .wanwan-player__eq-fold svg { transition: none; }
}
