    :root{
      --bg: #0b0b10;
      --fg: #ffffff;
      --muted: rgba(255,255,255,.65);
      --panel: rgba(255,255,255,.08);
      --panel2: rgba(255,255,255,.12);
      --radius: 18px;
    }

    body{
      margin: 0;
      background: var(--bg);
      color: var(--fg);
      font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    }

    /* top bar */
    .top{
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      padding: 14px 16px;
    }
    .brand{
      display: flex;
      align-items: center;
      gap: 10px;
      min-width: 180px;
    }
    .dot{
      width: 12px;
      height: 12px;
      border-radius: 999px;
      background: #ff3b30; /* "tomato-ish" accent */
      box-shadow: 0 0 18px rgba(255,59,48,.55);
    }
    .brand b{ font-weight: 700; letter-spacing: .2px; }
    .brand span{ color: var(--muted); font-size: 13px; }

    .controls{
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 10px;
    }

    .btn, .seg{
      border: 1px solid rgba(255,255,255,.14);
      background: var(--panel);
      color: var(--fg);
      border-radius: 999px;
      padding: 10px 12px;
      font-size: 13px;
      line-height: 1;
      cursor: pointer;
      user-select: none;
      transition: transform .05s ease, background .2s ease;
    }
    .btn:active{ transform: scale(.98); }
    .btn:hover{ background: var(--panel2); }

    .seg{
      display: inline-flex;
      gap: 6px;
      padding: 6px;
      border-radius: 999px;
    }
    .seg button{
      border: 0;
      background: transparent;
      color: var(--muted);
      padding: 8px 10px;
      border-radius: 999px;
      cursor: pointer;
      font-size: 13px;
    }
    .seg button.active{
      background: rgba(255,255,255,.12);
      color: var(--fg);
    }

    /* big clock area */
    .center{
      display: grid;
      place-items: center;
      padding: 10px 16px 18px;
    }

    .clock{
      width: min(1200px, 100%);
      text-align: center;
      user-select: none;
    }

    /* Use tabular numbers + heavy weight for a "digital" feel */
    .time{
      font-variant-numeric: tabular-nums;
      font-feature-settings: "tnum" 1, "ss01" 1;
      font-weight: 800;
      letter-spacing: .02em;
      line-height: 1;
      text-shadow: 0 20px 55px rgba(0,0,0,.5);
    }

    /* Responsive giant font */
    .time{
      font-size: clamp(64px, 14vw, 220px);
    }
    .date{
      margin-top: 14px;
      color: var(--muted);
      font-size: clamp(14px, 2.1vw, 22px);
      letter-spacing: .02em;
    }

    /* bottom hint bar */
    .bottom{
      padding: 12px 16px 14px;
      display: flex;
      justify-content: center;
      gap: 12px;
      color: var(--muted);
      font-size: 12px;
      text-align: center;
    }
    .kbd{
      border: 1px solid var(--muted);
      background: var(--panel);
      border-radius: 10px;
      padding: 4px 8px;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
      color: var(--fg);
    }

    /* fullscreen: keep cursor subtle */

.time-zone {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  position: relative;
}

.search-container {
  position: relative;
}

.time-zone input {
  background: var(--panel);
  color: var(--fg);
  border: 1px solid var(--muted);
  border-radius: 5px;
  padding: 5px;
  font-size: 14px;
  width: 200px;
}

.time-zone input:focus {
  outline: none;
  border-color: var(--fg);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--panel);
  border: 1px solid var(--muted);
  border-top: none;
  border-radius: 0 0 5px 5px;
  max-height: 200px;
  overflow-y: auto;
  display: none;
  z-index: 10;
}

.dropdown ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dropdown li {
  padding: 8px 10px;
  cursor: pointer;
  color: var(--fg);
  border-bottom: 1px solid var(--muted);
}

.dropdown li:hover {
  background: var(--bg);
}

.dropdown li:last-child {
  border-bottom: none;
}

@media (max-width: 768px) {
  .controls {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .seg {
    width: 100%;
    justify-content: center;
  }
  .time-zone {
    flex-direction: column;
    gap: 5px;
  }
  .time-zone input {
    width: 100%;
  }
  .dropdown {
    left: 0;
    right: 0;
  }
}