.christmas {
  --text: #fff5e5;
  --muted: #d2bfae;
  --accent: #f5cd8e;
  --border: #5d4a3b;
  min-height: 100vh;
  color-scheme: dark;
  font-family: "DM Sans", system-ui, sans-serif;
  background:
    radial-gradient(ellipse at 82% 0%, #392c23 0%, transparent 52%),
    linear-gradient(160deg, #261d18, #151211 72%);
}

.christmas-app {
  max-width: 1180px;
  padding: 0 clamp(16px, 4vw, 40px) 42px;
  margin: 0 auto;
}

.christmas-header {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.christmas-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  white-space: nowrap;
}

.christmas-brand img {
  object-fit: contain;
  border-radius: 8px;
}

.christmas-brand a {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.christmas-brand a:hover { color: var(--accent); }
.christmas #header-wa { border-radius: 50%; flex-shrink: 0; }
.christmas #header-wa[hidden] { display: none; }

.christmas-nav { display: flex; gap: 8px; }
.christmas-nav[hidden] { display: none; }

.christmas .christmas-nav .channel-chip,
.christmas .christmas-nav .channel-tile {
  color: #f5e8dd;
  background: #352820;
  border-color: #5c473b;
  white-space: nowrap;
}

.christmas .christmas-nav .channel-chip:hover,
.christmas .christmas-nav .channel-tile:hover {
  background: #493529;
  border-color: #ad8060;
}

.christmas-nav--mobile { display: none; }

.christmas-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 464px;
  display: flex;
  align-items: center;
  border: 1px solid #745746;
  border-radius: 28px;
  background: #291e18;
  box-shadow: 0 20px 65px #10080d66;
}

.christmas-art {
  position: absolute;
  inset: 0 0 0 auto;
  width: 70%;
  z-index: -2;
}

.christmas-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.christmas-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #291e18 1%, #291e18a8 22%, transparent 53%),
    linear-gradient(0deg, #291e1866, transparent 36%);
}

.christmas-hero__content {
  padding: clamp(28px, 5vw, 58px);
  width: min(63%, 660px);
  min-width: 0;
}

.christmas-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 11px;
  background: #43271e;
  border: 1px solid #8c5845;
  border-radius: 999px;
  color: #ffe4dd;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.3;
  text-transform: uppercase;
}

.christmas-live > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff727d;
  box-shadow: 0 0 9px #ff727d9c;
}

.christmas-live time:empty { display: none; }

.christmas h1 {
  max-width: 11ch;
  margin: 12px 0 24px;
  color: #fff2db;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3rem, 6.5vw, 5.8rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.04;
  text-wrap: balance;
}

.christmas-track {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px;
  min-width: 0;
  min-height: 74px;
  width: min(100%, 380px);
  border: 1px solid #73513c;
  border-radius: 14px;
  background: #251913ed;
}

.christmas-track img {
  flex: 0 0 54px;
  border-radius: 8px;
  background: #3f2c22;
  object-fit: cover;
}

.christmas-track__text { min-width: 0; }

.christmas-track__label,
.christmas-track strong,
.christmas-track #np-artist {
  display: block;
  overflow-wrap: anywhere;
}

.christmas-track__label {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.christmas-track strong { font-size: 15px; font-weight: 700; }
.christmas-track #np-artist { color: var(--muted); font-size: 13px; }

.christmas-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.christmas-play {
  min-height: 48px;
  min-width: 155px;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #f3cd91;
  color: #311923;
  border: 1px solid #ffe7b7;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.christmas-play:hover { background: #ffe0a9; }
.christmas-play:disabled { cursor: default; opacity: 0.65; }

.christmas-play::before {
  content: "";
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-right-width: 0;
  border-left: 9px solid currentColor;
}

.christmas-play[data-state="stop"]::before {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 2px;
  background: currentColor;
}

.christmas-volume {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--muted);
  font-size: 12px;
}

.christmas-volume input {
  margin: 0;
  width: clamp(85px, 11vw, 130px);
  accent-color: var(--accent);
}

.christmas .status { margin: 10px 0 0; }

.christmas-snow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
  mask-image: linear-gradient(#000 72%, transparent);
}

.christmas-snow span {
  position: absolute;
  top: -28px;
  left: var(--x);
  color: #fff1e1;
  font-family: Georgia, serif;
  font-size: var(--size);
  opacity: 0.65;
  text-shadow: 0 0 9px #ffe5bca6;
  animation: christmas-fall var(--duration) var(--delay) linear infinite;
}

.christmas-snow span::before { content: "❄"; }
.christmas-snow span:nth-child(3n)::before { content: "•"; }
.christmas-snow span:nth-child(3n) { opacity: 0.45; }

@keyframes christmas-fall {
  from { transform: translate3d(0, 0, 0) rotate(-15deg); }
  to { transform: translate3d(var(--drift), 630px, 0) rotate(65deg); }
}

.christmas-recent {
  margin-top: 20px;
  padding: 20px;
  border: 1px solid #514033;
  border-radius: 22px;
  background: #251b16;
}

.christmas-recent__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
}

.christmas-recent h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 600;
}

.christmas-recent__meta { color: var(--muted); font-size: 12px; }

.christmas-recent__controls {
  display: flex;
  gap: 8px;
  min-width: 0;
}

.christmas-recent__controls input,
.christmas-recent__controls button {
  min-height: 40px;
  padding: 8px 11px;
  border: 1px solid #69503d;
  border-radius: 10px;
  background: #1e1612;
  color: var(--text);
  font: inherit;
  font-size: 13px;
}

.christmas-recent__controls input {
  min-width: 0;
  width: min(220px, 40vw);
}

.christmas-recent__controls input::placeholder { color: #bbab9b; }

.christmas-recent__controls button {
  font-weight: 700;
  cursor: pointer;
}

.christmas-recent__controls button:hover { background: #463126; }

.christmas-recent__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  max-height: 306px;
  padding-right: 4px;
  overflow: auto;
  scrollbar-color: #7f6047 #2a1f1a;
}

.christmas-recent .row {
  min-width: 0;
  grid-template-columns: 40px minmax(0, 1fr);
  background: #30241d;
  overflow-wrap: anywhere;
}

.christmas-recent .row img {
  width: 40px;
  height: 40px;
  background: #3b2c24;
}

.christmas-recent .row__time:empty { display: none; }
.christmas :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.christmas-noscript { margin: 0 auto; padding: 18px; text-align: center; }
.christmas-noscript a { color: var(--accent); }

@media (max-width: 720px) {
  .christmas-header { min-height: 68px; }
  .christmas-nav--desktop { display: none; }

  .christmas-nav--mobile {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 12px;
  }

  .christmas-nav--mobile .channel-tile { padding: 9px 3px; }
  .christmas-hero { min-height: 0; border-radius: 22px; }
  .christmas-art { width: 100%; inset: 0 0 auto; height: clamp(212px, 66vw, 360px); }
  .christmas-art img { object-position: right center; }

  .christmas-art::after {
    background: linear-gradient(0deg, #291e18 1%, #291e1870 13%, transparent 29%);
  }

  .christmas-hero__content { width: 100%; padding: clamp(196px, 60vw, 332px) 22px 24px; }
  .christmas h1 { max-width: none; margin: 8px 0 18px; font-size: clamp(2.5rem, 8.2vw, 3.7rem); }
  .christmas-track { width: min(100%, 340px); }
  .christmas-controls { margin-top: 16px; }
  .christmas-volume { display: none; }
  .christmas-recent { margin-top: 14px; padding: 15px; border-radius: 18px; }
  .christmas-recent__header { flex-wrap: wrap; gap: 10px; }
  .christmas-recent__controls { width: 100%; }
  .christmas-recent__controls input { flex: 1; width: auto; }
  .christmas-recent__list { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .christmas-snow { display: none; }
}
