/* =========================================================
   UNDERSIDE: Program (/program/ = /arrangement/) og egne arrangementer
   Christine 30.11: programmet er «Spilletavla» (ChatGPT-pakka ogna-scene-spilletavla-til-claude.zip),
   med samme dybde på alt: trepanel-topp, månedsskilt, tavle og billettkort i messingramme.
   (Plakatveggen og programheftet ble prøvd samme dag – ligger i git-historikken, commit 485abce.)
   Bygger på fargene i utleie.css. Prefiks: tv-.
   ========================================================= */
.arr-side {
  --tv-messing-ramme:
    0 0 0 2px #2a1a08,
    0 0 0 5px #c48d47,
    0 0 0 7px #7a4f1d,
    0 0 0 9px #e0b06a,
    0 0 0 11px #4a2c10;
  --tv-nagler:
    radial-gradient(circle 7px at 9px 9px, #fff1c8 0 15%, #e2b061 35%, #7a4a12 75%, transparent 80%),
    radial-gradient(circle 7px at calc(100% - 9px) 9px, #fff1c8 0 15%, #e2b061 35%, #7a4a12 75%, transparent 80%),
    radial-gradient(circle 7px at 9px calc(100% - 9px), #fff1c8 0 15%, #e2b061 35%, #7a4a12 75%, transparent 80%),
    radial-gradient(circle 7px at calc(100% - 9px) calc(100% - 9px), #fff1c8 0 15%, #e2b061 35%, #7a4a12 75%, transparent 80%);
}
.arr-side main {
  overflow-x: clip;
  padding: 22px clamp(10px, 1.6vw, 24px) 0;
  background:
    radial-gradient(ellipse at 55% 0, rgba(60, 120, 70, .35), transparent 70%),
    repeating-linear-gradient(45deg, rgba(0, 0, 0, .06) 0 2px, transparent 2px 5px),
    #0f2617;
}
.arr-side.arr-enkelt main { background: none; padding: 0; }
.ph-skjult { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------- toppen: trepanel i messingramme (som fasiten) */
.tv-topp {
  position: relative; overflow: hidden;
  max-width: 1498px; margin: 11px auto 0;
  display: flex; align-items: center; gap: clamp(14px, 2.4vw, 36px);
  min-height: clamp(96px, 9vw, 130px);
  padding: 14px clamp(18px, 3vw, 46px) 14px clamp(70px, 7vw, 110px);
  border-radius: 10px;
  background:
    radial-gradient(ellipse at 75% 10%, rgba(255, 170, 70, .22), transparent 55%),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .2) 0 2px, transparent 2px 110px),
    repeating-linear-gradient(178deg, rgba(255, 220, 160, .04) 0 1px, transparent 1px 6px),
    linear-gradient(180deg, #4a2612, #2a140a 70%, #1e0e07);
  box-shadow: var(--tv-messing-ramme), 0 16px 26px rgba(0, 0, 0, .6), inset 0 0 40px rgba(0, 0, 0, .55);
}
.tv-topp::after { content: ""; position: absolute; inset: 2px; pointer-events: none; background: var(--tv-nagler); }
.tv-topp-stripe {
  position: absolute; left: 0; top: 0; bottom: 0; width: clamp(44px, 4.6vw, 70px);
  background: linear-gradient(90deg, #2d522e 0 25%, #e0a526 25% 50%, #d86f22 50% 75%, #a51b25 75%);
  clip-path: inset(0 0 0 0 round 0 0 46px 0);
  box-shadow: inset -4px 0 8px rgba(0, 0, 0, .4);
}
.tv-topp-merke { font: 400 clamp(17px, 1.8vw, 28px)/1 "Alfa Slab One", serif; color: #f9e6bf; white-space: nowrap; text-shadow: 0 2px 0 rgba(0, 0, 0, .6); }
.underside .tv-topp h1 {
  margin: 0; padding-left: clamp(14px, 2.2vw, 34px); border-left: 2px solid rgba(224, 176, 106, .7);
  font-size: clamp(36px, 4.6vw, 70px); line-height: 1; color: #f9e6bf;
  text-shadow: 0 3px 0 rgba(0, 0, 0, .55), 0 0 24px rgba(255, 170, 70, .25);
}
.tv-paerer { flex: 1; display: flex; justify-content: space-around; align-self: flex-start; margin-top: -14px; pointer-events: none; }
.tv-paerer i {
  position: relative; width: 20px; height: 27px; margin-top: 10px;
  border-radius: 50% 50% 46% 46%;
  background: radial-gradient(circle at 50% 60%, #fff3c4 0 22%, #ffb44d 50%, #c8701c 100%);
  box-shadow: 0 0 14px 4px rgba(255, 180, 77, .55), 0 0 44px 12px rgba(255, 160, 50, .2);
}
.tv-paerer i::before { content: ""; position: absolute; left: 50%; top: -9px; width: 12px; height: 10px; transform: translateX(-50%); background: linear-gradient(#e0b06a, #6a4518); border-radius: 2px; }
.tv-topp-lenke {
  flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font: 600 clamp(15px, 1.3vw, 19px) "Oswald", sans-serif; letter-spacing: .04em; color: #f9e6bf; text-decoration: none;
}
.tv-topp-lenke span:last-child { border-bottom: 2px solid #e0a526; }
.tv-topp-lenke:hover { color: #ffd77a; }
.tv-topp-lenke:focus-visible { outline: 3px solid #ffc060; outline-offset: 3px; }
.arr-enkelt .tv-topp { margin: 22px auto 0; width: calc(100% - 40px); }

.arr-innhold { max-width: 1520px; margin: 0 auto; padding: 26px 0 90px; }
.arr-enkelt .arr-innhold { max-width: 1100px; padding: 70px 24px 110px; }
.arr-status { text-align: center; font: 500 20px "Roboto Slab", serif; color: #e9dcc0; }
.arr-enkelt .arr-status { color: #6a5a4a; }

/* ---------------------------------------------------------------- enkeltside for egne arrangementer */
.arr-sak { max-width: 820px; margin: 0 auto; }
.arr-sak > img { width: 100%; border-radius: 10px; box-shadow: 0 16px 34px rgba(40, 20, 5, .25); margin-bottom: 30px; }
.arr-meta { font: 600 14px "Oswald", sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--rust); }
.underside .arr-sak h2 { font-size: clamp(32px, 4vw, 52px); color: var(--gronn); }
.arr-sak .arr-ingress { font-size: 21px; line-height: 1.6; font-weight: 600; }
.arr-sak .arr-html { font-size: 18px; line-height: 1.7; }
.arr-sak .arr-html img { max-width: 100%; height: auto; }
.arr-tilbake { display: inline-block; margin-top: 40px; font: 600 16px "Oswald", sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--rod); }


/* ---------------------------------------------------------------- TAVLE (Spilletavla – ChatGPT-pakka ogna-scene-spilletavla, 30.11) */
.tv { --tv-krem: #f9e6bf; --tv-papir: #ffedca; --tv-vin: #79181b; --tv-kant: #a87736; --tv-blekk: #171a12; color: var(--tv-krem); }
.tv-skilt {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  margin-bottom: 18px; padding: 12px clamp(14px, 2.4vw, 34px);
  border: 1px solid #ceac74; border-radius: 12px;
  background: var(--papir), linear-gradient(135deg, var(--tv-papir), #e8c79a);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .35);
}
.underside .tv-skilt h2 { margin: 0; font-size: clamp(26px, 3.4vw, 52px); color: #142818; }
.tv-maneder { display: flex; flex-wrap: wrap; gap: 9px; }
.tv-maneder button {
  min-height: 44px; padding: .4em clamp(.7em, 1.6vw, 1.6em);
  border: 1.5px solid var(--tv-vin); border-radius: 8px;
  background: transparent; color: var(--tv-vin);
  font: 400 clamp(15px, 1.3vw, 20px) "Alfa Slab One", serif; cursor: pointer;
}
.tv-maneder button[aria-pressed="true"] { background: var(--tv-vin); color: var(--tv-papir); }
.tv button:focus-visible, .tv a:focus-visible { outline: 3px solid #ffc060; outline-offset: 3px; }

.tv-oppsett { display: grid; grid-template-columns: minmax(0, 1.64fr) minmax(0, 1fr); gap: clamp(12px, 1.5vw, 22px); align-items: start; }
.tv-tavle {
  position: relative; min-width: 0;
  padding: clamp(14px, 1.4vw, 22px);
  border: 5px double var(--tv-kant); border-radius: 16px;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .015) 0 1px, transparent 1px 4px), #191f15;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .55), inset 0 0 30px rgba(0, 0, 0, .6);
}
/* messingnagler i hjørnene */
.tv-tavle::before {
  content: ""; position: absolute; inset: 4px; pointer-events: none;
  background:
    radial-gradient(circle 6px at 8px 8px, #d9a650 40%, #6b4315 70%, transparent 75%),
    radial-gradient(circle 6px at calc(100% - 8px) 8px, #d9a650 40%, #6b4315 70%, transparent 75%),
    radial-gradient(circle 6px at 8px calc(100% - 8px), #d9a650 40%, #6b4315 70%, transparent 75%),
    radial-gradient(circle 6px at calc(100% - 8px) calc(100% - 8px), #d9a650 40%, #6b4315 70%, transparent 75%);
}
.tv-kolonner, .tv-rad {
  display: grid; align-items: stretch;
  grid-template-columns: clamp(88px, 9vw, 130px) minmax(0, 1fr) clamp(80px, 7.5vw, 112px) clamp(30px, 3vw, 44px);
  gap: clamp(5px, .6vw, 9px);
}
.tv-kolonner { padding: 10px 4px 12px; border-bottom: 1px solid var(--tv-kant); font: 400 clamp(14px, 1.2vw, 19px) "Alfa Slab One", serif; color: var(--tv-krem); }
.tv-kolonner span:first-child { text-align: center; }
.tv-rader { list-style: none; margin: 0; padding: 0; }
.tv-rader > li { padding: 7px 0; border-bottom: 1px solid rgba(179, 133, 58, .4); }
.tv-rader > li:last-child { border-bottom: 0; }
.tv-rad {
  width: 100%; padding: 2px; border: 0; border-radius: 8px;
  background: transparent; color: inherit; text-align: left; cursor: pointer; font: inherit;
}
.tv-dato, .tv-tid { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
/* splittflis: lys flis med hengselstrek midt på */
.tv-flis {
  position: relative; display: grid; place-items: center;
  min-height: clamp(46px, 4.6vw, 64px);
  border-radius: 5px;
  background: linear-gradient(#f6dcab 0 49%, #b8925f 49% 51%, #fae3b8 51%);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .18), 0 2px 3px rgba(0, 0, 0, .5);
  font: 700 clamp(17px, 1.6vw, 26px)/1 "Oswald", sans-serif; color: var(--tv-blekk);
}
.tv-flis::before, .tv-flis::after { content: ""; position: absolute; top: calc(50% - 3px); width: 3px; height: 6px; background: #6e5631; border-radius: 1px; }
.tv-flis::before { left: -2px; }
.tv-flis::after { right: -2px; }
.tv-navn {
  display: flex; align-items: center;
  padding: .35em .7em; border-radius: 7px;
  background: linear-gradient(180deg, #2f3628, #20271d);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .5), 0 2px 3px rgba(0, 0, 0, .4);
  font: 400 clamp(16px, 1.5vw, 24px)/1.2 "Alfa Slab One", serif; color: var(--tv-krem);
  overflow-wrap: anywhere;
}
.tv-pil {
  display: grid; place-items: center; border-radius: 7px;
  background: linear-gradient(180deg, #2a3123, #1b2118); font-size: clamp(18px, 1.6vw, 26px); color: var(--tv-krem);
}
.tv-rad:hover .tv-navn { box-shadow: inset 0 0 0 1px #f5c171; }
.tv-rad[aria-pressed="true"] .tv-navn, .tv-rad[aria-pressed="true"] .tv-pil {
  background: linear-gradient(#ffd491, #e9a638); color: var(--tv-blekk);
  box-shadow: inset 0 0 0 1px #f8d186, 0 0 16px rgba(255, 180, 77, .45);
}
.tv-rad[aria-pressed="true"] .tv-flis { background: linear-gradient(#ffe0a3 0 49%, #c9963f 49% 51%, #ffd98f 51%); }
@media (prefers-reduced-motion: no-preference) {
  .tv-navn, .tv-pil { transition: background .2s, color .2s; }
}

/* billettkortet */
.tv-plass { position: sticky; top: 76px; }
.tv-kort {
  --hj: 18px;
  position: relative;
  padding: clamp(20px, 2.2vw, 32px);
  background: var(--papir), linear-gradient(110deg, #f8ddad, #f8e5bf);
  color: #142818;
  -webkit-mask:
    radial-gradient(circle var(--hj) at 0 0, transparent 98%, #000) top left / 51% 51% no-repeat,
    radial-gradient(circle var(--hj) at 100% 0, transparent 98%, #000) top right / 51% 51% no-repeat,
    radial-gradient(circle var(--hj) at 0 100%, transparent 98%, #000) bottom left / 51% 51% no-repeat,
    radial-gradient(circle var(--hj) at 100% 100%, transparent 98%, #000) bottom right / 51% 51% no-repeat;
  mask:
    radial-gradient(circle var(--hj) at 0 0, transparent 98%, #000) top left / 51% 51% no-repeat,
    radial-gradient(circle var(--hj) at 100% 0, transparent 98%, #000) top right / 51% 51% no-repeat,
    radial-gradient(circle var(--hj) at 0 100%, transparent 98%, #000) bottom left / 51% 51% no-repeat,
    radial-gradient(circle var(--hj) at 100% 100%, transparent 98%, #000) bottom right / 51% 51% no-repeat;
}
.tv-kort::before { content: ""; position: absolute; inset: 9px; border: 2px solid var(--tv-vin); border-radius: 12px; pointer-events: none; }
/* halvrunde hakk midt på sidene */
.tv-kort::after {
  content: ""; position: absolute; left: -14px; right: -14px; top: 52%; height: 28px; pointer-events: none;
  background:
    radial-gradient(circle 14px at 50% 50%, #0f2617 97%, transparent) left / 28px 28px no-repeat,
    radial-gradient(circle 14px at 50% 50%, #0f2617 97%, transparent) right / 28px 28px no-repeat;
}
.underside .tv-kort h3 {
  position: relative; margin: 0 0 14px; padding: 4px 6px 12px; border-bottom: 2px solid var(--tv-vin);
  font-size: clamp(28px, 2.8vw, 48px); line-height: 1.05; color: var(--tv-vin);
  overflow-wrap: anywhere; hyphens: auto;
}
.tv-bilde {
  position: relative; display: block; overflow: hidden; aspect-ratio: 5 / 3; border-radius: 8px;
  background: #1a0b04 url("../bilder/ognascene-logo.png") center / 40% no-repeat;
}
.tv-bilde img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.tv-bilde .tv-bakgrunn { object-fit: cover; filter: blur(16px) brightness(.55); transform: scale(1.2); }
.tv-bilde .tv-foto { object-fit: contain; }
.tv-bilde.tom img { display: none; }
.tv-info {
  position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px;
  margin: 14px 0; padding: 10px 6px; border-block: 1.5px solid #94382d;
  font: 600 clamp(17px, 1.4vw, 22px) "Oswald", sans-serif;
}
.tv-sjanger { padding: 2px 10px; border-radius: 5px; background: #d99022; color: #1b1a12; }
.tv-sjanger[hidden] { display: none; }
.tv-knapp {
  position: relative; display: block; padding: .5em .85em; border-radius: 8px;
  background: var(--tv-vin); color: var(--tv-papir);
  font: 400 clamp(19px, 1.7vw, 26px)/1.4 "Alfa Slab One", serif; text-align: center; text-decoration: none;
  transition: filter .2s;
}
.tv-knapp:hover { filter: brightness(1.2); }

@media (max-width: 760px) {
  .tv-oppsett { grid-template-columns: 1fr; }
  .tv-plass { display: none; }
  .tv-kolonner, .tv-rad { grid-template-columns: 82px minmax(0, 1fr) 74px 24px; gap: 4px; }
  .tv-flis { min-height: 44px; font-size: 16px; }
  .tv-navn { font-size: 15px; padding: .3em .5em; }
  .tv-kort { margin: 10px 2px 4px; }
  .tv-kort::after { display: none; }
  .tv-maneder { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; max-width: 100%; }
  .tv-maneder button { flex: none; }
  .tv-skilt { padding: 12px 14px; }
}
@media (max-width: 400px) {
  .tv-kolonner, .tv-rad { grid-template-columns: 70px minmax(0, 1fr) 64px 0; }
  .tv-pil { display: none; }
  .tv-flis { font-size: 14px; }
}

/* ---------------------------------------------------------------- TAVLE: dybde (Christine 30.11: «mangler dimensjon» – nærmere ChatGPT-fasiten) */
/* Rammen: tykk messing i flere lag + blanke nagler */
.tv-tavle {
  border: 0;
  padding: clamp(18px, 1.8vw, 26px) clamp(14px, 1.4vw, 22px);
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 4px),
    radial-gradient(ellipse at 50% 0, #262e20, #161b12 70%);
  box-shadow:
    0 0 0 2px #2a1a08,
    0 0 0 5px #c48d47,
    0 0 0 7px #7a4f1d,
    0 0 0 9px #e0b06a,
    0 0 0 11px #4a2c10,
    0 18px 30px rgba(0, 0, 0, .65),
    inset 0 0 40px rgba(0, 0, 0, .75);
  margin: 11px;
}
.tv-tavle::before {
  inset: 2px;
  background:
    radial-gradient(circle 7px at 9px 9px, #fff1c8 0 15%, #e2b061 35%, #7a4a12 75%, transparent 80%),
    radial-gradient(circle 7px at calc(100% - 9px) 9px, #fff1c8 0 15%, #e2b061 35%, #7a4a12 75%, transparent 80%),
    radial-gradient(circle 7px at 9px calc(100% - 9px), #fff1c8 0 15%, #e2b061 35%, #7a4a12 75%, transparent 80%),
    radial-gradient(circle 7px at calc(100% - 9px) calc(100% - 9px), #fff1c8 0 15%, #e2b061 35%, #7a4a12 75%, transparent 80%);
}

/* Kolonneoverskriften som et mørkt bånd med messingstrek og skiller */
.tv-kolonner {
  margin: 0 -4px 6px; padding: 10px 8px;
  border-bottom: 0; border-radius: 6px 6px 0 0;
  background: linear-gradient(#11150e, #1b2117);
  box-shadow: inset 0 -2px 0 #b58a45, inset 0 2px 6px rgba(0, 0, 0, .8);
  text-shadow: 0 2px 0 rgba(0, 0, 0, .7);
}
.tv-kolonner span + span { padding-left: 12px; border-left: 1px solid rgba(181, 138, 69, .55); }
.tv-kolonner span:first-child { text-align: center; }

/* Hver rad i et nedsenket spor */
.tv-rader > li { padding: 5px 0; border-bottom: 1px solid rgba(181, 138, 69, .35); }
.tv-rad {
  padding: 6px; border-radius: 9px;
  background: linear-gradient(#0b0e09, #141a10);
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, .95), inset 0 -1px 0 rgba(255, 230, 170, .08), 0 1px 0 rgba(255, 230, 170, .05);
}
.tv-dato, .tv-tid {
  padding: 3px; border-radius: 7px;
  background: #0a0c08;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, .9), 0 1px 0 rgba(255, 230, 170, .07);
}

/* Splittflisene: lys over hengselen, skygge under, blank kant, messingstifter */
.tv-flis {
  min-height: clamp(52px, 5vw, 70px);
  border-radius: 6px;
  background:
    linear-gradient(180deg,
      #fff1cf 0, #f6dfb2 46%,
      #8a6a3c 48%, #3a2a14 50%, #c9a874 51.5%,
      #ecd29f 54%, #e1c18a 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .8),
    inset 0 -3px 0 rgba(120, 85, 35, .45),
    inset 1px 0 0 rgba(255, 255, 255, .35),
    0 3px 0 #7d6034,
    0 5px 7px rgba(0, 0, 0, .75);
  font: 700 clamp(22px, 2.3vw, 38px)/1 "Oswald", sans-serif;
  color: #15170f;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .55);
}
.tv-flis::before, .tv-flis::after {
  top: calc(50% - 5px); width: 5px; height: 10px; border-radius: 2px;
  background: linear-gradient(90deg, #6e4a1a, #f0c477 50%, #6e4a1a);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .8);
}
.tv-flis::before { left: -4px; }
.tv-flis::after { right: -4px; }

/* Navnefeltet: avfaset mørk flis med svak delestrek */
.tv-navn {
  border-radius: 7px;
  background:
    linear-gradient(180deg, #3b4433 0, #2a3224 48%, #12160f 49.5%, #1f261b 51%, #242b1f 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .14),
    inset 0 -3px 0 rgba(0, 0, 0, .45),
    0 0 0 1px #0a0c08,
    0 4px 6px rgba(0, 0, 0, .7);
  text-shadow: 0 2px 0 rgba(0, 0, 0, .75);
  font-size: clamp(17px, 1.6vw, 26px);
}
.tv-pil {
  background: linear-gradient(180deg, #343c2d 0, #252c20 48%, #12160f 49.5%, #1d231a 51%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 -3px 0 rgba(0, 0, 0, .45), 0 0 0 1px #0a0c08, 0 4px 6px rgba(0, 0, 0, .7);
  text-shadow: 0 2px 0 rgba(0, 0, 0, .7);
}
.tv-rad:hover .tv-navn { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 -3px 0 rgba(0, 0, 0, .45), 0 0 0 1px #f5c171, 0 4px 6px rgba(0, 0, 0, .7); }

/* Valgt rad: rav som lyser */
.tv-rad[aria-pressed="true"] {
  background: linear-gradient(#2a1c08, #1a1206);
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 190, 90, .5), 0 0 22px rgba(255, 170, 60, .35);
}
.tv-rad[aria-pressed="true"] .tv-navn, .tv-rad[aria-pressed="true"] .tv-pil {
  background: linear-gradient(180deg, #ffe2a6 0, #f9c467 46%, #a9701f 48.5%, #e7a43c 51%, #f2b24c 100%);
  color: #1a1408; text-shadow: 0 1px 0 rgba(255, 240, 200, .6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -3px 0 rgba(130, 80, 10, .45), 0 0 0 1px #ffcf7d, 0 0 18px rgba(255, 175, 60, .65);
}
.tv-rad[aria-pressed="true"] .tv-flis {
  background: linear-gradient(180deg, #fff0c6 0, #ffd98c 46%, #8a6a3c 48%, #3a2a14 50%, #d9a85a 51.5%, #ffd27c 54%, #f4bd5c 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), inset 0 -3px 0 rgba(130, 80, 10, .4), 0 3px 0 #8a6224, 0 0 14px rgba(255, 175, 60, .45);
}

/* Billettkortet kaster skygge (masken klipper box-shadow, så skyggen ligger på plassholderen) */
.tv-plass { filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .6)) drop-shadow(0 2px 2px rgba(0, 0, 0, .4)); }
.tv-kort { background: var(--papir), radial-gradient(ellipse at 30% 20%, #fdecc8, #f1d5a2 75%, #e6c48b); }
.tv-bilde { box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .25), 0 3px 8px rgba(0, 0, 0, .35); }
.tv-knapp {
  background: linear-gradient(#94222a, #6e1418);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), inset 0 -3px 0 rgba(0, 0, 0, .3), 0 4px 0 #4a0c10, 0 8px 12px rgba(0, 0, 0, .35);
  text-shadow: 0 2px 0 rgba(0, 0, 0, .35);
}
.tv-knapp:active { transform: translateY(3px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 0 #4a0c10; }

/* Månedsskiltet og knappene litt mer opphøyd */
.tv-skilt { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -3px 0 rgba(120, 80, 30, .25), 0 8px 18px rgba(0, 0, 0, .5); }
.tv-maneder button { background: linear-gradient(#fff4dc, #f1dcb2); box-shadow: inset 0 1px 0 #fff, 0 2px 0 rgba(121, 24, 27, .35); }
.tv-maneder button[aria-pressed="true"] { background: linear-gradient(#97232b, #6e1418); box-shadow: inset 0 2px 4px rgba(0, 0, 0, .4), 0 1px 0 rgba(255, 255, 255, .4); }

@media (max-width: 760px) {
  .tv-tavle { margin: 9px 4px; padding: 14px 8px; }
  .tv-rad { padding: 4px; }
  .tv-flis { min-height: 46px; font-size: 17px; }
  .tv-flis::before, .tv-flis::after { width: 4px; height: 8px; top: calc(50% - 4px); }
}
@media (max-width: 400px) {
  .tv-flis { font-size: 15px; }
}

/* ---------------------------------------------------------------- samme dybde på alt (Christine 30.11) */
/* Månedsskiltet: papir i messingkant */
.tv-skilt {
  margin: 11px 11px 26px;
  border: 0; border-radius: 10px;
  box-shadow: var(--tv-messing-ramme), inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -3px 0 rgba(120, 80, 30, .25), 0 16px 24px rgba(0, 0, 0, .55);
}
.tv-skilt::after { content: ""; position: absolute; inset: 2px; pointer-events: none; background: var(--tv-nagler); }
.tv-skilt { position: relative; padding-left: clamp(26px, 2.8vw, 40px); padding-right: clamp(26px, 2.8vw, 40px); }
.underside .tv-skilt h2 { text-shadow: 0 2px 0 rgba(255, 255, 255, .5); }
.tv-tavle::before { background: var(--tv-nagler); }

/* Fremhevingen: mindre, og i samme messingramme som tavla */
.tv-oppsett { grid-template-columns: minmax(0, 2.05fr) minmax(0, 1fr); gap: clamp(22px, 2.2vw, 34px); }
.tv-plass {
  top: 20px; margin: 11px;
  padding: clamp(12px, 1.2vw, 18px);
  border-radius: 16px;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 4px),
    radial-gradient(ellipse at 50% 0, #262e20, #161b12 70%);
  box-shadow: var(--tv-messing-ramme), 0 18px 30px rgba(0, 0, 0, .65), inset 0 0 40px rgba(0, 0, 0, .75);
  filter: none;
}
.tv-plass::before { content: ""; position: absolute; inset: 2px; pointer-events: none; background: var(--tv-nagler); }
.tv-kort {
  --hj: 14px;
  padding: clamp(16px, 1.5vw, 22px);
  box-shadow: none;
}
.tv-kort-ramme { display: block; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .7)); }
.tv-kort::after {   /* hakkene i samme mørke farge som tavla rundt */
  background:
    radial-gradient(circle 12px at 50% 50%, #191f15 97%, transparent) left / 24px 24px no-repeat,
    radial-gradient(circle 12px at 50% 50%, #191f15 97%, transparent) right / 24px 24px no-repeat;
  left: -12px; right: -12px; height: 24px;
}
.underside .tv-kort h3 { font-size: clamp(22px, 2vw, 34px); margin-bottom: 12px; padding-bottom: 10px; }
.tv-bilde { aspect-ratio: 16 / 9; }
.tv-info { margin: 10px 0; padding: 8px 4px; font-size: clamp(15px, 1.15vw, 19px); }
.tv-knapp { font-size: clamp(17px, 1.4vw, 22px); padding: .4em .8em; }

@media (max-width: 1100px) {
  .tv-paerer i:nth-child(n+4) { display: none; }
}
@media (max-width: 760px) {
  .tv-oppsett { grid-template-columns: 1fr; gap: 0; }
  .arr-side main { padding-top: 14px; }
  .tv-topp { padding-left: 56px; gap: 12px; flex-wrap: wrap; }
  .tv-topp-stripe { width: 36px; }
  .tv-paerer { display: none; }
  .tv-topp-lenke { margin-left: auto; }
  .tv-skilt { margin: 11px 11px 20px; padding: 14px 18px; }
  .tv-plass { display: none; }
  .tv-kort-ramme { margin: 8px 0 4px; }
  .tv-kort::after { display: none; }
}
@media (max-width: 480px) {
  .tv-topp-merke { display: none; }
  .underside .tv-topp h1 { padding-left: 0; border-left: 0; }
}

/* ---------------------------------------------------------------- billettkortet som ekte konsertbillett (Christine 30.11: «for simpel») */
.tv-kort {
  --pad: clamp(16px, 1.5vw, 22px);
  padding: var(--pad);
  background:
    /* verdipapir-mønster (guilloche) */
    repeating-radial-gradient(circle at 50% 115%, rgba(121, 24, 27, .055) 0 1px, transparent 1px 7px),
    repeating-radial-gradient(circle at 50% -15%, rgba(20, 40, 24, .04) 0 1px, transparent 1px 9px),
    var(--papir),
    radial-gradient(ellipse at 30% 20%, #fdecc8, #f1d5a2 75%, #e6c48b);
}
.tv-kort::after { display: none; }   /* hakkene flyttes til perforeringen */
.tv-kort::before { inset: 8px; border: 1.5px solid var(--tv-vin); border-radius: 10px; box-shadow: inset 0 0 0 3px rgba(248, 229, 191, .9), inset 0 0 0 4px rgba(121, 24, 27, .5); }

/* toppstripe: ★ Ogna Scene presenterer ★ */
.tv-kort-topp {
  position: relative; display: flex; align-items: center; gap: 10px;
  margin: 0 0 6px;
  font: 600 clamp(11px, .85vw, 13px)/1 "Oswald", sans-serif; letter-spacing: .26em; text-transform: uppercase; color: var(--tv-vin);
}
.tv-kort-topp::before, .tv-kort-topp::after { content: ""; flex: 1; height: 0; border-top: 3px double rgba(121, 24, 27, .7); }
.tv-kort-topp span { white-space: nowrap; }

.underside .tv-kort h3 {
  margin: 0 0 12px; padding: 4px 2px 10px;
  border-bottom: 3px double var(--tv-vin);
  text-align: center;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .7), 0 2px 0 rgba(90, 20, 20, .12);
  text-wrap: balance;
}

/* bildet i fotoramme med lysvignett */
.tv-bilde {
  border: 5px solid #fff5de;
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(121, 24, 27, .45), 0 6px 12px rgba(40, 20, 5, .45);
  overflow: visible;
}
.tv-bilde .tv-bakgrunn, .tv-bilde .tv-foto { border-radius: 1px; }
.tv-bilde .tv-bakgrunn { transform: none; inset: 0; }
.tv-bilde { isolation: isolate; }
.tv-bilde::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(ellipse at 50% 30%, transparent 55%, rgba(0, 0, 0, .35));
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .35);
}
/* blekkstempel med datoen */
.tv-stempel {
  position: absolute; z-index: 2; right: -14px; top: -16px;
  display: grid; place-content: center; text-align: center;
  width: clamp(62px, 5.4vw, 78px); aspect-ratio: 1; border-radius: 50%;
  background: rgba(255, 241, 212, .92);
  color: rgba(121, 24, 27, .92);
  box-shadow: 0 0 0 3px rgba(121, 24, 27, .85), inset 0 0 0 3px rgba(255, 241, 212, .9), inset 0 0 0 5px rgba(121, 24, 27, .8), 0 4px 8px rgba(0, 0, 0, .35);
  transform: rotate(12deg);
}
.tv-stempel b { font: 400 clamp(22px, 2vw, 30px)/.95 "Alfa Slab One", serif; }
.tv-stempel span { font: 600 clamp(11px, .9vw, 13px)/1 "Oswald", sans-serif; letter-spacing: .22em; text-transform: uppercase; margin-left: .22em; }

/* billettfeltene */
.tv-felt {
  display: grid; grid-template-columns: 1.6fr .8fr 1.2fr;
  margin: 14px 0 0; padding: 0;
  border-top: 1.5px solid var(--tv-vin); border-bottom: 1.5px solid var(--tv-vin);
}
.uten-sjanger .tv-felt { grid-template-columns: 1.6fr 1fr; }
.tv-felt > div { padding: 8px 10px 9px; min-width: 0; }
.tv-felt > div + div { border-left: 1.5px dotted rgba(121, 24, 27, .7); }
.tv-felt > div[hidden] { display: none; }
.tv-felt dt { font: 600 10.5px/1 "Oswald", sans-serif; letter-spacing: .24em; text-transform: uppercase; color: rgba(121, 24, 27, .85); }
.tv-felt dd { margin: 5px 0 0; font: 600 clamp(15px, 1.15vw, 19px)/1.15 "Oswald", sans-serif; color: #142818; overflow-wrap: anywhere; }
.tv-felt .tv-sjanger { display: inline-block; padding: 1px 8px 2px; border-radius: 4px; background: #d99022; color: #1b1a12; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15); }

/* avriv-delen: perforering med hakk i kantene, knapp, nummer og strekkode */
.tv-stubb { position: relative; margin-top: 16px; padding-top: 18px; }
.tv-stubb::before {
  content: ""; position: absolute; top: 0; left: 6px; right: 6px;
  border-top: 3px dotted rgba(121, 24, 27, .75);
}
.tv-stubb::after {
  content: ""; position: absolute; top: -12px; height: 24px; pointer-events: none;
  left: calc(-1 * var(--pad) - 12px); right: calc(-1 * var(--pad) - 12px);
  background:
    radial-gradient(circle 12px at 50% 50%, #191f15 97%, transparent) left / 24px 24px no-repeat,
    radial-gradient(circle 12px at 50% 50%, #191f15 97%, transparent) right / 24px 24px no-repeat;
}
.tv-knapp { outline: 1.5px dashed rgba(255, 237, 202, .45); outline-offset: -7px; }
.tv-knapp:focus-visible { outline: 3px solid #ffc060; outline-offset: 3px; }
.tv-nr {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 12px 2px 0;
  font: 400 12px/1 "Special Elite", "Courier New", monospace; letter-spacing: .08em; color: rgba(121, 24, 27, .9);
}
.tv-strekkode {
  flex: 0 1 120px; height: 22px; opacity: .8;
  background: repeating-linear-gradient(90deg,
    #2a1a0e 0 2px, transparent 2px 3px, #2a1a0e 3px 4px, transparent 4px 7px,
    #2a1a0e 7px 10px, transparent 10px 11px, #2a1a0e 11px 12px, transparent 12px 15px);
}

/* lite hopp når kortet bytter innhold */
@media (prefers-reduced-motion: no-preference) {
  .tv-kort.bytt { animation: tv-bytt .32s cubic-bezier(.3, 1.4, .5, 1); }
  @keyframes tv-bytt { from { transform: translateY(6px) rotate(-.6deg); opacity: .4; } }
}
.tv-felt .tv-sjanger { overflow-wrap: normal; }
.tv-nr-tekst { white-space: nowrap; }
@media (max-width: 1250px) and (min-width: 761px), (max-width: 460px) {
  .tv-felt, .uten-sjanger .tv-felt { grid-template-columns: 1.5fr 1fr; }
  .tv-felt > .tv-f-sj { grid-column: 1 / -1; border-left: 0; border-top: 1.5px dotted rgba(121, 24, 27, .7); display: flex; align-items: baseline; gap: 10px; }
  .tv-felt > .tv-f-sj[hidden] { display: none; }
  .tv-f-sj dd { margin: 0; }
  .tv-strekkode { flex-basis: 70px; }
}
@media (max-width: 760px) {
  .tv-stubb::after { display: none; }
  .tv-stempel { right: -6px; top: -12px; }
}

/* ---------------------------------------------------------------- mobil: lavere, mer lesbare rader (Christine 30.11) */
.tv-flis-hel { display: none; }
@media (max-width: 760px) {
  .tv-tavle { padding: 12px 6px; }
  .tv-kolonner { display: none; }
  .tv-rader > li { padding: 4px 0; }
  .tv-kolonner, .tv-rad { grid-template-columns: 66px minmax(0, 1fr) 54px; gap: 6px; }
  .tv-rad { padding: 4px; align-items: center; }
  .tv-pil { display: none; }
  .tv-dato, .tv-tid { padding: 2px; gap: 2px; align-self: stretch; }
  .tv-tid { grid-template-columns: 1fr; }
  .tv-tid .tv-flis:not(.tv-flis-hel) { display: none; }
  .tv-flis-hel { display: grid; }
  .tv-flis {
    min-height: 40px; border-radius: 4px;
    font-size: 15px; letter-spacing: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), inset 0 -2px 0 rgba(120, 85, 35, .45), 0 2px 0 #7d6034, 0 3px 4px rgba(0, 0, 0, .7);
  }
  .tv-flis::before, .tv-flis::after { width: 3px; height: 6px; top: calc(50% - 3px); }
  .tv-flis::before { left: -2px; } .tv-flis::after { right: -2px; }
  .tv-navn {
    min-height: 44px; padding: 7px 10px;
    font: 400 15px/1.25 "Alfa Slab One", serif;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .7);
    overflow-wrap: break-word; hyphens: auto;
    background: linear-gradient(180deg, #353e2e, #232a1f);   /* ingen delestrek gjennom teksten på små skjermer */
  }
  .tv-rad[aria-pressed="true"] .tv-navn { background: linear-gradient(180deg, #ffdf9e, #f2b24c); }
  .tv-rad[aria-pressed="true"] .tv-flis { background: linear-gradient(180deg, #fff0c6 0, #ffd98c 46%, #8a6a3c 48%, #3a2a14 50%, #d9a85a 51.5%, #ffd27c 54%, #f4bd5c 100%); }
}
@media (max-width: 380px) {
  .tv-kolonner, .tv-rad { grid-template-columns: 58px minmax(0, 1fr) 50px; gap: 5px; }
  .tv-flis { font-size: 13.5px; }
  .tv-navn { font-size: 14px; }
}
@media (max-width: 760px) {
  .tv-kolonner, .tv-rad { grid-template-columns: 74px minmax(0, 1fr) 58px; }
  .tv-dato, .tv-tid { align-self: center; }
  .tv-flis { min-height: 0; height: 42px; }
  .tv-navn { hyphens: manual; overflow-wrap: anywhere; word-break: normal; }
}
@media (max-width: 380px) {
  .tv-kolonner, .tv-rad { grid-template-columns: 66px minmax(0, 1fr) 52px; }
}

/* ---------------------------------------------------------------- beskrivelsen i billettkortet (Melodypipe-API, Christine 2.12) */
.tv-om { margin: 12px 2px 0; }
.tv-om[hidden] { display: none; }
.tv-om-tekst {
  max-height: 4.6em; overflow: hidden;
  font: 400 clamp(13.5px, .95vw, 15px)/1.5 "Roboto Slab", serif; color: #2b2116;
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent);
          mask-image: linear-gradient(180deg, #000 60%, transparent);
}
.tv-om-tekst p { margin: 0 0 .55em; }
.tv-om-tekst hr { margin: .7em 25%; border: 0; border-top: 2px dotted rgba(121, 24, 27, .55); }
.tv-om.apen .tv-om-tekst {
  max-height: min(44vh, 420px); overflow-y: auto; padding-right: 6px;
  -webkit-mask-image: none; mask-image: none;
  scrollbar-width: thin; scrollbar-color: rgba(121, 24, 27, .6) transparent;
}
.tv-om-knapp {
  margin-top: 6px; padding: 3px 0; border: 0; background: none; cursor: pointer;
  font: 600 12px/1 "Oswald", sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--tv-vin);
  border-bottom: 1.5px dotted currentColor;
}
.tv-om-knapp::after { content: " ▾"; letter-spacing: 0; }
.tv-om.apen .tv-om-knapp::after { content: " ▴"; }
.tv-om-knapp:hover { color: #a3242a; }
.tv-om-knapp:focus-visible { outline: 2px solid var(--tv-vin); outline-offset: 3px; }
.tv-om-knapp[hidden] { display: none; }
@media (max-width: 760px) {
  .tv-om.apen .tv-om-tekst { max-height: none; overflow: visible; }
}
.tv-kort.kompakt .tv-bilde { aspect-ratio: 3 / 1; }
