/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[14].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"app/layout.tsx","import":"Space_Grotesk","arguments":[{"subsets":["latin"],"variable":"--font-body"}],"variableName":"bodyFont"} ***!
  \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* vietnamese */
@font-face {
  font-family: '__Space_Grotesk_dd5b2f';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/_next/static/media/e1aab0933260df4d-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: '__Space_Grotesk_dd5b2f';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/_next/static/media/b7387a63dd068245-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: '__Space_Grotesk_dd5b2f';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/_next/static/media/36966cca54120369-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: '__Space_Grotesk_Fallback_dd5b2f';src: local("Arial");ascent-override: 89.71%;descent-override: 26.62%;line-gap-override: 0.00%;size-adjust: 109.69%
}.__className_dd5b2f {font-family: '__Space_Grotesk_dd5b2f', '__Space_Grotesk_Fallback_dd5b2f';font-style: normal
}.__variable_dd5b2f {--font-body: '__Space_Grotesk_dd5b2f', '__Space_Grotesk_Fallback_dd5b2f'
}

/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[14].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"app/layout.tsx","import":"IBM_Plex_Mono","arguments":[{"subsets":["latin"],"weight":["400","500","600"],"variable":"--font-mono"}],"variableName":"monoFont"} ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* cyrillic-ext */
@font-face {
  font-family: '__IBM_Plex_Mono_595324';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/58f386aa6b1a2a92-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: '__IBM_Plex_Mono_595324';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/011e180705008d6f-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: '__IBM_Plex_Mono_595324';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/7ba5fb2a8c88521c-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: '__IBM_Plex_Mono_595324';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/92eeb95d069020cc-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: '__IBM_Plex_Mono_595324';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/d3ebbfd689654d3a-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: '__IBM_Plex_Mono_595324';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/ef4d5661765d0e49-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: '__IBM_Plex_Mono_595324';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/d29838c109ef09b4-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: '__IBM_Plex_Mono_595324';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/e40af3453d7c920a-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: '__IBM_Plex_Mono_595324';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/99dcf268bda04fe5-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: '__IBM_Plex_Mono_595324';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/98e207f02528a563-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: '__IBM_Plex_Mono_595324';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/73cb51aac9c97f90-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: '__IBM_Plex_Mono_595324';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/d26bbd13d6b70f89-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: '__IBM_Plex_Mono_595324';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/20535187d867b7b9-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: '__IBM_Plex_Mono_595324';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/5356a6a4f2c8c8d8-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: '__IBM_Plex_Mono_595324';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/db96af6b531dc71f-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: '__IBM_Plex_Mono_Fallback_595324';src: local("Arial");ascent-override: 76.16%;descent-override: 20.43%;line-gap-override: 0.00%;size-adjust: 134.59%
}.__className_595324 {font-family: '__IBM_Plex_Mono_595324', '__IBM_Plex_Mono_Fallback_595324';font-style: normal
}.__variable_595324 {--font-mono: '__IBM_Plex_Mono_595324', '__IBM_Plex_Mono_Fallback_595324'
}

/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
/* ===== Design Tokens ===== */
:root {
  --bg: #f7f9fc;
  --bg-warm: #fafbfe;
  --ink: #1a2332;
  --ink-soft: #556882;
  --ink-muted: #8896a8;
  --line: #dfe5ef;
  --line-light: #edf1f7;
  --panel: #ffffffee;
  --panel-hover: #ffffff;
  --accent: #2563eb;
  --accent-light: #dbeafe;
  --accent-dark: #1d4ed8;
  --accent-2: #059669;
  --accent-2-light: #d1fae5;
  --accent-3: #7c3aed;
  --accent-3-light: #ede9fe;
  --accent-4: #ea580c;
  --accent-4-light: #fff7ed;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.03);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.06), 0 2px 4px -2px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.08), 0 4px 10px -4px rgba(0,0,0,0.04);
  --radius: 12px;
  --radius-lg: 16px;
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ===== Base ===== */
html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 60% at 10% 0%, #dbeafe44 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 100%, #d1fae544 0%, transparent 60%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--font-body), system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent);
}

h1, h2, h3, h4 {
  line-height: 1.2;
  letter-spacing: -0.01em;
}

code {
  font-family: var(--font-mono), 'Menlo', 'Consolas', monospace;
  font-size: 0.88em;
  background: #f1f5f9;
  border: 1px solid var(--line);
  padding: 0.15em 0.45em;
  border-radius: 6px;
  color: #334155;
}

/* ===== Layout ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

/* ===== Background Orbs ===== */
.bg-orb {
  position: fixed;
  border-radius: 100%;
  filter: blur(80px);
  opacity: 0.35;
  z-index: -1;
  pointer-events: none;
}

.bg-orb-a {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, #93c5fd, #60a5fa);
  top: -100px;
  left: -100px;
}

.bg-orb-b {
  width: 450px;
  height: 450px;
  background: linear-gradient(135deg, #6ee7b7, #34d399);
  bottom: -80px;
  right: -80px;
}

/* ===== Navigation ===== */
.nav {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  background: rgba(247, 249, 252, 0.85);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.5rem;
  height: 60px;
  transition: box-shadow var(--transition);
}

.brand {
  font-family: var(--font-mono), monospace;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  font-size: 0.9rem;
}

.nav-link {
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  color: var(--ink-soft);
  font-weight: 450;
  transition: all var(--transition);
  position: relative;
}

.nav-link:hover {
  color: var(--accent);
  background: var(--accent-light);
}

.nav-link--active {
  color: var(--accent);
  background: var(--accent-light);
  font-weight: 500;
}

/* ===== Hero ===== */
.hero {
  padding: 3rem 0 2rem;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid #bfdbfe;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--ink) 0%, #334155 50%, var(--accent-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.hero p {
  color: var(--ink-soft);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  color: var(--ink);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

/* ===== Panels / Cards ===== */
.panel {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.panel:hover {
  box-shadow: var(--shadow-md);
}

.panel-clickable {
  cursor: pointer;
}

.panel-clickable:hover {
  border-color: #bfdbfe;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.panel + .panel {
  margin-top: 0.75rem;
}

.panel h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.panel h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--ink);
}

/* ===== Section Headers ===== */
.section-header {
  margin-bottom: 1.25rem;
}

.section-header h3 {
  font-size: 1.15rem;
  font-weight: 650;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

/* ===== Grid ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.grid .panel + .panel {
  margin-top: 0;
}

/* ===== KPI Cards ===== */
.kpi-card {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.kpi-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.kpi-icon--blue {
  background: var(--accent-light);
  color: var(--accent);
}

.kpi-icon--green {
  background: var(--accent-2-light);
  color: var(--accent-2);
}

.kpi-icon--purple {
  background: var(--accent-3-light);
  color: var(--accent-3);
}

.kpi-icon--orange {
  background: var(--accent-4-light);
  color: var(--accent-4);
}

.kpi-content {
  flex: 1 1;
  min-width: 0;
}

.kpi-label {
  font-size: 0.82rem;
  color: var(--ink-muted);
  font-weight: 450;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.kpi-value {
  font-family: var(--font-mono), monospace;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  margin-top: 0.15rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kpi-value--sm {
  font-size: 0.88rem;
  font-weight: 500;
}

/* ===== Launch Cards ===== */
.launch-card {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  text-decoration: none;
  color: inherit;
}

.launch-card:hover {
  color: inherit;
}

.launch-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.launch-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 0.15rem;
}

.launch-desc {
  font-size: 0.83rem;
  color: var(--ink-muted);
  line-height: 1.45;
}

/* ===== Tables ===== */
.table-wrapper {
  overflow-x: auto;
  margin-top: 0.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th {
  text-align: left;
  padding: 0.7rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
}

.table td {
  text-align: left;
  padding: 0.65rem 1rem;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--line-light);
  color: var(--ink);
}

.table tbody tr:last-child td {
  border-bottom: none;
}

.table tbody tr:nth-child(even) {
  background: #f9fafb;
}

.table tbody tr {
  transition: background var(--transition);
}

.table tbody tr:hover {
  background: #f1f5f9;
}

/* ===== Muted text ===== */
.muted {
  color: var(--ink-soft);
}

/* ===== Architecture Layers ===== */
.layer-card {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.layer-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-family: var(--font-mono), monospace;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
  color: white;
}

.layer-num--1 { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.layer-num--2 { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.layer-num--3 { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.layer-num--4 { background: linear-gradient(135deg, #10b981, #059669); }
.layer-num--5 { background: linear-gradient(135deg, #f59e0b, #d97706); }

.layer-text {
  font-weight: 500;
  font-size: 0.95rem;
}

/* ===== Rank Medal ===== */
.rank-medal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--font-mono), monospace;
}

.rank-medal--gold {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: white;
}

.rank-medal--silver {
  background: linear-gradient(135deg, #94a3b8, #64748b);
  color: white;
}

.rank-medal--bronze {
  background: linear-gradient(135deg, #d97706, #b45309);
  color: white;
}

.rank-medal--default {
  background: #f1f5f9;
  color: var(--ink-soft);
}

/* ===== Score Badge ===== */
.score-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  font-family: var(--font-mono), monospace;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--accent-light);
  color: var(--accent-dark);
}

/* ===== Admin Module Card ===== */
.module-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.module-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 1rem;
}

.module-name {
  font-weight: 500;
  font-size: 0.95rem;
}

/* ===== API Endpoint Block ===== */
.endpoint-block {
  margin-top: 0.5rem;
}

.endpoint-method {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-family: var(--font-mono), monospace;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-right: 0.4rem;
}

.endpoint-method--get {
  background: var(--accent-2-light);
  color: var(--accent-2);
}

.endpoint-method--post {
  background: var(--accent-light);
  color: var(--accent);
}

.endpoint-path {
  font-family: var(--font-mono), monospace;
  font-size: 0.9rem;
  color: var(--ink);
}

/* ===== Empty State ===== */
.empty-state {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--ink-muted);
}

.empty-state-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  opacity: 0.5;
}

/* ===== Dual Entry Cards ===== */
.dual-entry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1.25rem;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.entry-card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.entry-card:hover {
  color: inherit;
  border-color: #bfdbfe;
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.entry-card h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
}

.entry-icon {
  font-size: 2.2rem;
}

.entry-desc {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

.entry-methods {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.entry-methods li::before {
  content: "\2713  ";
  color: var(--accent-2);
  font-weight: 600;
}

.entry-card--human {
  border-top: 3px solid var(--accent);
}

.entry-card--agent {
  border-top: 3px solid var(--accent-3);
}

/* ===== Agent Counter (homepage card) ===== */
.agent-counter {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0.25rem 0;
}

.agent-counter-num {
  font-family: var(--font-mono), monospace;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent-3);
  line-height: 1;
}

.agent-counter-label {
  font-size: 0.88rem;
  color: var(--ink-muted);
}

/* ===== Submission Form ===== */
.submit-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.form-input {
  font-family: inherit;
  font-size: 0.92rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  color: var(--ink);
  transition: border-color var(--transition);
  width: 100%;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-input--error {
  border-color: #ef4444;
}

.form-input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-error {
  font-size: 0.82rem;
  color: #ef4444;
}

.form-hint {
  font-size: 0.78rem;
  color: var(--ink-muted);
}

textarea.form-input {
  resize: vertical;
  min-height: 80px;
}

select.form-input {
  cursor: pointer;
}

.file-drop {
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  font-size: 0.9rem;
}

.file-drop:hover,
.file-drop--active {
  border-color: var(--accent);
  background: var(--accent-light);
}

.submit-banner {
  padding: 0.65rem 1rem;
  border-radius: 10px;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.submit-banner--info {
  border: 1px solid #bfdbfe;
  background: var(--accent-light);
  color: var(--accent-dark);
}

.submit-banner--error {
  border: 1px solid #fca5a5;
  background: #fef2f2;
  color: #b91c1c;
}

/* ===== Footer ===== */
.footer {
  margin-top: 4rem;
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.footer-brand {
  font-family: var(--font-mono), monospace;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  font-size: 0.83rem;
  color: var(--ink-muted);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin-top: 0.25rem;
}

/* ===== Conference Tabs ===== */
.conf-tabs {
  display: flex;
  gap: 0.35rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1rem;
  overflow-x: auto;
}

.conf-tab {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: none;
  background: transparent;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.55rem 0.8rem;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.conf-tab:hover {
  color: var(--accent);
  background: #eff6ff;
}

.conf-tab--active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  background: #eff6ff;
}

.conf-tab-content {
  min-height: 200px;
}

/* ===== Confusion Matrix ===== */
.confusion-table {
  width: 100%;
  border-collapse: collapse;
}

.confusion-corner,
.confusion-header,
.confusion-row-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-muted);
  background: #f8fafc;
  border: 1px solid var(--line);
  padding: 0.55rem 0.7rem;
  text-align: center;
  white-space: nowrap;
}

.confusion-row-label {
  text-align: left;
  font-weight: 500;
}

.confusion-cell {
  border: 1px solid var(--line-light);
  padding: 0.55rem 0.7rem;
  text-align: center;
  font-family: var(--font-mono), monospace;
  font-size: 0.85rem;
  transition: outline var(--transition), filter var(--transition);
}

.confusion-cell:hover {
  outline: 2px solid rgba(37, 99, 235, 0.45);
  outline-offset: -2px;
  filter: saturate(1.08);
}

/* ===== Auth Guide Steps ===== */
.auth-steps {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.auth-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
}

.auth-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-3-light);
  color: var(--accent-3);
  font-size: 0.82rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== Responsive ===== */
@media (max-width: 720px) {
  .container {
    padding: 1.5rem 1rem 3rem;
  }

  .nav {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
    height: auto;
    padding: 0.75rem 1rem;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 0.15rem;
  }

  .hero {
    padding: 2rem 0 1.5rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .dual-entry {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }
}

