/* Peraoke Night — a live room on top of the catalogue. */

.night-narrow { max-width: 36rem; }
.night-phone { max-width: 28rem; padding-block: 1.4rem 3rem; }
.night-lead { color: rgba(255,255,255,.78); margin: .8rem 0 1.6rem; font-size: 1.05rem; }
.night-kicker {
  font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  font-size: .78rem; color: var(--teal-ink); margin-bottom: .8rem;
}
.night-form { display: grid; gap: 1rem; }
.night-form label { display: grid; gap: .4rem; font-weight: 600; }
.night-form input[type="text"],
.night-form input[type="search"],
.night-form input[type="tel"],
.night-form input:not([type]),
#guest-search {
  width: 100%; border: 1px solid rgba(0,0,0,.16); border-radius: 10px;
  padding: .75rem .9rem; background: #fff;
}
.night-create .night-form input,
.night-ready .night-form input,
.night-ended .night-form input,
.night-create .night-form label { color: #fff; }
.night-create .night-form input {
  background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); color: #fff;
}
.night-check {
  display: flex !important; align-items: flex-start; gap: .6rem;
  font-weight: 500 !important; color: rgba(255,255,255,.86);
}
.night-check input { margin-top: .25rem; width: 1.1rem; height: 1.1rem; accent-color: var(--teal); }
.night-pin {
  font-size: clamp(2.4rem, 8vw, 3.6rem); font-weight: 800; letter-spacing: .28em;
  color: var(--teal); margin: .4rem 0 1.2rem;
}
.night-pin--ink { color: var(--teal-ink); letter-spacing: .2em; font-size: clamp(1.8rem, 6vw, 2.6rem); }
.night-qr {
  width: min(14rem, 70vw); aspect-ratio: 1; background: #fff; padding: .7rem;
  border-radius: 12px; margin: 0 auto 1rem;
}
.night-qr svg, .night-qr img { width: 100%; height: 100%; display: block; }
.night-qr--sm { width: 9rem; margin: 1rem 0; }
.night-url { word-break: break-all; color: rgba(255,255,255,.7); font-size: .9rem; }
.night-url--ink { color: #111; font-weight: 600; margin: .3rem 0 .8rem; }
.night-share { margin: 1.4rem 0 1.6rem; padding-top: 1.2rem; border-top: 1px solid rgba(0,0,0,.08); }
.night-share-label { font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 0 0 .35rem; }
.night-hint { color: var(--muted); font-size: .92rem; margin-top: .35rem; }
.night-hits-msg { padding: .8rem 1rem; color: var(--muted); }
.night-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }
.night-actions--stack { flex-direction: column; }
.night-host-toggles {
  display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0;
}
.night-host-toggles button {
  background: #f3f4f6; border: 0; border-radius: 999px; padding: .45rem .9rem;
  font-weight: 600; cursor: pointer;
}
.night-now-card {
  background: #111; color: #fff; border-radius: 14px; padding: 1rem 1.1rem;
  margin-bottom: 1.1rem;
}
.night-now-card strong { display: block; font-size: 1.15rem; }
.night-now-card span { color: var(--mint); font-size: .9rem; }
.night-hits {
  margin-top: .4rem; border: 1px solid rgba(0,0,0,.1); border-radius: 12px;
  overflow: hidden; background: #fff;
}
.night-hits button {
  display: block; width: 100%; text-align: left; background: #fff; border: 0;
  border-bottom: 1px solid rgba(0,0,0,.06); padding: .8rem 1rem; cursor: pointer;
}
.night-hits button:last-child { border-bottom: 0; }
.night-hits .t { font-weight: 700; display: block; }
.night-hits .a { color: var(--muted); font-size: .88rem; }
.night-place { margin-top: .8rem; font-weight: 600; color: var(--teal-ink); }
.night-line { display: grid; gap: .45rem; margin-top: 1.2rem; }
.night-line li {
  display: flex; justify-content: space-between; gap: .6rem; align-items: baseline;
  background: #f4f5f6; border-radius: 10px; padding: .7rem .85rem;
}
.night-line .who { font-weight: 700; }
.night-line .song { color: var(--muted); font-size: .88rem; }
.night-line--host li { flex-wrap: wrap; }
.night-line--host .row { flex: 1 1 12rem; }
.night-line--host .tools { display: flex; gap: .3rem; }
.night-line--host .tools button {
  border: 0; background: #fff; border-radius: 8px; padding: .25rem .5rem;
  font-weight: 700; cursor: pointer;
}
.night-clap { margin: 1.2rem 0; text-align: center; }
.night-hearts { display: flex; justify-content: center; gap: .5rem; margin-top: .5rem; }
.night-hearts button {
  font-size: 1.3rem; border: 0; background: #fff0f3; color: #c42b4a;
  border-radius: 999px; padding: .45rem .8rem; cursor: pointer;
}
.night-hearts button.is-on { background: #c42b4a; color: #fff; }
.night-host-door { margin-top: 2rem; text-align: center; }
.night-host-door button {
  background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer;
}
.night-top { display: grid; gap: 1rem; margin: 1.6rem 0; }
.night-top li {
  background: rgba(255,255,255,.08); border-radius: 14px; padding: 1rem 1.2rem;
  display: grid; grid-template-columns: 2.4rem 1fr; gap: .8rem; align-items: center;
}
.night-top .place { font-size: 1.6rem; font-weight: 800; color: var(--teal); }
.night-gone { color: rgba(255,255,255,.65); margin-bottom: 1.4rem; }

html.night-is-tv, html.night-is-tv body {
  background: #000; height: 100%; overflow: hidden;
}
html.night-is-tv .night-chrome,
html.night-is-tv .nav-scrim,
html.night-is-tv .skip-link { display: none !important; }
html.night-is-tv #main { padding: 0; }
.night-tv { position: relative; min-height: 100dvh; background: #000; color: #fff; }
.night-tv__stage { position: relative; min-height: 100dvh; }
.night-tv .player__frame {
  position: absolute; inset: 0; background: #000;
}
.night-tv__now {
  position: absolute; left: 4vw; bottom: 18vh; z-index: 6;
  font-size: clamp(1.6rem, 4.5vw, 3.2rem); font-weight: 800;
  text-shadow: 0 8px 28px rgba(0,0,0,.7);
  max-width: 70vw;
}
.night-tv__now .song { display: block; font-size: .45em; font-weight: 600; color: var(--mint); }
.night-tv__next {
  position: absolute; left: 4vw; bottom: 8vh; z-index: 6;
  font-size: clamp(1rem, 2.4vw, 1.5rem); font-weight: 700; opacity: .9;
  text-shadow: 0 6px 20px rgba(0,0,0,.7);
}
.night-tv__qr {
  position: absolute; right: 3vw; bottom: 6vh; z-index: 6;
  width: min(18vh, 8.5rem); background: #fff; padding: .4rem; border-radius: 10px;
}
.night-tv__go {
  position: absolute; inset: 0; z-index: 8; border: 0; cursor: pointer;
  background: rgba(0,0,0,.45); color: #fff; font-size: 1.6rem; font-weight: 800;
}
.night-tv__glow {
  position: absolute; right: 6vw; top: 8vh; z-index: 6; font-size: 2rem;
  color: #ff8aa0; pointer-events: none; opacity: 0; transition: opacity .3s;
}
.night-tv__glow.is-on { opacity: 1; }

@media (min-width: 900px) {
  .night-phone { max-width: 34rem; }
}
