*{box-sizing:border-box}
html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#07182c;color:#fff;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}
button,input{font:inherit}
#tvStage{position:relative;width:100vw;height:100vh;overflow:hidden;background:#07182c}
#map{position:absolute;inset:0;z-index:0}
.leaflet-control-container{display:none}
.map-shade{position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(90deg,rgba(0,13,34,.26),transparent 33%,transparent 82%,rgba(0,12,30,.08)),linear-gradient(180deg,rgba(0,11,28,.20),transparent 18%)}

.top-ui{position:absolute;z-index:15;left:24px;top:20px;display:flex;align-items:center;gap:16px}
.play-chip,.place-chip{height:66px;border:1px solid rgba(133,190,255,.46);background:rgba(5,31,69,.78);backdrop-filter:blur(12px);box-shadow:0 8px 34px rgba(0,0,0,.25),inset 0 0 0 1px rgba(255,255,255,.05);color:white;border-radius:22px;cursor:pointer}
.play-chip{display:flex;align-items:center;gap:12px;padding:7px 19px 7px 8px;text-align:left}
.play-chip b{font-size:18px;font-weight:600;display:block}.play-chip small{font-size:12px;color:#d7e5f6;display:block;margin-top:2px}
.play-circle{display:grid;place-items:center;width:50px;height:50px;border-radius:50%;background:#1188ff;border:3px solid rgba(112,191,255,.55);box-shadow:0 0 20px rgba(21,139,255,.75);font-size:20px;padding-left:3px}
.place-chip{display:flex;align-items:center;gap:12px;padding:0 18px;min-width:350px}
.place-chip .pin{width:24px;height:31px;display:grid;place-items:center;color:#fff;font-size:26px;line-height:1;position:relative}
.place-chip .pin:before{content:'📍';position:absolute;font-size:27px}
.place-chip .pin{font-size:0}
.place-chip b{font-size:20px;font-weight:600}.chev{font-size:22px;color:#d9e9fb;margin-right:10px}
.top-icon{font-size:30px;margin-left:auto}.place-chip strong{font-size:27px;font-weight:500}

.tv-logo{position:absolute;z-index:15;right:28px;top:21px;display:flex;align-items:center;gap:8px;color:#fff;text-decoration:none;text-shadow:0 2px 12px rgba(0,0,0,.65)}
.logo-sun{font-size:35px}.tv-logo strong{font-size:37px;letter-spacing:-1.6px}.tv-logo strong>span{color:#ffb400}.tv-logo small{font-size:.5em;font-weight:500;letter-spacing:-.2px}

.laura{position:absolute;z-index:8;left:2.5vw;bottom:-1vh;width:min(37vw,560px);height:min(88vh,900px);display:flex;align-items:flex-end;justify-content:flex-start;pointer-events:none;filter:drop-shadow(0 18px 26px rgba(0,0,0,.38));transform-origin:50% 100%}
.laura img{height:100%;width:auto;max-width:100%;object-fit:contain;object-position:left bottom}
.laura.speaking{animation:talk 2.8s ease-in-out infinite}
@keyframes talk{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-4px) rotate(.18deg)}}

.full-btn,.mute-btn{position:absolute;z-index:16;bottom:18px;width:46px;height:46px;border:1px solid rgba(255,255,255,.25);border-radius:50%;background:rgba(5,24,47,.58);backdrop-filter:blur(10px);color:#fff;font-size:22px;cursor:pointer;opacity:.72;transition:.2s}
.full-btn{right:22px}.mute-btn{right:78px}.full-btn:hover,.mute-btn:hover{opacity:1;background:rgba(5,35,73,.86)}

.place-dialog{position:absolute;inset:0;z-index:40;background:rgba(0,0,0,.38);display:none;align-items:flex-start;justify-content:center;padding-top:105px}
.place-dialog.open{display:flex}
.dialog-card{width:min(520px,94vw);background:rgba(4,21,42,.97);border:1px solid rgba(132,190,255,.35);border-radius:20px;padding:18px;box-shadow:0 28px 90px rgba(0,0,0,.55);backdrop-filter:blur(18px)}
.dialog-head{display:flex;justify-content:space-between;align-items:center;font-size:20px;margin-bottom:14px}
.dialog-head button{border:0;background:none;color:#fff;font-size:30px;cursor:pointer}
.search{display:flex;gap:8px}.search input{flex:1;border:1px solid #34587a;background:#09223b;color:#fff;border-radius:11px;padding:12px 14px;outline:none}
.search button,.locate{border:0;border-radius:10px;background:#1184ee;color:#fff;padding:11px 16px;cursor:pointer}.locate{width:100%;margin-top:12px;background:#173a59}
.suggestions,.recent{display:grid;gap:5px;margin-top:9px}.suggestions button,.recent button{border:0;background:#0c2945;color:#eef7ff;border-radius:9px;text-align:left;padding:10px;cursor:pointer}.suggestions button:hover,.recent button:hover{background:#123958}
.recent:before{content:'Zuletzt verwendet';font-size:12px;color:#9db4c8;margin:5px 0 1px}

.status{position:absolute;z-index:60;left:50%;top:100px;transform:translateX(-50%);background:rgba(3,20,38,.9);border:1px solid rgba(255,255,255,.16);border-radius:999px;padding:8px 14px;font-size:12px;opacity:0;pointer-events:none;transition:.25s}.status.show{opacity:1}
.hidden-data{display:none!important}

@media(max-width:1000px){
 .top-ui{left:12px;top:12px;gap:8px}.play-chip,.place-chip{height:56px;border-radius:18px}.play-circle{width:42px;height:42px}
 .play-chip b{font-size:15px}.play-chip small{font-size:10px}.place-chip{min-width:270px}.place-chip b{font-size:17px}.place-chip strong{font-size:22px}.top-icon{font-size:24px}
 .tv-logo{right:14px;top:14px}.tv-logo strong{font-size:29px}.logo-sun{font-size:29px}.laura{left:-2vw;width:43vw;height:80vh}
}
@media(max-width:760px){
 .top-ui{right:10px;display:grid;grid-template-columns:1fr}.play-chip{width:max-content}.place-chip{min-width:0;width:min(88vw,380px)}
 .tv-logo{top:auto;bottom:14px;right:15px}.tv-logo strong{font-size:23px}.logo-sun{font-size:23px}
 .laura{width:62vw;height:68vh;left:-9vw;bottom:-2vh}.full-btn{display:none}.mute-btn{right:12px;bottom:66px}
}

/* V8.2 interactive weather layers */
#map{z-index:0}
.map-shade{z-index:2;pointer-events:none}
.leaflet-container{cursor:grab}.leaflet-container:active{cursor:grabbing}
.layer-switch{position:absolute;z-index:16;top:98px;right:28px;display:flex;gap:6px;padding:6px;background:rgba(4,24,48,.72);border:1px solid rgba(137,192,255,.28);border-radius:14px;backdrop-filter:blur(12px);box-shadow:0 10px 30px rgba(0,0,0,.22)}
.layer-switch button{border:0;background:transparent;color:#dbe9f6;padding:8px 11px;border-radius:9px;cursor:pointer;font-size:12px}
.layer-switch button:hover{background:rgba(255,255,255,.09)}
.layer-switch button.active{background:#147fe0;color:#fff;box-shadow:0 0 0 1px rgba(255,255,255,.08) inset}
.map-tools{position:absolute;z-index:16;right:28px;top:154px;display:grid;gap:6px}
.map-tools button{width:38px;height:38px;border:1px solid rgba(255,255,255,.18);border-radius:10px;background:rgba(4,24,48,.72);backdrop-filter:blur(10px);color:#fff;font-size:20px;cursor:pointer}
.map-tools button:hover{background:rgba(9,49,91,.9)}
.sat-credit{position:absolute;z-index:14;left:18px;bottom:14px;font-size:10px;color:rgba(255,255,255,.62);background:rgba(2,12,26,.4);padding:4px 7px;border-radius:6px;backdrop-filter:blur(6px);pointer-events:none}
@media(max-width:1000px){.layer-switch{top:82px;right:14px}.map-tools{top:135px;right:14px}}
@media(max-width:760px){.layer-switch{left:10px;right:auto;top:auto;bottom:70px;max-width:calc(100vw - 20px);overflow-x:auto}.layer-switch button{white-space:nowrap}.map-tools{top:150px;right:10px}.sat-credit{display:none}}

/* V8.3 location marker */
.w24-place-marker{background:transparent!important;border:0!important;overflow:visible!important}
.w24-place-marker .pin-shape{position:absolute;left:0;top:0;width:36px;height:46px;border-radius:50% 50% 50% 0;background:#d71920;border:3px solid #fff;transform:rotate(-45deg);box-shadow:0 3px 12px rgba(0,0,0,.55)}
.w24-place-marker .pin-shape span{position:absolute;width:10px;height:10px;border-radius:50%;background:#fff;left:10px;top:10px}
.w24-place-marker .pin-label{position:absolute;left:42px;top:13px;white-space:nowrap;color:#fff;font-size:16px;font-weight:700;line-height:1;text-shadow:0 2px 6px #000,0 0 3px #000;background:rgba(5,15,28,.52);padding:5px 8px;border-radius:7px;backdrop-filter:blur(4px)}
@media(max-width:760px){.w24-place-marker .pin-label{font-size:13px}.w24-place-marker .pin-shape{transform:rotate(-45deg) scale(.88);transform-origin:bottom left}}

/* V9.0 – studio window design */
.presenter-window{
  position:absolute;z-index:12;left:20px;top:120px;bottom:115px;width:min(29vw,440px);
  border:1px solid rgba(157,203,255,.55);border-radius:24px;overflow:hidden;
  background:linear-gradient(180deg,rgba(11,39,70,.98),rgba(4,20,38,.98));
  box-shadow:0 20px 60px rgba(0,0,0,.45),inset 0 0 0 1px rgba(255,255,255,.05);
  backdrop-filter:blur(12px);transform-origin:50% 100%;
}
.presenter-window:before{
  content:'';position:absolute;inset:0;background:
  linear-gradient(90deg,transparent 0 17%,rgba(37,127,205,.16) 18% 20%,transparent 21% 72%,rgba(37,127,205,.12) 73% 75%,transparent 76%),
  radial-gradient(circle at 50% 12%,rgba(45,139,223,.2),transparent 36%);
  pointer-events:none
}
.studio-glow{position:absolute;inset:0;background:linear-gradient(180deg,rgba(41,124,203,.12),transparent 35%,rgba(0,0,0,.18));pointer-events:none}
.presenter-window .laura{
  position:absolute!important;z-index:2!important;left:0!important;right:0!important;bottom:0!important;
  width:100%!important;height:96%!important;display:flex!important;align-items:flex-end!important;justify-content:center!important;
  filter:drop-shadow(0 18px 24px rgba(0,0,0,.38))!important;pointer-events:none!important
}
.presenter-window .laura img{height:100%!important;width:auto!important;max-width:100%!important;object-fit:contain!important;object-position:50% 100%!important}
.presenter-window.speaking .laura{animation:studioTalk 2.1s ease-in-out infinite}
.presenter-window:not(.speaking) .laura{animation:studioIdle 5.6s ease-in-out infinite}
@keyframes studioIdle{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-2px) scale(1.003)}}
@keyframes studioTalk{0%,100%{transform:translateY(0) rotate(0) scale(1)}25%{transform:translateY(-3px) rotate(.18deg) scale(1.002)}50%{transform:translateY(-1px) rotate(-.12deg) scale(1.004)}75%{transform:translateY(-4px) rotate(.12deg) scale(1.002)}}
.presenter-name{
  position:absolute;z-index:5;left:68px;right:28px;bottom:16px;text-align:center;padding:10px 16px;
  border-radius:13px;background:rgba(4,14,25,.72);border:1px solid rgba(255,255,255,.08);backdrop-filter:blur(10px)
}
.presenter-name b{display:block;font-size:20px;letter-spacing:.3px}.presenter-name>span{display:block;font-size:12px;color:#e2ebf4}.presenter-name>span span{color:#ffb800}

.top-ui{left:18px;top:18px}
.layer-switch{top:18px!important;right:320px!important}
.tv-logo{top:20px!important;right:24px!important}
.map-tools{left:18px!important;right:auto!important;top:auto!important;bottom:118px!important}
.map-tools button{width:44px;height:44px}
.full-btn{left:18px;right:auto;bottom:18px}.mute-btn{left:72px;right:auto;bottom:18px}

.timeline{
  position:absolute;z-index:16;left:50%;transform:translateX(-50%);bottom:22px;
  width:min(52vw,820px);height:76px;padding:13px 18px 10px 18px;
  display:grid;grid-template-columns:48px 1fr 56px 42px;grid-template-rows:34px 18px;
  column-gap:12px;align-items:center;background:rgba(4,20,40,.86);border:1px solid rgba(137,192,255,.28);
  border-radius:18px;backdrop-filter:blur(14px);box-shadow:0 18px 45px rgba(0,0,0,.33)
}
.timeline>button{width:38px;height:38px;border:0;border-radius:50%;background:transparent;color:#fff;font-size:20px;cursor:pointer}
.timeline>button:hover{background:rgba(255,255,255,.09)}
#timelineSlider{width:100%;accent-color:#1788ff;cursor:pointer}
.timeline-labels{grid-column:2;display:flex;justify-content:space-between;font-size:11px;color:#d3deea;padding:0 3px}
.timeline-labels strong{color:#26a0ff;font-weight:600}
.timeline-time{font-size:12px;color:#d8e3ee;text-align:center}
#refreshRadar{font-size:23px}
.sat-credit{left:auto!important;right:16px!important;bottom:8px!important;opacity:.65}

@media(max-width:1100px){
 .presenter-window{width:min(35vw,390px);top:110px;bottom:108px}
 .layer-switch{right:250px!important}
 .tv-logo strong{font-size:28px!important}
 .timeline{width:min(57vw,700px)}
}
@media(max-width:800px){
 .presenter-window{left:10px;top:150px;bottom:125px;width:42vw;min-width:220px;border-radius:18px}
 .presenter-name{left:20px;right:20px}.top-ui{left:10px;right:10px}
 .layer-switch{left:10px!important;right:auto!important;top:auto!important;bottom:78px!important;max-width:calc(100vw - 20px)}
 .tv-logo{right:10px!important;top:auto!important;bottom:12px!important}
 .timeline{left:auto;right:10px;transform:none;width:53vw;bottom:126px;height:70px;grid-template-columns:42px 1fr 48px 38px}
 .map-tools{left:auto!important;right:10px!important;bottom:205px!important}
 .full-btn,.mute-btn{display:none}
}

/* V10 – compact Laura, speech bubble, legal/footer overlays */
.presenter-window{width:min(25vw,360px)!important;top:135px!important;bottom:125px!important}
.presenter-window .laura{height:78%!important;bottom:70px!important}
.presenter-window .laura img{object-position:50% 16%!important}
.presenter-name{left:36px!important;right:36px!important;bottom:72px!important}
.speech-bubble{position:absolute;z-index:8;left:18px;right:18px;bottom:14px;display:flex;align-items:center;gap:7px;padding:8px 10px;border-radius:14px;background:rgba(4,17,31,.82);border:1px solid rgba(255,255,255,.11);backdrop-filter:blur(10px)}
.speech-bubble>span{font-size:12px;font-weight:700;margin-right:auto;color:#dbe9f5}
.speech-bubble button{border:0;border-radius:9px;background:rgba(255,255,255,.07);color:#fff;padding:7px 9px;font-size:11px;cursor:pointer}
.speech-bubble button.active,.speech-bubble button:hover{background:#137fdc}
.read-panel{position:absolute;z-index:20;left:12px;right:12px;bottom:60px;max-height:42%;overflow:auto;background:rgba(3,15,28,.95);border:1px solid rgba(132,190,255,.32);border-radius:14px;padding:14px 15px;display:none;box-shadow:0 15px 38px rgba(0,0,0,.45)}
.read-panel.open{display:block}.read-panel b{display:block;margin-bottom:8px}.read-panel p{font-size:12px;line-height:1.5;margin:0;color:#e6eef6}.read-panel button{position:absolute;right:8px;top:6px;border:0;background:transparent;color:#fff;font-size:21px;cursor:pointer}
.site-footer{position:absolute;z-index:18;left:0;right:0;bottom:0;height:34px;padding:0 14px;display:flex;align-items:center;justify-content:space-between;gap:15px;background:rgba(2,10,20,.88);border-top:1px solid rgba(255,255,255,.09);font-size:10px;backdrop-filter:blur(10px)}
.footer-left,.footer-right{display:flex;align-items:center;gap:9px;white-space:nowrap}.site-footer button,.site-footer a{border:0;background:none;color:#cbd8e5;text-decoration:none;padding:0;cursor:pointer;font-size:10px}.site-footer button:hover,.site-footer a:hover{color:#fff;text-decoration:underline}.footer-right a{color:#ffd064}
.timeline{bottom:50px!important}.full-btn,.mute-btn{bottom:48px!important}.sat-credit{bottom:39px!important}
.info-modal{position:absolute;inset:0;z-index:70;background:rgba(0,0,0,.52);display:none;align-items:center;justify-content:center;padding:25px}.info-modal.open{display:flex}
.info-card{width:min(760px,94vw);max-height:78vh;background:#06182b;border:1px solid rgba(130,188,245,.35);border-radius:18px;overflow:hidden;box-shadow:0 28px 90px rgba(0,0,0,.65)}
.info-head{height:52px;padding:0 16px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(255,255,255,.09);background:#09213a}.info-head b{font-size:17px}.info-head button{border:0;background:none;color:#fff;font-size:28px;cursor:pointer}
.info-body{padding:18px 20px 26px;overflow:auto;max-height:calc(78vh - 52px);font-size:13px;line-height:1.55;color:#e4ecf4}.info-body h2{margin-top:0}.info-body h3{margin:20px 0 6px}.info-body a{color:#61b3ff}
@media(max-width:900px){.presenter-window{width:32vw!important}.site-footer{font-size:9px}.site-footer button,.site-footer a{font-size:9px}.footer-left{gap:6px}.timeline{bottom:52px!important}}
@media(max-width:700px){.presenter-window{width:46vw!important;min-width:210px!important}.site-footer{height:48px;align-items:flex-start;padding-top:6px;flex-wrap:wrap}.footer-left{white-space:normal;flex-wrap:wrap}.footer-right{margin-left:auto}.timeline{bottom:64px!important}.full-btn,.mute-btn{bottom:60px!important}.sat-credit{display:none!important}}
