/* ===== assets/css/portal-v2314.css ===== */
:root{
  --bg:#020913;
  --panel:rgba(7,25,42,.78);
  --panel-strong:rgba(4,18,31,.96);
  --text:#f5f9fd;
  --muted:#a8bdcc;
  --cyan:#3ed7ff;
  --cyan2:#078cff;
  --gold:#ffb12c;
  --gold2:#ff7a16;
  --danger:#ff7688;
  --line:rgba(126,190,230,.24);
  --shadow:0 28px 70px rgba(0,0,0,.45);
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;background:transparent;color:var(--text);font-family:Inter,Segoe UI,Arial,sans-serif}
html{height:100%}
body{height:100%;overflow:hidden;background:var(--bg)}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
button{cursor:pointer}
[hidden]{display:none!important}

.scene-bg{
  position:fixed;
  inset:-14px;
  width:calc(100% + 28px);
  height:calc(100% + 28px);
  object-fit:cover;
  object-position:center center;
  z-index:0;
  pointer-events:none;
  transform:none;
  filter:none;
}
.scene-vignette,.scene-depth{position:fixed;inset:0;pointer-events:none}
.scene-vignette{
  z-index:1;
  background:
    radial-gradient(circle at 50% 45%,rgba(4,20,34,0) 0 24%,rgba(1,8,14,.05) 48%,rgba(0,4,9,.38) 100%),
    linear-gradient(180deg,rgba(2,9,16,.04),rgba(1,7,13,.05) 64%,rgba(1,6,11,.35));
}
.scene-depth{
  z-index:2;
  background:
    linear-gradient(90deg,rgba(0,8,15,.16),transparent 18%,transparent 82%,rgba(0,8,15,.12)),
    radial-gradient(circle at 50% 58%,rgba(14,100,178,.10),transparent 34%);
}

.topbar{
  position:fixed;
  z-index:40;
  top:0;left:0;right:0;
  height:62px;
  padding:0 34px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:24px;
  background:linear-gradient(180deg,rgba(3,17,29,.82),rgba(4,19,32,.54));
  border:1px solid rgba(93,182,239,.26);
  border-top-color:rgba(113,200,255,.42);
  border-radius:0 0 18px 18px;
  box-shadow:0 12px 34px rgba(0,0,0,.24),inset 0 -1px 0 rgba(255,255,255,.03);

}
.top-brand{display:flex;align-items:center;gap:11px;min-width:0}
.top-brand img{width:66px;height:40px;object-fit:contain;filter:drop-shadow(0 0 10px rgba(44,196,255,.22))}
.top-brand strong{font-size:31px;font-weight:900;font-style:italic;letter-spacing:-.045em;white-space:nowrap;text-shadow:0 2px 12px rgba(0,0,0,.28)}
.top-brand strong span{color:var(--gold)}
.top-brand em{font-style:normal;font-size:10px;letter-spacing:.43em;color:#edf8ff;opacity:.96;margin-left:4px}
.top-claim{justify-self:center;font-size:13px;font-weight:700;letter-spacing:.31em;text-transform:uppercase;color:#edf5fb;text-shadow:0 2px 12px rgba(0,0,0,.35)}
.top-right-zone{display:flex;align-items:center;gap:10px}
.top-signature{font-family:"Segoe Script","Brush Script MT",cursive;font-size:27px;color:#ffae28;white-space:nowrap;transform:rotate(-2deg);text-shadow:0 0 15px rgba(255,162,24,.2)}
.admin-state{padding:5px 8px;border-radius:999px;border:1px solid rgba(255,178,45,.26);background:rgba(255,164,25,.12);font-size:9px;font-weight:900;letter-spacing:.18em;color:#ffdca0}
.header-icon{
  width:38px;height:38px;border:0;background:transparent;color:#d7edfb;padding:7px;border-radius:12px;
  display:grid;place-items:center;transition:background .18s ease,transform .18s ease,color .18s ease
}
.header-icon:hover{background:rgba(22,83,124,.34);transform:translateY(-1px);color:white}
.header-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
#manageBtn{display:none!important}

.portal-main{position:fixed;inset:62px 0 0;z-index:4}
.portal-stage{
  position:absolute;inset:0;
  overflow:hidden;
  perspective:1000px;
}
.portal-stage::before{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:0;
  background:
    radial-gradient(ellipse at 50% 52%,rgba(0,150,255,.13) 0,rgba(0,126,220,.06) 23%,transparent 49%),
    radial-gradient(ellipse at 58% 45%,rgba(255,165,36,.09),transparent 28%);
}
.portal-stage::after{
  content:"";position:absolute;left:50%;top:50%;width:min(84vw,1400px);height:min(52vw,650px);transform:translate(-50%,-48%);border-radius:50%;
  border:1px solid rgba(109,187,236,.065);box-shadow:inset 0 0 100px rgba(18,114,185,.035);pointer-events:none;z-index:0
}
.portal-aura{position:absolute;left:50%;top:49%;border-radius:50%;pointer-events:none;z-index:2;transform:translate(-50%,-50%)}
.portal-aura-one{width:410px;height:410px;background:radial-gradient(circle,rgba(0,158,255,.16),rgba(0,139,255,.055) 40%,transparent 70%)}
.portal-aura-two{width:470px;height:470px;border:1px solid rgba(69,199,255,.10);box-shadow:0 0 34px rgba(0,166,255,.07),inset 0 0 34px rgba(255,173,38,.04);opacity:.62}
.portal-pedestal{
  position:absolute;left:50%;top:72.4%;transform:translate(-50%,-50%) perspective(500px) rotateX(66deg);z-index:3;
  width:350px;height:74px;border-radius:50%;
  background:radial-gradient(ellipse,rgba(8,46,73,.9) 0 36%,rgba(2,17,28,.72) 58%,rgba(0,0,0,0) 76%);
  border:2px solid rgba(63,210,255,.72);
  box-shadow:0 0 18px rgba(56,208,255,.55),0 0 42px rgba(30,160,255,.28),inset 0 0 30px rgba(255,176,49,.12)
}
.portal-pedestal::before,.portal-pedestal::after{content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:50%}
.portal-pedestal::before{width:72%;height:56%;border:2px solid rgba(255,179,53,.56);box-shadow:0 0 18px rgba(255,164,42,.22)}
.portal-pedestal::after{width:22%;height:18%;background:#e9fbff;box-shadow:0 0 25px 8px rgba(39,202,255,.58),0 0 35px 14px rgba(255,182,49,.18)}
.portal-pedestal span{position:absolute;left:50%;top:-30px;width:2px;height:36px;transform:translateX(-50%);background:linear-gradient(180deg,transparent,#83e9ff);box-shadow:0 0 12px #48d4ff}

.portal-core{
  position:absolute;left:50%;top:48.8%;z-index:7;
  width:clamp(290px,21.8vw,365px);aspect-ratio:1/1;padding:0;border:0;background:none;
  transform:translate(-50%,-50%);
  filter:drop-shadow(-9px 0 18px rgba(29,191,255,.34)) drop-shadow(9px 0 18px rgba(255,155,28,.24)) drop-shadow(0 22px 30px rgba(0,0,0,.30));
  transition:transform .16s cubic-bezier(.2,.8,.2,1);
}
.portal-core img{width:100%;height:100%;object-fit:contain;display:block}
.portal-core:hover{transform:translate3d(-50%,-50%,0) scale(1.018)}

.connections{position:absolute;inset:0;width:100%;height:100%;z-index:4;pointer-events:none}
.connection-glow,.connection-base,.connection-dash{fill:none;stroke-linecap:round}
.connection-glow{stroke-width:10;opacity:.12}
.connection-base{stroke-width:2.8;opacity:.96}
.connection-dash{stroke:#f6fcff;stroke-width:1.15;opacity:.78;stroke-dasharray:3 16;animation:lineFlow 11s linear infinite}
.connection-node{fill:#fff;stroke:#9cecff;stroke-width:1}
.connection-group{opacity:.9;transition:opacity .14s ease}
.connection-group.hover,.connection-group.active{opacity:1}
.connection-group.hover .connection-glow,.connection-group.active .connection-glow{stroke-width:13;opacity:.2}
.connection-group.hover .connection-base,.connection-group.active .connection-base{stroke-width:3.6}
.connection-group.hover .connection-dash,.connection-group.active .connection-dash{stroke-width:1.7;opacity:.96}
@keyframes lineFlow{to{stroke-dashoffset:-230}}

.platform-layer{position:absolute;inset:0;z-index:6}
.platform-node{
  position:absolute;transform:translate3d(-50%,-50%,0);width:clamp(132px,10.8vw,182px);aspect-ratio:1/1;padding:0;border:0;background:none;
  display:grid;place-items:center;z-index:6;transition:transform .16s cubic-bezier(.2,.85,.2,1);
  will-change:transform;backface-visibility:hidden;
}
.platform-node .logo-wrap{display:grid;place-items:center;width:100%;height:100%;border-radius:50%;background:transparent}
.platform-node img{width:100%;height:100%;object-fit:contain;display:block;transform:translateZ(0);backface-visibility:hidden}
.platform-node::before{content:"";position:absolute;inset:4%;border-radius:50%;background:radial-gradient(circle,rgba(255,174,38,.34),rgba(255,174,38,.10) 44%,transparent 70%);box-shadow:0 0 24px rgba(255,166,34,.18);opacity:.16;transform:scale(.92);transition:opacity .16s ease,transform .16s ease;pointer-events:none}
.platform-node[data-accent="cyan"]::before{background:radial-gradient(circle,rgba(52,207,255,.34),rgba(52,207,255,.09) 44%,transparent 70%);box-shadow:0 0 24px rgba(52,207,255,.18)}
.platform-node:hover,.platform-node:focus-visible,.platform-node.selected{transform:translate3d(-50%,-50%,0) scale(1.055);outline:none}
.platform-node:hover::before,.platform-node:focus-visible::before,.platform-node.selected::before{opacity:.95;transform:scale(1.08)}
.platform-tooltip{display:none!important}
.node-lock{position:absolute;right:9%;top:13%;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;font-size:9px;color:#ffe5b7;border:1px solid rgba(255,184,71,.34);background:rgba(41,24,7,.8);box-shadow:0 0 14px rgba(255,170,42,.3)}

.scene-quote{position:absolute;right:3.5%;top:16%;z-index:3;width:185px;color:rgba(255,244,225,.78);font-family:"Segoe Script","Brush Script MT",cursive;font-size:18px;line-height:1.55;text-shadow:0 2px 12px rgba(0,0,0,.45)}
.scene-quote p{margin:0}
.scene-note{position:absolute;left:2.4%;bottom:11.5%;z-index:3;font-family:"Segoe Script","Brush Script MT",cursive;font-size:19px;line-height:1.45;color:#f6a632;transform:rotate(-5deg);text-shadow:0 2px 12px rgba(0,0,0,.45)}

.stage-caption{position:absolute;left:50%;bottom:117px;transform:translateX(-50%);z-index:9;text-align:center;display:flex;flex-direction:column;gap:7px;align-items:center;text-shadow:0 2px 12px rgba(0,0,0,.5)}
.stage-caption span{font-size:18px;font-weight:800;letter-spacing:.28em;text-transform:uppercase;white-space:nowrap}
.stage-caption span::before,.stage-caption span::after{content:"";display:inline-block;width:72px;height:1px;vertical-align:middle;margin:0 17px;background:linear-gradient(90deg,transparent,#9be9ff);box-shadow:0 0 7px rgba(63,210,255,.45)}
.stage-caption span::after{background:linear-gradient(90deg,#9be9ff,transparent)}
.stage-caption small{font-size:12px;color:#d4e1ea}

.platform-detail{
  display:none!important;
  position:absolute;left:2.5%;top:8.5%;z-index:14;width:322px;max-height:270px;padding:18px 18px 16px;border-radius:18px;
  background:linear-gradient(180deg,rgba(8,39,65,.88),rgba(4,24,41,.9));border:1px solid rgba(84,191,255,.68);
  box-shadow:0 0 0 1px rgba(101,203,255,.08) inset,0 0 24px rgba(29,174,255,.26),0 24px 46px rgba(0,0,0,.32);overflow:auto
}
.platform-detail[data-side="right"]{left:auto;right:2.5%}
.detail-close{position:absolute;right:8px;top:7px;border:0;background:none;color:#dff5ff;font-size:21px;opacity:.68;padding:3px 7px}
.detail-head{position:relative;display:grid;grid-template-columns:58px 1fr 20px;gap:12px;align-items:center;padding-right:2px}
.detail-logo{width:58px;height:58px;display:grid;place-items:center}.detail-logo img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 0 8px rgba(255,178,52,.22))}
.detail-kicker{display:block;font-size:9px;font-weight:800;letter-spacing:.16em;color:var(--cyan);margin-bottom:3px}
.platform-detail h2{margin:0;font-size:16px;line-height:1.2}.platform-detail #detailSubtitle{margin:4px 0 0;color:#d8e7f1;font-size:11px;line-height:1.35}
.detail-chevron{font-size:38px;line-height:1;color:#bfeeff;text-shadow:0 0 12px rgba(49,205,255,.55)}
.detail-copy{margin:10px 0 0;padding-top:10px;border-top:1px solid rgba(154,210,240,.15);color:#b8cbd8;font-size:11px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.subplatforms{display:grid;gap:5px;margin-top:10px}.subplatforms:empty{display:none}
.sub-link{display:grid;grid-template-columns:28px 1fr auto;align-items:center;gap:8px;padding:7px 8px;border-radius:10px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.05)}
.sub-link:hover{background:rgba(35,107,156,.20);border-color:rgba(82,184,244,.24)}
.sub-logo{width:28px;height:28px;display:grid;place-items:center}.sub-logo img{max-width:100%;max-height:100%;object-fit:contain}
.sub-link strong{display:block;font-size:10px}.sub-link small{display:block;font-size:8px;color:#9fb5c4;margin-top:1px}.sub-link .arrow{font-size:17px;color:#d8f4ff}
.detail-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}

.portal-footer{
  position:fixed;z-index:30;left:50%;bottom:14px;transform:translateX(-50%);width:min(82vw,1360px);height:74px;padding:0 18px;
  display:grid;grid-template-columns:repeat(4,1fr);align-items:center;border-radius:16px;
  background:linear-gradient(180deg,rgba(7,25,41,.82),rgba(4,17,29,.9));border:1px solid rgba(97,190,247,.38);
  box-shadow:0 18px 50px rgba(0,0,0,.34),0 0 24px rgba(44,166,238,.10),inset 0 1px 0 rgba(255,255,255,.04);
}
.footer-item{display:flex;align-items:center;gap:14px;min-width:0;padding:0 18px;border-left:1px solid rgba(190,224,242,.13)}
.footer-item:first-child{border-left:0}.footer-brand img{width:52px;height:34px;object-fit:contain}
.footer-item span{display:flex;flex-direction:column;gap:3px;min-width:0}.footer-item strong{font-size:9px;letter-spacing:.16em;white-space:nowrap}.footer-item small{font-size:10px;color:#b8c7d1;white-space:nowrap}
.footer-icon{width:40px;height:40px;flex:0 0 40px;fill:none;stroke:var(--gold);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 7px rgba(255,176,45,.25))}.people-icon{stroke:#ffb432}.gem-icon{stroke:#ffd064}.leaf-icon{stroke:#ffba49}

.primary-button,.ghost-button,.upload-button,.file-label{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:9px 12px;border-radius:11px;border:1px solid rgba(99,181,234,.28);color:#edf7ff;background:rgba(255,255,255,.035);transition:transform .18s ease,border-color .18s ease,background .18s ease}
.primary-button{background:linear-gradient(180deg,rgba(22,119,199,.88),rgba(8,76,146,.95));border-color:rgba(70,190,255,.48);box-shadow:0 0 18px rgba(42,178,255,.12)}
.primary-button:hover,.ghost-button:hover,.upload-button:hover,.file-label:hover{transform:translateY(-1px);border-color:rgba(96,199,255,.46)}
.full{width:100%}.danger-link{border:0;background:none;color:#ff9aaa;font-weight:700;padding:6px 0}

.backdrop{position:fixed;inset:0;z-index:80;background:rgba(0,0,0,.58);}
.modal{position:fixed;z-index:100;left:50%;top:50%;transform:translate(-50%,-50%);width:min(560px,calc(100vw - 32px));padding:26px;border-radius:24px;background:rgba(5,19,31,.97);border:1px solid rgba(93,179,235,.3);box-shadow:0 30px 80px rgba(0,0,0,.5)}
.modal-close{position:absolute;right:12px;top:10px;border:0;background:none;color:#d8ebf6;font-size:24px}.auth-logo{width:78px;height:78px;object-fit:contain;display:block;margin:0 auto 10px}.eyebrow{margin:0;color:var(--gold);font-size:11px;font-weight:900;letter-spacing:.2em;text-transform:uppercase}.auth-modal h2{margin:5px 0 8px;font-size:30px}.auth-modal>p{color:#a9becd;margin:0 0 16px}.auth-modal form{display:grid;gap:12px}.modal-note{display:block;margin-top:12px;color:#8ea5b5;line-height:1.4}.form-message{min-height:1em;margin:0;color:#ffb7c1}
label{display:grid;gap:6px}label>span{font-size:12px;font-weight:700;color:#dceaf4}
input,textarea,select{width:100%;padding:12px 13px;border-radius:11px;border:1px solid rgba(96,169,220,.23);background:rgba(1,12,21,.78);color:#eef8ff;outline:none}textarea{resize:vertical}input:focus,textarea:focus,select:focus{border-color:rgba(75,190,255,.56);box-shadow:0 0 0 3px rgba(41,142,216,.12)}

.admin-drawer{position:fixed;top:0;right:0;width:min(920px,100vw);height:100dvh;z-index:95;background:rgba(4,15,25,.98);border-left:1px solid rgba(92,168,220,.24);box-shadow:-26px 0 54px rgba(0,0,0,.4);transform:translateX(100%);transition:transform .24s ease;display:grid;grid-template-rows:auto auto 1fr auto}.admin-drawer.open{transform:translateX(0)}
.drawer-head,.drawer-tools,.drawer-footer{padding:17px 20px}.drawer-head{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid rgba(255,255,255,.08)}.drawer-head h2{margin:4px 0 0;font-size:27px}.drawer-close{border:0;background:none;color:#dcecf6;font-size:27px}.drawer-tools{display:flex;gap:10px;flex-wrap:wrap;border-bottom:1px solid rgba(255,255,255,.08)}.drawer-footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid rgba(255,255,255,.08)}
.admin-layout{display:grid;grid-template-columns:280px 1fr;min-height:0}.platform-admin-list{padding:16px;overflow:auto;border-right:1px solid rgba(255,255,255,.08)}
.admin-list-item{width:100%;display:grid;grid-template-columns:54px 1fr auto;align-items:center;gap:11px;padding:10px;margin-bottom:10px;border-radius:14px;border:1px solid rgba(255,255,255,.04);background:rgba(255,255,255,.025);color:#eef8ff;text-align:left}.admin-list-item.active{background:rgba(17,74,115,.44);border-color:rgba(79,183,247,.3)}.admin-list-item img{width:54px;height:54px;object-fit:contain}.admin-list-item strong{display:block}.admin-list-item small{display:block;margin-top:2px;color:#93aabd;font-size:10px}.admin-list-item em{font-style:normal;font-size:10px;letter-spacing:.12em;color:#cddce7}
.platform-editor{padding:19px 20px 28px;overflow:auto}.editor-section-title,.subs-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.logo-editor{display:grid;grid-template-columns:105px 1fr;gap:15px;align-items:center;margin-bottom:16px}.logo-preview{width:105px;height:105px;display:grid;place-items:center;border-radius:18px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.06)}.logo-preview img{max-width:100%;max-height:100%;object-fit:contain}.form-grid{display:grid;gap:12px}.form-grid.two{grid-template-columns:1fr 1fr}.form-grid.three{grid-template-columns:1fr 1fr 1fr}.switches{display:flex;gap:18px;margin:12px 0}.switches label,.sub-edit-flags label{display:flex;align-items:center;gap:8px}.switches input,.sub-edit-flags input{width:auto}.subs-editor{margin-top:22px;padding-top:18px;border-top:1px solid rgba(255,255,255,.08)}.sub-edit-card{padding:13px;border-radius:14px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.05);margin-bottom:10px}.sub-edit-top{display:grid;grid-template-columns:76px 1fr auto;gap:12px;align-items:center}.sub-edit-logo{display:grid;place-items:center;gap:5px}.sub-edit-logo img{width:64px;height:64px;object-fit:contain}.sub-edit-logo label{font-size:10px;color:#91a8b8}.sub-remove{border:0;background:none;color:#ff9aaa;font-size:24px}.sub-edit-fields{display:grid;grid-template-columns:1fr 1fr 160px;gap:10px;margin-top:10px}.sub-edit-flags{display:flex;gap:15px;margin-top:10px}.toast{position:fixed;z-index:120;left:50%;bottom:20px;transform:translate(-50%,10px);padding:10px 14px;border-radius:12px;background:rgba(5,20,33,.94);border:1px solid rgba(86,174,231,.3);opacity:0;pointer-events:none;transition:.18s}.toast.show{opacity:1;transform:translate(-50%,0)}.toast.error{border-color:rgba(255,103,124,.4)}

@media(max-width:1250px){
  .top-signature{display:none}.top-claim{font-size:11px}.platform-node{width:clamp(124px,13vw,168px)}.portal-core{width:clamp(280px,27vw,350px)}.platform-detail{width:290px}.scene-quote{display:none}.scene-note{display:none}.portal-footer{width:94vw}.footer-item{padding:0 10px}.footer-item strong{font-size:8px}.footer-item small{font-size:9px}
}
@media(max-width:900px){
  body{overflow:auto}.topbar{height:auto;min-height:70px;padding:10px 14px;grid-template-columns:1fr auto}.top-claim{grid-column:1/-1;justify-self:start;margin-left:3px}.top-brand img{width:50px}.top-brand strong{font-size:24px}.top-brand em{font-size:8px;letter-spacing:.24em}.header-search{display:none}.portal-main{position:relative;inset:auto;height:860px;min-height:860px}.portal-stage{position:relative;height:860px}.portal-core{top:45%;width:min(58vw,260px)}.portal-aura{top:45%}.portal-aura-one{width:330px;height:330px}.portal-aura-two{width:390px;height:390px}.portal-pedestal{top:66%;width:270px}.platform-node{width:min(30vw,128px)}.platform-detail{left:10px!important;right:10px!important;top:auto;bottom:126px;width:auto;max-height:220px}.stage-caption{bottom:92px}.stage-caption span{font-size:12px}.stage-caption small{font-size:10px}.stage-caption span::before,.stage-caption span::after{width:30px;margin:0 8px}.portal-footer{position:relative;left:auto;bottom:auto;transform:none;width:100%;height:auto;border-radius:0;grid-template-columns:1fr 1fr;padding:10px}.footer-item{min-height:60px}.footer-item:nth-child(3),.footer-item:nth-child(4){display:none}.admin-layout{grid-template-columns:1fr}.platform-admin-list{border-right:0;border-bottom:1px solid rgba(255,255,255,.08);max-height:32vh}.form-grid.two,.form-grid.three,.sub-edit-fields{grid-template-columns:1fr}.logo-editor{grid-template-columns:1fr}.sub-edit-top{grid-template-columns:1fr}.scene-bg{object-position:center top}
}
@media(max-width:540px){
  .top-brand em{display:none}.top-claim{font-size:8px;letter-spacing:.18em}.portal-main,.portal-stage{height:760px;min-height:760px}.portal-core{width:min(62vw,230px)}.platform-node{width:min(29vw,112px)}.portal-pedestal{width:220px}.footer-item strong{font-size:7px}.footer-item small{font-size:8px}.platform-tooltip{display:none}
}
@media(prefers-reduced-motion:reduce){.connection-dash{animation:none}}

/* V2.2.1 stacking/performance hardening */
.topbar{z-index:50}
.portal-footer{z-index:40}
.scene-bg{z-index:0}
.scene-vignette{z-index:1}
.scene-depth{z-index:2}
.portal-main{z-index:4}
@media(max-width:900px){.portal-main{z-index:4}}


/* V2.2.3 – kompaktere Hauptplattformen, Portal-Wasserzeichen, Mini-SUB-Orbits */
.portal-core{
  width:clamp(300px,25vw,420px);
  opacity:.28;
  z-index:3;
  pointer-events:none;
  filter:none;
  transition:none;
}
.portal-core:hover{transform:translate3d(-50%,-50%,0)}
.portal-aura-one{width:360px;height:360px;opacity:.42}
.portal-aura-two{width:420px;height:420px;opacity:.28}
.portal-pedestal{width:300px;top:70.5%;opacity:.62}
.connections{z-index:4}
.platform-layer{z-index:6}
.platform-node{
  width:clamp(96px,8.25vw,138px);
  will-change:auto;
}
.platform-node::before{box-shadow:0 0 15px rgba(255,166,34,.13)}
.platform-node[data-accent="cyan"]::before{box-shadow:0 0 15px rgba(52,207,255,.13)}
.platform-node:hover,.platform-node:focus-visible,.platform-node.selected{transform:translate3d(-50%,-50%,0) scale(1.065)}
.node-lock{width:20px;height:20px;font-size:8px;right:7%;top:12%}

.sub-orbit{
  position:absolute;
  z-index:8;
  width:0;
  height:0;
  pointer-events:none;
}
.sub-mini{
  --sub-x:0px;
  --sub-y:0px;
  position:absolute;
  left:0;
  top:0;
  width:34px;
  height:34px;
  padding:3px;
  border-radius:50%;
  transform:translate(-50%,-50%) translate(var(--sub-x),var(--sub-y));
  display:grid;
  place-items:center;
  border:1px solid rgba(113,215,255,.34);
  background:rgba(4,20,33,.84);
  box-shadow:0 0 0 1px rgba(255,181,58,.08) inset,0 5px 14px rgba(0,0,0,.25);
  pointer-events:auto;
  overflow:hidden;
  transition:transform .14s ease,border-color .14s ease,box-shadow .14s ease;
}
.sub-mini img{width:100%;height:100%;object-fit:contain;display:block;border-radius:50%}
.sub-mini:hover,.sub-mini:focus-visible{
  outline:none;
  transform:translate(-50%,-50%) translate(var(--sub-x),var(--sub-y)) scale(1.16);
  border-color:rgba(115,222,255,.75);
  box-shadow:0 0 12px rgba(54,203,255,.26),0 0 10px rgba(255,180,54,.13);
}

.connection-glow{stroke-width:7;opacity:.09}
.connection-base{stroke-width:2.45;opacity:.92}
.connection-dash{stroke-width:1;opacity:.72;stroke-dasharray:3 18;animation-duration:13s}
.connection-group.hover .connection-glow,.connection-group.active .connection-glow{stroke-width:9;opacity:.14}
.connection-group.hover .connection-base,.connection-group.active .connection-base{stroke-width:3.1}
.connection-group.hover .connection-dash,.connection-group.active .connection-dash{stroke-width:1.35;opacity:.9}

.stage-caption{bottom:112px}
.scene-note{bottom:13%}

@media(max-width:1250px){
  .platform-node{width:clamp(92px,9.7vw,126px)}
  .portal-core{width:clamp(270px,29vw,360px)}
  .sub-mini{width:31px;height:31px}
}
@media(max-width:900px){
  .portal-core{top:45%;width:min(54vw,240px);opacity:.30}
  .platform-node{width:min(27vw,112px)}
  .sub-mini{width:29px;height:29px}
  .portal-pedestal{width:235px;top:64.5%}
}
@media(max-width:540px){
  .portal-core{width:min(58vw,210px)}
  .platform-node{width:min(26vw,100px)}
  .sub-mini{width:27px;height:27px;padding:2px}
}


/* V2.2.4 – Zentrum verbunden, Caption + Footer entfernt */
.stage-caption,
.portal-footer{display:none!important}

/* Verbindungslinien laufen wieder bis zum gemeinsamen Portal-Zentrum. */
.connections{z-index:3}
.portal-core{z-index:4}
.platform-layer{z-index:6}
.connection-glow{stroke-width:8.5;opacity:.12}
.connection-base{stroke-width:2.6;opacity:.96}
.connection-dash{stroke-width:1.1;opacity:.78;stroke-dasharray:3 17;animation-duration:11s}
.connection-hub{pointer-events:none}
.connection-hub-glow{fill:rgba(80,215,255,.18);stroke:rgba(255,183,57,.18);stroke-width:2}
.connection-hub-core{fill:#f8fdff;stroke:#55d9ff;stroke-width:1.2}

/* Der freigewordene untere Bereich gehört vollständig zur Portal-Szene. */
.portal-main{bottom:0}
.scene-note{bottom:5.5%}

@media(max-width:900px){
  .portal-main{height:860px;min-height:860px}
  .scene-note{bottom:4%}
}


/* V2.2.5 – Portal-Wasserzeichen optisch im Zentrum der Ellipse */
@media(min-width:901px){
  .portal-stage::after{
    top:50.5%;
    transform:translate(-50%,-50%);
    width:min(82vw,1360px);
    height:min(48vw,590px);
  }

  .portal-core{
    left:50%;
    top:50.5%;
    width:clamp(250px,19.5vw,330px);
    opacity:.20;
    transform:translate3d(-50%,-50%,0);
    filter:none;
    z-index:4;
  }
  .portal-core:hover{
    transform:translate3d(-50%,-50%,0);
  }

  .portal-aura{
    left:50%;
    top:50.5%;
  }
  .portal-aura-one{
    width:340px;
    height:340px;
    opacity:.28;
  }
  .portal-aura-two{
    width:400px;
    height:400px;
    opacity:.20;
  }

  .portal-pedestal{
    top:68.5%;
    width:285px;
    opacity:.48;
  }

  /* Die Leitungen bleiben vollständig verbunden und treffen sich exakt
     im optischen Zentrum des Wasserzeichens. */
  .connection-hub-glow{opacity:.88}
  .connection-hub-core{opacity:1}
}

@media(min-width:901px) and (max-height:760px){
  .portal-core{width:clamp(225px,18vw,290px)}
  .portal-aura-one{width:300px;height:300px}
  .portal-aura-two{width:350px;height:350px}
  .portal-pedestal{top:69%;width:255px}
}


/* V2.2.6 – stronger centered watermark + ellipse */
@media(min-width:901px){
  .portal-stage::after{
    border-color:rgba(116,202,255,.17);
    box-shadow:
      0 0 34px rgba(46,178,255,.055),
      inset 0 0 115px rgba(26,147,224,.075),
      inset 0 0 0 1px rgba(255,183,63,.025);
  }
  .portal-core{
    opacity:.34;
    filter:drop-shadow(0 0 10px rgba(60,203,255,.10)) drop-shadow(0 0 16px rgba(255,174,49,.07));
  }
  .portal-aura-one{opacity:.38}
  .portal-aura-two{
    opacity:.34;
    border-color:rgba(82,206,255,.16);
    box-shadow:0 0 30px rgba(46,184,255,.08),inset 0 0 30px rgba(255,181,56,.055);
  }
}


/* V2.2.8 – Schnellschalter Aktiv/Inaktiv direkt in der Plattform-Liste */
.platform-admin-list .admin-list-item{
  position:relative;
  display:block;
  padding:0;
  overflow:hidden;
}
.platform-admin-list .admin-list-select{
  width:100%;
  min-height:88px;
  display:grid;
  grid-template-columns:54px minmax(0,1fr) auto;
  align-items:center;
  gap:11px;
  padding:10px 12px 30px 10px;
  border:0;
  background:transparent;
  color:#eef8ff;
  text-align:left;
  cursor:pointer;
}
.platform-admin-list .admin-list-select img{
  width:54px;
  height:54px;
  object-fit:contain;
}
.platform-admin-list .admin-list-select strong{display:block}
.platform-admin-list .admin-list-select small{
  display:block;
  margin-top:2px;
  color:#93aabd;
  font-size:10px;
}
.platform-admin-list .admin-list-select em{
  align-self:start;
  margin-top:12px;
  font-style:normal;
  font-size:10px;
  letter-spacing:.12em;
  color:#cddce7;
  white-space:nowrap;
}
.admin-active-toggle{
  position:absolute;
  right:10px;
  bottom:8px;
  min-width:56px;
  height:23px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:0 8px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(2,13,22,.76);
  color:#9eb5c5;
  font-size:9px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  cursor:pointer;
  transition:border-color .14s ease,background .14s ease,color .14s ease,transform .14s ease;
}
.admin-active-toggle::before{
  content:"";
  width:7px;
  height:7px;
  border-radius:50%;
  background:#6d7c87;
  box-shadow:0 0 0 2px rgba(109,124,135,.12);
  transition:background .14s ease,box-shadow .14s ease;
}
.admin-active-toggle.is-on{
  color:#90f8d1;
  border-color:rgba(58,232,172,.36);
  background:rgba(17,93,69,.20);
}
.admin-active-toggle.is-on::before{
  background:#3ae8ac;
  box-shadow:0 0 9px rgba(58,232,172,.55);
}
.admin-active-toggle.is-off{
  color:#ffb1ba;
  border-color:rgba(255,104,121,.28);
  background:rgba(111,28,40,.18);
}
.admin-active-toggle.is-off::before{
  background:#ff6879;
  box-shadow:0 0 8px rgba(255,104,121,.38);
}
.admin-active-toggle:hover{
  transform:translateY(-1px);
  border-color:rgba(115,212,255,.52);
}
.admin-active-toggle:disabled{
  opacity:.55;
  cursor:wait;
  transform:none;
}
@media(max-width:780px){
  .platform-admin-list .admin-list-select{min-height:84px}
}

/* V2.2.9 – globale Darstellungssteuerung + Handy-Hochformat */
.admin-drawer{
  grid-template-rows:auto auto auto minmax(0,1fr) auto;
}
.layout-settings{
  padding:13px 18px 14px;
  border-bottom:1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(circle at 88% 0%,rgba(255,176,44,.055),transparent 32%),
    linear-gradient(180deg,rgba(7,28,45,.54),rgba(4,18,30,.42));
}
.layout-settings-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:11px;
}
.layout-settings-head h3{
  margin:3px 0 0;
  font-size:16px;
  line-height:1.15;
  color:#f3f9ff;
}
.layout-settings-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.primary-button.compact,.ghost-button.compact{
  min-height:32px;
  padding:6px 11px;
  border-radius:10px;
  font-size:10px;
}
.layout-control-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.layout-control-group{
  min-width:0;
  padding:10px 11px 9px;
  border:1px solid rgba(105,178,226,.13);
  border-radius:13px;
  background:rgba(2,13,23,.42);
}
.layout-control-group.mobile-group{
  border-color:rgba(255,178,52,.14);
  background:linear-gradient(180deg,rgba(32,24,9,.15),rgba(2,13,23,.42));
}
.layout-control-title{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:8px;
  margin-bottom:7px;
}
.layout-control-title strong{font-size:11px;color:#eef8ff}
.layout-control-title small{font-size:8px;color:#7f9aac;letter-spacing:.04em}
.range-control{display:block;margin-top:7px}
.range-control>span{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:4px;
  font-size:9px;
  font-weight:700;
  color:#afc4d3;
}
.range-control output{
  min-width:38px;
  padding:2px 6px;
  border-radius:999px;
  background:rgba(68,197,255,.08);
  border:1px solid rgba(68,197,255,.12);
  color:#a8eaff;
  font-size:8px;
  font-weight:900;
  text-align:center;
}
.mobile-group .range-control output{
  background:rgba(255,178,52,.08);
  border-color:rgba(255,178,52,.12);
  color:#ffd18a;
}
.range-control input[type="range"]{
  appearance:none;
  -webkit-appearance:none;
  width:100%;
  height:4px;
  margin:4px 0 2px;
  padding:0;
  border:0;
  border-radius:999px;
  background:linear-gradient(90deg,rgba(53,198,255,.62),rgba(255,179,48,.58));
  box-shadow:none;
  outline:none;
}
.range-control input[type="range"]::-webkit-slider-thumb{
  -webkit-appearance:none;
  width:14px;height:14px;border-radius:50%;
  background:#eefaff;
  border:2px solid #33c7ff;
  box-shadow:0 0 9px rgba(51,199,255,.34);
}
.range-control input[type="range"]::-moz-range-thumb{
  width:12px;height:12px;border-radius:50%;
  background:#eefaff;
  border:2px solid #33c7ff;
  box-shadow:0 0 9px rgba(51,199,255,.34);
}
.layout-settings-note{
  margin:8px 2px 0;
  color:#748d9e;
  font-size:8px;
  line-height:1.35;
}

/* Inline-Größen aus der Layoutsteuerung haben bewusst Vorrang vor den
   bisherigen responsive width-Regeln. */
.platform-node{max-width:none}

@media(max-width:780px){
  .layout-settings{padding:12px}
  .layout-settings-head{align-items:flex-start;flex-direction:column}
  .layout-settings-actions{width:100%;justify-content:flex-start}
  .layout-control-grid{grid-template-columns:1fr}
  .layout-control-group{padding:9px 10px}
}

@media(max-width:780px) and (orientation:portrait){
  body{min-height:100svh;overflow-x:hidden}
  .topbar{min-height:72px}
  .portal-main{
    height:calc(100svh - 72px);
    min-height:720px;
    max-height:900px;
  }
  .portal-stage{
    height:100%;
    min-height:720px;
  }
  .portal-core{
    top:47%;
    width:min(54vw,220px);
    opacity:.34;
  }
  .portal-aura{top:47%}
  .portal-aura-one{width:min(76vw,310px);height:min(76vw,310px)}
  .portal-aura-two{width:min(88vw,360px);height:min(88vw,360px)}
  .portal-stage::after{
    top:47%;
    width:94vw;
    height:min(68vh,620px);
  }
  .portal-pedestal{top:66.5%;width:min(62vw,245px)}
  .scene-bg{object-position:52% center}
  .scene-note,.scene-quote{display:none}
  .sub-mini{width:30px;height:30px}
}


/* V2.3.0 – Portal-Zentrum / Animation im Admin steuerbar */
.admin-drawer{grid-template-rows:auto auto auto auto minmax(0,1fr) auto}
.animation-settings{
  border-bottom:1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(circle at 14% 0%,rgba(56,203,255,.06),transparent 32%),
    radial-gradient(circle at 92% 10%,rgba(255,175,45,.05),transparent 30%),
    linear-gradient(180deg,rgba(5,22,37,.50),rgba(3,16,27,.42));
}
.animation-settings>summary{
  min-height:54px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:10px 18px;
  cursor:pointer;
  list-style:none;
  user-select:none;
}
.animation-settings>summary::-webkit-details-marker{display:none}
.animation-settings>summary::after{
  content:'⌄';
  color:#8db5cb;
  font-size:18px;
  transition:transform .16s ease;
}
.animation-settings[open]>summary::after{transform:rotate(180deg)}
.animation-summary-copy{display:grid;grid-template-columns:auto auto;align-items:baseline;gap:2px 10px;min-width:0}
.animation-summary-copy .eyebrow{grid-column:1/-1;font-size:8px}
.animation-summary-copy strong{font-size:14px;color:#f1f8ff}
.animation-summary-copy small{font-size:8px;color:#7f9aac;white-space:nowrap}
.animation-status{margin-left:auto;display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border-radius:999px;border:1px solid rgba(75,220,166,.15);background:rgba(57,197,144,.06)}
.animation-status i{width:7px;height:7px;border-radius:50%;background:#50dfa7;box-shadow:0 0 9px rgba(80,223,167,.5)}
.animation-status i.is-off{background:#ff8a94;box-shadow:0 0 8px rgba(255,98,111,.32)}
.animation-status b{font-size:8px;letter-spacing:.12em;color:#c8f4e3}
.animation-settings-body{padding:0 18px 13px}
.animation-settings-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:9px}
.animation-enable{display:flex;grid-template-columns:none;flex-direction:row;align-items:center;gap:9px;cursor:pointer}
.animation-enable input{position:absolute;opacity:0;pointer-events:none}
.animation-switch{position:relative;width:34px;height:19px;border-radius:999px;background:#273d4c;border:1px solid rgba(255,255,255,.10);transition:background .15s ease,border-color .15s ease}
.animation-switch::after{content:'';position:absolute;left:2px;top:2px;width:13px;height:13px;border-radius:50%;background:#d9e6ee;transition:transform .15s ease,background .15s ease;box-shadow:0 1px 4px rgba(0,0,0,.34)}
.animation-enable input:checked+.animation-switch{background:rgba(35,176,232,.28);border-color:rgba(67,208,255,.32)}
.animation-enable input:checked+.animation-switch::after{transform:translateX(15px);background:#81e7ff}
.animation-enable>span:last-child{display:grid;gap:1px}
.animation-enable strong{font-size:10px;color:#edf8ff}
.animation-enable small{font-size:8px;color:#7892a4}
.animation-control-grid{display:grid;grid-template-columns:1fr 1.15fr .92fr;gap:9px}
.animation-control-group{min-width:0;padding:9px 10px 8px;border:1px solid rgba(86,185,239,.12);border-radius:12px;background:rgba(2,13,23,.40)}
.animation-control-group.center-group{border-color:rgba(81,208,255,.15);background:linear-gradient(180deg,rgba(12,52,76,.18),rgba(2,13,23,.40))}
.animation-control-group.lines-group{border-color:rgba(255,180,53,.13);background:linear-gradient(180deg,rgba(52,35,7,.12),rgba(2,13,23,.40))}
.animation-performance-note{margin:9px 1px 0;color:#728b9c;font-size:7px;line-height:1.35}

/* Die sichtbaren Werte kommen aus CSS-Variablen, die JS aus den Admin-Reglern berechnet. */
.portal-core{
  opacity:var(--ap-watermark-opacity,.34)!important;
  filter:drop-shadow(0 0 10px rgba(60,203,255,var(--ap-core-glow-alpha,.10))) drop-shadow(0 0 16px rgba(255,174,49,var(--ap-core-gold-alpha,.07)))!important;
}
.portal-core img{
  transform-origin:50% 50%;
  animation:apPortalBreath var(--ap-pulse-duration,5.2s) ease-in-out infinite;
}
.portal-aura-one{
  opacity:var(--ap-aura-one-opacity,.38)!important;
  animation:apAuraBreath var(--ap-pulse-duration,5.2s) ease-in-out infinite;
}
.portal-aura-two{opacity:var(--ap-aura-two-opacity,.34)!important}
.portal-stage::after{
  border-color:rgba(116,202,255,var(--ap-ellipse-border-alpha,.17))!important;
  box-shadow:0 0 34px rgba(46,178,255,var(--ap-ellipse-glow-alpha,.055)),inset 0 0 115px rgba(26,147,224,var(--ap-ellipse-inset-alpha,.075)),inset 0 0 0 1px rgba(255,183,63,.025)!important;
}
.portal-pedestal{opacity:var(--ap-pedestal-opacity,.48)!important}
.connection-glow{opacity:var(--ap-line-glow-opacity,.12)!important}
.connection-base{opacity:var(--ap-line-base-opacity,.96)!important}
.connection-dash{opacity:var(--ap-line-dash-opacity,.78)!important;animation-duration:var(--ap-line-duration,11s)!important}
.connection-node{opacity:var(--ap-line-node-opacity,1)!important}
.connection-hub-glow{opacity:var(--ap-hub-glow-opacity,.88)!important}
.connection-hub-core{opacity:var(--ap-hub-core-opacity,1)!important;filter:drop-shadow(0 0 7px rgba(79,220,255,.45))}
@keyframes apPortalBreath{0%,100%{transform:scale(1)}50%{transform:scale(var(--ap-pulse-scale,1.018))}}
@keyframes apAuraBreath{0%,100%{transform:translate(-50%,-50%) scale(.988)}50%{transform:translate(-50%,-50%) scale(var(--ap-aura-scale,1.026))}}
.portal-stage.animation-disabled .portal-core img,
.portal-stage.animation-disabled .portal-aura-one,
.portal-stage.animation-disabled .connection-dash{animation:none!important}

@media(max-width:980px){
  .animation-control-grid{grid-template-columns:1fr 1fr}
  .animation-control-group.lines-group{grid-column:1/-1}
}
@media(max-width:780px){
  .animation-settings>summary{padding:10px 12px}
  .animation-settings-body{padding:0 12px 12px}
  .animation-summary-copy{grid-template-columns:1fr}.animation-summary-copy small{white-space:normal}
  .animation-settings-head{align-items:flex-start;flex-direction:column}
  .animation-control-grid{grid-template-columns:1fr}
  .animation-control-group.lines-group{grid-column:auto}
}


/* V2.3.1 – Handy-Position der kompletten Portal-Formation steuerbar */
.mobile-position-presets{
  display:flex;
  gap:7px;
  margin-top:9px;
  flex-wrap:wrap;
}
.mobile-position-presets .mobile-position-preset{
  min-height:28px;
  padding:4px 9px;
  font-size:8px;
  border-radius:9px;
}
@media(max-width:780px) and (orientation:portrait){
  .portal-core{
    left:var(--ap-mobile-center-x,50%)!important;
    top:var(--ap-mobile-center-y,47%)!important;
  }
  .portal-aura{
    left:var(--ap-mobile-center-x,50%)!important;
    top:var(--ap-mobile-center-y,47%)!important;
  }
  .portal-stage::after{
    left:var(--ap-mobile-center-x,50%)!important;
    top:var(--ap-mobile-center-y,47%)!important;
  }
  .portal-pedestal{
    left:var(--ap-mobile-center-x,50%)!important;
    top:var(--ap-mobile-pedestal-y,66.5%)!important;
  }
}


/* ========================================================================
   V2.3.2 – Admin-Panel vollständig scrollbar
   Verhindert, dass ausgeklappte Layout-/Animationsregler hinter dem Footer
   abgeschnitten werden. Der komplette Adminbereich kann jetzt vertikal
   gescrollt werden; Listen/Editor bleiben weiterhin komfortabel nutzbar.
   ======================================================================== */
.admin-drawer{
  overflow-y:auto !important;
  overflow-x:hidden !important;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
  display:grid;
  grid-template-rows:auto auto auto auto auto auto !important;
  align-content:start;
}

/* Die unteren Bereiche dürfen nicht mehr auf 0px Resthöhe zusammengedrückt
   werden, sobald "Animation & Leuchtkraft" geöffnet ist. */
.admin-layout{
  min-height:620px !important;
  height:auto !important;
  overflow:visible !important;
}
.platform-admin-list,
.platform-editor{
  min-height:0;
  max-height:none !important;
}

/* Hauptfooter bleibt erreichbar, überdeckt aber keine Regler mehr. */
.drawer-footer{
  position:sticky;
  bottom:0;
  z-index:12;
  flex:0 0 auto;
  background:rgba(4,15,25,.985);
  backdrop-filter:blur(10px);
  box-shadow:0 -10px 24px rgba(0,0,0,.20);
}

/* Header bleibt beim langen Scrollen sichtbar. */
.drawer-head{
  position:sticky;
  top:0;
  z-index:14;
  background:rgba(4,15,25,.985);
  backdrop-filter:blur(10px);
}

/* Angenehmere Scrollbar innerhalb des Admin-Panels. */
.admin-drawer::-webkit-scrollbar{width:10px}
.admin-drawer::-webkit-scrollbar-track{background:rgba(255,255,255,.025)}
.admin-drawer::-webkit-scrollbar-thumb{
  background:linear-gradient(180deg,rgba(54,194,255,.45),rgba(255,177,49,.38));
  border:2px solid rgba(4,15,25,.98);
  border-radius:999px;
}
.admin-drawer{scrollbar-width:thin;scrollbar-color:rgba(91,190,231,.55) rgba(255,255,255,.03)}

/* Desktop: Listen und Editor bekommen genügend Arbeitsfläche, ohne dass die
   globalen Darstellungs-/Animationsregler abgeschnitten werden. */
@media(min-width:781px){
  .platform-admin-list,
  .platform-editor{
    max-height:680px !important;
    overflow-y:auto !important;
    overscroll-behavior:contain;
  }
}

/* Kleinere Displays: gesamter Drawer scrollt, die beiden Editor-Spalten
   werden nicht zusätzlich in winzige Scrollfenster gepresst. */
@media(max-width:780px){
  .admin-drawer{
    height:100dvh;
    max-height:100dvh;
  }
  .admin-layout{
    min-height:0 !important;
  }
  .platform-admin-list,
  .platform-editor{
    max-height:none !important;
    overflow:visible !important;
  }
  .drawer-footer{
    padding-bottom:max(17px,env(safe-area-inset-bottom));
  }
}

/* ========================================================================
   V2.3.3 – LIVE EVENT TICKER
   Öffentliche Kurzinfos aus app.alpen-puls.at: Titel · wann · Ort
   ======================================================================== */
:root{
  --ap-ticker-height:44px;
  --ap-ticker-duration:38s;
  --ap-ticker-font-size:11px;
  --ap-ticker-font-size-mobile:9px;
  --ap-ticker-empty-font-size:11px;
  --ap-ticker-highlight-font-size:8px;
  --ap-ticker-highlight-font-size-mobile:7px;
}
body.ticker-visible .portal-main{bottom:var(--ap-ticker-height)}
.event-ticker{
  position:fixed;
  left:0;right:0;bottom:0;
  z-index:34;
  height:var(--ap-ticker-height);
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:center;
  overflow:hidden;
  background:linear-gradient(180deg,rgba(3,18,30,.94),rgba(2,12,21,.985));
  border-top:1px solid rgba(74,195,255,.28);
  box-shadow:0 -10px 28px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.025);
  backdrop-filter:none;
}
.event-ticker-label{
  position:relative;
  z-index:2;
  height:100%;
  display:flex;
  align-items:center;
  gap:9px;
  padding:0 18px 0 24px;
  color:#f6fbff;
  font-size:10px;
  font-weight:900;
  letter-spacing:.18em;
  white-space:nowrap;
  border-right:1px solid rgba(91,191,238,.18);
  background:linear-gradient(90deg,rgba(7,37,60,.99),rgba(5,27,45,.97));
}
.event-ticker-label::after{
  content:'';
  position:absolute;
  right:-22px;top:0;
  width:22px;height:100%;
  background:linear-gradient(90deg,rgba(5,27,45,.96),transparent);
  pointer-events:none;
}
.event-ticker-dot{
  width:8px;height:8px;border-radius:50%;
  background:#ffb12c;
  box-shadow:0 0 0 3px rgba(255,177,44,.10),0 0 12px rgba(255,177,44,.65);
  animation:apTickerPulse 1.8s ease-in-out infinite;
}
.event-ticker-viewport{
  min-width:0;
  height:100%;
  overflow:hidden;
  display:flex;
  align-items:center;
  mask-image:linear-gradient(90deg,transparent 0,#000 34px,#000 calc(100% - 24px),transparent 100%);
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 34px,#000 calc(100% - 24px),transparent 100%);
}
.event-ticker-track{
  display:flex;
  align-items:center;
  width:max-content;
  min-width:max-content;
  will-change:transform;
  transform:translate3d(0,0,0);
  backface-visibility:hidden;
  contain:layout paint style;
  animation:none;
}
.event-ticker-group{
  display:flex;
  align-items:center;
  flex:none;
  gap:0;
  padding-right:44px;
}
.event-ticker-item{
  display:inline-flex;
  align-items:center;
  gap:8px;
  flex:none;
  min-height:30px;
  padding:0 20px;
  color:#e8f5fd;
  font-size:var(--ap-ticker-font-size);
  line-height:1;
  white-space:nowrap;
  transition:color .15s ease,background .15s ease;
  border-right:1px solid rgba(117,190,227,.12);
}
.event-ticker-item:hover{color:#fff;background:rgba(38,142,208,.09)}
.event-ticker-date{color:#67dfff;font-weight:800;letter-spacing:.03em}
.event-ticker-title{font-weight:800;color:#f8fbfe}
.event-ticker-place{color:#a9bfce}
.event-ticker-place::before{content:'⌖';margin-right:5px;color:#ffb12c}
.event-ticker-separator{color:#ffb12c;opacity:.78}
.event-ticker-empty{color:#9cb1c0;font-size:var(--ap-ticker-empty-font-size);padding:0 24px;white-space:nowrap}
.event-ticker.is-static .event-ticker-track{animation:none!important}
@keyframes apTickerMarquee{from{transform:translate3d(0,0,0)}to{transform:translate3d(-50%,0,0)}}
@keyframes apTickerPulse{0%,100%{opacity:.65;transform:scale(.86)}50%{opacity:1;transform:scale(1.08)}}

/* Admin-Steuerung des Tickers */
.ticker-settings{
  border-bottom:1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(circle at 9% 0%,rgba(55,210,255,.055),transparent 30%),
    radial-gradient(circle at 90% 0%,rgba(255,178,48,.045),transparent 28%),
    linear-gradient(180deg,rgba(4,21,35,.52),rgba(3,16,27,.44));
}
.ticker-settings>summary{
  min-height:54px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:10px 18px;
  cursor:pointer;
  list-style:none;
  user-select:none;
}
.ticker-settings>summary::-webkit-details-marker{display:none}
.ticker-settings>summary::after{
  content:'⌄';
  color:#8db5cb;
  font-size:18px;
  transition:transform .16s ease;
}
.ticker-settings[open]>summary::after{transform:rotate(180deg)}
.ticker-summary-copy{display:grid;grid-template-columns:auto auto;align-items:baseline;gap:2px 10px;min-width:0}
.ticker-summary-copy .eyebrow{grid-column:1/-1;font-size:8px}
.ticker-summary-copy strong{font-size:14px;color:#f1f8ff}
.ticker-summary-copy small{font-size:8px;color:#7f9aac;white-space:nowrap}
.ticker-status{margin-left:auto;display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border-radius:999px;border:1px solid rgba(75,220,166,.15);background:rgba(57,197,144,.06)}
.ticker-status i{width:7px;height:7px;border-radius:50%;background:#50dfa7;box-shadow:0 0 9px rgba(80,223,167,.5)}
.ticker-status i.is-off{background:#ff8a94;box-shadow:0 0 8px rgba(255,98,111,.32)}
.ticker-status b{font-size:8px;letter-spacing:.12em;color:#c8f4e3}
.ticker-settings-body{padding:0 18px 13px}
.ticker-settings-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:9px}
.ticker-enable{display:flex;grid-template-columns:none;flex-direction:row;align-items:center;gap:9px;cursor:pointer}
.ticker-enable input{position:absolute;opacity:0;pointer-events:none}
.ticker-enable input:checked+.animation-switch{background:rgba(35,176,232,.28);border-color:rgba(67,208,255,.32)}
.ticker-enable input:checked+.animation-switch::after{transform:translateX(15px);background:#81e7ff}
.ticker-enable>span:last-child{display:grid;gap:1px}
.ticker-enable strong{font-size:10px;color:#edf8ff}
.ticker-enable small{font-size:8px;color:#7892a4}
.ticker-control-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:9px}
.ticker-control-group,.ticker-source-card{min-width:0;padding:10px;border:1px solid rgba(86,185,239,.12);border-radius:12px;background:rgba(2,13,23,.40)}
.ticker-control-group{border-color:rgba(81,208,255,.15);background:linear-gradient(180deg,rgba(12,52,76,.18),rgba(2,13,23,.40))}
.ticker-source-card{display:grid;align-content:center;gap:4px;border-color:rgba(255,180,53,.13);background:linear-gradient(180deg,rgba(52,35,7,.12),rgba(2,13,23,.40))}
.ticker-source-card strong{font-size:11px;color:#eef8ff}
.ticker-source-card small,.ticker-settings-note{font-size:8px;line-height:1.4;color:#7892a4}
.ticker-settings-note{margin:8px 0 0}

/* Durch den zusätzlichen Ticker-Abschnitt besitzt der Drawer jetzt sieben Blöcke. */
.admin-drawer{grid-template-rows:auto auto auto auto auto auto auto!important}

@media(max-width:780px){
  :root{--ap-ticker-height:40px}
  .event-ticker{grid-template-columns:auto minmax(0,1fr);backdrop-filter:none}
  .event-ticker-label{padding:0 11px 0 13px;font-size:8px;letter-spacing:.12em;gap:6px}
  .event-ticker-dot{width:6px;height:6px}
  .event-ticker-item{font-size:var(--ap-ticker-font-size-mobile);padding:0 13px;gap:6px}
  .event-ticker-place::before{margin-right:3px}
  .ticker-settings>summary{padding:10px 12px}
  .ticker-settings-body{padding:0 12px 12px}
  .ticker-summary-copy{grid-template-columns:1fr}.ticker-summary-copy small{white-space:normal}
  .ticker-settings-head{align-items:flex-start;flex-direction:column}
  .ticker-control-grid{grid-template-columns:1fr}
}
@media(max-width:480px){
  .event-ticker-label span:last-child{font-size:0}
  .event-ticker-label span:last-child::after{content:'EVENTS';font-size:8px}
}
@media(prefers-reduced-motion:reduce){
  .event-ticker-dot{animation:none!important}
}


/* ========================================================================
   V2.3.4 – smooth ticker + adjustable connection glow pulse
   ======================================================================== */
.connection-glow{
  animation:apConnectionGlowPulse var(--ap-line-pulse-duration,3.2s) ease-in-out infinite;
  opacity:var(--ap-line-glow-low,.07)!important;
  stroke-width:var(--ap-line-glow-width-low,6.5)!important;
}
@keyframes apConnectionGlowPulse{
  0%,100%{
    opacity:var(--ap-line-glow-low,.07);
    stroke-width:var(--ap-line-glow-width-low,6.5);
  }
  50%{
    opacity:var(--ap-line-glow-high,.18);
    stroke-width:var(--ap-line-glow-width-high,10.5);
  }
}
.portal-stage.animation-disabled .connection-glow{animation:none!important}

.event-ticker{
  transform:translateZ(0);
  -webkit-transform:translateZ(0);
  contain:layout paint style;
}
.event-ticker-viewport{
  contain:layout paint;
}
.event-ticker-track{
  animation:none!important;
  transform:translate3d(0,0,0);
  -webkit-transform:translate3d(0,0,0);
}
.event-ticker-track.css-marquee{
  animation:apTickerMarqueePixel var(--ap-ticker-duration) linear infinite!important;
}
@keyframes apTickerMarqueePixel{
  from{transform:translate3d(0,0,0)}
  to{transform:translate3d(var(--ap-ticker-shift,-800px),0,0)}
}
@media(max-width:780px){
  .event-ticker,.event-ticker-track,.event-ticker-viewport{transform:translateZ(0)}
}


/* ========================================================================
   V2.3.5 – Highlight Events im Live-Ticker
   ======================================================================== */
.event-ticker-item.is-highlight{
  position:relative;
  background:linear-gradient(90deg,rgba(255,177,44,.10),rgba(255,177,44,.025) 72%,transparent);
  border-right-color:rgba(255,177,44,.20);
}
.event-ticker-item.is-highlight::before{
  content:'';
  position:absolute;
  left:0;
  top:7px;
  bottom:7px;
  width:2px;
  border-radius:2px;
  background:#ffb12c;
  opacity:.88;
}
.event-ticker-highlight{
  display:inline-flex;
  align-items:center;
  flex:none;
  height:20px;
  padding:0 8px;
  border:1px solid rgba(255,190,66,.46);
  border-radius:999px;
  background:rgba(255,177,44,.12);
  color:#ffd36a;
  font-size:var(--ap-ticker-highlight-font-size);
  font-weight:950;
  letter-spacing:.10em;
  line-height:1;
}
.event-ticker-item.is-highlight .event-ticker-title{color:#fff6d7}
.event-ticker-item.is-highlight .event-ticker-separator{color:#ffd36a;opacity:1}
@media(max-width:780px){
  .event-ticker-highlight{
    height:17px;
    padding:0 6px;
    font-size:var(--ap-ticker-highlight-font-size-mobile);
    letter-spacing:.07em;
  }
  .event-ticker-item.is-highlight::before{top:6px;bottom:6px}
}

/* ========================================================================
   V2.3.6 – Schlanke Kopfzeile auf Handy / Hochformat
   Eine einzige Zeile, damit die Portal-Szene mehr sichtbare Höhe behält.
   ======================================================================== */
@media(max-width:780px){
  .topbar{
    height:54px !important;
    min-height:54px !important;
    padding:0 10px !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    align-items:center !important;
    gap:6px !important;
    border-radius:0 0 12px 12px !important;
  }

  /* Claim und Handschrift würden auf schmalen Displays eine zweite Zeile
     erzwingen – auf Handy bleiben daher nur Marke + Bedienung sichtbar. */
  .top-claim,
  .top-signature{
    display:none !important;
  }

  .top-brand{
    min-width:0;
    gap:7px !important;
    overflow:hidden;
    flex-wrap:nowrap !important;
  }
  .top-brand img{
    width:39px !important;
    height:28px !important;
    flex:0 0 39px;
  }
  .top-brand strong{
    font-size:20px !important;
    line-height:1 !important;
    flex:0 1 auto;
  }
  .top-brand em{
    display:block !important;
    margin-left:1px !important;
    font-size:7px !important;
    letter-spacing:.18em !important;
    white-space:nowrap;
    flex:0 0 auto;
  }

  .top-right-zone{
    gap:3px !important;
    flex-wrap:nowrap !important;
    min-width:auto !important;
  }
  .header-search{
    display:none !important;
  }
  .header-icon{
    width:34px !important;
    height:34px !important;
    padding:6px !important;
    border-radius:9px !important;
  }
  .header-icon svg{
    width:20px !important;
    height:20px !important;
  }
  .admin-state{
    padding:3px 5px !important;
    font-size:7px !important;
    letter-spacing:.10em !important;
  }

  /* Die Szene darf unmittelbar hinter der kompakten Leiste beginnen. */
  .portal-main{
    margin-top:0 !important;
  }
}

@media(max-width:430px){
  .topbar{
    height:50px !important;
    min-height:50px !important;
    padding-inline:8px !important;
  }
  .top-brand{gap:6px !important}
  .top-brand img{
    width:35px !important;
    height:25px !important;
    flex-basis:35px;
  }
  .top-brand strong{font-size:18px !important}
  .top-brand em{display:none !important}
  .header-icon{
    width:32px !important;
    height:32px !important;
  }
}


/* ========================================================================
   V2.3.8 – dezenter Teilen-Button in der Kopfzeile
   ======================================================================== */
.header-share{
  position:relative;
  color:#d9ecf8;
  border-color:rgba(81,183,236,.16);
  background:rgba(5,22,35,.16);
}
.header-share::after{
  content:"";
  position:absolute;
  inset:5px;
  border-radius:9px;
  border:1px solid rgba(71,211,255,.12);
  opacity:.6;
  pointer-events:none;
}
.header-share:hover,
.header-share:focus-visible{
  color:#fff;
  background:rgba(17,79,117,.32);
  border-color:rgba(77,211,255,.28);
  box-shadow:0 0 18px rgba(43,186,255,.10);
}
.header-share:active{transform:translateY(0) scale(.96)}
.share-hint{
  position:absolute;
  top:calc(100% + 7px);
  left:50%;
  transform:translate(-50%,-4px);
  padding:5px 8px;
  border-radius:8px;
  border:1px solid rgba(91,178,228,.18);
  background:rgba(3,15,25,.88);
  color:#eaf7ff;
  font-size:9px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  white-space:nowrap;
  opacity:0;
  pointer-events:none;
  transition:opacity .16s ease,transform .16s ease;
}
.header-share:hover .share-hint,
.header-share:focus-visible .share-hint{
  opacity:1;
  transform:translate(-50%,0);
}
@media(max-width:780px){
  .header-share{
    display:inline-flex !important;
    width:34px !important;
    height:34px !important;
  }
  .share-hint{display:none}
}
@media(max-width:430px){
  .header-share{width:32px !important;height:32px !important}
}


/* ========================================================================
   V2.3.12 – Einstellbare Schriftgröße im Live-/News-Ticker
   ======================================================================== */
.event-ticker-item,.event-ticker-empty,.event-ticker-highlight{font-variant-numeric:tabular-nums}


/* ========================================================================
   V2.3.13 – Darstellung einklappbar + dekorative Quote-Linie entfernt
   ======================================================================== */
.layout-settings{
  padding:0;
  border-bottom:1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(circle at 88% 0%,rgba(255,176,44,.055),transparent 32%),
    linear-gradient(180deg,rgba(7,28,45,.54),rgba(4,18,30,.42));
}
.layout-settings>summary{
  min-height:54px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:10px 18px;
  cursor:pointer;
  list-style:none;
  user-select:none;
}
.layout-settings>summary::-webkit-details-marker{display:none}
.layout-settings>summary::after{
  content:'⌄';
  color:#8db5cb;
  font-size:18px;
  transition:transform .16s ease;
}
.layout-settings[open]>summary::after{transform:rotate(180deg)}
.layout-summary-copy{
  display:grid;
  grid-template-columns:auto auto;
  align-items:baseline;
  gap:2px 10px;
  min-width:0;
}
.layout-summary-copy .eyebrow{grid-column:1/-1;font-size:8px}
.layout-summary-copy strong{font-size:14px;color:#f1f8ff}
.layout-summary-copy small{font-size:8px;color:#7f9aac;white-space:nowrap}
.layout-settings-body{padding:0 18px 14px}
.layout-settings-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:10px;
}
.layout-live-note{font-size:8px;color:#7892a4;line-height:1.35}
.layout-settings-head{display:none}
.scene-quote i{display:none!important}

@media(max-width:780px){
  .layout-settings{padding:0}
  .layout-settings>summary{padding:10px 12px}
  .layout-settings-body{padding:0 12px 12px}
  .layout-summary-copy{grid-template-columns:1fr}
  .layout-summary-copy small{white-space:normal}
  .layout-settings-toolbar{align-items:flex-start;flex-direction:column}
  .layout-settings-actions{width:100%;justify-content:flex-start}
}


/* =========================================================
   V2.3.14 – getrennte Ticker-Schriftgrößen Desktop / Handy
   ========================================================= */
:root{--ap-ticker-empty-font-size-mobile:9px}
@media (max-width:760px){
  .event-ticker-empty{font-size:var(--ap-ticker-empty-font-size-mobile)}
}

/* ===== assets/css/portal-install-v328.css ===== */
/* AlpenPuls Portal 3.2.8 - PWA install / current Android + Samsung Internet routing */
.header-install{position:relative}
.header-install svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.install-hint{position:absolute;right:50%;top:calc(100% + 7px);transform:translateX(50%) translateY(-3px);padding:4px 8px;border:1px solid rgba(74,196,255,.26);border-radius:999px;background:rgba(3,14,23,.94);color:#dff6ff;font-size:10px;font-weight:700;letter-spacing:.06em;line-height:1;opacity:0;pointer-events:none;transition:opacity .16s ease,transform .16s ease;white-space:nowrap;box-shadow:0 8px 24px rgba(0,0,0,.28)}
@media (hover:hover) and (pointer:fine){.header-install:hover .install-hint,.header-install:focus-visible .install-hint{opacity:1;transform:translateX(50%) translateY(0)}}
.header-install.pwa-install-attention::after,.header-install.pwa-install-chrome::after{content:"";position:absolute;width:6px;height:6px;right:5px;top:5px;border-radius:50%;background:#54e8ff;box-shadow:0 0 10px rgba(84,232,255,.85)}
.header-install.pwa-install-chrome::after{background:#ffb52d;box-shadow:0 0 11px rgba(255,181,45,.9)}

.pwa-install-overlay[hidden]{display:none!important}
.pwa-install-overlay{position:fixed;inset:0;z-index:2200;display:flex;align-items:flex-end;justify-content:center;padding:max(18px,env(safe-area-inset-top)) 16px max(18px,env(safe-area-inset-bottom))}
.pwa-install-backdrop{position:absolute;inset:0;width:100%;height:100%;border:0;background:rgba(1,7,12,.72);cursor:default}
.pwa-install-sheet{position:relative;z-index:1;width:min(480px,100%);padding:26px 22px 22px;border:1px solid rgba(80,191,238,.24);border-radius:24px;background:linear-gradient(160deg,rgba(7,25,38,.99),rgba(3,13,22,.99));box-shadow:0 26px 70px rgba(0,0,0,.52),0 0 42px rgba(20,154,220,.10);color:#eef9ff;text-align:center;animation:pwaSheetIn .2s ease-out both}
@keyframes pwaSheetIn{from{opacity:0;transform:translateY(16px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
.pwa-install-close{position:absolute;right:13px;top:11px;width:36px;height:36px;border:0;border-radius:50%;background:rgba(255,255,255,.06);color:#d9edf7;font-size:26px;line-height:32px;cursor:pointer}
.pwa-install-icon{display:block;width:92px;height:92px;margin:0 auto 13px;object-fit:cover;border-radius:22px;box-shadow:0 10px 30px rgba(0,0,0,.35),0 0 26px rgba(0,186,255,.14)}
.pwa-install-kicker{margin:0 0 5px;color:#ffb52d;font-size:10px;font-weight:900;letter-spacing:.18em}
.pwa-install-sheet h2{margin:0 32px 15px;font-size:22px;line-height:1.15}
.pwa-install-guide{display:grid;gap:9px;margin:0 0 18px;text-align:left;color:#bcd1dd;font-size:14px;line-height:1.45}
.pwa-install-step{display:flex;align-items:flex-start;gap:10px;padding:11px 12px;border:1px solid rgba(255,255,255,.07);border-radius:14px;background:rgba(255,255,255,.035)}
.pwa-install-step b{display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;border-radius:50%;background:rgba(43,190,245,.12);color:#63d8ff;font-size:12px}
.pwa-install-step strong{color:#f6fbff}
.pwa-install-actions{display:grid;gap:9px}
.pwa-install-primary,.pwa-install-secondary{width:100%;min-height:46px;border-radius:14px;font:inherit;font-weight:800;cursor:pointer}
.pwa-install-primary{border:1px solid rgba(66,195,255,.62);background:linear-gradient(180deg,#1288d8,#0764a9);color:#fff;box-shadow:0 10px 24px rgba(0,100,170,.22)}
.pwa-install-primary.is-chrome{border-color:rgba(255,181,45,.66);background:linear-gradient(180deg,#d88b10,#9b5d04);box-shadow:0 10px 24px rgba(184,109,7,.25)}
.pwa-install-secondary{border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.055);color:#dceaf1}
.pwa-install-primary:active,.pwa-install-secondary:active{transform:translateY(1px)}
.pwa-install-note{margin:12px 3px 0;color:#8fb0c1;font-size:12px;line-height:1.45}

@media (min-width:769px){.pwa-install-overlay{align-items:center}.pwa-install-sheet{border-radius:22px}}
@media (max-width:768px){.header-install{display:inline-grid}.install-hint{display:none}.pwa-install-sheet h2{font-size:20px}}
@media (max-width:390px){.pwa-install-sheet{padding:22px 17px 18px;border-radius:20px}.pwa-install-icon{width:82px;height:82px}}

/* ===== assets/css/portal-v304.css ===== */
/* AlpenPuls Portal V3.0.4
   Encoding-safe chevrons for collapsible admin sections.
   No Unicode glyphs are used, so there can be no mojibake like "âŒ„". */

.layout-settings > summary,
.animation-settings > summary,
.ticker-settings > summary {
  list-style: none;
}

.layout-settings > summary::-webkit-details-marker,
.animation-settings > summary::-webkit-details-marker,
.ticker-settings > summary::-webkit-details-marker {
  display: none;
}

.layout-settings > summary::marker,
.animation-settings > summary::marker,
.ticker-settings > summary::marker {
  content: "";
}

.layout-settings > summary::after,
.animation-settings > summary::after,
.ticker-settings > summary::after {
  content: "" !important;
  display: block;
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  margin: 0 6px 4px 14px;
  border-right: 2px solid #8fb3c9;
  border-bottom: 2px solid #8fb3c9;
  transform: rotate(45deg) !important;
  transform-origin: 50% 50%;
  transition: transform .18s ease, border-color .18s ease, opacity .18s ease;
  opacity: .9;
  font-size: 0 !important;
  line-height: 0 !important;
}

.layout-settings > summary:hover::after,
.animation-settings > summary:hover::after,
.ticker-settings > summary:hover::after {
  border-color: #d8efff;
  opacity: 1;
}

.layout-settings[open] > summary::after,
.animation-settings[open] > summary::after,
.ticker-settings[open] > summary::after {
  transform: rotate(-135deg) !important;
  margin-bottom: -2px;
}

/* ===== assets/css/portal-v307.css ===== */
/* AlpenPuls Portal 3.0.7 – background manager */
.background-manager{
  margin:0 12px 14px;
  padding:14px;
  display:grid;
  grid-template-columns:190px minmax(0,1fr);
  gap:16px;
  align-items:center;
  border:1px solid rgba(57,216,255,.16);
  border-radius:18px;
  background:linear-gradient(115deg,rgba(7,29,46,.86),rgba(10,22,33,.72));
  box-shadow:inset 0 0 34px rgba(45,196,255,.025);
}
.background-preview-wrap{
  position:relative;
  aspect-ratio:16/9;
  overflow:hidden;
  border-radius:13px;
  border:1px solid rgba(255,184,63,.22);
  background:#06111c;
}
.background-preview-wrap::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  box-shadow:inset 0 0 22px rgba(0,0,0,.42);
}
.background-preview-wrap img{width:100%;height:100%;display:block;object-fit:cover;object-position:center}
.background-manager-copy{min-width:0}
.background-manager-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.background-manager-head h3{margin:2px 0 0;font-size:17px;color:#f3f8fc}
.background-opt-badge{
  flex:0 0 auto;
  padding:5px 8px;
  border:1px solid rgba(61,225,164,.25);
  border-radius:999px;
  color:#73eab5;
  background:rgba(30,151,102,.10);
  font-size:9px;
  font-weight:800;
  letter-spacing:.08em;
}
.background-manager-note{margin:7px 0 10px;color:#8ea6b7;font-size:11px;line-height:1.55;max-width:820px}
.background-manager-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.background-file-label{cursor:pointer;position:relative;overflow:hidden}
.background-file-label.is-busy{opacity:.62;pointer-events:none}
.background-file-label.is-busy::after{content:" …"}
.background-upload-info{display:block;margin-top:8px;color:#6f8797;font-size:9px}
@media (max-width:760px){
  .background-manager{grid-template-columns:118px minmax(0,1fr);gap:10px;padding:10px;margin:0 8px 10px;border-radius:14px}
  .background-manager-note{font-size:9px;line-height:1.35;margin:4px 0 7px}
  .background-manager-head h3{font-size:13px}
  .background-opt-badge{display:none}
  .background-manager-actions .compact{padding:7px 9px;font-size:10px}
  .background-upload-info{font-size:8px}
}
@media (max-width:520px){
  .background-manager{grid-template-columns:1fr}
  .background-preview-wrap{max-height:92px}
}

/* ===== assets/css/portal-v310.css ===== */
/* AlpenPuls Portal 3.0.10 - visible server-synchronised seasonal controls */
:root{--ap-season-fade-duration:8s}

/* Two static, already-rendered WebP scene layers. Only opacity changes.
   No animated filter, blur, hue or saturation calculations on the client. */
.scene-bg-frame{
  position:fixed;
  inset:0;
  z-index:0;
  opacity:0;
  overflow:hidden;
  pointer-events:none;
  background:#020913;
  transition:opacity var(--ap-season-fade-duration) linear;
  will-change:opacity;
  contain:paint;
}
.scene-bg-frame.is-active{opacity:1}
.scene-bg-frame .scene-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  z-index:0;
  transform:translateZ(0);
  backface-visibility:hidden;
  pointer-events:none;
  filter:none!important;
}
.scene-vignette{z-index:2}
.scene-depth{z-index:3}
.portal-main{z-index:4}

/* Admin: seasonal controls */
.season-settings{
  margin:0 12px 14px;
  border:1px solid rgba(57,216,255,.16);
  border-radius:18px;
  background:linear-gradient(115deg,rgba(7,29,46,.86),rgba(10,22,33,.72));
  overflow:hidden;
}
.season-settings>summary{
  min-height:68px;
  padding:12px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  cursor:pointer;
  list-style:none;
  user-select:none;
}
.season-settings>summary::-webkit-details-marker{display:none}
.season-summary-copy{display:grid;gap:2px;min-width:0;position:relative;padding-right:22px}
.season-summary-copy strong{font-size:15px;color:#f4f9fd}
.season-summary-copy small{font-size:10px;color:#7f9bad}
.season-summary-copy::after{
  content:"";
  position:absolute;
  right:0;
  top:50%;
  width:8px;
  height:8px;
  border-right:1.5px solid #8eb3c8;
  border-bottom:1.5px solid #8eb3c8;
  transform:translateY(-70%) rotate(45deg);
  transition:transform .18s ease;
}
.season-settings[open] .season-summary-copy::after{transform:translateY(-25%) rotate(225deg)}
.season-status{display:flex;align-items:center;gap:6px;color:#82e8b8;font-size:9px;letter-spacing:.12em}
.season-status i{width:7px;height:7px;border-radius:50%;background:#44dea0;box-shadow:0 0 10px rgba(68,222,160,.55)}
.season-status i.is-off{background:#80909b;box-shadow:none}
.season-settings-body{padding:0 14px 14px;border-top:1px solid rgba(255,255,255,.055)}
.season-settings-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 0}
.season-enable{display:flex;align-items:center;gap:10px;min-width:0;color:#dceaf3}
.season-enable>input{position:absolute;opacity:0;pointer-events:none}
.season-enable>span:last-child{display:grid;gap:2px}
.season-enable strong{font-size:12px}
.season-enable small{font-size:9px;color:#7d98aa}
.season-control-grid{display:grid;grid-template-columns:1fr 1fr minmax(190px,.72fr);gap:12px}
.season-control-group,.season-scene-card{
  border:1px solid rgba(86,174,226,.12);
  border-radius:14px;
  padding:12px;
  background:rgba(4,18,30,.38);
}
.season-check{display:flex;align-items:center;gap:8px;margin-top:9px;color:#c7d9e5;font-size:11px}
.season-check input{accent-color:#3ed7ff}
.season-mode-note{margin:10px 0 0;color:#718c9e;font-size:9px;line-height:1.45}
.season-scene-card{display:flex;flex-direction:column;justify-content:center;gap:5px;min-height:126px}
.season-scene-card strong{font-size:17px;letter-spacing:.04em;color:#eff8ff}
.season-scene-card small{font-size:9px;line-height:1.45;color:#7691a3}
.season-settings.is-realtime #seasonSceneDuration{opacity:.45}
.season-settings.is-realtime label:has(#seasonSceneDuration){opacity:.64}

@media(max-width:900px){
  .season-control-grid{grid-template-columns:1fr 1fr}
  .season-scene-card{grid-column:1/-1;min-height:auto}
}
@media(max-width:760px){
  .scene-bg-frame .scene-bg{object-position:52% center}
  .season-settings{margin:0 8px 10px;border-radius:14px}
  .season-settings>summary{min-height:58px;padding:10px 12px}
  .season-summary-copy strong{font-size:13px}
  .season-summary-copy small{font-size:9px}
  .season-settings-body{padding:0 10px 10px}
  .season-settings-head{align-items:flex-start;flex-direction:column}
  .season-control-grid{grid-template-columns:1fr;gap:8px}
  .season-scene-card{grid-column:auto}
  .season-settings-head .layout-settings-actions{width:100%}
}

@media(prefers-reduced-motion:reduce){
  .scene-bg-frame{transition-duration:1.2s}
}


/* V3.0.9: central server scene status + season image manager */
.season-settings{border-color:rgba(58,211,255,.15);background:linear-gradient(135deg,rgba(5,30,48,.54),rgba(4,18,29,.80))}
.season-settings[open]{box-shadow:0 18px 40px rgba(0,0,0,.14),inset 0 1px rgba(255,255,255,.025)}
.season-server-banner{
  margin:12px 0 0;
  padding:12px 14px;
  border:1px solid rgba(54,213,255,.16);
  border-radius:14px;
  background:linear-gradient(90deg,rgba(16,105,146,.12),rgba(255,169,33,.065));
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.season-server-banner>div{display:grid;gap:3px;min-width:0}
.season-server-banner strong{font-size:15px;color:#f4f9fd;letter-spacing:.02em}
.season-server-banner small{font-size:9px;color:#7896a8;line-height:1.4}
.season-server-badge{
  flex:0 0 auto;
  padding:6px 9px;
  border-radius:999px;
  border:1px solid rgba(70,224,165,.26);
  color:#7cf0bd;
  background:rgba(13,94,70,.16);
  font-size:8px;
  font-weight:800;
  letter-spacing:.14em;
}
.season-image-manager{margin-top:12px;padding-top:12px;border-top:1px solid rgba(255,255,255,.055)}
.season-image-manager-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:10px}
.season-image-manager-head>div{display:grid;gap:2px}
.season-image-manager-head strong{font-size:13px;color:#eef7fd}
.season-image-manager-head small{font-size:9px;color:#7895a7;line-height:1.45}
.season-image-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.season-image-card{
  display:grid;
  grid-template-columns:82px 1fr;
  grid-template-rows:auto auto;
  gap:8px 10px;
  align-items:center;
  padding:9px;
  border:1px solid rgba(255,255,255,.075);
  border-radius:13px;
  background:rgba(2,16,27,.52);
  min-width:0;
}
.season-image-card img{
  grid-row:1/3;
  width:82px;
  height:54px;
  object-fit:cover;
  border-radius:9px;
  border:1px solid rgba(70,209,255,.16);
  background:#07131d;
}
.season-image-card>div{display:grid;gap:2px;min-width:0}
.season-image-card strong{font-size:11px;color:#eaf5fb}
.season-image-card small{font-size:8px;color:#728f9f}
.season-image-card .ghost-button{justify-self:start;min-height:28px;padding:5px 9px;font-size:9px}
.season-image-card.is-busy{opacity:.62;pointer-events:none}
.season-image-card.is-set{border-color:rgba(68,222,160,.20)}
.season-image-card.is-set::after{content:'BEREIT';position:absolute;opacity:0}

@media(max-width:1100px){.season-image-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){
  .season-server-banner{align-items:flex-start}
  .season-server-badge{margin-top:1px}
  .season-image-grid{grid-template-columns:1fr}
  .season-image-card{grid-template-columns:92px 1fr}
  .season-image-card img{width:92px;height:58px}
}


/* V3.0.10 – visible entry point for server-wide seasons */
.season-quick-entry{
  margin-top:12px;
  padding-top:11px;
  border-top:1px solid rgba(255,255,255,.07);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.season-quick-entry>div{display:grid;gap:2px;min-width:0}
.season-quick-entry strong{font-size:12px;color:#f0f8fd}
.season-quick-entry small{font-size:9px;color:#7894a6}
.season-settings{display:block!important}
@media(max-width:760px){
  .season-quick-entry{align-items:flex-start;flex-direction:column}
  .season-quick-entry .ghost-button{width:100%}
}

/* ===== assets/css/portal-v313.css ===== */
/* AlpenPuls Portal 3.1.3
   Server-Fade switch visual/click fix + clear active state. */

/* Background area: same functions, less vertical space. */
.background-manager{
  grid-template-columns:148px minmax(0,1fr);
  gap:12px;
  padding:11px 12px;
  margin-bottom:10px;
}
.background-preview-wrap{border-radius:11px}
.background-manager-head h3{font-size:15px}
.background-manager-note{
  margin:4px 0 7px;
  font-size:10px;
  line-height:1.35;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.background-upload-info{margin-top:5px;font-size:8px}
.background-opt-badge{padding:4px 7px;font-size:8px}
.background-manager-actions .compact{min-height:31px;padding:6px 10px}
.season-quick-entry{
  margin-top:7px!important;
  padding-top:7px!important;
  gap:9px!important;
}
.season-quick-entry>div{
  display:flex!important;
  align-items:center;
  gap:8px!important;
  flex-wrap:wrap;
}
.season-quick-entry .eyebrow{margin:0}
.season-quick-entry strong{font-size:11px!important}
.season-quick-entry small{font-size:8px!important}
.season-quick-entry .ghost-button{min-height:29px;padding:5px 9px}

/* Replace native <details> behaviour with an explicit, reliable panel. */
.season-panel{
  display:block!important;
  margin:0 12px 10px;
  overflow:hidden;
}
.season-panel-toggle{
  width:100%;
  min-height:58px;
  padding:10px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  appearance:none;
  border:0;
  background:transparent;
  color:inherit;
  text-align:left;
  cursor:pointer;
}
.season-panel-toggle:hover{background:rgba(255,255,255,.018)}
.season-panel-toggle:focus-visible{outline:2px solid rgba(61,216,255,.65);outline-offset:-2px}
.season-toggle-right{display:flex;align-items:center;gap:11px;flex:0 0 auto}
.season-chevron{
  width:9px;
  height:9px;
  border-right:2px solid #8fb3c9;
  border-bottom:2px solid #8fb3c9;
  transform:rotate(45deg);
  transition:transform .18s ease,border-color .18s ease;
}
.season-panel.is-open .season-chevron{transform:rotate(-135deg)}
.season-panel.is-open .season-panel-toggle{border-bottom:1px solid rgba(255,255,255,.055)}
.season-panel .season-settings-body{padding:0 14px 14px;border-top:0}
.season-panel .season-settings-body[hidden]{display:none!important}

/* The old native-details summary rules must never interfere with the custom panel. */
.season-panel>summary{display:none!important}
.season-panel .season-summary-copy::after{display:none!important}

@media(max-width:760px){
  .background-manager{
    grid-template-columns:104px minmax(0,1fr);
    gap:9px;
    padding:9px;
  }
  .background-preview-wrap{max-height:72px}
  .background-manager-note{-webkit-line-clamp:2;font-size:8.5px}
  .season-quick-entry>div{gap:5px!important}
  .season-quick-entry small{display:none}
  .season-panel{margin:0 8px 9px;border-radius:14px}
  .season-panel-toggle{min-height:54px;padding:9px 11px}
  .season-panel .season-settings-body{padding:0 10px 10px}
}

@media(max-width:520px){
  .background-manager{grid-template-columns:92px minmax(0,1fr)}
  .background-preview-wrap{max-height:64px}
  .background-manager-head h3{font-size:12px}
  .background-manager-note{display:none}
  .background-upload-info{display:none}
  .season-quick-entry{grid-column:1/-1}
}

/* V3.1.2 - Server-Fade controls live inside the compact background manager.
   This avoids the admin grid swallowing the standalone season panel. */
.background-manager{
  align-items:start;
}
.background-manager > .season-panel{
  grid-column:1 / -1;
  width:100%;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.background-manager > .season-panel .season-panel-toggle{
  display:none!important;
}
.background-manager > .season-panel .season-settings-body{
  margin-top:9px;
  padding:12px!important;
  border:1px solid rgba(58,211,255,.15)!important;
  border-radius:14px;
  background:linear-gradient(135deg,rgba(5,30,48,.60),rgba(4,18,29,.88));
  box-shadow:inset 0 1px rgba(255,255,255,.025),0 12px 28px rgba(0,0,0,.12);
}
.background-manager > .season-panel .season-settings-body[hidden]{display:none!important}
.background-manager > .season-panel.is-open .season-settings-body{display:block!important}
.background-manager:has(> .season-panel.is-open){padding-bottom:12px}
.season-quick-entry{margin-bottom:0!important}
.season-quick-entry .ghost-button[aria-expanded="true"]{
  border-color:rgba(57,216,255,.34);
  background:rgba(24,122,166,.14);
  color:#dff8ff;
}
@media(max-width:760px){
  .background-manager > .season-panel .season-settings-body{padding:10px!important;margin-top:7px}
}


/* V3.1.3 - Server-Fade switch: same behavior as the other portal switches. */
.season-enable{
  cursor:pointer;
  user-select:none;
  -webkit-user-select:none;
}
.season-enable>input{
  position:absolute;
  width:1px;
  height:1px;
  margin:-1px;
  padding:0;
  opacity:0;
  overflow:hidden;
  clip:rect(0 0 0 0);
  clip-path:inset(50%);
  white-space:nowrap;
  pointer-events:auto;
}
.season-enable>input:checked + .animation-switch{
  background:rgba(35,176,232,.28);
  border-color:rgba(67,208,255,.38);
  box-shadow:0 0 12px rgba(51,209,255,.12);
}
.season-enable>input:checked + .animation-switch::after{
  transform:translateX(15px);
  background:#81e7ff;
  box-shadow:0 0 8px rgba(129,231,255,.55),0 1px 4px rgba(0,0,0,.34);
}
.season-enable>input:focus-visible + .animation-switch{
  outline:2px solid rgba(61,216,255,.72);
  outline-offset:3px;
}
.season-enabled-state{
  margin-left:auto;
  min-width:48px;
  text-align:center;
  border-radius:999px;
  padding:4px 8px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  color:#93a7b5;
  font-size:9px;
  line-height:1;
  letter-spacing:.08em;
  font-weight:800;
}
.season-enabled-state::before{content:'AUS'}
.season-enable>input:checked ~ .season-enabled-state{
  color:#82e8b8;
  border-color:rgba(68,222,160,.25);
  background:rgba(68,222,160,.07);
}
.season-enable>input:checked ~ .season-enabled-state::before{content:'AKTIV'}

/* ===== assets/css/portal-v315-admin.css ===== */
/* AlpenPuls Portal 3.1.5 - modular admin center + intermediate seasons + calm realtime weather */

/* --- Admin hub under hamburger ------------------------------------------------ */
.admin-hub-menu{
  position:fixed;
  top:72px;
  right:14px;
  z-index:80;
  width:min(520px,calc(100vw - 28px));
  border:1px solid rgba(70,216,255,.20);
  border-radius:20px;
  background:linear-gradient(145deg,rgba(3,17,27,.97),rgba(4,28,43,.97));
  box-shadow:0 24px 80px rgba(0,0,0,.44),inset 0 1px rgba(255,255,255,.025);
  padding:12px;
  backdrop-filter:blur(18px);
}
.admin-hub-menu[hidden]{display:none!important}
.admin-hub-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:4px 4px 10px;
  border-bottom:1px solid rgba(255,255,255,.055);
}
.admin-hub-head>div{display:grid;gap:1px}
.admin-hub-head strong{font-size:17px;color:#f4f9fd}
.admin-hub-close{
  width:34px;height:34px;border-radius:10px;border:1px solid rgba(255,255,255,.09);
  background:rgba(255,255,255,.03);color:#cfe4f0;font-size:22px;line-height:1;cursor:pointer
}
.admin-hub-close:hover{border-color:rgba(57,216,255,.28);color:#fff}
.admin-hub-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding-top:10px}
.admin-hub-item{
  appearance:none;border:1px solid rgba(94,166,199,.15);border-radius:14px;
  background:linear-gradient(135deg,rgba(10,31,45,.78),rgba(5,20,31,.78));
  color:#dfeef6;min-height:72px;padding:10px 11px;display:flex;align-items:center;gap:10px;
  text-align:left;cursor:pointer;transition:border-color .16s ease,background .16s ease,transform .16s ease
}
.admin-hub-item:hover{border-color:rgba(57,216,255,.34);background:linear-gradient(135deg,rgba(15,50,68,.88),rgba(7,26,39,.88));transform:translateY(-1px)}
.admin-hub-item.is-primary{border-color:rgba(58,208,255,.30);background:linear-gradient(135deg,rgba(7,92,135,.38),rgba(7,29,43,.78))}
.admin-hub-icon{
  flex:0 0 34px;width:34px;height:34px;border-radius:11px;display:grid;place-items:center;
  border:1px solid rgba(57,216,255,.20);background:rgba(57,216,255,.06);color:#83e5ff;font-size:19px
}
.admin-hub-item>span:last-child{display:grid;gap:2px;min-width:0}
.admin-hub-item strong{font-size:12px;color:#f4f9fd}
.admin-hub-item small{font-size:9px;line-height:1.35;color:#7f9bad}

/* --- Modular drawer ---------------------------------------------------------- */
.admin-module-hidden{display:none!important}
.admin-drawer[data-admin-module] .drawer-head h2{font-size:23px}
.drawer-tools#platformModuleTools{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}
.drawer-tools-main{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.platform-access-filter{display:flex;align-items:center;gap:5px;padding:3px;border:1px solid rgba(255,255,255,.07);background:rgba(0,0,0,.13);border-radius:999px}
.platform-access-filter button{appearance:none;border:0;border-radius:999px;background:transparent;color:#7895a8;font-size:9px;font-weight:800;letter-spacing:.08em;padding:7px 10px;cursor:pointer}
.platform-access-filter button.is-active{background:rgba(46,196,248,.12);color:#b8f0ff;box-shadow:inset 0 0 0 1px rgba(57,216,255,.19)}
.admin-list-item.ap-filter-hidden{display:none!important}

/* --- Weather layers: deliberately calm ------------------------------------- */
:root{
  --ap-weather-tint-opacity:0;
  --ap-weather-light-opacity:0;
  --ap-weather-cloud-opacity:0;
  --ap-weather-mist-opacity:0;
  --ap-weather-precip-opacity:0;
  --ap-weather-rain-duration:2.8s;
  --ap-weather-snow-duration:11s;
}
.scene-weather{position:fixed;inset:0;z-index:1;pointer-events:none;overflow:hidden;opacity:0;transition:opacity 1.2s ease}
.scene-weather-tint{background:linear-gradient(180deg,rgba(26,44,61,.20),rgba(8,20,30,.12));opacity:var(--ap-weather-tint-opacity)}
.scene-weather-light{
  background:radial-gradient(circle at 78% 15%,rgba(255,221,145,.34),rgba(255,221,145,.12) 13%,rgba(255,221,145,0) 31%);
  mix-blend-mode:screen;opacity:var(--ap-weather-light-opacity)
}
.scene-weather-clouds{
  background:
    radial-gradient(38% 16% at 22% 22%,rgba(230,239,246,.34),rgba(230,239,246,0) 75%),
    radial-gradient(42% 17% at 72% 24%,rgba(225,235,244,.30),rgba(225,235,244,0) 76%),
    linear-gradient(180deg,rgba(137,160,181,.13),rgba(137,160,181,0) 42%);
  opacity:var(--ap-weather-cloud-opacity)
}
.scene-weather-mist{
  background:
    radial-gradient(68% 17% at 50% 76%,rgba(237,243,248,.25),rgba(237,243,248,0) 75%),
    linear-gradient(180deg,rgba(219,228,236,.10),rgba(219,228,236,0) 55%);
  opacity:var(--ap-weather-mist-opacity)
}
.scene-weather-precip{opacity:var(--ap-weather-precip-opacity)}
.scene-weather-precip::before,.scene-weather-precip::after{content:"";position:absolute;inset:-16%;pointer-events:none;opacity:0}
body[data-ap-weather="rain"] .scene-weather-precip::before,
body[data-ap-weather="storm"] .scene-weather-precip::before{
  opacity:.58;
  background-image:linear-gradient(178deg,rgba(255,255,255,0) 0%,rgba(220,237,249,.50) 74%,rgba(255,255,255,0) 100%);
  background-size:34px 170px;
  transform:skewX(-8deg);
  animation:ap-calm-rain var(--ap-weather-rain-duration) linear infinite
}
body[data-ap-weather="rain"] .scene-weather-precip::after,
body[data-ap-weather="storm"] .scene-weather-precip::after{
  opacity:.20;
  background-image:linear-gradient(178deg,rgba(255,255,255,0) 0%,rgba(214,233,247,.42) 76%,rgba(255,255,255,0) 100%);
  background-size:52px 210px;
  transform:translateX(16px) skewX(-8deg);
  animation:ap-calm-rain calc(var(--ap-weather-rain-duration) * 1.35) linear infinite
}
body[data-ap-weather="snow"] .scene-weather-precip::before,
body[data-ap-weather="snow"] .scene-weather-precip::after{
  opacity:.66;
  background-image:radial-gradient(circle,rgba(255,255,255,.92) 0 1.5px,rgba(255,255,255,0) 2.5px);
  background-size:52px 52px;
  animation:ap-calm-snow var(--ap-weather-snow-duration) linear infinite
}
body[data-ap-weather="snow"] .scene-weather-precip::after{opacity:.34;background-size:78px 78px;animation-duration:calc(var(--ap-weather-snow-duration) * 1.35);transform:translateX(13px)}
body[data-ap-weather="neutral"] .scene-weather{opacity:0!important}
@keyframes ap-calm-rain{from{transform:translate3d(0,-90px,0) skewX(-8deg)}to{transform:translate3d(-18px,120px,0) skewX(-8deg)}}
@keyframes ap-calm-snow{from{transform:translate3d(0,-8%,0)}to{transform:translate3d(-12px,108%,0)}}

/* --- Weather control surface ------------------------------------------------- */
.weather-control-panel{
  margin:0 12px 14px;padding:14px;border:1px solid rgba(57,216,255,.15);border-radius:18px;
  background:linear-gradient(130deg,rgba(5,28,44,.86),rgba(5,18,28,.82));box-shadow:inset 0 1px rgba(255,255,255,.025)
}
.weather-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.055)}
.weather-panel-head h3{margin:2px 0 3px;font-size:19px;color:#f4f9fd}
.weather-panel-head p{margin:0;max-width:720px;font-size:10px;line-height:1.45;color:#7994a7}
.weather-state-pill{flex:0 0 auto;border-radius:999px;padding:5px 9px;font-size:9px;font-weight:900;letter-spacing:.09em;color:#859baa;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.035)}
.weather-state-pill.is-on{color:#80e8b5;border-color:rgba(64,217,154,.25);background:rgba(64,217,154,.07)}
.weather-live-card{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0;padding:11px 12px;border:1px solid rgba(57,216,255,.11);border-radius:14px;background:rgba(3,15,24,.48)}
.weather-live-card>div{display:grid;gap:2px}
.weather-live-card strong{font-size:14px;color:#f2f8fc}
.weather-live-card small{font-size:9px;color:#7893a5}
.weather-panel-grid{display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:12px}
.weather-card{padding:12px;border:1px solid rgba(70,168,205,.12);border-radius:15px;background:rgba(3,14,22,.42)}
.weather-enable-row{position:relative;display:flex;align-items:center;gap:10px;cursor:pointer;margin-bottom:13px}
.weather-enable-row>input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.weather-enable-row>span:last-child{display:grid;gap:1px}
.weather-enable-row strong{font-size:13px;color:#eef8fc}.weather-enable-row small{font-size:9px;color:#7893a5}
.weather-enable-row>input:checked + .animation-switch{background:rgba(35,176,232,.28);border-color:rgba(67,208,255,.38)}
.weather-enable-row>input:checked + .animation-switch::after{transform:translateX(15px);background:#81e7ff;box-shadow:0 0 8px rgba(129,231,255,.55),0 1px 4px rgba(0,0,0,.34)}
.weather-field{display:grid;gap:5px;margin-top:10px}.weather-field>span{font-size:9px;letter-spacing:.08em;text-transform:uppercase;color:#7f9bad}
.weather-field input,.weather-field select{width:100%;min-height:38px;border-radius:11px;border:1px solid rgba(118,164,185,.20);background:rgba(3,13,21,.64);color:#eaf6fc;padding:8px 10px;outline:none}
.weather-field input:focus,.weather-field select:focus{border-color:rgba(57,216,255,.38);box-shadow:0 0 0 1px rgba(57,216,255,.15)}
.weather-location-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}
.weather-two{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.weather-card .range-control{margin-top:10px}
.weather-check{display:flex;align-items:center;gap:8px;margin-top:12px;color:#c8dbe6;font-size:10px}
.weather-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}
.weather-note{margin:10px 2px 0;font-size:9px;line-height:1.45;color:#7893a5}

@media(max-width:760px){
  .admin-hub-menu{top:62px;right:8px;width:calc(100vw - 16px);padding:9px;border-radius:16px}
  .admin-hub-grid{grid-template-columns:1fr;max-height:min(70vh,560px);overflow:auto}
  .admin-hub-item{min-height:60px;padding:9px}
  .weather-panel-grid{grid-template-columns:1fr}
  .weather-control-panel{margin:0 8px 10px;padding:10px;border-radius:14px}
  .weather-live-card{align-items:flex-start;flex-direction:column}
  .weather-two{grid-template-columns:1fr}
  .weather-location-row{grid-template-columns:1fr}
  .weather-actions{justify-content:stretch;flex-wrap:wrap}.weather-actions>*{flex:1 1 160px}
  .platform-access-filter{width:100%;justify-content:space-between}.platform-access-filter button{flex:1}
  body[data-ap-weather="rain"] .scene-weather-precip::before,body[data-ap-weather="storm"] .scene-weather-precip::before{opacity:.38}
  body[data-ap-weather="snow"] .scene-weather-precip::before{opacity:.46}
}

@media(prefers-reduced-motion:reduce){
  .scene-weather-precip::before,.scene-weather-precip::after{animation:none!important}
}

/* V3.1.5 - intermediate seasons + clearer realtime controls */
.season-image-grid-eight{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
.season-image-card.is-interseason{
  border-color:rgba(235,178,76,.20);
  background:linear-gradient(150deg,rgba(47,35,16,.42),rgba(4,18,28,.48));
}
.season-image-card.is-interseason div strong::after{
  content:" · ZWISCHEN";
  margin-left:4px;
  font-size:7px;
  letter-spacing:.08em;
  color:#d9ad61;
  font-weight:800;
}
#seasonSettings.is-realtime .season-speed-group{
  opacity:.46;
  filter:saturate(.65);
}
#seasonSettings.is-realtime .season-speed-group input[type="range"]{
  cursor:not-allowed;
}
#seasonSettings.is-realtime .season-speed-group .layout-control-title small{
  color:#74c9e9;
}
#seasonSettings.is-realtime #seasonNext{
  opacity:.42;
}

#weatherRefreshNow.is-loading{
  opacity:.72;
  cursor:wait;
}
#weatherRefreshNow.is-success{
  border-color:rgba(64,217,154,.34);
  color:#8ff0bd;
}

@media (max-width:1050px){
  .season-image-grid-eight{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:620px){
  .season-image-grid-eight{grid-template-columns:1fr}
}

/* ===== assets/css/portal-v318.css ===== */
/* AlpenPuls Portal V3.1.8 - ultra smooth live ticker */

/* The former CSS mask on the moving ticker can trigger extra raster work on
   some browsers. The fade is now rendered by two static overlay layers. */
.event-ticker-viewport{
  position:relative;
  isolation:isolate;
  contain:layout paint;
  mask-image:none!important;
  -webkit-mask-image:none!important;
  transform:translateZ(0);
  backface-visibility:hidden;
}
.event-ticker-viewport::before,
.event-ticker-viewport::after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  width:34px;
  z-index:4;
  pointer-events:none;
}
.event-ticker-viewport::before{
  left:0;
  background:linear-gradient(90deg,rgba(3,18,30,.98),rgba(3,18,30,0));
}
.event-ticker-viewport::after{
  right:0;
  background:linear-gradient(270deg,rgba(3,18,30,.98),rgba(3,18,30,0));
}

.event-ticker{
  contain:layout paint style;
  transform:translateZ(0);
  backface-visibility:hidden;
  isolation:isolate;
}

.event-ticker-track{
  position:relative;
  z-index:1;
  animation:none!important;
  transform:translate3d(0,0,0);
  -webkit-transform:translate3d(0,0,0);
  will-change:transform;
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
  contain:layout style;
  transform-origin:0 50%;
}
.event-ticker-track.ap-smooth-marquee{
  animation-name:apTickerSmooth318!important;
  animation-duration:var(--ap-ticker-duration,38s)!important;
  animation-timing-function:linear!important;
  animation-iteration-count:infinite!important;
  animation-fill-mode:both!important;
  animation-play-state:running!important;
}
@keyframes apTickerSmooth318{
  from{transform:translate3d(0,0,0)}
  to{transform:translate3d(var(--ap-ticker-shift,-900px),0,0)}
}

/* Keep the moving layer cheap to composite. */
.event-ticker-group,
.event-ticker-item,
.event-ticker-date,
.event-ticker-title,
.event-ticker-place,
.event-ticker-highlight{
  transform:translateZ(0);
  backface-visibility:hidden;
}
.event-ticker-item{
  transition:none!important;
}

/* Highlight remains visible, but without a long translucent gradient on the
   animated element. This noticeably reduces repaint cost on slower GPUs. */
.event-ticker-item.is-highlight{
  background:rgba(255,177,44,.075)!important;
}
.event-ticker-item.is-highlight::before{
  box-shadow:none!important;
}
.event-ticker-highlight{
  box-shadow:none!important;
}

/* The small pulse is decorative; keeping it static frees another animation
   layer while the ticker is moving. */
.event-ticker-dot{
  animation:none!important;
}

@media(max-width:780px){
  .event-ticker-viewport::before,
  .event-ticker-viewport::after{width:20px}
  .event-ticker-track{will-change:transform}
}

/* ===== assets/css/portal-v323-admin.css ===== */
/* AlpenPuls Portal 3.2.4 - Admin hub logout action + inline close button */
.admin-hub-head > .admin-hub-actions{
  display:flex;
  align-items:center;
  gap:7px;
  flex:0 0 auto;
  grid-auto-flow:column;
  white-space:nowrap;
  flex-wrap:nowrap;
}
.admin-hub-logout{
  appearance:none;
  min-height:34px;
  padding:0 11px;
  border-radius:10px;
  border:1px solid rgba(255,178,55,.22);
  background:rgba(255,165,42,.055);
  color:#ffd48b;
  font:800 9px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  letter-spacing:.08em;
  text-transform:uppercase;
  cursor:pointer;
  transition:border-color .16s ease,background .16s ease,color .16s ease,transform .16s ease;
}
.admin-hub-logout:hover{
  border-color:rgba(255,190,74,.48);
  background:rgba(255,165,42,.11);
  color:#fff0cf;
  transform:translateY(-1px);
}
.admin-hub-logout:focus-visible{
  outline:2px solid rgba(98,220,255,.78);
  outline-offset:2px;
}
@media (max-width:560px){
  .admin-hub-logout{padding:0 9px;font-size:8px}
  .admin-hub-head > .admin-hub-actions{gap:5px}
}

/* ===== assets/css/portal-v327-share.css ===== */

/* AlpenPuls PORTAL V3.2.7 - eigenes Teilen-Fenster fuer Desktop/Laptop */
.share-center-backdrop[hidden],.share-center[hidden]{display:none!important}
.share-center-backdrop{position:fixed;inset:0;z-index:1600;background:rgba(1,9,16,.72);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px)}
.share-center{position:fixed;z-index:1610;left:50%;top:50%;transform:translate(-50%,-50%);width:min(900px,calc(100vw - 34px));max-height:min(760px,calc(100vh - 34px));overflow:auto;border:1px solid rgba(80,208,255,.28);border-radius:26px;background:linear-gradient(145deg,rgba(4,24,38,.985),rgba(3,15,25,.985));box-shadow:0 34px 95px rgba(0,0,0,.55),0 0 55px rgba(23,196,255,.1);color:#f7fbff}
.share-center-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:24px 26px 18px;border-bottom:1px solid rgba(129,199,229,.14)}
.share-center-head .eyebrow{display:block;margin-bottom:4px;color:#ffb42a;font-weight:800;font-size:12px;letter-spacing:.16em;text-transform:uppercase}
.share-center-head h2{margin:0;font-size:27px;line-height:1.05}
.share-center-head p{margin:7px 0 0;color:#9fb6c7;font-size:14px}
.share-center-close{flex:0 0 auto;width:44px;height:44px;border-radius:14px;border:1px solid rgba(157,204,226,.18);background:rgba(255,255,255,.025);color:#a8bfcc;font-size:29px;line-height:1;cursor:pointer;transition:.18s ease}
.share-center-close:hover{background:rgba(255,255,255,.075);color:#fff;border-color:rgba(157,204,226,.35)}
.share-center-body{display:grid;grid-template-columns:minmax(0,1fr) 272px;gap:22px;padding:22px 26px 26px}
.share-center-copy h3,.share-center-qr h3{margin:0 0 8px;font-size:17px}.share-center-copy>p,.share-center-qr>p{margin:0 0 17px;color:#93aebf;font-size:13px;line-height:1.45}
.share-destination-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.share-destination{min-height:84px;padding:12px 10px;border-radius:17px;border:1px solid rgba(111,194,229,.14);background:linear-gradient(145deg,rgba(11,46,65,.76),rgba(5,26,39,.82));color:#f5fbff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;cursor:pointer;transition:transform .17s ease,border-color .17s ease,background .17s ease,box-shadow .17s ease;font:inherit}
.share-destination:hover{transform:translateY(-2px);border-color:rgba(39,204,255,.48);background:linear-gradient(145deg,rgba(13,57,80,.94),rgba(7,33,48,.94));box-shadow:0 10px 24px rgba(0,0,0,.2)}
.share-destination-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:rgba(255,255,255,.075);font-weight:900;font-size:17px;letter-spacing:-.03em}
.share-destination strong{font-size:13px}.share-destination small{font-size:10px;color:#8ba5b6;margin-top:-4px}
.share-destination.is-instagram .share-destination-icon{background:linear-gradient(135deg,#8a3ab9,#e95950,#fccc63)}
.share-destination.is-facebook .share-destination-icon{background:#1877f2}.share-destination.is-whatsapp .share-destination-icon{background:#25d366;color:#06170d}.share-destination.is-telegram .share-destination-icon{background:#229ed9}.share-destination.is-x .share-destination-icon{background:#111;border:1px solid rgba(255,255,255,.18)}.share-destination.is-linkedin .share-destination-icon{background:#0a66c2}.share-destination.is-mail .share-destination-icon{background:#ed8b23;color:#101820}.share-destination.is-native .share-destination-icon{background:linear-gradient(135deg,#1ccaf2,#f4c32a);color:#07131d}
.share-link-row{display:flex;gap:9px;margin-top:13px}.share-link-row input{min-width:0;flex:1;border-radius:13px;border:1px solid rgba(112,193,226,.16);background:rgba(0,0,0,.2);color:#cce8f5;padding:0 13px;font:inherit;font-size:12px}.share-link-copy{border:0;border-radius:13px;padding:11px 15px;background:linear-gradient(135deg,#15c9ee,#ffb72c);color:#07131d;font-weight:900;cursor:pointer;white-space:nowrap}
.share-center-qr{border:1px solid rgba(255,183,42,.2);border-radius:20px;background:linear-gradient(160deg,rgba(17,42,52,.7),rgba(5,20,29,.88));padding:17px;text-align:center}.share-center-qr img{display:block;width:min(100%,220px);height:auto;margin:11px auto 12px;border-radius:17px;box-shadow:0 0 28px rgba(91,229,255,.12)}.share-center-qr strong{display:block;color:#f5c34b;font-size:13px}.share-center-qr small{display:block;margin-top:6px;color:#8fa9b9;line-height:1.4;font-size:11px}
.share-center-note{grid-column:1/-1;margin:-4px 0 0;padding:12px 14px;border-radius:14px;background:rgba(255,179,39,.075);border:1px solid rgba(255,179,39,.14);color:#c7d9e3;font-size:11px;line-height:1.45}.share-center-note b{color:#ffbf3d}
body.share-center-open{overflow:hidden}
@media(max-width:760px){.share-center{width:min(620px,calc(100vw - 18px));border-radius:22px}.share-center-head{padding:20px 18px 15px}.share-center-body{grid-template-columns:1fr;padding:18px}.share-destination-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.share-center-qr{display:none}.share-center-note{grid-column:1}.share-center-head h2{font-size:23px}}

/* ===== assets/css/portal-v329-refresh.css ===== */
/* AlpenPuls PORTAL 3.2.9 - kompletter Seiten-Refresh */
.header-refresh svg {
  transition: transform .18s ease;
  transform-origin: 50% 50%;
}
.header-refresh:hover svg {
  transform: rotate(32deg);
}
.header-refresh.is-refreshing svg {
  animation: portal-refresh-spin .55s linear infinite;
}
.header-refresh:disabled {
  cursor: wait;
  opacity: .72;
}
.refresh-hint {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@keyframes portal-refresh-spin {
  to { transform: rotate(360deg); }
}

/* ===== assets/css/portal-v332-mobile-header.css ===== */
/* AlpenPuls Portal - Mobile Header One-Line Overrides (V3.3.2) */
@media (max-width: 900px) {
  .topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 8px 10px;
    min-height: 0;
    overflow: hidden;
  }

  .top-brand {
    flex: 0 1 auto;
    min-width: 0;
    gap: 6px;
  }

  .top-brand img {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
  }

  .top-brand strong {
    font-size: clamp(1.2rem, 3.8vw, 1.8rem);
    line-height: 1;
    white-space: nowrap;
  }

  .top-brand em {
    font-size: clamp(0.48rem, 1.35vw, 0.66rem);
    line-height: 1;
    letter-spacing: 0.18em;
    white-space: nowrap;
  }

  .top-claim {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0 4px;
    font-size: clamp(0.56rem, 1.55vw, 0.82rem);
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .top-right-zone {
    flex: 0 0 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: nowrap;
  }

  .top-signature,
  .refresh-hint,
  .share-hint,
  .install-hint {
    display: none !important;
  }

  .admin-state,
  .ghost-button {
    flex: 0 0 auto;
    white-space: nowrap;
    line-height: 1;
  }

  .admin-state {
    padding: 4px 8px;
    font-size: 0.68rem;
  }

  .header-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    padding: 0;
    border-radius: 11px;
    flex: 0 0 34px;
  }

  .header-icon svg {
    width: 17px;
    height: 17px;
  }
}

@media (max-width: 640px) {
  .topbar {
    gap: 6px;
    padding: 7px 8px;
  }

  .top-brand img {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .top-brand strong {
    font-size: clamp(1rem, 4.4vw, 1.45rem);
  }

  .top-brand em {
    font-size: 0.42rem;
    letter-spacing: 0.14em;
  }

  .top-claim {
    font-size: clamp(0.5rem, 1.8vw, 0.72rem);
    margin: 0 2px;
  }

  .admin-state {
    padding: 3px 7px;
    font-size: 0.6rem;
  }

  .header-icon {
    width: 31px;
    height: 31px;
    min-width: 31px;
    min-height: 31px;
    border-radius: 10px;
    flex-basis: 31px;
  }

  .header-icon svg {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 440px) {
  .top-claim {
    max-width: 30vw;
  }

  .top-brand em {
    display: none;
  }

  .top-right-zone {
    gap: 5px;
  }
}

/* ===== assets/css/portal-v336-ticker-smooth.css ===== */
/* AlpenPuls Portal V3.3.6 - Live Ticker Subpixel Smooth */

.event-ticker-track.ap-loop-ready{
  animation:none!important;
  display:flex;
  align-items:center;
  width:max-content;
  min-width:max-content;
  will-change:transform;
}

.event-ticker-track.ap-loop-ready .event-ticker-group{
  display:flex;
  align-items:center;
  flex:none;
  padding-right:0!important;
}

.event-ticker-loop-gap{
  display:block;
  flex:0 0 var(--ap-ticker-loop-gap,72px);
  width:var(--ap-ticker-loop-gap,72px);
  min-width:var(--ap-ticker-loop-gap,72px);
  height:1px;
  pointer-events:none;
}

/* CSS fallback when Web Animations API is unavailable. */
.event-ticker-track.ap-loop-fallback{
  animation:apTickerLoop335 var(--ap-ticker-duration,42s) linear infinite!important;
}
@keyframes apTickerLoop335{
  from{transform:translate3d(0,0,0)}
  to{transform:translate3d(var(--ap-ticker-shift,-1000px),0,0)}
}

@media(max-width:780px){
  .event-ticker-loop-gap{
    flex-basis:var(--ap-ticker-loop-gap,48px);
    width:var(--ap-ticker-loop-gap,48px);
    min-width:var(--ap-ticker-loop-gap,48px);
  }
}


/* V3.3.6: keep ticker on its own compositor layer while retaining fractional
   CSS-pixel positions. This reduces the visible pixel stepping on desktop. */
.event-ticker-track.ap-subpixel-loop{
  will-change:transform;
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
  transform-origin:0 50%;
}
.event-ticker-track.ap-subpixel-loop .event-ticker-item,
.event-ticker-track.ap-subpixel-loop .event-ticker-group{
  transform:translateZ(0);
}

/* ===== assets/css/portal-v338-weather-effects.css ===== */
/* AlpenPuls Portal 3.3.8 - Reale Wetter-Partikel (Regen / Schnee) */
.scene-weather-precip{
  overflow:hidden;
}
.scene-weather-precip.weather-particles-active{
  opacity:1;
}
.scene-weather-canvas{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  pointer-events:none;
  opacity:0;
  transition:opacity .45s ease;
  will-change:transform, opacity;
  mix-blend-mode:normal;
  z-index:2;
}
.scene-weather-canvas.active{
  opacity:1;
}

.scene-weather-precip{
  z-index:2;
  pointer-events:none;
}
@media (max-width: 900px){
  .scene-weather-canvas{
    opacity:0;
  }
  .scene-weather-canvas.active{
    opacity:.94;
  }
}

/* ===== assets/css/portal-v339-weather-clarity.css ===== */
/* AlpenPuls Portal 3.3.9 - Nebel-Fix / klareres Regenbild */
:root{
  --ap-weather-brightness-override: var(--ap-weather-brightness, 1);
  --ap-weather-saturate-override: var(--ap-weather-saturate, 1);
  --ap-weather-contrast-override: var(--ap-weather-contrast, 1);
  --ap-weather-cloud-opacity-override: var(--ap-weather-cloud-opacity, 0);
  --ap-weather-fog-opacity-override: var(--ap-weather-fog-opacity, 0);
  --ap-weather-tint-override: var(--ap-weather-tint, rgba(0,0,0,0));
}

.scene-bg-frame .scene-bg{
  filter:
    brightness(var(--ap-weather-brightness-override))
    saturate(var(--ap-weather-saturate-override))
    contrast(var(--ap-weather-contrast-override)) !important;
}

.scene-weather-clouds{
  opacity: var(--ap-weather-cloud-opacity-override) !important;
}

.scene-weather-mist{
  opacity: var(--ap-weather-fog-opacity-override) !important;
}

body[data-weather-kind="rain"] .scene-weather-mist,
body[data-weather-kind="storm"] .scene-weather-mist,
body[data-weather-kind="snow"] .scene-weather-mist,
body[data-weather-kind="clear"] .scene-weather-mist,
body[data-weather-kind="partly-cloudy"] .scene-weather-mist,
body[data-weather-kind="cloudy"] .scene-weather-mist,
body[data-weather-kind="overcast"] .scene-weather-mist,
body[data-ap-weather="rain"] .scene-weather-mist,
body[data-ap-weather="storm"] .scene-weather-mist,
body[data-ap-weather="snow"] .scene-weather-mist,
body[data-ap-weather="clear"] .scene-weather-mist,
body[data-ap-weather="partly-cloudy"] .scene-weather-mist,
body[data-ap-weather="cloudy"] .scene-weather-mist,
body[data-ap-weather="overcast"] .scene-weather-mist{
  opacity:0 !important;
  backdrop-filter:none !important;
}

body[data-weather-kind="fog"] .scene-weather-mist,
body[data-ap-weather="fog"] .scene-weather-mist{
  backdrop-filter: blur(6px);
}

/* ===== assets/css/portal-v340-weather-overlays.css ===== */
/* AlpenPuls Portal 3.4.0 - Bei Regen/Schnee nur Tropfen/Flocken, keine hellen Nebelstreifen */
body[data-weather-kind="rain"] .scene-weather-tint,
body[data-weather-kind="rain"] .scene-weather-light,
body[data-weather-kind="rain"] .scene-weather-clouds,
body[data-weather-kind="rain"] .scene-weather-mist,
body[data-weather-kind="storm"] .scene-weather-tint,
body[data-weather-kind="storm"] .scene-weather-light,
body[data-weather-kind="storm"] .scene-weather-clouds,
body[data-weather-kind="storm"] .scene-weather-mist,
body[data-weather-kind="snow"] .scene-weather-tint,
body[data-weather-kind="snow"] .scene-weather-light,
body[data-weather-kind="snow"] .scene-weather-clouds,
body[data-weather-kind="snow"] .scene-weather-mist,
body[data-ap-weather="rain"] .scene-weather-tint,
body[data-ap-weather="rain"] .scene-weather-light,
body[data-ap-weather="rain"] .scene-weather-clouds,
body[data-ap-weather="rain"] .scene-weather-mist,
body[data-ap-weather="storm"] .scene-weather-tint,
body[data-ap-weather="storm"] .scene-weather-light,
body[data-ap-weather="storm"] .scene-weather-clouds,
body[data-ap-weather="storm"] .scene-weather-mist,
body[data-ap-weather="snow"] .scene-weather-tint,
body[data-ap-weather="snow"] .scene-weather-light,
body[data-ap-weather="snow"] .scene-weather-clouds,
body[data-ap-weather="snow"] .scene-weather-mist{
  opacity: 0 !important;
  background: none !important;
  background-image: none !important;
  box-shadow: none !important;
  filter: none !important;
  backdrop-filter: none !important;
}

body[data-weather-kind="rain"] .scene-weather-precip,
body[data-weather-kind="storm"] .scene-weather-precip,
body[data-weather-kind="snow"] .scene-weather-precip,
body[data-ap-weather="rain"] .scene-weather-precip,
body[data-ap-weather="storm"] .scene-weather-precip,
body[data-ap-weather="snow"] .scene-weather-precip{
  opacity: 1 !important;
}

/* ===== assets/css/portal-v342-weather-clouds-static.css ===== */
/* AlpenPuls Portal 3.4.2 - Bewoelkt: zusaetzliche Wolken statisch */
body[data-weather-kind="cloudy"] .scene-weather-clouds,
body[data-weather-kind="overcast"] .scene-weather-clouds,
body[data-weather-kind="partly-cloudy"] .scene-weather-clouds,
body[data-ap-weather="cloudy"] .scene-weather-clouds,
body[data-ap-weather="overcast"] .scene-weather-clouds,
body[data-ap-weather="partly-cloudy"] .scene-weather-clouds{
  opacity: var(--ap-weather-cloud-opacity-override, 0.14) !important;
  animation: none !important;
  transform: none !important;
  transition: opacity .35s ease !important;
  will-change: auto !important;
  background-position: center center !important;
}

body[data-weather-kind="cloudy"] .scene-weather-clouds::before,
body[data-weather-kind="cloudy"] .scene-weather-clouds::after,
body[data-weather-kind="overcast"] .scene-weather-clouds::before,
body[data-weather-kind="overcast"] .scene-weather-clouds::after,
body[data-weather-kind="partly-cloudy"] .scene-weather-clouds::before,
body[data-weather-kind="partly-cloudy"] .scene-weather-clouds::after,
body[data-ap-weather="cloudy"] .scene-weather-clouds::before,
body[data-ap-weather="cloudy"] .scene-weather-clouds::after,
body[data-ap-weather="overcast"] .scene-weather-clouds::before,
body[data-ap-weather="overcast"] .scene-weather-clouds::after,
body[data-ap-weather="partly-cloudy"] .scene-weather-clouds::before,
body[data-ap-weather="partly-cloudy"] .scene-weather-clouds::after{
  animation: none !important;
  transform: none !important;
  background-position: center center !important;
}

body[data-weather-kind="cloudy"] .scene-weather-mist,
body[data-weather-kind="overcast"] .scene-weather-mist,
body[data-weather-kind="partly-cloudy"] .scene-weather-mist,
body[data-ap-weather="cloudy"] .scene-weather-mist,
body[data-ap-weather="overcast"] .scene-weather-mist,
body[data-ap-weather="partly-cloudy"] .scene-weather-mist{
  opacity: 0 !important;
  backdrop-filter: none !important;
}

/* ===== assets/css/portal-v343-weather-state-fix.css ===== */
/* AlpenPuls Portal 3.4.3 - Wettersteuerung synchron / Legacy-Overlay-Fix */

/* Alte CSS-Regen-/Schneestreifen aus frueheren Versionen komplett deaktivieren.
   Ab 3.4.3 kommen Niederschlagspartikel ausschliesslich aus dem Canvas. */
.scene-weather-precip::before,
.scene-weather-precip::after{
  content:none !important;
  display:none !important;
  opacity:0 !important;
  animation:none !important;
  background:none !important;
  background-image:none !important;
}

/* Wenn Live-Wetter AUS ist, darf kein Restzustand sichtbar bleiben. */
body[data-weather-effects="off"] .scene-weather,
body[data-weather-kind="neutral"] .scene-weather,
body[data-ap-weather="neutral"] .scene-weather{
  opacity:0 !important;
}

/* REGEN / GEWITTER / SCHNEE: nur Partikel, keinerlei Nebel-/Wolken-/Tint-Streifen. */
body[data-weather-kind="rain"] .scene-weather-tint,
body[data-weather-kind="rain"] .scene-weather-light,
body[data-weather-kind="rain"] .scene-weather-clouds,
body[data-weather-kind="rain"] .scene-weather-mist,
body[data-weather-kind="storm"] .scene-weather-tint,
body[data-weather-kind="storm"] .scene-weather-light,
body[data-weather-kind="storm"] .scene-weather-clouds,
body[data-weather-kind="storm"] .scene-weather-mist,
body[data-weather-kind="snow"] .scene-weather-tint,
body[data-weather-kind="snow"] .scene-weather-light,
body[data-weather-kind="snow"] .scene-weather-clouds,
body[data-weather-kind="snow"] .scene-weather-mist,
body[data-ap-weather="rain"] .scene-weather-tint,
body[data-ap-weather="rain"] .scene-weather-light,
body[data-ap-weather="rain"] .scene-weather-clouds,
body[data-ap-weather="rain"] .scene-weather-mist,
body[data-ap-weather="storm"] .scene-weather-tint,
body[data-ap-weather="storm"] .scene-weather-light,
body[data-ap-weather="storm"] .scene-weather-clouds,
body[data-ap-weather="storm"] .scene-weather-mist,
body[data-ap-weather="snow"] .scene-weather-tint,
body[data-ap-weather="snow"] .scene-weather-light,
body[data-ap-weather="snow"] .scene-weather-clouds,
body[data-ap-weather="snow"] .scene-weather-mist{
  opacity:0 !important;
  background:none !important;
  filter:none !important;
  backdrop-filter:none !important;
  animation:none !important;
}

body[data-weather-effects="on"][data-weather-kind="rain"] .scene-weather-precip,
body[data-weather-effects="on"][data-weather-kind="storm"] .scene-weather-precip,
body[data-weather-effects="on"][data-weather-kind="snow"] .scene-weather-precip{
  opacity:1 !important;
}

/* BEWOELKT: nur ruhige, fixe Zusatzwolken. Keine Bewegung, kein Nebel. */
body[data-weather-effects="on"][data-weather-kind="partly-cloudy"] .scene-weather-clouds,
body[data-weather-effects="on"][data-weather-kind="cloudy"] .scene-weather-clouds,
body[data-weather-effects="on"][data-weather-kind="overcast"] .scene-weather-clouds{
  display:block !important;
  animation:none !important;
  transform:none !important;
  filter:none !important;
  backdrop-filter:none !important;
  will-change:auto !important;
  background-position:center center !important;
}

body[data-weather-effects="on"][data-weather-kind="partly-cloudy"] .scene-weather-clouds{
  opacity:.10 !important;
}
body[data-weather-effects="on"][data-weather-kind="cloudy"] .scene-weather-clouds{
  opacity:.16 !important;
}
body[data-weather-effects="on"][data-weather-kind="overcast"] .scene-weather-clouds{
  opacity:.23 !important;
}

body[data-weather-kind="partly-cloudy"] .scene-weather-mist,
body[data-weather-kind="cloudy"] .scene-weather-mist,
body[data-weather-kind="overcast"] .scene-weather-mist,
body[data-weather-kind="partly-cloudy"] .scene-weather-tint,
body[data-weather-kind="cloudy"] .scene-weather-tint,
body[data-weather-kind="overcast"] .scene-weather-tint{
  opacity:0 !important;
  backdrop-filter:none !important;
}

.scene-weather-clouds::before,
.scene-weather-clouds::after{
  animation:none !important;
  transform:none !important;
}

/* ===== assets/css/portal-v347-cloud-adaptive.css ===== */
/* AlpenPuls Portal 3.4.8 - deutlich adaptive, statische Wolkendecke */
:root{
  --ap-cloud-cover-level:0;
  --ap-cloud-dynamic-opacity:0;
  --ap-cloud-dark-alpha:0;
  --ap-cloud-mid-alpha:0;
  --ap-cloud-light-alpha:0;
  --ap-cloud-shade-alpha:0;
  --ap-cloud-extra-alpha:0;
  --ap-cloud-deck-alpha:0;
  --ap-cloud-horizon-alpha:0;
  --ap-cloud-brightness:1;
  --ap-cloud-saturate:1;
}

body[data-weather-effects="on"][data-weather-kind="partly-cloudy"] .scene-weather-clouds,
body[data-weather-effects="on"][data-weather-kind="cloudy"] .scene-weather-clouds,
body[data-weather-effects="on"][data-weather-kind="overcast"] .scene-weather-clouds,
body[data-weather-effects="on"][data-weather-kind="rain"] .scene-weather-clouds,
body[data-weather-effects="on"][data-weather-kind="snow"] .scene-weather-clouds,
body[data-weather-effects="on"][data-weather-kind="storm"] .scene-weather-clouds,
body[data-ap-weather="partly-cloudy"] .scene-weather-clouds,
body[data-ap-weather="cloudy"] .scene-weather-clouds,
body[data-ap-weather="overcast"] .scene-weather-clouds,
body[data-ap-weather="rain"] .scene-weather-clouds,
body[data-ap-weather="snow"] .scene-weather-clouds,
body[data-ap-weather="storm"] .scene-weather-clouds{
  display:block !important;
  opacity:1 !important;
  animation:none !important;
  transform:none !important;
  backdrop-filter:none !important;
  will-change:auto !important;
  filter:brightness(var(--ap-cloud-brightness)) saturate(var(--ap-cloud-saturate)) !important;
  background:
    linear-gradient(180deg,
      rgba(4,10,17,var(--ap-cloud-deck-alpha)) 0%,
      rgba(10,19,29,var(--ap-cloud-shade-alpha)) 18%,
      rgba(18,29,42,calc(var(--ap-cloud-shade-alpha) * .72)) 38%,
      rgba(18,29,42,0) 70%),
    radial-gradient(52% 27% at 8% 8%, rgba(23,31,42,var(--ap-cloud-dark-alpha)) 0%, rgba(35,46,59,calc(var(--ap-cloud-dark-alpha) * .86)) 42%, rgba(35,46,59,0) 76%),
    radial-gradient(58% 29% at 48% 3%, rgba(20,28,39,var(--ap-cloud-dark-alpha)) 0%, rgba(40,51,65,calc(var(--ap-cloud-dark-alpha) * .82)) 46%, rgba(40,51,65,0) 77%),
    radial-gradient(54% 28% at 93% 10%, rgba(24,33,45,var(--ap-cloud-dark-alpha)) 0%, rgba(43,54,68,calc(var(--ap-cloud-dark-alpha) * .84)) 44%, rgba(43,54,68,0) 76%),
    radial-gradient(48% 22% at 27% 31%, rgba(58,70,84,var(--ap-cloud-mid-alpha)) 0%, rgba(73,86,101,calc(var(--ap-cloud-mid-alpha) * .72)) 48%, rgba(73,86,101,0) 78%),
    radial-gradient(50% 23% at 72% 35%, rgba(55,68,83,var(--ap-cloud-mid-alpha)) 0%, rgba(75,88,103,calc(var(--ap-cloud-mid-alpha) * .70)) 47%, rgba(75,88,103,0) 78%),
    radial-gradient(34% 16% at 47% 45%, rgba(190,202,212,var(--ap-cloud-light-alpha)), rgba(190,202,212,0) 74%) !important;
  background-position:center top !important;
  transition:filter .35s ease, opacity .35s ease !important;
}

body[data-weather-effects="on"] .scene-weather-clouds::before,
body[data-weather-effects="on"] .scene-weather-clouds::after,
body[data-ap-weather] .scene-weather-clouds::before,
body[data-ap-weather] .scene-weather-clouds::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  animation:none !important;
  transform:none !important;
  background-position:center top !important;
}

body[data-weather-effects="on"] .scene-weather-clouds::before,
body[data-ap-weather] .scene-weather-clouds::before{
  opacity:1;
  background:
    radial-gradient(34% 16% at 4% 18%, rgba(31,41,54,var(--ap-cloud-extra-alpha)) 0%, rgba(31,41,54,0) 78%),
    radial-gradient(39% 18% at 22% 11%, rgba(36,47,61,var(--ap-cloud-extra-alpha)) 0%, rgba(36,47,61,0) 77%),
    radial-gradient(42% 19% at 65% 14%, rgba(34,45,59,var(--ap-cloud-extra-alpha)) 0%, rgba(34,45,59,0) 78%),
    radial-gradient(36% 17% at 98% 22%, rgba(38,49,63,var(--ap-cloud-extra-alpha)) 0%, rgba(38,49,63,0) 77%),
    radial-gradient(46% 16% at 50% 53%, rgba(63,76,91,var(--ap-cloud-horizon-alpha)) 0%, rgba(63,76,91,0) 80%);
}

body[data-weather-effects="on"] .scene-weather-clouds::after,
body[data-ap-weather] .scene-weather-clouds::after{
  opacity:1;
  background:
    linear-gradient(180deg, rgba(3,8,14,calc(var(--ap-cloud-deck-alpha) * .68)) 0%, rgba(3,8,14,0) 31%),
    radial-gradient(70% 15% at 50% 2%, rgba(8,15,24,calc(var(--ap-cloud-deck-alpha) * .72)) 0%, rgba(8,15,24,0) 80%),
    radial-gradient(58% 14% at 18% 49%, rgba(45,58,72,calc(var(--ap-cloud-horizon-alpha) * .82)) 0%, rgba(45,58,72,0) 80%),
    radial-gradient(58% 14% at 82% 50%, rgba(45,58,72,calc(var(--ap-cloud-horizon-alpha) * .82)) 0%, rgba(45,58,72,0) 80%);
}

/* Keine Nebelschleier: Wolken bleiben feste Wolkenformen. */
body[data-weather-kind="partly-cloudy"] .scene-weather-mist,
body[data-weather-kind="cloudy"] .scene-weather-mist,
body[data-weather-kind="overcast"] .scene-weather-mist,
body[data-weather-kind="rain"] .scene-weather-mist,
body[data-weather-kind="snow"] .scene-weather-mist,
body[data-weather-kind="storm"] .scene-weather-mist,
body[data-ap-weather="partly-cloudy"] .scene-weather-mist,
body[data-ap-weather="cloudy"] .scene-weather-mist,
body[data-ap-weather="overcast"] .scene-weather-mist,
body[data-ap-weather="rain"] .scene-weather-mist,
body[data-ap-weather="snow"] .scene-weather-mist,
body[data-ap-weather="storm"] .scene-weather-mist{
  opacity:0 !important;
  backdrop-filter:none !important;
}
