

@layer components {

@media (max-width: 1023px) {

  .main-content.main-content .ms-sw-lead .ms-sw-title { font-size: var(--mt-h2); }

  .main-content > .ms-sh { padding-top: calc(var(--stack-lg) * 2); }

  .shp8 { display: grid; gap: 4px; }

  .shp8-k {
    margin-bottom: var(--space-2);
    font-size: var(--mt-kicker);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
  }
  .shp8-k i { font-style: normal; padding: 0 4px; }

  .shp8-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    min-height: 22px;
  }
  .shp8-row em {
    font-style: normal;
    font-size: var(--mt-label);
    color: var(--text-secondary);
  }

  .shp8-pips { display: flex; gap: 5px; }
  .shp8-pips i {
    width: 14px;
    height: 10px;
    border-radius: 2px;
    background: var(--accent-solid);
  }

  .shp8-turn {
    height: 1px;
    margin: var(--space-3) 0 var(--space-2);
    background: var(--border-strong);
  }
  .shp8-row--none em { color: var(--text-primary); }
  .shp8-row--none b {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-ink);
  }
  .shp8-foot {
    margin-top: 2px;
    font-size: var(--mt-label);
    color: var(--text-muted);
  }

  .abp8 {
    display: grid;
    padding-top: var(--space-4);
    border-top: 1px solid var(--border-strong);
    grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
    column-gap: var(--space-4);
  }
  .abp8-cut { background: var(--accent-solid); opacity: 0.5; }

  .abp8-lab {
    margin: 0 0 var(--space-3);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
  }
  .abp8-lab--up { color: var(--accent-ink); }

  .abp8-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
  .abp8-list li {
    position: relative;
    padding-left: var(--space-4);
    font-size: var(--mt-label);
    line-height: 1.3;
    color: var(--text-muted);
  }
  .abp8-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 8px;
    height: 6px;
    border-radius: 2px;
    background: var(--border-strong);
  }
  .abp8-list--up li { color: var(--text-primary); }
  .abp8-list--up li::before { background: var(--accent-solid); }

  .abp8-iso {
    grid-column: 1 / -1;
    margin: var(--space-5) 0 0;
    padding-top: var(--space-3);
    border-top: 1px solid var(--border-subtle);
    font-size: var(--mt-label);
    color: var(--text-muted);
  }
  .abp8-iso i { font-style: normal; padding: 0 4px; }

  .cx8 { display: grid; }

  .cx8-row {
    display: grid;
    grid-template-columns: 68px 101px 125px;
    justify-content: space-between;
    align-items: end;
  }
  .cx8-b {
    position: relative;
    display: block;
    border: 1px solid var(--border-light);
    background: var(--bg-secondary);
  }
  .cx8-b--1 { height: 31px; }
  .cx8-b--2 { height: 60px; }
  .cx8-b--3 { height: 97px; }

  .cx8-blk {
    position: absolute;
    left: 7px;
    bottom: 3px;
    width: 48px;
    height: 26px;
    background: var(--accent-glow);
    border: 1px solid var(--accent-solid);
  }

  .cx8-floor {
    height: 1px;
    margin-top: 6px;
    background: var(--border-strong);
  }

  .cx8-legs {
    display: grid;
    grid-template-columns: 68px 101px 125px;
    justify-content: space-between;
    margin-top: var(--space-3);
  }
  .cx8-leg { display: grid; gap: 2px; }
  .cx8-leg b {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--accent-ink);
  }
  .cx8-leg em {
    font-style: normal;
    font-size: var(--mt-label);
    color: var(--text-muted);
  }

  .cx8-lab {
    margin: var(--space-6) 0 var(--space-3);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
  }
  .cx8-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 9px var(--space-4);
  }
  .cx8-list li {
    font-size: var(--mt-label);
    line-height: 1.3;
    color: var(--text-secondary);
  }
}

.msf-svg-m { display: none; }

@media (max-width: 599px) {
  .msf-stage > .msf-svg { display: none; }
  .msf-svg-m {
    display: block;
    width: 100%;
    height: auto;
  }
}

}
