@font-face {
  font-family: "HarmonyOS Sans";
  src: url("./assets/HarmonyOS-Sans-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "HarmonyOS Sans";
  src: url("./assets/HarmonyOS-Sans-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "HarmonyOS Sans";
  src: url("./assets/HarmonyOS-Sans-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family:
    "HarmonyOS Sans",
    "HarmonyOS Sans SC",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  --design-width: 600;
  --design-height: 960;
  --screen-scale: 1;
  --card-step: 273px;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  background: #080a10;
}

button {
  padding: 0;
  color: inherit;
  font: inherit;
  border: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.custom-cursor {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  display: none;
  width: 64px;
  height: 64px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 100ms ease;
}

.custom-cursor.is-visible {
  opacity: 1;
}

.custom-cursor img {
  display: block;
  width: 100%;
  height: 100%;
  transform: scale(1);
  transition: transform 120ms cubic-bezier(0.22, 1, 0.36, 1);
}

.custom-cursor.is-clicking img {
  transform: scale(0.86);
}

@media (pointer: fine) and (hover: hover) {
  html,
  body,
  button,
  a {
    cursor: none !important;
  }

  .custom-cursor {
    display: block;
  }
}

.stage {
  position: relative;
  width: calc(600px * var(--screen-scale));
  height: calc(960px * var(--screen-scale));
}

.watch-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 600px;
  height: 960px;
  overflow: hidden;
  border-radius: 64px;
  transform: scale(var(--screen-scale));
  transform-origin: left top;
  background: radial-gradient(
    ellipse 743px 1189px at 300px 1189px,
    #ffbf5b 10.851%,
    #ff9957 23.226%,
    #d5895a 29.097%,
    #ac795d 34.969%,
    #826860 40.841%,
    #585863 46.712%,
    #343d4e 60.729%,
    #223043 67.737%,
    #102238 74.745%,
    #080f20 100%
  );
}

.background,
.background__veil {
  position: absolute;
  inset: 0;
}

.background {
  overflow: hidden;
  pointer-events: none;
}

.background__overlay,
.background__wallpaper {
  position: absolute;
  display: block;
  max-width: none;
  user-select: none;
}

.background__overlay {
  top: -511px;
  left: 0;
  width: 1009px;
  height: 1794px;
  object-fit: cover;
}

.background__wallpaper {
  top: -268px;
  left: -216px;
  width: 1253px;
  height: 1253px;
  object-fit: cover;
}

.background__veil {
  background: rgb(0 0 0 / 30%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.clock {
  position: absolute;
  z-index: 2;
  top: 43px;
  left: 65px;
  color: #fff;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.25;
}

.workspace {
  position: absolute;
  z-index: 2;
  top: 110px;
  left: 32px;
  width: 536px;
  height: 812px;
  overflow: hidden;
  border-radius: 30px;
  background: rgb(0 0 0 / 20%);
}

.watch-screen.is-leaving-home .workspace,
.watch-screen.is-leaving-home .orb-button {
  animation: home-fade-out 450ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.watch-screen.is-glucose-plan .workspace,
.watch-screen.is-marathon .workspace,
.watch-screen.is-briefing .workspace,
.watch-screen.is-glucose-plan .orb-button,
.watch-screen.is-marathon .orb-button,
.watch-screen.is-briefing .orb-button {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.watch-screen.is-leaving-home .card-track,
.watch-screen.is-glucose-plan .card-track,
.watch-screen.is-marathon .card-track,
.watch-screen.is-briefing .card-track {
  animation-play-state: paused;
}

@keyframes home-fade-out {
  from {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }

  to {
    opacity: 0;
    filter: blur(14px);
    transform: scale(0.965);
  }
}

.workspace-title {
  position: absolute;
  top: 120px;
  left: 160px;
  display: flex;
  width: 216px;
  height: 50px;
  align-items: center;
  gap: 8px;
}

.workspace-title h1 {
  width: 160px;
  margin: 0;
  color: #fff;
  font-family: "HarmonyOS Sans", "PingFang SC", sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 50px;
  text-align: center;
  white-space: nowrap;
}

.workspace-title img {
  display: block;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
}

.create-button {
  position: absolute;
  top: 200px;
  left: 112px;
  width: 304px;
  height: 302px;
  border-radius: 50%;
  background: transparent;
  transition:
    transform 160ms ease,
    filter 160ms ease;
}

.create-ring {
  position: absolute;
  display: block;
  max-width: none;
  pointer-events: none;
}

.create-ring--outer {
  inset: 0;
  width: 304px;
  height: 302px;
}

.create-ring--three {
  top: 34px;
  left: 34px;
  width: 237px;
  height: 237px;
}

.create-ring--two {
  top: 60px;
  left: 60px;
  width: 184px;
  height: 184px;
}

.create-button span,
.create-button span::after {
  display: none;
}

.create-button span::after {
  top: 0;
  left: 0;
  transform: rotate(90deg);
}

.create-button:active {
  filter: brightness(1.16);
  transform: scale(0.94);
}

.create-button:focus-visible,
.service-card:focus-visible,
.orb-button:focus-visible {
  outline: 3px solid rgb(52 255 239 / 75%);
  outline-offset: -3px;
}

.carousel {
  position: absolute;
  top: 516px;
  left: 0;
  width: 536px;
  height: 240px;
  overflow: hidden;
  -webkit-mask-image: url("./assets/latest-carousel-mask.svg");
  mask-image: url("./assets/latest-carousel-mask.svg");
  -webkit-mask-position: 0 0;
  mask-position: 0 0;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 536px 240px;
  mask-size: 536px 240px;
  touch-action: pan-y;
}

.card-track {
  position: absolute;
  top: 27px;
  left: -136px;
  display: flex;
  gap: 14px;
  width: max-content;
  height: 185px;
  animation: service-card-marquee 12s linear infinite;
  will-change: transform;
}

@keyframes service-card-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-822px, 0, 0);
  }
}

.service-card {
  position: relative;
  flex: 0 0 260px;
  width: 260px;
  height: 185px;
  overflow: hidden;
  border-radius: 30px;
  background: rgb(255 255 255 / 10%);
  text-align: center;
}

.service-card::after {
  position: absolute;
  inset: 0;
  content: "";
  border-radius: inherit;
  background: rgb(255 255 255 / 0%);
  transition: background 160ms ease;
}

.service-card:active::after {
  background: rgb(255 255 255 / 6%);
}

.service-icon {
  position: absolute;
  top: 16px;
  left: 98px;
  width: 64px;
  height: 55.07px;
  overflow: hidden;
  pointer-events: none;
}

.service-icon img {
  position: absolute;
  width: 158.3px;
  height: 159.1px;
  max-width: none;
}

.service-icon--briefing img {
  top: -16.88px;
  left: -13.38px;
}

.service-icon--marathon img {
  top: -80.84px;
  left: -13.38px;
}

.service-icon--glucose img {
  top: -90.36px;
  left: -86.62px;
  width: 170.66px;
  height: 170.47px;
}

.service-icon--glucose {
  top: 16px;
  left: 96px;
  width: 69px;
  height: 59px;
}

.service-card strong,
.service-card small {
  position: absolute;
  left: 0;
  display: block;
  width: 260px;
  white-space: nowrap;
}

.service-card strong {
  top: 80px;
  color: #fff;
  font-size: 32px;
  font-weight: 500;
  line-height: 54px;
}

.service-card small {
  top: 125px;
  color: rgb(255 255 255 / 60%);
  font-size: 24px;
  font-weight: 400;
  line-height: 54px;
}

.orb-button {
  position: absolute;
  z-index: 3;
  top: 400px;
  left: 233px;
  width: 126px;
  height: 126px;
  overflow: hidden;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  transition:
    transform 180ms ease,
    filter 180ms ease;
}

.orb-button img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.orb-button:active {
  filter: brightness(1.12);
  transform: scale(0.94);
}

.glucose-plan-screen {
  position: absolute;
  z-index: 2;
  inset: 0;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.glucose-plan-screen,
.glucose-plan-screen * {
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

.glucose-plan-screen.is-active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  animation: marathon-screen-in 320ms ease-out both;
}

.glucose-plan-card {
  position: absolute;
  z-index: 4;
  top: 110px;
  left: 24px;
  width: 553px;
  height: 372px;
  overflow: visible;
  border: 1px solid rgb(255 255 255 / 38%);
  border-radius: 30px;
  background: rgb(0 0 0 / 5%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 7%);
}

.glucose-plan-card h2 {
  position: absolute;
  top: 28px;
  left: 28px;
  width: 300px;
  margin: 0;
  color: #fff;
  font-size: 36px;
  font-weight: 500;
  line-height: normal;
}

.glucose-plan-day,
.glucose-plan-target,
.glucose-plan-chart-title {
  position: absolute;
  margin: 0;
  color: rgb(255 255 255 / 60%);
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  white-space: nowrap;
}

.glucose-plan-day {
  top: 86px;
  left: 28px;
}

.glucose-plan-target {
  top: 86px;
  right: 29px;
}

.glucose-plan-progress {
  position: absolute;
  top: 133px;
  left: 28px;
  width: 496px;
  height: 18px;
  overflow: hidden;
  border-radius: 12px;
  background: rgb(217 217 217 / 20%);
}

.glucose-plan-progress span {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: inherit;
  background: #00beb0;
}

.glucose-plan-chart-title {
  top: 175px;
  left: 28px;
}

.glucose-plan-chart {
  position: absolute;
  top: 222px;
  left: 27px;
  width: 476px;
  height: 113px;
  border-top: 1px solid rgb(255 255 255 / 15%);
  border-bottom: 1px solid rgb(255 255 255 / 15%);
}

.glucose-plan-chart__grid {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    rgb(255 255 255 / 11%) 0 1px,
    transparent 1px 79px
  );
  mask-image: repeating-linear-gradient(
    180deg,
    #000 0 2px,
    transparent 2px 4px
  );
}

.glucose-plan-chart__target,
.glucose-plan-chart__fill,
.glucose-plan-chart__line {
  position: absolute;
  display: block;
  max-width: none;
  pointer-events: none;
}

.glucose-plan-chart__target {
  z-index: 1;
  top: 26px;
  left: 0;
  width: 476px;
  height: 1px;
}

.glucose-plan-chart__fill {
  z-index: 1;
  top: 20px;
  left: 0;
  width: 474px;
  height: 91px;
}

.glucose-plan-chart__line {
  z-index: 2;
  top: 20px;
  left: 0;
  width: 474px;
  height: 60px;
}

.glucose-plan-point {
  position: absolute;
  z-index: 3;
  width: 12px;
  height: 12px;
  border: 2px solid #00beb0;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
}

.glucose-plan-point.is-filled {
  border-color: #fff;
  background: #00beb0;
}

.glucose-plan-point--1 { top: 79px; left: 2px; }
.glucose-plan-point--2 { top: 59px; left: 79px; }
.glucose-plan-point--3 { top: 47px; left: 158px; }
.glucose-plan-point--4 { top: 29px; left: 237px; }
.glucose-plan-point--5 { top: 24px; left: 316px; }
.glucose-plan-point--6 { top: 24px; left: 395px; }
.glucose-plan-point--7 { top: 21px; left: 475px; }

.glucose-plan-axis,
.glucose-plan-date {
  position: absolute;
  z-index: 4;
  color: rgb(255 255 255 / 60%);
  font-size: 20px;
  font-weight: 400;
  line-height: 32px;
  white-space: nowrap;
}

.glucose-plan-axis {
  left: 480px;
}

.glucose-plan-axis--90 { top: -16px; }
.glucose-plan-axis--80 { top: 41px; }
.glucose-plan-axis--70 { top: 98px; }

.glucose-plan-date {
  top: 113px;
  transform: translateX(-50%);
}

.glucose-plan-date--1 { left: 16px; }
.glucose-plan-date--2 { left: 95px; }
.glucose-plan-date--3 { left: 174px; }
.glucose-plan-date--4 { left: 253px; }
.glucose-plan-date--5 { left: 332px; }
.glucose-plan-date--6 { left: 411px; }
.glucose-plan-date--7 { left: 476px; }

.glucose-plan-summary {
  position: absolute;
  z-index: 4;
  top: 514px;
  left: 53px;
  width: 484px;
  margin: 0;
  color: #fff;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.25;
}

.glucose-meal-card {
  position: absolute;
  z-index: 4;
  top: 622px;
  left: 24px;
  width: 553px;
  height: 247px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 42%);
  border-radius: 30px;
  background: rgb(0 0 0 / 5%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 7%);
}

.glucose-plan-skeleton {
  position: absolute;
  z-index: 3;
  inset: 0;
  opacity: 0;
  transition: opacity 260ms ease;
}

.glucose-plan-screen.is-active .glucose-plan-skeleton {
  opacity: 1;
}

.glucose-plan-screen.is-complete .glucose-plan-skeleton {
  visibility: hidden;
  opacity: 0;
}

.glucose-plan-skeleton__panel {
  position: absolute;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 30px;
  background: rgb(0 0 0 / 7%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 7%),
    0 16px 48px rgb(27 19 67 / 10%);
  transition:
    opacity 300ms ease,
    filter 300ms ease,
    transform 300ms ease;
}

.glucose-plan-skeleton__panel--summary {
  top: 110px;
  left: 24px;
  width: 553px;
  height: 372px;
}

.glucose-plan-skeleton__panel--meal {
  top: 622px;
  left: 24px;
  width: 553px;
  height: 247px;
}

.glucose-plan-skeleton__panel.is-resolved {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(-3px);
}

.glucose-plan-skeleton__group {
  position: absolute;
  inset: 0;
  transition:
    opacity 300ms ease,
    filter 300ms ease,
    transform 300ms ease;
}

.glucose-plan-skeleton__group.is-resolved {
  opacity: 0;
  filter: blur(9px);
  transform: translateY(-4px);
}

.glucose-plan-skeleton__shape {
  position: absolute;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(
    100deg,
    rgb(255 255 255 / 7%) 12%,
    rgb(80 229 255 / 34%) 34%,
    rgb(151 102 255 / 42%) 49%,
    rgb(255 151 86 / 42%) 63%,
    rgb(255 255 255 / 7%) 86%
  );
  background-size: 280% 100%;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 4%);
  animation: skeleton-spectrum 1.35s linear infinite;
}

.glucose-plan-skeleton__shape--title {
  top: 138px;
  left: 52px;
  width: 252px;
  height: 42px;
}

.glucose-plan-skeleton__shape--day {
  top: 199px;
  left: 52px;
  width: 125px;
  height: 26px;
}

.glucose-plan-skeleton__shape--target {
  top: 199px;
  right: 52px;
  width: 286px;
  height: 26px;
}

.glucose-plan-skeleton__shape--progress {
  top: 243px;
  left: 52px;
  width: 496px;
  height: 18px;
}

.glucose-plan-skeleton__shape--chart-title {
  top: 291px;
  left: 52px;
  width: 442px;
  height: 28px;
}

.glucose-plan-skeleton__shape--chart {
  top: 332px;
  left: 52px;
  width: 476px;
  height: 113px;
  border-radius: 18px;
}

.glucose-plan-skeleton__shape--copy-one,
.glucose-plan-skeleton__shape--copy-two {
  left: 53px;
  height: 32px;
}

.glucose-plan-skeleton__shape--copy-one {
  top: 520px;
  width: 484px;
}

.glucose-plan-skeleton__shape--copy-two {
  top: 560px;
  width: 430px;
}

.glucose-plan-skeleton__shape--meal-heading {
  top: 646px;
  left: 61px;
  width: 456px;
  height: 30px;
}

.glucose-plan-skeleton__shape--meal-row-one,
.glucose-plan-skeleton__shape--meal-row-two {
  left: 53px;
  width: 496px;
  height: 76px;
  border-radius: 16px;
}

.glucose-plan-skeleton__shape--meal-row-one {
  top: 691px;
}

.glucose-plan-skeleton__shape--meal-row-two {
  top: 786px;
}

.glucose-meal-card h2 {
  position: absolute;
  top: 24px;
  left: 36px;
  margin: 0;
  color: #fff;
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
}

.glucose-meal-type {
  position: absolute;
  top: 24px;
  right: 27px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
}

.glucose-meal-type img {
  display: block;
  width: 16px;
  height: 12px;
}

.glucose-meal {
  position: absolute;
  left: 0;
  width: 100%;
  height: 86px;
}

.glucose-meal--first { top: 66px; }
.glucose-meal--second { top: 161px; }

.glucose-meal__image {
  position: absolute;
  top: 8px;
  left: 41px;
  display: block;
  width: 70px;
  height: 70px;
  overflow: hidden;
  border-radius: 7px;
  box-shadow: 9px 6px 8.8px rgb(0 0 0 / 25%);
}

.glucose-meal__image img {
  position: absolute;
  top: -138px;
  left: -55px;
  display: block;
  width: 442px;
  height: 257px;
  max-width: none;
}

.glucose-meal strong,
.glucose-meal p {
  position: absolute;
  left: 140px;
  margin: 0;
  color: #fff;
  font-size: 24px;
  font-weight: 400;
  line-height: normal;
  white-space: nowrap;
}

.glucose-meal strong { top: 8px; }
.glucose-meal p { top: 43px; }

.glucose-plan-atmosphere {
  position: absolute;
  z-index: 4;
  top: 622px;
  left: 0;
  width: 600px;
  height: 338px;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: url("./assets/glucose-plan-bottom-mask.svg");
  mask-image: url("./assets/glucose-plan-bottom-mask.svg");
  -webkit-mask-position: 0 0;
  mask-position: 0 0;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 600px 338px;
  mask-size: 600px 338px;
}

.glucose-plan-atmosphere img {
  position: absolute;
  top: -622px;
  left: 0;
  display: block;
  width: 600px;
  height: 960px;
  max-width: none;
}

.marathon-screen {
  position: absolute;
  z-index: 2;
  inset: 0;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.marathon-screen.is-active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  animation: marathon-screen-in 320ms ease-out both;
}

.daily-brief-screen {
  position: absolute;
  z-index: 2;
  inset: 0;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.daily-brief-screen.is-active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  animation: marathon-screen-in 320ms ease-out both;
}

@keyframes marathon-screen-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.ai-aura {
  position: absolute;
  z-index: 1;
  inset: 72px -120px 18px;
  opacity: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 26%, rgb(58 241 255 / 46%), transparent 27%),
    radial-gradient(circle at 74% 42%, rgb(150 90 255 / 48%), transparent 31%),
    radial-gradient(circle at 48% 76%, rgb(255 144 79 / 50%), transparent 34%),
    radial-gradient(circle at 24% 88%, rgb(61 255 184 / 34%), transparent 25%);
  filter: blur(42px) saturate(1.35);
  mix-blend-mode: screen;
  transform-origin: center;
}

.glucose-plan-screen.is-active:not(.is-complete) .ai-aura,
.marathon-screen.is-active:not(.is-complete) .ai-aura {
  opacity: 0.72;
  animation: ai-aura-flow 2.8s linear infinite;
}

.daily-brief-screen.is-active:not(.is-complete) .ai-aura {
  opacity: 0.72;
  animation: ai-aura-flow 2.8s linear infinite;
}

.glucose-plan-screen.is-complete .ai-aura,
.marathon-screen.is-complete .ai-aura,
.daily-brief-screen.is-complete .ai-aura {
  opacity: 0.08;
  transition: opacity 900ms ease;
}

@keyframes ai-aura-flow {
  0% {
    transform: translate3d(-14px, -10px, 0) rotate(0deg) scale(1);
  }

  50% {
    transform: translate3d(18px, 12px, 0) rotate(180deg) scale(1.08);
  }

  100% {
    transform: translate3d(-14px, -10px, 0) rotate(360deg) scale(1);
  }
}

.marathon-skeleton,
.marathon-content {
  position: absolute;
  z-index: 3;
  inset: 0;
}

.marathon-skeleton {
  opacity: 0;
  transition: opacity 260ms ease;
}

.marathon-screen.is-active .marathon-skeleton {
  opacity: 1;
}

.marathon-screen.is-complete .marathon-skeleton {
  visibility: hidden;
  opacity: 0;
}

.skeleton-panel {
  position: absolute;
  border: 1px solid rgb(255 255 255 / 18%);
  background: rgb(0 0 0 / 7%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 7%),
    0 16px 48px rgb(27 19 67 / 10%);
}

.skeleton-panel--summary {
  top: 110px;
  left: 23px;
  width: 553px;
  height: 372px;
  border-radius: 30px;
}

.skeleton-panel--plan {
  top: 622px;
  left: 23px;
  width: 553px;
  height: 247px;
  border-radius: 30px;
  transition:
    opacity 300ms ease,
    filter 300ms ease;
}

.skeleton-panel--plan.is-resolved {
  opacity: 0;
  filter: blur(8px);
}

.skeleton-group {
  position: absolute;
  inset: 0;
  transition:
    opacity 300ms ease,
    filter 300ms ease,
    transform 300ms ease;
}

.skeleton-group.is-resolved {
  opacity: 0;
  filter: blur(9px);
  transform: translateY(-4px);
}

.skeleton-shape {
  position: absolute;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(
    100deg,
    rgb(255 255 255 / 7%) 12%,
    rgb(80 229 255 / 34%) 34%,
    rgb(151 102 255 / 42%) 49%,
    rgb(255 151 86 / 42%) 63%,
    rgb(255 255 255 / 7%) 86%
  );
  background-size: 280% 100%;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 4%);
  animation: skeleton-spectrum 1.35s linear infinite;
}

@keyframes skeleton-spectrum {
  from {
    background-position: 150% 0;
  }

  to {
    background-position: -130% 0;
  }
}

.skeleton-shape--title {
  top: 142px;
  left: 52px;
  width: 276px;
  height: 38px;
}

.skeleton-shape--meta-left {
  top: 199px;
  left: 52px;
  width: 125px;
  height: 26px;
}

.skeleton-shape--meta-right {
  top: 199px;
  left: 423px;
  width: 125px;
  height: 26px;
}

.skeleton-shape--progress {
  top: 243px;
  left: 52px;
  width: 496px;
  height: 18px;
}

.skeleton-shape--event-label {
  top: 304px;
  left: 52px;
  width: 176px;
  height: 28px;
}

.skeleton-shape--event-card {
  top: 354px;
  left: 52px;
  width: 496px;
  height: 92px;
  border-radius: 24px;
}

.skeleton-shape--event-icon {
  top: 371px;
  left: 77px;
  width: 60px;
  height: 59px;
  border-radius: 50%;
}

.skeleton-shape--event-title {
  top: 376px;
  left: 162px;
  width: 178px;
  height: 25px;
}

.skeleton-shape--event-date {
  top: 411px;
  left: 162px;
  width: 202px;
  height: 17px;
}

.skeleton-shape--advice-1,
.skeleton-shape--advice-2 {
  left: 53px;
  height: 32px;
}

.skeleton-shape--advice-1 {
  top: 520px;
  width: 484px;
}

.skeleton-shape--advice-2 {
  top: 560px;
  width: 402px;
}

.skeleton-shape--row {
  left: 51px;
  width: 496px;
  height: 57px;
}

.skeleton-shape--row-1 {
  top: 654px;
}

.skeleton-shape--row-2 {
  top: 716px;
}

.skeleton-shape--row-3 {
  top: 778px;
}

.marathon-content {
  z-index: 4;
}

.marathon-summary-panel {
  position: absolute;
  top: 110px;
  left: 23px;
  width: 553px;
  height: 372px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 38%);
  border-radius: 30px;
  background: rgb(0 0 0 / 5%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 7%);
}

.generated-block {
  opacity: 0;
  pointer-events: none;
}

.generated-block.is-visible {
  opacity: 1;
  pointer-events: auto;
  animation: ai-materialize 680ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes ai-materialize {
  0% {
    opacity: 0;
    filter: blur(14px) saturate(1.9) brightness(1.55);
    transform: translateY(14px) scale(0.985);
  }

  48% {
    opacity: 1;
    filter: blur(2px) saturate(1.6) brightness(1.28)
      drop-shadow(0 0 14px rgb(93 232 255 / 48%));
  }

  100% {
    opacity: 1;
    filter: blur(0) saturate(1) brightness(1);
    transform: translateY(0) scale(1);
  }
}

.marathon-summary-copy {
  position: absolute;
  inset: 0;
}

.marathon-summary-copy h2 {
  position: absolute;
  top: 26px;
  left: 28px;
  margin: 0;
  color: #fff;
  font-size: 36px;
  font-weight: 500;
  line-height: 1.25;
}

.marathon-week,
.marathon-progress-label,
.marathon-event-count {
  position: absolute;
  margin: 0;
  color: rgb(255 255 255 / 60%);
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
}

.marathon-week {
  top: 86px;
  left: 28px;
}

.marathon-progress-label {
  top: 86px;
  right: 27px;
  text-align: right;
}

.marathon-progress {
  position: absolute;
  top: 133px;
  left: 28px;
  width: 496px;
  height: 18px;
  overflow: hidden;
  border-radius: 12px;
  background: rgb(217 217 217 / 20%);
}

.marathon-progress span {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ff9957;
  box-shadow: 0 0 16px rgb(255 153 87 / 45%);
}

.marathon-event-count {
  top: 191px;
  left: 28px;
}

.marathon-event-card {
  position: absolute;
  top: 243px;
  left: 28px;
  width: 496px;
  height: 92px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 42%);
  border-radius: 24px;
  background:
    linear-gradient(110deg, rgb(255 255 255 / 9%), rgb(255 255 255 / 3%)),
    rgb(0 0 0 / 3%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  text-align: left;
}

.marathon-event-card strong,
.marathon-event-card small {
  position: absolute;
  left: 109px;
  display: block;
}

.marathon-event-card strong {
  top: 15px;
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
}

.marathon-event-card small {
  top: 50px;
  color: rgb(255 255 255 / 60%);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.marathon-event-icon {
  position: absolute;
  top: 16px;
  left: 24px;
  width: 60px;
  height: 59px;
}

.marathon-event-icon img {
  position: absolute;
  inset: 0;
  display: block;
  width: 60px;
  height: 59px;
}

.marathon-event-icon span {
  position: absolute;
  top: 9px;
  left: 0;
  width: 60px;
  color: #fff;
  font-size: 36px;
  line-height: 40px;
  text-align: center;
}

.marathon-event-arrow {
  position: absolute;
  top: 37.67px;
  right: 28.66px;
  display: block;
  width: 10.67px;
  height: 18.67px;
}

.marathon-advice {
  position: absolute;
  top: 508px;
  left: 53px;
  width: 484px;
  margin: 0;
  color: #fff;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.24;
}

.marathon-advice.is-typing::after {
  display: inline-block;
  width: 2px;
  height: 0.9em;
  margin-left: 4px;
  vertical-align: -0.08em;
  content: "";
  background: rgb(255 255 255 / 88%);
  animation: typewriter-caret 650ms steps(1, jump-end) infinite;
}

@keyframes typewriter-caret {
  0%,
  48% {
    opacity: 1;
  }

  49%,
  100% {
    opacity: 0;
  }
}

.marathon-plan-panel {
  position: absolute;
  top: 622px;
  left: 23px;
  width: 553px;
  height: 247px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 42%);
  border-radius: 30px;
  background: rgb(0 0 0 / 5%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 7%);
}

.training-row {
  position: absolute;
  left: 27px;
  width: 496px;
  height: 57px;
  border-radius: 12px;
  background: linear-gradient(
    90deg,
    rgb(217 217 217 / 20%) 0%,
    rgb(115 115 115 / 0%) 100%
  );
}

.training-row:nth-child(1) {
  top: 31px;
}

.training-row:nth-child(2) {
  top: 93px;
}

.training-row:nth-child(3) {
  top: 155px;
}

.training-row span,
.training-row strong,
.training-row b {
  position: absolute;
  top: 12px;
  color: #fff;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 32px;
}

.training-row span {
  left: 18px;
  width: 70px;
}

.training-row strong {
  left: 96px;
  width: 156px;
}

.training-row b {
  right: 12px;
  width: 156px;
  text-align: right;
}

.daily-brief-skeleton,
.daily-brief-content {
  position: absolute;
  z-index: 3;
  inset: 0;
}

.daily-brief-skeleton {
  opacity: 0;
  transition: opacity 260ms ease;
}

.daily-brief-screen.is-active .daily-brief-skeleton {
  opacity: 1;
}

.daily-brief-screen.is-complete .daily-brief-skeleton {
  visibility: hidden;
  opacity: 0;
}

.daily-skeleton-group {
  position: absolute;
  inset: 0;
  transition:
    opacity 300ms ease,
    filter 300ms ease,
    transform 300ms ease;
}

.daily-skeleton-group.is-resolved {
  opacity: 0;
  filter: blur(9px);
  transform: translateY(-4px);
}

.daily-skeleton-panel,
.daily-skeleton-shape {
  position: absolute;
  display: block;
  overflow: hidden;
  background: linear-gradient(
    100deg,
    rgb(255 255 255 / 7%) 12%,
    rgb(80 229 255 / 34%) 34%,
    rgb(151 102 255 / 42%) 49%,
    rgb(255 151 86 / 42%) 63%,
    rgb(255 255 255 / 7%) 86%
  );
  background-size: 280% 100%;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 8%);
  animation: skeleton-spectrum 1.35s linear infinite;
}

.daily-skeleton-panel {
  left: 23px;
  width: 553px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 30px;
}

.daily-skeleton-group--weather .daily-skeleton-panel {
  top: 110px;
  height: 130px;
}

.daily-skeleton-group--readiness .daily-skeleton-panel {
  top: 339px;
  height: 150px;
}

.daily-skeleton-group--todo .daily-skeleton-panel {
  top: 627px;
  height: 144px;
}

.daily-skeleton-shape {
  border-radius: 12px;
}

.daily-skeleton-shape--weather-icon {
  top: 141px;
  left: 53px;
  width: 67px;
  height: 67px;
  border-radius: 50%;
}

.daily-skeleton-shape--temperature {
  top: 136px;
  left: 142px;
  width: 86px;
  height: 42px;
}

.daily-skeleton-shape--condition {
  top: 188px;
  left: 142px;
  width: 142px;
  height: 24px;
}

.daily-skeleton-shape--copy-wide {
  top: 270px;
  left: 44px;
  width: 492px;
  height: 32px;
}

.daily-skeleton-shape--score {
  top: 372px;
  left: 56px;
  width: 126px;
  height: 46px;
}

.daily-skeleton-shape--state-grid {
  top: 367px;
  left: 221px;
  width: 335px;
  height: 98px;
  border-radius: 24px;
}

.daily-skeleton-shape--copy-line-1,
.daily-skeleton-shape--copy-line-2 {
  left: 44px;
  height: 32px;
}

.daily-skeleton-shape--copy-line-1 {
  top: 519px;
  width: 490px;
}

.daily-skeleton-shape--copy-line-2 {
  top: 559px;
  width: 416px;
}

.daily-skeleton-shape--todo-tag {
  top: 645px;
  left: 44px;
  width: 182px;
  height: 38px;
  border-radius: 24px;
}

.daily-skeleton-shape--todo-row {
  top: 710px;
  left: 53px;
  width: 483px;
  height: 42px;
}

.daily-skeleton-shape--focus-line {
  top: 798px;
  left: 44px;
  width: 492px;
  height: 32px;
}

.daily-brief-content {
  z-index: 4;
}

.daily-brief-card {
  position: absolute;
  left: 23px;
  width: 553px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 36%);
  border-radius: 30px;
  background: rgb(0 0 0 / 5%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 8%),
    0 16px 44px rgb(17 20 48 / 8%);
  backdrop-filter: blur(16px) saturate(125%);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
}

.daily-weather-card {
  top: 110px;
  height: 130px;
}

.daily-weather-icon {
  position: absolute;
  top: 30px;
  left: 29px;
  width: 67px;
  height: 67px;
}

.daily-temperature {
  position: absolute;
  top: 15px;
  left: 118px;
  margin: 0;
  color: #fff;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.25;
}

.daily-weather-range {
  position: absolute;
  top: 68px;
  left: 118px;
  margin: 0;
  color: #fff;
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  white-space: nowrap;
}

.daily-brief-copy {
  position: absolute;
  left: 44px;
  width: 512px;
  margin: 0;
  color: #fff;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.22;
}

.daily-weather-note {
  top: 264px;
  white-space: nowrap;
}

.daily-readiness-card {
  top: 339px;
  height: 150px;
}

.daily-readiness-score {
  position: absolute;
  top: 27px;
  left: 32px;
  width: 150px;
}

.daily-readiness-score p {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
  white-space: nowrap;
}

.daily-readiness-score strong {
  color: #fff;
  font-size: 40px;
  font-weight: 500;
  line-height: 50px;
}

.daily-readiness-score span {
  color: #64e0ff;
  font-size: 24px;
  font-weight: 400;
}

.daily-readiness-score small {
  display: block;
  margin-top: 1px;
  color: #fff;
  font-size: 20px;
  font-weight: 400;
  line-height: 32px;
  white-space: nowrap;
}

.daily-state-grid {
  position: absolute;
  top: 27px;
  left: 197px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 335px;
  height: 98px;
  padding: 11px 10px 8px;
  border-radius: 24px;
  background: rgb(217 217 217 / 14%);
}

.daily-state-item {
  position: relative;
  display: grid;
  grid-template-rows: 46px 30px;
  place-items: center;
}

.daily-state-item > img:first-child {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.daily-state-item:nth-child(2) > img:first-child {
  width: 40px;
  height: 38px;
}

.daily-state-item:nth-child(3) > img:first-child {
  width: 32px;
  height: 32px;
}

.daily-state-symbol {
  position: relative;
  display: block;
  width: 40px;
  height: 40px;
}

.daily-state-symbol--mood::before {
  position: absolute;
  top: 2px;
  left: 14px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: rgb(255 255 255 / 92%);
  content: "";
}

.daily-state-symbol--mood::after {
  position: absolute;
  bottom: 3px;
  left: 7px;
  width: 27px;
  height: 18px;
  border-radius: 14px 14px 7px 7px;
  background: rgb(255 255 255 / 92%);
  content: "";
}

.daily-state-symbol--mood i {
  position: absolute;
  right: 0;
  bottom: 3px;
  z-index: 1;
  width: 15px;
  height: 13px;
  border: 2px solid rgb(255 255 255 / 92%);
  border-radius: 50% 50% 45% 45%;
  background: #676b79;
  transform: rotate(-8deg);
}

.daily-state-symbol--heart {
  width: 38px;
  height: 38px;
}

.daily-state-symbol--heart::before {
  position: absolute;
  top: -4px;
  left: 1px;
  color: rgb(255 255 255 / 92%);
  font-family: Arial, sans-serif;
  font-size: 42px;
  line-height: 42px;
  content: "♥";
}

.daily-state-symbol--heart::after {
  position: absolute;
  top: 18px;
  left: 8px;
  z-index: 1;
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: #676b79;
  content: "";
}

.daily-state-symbol--heart i {
  position: absolute;
  top: 13px;
  left: 18px;
  z-index: 2;
  width: 8px;
  height: 9px;
  border-bottom: 3px solid #676b79;
  border-left: 3px solid #676b79;
  transform: rotate(42deg) skew(-8deg, -8deg);
}

.daily-state-item span {
  color: #fff;
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  white-space: nowrap;
}

.daily-state-item .daily-state-badge {
  position: absolute;
  right: 3px;
  bottom: 3px;
  width: 20px;
  height: 20px;
}

.daily-readiness-note {
  top: 513px;
}

.daily-todo-card {
  top: 627px;
  height: 144px;
}

.daily-todo-tag {
  position: absolute;
  top: 17px;
  left: 20px;
  width: 182px;
  height: 38px;
  margin: 0;
  border-radius: 24px;
  background: rgb(217 217 217 / 14%);
  color: #fff;
  font-size: 24px;
  font-weight: 400;
  line-height: 38px;
  text-align: center;
  white-space: nowrap;
}

.daily-todo-row {
  position: absolute;
  top: 78px;
  left: 29px;
  display: flex;
  align-items: center;
  width: 483px;
  height: 42px;
}

.daily-todo-check {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: 3px solid rgb(255 255 255 / 94%);
  border-radius: 50%;
}

.daily-todo-row strong {
  margin-left: 19px;
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  white-space: nowrap;
}

.daily-todo-row time {
  margin-left: auto;
  color: rgb(255 255 255 / 60%);
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
}

.daily-focus-note {
  top: 791px;
}

.generation-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html.is-embedded,
html.is-embedded body {
  background: transparent;
}

html.is-embedded,
html.is-embedded body,
html.is-embedded .stage,
html.is-embedded .watch-screen,
html.is-embedded .watch-screen * {
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

html.is-embedded .watch-screen {
  background: transparent;
}

html.is-embedded .background,
html.is-embedded .clock {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .card-track {
    animation: none;
    transform: translateX(-273px);
  }

  .watch-screen.is-leaving-home .workspace,
  .watch-screen.is-leaving-home .orb-button,
  .glucose-plan-screen.is-active,
  .marathon-screen.is-active,
  .daily-brief-screen.is-active,
  .glucose-plan-screen.is-active:not(.is-complete) .ai-aura,
  .marathon-screen.is-active:not(.is-complete) .ai-aura,
  .daily-brief-screen.is-active:not(.is-complete) .ai-aura,
  .glucose-plan-skeleton__shape,
  .skeleton-shape,
  .daily-skeleton-panel,
  .daily-skeleton-shape,
  .marathon-advice.is-typing::after,
  .generated-block.is-visible {
    animation: none;
  }

  .ai-aura {
    display: none;
  }

  .create-button,
  .orb-button,
  .custom-cursor img {
    transition: none;
  }
}
