/* nolag.gg server-status 2.0 — additions on top of landing.css (uses its tokens).
   Namespace: nst-  (NOT s2-: .s2 is taken by the landing "steps" block and centers everything) */
.nst { --red: #f87171; --yellow: #facc15; }
.nst .gp-sec .wrap, .nst .gs-hero:not(.tool-hero) .wrap { text-align: left; }
.nst .gp-sec h2 { text-align: left; }
.nst .gp-p { color: var(--muted); font-size: 16.5px; line-height: 1.65; margin: 14px 0 0; }

/* hero verdict line */
.nst-verdict { margin: 16px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 18px; line-height: 1.45; }
.nst-verdict b { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; }
.nst-verdict b::before { content: ''; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--dim); }
.nst-verdict[data-state="ok"] b::before { background: var(--green); box-shadow: 0 0 0 4px rgba(74, 222, 128, .15), 0 0 14px rgba(74, 222, 128, .7); }
.nst-verdict[data-state="issue"] b::before { background: var(--yellow); box-shadow: 0 0 0 4px rgba(250, 204, 21, .15); }
.nst-verdict[data-state="down"] b::before { background: var(--red); box-shadow: 0 0 0 4px rgba(248, 113, 113, .15); }
.nst-verdict time { color: var(--dim); font-size: 14.5px; }
.gs-hero.tool-hero .nst-verdict { justify-content: center; }
.gs-word[data-state="down"] { color: var(--red); }
.gs-bars i.d { background: var(--red); }
.nst .gs-checks > div b { white-space: nowrap; }

/* monogram tiles for titles without artwork */
.nst-mono { display: inline-grid; place-items: center; flex: none; border-radius: 22%; background: var(--mb); color: var(--mf);
  font-family: 'Inter Tight', Inter, sans-serif; font-weight: 900; letter-spacing: -0.04em; font-size: 15px; line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.gs-head .nst-mono { width: 56px !important; height: 56px !important; border-radius: 16px; font-size: 20px; }
.gs-card .nst-mono { grid-row: 1 / 3; width: 48px; height: 48px; border-radius: 12px; font-size: 15px; }

/* history + events */
.nst-two { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; align-items: start; }
.nst-sub { color: var(--muted); font-size: 15.5px; margin: 10px 0 0; max-width: 560px; }
.nst-cal { display: grid; grid-template-columns: repeat(30, 1fr); gap: 4px; margin-top: 24px; }
.nst-cal i, .nst-legend i { display: block; border-radius: 4px; background: #232323; }
.nst-cal i { height: 46px; transition: transform .2s var(--ease); }
.nst-cal i:hover { transform: scaleY(1.08); }
.nst-cal i.d-ok, .nst-legend i.d-ok { background: var(--green); opacity: .85; }
.nst-cal i.d-issue, .nst-legend i.d-issue { background: var(--yellow); }
.nst-cal i.d-down, .nst-legend i.d-down { background: var(--red); }
.nst-cal-x { display: flex; justify-content: space-between; margin-top: 8px; color: var(--dim); font-size: 13px; }
.nst-uptime { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 22px 0 0; }
.nst-uptime b { font-family: 'Inter Tight', Inter, sans-serif; font-size: 22px; letter-spacing: -0.02em; color: var(--text); }
.nst-uptime span { color: var(--dim); font-size: 14px; }
.nst-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 14px 0 0; padding: 0; color: var(--muted); font-size: 13.5px; }
.nst-legend li { display: flex; align-items: center; gap: 8px; }
.nst-legend i { width: 10px; height: 10px; border-radius: 3px; }
.nst-evcard { padding: 26px; }
.nst .nst-h2s { font-size: 21px; letter-spacing: -0.02em; margin: 0 0 16px; }
.nst-ev { list-style: none; margin: 0; padding: 0 0 0 4px; border-left: 2px solid var(--line-2); }
.nst-ev li { position: relative; display: grid; gap: 2px; padding: 0 0 16px 18px; }
.nst-ev li:last-child { padding-bottom: 0; }
.nst-ev li::before { content: ''; position: absolute; left: -7px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--dim); border: 2px solid var(--card); }
.nst-ev li.ev-ok::before { background: var(--green); }
.nst-ev li.ev-issue::before, .nst-ev li.ev-n::before { background: var(--yellow); }
.nst-ev li.ev-down::before { background: var(--red); }
.nst-ev time { color: var(--dim); font-size: 13px; }
.nst-ev span { color: var(--text); font-size: 15px; }
.nst-ev-none { display: flex; gap: 12px; align-items: flex-start; margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.nst-ev-none::before { content: '✓'; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--green-bg); color: var(--green); font-weight: 800; }

/* what we check */
.nst-h3 { font-size: 16px; margin: 24px 0 12px; color: var(--text); }
.nst-src span { color: var(--dim); }
.nst-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.nst-list li { padding: 7px 12px 7px 26px; position: relative; border-radius: 10px; background: #101010; border: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.nst-list li::before { content: ''; position: absolute; left: 11px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--green); }
.nst .gp-card h3 { color: var(--text); }

/* just me? 2x2 */
.nst-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; list-style: none; margin: 26px 0 0; padding: 0; }
.nst-steps li { grid-template-columns: 40px 1fr; align-items: start; }
.nst-steps li > b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--green-bg); color: var(--green); font-family: 'Inter Tight', Inter, sans-serif; font-weight: 800; }
.nst-steps p { color: var(--muted); font-size: 15px; line-height: 1.55; margin: 0; }

/* errors */
.nst-tbl th, .nst-tbl td { text-align: left; padding: 16px 20px; }
.nst-tbl td:first-child { width: 36%; }
.nst-tbl td { vertical-align: top; color: var(--muted); line-height: 1.5; }
.nst-tbl td b { color: var(--text); }
.nst-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; margin-top: 18px; }
.nst-more .gp-article { margin-top: 0; }

/* maintenance / channels */
.nst-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.nst-chips span { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); color: var(--muted); font-size: 14px; }
.nst-note { color: var(--muted); font-size: 15px; line-height: 1.55; margin: 0 0 16px; }
.nst-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.nst-links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #101010; border: 1px solid var(--line); color: var(--text); transition: border-color .2s; }
.nst-links a:hover { border-color: rgba(74, 222, 128, .5); }
.nst-links a::after { content: '↗'; color: var(--dim); }

/* tools */
.nst-tools { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important; }
.nst-tools .gx-tool span { color: var(--muted); font-size: 15px; }

/* related statuses */
.nst-rel { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin-top: 24px; }
.nst-rc { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); transition: border-color .25s, transform .3s var(--ease); }
.nst-rc:hover { border-color: rgba(74, 222, 128, .45); transform: translateY(-2px); }
.nst-rc img, .nst-rc .nst-mono { width: 40px; height: 40px; border-radius: 11px; flex: none; }
.nst-rc span { display: grid; gap: 2px; min-width: 0; }
.nst-rc b { font-size: 14.5px; line-height: 1.25; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nst-rc em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--dim); }
.nst-rc em[data-state="ok"] { color: var(--green); }
.nst-rc em[data-state="issue"] { color: var(--yellow); }
.nst-rc em[data-state="down"] { color: var(--red); }

@media (max-width: 900px) {
  .nst-two { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nst-cal { gap: 3px; }
  .nst-cal i { height: 34px; border-radius: 3px; }
  .nst-steps { grid-template-columns: 1fr; }
  .nst-tbl td:first-child { width: auto; }
  .nst-tbl th, .nst-tbl td { padding: 12px 14px; }
  .nst-verdict { font-size: 16px; }
  .nst-rel { grid-template-columns: 1fr 1fr; }
}

/* one content width for the whole page (landing's .gp-narrow is 980px and shifts the left edge) */
.nst .gp-narrow { max-width: none; }
.nst .gp-sec .gp-p, .nst .nst-sub { max-width: 760px; }
.nst .gs-checks { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.nst .gs-checks > div { align-items: center; }
@media (max-width: 720px) {
  .nst-uptime b { font-size: 18px; }
  .nst .gs-checks { grid-template-columns: 1fr; }
}

.nst .tool-hero #gs-upd { display: none; }

/* hub: spacing under section titles, compact visible 24h strip */
.nst .gp-sec h2 + .gs-grid, .nst .gp-sec h2 + .nst-rel { margin-top: 24px; }
.nst .gs-grid { gap: 14px; }
.nst .gs-card { align-items: center; row-gap: 2px; padding: 18px 18px 16px; }
.nst .gs-card .gs-bars { height: 8px; margin-top: 14px; gap: 0; border-radius: 4px; overflow: hidden; }
.nst .gs-card .gs-bars i { border-radius: 0; min-width: 0; }
.nst .gs-bars i.u0, .nst .gs-bars i.u { background: #262626; }
.nst .gs-card img { border-radius: 12px; }

/* ---------- ping test 2.0 ---------- */
.nst.pt .gp-sec h2 + .nst-sub { margin-top: 10px; }
.nst-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 26px; }
.nst-metric { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.nst-metric h3 { font-size: 20px; letter-spacing: -0.02em; color: var(--text); margin: 0; }
.nst-metric p { color: var(--muted); font-size: 14.5px; line-height: 1.55; margin: 0; flex: 1; }
.nst-scale { display: grid; gap: 6px; }
.nst-scale > div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 8px 12px; border-radius: 10px; background: #101010; border: 1px solid var(--line); }
.nst-scale b { font-family: 'Inter Tight', Inter, sans-serif; font-size: 15px; white-space: nowrap; }
.nst-scale span { color: var(--muted); font-size: 13.5px; text-align: right; }
.nst-scale .lv-g b { color: var(--green); }
.nst-scale .lv-o b { color: #a3e635; }
.nst-scale .lv-b b { color: #facc15; }
.nst-scale .lv-x b { color: #f87171; }
.nst-scale-v > div { align-items: center; }
.nst-scale-v b { min-width: 70px; font-size: 17px; }
.nst-scale-v span { text-align: left; flex: 1; font-size: 14.5px; }

.nst-good td small { display: block; color: var(--dim); font-size: 13px; margin-top: 2px; font-weight: 400; }
.nst-good td.hl { color: var(--green); font-weight: 600; }
.nst-good th:not(:first-child), .nst-good td:not(:first-child) { white-space: nowrap; }

.nst-cols { columns: 2; column-gap: 40px; margin-top: 10px; }
.nst-cols .gp-p { break-inside: avoid; margin: 14px 0 0; max-width: none; }
.nst-cols .gp-p:first-child { margin-top: 0; }

.nst-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 24px; }
.nst-card { padding: 22px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.nst-card h3 { font-size: 18px; margin: 0 0 8px; color: var(--text); }
.nst-card p { color: var(--muted); font-size: 15px; line-height: 1.55; margin: 0; }

.nst-steps li > div > h3:empty { display: none; }
.nst-check { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.nst-check li { position: relative; padding: 14px 16px 14px 48px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); color: var(--text); font-size: 15.5px; line-height: 1.5; }
.nst-check li::before { content: '✓'; position: absolute; left: 14px; top: 13px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 7px; background: var(--green-bg); color: var(--green); font-size: 13px; font-weight: 800; }
.nst-dot li::before { content: '!'; background: rgba(250, 204, 21, .12); color: #facc15; }

.nst .gp-feel { margin-top: 22px; }
.nst .cs-steps { margin-top: 22px; }
.nst-stcard { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 28px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
.nst-stcard[data-state="ok"] { border-color: rgba(74, 222, 128, .35); background: radial-gradient(120% 140% at 0% 0%, rgba(74, 222, 128, .08), transparent 55%), var(--card); }
.nst-stcard[data-state="issue"], .nst-stcard[data-state="down"] { border-color: rgba(250, 204, 21, .4); }
.nst-stcard .nst-verdict { margin-top: 4px; }
.nst-stcard .gp-p { margin-top: 8px; }
.nst-stcard .btn { flex: none; }
.nst.pt .nst-rel { margin-top: 22px; }
.nst.pt .nst-rc em { color: var(--dim); font-weight: 500; }

@media (max-width: 1000px) { .nst-metrics { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) {
  .nst-metrics, .nst-check, .nst-metrics { grid-template-columns: 1fr; }
  .nst-cols { columns: 1; }
  .nst-stcard { flex-direction: column; align-items: flex-start; }
  .nst-good th, .nst-good td { padding: 10px 10px; font-size: 14px; }
}
.nst .tbl-wrap { max-width: none; }
.nst.pt .nst-rel { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .nst.pt .nst-rel { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .nst.pt .nst-rel { grid-template-columns: 1fr 1fr; } }

/* ---------- alternatives 2.0 (pages keep their own .al styles) ---------- */
.al .nst-two { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: start; }
.al .gp-p { color: var(--muted); font-size: 16.5px; line-height: 1.65; margin: 14px 0 0; }
.al .nst-acard { padding: 26px; }
.al .nst-acard .gp-p { font-size: 15.5px; }
.al .nst-h2s { font-size: 22px; letter-spacing: -0.02em; margin: 0; text-align: left; }
.nst-us { margin: 18px 0 0; padding: 16px 18px; border-radius: 14px; border: 1px solid rgba(74, 222, 128, .3); background: var(--green-bg); color: var(--text); font-size: 15.5px; }
.nst-lead { max-width: 820px; }
.nst-steps3 { grid-template-columns: repeat(3, 1fr); }
.al .nst-cols .gp-p { margin-top: 0; margin-bottom: 14px; }
@media (max-width: 900px) { .al .nst-two, .nst-steps3 { grid-template-columns: 1fr; } }
