@font-face {
  font-family: Kanit;
  src: url('/fonts/Kanit-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Kanit;
  src: url('/fonts/Kanit-SemiBold.ttf') format('truetype');
  font-weight: 600 800;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #0f0f0f;
  --surface: #202020;
  --line: #303030;
  --text: #f1f1f1;
  --muted: #a2a2a2;
  --red: #ff343d;
  --font: Kanit, system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  min-height: 100%;
  background: var(--bg);
}
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font: 400 15px/1.6 var(--font);
  min-height: 100dvh;
}
button,
input,
a {
  -webkit-tap-highlight-color: transparent;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
  border: 0;
}
button:disabled {
  cursor: default;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}
button svg {
  pointer-events: none;
}
a {
  color: inherit;
  text-decoration: none;
}
[hidden] {
  display: none !important;
}
.icon-library {
  display: none;
}
.icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.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;
}
.app-shell {
  max-width: 760px;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 26px 26px calc(100px + env(safe-area-inset-bottom));
}
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 26px;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -1px;
}
.wordmark-light {
  font-weight: 400;
}
.brand-period {
  color: var(--red);
}
.brand-logo {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
  flex-shrink: 0;
}
.header-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #858585;
}
.room-card {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 22px;
}
.room-icon {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #bbb;
}
.room-icon .icon {
  width: 18px;
  height: 18px;
}
.room-info {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px;
}
.eyebrow {
  font-size: 11px;
  color: #929292;
}
.room-info strong {
  font-size: 13px;
  font-weight: 400;
  overflow-wrap: anywhere;
}
.connection {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #b2c9b8;
  white-space: nowrap;
}
.connection-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #76be8b;
}
.connection[data-state='checking'] {
  color: #aaa;
}
.connection[data-state='checking'] .connection-dot {
  background: #888;
  animation: pulse 1.2s infinite;
}
.connection[data-state='offline'],
.connection[data-state='expired'] {
  color: #ff9096;
}
.connection[data-state='offline'] .connection-dot,
.connection[data-state='expired'] .connection-dot {
  background: #ff6c74;
}
.playback-panel {
  --player-accent: #f4e75a;
  margin-top: 24px;
  border: 1px solid #ffffff12;
  background: linear-gradient(155deg, #20211e, #171816 55%);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 45px #0003, inset 0 1px #ffffff04;
}
.player-art {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(20px, 5vw, 38px);
  min-height: clamp(116px, 22vw, 156px);
  padding: 20px clamp(22px, 6vw, 40px);
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid #ffffff06;
  background: radial-gradient(ellipse at 12% 55%, #e8d95415, transparent 64%), #24251f;
}
.record {
  position: relative;
  flex-shrink: 0;
  width: clamp(76px, 16vw, 108px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid #ffffff14;
  background: repeating-radial-gradient(circle, #24251f 0 3px, #3a3a30 4px, #24251f 5px 7px);
  box-shadow: 0 8px 25px #0005;
}
.record:before {
  content: '';
  position: absolute;
  inset: 28%;
  border-radius: 50%;
  background: var(--player-accent);
}
.record > .icon {
  z-index: 1;
  width: 21px;
  height: 21px;
  color: #33321b;
  stroke-width: 1.6;
}
.record > i {
  position: absolute;
  inset: 7px;
  border: 1px solid #ffffff0a;
  border-radius: 50%;
}
.cover-copy {
  z-index: 1;
}
.cover-copy > span {
  display: block;
  margin-bottom: 9px;
  color: #b4b3a1;
  font: 500 clamp(6px, 1.5vw, 8px) / 1 system-ui, sans-serif;
  letter-spacing: 1.8px;
}
.cover-copy strong {
  font: 700 clamp(17px, 4.3vw, 25px) / 1.15 system-ui, sans-serif;
  letter-spacing: -0.7px;
  color: #f3f1df;
}
.cover-copy em {
  color: var(--player-accent);
  font-style: normal;
}
.art-wave {
  position: absolute;
  inset: 0 6% 0 58%;
  z-index: -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 0.07;
}
.art-wave b {
  height: 25%;
  width: 2px;
  border-radius: 3px;
  background: #e9e3ac;
}
.art-wave b:nth-child(2n) {
  height: 50%;
}
.art-wave b:nth-child(3n) {
  height: 70%;
}
[data-playing='true'] .record {
  animation: record-turn 24s linear infinite;
}
[data-playing='true'] .art-wave b {
  animation: wave 1.6s ease-in-out infinite alternate;
}
[data-playing='true'] .art-wave b:nth-child(2n) {
  animation-delay: -0.8s;
}
.player-details {
  padding: clamp(18px, 4vw, 28px);
}
.player-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 10px;
  color: #b4b5a9;
}
#playback-label {
  display: flex;
  align-items: center;
  gap: 6px;
}
#playback-label:before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8a8c7d;
}
[data-playing='true'] #playback-label:before {
  background: var(--player-accent);
  box-shadow: 0 0 8px #f4e75a40;
}
.remote-tag {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #92948a;
  font-size: 9px;
}
.remote-tag .icon {
  width: 12px;
  height: 12px;
}
.player-details h2 {
  font-size: clamp(20px, 4.8vw, 28px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.3px;
  margin: 0 0 4px;
  overflow-wrap: anywhere;
}
.player-details > p {
  margin: 0;
  color: #999d91;
  font-size: 12px;
}
.timeline {
  margin: 19px 0 8px;
}
.timeline input {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  width: 100%;
  height: 28px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  touch-action: pan-y;
}
.timeline input::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(
    to right,
    var(--player-accent) var(--progress, 0%),
    #41443a var(--progress, 0%)
  );
}
.timeline input::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  margin-top: -4.5px;
  background: #f5f5e9;
  box-shadow: 0 0 0 4px #f5f5e908;
}
.timeline input::-moz-range-track {
  height: 4px;
  border-radius: 4px;
  background: #41443a;
}
.timeline input::-moz-range-progress {
  height: 4px;
  border-radius: 4px;
  background: var(--player-accent);
}
.timeline input::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border: 0;
  border-radius: 50%;
  background: #f5f5e9;
}
.timeline input:disabled {
  opacity: 0.3;
  cursor: default;
}
.time-labels {
  display: flex;
  justify-content: space-between;
  color: #999d91;
  font: 11px/1.5 system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
}
.transport {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 58px minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  width: min(100%, 340px);
  margin: 20px auto 15px;
}
.transport button {
  display: grid;
  place-items: center;
  justify-self: center;
  min-height: 48px;
  color: #e1e4d9;
  background: transparent;
  border-radius: 12px;
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
}
.transport button:hover:not(:disabled) {
  background: #ffffff0a;
}
.transport button:active:not(:disabled) {
  transform: scale(0.93);
}
.transport button:disabled {
  opacity: 0.23;
}
.transport-step {
  position: relative;
  width: 44px;
}
.transport-step > .icon {
  width: 27px;
  height: 27px;
  stroke-width: 1.5;
}
.transport-step small {
  position: absolute;
  top: 22px;
  font: 600 9px/1 system-ui, sans-serif;
}
.transport .transport-main {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--player-accent);
  color: #232618;
  box-shadow: 0 4px 20px #f4e75a13, inset 0 1px #ffffff50;
}
.transport .transport-main:hover:not(:disabled) {
  background: #fff485;
  box-shadow: 0 4px 26px #f4e75a28;
}
.transport-main > .icon {
  width: 29px;
  height: 29px;
}
.transport-skip {
  width: 100%;
  gap: 5px;
  padding: 6px 0;
}
.transport-skip > .icon {
  width: 23px;
  height: 23px;
}
.transport-skip > span {
  font-size: 9px;
  color: #a6aa9d;
  white-space: nowrap;
}
.player-details .playback-status {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid #ffffff08;
  color: #8d9283;
  font-size: 10px;
  text-align: center;
  min-height: 28px;
}
.hero {
  padding: 27px 0 16px;
}
h1 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 6px;
  letter-spacing: -0.4px;
}
.hero-caption {
  font-size: 12px;
  color: #949494;
  margin: 0;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #454545;
  border-radius: 30px;
  background: #121212;
  min-height: 51px;
  overflow: hidden;
  padding-left: 16px;
}
.search-box:focus-within {
  border-color: #888;
}
.search-box > .search-icon {
  width: 19px;
  height: 19px;
  color: #999;
}
.search-box input {
  min-width: 0;
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--text);
  font-size: 13px;
  padding: 12px 0;
}
.search-box input:focus-visible {
  outline: 0;
}
.search-box input::placeholder {
  color: #777;
}
.search-box input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
.search-button {
  align-self: stretch;
  width: 58px;
  display: grid;
  place-items: center;
  background: #282828;
  color: #eee;
  border-left: 1px solid #3b3b3b;
}
.search-button:disabled {
  opacity: 0.5;
}
.clear-button {
  background: transparent;
  color: #aaa;
  display: grid;
  place-items: center;
  padding: 5px;
}
.clear-button .icon {
  width: 17px;
  height: 17px;
}
.status-line {
  display: flex;
  gap: 6px;
  align-items: baseline;
  margin: 9px 3px 0;
  color: #757575;
}
.status-line p {
  font-size: 10px;
  margin: 0;
}
.status-indicator {
  width: 3px;
  height: 3px;
  flex-shrink: 0;
  border-radius: 50%;
  background: currentColor;
}
.status-line[data-tone='error'] {
  color: #ff949a;
}
.status-line[data-tone='success'] {
  color: #9ec4a6;
}
.library {
  margin-top: 24px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.section-heading h2 {
  font-size: 15px;
  font-weight: 400;
  margin: 0;
}
.section-heading > span {
  font-size: 10px;
  color: #777;
}
.song-list {
  display: flex;
  flex-direction: column;
}
.song-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid #262626;
  animation: notice-in 0.2s ease-out;
}
.song-art {
  width: 76px;
  height: 52px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 7px;
  background: linear-gradient(145deg, #473038, #282128);
  color: #c797a1;
}
.song-art .icon {
  width: 23px;
  height: 23px;
  stroke-width: 1.4;
}
.song-card:nth-child(3n + 2) .song-art {
  background: linear-gradient(145deg, #283e43, #1f2a30);
  color: #91b8c2;
}
.song-card:nth-child(3n) .song-art {
  background: linear-gradient(145deg, #433c2a, #2b2920);
  color: #c2b18b;
}
.song-info {
  flex: 1;
  min-width: 0;
}
.song-name {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
  overflow-wrap: anywhere;
}
.song-artist {
  font-size: 11px;
  color: #999;
  margin: 3px 0 1px;
  overflow-wrap: anywhere;
}
.song-code {
  font: 9px/1.5 system-ui, sans-serif;
  color: #686868;
}
.add-button {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 1px solid #3d3d3d;
  background: #282828;
  color: #f3f3f3;
  border-radius: 50%;
  transition: background 0.15s;
}
.add-button span {
  display: none;
}
.add-button .icon {
  width: 20px;
  height: 20px;
}
.add-button:hover:not(:disabled) {
  background: #454545;
}
.add-button:disabled {
  opacity: 0.35;
}
.add-button[data-state='sending'] {
  animation: pulse 1s infinite;
}
.add-button[data-state='accepted'] {
  background: #26392a;
  color: #b4d3bb;
}
.empty-state {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 190px;
  padding: 28px 16px;
  text-align: center;
}
.empty-art {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #202020;
  color: #888;
  margin-bottom: 13px;
}
.empty-art .icon {
  width: 24px;
  height: 24px;
  stroke-width: 1.3;
}
.empty-state h3 {
  font-size: 13px;
  font-weight: 400;
  color: #b3b3b3;
  margin: 0 0 5px;
}
.empty-state p {
  font-size: 11px;
  color: #6f6f6f;
  margin: 0;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.empty-state[data-state='error'] .empty-art {
  color: #e88d95;
  background: #312024;
}
.retry-panel {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 15px;
  border: 1px solid #573438;
  background: #271b1d;
  border-radius: 12px;
  color: #e5b5bb;
}
.retry-panel > svg {
  width: 18px;
}
.retry-panel strong {
  font-size: 12px;
  font-weight: 400;
}
.retry-panel p {
  font-size: 10px;
  color: #b0898e;
  margin: 4px 0 9px;
}
.retry-panel button {
  display: flex;
  align-items: center;
  gap: 7px;
  border-radius: 20px;
  background: #48292e;
  color: #f0c6cc;
  padding: 8px 13px;
  font-size: 11px;
}
.retry-panel button .icon {
  width: 15px;
  height: 15px;
}
.page-footer {
  position: fixed;
  z-index: 10;
  left: 50%;
  bottom: calc(17px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 540px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 20px;
  text-align: left;
  background: #282828f5;
  border: 1px solid #414141;
  border-radius: 15px;
  box-shadow: 0 7px 35px #0007;
  color: #f1f1f1;
  backdrop-filter: blur(16px);
}
.page-footer > span {
  flex: 1;
  font-size: 13px;
}
.page-footer > .icon {
  width: 21px;
  height: 21px;
}
.page-footer .queue-nav-arrow {
  width: 16px;
  height: 16px;
  rotate: -90deg;
  color: #aaa;
}
.page-footer:disabled {
  opacity: 0.4;
}
.page-footer:hover:not(:disabled) {
  background: #383838;
}
.notice {
  position: fixed;
  z-index: 20;
  bottom: calc(98px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 36px);
  max-width: 500px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid #484848;
  background: #292929f5;
  padding: 15px;
  border-radius: 13px;
  box-shadow: 0 10px 40px #0007;
  animation: notice-in 0.2s ease-out;
}
.notice-icon {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #344638;
  color: #cce8d2;
  flex-shrink: 0;
}
.notice-icon .icon {
  width: 17px;
  height: 17px;
}
.notice > div {
  flex: 1;
  min-width: 0;
}
.notice strong {
  font-size: 13px;
  font-weight: 400;
}
.notice p {
  font-size: 10px;
  color: #aaa;
  margin: 1px 0 0;
  overflow-wrap: anywhere;
}
.notice button {
  background: transparent;
  color: #bbb;
  padding: 5px;
  display: grid;
  place-items: center;
}
.notice button .icon {
  width: 18px;
  height: 18px;
}
.skeleton {
  height: 86px;
  border-bottom: 1px solid #262626;
  background: linear-gradient(110deg, #161616 25%, #232323 40%, #161616 55%);
  background-size: 200% 100%;
  animation: shimmer 1.7s infinite;
}
body.sheet-open {
  overflow: hidden;
}
.queue-sheet {
  position: fixed;
  inset: auto 0 0;
  margin: 0 auto;
  width: min(100%, 640px);
  max-width: 100%;
  max-height: min(82dvh, 760px);
  padding: 0;
  border: 1px solid #383838;
  border-bottom: 0;
  border-radius: 23px 23px 0 0;
  background: #181818;
  color: var(--text);
  box-shadow: 0 -18px 80px #0006;
  overflow: hidden;
}
.queue-sheet[open] {
  display: flex;
  flex-direction: column;
  animation: sheet-up 0.32s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.queue-sheet::backdrop {
  background: #0009;
  backdrop-filter: blur(5px);
  animation: sheet-shade 0.25s ease-out both;
}
.queue-sheet[data-closing] {
  animation: sheet-down 0.18s ease-in both;
}
.queue-sheet[data-closing]::backdrop {
  animation: sheet-shade 0.18s ease-in reverse both;
}
.sheet-grip {
  flex-shrink: 0;
  width: 34px;
  height: 4px;
  min-height: 4px;
  border-radius: 4px;
  background: #555;
  margin: 10px auto 0;
}
.sheet-header {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid #333;
}
.sheet-header > div {
  flex: 1;
  min-width: 0;
}
.sheet-header h2 {
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin: 0;
}
.sheet-header p {
  font-size: 11px;
  color: #999;
  margin: 2px 0 0;
  overflow-wrap: anywhere;
}
.sheet-close {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: #333;
  color: #ccc;
}
.sheet-close .icon {
  width: 18px;
  height: 18px;
}
.sheet-content {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 20px 24px calc(28px + env(safe-area-inset-bottom));
}
.sheet-content .empty-state {
  min-height: 180px;
}
.now-playing {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 17px;
  border-radius: 12px;
  background: #282020;
  margin: 0 0 23px;
}
.now-playing > div {
  min-width: 0;
}
.queue-eyebrow {
  font-size: 10px;
  color: #ff8f98;
}
.now-playing h2 {
  font-size: 15px;
  font-weight: 400;
  margin: 2px 0 3px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.now-playing p {
  font-size: 11px;
  color: #aaa;
  margin: 0;
  overflow-wrap: anywhere;
}
.playing-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  min-width: 23px;
  height: 26px;
}
.playing-wave i {
  width: 3px;
  height: 11px;
  background: #eb7e8c;
  border-radius: 3px;
}
.playing-wave i:nth-child(2) {
  height: 23px;
}
.playing-wave i:nth-child(3) {
  height: 16px;
}
.queue-heading > div {
  display: flex;
  align-items: center;
  gap: 13px;
}
.queue-heading span {
  font-size: 10px;
  color: #999;
}
.queue-heading button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #2b2b2b;
  color: #bbb;
}
.queue-heading button:disabled {
  opacity: 0.4;
}
.queue-heading .icon {
  width: 17px;
  height: 17px;
}
.queue-status {
  font-size: 10px;
  color: #888;
  min-height: 17px;
  margin: 6px 0 0;
  line-height: 1.6;
}
.queue-list {
  display: flex;
  flex-direction: column;
}
.queue-song {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid #2b2b2b;
}
.queue-song > span {
  flex-shrink: 0;
  width: 23px;
  font-size: 11px;
  color: #777;
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.queue-song > div {
  min-width: 0;
  flex: 1;
}
.queue-song h3 {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
  overflow-wrap: anywhere;
}
.queue-song p {
  font-size: 10px;
  color: #999;
  line-height: 1.5;
  margin: 3px 0 0;
  overflow-wrap: anywhere;
}
.queue-remove {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #36262a;
  color: #ef9aa5;
  transition: background 0.15s, transform 0.15s;
}
.queue-remove .icon {
  width: 17px;
  height: 17px;
}
.queue-remove:hover:not(:disabled) {
  background: #502e35;
}
.queue-remove:active:not(:disabled) {
  transform: scale(0.92);
}
.queue-remove:disabled {
  opacity: 0.3;
}
.queue-more {
  align-self: center;
  border: 1px solid #444;
  background: #292929;
  color: #ddd;
  border-radius: 24px;
  padding: 10px 22px;
  margin-top: 22px;
  font-size: 11px;
}
.queue-more:disabled {
  opacity: 0.4;
}
@keyframes sheet-up {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes sheet-down {
  to {
    opacity: 0;
    transform: translateY(100%);
  }
}
@keyframes sheet-shade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}
@keyframes pulse {
  50% {
    opacity: 0.3;
  }
}
@keyframes notice-in {
  from {
    opacity: 0;
    translate: 0 8px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@keyframes record-turn {
  to {
    transform: rotate(348deg);
  }
}
@keyframes wave {
  to {
    transform: scaleY(0.4);
  }
}
@media (min-width: 720px) {
  .app-shell {
    padding-top: 40px;
  }
  .masthead {
    margin-bottom: 32px;
  }
  .hero {
    padding-top: 32px;
  }
  .empty-state {
    min-height: 220px;
  }
}
@media (max-width: 460px) {
  .app-shell {
    padding: 21px 18px calc(100px + env(safe-area-inset-bottom));
  }
  .wordmark {
    font-size: 21px;
  }
  .header-label {
    font-size: 8px;
    letter-spacing: 1.3px;
  }
  .masthead {
    margin-bottom: 21px;
  }
  .room-card {
    margin-bottom: 18px;
  }
  .room-info {
    display: block;
  }
  .eyebrow {
    font-size: 9px;
    display: block;
  }
  .room-info strong {
    font-size: 12px;
  }
  .connection {
    font-size: 9px;
  }
  .hero {
    padding: 24px 0 15px;
  }
  h1 {
    font-size: 22px;
  }
  .hero-caption {
    font-size: 11px;
  }
  .search-box input {
    font-size: 12px;
  }
  .search-box {
    min-height: 47px;
    padding-left: 13px;
    gap: 7px;
  }
  .search-button {
    width: 48px;
  }
  .search-box > .search-icon {
    width: 17px;
  }
  .song-art {
    width: 64px;
    height: 47px;
  }
  .song-card {
    gap: 11px;
  }
  .song-name {
    font-size: 13px;
  }
  .song-artist {
    font-size: 10px;
  }
  .add-button {
    width: 36px;
    height: 36px;
  }
  .empty-state {
    min-height: 165px;
  }
  .library {
    margin-top: 19px;
  }
  .section-heading h2 {
    font-size: 14px;
  }
}
@media (max-width: 360px) {
  .app-shell {
    padding-inline: 13px;
  }
  .header-label {
    font-size: 7px;
  }
  .wordmark {
    font-size: 20px;
  }
  .song-art {
    width: 52px;
  }
  .search-box input {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Keep song discovery ahead of the room remote, including on a small phone. */
.hero {
  padding-top: 8px;
}
.search-view .empty-state {
  min-height: 84px;
  padding: 17px 8px;
}
.search-view .empty-art {
  display: none;
}
.connect-panel {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 18px;
  border: 1px solid #55412d;
  border-radius: 12px;
  background: #2a2118;
}
.connect-panel > div {
  flex: 1;
  min-width: 170px;
}
.connect-panel strong {
  font-size: 13px;
  font-weight: 400;
  color: #efc995;
}
.connect-panel p {
  margin: 3px 0 0;
  font-size: 11px;
  color: #c6ad8d;
}
.connect-panel button {
  padding: 10px 14px;
  border-radius: 22px;
  background: #ead6b9;
  color: #271b0c;
  font-size: 12px;
}
.connect-panel button:disabled {
  opacity: 0.5;
}
@media (max-width: 460px) {
  .hero {
    padding-top: 4px;
  }
  .search-view .empty-state {
    min-height: 76px;
  }
}

.search-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  gap: 6px;
  font-size: 12px;
}
.search-button > .icon {
  width: 17px;
  height: 17px;
}
