/* Margo banner concept: the existing masthead and page layout stay intact. */
[data-theme="valheim"] .header{position:relative;z-index:5}
.valheim-banner{position:relative;z-index:3;isolation:isolate;height:164px;margin:0;overflow:visible;background:#091629}
.valheim-banner__landscape{position:absolute;inset:0;z-index:0;overflow:hidden;background-image:linear-gradient(90deg,#07132622 0%,#07132608 50%,#0713262b 100%),linear-gradient(0deg,#0713268c 0%,transparent 38%,#07132628 100%),url("/nextgame-ui/media/valheim-banner-forest-v1.webp");background-size:cover;background-position:center 42%;box-shadow:inset 0 1px #bdd7ff13,inset 0 -1px #bdd7ff1c}
.valheim-banner__landscape:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#09162928,transparent 36%,transparent 82%,#09162938);pointer-events:none}
.valheim-banner__mark{position:absolute;z-index:1;left:clamp(22px,3.5vw,60px);top:50%;display:grid;justify-items:center;gap:5px;transform:translateY(-50%);color:#a8ead9;text-shadow:0 0 16px #8ce9d477;pointer-events:none}
.valheim-banner__mark svg{display:block;width:44px;height:44px;filter:drop-shadow(0 0 8px #8ce9d477)}
.valheim-banner__mark span{font-size:8px;font-weight:700;letter-spacing:.42em;padding-left:.42em}
.valheim-banner__margo{position:absolute;z-index:2;right:clamp(13rem,18vw,23rem);bottom:0;display:block;width:auto;height:calc(100% + 48px);max-width:none;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 10px 18px #02081366);pointer-events:none}
[data-theme="palworld"] .valheim-banner,[data-theme="neutral"] .valheim-banner{display:none}
@media(max-width:800px){.valheim-banner{height:136px}.valheim-banner__landscape{background-position:center 46%}.valheim-banner__mark{left:20px}.valheim-banner__mark svg{width:38px;height:38px}.valheim-banner__margo{right:-18px;height:calc(100% + 18px)}}
@media(max-width:600px){.valheim-banner{height:120px}.valheim-banner__landscape{background-position:center 45%}.valheim-banner__mark{left:18px;gap:3px}.valheim-banner__mark svg{width:32px;height:32px}.valheim-banner__mark span{font-size:7px}.valheim-banner__margo{right:-16px;height:calc(100% + 10px)}}
