:root {
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --bg-deep: #0b0d12;
  --bg-card: #121722;
  --border: #263246;
  --border-strong: #397dc5;
  --cyan: #65e0d0;
  --cyan-light: #65a9ff;
  --success: #75d69b;
  --text: #e9eef7;
  --muted: #9aa8bc;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

html, body {
  min-height: 100%;
  font-family: var(--font);
  color: var(--muted);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body { background: radial-gradient(ellipse at 15% 0%, #17243a 0, transparent 38%), var(--bg-deep); }
body.booting { overflow: hidden; }

html {
  scrollbar-width: thin;
  scrollbar-color: #4c6788 #0b0d12;
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0b0d12; }
::-webkit-scrollbar-thumb {
  background: #3d5674;
  border-radius: 999px;
  border: 2px solid #0b0d12;
}
::-webkit-scrollbar-thumb:hover { background: #4c8bc9; }
::-webkit-scrollbar-button { width: 0; height: 0; display: none; }

body::before { content: none; }

a { color: var(--cyan-light); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--cyan); }

.wrap {
  position: relative;
  z-index: 1;
  max-width: 1220px;
  margin: 0 auto;
  padding: 28px 24px 64px;
  animation: fadeIn 0.55s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  position: sticky;
  top: 10px;
  z-index: 10;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #101621dd;
  backdrop-filter: blur(14px);
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.logo-section img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border);
  flex-shrink: 0;
  background: #080e1a;
}

.logo-fallback {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: rgba(8, 14, 26, 0.95);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--cyan-light);
  flex-shrink: 0;
}

.logo-section h1 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.12rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.logo-section p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.35;
}

.pill {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: #172131;
  white-space: nowrap;
}

a.pill:hover { color: var(--text); border-color: #31506f; background: #1a2433; }

a.report-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.boot {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 50% 35%, #17243a 0, transparent 42%),
    #0b0d12;
  color: var(--text);
}

.boot.is-done {
  animation: bootAway 0.42s ease forwards;
  pointer-events: none;
}

@keyframes bootAway {
  to { opacity: 0; visibility: hidden; }
}

.boot-sheet {
  width: min(360px, calc(100% - 48px));
  text-align: left;
}

.boot-mark {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid var(--border);
  display: block;
  margin-bottom: 18px;
}

.boot-kicker {
  margin: 0 0 6px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.boot-title {
  margin: 0 0 18px;
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
}

.boot-steps {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.boot-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #5c6b80;
  font-size: 13px;
  font-weight: 500;
}

.boot-steps li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2a384c;
  flex-shrink: 0;
}

.boot-steps li.is-on { color: var(--text); }
.boot-steps li.is-on::before { background: var(--cyan); }

.boot-track {
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: #1c2636;
  overflow: hidden;
}

.boot-fill {
  height: 100%;
  width: 0;
  background: #4c8bc9;
  transition: width 0.45s ease;
}

.boot-skip {
  margin: 14px 0 0;
  color: #5c6b80;
  font-size: 12px;
}

header.hero {
  text-align: left;
  margin: 0;
  padding: 48px 4px 28px;
}

.eyebrow {
  color: var(--cyan);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
}

header.hero h2 {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--text);
  margin: 10px 0 16px;
}

header.hero h2 span { color: var(--cyan); }

header.hero .lead {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 400;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.search {
  flex: 1;
  min-width: 200px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #101621;
  color: var(--muted);
}

.search i { color: var(--muted); font-size: 0.85rem; }

.search input {
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.9rem;
}

.search input::placeholder { color: #64748b; }

.count {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}

.count strong { color: var(--text); font-weight: 650; }

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
  margin-bottom: 1.75rem;
}

.filter-btn {
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(8, 14, 24, 0.8);
  color: var(--muted);
  cursor: pointer;
  transition: 0.15s ease;
}

.filter-btn:hover {
  border-color: var(--border-strong);
  color: var(--cyan-light);
}

.filter-btn.active {
  border-color: #4c8bc9;
  background: #244a75;
  color: #fff;
}

.category-block {
  margin-bottom: 1.75rem;
}

.category-block[hidden] { display: none; }

.category-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 0.75rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(56, 189, 248, 0.12);
}

.category-heading h2 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
  margin: 0;
}

.category-heading p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.subcategory-block {
  margin: 1rem 0 1.25rem;
}

.subcategory-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 0.65rem;
}

.subcategory-heading h3 {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--cyan-light);
}

.subcategory-heading p {
  margin: 0;
  font-size: 0.74rem;
  color: var(--muted);
}

.subcategory-empty {
  font-size: 0.82rem;
  color: var(--muted);
  padding: 0.85rem 1rem;
  border: 1px dashed rgba(56, 189, 248, 0.18);
  border-radius: var(--radius);
  background: rgba(8, 14, 24, 0.45);
}

.asset-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.asset-card {
  display: block;
  background: linear-gradient(180deg, #141c29, #111722);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  color: inherit;
}

.asset-card:hover {
  border-color: #31506f;
  color: inherit;
}

.coming-soon-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #101722;
  color: #e4d7a8;
  white-space: nowrap;
  flex-shrink: 0;
}

.coming-soon-pill.is-beta { color: #c5d4ee; }
.coming-soon-pill.is-hold { color: #9aa8bc; }

.coming-soon-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.coming-soon-meta {
  margin-top: 0.95rem;
}

.coming-soon-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.coming-soon-row strong {
  color: var(--text);
  font-weight: 650;
}

.coming-eta {
  color: var(--muted);
  font-weight: 500;
}

.progress-track {
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: #1c2636;
  border: 0;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 999px;
  background: #4c8bc9;
  box-shadow: none;
  transition: width 0.35s ease;
}

.asset-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 0.65rem;
}

.asset-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.asset-body { padding: 18px 22px 16px; }

.asset-mark {
  position: relative;
  width: 64px;
  height: 64px;
  min-width: 64px;
  max-width: 64px;
  min-height: 64px;
  max-height: 64px;
  flex: 0 0 64px;
  border-radius: 14px;
  border: 1px solid #31506f;
  background: #101820;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.asset-mark img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.asset-mark span {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--cyan-light);
}

.asset-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 0.15rem;
}

.asset-type {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.asset-status {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
  text-align: right;
}

.version-pill {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  white-space: nowrap;
}

.release-pill {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  white-space: nowrap;
}

.asset-desc {
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.asset-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 2px;
  padding-top: 12px;
  border-top: 1px solid #1c2636;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid #31506f;
  background: #15263a;
  color: #b9d9ff;
}

.badge.alt {
  border-color: #3a4658;
  background: #1a2230;
  color: #d5deea;
}

.badge.green {
  border-color: rgba(80, 200, 150, 0.55);
  background: rgba(52, 180, 130, 0.16);
  color: #8ee0b8;
}

.badge.red {
  border-color: rgba(232, 112, 112, 0.55);
  background: rgba(200, 70, 70, 0.16);
  color: #f3a8a8;
}

.badge.dev {
  border-color: rgba(220, 180, 90, 0.5);
  background: rgba(180, 140, 40, 0.14);
  color: #e8d39a;
}

.badge.beta {
  border-color: rgba(150, 140, 230, 0.5);
  background: rgba(110, 90, 200, 0.16);
  color: #c9c0f0;
}

.read-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan-light);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.asset-card:hover .read-link { color: var(--cyan); }

.empty {
  text-align: center;
  padding: 2.5rem 1rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer {
  text-align: center;
  margin-top: 1.75rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(56, 189, 248, 0.12);
  color: var(--muted);
  font-size: 0.78rem;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 0.85rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(8, 14, 24, 0.85);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  transition: border-color 0.15s, color 0.15s, background 0.15s, transform 0.15s;
}

.footer-social-link:hover {
  border-color: #31506f;
  color: var(--text);
  background: #172131;
}

.footer-social-link i { font-size: 0.95rem; }
.footer-social-link--discord:hover { color: #7289da; border-color: rgba(114, 137, 218, 0.45); }
.footer-social-link--email:hover { color: var(--cyan-light); }
.footer-social-link--web:hover { color: var(--cyan-light); border-color: var(--border-strong); }

.footer-copy { margin: 0; color: var(--muted); }
.footer-copy a { color: var(--cyan-light); font-weight: 600; }
.footer-copy a:hover { color: var(--cyan); }

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.notify-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(8, 14, 24, 0.85);
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.notify-btn:hover,
.notify-btn.is-active {
  border-color: rgba(251, 191, 36, 0.45);
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.1);
}

.notify-btn i { font-size: 1rem; }

.notify-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: #fbbf24;
  color: #1a1405;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  border: 2px solid var(--bg-deep);
  animation: notify 1.5s infinite forwards;
}

@keyframes notify {
  50% { opacity: 0.2; }
  100% { opacity: 1; }
}

.notify-badge[hidden] { display: none; }

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  justify-content: center;
  align-items: flex-start;
  z-index: 9999;
  overflow-y: auto;
  padding: 40px 16px;
}

.modal-overlay.is-open {
  display: flex;
}

.modal-overlay[hidden] {
  display: none !important;
}

.modal-box {
  background: linear-gradient(165deg, rgba(6, 22, 48, 0.97) 0%, rgba(5, 10, 20, 0.99) 100%);
  border: 1px solid var(--border-strong);
  color: #fff;
  width: 800px;
  max-width: 95%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 0;
  border-radius: 16px;
  position: relative;
  animation: pop 0.2s ease;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(56, 189, 248, 0.08);
}

.whats-coming-box {
  width: 860px;
  background: #101621;
  border-color: var(--border);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.help-header {
  padding: 28px 28px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(0, 80, 160, 0.25), transparent);
}

.whats-coming-header {
  background: transparent;
  border-bottom-color: var(--border);
  padding: 26px 28px 20px;
}

.whats-coming-kicker {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: var(--cyan);
}

.help-header h2 {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
  letter-spacing: -0.02em;
}

.whats-coming-header h2 {
  color: var(--text);
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.help-header p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.whats-coming-list {
  margin: 16px 20px 24px;
}

.coming-section + .coming-section { margin-top: 18px; }

.coming-section-title {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: var(--cyan);
}

.coming-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 108px;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  margin-bottom: 8px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #121822;
}

.coming-row.is-hold { grid-template-columns: 40px minmax(0, 1fr); }

.coming-row .asset-mark {
  width: 40px;
  height: 40px;
  min-width: 40px;
  max-width: 40px;
  min-height: 40px;
  max-height: 40px;
  flex: 0 0 40px;
  border-radius: 10px;
}

.coming-copy { min-width: 0; }

.coming-copy strong {
  display: block;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.coming-copy span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.coming-progress { text-align: right; }

.coming-progress b {
  color: var(--text);
  font-size: 12px;
  font-weight: 650;
}

.coming-progress .progress-track { margin-top: 6px; }

.closeModal {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  cursor: pointer;
  transition: 0.2s;
}

.closeModal:hover {
  color: var(--text);
  background: #182233;
  border-color: #31506f;
}

@keyframes pop {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-box {
  scrollbar-width: thin;
  scrollbar-color: #4c6788 transparent;
}
.modal-box::-webkit-scrollbar { width: 10px; }
.modal-box::-webkit-scrollbar-track { background: transparent; }
.modal-box::-webkit-scrollbar-thumb {
  background: #3d5674;
  border-radius: 999px;
  border: 3px solid transparent;
  background-clip: padding-box;
}
.modal-box::-webkit-scrollbar-thumb:hover { background: #4c8bc9; background-clip: padding-box; }
.modal-box::-webkit-scrollbar-button { width: 0; height: 0; display: none; }

.asset-card.is-coming-soon {
  cursor: default;
  pointer-events: none;
  opacity: 1;
  border-color: var(--border);
}

.asset-card.is-coming-soon:hover {
  border-color: var(--border);
  box-shadow: none;
  transform: none;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  .wrap { padding: 20px 16px 48px; }
  header.hero { padding: 32px 0 22px; }
  header.hero h2 { font-size: 34px; }
  .asset-top { flex-direction: column; align-items: stretch; }
  .asset-status { align-items: flex-start; text-align: left; }
  .category-heading { flex-direction: column; align-items: flex-start; }
  .modal-overlay { padding: 20px 12px; }
}