/* Patch 486 · WoDW Domain-Login mit globalem Dogiwood Header/Footer */
.dw-global-header{
 position:sticky;top:0;z-index:1000;width:100%;flex:0 0 auto;
 background:rgba(2,10,20,.96);border-bottom:1px solid rgba(54,167,255,.36);
 box-shadow:0 8px 30px rgba(0,0,0,.28);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)
}
.dw-global-header__inner{
 width:min(1560px,calc(100% - 42px));min-height:66px;margin:0 auto;
 display:flex;align-items:center;justify-content:space-between;gap:30px
}
.dw-global-brand{display:flex;align-items:baseline;gap:10px;text-decoration:none;white-space:nowrap}
.dw-global-brand strong{color:#e7bf55;font-size:24px;letter-spacing:.12em}
.dw-global-brand span{color:#9fb0c4;font-size:12px;letter-spacing:.12em;text-transform:uppercase}
.dw-global-nav{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.dw-global-nav a{
 display:inline-flex;align-items:center;min-height:36px;padding:9px 13px;border-radius:9px;
 color:#c7d3e1;text-decoration:none;font-size:13px
}
.dw-global-nav a:hover,.dw-global-nav a:focus-visible{
 background:rgba(29,157,255,.12);color:#56c9ff;outline:none
}
.dw-global-footer{
 width:100%;flex:0 0 auto;background:rgba(2,10,20,.96);
 border-top:1px solid rgba(52,157,232,.28);box-shadow:0 -8px 30px rgba(0,0,0,.18)
}
.dw-global-footer__inner{
 width:min(1560px,calc(100% - 42px));min-height:82px;margin:0 auto;
 display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:30px
}
.dw-global-footer__brand strong{display:block;color:#e7bf55;letter-spacing:.08em}
.dw-global-footer__brand span,.dw-global-footer__legal>span{
 display:block;margin-top:3px;color:#7f93aa;font-size:11px
}
.dw-global-footer__links{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.dw-global-footer__links a{color:#9eb1c5;font-size:12px;text-decoration:none}
.dw-global-footer__links a:hover,.dw-global-footer__links a:focus-visible{color:#56c9ff;outline:none}

/* Die Domainseite bekommt Header + Login/Charakterauswahl + Footer. */
html,body.landing.wodw-domain-shell{min-height:100%;height:auto!important}
body.landing.wodw-domain-shell{
 display:flex;flex-direction:column;min-height:100vh;min-height:100dvh;overflow:auto!important;background:#02060c
}
body.landing.wodw-domain-shell .landing-page{
 flex:1 0 auto;width:100%!important;height:auto!important;min-height:calc(100dvh - 148px)!important
}
body.landing.wodw-domain-shell .character-select-card{max-height:calc(100dvh - 190px)}

/* Sobald das eigentliche WoDW läuft, bleibt es weiter echtes Vollbild ohne Domain-Rahmen. */
body.wodw-playing [data-wodw-domain-shell]{display:none!important}
body.wodw-playing .landing-page{display:none!important}
body.wodw-playing{height:100vh!important;height:100dvh!important;overflow:hidden!important}

@media(max-width:900px){
 .dw-global-footer__inner{grid-template-columns:1fr;gap:12px;padding:18px 0}
 body.landing.wodw-domain-shell .landing-page{min-height:calc(100dvh - 196px)!important}
 body.landing.wodw-domain-shell .character-select-card{max-height:none}
}
@media(max-width:720px){
 .dw-global-header__inner,.dw-global-footer__inner{width:calc(100% - 18px)}
 .dw-global-header__inner{min-height:62px;gap:10px}
 .dw-global-brand span{display:none}
 .dw-global-brand strong{font-size:20px}
 .dw-global-nav{justify-content:flex-end;gap:0;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
 .dw-global-nav::-webkit-scrollbar{display:none}
 .dw-global-nav a{min-height:34px;padding:8px 7px;font-size:11px}
 .dw-global-footer__links{gap:10px}
 body.landing.wodw-domain-shell .landing-page{padding:14px}
}
