:root {
  --ios-ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ios-duration-standard: 300ms;
  --ios-color-accent: #ff6b00;
  --ios-color-scrim: rgba(0, 0, 0, 0.45);
  --ios-color-share-glass: rgba(255, 255, 255, 0.6);
  --ios-color-share-text: rgba(0, 0, 0, 0.85);
  --ios-color-sheet-surface: rgba(255, 255, 255, 0.94);
  --ios-color-sheet-border: rgba(15, 23, 42, 0.08);
  --ios-shadow-elevated: 0 24px 80px rgba(15, 23, 42, 0.18);
  --color-primary: #ff6b00;
  --color-secondary: #1e88e5;
  --color-background: #f5f5f5;
  --color-surface: #ffffff;
  --color-surface-container-lowest: #ffffff;
  --color-surface-container-low: #faf7f4;
  --color-surface-container: #f6f2ee;
  --color-surface-container-high: #ece6e0;
  --color-surface-container-highest: #e4ddd7;
  --color-on-surface: #212121;
  --color-on-surface-variant: rgba(33, 33, 33, 0.68);
  --color-outline-variant: rgba(33, 33, 33, 0.1);
  --color-on-primary: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-background: #121212;
    --color-surface: #161616;
    --color-surface-container-lowest: #1f1f1f;
    --color-surface-container-low: #252525;
    --color-surface-container: #2b2b2b;
    --color-surface-container-high: #333333;
    --color-surface-container-highest: #3b3b3b;
    --color-on-surface: #f5f5f5;
    --color-on-surface-variant: rgba(245, 245, 245, 0.72);
    --color-outline-variant: rgba(255, 255, 255, 0.12);
    --ios-color-sheet-surface: rgba(28, 28, 30, 0.94);
    --ios-color-sheet-border: rgba(255, 255, 255, 0.08);
    --ios-color-share-glass: rgba(255, 255, 255, 0.18);
    --ios-color-share-text: rgba(255, 255, 255, 0.92);
  }
}

html,
body {
  background:
    radial-gradient(circle at top right, rgba(255, 107, 0, 0.12), transparent 26%),
    linear-gradient(180deg, color-mix(in srgb, var(--color-background) 96%, #fff 4%) 0%, var(--color-background) 100%);
  color: var(--color-on-surface);
}

html {
  font-size: clamp(15px, 0.9rem + 0.25vw, 18px);
}

body {
  min-height: 100vh;
}

button,
input,
select {
  font: inherit;
}

body.lock-scroll {
  overflow: hidden;
  touch-action: none;
  overscroll-behavior: none;
}

.share-glass-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: var(--ios-color-share-glass);
  color: var(--ios-color-share-text);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  transition:
    transform 180ms var(--ios-ease-standard),
    background-color 180ms var(--ios-ease-standard),
    box-shadow 180ms var(--ios-ease-standard);
}

.share-glass-button:active {
  transform: scale(0.96);
}

.share-glass-button .material-symbols-outlined,
.share-glass-button span:last-child {
  color: inherit;
  opacity: 1;
}

.ios-share-overlay,
.ios-picker-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.ios-share-mask,
.ios-picker-mask {
  position: absolute;
  inset: 0;
  background: var(--ios-color-scrim);
  opacity: 0;
  transition: opacity var(--ios-duration-standard) var(--ios-ease-standard);
}

.ios-share-sheet,
.ios-picker-sheet {
  position: relative;
  width: min(100%, 430px);
  margin: 0 12px max(env(safe-area-inset-bottom), 12px);
  padding: 24px;
  border-radius: 28px;
  border: 1px solid var(--ios-color-sheet-border);
  background: var(--ios-color-sheet-surface);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--ios-shadow-elevated);
  transform: translateY(100%);
  opacity: 0;
  transition:
    transform var(--ios-duration-standard) var(--ios-ease-standard),
    opacity var(--ios-duration-standard) var(--ios-ease-standard);
  touch-action: pan-y;
}

.ios-share-overlay.is-open .ios-share-mask,
.ios-picker-overlay.is-open .ios-picker-mask {
  opacity: 1;
}

.ios-share-overlay.is-open .ios-share-sheet,
.ios-picker-overlay.is-open .ios-picker-sheet {
  transform: translateY(0);
  opacity: 1;
}

.ios-sheet-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  padding: 2px;
  border: 0;
  border-radius: 22px;
  background: rgba(127, 127, 127, 0.14);
  color: var(--color-on-surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ios-sheet-close::before {
  content: '';
  position: absolute;
  inset: -2px;
}

.ios-sheet-close:active {
  transform: scale(0.96);
}

.ios-sheet-handle {
  width: 40px;
  height: 5px;
  border-radius: 999px;
  background: rgba(127, 127, 127, 0.36);
  margin: 0 auto 24px;
}

.ios-share-content,
.ios-picker-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ios-share-title,
.ios-picker-title,
.ios-share-subtitle,
.ios-picker-subtitle,
.ios-share-cancel,
.ios-share-channel-label,
.ios-picker-caption {
  font-size: 14px;
  line-height: 14px;
}

.ios-share-title,
.ios-picker-title {
  font-weight: 600;
  color: var(--color-on-surface);
}

.ios-share-subtitle,
.ios-picker-subtitle,
.ios-picker-caption {
  color: var(--color-on-surface-variant);
}

.ios-share-preview {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(127, 127, 127, 0.08));
  border: 1px solid var(--ios-color-sheet-border);
}

.ios-share-preview img {
  width: 84px;
  height: 134px;
  object-fit: cover;
  border-radius: 20px;
  flex-shrink: 0;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
}

.ios-share-preview-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.ios-share-preview-copy strong {
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
  color: var(--color-on-surface);
}

.ios-share-preview-copy p {
  font-size: 13px;
  line-height: 18px;
  color: var(--color-on-surface-variant);
}

.ios-share-channels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ios-share-channel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 12px 8px;
  border: 0;
  border-radius: 24px;
  background: rgba(127, 127, 127, 0.08);
  color: var(--color-on-surface);
  transition:
    transform 180ms var(--ios-ease-standard),
    background-color 180ms var(--ios-ease-standard);
}

.ios-share-channel:active {
  transform: scale(0.96);
}

.ios-share-channel-icon {
  width: 56px;
  height: 56px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.ios-share-channel-label {
  color: var(--color-on-surface);
}

.ios-share-cancel {
  height: 52px;
  border: 0;
  border-radius: 26px;
  background: rgba(127, 127, 127, 0.12);
  color: var(--color-on-surface);
  font-weight: 600;
}

.ios-picker-sheet {
  max-height: min(92vh, 840px);
  overflow: hidden;
}

.ios-picker-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ios-picker-type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.ios-picker-type-btn,
.ios-duration-chip,
.ios-picker-save {
  border: 0;
  transition:
    transform 180ms var(--ios-ease-standard),
    background-color 180ms var(--ios-ease-standard),
    color 180ms var(--ios-ease-standard);
}

.ios-picker-type-btn:active,
.ios-duration-chip:active,
.ios-picker-save:active {
  transform: scale(0.97);
}

.ios-picker-type-btn {
  min-height: 72px;
  padding: 12px 8px;
  border-radius: 24px;
  background: var(--color-surface-container-low);
  color: var(--color-on-surface-variant);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.ios-picker-type-btn.is-active {
  background: color-mix(in srgb, var(--ios-color-accent) 14%, transparent);
  color: var(--ios-color-accent);
}

.ios-picker-input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border-radius: 20px;
  border: 1px solid var(--ios-color-sheet-border);
  background: var(--color-surface-container-low);
  color: var(--color-on-surface);
  font-size: 16px;
}

.ios-picker-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 4px;
}

.ios-picker-meta strong {
  font-size: 24px;
  line-height: 28px;
  color: var(--ios-color-accent);
}

.ios-picker-wheel-shell {
  position: relative;
  padding: 16px 12px;
  border-radius: 28px;
  background: rgba(127, 127, 127, 0.08);
  border: 1px solid var(--ios-color-sheet-border);
}

.ios-picker-columns {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.ios-picker-column-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ios-picker-column-title {
  font-size: 12px;
  line-height: 12px;
  font-weight: 600;
  text-align: center;
  color: var(--color-on-surface-variant);
}

.ios-picker-column {
  position: relative;
  height: 220px;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 88px 0;
  overscroll-behavior: contain;
}

.ios-picker-column::-webkit-scrollbar {
  display: none;
}

.ios-picker-column-track {
  position: absolute;
  inset: 44px 0;
  border-top: 1px solid var(--ios-color-sheet-border);
  border-bottom: 1px solid var(--ios-color-sheet-border);
  border-radius: 20px;
  pointer-events: none;
}

.ios-picker-fade {
  position: absolute;
  left: 0;
  right: 0;
  height: 76px;
  pointer-events: none;
  z-index: 2;
}

.ios-picker-fade.top {
  top: 0;
  background: linear-gradient(180deg, var(--ios-color-sheet-surface), rgba(255, 255, 255, 0));
}

.ios-picker-fade.bottom {
  bottom: 0;
  background: linear-gradient(0deg, var(--ios-color-sheet-surface), rgba(255, 255, 255, 0));
}

.ios-picker-option {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: center;
  font-size: 17px;
  line-height: 17px;
  font-weight: 500;
  color: var(--color-on-surface);
  opacity: 0.1;
  transition:
    opacity 140ms linear,
    color 140ms linear,
    transform 140ms linear,
    font-size 140ms linear,
    font-weight 140ms linear;
}

.ios-picker-option[data-distance='0'] {
  color: var(--ios-color-accent);
  font-size: 20px;
  line-height: 20px;
  font-weight: 600;
  opacity: 1;
  transform: scale(1.03);
}

.ios-picker-option[data-distance='1'] {
  opacity: 0.6;
}

.ios-picker-option[data-distance='2'] {
  opacity: 0.3;
}

.ios-picker-option[data-distance='3'] {
  opacity: 0.1;
}

.ios-duration-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.ios-duration-chip {
  min-height: 44px;
  border-radius: 18px;
  background: var(--color-surface-container-low);
  color: var(--color-on-surface-variant);
  font-size: 14px;
  line-height: 14px;
  font-weight: 600;
}

.ios-duration-chip.is-active {
  background: color-mix(in srgb, var(--ios-color-accent) 14%, transparent);
  color: var(--ios-color-accent);
}

.ios-picker-save {
  min-height: 52px;
  border-radius: 26px;
  background: var(--ios-color-accent);
  color: #fff;
  font-size: 16px;
  line-height: 16px;
  font-weight: 600;
}

.profile-shell {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 64px 16px 112px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow-x: clip;
}

.profile-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  border-radius: 24px;
  background: var(--color-surface-container-lowest);
  border: 1px solid var(--color-outline-variant);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}

.profile-hero {
  gap: 20px;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(127, 127, 127, 0.12));
  border: 1px solid var(--color-outline-variant);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  flex-shrink: 0;
}

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

.profile-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.profile-name {
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
  color: var(--color-on-surface);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-badge {
  width: 20px;
  height: 20px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--ios-color-accent) 14%, transparent);
  color: var(--ios-color-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.profile-supporting {
  font-size: 14px;
  line-height: 18px;
  color: var(--color-on-surface-variant);
}

.profile-toolbar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.profile-toolbar button {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 20px;
  font-size: 14px;
  line-height: 14px;
  font-weight: 600;
  transition: transform 180ms var(--ios-ease-standard);
}

.profile-toolbar button:active {
  transform: scale(0.97);
}

.profile-toolbar .primary {
  background: var(--ios-color-accent);
  color: #fff;
}

.profile-toolbar .secondary {
  background: rgba(127, 127, 127, 0.1);
  color: var(--color-on-surface);
}

.profile-stat-grid,
.profile-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.profile-stat-item,
.profile-summary-item {
  min-height: 112px;
  padding: 16px;
  border-radius: 20px;
  background: var(--color-surface-container-low);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.profile-stat-item strong,
.profile-summary-item strong {
  font-size: 24px;
  line-height: 28px;
  color: var(--color-on-surface);
}

.profile-stat-item span,
.profile-summary-item span {
  font-size: 12px;
  line-height: 16px;
  color: var(--color-on-surface-variant);
}

.profile-section-title {
  font-size: 14px;
  line-height: 14px;
  font-weight: 600;
  color: var(--color-on-surface-variant);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.profile-progress {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.profile-progress-bar {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: var(--color-surface-container-high);
  overflow: hidden;
}

.profile-progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--ios-color-accent), #5ac8fa);
}

.profile-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.profile-form-row {
  min-height: 52px;
  padding: 12px 16px;
  border-radius: 20px;
  background: var(--color-surface-container-low);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.profile-form-row label {
  font-size: 14px;
  line-height: 14px;
  font-weight: 600;
  color: var(--color-on-surface-variant);
}

.profile-form-row input,
.profile-form-row select {
  border: 0;
  background: transparent;
  color: var(--color-on-surface);
  text-align: right;
  font-size: 16px;
  line-height: 20px;
  width: 60%;
  outline: none;
}

.profile-achievement-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.profile-achievement-row::-webkit-scrollbar {
  display: none;
}

.profile-achievement-card {
  width: 104px;
  flex: 0 0 auto;
  padding: 16px 12px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: var(--color-surface-container-low);
  border: 1px solid transparent;
}

.profile-achievement-card.is-unlocked {
  background: var(--color-surface-container-lowest);
  border-color: var(--color-outline-variant);
}

.profile-achievement-icon {
  width: 56px;
  height: 56px;
  border-radius: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(127, 127, 127, 0.12);
  font-size: 28px;
}

.profile-list {
  display: flex;
  flex-direction: column;
}

.profile-list button {
  min-height: 44px;
  padding: 12px 0;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--color-on-surface);
}

.profile-list button + button {
  border-top: 1px solid var(--color-outline-variant);
}

.profile-list-copy {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

@media (max-width: 389px) {
  .ios-share-channels,
  .ios-duration-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .ios-picker-sheet {
    overflow-y: auto;
  }
}

.home-page-shell,
.exercise-page-shell,
.profile-shell {
  width: min(100%, 430px);
  padding-top: calc(68px + env(safe-area-inset-top));
  padding-bottom: calc(104px + env(safe-area-inset-bottom));
  margin: 0 auto;
}

.profile-shell {
  padding-top: calc(68px + env(safe-area-inset-top));
}

.ui-float-card {
  opacity: 0;
  transform: translateY(16px);
  animation: ui-float-up 420ms var(--ios-ease-standard) forwards;
  animation-delay: var(--enter-delay, 0ms);
}

@keyframes ui-float-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.exercise-page-shell > section,
.exercise-page-shell > div,
.profile-card,
.ios-picker-inline,
.leaderboard-entry-card,
.leaderboard-sheet {
  border-radius: 16px;
  border: 1px solid var(--color-outline-variant);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.exercise-page-shell > section,
.exercise-page-shell > div {
  overflow: hidden;
}

.exercise-page-shell > section:first-child,
.exercise-page-shell > section:nth-child(2),
.exercise-page-shell > section:last-child {
  background:
    linear-gradient(135deg, rgba(255, 107, 0, 0.1), rgba(30, 136, 229, 0.08)),
    var(--color-surface-container-lowest);
}

.exercise-page-shell > section:nth-child(2) {
  position: relative;
}

.exercise-page-shell > section:nth-child(2)::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 107, 0, 0.14), transparent 32%);
  pointer-events: none;
}

.exercise-page-shell button,
.profile-shell button,
.leaderboard-entry-card,
.leaderboard-sheet button,
.ios-picker-inline button,
.share-glass-button {
  position: relative;
  overflow: hidden;
}

.exercise-page-shell button::after,
.profile-shell button::after,
.leaderboard-entry-card::after,
.leaderboard-sheet button::after,
.ios-picker-inline button::after,
.share-glass-button::after {
  content: '';
  position: absolute;
  inset: 50%;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-on-primary) 20%, transparent);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: transform 200ms var(--ios-ease-standard), opacity 200ms var(--ios-ease-standard);
  pointer-events: none;
}

.exercise-page-shell button:active::after,
.profile-shell button:active::after,
.leaderboard-entry-card:active::after,
.leaderboard-sheet button:active::after,
.ios-picker-inline button:active::after,
.share-glass-button:active::after {
  transform: translate(-50%, -50%) scale(18);
  opacity: 1;
}

.profile-card {
  background:
    linear-gradient(135deg, rgba(255, 107, 0, 0.08), rgba(30, 136, 229, 0.04)),
    var(--color-surface-container-lowest);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

.profile-stat-item,
.profile-summary-item,
.profile-form-row {
  border-radius: 12px;
}

.ios-picker-inline {
  margin: 0;
  padding: 20px;
  background:
    linear-gradient(160deg, rgba(255, 107, 0, 0.1), rgba(30, 136, 229, 0.08)),
    var(--color-surface-container-lowest);
}

.ios-picker-inline.is-emphasis {
  box-shadow: 0 0 0 2px rgba(255, 107, 0, 0.22), 0 20px 36px rgba(255, 107, 0, 0.16);
}

.ios-picker-inline-head,
.ios-picker-inline-body,
.ios-picker-meta-right {
  display: flex;
  flex-direction: column;
}

.ios-picker-inline-head {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.ios-picker-inline-head h3 {
  font-size: 1.0625rem;
  line-height: 1.4;
  font-weight: 700;
  color: var(--color-on-surface);
}

.ios-picker-inline-head span,
.ios-picker-inline-kicker,
.ios-picker-chip-label {
  color: var(--color-on-surface-variant);
}

.ios-picker-inline-kicker {
  display: block;
  margin-bottom: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ios-picker-inline-shortcut {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 107, 0, 0.12);
  color: var(--color-primary);
  font-weight: 700;
}

.ios-picker-inline-body {
  gap: 18px;
}

.ios-picker-inline .ios-picker-meta {
  padding: 0;
}

.ios-picker-inline .ios-picker-meta strong {
  font-size: 1.25rem;
}

.ios-picker-inline .ios-picker-wheel-shell {
  border-radius: 16px;
  background: color-mix(in srgb, var(--color-surface-container-lowest) 90%, var(--color-primary) 10%);
}

.ios-picker-inline .ios-picker-column {
  -webkit-overflow-scrolling: touch;
}

.ios-picker-inline .ios-picker-option {
  font-size: 1rem;
}

.ios-picker-inline .ios-picker-option[data-distance='0'] {
  color: var(--color-primary);
}

.ios-picker-inline .ios-picker-input {
  min-height: 50px;
}

.ios-picker-inline .ios-picker-type-btn,
.ios-picker-inline .ios-duration-chip {
  border-radius: 12px;
  min-height: 52px;
}

.ios-picker-inline .ios-picker-save {
  min-height: 52px;
  border-radius: 14px;
  background: linear-gradient(90deg, var(--color-primary), #ff8c42);
}

.leaderboard-entry-card {
  width: 100%;
  padding: 18px 20px;
  margin: 4px 0 8px;
  background:
    linear-gradient(135deg, rgba(255, 107, 0, 0.12), rgba(30, 136, 229, 0.08)),
    var(--color-surface-container-lowest);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

.leaderboard-entry-copy,
.leaderboard-entry-preview,
.leaderboard-entry-meta {
  display: flex;
  flex-direction: column;
}

.leaderboard-entry-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.leaderboard-entry-copy strong,
.leaderboard-entry-meta strong,
.leaderboard-list-row strong,
.leaderboard-podium-card strong {
  font-size: 1rem;
  line-height: 1.4;
  color: var(--color-on-surface);
}

.leaderboard-entry-copy span:last-child,
.leaderboard-entry-meta span,
.leaderboard-list-row span,
.leaderboard-podium-card span {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--color-on-surface-variant);
}

.leaderboard-entry-preview {
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.leaderboard-entry-avatar,
.leaderboard-avatar-ring,
.leaderboard-list-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.leaderboard-entry-avatar {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  position: relative;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.leaderboard-entry-avatar img {
  position: absolute;
  top: -16px;
  left: 50%;
  width: 48px;
  height: 48px;
  transform: translateX(-50%);
}

.leaderboard-entry-avatar span {
  font-size: 2rem;
}

.leaderboard-gold {
  border: 2px solid #ffd700;
}

.leaderboard-silver {
  border: 2px solid #c0c0c0;
}

.leaderboard-bronze {
  border: 2px solid #cd7f32;
}

.leaderboard-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
}

.leaderboard-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
}

.leaderboard-sheet {
  position: relative;
  width: min(92vw, 420px);
  max-height: calc(100vh - 32px);
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255, 107, 0, 0.08), rgba(30, 136, 229, 0.04)),
    var(--color-surface-container-lowest);
  overflow: auto;
}

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

.leaderboard-sheet-head h2 {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--color-on-surface);
}

.leaderboard-close {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-surface-container-high) 70%, transparent);
  color: var(--color-on-surface);
}

.leaderboard-podium-shell {
  width: 80%;
  margin: 0 auto 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.leaderboard-podium-main,
.leaderboard-podium-row {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.leaderboard-podium-card {
  width: calc(50% - 8px);
  min-width: 0;
  padding: 30px 12px 14px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  position: relative;
}

.leaderboard-podium-main .leaderboard-podium-card {
  width: 100%;
}

.leaderboard-crown {
  position: absolute;
  top: -8px;
  left: 50%;
  width: 48px;
  height: 48px;
  transform: translate(-50%, -100%);
}

.leaderboard-avatar-ring {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid currentColor;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.leaderboard-avatar-ring span {
  font-size: 2rem;
}

.leaderboard-gold .leaderboard-avatar-ring,
.leaderboard-gold.leaderboard-podium-card {
  color: #ffd700;
}

.leaderboard-silver .leaderboard-avatar-ring,
.leaderboard-silver.leaderboard-podium-card {
  color: #c0c0c0;
}

.leaderboard-bronze .leaderboard-avatar-ring,
.leaderboard-bronze.leaderboard-podium-card {
  color: #cd7f32;
}

.leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--color-surface-container-lowest);
  border-radius: 12px;
}

.leaderboard-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 4px;
}

.leaderboard-list-row + .leaderboard-list-row {
  border-top: 1px solid var(--color-outline-variant);
}

.leaderboard-list-start {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.leaderboard-rank-index {
  width: 24px;
  text-align: center;
  color: var(--color-on-surface-variant);
}

.leaderboard-list-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--color-surface-container-low);
  font-size: 1.25rem;
}

.leaderboard-xp {
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
}

.exercise-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 16px;
  text-align: center;
  border-radius: 16px;
  background: color-mix(in srgb, var(--color-surface-container-lowest) 92%, var(--color-primary) 8%);
}

.exercise-empty-state img {
  width: 112px;
  height: 112px;
}

.exercise-empty-state strong {
  font-size: 1rem;
  color: var(--color-on-surface);
}

.exercise-empty-state span {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--color-on-surface-variant);
}

@media (prefers-color-scheme: dark) {
  .profile-card,
  .ios-picker-inline,
  .leaderboard-entry-card,
  .leaderboard-sheet,
  .exercise-empty-state {
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.24);
  }

  .leaderboard-entry-avatar,
  .leaderboard-podium-card,
  .leaderboard-avatar-ring {
    background: #1f1f1f;
  }
}

@media (max-width: 389px) {
  .leaderboard-podium-shell {
    width: 100%;
  }

  .leaderboard-entry-card,
  .ios-picker-inline-head {
    flex-direction: column;
    align-items: stretch;
  }
}

.home-share-button {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 107, 0, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 107, 0, 0.18), rgba(255, 255, 255, 0.92)),
    linear-gradient(90deg, rgba(255, 107, 0, 0.08), rgba(30, 136, 229, 0.06));
  color: #8f3f00;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 24px rgba(255, 107, 0, 0.14);
}

.exercise-record-flow {
  margin: 0 0 12px;
  padding: 12px;
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 107, 0, 0.12), rgba(255, 255, 255, 0.94)),
    var(--color-surface-container-lowest);
  border: 1px solid rgba(255, 107, 0, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.exercise-record-flow.is-emphasis {
  box-shadow: 0 0 0 2px rgba(255, 107, 0, 0.18), 0 18px 34px rgba(255, 107, 0, 0.16);
}

.exercise-record-head,
.exercise-record-copy {
  display: flex;
  flex-direction: column;
}

.exercise-record-head {
  flex-direction: row;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.exercise-record-copy strong {
  font-size: 1rem;
  line-height: 1.45;
  color: var(--color-on-surface);
}

.exercise-record-copy span:last-child,
.exercise-record-kicker {
  color: var(--color-on-surface-variant);
}

.exercise-record-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.exercise-record-now {
  min-width: 110px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 107, 0, 0.1);
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 700;
}

.exercise-record-wheels {
  border-radius: 16px;
  background: color-mix(in srgb, var(--color-surface-container-lowest) 92%, var(--color-primary) 8%);
}

.exercise-record-actions {
  display: flex;
}

.exercise-record-actions button[hidden] {
  display: none !important;
}

.exercise-submit-button {
  width: 100% !important;
  min-height: 48px !important;
  border-radius: 14px !important;
  background: linear-gradient(90deg, var(--color-primary), #ff8c42) !important;
  box-shadow: 0 14px 26px rgba(255, 107, 0, 0.24) !important;
}

.profile-card[data-section='身体数据'] {
  background:
    linear-gradient(135deg, rgba(255, 107, 0, 0.1), rgba(255, 255, 255, 0.95)),
    var(--color-surface-container-lowest);
}

.profile-card[data-section='体重进度'] {
  background:
    linear-gradient(135deg, rgba(30, 136, 229, 0.1), rgba(255, 255, 255, 0.95)),
    var(--color-surface-container-lowest);
}

.profile-card[data-section='日常目标'] {
  background:
    linear-gradient(135deg, rgba(255, 107, 0, 0.08), rgba(30, 136, 229, 0.08)),
    var(--color-surface-container-lowest);
}

.profile-card[data-section='动态勋章陈列室'],
.profile-card[data-section='编辑资料'] {
  background:
    linear-gradient(135deg, rgba(33, 33, 33, 0.02), rgba(255, 107, 0, 0.06)),
    var(--color-surface-container-lowest);
}

.profile-card[data-section='身体数据'] .profile-summary-grid,
.profile-card[data-section='日常目标'] .profile-summary-grid {
  gap: 14px;
}

.profile-card[data-section='体重进度'] .profile-summary-grid {
  margin-top: 4px;
}

.profile-stat-item strong,
.profile-summary-item strong {
  font-size: 1.15rem;
  line-height: 1.35;
  font-weight: 700;
}

.profile-section-title {
  font-size: 0.72rem;
}

.profile-list button {
  min-height: 50px;
}

.leaderboard-entry-card {
  padding: 22px;
  background:
    radial-gradient(circle at top right, rgba(255, 215, 0, 0.18), transparent 34%),
    linear-gradient(140deg, rgba(255, 107, 0, 0.16), rgba(30, 136, 229, 0.12)),
    var(--color-surface-container-lowest);
  align-items: stretch;
}

.leaderboard-entry-hero,
.leaderboard-entry-stage,
.leaderboard-entry-mini-row,
.leaderboard-hero-copy {
  display: flex;
}

.leaderboard-entry-hero {
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.leaderboard-entry-hero strong {
  font-size: 1.1rem;
  line-height: 1.4;
}

.leaderboard-entry-stage {
  min-width: 148px;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.leaderboard-entry-highlight,
.leaderboard-entry-mini,
.leaderboard-hero-card,
.leaderboard-side-card {
  position: relative;
  overflow: visible;
}

.leaderboard-entry-highlight {
  width: 126px;
  padding: 26px 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
  text-align: center;
}

.leaderboard-entry-highlight img,
.leaderboard-entry-mini img,
.leaderboard-side-card img {
  position: absolute;
  top: -8px;
  left: 50%;
  width: 48px;
  height: 48px;
  transform: translate(-50%, -100%);
}

.leaderboard-entry-highlight span,
.leaderboard-entry-mini span {
  display: block;
  font-size: 2rem;
}

.leaderboard-entry-highlight strong {
  display: block;
  margin-top: 8px;
  font-size: 0.92rem;
}

.leaderboard-entry-mini-row {
  gap: 12px;
}

.leaderboard-entry-mini {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.leaderboard-sheet-rich {
  background:
    radial-gradient(circle at top right, rgba(255, 215, 0, 0.16), transparent 22%),
    linear-gradient(180deg, rgba(255, 107, 0, 0.12), rgba(30, 136, 229, 0.08)),
    var(--color-surface-container-lowest);
}

.leaderboard-close {
  width: auto;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.leaderboard-hero-card {
  margin-top: 8px;
  padding: 22px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 20px 34px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.leaderboard-hero-copy {
  flex-direction: column;
  gap: 6px;
}

.leaderboard-hero-copy span,
.leaderboard-side-card span {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-on-surface-variant);
}

.leaderboard-hero-copy strong,
.leaderboard-side-card strong {
  font-size: 1.05rem;
}

.leaderboard-hero-copy p,
.leaderboard-side-card p {
  font-size: 0.82rem;
  color: var(--color-on-surface-variant);
}

.leaderboard-hero-avatar {
  position: relative;
  width: 94px;
  height: 94px;
  border-radius: 24px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.12);
}

.leaderboard-hero-avatar img {
  position: absolute;
  top: 0;
  left: 50%;
  width: 48px;
  height: 48px;
  transform: translate(-50%, -85%);
}

.leaderboard-hero-avatar span {
  font-size: 2.3rem;
}

.leaderboard-duo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.leaderboard-side-card {
  padding: 24px 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.leaderboard-side-avatar {
  width: 72px;
  height: 72px;
  margin: 0 auto 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 2px solid currentColor;
  font-size: 2rem;
}

.leaderboard-list-rich {
  padding: 4px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
}

@media (prefers-color-scheme: dark) {
  .home-share-button,
  .exercise-record-flow,
  .leaderboard-entry-highlight,
  .leaderboard-entry-mini,
  .leaderboard-hero-card,
  .leaderboard-side-card,
  .leaderboard-hero-avatar,
  .leaderboard-list-rich {
    background-color: #1f1f1f;
  }
}

@media (max-width: 389px) {
  .exercise-record-head,
  .leaderboard-entry-card {
    flex-direction: column;
    align-items: stretch;
  }

  .leaderboard-duo-grid {
    grid-template-columns: 1fr;
  }
}

.exercise-record-flow {
  margin: 0 0 10px;
  padding: 12px 12px 10px;
}

.exercise-record-head {
  display: block;
  margin-bottom: 10px;
}

.exercise-record-head strong {
  display: block;
  font-size: 0.86rem;
  line-height: 1.35;
  color: var(--color-on-surface-variant);
}

.exercise-record-actions {
  gap: 8px;
  align-items: center;
}

.exercise-reset-time {
  flex: 0 0 auto;
  min-width: 44px;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 107, 0, 0.1);
  color: var(--color-primary);
  font-size: 0.72rem;
  font-weight: 700;
}

.exercise-submit-button {
  min-height: 36px !important;
  border-radius: 12px !important;
}

.exercise-page-shell > section:first-child > div {
  gap: 8px !important;
  padding: 2px 0 4px !important;
}

.exercise-page-shell > section:first-child button:not(.exercise-custom-chip) {
  width: 56px !important;
  padding: 8px 6px !important;
  gap: 6px !important;
}

.exercise-page-shell > section:first-child button:not(.exercise-custom-chip) > div:first-child {
  width: 36px !important;
  height: 36px !important;
  border-radius: 12px !important;
}

.exercise-page-shell > section:first-child button:not(.exercise-custom-chip) > span:last-child {
  font-size: 9px !important;
}

.exercise-custom-chip {
  width: 56px;
  min-width: 56px;
  min-height: 76px;
  padding: 8px 6px;
  border-radius: 14px;
  background: var(--color-surface-container-low);
  color: var(--color-on-surface);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 9px;
  line-height: 1.25;
  font-weight: 700;
}

.exercise-custom-chip.exercise-custom-active {
  background: rgba(255, 107, 0, 0.14);
  color: var(--color-primary);
}

.exercise-custom-chip span:first-child {
  font-size: 1.1rem;
  line-height: 1;
}

.exercise-custom-sheet {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.exercise-custom-mask {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.38);
  backdrop-filter: blur(4px);
}

.exercise-custom-dialog {
  position: relative;
  width: min(calc(100% - 24px), 420px);
  margin: 0 12px calc(env(safe-area-inset-bottom) + 12px);
  padding: 18px;
  border-radius: 22px;
  background: var(--color-surface-container-lowest);
  border: 1px solid var(--color-outline-variant);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.18);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.exercise-custom-head,
.exercise-custom-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.exercise-custom-head strong {
  font-size: 1rem;
  line-height: 1.4;
  color: var(--color-on-surface);
}

.exercise-custom-close {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 0;
  background: var(--color-surface-container);
  color: var(--color-on-surface-variant);
  font-size: 1.25rem;
  line-height: 1;
}

.exercise-custom-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.exercise-custom-input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--color-outline-variant);
  background: var(--color-surface-container-low);
  color: var(--color-on-surface);
  font-size: 0.95rem;
}

.exercise-custom-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.exercise-custom-presets button,
.exercise-custom-actions button {
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.exercise-custom-presets button,
.exercise-custom-actions .secondary {
  background: var(--color-surface-container);
  color: var(--color-on-surface);
}

.exercise-custom-actions .primary {
  background: var(--color-primary);
  color: var(--color-on-primary);
}

.profile-shell {
  gap: 8px;
}

.profile-card {
  padding: 12px;
  gap: 8px;
}

.profile-hero {
  gap: 12px;
}

.profile-header {
  gap: 12px;
}

.profile-avatar {
  width: 56px;
  height: 56px;
  border-radius: 28px;
  font-size: 28px;
}

.profile-copy {
  gap: 4px;
}

.profile-supporting {
  font-size: 12px;
  line-height: 16px;
}

.profile-toolbar {
  gap: 6px;
}

.profile-toolbar button {
  min-height: 36px;
  padding: 0 14px;
  font-size: 13px;
}

.profile-header-card {
  padding: 16px 16px 14px;
}

.profile-stats-grid,
.profile-summary-grid {
  gap: 8px;
}

.profile-stat-item,
.profile-summary-item {
  padding: 10px;
  min-height: 88px;
  gap: 8px;
}

.profile-stat-item strong,
.profile-summary-item strong {
  font-size: 1rem;
}

.profile-progress {
  gap: 10px;
}

.profile-list button {
  min-height: 44px;
  padding: 8px 0;
}

.profile-list-copy {
  font-size: 13px;
}

.profile-achievement-row {
  gap: 10px;
}

.profile-achievement-card {
  width: 92px;
  padding: 12px 10px;
  gap: 10px;
  border-radius: 18px;
}

.profile-achievement-icon {
  width: 48px;
  height: 48px;
  border-radius: 24px;
  font-size: 24px;
}

.profile-form-grid {
  gap: 10px;
}

.profile-form-row {
  min-height: 46px;
  padding: 10px 12px;
}

.leaderboard-entry-card {
  padding: 12px 14px;
  min-height: 52px;
  background:
    linear-gradient(135deg, rgba(255, 107, 0, 0.12), rgba(30, 136, 229, 0.08)),
    var(--color-surface-container-lowest);
  align-items: center;
  justify-content: space-between;
}

.leaderboard-entry-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--color-on-surface);
}

.leaderboard-entry-arrow {
  font-size: 1.05rem;
  color: var(--color-primary);
  line-height: 1;
}

.leaderboard-entry-hero,
.leaderboard-entry-stage,
.leaderboard-entry-highlight,
.leaderboard-entry-mini-row,
.leaderboard-entry-mini {
  display: none !important;
}

.leaderboard-sheet-rich {
  padding: 18px 18px 16px;
}

.leaderboard-hero-card {
  padding: 18px 16px;
}

.leaderboard-duo-grid {
  gap: 12px;
  margin: 16px 0;
}

.leaderboard-side-card {
  padding: 20px 10px 12px;
}

.leaderboard-list-row {
  padding: 12px 2px;
}

.ios-share-sheet {
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(255, 107, 0, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 242, 236, 0.96));
}

.ios-share-preview {
  gap: 14px;
  padding: 14px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 107, 0, 0.08), rgba(30, 136, 229, 0.1)),
    var(--color-surface-container-lowest);
}

.ios-share-channels {
  gap: 12px;
}

.ios-share-channel {
  gap: 10px;
  padding: 14px 8px 12px;
  border-radius: 20px;
  background: var(--color-surface-container-low);
}

.ios-share-channel-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 107, 0, 0.08)),
    #fff;
}

.ios-share-cancel {
  height: 48px;
  border-radius: 18px;
  background: var(--color-surface-container);
}

.exercise-record-flow {
  padding: 12px 12px 10px;
}

.exercise-record-wheels {
  padding: 10px 8px 8px;
}

.exercise-record-wheels .ios-picker-column {
  height: 132px;
  padding: 42px 0 46px;
}

.exercise-record-wheels .ios-picker-column-track {
  inset: 42px 0 46px;
}

.exercise-record-wheels .ios-picker-fade {
  height: 44px;
}

.exercise-record-wheels .ios-picker-option {
  line-height: 1;
}

.exercise-record-wheels .ios-picker-option[data-distance='0'] {
  transform: translateY(-2px) scale(1.04);
}

.exercise-record-wheels .ios-picker-option[data-distance='1'] {
  transform: translateY(-1px);
}

.exercise-record-wheels .ios-picker-option[data-distance='2'],
.exercise-record-wheels .ios-picker-option[data-distance='3'] {
  opacity: 0;
  transform: scale(0.92);
}

.exercise-page-shell > section.exercise-today-card {
  padding: 16px 14px 14px;
}

.exercise-today-card > div:first-child {
  padding-inline: 10px !important;
}

.exercise-today-card > div:last-child {
  padding-inline: 8px !important;
}

.profile-shell-compact {
  gap: 18px;
}

.profile-shell-compact .profile-card {
  padding: 18px;
  gap: 14px;
}

.profile-stat-grid {
  grid-template-columns: none !important;
  grid-auto-flow: column;
  grid-auto-columns: minmax(112px, 1fr);
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.profile-stat-grid::-webkit-scrollbar {
  display: none;
}

.profile-summary-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px;
}

.profile-stat-item {
  min-height: 92px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}

.profile-stat-item > span:first-child {
  font-size: 11px;
  line-height: 14px;
}

.profile-stat-item > strong {
  font-size: 1.08rem;
  line-height: 1.2;
}

.profile-stat-item > span:last-child {
  font-size: 10px;
  line-height: 13px;
}

.profile-summary-item {
  min-height: 70px;
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    'label value'
    'meta value';
  align-items: center;
  gap: 2px 10px;
}

.profile-summary-item > span:first-child {
  grid-area: label;
  font-size: 12px;
  line-height: 16px;
}

.profile-summary-item > strong {
  grid-area: value;
  text-align: right;
  font-size: 1rem;
  line-height: 1.2;
}

.profile-summary-item > span:last-child {
  grid-area: meta;
  font-size: 11px;
  line-height: 15px;
}

.profile-section-title {
  margin-bottom: 2px;
}

.leaderboard-entry-card {
  min-height: 78px;
  padding: 14px 16px;
  align-items: center;
}

.leaderboard-entry-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.leaderboard-entry-subtitle {
  font-size: 11px;
  line-height: 16px;
  color: var(--color-on-surface-variant);
}

.leaderboard-entry-preview {
  display: flex;
  align-items: center;
  gap: 6px;
}

.leaderboard-entry-badge {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.12);
}

.leaderboard-entry-badge img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: drop-shadow(0 3px 6px rgba(15, 23, 42, 0.14));
}

.leaderboard-entry-badge.gold {
  background: linear-gradient(135deg, #ffefb0, #ffc54d);
}

.leaderboard-entry-badge.silver {
  background: linear-gradient(135deg, #f4f5f7, #c8d0dd);
}

.leaderboard-entry-badge.bronze {
  background: linear-gradient(135deg, #ffd9be, #d98a4d);
}

.fit-sheet-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.fit-sheet-mask {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 220ms var(--ios-ease-standard);
}

.fit-sheet {
  position: relative;
  width: min(calc(100% - 16px), 430px);
  max-height: min(86vh, 820px);
  margin: 0 8px calc(env(safe-area-inset-bottom) + 8px);
  padding: 10px 14px 16px;
  border-radius: 28px;
  border: 1px solid var(--color-outline-variant);
  background:
    radial-gradient(circle at top right, rgba(255, 107, 0, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 239, 234, 0.98));
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.22);
  transform: translateY(100%);
  opacity: 0;
  transition:
    transform 240ms var(--ios-ease-standard),
    opacity 240ms var(--ios-ease-standard);
  overflow: hidden;
}

.fit-sheet-overlay.is-open .fit-sheet-mask {
  opacity: 1;
}

.fit-sheet-overlay.is-open .fit-sheet {
  transform: translateY(0);
  opacity: 1;
}

.fit-sheet-handle {
  width: 38px;
  height: 5px;
  border-radius: 999px;
  margin: 0 auto 12px;
  background: rgba(127, 127, 127, 0.35);
}

.fit-sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.fit-sheet-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fit-sheet-kicker {
  font-size: 11px;
  line-height: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.fit-sheet-copy strong {
  font-size: 18px;
  line-height: 24px;
  color: var(--color-on-surface);
}

.fit-sheet-copy p {
  font-size: 12px;
  line-height: 18px;
  color: var(--color-on-surface-variant);
}

.fit-sheet-close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: var(--color-surface-container);
  color: var(--color-on-surface-variant);
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}

.fit-sheet-body {
  max-height: calc(86vh - 110px);
  overflow-y: auto;
  padding-right: 2px;
}

.fit-message-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fit-message-card {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: 22px;
  background: var(--color-surface-container-low);
}

.fit-message-card.is-primary {
  background:
    linear-gradient(135deg, rgba(255, 107, 0, 0.12), rgba(30, 136, 229, 0.1)),
    var(--color-surface-container-lowest);
}

.fit-message-icon {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  flex-shrink: 0;
}

.fit-message-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fit-message-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.fit-message-head strong {
  font-size: 14px;
  line-height: 18px;
}

.fit-message-head span,
.fit-message-copy p {
  font-size: 12px;
  line-height: 18px;
  color: var(--color-on-surface-variant);
}

.fit-message-action,
.fit-editor-actions button {
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.fit-message-action,
.fit-editor-actions .primary {
  background: var(--color-primary);
  color: var(--color-on-primary);
}

.fit-version-hero {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 107, 0, 0.12), rgba(30, 136, 229, 0.08)),
    var(--color-surface-container-lowest);
  margin-bottom: 14px;
}

.fit-version-mark {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--color-primary);
  font-size: 18px;
  font-weight: 800;
}

.fit-version-hero strong,
.fit-timeline-head strong {
  color: var(--color-on-surface);
}

.fit-version-hero p,
.fit-timeline-head span,
.fit-timeline-card li {
  font-size: 12px;
  line-height: 18px;
  color: var(--color-on-surface-variant);
}

.fit-timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fit-timeline-item {
  position: relative;
  padding-left: 18px;
}

.fit-timeline-dot {
  position: absolute;
  top: 16px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-primary);
  box-shadow: 0 0 0 6px rgba(255, 107, 0, 0.08);
}

.fit-timeline-card {
  padding: 14px;
  border-radius: 20px;
  background: var(--color-surface-container-low);
}

.fit-timeline-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.fit-timeline-card ul {
  margin: 0;
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fit-editor-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fit-editor-form label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 18px;
  background: var(--color-surface-container-low);
}

.fit-editor-form label span {
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
  color: var(--color-on-surface-variant);
}

.fit-editor-form input,
.fit-editor-form select {
  width: 56%;
  border: 0;
  background: transparent;
  color: var(--color-on-surface);
  text-align: right;
  font-size: 14px;
  outline: none;
}

.fit-editor-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 4px;
}

.fit-editor-actions .secondary {
  background: var(--color-surface-container);
  color: var(--color-on-surface);
}

.fit-board-stage {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
  padding: 8px 0 14px;
}

.fit-board-podium {
  position: relative;
  padding: 16px 10px 14px;
  border-radius: 24px;
  text-align: center;
  overflow: hidden;
}

.fit-board-podium.gold {
  min-height: 196px;
  background:
    radial-gradient(circle at top, rgba(255, 215, 0, 0.34), transparent 38%),
    linear-gradient(180deg, rgba(255, 191, 66, 0.26), rgba(255, 255, 255, 0.98));
  box-shadow: 0 18px 34px rgba(255, 173, 51, 0.2);
}

.fit-board-podium.silver,
.fit-board-podium.bronze {
  min-height: 168px;
  background: var(--color-surface-container-low);
}

.fit-board-podium.silver {
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.9), transparent 38%),
    linear-gradient(180deg, rgba(240, 245, 250, 0.98), rgba(197, 207, 221, 0.94));
  box-shadow: 0 12px 24px rgba(171, 182, 198, 0.18);
}

.fit-board-podium.bronze {
  background:
    radial-gradient(circle at top, rgba(255, 240, 224, 0.94), transparent 40%),
    linear-gradient(180deg, rgba(255, 225, 198, 0.98), rgba(210, 136, 82, 0.94));
  box-shadow: 0 12px 24px rgba(217, 138, 77, 0.16);
}

.fit-board-crown {
  width: 48px;
  height: 48px;
  margin: 0 auto 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fit-board-crown img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(15, 23, 42, 0.16));
}

.fit-board-avatar,
.fit-board-mini-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  overflow: hidden;
}

.fit-board-avatar {
  width: 72px;
  height: 72px;
  margin: 0 auto 10px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.92), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(229, 236, 246, 0.94));
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.85), 0 14px 24px rgba(15, 23, 42, 0.12);
}

.fit-board-podium.gold .fit-board-avatar {
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.88), transparent 36%),
    linear-gradient(180deg, rgba(255, 248, 211, 0.98), rgba(255, 214, 115, 0.9));
}

.fit-board-podium.silver .fit-board-avatar {
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.92), transparent 36%),
    linear-gradient(180deg, rgba(250, 252, 255, 0.98), rgba(211, 220, 234, 0.92));
}

.fit-board-podium.bronze .fit-board-avatar {
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.92), transparent 36%),
    linear-gradient(180deg, rgba(255, 239, 221, 0.98), rgba(223, 156, 104, 0.92));
}

.fit-board-avatar span {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  font-size: 52px;
  line-height: 1;
  transform: translateY(8px) scale(1.12);
}

.fit-board-podium::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 45%);
  pointer-events: none;
}

.fit-board-podium strong,
.fit-board-row-copy strong,
.fit-board-score strong {
  color: var(--color-on-surface);
}

.fit-board-podium span,
.fit-board-podium p,
.fit-board-row-copy span,
.fit-board-score span {
  font-size: 11px;
  line-height: 16px;
  color: var(--color-on-surface-variant);
}

.fit-board-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fit-board-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: var(--color-surface-container-low);
}

.fit-board-row-start {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.fit-board-rank {
  font-size: 12px;
  font-weight: 800;
  color: var(--color-primary);
}

.fit-board-mini-avatar {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  font-size: 18px;
}

.fit-board-row-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.fit-board-score {
  text-align: right;
}

@media (prefers-color-scheme: dark) {
  .fit-sheet {
    background:
      radial-gradient(circle at top right, rgba(255, 107, 0, 0.2), transparent 24%),
      linear-gradient(180deg, rgba(29, 29, 31, 0.98), rgba(22, 22, 24, 0.98));
  }

  .ios-share-sheet,
  .fit-version-mark,
  .fit-board-avatar,
  .fit-board-mini-avatar,
  .fit-message-icon {
    background-color: #222;
  }
}

.fit-sound-toggle {
  position: fixed;
  right: 18px;
  bottom: calc(92px + env(safe-area-inset-bottom));
  z-index: 110;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(250, 243, 237, 0.88)),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(16px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #7e3a00;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.fit-sound-toggle.is-off {
  color: var(--color-on-surface-variant);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(234, 237, 241, 0.88)),
    rgba(255, 255, 255, 0.66);
}

.fit-sound-toggle span {
  font-size: 14px;
}

.exercise-option-button {
  transform-style: preserve-3d;
  transition:
    transform 260ms var(--ios-ease-standard),
    box-shadow 260ms var(--ios-ease-standard),
    filter 260ms var(--ios-ease-standard);
}

.exercise-option-button[data-selected='true'] {
  filter: saturate(1.04);
}

.exercise-icon-stage {
  position: relative;
  overflow: visible !important;
  background:
    radial-gradient(circle at 32% 20%, rgba(255, 255, 255, 0.74), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(239, 244, 255, 0.2));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.68),
    inset 0 -8px 14px rgba(15, 23, 42, 0.08),
    0 10px 18px rgba(15, 23, 42, 0.14);
}

.exercise-option-button[data-selected='true'] .exercise-icon-stage {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    inset 0 -10px 16px rgba(15, 23, 42, 0.08),
    0 16px 24px rgba(15, 23, 42, 0.18);
}

.exercise-illusion-svg {
  width: 32px;
  height: 32px;
  overflow: visible;
  filter: drop-shadow(0 8px 10px rgba(15, 23, 42, 0.12));
}

.exercise-illusion-shadow {
  filter: blur(2px);
}

.exercise-option-button[data-exercise='跑步'][data-selected='true'] .runner-arm-front,
.exercise-option-button[data-exercise='跑步'][data-selected='true'] .runner-leg-back,
.exercise-option-button[data-exercise='爬楼梯'][data-selected='true'] .stairs-leg-front,
.exercise-option-button[data-exercise='爬楼梯'][data-selected='true'] .stairs-leg-back,
.exercise-option-button[data-exercise='燃脂跳操'][data-selected='true'] .dance-arm-right,
.exercise-option-button[data-exercise='燃脂跳操'][data-selected='true'] .dance-arm-left,
.exercise-option-button[data-exercise='暴汗跳绳'][data-selected='true'] .rope-arm-left,
.exercise-option-button[data-exercise='暴汗跳绳'][data-selected='true'] .rope-arm-right,
.exercise-option-button[data-exercise='背部拉伸'][data-selected='true'] .stretch-arm,
.exercise-option-button[data-exercise='自定义'][data-selected='true'] .custom-orb {
  transform-box: fill-box;
  transform-origin: center;
}

.exercise-option-button[data-exercise='跑步'][data-selected='true'] .runner-arm-front,
.exercise-option-button[data-exercise='跑步'][data-selected='true'] .runner-leg-back {
  animation: ui-run-cycle 0.68s ease-in-out 2;
}

.exercise-option-button[data-exercise='跑步'][data-selected='true'] .runner-arm-back,
.exercise-option-button[data-exercise='跑步'][data-selected='true'] .runner-leg-front {
  animation: ui-run-cycle-reverse 0.68s ease-in-out 2;
}

.exercise-option-button[data-exercise='燃脂跳操'][data-selected='true'] .dance-arm-left,
.exercise-option-button[data-exercise='燃脂跳操'][data-selected='true'] .dance-arm-right,
.exercise-option-button[data-exercise='燃脂跳操'][data-selected='true'] .dance-leg-left,
.exercise-option-button[data-exercise='燃脂跳操'][data-selected='true'] .dance-leg-right {
  animation: ui-dance-bounce 0.82s ease-in-out 1;
}

.exercise-option-button[data-exercise='暴汗跳绳'][data-selected='true'] .rope-loop {
  transform-origin: center;
  animation: ui-rope-loop 0.9s ease-in-out 1;
}

.exercise-option-button[data-exercise='暴汗跳绳'][data-selected='true'] .rope-leg-left,
.exercise-option-button[data-exercise='暴汗跳绳'][data-selected='true'] .rope-leg-right {
  animation: ui-jump-feet 0.9s ease-in-out 1;
}

.exercise-option-button[data-exercise='爬楼梯'][data-selected='true'] .stairs-body,
.exercise-option-button[data-exercise='爬楼梯'][data-selected='true'] .stairs-leg-front {
  animation: ui-step-up 0.82s ease-in-out 1;
}

.exercise-option-button[data-exercise='背部拉伸'][data-selected='true'] .stretch-back,
.exercise-option-button[data-exercise='背部拉伸'][data-selected='true'] .stretch-leg-back,
.exercise-option-button[data-exercise='背部拉伸'][data-selected='true'] .stretch-halo {
  animation: ui-breathe-stretch 0.92s ease-in-out 1;
}

.exercise-option-button[data-exercise='自定义'][data-selected='true'] .custom-orb {
  animation: ui-orb-spin 1s ease-in-out 1;
}

.exercise-custom-chip {
  position: relative;
  overflow: hidden;
}

.exercise-custom-orb {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.exercise-custom-orb .exercise-illusion-svg {
  width: 30px;
  height: 30px;
}

.ui-icon-depth {
  filter:
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.42))
    drop-shadow(0 6px 12px rgba(15, 23, 42, 0.16));
  transform: translateY(-0.5px);
}

.exercise-surface-card,
.profile-card,
.leaderboard-entry-card,
.fit-message-card,
.fit-timeline-card,
.fit-board-row {
  position: relative;
  overflow: hidden;
  transition:
    transform 260ms var(--ios-ease-standard),
    box-shadow 260ms var(--ios-ease-standard),
    filter 260ms var(--ios-ease-standard);
}

.exercise-surface-card::before,
.profile-card::before,
.leaderboard-entry-card::before,
.fit-board-row::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.18), transparent 34%, rgba(255, 255, 255, 0.12) 58%, transparent 72%);
  opacity: 0;
  transition: opacity 240ms var(--ios-ease-standard);
  pointer-events: none;
}

.exercise-surface-card:active,
.profile-card:active,
.leaderboard-entry-card:active,
.fit-board-row:active {
  transform: translateY(1px) scale(0.995);
}

.exercise-surface-card:hover::before,
.profile-card:hover::before,
.leaderboard-entry-card:hover::before,
.fit-board-row:hover::before {
  opacity: 1;
}

.leaderboard-entry-card {
  animation: ui-card-breathe 4.8s ease-in-out infinite;
}

.fit-board-podium.gold {
  animation: ui-podium-glow 5.2s ease-in-out infinite;
}

@keyframes ui-run-cycle {
  0%, 100% { transform: rotate(16deg); }
  50% { transform: rotate(-26deg); }
}

@keyframes ui-run-cycle-reverse {
  0%, 100% { transform: rotate(-18deg); }
  50% { transform: rotate(20deg); }
}

@keyframes ui-dance-bounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  35% { transform: translateY(-2px) rotate(-7deg); }
  70% { transform: translateY(1px) rotate(7deg); }
}

@keyframes ui-rope-loop {
  0%, 100% { transform: scaleY(1) rotate(0deg); }
  50% { transform: scaleY(0.84) rotate(4deg); }
}

@keyframes ui-jump-feet {
  0%, 100% { transform: translateY(0); }
  45% { transform: translateY(-3px); }
  70% { transform: translateY(1px); }
}

@keyframes ui-step-up {
  0%, 100% { transform: translate(0, 0); }
  45% { transform: translate(1px, -3px); }
  70% { transform: translate(0, -1px); }
}

@keyframes ui-breathe-stretch {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.78; }
}

@keyframes ui-orb-spin {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.06); }
  100% { transform: rotate(360deg) scale(1); }
}

@keyframes ui-card-breathe {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

@keyframes ui-podium-glow {
  0%, 100% { box-shadow: 0 18px 34px rgba(255, 173, 51, 0.2); }
  50% { box-shadow: 0 24px 42px rgba(255, 173, 51, 0.3); }
}

@media (prefers-reduced-motion: reduce) {
  .leaderboard-entry-card,
  .fit-board-podium.gold,
  .exercise-option-button[data-selected='true'] * {
    animation: none !important;
  }
}

.fit-sound-toggle {
  display: none !important;
}

.ui-icon-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  font-size: inherit;
  line-height: 1;
}

.ui-icon-symbol svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.profile-shell-refined {
  gap: 20px;
}

.profile-shell-refined .profile-hero {
  padding: 18px 18px 16px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 247, 242, 0.98)),
    var(--color-surface-container-lowest);
  box-shadow: 0 22px 42px rgba(15, 23, 42, 0.08);
}

.profile-shell-refined .profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.84), transparent 36%),
    linear-gradient(180deg, rgba(255, 214, 168, 0.85), rgba(255, 160, 100, 0.72));
  box-shadow: 0 14px 28px rgba(255, 131, 63, 0.18);
}

.profile-shell-refined .profile-name {
  font-size: 1.35rem;
  line-height: 1.2;
  font-weight: 800;
}

.profile-shell-refined .profile-supporting {
  font-size: 12px;
  line-height: 17px;
}

.profile-shell-refined .profile-toolbar button {
  min-height: 42px;
  border-radius: 16px;
  font-weight: 700;
}

.profile-shell-refined .profile-toolbar .primary {
  background: linear-gradient(135deg, #21c37d, #0a9c52);
  box-shadow: 0 10px 24px rgba(13, 157, 83, 0.24);
}

.profile-shell-refined .profile-stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 18px 10px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 3px 3px, rgba(0, 0, 0, 0.18) 2px, transparent 2.2px) 0 0/18px 18px,
    linear-gradient(180deg, #0a4a27, #087238);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 14px 28px rgba(7, 84, 41, 0.24);
}

.profile-shell-refined .profile-stat-item {
  min-height: auto;
  padding: 0 8px;
  border-radius: 0;
  background: transparent;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
}

.profile-shell-refined .profile-stat-item + .profile-stat-item {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.profile-shell-refined .profile-stat-item > span:first-child,
.profile-shell-refined .profile-stat-item > span:last-child {
  color: rgba(239, 255, 243, 0.86);
}

.profile-shell-refined .profile-stat-item > span:first-child {
  font-size: 11px;
  line-height: 14px;
}

.profile-shell-refined .profile-stat-item > strong {
  font-size: 1.9rem;
  line-height: 1;
  color: #fff;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.profile-shell-refined .profile-card[data-section='身体与指标'] {
  border-radius: 30px;
  background: linear-gradient(135deg, #6357ff, #d745c9 72%, #ff6ea7);
  box-shadow: 0 22px 44px rgba(110, 72, 255, 0.22);
}

.profile-shell-refined .profile-card[data-section='身体与指标'] .profile-section-title,
.profile-shell-refined .profile-card[data-section='身体与指标'] .profile-summary-item span,
.profile-shell-refined .profile-card[data-section='身体与指标'] .profile-summary-item strong {
  color: #fff;
}

.profile-shell-refined .profile-card[data-section='身体与指标'] .profile-summary-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px;
}

.profile-shell-refined .profile-card[data-section='身体与指标'] .profile-summary-item {
  min-height: 96px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
}

.profile-shell-refined .profile-card[data-section='身体数据'],
.profile-shell-refined .profile-card[data-section='体重进度'],
.profile-shell-refined .profile-card[data-section='日常目标'],
.profile-shell-refined .profile-card[data-section='动态勋章陈列室'],
.profile-shell-refined .profile-card:not([data-section]) {
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 245, 242, 0.98)),
    var(--color-surface-container-lowest);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.06);
}

.profile-shell-refined .profile-card[data-section='身体数据'] .profile-summary-item,
.profile-shell-refined .profile-card[data-section='体重进度'] .profile-summary-item,
.profile-shell-refined .profile-card[data-section='日常目标'] .profile-summary-item {
  border-radius: 22px;
  background: rgba(245, 247, 244, 0.96);
}

.profile-shell-refined .profile-card[data-section='体重进度'] .profile-progress-bar {
  height: 10px;
  background: rgba(99, 87, 255, 0.12);
}

.profile-shell-refined .profile-card[data-section='体重进度'] .profile-progress-bar span {
  background: linear-gradient(90deg, #4b92ff, #ffd200, #ff7b39);
}

#leaderboard-container {
  min-height: 0;
}

.leaderboard-entry-card {
  min-height: 106px;
  padding: 18px 18px 18px 14px;
  border-radius: 30px;
  background: linear-gradient(135deg, #ffc90f, #ffad00 52%, #ff9200);
  box-shadow: 0 20px 36px rgba(255, 171, 0, 0.26);
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.leaderboard-entry-emblem {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

.leaderboard-entry-emblem svg {
  width: 34px;
  height: 34px;
}

.leaderboard-entry-copy {
  gap: 8px;
}

.leaderboard-entry-title {
  font-size: 1.46rem;
  line-height: 1.1;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 4px 12px rgba(143, 79, 0, 0.18);
}

.leaderboard-entry-chip {
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 248, 233, 0.94);
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.leaderboard-entry-cta {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(177, 101, 0, 0.18);
  color: #fff8eb;
  font-size: 14px;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.fit-sheet.fit-sheet-leaderboard {
  border-color: rgba(255, 183, 28, 0.16);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 193, 7, 0.2), transparent 26%),
    radial-gradient(circle at 100% 100%, rgba(93, 101, 255, 0.28), transparent 34%),
    linear-gradient(180deg, #19224a, #111734 46%, #0a0f24);
  box-shadow: 0 28px 60px rgba(7, 9, 27, 0.56);
}

.fit-sheet-leaderboard .fit-sheet-copy strong,
.fit-sheet-leaderboard .fit-sheet-copy p,
.fit-sheet-leaderboard .fit-sheet-close {
  color: #fff;
}

.fit-sheet-leaderboard .fit-sheet-close {
  background: rgba(255, 255, 255, 0.12);
}

.fit-sheet-leaderboard .fit-sheet-handle {
  background: rgba(255, 255, 255, 0.22);
}

.fit-sheet-leaderboard .fit-sheet-body {
  padding-right: 0;
}

.fit-board-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 2px 0 6px;
}

.fit-board-hero-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fit-board-hero-title span {
  font-size: 2rem;
  line-height: 1;
  font-weight: 900;
  color: #ffd34b;
  letter-spacing: 0.02em;
}

.fit-board-hero-title strong {
  font-size: 0.78rem;
  line-height: 1;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.48);
}

.fit-board-hero-crowns {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fit-board-hero-crowns img {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 8px 12px rgba(255, 183, 28, 0.26));
}

.fit-board-stage {
  gap: 14px;
  padding: 10px 0 16px;
}

.fit-board-podium {
  border-radius: 30px;
  padding: 20px 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.fit-board-podium.gold {
  min-height: 268px;
  background:
    radial-gradient(circle at 50% 14%, rgba(255, 230, 128, 0.38), transparent 22%),
    linear-gradient(180deg, rgba(255, 198, 40, 0.2), rgba(255, 176, 0, 0.08) 52%, rgba(255, 255, 255, 0.1));
}

.fit-board-podium.silver,
.fit-board-podium.bronze {
  min-height: 228px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
}

.fit-board-crown {
  width: 54px;
  height: 54px;
}

.fit-board-crown img {
  animation: ui-crown-shine 2.4s ease-in-out infinite;
}

.fit-board-avatar {
  width: 98px;
  height: 98px;
  padding: 0;
  border-radius: 999px;
  background: transparent !important;
  box-shadow:
    inset 0 0 0 3px rgba(255, 255, 255, 0.78),
    0 18px 30px rgba(0, 0, 0, 0.26);
}

.fit-board-podium.gold .fit-board-avatar {
  width: 122px;
  height: 122px;
  box-shadow:
    inset 0 0 0 4px rgba(255, 255, 255, 0.84),
    0 22px 36px rgba(0, 0, 0, 0.3),
    0 0 0 8px rgba(255, 208, 74, 0.18);
}

.fit-avatar-portrait {
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fit-avatar-portrait.mini {
  width: 100%;
  height: 100%;
}

.fit-avatar-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.fit-board-avatar::before,
.fit-board-mini-avatar::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 230, 136, 0.7), rgba(105, 200, 255, 0.36), rgba(255, 120, 198, 0.5));
  z-index: -1;
  opacity: 0.92;
}

.fit-board-avatar::after,
.fit-board-mini-avatar::after {
  content: '';
  position: absolute;
  inset: -9px;
  border-radius: inherit;
  border: 1.5px dashed rgba(255, 255, 255, 0.34);
  animation: ui-orbit-spin 14s linear infinite;
}

.fit-board-podium strong,
.fit-board-podium span,
.fit-board-podium p,
.fit-board-row-copy strong,
.fit-board-row-copy span,
.fit-board-score strong,
.fit-board-score span {
  color: #fff;
}

.fit-board-podium p,
.fit-board-row-copy span,
.fit-board-score span {
  color: rgba(255, 255, 255, 0.72);
}

.fit-board-authenticity {
  margin: 4px 0 14px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 18px;
  text-align: center;
}

.fit-board-list {
  gap: 12px;
}

.fit-board-row {
  min-height: 90px;
  padding: 16px 16px;
  border-radius: 24px;
  background: rgba(92, 88, 164, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.fit-board-row.is-placeholder {
  opacity: 0.78;
}

.fit-board-mini-avatar {
  position: relative;
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 999px;
  background: transparent !important;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.64);
}

.fit-board-rank {
  width: 30px;
  color: rgba(255, 255, 255, 0.68);
}

.fit-board-score strong {
  font-size: 1.1rem;
}

.leaderboard-entry-preview {
  flex-wrap: wrap;
  margin-top: 2px;
}

.leaderboard-entry-preview .leaderboard-entry-chip {
  padding: 5px 10px;
  font-size: 10px;
  background: rgba(255, 255, 255, 0.12);
}

.leaderboard-entry-meta strong {
  font-size: 13px;
  line-height: 18px;
  color: #fff;
}

.leaderboard-entry-meta span {
  color: rgba(255, 248, 233, 0.84);
}

.fit-board-row-copy span {
  max-width: 180px;
}

.profile-achievement-sheet .fit-sheet-body {
  padding-right: 0;
}

.profile-achievement-sheet .fit-sheet-copy p {
  max-width: 250px;
}

.rounded-\[28px\] {
  border-radius: 28px;
}

.rounded-\[26px\] {
  border-radius: 26px;
}

.rounded-\[24px\] {
  border-radius: 24px;
}

.rounded-\[22px\] {
  border-radius: 22px;
}

.rounded-\[20px\] {
  border-radius: 20px;
}

.rounded-\[18px\] {
  border-radius: 18px;
}

.rounded-\[16px\] {
  border-radius: 16px;
}

.w-\[72px\] {
  width: 72px;
}

.h-\[72px\] {
  height: 72px;
}

.w-\[76px\] {
  width: 76px;
}

.w-\[38\%\] {
  width: 38%;
}

.max-w-\[430px\] {
  max-width: 430px;
}

.text-\[38px\] {
  font-size: 38px;
  line-height: 1;
}

.text-\[34px\] {
  font-size: 34px;
  line-height: 1;
}

.text-\[32px\] {
  font-size: 32px;
  line-height: 1;
}

.text-\[22px\] {
  font-size: 22px;
  line-height: 1.2;
}

.text-\[16px\] {
  font-size: 16px;
}

.text-\[13px\] {
  font-size: 13px;
}

.text-\[12px\] {
  font-size: 12px;
}

.text-\[11px\] {
  font-size: 11px;
}

.text-\[10px\] {
  font-size: 10px;
}

.text-\[9px\] {
  font-size: 9px;
}

.tracking-\[0\.16em\] {
  letter-spacing: 0.16em;
}

.tracking-\[0\.14em\] {
  letter-spacing: 0.14em;
}

.tracking-\[0\.02em\] {
  letter-spacing: 0.02em;
}

.scale-\[1\.03\] {
  transform: scale(1.03);
}

.p-3\.5 {
  padding: 0.875rem;
}

.gap-2\.5 {
  gap: 0.625rem;
}

.h-9 {
  height: 2.25rem;
}

@keyframes ui-crown-shine {
  0%, 100% { transform: translateY(0) scale(1); filter: drop-shadow(0 6px 10px rgba(15, 23, 42, 0.16)); }
  50% { transform: translateY(-2px) scale(1.04); filter: drop-shadow(0 10px 14px rgba(255, 183, 28, 0.28)); }
}

@keyframes ui-orbit-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.exercise-record-wheels .ios-picker-column {
  padding: 40px 0 48px;
}

.exercise-record-wheels .ios-picker-column-track {
  inset: 40px 0 48px;
}

.exercise-record-wheels .ios-picker-option[data-distance='0'] {
  transform: translateY(-5px) scale(1.04);
}

.exercise-record-wheels .ios-picker-option[data-distance='1'] {
  transform: translateY(-3px);
}

.exercise-option-button {
  transform-style: flat;
}

.exercise-icon-stage {
  background: rgba(248, 248, 250, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 6px 14px rgba(15, 23, 42, 0.06);
}

.exercise-option-button[data-selected='true'] .exercise-icon-stage {
  background: #fff7f1;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 8px 18px rgba(255, 107, 61, 0.12);
}

.exercise-illusion-svg {
  filter: none;
}

.exercise-option-button[data-selected='true'] {
  filter: none;
}

.ui-icon-depth {
  filter:
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.32))
    drop-shadow(0 4px 8px rgba(15, 23, 42, 0.08));
  transform: none;
}

.profile-stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  grid-auto-flow: initial;
  grid-auto-columns: auto;
  gap: 10px;
  overflow: visible;
  padding-bottom: 0;
}

.profile-stat-item {
  min-height: 88px;
  padding: 14px 10px;
  border-radius: 18px;
  background: rgba(247, 247, 247, 0.96);
  text-align: center;
  align-items: center;
}

.profile-stat-item + .profile-stat-item {
  border-left: 0;
}

.profile-card[data-section='身体数据'] .profile-summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px;
}

.profile-card[data-section='身体数据'] .profile-summary-item {
  min-height: 88px;
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  border-radius: 18px;
  background: rgba(247, 247, 247, 0.98);
  text-align: center;
}

.profile-card[data-section='身体数据'] .profile-summary-item > span:first-child,
.profile-card[data-section='身体数据'] .profile-summary-item > span:last-child,
.profile-card[data-section='身体数据'] .profile-summary-item > strong {
  grid-area: auto;
  text-align: center;
}

.profile-card[data-section='身体数据'] .profile-summary-item > strong {
  font-size: 1.8rem;
  line-height: 1;
}

.profile-card[data-section='身体数据'] .profile-summary-item > span:last-child {
  font-size: 12px;
  line-height: 16px;
}

.leaderboard-entry-card {
  min-height: 96px;
}

.fit-board-loading {
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  font-weight: 700;
}

.fit-app-logo-button,
.fit-app-bell-button,
.fit-home-fab-button {
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.fit-app-logo-button,
.fit-app-bell-button {
  width: 44px !important;
  height: 44px !important;
}

.fit-app-logo-icon,
.fit-app-bell-icon,
.fit-bottom-nav-icon {
  width: 28px !important;
  height: 28px !important;
  font-size: 28px !important;
}

.fit-home-fab-button {
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  min-height: 56px !important;
}

.fit-home-fab-icon {
  width: 28px !important;
  height: 28px !important;
  font-size: 28px !important;
}

.fit-sheet.fit-sheet-changelog .fit-sheet-body {
  margin-top: -16px;
  padding-top: 0;
}

.fit-sheet.fit-sheet-changelog .fit-timeline {
  margin-top: -4px;
}

.exercise-icon-stage {
  color: rgba(99, 115, 129, 0.9);
}

.exercise-today-card .flex.justify-between.items-start {
  align-items: center !important;
}

.exercise-ring-fg {
  transition: stroke-dashoffset 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.exercise-option-button[data-selected='true'] .exercise-ring-fg {
  stroke-dashoffset: 0;
}

.exercise-option-button[data-selected='true'] .exercise-icon-stage {
  color: #ff6200;
}

.exercise-tabler-svg {
  overflow: visible;
}

.exercise-tabler-svg * {
  vector-effect: non-scaling-stroke;
}

#leaderboard-container {
  min-height: 120px;
}

.profile-shell > #leaderboard-container .leaderboard-entry-card,
.profile-shell > #leaderboard-container .leaderboard-empty-state {
  margin-top: 0;
  margin-bottom: 0;
}

.leaderboard-entry-card {
  min-height: 120px;
  animation: none;
}

.leaderboard-empty-state {
  min-height: 120px;
  padding: 16px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.leaderboard-empty-state img {
  width: auto;
  height: 120px;
}

.leaderboard-empty-state strong,
.leaderboard-entry-title,
.fit-board-podium strong,
.fit-board-row-copy strong {
  font-size: 16px !important;
  line-height: 24px !important;
  font-weight: 500 !important;
}

.leaderboard-empty-state span,
.leaderboard-entry-chip,
.fit-board-podium span,
.fit-board-row-copy span,
.fit-board-score span {
  font-size: 12px !important;
  line-height: 18px !important;
  font-weight: 400 !important;
}

.fit-board-podium p,
.fit-board-score strong {
  font-size: 20px !important;
  line-height: 24px !important;
  font-weight: 600 !important;
}

/* Goal 4: Profile card text unified styles */
.profile-card .profile-stat-item > span:first-child,
.profile-card .profile-summary-item > span:first-child {
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  color: var(--color-on-surface) !important;
}

.profile-card .profile-stat-item > span:last-child,
.profile-card .profile-summary-item > span:last-child {
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  color: var(--color-on-surface-variant) !important;
}

.profile-card .profile-stat-item > strong,
.profile-card .profile-summary-item > strong {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--color-on-surface) !important;
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 4px !important;
}

.profile-num {
  font-family: 'DIN Alternate', 'Oswald', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  color: #ff6200 !important;
}

.profile-shell-refined {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.profile-shell-refined > :not([hidden]) ~ :not([hidden]) {
  margin-top: 0 !important;
}

.profile-shell-refined .profile-card,
.profile-shell-refined #leaderboard-container {
  margin: 0 !important;
}

.profile-shell-refined .profile-card {
  padding: 13px !important;
  border-radius: 26px !important;
}

.profile-shell-refined .profile-hero-card {
  padding: 16px !important;
}

.profile-edit-button {
  min-width: 118px !important;
  padding: 0 22px !important;
  border-radius: 14px !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  font-size: 14px !important;
}

#leaderboard-container,
.profile-leaderboard-slot {
  min-height: 0 !important;
}

.exercise-page-shell > section:first-child > div {
  gap: 10px !important;
  padding: 4px 2px 6px !important;
}

.exercise-page-shell > section:first-child button:not(.exercise-custom-chip),
.exercise-custom-chip {
  width: 72px !important;
  min-width: 72px !important;
  min-height: 84px !important;
  padding: 10px 8px !important;
}

.exercise-page-shell > section:first-child button:not(.exercise-custom-chip) > div:first-child,
.exercise-icon-stage {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  aspect-ratio: 1 / 1 !important;
}

.exercise-page-shell > section:first-child button:not(.exercise-custom-chip) > span:last-child,
.exercise-custom-chip > span:last-child {
  font-size: 10px !important;
  line-height: 1.35 !important;
}

.exercise-custom-orb {
  width: 32px !important;
  height: 32px !important;
}

.exercise-illusion-svg,
.exercise-custom-orb .exercise-illusion-svg {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  aspect-ratio: 1 / 1 !important;
  display: block !important;
  flex: none !important;
}

.fit-runtime-toast {
  position: fixed;
  top: calc(64px + env(safe-area-inset-top));
  left: 16px;
  right: 16px;
  margin: 0 auto;
  width: min(100%, 398px);
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 107, 0, 0.12);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.16);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 80;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(16px);
}

.fit-runtime-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fit-runtime-toast-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 197, 94, 0.14);
  color: #16a34a;
  flex: 0 0 auto;
}

.fit-runtime-toast-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fit-runtime-toast-copy strong {
  color: var(--color-on-surface);
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
}

.fit-runtime-toast-copy span {
  color: var(--color-on-surface-variant);
  font-size: 11px;
  line-height: 16px;
}

.leaderboard-entry-card {
  min-height: 0 !important;
  padding: 16px !important;
  border-radius: 28px !important;
  background:
    radial-gradient(circle at top right, rgba(255, 179, 71, 0.22), transparent 36%),
    linear-gradient(135deg, #fffaf4, #f7fff8 78%) !important;
  border: 1px solid rgba(255, 107, 0, 0.1) !important;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

.leaderboard-entry-top,
.leaderboard-entry-main,
.leaderboard-entry-footer,
.leaderboard-entry-copy,
.leaderboard-entry-leading,
.leaderboard-entry-podiums,
.leaderboard-entry-podium {
  display: flex;
}

.leaderboard-entry-top,
.leaderboard-entry-footer {
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.leaderboard-entry-main,
.leaderboard-entry-copy,
.leaderboard-entry-leading {
  flex-direction: column;
}

.leaderboard-entry-copy,
.leaderboard-entry-leading {
  gap: 4px;
}

.leaderboard-entry-main {
  gap: 12px;
}

.leaderboard-entry-badge {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 107, 0, 0.1);
  color: #ff6b00;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
}

.leaderboard-entry-chip {
  width: fit-content;
  padding: 6px 10px !important;
  border-radius: 999px !important;
  background: rgba(12, 166, 93, 0.1) !important;
  border: 1px solid rgba(12, 166, 93, 0.12) !important;
  color: #138a53 !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

.leaderboard-entry-title {
  color: var(--color-on-surface) !important;
  font-size: 20px !important;
  line-height: 28px !important;
  font-weight: 800 !important;
}

.leaderboard-entry-subtitle {
  color: var(--color-on-surface-variant);
  font-size: 12px;
  line-height: 18px;
}

.leaderboard-entry-podiums {
  gap: 10px;
  flex-wrap: wrap;
}

.leaderboard-entry-podium {
  flex: 1 1 0;
  min-width: 0;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.leaderboard-entry-podium.tone-gold {
  background: linear-gradient(135deg, rgba(255, 192, 88, 0.22), rgba(255, 255, 255, 0.96));
}

.leaderboard-entry-podium.tone-silver {
  background: linear-gradient(135deg, rgba(204, 214, 224, 0.34), rgba(255, 255, 255, 0.96));
}

.leaderboard-entry-podium.tone-bronze {
  background: linear-gradient(135deg, rgba(255, 191, 153, 0.32), rgba(255, 255, 255, 0.96));
}

.leaderboard-entry-podium.is-current-user {
  border-color: rgba(19, 138, 83, 0.2);
  box-shadow: inset 0 0 0 1px rgba(19, 138, 83, 0.08);
}

.leaderboard-entry-rank {
  color: var(--color-on-surface-variant);
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
}

.leaderboard-entry-avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  overflow: hidden;
  flex: 0 0 auto;
}

.leaderboard-entry-podium strong,
.leaderboard-entry-leading strong {
  color: var(--color-on-surface) !important;
  font-size: 13px !important;
  line-height: 18px !important;
  font-weight: 700 !important;
}

.leaderboard-entry-leading span {
  color: var(--color-on-surface-variant);
  font-size: 11px;
  line-height: 16px;
}

.leaderboard-entry-cta {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ff6b00;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(255, 107, 0, 0.18);
}

.fit-sheet.fit-sheet-leaderboard {
  border-color: rgba(255, 107, 0, 0.08) !important;
  background:
    radial-gradient(circle at top right, rgba(255, 179, 71, 0.16), transparent 30%),
    linear-gradient(180deg, #fffdf9, #fff7ef 52%, #f5fff6) !important;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.18) !important;
}

.fit-sheet-leaderboard .fit-sheet-copy strong,
.fit-sheet-leaderboard .fit-sheet-copy p,
.fit-sheet-leaderboard .fit-sheet-close {
  color: var(--color-on-surface) !important;
}

.fit-sheet-leaderboard .fit-sheet-close {
  background: rgba(15, 23, 42, 0.06) !important;
}

.fit-sheet-leaderboard .fit-sheet-handle {
  background: rgba(15, 23, 42, 0.14) !important;
}

.fit-board-hero {
  padding: 18px;
  border-radius: 28px;
  background: linear-gradient(135deg, #fff5e8, #f3fff5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.fit-board-hero-title span {
  color: var(--color-on-surface) !important;
  font-size: 28px !important;
  line-height: 34px !important;
  font-weight: 800 !important;
}

.fit-board-hero-title strong {
  color: #138a53 !important;
  font-size: 11px !important;
  line-height: 16px !important;
  letter-spacing: 0.08em !important;
  font-weight: 700 !important;
}

.fit-board-hero-crowns img {
  width: 26px !important;
  height: 26px !important;
  filter: none !important;
}

.fit-board-authenticity {
  margin: 10px 0 16px !important;
  padding: 12px 14px !important;
  border-radius: 18px !important;
  background: rgba(19, 138, 83, 0.08) !important;
  color: #2f5b43 !important;
}

.fit-board-stage {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-template-areas:
    'gold gold'
    'silver bronze' !important;
  gap: 12px !important;
  padding: 0 0 16px !important;
}

.fit-board-podium {
  min-height: 0 !important;
  padding: 14px 12px 12px !important;
  border-radius: 22px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(15, 23, 42, 0.06) !important;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08) !important;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.fit-board-podium.gold {
  grid-area: gold !important;
  justify-self: center !important;
  width: min(100%, 340px) !important;
  padding-top: 18px !important;
  background: linear-gradient(135deg, rgba(255, 215, 128, 0.24), rgba(255, 255, 255, 0.96)) !important;
}

.fit-board-podium.silver {
  grid-area: silver !important;
  background: linear-gradient(135deg, rgba(219, 227, 235, 0.38), rgba(255, 255, 255, 0.96)) !important;
}

.fit-board-podium.bronze {
  grid-area: bronze !important;
  background: linear-gradient(135deg, rgba(255, 202, 173, 0.34), rgba(255, 255, 255, 0.96)) !important;
}

.fit-board-podium.is-current-user,
.fit-board-row.is-current-user {
  border-color: rgba(19, 138, 83, 0.18) !important;
  box-shadow: 0 14px 28px rgba(19, 138, 83, 0.08) !important;
}

.fit-board-medal {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-on-surface);
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
}

.fit-board-crown {
  width: 34px !important;
  height: 34px !important;
  position: absolute;
  top: 10px;
  right: 10px;
}

.fit-board-avatar {
  width: 76px !important;
  height: 76px !important;
  box-shadow:
    inset 0 0 0 3px rgba(255, 255, 255, 0.92),
    0 14px 24px rgba(15, 23, 42, 0.12) !important;
}

.fit-board-podium.gold .fit-board-avatar {
  width: 96px !important;
  height: 96px !important;
}

.fit-board-avatar::before,
.fit-board-mini-avatar::before,
.fit-board-avatar::after,
.fit-board-mini-avatar::after,
.fit-board-flare {
  display: none !important;
}

.fit-board-podium strong,
.fit-board-row-copy strong {
  color: var(--color-on-surface) !important;
  font-size: 15px !important;
  line-height: 20px !important;
  font-weight: 700 !important;
}

.fit-board-podium span,
.fit-board-row-copy span,
.fit-board-score span {
  color: var(--color-on-surface-variant) !important;
  font-size: 12px !important;
  line-height: 18px !important;
  font-weight: 500 !important;
}

.fit-board-podium p,
.fit-board-score strong {
  color: #ff6b00 !important;
  font-size: 16px !important;
  line-height: 20px !important;
  font-weight: 800 !important;
}

.exercise-page-shell section.bg-primary\/5 {
  display: grid !important;
  grid-template-columns: 46px minmax(0, 1fr) !important;
  align-items: center !important;
  column-gap: 14px !important;
}

.exercise-page-shell section.bg-primary\/5 > div:first-child {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  min-height: 46px !important;
  aspect-ratio: 1 / 1 !important;
  flex: 0 0 46px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

.exercise-page-shell section.bg-primary\/5 > div:first-child > .material-symbols-outlined,
.exercise-page-shell section.bg-primary\/5 > div:first-child .ui-icon-symbol {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  font-size: 22px !important;
  line-height: 1 !important;
  flex: 0 0 22px !important;
}

.exercise-page-shell section.bg-primary\/5 > div:last-child {
  min-width: 0 !important;
  padding-left: 4px !important;
}

.profile-shell-refined .profile-card[data-section='运动数据'] .profile-summary-item,
.profile-shell-refined .profile-card[data-section='身体数据'] .profile-summary-item,
.profile-shell-refined .profile-card[data-section='体重进度'] .profile-summary-item,
.profile-shell-refined .profile-card[data-section='日常目标'] .profile-summary-item {
  min-height: 72px !important;
  padding: 10px 12px !important;
}

.profile-shell-refined .profile-card[data-section='运动数据'] .profile-summary-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 6px !important;
}

.profile-shell-refined .profile-card[data-section='运动数据'] .profile-summary-item > div:first-child {
  grid-row: auto !important;
  grid-column: auto !important;
}

.profile-shell-refined .profile-card[data-section='运动数据'] .profile-summary-item > p:nth-of-type(1) {
  grid-row: auto !important;
  grid-column: auto !important;
  justify-self: auto !important;
  text-align: left !important;
}

.profile-shell-refined .profile-card[data-section='运动数据'] .profile-summary-item > p:nth-of-type(2) {
  display: none !important;
}

.profile-shell-refined .profile-card[data-section='身体数据'] .profile-summary-item,
.profile-shell-refined .profile-card[data-section='体重进度'] .profile-summary-item,
.profile-shell-refined .profile-card[data-section='日常目标'] .profile-summary-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 6px !important;
}

.profile-shell-refined .profile-card[data-section='身体数据'] .profile-summary-item > p:nth-of-type(2),
.profile-shell-refined .profile-card[data-section='体重进度'] .profile-summary-item > p:nth-of-type(2),
.profile-shell-refined .profile-card[data-section='日常目标'] .profile-summary-item > p:nth-of-type(2) {
  display: none !important;
}

.profile-shell-refined .profile-card[data-section='身体数据'] .profile-summary-item > p:nth-of-type(1),
.profile-shell-refined .profile-card[data-section='体重进度'] .profile-summary-item > p:nth-of-type(1),
.profile-shell-refined .profile-card[data-section='日常目标'] .profile-summary-item > p:nth-of-type(1) {
  grid-row: auto !important;
  grid-column: auto !important;
  justify-self: auto !important;
  text-align: left !important;
}

.profile-shell-refined .profile-card .flex.items-center.gap-2.mb-3 {
  margin-bottom: 8px !important;
}

.profile-shell-refined .profile-card[data-section='运动数据'] .profile-summary-grid,
.profile-shell-refined .profile-card[data-section='身体数据'] .profile-summary-grid,
.profile-shell-refined .profile-card[data-section='日常目标'] .profile-summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

.profile-shell-refined .profile-card[data-section='运动数据'] .profile-summary-item,
.profile-shell-refined .profile-card[data-section='身体数据'] .profile-summary-item,
.profile-shell-refined .profile-card[data-section='日常目标'] .profile-summary-item {
  min-height: 76px !important;
  padding: 10px 8px !important;
  border-radius: 18px !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 4px !important;
  overflow: hidden !important;
}

.profile-shell-refined .profile-card[data-section='运动数据'] .profile-summary-item {
  background: linear-gradient(180deg, rgba(255, 247, 233, 0.98), rgba(255, 255, 255, 0.96)) !important;
  border: 1px solid rgba(255, 171, 0, 0.12) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88) !important;
}

.profile-shell-refined .profile-card[data-section='身体数据'] .profile-summary-item {
  background: linear-gradient(180deg, rgba(242, 245, 255, 0.98), rgba(255, 255, 255, 0.96)) !important;
  border: 1px solid rgba(110, 72, 255, 0.1) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88) !important;
}

.profile-shell-refined .profile-card[data-section='日常目标'] .profile-summary-item {
  background: linear-gradient(180deg, rgba(236, 251, 245, 0.98), rgba(255, 255, 255, 0.96)) !important;
  border: 1px solid rgba(19, 138, 83, 0.1) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88) !important;
}

.profile-shell-refined .profile-card[data-section='运动数据'] .profile-summary-item > div:first-child {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
}

.profile-shell-refined .profile-card[data-section='运动数据'] .profile-summary-item > div:first-child > .material-symbols-outlined,
.profile-shell-refined .profile-card[data-section='运动数据'] .profile-summary-item > div:first-child .ui-icon-symbol {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  font-size: 18px !important;
  line-height: 1 !important;
  flex: 0 0 18px !important;
}

.profile-shell-refined .profile-card[data-section='运动数据'] .profile-summary-item > div:first-child span:not(.material-symbols-outlined):not(.ui-icon-symbol) {
  font-size: 10px !important;
  line-height: 13px !important;
  color: var(--color-on-surface-variant) !important;
  text-align: center !important;
}

.profile-shell-refined .profile-card[data-section='运动数据'] .profile-summary-item > p:nth-of-type(1),
.profile-shell-refined .profile-card[data-section='身体数据'] .profile-summary-item > p:nth-of-type(1),
.profile-shell-refined .profile-card[data-section='日常目标'] .profile-summary-item > p:nth-of-type(1) {
  margin: 0 !important;
  text-align: center !important;
  justify-self: auto !important;
  font-size: 16px !important;
  line-height: 18px !important;
  font-weight: 800 !important;
}

.profile-shell-refined .profile-card[data-section='运动数据'] .profile-summary-item > p:nth-of-type(1) > span,
.profile-shell-refined .profile-card[data-section='身体数据'] .profile-summary-item > p:nth-of-type(1) > span,
.profile-shell-refined .profile-card[data-section='日常目标'] .profile-summary-item > p:nth-of-type(1) > span {
  display: block !important;
  margin: 2px 0 0 !important;
  font-size: 10px !important;
  line-height: 12px !important;
  font-weight: 700 !important;
  opacity: 0.62 !important;
}

.profile-shell-refined .profile-card[data-section='运动数据'] .profile-summary-item > p:nth-of-type(2),
.profile-shell-refined .profile-card[data-section='身体数据'] .profile-summary-item > p:nth-of-type(2),
.profile-shell-refined .profile-card[data-section='日常目标'] .profile-summary-item > p:nth-of-type(2) {
  display: none !important;
}

.profile-shell-refined .profile-card[data-section='身体数据'] .profile-summary-item > span:first-child,
.profile-shell-refined .profile-card[data-section='日常目标'] .profile-summary-item > span:first-child {
  font-size: 10px !important;
  line-height: 13px !important;
  color: var(--color-on-surface-variant) !important;
  text-align: center !important;
}

.profile-shell-refined .profile-card[data-section='日常目标'] .profile-summary-item > p:nth-of-type(1) {
  font-size: 13px !important;
  line-height: 16px !important;
}

.fit-sheet-leaderboard .fit-sheet-body {
  padding-top: 4px !important;
}

.fit-board-stage {
  gap: 10px !important;
  align-items: end !important;
}

.fit-board-podium {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  min-height: 178px !important;
  padding: 14px 10px 10px !important;
  border-radius: 24px !important;
  overflow: hidden !important;
}

.fit-board-podium.gold {
  width: min(100%, 280px) !important;
  min-height: 210px !important;
}

.fit-board-podium.silver,
.fit-board-podium.bronze {
  min-height: 164px !important;
}

.fit-board-podium-aura {
  position: absolute;
  inset: 0 auto auto 50%;
  width: 72%;
  height: 72%;
  transform: translateX(-50%);
  border-radius: 999px;
  filter: blur(22px);
  opacity: 0.46;
  pointer-events: none;
}

.fit-board-podium.gold .fit-board-podium-aura {
  background: radial-gradient(circle, rgba(255, 196, 0, 0.5), transparent 70%);
}

.fit-board-podium.silver .fit-board-podium-aura {
  background: radial-gradient(circle, rgba(179, 193, 214, 0.5), transparent 70%);
}

.fit-board-podium.bronze .fit-board-podium-aura {
  background: radial-gradient(circle, rgba(214, 145, 105, 0.5), transparent 70%);
}

.fit-board-medal {
  z-index: 2;
  top: 10px !important;
  left: 10px !important;
  padding: 5px 9px !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em;
}

.fit-board-crown {
  z-index: 2;
  top: 10px !important;
  right: 10px !important;
  width: 30px !important;
  height: 30px !important;
}

.fit-board-podium-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.fit-board-avatar {
  width: 72px !important;
  height: 72px !important;
  margin: 0 !important;
  border-radius: 22px !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 255, 0.94)) !important;
}

.fit-board-podium.gold .fit-board-avatar {
  width: 88px !important;
  height: 88px !important;
}

.fit-avatar-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.fit-avatar-emoji {
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 42px;
  color: rgba(15, 23, 42, 0.92) !important;
}

.fit-avatar-emoji.large {
  font-size: 42px;
}

.fit-avatar-emoji.mini {
  font-size: 24px;
}

.fit-board-podium-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 0;
}

.fit-board-podium-copy strong {
  max-width: 100%;
  font-size: 14px !important;
  line-height: 18px !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fit-board-podium-copy span {
  font-size: 10px !important;
  line-height: 13px !important;
  color: var(--color-on-surface-variant) !important;
}

.fit-board-pedestal {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: 10px;
  padding: 10px 8px 9px;
  border-radius: 16px 16px 20px 20px;
  background: linear-gradient(180deg, rgba(29, 33, 49, 0.96), rgba(19, 22, 34, 1));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.fit-board-podium.gold .fit-board-pedestal {
  background: linear-gradient(180deg, #2c3246, #181b28);
}

.fit-board-pedestal strong {
  display: block;
  font-size: 18px !important;
  line-height: 20px !important;
  color: #ffffff !important;
}

.fit-board-pedestal span {
  display: block;
  margin-top: 3px;
  font-size: 10px !important;
  line-height: 13px !important;
  color: rgba(255, 255, 255, 0.72) !important;
}

.fit-board-list-shell {
  margin-top: 4px !important;
  padding: 12px !important;
  border-radius: 22px !important;
  background: rgba(255, 255, 255, 0.78) !important;
}

.fit-board-row {
  padding: 12px !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 251, 0.96)) !important;
}

.fit-board-mini-avatar {
  width: 42px !important;
  height: 42px !important;
  border-radius: 14px !important;
}

@media (max-width: 389px) {
  .profile-shell-refined .profile-card[data-section='运动数据'] .profile-summary-grid,
  .profile-shell-refined .profile-card[data-section='身体数据'] .profile-summary-grid,
  .profile-shell-refined .profile-card[data-section='日常目标'] .profile-summary-grid {
    gap: 6px !important;
  }

  .profile-shell-refined .profile-card[data-section='运动数据'] .profile-summary-item,
  .profile-shell-refined .profile-card[data-section='身体数据'] .profile-summary-item,
  .profile-shell-refined .profile-card[data-section='日常目标'] .profile-summary-item {
    min-height: 72px !important;
    padding: 8px 6px !important;
  }

  .profile-shell-refined .profile-card[data-section='运动数据'] .profile-summary-item > p:nth-of-type(1),
  .profile-shell-refined .profile-card[data-section='身体数据'] .profile-summary-item > p:nth-of-type(1),
  .profile-shell-refined .profile-card[data-section='日常目标'] .profile-summary-item > p:nth-of-type(1) {
    font-size: 14px !important;
  }

  .fit-board-stage {
    gap: 8px !important;
  }

  .fit-board-podium.gold {
    width: min(100%, 248px) !important;
  }
}

.fit-board-list {
  gap: 10px !important;
}

.fit-board-row {
  min-height: 0 !important;
  padding: 14px !important;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid rgba(15, 23, 42, 0.06) !important;
}

.fit-board-mini-avatar {
  width: 46px !important;
  height: 46px !important;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.92) !important;
}

.fit-board-rank {
  width: 28px !important;
  color: var(--color-on-surface-variant) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

.exercise-runtime-record-icon {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  aspect-ratio: 1 / 1 !important;
  flex: 0 0 40px !important;
}

.exercise-runtime-record-glyph,
.exercise-runtime-record-icon .ui-icon-symbol,
.exercise-tips-icon,
.exercise-tips-icon-wrap .ui-icon-symbol {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  flex: 0 0 18px !important;
}

.exercise-runtime-record-glyph svg,
.exercise-runtime-record-icon .ui-icon-symbol svg,
.exercise-tips-icon svg,
.exercise-tips-icon-wrap .ui-icon-symbol svg {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 1 / 1 !important;
  display: block !important;
}

.exercise-tips-card {
  align-items: center !important;
  padding: 14px 16px !important;
}

.exercise-tips-icon-wrap {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  aspect-ratio: 1 / 1 !important;
  flex: 0 0 40px !important;
}

.exercise-tips-card p {
  font-size: 12px !important;
  line-height: 18px !important;
}

.fit-board-hero {
  align-items: flex-start !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
}

.fit-board-hero-copy {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fit-board-hero-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 107, 0, 0.1);
  color: #ff6b00;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
}

.fit-board-hero-note {
  color: var(--color-on-surface-variant);
  font-size: 12px;
  line-height: 18px;
}

.fit-board-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 14px;
}

.fit-board-summary-card {
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fit-board-summary-card span {
  color: var(--color-on-surface-variant) !important;
  font-size: 11px !important;
  line-height: 16px !important;
  font-weight: 600 !important;
}

.fit-board-summary-card strong {
  color: var(--color-on-surface) !important;
  font-size: 20px !important;
  line-height: 24px !important;
  font-weight: 800 !important;
}

.fit-board-summary-card p {
  color: var(--color-on-surface-variant) !important;
  font-size: 11px !important;
  line-height: 16px !important;
  font-weight: 500 !important;
}

.fit-board-list-shell {
  padding: 14px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.fit-board-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.fit-board-list-head strong {
  color: var(--color-on-surface);
  font-size: 15px;
  line-height: 20px;
  font-weight: 800;
}

.fit-board-list-head span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(19, 138, 83, 0.1);
  color: #138a53;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
}

@media (max-width: 389px) {
  .fit-board-summary {
    grid-template-columns: 1fr;
  }
}

.profile-shell-refined .profile-hero-card > div.relative.z-10,
.profile-shell-refined .profile-hero-card > .relative.z-10 {
  align-items: center !important;
}

.profile-shell-refined .profile-hero-card .profile-edit-button {
  align-self: center !important;
  min-width: 88px !important;
  min-height: 34px !important;
  height: 34px !important;
  padding: 0 14px !important;
  margin-top: 0 !important;
  border-radius: 12px !important;
  font-size: 12px !important;
  line-height: 1 !important;
}

.profile-shell-refined .profile-card .profile-section-title,
.profile-shell-refined .profile-card h3 {
  font-size: 15px !important;
  line-height: 20px !important;
  font-weight: 700 !important;
}

.profile-shell-refined .profile-card .profile-summary-grid,
.profile-shell-refined .profile-card .profile-stat-grid {
  gap: 10px !important;
}

.profile-shell-refined .profile-card .profile-stat-item,
.profile-shell-refined .profile-card .profile-summary-item {
  min-height: 82px !important;
  padding: 12px !important;
  gap: 6px !important;
}

.profile-shell-refined .profile-card .profile-stat-item > span:first-child,
.profile-shell-refined .profile-card .profile-summary-item > span:first-child {
  font-size: 11px !important;
  line-height: 15px !important;
  font-weight: 500 !important;
  color: var(--color-on-surface-variant) !important;
}

.profile-shell-refined .profile-card .profile-stat-item > strong,
.profile-shell-refined .profile-card .profile-summary-item > strong {
  font-size: 19px !important;
  line-height: 24px !important;
  font-weight: 700 !important;
  color: var(--color-on-surface) !important;
}

.profile-shell-refined .profile-card .profile-stat-item > strong span,
.profile-shell-refined .profile-card .profile-summary-item > strong span {
  font-size: 12px !important;
  line-height: 16px !important;
}

.profile-shell-refined .profile-card .profile-stat-item > span:last-child,
.profile-shell-refined .profile-card .profile-summary-item > span:last-child {
  font-size: 10px !important;
  line-height: 14px !important;
  font-weight: 400 !important;
  color: var(--color-on-surface-variant) !important;
}

.profile-shell-refined .profile-card[data-section='运动数据'] .profile-summary-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.profile-shell-refined .profile-card[data-section='运动数据'] .profile-summary-item {
  display: grid !important;
  grid-template-columns: 20px minmax(0, 1fr);
  grid-template-areas:
    'icon label'
    'value value'
    'meta meta';
  align-items: start !important;
  text-align: left !important;
  gap: 6px 10px !important;
}

.profile-shell-refined .profile-card[data-section='运动数据'] .profile-summary-item > div:first-child {
  grid-area: icon;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 20px !important;
  height: 20px !important;
}

.profile-shell-refined .profile-card[data-section='运动数据'] .profile-summary-item > span:first-child {
  grid-area: label;
  text-align: left !important;
}

.profile-shell-refined .profile-card[data-section='运动数据'] .profile-summary-item > strong {
  grid-area: value;
  text-align: left !important;
  justify-self: start !important;
}

.profile-shell-refined .profile-card[data-section='运动数据'] .profile-summary-item > span:last-child {
  grid-area: meta;
  text-align: left !important;
}

.profile-shell-refined .profile-card[data-section='身体数据'] .profile-summary-grid,
.profile-shell-refined .profile-card[data-section='日常目标'] .profile-summary-grid,
.profile-shell-refined .profile-card[data-section='体重进度'] .profile-summary-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.profile-shell-refined .profile-card[data-section='身体数据'] .profile-summary-item {
  min-height: 78px !important;
  padding: 12px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    'label value'
    'meta value';
  align-items: center !important;
  text-align: left !important;
  gap: 2px 10px !important;
}

.profile-shell-refined .profile-card[data-section='身体数据'] .profile-summary-item > span:first-child,
.profile-shell-refined .profile-card[data-section='身体数据'] .profile-summary-item > span:last-child,
.profile-shell-refined .profile-card[data-section='身体数据'] .profile-summary-item > strong {
  grid-area: unset;
}

.profile-shell-refined .profile-card[data-section='身体数据'] .profile-summary-item > span:first-child {
  grid-area: label;
  text-align: left !important;
}

.profile-shell-refined .profile-card[data-section='身体数据'] .profile-summary-item > strong {
  grid-area: value;
  text-align: right !important;
  justify-self: end !important;
  font-size: 18px !important;
  line-height: 22px !important;
}

.profile-shell-refined .profile-card[data-section='身体数据'] .profile-summary-item > span:last-child {
  grid-area: meta;
  text-align: left !important;
}

.exercise-tips-card > div:first-child,
.exercise-tips-icon-wrap {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  aspect-ratio: 1 / 1 !important;
  flex: 0 0 42px !important;
  border-radius: 14px !important;
}

.exercise-tips-card > div:first-child > span,
.exercise-tips-icon,
.exercise-tips-icon-wrap .ui-icon-symbol {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  font-size: 18px !important;
}

.fit-bottom-nav-item {
  width: 62px !important;
  min-width: 62px !important;
  gap: 4px !important;
}

.fit-bottom-nav-item > div:first-child {
  padding: 6px 14px !important;
}

.fit-bottom-nav-item > span:last-child {
  font-size: 12px !important;
  line-height: 16px !important;
  font-weight: 600 !important;
}

.fit-bottom-nav-icon {
  width: 30px !important;
  height: 30px !important;
  font-size: 30px !important;
}

.fit-board-row-copy {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

.fit-board-row-copy strong,
.fit-board-row-copy span {
  display: block !important;
  max-width: 100% !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.exercise-runtime-record-icon,
.exercise-tips-card > div:first-child,
.exercise-tips-icon-wrap {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

.exercise-runtime-record-glyph,
.exercise-tips-icon,
.exercise-runtime-record-icon .ui-icon-symbol,
.exercise-tips-icon-wrap .ui-icon-symbol {
  font-family: 'Material Symbols Outlined' !important;
  font-style: normal !important;
  font-weight: 400 !important;
  font-size: 18px !important;
  line-height: 1 !important;
  letter-spacing: normal !important;
  font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24 !important;
}

.fit-bottom-nav-item,
nav a:has(> .fit-bottom-nav-icon) {
  min-height: 54px !important;
}

.fit-bottom-nav-item > .material-symbols-outlined:first-child,
nav a > .material-symbols-outlined:first-child {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  min-height: 30px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 30px !important;
  line-height: 1 !important;
  flex: 0 0 30px !important;
}

.leaderboard-entry-card,
.fit-board-summary-card {
  text-align: left !important;
}

.leaderboard-entry-top,
.leaderboard-entry-main,
.leaderboard-entry-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
}

.leaderboard-entry-main,
.leaderboard-entry-footer {
  flex-wrap: wrap !important;
}

.leaderboard-entry-copy,
.leaderboard-entry-leading {
  flex: 1 1 180px !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.leaderboard-entry-title,
.leaderboard-entry-leading strong {
  font-size: 15px !important;
  line-height: 20px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

.leaderboard-entry-subtitle,
.leaderboard-entry-leading span,
.fit-board-summary-card span,
.fit-board-summary-card p,
.fit-board-score span {
  white-space: normal !important;
  word-break: break-word !important;
  transform: none !important;
}

.exercise-runtime-record-icon {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  min-height: 46px !important;
  flex: 0 0 46px !important;
}

.exercise-tips-card > div:first-child,
.exercise-tips-icon-wrap {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  min-height: 46px !important;
  flex: 0 0 46px !important;
  border-radius: 16px !important;
}

.exercise-runtime-record-glyph,
.exercise-tips-icon,
.exercise-runtime-record-icon .ui-icon-symbol,
.exercise-tips-icon-wrap .ui-icon-symbol {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  font-size: 22px !important;
  flex: 0 0 22px !important;
}

.exercise-runtime-record-glyph svg,
.exercise-tips-icon svg,
.exercise-runtime-record-icon .ui-icon-symbol svg,
.exercise-tips-icon-wrap .ui-icon-symbol svg {
  width: 100% !important;
  height: 100% !important;
  min-width: 22px !important;
  min-height: 22px !important;
  display: block !important;
  flex: none !important;
  transform: none !important;
}

.profile-shell-refined .profile-card[data-section='运动数据'] .profile-summary-item {
  display: grid !important;
  grid-template-columns: 24px minmax(0, 1fr) auto !important;
  grid-template-areas:
    'icon label value'
    'meta meta value' !important;
  align-items: center !important;
  gap: 4px 10px !important;
}

.profile-shell-refined .profile-card[data-section='运动数据'] .profile-summary-item > div:first-child {
  width: 24px !important;
  height: 24px !important;
  grid-area: icon !important;
}

.profile-shell-refined .profile-card[data-section='运动数据'] .profile-summary-item > div:first-child > span {
  font-size: 20px !important;
  line-height: 1 !important;
}

.profile-shell-refined .profile-card[data-section='运动数据'] .profile-summary-item > span:first-child {
  grid-area: label !important;
  display: block !important;
  white-space: nowrap !important;
  text-align: left !important;
}

.profile-shell-refined .profile-card[data-section='运动数据'] .profile-summary-item > strong {
  grid-area: value !important;
  justify-self: end !important;
  align-self: center !important;
  text-align: right !important;
}

.profile-shell-refined .profile-card[data-section='运动数据'] .profile-summary-item > span:last-child {
  grid-area: meta !important;
  text-align: left !important;
}

.profile-shell-refined .profile-card[data-section='身体数据'] .profile-summary-item,
.profile-shell-refined .profile-card[data-section='体重进度'] .profile-summary-item,
.profile-shell-refined .profile-card[data-section='日常目标'] .profile-summary-item {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-areas:
    'label value'
    'meta value' !important;
  align-items: center !important;
}

.profile-shell-refined .profile-card[data-section='身体数据'] .profile-summary-item > strong,
.profile-shell-refined .profile-card[data-section='体重进度'] .profile-summary-item > strong,
.profile-shell-refined .profile-card[data-section='日常目标'] .profile-summary-item > strong {
  grid-area: value !important;
  justify-self: end !important;
  align-self: center !important;
  display: inline-flex !important;
  align-items: center !important;
  min-height: 100% !important;
  text-align: right !important;
}

.profile-card[data-section='动态勋章陈列室'] .grid.grid-cols-4.gap-2 > button > div:first-child {
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  min-height: 56px !important;
  border-radius: 18px !important;
  font-size: 28px !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.profile-card[data-section='动态勋章陈列室'] .grid.grid-cols-4.gap-2 > button p {
  font-size: 12px !important;
  line-height: 16px !important;
  font-weight: 600 !important;
}

.fit-sheet .fit-sheet-body .grid.grid-cols-4.gap-2 > button > div:first-child,
.profile-achievement-sheet .fit-sheet-body .grid.grid-cols-4.gap-2 > button > div:first-child,
.profile-achievement-sheet .fit-sheet-body .rounded-\[26px\] .relative.z-10 > div:first-child {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  aspect-ratio: 1 / 1 !important;
  font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif !important;
  line-height: 1 !important;
  text-rendering: geometricPrecision !important;
}

.fit-sheet .fit-sheet-body .grid.grid-cols-4.gap-2 > button > div:first-child,
.profile-achievement-sheet .fit-sheet-body .grid.grid-cols-4.gap-2 > button > div:first-child {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  font-size: 24px !important;
}

.fit-sheet .fit-sheet-body .grid.grid-cols-4.gap-2 > button > span:last-child {
  font-size: 11px !important;
  line-height: 15px !important;
  font-weight: 600 !important;
}

.profile-achievement-sheet .fit-sheet-body .rounded-\[26px\] .relative.z-10 > div:first-child {
  width: 68px !important;
  height: 68px !important;
  min-width: 68px !important;
  min-height: 68px !important;
  font-size: 34px !important;
}

.ui-icon-symbol {
  flex: 0 0 auto;
  min-width: 1em;
  min-height: 1em;
  aspect-ratio: 1 / 1;
}

.home-page-shell > div.grid.grid-cols-2.gap-3 > div > div.flex.justify-between.items-start > div:first-child {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  aspect-ratio: 1 / 1 !important;
  flex: 0 0 40px !important;
  padding: 8px !important;
}

.home-page-shell > div.grid.grid-cols-2.gap-3 > div > div.flex.justify-between.items-start > div:first-child > .material-symbols-outlined,
.home-page-shell > div.grid.grid-cols-2.gap-3 > div > div.flex.justify-between.items-start > div:first-child .ui-icon-symbol {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  font-size: 20px !important;
  line-height: 1 !important;
  flex: 0 0 20px !important;
}

.home-page-shell section .space-y-2 .flex.items-center.gap-3 > div:first-child {
  flex: 0 0 auto !important;
  aspect-ratio: 1 / 1 !important;
}

.exercise-today-card .flex.items-center.gap-3.bg-surface-container-lowest {
  display: grid !important;
  grid-template-columns: 46px minmax(0, 1fr) !important;
  align-items: center !important;
  column-gap: 14px !important;
}

.exercise-today-card .flex.items-center.gap-3.bg-surface-container-lowest > div:first-child {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  min-height: 46px !important;
  aspect-ratio: 1 / 1 !important;
  flex: 0 0 46px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.exercise-today-card .flex.items-center.gap-3.bg-surface-container-lowest > div:first-child > .material-symbols-outlined,
.exercise-today-card .flex.items-center.gap-3.bg-surface-container-lowest > div:first-child .ui-icon-symbol {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  font-size: 22px !important;
  line-height: 1 !important;
  flex: 0 0 22px !important;
}

.exercise-today-card .flex.items-center.gap-3.bg-surface-container-lowest > div:last-child {
  min-width: 0 !important;
  padding-left: 2px !important;
}

.exercise-tips-card {
  display: grid !important;
  grid-template-columns: 46px minmax(0, 1fr) !important;
  align-items: center !important;
  column-gap: 14px !important;
}

.exercise-tips-card > div:first-child {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  min-height: 46px !important;
  aspect-ratio: 1 / 1 !important;
  flex: 0 0 46px !important;
}

.exercise-tips-card > div:first-child > .material-symbols-outlined,
.exercise-tips-card > div:first-child .ui-icon-symbol {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  font-size: 22px !important;
  line-height: 1 !important;
  flex: 0 0 22px !important;
}

.exercise-tips-card > div:last-child {
  min-width: 0 !important;
  padding-left: 2px !important;
}

.profile-shell-refined .profile-card[data-section='运动数据'] .profile-summary-item {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-rows: auto auto !important;
  align-content: center !important;
  align-items: center !important;
  column-gap: 12px !important;
  row-gap: 2px !important;
  padding: 12px 14px !important;
  min-height: 86px !important;
}

.profile-shell-refined .profile-card[data-section='运动数据'] .profile-summary-item > div:first-child {
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.profile-shell-refined .profile-card[data-section='运动数据'] .profile-summary-item > div:first-child > .material-symbols-outlined,
.profile-shell-refined .profile-card[data-section='运动数据'] .profile-summary-item > div:first-child .ui-icon-symbol {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  font-size: 18px !important;
  line-height: 1 !important;
  flex: 0 0 18px !important;
}

.profile-shell-refined .profile-card[data-section='运动数据'] .profile-summary-item > div:first-child span:not(.material-symbols-outlined):not(.ui-icon-symbol) {
  font-size: 11px !important;
  line-height: 15px !important;
  color: var(--color-on-surface-variant) !important;
}

.profile-shell-refined .profile-card[data-section='运动数据'] .profile-summary-item > p:nth-of-type(1) {
  grid-column: 2 !important;
  grid-row: 1 !important;
  justify-self: end !important;
  text-align: right !important;
  font-size: 18px !important;
  line-height: 22px !important;
  font-weight: 700 !important;
  margin: 0 !important;
}

.profile-shell-refined .profile-card[data-section='运动数据'] .profile-summary-item > p:nth-of-type(1) > span {
  font-size: 12px !important;
  line-height: 16px !important;
  font-weight: 600 !important;
  opacity: 0.65 !important;
  margin-left: 4px !important;
}

.profile-shell-refined .profile-card[data-section='运动数据'] .profile-summary-item > p:nth-of-type(2) {
  grid-column: 2 !important;
  grid-row: 2 !important;
  justify-self: end !important;
  text-align: right !important;
  font-size: 10px !important;
  line-height: 14px !important;
  color: var(--color-on-surface-variant) !important;
  margin: 0 !important;
}

.profile-shell-refined .profile-card[data-section='身体数据'] .profile-summary-item,
.profile-shell-refined .profile-card[data-section='体重进度'] .profile-summary-item,
.profile-shell-refined .profile-card[data-section='日常目标'] .profile-summary-item {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-rows: auto auto !important;
  align-content: center !important;
  align-items: center !important;
  column-gap: 12px !important;
  row-gap: 2px !important;
  padding: 12px 14px !important;
  min-height: 86px !important;
}

.profile-shell-refined .profile-card[data-section='身体数据'] .profile-summary-item > span:first-child,
.profile-shell-refined .profile-card[data-section='体重进度'] .profile-summary-item > span:first-child,
.profile-shell-refined .profile-card[data-section='日常目标'] .profile-summary-item > span:first-child {
  grid-column: 1 !important;
  grid-row: 1 !important;
  font-size: 11px !important;
  line-height: 15px !important;
  color: var(--color-on-surface-variant) !important;
}

.profile-shell-refined .profile-card[data-section='身体数据'] .profile-summary-item > p:nth-of-type(1),
.profile-shell-refined .profile-card[data-section='体重进度'] .profile-summary-item > p:nth-of-type(1),
.profile-shell-refined .profile-card[data-section='日常目标'] .profile-summary-item > p:nth-of-type(1) {
  grid-column: 2 !important;
  grid-row: 1 / span 2 !important;
  justify-self: end !important;
  align-self: center !important;
  text-align: right !important;
  font-size: 18px !important;
  line-height: 22px !important;
  font-weight: 700 !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.profile-shell-refined .profile-card[data-section='身体数据'] .profile-summary-item > p:nth-of-type(1) > span,
.profile-shell-refined .profile-card[data-section='体重进度'] .profile-summary-item > p:nth-of-type(1) > span,
.profile-shell-refined .profile-card[data-section='日常目标'] .profile-summary-item > p:nth-of-type(1) > span {
  font-size: 12px !important;
  line-height: 16px !important;
  font-weight: 600 !important;
  opacity: 0.65 !important;
}

.profile-shell-refined .profile-card[data-section='身体数据'] .profile-summary-item > p:nth-of-type(2),
.profile-shell-refined .profile-card[data-section='体重进度'] .profile-summary-item > p:nth-of-type(2),
.profile-shell-refined .profile-card[data-section='日常目标'] .profile-summary-item > p:nth-of-type(2) {
  grid-column: 1 !important;
  grid-row: 2 !important;
  font-size: 10px !important;
  line-height: 14px !important;
  color: var(--color-on-surface-variant) !important;
  margin: 0 !important;
}
