* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100svh;
  display: grid;
  place-items: center;
  background: #122b31 url(london-rain-hd.jpg) center/cover fixed;
  color: #edf4f2;
  font-family: Inter, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}
.shade {
  position: fixed;
  inset: 0;
  background: linear-gradient(90deg, #071b2466, #102b3022 70%, #06191d22);
  z-index: -1;
}
.player {
  width: min(480px, calc(100% - 36px));
  margin: 35px 0;
  padding: 30px;
  border-radius: 30px;
  border: 1px solid #d5e9df36;
  background: linear-gradient(145deg, #233d43ba, #152b31c4);
  backdrop-filter: blur(24px);
  box-shadow:
    0 24px 80px #07111666,
    inset 0 1px #e8fff012;
}
.topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #bfd0cf;
  font-size: 11px;
  letter-spacing: 3px;
}
.status {
  display: flex;
  align-items: center;
  gap: 7px;
  letter-spacing: 1px;
  font-size: 10px;
}
.status:before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b1d2be;
  box-shadow: 0 0 7px #b3d3bf66;
}
.art {
  height: 180px;
  margin-top: 25px;
  border-radius: 18px;
  background:
    linear-gradient(#17343b11, #102d3722),
    url(london-rain-hd.jpg) center/cover;
  position: relative;
  overflow: hidden;
  border: 1px solid #deeddf25;
}
.art:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #12262d55, transparent);
}
.info {
  display: flex;
  align-items: center;
  margin-top: 24px;
  gap: 12px;
}
.text {
  flex: 1;
}
h1 {
  font-size: 25px;
  font-weight: 500;
  letter-spacing: 2px;
  margin: 0 0 8px;
}
.sub {
  color: #a8bdbf;
  font-size: 12px;
  letter-spacing: 1px;
}
button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  font: inherit;
  display: grid;
  place-items: center;
  transition:
    background 0.2s,
    color 0.2s;
}
button:hover {
  color: #fff;
  background: #d7e8dc12;
}
button:focus-visible,
input:focus-visible {
  outline: 2px solid #bed6cb;
  outline-offset: 5px;
}
button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.favorite {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #a9c0c0;
}
.favorite[aria-pressed='true'] {
  color: #c3dfcf;
}
.favorite[aria-pressed='true'] svg {
  fill: #c3dfcf55;
}
canvas {
  display: block;
  width: 100%;
  height: 58px;
  margin: 15px 0 9px;
  opacity: 0.8;
}
input {
  accent-color: #bfd8cb;
}
.seek {
  width: 100%;
  display: block;
  appearance: none;
  height: 3px;
  border-radius: 4px;
  background: #a8c3bf40;
  margin: 0;
  cursor: pointer;
}
.seek::-webkit-slider-thumb {
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d1e5d9;
  box-shadow: 0 0 8px #c2e1d34d;
}
.times {
  display: flex;
  justify-content: space-between;
  color: #9eb5b7;
  font-size: 10px;
  margin-top: 9px;
  font-variant-numeric: tabular-nums;
}
.controls {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 18px 16px 24px;
}
.control {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #b6c9c8;
}
.control[aria-pressed='true'] {
  color: #e1f2d8;
  background: #d7e8dc15;
}
.play {
  width: 61px;
  height: 61px;
  border-radius: 50%;
  color: #213b3d;
  background: linear-gradient(145deg, #d6e5da, #9fbdaf);
  box-shadow: 0 5px 22px #0003;
}
.play:hover {
  color: #213b3d;
  background: #d5e6d9;
}
.play svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
  stroke-width: 0;
}
.divider {
  height: 1px;
  background: #bdd5cc24;
}
.queue-title {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 2px;
  color: #c5d4cf;
  margin: 23px 0 12px;
}
.queue-title span:last-child {
  font-size: 10px;
  letter-spacing: 0;
  color: #8ca7a8;
}
.track {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 11px 9px;
  text-align: left;
  border-radius: 12px;
  margin: 2px 0;
}
.track.active {
  background: #bfd8ca12;
}
.track .index {
  width: 23px;
  text-align: center;
  font-size: 11px;
  color: #8ba8aa;
}
.track.active .index {
  color: #d3e7d8;
}
.track .names {
  flex: 1;
}
.track strong {
  display: block;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 1px;
}
.track small {
  display: block;
  color: #8fa9aa;
  font-size: 10px;
  margin-top: 5px;
}
.track .length {
  font-size: 10px;
  color: #9cb5b5;
  font-variant-numeric: tabular-nums;
}
.volume {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
  color: #a1b9b7;
}
.volume svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.volume input {
  flex: 1;
  height: 3px;
  cursor: pointer;
}
.volume span {
  font-size: 10px;
  width: 26px;
}
.hint {
  text-align: center;
  color: #8ca8a7;
  font-size: 10px;
  letter-spacing: 2px;
  margin-top: 22px;
}
.rain-toggle {
  position: fixed;
  right: 20px;
  bottom: 18px;
  font-size: 11px;
  padding: 9px 13px;
  border-radius: 20px;
  background: #1b333b99;
  border: 1px solid #bcd5ce30;
  backdrop-filter: blur(10px);
  color: #c1d3ce;
}
.notice {
  color: #d3d6b1;
  text-align: center;
  font-size: 11px;
  min-height: 0;
}
.notice:not(:empty) {
  margin-top: 12px;
}
@media (min-width: 1000px) {
  .player {
    margin-right: 30vw;
  }
}
@media (max-width: 520px) {
  .player {
    padding: 24px;
    margin: 22px 0 65px;
  }
  .art {
    height: 155px;
  }
  h1 {
    font-size: 23px;
  }
  .controls {
    padding-bottom: 19px;
  }
  .rain-toggle {
    bottom: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

body {
  display: block;
  overflow: hidden;
  background-color: #122b31;
}
.shade {
  background: linear-gradient(180deg, #05151d24, transparent 40%, #071b2450);
}
.player {
  position: fixed;
  z-index: 5;
  left: 24px;
  bottom: 106px;
  width: 350px;
  max-height: calc(100svh - 140px);
  overflow: auto;
  margin: 0 !important;
  padding: 23px;
  border-radius: 22px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.22s,
    transform 0.22s,
    visibility 0.22s;
  background: linear-gradient(145deg, #203c43e8, #152b31ed);
  scrollbar-width: thin;
  scrollbar-color: #aec6bd55 transparent;
}
.panel-open .player {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.player .art,
.player canvas,
.player .info,
.player .topline .status {
  display: none;
}
.topline {
  margin-bottom: 25px;
  font-size: 11px;
  letter-spacing: 2px;
}
.controls {
  padding: 15px 10px;
}
.controls .play {
  width: 48px;
  height: 48px;
}
.queue-title {
  margin-top: 18px;
}
.volume {
  margin-top: 15px;
}
.close-panel {
  position: absolute;
  right: 13px;
  top: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 23px;
  color: #a4bcb9;
}
.dock {
  position: fixed;
  bottom: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 13px;
  border: 1px solid #e4f5e22a;
  border-radius: 20px;
  background: #142c35a6;
  backdrop-filter: blur(22px);
  box-shadow: 0 7px 30px #0002;
  z-index: 6;
  opacity: 0.76;
  transition: opacity 0.2s;
}
.dock:hover,
.dock:focus-within {
  opacity: 1;
}
.dock-play {
  width: 39px;
  height: 39px;
  border-radius: 50%;
  background: #c6dbcf;
  color: #294449;
}
.dock-play:hover {
  color: #294449;
  background: #e0ede2;
}
.dock-play svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: 0;
}
.dock-open {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 26px 0 0;
  min-width: 128px;
  text-align: left;
}
.dock-label {
  font-size: 9px;
  letter-spacing: 1px;
  color: #9db6b8;
  margin-bottom: 5px;
}
.dock-open strong {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 2px;
}
.dock-chevron {
  position: absolute;
  right: 0;
  top: 11px;
  font-size: 16px;
  color: #afc8c2;
}
.dock-next {
  width: 30px;
  height: 32px;
  color: #c2d5ce;
  border-radius: 50%;
}
.dock-next svg {
  width: 17px;
  height: 17px;
}
.scene-label {
  position: fixed;
  left: 36px;
  top: 34px;
  color: #edf4ee;
  text-shadow: 0 2px 18px #091c24a8;
  pointer-events: none;
}
.scene-label > span {
  font-size: 10px;
  letter-spacing: 5px;
  color: #d0dfdbab;
}
.scene-label h1 {
  font-size: 24px;
  letter-spacing: 6px;
  margin: 12px 0;
  font-weight: 400;
}
.scene-label p {
  font-size: 10px;
  letter-spacing: 3px;
  color: #d2e0dac2;
}
.poem {
  position: fixed;
  right: 6vw;
  top: 17vh;
  width: 300px;
  height: 48vh;
  overflow: hidden;
  text-align: right;
  pointer-events: none;
  mask-image: linear-gradient(transparent, black 15%, black 80%, transparent);
}
#poem-content {
  animation: words-fall 36s linear infinite;
  padding: 0 5px;
  color: #eef6ee;
  text-shadow:
    0 2px 15px #061c23,
    0 0 30px #07191fc0;
  font-family: 'Songti SC', 'Noto Serif CJK SC', serif;
  font-size: 15px;
  letter-spacing: 3px;
  line-height: 3.2;
}
#poem-content p {
  margin: 0;
}
.text-hidden .poem {
  display: none;
}
.text-toggle {
  margin: 17px auto 0;
  font-size: 10px;
  color: #a1bcb5;
  letter-spacing: 1px;
  padding: 5px 10px;
  border-radius: 12px;
}
.rain-toggle {
  bottom: 30px;
  right: 24px;
  background: #142c3566;
  color: #c5d6d0;
  font-size: 10px;
}
.track .length {
  font-size: 9px;
}
.track small {
  letter-spacing: 0.6px;
}
@keyframes words-fall {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(48vh);
  }
}
@media (max-width: 600px) {
  .scene-label {
    left: 25px;
    top: 28px;
  }
  .scene-label h1 {
    font-size: 21px;
  }
  .scene-label p {
    font-size: 9px;
    letter-spacing: 2px;
  }
  .dock {
    left: 16px;
    bottom: 18px;
    gap: 8px;
    padding: 9px 10px;
    border-radius: 17px;
  }
  .dock-open {
    min-width: 112px;
  }
  .dock-open strong {
    font-size: 12px;
  }
  .dock-play {
    width: 35px;
    height: 35px;
  }
  .dock-next {
    width: 25px;
  }
  .player {
    left: 16px;
    bottom: 93px;
    width: min(350px, calc(100vw - 32px));
    max-height: calc(100svh - 120px);
  }
  .poem {
    top: 23vh;
    right: 24px;
    width: 260px;
    height: 42vh;
  }
  #poem-content {
    font-size: 13px;
    letter-spacing: 2px;
    line-height: 3.4;
  }
  .rain-toggle {
    bottom: 29px;
    right: 15px;
    padding: 8px;
    font-size: 9px;
  }
  @keyframes words-fall {
    from {
      transform: translateY(-100%);
    }
    to {
      transform: translateY(42vh);
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  #poem-content {
    animation: none;
    transform: none;
  }
  .player {
    transition: none;
  }
}
#poem-content {
  animation: none;
  position: relative;
  height: 100%;
  padding: 0;
}
#poem-content p {
  position: absolute;
  top: -46px;
  right: 0;
  width: 100%;
  opacity: 0;
  animation: line-fall 30s linear infinite;
  white-space: nowrap;
}
@keyframes line-fall {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  8% {
    opacity: 0.85;
  }
  82% {
    opacity: 0.85;
  }
  100% {
    opacity: 0;
    transform: translateY(calc(48vh + 46px));
  }
}
@media (max-width: 600px) {
  @keyframes line-fall {
    0% {
      opacity: 0;
      transform: translateY(0);
    }
    8% {
      opacity: 0.85;
    }
    82% {
      opacity: 0.85;
    }
    100% {
      opacity: 0;
      transform: translateY(calc(42vh + 46px));
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  #poem-content p {
    position: static;
    opacity: 0.85;
    animation: none;
    line-height: 3;
  }
}
.language-setting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 17px;
  padding-top: 16px;
  border-top: 1px solid #bdd5cc24;
  font-size: 11px;
  color: #b9cdc5;
  letter-spacing: 1px;
}
.language-setting select {
  font: inherit;
  color: #dce9e0;
  background: #1c363b;
  border: 1px solid #a6c7b83d;
  border-radius: 9px;
  padding: 7px 9px;
  cursor: pointer;
}
.language-setting select:focus-visible {
  outline: 2px solid #bed6cb;
  outline-offset: 3px;
}
html[lang='en'] #poem-content {
  font-family: Georgia, serif;
  font-size: 15px;
  letter-spacing: 0.3px;
}
html[lang='en'] #poem-content p {
  white-space: normal;
  line-height: 1.65;
}
html[lang='en'] .poem {
  width: 340px;
}
html[lang='en'] .scene-label h1 {
  letter-spacing: 2px;
}
html[lang='en'] .scene-label p {
  letter-spacing: 1px;
}
html[lang='en'] .dock-open strong {
  letter-spacing: 0.5px;
}
html[lang='en'] .dock-open {
  min-width: 155px;
}
@media (max-width: 600px) {
  html[lang='en'] .poem {
    width: 280px;
  }
  html[lang='en'] #poem-content {
    font-size: 13px;
  }
  html[lang='en'] .dock-open {
    min-width: 128px;
  }
  html[lang='en'] .dock {
    gap: 6px;
  }
  html[lang='en'] .rain-toggle {
    max-width: 80px;
  }
}

.profile-entry {
  position: fixed !important;
  z-index: 30;
  top: 26px;
  right: 28px;
  left: auto;
  display: flex;
  justify-content: flex-end;
}
.profile-trigger {
  display: block;
  width: 43px;
  height: 43px;
  padding: 3px;
  border: 1px solid #e1eddd66;
  border-radius: 50%;
  background: #f4f4e216;
  backdrop-filter: blur(12px);
  box-shadow: 0 3px 15px #0a242333;
  transition:
    box-shadow 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.profile-trigger img {
  display: block;
  width: 35px;
  height: 35px;
  border-radius: 50%;
}
.profile-trigger:hover {
  transform: translateY(-1px);
  background: #e1ebd62b;
  border-color: #f1f6e6b3;
  box-shadow: 0 4px 20px #10292340;
}
.profile-trigger[aria-expanded='true'] {
  box-shadow:
    0 0 0 4px #c4d8c322,
    0 4px 20px #10292333;
  border-color: #f0f5e4b3;
}
.profile-menu[hidden] {
  display: none;
}
.profile-menu {
  position: fixed;
  z-index: 31;
  top: 82px;
  right: 28px;
  width: 236px;
  padding: 19px 10px 0;
  border: 1px solid #ffffffb3;
  border-radius: 18px;
  color: #263e3a;
  background: linear-gradient(135deg, #fbfcf5fa, #eaf0eaf7);
  box-shadow:
    0 22px 65px #061e2d40,
    0 4px 15px #0c26331a,
    inset 0 1px #fff;
  backdrop-filter: blur(32px);
  transform-origin: calc(100% - 20px) top;
  animation: profile-in 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.profile-menu:before {
  content: '';
  position: absolute;
  right: 15px;
  top: -5px;
  width: 9px;
  height: 9px;
  background: #f2f6ed;
  border-left: 1px solid #ffffffa6;
  border-top: 1px solid #ffffffa6;
  transform: rotate(45deg);
  border-radius: 2px 0 0;
}
.profile-menu-head {
  position: relative;
  margin: 0 6px;
  padding: 0 3px 14px;
  border-bottom: 1px solid #31534812;
}
.profile-menu-kicker {
  display: block;
  font-size: 8px;
  line-height: 1.4;
  letter-spacing: 2px;
  color: #7f9589;
  font-weight: 500;
}
.profile-menu h2 {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 1px;
  margin: 5px 0 0;
  color: #2e493f;
}
.profile-close {
  position: absolute;
  right: 0;
  top: 5px;
  width: 23px;
  height: 23px;
  border-radius: 7px;
  color: #8b9d92;
}
.profile-close:hover {
  background: #385e4710;
  color: #365347;
}
.profile-close svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
}
.language-options {
  border: 0;
  margin: 0;
  padding: 8px 0 10px;
  min-width: 0;
}
.language-options legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.language-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 9px 11px;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 11px;
  margin: 2px 0;
  transition: background 0.15s;
}
.language-choice:hover {
  background: #476b5410;
  color: #263e3a;
}
.language-choice[aria-pressed='true'] {
  background: #dce7d75e;
  border-color: #a5bfa728;
}
.language-symbol {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: #5271590a;
  border: 1px solid #789c731a;
  border-radius: 8px;
  font-family: serif;
  font-size: 14px;
  color: #5e7b63;
}
.english-symbol {
  font-family: Georgia, serif;
  font-size: 17px;
}
.language-name {
  flex: 1;
}
.language-name strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.2px;
  color: #304c3f;
}
.language-name small {
  display: block;
  font-size: 9px;
  color: #8a9b8e;
  line-height: 1.5;
  margin-top: 2px;
  letter-spacing: 0.1px;
}
.language-check {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  color: #567b5f;
}
.language-check svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
}
.language-choice[aria-pressed='true'] .language-check svg {
  opacity: 1;
}
.profile-menu-foot {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  border-top: 1px solid #31534810;
  margin: 0 -10px;
  padding: 11px 12px;
  color: #8e9e8f;
  font-size: 8px;
  line-height: 1.5;
  letter-spacing: 0.4px;
  border-radius: 0 0 18px 18px;
  background: #cbdac50c;
}
.profile-menu-foot svg {
  width: 10px;
  height: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.profile-menu button:focus-visible {
  outline: 2px solid #92ad8b;
  outline-offset: 1px;
}
.profile-trigger:focus-visible {
  outline: 2px solid #d3e8ce;
  outline-offset: 5px;
}
html[lang='en'] .profile-menu h2 {
  letter-spacing: 0.1px;
}
@keyframes profile-in {
  from {
    opacity: 0;
    transform: translateY(-5px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (max-width: 600px) {
  .profile-entry {
    top: 24px;
    right: 21px;
  }
  .profile-trigger {
    width: 40px;
    height: 40px;
  }
  .profile-trigger img {
    width: 32px;
    height: 32px;
  }
  .profile-menu {
    right: 21px;
    top: 77px;
    width: 228px;
    max-width: calc(100vw - 42px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .profile-menu {
    animation: none;
  }
}
.sound-mixer {
  padding-top: 17px;
}
.mixer-heading {
  font-size: 10px;
  letter-spacing: 2px;
  color: #b6cfc6;
  margin-bottom: 14px;
}
.mix-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 13px 0;
  font-size: 11px;
  color: #b4ccc3;
}
.mix-label,
.rain-sound-toggle {
  width: 64px;
  flex-shrink: 0;
}
.mix-row input {
  min-width: 0;
  flex: 1;
  height: 3px;
  cursor: pointer;
  accent-color: #bed8c5;
}
.mix-value {
  font-size: 9px;
  width: 28px;
  text-align: right;
  color: #8faea5;
  font-variant-numeric: tabular-nums;
}
.rain-sound-toggle {
  display: flex;
  justify-content: flex-start;
  gap: 5px;
  padding: 3px 0;
  text-align: left;
  color: #bfd9cb;
}
.rain-sound-toggle svg {
  width: 12px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}
.rain-sound-toggle[aria-pressed='false'] {
  color: #7b9892;
}
.rain-sound-toggle[aria-pressed='false'] svg {
  opacity: 0.5;
}
.mixer-note {
  font-size: 9px;
  letter-spacing: 0.5px;
  color: #7e9f96;
  margin: 13px 0 0;
  text-align: center;
}
html[lang='en'] .mix-label,
html[lang='en'] .rain-sound-toggle {
  width: 67px;
}
.library-shell {
  width: min(790px, calc(100vw - 48px));
  padding: 0;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  max-height: min(710px, calc(100svh - 139px));
  overflow: hidden;
  background: linear-gradient(135deg, #263e45f5, #132c35f8);
  box-shadow: 0 28px 90px #03192380;
  border-color: #d2e5da32;
}
.library-header {
  padding: 24px 28px 0;
  flex-shrink: 0;
  background: #1c343b66;
}
.library-header .topline {
  margin: 0;
  font-size: 9px;
  letter-spacing: 2px;
}
.library-header .status {
  display: none;
}
.library-title-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 12px 0 19px;
}
.library-title-row h2 {
  font-size: 23px;
  letter-spacing: 2px;
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
  color: #e5eee6;
}
.library-shell .close-panel {
  position: static;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #d2e7d50b;
  color: #acc5bb;
}
.close-panel svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}
.library-tabs {
  display: flex;
  gap: 25px;
  border-bottom: 1px solid #d2e5d71c;
}
.library-tabs button {
  position: relative;
  padding: 0 1px 13px;
  font-size: 12px;
  color: #8ea9a0;
  letter-spacing: 1px;
}
.library-tabs button[aria-selected='true'] {
  color: #d2e5d3;
}
.library-tabs button[aria-selected='true']:after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: #b7ceb7;
  border-radius: 4px;
}
.library-tabs button:hover {
  background: none;
  color: #e1f0df;
}
.library-view {
  padding: 22px 28px 25px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #a5c2ab35 transparent;
  min-height: 0;
}
.library-search {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid #c2dbcc29;
  border-radius: 12px;
  background: #0b252d3d;
}
.library-search > svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: #94afa2;
  stroke-width: 1.4;
  flex-shrink: 0;
}
.library-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: none;
  background: none;
  color: #e0ebdf;
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.5px;
}
.library-search input::placeholder {
  color: #7e9d92;
}
.library-search:focus-within {
  border-color: #c1d9b977;
  box-shadow: 0 0 0 3px #b4d0ae0a;
}
.library-search input:focus-visible {
  outline: none;
}
.search-hint {
  color: #78988b;
  font-size: 17px;
}
.library-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin: 18px 0 15px;
  flex-wrap: wrap;
}
.library-modes,
.library-categories {
  display: flex;
  align-items: center;
  gap: 5px;
}
.library-modes button {
  font-size: 11px;
  color: #8fab9e;
  letter-spacing: 0.5px;
  border-radius: 8px;
  padding: 7px 10px;
}
.library-modes button:first-child {
  margin-left: -8px;
}
.library-modes button[aria-pressed='true'] {
  background: #bdd8bc14;
  color: #dae9d9;
}
.library-categories {
  gap: 4px;
}
.library-categories button {
  font-size: 10px;
  border: 1px solid #c1d9b61f;
  border-radius: 30px;
  padding: 5px 10px;
  color: #8da99a;
}
.library-categories button[aria-pressed='true'] {
  border-color: #bfd5b860;
  color: #d5e7cd;
  background: #aecaa80a;
}
.library-shell .queue-title {
  display: none;
}
.library-result-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 9px;
  color: #8daa9c;
  letter-spacing: 0.5px;
  margin-bottom: 13px;
}
.library-result-row > span:last-child {
  color: #78978a;
}
.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}
.scene-card {
  position: relative;
  min-width: 0;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, #b6d0be09, #9bb5a403);
  border: 1px solid #d9ebd615;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.scene-card:hover {
  border-color: #c7dec346;
  transform: translateY(-2px);
}
.scene-card.current {
  border-color: #c7e0bc70;
  box-shadow: 0 0 0 1px #c7e0bc09;
}
.scene-select {
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
}
.scene-select:hover {
  background: none;
}
.scene-image {
  height: 115px;
  position: relative;
  overflow: hidden;
  background: #233d40;
}
.scene-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}
.scene-card:hover .scene-image img {
  transform: scale(1.035);
}
.scene-image:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, #08252d55);
}
.scene-current {
  position: absolute;
  bottom: 9px;
  left: 9px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  font-size: 8px;
  border-radius: 6px;
  background: #15362bba;
  color: #d9ead0;
  backdrop-filter: blur(8px);
}
.scene-current:before {
  content: '';
  width: 4px;
  height: 4px;
  background: #c7dfad;
  border-radius: 50%;
}
.scene-details {
  padding: 12px 12px 13px;
}
.scene-details strong {
  display: block;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1.5;
  color: #e0ebdf;
}
.scene-details small {
  display: block;
  font-size: 9px;
  line-height: 1.4;
  color: #8cab9b;
  margin-top: 5px;
  letter-spacing: 0.2px;
}
.scene-tags {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  margin-top: 13px;
  color: #799b88;
  font-size: 8px;
  letter-spacing: 0.4px;
}
.scene-duration {
  color: #96b19a;
  font-variant-numeric: tabular-nums;
}
.scene-save {
  position: absolute;
  z-index: 2;
  top: 8px;
  right: 8px;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #0d293773;
  border: 1px solid #e7f1df30;
  backdrop-filter: blur(9px);
  color: #d0e2cc;
}
.scene-save svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}
.scene-save[aria-pressed='true'] {
  color: #e7e6b5;
  background: #304c3acc;
}
.scene-save[aria-pressed='true'] svg {
  fill: #d1dda0;
}
.scene-save:hover {
  background: #43614ad9;
}
.scene-card button:focus-visible {
  outline: 2px solid #c0dbb5;
  outline-offset: -3px;
}
.library-empty {
  grid-column: 1/-1;
  min-height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  gap: 10px;
  padding: 30px 15px;
  border: 1px dashed #bfd8b623;
  border-radius: 15px;
  color: #b8ccbb;
}
.library-empty svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: #83a18b;
  stroke-width: 1.2;
  margin-bottom: 4px;
}
.library-empty strong {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 1px;
}
.library-empty p {
  font-size: 10px;
  line-height: 1.8;
  color: #809e89;
  margin: 0;
  max-width: 310px;
}
.library-empty button {
  font-size: 10px;
  color: #d0e2c4;
  background: #bdd8bc12;
  padding: 8px 14px;
  border-radius: 8px;
  margin-top: 4px;
}
.scene-load-more {
  margin: 20px auto 0;
  padding: 10px 20px;
  font-size: 11px;
  border: 1px solid #c0daba2b;
  border-radius: 10px;
  color: #bed3ba;
}
.scene-load-more[hidden],
.library-shell [hidden] {
  display: none !important;
}
.sound-view {
  padding: 24px 28px;
  overflow: auto;
  width: 100%;
  max-width: none;
  align-self: stretch;
  scrollbar-width: thin;
  scrollbar-color: #a5c2ab35 transparent;
}
.now-playing {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 22px;
}
.now-art {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  border: 1px solid #c9dfbb26;
}
.library-shell .info {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  margin: 0;
  gap: 5px;
}
.library-shell .info h1 {
  font-size: 18px;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.library-shell .sub {
  font-size: 10px;
  letter-spacing: 0.4px;
  line-height: 1.5;
}
.library-shell .favorite {
  display: grid;
  flex-shrink: 0;
}
.sound-view canvas {
  display: none;
}
.sound-view .sound-mixer {
  border-top: 1px solid #bfd8b61c;
  padding-top: 19px;
}
.library-shell .notice {
  margin: 0;
  padding: 0 24px;
}
.library-shell .notice:not(:empty) {
  padding-top: 9px;
  padding-bottom: 14px;
}
.library-shell .controls {
  padding: 18px 20px 23px;
}
.library-shell .controls .play {
  width: 50px;
  height: 50px;
}
.dock-chevron {
  font-size: 14px;
}
html[lang='en'] .library-title-row h2 {
  letter-spacing: 0.3px;
  font-size: 22px;
}
html[lang='en'] .scene-details strong {
  letter-spacing: 0.1px;
  font-size: 12px;
}
html[lang='en'] .scene-tags {
  font-size: 8px;
  letter-spacing: 0;
}
html[lang='en'] .scene-details small {
  font-size: 8px;
}
@media (max-width: 700px) {
  .library-shell {
    left: 16px;
    width: calc(100vw - 32px);
    bottom: 94px;
    max-height: calc(100svh - 118px);
  }
  .library-header {
    padding: 20px 20px 0;
  }
  .library-title-row h2 {
    font-size: 21px;
  }
  .library-view,
  .sound-view {
    padding: 18px 20px 22px;
  }
  .scene-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }
  .scene-image {
    height: 110px;
  }
  .library-toolbar {
    gap: 10px;
    margin-top: 14px;
  }
  .library-result-row > span:last-child {
    display: none;
  }
  .library-modes button {
    font-size: 10px;
    padding: 7px 8px;
  }
  .scene-details {
    padding: 10px;
  }
  .library-search {
    padding: 11px 12px;
  }
  .library-search input {
    font-size: 11px;
  }
  .library-categories button {
    padding: 5px 9px;
  }
  .scene-current {
    font-size: 7px;
  }
  .scene-tags {
    margin-top: 10px;
  }
}
@media (max-width: 360px) {
  .scene-grid {
    grid-template-columns: 1fr;
  }
  .scene-image {
    height: 125px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .scene-card,
  .scene-image img {
    transition: none;
  }
  .scene-card:hover {
    transform: none;
  }
}

.scene-actions {
  position: fixed;
  top: 28px;
  right: 28px;
  z-index: 24;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border-radius: 30px;
  background: linear-gradient(135deg, #b7d0bf16, #14343b6b);
  border: 1px solid #e4efdb38;
  box-shadow:
    inset 0 1px #f1f7df0d,
    0 6px 26px #0b22252b;
  backdrop-filter: blur(20px);
}
.top-action {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  color: #d2e1d3;
  transition:
    background 0.18s,
    color 0.18s,
    transform 0.18s;
}
.top-action svg {
  width: 17px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: fill 0.2s;
}
.top-action:hover {
  background: #cfdfca17;
  color: #f3f5e5;
  transform: translateY(-1px);
}
.save-action[aria-pressed='true'] {
  color: #d3e2b6;
  background: #c1d7a611;
}
.save-action[aria-pressed='true'] svg {
  fill: #c3d5aa80;
}
.like-action[aria-pressed='true'] {
  color: #e4b7af;
  background: #e7c0ae0c;
}
.like-action[aria-pressed='true'] svg {
  fill: #dfb0a59c;
}
.action-divider {
  width: 1px;
  height: 15px;
  background: #d6e6c926;
  margin: 0 2px;
}
.action-toast {
  position: fixed;
  right: 28px;
  top: 84px;
  z-index: 24;
  max-width: calc(100vw - 48px);
  padding: 9px 13px;
  border-radius: 11px;
  background: #17343add;
  border: 1px solid #d2e2bf23;
  color: #d3e0c7;
  font-size: 10px;
  letter-spacing: 0.4px;
  box-shadow: 0 10px 30px #041b2726;
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.action-toast.visible {
  opacity: 1;
  transform: translateY(0);
}
.dock-divider {
  width: 1px;
  height: 20px;
  background: #c5dfc21f;
  margin: 0 2px;
}
.dock-settings {
  display: grid;
  place-items: center;
  width: 29px;
  height: 32px;
  border-radius: 50%;
  color: #aac5b8;
}
.dock-settings:hover {
  background: #c6ddbd12;
  color: #e4efd7;
}
.dock-settings svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.settings-view {
  align-self: center;
  width: 100%;
  max-width: 470px;
  padding: 30px 28px 29px;
  overflow: auto;
}
.settings-intro {
  padding: 0 2px 24px;
}
.settings-caption {
  font-size: 8px;
  letter-spacing: 3px;
  color: #7f9e8e;
}
.settings-intro h3 {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 1.5px;
  line-height: 1.5;
  color: #dde9d8;
  margin: 12px 0 9px;
}
.settings-intro p {
  font-size: 11px;
  letter-spacing: 0.5px;
  color: #8eac9a;
  margin: 0;
  line-height: 1.8;
}
.settings-language-card {
  padding: 18px;
  border: 1px solid #c2d7b826;
  border-radius: 17px;
  background: linear-gradient(135deg, #bdd2b50a, #09293124);
  box-shadow: inset 0 1px #ebf5d906;
}
.settings-section-label {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 1px 15px;
  border-bottom: 1px solid #c2d7b81a;
  font-size: 11px;
  letter-spacing: 1px;
  color: #c5d8bd;
}
.settings-section-label svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #9cbaa5;
  stroke-width: 1.2;
}
.settings-option-tag {
  margin-left: auto;
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #779984;
}
.settings-view .language-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 17px 0 16px;
  border: 0;
}
.settings-view .language-choice {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 11px;
  min-height: 67px;
  background: #102e351f;
  border: 1px solid #bfd7b61a;
  border-radius: 12px;
  margin: 0;
  position: relative;
}
.settings-view .language-choice:hover {
  background: #b7cfaf0b;
  border-color: #c4dcbb3d;
}
.settings-view .language-choice[aria-pressed='true'] {
  background: linear-gradient(125deg, #c1d8b91a, #9dbcaa07);
  border-color: #bed6af6b;
  box-shadow: 0 2px 12px #08252d26;
}
.settings-view .language-symbol {
  width: 30px;
  height: 32px;
  flex-shrink: 0;
  background: none;
  border: 0;
  border-radius: 0;
  color: #c4d8bc;
  font-size: 20px;
  font-family: serif;
}
.settings-view .english-symbol {
  font-size: 24px;
}
.settings-view .language-name strong {
  color: #dbe7d4;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.5px;
}
.settings-view .language-name small {
  color: #789982;
  font-size: 8px;
  line-height: 1.5;
  margin-top: 4px;
}
.settings-view .language-check {
  position: absolute;
  right: 7px;
  top: 7px;
  width: 13px;
  height: 13px;
  color: #c9dcae;
}
.settings-view .language-check svg {
  width: 12px;
  height: 12px;
  stroke-width: 1.6;
}
.settings-save-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  letter-spacing: 0.4px;
  color: #7f9f85;
  padding: 0 2px;
}
.save-note-dot {
  width: 3px;
  height: 3px;
  background: #a9c49a;
  border-radius: 50%;
}
.settings-language-note {
  font-size: 9px;
  line-height: 1.9;
  letter-spacing: 0.4px;
  color: #71917c;
  max-width: 330px;
  margin: 17px 5px 0;
}
.top-action:focus-visible,
.dock-settings:focus-visible {
  outline: 2px solid #ccdfba;
  outline-offset: 3px;
}
.settings-view .language-choice:focus-visible {
  outline: 2px solid #c2d8b0;
  outline-offset: 3px;
}
.settings-view .language-options legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
html[lang='en'] .settings-intro h3 {
  letter-spacing: 0.2px;
  font-size: 20px;
}
html[lang='en'] .settings-view .language-name small {
  font-size: 7px;
}
html[lang='en'] .dock-open {
  min-width: 128px;
}
@media (max-width: 600px) {
  .scene-actions {
    top: 25px;
    right: 22px;
    padding: 4px;
    gap: 2px;
  }
  .top-action {
    width: 31px;
    height: 31px;
  }
  .top-action svg {
    width: 16px;
    height: 17px;
  }
  .action-toast {
    right: 22px;
    top: 77px;
    font-size: 9px;
  }
  .settings-view {
    padding: 24px 20px;
  }
  .settings-language-card {
    padding: 15px;
  }
  .settings-view .language-choice {
    gap: 5px;
    padding: 12px 6px;
  }
  .settings-view .language-symbol {
    width: 26px;
    font-size: 18px;
  }
  .settings-view .language-name strong {
    font-size: 11px;
  }
  .dock {
    gap: 6px;
  }
  .dock-settings {
    width: 25px;
  }
  .dock-open {
    min-width: 105px;
  }
  .dock-divider {
    margin: 0;
  }
  .rain-toggle {
    max-width: 68px;
    white-space: normal;
    font-size: 9px;
  }
  html[lang='en'] .dock-open {
    min-width: 116px;
  }
  .library-tabs {
    gap: 23px;
  }
}
@media (max-width: 390px) {
  .dock-label {
    font-size: 8px;
  }
  .dock-open {
    min-width: 91px;
  }
  .dock-open strong {
    font-size: 11px;
  }
  .dock-next {
    width: 21px;
  }
  .dock-settings {
    width: 22px;
  }
  .dock-play {
    width: 31px;
    height: 31px;
  }
  html[lang='en'] .dock-open {
    min-width: 105px;
  }
  .settings-view .language-options {
    grid-template-columns: 1fr;
  }
  .settings-view .language-choice {
    min-height: 55px;
  }
  .settings-view .language-name small {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .top-action,
  .action-toast {
    transition: none;
  }
  .top-action:hover {
    transform: none;
  }
}
@media (max-width: 390px) {
  .rain-toggle {
    right: 10px;
    max-width: 58px;
    font-size: 8px;
    padding: 7px;
  }
}
.scene-actions .like-action {
  width: auto;
  min-width: 35px;
  padding: 0 9px;
  display: flex;
  gap: 7px;
}
.like-count {
  font-size: 10px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.2px;
  color: #c3d2b7;
  min-width: 7px;
}
.like-action[aria-pressed='true'] .like-count {
  color: #dcbab0;
}
.like-action[aria-busy='true'] {
  opacity: 0.55;
}
.like-action:disabled {
  cursor: wait;
  transform: none;
}
.fingerprint-note {
  font-size: 9px;
  line-height: 1.8;
  letter-spacing: 0.2px;
  color: #789780;
  margin: 18px 5px 0;
  max-width: 330px;
}
@media (max-width: 600px) {
  .scene-actions .like-action {
    min-width: 31px;
    padding: 0 7px;
    gap: 5px;
  }
  .like-count {
    font-size: 9px;
  }
}
.preferences-sync {
  font-size: 9px;
  letter-spacing: 0.3px;
  line-height: 1.8;
  color: #8eae83;
  margin: 20px 5px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.preferences-sync:before {
  content: '';
  width: 4px;
  height: 4px;
  background: #91a485;
  border-radius: 50%;
  flex-shrink: 0;
}
.preferences-sync.saved:before {
  background: #bfd5a1;
}
.preferences-sync.error {
  color: #c7ab95;
}
.preferences-sync.error:before {
  background: #c7ab95;
}
.preferences-sync.saving {
  color: #a7ba8d;
}
.scene-save:disabled {
  opacity: 0.5;
  cursor: wait;
}
.save-action:disabled {
  opacity: 0.5;
  cursor: wait;
}
canvas#image-rain {
  display: block;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 1;
  z-index: 0;
  pointer-events: none;
}
body .shade {
  z-index: 1;
  pointer-events: none;
}
.scene-label,
.poem {
  z-index: 2;
}
.rain-toggle {
  z-index: 6;
}
canvas#image-rain[hidden] {
  display: none !important;
}

/* Playback settings share the sound panel's palette, type and rhythm. */
.playback-settings {
  margin: 22px 0;
}
.playback-settings h2 {
  margin: 0 0 14px;
  font: inherit;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 2px;
  color: #b6cfc6;
}
.playback-choices {
  display: grid;
  gap: 8px;
}
.playback-choices button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #b6d1c324;
  border-radius: 12px;
  background: #10282c60;
  color: #e0e5d8;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.playback-choices button[aria-pressed='true'] {
  border-color: #b8c8aa99;
  background: #bad0ab12;
}
.playback-icon {
  width: 22px;
  flex-shrink: 0;
  text-align: center;
  font-size: 23px;
  color: #bdcdb6;
}
.playback-choices strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
}
.playback-choices small {
  display: block;
  margin-top: 5px;
  color: #aec2b9;
  font-size: 11px;
  line-height: 1.6;
}
.playback-radio {
  margin-left: auto;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  border: 1px solid #879d8d;
  border-radius: 50%;
}
.playback-choices button[aria-pressed='true'] .playback-radio {
  background: #d1d8b9;
  box-shadow: inset 0 0 0 3px #2b4141;
}
.playback-dwell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin: 17px 0;
  font-size: 11px;
  color: #c2d0c3;
}
.playback-dwell[hidden],
.playback-queue[hidden] {
  display: none;
}
.playback-dwell div {
  display: flex;
  gap: 6px;
}
.playback-dwell button {
  min-height: 36px;
  padding: 6px 9px;
  border: 1px solid #9fb7a333;
  border-radius: 7px;
  color: #b5c9bc;
  background: transparent;
  font: inherit;
  cursor: pointer;
}
.playback-dwell button[aria-pressed='true'] {
  background: #bdd0b329;
  border-color: #b1c5a976;
  color: #eceddd;
}
#playback-description,
#playback-next {
  color: #b0c4b7;
  font-size: 11px;
  line-height: 1.8;
  margin: 12px 0 0;
  overflow-wrap: anywhere;
}
.playback-queue {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
#playback-saved {
  margin-top: 8px;
  padding: 8px 0;
  border: 0;
  color: #d4d8bb;
  font: inherit;
  font-size: 11px;
  background: transparent;
  cursor: pointer;
}
@media (pointer: coarse) {
  .playback-dwell button,
  #playback-saved {
    min-height: 44px;
  }
}
.playback-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Use the full panel width instead of a narrow, scrolling center column. */
.sound-session {
  min-width: 0;
}
.sound-session .now-playing {
  margin-bottom: 18px;
}
.sound-session .sound-mixer {
  margin-top: 22px;
}
.sound-session .mixer-note {
  text-align: left;
  line-height: 1.7;
}
.sound-view > .playback-settings {
  margin: 24px 0 0;
}
@media (min-width: 760px) {
  .sound-view {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 26px;
    align-items: start;
    min-height: 0;
  }
  .sound-view > .playback-settings {
    margin: 0;
    padding-left: 26px;
    border-left: 1px solid #bfd8b61c;
    min-width: 0;
  }
  .sound-session .now-art {
    width: 58px;
    height: 58px;
  }
  .sound-session .mix-label,
  .sound-session .rain-sound-toggle {
    width: 54px;
  }
  .sound-session .mix-row {
    gap: 8px;
  }
}
@media (max-width: 759px) {
  .sound-view > .playback-settings {
    padding-top: 22px;
    border-top: 1px solid #bfd8b61c;
  }
}
