.rai-clock-widget{
  width: 220px;
  max-width: 100%;
  box-sizing: border-box;
  padding: 10px;
  border: 2px solid rgba(255,255,255,.18);
  background:
    radial-gradient(120% 120% at 30% 20%, #163a9a 0%, #0b1e5c 45%, #06153f 100%);
  color: #fff;
  font-family: "Courier New", Courier, monospace;
}

/* date bar */
.rai-date{
  width: 100%;
  box-sizing: border-box;
  padding: 6px 8px;
  margin-bottom: 10px;
  border: 2px solid rgba(255,255,255,.22);
  background: rgba(0,0,0,.22);
  color: rgba(255,255,255,.95);
  font-size: 15px;
  letter-spacing: 1px;
  text-align: left;
  user-select: text;
}

.rai-clock-face{
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  display: grid;
  place-items: center;
}

.rai-clock-svg{
  width: 100%;
  height: 100%;
  display: block;
  filter: saturate(1.05);
}

.rai-ring{
  fill: transparent;
  stroke: rgba(255,255,255,.25);
  stroke-width: 2;
}

/* ticks */
.rai-tick{
  stroke: rgba(255,255,255,.95);
  stroke-linecap: square;
}
.rai-tick.minor{
  stroke-width: 2;
  opacity: .9;
}
.rai-tick.major{
  stroke-width: 4;
  opacity: 1;
}

/* hands */
.rai-hand{
  stroke: #fff;
  stroke-linecap: square;
  transform-origin: 0px 0px;
}
.rai-hour{
  stroke-width: 6;
  opacity: .95;
}
.rai-minute{
  stroke-width: 4;
  opacity: .98;
}
.rai-second{
  stroke-width: 2.2;
  opacity: .95;
}

.rai-cap{
  fill: #fff;
  opacity: .95;
}

.rai-clock-label{
  margin-top: 8px;
  text-align: right;
  font-size: 14px;
  letter-spacing: 1px;
  opacity: .9;
  user-select: none;
}

/* sidebar-friendly */
@media (max-width: 420px){
  .rai-clock-widget{ width: 180px; display:none !important; }
}
  .rai-date{ font-size: 13px; }
  .rai-clock-label{ font-size: 12px; }