:root {
  color-scheme: light;
  --ink: #172244;
  --ink-soft: #314066;
  --muted: #68769a;
  --muted-light: #8a96b6;
  --line: rgba(90, 109, 168, 0.14);
  --blue: #3568ff;
  --blue-deep: #214fdc;
  --violet: #7b5cff;
  --cyan: #17c6e8;
  --mint: #22c8a0;
  --glass: rgba(255, 255, 255, 0.7);
  --radius: 24px;
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.05), 0 26px 60px -34px rgba(55, 76, 150, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  --shadow-hover: 0 16px 36px rgba(64, 84, 160, 0.09), 0 36px 70px -34px rgba(55, 76, 150, 0.34), inset 0 1px 0 rgba(255, 255, 255, 1);
  --font-ui: "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-num: "Bahnschrift", "DIN Alternate", "Arial Narrow", "Segoe UI Variable Display", "Segoe UI", sans-serif;
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: #eef3ff;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  color: var(--ink);
  font-family: var(--font-ui);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(ellipse 80% 70% at 8% 0%, rgba(148, 181, 255, 0.58), transparent 60%),
    radial-gradient(ellipse 58% 58% at 96% 7%, rgba(201, 176, 255, 0.46), transparent 62%),
    radial-gradient(ellipse 70% 66% at 62% 104%, rgba(124, 226, 242, 0.3), transparent 64%),
    linear-gradient(138deg, #f8faff 0%, #edf2ff 45%, #f5f1ff 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.62;
  background-image:
    linear-gradient(rgba(86, 105, 170, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(86, 105, 170, 0.045) 1px, transparent 1px);
  background-size: 38px 38px;
  -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 35%, #000 0%, transparent 82%);
  mask-image: radial-gradient(ellipse 72% 70% at 50% 35%, #000 0%, transparent 82%);
}

::selection {
  color: #fff;
  background: rgba(53, 104, 255, 0.78);
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
}

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

.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(7px);
  opacity: 0.72;
  will-change: transform;
}

.orb-one {
  top: -170px;
  left: -100px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle at 40% 40%, rgba(135, 172, 255, 0.65), rgba(135, 172, 255, 0) 68%);
  animation: drift-one 18s ease-in-out infinite alternate;
}

.orb-two {
  top: -120px;
  right: -130px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle at 50% 48%, rgba(196, 163, 255, 0.52), rgba(196, 163, 255, 0) 70%);
  animation: drift-two 22s ease-in-out infinite alternate;
}

.orb-three {
  right: 4%;
  bottom: -240px;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle at 50% 50%, rgba(111, 224, 242, 0.36), rgba(111, 224, 242, 0) 72%);
  animation: drift-three 20s ease-in-out infinite alternate;
}

.ambient-haze {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 38%, rgba(255, 255, 255, 0.22));
}

.app-shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(1180px, 100%);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 30px clamp(18px, 4vw, 46px) 26px;
}

.glass {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  -webkit-backdrop-filter: blur(20px) saturate(145%);
  backdrop-filter: blur(20px) saturate(145%);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  border-radius: 14px;
  outline: none;
}

.brand:focus-visible {
  box-shadow: 0 0 0 4px rgba(53, 104, 255, 0.16);
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  color: #fff;
  border-radius: 14px;
  background: linear-gradient(145deg, #2f6bff 10%, #6b68ff 58%, #9d63ff 100%);
  box-shadow: 0 12px 24px -10px rgba(57, 93, 235, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.42);
  overflow: hidden;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: -30% 45% -30% -20%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  transform: rotate(20deg);
}

.brand-mark svg {
  position: relative;
  z-index: 1;
  width: 25px;
  height: 25px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.brand-copy strong {
  font-size: 17px;
  font-weight: 660;
  letter-spacing: -0.025em;
  color: #18264d;
}

.brand-copy span {
  color: var(--muted-light);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.19em;
  white-space: nowrap;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.date-chip,
.settings-btn {
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: 0 8px 24px -18px rgba(48, 68, 140, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}

.date-chip {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 15px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 520;
  white-space: nowrap;
}

.date-divider {
  width: 1px;
  height: 14px;
  background: rgba(91, 108, 161, 0.17);
}

.live-clock {
  color: var(--ink-soft);
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.settings-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 15px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 620;
  transition: transform 0.28s var(--ease-spring), background-color 0.28s, box-shadow 0.28s;
}

.settings-btn svg {
  width: 17px;
  height: 17px;
  color: var(--blue-deep);
}

.settings-btn:hover {
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 26px -18px rgba(48, 68, 140, 0.55), inset 0 1px 0 #fff;
  transform: translateY(-1px);
}

.settings-btn:active {
  transform: translateY(0) scale(0.98);
}

.settings-btn:focus-visible,
.icon-btn:focus-visible,
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(53, 104, 255, 0.16);
}

.hero-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 214px;
  align-items: center;
  gap: 22px;
  min-height: 312px;
  padding: 29px 34px;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 120% at 88% 12%, rgba(137, 159, 255, 0.2), transparent 64%),
    rgba(255, 255, 255, 0.7);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.54) 0%, rgba(255, 255, 255, 0) 34%),
    radial-gradient(ellipse 32% 70% at 75% 56%, rgba(119, 142, 255, 0.13), transparent 75%);
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.hero-sheen {
  position: absolute;
  top: -80%;
  left: 22%;
  z-index: 0;
  width: 190px;
  height: 250%;
  opacity: 0.42;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  transform: rotate(19deg);
}

.hero-watermark {
  position: absolute;
  top: 50%;
  right: 118px;
  z-index: 0;
  color: rgba(58, 96, 225, 0.035);
  font-family: var(--font-num);
  font-size: 310px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  transform: translateY(-49%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.status-line {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 27px;
  padding: 0 11px;
  color: #178565;
  font-size: 11px;
  font-weight: 680;
  letter-spacing: 0.02em;
  border: 1px solid rgba(42, 199, 156, 0.18);
  border-radius: 999px;
  background: rgba(42, 199, 156, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: color 0.35s, background-color 0.35s, border-color 0.35s;
}

.status-pill.is-before {
  color: #a46c0e;
  border-color: rgba(239, 164, 47, 0.22);
  background: rgba(245, 171, 54, 0.11);
}

.status-pill.is-after {
  color: #6650c4;
  border-color: rgba(123, 92, 255, 0.19);
  background: rgba(123, 92, 255, 0.09);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(42, 199, 156, 0.12);
  animation: status-pulse 2.1s ease-out infinite;
}

.status-pill.is-before .status-dot {
  box-shadow: 0 0 0 4px rgba(239, 164, 47, 0.13);
}

.status-pill.is-after .status-dot {
  box-shadow: 0 0 0 4px rgba(123, 92, 255, 0.11);
}

.mode-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted-light);
  font-family: var(--font-num);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.13em;
  white-space: nowrap;
}

.mode-line {
  display: inline-block;
  width: 17px;
  height: 1px;
  background: linear-gradient(90deg, rgba(53, 104, 255, 0.55), transparent);
}

.hero-title {
  margin: 15px 0 0;
  color: #192750;
  font-size: clamp(24px, 2.15vw, 31px);
  font-weight: 660;
  line-height: 1.23;
  letter-spacing: -0.04em;
}

.hero-subline {
  min-height: 21px;
  margin: 6px 0 17px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 450;
  line-height: 1.65;
  letter-spacing: 0.002em;
}

.earnings-block {
  position: relative;
  width: fit-content;
  max-width: 100%;
}

.earnings-label {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.earnings-value {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  margin-top: 0;
  transform-origin: left 70%;
}

.currency {
  margin-top: 8px;
  color: #365fdf;
  font-family: var(--font-num);
  font-size: clamp(25px, 2.8vw, 37px);
  font-weight: 680;
  line-height: 1;
  background: linear-gradient(135deg, #2c58df 0%, #6571ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.earnings-value strong {
  display: inline-block;
  padding-bottom: 0.06em;
  color: #2c5ef1;
  font-family: var(--font-num);
  font-size: clamp(55px, 6.6vw, 91px);
  font-weight: 660;
  font-variant-numeric: tabular-nums;
  line-height: 0.94;
  letter-spacing: -0.052em;
  background: linear-gradient(118deg, #1f51e9 0%, #4779ff 44%, #8862ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 12px 22px rgba(64, 92, 240, 0.13));
}

.earnings-value.is-ticking strong {
  animation: amount-tick 0.58s var(--ease-spring);
}

.earnings-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 19px;
  margin-top: 5px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 520;
  white-space: nowrap;
}

.live-rate {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #476481;
}

.live-rate i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(34, 200, 160, 0.11);
}

.meta-separator {
  width: 1px;
  height: 10px;
  background: rgba(91, 108, 161, 0.18);
}

.tick-burst {
  position: absolute;
  top: 23px;
  left: calc(100% + 15px);
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  color: #3470d8;
  font-family: var(--font-num);
  font-size: 10px;
  font-weight: 660;
  letter-spacing: 0.02em;
  border: 1px solid rgba(73, 124, 255, 0.13);
  border-radius: 999px;
  background: rgba(236, 243, 255, 0.78);
  box-shadow: 0 7px 16px -10px rgba(62, 91, 200, 0.4);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
}

.tick-burst.is-active {
  animation: tick-float 1.05s var(--ease-spring) both;
}

.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  width: 100%;
}

.orbit {
  --progress: 0%;
  --angle: 0deg;
  position: relative;
  display: grid;
  place-items: center;
  width: 188px;
  max-width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(from -90deg, #3269ff 0%, #8562ff var(--progress), rgba(108, 126, 187, 0.105) var(--progress), rgba(108, 126, 187, 0.105) 100%);
  box-shadow: 0 22px 48px -24px rgba(72, 92, 201, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.orbit::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.95), inset 0 15px 38px rgba(94, 112, 190, 0.06);
}

.orbit::after {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px dashed rgba(82, 105, 183, 0.1);
  border-radius: 50%;
}

.orbit-core {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  text-align: center;
}

.orbit-caption {
  color: var(--muted-light);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.orbit-value {
  color: #2757e1;
  font-family: var(--font-num);
  font-size: 38px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.orbit-value small {
  margin-left: 1px;
  color: #6d7cab;
  font-size: 14px;
  font-weight: 600;
}

.orbit-sub {
  color: rgba(93, 108, 155, 0.55);
  font-family: var(--font-num);
  font-size: 7px;
  font-weight: 650;
  letter-spacing: 0.19em;
}

.orbit-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: 11px;
  height: 11px;
  margin: -5.5px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  background: #7a5cff;
  box-shadow: 0 0 0 4px rgba(123, 92, 255, 0.14), 0 4px 10px rgba(64, 81, 186, 0.3);
  transform: rotate(var(--angle)) translateY(-86px);
  transition: transform 0.8s var(--ease-spring);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 29px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.hero-badge span {
  color: var(--muted-light);
  font-size: 9px;
}

.hero-badge strong {
  color: var(--ink-soft);
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 620;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.metric-card {
  position: relative;
  min-width: 0;
  min-height: 136px;
  padding: 18px 19px 16px;
  overflow: hidden;
  transition: transform 0.36s var(--ease-spring), box-shadow 0.36s, border-color 0.36s;
}

.metric-card::before {
  content: "";
  position: absolute;
  top: -52px;
  right: -38px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(130, 153, 255, 0.14), transparent 70%);
  pointer-events: none;
}

.metric-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.metric-icon {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.metric-icon svg {
  width: 17px;
  height: 17px;
}

.icon-blue {
  color: #3468f3;
  background: rgba(52, 104, 243, 0.095);
}

.icon-violet {
  color: #7b5cff;
  background: rgba(123, 92, 255, 0.095);
}

.icon-cyan {
  color: #0aa6c6;
  background: rgba(23, 198, 232, 0.1);
}

.icon-mint {
  color: #12a980;
  background: rgba(34, 200, 160, 0.105);
}

.metric-label {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.015em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metric-value {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 2px;
  min-width: 0;
  margin-top: 15px;
  color: #20305e;
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.metric-value strong {
  overflow: hidden;
  font-size: clamp(21px, 2.25vw, 29px);
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-overflow: ellipsis;
}

.metric-value--time strong {
  font-size: clamp(21px, 2.1vw, 27px);
  letter-spacing: -0.018em;
}

.metric-prefix {
  color: #52648e;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.metric-unit {
  margin-left: 2px;
  color: var(--muted-light);
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 560;
  letter-spacing: 0;
}

.metric-foot {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin: 8px 0 0;
  color: var(--muted-light);
  font-size: 9.5px;
  font-weight: 480;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.progress-card {
  margin-top: 15px;
  padding: 20px 24px 17px;
}

.progress-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.section-kicker {
  margin: 0 0 3px;
  color: #8390b1;
  font-family: var(--font-num);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.18em;
}

.progress-head h2 {
  margin: 0;
  color: #223058;
  font-size: 15px;
  font-weight: 640;
  letter-spacing: -0.018em;
}

.progress-percent {
  display: inline-flex;
  align-items: baseline;
  color: #2f61e9;
  font-family: var(--font-num);
  font-size: 31px;
  font-weight: 660;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -0.035em;
}

.progress-percent small {
  margin-left: 2px;
  color: #7481a7;
  font-size: 12px;
  font-weight: 600;
}

.progress-track {
  position: relative;
  width: 100%;
  height: 10px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(76, 95, 153, 0.075);
  box-shadow: inset 0 2px 5px rgba(57, 73, 131, 0.07), 0 1px 0 rgba(255, 255, 255, 0.9);
}

.progress-fill {
  position: relative;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #3368ff 0%, #6d6aff 54%, #17c6e8 100%);
  box-shadow: 0 0 14px rgba(71, 107, 255, 0.36), 0 0 5px rgba(25, 198, 232, 0.26);
  transition: width 0.9s var(--ease-spring);
}

.progress-fill::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 55%);
}

.progress-shine {
  position: absolute;
  top: -50%;
  left: -18%;
  width: 13%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.78), transparent);
  transform: skewX(-22deg);
  animation: progress-shine 3.2s ease-in-out infinite;
}

.progress-head-dot {
  position: absolute;
  top: 50%;
  right: 1px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.26), 0 0 12px rgba(255, 255, 255, 0.88);
  transform: translateY(-50%);
}

.progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 11px;
  color: var(--muted-light);
  font-size: 9.5px;
  font-weight: 500;
  line-height: 1.4;
}

.progress-endpoint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.progress-endpoint strong {
  color: #4f5f85;
  font-family: var(--font-num);
  font-size: 10.5px;
  font-weight: 620;
  letter-spacing: 0.02em;
}

.endpoint-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.endpoint-dot.is-start {
  background: #4f78ff;
  box-shadow: 0 0 0 3px rgba(79, 120, 255, 0.1);
}

.endpoint-dot.is-end {
  background: #1ac4df;
  box-shadow: 0 0 0 3px rgba(26, 196, 223, 0.1);
}

.progress-caption {
  overflow: hidden;
  flex: 1;
  color: #8490ad;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.progress-caption-detail {
  color: #96a0b8;
}

.app-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 16px;
  padding: 0 3px;
  color: rgba(103, 118, 158, 0.74);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.app-footer span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.app-footer i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 3px rgba(34, 200, 160, 0.09);
}

.app-footer span:last-child {
  font-family: var(--font-num);
  font-size: 8px;
  letter-spacing: 0.11em;
}

.settings-dialog {
  width: min(520px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: visible;
  color: var(--ink);
  border: 0;
  background: transparent;
}

.settings-dialog::backdrop {
  background: rgba(28, 40, 78, 0.24);
  -webkit-backdrop-filter: blur(8px) saturate(112%);
  backdrop-filter: blur(8px) saturate(112%);
}

.settings-panel {
  max-height: calc(100dvh - 32px);
  padding: 26px;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 28px;
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(150, 166, 255, 0.18), transparent 65%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.96), rgba(246, 249, 255, 0.9));
  box-shadow: 0 36px 90px -28px rgba(31, 47, 104, 0.46), inset 0 1px 0 #fff;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(92, 111, 170, 0.24) transparent;
}

.settings-dialog[open] .settings-panel {
  animation: dialog-in 0.36s var(--ease-spring) both;
}

.settings-panel::-webkit-scrollbar {
  width: 7px;
}

.settings-panel::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: rgba(92, 111, 170, 0.2);
  background-clip: padding-box;
}

.settings-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.settings-head h2 {
  margin: 2px 0 0;
  color: #1c2a53;
  font-size: 21px;
  font-weight: 660;
  letter-spacing: -0.035em;
}

.settings-desc {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  color: #66749a;
  border: 1px solid rgba(92, 111, 170, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  transition: color 0.25s, background-color 0.25s, transform 0.25s;
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.icon-btn:hover {
  color: #31416b;
  background: rgba(255, 255, 255, 0.92);
  transform: rotate(3deg);
}

.form-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  margin-top: 21px;
}

.field {
  display: block;
  min-width: 0;
}

.field--full {
  grid-column: 1 / -1;
}

.field-label {
  display: block;
  margin: 0 0 7px 2px;
  color: #536186;
  font-size: 10.5px;
  font-weight: 620;
  letter-spacing: 0.02em;
}

.field-control {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 13px;
  border: 1px solid rgba(94, 113, 174, 0.13);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 4px 14px -12px rgba(52, 71, 139, 0.28);
  transition: border-color 0.25s, box-shadow 0.25s, background-color 0.25s;
}

.field-control:focus-within {
  border-color: rgba(53, 104, 255, 0.4);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(53, 104, 255, 0.09), inset 0 1px 0 #fff;
}

.field.has-error .field-control {
  border-color: rgba(226, 83, 107, 0.48);
  background: rgba(255, 248, 250, 0.9);
  box-shadow: 0 0 0 4px rgba(226, 83, 107, 0.07), inset 0 1px 0 #fff;
}

.field-icon {
  display: inline-flex;
  color: #7381a4;
  flex: 0 0 auto;
}

.field-icon svg {
  width: 18px;
  height: 18px;
}

.field-control:focus-within .field-icon {
  color: #3c68ef;
}

.field-control input {
  width: 100%;
  min-width: 0;
  padding: 0;
  color: #21305b;
  font-family: var(--font-num);
  font-size: 16px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: 0.01em;
  border: 0;
  outline: 0;
  background: transparent;
  color-scheme: light;
}

.field-control input[type="number"]::-webkit-outer-spin-button,
.field-control input[type="number"]::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.field-control input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.field-control input[type="time"]::-webkit-calendar-picker-indicator {
  margin-left: 1px;
  opacity: 0.44;
  cursor: pointer;
}

.field-suffix {
  color: #8b97b5;
  font-size: 10px;
  font-weight: 550;
  white-space: nowrap;
}

.field-error {
  display: block;
  min-height: 14px;
  padding: 3px 2px 0;
  color: #d04a63;
  font-size: 9px;
  line-height: 1.35;
}

.settings-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 9px;
  overflow: hidden;
  border: 1px solid rgba(93, 113, 177, 0.09);
  border-radius: 14px;
  background: rgba(92, 112, 178, 0.08);
}

.settings-preview div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  padding: 12px 14px;
  background: rgba(246, 249, 255, 0.9);
}

.settings-preview span {
  color: #7c89a9;
  font-size: 9.5px;
}

.settings-preview strong {
  overflow: hidden;
  color: #2e5fdc;
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.form-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 11px 1px 0;
  color: #8b97b4;
  font-size: 9px;
  line-height: 1.5;
}

.form-note svg {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
}

.settings-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid rgba(91, 108, 164, 0.1);
}

.actions-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 620;
  white-space: nowrap;
  transition: transform 0.24s var(--ease-spring), background-color 0.24s, box-shadow 0.24s, color 0.24s;
}

.btn:active {
  transform: scale(0.98);
}

.btn--ghost {
  color: #6a7799;
  border-color: rgba(92, 111, 170, 0.1);
  background: rgba(255, 255, 255, 0.52);
}

.btn--ghost:hover {
  color: #34436a;
  background: rgba(255, 255, 255, 0.9);
}

.btn--primary {
  min-width: 111px;
  color: #fff;
  background: linear-gradient(135deg, #3468ff, #6d63ff 66%, #8d5eff);
  box-shadow: 0 12px 24px -12px rgba(58, 91, 230, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn--primary:hover {
  box-shadow: 0 15px 28px -12px rgba(58, 91, 230, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.32);
  transform: translateY(-1px);
}

.btn--primary svg {
  width: 14px;
  height: 14px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 20;
  max-width: calc(100vw - 32px);
  padding: 11px 17px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 11px;
  font-weight: 540;
  line-height: 1.4;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(30, 41, 80, 0.9);
  box-shadow: 0 14px 34px -12px rgba(24, 36, 77, 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px) scale(0.97);
  transition: opacity 0.25s, transform 0.3s var(--ease-spring);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.noscript-note {
  position: fixed;
  inset: auto 16px 16px;
  z-index: 30;
  margin: 0;
  padding: 12px 16px;
  color: #7b3044;
  text-align: center;
  border-radius: 12px;
  background: #fff2f5;
}

.reveal {
  animation: reveal-up 0.72s var(--ease-spring) both;
}

.reveal-1 {
  animation-delay: 0.02s;
}

.reveal-2 {
  animation-delay: 0.08s;
}

.reveal-3 {
  animation-delay: 0.14s;
}

.reveal-4 {
  animation-delay: 0.2s;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.995);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes drift-one {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(42px, 28px, 0) scale(1.08); }
}

@keyframes drift-two {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-36px, 42px, 0) scale(1.06); }
}

@keyframes drift-three {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-28px, -34px, 0) scale(1.09); }
}

@keyframes status-pulse {
  0% { box-shadow: 0 0 0 0 rgba(42, 199, 156, 0.24); }
  70% { box-shadow: 0 0 0 7px rgba(42, 199, 156, 0); }
  100% { box-shadow: 0 0 0 0 rgba(42, 199, 156, 0); }
}

@keyframes amount-tick {
  0% { transform: translateY(3px) scale(0.992); }
  45% { transform: translateY(-2px) scale(1.012); }
  100% { transform: translateY(0) scale(1); }
}

@keyframes tick-float {
  0% { opacity: 0; transform: translateY(6px) scale(0.92); }
  18% { opacity: 1; transform: translateY(0) scale(1); }
  70% { opacity: 0.9; transform: translateY(-9px) scale(1); }
  100% { opacity: 0; transform: translateY(-17px) scale(0.98); }
}

@keyframes progress-shine {
  0%, 42% { left: -18%; opacity: 0; }
  52% { opacity: 0.7; }
  76%, 100% { left: 116%; opacity: 0; }
}

@keyframes dialog-in {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes sheet-in {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (hover: hover) and (pointer: fine) {
  .metric-card:hover {
    border-color: rgba(255, 255, 255, 1);
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
  }
}

@media (max-width: 1050px) {
  .hero-card {
    grid-template-columns: minmax(0, 1fr) 188px;
    padding-inline: 29px;
  }

  .orbit {
    width: 172px;
  }

  .orbit-dot {
    transform: rotate(var(--angle)) translateY(-78px);
  }
}

@media (max-width: 900px) {
  .app-shell {
    justify-content: flex-start;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-card {
    min-height: 128px;
  }
}

@media (max-width: 700px) {
  .app-shell {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .topbar {
    margin-bottom: 14px;
  }

  .date-chip {
    gap: 8px;
    padding-inline: 12px;
  }

  .settings-btn {
    padding-inline: 13px;
  }

  .hero-card {
    display: block;
    min-height: 0;
    padding: 22px 20px 23px;
  }

  .hero-visual {
    display: none;
  }

  .hero-watermark {
    top: 18px;
    right: 18px;
    font-size: 210px;
    transform: none;
  }

  .hero-title {
    font-size: clamp(23px, 6.4vw, 28px);
  }

  .hero-subline {
    margin-bottom: 15px;
    font-size: 12px;
  }

  .earnings-value strong {
    font-size: clamp(48px, 14.2vw, 66px);
  }

  .currency {
    margin-top: 6px;
    font-size: clamp(22px, 6.5vw, 29px);
  }

  .tick-burst {
    display: none;
  }

  .metrics-grid {
    gap: 10px;
    margin-top: 12px;
  }

  .metric-card {
    min-height: 122px;
    padding: 15px 15px 13px;
  }

  .metric-icon {
    width: 29px;
    height: 29px;
    flex-basis: 29px;
    border-radius: 9px;
  }

  .metric-icon svg {
    width: 15px;
    height: 15px;
  }

  .metric-label {
    font-size: 10px;
  }

  .metric-value {
    margin-top: 12px;
  }

  .metric-value strong {
    font-size: clamp(20px, 5.8vw, 25px);
  }

  .metric-value--time strong {
    font-size: clamp(19px, 5.45vw, 24px);
  }

  .metric-foot {
    margin-top: 6px;
    font-size: 8.5px;
  }

  .progress-card {
    margin-top: 12px;
    padding: 17px 19px 15px;
  }

  .progress-percent {
    font-size: 27px;
  }

  .progress-track {
    margin-top: 12px;
  }

  .progress-meta {
    gap: 8px;
    margin-top: 9px;
    font-size: 8.5px;
  }

  .progress-caption {
    max-width: 44%;
    font-size: 8px;
  }

  .app-footer {
    margin-top: 13px;
    font-size: 8px;
  }
}

@media (max-width: 520px) {
  .brand-mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-radius: 13px;
  }

  .brand-mark svg {
    width: 23px;
    height: 23px;
  }

  .brand-copy strong {
    font-size: 15px;
  }

  .brand-copy span {
    font-size: 7px;
    letter-spacing: 0.16em;
  }

  .date-text,
  .date-divider {
    display: none;
  }

  .date-chip {
    padding-inline: 11px;
  }

  .live-clock {
    font-size: 12px;
  }

  .settings-btn span {
    display: none;
  }

  .settings-btn {
    width: 42px;
    height: 42px;
    padding: 0;
  }

  .date-chip {
    height: 42px;
  }

  .status-line {
    gap: 9px;
  }

  .mode-label {
    font-size: 8px;
    letter-spacing: 0.1em;
  }

  .earnings-meta {
    gap: 7px;
    font-size: 9.5px;
  }

  .app-footer span:last-child {
    display: none;
  }

  .progress-caption-detail {
    display: none;
  }

  .settings-dialog {
    width: 100%;
    max-width: 100%;
    max-height: calc(100dvh - 10px);
    margin: auto 0 0;
  }

  .settings-panel {
    max-height: calc(100dvh - 10px);
    padding: 22px 20px calc(20px + env(safe-area-inset-bottom));
    border-radius: 27px 27px 0 0;
  }

  .settings-dialog[open] .settings-panel {
    animation-name: sheet-in;
  }

  .form-fields {
    gap: 10px;
    margin-top: 18px;
  }

  .field-control {
    height: 48px;
  }

  .settings-preview div {
    padding: 11px 12px;
  }

  .settings-actions {
    margin-top: 15px;
    padding-top: 15px;
  }
}

@media (max-width: 380px) {
  .app-shell {
    padding-inline: 13px;
  }

  .brand-copy span {
    display: none;
  }

  .hero-card {
    padding-inline: 17px;
  }

  .earnings-value strong {
    font-size: 48px;
  }

  .metric-card {
    padding-inline: 13px;
  }

  .metric-label {
    font-size: 9.5px;
  }

  .metric-value strong,
  .metric-value--time strong {
    font-size: 19px;
  }

  .settings-actions {
    flex-wrap: wrap;
  }

  .actions-right {
    margin-left: auto;
  }
}

body.dialog-open {
  overflow: hidden;
}

.metric-value-text {
  color: #6650c4 !important;
  font-family: var(--font-ui) !important;
  font-size: 20px !important;
  letter-spacing: 0.02em !important;
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .glass,
  .date-chip,
  .settings-btn,
  .settings-panel,
  .toast {
    background-color: rgba(255, 255, 255, 0.94);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-sheen,
  .ambient-orb {
    display: none;
  }
}
