:root {
  --bg: #08070b;
  --bg-2: #0d0b12;
  --panel: #121017;
  --panel-2: #17131d;
  --line: #2b2433;
  --line-soft: #211b27;
  --text: #f4f1f7;
  --muted: #aaa2b1;
  --violet: #8c3cff;
  --violet-hover: #9d58ff;
  --violet-soft: #241633;
  --green: #4bd29a;
  --red: #ef6675;
  --yellow: #f2c75c;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: 420px;
  pointer-events: none;
  background: radial-gradient(circle at 78% -35%, rgba(132, 55, 255, .22), transparent 55%), radial-gradient(circle at 10% -60%, rgba(132, 55, 255, .13), transparent 45%);
  z-index: -1;
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
code, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.muted { color: var(--muted); }
.small { font-size: .78rem; }

.topbar { position: sticky; top: 0; z-index: 50; background: rgba(8,7,11,.92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-soft); }
.nav { min-height: 68px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: .08em; }
.brand-mark { width: 38px; height: 38px; border-radius: 9px; object-fit: cover; border: 1px solid #423451; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { color: #c0b9c6; padding: 9px 11px; border-radius: 8px; font-size: .9rem; font-weight: 650; }
.nav-links a:hover, .nav-links a.active { color: #fff; background: #17121d; }
.nav-actions { display: flex; gap: 8px; }
.menu-button { display: none; margin-left: auto; border: 1px solid var(--line); background: var(--panel); border-radius: 8px; padding: 8px 10px; cursor: pointer; }

.btn { border: 1px solid var(--line); border-radius: 9px; padding: 10px 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; font-weight: 750; background: var(--panel); transition: background .15s ease, border-color .15s ease, transform .15s ease; }
.btn:hover { border-color: #4a3c56; transform: translateY(-1px); }
.btn:disabled { opacity: .55; cursor: wait; transform: none; }
.btn-primary { background: var(--violet); border-color: var(--violet); color: #fff; }
.btn-primary:hover { background: var(--violet-hover); border-color: var(--violet-hover); }
.btn-quiet { background: #121017; }
.btn-danger { background: #241115; border-color: #5f2931; color: #ffc3ca; }
.btn-small { padding: 8px 11px; font-size: .84rem; }
.btn-tiny { padding: 6px 8px; font-size: .74rem; border-radius: 7px; }

.hero { padding: 58px 0 28px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(380px, 1.05fr); gap: 36px; align-items: center; }
.hero-copy { padding: 30px 0; }
.eyebrow { margin: 0 0 12px; color: #b997e5; font-size: .77rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
h1, h2, h3, p { overflow-wrap: anywhere; }
.hero h1, .page-head h1 { margin: 0; font-size: clamp(3.1rem, 8vw, 6.5rem); line-height: .92; letter-spacing: -.055em; font-weight: 950; }
.hero-description { max-width: 690px; margin: 20px 0 0; color: #d0c9d5; font-size: 1.06rem; line-height: 1.72; }
.server-tagline { margin: 15px 0 0; color: var(--muted); font-size: .91rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.server-address { display: flex; align-items: center; gap: 9px; margin-top: 20px; color: #d8d1df; font-size: .9rem; }
.server-address code { padding: 5px 8px; border: 1px solid var(--line); background: #0e0b12; border-radius: 7px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(75,210,154,.09); }
.hero-media { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #0c0910; aspect-ratio: 16 / 10; }
.hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.announcement { margin-top: 22px; border-left: 3px solid var(--violet); background: #110d16; border-radius: 8px; padding: 12px 14px; color: #d3cad9; }

.section { padding: 64px 0; }
.section.compact { padding-top: 24px; }
.section-dark { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: #0a090d; }
.section-title { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 24px; }
.section-title h2, .split h2 { margin: 0; font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -.035em; }
.section-title p, .lead { margin: 0; color: var(--muted); line-height: 1.65; max-width: 640px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.feature-card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 22px; min-height: 220px; }
.feature-number { color: #6f6477; font: 700 .8rem ui-monospace, monospace; }
.feature-card h3 { margin: 44px 0 8px; font-size: 1.12rem; }
.feature-card p { margin: 0; color: var(--muted); line-height: 1.65; }
.split { display: grid; grid-template-columns: 1.5fr .8fr; gap: 32px; align-items: center; }
.split .lead { margin-top: 12px; }
.split-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 9px; }


.section-status { padding-top: 42px; padding-bottom: 18px; }
.server-status-card { background: #0f0d13; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.server-status-loading { padding: 26px 22px; color: var(--muted); }
.server-status-head { min-height: 76px; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line-soft); background: #111016; }
.server-status-head > div:first-child { display: grid; gap: 3px; }
.server-status-head strong { font-size: 1.03rem; }
.server-kicker { color: #9d8fa8; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.server-status-right { display: grid; justify-items: end; gap: 5px; }
.server-status-right small { color: #766e7d; font-size: .7rem; }
.server-state { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; font-size: .76rem; font-weight: 800; }
.server-state i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 12%, transparent); }
.server-state.is-online { color: #70d8aa; border-color: #245542; background: #0d1914; }
.server-state.is-starting { color: #f2c75c; border-color: #5c4a20; background: #1a160b; }
.server-state.is-offline { color: #ef7c88; border-color: #5f2931; background: #1a0e11; }
.server-state.is-unknown { color: #aaa2b1; background: #151219; }
.server-status-grid { display: grid; grid-template-columns: 1.05fr 1.35fr .8fr 1.45fr; }
.server-status-grid > div { min-height: 88px; padding: 18px 20px; display: grid; align-content: center; gap: 7px; border-left: 1px solid var(--line-soft); }
.server-status-grid > div:first-child { border-left: 0; }
.server-status-grid span { color: #817987; font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; }
.server-status-grid strong { font-size: .96rem; font-weight: 800; }
.server-status-grid .mono { font-size: .86rem; word-break: break-all; }
.server-status-grid-muted strong { color: #8b8390; }

.page-head { padding: 58px 0 28px; border-bottom: 1px solid var(--line-soft); }
.page-head h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); }
.page-head > .container > p:last-child { max-width: 760px; color: var(--muted); line-height: 1.7; }

.panel, .profile-panel, .empty-state { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.panel h2, .panel h3 { margin-top: 0; }
.panel > p, .empty-state p { color: var(--muted); line-height: 1.65; }
.panel-head { display: flex; justify-content: space-between; align-items: start; gap: 18px; margin-bottom: 18px; }
.panel-head h3 { margin: 0; font-size: 1.08rem; }
.panel-head p { margin: 5px 0 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.empty-state { max-width: 620px; margin: 0 auto; text-align: center; padding: 44px 24px; }
.empty-state img { width: 74px; height: 74px; border-radius: 16px; object-fit: cover; margin-bottom: 10px; }
.empty-state .btn { margin-top: 10px; }

.notice { border: 1px solid var(--line); background: #110e15; padding: 12px 14px; border-radius: 9px; margin-bottom: 16px; color: #d6cedc; }
.notice.good { border-color: #245542; background: #0d1914; color: #c6f3df; }
.notice.bad { border-color: #5c2b33; background: #1a0e11; color: #ffc7cf; }
.notice a { text-decoration: underline; }

.profile-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 14px; align-items: start; }
.profile-panel { text-align: center; position: sticky; top: 86px; }
.avatar { width: 92px; height: 92px; border-radius: 20px; object-fit: cover; border: 1px solid #4b3a58; }
.profile-panel h2 { margin: 13px 0 2px; font-size: 1.18rem; }
.profile-panel > p { margin: 0; color: var(--muted); font-size: .88rem; }
.profile-badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.profile-actions { display: grid; gap: 8px; margin-top: 22px; }
.badge { display: inline-flex; align-items: center; border: 1px solid #3b3242; border-radius: 999px; padding: 5px 9px; background: #17131b; color: #d7d0dc; font-size: .72rem; font-weight: 800; text-transform: capitalize; }
.badge-admin { color: #ddbaff; border-color: #593672; background: #1e1228; }
.badge-danger { color: #ffc3ca; border-color: #5f2931; background: #241115; }
.rank-default { color: #c9c4ce !important; }
.rank-copper { color: #d89263 !important; }
.rank-iron { color: #c9d0d6 !important; }
.rank-gold { color: #f2c75c !important; }
.rank-diamond { color: #68dde7 !important; }
.rank-netherite { color: #bd91cd !important; }
.rank-vip { color: #83e8a9 !important; }
.rank-owner, .rank-admin { color: #ff7e94 !important; }
.rank-mod { color: #70a7ff !important; }
.rank-helper { color: #5bd6c4 !important; }
.account-stack, .admin-stack { display: grid; gap: 14px; }
.details-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-soft); }
.details-grid > div { padding: 14px 0; border-bottom: 1px solid var(--line-soft); display: grid; gap: 5px; }
.details-grid > div:nth-child(odd) { padding-right: 18px; }
.details-grid > div:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line-soft); }
.details-grid span { color: var(--muted); font-size: .77rem; text-transform: uppercase; letter-spacing: .06em; }
.details-grid strong { font-size: .92rem; }
.rank-text { text-transform: capitalize; }
.inline-actions { margin-top: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.hint { margin-top: 14px !important; font-size: .82rem; }
.link-result { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; margin-top: 18px; padding: 16px; border: 1px solid #463255; border-radius: 10px; background: #0e0a12; }
.link-code { font: 900 2rem ui-monospace, monospace; letter-spacing: .08em; color: #cda7ff; }
.command-box { background: #08060a; border: 1px solid var(--line); border-radius: 7px; padding: 9px 11px; margin: 6px 0; color: #e9ddf5; }
.link-result p { margin: 0; }
.link-result small { color: var(--muted); }
.list-row { display: flex; justify-content: space-between; gap: 18px; padding: 13px 0; border-top: 1px solid var(--line-soft); }
.list-row:first-child { border-top: 0; }
.list-row strong, .list-row small { display: block; }
.list-row small { color: var(--muted); margin-top: 4px; }
.list-row > span { color: var(--muted); white-space: nowrap; font-size: .84rem; }

.shop-tabs { display: flex; gap: 7px; flex-wrap: wrap; margin: 18px 0; }
.shop-tab { cursor: pointer; border: 1px solid var(--line); background: var(--panel); color: #bcb4c2; border-radius: 999px; padding: 8px 12px; font-weight: 700; }
.shop-tab:hover, .shop-tab.active { color: #fff; border-color: #5c3d72; background: var(--violet-soft); }
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); display: flex; flex-direction: column; }
.product-image { aspect-ratio: 16 / 9; background: #0c0910; border-bottom: 1px solid var(--line-soft); }
.product-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-fallback { height: 100%; display: grid; place-items: center; font-weight: 950; letter-spacing: .1em; color: #815ba9; }
.product-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.product-body small { color: #9b8da5; }
.product-body h3 { margin: 5px 0 8px; }
.product-body p { margin: 0; color: var(--muted); line-height: 1.55; font-size: .9rem; flex: 1; }
.product-bottom { margin-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.product-bottom strong { font-size: 1.06rem; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.stat { border: 1px solid var(--line-soft); background: #0f0d13; border-radius: 9px; padding: 15px; display: grid; gap: 4px; }
.stat strong { font-size: 1.7rem; }
.stat span { color: var(--muted); font-size: .78rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-field { display: grid; gap: 7px; }
.form-field > span { font-weight: 750; font-size: .86rem; }
.form-field small { color: var(--muted); font-size: .76rem; line-height: 1.4; }
.form-field input, .form-field textarea, .search-input, .table-input { width: 100%; color: var(--text); background: #0b090e; border: 1px solid var(--line); border-radius: 8px; padding: 10px 11px; outline: none; }
.form-field textarea { min-height: 92px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus, .search-input:focus, .table-input:focus { border-color: #6a4784; box-shadow: 0 0 0 3px rgba(140,60,255,.08); }
.divider { border: 0; border-top: 1px solid var(--line-soft); margin: 28px 0; }
.save-bar { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.search-input { max-width: 300px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .83rem; }
th, td { padding: 11px 9px; border-top: 1px solid var(--line-soft); text-align: left; vertical-align: middle; }
th { border-top: 0; color: #93899c; font-size: .71rem; letter-spacing: .06em; text-transform: uppercase; }
td strong, td small { display: block; }
td small { color: var(--muted); margin-top: 3px; }
.table-input { min-width: 110px; padding: 7px 8px; }
.actions-cell { min-width: 205px; }
.actions-cell .btn { margin: 2px; }
.events-list { display: grid; gap: 8px; }
.event-item { border: 1px solid var(--line-soft); border-radius: 8px; background: #0f0c12; }
.event-item summary { cursor: pointer; display: flex; justify-content: space-between; gap: 12px; padding: 11px 13px; }
.event-item summary span { color: var(--muted); font-size: .8rem; }
.event-item pre { margin: 0; padding: 13px; border-top: 1px solid var(--line-soft); color: #b8adbf; white-space: pre-wrap; word-break: break-word; font-size: .72rem; max-height: 380px; overflow: auto; }

.legal-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 18px; align-items: start; }
.legal-nav { position: sticky; top: 88px; display: grid; gap: 4px; padding: 8px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; }
.legal-nav a { padding: 9px 10px; color: #bcb3c2; border-radius: 7px; font-size: .85rem; }
.legal-nav a:hover { background: #1a151f; color: #fff; }
.legal-content { display: grid; gap: 12px; }
.legal-content h2 { margin-bottom: 10px; }
.legal-content li { color: var(--muted); line-height: 1.6; margin: 5px 0; }
.legal-contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 18px; }
.legal-contact.single { grid-template-columns: 1fr; max-width: 420px; }
.legal-contact > div { background: #0e0b11; border: 1px solid var(--line-soft); border-radius: 8px; padding: 12px; display: grid; gap: 5px; }
.legal-contact span { color: var(--muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; }
.legal-contact strong { white-space: pre-line; }
.steps { padding-left: 22px; }
.legal-extra { border-left: 3px solid var(--violet); padding: 12px 14px; background: #0e0b12; color: #d3c8db; white-space: pre-line; }

.skeleton { min-height: 150px; border-radius: 10px; border: 1px solid var(--line); background: linear-gradient(90deg, #100d14, #18131e, #100d14); background-size: 200% 100%; animation: loading 1.4s infinite linear; }
@keyframes loading { to { background-position: -200% 0; } }
.toast { position: fixed; right: 18px; bottom: 18px; z-index: 200; transform: translateY(16px); opacity: 0; pointer-events: none; background: #17121d; color: #fff; border: 1px solid #493657; border-radius: 9px; padding: 11px 13px; box-shadow: 0 12px 38px rgba(0,0,0,.4); transition: .18s ease; }
.toast.show { opacity: 1; transform: translateY(0); }
.toast.bad { border-color: #673039; color: #ffc2ca; }

.footer { margin-top: 52px; border-top: 1px solid var(--line-soft); padding: 28px 0 30px; color: #8d8593; font-size: .78rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; }
.footer-title { color: #e1dbe5; font-weight: 900; letter-spacing: .08em; margin-bottom: 4px; }
.footer-note { margin: 6px 0 0; }
.footer-links { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-links a:hover { color: #d7c5e8; }
.minecraft-disclaimer { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line-soft); color: #716a76; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; aspect-ratio: 16 / 8; }
  .feature-grid, .products { grid-template-columns: repeat(2, 1fr); }
  .server-status-grid { grid-template-columns: repeat(2, 1fr); }
  .server-status-grid > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line-soft); }
  .server-status-grid > div:nth-child(4) { border-top: 1px solid var(--line-soft); }
  .profile-layout { grid-template-columns: 1fr; }
  .profile-panel { position: static; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-nav { position: static; grid-template-columns: repeat(3, 1fr); }
  .legal-contact { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav { gap: 10px; }
  .menu-button { display: block; }
  .nav-links { display: none; position: fixed; top: 68px; left: 12px; right: 12px; flex-direction: column; margin: 0; padding: 8px; background: #0d0b11; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 18px 45px rgba(0,0,0,.4); }
  .nav-links.open { display: flex; }
  .nav-actions [data-account-label] { display: none !important; }
  .hero { padding-top: 26px; }
  .hero-copy { padding-top: 8px; }
  .hero-media { aspect-ratio: 16 / 10; }
  .section-title, .split, .panel-head { display: block; }
  .section-title p { margin-top: 10px; }
  .split-actions { justify-content: flex-start; margin-top: 22px; }
  .feature-grid, .products, .form-grid { grid-template-columns: 1fr; }
  .details-grid { grid-template-columns: 1fr; }
  .details-grid > div:nth-child(odd), .details-grid > div:nth-child(even) { padding: 12px 0; border-left: 0; }
  .link-result { grid-template-columns: 1fr; }
  .list-row { display: block; }
  .list-row > span { display: block; margin-top: 6px; }
  .search-input { max-width: none; margin-top: 12px; }
  .legal-nav { grid-template-columns: 1fr 1fr; }
  .footer-grid { display: grid; }
  .server-status-head { align-items: flex-start; }
  .server-status-right { justify-items: start; }
  .server-status-grid { grid-template-columns: 1fr; }
  .server-status-grid > div, .server-status-grid > div:nth-child(3), .server-status-grid > div:nth-child(4) { border-left: 0; border-top: 1px solid var(--line-soft); }
  .server-status-grid > div:first-child { border-top: 0; }
}

@media (max-width: 480px) {
  .container { width: min(var(--max), calc(100% - 20px)); }
  .brand span { display: none; }
  .nav-actions .btn { padding: 8px 9px; font-size: .76rem; }
  .hero h1, .page-head h1 { font-size: clamp(2.8rem, 18vw, 4.2rem); }
  .stats { grid-template-columns: 1fr 1fr; }
  .legal-nav { grid-template-columns: 1fr; }
}

.center-screen { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.center-screen h1 { margin: 0; font-size: clamp(4rem, 18vw, 8rem); letter-spacing: -.06em; }
.center-screen p { color: var(--muted); margin: 8px 0 18px; }

/* =========================================================
   TRIZONE — STATUS / UPTIME BOARD v2.3
   ========================================================= */
.section-status {
  padding-top: 48px;
  padding-bottom: 24px;
}

.status-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 20px;
}

.status-section-heading h2 {
  margin: 4px 0 7px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -.035em;
}

.status-section-heading p:last-child {
  margin: 0;
  color: var(--muted);
}

.status-summary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
  color: #b9b1be;
  font-size: .78rem;
  font-weight: 800;
  white-space: nowrap;
}


.status-summary-percent {
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .01em;
    color: currentColor;
}
.status-summary-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #756d7b;
  box-shadow: 0 0 0 4px rgba(117,109,123,.1);
}
.status-summary.is-online { color: #c8ffe2; border-color: rgba(73,227,145,.18); }
.status-summary.is-online .status-summary-dot { background: #49e391; box-shadow: 0 0 0 4px rgba(73,227,145,.1), 0 0 16px rgba(73,227,145,.22); }
.status-summary.is-warn { color: #ffe4a6; border-color: rgba(240,183,66,.2); }
.status-summary.is-warn .status-summary-dot { background: #f0b742; box-shadow: 0 0 0 4px rgba(240,183,66,.1); }
.status-summary.is-offline { color: #ffc0ca; border-color: rgba(255,92,116,.2); }
.status-summary.is-offline .status-summary-dot { background: #ff5c74; box-shadow: 0 0 0 4px rgba(255,92,116,.1); }

.uptime-panel {
  overflow: hidden;
  border: 1px solid rgba(147,98,255,.16);
  border-radius: 16px;
  background:
    radial-gradient(circle at 84% -20%, rgba(111,54,226,.13), transparent 35%),
    linear-gradient(180deg, #100d15 0%, #0d0b11 100%);
  box-shadow: 0 24px 60px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.025);
}

.uptime-panel-head {
  min-height: 66px;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid rgba(255,255,255,.055);
  background: rgba(255,255,255,.012);
}

.uptime-panel-head > div {
  display: grid;
  gap: 3px;
}

.uptime-panel-head strong {
  font-size: .98rem;
}

.uptime-panel-head span {
  color: #77707c;
  font-size: .73rem;
}

.uptime-window {
  padding: 6px 9px;
  border: 1px solid rgba(145,101,255,.16);
  border-radius: 8px;
  background: rgba(127,70,239,.06);
  color: #a794cc !important;
  font-weight: 800;
}

.uptime-list {
  display: grid;
}

.uptime-loading {
  padding: 28px 20px;
  color: var(--muted);
}

.uptime-row {
  display: grid;
  grid-template-columns: minmax(250px, 370px) minmax(0, 1fr);
  align-items: center;
  gap: 34px;
  min-height: 116px;
  padding: 19px 22px;
  border-top: 1px solid rgba(255,255,255,.05);
  transition: background .16s ease;
}

.uptime-row:first-child { border-top: 0; }
.uptime-row:hover { background: rgba(128,70,235,.035); }

.uptime-service {
  min-width: 0;
  display: grid;
  gap: 10px;
}

.uptime-service-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.uptime-percent {
  flex: 0 0 auto;
  min-width: 66px;
  padding: 5px 8px;
  border-radius: 999px;
  text-align: center;
  font-size: .7rem;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.01em;
  color: #eadfff;
  background: rgba(137,76,255,.12);
  border: 1px solid rgba(155,105,255,.2);
}

.uptime-percent.is-online {
  color: #e2d6ff;
  background: linear-gradient(180deg, rgba(142,82,255,.18), rgba(99,53,199,.11));
  border-color: rgba(158,109,255,.28);
}
.uptime-percent.is-warn { color: #ffe4a6; background: rgba(240,183,66,.09); border-color: rgba(240,183,66,.18); }
.uptime-percent.is-offline { color: #ffc0ca; background: rgba(255,92,116,.09); border-color: rgba(255,92,116,.18); }

.uptime-service-name {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.uptime-service-name strong {
  font-size: .98rem;
  color: #f5f0f8;
}

.uptime-service-name span {
  color: #7f7784;
  font-size: .74rem;
  line-height: 1.45;
}

.uptime-service-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-left: 78px;
  color: #665f6b;
  font-size: .68rem;
}

.service-live-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
}

.service-live-state i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #716a75;
}
.service-live-state.is-online { color: #77dfa6; }
.service-live-state.is-online i { background: #49e391; box-shadow: 0 0 10px rgba(73,227,145,.24); }
.service-live-state.is-warn { color: #d7ad55; }
.service-live-state.is-warn i { background: #f0b742; }
.service-live-state.is-offline { color: #df7182; }
.service-live-state.is-offline i { background: #ff5c74; }

.uptime-history-wrap {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.uptime-history {
  display: grid;
  grid-template-columns: repeat(60, minmax(2px, 1fr));
  gap: 4px;
  min-width: 0;
}

.uptime-bar {
  display: block;
  height: 17px;
  min-width: 2px;
  border-radius: 3px;
  background: #27212d;
  transition: transform .12s ease, filter .12s ease;
}

.uptime-bar:hover { transform: scaleY(1.25); filter: brightness(1.25); }
.uptime-bar.is-up {
  background: linear-gradient(180deg, #ad75ff 0%, #7b43e2 100%);
  box-shadow: 0 0 8px rgba(123,67,226,.12);
}
.uptime-bar.is-warn { background: linear-gradient(180deg, #f1c362, #b77c22); }
.uptime-bar.is-down { background: linear-gradient(180deg, #ff7188, #b83750); }

.uptime-history-labels {
  display: flex;
  justify-content: space-between;
  color: #5f5864;
  font-size: .64rem;
}

@media (max-width: 880px) {
  .status-section-heading { align-items: flex-start; }
  .uptime-row { grid-template-columns: 1fr; gap: 17px; padding: 18px; }
  .uptime-service-meta { padding-left: 0; }
  .uptime-history { gap: 3px; }
}

@media (max-width: 560px) {
  .status-section-heading { display: grid; }
  .status-summary { justify-self: start; }
  .uptime-panel { border-radius: 13px; }
  .uptime-panel-head { padding: 13px 15px; }
  .uptime-panel-head > div > span { display: none; }
  .uptime-row { min-height: 0; padding: 16px 14px; }
  .uptime-service-top { gap: 9px; }
  .uptime-percent { min-width: 61px; font-size: .65rem; }
  .uptime-history { grid-template-columns: repeat(60, minmax(1px, 1fr)); gap: 2px; }
  .uptime-bar { height: 14px; border-radius: 2px; }
}
