    /* Markdown Description Styling */
    .desc-text {
      font-size: 0.95rem;
      line-height: 1.65;
      color: var(--text-main);
    }
    .desc-text p {
      margin-bottom: 0.85rem;
    }
    .desc-text h1, .desc-text h2, .desc-text h3, .desc-text h4 {
      color: var(--text-main);
      margin-top: 1.25rem;
      margin-bottom: 0.6rem;
      font-weight: 600;
    }
    .desc-text ul, .desc-text ol {
      margin-left: 1.5rem;
      margin-bottom: 0.85rem;
    }
    .desc-text li {
      margin-bottom: 0.35rem;
    }
    .desc-text code {
      background: rgba(255, 255, 255, 0.08);
      padding: 0.15rem 0.4rem;
      border-radius: 4px;
      font-family: var(--font-mono);
      font-size: 0.85em;
      color: var(--color-primary);
    }
    .desc-text pre {
      background: #18181b;
      padding: 1rem;
      border-radius: 8px;
      border: 1px solid var(--border-color);
      overflow-x: auto;
      margin-bottom: 1rem;
    }
    .desc-text pre code {
      background: transparent;
      padding: 0;
      color: var(--text-main);
    }
    /* Premium CSS Variables & HSL Color Palette */
    :root {
      --bg-base: oklch(0.08 0.005 270);
      --bg-surface: rgba(255, 255, 255, 0.03);
      --bg-surface-hover: rgba(255, 255, 255, 0.06);
      --border-color: rgba(255, 255, 255, 0.07);
      --border-color-active: rgba(0, 255, 136, 0.3);
      
      --color-primary: HSL(150, 100%, 50%);
      --color-primary-rgb: 0, 255, 136;
      --color-secondary: HSL(210, 100%, 55%);
      --color-accent: HSL(280, 100%, 65%);
      
      --text-main: oklch(0.95 0 0);
      --text-muted: oklch(0.65 0 0);
      --text-muted-more: oklch(0.45 0 0);
      
      --font-sans: 'Outfit', sans-serif;
      --font-mono: 'JetBrains Mono', monospace;
      
      --gradient-brand: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
      --gradient-glow: radial-gradient(circle at 50% 50%, rgba(var(--color-primary-rgb), 0.15) 0%, transparent 60%);
      --shadow-premium: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      scrollbar-width: none;
      -ms-overflow-style: none;
    }

    *::-webkit-scrollbar {
      display: none !important;
      width: 0 !important;
      height: 0 !important;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--bg-base);
      color: var(--text-main);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      overflow-x: hidden;
    }

    /* Core Layout */
    #app {
      display: flex;
      flex: 1;
      min-height: 100vh;
      position: relative;
    }

    /* Radial glow background */
    .radial-glow {
      position: absolute;
      top: -150px;
      right: -150px;
      width: 600px;
      height: 600px;
      background: var(--gradient-glow);
      filter: blur(100px);
      z-index: 0;
      pointer-events: none;
    }

    /* Sidebar Navigation with Premium Glassmorphism */
    aside {
      width: 280px;
      border-right: 1px solid rgba(255, 255, 255, 0.08);
      background: linear-gradient(180deg, rgba(16, 16, 20, 0.75) 0%, rgba(10, 10, 14, 0.85) 100%);
      backdrop-filter: blur(20px) saturate(180%);
      -webkit-backdrop-filter: blur(20px) saturate(180%);
      padding: 2.25rem 1.5rem;
      display: flex;
      flex-direction: column;
      gap: 2.25rem;
      z-index: 10;
      box-shadow: 4px 0 30px rgba(0, 0, 0, 0.5);
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 0.85rem;
      font-weight: 700;
      font-size: 1.25rem;
      letter-spacing: -0.02em;
      color: var(--text-main);
    }

    .brand-logo {
      width: 34px;
      height: 34px;
      background: var(--gradient-brand);
      border-radius: 10px;
      box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .nav-links {
      display: flex;
      flex-direction: column;
      gap: 0.6rem;
      list-style: none;
    }

    .nav-btn {
      position: relative;
      width: 100%;
      background: transparent;
      border: 1px solid transparent;
      color: var(--text-muted);
      padding: 0.75rem 1.1rem;
      border-radius: 12px;
      text-align: left;
      font-family: var(--font-sans);
      font-weight: 500;
      font-size: 0.92rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 0.85rem;
      transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .nav-btn:hover:not(.active) {
      background: rgba(255, 255, 255, 0.05);
      color: #ffffff;
      transform: translateX(4px);
    }

    .nav-btn.active {
      background: linear-gradient(90deg, rgba(0, 255, 136, 0.14) 0%, rgba(0, 255, 136, 0.02) 100%);
      border: 1px solid rgba(0, 255, 136, 0.25);
      color: var(--color-primary);
      box-shadow: 0 4px 20px rgba(0, 255, 136, 0.12);
      font-weight: 600;
    }

    .nav-btn.active::before {
      content: '';
      position: absolute;
      left: 0;
      top: 20%;
      height: 60%;
      width: 3px;
      background: var(--color-primary);
      border-radius: 0 4px 4px 0;
      box-shadow: 0 0 10px var(--color-primary);
    }

    .nav-icon {
      display: flex;
      align-items: center;
      justify-content: center;
      transition: transform 0.25s ease;
    }

    .nav-btn:hover .nav-icon {
      transform: scale(1.15);
    }

    /* Main Content Area */
    main {
      flex: 1;
      padding: 2.5rem 3rem;
      z-index: 1;
      overflow-y: auto;
      height: 100vh;
    }

    .header-bar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 2.5rem;
    }

    h1 {
      font-size: 1.75rem;
      font-weight: 500;
      letter-spacing: -0.01em;
    }

    .user-pill {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      background-color: var(--bg-surface);
      border: 1px solid var(--border-color);
      padding: 0.5rem 1rem;
      border-radius: 50px;
      font-size: 0.9rem;
    }

    .avatar {
      width: 24px;
      height: 24px;
      background: var(--gradient-brand);
      border-radius: 50%;
    }

    /* Glass Cards with Exquisite Glassmorphism */
    .card {
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%), rgba(14, 14, 18, 0.85);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 16px;
      box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.08), 0 10px 30px rgba(0, 0, 0, 0.4);
      backdrop-filter: blur(20px) saturate(180%);
      -webkit-backdrop-filter: blur(20px) saturate(180%);
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .card:hover {
      border-color: rgba(255, 255, 255, 0.18);
      box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.15), 0 16px 45px rgba(0, 0, 0, 0.6);
    }

    /* Grid Layouts */
    .challenges-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
      gap: 1.5rem;
    }

    .challenge-card {
      padding: 1.5rem;
      cursor: pointer;
      display: flex;
      flex-direction: column;
      height: 100%;
      box-sizing: border-box;
      gap: 1rem;
      position: relative;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.08);
      background: linear-gradient(145deg, rgba(24, 24, 28, 0.85), rgba(14, 14, 18, 0.9));
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border-radius: 14px;
    }

    .challenge-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: radial-gradient(800px circle at var(--x, 0px) var(--y, 0px), rgba(0, 255, 136, 0.08), transparent 40%);
      pointer-events: none;
    }

    .challenge-card:hover {
      transform: translateY(-4px);
      border-color: rgba(0, 255, 136, 0.35);
      box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 255, 136, 0.12);
    }

    .tag-container {
      display: flex;
      gap: 0.5rem;
      flex-wrap: wrap;
    }

    .tag {
      font-size: 0.75rem;
      font-weight: 600;
      text-transform: uppercase;
      padding: 0.25rem 0.6rem;
      border-radius: 4px;
      background-color: rgba(255, 255, 255, 0.05);
      border: 1px solid var(--border-color);
      color: var(--text-muted);
    }

    .tag.cv { color: #38bdf8; border-color: rgba(56, 189, 248, 0.2); }
    .tag.rag { color: #a78bfa; border-color: rgba(167, 139, 250, 0.2); }
    .tag.nlp { color: #f472b6; border-color: rgba(244, 114, 182, 0.2); }
    .tag.diff { color: #fb923c; border-color: rgba(251, 146, 60, 0.2); }

    .challenge-title {
      font-size: 1.15rem;
      font-weight: 500;
      line-height: 1.4;
    }

    .challenge-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 0.85rem;
      color: var(--text-muted);
      border-top: 1px solid var(--border-color);
      padding-top: 0.75rem;
      margin-top: auto;
      flex-wrap: wrap;
      gap: 0.5rem;
    }

    .closing-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.3rem;
      font-size: 0.75rem;
      font-weight: 600;
      padding: 0.25rem 0.6rem;
      border-radius: 6px;
    }

    .closing-badge.active {
      background: rgba(251, 146, 60, 0.15);
      border: 1px solid rgba(251, 146, 60, 0.35);
      color: #fb923c;
    }

    .closing-badge.closed {
      background: rgba(239, 68, 68, 0.15);
      border: 1px solid rgba(239, 68, 68, 0.35);
      color: #ef4444;
    }

    /* Live Closing Status & Countdown Badge */
    .closing-status-container {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      flex-wrap: wrap;
      justify-content: flex-end;
    }

    .closing-status-title {
      font-weight: 600;
      font-size: 0.88rem;
    }

    .closing-status-title.open {
      color: var(--color-primary);
    }

    .closing-status-title.lockdown-revisions {
      color: #f59e0b;
    }

    .closing-status-title.lockdown-locked,
    .closing-status-title.closed {
      color: #ef4444;
    }

    .timer-countdown-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      font-size: 0.76rem;
      font-weight: 700;
      font-family: var(--font-mono);
      padding: 0.25rem 0.65rem;
      border-radius: 8px;
      backdrop-filter: blur(8px);
      transition: all 0.3s ease;
    }

    .timer-countdown-badge.active {
      background: rgba(0, 255, 136, 0.12);
      border: 1px solid rgba(0, 255, 136, 0.35);
      color: var(--color-primary);
      box-shadow: 0 0 12px rgba(0, 255, 136, 0.15);
    }

    .timer-countdown-badge.urgent {
      background: rgba(239, 68, 68, 0.16);
      border: 1px solid rgba(239, 68, 68, 0.4);
      color: #f87171;
      box-shadow: 0 0 14px rgba(239, 68, 68, 0.25);
      animation: timerUrgentPulse 1.5s infinite alternate ease-in-out;
    }

    .timer-countdown-badge.warning {
      background: rgba(245, 158, 11, 0.14);
      border: 1px solid rgba(245, 158, 11, 0.35);
      color: #f59e0b;
    }

    @keyframes timerUrgentPulse {
      0% { box-shadow: 0 0 6px rgba(239, 68, 68, 0.2); }
      100% { box-shadow: 0 0 16px rgba(239, 68, 68, 0.5); }
    }

    .status-indicator-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      display: inline-block;
      margin-right: 3px;
    }

    .status-indicator-dot.green-pulse {
      background-color: var(--color-primary);
      box-shadow: 0 0 0 rgba(0, 255, 136, 0.4);
      animation: dotPulse 2s infinite;
    }

    @keyframes dotPulse {
      0% {
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7);
      }
      70% {
        box-shadow: 0 0 0 6px rgba(0, 255, 136, 0);
      }
      100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0);
      }
    }

    .slots-pill {
      display: inline-flex;
      align-items: center;
      gap: 0.3rem;
      font-size: 0.75rem;
      font-weight: 600;
      padding: 0.25rem 0.6rem;
      border-radius: 6px;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
      color: var(--text-muted);
    }

    .slots-pill.full {
      background: rgba(245, 158, 11, 0.15);
      border: 1px solid rgba(245, 158, 11, 0.35);
      color: #f59e0b;
    }

    .prize-pill {
      display: inline-flex;
      align-items: center;
      gap: 0.3rem;
      font-size: 0.75rem;
      font-weight: 600;
      padding: 0.25rem 0.6rem;
      border-radius: 6px;
      background: rgba(16, 185, 129, 0.12);
      border: 1px solid rgba(16, 185, 129, 0.35);
      color: #10b981;
    }

    .prize {
      font-weight: 600;
      color: var(--color-primary);
    }

    /* Detail View Styles */
    .back-btn {
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.1);
      color: var(--text-main);
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      font-family: var(--font-sans);
      font-size: 0.85rem;
      font-weight: 600;
      padding: 0.55rem 1.1rem;
      border-radius: 12px;
      margin-bottom: 1.5rem;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

    .back-btn:hover {
      background: rgba(255, 255, 255, 0.08);
      border-color: rgba(255, 255, 255, 0.22);
      color: #ffffff;
      transform: translateX(-3px);
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    }

    .back-btn:active {
      transform: translateX(-1px) scale(0.97);
    }

    .detail-container {
      display: grid;
      grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr);
      gap: 2rem;
      align-items: start;
      width: 100%;
      max-width: 100%;
    }

    @media (max-width: 1024px) {
      .detail-container {
        grid-template-columns: 1fr;
      }
    }

    .info-section {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
      min-width: 0;
      width: 100%;
    }

    .desc-card {
      padding: 2rem;
      min-width: 0;
      width: 100%;
      overflow-wrap: break-word;
      word-break: break-word;
    }

    .desc-title {
      font-size: 1.5rem;
      margin-bottom: 1rem;
      word-break: break-word;
      overflow-wrap: break-word;
    }

    .desc-text {
      color: var(--text-muted);
      line-height: 1.6;
      word-break: break-word;
      overflow-wrap: break-word;
      min-width: 0;
      max-width: 100%;
    }

    .desc-text p, .desc-text div, .desc-text li, .desc-text span {
      overflow-wrap: break-word;
      word-break: break-word;
    }

    /* Table scroll wrapper & horizontal scrolling */
    .desc-text .table-wrapper,
    .desc-text .table-container,
    .table-wrapper,
    .table-container {
      width: 100%;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      margin: 1.25rem 0;
      border-radius: 10px;
      border: 1px solid var(--border-color);
      background: rgba(0, 0, 0, 0.25);
    }

    .desc-text table,
    table.markdown-table {
      width: 100%;
      min-width: 600px;
      border-collapse: separate;
      border-spacing: 0;
      font-size: 0.85rem;
      margin: 0;
      display: table;
    }

    .desc-text th,
    table.markdown-table th {
      background: rgba(255, 255, 255, 0.07);
      color: var(--text-main);
      font-weight: 700;
      text-align: left;
      padding: 0.75rem 1rem;
      border-bottom: 1px solid var(--border-color);
      border-right: 1px solid rgba(255, 255, 255, 0.05);
      font-size: 0.78rem;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      white-space: nowrap;
      word-break: normal;
      overflow-wrap: normal;
    }

    .desc-text th:last-child,
    table.markdown-table th:last-child {
      border-right: none;
    }

    .desc-text td,
    table.markdown-table td {
      padding: 0.75rem 1rem;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
      border-right: 1px solid rgba(255, 255, 255, 0.05);
      color: var(--text-main);
      line-height: 1.55;
      vertical-align: top;
      font-size: 0.84rem;
      word-break: normal;
      overflow-wrap: break-word;
    }

    .desc-text td code,
    .desc-text th code,
    table.markdown-table code {
      white-space: nowrap;
      word-break: normal;
      overflow-wrap: normal;
      display: inline-block;
      padding: 0.15rem 0.4rem;
      background: rgba(255, 255, 255, 0.08);
      border-radius: 4px;
    }

    .desc-text td:last-child {
      border-right: none;
    }

    .desc-text tr:last-child td {
      border-bottom: none;
    }

    .desc-text tr:nth-child(even) td {
      background: rgba(255, 255, 255, 0.015);
    }

    .desc-text tr:hover td {
      background: rgba(255, 255, 255, 0.035);
    }

    .desc-text pre {
      background: #18181b;
      padding: 1rem;
      border-radius: 8px;
      border: 1px solid var(--border-color);
      overflow-x: auto;
      margin-bottom: 1rem;
      max-width: 100%;
      white-space: pre-wrap;
      word-break: break-word;
    }

    .desc-text code {
      word-break: break-word;
    }

    .sidebar-cards {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
      min-width: 0;
      width: 100%;
    }

    .status-card {
      padding: 1.5rem;
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .status-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 0.95rem;
    }

    .status-val {
      font-weight: 500;
    }

    .credits-bar-container {
      width: 100%;
      height: 8px;
      background-color: rgba(255, 255, 255, 0.05);
      border-radius: 4px;
      overflow: hidden;
      margin-top: 0.25rem;
    }

    .credits-bar {
      height: 100%;
      background: var(--gradient-brand);
      border-radius: 4px;
      transition: width 0.3s ease;
    }

    /* Form Styles */
    .form-group {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      margin-bottom: 1.25rem;
    }

    label {
      font-size: 0.85rem;
      font-weight: 500;
      color: var(--text-muted);
    }

    input[type="text"],
    input[type="number"],
    input[type="password"],
    select,
    textarea {
      background-color: #18181c;
      border: 1px solid rgba(255, 255, 255, 0.15);
      border-radius: 8px;
      padding: 0.55rem 1rem;
      color: var(--text-main);
      font-family: var(--font-sans);
      font-size: 0.9rem;
      outline: none;
      transition: all 0.2s;
    }

    select option {
      background-color: #18181c;
      color: #f4f4f5;
      padding: 8px 12px;
    }

    input:focus, select:focus, textarea:focus {
      border-color: var(--color-primary);
      box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.18), 0 0 20px rgba(0, 255, 136, 0.12);
      background: rgba(0, 0, 0, 0.5);
    }

    .file-input-wrapper {
      position: relative;
      border: 1px dashed var(--border-color);
      border-radius: 8px;
      padding: 1.5rem;
      text-align: center;
      cursor: pointer;
      background-color: rgba(0, 0, 0, 0.1);
      transition: border-color 0.2s;
    }

    .file-input-wrapper:hover {
      border-color: var(--color-primary);
    }

    .file-input {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      opacity: 0;
      cursor: pointer;
    }

    .file-preview {
      font-size: 0.9rem;
      color: var(--color-primary);
      margin-top: 0.5rem;
      display: none;
      font-family: var(--font-mono);
    }

    /* Button Styles & Microinteractions */
    .btn {
      background: var(--gradient-brand);
      color: #000;
      font-family: var(--font-sans);
      font-weight: 600;
      font-size: 1rem;
      padding: 0.85rem 1.5rem;
      border: none;
      border-radius: 10px;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      box-shadow: 0 4px 16px rgba(0, 255, 136, 0.22);
      transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(0, 255, 136, 0.38);
    }

    .btn:active {
      transform: translateY(0) scale(0.97);
    }

    .btn:disabled {
      background: var(--border-color);
      color: var(--text-muted-more);
      box-shadow: none;
      cursor: not-allowed;
      transform: none;
    }

    .btn-secondary {
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.1);
      color: var(--text-main);
      box-shadow: none;
      backdrop-filter: blur(12px);
      transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .btn-secondary:hover {
      background: rgba(255, 255, 255, 0.08);
      border-color: rgba(255, 255, 255, 0.2);
      color: #ffffff;
      transform: translateY(-1px);
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }

    .btn-secondary:active {
      transform: translateY(0) scale(0.97);
    }

    .btn-secondary.active {
      background: linear-gradient(135deg, rgba(0, 255, 136, 0.2) 0%, rgba(0, 255, 136, 0.08) 100%);
      color: var(--color-primary);
      border-color: rgba(0, 255, 136, 0.4);
      box-shadow: 0 4px 15px rgba(0, 255, 136, 0.15);
    }

    /* Leaderboard Tab Styles */
    .tabs-row {
      display: flex;
      border-bottom: 1px solid var(--border-color);
      margin-bottom: 1.5rem;
      gap: 1.5rem;
    }

    .tab-item {
      background: none;
      border: none;
      color: var(--text-muted);
      font-family: var(--font-sans);
      font-size: 1rem;
      font-weight: 500;
      padding: 0.75rem 0.25rem;
      cursor: pointer;
      position: relative;
    }

    .tab-item.active {
      color: var(--text-main);
    }

    .tab-item.active::after {
      content: '';
      position: absolute;
      bottom: -1px;
      left: 0;
      width: 100%;
      height: 2px;
      background: var(--color-primary);
    }

    table {
      width: 100%;
      border-collapse: collapse;
      text-align: left;
    }

    th {
      font-size: 0.8rem;
      font-weight: 700;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.06em;
      padding: 0.85rem 1rem;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      background: rgba(0, 0, 0, 0.2);
    }

    td {
      padding: 0.9rem 1rem;
      font-size: 0.9rem;
      border-bottom: 1px solid rgba(255, 255, 255, 0.04);
      transition: background 0.15s ease;
    }

    tr:hover td {
      background: rgba(255, 255, 255, 0.02);
    }

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

    .rank {
      font-weight: 600;
      color: var(--text-muted-more);
    }

    tr:nth-child(1) .rank { color: #fbbf24; } /* Gold */
    tr:nth-child(2) .rank { color: #94a3b8; } /* Silver */
    tr:nth-child(3) .rank { color: #b45309; } /* Bronze */

    /* Login Screen */
    #login-screen {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: var(--bg-base);
    }

    .login-card {
      width: 100%;
      max-width: 420px;
      padding: 2.5rem;
    }

    /* Modal / Alert Banner */
    .banner {
      padding: 1rem;
      border-radius: 8px;
      margin-bottom: 1.5rem;
      font-size: 0.9rem;
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .banner.error {
      background-color: rgba(239, 68, 68, 0.1);
      border: 1px solid rgba(239, 68, 68, 0.2);
      color: #ef4444;
    }

    .banner.success {
      background-color: rgba(0, 255, 136, 0.1);
      border: 1px solid rgba(0, 255, 136, 0.2);
      color: var(--color-primary);
    }

    /* Modal Overlay & Pop-In Animation */
    .modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(0, 0, 0, 0.85);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      z-index: 9999;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 1rem;
    }

    .modal-overlay:not(.hidden) {
      animation: modalOverlayFade 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .modal-overlay:not(.hidden) .modal-content {
      animation: modalPopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    @keyframes modalOverlayFade {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    @keyframes modalPopIn {
      from { opacity: 0; transform: scale(0.94) translateY(12px); }
      to { opacity: 1; transform: scale(1) translateY(0); }
    }

    .modal-content {
      background: linear-gradient(135deg, rgba(22, 22, 28, 0.95) 0%, rgba(14, 14, 18, 0.98) 100%);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 20px;
      width: 100%;
      max-width: 620px;
      max-height: 90vh;
      overflow-y: auto;
      padding: 2.25rem;
      box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.1), 0 30px 70px -15px rgba(0, 0, 0, 0.95);
      color: var(--text-main);
      position: relative;
    }

    .modal-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      margin-bottom: 0.75rem;
    }

    .modal-title {
      font-size: 1.25rem;
      font-weight: 600;
      color: var(--text-main);
      margin: 0;
    }

    .modal-close-btn {
      background: transparent;
      border: none;
      color: var(--text-muted);
      font-size: 1.25rem;
      cursor: pointer;
      padding: 0.2rem 0.5rem;
      border-radius: 6px;
      line-height: 1;
    }

    .modal-close-btn:hover {
      background: rgba(255, 255, 255, 0.1);
      color: var(--text-main);
    }

    .modal-subtext {
      font-size: 0.88rem;
      color: var(--text-muted);
      line-height: 1.5;
      margin-bottom: 1.5rem;
    }

    .modal-section-label {
      font-size: 0.82rem;
      font-weight: 600;
      color: var(--text-muted);
      margin-bottom: 0.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .command-box {
      background: #27272a;
      color: #f4f4f5;
      font-family: var(--font-mono);
      font-size: 0.88rem;
      padding: 0.85rem 1rem;
      border-radius: 8px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      margin-bottom: 1.5rem;
    }

    .code-box-container {
      background: #09090b;
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 8px;
      overflow: hidden;
    }

    .code-box {
      margin: 0;
      padding: 1rem;
      font-family: var(--font-mono);
      font-size: 0.84rem;
      color: #e4e4e7;
      line-height: 1.6;
      white-space: pre;
      overflow-x: auto;
    }

    /* Admin View specific CSS */
    .admin-grid {
      display: grid;
      grid-template-columns: 1.5fr 1fr;
      gap: 2rem;
    }

    .pool-list {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .pool-item {
      padding: 1.25rem 1.5rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: linear-gradient(145deg, rgba(24, 24, 28, 0.8), rgba(14, 14, 18, 0.9));
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 14px;
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
      transition: border-color 0.25s, box-shadow 0.25s;
    }

    .pool-item:hover {
      border-color: rgba(255, 255, 255, 0.15);
      box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
    }

    .pool-name {
      font-weight: 600;
    }

    .pool-details {
      font-size: 0.8rem;
      color: var(--text-muted);
      margin-top: 0.25rem;
    }

    .status-badge {
      font-size: 0.72rem;
      font-weight: 700;
      padding: 0.3rem 0.7rem;
      border-radius: 20px;
      letter-spacing: 0.04em;
    }

    .status-badge.active {
      background: rgba(16, 185, 129, 0.15);
      color: #10b981;
      border: 1px solid rgba(16, 185, 129, 0.35);
    }

    .status-badge.inactive {
      background: rgba(239, 68, 68, 0.15);
      color: #ef4444;
      border: 1px solid rgba(239, 68, 68, 0.35);
    }

    /* Loading Spinner */
    .spinner {
      border: 2px solid rgba(255, 255, 255, 0.1);
      width: 20px;
      height: 20px;
      border-radius: 50%;
      border-left-color: var(--color-primary);
      animation: spin 1s linear infinite;
      display: inline-block;
      vertical-align: middle;
    }

    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

    .hidden {
      display: none !important;
    }

    /* Skeleton Loading & Optimistic UI */
    .skeleton {
      background: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 25%, rgba(255, 255, 255, 0.09) 37%, rgba(255, 255, 255, 0.04) 63%);
      background-size: 400% 100%;
      animation: skeletonShimmer 1.4s ease infinite;
      border-radius: 6px;
    }

    .skeleton-card {
      min-height: 180px;
      border-radius: 16px;
      padding: 1.5rem;
      border: 1px solid rgba(255, 255, 255, 0.06);
      background: rgba(255, 255, 255, 0.02);
    }

    .skeleton-line {
      height: 14px;
      margin-bottom: 0.6rem;
      border-radius: 4px;
    }

    .skeleton-line.title {
      height: 22px;
      width: 60%;
      margin-bottom: 1rem;
    }

    .skeleton-line.short {
      width: 40%;
    }

    @keyframes skeletonShimmer {
      0% { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }

    /* ==========================================================================
       GLASSMORPHIC PRE-SUBMISSION CHECKS PIPELINE STYLES
       ========================================================================== */
    .prechecks-panel {
      margin-top: 1.25rem;
      padding: 1.25rem;
      border-radius: 16px;
      background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      border: 1px solid rgba(255, 255, 255, 0.09);
      box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .prechecks-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 0.85rem;
    }

    .prechecks-title {
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .prechecks-shield-icon {
      width: 36px;
      height: 36px;
      border-radius: 10px;
      background: rgba(59, 130, 246, 0.12);
      border: 1px solid rgba(59, 130, 246, 0.3);
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 0 14px rgba(59, 130, 246, 0.25);
    }

    .prechecks-title h4 {
      font-size: 0.95rem;
      font-weight: 700;
      color: var(--text-main);
      margin: 0;
      letter-spacing: -0.01em;
    }

    .prechecks-subtitle {
      font-size: 0.75rem;
      color: var(--text-muted);
      margin-top: 1px;
    }

    .prechecks-progress-meta {
      display: flex;
      align-items: center;
      gap: 0.6rem;
    }

    .prechecks-counter-badge {
      font-family: var(--font-mono);
      font-size: 0.78rem;
      font-weight: 700;
      padding: 3px 10px;
      border-radius: 20px;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.12);
      color: var(--text-muted);
      transition: all 0.3s ease;
    }

    .prechecks-counter-badge.complete {
      background: rgba(16, 185, 129, 0.15);
      border-color: rgba(16, 185, 129, 0.4);
      color: #34d399;
      box-shadow: 0 0 12px rgba(16, 185, 129, 0.2);
    }

    /* Glass Progress Bar */
    .prechecks-progress-track {
      width: 100%;
      height: 6px;
      border-radius: 4px;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.08);
      overflow: hidden;
      margin-bottom: 1rem;
      position: relative;
    }

    .prechecks-progress-fill {
      height: 100%;
      border-radius: 4px;
      background: linear-gradient(90deg, #10b981, #34d399, #059669);
      box-shadow: 0 0 14px rgba(16, 185, 129, 0.5);
      transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Check Items List */
    .prechecks-list {
      display: flex;
      flex-direction: column;
      gap: 0.65rem;
    }

    .precheck-item {
      display: flex;
      align-items: flex-start;
      gap: 0.85rem;
      padding: 0.85rem 1rem;
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid rgba(255, 255, 255, 0.07);
      backdrop-filter: blur(12px);
      transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .precheck-item:hover {
      background: rgba(255, 255, 255, 0.04);
      border-color: rgba(255, 255, 255, 0.14);
      transform: translateY(-1px);
    }

    .precheck-item.passed {
      background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(255, 255, 255, 0.01));
      border-color: rgba(16, 185, 129, 0.25);
      box-shadow: 0 4px 20px rgba(16, 185, 129, 0.06);
    }

    .precheck-item.failed {
      background: linear-gradient(135deg, rgba(239, 68, 68, 0.05), rgba(255, 255, 255, 0.01));
      border-color: rgba(239, 68, 68, 0.25);
      box-shadow: 0 4px 20px rgba(239, 68, 68, 0.06);
    }

    .precheck-item.running {
      background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(255, 255, 255, 0.01));
      border-color: rgba(59, 130, 246, 0.25);
    }

    .precheck-icon-col {
      margin-top: 2px;
      flex-shrink: 0;
    }

    .precheck-icon-wrapper {
      width: 22px;
      height: 22px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .precheck-badge {
      width: 22px;
      height: 22px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .precheck-badge.pass {
      background: rgba(16, 185, 129, 0.18);
      border: 1px solid rgba(16, 185, 129, 0.4);
      box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
    }

    .precheck-badge.fail {
      background: rgba(239, 68, 68, 0.18);
      border: 1px solid rgba(239, 68, 68, 0.4);
      box-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
    }

    .precheck-badge.idle {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.12);
    }

    @keyframes precheckSpin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

    .precheck-spinner {
      animation: precheckSpin 1.2s linear infinite;
    }

    .precheck-content {
      flex-grow: 1;
    }

    .precheck-item-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.5rem;
    }

    .precheck-item-title {
      font-weight: 600;
      font-size: 0.85rem;
      color: var(--text-main);
    }

    .precheck-item-desc {
      font-size: 0.74rem;
      color: var(--text-muted);
      margin-top: 2px;
    }

    .precheck-result-msg {
      font-size: 0.76rem;
      font-weight: 600;
      margin-top: 0.4rem;
      display: inline-block;
    }

    .precheck-result-msg.success {
      color: #34d399;
    }

    .precheck-result-msg.score {
      font-family: var(--font-mono);
      color: #34d399;
      background: rgba(16, 185, 129, 0.12);
      padding: 3px 8px;
      border-radius: 6px;
      border: 1px solid rgba(16, 185, 129, 0.25);
    }

    .precheck-evidence-toggle {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      margin-top: 0.5rem;
      font-size: 0.73rem;
      font-weight: 600;
      color: var(--text-muted);
      cursor: pointer;
      padding: 3px 8px;
      border-radius: 6px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.08);
      transition: all 0.2s ease;
      user-select: none;
    }

    .precheck-evidence-toggle:hover {
      color: var(--text-main);
      background: rgba(255, 255, 255, 0.08);
      border-color: rgba(255, 255, 255, 0.15);
    }

    .evidence-chevron {
      transition: transform 0.25s ease;
    }

    .precheck-evidence-toggle.open .evidence-chevron {
      transform: rotate(90deg);
    }

    .precheck-evidence-drawer {
      margin-top: 0.5rem;
      padding: 0.75rem 0.85rem;
      border-radius: 8px;
      background: rgba(0, 0, 0, 0.35);
      border: 1px solid rgba(255, 255, 255, 0.08);
      font-size: 0.74rem;
      line-height: 1.5;
      color: var(--text-main);
      white-space: pre-wrap;
      word-break: break-word;
      backdrop-filter: blur(8px);
    }

