
  :root {
    --bg: #0f1216;
    --fg: #f2f4f8;
    --muted: #a9b0c2;
    --accent: #6ea8fe;
  }

  * {
    box-sizing: border-box;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  }

  body {
    margin: 0;
    background: var(--bg);
    color: var(--fg);
    overflow: hidden;
  }

  /* ===== CLOCK ===== */
  .clock {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .time {
    font-size: clamp(4rem, 12vw, 10rem);
    letter-spacing: 0.08em;
    font-variant-numeric: tabular-nums;
  }

  .meta {
    margin-top: 1rem;
    font-size: 2.2rem;
    color: var(--muted);
  }

  /* ===== YEAR WIDGET ===== */
  .year-widget {
    position: fixed;
    top: 16px;
    left: 16px;
    width: 340px;
    padding: 12px 14px;
    background: rgba(15,18,22,0.85);
    backdrop-filter: blur(6px);
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
    font-size: 0.85rem;
  }

  .year-widget .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    white-space: nowrap;
  }

  .year-widget .label { color: var(--muted); }
  .year-widget .percent { font-weight: bold; }

  .bar {
    margin-top: 6px;
    height: 5px;
    background: rgba(255,255,255,0.12);
    border-radius: 999px;
    overflow: hidden;
  }

  .fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), #9ec5fe);
    transition: width 0.3s ease;
  }

  /* ===== DAY PROGRESS BAR ===== */
  .day-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(15,18,22,0.85);
  }

  .day-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), #9ec5fe);
    transition: width 0.3s ease;
  }

  @media (max-width: 640px) {
    body {
      overflow: hidden;
    }

    .clock {
      padding: 14vh 16px 10vh;
    }

    .time {
      font-size: clamp(2.8rem, 18vw, 5.2rem);
      letter-spacing: 0.04em;
    }

    .meta {
      margin-top: 0.65rem;
      font-size: 1.1rem;
      text-align: center;
    }

    .year-widget {
      position: fixed;
      top: auto;
      left: 12px;
      right: 12px;
      bottom: 20px;
      width: auto;
      padding: 12px 14px;
      border-radius: 14px;
      font-size: 0.95rem;
    }

    .bar {
      height: 6px;
      margin-top: 8px;
    }

    .day-bar {
      height: 4px;
    }
  }
