.fbc-widget {
  --bg: #0b1020;
  --panel: rgba(10, 14, 28, 0.82);
  --panel-border: rgba(255, 255, 255, 0.12);
  --text: #e8eeff;
  --muted: rgba(232, 238, 255, 0.68);
  --accent: #8ad3ff;
  --accent-2: #8cffc2;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.fbc-card {
  max-width: 820px;
  margin: 24px auto;
  padding: 24px;
  border-radius: 28px;
  background: radial-gradient(circle at top, rgba(138, 211, 255, 0.11), transparent 42%), var(--panel);
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.fbc-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
  margin-bottom: 20px;
}

.fbc-kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  color: var(--muted);
}

.fbc-title {
  margin: 4px 0 0;
  font-size: 28px;
  line-height: 1.1;
}

.fbc-mode {
  font-size: 13px;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  white-space: nowrap;
}

.fbc-clock-wrap {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 10px 0 22px;
}

.fbc-clock-face {
  width: min(72vw, 360px);
  aspect-ratio: 1;
  position: relative;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 48%, rgba(255,255,255,0.09), rgba(255,255,255,0.03) 42%, rgba(0,0,0,0.22) 100%),
    linear-gradient(145deg, rgba(255,255,255,0.11), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    inset 0 0 0 10px rgba(255,255,255,0.03),
    inset 0 0 50px rgba(255,255,255,0.05),
    0 30px 70px rgba(0,0,0,0.25);
}

.fbc-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3px;
  height: 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.56);
  transform-origin: center 150px;
}

.fbc-mark-12,
.fbc-mark-3,
.fbc-mark-6,
.fbc-mark-9 {
  width: 4px;
  height: 22px;
  background: var(--accent);
}

.fbc-mark-12 { transform: translate(-50%, -150px) rotate(0deg); }
.fbc-mark-3 { transform: translate(-50%, -150px) rotate(90deg); }
.fbc-mark-6 { transform: translate(-50%, -150px) rotate(180deg); }
.fbc-mark-9 { transform: translate(-50%, -150px) rotate(270deg); }

.fbc-hand {
  position: absolute;
  left: 50%;
  bottom: 50%;
  transform-origin: 50% 100%;
  transform: translateX(-50%) rotate(0deg);
  border-radius: 999px;
}

.fbc-hand-hour {
  width: 7px;
  height: 25%;
  background: linear-gradient(to top, rgba(255,255,255,0.95), rgba(138,211,255,0.88));
  box-shadow: 0 0 14px rgba(138,211,255,0.32);
}

.fbc-hand-minute {
  width: 5px;
  height: 34%;
  background: linear-gradient(to top, rgba(255,255,255,0.92), rgba(140,255,194,0.86));
  box-shadow: 0 0 14px rgba(140,255,194,0.22);
}

.fbc-hand-second {
  width: 2px;
  height: 40%;
  background: linear-gradient(to top, rgba(255,120,120,0.95), rgba(255,255,255,0.95));
  box-shadow: 0 0 14px rgba(255,120,120,0.2);
}

.fbc-center-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(145deg, #fff, var(--accent));
  box-shadow: 0 0 0 8px rgba(255,255,255,0.06);
}

.fbc-digital {
  font-size: clamp(30px, 6vw, 48px);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  text-shadow: 0 0 18px rgba(138, 211, 255, 0.25);
}

.fbc-date {
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fbc-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.fbc-control {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.fbc-control > span {
  font-size: 14px;
  color: var(--text);
}

.fbc-control strong {
  justify-self: end;
  min-width: 1.2em;
  text-align: right;
  color: var(--accent);
}

.fbc-control input[type='range'] {
  width: 100%;
  accent-color: var(--accent);
}

.fbc-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 640px) {
  .fbc-card { padding: 18px; }
  .fbc-header { flex-direction: column; }
  .fbc-controls { grid-template-columns: 1fr; }
}
