/* ==========================================================================
   Revive — status page (loaded only on /status). Scoped to .sa-page-status.
   ========================================================================== */
.sa-page-status {
  --rs-line: rgba(255, 255, 255, .085);
  position: relative; isolation: isolate;
  padding-top: clamp(40px, 6vw, 84px) !important; padding-bottom: clamp(70px, 9vw, 130px) !important;
}
.sa-page-status .wrap { max-width: 1100px !important; }

/* backdrop */
.rs-aura { position: absolute; inset: 0 0 auto 0; height: 760px; z-index: -1; pointer-events: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 40%, transparent); mask-image: linear-gradient(#000 40%, transparent); }
.rs-aura::before { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 0, #000, transparent 75%); mask-image: radial-gradient(ellipse 70% 80% at 50% 0, #000, transparent 75%); }
.rs-aura::after { content: ""; position: absolute; left: 50%; top: -260px; width: 900px; height: 560px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(168, 85, 247, .26), rgba(48, 230, 138, .05) 60%, transparent); filter: blur(44px); }

/* hero */
.rs-hero { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 34px; }
.rs-live { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px; border-radius: 999px; margin-bottom: 20px;
  border: 1px solid rgba(48, 230, 138, .3); background: rgba(48, 230, 138, .07); color: #8cffc0;
  font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.rs-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #30e68a; box-shadow: 0 0 12px #30e68a; animation: rsPulse 1.8s ease-in-out infinite; }
@keyframes rsPulse { 50% { opacity: .35; transform: scale(.8); } }
.sa-page-status .sa-section-header { margin-bottom: 0 !important; max-width: 640px; }
.sa-page-status .sa-section-title {
  font-size: clamp(36px, 5.4vw, 64px) !important; line-height: 1.02; letter-spacing: -.045em; font-weight: 900 !important;
  background: linear-gradient(180deg, #fff 30%, #cdb4f5); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent !important;
}
.sa-page-status .sa-section-header p { color: #9a95a8 !important; font-size: 16px; line-height: 1.65; margin-top: 14px; }

/* summary tiles */
.rs-summary { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; width: 100%; }
.rs-tile { --st: #a855f7; position: relative; min-width: 150px; padding: 16px 22px; border-radius: 18px; text-align: left; overflow: hidden;
  border: 1px solid var(--rs-line);
  background: radial-gradient(120% 140% at 0 0, color-mix(in srgb, var(--st) 20%, transparent), transparent 60%), linear-gradient(180deg, rgba(22,21,30,.85), rgba(10,10,16,.9));
  box-shadow: 0 20px 50px -30px color-mix(in srgb, var(--st) 70%, #000); }
.rs-tile b { display: block; font-size: 34px; line-height: 1; font-weight: 900; letter-spacing: -.04em; color: #fff; }
.rs-tile span { display: flex; align-items: center; gap: 8px; margin-top: 9px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #9a95a8; }
.rs-tile span i { width: 7px; height: 7px; border-radius: 50%; background: var(--st); box-shadow: 0 0 10px var(--st); }
.rs-tile--total { --st: #ffffff; }

/* toolbar */
.rs-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 12px; margin-bottom: 28px;
  border: 1px solid var(--rs-line); border-radius: 20px; position: relative;
  background: linear-gradient(180deg, rgba(22,21,30,.8), rgba(10,10,16,.88)); box-shadow: inset 0 1px rgba(255,255,255,.05); }
.rs-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.rs-chip { --st: 255, 255, 255; display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--rs-line); background: rgba(255,255,255,.03); color: #b4b1c2; font-size: 13.5px; font-weight: 700;
  transition: color .25s, border-color .25s, background .25s, box-shadow .25s, transform .25s; }
.rs-chip-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--st); box-shadow: 0 0 10px var(--st); }
.rs-chip[data-key="all"] { --st: #ffffff; }
.rs-chip em { font-style: normal; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; font-size: 12px; text-align: center; }
.rs-chip:hover { color: #fff; transform: translateY(-1px); border-color: color-mix(in srgb, var(--st) 55%, transparent); background: color-mix(in srgb, var(--st) 10%, transparent); }
.rs-chip.is-active { color: #fff; border-color: color-mix(in srgb, var(--st) 70%, transparent);
  background: linear-gradient(135deg, color-mix(in srgb, var(--st) 26%, transparent), color-mix(in srgb, var(--st) 7%, transparent));
  box-shadow: inset 0 1px rgba(255,255,255,.1), 0 10px 30px -10px color-mix(in srgb, var(--st) 70%, transparent); }
.rs-chip:focus-visible, .rs-search input:focus-visible { outline: 2px solid rgba(255,255,255,.7); outline-offset: 2px; }
.rs-search { display: flex; align-items: center; height: 42px; min-width: 220px; border: 1px solid var(--rs-line); border-radius: 12px; background: rgba(255,255,255,.03); transition: border-color .25s, box-shadow .25s; }
.rs-search:focus-within { border-color: rgba(255,255,255,.38); box-shadow: 0 0 0 3px rgba(255,255,255,.07); }
.rs-search > i { margin-left: 14px; color: #8a8798; font-size: 13px; }
.rs-search input { flex: 1; min-width: 0; height: 100%; padding: 0 12px; background: transparent !important; border: 0 !important; outline: none !important; box-shadow: none !important; color: #f8f8fc; font-size: 14px; }

/* groups + grid */
.rs-lists { display: flex; flex-direction: column; gap: 34px; }
.rs-group[hidden], .sa-page-status-item[hidden] { display: none !important; }
.rs-group-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.rs-group-head h2 { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #cfc9dc; }
.rs-group-line { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,.14), transparent); }
.rs-group-count { min-width: 24px; padding: 2px 9px; border-radius: 999px; background: rgba(255,255,255,.08); color: #fff; font-size: 12px; font-weight: 700; text-align: center; }
.rs-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }

/* card */
body .sa-page-status .rs-card {
  --st: #a855f7; position: relative; overflow: hidden; gap: 16px !important; padding: 16px 18px !important;
  border: 1px solid var(--rs-line) !important; border-radius: 18px !important;
  background:
    radial-gradient(90% 160% at 0% 50%, color-mix(in srgb, var(--st) 14%, transparent), transparent 60%),
    linear-gradient(180deg, rgba(20,19,28,.9), rgba(11,11,17,.92)) !important;
  box-shadow: 0 18px 44px -30px rgba(0,0,0,.9) !important;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .3s;
}
.rs-card::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 3px; border-radius: 0 3px 3px 0; background: var(--st); box-shadow: 0 0 14px var(--st); }
.rs-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--st) 55%, transparent) !important;
  box-shadow: 0 26px 60px -28px color-mix(in srgb, var(--st) 65%, #000) !important; }
body .sa-page-status .rs-card-img { width: 54px; height: 54px; border-radius: 13px !important; border-color: rgba(255,255,255,.1) !important; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.rs-card:hover .rs-card-img { transform: scale(1.06) rotate(-2deg); }
.rs-card-name { font-size: 16px; font-weight: 800 !important; letter-spacing: -.01em; color: #fff !important; }
.rs-card-sub { margin: 3px 0 0; font-size: 11.5px; color: #77738a; display: flex; align-items: center; gap: 6px; transition: color .25s; }
.rs-card-sub i { font-size: 9px; transition: transform .25s; }
.rs-card:hover .rs-card-sub { color: #cfc9dc; }
.rs-card:hover .rs-card-sub i { transform: translateX(3px); }
.rs-pill { padding: 7px 13px; border-radius: 999px; background: color-mix(in srgb, var(--st) 10%, transparent); border: 1px solid color-mix(in srgb, var(--st) 35%, transparent);
  gap: 9px !important; text-transform: uppercase; letter-spacing: .06em; }
.rs-pill span:last-child { font-size: 11px !important; font-weight: 800 !important; }

.rs-empty { text-align: center; color: #8a8798; padding: 50px 0; }
.rs-foot { text-align: center; margin-top: 44px; font-size: 13px; color: #7d7a8c; }
.rs-foot a { color: #cfc9dc; text-decoration: underline; text-decoration-color: rgba(255,255,255,.25); text-underline-offset: 3px; }
.rs-foot a:hover { color: #fff; }

@media (max-width: 760px) {
  .rs-grid { grid-template-columns: 1fr; }
  .rs-tile { flex: 1 1 140px; min-width: 0; padding: 14px 16px; }
  .rs-tile b { font-size: 28px; }
  .rs-search { width: 100%; }
  .rs-bar { padding: 10px; }
  body .sa-page-status .rs-card { padding: 14px !important; }
}
@media (prefers-reduced-motion: reduce) { .rs-live-dot { animation: none; } .rs-card, .rs-chip, .rs-card-img { transition: none !important; transform: none !important; } }
