/* UltraMAX Next · Preview Layout Summary */
html.um-app-mode .s2nm-layout-summary {
  display:grid;
  gap:12px;
  margin:0 0 16px;
  padding:14px;
  border:1px solid rgba(161,102,255,.20);
  border-radius:16px;
  background:linear-gradient(145deg,rgba(31,19,66,.84),rgba(8,10,27,.94));
}

html.um-app-mode .s2nm-layout-head {
  display:grid;
  gap:10px;
}

html.um-app-mode .s2nm-layout-kicker {
  color:#9a7ff2;
  font-size:9px;
  font-weight:900;
  letter-spacing:.11em;
  text-transform:uppercase;
}

html.um-app-mode .s2nm-layout-title {
  margin-top:3px;
  color:#f8f4ff;
  font-size:13px;
  font-weight:850;
}

html.um-app-mode .s2nm-layout-stats {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}

html.um-app-mode .s2nm-layout-stats span {
  display:inline-flex;
  align-items:center;
  min-height:26px;
  padding:0 8px;
  border:1px solid rgba(168,111,255,.18);
  border-radius:999px;
  color:#a99fbb;
  background:rgba(255,255,255,.025);
  font-size:8.5px;
  font-weight:800;
}

html.um-app-mode .s2nm-layout-stats strong {
  margin-right:4px;
  color:#fff;
  font-size:10px;
}

html.um-app-mode .s2nm-layout-order {
  display:grid;
  gap:6px;
}

html.um-app-mode .s2nm-layout-row {
  display:grid;
  grid-template-columns:24px minmax(0,1fr) auto;
  align-items:center;
  gap:8px;
  min-height:34px;
  padding:5px 8px;
  border:1px solid rgba(255,255,255,.055);
  border-radius:10px;
  background:rgba(255,255,255,.018);
}

html.um-app-mode .s2nm-layout-rank {
  display:grid;
  place-items:center;
  width:22px;
  height:22px;
  border-radius:7px;
  color:#bba6ff;
  background:rgba(125,76,255,.10);
  font-size:8.5px;
  font-weight:900;
}

html.um-app-mode .s2nm-layout-name {
  min-width:0;
  overflow:hidden;
  color:#e9e4f4;
  font-size:10px;
  font-weight:800;
  text-overflow:ellipsis;
  white-space:nowrap;
}

html.um-app-mode .s2nm-layout-badges {
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:4px;
}

html.um-app-mode .s2nm-layout-badge {
  display:inline-flex;
  align-items:center;
  min-height:20px;
  padding:0 6px;
  border:1px solid rgba(111,210,255,.18);
  border-radius:999px;
  color:#9bcdf4;
  background:rgba(78,165,255,.06);
  font-size:7.5px;
  font-weight:850;
  white-space:nowrap;
}

html.um-app-mode .s2nm-layout-more,
html.um-app-mode .s2nm-layout-note {
  color:#8d849f;
  font-size:8.8px;
  line-height:1.45;
}

html.um-app-mode .s2nm-layout-more {
  padding:5px 8px;
  text-align:center;
}

html.um-app-mode .s2nm-layout-note {
  padding-top:2px;
}

html.um-app-mode .s2nm-layout-note strong {
  color:#b9adce;
}

@media (min-width:760px) {
  html.um-app-mode .s2nm-layout-head {
    grid-template-columns:minmax(0,1fr) auto;
    align-items:start;
  }
}

@media (max-width:560px) {
  html.um-app-mode .s2nm-layout-row {
    grid-template-columns:24px minmax(0,1fr);
  }

  html.um-app-mode .s2nm-layout-badges {
    grid-column:2;
    justify-content:flex-start;
  }
}
