/* LARS 500 – scenemodus og setliste (Til 10 #2).
   Minst 16 px tekst, høy kontrast, PANIKK alltid synlig. */

body.scenemodus #visScene {
  z-index: 6;
  background: #050506;
  color: #F6F5F0;
}

/* Sikkerhetsnett: ingen scene-tekst under 16 px, uansett element. */
/* Uten ID-selektor, slik at større titler (høyere klasse-spesifisitet) vinner. */
body.scenemodus .scene,
body.scenemodus .scene * {
  font-size: max(1.6rem, 16px);
}

/* Aldri under 16 px, heller ikke når 1rem skalerer under 10 px. */
body.scenemodus .scene,
body.scenemodus .scene .hint,
body.scenemodus .scene small,
body.scenemodus .scene .neste-l,
body.scenemodus .scene .prog,
body.scenemodus .scene .etikett,
body.scenemodus .scene .liste li,
body.scenemodus .scene .lknapper .knapp,
body.scenemodus .scene .setlist-verktoy .knapp,
body.scenemodus .scene .setlist-hint,
body.scenemodus .scene .setlist-etasjer,
body.scenemodus .scene label {
  font-size: max(1.6rem, 16px);
  color: #F6F5F0;
}

body.scenemodus .scene .sangnr small,
body.scenemodus .scene .tre small,
body.scenemodus .scene .neste-l small,
body.scenemodus .scene .prog small,
body.scenemodus .scene .etikett,
body.scenemodus .scene .liste li b {
  font-size: max(1.6rem, 16px);
  color: #E8E6DC;
  letter-spacing: 0.14em;
}

body.scenemodus .scene .liste li span {
  font-size: max(2rem, 20px);
  color: #F6F5F0;
}

body.scenemodus .scene .liste li.na {
  background: #C9A961;
  border-color: #C9A961;
}
body.scenemodus .scene .liste li.na b,
body.scenemodus .scene .liste li.na span {
  color: #0B0B0C;
}

body.scenemodus .scene .tittel {
  font-size: max(5.6rem, 56px);
  color: #FFFFFF;
  line-height: 0.95;
  text-shadow: 0 0 1.2rem rgba(255, 255, 255, 0.12);
}

body.scenemodus .scene .sangnr b {
  font-size: max(12rem, 96px);
  color: #FFFFFF;
}

body.scenemodus .scene .sangnr span {
  font-size: max(4rem, 40px);
  color: #D0D2D6;
}

body.scenemodus .scene .tre b,
body.scenemodus .scene .tre b.ak {
  font-size: max(5.6rem, 56px);
  color: #FFFFFF;
}

body.scenemodus .scene .neste-l {
  font-size: max(2.6rem, 26px);
  color: #F6F5F0;
}

body.scenemodus .scene .hint {
  color: #E8E6DC;
}
body.scenemodus .scene .hint .tast {
  font-size: max(1.6rem, 16px);
  color: #FFFFFF;
  border-color: #F6F5F0;
}

body.scenemodus .scene .lknapper .knapp,
body.scenemodus .scene .setlist-verktoy .knapp {
  font-size: max(1.8rem, 18px);
  min-height: 44px;
  color: #F6F5F0;
  border: 2px solid #F6F5F0;
  background: #121214;
}

body.scenemodus .scene .lknapper .knapp.primar,
body.scenemodus .scene .setlist-verktoy .knapp.primar {
  background: #C9A961;
  color: #0B0B0C;
  border-color: #C9A961;
}

/* PANIKK alltid synlig, stor og lesbar på to meter. */
body.scenemodus .hoyre-k {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1.2rem;
  min-width: 28rem;
}
body.scenemodus .scene-panikk,
body.scenemodus #btnScenePanikk {
  position: sticky;
  bottom: 0;
  z-index: 50;
  flex: none;
  display: flex !important;
  min-height: max(18rem, 180px);
  height: auto;
  width: 100%;
  border: 0.5rem solid #FF2E2E;
  background: radial-gradient(circle at 50% 40%, #FF5A4F, #B0111A 60%, #5A070B);
  color: #FFFFFF;
  box-shadow: 0 0 4rem rgba(255, 46, 46, 0.45);
}
body.scenemodus .scene-panikk span,
body.scenemodus #btnScenePanikk span {
  font: 800 max(5.2rem, 52px)/1 var(--f-display, "Barlow Condensed", sans-serif);
  letter-spacing: 0.06em;
  color: #FFFFFF;
}
body.scenemodus .scene-panikk small,
body.scenemodus #btnScenePanikk small {
  font-size: max(1.8rem, 18px);
  color: #FFE1DE;
}
body.scenemodus .scene-panikk em,
body.scenemodus #btnScenePanikk em {
  font-size: max(1.6rem, 16px);
  color: #FFFFFF;
}

/* Ekstra setliste-detaljer og verktøy */
.setlist-etasjer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem 1.2rem;
  margin-top: 0.6rem;
}
.setlist-etasjer div {
  background: #0E0E10;
  border: 1px solid #3A3D44;
  border-radius: 0.8rem;
  padding: 0.8rem 1rem;
}
.setlist-etasjer small {
  display: block;
  font: 700 max(1.6rem, 16px)/1 var(--f-display, "Barlow Condensed", sans-serif);
  letter-spacing: 0.16em;
  color: #E8E6DC;
  margin-bottom: 0.3rem;
}
.setlist-etasjer b {
  font: 700 max(2.2rem, 22px)/1.15 var(--f-display, "Barlow Condensed", sans-serif);
  color: #FFFFFF;
}
.setlist-etasjer div.paa {
  border-color: #C9A961;
  box-shadow: inset 0 0.4rem 0 #C9A961;
}
.setlist-verktoy {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.8rem;
}
.setlist-hint {
  margin-top: 0.6rem;
  line-height: 1.35;
  color: #F6F5F0;
}
.setlist-sjekk {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.6rem;
  color: #F6F5F0;
  font-size: max(1.6rem, 16px);
  cursor: pointer;
}
.setlist-sjekk input {
  width: 1.2em;
  height: 1.2em;
}

/* På smale skjermer: behold 16 px og hold PANIKK i bildet. */
@media (max-width: 1100px) {
  body.scenemodus .hoyre-k {
    width: auto;
    min-width: 22rem;
  }
  body.scenemodus .scene-panikk,
  body.scenemodus #btnScenePanikk {
    min-height: max(14rem, 140px);
  }
}
@media (max-height: 700px) {
  body.scenemodus .scene .tittel { font-size: max(4rem, 40px); }
  body.scenemodus .scene .sangnr b { font-size: max(7rem, 70px); }
  body.scenemodus .scene-panikk,
  body.scenemodus #btnScenePanikk { min-height: max(12rem, 120px); }
}
