/* ManiaGrania: 14-category carousel. No automatic motion with reduced-motion preference. */
.mg-game-strip{position:relative;margin:13px 0 20px;padding:0 0 2px}
.mg-game-strip__heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 1px 9px;color:#e6effc;font:700 13px Inter,system-ui,sans-serif;letter-spacing:.03em}
.mg-game-strip__heading span{color:#ffab50}.mg-game-strip__notice{color:#ffbd76;font-size:11px}
.mg-v3-games.mg-game-strip__track{display:flex!important;grid-template-columns:none!important;gap:9px!important;flex-flow:row nowrap!important;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;overscroll-behavior-inline:contain;padding:3px 1px 8px;margin:0;width:100%;box-sizing:border-box}
.mg-game-strip__track::-webkit-scrollbar{display:none}
.mg-game-strip__track>.mg-v3-game{flex:0 0 max(118px,calc((100% - 63px)/8));height:126px;scroll-snap-align:start;min-width:0}
.mg-game-strip__arrow{position:absolute;z-index:5;top:52%;transform:translateY(-50%);width:33px;height:52px;border-radius:8px;border:1px solid #496783;background:#0a1627eb;color:#fff;font-size:27px;cursor:pointer;box-shadow:0 6px 20px #0009}
.mg-game-strip__arrow:hover,.mg-game-strip__arrow:focus-visible{border-color:#ffac5f;color:#ffac5f}
.mg-game-strip__arrow--prev{left:-10px}.mg-game-strip__arrow--next{right:-10px}
.mg-v3-game.mg-v3-game--new{border-color:#da864b;background:radial-gradient(circle at 24% 10%,#c45c24 0,#223c55 38%,#071421 86%);justify-content:flex-end}
.mg-v3-game--csco{background:radial-gradient(circle at 70% 13%,#c99442 0,#463730 40%,#08121b 85%)!important}
.mg-v3-game.mg-v3-game--new:before{content:"CS:GO";position:absolute;font:900 32px 'Barlow Condensed',sans-serif;letter-spacing:-1px;color:#e9e6ddbb;top:36%;left:50%;transform:translate(-50%,-50%);white-space:nowrap}
.mg-v3-game.mg-v3-game--csco:before{content:"CO";font-size:44px}
.mg-v3-game.mg-v3-game--new strong{font-size:14px;color:#fff;max-width:95%;line-height:1.1}
.mg-game-strip__new{z-index:3;position:absolute;top:5px;right:5px;background:#ff9f36;color:#172032;font:900 9px Inter,sans-serif;border-radius:3px;padding:3px 4px}
/* Existing game tiles on all category pages also scroll, without squeezing. */
nav.games{display:flex!important;grid-template-columns:none!important;flex-wrap:nowrap!important;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scrollbar-width:thin;padding-bottom:6px}
nav.games>.game{flex:0 0 clamp(88px,8vw,140px)!important;scroll-snap-align:start;min-width:88px}
.mg-extra-category .mg-category-live__metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:20px 0}
.mg-category-live__metrics>div{background:#0d1c30;border:1px solid #304760;border-radius:8px;padding:12px;display:flex;flex-direction:column;gap:4px}
.mg-category-live__metrics strong{font-size:28px;color:#f8fcff}.mg-category-live__metrics span{font-size:11px;color:#afc1d8}
.mg-category-live__chart{display:grid;grid-template-columns:repeat(24,minmax(0,1fr));gap:3px;height:150px;background:#0b192d;border:1px solid #2b4059;border-radius:8px;padding:12px 5px 19px;margin:12px 0 10px;align-items:end}
.mg-category-live__hour{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:end;min-width:0}
.mg-category-live__bar{width:100%;min-height:1px;border-radius:3px 3px 0 0}.mg-category-live__hour small{font-size:8px;white-space:nowrap;color:#a2b7cf}
.mg-category-live__hint{color:#b8c9de;font-size:12px}
@media(max-width:1250px){.mg-game-strip__track>.mg-v3-game{flex-basis:calc((100% - 45px)/6)}}
@media(max-width:760px){.mg-game-strip__track>.mg-v3-game{flex-basis:calc((100% - 18px)/4);height:95px}.mg-category-live__metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mg-game-strip__notice{font-size:10px}.mg-game-strip__arrow{width:28px}}
@media(max-width:430px){.mg-game-strip__track>.mg-v3-game{flex-basis:calc((100% - 12px)/3)}.mg-game-strip__heading{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.mg-game-strip__track{scroll-behavior:auto!important}}

.mg-category-live__days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin:12px 0 22px}
.mg-category-live__day{display:flex;flex-direction:column;gap:5px;background:#102239;border:1px solid #36516c;border-radius:8px;padding:12px 5px;text-align:center}
.mg-category-live__day strong{font-size:17px;color:#e7f0fe}.mg-category-live__day small{font-size:10px;color:#aac0db}
.mg-category-live__events{list-style:none;margin:12px 0;padding:0}.mg-category-live__events li{padding:10px 8px;border-bottom:1px solid #34506a;color:#c3d0e3;font-size:12px;overflow-wrap:anywhere}

/* V2.2: new game artwork; no duplicate overlay letters, one optional right arrow. */
.mg-v3-game.mg-v3-game--new:before{content:none!important}
.mg-game-strip__arrow--prev{display:none!important}
.mg-game-strip__track>.mg-v3-game img{display:block;max-width:none;object-fit:cover}
.mg-v3-game.mg-v3-game--new img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.mg-v3-game.mg-v3-game--new:after{background:linear-gradient(180deg,transparent 40%,#050b17ed 100%)}
.mg-v3-game.mg-v3-game--new strong{z-index:2;font-size:15px;text-shadow:0 2px 6px #000}
@media(max-width:1250px){.mg-game-strip__track>.mg-v3-game{flex-basis:calc((100% - 45px)/6);height:119px}}
@media(max-width:760px){.mg-game-strip__track>.mg-v3-game{flex-basis:calc((100% - 18px)/4);height:104px}}
@media(max-width:430px){.mg-game-strip__track>.mg-v3-game{flex-basis:calc((100% - 12px)/3);height:102px}}


/* V2.4: jednolity katalog gier na kazdej podstronie. Bez poziomego scrollbara. */
.mg-category-strip{position:relative;min-width:0;width:100%;margin:0 0 16px}
.mg-category-strip nav.games{
  display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;
  overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important;
  -ms-overflow-style:none;scroll-snap-type:x mandatory;scroll-behavior:smooth;
  overscroll-behavior-inline:contain;gap:9px!important;padding:4px 2px 10px!important;
  margin:0!important;max-width:100%;box-sizing:border-box;
}
.mg-category-strip nav.games::-webkit-scrollbar{display:none!important;width:0;height:0}
.mg-category-strip nav.games>.game.game-poster-tile{
  position:relative!important;isolation:isolate;flex:0 0 clamp(120px,10.5vw,154px)!important;
  width:clamp(120px,10.5vw,154px)!important;min-width:120px!important;
  height:126px!important;min-height:126px!important;overflow:hidden!important;
  display:flex!important;align-items:flex-end!important;justify-content:center!important;
  scroll-snap-align:start;background-size:cover!important;background-position:center!important;
  border-radius:9px;box-sizing:border-box;
}
.mg-category-strip .mg-category-nav__poster{
  display:block!important;position:absolute!important;inset:0!important;z-index:0!important;
  width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;
  opacity:1!important;transform:none!important;pointer-events:none;
}
.mg-category-strip .game-poster-tile::before{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(180deg,transparent 20%,rgba(3,10,20,.86) 100%);
}
.mg-category-strip .poster-caption{position:relative!important;z-index:2!important;width:100%;padding:9px 6px!important;background:transparent!important}
.mg-category-strip .poster-caption strong{display:block;line-height:1.15!important;font-size:12px!important;color:#fff!important;text-align:center;text-shadow:0 2px 5px #000}
.mg-category-strip .poster-caption small{display:none!important}
.mg-category-strip__next{
  position:absolute;right:-2px;top:50%;transform:translateY(-50%);z-index:6;
  width:34px;height:53px;border-radius:9px;border:1px solid #6b819e;
  background:#071528ed;box-shadow:0 5px 18px #0009;color:#fff;
  display:flex;align-items:center;justify-content:center;font-size:27px;cursor:pointer;
}
.mg-category-strip__next:hover,.mg-category-strip__next:focus-visible{color:#ffb067;border-color:#ffb067;outline-offset:2px}
.mg-category-strip__next[hidden]{display:none!important}
.mg-extra-category .hero{
  background-image:linear-gradient(90deg,#061120f5 0%,#061120d9 46%,#0611204a 100%),var(--mg-category-hero-poster)!important;
  background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important;
}
.mg-extra-category .hero .hero-content{position:relative;z-index:1}
@media(max-width:700px){.mg-category-strip nav.games>.game.game-poster-tile{flex-basis:126px!important;width:126px!important;height:105px!important;min-height:105px!important}}
@media(prefers-reduced-motion:reduce){.mg-category-strip nav.games{scroll-behavior:auto!important}}

/* MG local RC: home catalogue only; preserve poster tiles and category nav. */
.mg-game-strip .mg-game-strip__arrow--prev{display:block!important}
.mg-game-strip .mg-game-strip__track.mg-loop-ready{scroll-snap-type:none!important;scroll-behavior:auto!important}
.mg-game-strip .mg-game-strip__track.mg-loop-ready>.mg-v3-game{scroll-snap-align:none!important}
@media(prefers-reduced-motion:reduce){.mg-game-strip .mg-game-strip__track.mg-loop-ready{scroll-behavior:auto!important}}
