#desktopWidgets {
  display: none;
  position: absolute;
  z-index: 0;
  top: 51px;
  left: 24px;
  width: clamp(240px, 21vw, 320px);
  gap: 11px;
  color: #f7f7fa;
  font-family: var(--os-font);
}
@media (min-width: 1024px) {
  #desktopWidgets { display: grid; }
}
.workspace .dw-card {
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid #ffffff28;
  border-radius: 19px;
  background: linear-gradient(145deg, #23272ace, #12151de8);
  color: #f7f7fa;
  box-shadow: 0 5px 16px #080d171f, inset 0 1px 0 #ffffff07;
  backdrop-filter: blur(20px) saturate(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.1);
}
.workspace .dw-feature {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  isolation: isolate;
  min-width: 0;
  aspect-ratio: 2.23;
  padding: 16px 17px 15px;
  background-color: #26392f;
  text-decoration: none;
}
.dw-still, .dw-feature::before { position: absolute; inset: 0; pointer-events: none; }
.dw-still {
  z-index: -2;
  background-size: 205% 227%;
  background-position: 0 12%;
  transition: transform .25s ease-out;
}
.dw-feature::before {
  content: "";
  z-index: -1;
  background: linear-gradient(180deg, #06101bc2, transparent 48%, #081213db), linear-gradient(90deg, #11191052, transparent 70%);
}
.dw-feature:hover .dw-still { transform: scale(1.025); }
.dw-kicker, .dw-mini > strong {
  font-size: 10px;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.dw-kicker { color: #ecf4ee; }
.dw-feature-bottom { display: flex; align-items: end; justify-content: space-between; gap: 9px; }
.dw-feature-bottom strong {
  max-width: 85%;
  font-size: clamp(19px, 1.55vw, 25px);
  line-height: 1.06;
  letter-spacing: -.045em;
  font-weight: 680;
  text-wrap: balance;
  text-shadow: 0 1px 4px #0812138a;
}
:lang(zh-CN) .dw-feature-bottom strong { letter-spacing: -.015em; }
.dw-arrow {
  display: grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  border: 1px solid #ffffff72;
  border-radius: 50%;
  background: #15201f4a;
  color: white;
  font: 15px/1 var(--os-font);
}
.dw-pair { display: grid; grid-template-columns: 1fr 1fr; gap: inherit; }
.workspace .dw-clock, .workspace .dw-mini { min-width: 0; width: 100%; aspect-ratio: 1; }
.dw-clock { display: grid; place-items: center; }
.dw-dial {
  position: relative;
  width: 86%;
  max-height: 94%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #f9f8f5;
  color: #191b1d;
  container-type: inline-size;
}
.dw-dial::before, .dw-dial::after {
  content: "";
  position: absolute;
  inset: 2.5%;
  border-radius: 50%;
  background: repeating-conic-gradient(from -.5deg, #242628 0 1deg, transparent 1deg 6deg);
  mask-image: radial-gradient(closest-side, transparent 94%, black 95%);
}
.dw-dial::after {
  background: repeating-conic-gradient(from -.65deg, #191b1d 0 1.3deg, transparent 1.3deg 30deg);
  mask-image: radial-gradient(closest-side, transparent 90%, black 91%);
}
.dw-dial b {
  position: absolute;
  transform: translate(-50%, -50%);
  font: 650 12px/1 var(--os-font);
  font-size: 10.4cqi;
  letter-spacing: -.06em;
}
.dw-hand {
  position: absolute;
  left: 50%;
  bottom: 50%;
  border-radius: 4px;
  background: #191b1d;
  transform-origin: center bottom;
}
.dw-hour { width: 4.1%; height: 26%; transform: translateX(-50%) rotate(var(--hour)); }
.dw-minute { width: 2.9%; height: 39%; transform: translateX(-50%) rotate(var(--minute)); }
.dw-second { width: 1.15%; height: 44%; background: #e79532; transform: translateX(-50%) rotate(var(--second)); }
.dw-second::after { content: ""; position: absolute; inset: 100% 0 auto; height: 19%; background: inherit; }
.dw-pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 4.2%; aspect-ratio: 1; border: 1px solid #202225; border-radius: 50%; background: #e79532; }
.workspace .dw-mini {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 5%;
  padding: 8% 9%;
  text-align: left;
  cursor: pointer;
  container-type: inline-size;
}
.dw-mini > strong { color: #ff8275; font-size: clamp(8px, 8.5cqi, 12px); letter-spacing: .035em; }
.dw-grid { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); align-items: center; text-align: center; }
.dw-grid > span { display: grid; place-items: center; }
.dw-grid > [aria-current="date"] { border-radius: 50%; background: #d6444d; color: #fff; font-weight: 700; }
.dw-grid-mini { font: 650 clamp(8px, 7.8cqi, 11px)/1 var(--os-font); color: #fff; }
.dw-grid-mini > span { width: 100%; aspect-ratio: 1.18; }
.dw-grid-mini > [aria-current="date"] { border-radius: 8px; }
.dw-weekday { color: #b6b9bf; }
.dw-grid-mini .dw-weekday { margin-bottom: 2px; }
.workspace .dw-collection {
  display: grid;
  grid-template-columns: 31% minmax(0, 1fr);
  align-items: center;
  gap: 7%;
  min-height: 0;
  padding: 10px 16px;
  aspect-ratio: 2.29;
}
.dw-rings { position: relative; width: 100%; aspect-ratio: 1; }
.dw-all { --ring-color: #ff727e; }
.dw-research { --ring-color: #b6dc6a; }
.dw-apps { --ring-color: #6bd7dd; }
.dw-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(var(--ring-color) var(--arc), color-mix(in srgb, var(--ring-color) 24%, #21252c) 0);
  mask-image: radial-gradient(closest-side, transparent 82%, #000 84%);
}
.dw-ring.dw-research { inset: 10.5%; mask-image: radial-gradient(closest-side, transparent 77%, #000 79%); }
.dw-ring.dw-apps { inset: 21%; mask-image: radial-gradient(closest-side, transparent 68%, #000 70%); }
.dw-links { display: grid; }
.workspace .dw-links a {
  display: grid;
  grid-template-columns: 5px 1fr auto;
  align-items: center;
  gap: 7px;
  min-height: 27px;
  color: #f6f5f7;
  text-decoration: none;
  font-size: clamp(11px, .92vw, 14px);
  font-weight: 550;
  line-height: 1.15;
}
.dw-links a + a { border-top: 1px solid #ffffff19; }
.dw-bullet { width: 5px; height: 5px; border-radius: 50%; background: var(--ring-color); }
.dw-links b { color: var(--ring-color); font-size: 1.12em; font-variant-numeric: tabular-nums; }
.dw-links a:hover span:nth-child(2) { text-decoration: underline; text-underline-offset: 3px; }
.dw-month { color: inherit; font-family: var(--os-font); }
.dw-month-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 7px; }
.dw-month-head > strong { font-size: 15px; line-height: 1.15; }
.dw-month-nav { display: flex; align-items: center; gap: 2px; }
.workspace .dw-month-nav button { width: auto; min-width: 26px; min-height: 28px; padding: 2px 5px; border-radius: 6px; color: inherit; font: 550 13px var(--os-font); }
.workspace .dw-month-nav button:hover { background: #acb2c130; }
.dw-month .dw-grid { grid-auto-rows: 28px; font: 550 12px var(--os-font); }
.dw-month .dw-grid > span { justify-self: center; width: 25px; height: 25px; }
.dw-month .dw-weekday { color: inherit; opacity: .67; font-size: 10px; }
.dw-compact { display: grid; gap: 8px; padding-top: 10px; }
.workspace .dw-compact .dw-feature { aspect-ratio: auto; height: 95px; padding: 11px 13px; border-radius: 13px; }
.dw-compact .dw-feature-bottom strong { font-size: 19px; }
.workspace .dw-compact .dw-collection { aspect-ratio: auto; grid-template-columns: 58px 1fr; padding: 7px 13px; border-radius: 13px; }
@media (min-width: 1024px) and (max-height: 570px) {
  #desktopWidgets { gap: 7px; top: 41px; }
  #desktopWidgets .dw-feature { aspect-ratio: auto; height: clamp(74px,17vh,96px); padding-block: 10px; }
  #desktopWidgets .dw-pair > * { aspect-ratio: auto; height: clamp(96px,24vh,125px); }
  #desktopWidgets .dw-dial { width: min(86%, 21vh); }
  #desktopWidgets .dw-mini { padding-block: 3px; gap: 1px; }
  #desktopWidgets .dw-grid-mini > span { aspect-ratio: auto; height: 11px; }
  #desktopWidgets .dw-collection { aspect-ratio: auto; padding-block: 6px; }
  #desktopWidgets .dw-rings { max-width: 72px; }
  #desktopWidgets .dw-links a { min-height: 23px; }
}
@media (prefers-reduced-motion: reduce) { .dw-still { transition: none; } }
