*{box-sizing:border-box}html{background:#021327}body{margin:0;background:#021327;color:#f4faff;font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif}body{overflow-x:hidden}button,input{font:inherit}.site{min-height:100svh;position:relative;isolation:isolate;overflow:hidden;background:#021327}.stage{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:max(100vw,calc(100svh * 1672 / 941));aspect-ratio:1672/941;container-type:inline-size;isolation:isolate}.scene{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:contain}.authentic-logo{position:absolute;z-index:2;left:36.18%;top:42.3%;width:5.27%;height:auto;object-fit:contain;pointer-events:none}.dashboard{position:absolute;z-index:3;left:39%;top:57.1%;width:24.7%;display:flex;flex-direction:column;gap:1.05cqw;align-items:stretch}.mobile-intro{display:none}.countdown{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.58cqw}.unit{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.12cqw;min-width:0;height:3.55cqw;border:1px solid #16b3e5;border-radius:.46cqw;background:rgba(2,25,48,.84);box-shadow:0 0 .9cqw #04a7ea22,inset 0 0 .5cqw #11afe622}.unit strong{font-size:1.55cqw;line-height:1;font-weight:750;font-variant-numeric:tabular-nums}.unit span{font-size:.51cqw;white-space:nowrap;color:#e9faff}.progress{display:flex;align-items:center;gap:.6cqw;width:100%}.track{height:.55cqw;border:1px solid #55daff;flex:1;border-radius:999px;background:#00213bbb;overflow:hidden}.bar{height:100%;width:0%;border-radius:inherit;background:repeating-linear-gradient(110deg,#00bbf4 0,#56efff 1.2cqw,#0bccf1 1.3cqw,#00ace0 1.6cqw);box-shadow:0 0 1cqw #09f3fc}.percent{flex:none;width:2.35cqw;color:#66ecff;font-weight:800;font-size:1cqw;font-variant-numeric:tabular-nums}.site-footer{position:absolute;z-index:4;bottom:max(14px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:calc(100% - 100px);max-width:1100px;display:flex;align-items:center;justify-content:center;gap:20px;padding:10px 42px;text-align:center;font-size:clamp(11px,.75vw,13px);color:#eaf7ff;text-shadow:0 1px 5px #011427}.site-footer a{color:inherit;text-decoration:none}.site-footer a:hover{text-decoration:underline}.footer-sep{height:18px;width:1px;background:#35c5f8}.discreet-access{position:absolute;right:0;bottom:4px;width:33px;height:33px;border:1px solid #3d849f30;background:transparent;color:#97bed1;opacity:.42;border-radius:9px;display:grid;place-items:center;cursor:pointer;transition:opacity .2s,border-color .2s}.discreet-access:hover,.discreet-access:focus-visible{opacity:1;border-color:#58d7ff;outline-offset:3px}.discreet-access svg,.login-symbol svg{height:17px;width:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round}
/* Tablets and phones: preserve artwork ratio and give real controls physical touch sizes. */
@media(max-width:1100px), (max-height:560px){.site{overflow:visible;min-height:100svh;display:flex;flex-direction:column;align-items:stretch;justify-content:center;background:linear-gradient(180deg,#021327 0%,#052641 65%,#021327 100%)}.stage{position:relative;left:auto;top:auto;transform:none;width:100%;aspect-ratio:auto;container-type:normal;display:flex;align-items:center;flex-direction:column;min-height:0}.scene{position:relative;inset:auto;object-fit:contain;width:100%;height:auto;aspect-ratio:1672/941;flex:none}.authentic-logo{display:none}.dashboard{position:relative;left:auto;top:auto;z-index:3;width:min(92%,540px);margin:clamp(-8px,-.7vw,0px) auto 0;padding:16px clamp(12px,2.5vw,22px) 21px;border-radius:18px;border:1px solid #36bceb75;background:linear-gradient(140deg,#031d34f7,#063657ed);box-shadow:0 10px 30px #0005;gap:16px}.mobile-intro{display:block;text-align:center;font-size:clamp(17px,3vw,22px);line-height:1.4;margin:0;font-weight:650}.countdown{gap:clamp(5px,1.4vw,10px)}.unit{height:clamp(60px,10vw,80px);gap:4px;border-radius:10px}.unit strong{font-size:clamp(21px,4vw,30px)}.unit span{font-size:clamp(9px,1.6vw,12px)}.progress{gap:10px}.track{height:11px}.bar{background:repeating-linear-gradient(110deg,#00bbf4 0,#56efff 12px,#0bccf1 13px,#00ace0 18px)}.percent{width:45px;font-size:16px}.site-footer{position:relative;bottom:auto;left:auto;transform:none;display:flex;flex-wrap:wrap;margin:12px auto 0;width:100%;max-width:none;gap:5px 12px;padding:20px 46px max(20px,env(safe-area-inset-bottom));font-size:clamp(11px,1.6vw,13px)}.footer-sep{display:none}.discreet-access{bottom:max(14px,env(safe-area-inset-bottom));right:12px}}
@media(max-width:430px){.dashboard{width:94%;gap:13px;padding:15px 12px 17px}.unit{height:60px;border-radius:8px}.unit strong{font-size:21px}.unit span{font-size:9px}.site-footer{flex-direction:column;gap:7px;padding-left:38px;padding-right:38px;font-size:11px}.mobile-intro{font-size:17px}}
@media(min-width:1101px) and (max-aspect-ratio:4/3){.dashboard{top:57.1%}}
/* Secure modal entrance; actual authentication must happen on the server. */
.login-dialog{width:min(92vw,420px);max-width:420px;max-height:min(94svh,740px);overflow-y:auto;color:#e9faff;border:1px solid #2cc6ff6e;border-radius:20px;background:linear-gradient(145deg,#061e37 5%,#031426 100%);box-shadow:0 35px 110px #000b,0 0 55px #04ade51d;padding:24px 28px 25px}.login-dialog::backdrop{background:#010d1ac9;backdrop-filter:blur(7px)}.login-top{display:flex;align-items:center;justify-content:space-between;gap:16px}.login-kicker{font-size:10px;letter-spacing:.18em;color:#79c9e9;font-weight:750}.close{border:0;background:transparent;color:#91bed4;font-size:28px;line-height:1;cursor:pointer}.login-symbol{margin:20px auto 10px;width:54px;height:54px;display:grid;place-items:center;color:#7aedff;border-radius:15px;background:#10bde725;border:1px solid #1cbee69c}.login-symbol svg{height:24px;width:24px}.login-dialog h2{margin:0;text-align:center;font-size:23px;letter-spacing:-.03em}.login-subtitle{margin:8px 0 20px;text-align:center;font-size:13px;line-height:1.5;color:#9dbad1}.login-dialog form{display:flex;flex-direction:column;gap:8px}.login-dialog label{font-size:12px;color:#c5e2f2;margin-top:5px}.login-dialog input{width:100%;border-radius:10px;background:#021327;border:1px solid #41738c;color:white;padding:12px 13px;min-height:45px;outline-offset:3px}.login-dialog input:focus{border-color:#36d5ff}.submit-login{margin-top:12px;padding:12px 15px;min-height:45px;border:0;border-radius:10px;cursor:pointer;background:linear-gradient(90deg,#11c8e9,#0b8bf1);color:#001c32;font-weight:750;display:flex;align-items:center;justify-content:space-between}.submit-login:disabled{opacity:.5;cursor:wait}.login-message{min-height:1.2em;margin:5px 0 0;color:#ffd2bd;font-size:12px;line-height:1.5}.direct-login{margin-top:9px;display:block;text-align:center;color:#82dfff;font-size:12px;text-underline-offset:4px}body.modal-open{overflow:hidden}
@media(prefers-reduced-motion:reduce){.discreet-access{transition:none}}


/* V20: A real, visible brand in portrait layouts, without changing desktop scene. */
.mobile-brand{display:none}
@media (max-width:1100px) and (orientation:portrait){
  .mobile-brand{display:flex;align-items:center;justify-content:center;gap:10px;margin:0 auto 3px;max-width:100%}
  .mobile-brand img{width:44px;height:32px;object-fit:contain;flex:none}
  .mobile-brand div{display:flex;flex-direction:column;gap:2px;text-align:left;min-width:0}
  .mobile-brand strong{font-size:clamp(15px,3.8vw,20px);line-height:1.05;white-space:nowrap;letter-spacing:-.03em}
  .mobile-brand em{font-style:normal;color:#48e5fa}
  .mobile-brand small{font-size:clamp(8px,2.05vw,10px);letter-spacing:.015em;color:#d9f1fb;white-space:nowrap}
}

/* V20 mobile landscape: keep the artwork, countdown and footer within the
   actual viewport height rather than stacking the dashboard below the scene. */
@media (orientation:landscape) and (max-height:600px) and (max-width:1100px){
  html,body{min-height:100%;}
  .site{width:100%;min-height:100svh;height:100svh;overflow:hidden;display:flex;align-items:center;justify-content:center;background:#021327}
  .stage{position:absolute;top:calc((100svh - 30px)/2);left:50%;transform:translate(-50%,-50%);width:min(100vw,calc((100svh - 33px) * 1672 / 941));aspect-ratio:1672/941;min-height:0;display:block;container-type:inline-size;isolation:isolate;margin:0}
  .scene{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;aspect-ratio:1672/941}
  .authentic-logo{display:block;position:absolute;left:36.18%;top:42.3%;width:5.27%;height:auto}
  .dashboard{position:absolute;left:38.5%;top:56.7%;width:26%;min-width:0;max-width:none;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;display:flex;flex-direction:column;gap:1.0cqw;align-items:stretch}
  .mobile-brand,.mobile-intro{display:none}
  .countdown{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.48cqw}
  .unit{height:3.45cqw;min-height:0;gap:.12cqw;border-radius:.44cqw;padding:0}
  .unit strong{font-size:1.48cqw;line-height:1.0}
  .unit span{font-size:.48cqw}
  .progress{gap:.5cqw;width:100%}
  .track{height:.53cqw;min-height:0}
  .percent{font-size:.98cqw;width:2.2cqw}
  .site-footer{position:absolute;left:50%;bottom:max(2px,env(safe-area-inset-bottom));transform:translateX(-50%);width:calc(100% - 72px);max-width:none;margin:0;padding:2px 3px;display:flex;flex-direction:row;flex-wrap:nowrap;gap:8px;font-size:clamp(8px,1.15vw,11px);line-height:1.2;white-space:nowrap;justify-content:center}
  .footer-sep{display:block;height:11px;width:1px}
  .discreet-access{position:fixed;right:max(8px,env(safe-area-inset-right));bottom:max(5px,env(safe-area-inset-bottom));width:27px;height:27px}
  .discreet-access svg{width:14px;height:14px}
}
@media (orientation:landscape) and (max-height:360px) and (max-width:1100px){
 .stage{top:calc((100svh - 25px)/2);width:min(100vw,calc((100svh - 28px) * 1672 / 941))}
 .site-footer{font-size:8px}
}

/* V21 — Responsive correction: landscape touch devices.
   Keep the actual illustration unchanged. Scale the live overlay in the same
   coordinate system as the illustration; never use the portrait card sizes. */
@media (orientation: landscape) and (max-height: 850px) and (pointer: coarse),
       (orientation: landscape) and (max-height: 720px) and (max-width: 1100px) {
  html, body {width:100%;min-height:100%;margin:0;overflow-x:hidden;}
  .site {
    min-height:100svh;
    height:100svh;
    height:100dvh;
    overflow:hidden;
    display:block;
    background:#021327;
  }
  .stage {
    position:absolute;
    left:50%;
    top:calc((100% - 32px) / 2);
    transform:translate(-50%,-50%);
    width:min(100vw, calc((100dvh - 42px) * 1672 / 941));
    aspect-ratio:1672 / 941;
    height:auto;
    min-height:0;
    max-width:none;
    margin:0;
    padding:0;
    display:block;
    container-type:inline-size;
    isolation:isolate;
    border:0;
  }
  .scene {position:absolute;inset:0;width:100%;height:100%;object-fit:contain;aspect-ratio:auto;display:block;}
  .authentic-logo {display:block;left:36.18%;top:42.3%;width:5.27%;height:auto;}
  .dashboard {
    position:absolute;
    left:39%;top:57.1%;width:24.7%;
    max-width:none;min-width:0;height:auto;
    margin:0;padding:0;border:0;outline:0;
    display:flex;flex-direction:column;align-items:stretch;
    gap:1.05cqw;border-radius:0;background:transparent;box-shadow:none;
  }
  .mobile-brand, .mobile-intro {display:none;}
  .countdown {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.58cqw;width:100%;margin:0;padding:0;}
  .unit {
    display:flex;flex-direction:column;align-items:center;justify-content:center;
    min-width:0;max-width:none;height:3.55cqw;min-height:0;
    padding:0;gap:.12cqw;border:1px solid #16b3e5;
    border-radius:.46cqw;background:rgba(2,25,48,.84);
  }
  .unit strong {font-size:clamp(9px,1.55cqw,21px);line-height:1;font-weight:750;letter-spacing:0;}
  .unit span {font-size:clamp(5px,.51cqw,9px);line-height:1.1;white-space:nowrap;letter-spacing:-.01em;}
  .progress {width:100%;display:flex;align-items:center;gap:.6cqw;margin:0;padding:0;}
  .track {flex:1;min-width:0;height:max(3px,.55cqw);min-height:0;border-radius:999px;}
  .percent {flex:none;width:2.35cqw;min-width:0;font-size:clamp(8px,1cqw,14px);line-height:1;}
  .site-footer {
    position:absolute;
    bottom:max(5px,env(safe-area-inset-bottom));left:50%;
    transform:translateX(-50%);
    width:calc(100% - 66px);max-width:none;
    margin:0;padding:2px 0;
    display:flex;flex-direction:row;flex-wrap:wrap;
    justify-content:center;align-items:center;
    gap:4px 10px;
    font-size:clamp(8px,1.05vw,11px);line-height:1.15;
    text-align:center;white-space:normal;
  }
  .footer-sep {display:block;height:10px;width:1px;flex:none;}
  .discreet-access {
    position:fixed;right:max(8px,env(safe-area-inset-right));
    bottom:max(4px,env(safe-area-inset-bottom));
    width:28px;height:28px;opacity:.5;
  }
  .discreet-access svg {width:14px;height:14px;}
}
/* Extremely short landscape: allow the footer to use the full available width. */
@media (orientation:landscape) and (max-height:390px) and (max-width:1100px){
  .site-footer {font-size:8px;gap:3px 7px;width:calc(100% - 55px);}
  .stage {top:calc((100% - 28px) / 2);width:min(100vw,calc((100dvh - 34px) * 1672 / 941));}
}

/* V22: targeted fixes, preserve desktop artwork and approved layout. */
/* Portrait: the illustration owns the brand/headline. The separate panel shows
   ONLY the live countdown and animation, with the genuine seven-node symbol
   composited over the illustration in exactly the same proportional position. */
@media (orientation:portrait) and (max-width:1100px) {
  .stage > .authentic-logo {
    display:block;
    position:absolute;
    left:36.18%; top:42.3%; width:5.27%; height:auto;
    z-index:2;object-fit:contain;pointer-events:none;
  }
  .dashboard > .mobile-brand,
  .dashboard > .mobile-intro { display:none !important; }
  .dashboard { gap:clamp(10px,2.1vw,16px); }
}
/* Phone landscape: the graphic's right-hand cubes start immediately after
   the window's content area. Move only the live overlay left and make it
   narrower so both the bar and 0–100% label are fully within the window. */
@media (orientation:landscape) and (max-height:850px) and (pointer:coarse),
       (orientation:landscape) and (max-height:720px) and (max-width:1100px) {
  .dashboard { left:38.1%; width:21.6%; }
  .progress { width:100%; gap:.38cqw; }
  .percent { flex:none; width:2.4cqw; font-size:clamp(8px,.9cqw,13px);text-align:right; }
}

/* V23: localized scene headline replaces the baked-in Greek pixels. */
.stage{container-type:inline-size}
.scene-headline{position:absolute;z-index:3;left:34.4%;top:51.2%;width:31.5%;margin:0;color:#f2faff;font-size:1.48cqw;line-height:1.25;font-weight:650;text-align:center;text-shadow:0 1px 4px #00172d;white-space:nowrap;pointer-events:none}
.scene-headline.lang-de{font-size:1.34cqw}
.copyright-brief{display:block;flex-basis:100%;order:5;text-align:center;color:#b4cddd;font-size:clamp(9px,.66vw,11px);line-height:1.3}
.site-footer{flex-wrap:wrap;gap:5px 14px;padding-bottom:8px}
.site-footer > span:first-child,.site-footer > a{white-space:nowrap}
.discreet-access{bottom:14px}
@media(max-width:1100px), (max-height:560px){
 .stage{container-type:inline-size}
 .scene-headline{left:34.4%;top:51.2%;width:31.5%;font-size:1.48cqw}
 .scene-headline.lang-de{font-size:1.30cqw}
 .copyright-brief{flex-basis:100%;font-size:clamp(9px,1.1vw,11px);order:5}
 .site-footer{gap:5px 10px;padding-bottom:max(18px,env(safe-area-inset-bottom))}
}
@media(orientation:portrait) and (max-width:1100px){
 .scene-headline{font-size:1.47cqw}
 .copyright-brief{font-size:10px;padding:0 16px}
}
@media(orientation:landscape) and (max-height:850px) and (pointer:coarse),
       (orientation:landscape) and (max-height:720px) and (max-width:1100px){
 .scene-headline{left:34.4%;top:51.2%;width:31.5%;font-size:1.48cqw}
 .copyright-brief{display:none} /* Leave meaningful footer in short phone landscape */
 .site-footer{flex-wrap:wrap}
}
@media(orientation:landscape) and (max-height:390px) and (max-width:1100px){
 .scene-headline{font-size:1.40cqw}
}
@media(max-width:430px){.site-footer{padding-bottom:max(16px,env(safe-area-inset-bottom))}}


/* V24 fixes: avoid Greek flash/duplicate text, keep only translated UI,
   and make the scene logo visible in mobile portrait/landscape. */
body.i18n-pending .scene-headline,
body.i18n-pending [data-i18n],
body.i18n-pending .copyright-brief{visibility:hidden}
body.i18n-ready .scene-headline,
body.i18n-ready [data-i18n],
body.i18n-ready .copyright-brief{visibility:visible}

.authentic-logo{filter:drop-shadow(0 0 .4cqw rgba(0,0,0,.35)) brightness(1.04);opacity:.98}

@media (orientation:portrait) and (max-width:1100px){
  .stage > .authentic-logo{
    display:block !important;
    left:34.8%;
    top:41.8%;
    width:7.2%;
    height:auto;
    z-index:3;
  }
  .dashboard > :not(.countdown):not(.progress){display:none !important}
}

@media (orientation:landscape) and (max-height:850px) and (pointer:coarse),
       (orientation:landscape) and (max-height:720px) and (max-width:1100px){
  .stage > .authentic-logo{
    display:block !important;
    left:35.2%;
    top:41.9%;
    width:5.9%;
    height:auto;
    z-index:3;
  }
  .dashboard > :not(.countdown):not(.progress){display:none !important}
}


/* V25: proper image-relative overlays in portrait, preventing the logo
   from falling onto the helmet below the artwork. */
.artwork{display:contents}
@media (orientation:portrait) and (max-width:1100px){
  .site{justify-content:center}
  .stage{display:flex;flex-direction:column;align-items:center;gap:0}
  .artwork{display:block;position:relative;width:100%;height:auto;aspect-ratio:1672/941;container-type:inline-size;isolation:isolate;flex:0 0 auto}
  .artwork .scene{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;aspect-ratio:1672/941}
  .artwork .authentic-logo{position:absolute;display:block!important;left:36.18%!important;top:42.3%!important;width:5.27%!important;height:auto!important;object-fit:contain;z-index:3;pointer-events:none;filter:drop-shadow(0 1px 3px #00121c)}
  .artwork .scene-headline{position:absolute;left:34.4%;top:51.2%;width:31.5%;z-index:3;margin:0;font-size:1.48cqw;line-height:1.25;white-space:nowrap;text-align:center}
  .artwork .scene-headline.lang-de{font-size:1.29cqw}
  .dashboard{position:relative;flex:none;left:auto;top:auto;margin:-2px auto 0;width:min(94%,540px)}
  .dashboard > :not(.countdown):not(.progress){display:none!important}
}
/* Landscape retains the original scene coordinate system and approved composition. */
@media (orientation:landscape){.artwork{display:contents}}
