/* SPortsDeX 1.0.177 — mobile/tablet single-post full bleed only.
   Keep desktop, directory, pages, club/player and other layouts unchanged. */
@media (max-width: 800px) {
  /* Reduce the empty strip between the breaking ticker and article. */
  body.single-post .sp-single-layout.archive-layout {
    padding-top: 3px;
  }
  body.single-post .sp-single-layout.container {
    width: 100%; max-width: none; padding-left: 0; padding-right: 0;
  }
  body.single-post .sp-single-layout > .sp-single-main {min-width: 0; width: 100%;}
  body.single-post .sp-single-layout .single-article.panel {
    margin: 0; padding: 20px 16px 24px; width: 100%;
    border: 0; border-radius: 0; box-shadow: none;
  }
  body.single-post .sp-single-layout .article-cover {
    margin: 24px -16px;
  }
  body.single-post .sp-single-layout .article-cover img {
    display: block; width: 100%; height: auto; border-radius: 0;
  }
  body.single-post .sp-single-layout .article-cover figcaption {
    padding: 8px 16px 0;
  }
  /* Secondary panels remain readable, with regular page gutters. */
  body.single-post .sp-single-layout .sp-single-main > :not(.single-article) {
    margin-left: 16px; margin-right: 16px;
  }
  body.single-post .sp-single-layout .sp-single-aside {
    padding-left: 16px; padding-right: 16px;
  }
}

/* V1.0.200: edge-to-edge outer panels only on mobile Single Post.
   Preserve the internal padding of comments, related cards, and sidebar widgets. */
@media (max-width:600px) {
  body.single-post .sp-single-layout .sp-single-main > :not(.single-article) {
    margin-left:0; margin-right:0; width:100%; max-width:none;
    box-sizing:border-box;
  }
  body.single-post .sp-single-layout .sp-single-aside {
    padding-left:0; padding-right:0; width:100%; min-width:0;
    box-sizing:border-box;
  }
  body.single-post .sp-single-layout .sp-single-aside > .sidebar-stack,
  body.single-post .sp-single-layout .sp-single-aside > .sp147-sidebar-stack {
    width:100%; min-width:0;
  }
  body.single-post .sp-single-layout .sp-single-main > .sp-mini-navigation,
  body.single-post .sp-single-layout .sp-single-main > .sp-related,
  body.single-post .sp-single-layout .sp-single-main > #comments,
  body.single-post .sp-single-layout .sp-single-aside .side-panel,
  body.single-post .sp-single-layout .sp-single-aside .sp147-side-block {
    border-radius:0; box-sizing:border-box;
  }
  body.single-post .sp-single-layout .sp-single-aside .sidebar-stack,
  body.single-post .sp-single-layout .sp-single-aside .sp147-sidebar-stack {
    gap:20px;
  }
}

/* V1.0.201: mobile-only gap before Mega Footer. */
@media(max-width:600px){
 body.single-post .sp-single-layout.archive-layout{padding-bottom:16px;margin-bottom:0}
 body.single-post .sp-footer{margin-top:0}
}

/* Single prediction scoreboard: compact natural height, desktop only. */
@media (min-width: 769px) {
  body.single-post .sp-pc-single-match .sp-pc-public-card > .sp549-board {
    display: block;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: auto;
    padding: 16px;
    margin: 0;
  }
  body.single-post .sp-pc-single-match .sp549-board > .sp549-teams {
    display: grid;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: auto;
    align-items: center;
    align-content: center;
    padding: 16px 0 0;
    margin: 0;
  }
  body.single-post .sp-pc-single-match .sp549-teams > .sp549-team,
  body.single-post .sp-pc-single-match .sp549-teams > .sp549-center {
    align-self: center;
    margin-block: 0;
  }
}
