/* Shared phone layout for status hubs, game statuses and game updates. */
@media (max-width: 560px) {
  body .sp-page .sp-filters,
  body:has(.gs-hero) .gs-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    align-items: stretch;
  }

  body .sp-page .sp-filter-btn,
  body:has(.gs-hero) .gs-filter {
    min-width: 0;
    min-height: 48px;
    padding: 10px 6px;
    gap: 4px;
    font-size: 0.8125rem;
    line-height: 1.45;
    overflow-wrap: normal;
    justify-content: center;
    text-align: start;
  }

  body .sp-page #sp-status-search,
  body:has(.gs-hero) #gs-search {
    font-size: 1rem;
    min-width: 0;
  }

  body .sp-page .sp-group-header {
    padding: 12px;
    gap: 4px;
  }

  body .sp-page .sp-group-header-left {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 4px 8px;
    align-items: center;
  }

  body .sp-page .sp-group-chevron {
    grid-column: 1;
    grid-row: 1;
    box-sizing: border-box;
    width: 44px;
    height: 44px;
    padding: 14px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    background: var(--color-bg);
  }

  body .sp-page .sp-group-name {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    min-height: 44px;
    overflow: visible;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.45;
  }

  body .sp-page .sp-group-bar {
    grid-column: 2;
    grid-row: 2;
  }

  body .sp-page .sp-group-attention {
    grid-column: 2;
    padding-inline-start: 0;
    line-height: 1.5;
  }

  body .sp-page .sp-group-header-right {
    min-width: 0;
    flex-basis: 100%;
    padding-inline-start: 52px;
    gap: 6px;
  }

  body .sp-page .sp-group-status-link {
    display: inline-flex;
    min-height: 44px;
    max-width: 100%;
    padding-inline: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  body .sp-page .sp-row {
    display: grid;
    grid-template-columns: 6px minmax(0, 1fr);
    gap: 4px 10px;
    padding: 12px 16px;
  }

  body .sp-page .sp-row-name {
    display: flex;
    align-items: center;
    grid-column: 2;
    min-height: 44px;
    min-width: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    white-space: normal;
    overflow: visible;
    overflow-wrap: anywhere;
  }

  body .sp-page .sp-badge {
    grid-column: 2;
    justify-self: start;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: start;
  }

  body .sp-page .sp-row-evidence {
    grid-column: 1 / -1;
    margin-top: 4px;
  }

  body .sp-page .sp-row-evidence .status-evidence {
    font-size: 0.75rem;
  }

  body .sp-page .sp-row-evidence [data-evidence-time-label] {
    margin-inline-end: 0.3em;
  }

  body:has(.gs-hero) .gs-row-name {
    flex: 1;
    min-width: 44px;
    min-height: 44px;
  }

  body:has(.gs-hero) .gs-news-body {
    flex: 1;
  }

  body:has(.gs-hero) a.gs-news-title,
  body:has(.gs-hero) .gs-link-all {
    display: flex;
    align-items: center;
    min-height: 44px;
    min-width: 44px;
    overflow-wrap: anywhere;
  }

  body .gu-page .gu-filters {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 8px;
    width: 100%;
  }

  body .gu-page .gu-filter-btn {
    min-width: 0;
    min-height: 48px;
    padding: 10px 6px;
    font-size: 0.875rem;
    line-height: 1.4;
    text-align: center;
    overflow-wrap: anywhere;
  }

  body .gu-page .gu-filter-btn[hidden] {
    display: none;
  }

  body .gu-page .gu-card-name {
    align-self: stretch;
    min-width: 44px;
  }
}
