/* DBR Festival Companion — frontend. Alt er scoped under .dbrfc-app.
   Tokens = Standard-preset; Metal + tilpasning kommer via Design-laget (Fase 5),
   der overskriver disse custom properties. Ingen globale selectors.
   Det visuelle "skelet" (uppercase/tracked chrome, flade kort, kunstner-kort
   m. hjørnemærke) er fælles for alle presets, jf. designreferencen — kun
   farver/typografi/hjørne-profil varierer pr. preset. */

.dbrfc-app {
	--dbrfc-primary: #5c94db;
	--dbrfc-secondary: #14202c;
	--dbrfc-background: #ffffff;
	--dbrfc-surface: #f4f6f9;
	--dbrfc-surface-elevated: #ffffff;
	--dbrfc-text: #14202c;
	--dbrfc-text-muted: #5c6b7a;
	--dbrfc-border: rgba(20, 32, 44, 0.14);
	--dbrfc-danger: #b91c1c;
	--dbrfc-warn: #b45309;
	--dbrfc-live: #16a34a;

	--dbrfc-heading-font: inherit;
	--dbrfc-body-font: inherit;

	--dbrfc-radius-small: 4px;
	--dbrfc-radius-medium: 8px;
	--dbrfc-radius-large: 14px;

	--dbrfc-space-xs: 4px;
	--dbrfc-space-sm: 8px;
	--dbrfc-space-md: 16px;
	--dbrfc-space-lg: 24px;
	--dbrfc-space-xl: 40px;

	font-family: var(--dbrfc-body-font);
	color: var(--dbrfc-text);
	box-sizing: border-box;
}
.dbrfc-app *, .dbrfc-app *::before, .dbrfc-app *::after { box-sizing: inherit; }

/* Basislink-farve, så almindelige tekstlinks (fx i en band-bio) følger
   festivalens accentfarve i stedet for browserens/temaets blå standard.
   Komponenter med deres egen linkfarve (knapper, nav, badges) sætter den
   eksplicit og vinder derfor over denne generelle regel. */
.dbrfc-app :where(a) { color: var(--dbrfc-primary); }
.dbrfc-app :where(a:hover) { opacity: 0.8; }

/* hidden-attributten skal ALTID vinde over komponenters display-regler. */
.dbrfc-app [hidden] { display: none !important; }

.dbrfc-app h1, .dbrfc-app h2, .dbrfc-app h3 { font-family: var(--dbrfc-heading-font); }

.dbrfc-icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }

.dbrfc-empty { color: var(--dbrfc-text-muted); padding: var(--dbrfc-space-md) 0; }
.dbrfc-kicker {
	font-family: var(--dbrfc-heading-font);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--dbrfc-text-muted);
	display: flex;
	align-items: center;
	gap: 7px;
	margin: var(--dbrfc-space-lg) 0 var(--dbrfc-space-sm);
}
.dbrfc-pulse {
	width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
	background: var(--dbrfc-live);
	animation: dbrfc-pulse 1.6s ease-out infinite;
}
@keyframes dbrfc-pulse { 0% { box-shadow: 0 0 0 0 rgba(22,163,74,.5); } 70% { box-shadow: 0 0 0 8px rgba(22,163,74,0); } 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); } }

/* Knapper — uppercase/tracked mono-chrome, jf. designreferencen */
.dbrfc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 20px;
	border-radius: var(--dbrfc-radius-small);
	background: var(--dbrfc-primary);
	color: #fff;
	text-decoration: none;
	font-family: var(--dbrfc-heading-font);
	font-weight: 700;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	border: 1px solid var(--dbrfc-primary);
	cursor: pointer;
}
.dbrfc-btn-ghost { background: transparent; color: var(--dbrfc-text); border-color: var(--dbrfc-border); }

/* Dagvælger */
.dbrfc-days { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 var(--dbrfc-space-md); position: sticky; top: 0; background: var(--dbrfc-background); padding: var(--dbrfc-space-sm) 0; z-index: 5; }
.dbrfc-day {
	padding: 9px 16px;
	border-radius: var(--dbrfc-radius-small);
	border: 1px solid var(--dbrfc-border);
	color: var(--dbrfc-text);
	text-decoration: none;
	font-family: var(--dbrfc-heading-font);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.dbrfc-day.is-active { background: var(--dbrfc-primary); border-color: var(--dbrfc-primary); color: #fff; }

/* Programrækker */
.dbrfc-row {
	display: flex;
	gap: var(--dbrfc-space-md);
	align-items: flex-start;
	padding: 14px;
	background: var(--dbrfc-surface);
	border: 1px solid var(--dbrfc-border);
	border-radius: var(--dbrfc-radius-small);
	margin-bottom: var(--dbrfc-space-sm);
}
.dbrfc-row-time { min-width: 84px; font-variant-numeric: tabular-nums; font-weight: 700; font-family: var(--dbrfc-heading-font); font-size: 13px; display: flex; flex-direction: column; }
.dbrfc-row-date { font-size: 10px; color: var(--dbrfc-text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.dbrfc-row-main { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; }
/* Bandnavnet fylder altid sin egen linje, så scenen konsekvent lander nedenunder
   (og ikke "hopper op" ved siden af korte navne som THUS). */
.dbrfc-row-artist { flex-basis: 100%; font-weight: 800; color: var(--dbrfc-text); text-decoration: none; font-family: var(--dbrfc-heading-font); letter-spacing: 0.01em; }
.dbrfc-row-artist:hover { color: var(--dbrfc-primary); }
.dbrfc-row-stage {
	font-family: var(--dbrfc-heading-font);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--dbrfc-text-muted);
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.dbrfc-stage-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--dbrfc-stage, var(--dbrfc-primary)); display: inline-block; flex-shrink: 0; }
.dbrfc-row-note { font-size: 12px; color: var(--dbrfc-warn); width: 100%; }
.dbrfc-row-cancelled .dbrfc-row-artist { text-decoration: line-through; opacity: .55; }
.dbrfc-row-actions { display: flex; gap: 8px; align-items: center; }
.dbrfc-heart {
	position: relative;
	background: none;
	border: 1px solid var(--dbrfc-border);
	border-radius: var(--dbrfc-radius-small);
	width: 36px; height: 36px;
	display: grid;
	place-items: center;
	cursor: pointer;
	color: var(--dbrfc-text-muted);
	padding: 0;
}
.dbrfc-heart .dbrfc-icon-heart-solid { display: none; }
.dbrfc-heart[aria-pressed="true"] { color: #fff; background: var(--dbrfc-danger); border-color: var(--dbrfc-danger); }
.dbrfc-heart[aria-pressed="true"] .dbrfc-icon-heart-line { display: none; }
.dbrfc-heart[aria-pressed="true"] .dbrfc-icon-heart-solid { display: inline-block; }
.dbrfc-ics { text-decoration: none; min-width: 36px; min-height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--dbrfc-border); border-radius: var(--dbrfc-radius-small); color: var(--dbrfc-text-muted); }

/* Badges */
.dbrfc-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 3px 9px;
	border-radius: var(--dbrfc-radius-small);
	font-family: var(--dbrfc-heading-font);
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	border: 1px solid transparent;
}
.dbrfc-badge-live { background: transparent; color: var(--dbrfc-live); border-color: var(--dbrfc-live); }
.dbrfc-badge-delayed { background: #fef3c7; color: #92400e; }
.dbrfc-badge-cancelled { background: #fee2e2; color: #991b1b; }
.dbrfc-badge-moved { background: #dbeafe; color: #1e40af; }

/* Scenekolonner */
.dbrfc-cols { display: grid; grid-template-columns: repeat(var(--dbrfc-cols, 2), minmax(240px, 1fr)); gap: var(--dbrfc-space-md); overflow-x: auto; }
.dbrfc-col-title { font-family: var(--dbrfc-heading-font); text-transform: uppercase; letter-spacing: 0.05em; font-size: 15px; border-bottom: 2px solid var(--dbrfc-primary); padding-bottom: 8px; }
@media (max-width: 700px) { .dbrfc-cols { grid-template-columns: 1fr; } }

/* Bandkort — kunstner-kort m. diagonalt hjørnemærke, "DBR"-tag og lyn-ikon,
   jf. designreferencens ArtistArt-komponent. Fem farvetonede baggrunde,
   der roterer, når der ikke er uploadet et rigtigt billede. */
.dbrfc-bands { display: grid; grid-template-columns: repeat(var(--dbrfc-band-cols, 3), 1fr); gap: var(--dbrfc-space-md); }
@media (max-width: 900px) { .dbrfc-bands { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .dbrfc-bands { grid-template-columns: 1fr; } }
.dbrfc-band-card {
	background: var(--dbrfc-surface-elevated);
	border: 1px solid var(--dbrfc-border);
	border-radius: var(--dbrfc-radius-medium);
	overflow: hidden;
}
.dbrfc-band-card.is-featured { border-color: var(--dbrfc-primary); box-shadow: 0 0 0 1px var(--dbrfc-primary); }
.dbrfc-artwork { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.dbrfc-artwork-img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; }
.dbrfc-hue-0 { background: linear-gradient(135deg, #4d1514, #1c1519 60%, #111111); }
.dbrfc-hue-1 { background: linear-gradient(135deg, #182c3a, #151d25 60%, #111111); }
.dbrfc-hue-2 { background: linear-gradient(135deg, #263e23, #172015 60%, #111111); }
.dbrfc-hue-3 { background: linear-gradient(135deg, #4a1f17, #211713 60%, #111111); }
.dbrfc-hue-4 { background: linear-gradient(135deg, #3a2a4d, #1d1826 60%, #111111); }
.dbrfc-artwork-mark { position: absolute; right: -14px; top: -20px; width: 90px; height: 70px; border: 2px solid rgba(255,255,255,.28); transform: rotate(12deg); pointer-events: none; }
.dbrfc-artwork-tag {
	position: absolute; left: 10px; bottom: 9px;
	font-family: var(--dbrfc-heading-font);
	font-size: 10px; font-weight: 800; letter-spacing: 0.16em;
	color: rgba(255,255,255,.7);
}
.dbrfc-artwork-zap { position: absolute; right: 10px; bottom: 8px; color: rgba(255,255,255,.7); }
.dbrfc-band-body { padding: 12px 14px 14px; }
.dbrfc-band-name { margin: 0; font-size: 20px; letter-spacing: 0.01em; }
.dbrfc-band-name a { color: var(--dbrfc-text); text-decoration: none; }
.dbrfc-band-genre { margin: 4px 0 0; font-size: 12px; color: var(--dbrfc-text-muted); }
.dbrfc-band-slot {
	margin: 8px 0 0; padding-top: 8px; border-top: 1px solid var(--dbrfc-border);
	font-family: var(--dbrfc-heading-font); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
	color: var(--dbrfc-primary);
}

/* Praktisk info */
.dbrfc-info-item {
	display: flex;
	gap: 12px;
	padding: 14px 16px;
	border: 1px solid var(--dbrfc-border);
	border-radius: var(--dbrfc-radius-small);
	margin-bottom: var(--dbrfc-space-sm);
	background: var(--dbrfc-surface);
}
.dbrfc-info-icon { color: var(--dbrfc-primary); flex-shrink: 0; margin-top: 1px; }
.dbrfc-info-body { min-width: 0; }
.dbrfc-info-item.is-emergency { border-left: 3px solid var(--dbrfc-danger); }
.dbrfc-info-item.is-featured { border-left: 3px solid var(--dbrfc-primary); }
.dbrfc-info-title { margin: 0 0 4px; font-size: 15px; }
.dbrfc-info-text { margin: 0 0 6px; color: var(--dbrfc-text-muted); font-size: 14px; }

/* "Læs mere" i info-boksene: <details> uden pil — uddraget vises lukket,
   den fulde tekst foldes ud, og knappen skifter selv til "Vis mindre". */
.dbrfc-info-more summary { list-style: none; cursor: pointer; }
.dbrfc-info-more summary::-webkit-details-marker { display: none; }
.dbrfc-info-more .dbrfc-info-short { display: block; }
.dbrfc-info-more[open] .dbrfc-info-short { display: none; }
.dbrfc-info-morebtn::after { content: attr(data-dbrfc-more); }
.dbrfc-info-more[open] .dbrfc-info-morebtn::after { content: attr(data-dbrfc-less); }
.dbrfc-info-morebtn {
	display: inline-block;
	margin-top: 2px;
	font-family: var(--dbrfc-heading-font);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--dbrfc-primary);
}
.dbrfc-info-more[open] .dbrfc-info-morebtn { margin-top: 8px; }
.dbrfc-info-full { color: var(--dbrfc-text-muted); font-size: 14px; }
.dbrfc-info-full p { margin: 0 0 8px; }
.dbrfc-info-full p:last-child { margin-bottom: 0; }
/* Knappen står EFTER den fulde tekst, når der er åbent: flyt den ned via order. */
.dbrfc-info-more[open] { display: flex; flex-direction: column; }
.dbrfc-info-more[open] summary { order: 2; }
.dbrfc-info-more[open] .dbrfc-info-full { order: 1; }
.dbrfc-info-links { margin: 0; font-size: 13px; display: flex; gap: 14px; flex-wrap: wrap; }
.dbrfc-info-links a { display: inline-flex; align-items: center; gap: 5px; color: var(--dbrfc-text); text-decoration: none; }
.dbrfc-info-links a:hover { color: var(--dbrfc-primary); }

/* FAQ — accordion (details/summary, ingen JavaScript nødvendig) */
.dbrfc-faq { margin-top: var(--dbrfc-space-lg); }
.dbrfc-faq-heading { font-family: var(--dbrfc-heading-font); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--dbrfc-text-muted); margin: 0 0 var(--dbrfc-space-sm); }
.dbrfc-faq-item {
	border: 1px solid var(--dbrfc-border);
	border-radius: var(--dbrfc-radius-small);
	margin-bottom: 8px;
	background: var(--dbrfc-surface);
	overflow: hidden;
}
.dbrfc-faq-item summary {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 12px 16px; cursor: pointer; font-weight: 600; font-size: 14px;
	list-style: none;
}
.dbrfc-faq-item summary::-webkit-details-marker,
.dbrfc-faq-item summary::marker { display: none; content: ""; }
.dbrfc-faq-chevron { color: var(--dbrfc-text-muted); flex-shrink: 0; transition: transform .15s ease; }
.dbrfc-faq-item[open] .dbrfc-faq-chevron { transform: rotate(180deg); }
.dbrfc-faq-answer { padding: 0 16px 14px; color: var(--dbrfc-text-muted); font-size: 14px; }
.dbrfc-faq-answer p:first-child { margin-top: 0; }
.dbrfc-faq-answer p:last-child { margin-bottom: 0; }

/* Kort */
.dbrfc-map { position: relative; border-radius: var(--dbrfc-radius-medium); overflow: hidden; border: 1px solid var(--dbrfc-border); min-height: 280px; }
.dbrfc-map-viewport { position: relative; }
.dbrfc-map-inner { position: relative; }
.dbrfc-map-img { width: 100%; display: block; }
.dbrfc-map-fallback { position: absolute; inset: 0; background: var(--dbrfc-surface) repeating-linear-gradient(0deg, transparent, transparent 35px, var(--dbrfc-border) 36px), repeating-linear-gradient(90deg, transparent, transparent 35px, var(--dbrfc-border) 36px); }

/* Mobil (appen): kortet fylder skærmen i højt 3:4-format og kan panoreres i
   BEGGE retninger à la Google Maps. Billedet beskæres ALDRIG (det ville
   forskyde nålene) — det skaleres op ud over rammen (135% af højden via
   container-units), og .dbrfc-map-inner følger billedet 1:1, så nålenes
   procent-positioner altid passer. app.js centrerer startpositionen. */
@media (max-width: 700px) {
	.dbrfc-map-viewport {
		aspect-ratio: 3 / 4;
		overflow: auto;
		-webkit-overflow-scrolling: touch;
		container-type: size;
		overscroll-behavior: contain;
	}
	.dbrfc-map-inner { width: max-content; min-width: 100%; min-height: 100%; }
	.dbrfc-map-img { height: 100cqh; height: 135cqh; width: auto; max-width: none; }
	/* Skjul rullebjælker — man trækker med fingeren. */
	.dbrfc-map-viewport { scrollbar-width: none; }
	.dbrfc-map-viewport::-webkit-scrollbar { display: none; }
}

/* Pan-hint: lille badge nederst på kortet. Skjules ved første træk (app.js
   sætter is-hidden) og falder automatisk ud efter 6 sekunder (ingen JS krævet). */
.dbrfc-map-hint {
	position: absolute;
	bottom: 12px;
	left: 50%;
	transform: translateX(-50%);
	display: none;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.75);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	white-space: nowrap;
	pointer-events: none;
	z-index: 6;
	transition: opacity 0.3s ease;
	animation: dbrfc-map-hint-out 0.4s ease 6s forwards;
}
.dbrfc-map-hint.is-hidden { opacity: 0; }
@media (max-width: 700px) {
	.dbrfc-map-hint { display: inline-flex; }
}
@keyframes dbrfc-map-hint-out {
	to { opacity: 0; visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) {
	.dbrfc-map-hint { animation-duration: 0s; }
}

.dbrfc-map-pin { position: absolute; transform: translate(-50%, -50%); }
/* Åben pin lægges ØVERST, så popup'en aldrig gemmer sig bag nabo-nåle. */
.dbrfc-map-pin[open] { z-index: 40; }
.dbrfc-map-pin summary { list-style: none; cursor: pointer; }
.dbrfc-map-pin summary::-webkit-details-marker,
.dbrfc-map-pin summary::marker { display: none; content: ""; }
.dbrfc-map-pin-head { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.dbrfc-map-pin-dot {
	width: 30px; height: 30px; border-radius: 50%;
	display: grid; place-items: center;
	background: var(--dbrfc-primary); color: #fff;
	border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.35);
	flex-shrink: 0;
}
.dbrfc-pin-first_aid .dbrfc-map-pin-dot { background: var(--dbrfc-danger); }
.dbrfc-pin-stage .dbrfc-map-pin-dot { background: var(--dbrfc-secondary); }
.dbrfc-map-pin[open] .dbrfc-map-pin-dot { box-shadow: 0 0 0 3px rgba(255,255,255,.6), 0 1px 4px rgba(0,0,0,.35); }
.dbrfc-map-pin-name {
	background: rgba(0,0,0,.8); color: #fff;
	font-family: var(--dbrfc-heading-font);
	font-size: 10px; font-weight: 700;
	padding: 2px 8px; border-radius: 4px;
	white-space: nowrap; max-width: 130px; overflow: hidden; text-overflow: ellipsis;
}
.dbrfc-map-pin-popup {
	position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%);
	background: rgba(0,0,0,.9); color: #fff;
	padding: 8px 12px; border-radius: 8px;
	font-size: 12px; width: max-content; max-width: min(220px, 58vw);
	white-space: normal; text-align: center;
	z-index: 5;
}
/* Nær kanterne: klap popup'en væk fra kanten i stedet for ud af containeren. */
.dbrfc-map-pin.is-edge-left .dbrfc-map-pin-popup { left: 50%; right: auto; transform: none; text-align: left; }
.dbrfc-map-pin.is-edge-right .dbrfc-map-pin-popup { left: auto; right: 50%; transform: none; text-align: right; }
.dbrfc-map-pin.is-edge-top .dbrfc-map-pin-popup { bottom: auto; top: calc(100% + 6px); }
.dbrfc-map-pin-popup strong {
	display: block; font-family: var(--dbrfc-heading-font);
	font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
}
.dbrfc-map-pin-type, .dbrfc-map-pin-extra { display: block; opacity: .75; margin-top: 3px; }

/* Sponsorer */
.dbrfc-sponsor-level { font-family: var(--dbrfc-heading-font); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--dbrfc-text-muted); margin: var(--dbrfc-space-lg) 0 var(--dbrfc-space-sm); }
.dbrfc-sponsor-grid { display: flex; gap: var(--dbrfc-space-md); flex-wrap: wrap; align-items: center; }
.dbrfc-sponsor { display: grid; place-items: center; background: var(--dbrfc-surface-elevated); border: 1px solid var(--dbrfc-border); border-radius: var(--dbrfc-radius-small); padding: 10px 16px; min-height: 60px; }
.dbrfc-sponsor img { max-height: 48px; width: auto; }

/* Sponsor-marquee (appens forside): fuldbredde, rullende bånd m. niveau +
   navn. Indholdet er dubleret i markup, så translateX(-50%) looper sømløst. */
.dbrfc-sponsor-marquee { margin: var(--dbrfc-space-md) calc(-1 * var(--dbrfc-space-md)) 0; }
.dbrfc-sponsor-marquee .dbrfc-kicker { padding: 0 var(--dbrfc-space-md); }
.dbrfc-sponsor-marquee-strip {
	overflow: hidden;
	border-top: 1px solid var(--dbrfc-border);
	border-bottom: 1px solid var(--dbrfc-border);
	background: var(--dbrfc-surface);
	padding: 14px 0;
}
.dbrfc-sponsor-flex { display: flex; width: max-content; animation: dbrfcMarquee var(--dbrfc-marquee-duration, 28s) linear infinite; }
.dbrfc-sponsor-track { display: flex; align-items: center; gap: 32px; padding: 0 16px; white-space: nowrap; }
.dbrfc-sponsor-item { display: flex; align-items: baseline; gap: 10px; text-decoration: none; transition: transform 0.18s ease; }

/* Hover: båndet holder pause, så man kan ramme sponsoren — og selve
   sponsoren løfter sig og skifter til accent-farven (kun rigtige links). */
.dbrfc-sponsor-marquee-strip:hover .dbrfc-sponsor-flex,
.dbrfc-sponsor-marquee-strip:focus-within .dbrfc-sponsor-flex { animation-play-state: paused; }
a.dbrfc-sponsor-item:hover,
a.dbrfc-sponsor-item:focus-visible { transform: translateY(-2px); }
a.dbrfc-sponsor-item:hover .dbrfc-sponsor-nm,
a.dbrfc-sponsor-item:focus-visible .dbrfc-sponsor-nm { color: var(--dbrfc-primary); }
a.dbrfc-sponsor-item .dbrfc-sponsor-nm,
a.dbrfc-sponsor-item .dbrfc-sponsor-logo img { transition: color 0.18s ease, transform 0.18s ease, opacity 0.18s ease; }
a.dbrfc-sponsor-item:hover .dbrfc-sponsor-logo img,
a.dbrfc-sponsor-item:focus-visible .dbrfc-sponsor-logo img { transform: scale(1.07); }
.dbrfc-sponsor-tier { font-family: var(--dbrfc-heading-font); font-size: 9px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dbrfc-text-muted); }
.dbrfc-sponsor-tier.is-accent { color: var(--dbrfc-primary); }
.dbrfc-sponsor-nm { font-family: var(--dbrfc-heading-font); font-weight: 700; font-size: 16px; color: var(--dbrfc-text); }
/* Logo-variant af sponsor-båndet */
.dbrfc-sponsor-item .dbrfc-sponsor-logo { display: inline-flex; align-items: center; }
.dbrfc-sponsor-item .dbrfc-sponsor-logo img { height: 40px; width: auto; max-width: 150px; object-fit: contain; display: block; }
.dbrfc-sponsor-x { display: flex; align-self: center; color: var(--dbrfc-text-muted); opacity: 0.45; }

/* Animationer (delt af hero, nedtælling, live-banner og marquee). */
@keyframes dbrfcPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes dbrfcGlow { 0%, 100% { box-shadow: 0 0 0 rgba(0, 0, 0, 0); } 50% { box-shadow: 0 0 22px color-mix(in srgb, var(--dbrfc-primary) 35%, transparent); } }
@keyframes dbrfcMarquee { to { transform: translateX(-50%); } }
@keyframes dbrfcEq1 { 0%, 100% { height: 6px; } 50% { height: 16px; } }
@keyframes dbrfcEq2 { 0%, 100% { height: 14px; } 40% { height: 5px; } }
@keyframes dbrfcEq3 { 0%, 100% { height: 9px; } 60% { height: 17px; } }
@keyframes dbrfcFlicker { 0%, 97%, 100% { opacity: 1; } 98% { opacity: 0.7; } 99% { opacity: 0.9; } }

/* Nedsat bevægelse: sluk pynte-animationerne; marqueen bliver alm. scrollbar. */
@media (prefers-reduced-motion: reduce) {
	.dbrfc-app .dbrfc-home-hero-content,
	.dbrfc-app .dbrfc-hero-dot,
	.dbrfc-app .dbrfc-cd-tile,
	.dbrfc-app .dbrfc-cd-num,
	.dbrfc-app .dbrfc-live-banner,
	.dbrfc-app .dbrfc-eq i,
	.dbrfc-app .dbrfc-sponsor-flex { animation: none; }
	.dbrfc-app .dbrfc-sponsor-marquee-strip { overflow-x: auto; }
}

/* Livebeskeder */
.dbrfc-alert { padding: 12px 16px; border-radius: var(--dbrfc-radius-small); margin-bottom: var(--dbrfc-space-sm); border: 1px solid var(--dbrfc-border); background: var(--dbrfc-surface); }
.dbrfc-alert strong { font-family: var(--dbrfc-heading-font); }
.dbrfc-alert p { margin: 4px 0 0; font-size: 14px; }
.dbrfc-alert-program_change { border-left: 3px solid var(--dbrfc-primary); }
.dbrfc-alert-important { border-left: 3px solid var(--dbrfc-warn); }
.dbrfc-alert-safety, .dbrfc-alert-emergency { border-left: 3px solid var(--dbrfc-danger); background: #fef2f2; }

/* Nedtælling */
/* Nedtælling — fire fliser (dage/timer/min/sek); første og sidste flise i
   accentfarven, jf. designreferencen. */
.dbrfc-countdown {
	padding: 16px 14px 14px;
	background: var(--dbrfc-surface);
	border-radius: var(--dbrfc-radius-medium);
	border: 1px solid var(--dbrfc-border);
	margin-bottom: var(--dbrfc-space-md);
}
.dbrfc-countdown-label {
	margin: 0 0 12px;
	font-family: var(--dbrfc-heading-font);
	font-size: 10px; font-weight: 700;
	letter-spacing: 0.28em; text-transform: uppercase;
	color: var(--dbrfc-primary);
}
.dbrfc-countdown-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.dbrfc-cd-tile {
	display: block;
	background: var(--dbrfc-background);
	border: 1px solid var(--dbrfc-border);
	border-radius: var(--dbrfc-radius-small);
	padding: 12px 4px;
	text-align: center;
}
.dbrfc-cd-tile:first-child { animation: dbrfcGlow 3s ease-in-out infinite; }
.dbrfc-cd-num { display: block; font-family: var(--dbrfc-heading-font); font-size: 30px; font-weight: 700; line-height: 1; color: var(--dbrfc-text); }
.dbrfc-cd-tile:first-child .dbrfc-cd-num, .dbrfc-cd-tile:last-child .dbrfc-cd-num { color: var(--dbrfc-primary); }
.dbrfc-cd-tile:last-child .dbrfc-cd-num { animation: dbrfcPulse 1s ease-in-out infinite; }
.dbrfc-cd-unit { display: block; margin-top: 6px; font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dbrfc-text-muted); }

/* Live-banner m. equalizer, når festivalen er i gang. */
.dbrfc-live-banner {
	display: flex; align-items: center; gap: 14px;
	border: 1px solid var(--dbrfc-primary);
	background: linear-gradient(180deg, color-mix(in srgb, var(--dbrfc-primary) 14%, transparent), color-mix(in srgb, var(--dbrfc-primary) 5%, transparent));
	animation: dbrfcGlow 2.4s ease-in-out infinite;
}
.dbrfc-eq { display: flex; align-items: flex-end; gap: 3px; height: 18px; flex: none; }
.dbrfc-eq i { width: 4px; background: var(--dbrfc-primary); animation: dbrfcEq1 0.9s ease-in-out infinite; }
.dbrfc-eq i:nth-child(2) { animation: dbrfcEq2 0.8s ease-in-out infinite; }
.dbrfc-eq i:nth-child(3) { animation: dbrfcEq3 1s ease-in-out infinite; }
.dbrfc-live-banner-text { flex: 1; min-width: 0; }
.dbrfc-live-banner strong { display: block; font-family: var(--dbrfc-heading-font); font-size: 16px; letter-spacing: 0.06em; text-transform: uppercase; }
.dbrfc-live-banner-sub { display: block; font-size: 12px; color: var(--dbrfc-text-muted); margin-top: 2px; }

/* Livebesked-kort på forsiden ("// LIVEBESKED"). */
.dbrfc-home-alerts { display: flex; flex-direction: column; gap: var(--dbrfc-space-sm); margin-bottom: var(--dbrfc-space-md); }
.dbrfc-home-alert {
	border: 1px solid var(--dbrfc-border);
	background: var(--dbrfc-surface);
	border-radius: var(--dbrfc-radius-small);
	padding: 16px;
}
.dbrfc-home-alert.is-dismissed { display: none; }
.dbrfc-home-alert.dbrfc-alert-safety, .dbrfc-home-alert.dbrfc-alert-emergency { border-color: var(--dbrfc-danger); }
.dbrfc-home-alert.dbrfc-alert-safety .dbrfc-home-alert-kicker, .dbrfc-home-alert.dbrfc-alert-emergency .dbrfc-home-alert-kicker { color: var(--dbrfc-danger); }
.dbrfc-home-alert-kicker {
	margin: 0 0 8px;
	font-family: var(--dbrfc-heading-font);
	font-size: 10px; font-weight: 700;
	letter-spacing: 0.28em; text-transform: uppercase;
	color: var(--dbrfc-primary);
}
.dbrfc-home-alert strong { display: block; font-family: var(--dbrfc-heading-font); font-size: 16px; margin-bottom: 4px; }
.dbrfc-home-alert-body { margin: 0; font-size: 13px; line-height: 1.55; color: var(--dbrfc-text-muted); }

/* Programliv på forsiden — line-up, næste pr. scene, dagens program. Deler
   samme flade kort-look som resten (tokens), så det følger alle presets. */
.dbrfc-home-card, .dbrfc-home-lineup {
	display: block;
	position: relative;
	overflow: hidden;
	border: 1px solid var(--dbrfc-border);
	background: var(--dbrfc-surface);
	border-radius: var(--dbrfc-radius-medium);
	padding: 16px;
	margin-bottom: var(--dbrfc-space-md);
}
.dbrfc-home-lineup { text-decoration: none; color: var(--dbrfc-text); padding: 18px 16px 16px; transition: border-color 0.15s ease; }
.dbrfc-home-lineup:hover { border-color: var(--dbrfc-primary); }
.dbrfc-home-card-glow { position: absolute; inset: 0; background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--dbrfc-primary) 13%, transparent), transparent 55%); pointer-events: none; }
.dbrfc-home-card-head { position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.dbrfc-home-card-kicker { font-family: var(--dbrfc-heading-font); font-size: 10px; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; color: var(--dbrfc-primary); }
.dbrfc-home-card-link { font-family: var(--dbrfc-heading-font); font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--dbrfc-text-muted); text-decoration: none; white-space: nowrap; flex: none; }
a.dbrfc-home-card-link:hover { color: var(--dbrfc-primary); }

/* Line-up — store, vekslende wordmarks. */
.dbrfc-lineup-names { position: relative; display: block; font-family: var(--dbrfc-heading-font); text-transform: uppercase; font-weight: 700; line-height: 1.06; letter-spacing: -0.01em; word-spacing: 4px; font-size: clamp(1.35rem, 6.5vw, 1.7rem); }
.dbrfc-lineup-name { display: inline; }
.dbrfc-lineup-name.is-v0 { color: var(--dbrfc-text); }
.dbrfc-lineup-name.is-v1 { color: transparent; -webkit-text-stroke: 1.4px var(--dbrfc-text); }
.dbrfc-lineup-name.is-v2 { color: var(--dbrfc-primary); }
.dbrfc-lineup-name.is-v3 { color: transparent; -webkit-text-stroke: 1.4px var(--dbrfc-primary); }
@supports not (-webkit-text-stroke: 1px red) {
	.dbrfc-lineup-name.is-v1 { color: var(--dbrfc-text); }
	.dbrfc-lineup-name.is-v3 { color: var(--dbrfc-primary); }
}
.dbrfc-lineup-more { color: var(--dbrfc-text-muted); }

/* Næste på scenerne. */
.dbrfc-next-stages { display: flex; flex-direction: column; gap: 8px; }
.dbrfc-next-stage { display: flex; align-items: center; gap: 12px; background: var(--dbrfc-background); border: 1px solid var(--dbrfc-border); border-radius: var(--dbrfc-radius-small); padding: 12px 14px; }
.dbrfc-next-stage-info { flex: 1; min-width: 0; }
.dbrfc-next-stage-scene { display: block; font-family: var(--dbrfc-heading-font); font-size: 9px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dbrfc-text-muted); margin-bottom: 3px; }
.dbrfc-next-stage-band { display: block; font-family: var(--dbrfc-heading-font); font-weight: 700; font-size: 15px; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dbrfc-next-stage-om { text-align: right; flex: none; }
.dbrfc-next-stage-om-label { display: block; font-family: var(--dbrfc-heading-font); font-size: 9px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dbrfc-text-muted); margin-bottom: 3px; }
.dbrfc-next-stage-cd { display: block; font-family: var(--dbrfc-heading-font); font-weight: 700; font-size: 17px; color: var(--dbrfc-primary); font-variant-numeric: tabular-nums; }

/* I dag på pladsen. */
.dbrfc-today-list { display: flex; flex-direction: column; }
.dbrfc-today-row { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--dbrfc-border); }
.dbrfc-today-row:last-child { border-bottom: none; }
.dbrfc-today-time { flex: none; width: 46px; font-family: var(--dbrfc-heading-font); font-weight: 700; font-size: 13px; font-variant-numeric: tabular-nums; color: var(--dbrfc-text); }
.dbrfc-today-row.is-live .dbrfc-today-time { color: var(--dbrfc-primary); }
.dbrfc-today-dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--dbrfc-border); }
.dbrfc-today-row.is-live .dbrfc-today-dot { background: var(--dbrfc-primary); animation: dbrfcPulse 1.6s ease-in-out infinite; }
.dbrfc-today-band { flex: 1; min-width: 0; font-family: var(--dbrfc-heading-font); font-weight: 600; font-size: 13px; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dbrfc-today-scene { flex: none; font-family: var(--dbrfc-heading-font); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dbrfc-text-muted); }

/* Mit program */
.dbrfc-mine .dbrfc-row[data-dbrfc-hidden] { display: none; }
.dbrfc-mine-conflict { display: block; padding: 10px 14px; border-radius: var(--dbrfc-radius-small); margin-bottom: var(--dbrfc-space-sm); font-size: 13px; }

/* Scener-liste */
.dbrfc-stage-card { padding: 14px 16px; border: 1px solid var(--dbrfc-border); border-left: 3px solid var(--dbrfc-stage, var(--dbrfc-primary)); border-radius: var(--dbrfc-radius-small); margin-bottom: var(--dbrfc-space-sm); }
.dbrfc-stage-card h3 { margin: 0 0 4px; display: flex; align-items: center; gap: 8px; font-family: var(--dbrfc-heading-font); text-transform: uppercase; letter-spacing: 0.04em; font-size: 15px; }

/* Installér-app */
.dbrfc-install { text-align: center; padding: var(--dbrfc-space-lg); background: var(--dbrfc-surface); border-radius: var(--dbrfc-radius-medium); border: 1px solid var(--dbrfc-border); }
.dbrfc-install p { margin: 0 0 var(--dbrfc-space-md); }

/* ==================== App-shell (/festival-app/) ==================== */
body.dbrfc-app-shell {
	margin: 0;
	background: var(--dbrfc-background);
	font-family: var(--dbrfc-body-font, system-ui, -apple-system, "Segoe UI", sans-serif);
	font-size: 16px;
	line-height: 1.45;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
}
.dbrfc-topbar {
	position: sticky;
	top: 0;
	z-index: 20;
	display: flex;
	align-items: center;
	gap: 12px;
	background: var(--dbrfc-secondary);
	color: #fff;
	padding: calc(env(safe-area-inset-top, 0px) + 14px) var(--dbrfc-space-md) 14px;
}
/* Logo/titel er et link til forsiden — arver topbarens flex-layout, så
   intet flytter sig (titlen fylder stadig, klokken bliver til højre). */
.dbrfc-topbar-home {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 1;
	min-width: 0;
	color: inherit;
	text-decoration: none;
}
.dbrfc-topbar-home:hover .dbrfc-topbar-title { color: var(--dbrfc-primary); }
.dbrfc-topbar.has-logo .dbrfc-topbar-home { margin-right: auto; }
.dbrfc-topbar-mark {
	display: grid; place-items: center;
	width: 34px; height: 34px;
	border: 2px solid currentColor;
	border-radius: var(--dbrfc-radius-small);
	font-family: var(--dbrfc-heading-font);
	font-size: 11px; font-weight: 800; letter-spacing: 0.04em;
	flex-shrink: 0;
}
.dbrfc-topbar-title { flex: 1; min-width: 0; font-size: 15px; letter-spacing: .02em; font-family: var(--dbrfc-heading-font); text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Eget logo i toppen — erstatter DBR-mærket + titlen. Lidt større end
   DBR-mærket, og klokken rykkes helt ud til højre kant (mindre luft). */
/* Højre-margen = indholdets vandrette luft (var(--dbrfc-space-md)), så klokken
   flugter lodret med indholdskanten nedenfor. */
.dbrfc-topbar.has-logo { gap: 8px; padding-right: var(--dbrfc-space-md); }
.dbrfc-topbar-logo { flex: 0 1 auto; min-width: 0; height: 44px; max-height: 44px; width: auto; max-width: 82%; object-fit: contain; object-position: left center; margin-right: auto; }
.dbrfc-topbar-bell {
	position: relative;
	display: grid; place-items: center;
	width: 34px; height: 34px;
	border: 1px solid rgba(255,255,255,.25);
	border-radius: var(--dbrfc-radius-small);
	color: #fff;
	flex-shrink: 0;
}
.dbrfc-topbar-bell.has-dot::after {
	content: ""; position: absolute; top: 6px; right: 7px;
	width: 7px; height: 7px; border-radius: 50%;
	background: var(--dbrfc-primary); border: 1.5px solid var(--dbrfc-secondary);
}

/* Sprogskifter i toppen — gæsten vælger selv sit sprog. Samme <details>-mønster
   som klokken, så det virker uden JavaScript. */
.dbrfc-langsw { position: relative; flex-shrink: 0; }
.dbrfc-langsw summary { list-style: none; cursor: pointer; }
.dbrfc-langsw summary::-webkit-details-marker,
.dbrfc-langsw summary::marker { display: none; content: ""; }
.dbrfc-lang-current {
	display: inline-flex; align-items: center; gap: 3px;
	height: 30px; padding: 0 8px;
	border: 1px solid rgba(255,255,255,.35); border-radius: var(--dbrfc-radius-small);
	color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em;
}
.dbrfc-langsw[open] .dbrfc-lang-current { background: rgba(255,255,255,.14); }
.dbrfc-lang-chev { display: inline-flex; }
.dbrfc-lang-menu {
	position: absolute; top: calc(100% + 8px); right: 0; z-index: 30;
	min-width: 148px; padding: 6px;
	background: var(--dbrfc-surface-elevated); color: var(--dbrfc-text);
	border: 1px solid var(--dbrfc-border); border-radius: var(--dbrfc-radius-medium);
	box-shadow: 0 12px 30px rgba(0,0,0,.18);
	display: flex; flex-direction: column; gap: 2px;
}
.dbrfc-lang-item {
	display: block; padding: 8px 10px; border-radius: var(--dbrfc-radius-small);
	color: var(--dbrfc-text); text-decoration: none; font-size: 14px;
}
.dbrfc-lang-item:hover { background: var(--dbrfc-surface); }
.dbrfc-lang-item.is-active { background: var(--dbrfc-primary); color: #fff; font-weight: 700; }

/* =========================================================================
   Crew-app (mobil admin) — fast "crew"-look: mono + skarpe hjørner, men
   FARVET af arrangementets valgte preset (via design-tokens). Lys/metal/custom
   følger derfor kundens design.
   ========================================================================= */
.dbrfc-crew {
	--crew-mono: ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, Consolas, monospace;
	--crew-sans: system-ui, -apple-system, 'Segoe UI', sans-serif;
	--crew-danger: var(--dbrfc-danger, #e0402a);
	background: var(--dbrfc-surface);
	color: var(--dbrfc-text);
	font-family: var(--crew-sans);
	max-width: 480px; margin: 0 auto; min-height: 100vh;
}
.dbrfc-crew .dbrfc-main { padding: 20px 16px calc(env(safe-area-inset-bottom, 0px) + 40px); display: flex; flex-direction: column; gap: 14px; }

/* Header (lyst/temaet — ikke den mørke gæste-topbar) */
.dbrfc-crew-header {
	position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px;
	padding: calc(env(safe-area-inset-top, 0px) + 12px) 16px 12px;
	background: color-mix(in srgb, var(--dbrfc-surface) 92%, transparent);
	backdrop-filter: blur(8px); border-bottom: 1px solid var(--dbrfc-border);
}
.dbrfc-crew-mark { width: 38px; height: 38px; border: 2px solid var(--dbrfc-text); display: grid; place-items: center; font-family: var(--crew-mono); font-weight: 700; font-size: 12px; letter-spacing: 1px; flex: none; }
.dbrfc-crew-back { width: 38px; height: 38px; border: 1px solid var(--dbrfc-border); background: var(--dbrfc-surface-elevated); color: var(--dbrfc-text); display: grid; place-items: center; flex: none; }
.dbrfc-crew-htitle { font-family: var(--crew-mono); font-weight: 700; font-size: 14px; letter-spacing: 2px; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase; }
.dbrfc-crew-pill { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--dbrfc-primary); background: color-mix(in srgb, var(--dbrfc-primary) 12%, transparent); padding: 6px 12px; flex: none; }
.dbrfc-crew-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--dbrfc-primary); animation: dbrfcPulse 1.6s ease-in-out infinite; }
.dbrfc-crew-pill span:last-child { font-family: var(--crew-mono); font-size: 10px; letter-spacing: 3px; font-weight: 700; color: var(--dbrfc-primary); }

/* Fælles: mono-overskrifter + skarpe hjørner i hele crew-appen */
.dbrfc-crew .dbrfc-crew-kicker { font-family: var(--crew-mono); font-size: 10px; letter-spacing: 3px; color: var(--dbrfc-primary); font-weight: 600; margin: 6px 0 0; }
.dbrfc-crew .dbrfc-btn { border-radius: 0; font-family: var(--crew-mono); letter-spacing: 2px; text-transform: uppercase; }

/* "Logget ind"-kort */
.dbrfc-crew-user { display: flex; align-items: center; gap: 12px; border: 1px solid var(--dbrfc-border); background: var(--dbrfc-surface-elevated); padding: 14px 16px; }
.dbrfc-crew-avatar { width: 38px; height: 38px; background: var(--dbrfc-primary); color: #fff; display: grid; place-items: center; font-family: var(--crew-mono); font-weight: 700; font-size: 14px; flex: none; }
.dbrfc-crew-user-text { flex: 1; min-width: 0; }
.dbrfc-crew-user-label { display: block; font-size: 9px; letter-spacing: 2px; color: var(--dbrfc-text-muted); font-weight: 600; margin-bottom: 2px; }
.dbrfc-crew-user-name { display: block; font-family: var(--crew-mono); font-weight: 700; font-size: 15px; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dbrfc-crew-logout { border: 1px solid var(--dbrfc-border); background: transparent; color: var(--dbrfc-text-muted); font-family: var(--crew-mono); font-size: 10px; letter-spacing: 2px; font-weight: 600; padding: 8px 10px; text-decoration: none; }

/* KPI-fliser — centreret tal over versal-label (labelen brydes rent på 2 linjer) */
.dbrfc-crew-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dbrfc-crew-kpi { border: 1px solid var(--dbrfc-border); background: var(--dbrfc-surface-elevated); padding: 14px 6px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.dbrfc-crew-kpi-num { display: block; font-family: var(--crew-mono); font-size: 30px; font-weight: 700; line-height: 1; color: var(--dbrfc-text); }
.dbrfc-crew-kpi-num.is-primary { color: var(--dbrfc-primary); }
.dbrfc-crew-kpi-label { display: block; font-family: var(--crew-mono); font-size: 8.5px; letter-spacing: 1px; line-height: 1.35; color: var(--dbrfc-text-muted); font-weight: 600; text-transform: uppercase; }

/* Værktøjs-fliser */
.dbrfc-crew-tools { display: flex; flex-direction: column; gap: 8px; }
.dbrfc-crew-tool { display: flex; align-items: center; gap: 14px; border: 1px solid var(--dbrfc-border); background: var(--dbrfc-surface-elevated); padding: 16px; color: var(--dbrfc-text); text-decoration: none; }
.dbrfc-crew-tool:active { background: var(--dbrfc-surface); }
.dbrfc-crew-tool-icon { position: relative; width: 46px; height: 46px; background: var(--dbrfc-surface); border: 1px solid var(--dbrfc-border); display: grid; place-items: center; color: var(--dbrfc-primary); flex: none; }
.dbrfc-crew-tool-badge { position: absolute; top: -6px; right: -6px; min-width: 17px; height: 17px; padding: 0 3px; background: var(--dbrfc-primary); color: #fff; font-family: var(--crew-mono); font-size: 9px; font-weight: 700; display: grid; place-items: center; }
.dbrfc-crew-tool-text { flex: 1; min-width: 0; }
.dbrfc-crew-tool-name { display: block; font-family: var(--crew-mono); font-weight: 700; font-size: 16px; text-transform: uppercase; }
.dbrfc-crew-tool-sub { display: block; font-size: 12px; color: var(--dbrfc-text-muted); margin-top: 2px; }
.dbrfc-crew-tool-chev { color: var(--dbrfc-primary); font-size: 18px; font-weight: 700; flex: none; }

/* Info-banner + footer */
.dbrfc-crew-banner { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--dbrfc-border); background: var(--dbrfc-surface-elevated); padding: 12px 14px; }
.dbrfc-crew-banner span:first-child { color: var(--dbrfc-primary); font-weight: 700; flex: none; }
.dbrfc-crew-banner span:last-child { font-size: 12px; line-height: 1.5; color: var(--dbrfc-text-muted); }
.dbrfc-crew-foot { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 16px 0 0; }
.dbrfc-crew-foot a { font-family: var(--crew-mono); font-size: 10px; letter-spacing: 3px; color: var(--dbrfc-text-muted); font-weight: 600; text-decoration: none; }
.dbrfc-crew-foot a:active { color: var(--dbrfc-primary); }
.dbrfc-crew-theme { opacity: .8; }
.dbrfc-crew-hint { color: var(--dbrfc-text-muted); font-size: 12px; margin: 0; }

/* Adgangsnægtet / logget ud */
.dbrfc-crew-gate { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 24px; }
.dbrfc-crew-gate .dbrfc-crew-mark { margin-bottom: 8px; }
.dbrfc-crew-gate h1 { font-family: var(--crew-mono); font-size: 18px; text-transform: uppercase; letter-spacing: 1px; margin: 0; }
.dbrfc-crew-gate p { color: var(--dbrfc-text-muted); max-width: 320px; }

/* Formularer (ny besked / nyt infopunkt) i et kort */
.dbrfc-crew-card { border: 1px solid var(--dbrfc-border); background: var(--dbrfc-surface-elevated); padding: 16px; }
.dbrfc-crew-form { display: flex; flex-direction: column; gap: 10px; }
.dbrfc-crew-form input[type=text], .dbrfc-crew-form textarea, .dbrfc-crew-form select {
	width: 100%; box-sizing: border-box; padding: 12px 14px; font-size: 16px; color: var(--dbrfc-text);
	background: var(--dbrfc-surface); border: 1px solid var(--dbrfc-border); border-radius: 0; font-family: var(--crew-sans);
}
.dbrfc-crew-form textarea { resize: vertical; }
.dbrfc-crew-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.dbrfc-crew-row select { flex: 1; min-width: 140px; }
.dbrfc-crew-check { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--dbrfc-text-muted); white-space: nowrap; }
.dbrfc-crew-formactions { display: flex; gap: 8px; }
.dbrfc-crew-formactions .dbrfc-btn { flex: 1; }

/* Chip-vælgere (type / kategori) */
.dbrfc-crew-field { display: flex; flex-direction: column; gap: 8px; }
.dbrfc-crew-fieldlabel { font-family: var(--crew-mono); font-size: 9px; letter-spacing: 2px; font-weight: 600; color: var(--dbrfc-text-muted); text-transform: uppercase; }
.dbrfc-crew-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.dbrfc-crew-chip {
	flex: 1 1 auto; min-width: fit-content; padding: 12px 10px; cursor: pointer;
	font-family: var(--crew-mono); font-size: 10px; letter-spacing: 1.5px; font-weight: 700; text-transform: uppercase; text-align: center;
	border: 1px solid var(--dbrfc-border); border-radius: 0; background: var(--dbrfc-surface); color: var(--dbrfc-text-muted);
}
.dbrfc-crew-chip.is-active { border-color: var(--dbrfc-primary); color: var(--dbrfc-primary); background: color-mix(in srgb, var(--dbrfc-primary) 10%, transparent); }

/* Banner-toggle (firkantet, farvet af preset) */
.dbrfc-crew-toggle { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--dbrfc-text-muted); font-family: var(--crew-mono); letter-spacing: .04em; }
.dbrfc-crew-toggle input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 0; border: 1px solid var(--dbrfc-border); background: var(--dbrfc-surface); flex: none; cursor: pointer; position: relative; }
.dbrfc-crew-toggle input:checked { background: var(--dbrfc-primary); border-color: var(--dbrfc-primary); }
.dbrfc-crew-toggle input:checked::after { content: ""; position: absolute; left: 7px; top: 3px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Send/gem-knap i fuld bredde */
.dbrfc-crew-send { width: 100%; }
.dbrfc-crew-msg { margin: 8px 0 0; font-size: 13px; color: var(--dbrfc-primary); min-height: 1em; font-family: var(--crew-mono); letter-spacing: .04em; }
.dbrfc-crew-msg.is-error { color: var(--crew-danger); }

/* Lister (beskeder / info) */
.dbrfc-crew-listkicker { color: var(--dbrfc-text-muted) !important; }
.dbrfc-crew-list { display: flex; flex-direction: column; gap: 8px; }
.dbrfc-crew-item { display: block; padding: 14px 16px; background: var(--dbrfc-surface-elevated); border: 1px solid var(--dbrfc-border); border-left: 3px solid var(--dbrfc-primary); }
.dbrfc-crew-item.is-off { opacity: .6; border-left-color: var(--dbrfc-text-muted); }
/* Venstrekant farvet efter besked-niveau */
.dbrfc-alert-information { border-left-color: var(--dbrfc-text); }
.dbrfc-alert-program_change { border-left-color: var(--dbrfc-primary); }
.dbrfc-alert-important, .dbrfc-alert-safety, .dbrfc-alert-emergency { border-left-color: var(--crew-danger); }
.dbrfc-crew-item-main { min-width: 0; }
.dbrfc-crew-item-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dbrfc-crew-item-main strong { display: block; margin: 10px 0 0; font-size: 15px; font-family: var(--crew-mono); }
.dbrfc-crew-item-main p { margin: 4px 0 0; color: var(--dbrfc-text-muted); font-size: 12px; font-family: var(--crew-sans); }
.dbrfc-crew-item-badge { display: inline-block; padding: 3px 7px; border: 1px solid var(--dbrfc-border); font-family: var(--crew-mono); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--dbrfc-text); }
.dbrfc-crew-item-flag { display: inline-block; font-family: var(--crew-mono); font-size: 9px; letter-spacing: 2px; color: var(--dbrfc-text-muted); font-weight: 600; text-transform: uppercase; }
.dbrfc-crew-item-flag.off { color: var(--crew-danger); }
.dbrfc-crew-item-time { margin-left: auto; font-family: var(--crew-mono); font-size: 10px; color: var(--dbrfc-text-muted); }
.dbrfc-crew-item-actions { display: flex; gap: 8px; margin-top: 12px; }
.dbrfc-crew-item-actions button { padding: 9px 14px; font-family: var(--crew-mono); font-size: 10px; letter-spacing: 2px; font-weight: 700; text-transform: uppercase; border: 1px solid var(--dbrfc-border); border-radius: 0; background: transparent; color: var(--dbrfc-text-muted); cursor: pointer; }
.dbrfc-crew-item-actions button.is-danger { color: var(--crew-danger); border-color: color-mix(in srgb, var(--crew-danger) 45%, var(--dbrfc-border)); }

/* Program-status: <details>-kort m. hurtigknapper */
details.dbrfc-crew-item { display: block; padding: 0; }
details.dbrfc-crew-item > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
details.dbrfc-crew-item > summary::-webkit-details-marker { display: none; }
details.dbrfc-crew-item[open] { border-color: var(--dbrfc-primary); }
.dbrfc-perf-time { font-family: var(--crew-mono); font-weight: 700; font-size: 18px; flex: none; }
.dbrfc-perf-body { flex: 1; min-width: 0; }
.dbrfc-perf-body strong { display: block; font-family: var(--crew-mono); text-transform: uppercase; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dbrfc-perf-body span { display: block; color: var(--dbrfc-text-muted); font-size: 12px; }
.dbrfc-perf-pill { flex: none; padding: 6px 10px; border: 1px solid var(--dbrfc-border); font-family: var(--crew-mono); font-size: 9px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--dbrfc-text-muted); white-space: nowrap; }
.dbrfc-perf-pill.is-delayed, .dbrfc-perf-pill.is-moved { border-color: var(--dbrfc-primary); color: var(--dbrfc-primary); }
.dbrfc-perf-pill.is-cancelled { border-color: var(--crew-danger); color: var(--crew-danger); }
/* Aflyst punkt: rød kant + overstreget */
details.dbrfc-perf-cancelled { border-left-color: var(--crew-danger); }
.dbrfc-perf-cancelled .dbrfc-perf-time, .dbrfc-perf-cancelled .dbrfc-perf-body strong { text-decoration: line-through; color: var(--dbrfc-text-muted); }
.dbrfc-perf-panel { display: flex; flex-direction: column; gap: 10px; padding: 0 16px 16px; border-top: 1px solid var(--dbrfc-border); margin-top: 2px; padding-top: 14px; }
.dbrfc-perf-quick-label { font-family: var(--crew-mono); font-size: 9px; letter-spacing: 2px; font-weight: 600; color: var(--dbrfc-text-muted); text-transform: uppercase; }
.dbrfc-perf-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.dbrfc-perf-quick button { padding: 12px 4px; font-family: var(--crew-mono); font-size: 11px; font-weight: 700; letter-spacing: 1px; border: 1px solid var(--dbrfc-border); border-radius: 0; background: var(--dbrfc-surface); color: var(--dbrfc-text); cursor: pointer; }
.dbrfc-perf-cancel { width: 100%; padding: 14px; font-family: var(--crew-mono); font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; border: 1px solid color-mix(in srgb, var(--crew-danger) 60%, var(--dbrfc-border)); border-radius: 0; background: color-mix(in srgb, var(--crew-danger) 6%, transparent); color: var(--crew-danger); cursor: pointer; }

/* Tvungen mørk crew-nattilstand (uafhængig af preset; bevarer accentfarven) */
.dbrfc-crew[data-crew-theme="dark"] {
	--dbrfc-surface: #14161a;
	--dbrfc-surface-elevated: #1c1f26;
	--dbrfc-background: #0e1013;
	--dbrfc-text: #f2f4f7;
	--dbrfc-text-muted: #99a2b0;
	--dbrfc-border: #2a2f3a;
}

/* Notifikations-dropdown: klokken er et <details>/<summary>-par, så det
   klapper op/i uden JavaScript. Panelet er absolut placeret under klokken,
   så det ikke skubber resten af topbaren. */
.dbrfc-notif { position: relative; flex-shrink: 0; }
.dbrfc-notif summary { list-style: none; cursor: pointer; }
.dbrfc-notif summary::-webkit-details-marker,
.dbrfc-notif summary::marker { display: none; content: ""; }
.dbrfc-notif-panel {
	position: absolute; top: calc(100% + 8px); right: 0;
	z-index: 50;
	width: min(320px, 84vw);
	max-height: min(420px, 70vh);
	overflow-y: auto;
	background: var(--dbrfc-surface-elevated);
	color: var(--dbrfc-text);
	border: 1px solid var(--dbrfc-border);
	border-radius: var(--dbrfc-radius-medium);
	box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.dbrfc-notif-header { padding: 12px 14px; border-bottom: 1px solid var(--dbrfc-border); font-family: var(--dbrfc-heading-font); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.dbrfc-push-optin { padding: 12px 14px; border-bottom: 1px solid var(--dbrfc-border); }
.dbrfc-push-btn { display: inline-flex; align-items: center; gap: 8px; width: 100%; justify-content: center; padding: 9px 12px; border: 1px solid var(--dbrfc-primary); background: var(--dbrfc-primary); color: #fff; border-radius: var(--dbrfc-radius-small); font-weight: 700; font-family: var(--dbrfc-heading-font); cursor: pointer; }
.dbrfc-push-btn:disabled { opacity: .6; cursor: default; }
.dbrfc-push-optin.is-on .dbrfc-push-btn { background: transparent; color: var(--dbrfc-text); border-color: var(--dbrfc-border); }
.dbrfc-push-optin.is-blocked .dbrfc-push-btn { background: transparent; color: var(--dbrfc-text-muted); border-color: var(--dbrfc-border); }
.dbrfc-push-hint { margin: 8px 0 0; font-size: 12px; color: var(--dbrfc-text-muted); line-height: 1.4; }
.dbrfc-notif-list { padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.dbrfc-notif-list .dbrfc-alert { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 0; }
.dbrfc-alert-body { flex: 1; min-width: 0; }
.dbrfc-alert-dismiss {
	flex-shrink: 0;
	display: grid; place-items: center;
	width: 24px; height: 24px;
	border: none; border-radius: 50%;
	background: transparent; color: var(--dbrfc-text-muted);
	cursor: pointer;
}
.dbrfc-alert-dismiss:hover { background: rgba(0,0,0,.06); color: var(--dbrfc-text); }
.dbrfc-notif-empty { padding: 20px 14px; margin: 0; text-align: center; font-size: 13px; color: var(--dbrfc-text-muted); }
.dbrfc-alert.is-dismissed { display: none; }

@media (max-width: 480px) {
	.dbrfc-notif-panel { position: fixed; top: 60px; right: 8px; left: 8px; width: auto; }
}
.dbrfc-main { flex: 1; padding: var(--dbrfc-space-md); padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); max-width: 720px; width: 100%; margin: 0 auto; }
.dbrfc-view-title { margin-top: 0; margin-bottom: var(--dbrfc-space-md); font-family: var(--dbrfc-heading-font); text-transform: uppercase; letter-spacing: 0.01em; font-size: clamp(1.5rem, 6vw, 2.1rem); font-weight: 800; }

/* Diskret "Bygget af DBR"-kreditering i bunden af alle app-sider. */
.dbrfc-credit { margin-top: var(--dbrfc-space-lg); padding-top: var(--dbrfc-space-md); text-align: center; }
.dbrfc-credit a {
	font-family: var(--dbrfc-heading-font);
	font-size: 10px; font-weight: 600;
	letter-spacing: 0.18em; text-transform: uppercase;
	color: var(--dbrfc-text-muted);
	opacity: 0.5;
	text-decoration: none;
}
.dbrfc-credit a:hover { opacity: 0.8; }

/* Forside-hero — fuldbredde stemningsbillede m. gradient, scanlines og
   display-titel, jf. designreferencen. Farverne kommer fra tokens, så
   samme opbygning virker i alle presets (billedet toner ud i presettes
   baggrundsfarve). Uden billede: samme indhold på alm. baggrund. */
.dbrfc-home-hero {
	position: relative;
	margin: calc(-1 * var(--dbrfc-space-md)) calc(-1 * var(--dbrfc-space-md)) var(--dbrfc-space-sm);
	display: flex;
	align-items: flex-end;
}
.dbrfc-home-hero.has-image { height: clamp(280px, 42vh, 400px); overflow: hidden; }
.dbrfc-home-hero-img {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover; object-position: center 30%;
	filter: saturate(1.15) contrast(1.05);
}
.dbrfc-home-hero-shade {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.08) 32%, color-mix(in srgb, var(--dbrfc-background) 65%, transparent) 68%, var(--dbrfc-background) 100%);
}
.dbrfc-home-hero-scan {
	position: absolute; inset: 0;
	background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.14) 0 1px, transparent 1px 3px);
	mix-blend-mode: overlay;
}
.dbrfc-home-hero-content {
	position: relative;
	width: 100%;
	padding: var(--dbrfc-space-md) var(--dbrfc-space-md) 2px;
	animation: dbrfcFlicker 7s linear infinite;
}
.dbrfc-home-hero.has-image .dbrfc-home-hero-content { padding-bottom: 18px; }
.dbrfc-hero-kicker {
	display: flex; align-items: center; gap: 8px;
	font-family: var(--dbrfc-heading-font);
	font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.22em;
	color: var(--dbrfc-text);
	margin: 0 0 6px;
}
.dbrfc-hero-dot {
	width: 8px; height: 8px; border-radius: 50%;
	background: var(--dbrfc-primary);
	flex: none;
	animation: dbrfcPulse 1.6s ease-in-out infinite;
}
.dbrfc-home-hero-title {
	margin: 0;
	font-family: var(--dbrfc-heading-font);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: -0.02em;
	line-height: 0.92;
	font-size: clamp(2.1rem, 10vw, 2.9rem);
	color: var(--dbrfc-text);
}
.dbrfc-home-hero.has-image .dbrfc-home-hero-title { text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5); }
.dbrfc-hero-accent { color: var(--dbrfc-primary); }
.dbrfc-hero-year {
	display: inline-block;
	color: transparent;
	-webkit-text-stroke: 2px var(--dbrfc-primary);
	transform: skewX(-6deg);
}
@supports not (-webkit-text-stroke: 2px red) {
	.dbrfc-hero-year { color: var(--dbrfc-primary); }
}

/* Tilbage-link (bandliste ← banddetalje) */
.dbrfc-back {
	display: inline-flex; align-items: center; gap: 6px;
	margin-bottom: var(--dbrfc-space-md);
	font-family: var(--dbrfc-heading-font);
	font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
	color: var(--dbrfc-text-muted);
	text-decoration: none;
}
.dbrfc-back:hover { color: var(--dbrfc-primary); }

/* Hurtige links — separate kort m. ikonboks og chevron, jf. designreferencen. */
.dbrfc-quicklinks { display: flex; flex-direction: column; gap: 8px; margin: 0 0 var(--dbrfc-space-md); }
.dbrfc-quicklink {
	display: flex; align-items: center; gap: 14px;
	padding: 14px 16px;
	text-decoration: none; color: var(--dbrfc-text);
	border: 1px solid var(--dbrfc-border);
	border-radius: var(--dbrfc-radius-small);
	background: var(--dbrfc-surface-elevated);
	transition: border-color 0.15s ease;
}
.dbrfc-quicklink:hover { border-color: var(--dbrfc-primary); }
.dbrfc-quicklink-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: var(--dbrfc-radius-small); background: var(--dbrfc-surface); border: 1px solid var(--dbrfc-border); color: var(--dbrfc-primary); flex-shrink: 0; }
.dbrfc-quicklink-text { flex: 1; min-width: 0; }
.dbrfc-quicklink-title { display: block; font-family: var(--dbrfc-heading-font); font-weight: 700; font-size: 15px; }
.dbrfc-quicklink-sub { display: block; font-size: 12px; color: var(--dbrfc-text-muted); }
.dbrfc-quicklink-chev { display: flex; color: var(--dbrfc-primary); flex: none; }
.dbrfc-quicklink-chev .dbrfc-icon { transform: rotate(-90deg); }

.dbrfc-bottomnav {
	position: fixed;
	bottom: 0; left: 0; right: 0;
	z-index: 20;
	display: flex;
	background: var(--dbrfc-surface-elevated);
	border-top: 1px solid var(--dbrfc-border);
	padding-bottom: env(safe-area-inset-bottom, 0px);
}
.dbrfc-nav-item {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	padding: 9px 4px 7px;
	text-decoration: none;
	color: var(--dbrfc-text-muted);
	font-family: var(--dbrfc-heading-font);
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	min-height: 48px;
}
.dbrfc-nav-item.is-active { color: var(--dbrfc-primary); }

/* Bandside */
.dbrfc-artist { max-width: 760px; margin: 0 auto; padding: var(--dbrfc-space-md); }
.dbrfc-artist-image img { width: 100%; height: auto; border-radius: var(--dbrfc-radius-medium); }
.dbrfc-artist-name { margin: var(--dbrfc-space-md) 0 4px; font-family: var(--dbrfc-heading-font); text-transform: uppercase; letter-spacing: -0.01em; font-size: clamp(1.6rem, 8vw, 2.4rem); font-weight: 800; line-height: 1; }
.dbrfc-artist-sub { color: var(--dbrfc-text-muted); margin: 0 0 var(--dbrfc-space-md); }
.dbrfc-artist-performances h2, .dbrfc-artist-links h2 { font-family: var(--dbrfc-heading-font); text-transform: uppercase; letter-spacing: 0.04em; font-size: 14px; color: var(--dbrfc-text-muted); }
.dbrfc-cal-links { font-size: 13px; margin: -2px 0 var(--dbrfc-space-sm); padding-left: 4px; }
.dbrfc-linkrow { display: flex; gap: 8px; flex-wrap: wrap; }

/* Status-barer (offline / opdatering) */
.dbrfc-statusbar {
	position: sticky;
	top: 0;
	z-index: 25;
	padding: 9px 14px;
	font-size: 13px;
	text-align: center;
	background: #fef3c7;
	color: #92400e;
}
.dbrfc-statusbar-update {
	background: var(--dbrfc-primary);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}
.dbrfc-statusbar-update .dbrfc-btn { padding: 5px 12px; background: #fff; color: var(--dbrfc-primary); border-color: #fff; }

/* Installationsbanner — øverst på forsiden i accent-farven, fuld bredde,
   så det skiller sig tydeligt ud fra resten af indholdet. */
.dbrfc-installbar {
	margin: calc(-1 * var(--dbrfc-space-md)) calc(-1 * var(--dbrfc-space-md)) var(--dbrfc-space-md);
	background: var(--dbrfc-primary);
	color: #fff;
	padding: 14px var(--dbrfc-space-md);
}
.dbrfc-installbar p { margin: 0 0 10px; font-size: 13px; color: #fff; }
.dbrfc-installbar-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.dbrfc-installbar-actions .dbrfc-btn { padding: 9px 12px; font-size: 11px; }
.dbrfc-installbar .dbrfc-btn { background: #fff; color: var(--dbrfc-primary); border-color: #fff; }
.dbrfc-installbar .dbrfc-btn.dbrfc-btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.55); }
/* Banneret sidder FØR heroen — annullér heroens negative topmargin, så de
   ikke overlapper, når banneret er synligt. */
.dbrfc-installbar:not([hidden]) + .dbrfc-home-hero { margin-top: 0; }

/* Installationsguide (modal) */
.dbrfc-guide {
	position: fixed;
	inset: 0;
	z-index: 40;
	background: rgba(0,0,0,.5);
	display: flex;
	align-items: flex-end;
}
.dbrfc-guide-inner {
	position: relative;
	width: 100%;
	max-height: 85vh;
	overflow-y: auto;
	background: var(--dbrfc-surface-elevated);
	color: var(--dbrfc-text);
	border-radius: 18px 18px 0 0;
	padding: 24px 20px calc(24px + env(safe-area-inset-bottom, 0px));
}
.dbrfc-guide-inner h2 { margin-top: 0; font-family: var(--dbrfc-heading-font); text-transform: uppercase; letter-spacing: 0.03em; font-size: 18px; }
.dbrfc-guide-inner ol { padding-left: 20px; }
.dbrfc-guide-inner li { margin-bottom: 8px; }
.dbrfc-guide-close {
	position: absolute;
	top: 12px; right: 12px;
	width: 36px; height: 36px;
	display: grid; place-items: center;
	border-radius: var(--dbrfc-radius-small);
	border: 1px solid var(--dbrfc-border);
	background: transparent;
	color: var(--dbrfc-text);
	cursor: pointer;
}
.dbrfc-muted-note { font-size: 12px; color: var(--dbrfc-text-muted); }
.dbrfc-copied-note { display: inline-flex; align-items: center; gap: 5px; color: var(--dbrfc-live); font-size: 13px; }

/* Tilgængelighed */
.dbrfc-app :focus-visible { outline: 3px solid var(--dbrfc-primary); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
	.dbrfc-pulse { animation: none; }
}
