/* Publiczny pasek ManiaGrania: oryginalne logo, wizualny układ jak na homepage. */
.mg-site-header,.mg-site-header *{box-sizing:border-box}
.mg-site-header{position:relative!important;z-index:1000!important;min-height:80px!important;height:auto!important;margin:0!important;background:#0b1424!important;border-bottom:1px solid #293a50!important;color:#f5f7fc!important;font-family:Inter,Arial,sans-serif!important;line-height:1.3!important;box-shadow:0 2px 15px #0007!important}
.mg-site-header a{text-decoration:none!important}
.mg-site-header__inner{width:min(1770px,calc(100% - 34px));min-height:80px;margin:auto;display:flex;align-items:center;gap:clamp(12px,2vw,36px)}
.mg-site-header .mg-global-logo{flex:0 0 auto!important}
.mg-site-header__content{display:flex;flex:1 1 auto;align-items:center;gap:clamp(12px,1.5vw,29px);min-width:0}
.mg-site-header__links{display:flex;align-items:center;gap:clamp(12px,1.4vw,26px);flex:0 1 auto;white-space:nowrap}
.mg-site-header__navlink{display:inline-block!important;font-size:13px!important;font-weight:700!important;color:#d3deed!important;white-space:nowrap!important}
.mg-site-header__navlink:hover,.mg-site-header__navlink:focus-visible,.mg-site-header__navlink.is-active{color:white!important}
.mg-site-header__navlink.is-active{position:relative}
.mg-site-header__navlink.is-active:after{content:"";position:absolute;bottom:-21px;left:0;right:0;height:3px;background:#ff912b;border-radius:8px}
.mg-site-header__dropdown{position:relative;display:flex;align-items:center;gap:3px}
.mg-site-header__drop-toggle{font:800 15px Inter,Arial,sans-serif!important;border:0!important;padding:5px 2px!important;background:transparent!important;color:#aac8eb!important;cursor:pointer!important}
.mg-site-header__dropdown-menu{display:none;position:absolute;top:100%;left:0;min-width:180px;max-height:min(65vh,520px);overflow:auto;background:#0e1d32;border:1px solid #3b5473;border-radius:10px;padding:8px;box-shadow:0 12px 28px #000b;z-index:1001;flex-direction:column;gap:2px}
.mg-site-header__dropdown-menu a{display:block;padding:10px 12px;border-radius:7px;font-size:13px;color:#e1ebff!important}
.mg-site-header__dropdown-menu a:hover,.mg-site-header__dropdown-menu a:focus-visible{background:#203a57;color:#ffa340!important}
.mg-site-header__dropdown:hover>.mg-site-header__dropdown-menu,.mg-site-header__dropdown:focus-within>.mg-site-header__dropdown-menu,.mg-site-header__dropdown.is-open>.mg-site-header__dropdown-menu{display:flex}
.mg-site-header__search{margin-left:auto!important;display:flex!important;align-items:center!important;flex:1 1 210px;min-width:140px;max-width:300px;height:46px;border-radius:12px;border:1px solid #2d4058;background:#0e1c30;overflow:hidden}
.mg-site-header__search input{min-width:0!important;flex:1;width:100%;background:none!important;color:white!important;border:0!important;outline:0!important;padding:12px!important;font:13px Inter,Arial,sans-serif!important}
.mg-site-header__search button{background:none!important;border:0!important;color:#f2f7ff!important;cursor:pointer;font-size:29px!important;line-height:1!important;padding:0 12px!important}
.mg-site-header__actions{display:flex!important;align-items:center!important;gap:16px!important;flex:none}
.mg-site-header__add{display:inline-flex!important;justify-content:center;align-items:center;min-height:46px;padding:11px 17px;border:1px solid #ff8e20;border-radius:11px;color:#ff9631!important;font-size:13px!important;font-weight:800!important;white-space:nowrap;box-shadow:0 0 14px #ff851e24}
.mg-site-header__add:hover{color:#0e1522!important;background:#ff922d}
.mg-site-header .mg-guest-actions{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:3px!important;min-width:112px!important}
.mg-site-header .mg-v3-account{display:block!important;width:auto!important;height:auto!important;padding:0!important;border:0!important;background:transparent!important;color:white!important;box-shadow:none!important;font-size:21px!important;line-height:1.1!important;border-radius:0!important}
.mg-site-header .mg-v3-register{font-size:12px!important;color:#f1f6ff!important;white-space:nowrap!important}
.mg-site-header .mg-v3-register:hover,.mg-site-header .mg-v3-account:hover{color:#ff9c33!important}
.mg-site-header .mg-avatar-menu{position:relative}
.mg-site-header .mg-avatar-dropdown{position:absolute;right:0;top:100%;width:235px;max-width:calc(100vw - 20px);z-index:1100}
.mg-site-header__toggle{display:none;border:1px solid #3b526b;border-radius:9px;background:#17273c;color:white;font-weight:700;padding:9px 12px;cursor:pointer}
.mg-site-header~main{padding-top:16px}
@media(max-width:1320px){.mg-site-header__inner{gap:12px}.mg-site-header__content{gap:12px}.mg-site-header__links{gap:12px}.mg-site-header__search{max-width:205px}.mg-site-header .mg-global-logo__name{font-size:24px!important}}
@media(max-width:1090px){.mg-site-header__inner{flex-wrap:wrap;padding:10px 0}.mg-site-header__toggle{display:inline-flex;margin-left:auto;align-items:center;gap:7px}.mg-site-header__content{display:none;flex-basis:100%;flex-wrap:wrap;padding:9px 0;gap:14px}.mg-site-header__content.is-open{display:flex}.mg-site-header__links{flex-wrap:wrap;flex-basis:100%;row-gap:14px}.mg-site-header__search{margin-left:0!important;max-width:380px}.mg-site-header__navlink.is-active:after{bottom:-7px}}
@media(max-width:560px){.mg-site-header__inner{width:calc(100% - 24px)}.mg-site-header__content.is-open{flex-direction:column;align-items:stretch}.mg-site-header__links{display:flex;flex-wrap:wrap;gap:10px 15px}.mg-site-header__search{min-width:0;flex:none;width:100%;max-width:none}.mg-site-header__actions{justify-content:space-between}.mg-site-header__dropdown-menu{left:0;max-width:85vw}.mg-site-header .mg-global-logo__name{font-size:21px!important}}
@media(prefers-reduced-motion:reduce){.mg-site-header *{transition:none!important}}
/* Login is centered in the original view; the global header must still occupy its own row. */
body.mg-public-auth{display:block!important;min-height:100vh!important}
body.mg-public-auth main.login{margin:clamp(30px,8vh,95px) auto!important}
.mg-live-affiliates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.mg-live-affiliate{min-height:85px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;text-align:center;background:#0c1b30;border:1px solid #385277;border-radius:10px;padding:10px;color:#fff!important}.mg-live-affiliate img{max-height:55px;max-width:100%;object-fit:contain}.mg-live-affiliate strong{font-size:13px}.mg-live-affiliate small{font-size:10px;color:#acbfd4}.mg-partner-placeholder{padding:17px;color:#adbcd0}.mg-live-banner{display:block;position:relative;border:1px solid #334c65;border-radius:9px;overflow:hidden;text-decoration:none;color:white;background:#101b2d}.mg-live-banner img,.mg-live-banner video{display:block;width:100%;max-height:220px;object-fit:contain}.mg-live-banner span{display:block;padding:7px 11px;color:#b8c5d4;font-size:11px}
@media(max-width:760px){.mg-live-affiliates{grid-template-columns:repeat(2,minmax(0,1fr))}}
.mg-v3-partner-grid>.mg-live-affiliates{grid-column:1/-1}
