.jukebox-page {
  max-width: 560px;
  margin: 0 auto;
}
.jukebox-page__hint {
  text-align: center;
  color: #666;
  margin: 0 0 1.2rem;
}
.jukebox-page__style-hint {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  background: #f7f7f7;
  color: #666;
  font-size: 0.82rem;
  line-height: 1.3;
}
.jukebox-page__style-hint i {
  color: var(--rouge-gc);
  flex-shrink: 0;
  font-size: 1.1em;
}
.jukebox-page__now-playing {
  display: none;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1.4rem;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  background: #f7f7f7;
}
.jukebox-page__now-playing--visible {
  display: flex;
}
.jukebox-page__now-playing-art {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}
.jukebox-page__now-playing-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.jukebox-page__now-playing-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #999;
  font-weight: 700;
}
.jukebox-page__now-playing-title {
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.jukebox-page__now-playing-artist {
  font-size: 0.82rem;
  color: #777;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.jukebox-page__now-playing-suggester {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--rouge-gc);
}
.jukebox-page__now-playing-suggester:empty {
  display: none;
}
.jukebox-page__queue {
  margin: 0 0 1.4rem;
}
.jukebox-page__queue:empty {
  margin: 0;
}
.jukebox-page__queue-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #999;
  font-weight: 700;
  margin: 0 0 0.4rem;
}
.jukebox-page__queue-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  border: 1px solid transparent;
}
.jukebox-page__queue-item:not(:last-child) {
  margin-bottom: 0.3rem;
}
.jukebox-page__queue-item--suggested {
  border-color: rgba(191, 5, 5, 0.25);
  background: rgba(191, 5, 5, 0.04);
}
.jukebox-page__queue-art {
  width: 38px;
  height: 38px;
  border-radius: 5px;
  object-fit: cover;
  flex-shrink: 0;
}
.jukebox-page__queue-art--placeholder {
  background: #eee;
}
.jukebox-page__queue-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.jukebox-page__queue-text {
  font-size: 0.85rem;
  color: #777;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.jukebox-page__queue-suggester {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--rouge-gc);
}
.jukebox-page__gate {
  text-align: center;
  padding: 2.5rem 1rem;
}
.jukebox-page__gate-icon {
  font-size: 2.5rem;
  margin: 0 0 0.8rem;
}
.jukebox-page__gate-text {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}
.jukebox-page__gate-hint {
  font-size: 0.85rem;
  color: #888;
  margin: 0;
}
.jukebox-page__table-bar {
  text-align: center;
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 1.2rem;
  min-height: 1.2rem;
}
.jukebox-page__name {
  margin-bottom: 1rem;
}
.jukebox-page__name input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.6rem 0.9rem;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  font-size: 0.9rem;
}
.jukebox-page__name input:focus {
  outline: none;
  border-color: var(--rouge-gc);
}
.jukebox-page__name input[readonly] {
  background: rgba(0, 0, 0, 0.05);
  color: inherit;
  cursor: default;
}
.jukebox-page__search {
  position: relative;
  margin-bottom: 2rem;
}
.jukebox-page__search input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  font-size: 1rem;
}
.jukebox-page__search input:focus {
  outline: none;
  border-color: var(--rouge-gc);
}
.jukebox-page__results {
  margin-top: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.jukebox-page__results-empty,
.jukebox-page__results-error {
  text-align: center;
  color: #999;
  font-size: 0.85rem;
  margin: 0.6rem 0;
}
.jukebox-page__result {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  text-align: left;
  padding: 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease-out, background 0.15s ease-out;
}
.jukebox-page__result:hover {
  border-color: var(--rouge-gc);
  background: rgba(191, 5, 5, 0.03);
}
.jukebox-page__result-img {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}
.jukebox-page__result-img--placeholder {
  background: #eee;
}
.jukebox-page__result-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.jukebox-page__result-title {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.jukebox-page__result-artist {
  font-size: 0.8rem;
  color: #777;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.jukebox-page__explicit-badge {
  display: inline-block;
  margin-left: 4px;
  padding: 0 4px;
  border-radius: 3px;
  background: #333;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
}
.jukebox-page__mine-title {
  font-size: 1.1rem;
  margin: 0 0 0.8rem;
}
.jukebox-page__mine-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.jukebox-page__mine-empty {
  color: #999;
  font-size: 0.85rem;
}
.jukebox-page__mine-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  background: #f7f7f7;
  font-size: 0.88rem;
}
.jukebox-page__mine-item--rejected {
  background: #fdecec;
}
.jukebox-page__mine-item--approved,
.jukebox-page__mine-item--queued {
  background: #eaf7ee;
}
.jukebox-page__mine-track {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.jukebox-page__mine-status {
  flex-shrink: 0;
  font-size: 0.8rem;
  color: #555;
}
.jukebox-page__app-links {
  margin: 12px 0 0;
  font-size: 0.85rem;
  color: #777;
  text-align: center;
}
.jukebox-page__app-links a {
  color: var(--main);
  text-decoration: underline;
}
