/* VIGIL Lagewand – feste Bühne 1920×1080, wird per Skript auf den Bildschirm skaliert.
   Gleiches Glas-Design wie die App; bewusst ohne flex-gap & Co. für ältere TV-Browser. */

@font-face { font-family: "Inter"; font-weight: 400; src: url("/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; src: url("/fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; src: url("/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; src: url("/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); }

html, body { margin: 0; height: 100%; overflow: hidden; background: #0A1A4A; cursor: none; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }

.wand {
  position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; overflow: hidden;
  transform-origin: 0 0; -webkit-transform-origin: 0 0;
  padding: 32px 36px 0; color: #F4F6FC; font-family: "Inter", sans-serif; font-weight: 400;
  background-color: #0A1A4A;
  background-image:
    radial-gradient(ellipse 120% 90% at 50% 115%, #2355D9 0%, transparent 60%),
    linear-gradient(180deg, #08133A 0%, #10287A 65%, #1C47C4 100%);
}
.w-kasten { border: 1px solid rgba(126, 156, 255, .16); background: rgba(19, 33, 78, .66); border-radius: 18px; }
.w-label { font-size: 17px; color: #A3AEC8; }
.w-dunkel { color: #7D89A8; font-size: 16px; }

/* Kopf */
.w-kopf { height: 96px; display: -webkit-box; display: flex; margin-bottom: 22px; }
.w-marke { display: flex; align-items: center; padding: 0 26px; margin-right: 20px; }
.w-logo { width: 50px; height: 50px; margin-right: 18px; }
.w-wortmarke { font-size: 30px; font-weight: 600; letter-spacing: .06em; line-height: 1; margin-bottom: 6px; }
.w-lage { -webkit-box-flex: 1; flex: 1; display: flex; align-items: center; padding: 0 30px; margin-right: 20px; min-width: 0; }
.w-lage > div { min-width: 0; overflow: hidden; -webkit-box-flex: 1; flex: 1; }
.w-lage .w-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-lampe { width: 18px; height: 18px; border-radius: 50%; background: #7D89A8; margin-right: 22px; flex: none; }
.w-lage-text { font-size: 32px; font-weight: 500; line-height: 1.15; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-lage.rot { border-color: rgba(255, 99, 117, .55); background: rgba(80, 22, 52, .55); }
.w-lage.rot .w-lampe { background: #FF6375; box-shadow: 0 0 0 7px rgba(255, 99, 117, .22); animation: puls 1.8s ease-in-out infinite; }
.w-lage.rot .w-label { color: #FF8F9A; } .w-lage.rot .w-lage-text { color: #FFFFFF; }
.w-lage.orange { border-color: rgba(244, 195, 80, .5); }
.w-lage.orange .w-lampe { background: #F4C350; box-shadow: 0 0 0 7px rgba(244, 195, 80, .18); }
.w-lage.orange .w-label { color: #FBE2A6; }
.w-lage.gruen .w-lampe { background: #3DD9A0; box-shadow: 0 0 0 7px rgba(61, 217, 160, .16); }
.w-lage.gruen .w-label { color: #A6F0CF; }
.w-uhr { width: 320px; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; padding: 0 28px; }
.w-zeit { font-size: 44px; font-weight: 500; line-height: 1; margin-bottom: 8px; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
@keyframes puls { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
.puls { animation: puls 1.8s ease-in-out infinite; }

/* Mitte */
.w-mitte { display: flex; height: 846px; }
.w-spalte-links { width: 400px; margin-right: 22px; display: flex; flex-direction: column; }
.w-spalte-mitte { flex: 1; min-width: 0; margin-right: 22px; display: flex; flex-direction: column; }
.w-spalte-rechts { width: 520px; display: flex; flex-direction: column; }

.w-zahl { flex: 1; padding: 26px 28px; display: flex; flex-direction: column; justify-content: space-between; margin-bottom: 18px; }
.w-zahl:last-child { margin-bottom: 0; }
.w-gross { font-size: 112px; font-weight: 500; line-height: .9; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.w-klein { font-size: 18px; color: #A3AEC8; }
.w-rot { border-color: rgba(255, 99, 117, .35); } .w-rot .w-gross { color: #FFFFFF; }
.w-pink .w-gross { color: #F4F6FC; }
.w-orange .w-gross { color: #F4F6FC; }

.w-zeile-titel { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; padding: 0 4px; }
.w-zeile-titel .w-label:first-child { font-size: 22px; color: #F4F6FC; font-weight: 500; }
.w-top { height: 126px; display: flex; align-items: center; padding: 0 26px; margin-bottom: 14px; }
.w-top.kev { border-color: rgba(255, 99, 117, .45); }
.w-wert { width: 92px; height: 92px; flex: none; border-radius: 16px; background: rgba(242, 193, 78, .12); color: #F2C14E; display: flex; flex-direction: column; align-items: center; justify-content: center; margin-right: 24px; }
.w-wert.kritisch { background: rgba(255, 93, 108, .14); color: #FF5D6C; }
.w-wert-zahl { font-weight: 600; font-size: 36px; line-height: 1; }
.w-wert-text { font-size: 13px; margin-top: 6px; opacity: .85; }
.w-top-mitte { flex: 1; min-width: 0; }
.w-top-oben { display: flex; align-items: center; margin-bottom: 6px; }
.w-cve { font-family: "JetBrains Mono", monospace; font-size: 17px; color: #DCE2F0; margin-right: 12px; }
.w-tag { font-size: 14px; font-weight: 500; color: #FF5D6C; background: rgba(255, 93, 108, .12); border: 0; padding: 3px 10px; border-radius: 7px; }
.w-top-name { font-size: 27px; font-weight: 500; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-top-titel { font-size: 18px; color: #A3AEC8; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-top-epss { width: 150px; flex: none; text-align: right; margin-left: 16px; }
.w-top-epss strong { display: block; font-size: 34px; font-weight: 500; line-height: 1; margin-bottom: 8px; }
.w-top-epss span { font-size: 14px; color: #A3AEC8; }
.w-ruhe { height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #A6F0CF; font-size: 32px; font-weight: 500; margin-bottom: 14px; }
.w-ruhe span { font-size: 18px; color: #A3AEC8; font-weight: 400; margin-top: 10px; }

.w-verlauf { flex: 1; min-height: 0; padding: 20px 26px; display: flex; flex-direction: column; }
.w-verlauf > .w-label { color: #F4F6FC; font-size: 20px; font-weight: 500; }
.w-balken { flex: 1; display: flex; align-items: flex-end; margin-top: 14px; }
.w-balken > div { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; margin-right: 12px; }
.w-balken > div:last-child { margin-right: 0; }
.w-balken i { display: block; width: 100%; min-height: 4px; background: linear-gradient(180deg, #7DA6FF, rgba(91, 140, 255, .35)); border-radius: 6px 6px 2px 2px; }
.w-balken > div:last-child i { background: linear-gradient(180deg, #FF8C9A, rgba(255, 99, 117, .4)); }
.w-balken span { font-size: 13px; color: #7D89A8; margin-top: 8px; }

.w-spalte-rechts > .w-kasten { padding: 20px 22px; margin-bottom: 18px; }
.w-spalte-rechts > .w-kasten:last-child { margin-bottom: 0; flex: 1; }
.w-spalte-rechts .w-zeile-titel { padding: 0; }
.w-spalte-rechts .w-zeile-titel .w-label:first-child, .w-quellen-kasten > .w-label { font-size: 20px; color: #F4F6FC; font-weight: 500; }
.w-legende { font-size: 14px; }
.w-t-rot { color: #FF8C9A; } .w-t-orange { color: #F4C350; }
.w-hersteller { display: grid; grid-template-columns: repeat(4, 1fr); grid-gap: 8px; }
.w-hk { height: 50px; padding: 6px 10px; border-radius: 10px; background: rgba(8, 18, 54, .4); color: #A3AEC8; overflow: hidden; }
.w-hk strong { display: block; font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-hk span { font-size: 12px; color: #7D89A8; }
.w-hk.rot { background: rgba(255, 99, 117, .18); color: #FFE1E5; box-shadow: inset 0 0 0 1px rgba(255, 99, 117, .5); } .w-hk.rot span { color: #FFB3BD; }
.w-hk.gelb { background: rgba(244, 195, 80, .13); color: #FFF0C9; box-shadow: inset 0 0 0 1px rgba(244, 195, 80, .4); } .w-hk.gelb span { color: #F4C350; }
.w-quelle { display: flex; justify-content: space-between; align-items: center; font-size: 18px; margin-top: 14px; }
.w-quelle-name { display: flex; align-items: center; }
.w-punkt { width: 9px; height: 9px; border-radius: 50%; background: #7D89A8; margin-right: 12px; }
.w-punkt.ok { background: #3DD9A0; } .w-punkt.fehler { background: #FF6375; }
.w-quelle-zeit { font-size: 15px; color: #A3AEC8; }

/* Laufband */
.w-fuss { position: absolute; left: 0; right: 0; bottom: 0; height: 64px; display: flex; align-items: center; border-top: 1px solid rgba(126, 156, 255, .16); background: rgba(8, 18, 54, .72); overflow: hidden; }
.w-live { height: 100%; display: flex; align-items: center; padding: 0 26px; background: rgba(255, 99, 117, .2); color: #FFB3BD; font-weight: 600; font-size: 16px; letter-spacing: .14em; flex: none; border-right: 1px solid rgba(255, 99, 117, .35); }
.w-band { flex: 1; overflow: hidden; white-space: nowrap; }
.w-band-inhalt { display: inline-block; white-space: nowrap; animation: band 90s linear infinite; }
.w-band-inhalt span.w-eintrag { display: inline-block; padding: 0 34px; font-size: 18px; color: #DCE2F0; }
.w-band-inhalt b { margin-right: 12px; font-weight: 600; }
.w-band-inhalt i { font-style: normal; color: #7D89A8; margin-right: 12px; }
@keyframes band { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.w-veraltet { position: absolute; left: 36px; right: 36px; bottom: 84px; padding: 16px 22px; border: 1px solid rgba(244, 195, 80, .5); background: rgba(60, 45, 12, .85); color: #FBE2A6; border-radius: 14px; font-size: 22px; font-weight: 500; }

/* ?ruhig – keine Bewegung (schwache TV-Browser, OLED) */
.ruhig .puls, .ruhig .w-lampe, .ruhig .w-band-inhalt { animation: none !important; }
