:root {
      --bg: #0b1220;
      --bg2: #121a2b;
      --bg3: #182235;
      --border: #263247;
      --border2: #1f2a3d;
      --fg: #e6edf3;
      --fg2: #9fb0c3;
      --green: #238636;
      --green2: #2ea043;
      --green3: #3fb950;
      --blue: #58a6ff;
      --warning: #d29922;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }

    body {
      font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
      background:
        radial-gradient(circle at top, rgba(88,166,255,0.08), transparent 35%),
        linear-gradient(180deg, #0b1220 0%, #0a0f1a 100%);
      color: var(--fg);
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
      min-height: 100vh;
    }

    a { color: var(--blue); text-decoration: none; }
    a:hover { color: #79c0ff; }

    .hdr {
      background: rgba(9, 14, 24, 0.82);
      border-bottom: 1px solid var(--border2);
      padding: 12px 16px;
      position: sticky;
      top: 0;
      z-index: 100;
      backdrop-filter: blur(10px);
    }

    .hdr-inner {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 8px;
      color: var(--fg);
      font-size: 15px;
      font-weight: 600;
      margin-right: auto;
    }

    .logo svg { fill: currentColor; }

    .hdr-nav {
      display: flex;
      gap: 4px;
    }

    .nav-link {
      color: var(--fg2);
      font-size: 13px;
      font-weight: 500;
      padding: 7px 11px;
      border-radius: 8px;
      transition: 0.2s ease;
    }

    .nav-link:hover {
      background: rgba(88,166,255,0.08);
      color: var(--fg);
    }

    @media (max-width: 600px) {
      .hdr-nav { display: none; }
    }

    .wrap {
      min-height: calc(100vh - 120px);
      display: flex;
      align-items: flex-start;
      justify-content: center;
      padding: 28px 12px;
    }

    .card {
      width: 100%;
      max-width: 680px;
      background: rgba(18, 26, 43, 0.92);
      border: 1px solid var(--border);
      border-radius: 18px;
      overflow: hidden;
      box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255,255,255,0.02) inset;
      backdrop-filter: blur(10px);
    }

    .card-top {
      padding: 18px 20px;
      border-bottom: 1px solid var(--border);
      background: linear-gradient(180deg, rgba(88,166,255,0.08) 0%, transparent 100%);
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .repo-icon {
      width: 40px;
      height: 40px;
      background: linear-gradient(180deg, #1b2740 0%, #131d31 100%);
      border: 1px solid var(--border);
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    }

    .repo-icon svg { fill: var(--blue); }

    .card-top-info { flex: 1; min-width: 0; }

    .card-title {
      font-size: 16px;
      font-weight: 700;
      color: var(--fg);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .card-sub {
      font-size: 12px;
      color: var(--fg2);
      margin-top: 2px;
    }

    .badge-ok {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 4px 10px;
      background: rgba(46,160,67,0.12);
      border: 1px solid rgba(46,160,67,0.28);
      border-radius: 999px;
      font-size: 11px;
      color: #7ee787;
      font-weight: 600;
      flex-shrink: 0;
    }

    .badge-dot {
      width: 14px;
      height: 14px;
      background: var(--green2);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 9px;
      color: #fff;
      font-weight: 700;
    }

    .card-body {
      padding: 20px;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .status-row {
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .spinner {
      width: 38px;
      height: 38px;
      border: 3px solid rgba(255,255,255,0.08);
      border-top-color: var(--blue);
      border-radius: 50%;
      animation: spin 0.9s linear infinite;
      flex-shrink: 0;
    }

    @keyframes spin { to { transform: rotate(360deg); } }

    .status-text-wrap { flex: 1; }

    .status-h {
      font-size: 17px;
      font-weight: 700;
      color: var(--fg);
      margin-bottom: 3px;
    }

    .status-p {
      font-size: 12px;
      color: var(--fg2);
    }

    .progress-block {
      background: rgba(9, 14, 24, 0.75);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 16px;
    }

    .countdown-row {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      margin-bottom: 10px;
    }

    .countdown-label {
      font-size: 12px;
      color: var(--fg2);
    }

    .countdown-val {
      font-size: 30px;
      font-weight: 800;
      color: var(--blue);
      font-variant-numeric: tabular-nums;
      letter-spacing: -1px;
      line-height: 1;
    }

    .bar-track {
      width: 100%;
      height: 10px;
      background: #0f1726;
      border: 1px solid var(--border2);
      border-radius: 999px;
      overflow: hidden;
      margin-bottom: 10px;
    }

    .bar-fill {
      height: 100%;
      width: 0%;
      background: linear-gradient(90deg, #2ea043 0%, #58a6ff 100%);
      transition: width 100ms linear;
      border-radius: 999px;
      position: relative;
      overflow: hidden;
    }

    .bar-fill::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
      animation: shimmer 1.4s infinite;
    }

    @keyframes shimmer {
      0% { transform: translateX(-100%); }
      100% { transform: translateX(100%); }
    }

    .redirect-note {
      font-size: 12px;
      color: var(--fg2);
      text-align: center;
    }

    .redirect-note strong {
      color: var(--fg);
    }

    .btn {
      width: 100%;
      padding: 12px 20px;
      background: linear-gradient(180deg, #2ea043 0%, #238636 100%);
      color: #fff;
      border: 1px solid rgba(255,255,255,0.05);
      border-radius: 10px;
      font-size: 14px;
      font-weight: 700;
      cursor: pointer;
      transition: 0.2s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      box-shadow: 0 10px 24px rgba(35,134,54,0.25);
    }

    .btn:hover {
      transform: translateY(-1px);
      filter: brightness(1.05);
    }

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

    .btn svg { fill: currentColor; }

    .sec-block {
      background: linear-gradient(135deg, rgba(88,166,255,0.08) 0%, rgba(46,160,67,0.08) 100%);
      border: 1px solid rgba(88,166,255,0.15);
      border-radius: 12px;
      padding: 14px 16px;
    }

    .sec-title {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      font-weight: 700;
      color: #79c0ff;
      margin-bottom: 10px;
    }

    .sec-title svg { fill: #79c0ff; }

    .sec-badges {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }

    .sec-badge {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 7px 10px;
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.06);
      border-radius: 8px;
      font-size: 12px;
      color: var(--fg);
      font-weight: 500;
      flex: 1;
      min-width: 110px;
    }

    .sec-badge svg { fill: var(--green3); flex-shrink: 0; }

    .info-note {
      background: rgba(210,153,34,0.08);
      border: 1px solid rgba(210,153,34,0.22);
      border-radius: 10px;
      padding: 12px 14px;
      display: flex;
      gap: 10px;
      font-size: 12px;
      color: var(--fg);
      line-height: 1.55;
    }

    .info-note svg {
      fill: var(--warning);
      flex-shrink: 0;
      margin-top: 1px;
    }

    footer {
      border-top: 1px solid var(--border2);
      background: rgba(7, 11, 18, 0.85);
      padding: 16px 20px;
    }

    .footer-inner {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 8px;
    }

    .footer-copy {
      font-size: 11px;
      color: var(--fg2);
    }

    .footer-links {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }

    .footer-links a {
      font-size: 11px;
      color: var(--fg2);
    }

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