/* FS-Portal Modern 1.6.72.16 / restored FSxx HOME layout.
   Preserve all original stage2 classes and ad renderer contracts. */
html body:is(.home,.front-page) .fsp-home-game-block-v1356 { min-width:0; }
html body:is(.home,.front-page) .fsp-home-game-main-v1356 { min-width:0; }
html body:is(.home,.front-page) .fsp-home-game-grid-v1355 { min-width:0; }
html body:is(.home,.front-page) .fsp-home-game-mod-link-v1355 {
  isolation:isolate; transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease;
}
html body:is(.home,.front-page) .fsp-home-game-mod-link-v1355:hover {
  transform:translateY(-2px);border-color:rgba(var(--fsp-user-main-rgb,218,162,67),.55);
  box-shadow:0 10px 28px rgba(0,0,0,.25);
}
html body:is(.home,.front-page) .fsp-home-game-daily-v1675 {
  display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0;flex-wrap:wrap;
}
html body:is(.home,.front-page) .fsp-home-game-daily-v1675 .fsp-home-game-today-v1356,
html body:is(.home,.front-page) .fsp-home-game-daily-v1675 .fsp-home-game-updated-v1675 {
  grid-column:auto;grid-row:auto;position:relative;display:inline-flex;align-items:center;
  justify-content:center;gap:6px;min-height:34px;padding:7px 12px;
  border:1px solid rgba(255,255,255,.1);border-radius:999px;
  color:#f5f5f5;font-size:11px;font-weight:800;line-height:1.2;
  font-variant-numeric:tabular-nums;white-space:nowrap;pointer-events:none;
}
html body:is(.home,.front-page) .fsp-home-game-daily-v1675 .fsp-home-game-today-v1356 {
  background:#8b1730;box-shadow:none;
}
html body:is(.home,.front-page) .fsp-home-game-daily-v1675 .fsp-home-game-updated-v1675 {
  background:#1b5972;
}
html body:is(.home,.front-page) .fsp-home-game-daily-v1675 .fsp-home-game-updated-v1675:before {
  content:'↻';font-size:16px;line-height:1;opacity:.85;
}
html body:is(.home,.front-page) .fsp-home-game-all-v1355 {
  grid-template-columns:auto auto minmax(0,1fr) auto;gap:14px;
  min-height:76px;padding:12px 16px;
  border-radius:15px;
}
html body:is(.home,.front-page) .fsp-home-game-rail-v1356,
html body:is(.home,.front-page) .fsp-home-games-sticky-v1355 {min-width:0;}
html body:is(.home,.front-page) .fsp-home-game-rail-v1356 .fsp-sidebar-ad,
html body:is(.home,.front-page) .fsp-home-game-rail-v1356 .fsp-sidebar-ad-link {max-width:100%;}
@media(max-width:1280px){
  html body:is(.home,.front-page) .fsp-home-game-all-v1355 {grid-template-columns:auto minmax(0,1fr) auto;}
  html body:is(.home,.front-page) .fsp-home-game-all-copy-v1405 {display:none;}
}
@media(max-width:850px){
  html body:is(.home,.front-page) .fsp-home-game-all-v1355 {grid-template-columns:auto minmax(0,1fr);gap:12px;}
  html body:is(.home,.front-page) .fsp-home-game-all-copy-v1405 {display:none;}
  html body:is(.home,.front-page) .fsp-home-game-all-main-v1405 {grid-column:2;grid-row:1;text-align:left;}
  html body:is(.home,.front-page) .fsp-home-game-daily-v1675 {grid-column:1/-1;grid-row:2;justify-content:flex-start;
      padding-top:10px;border-top:1px solid rgba(255,255,255,.08);}
}
@media(max-width:620px){
  html body:is(.home,.front-page) .fsp-home-game-all-v1355 {grid-template-columns:auto minmax(0,1fr);}
  html body:is(.home,.front-page) .fsp-home-game-all-main-v1405 {grid-column:2;grid-row:1;border:0;padding:0;font-size:12px;}
  html body:is(.home,.front-page) .fsp-home-game-daily-v1675 {grid-column:1/-1;grid-row:2;gap:6px;}
  html body:is(.home,.front-page) .fsp-home-game-daily-v1675 .fsp-home-game-today-v1356,
  html body:is(.home,.front-page) .fsp-home-game-daily-v1675 .fsp-home-game-updated-v1675 {min-height:30px;padding:6px 9px;font-size:10px;}
}
@media(prefers-reduced-motion:reduce){
  html body:is(.home,.front-page) .fsp-home-game-mod-link-v1355 {transition:none;}
  html body:is(.home,.front-page) .fsp-home-game-mod-link-v1355:hover {transform:none;}
}
