/** Breath practice app shell — static fallback when Next.js CSS chunks fail (popup / offline). */
html,
body {
  margin: 0;
  min-height: 100%;
  background: #0d1b21;
  color: #4a6878;
  -webkit-font-smoothing: antialiased;
}

.breath-practice-app-root {
  min-height: 100dvh;
  background: #0d1b21;
}

.breath-orb-app,
.breath-orb-popup,
.breath-orb-modal {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  background: #0d1b21;
  color: #4a6878;
}

.breath-orb-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.breath-orb-popup {
  padding: 2rem 1rem;
}

.breath-orb-main {
  display: flex;
  flex: 1 1 0%;
  min-height: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(1.25rem + env(safe-area-inset-top, 0px)) 1rem 0.5rem;
}

.breath-orb-controls {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1.5rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
}

.breath-orb-speed-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  width: 100%;
  max-width: 28rem;
}

.breath-orb-app-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.breath-practice-install {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right, 0px));
  bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  z-index: 10001;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.375rem;
  max-width: min(14rem, 42vw);
  pointer-events: auto;
}

.breath-practice-install-btn {
  border: 1px solid rgba(74, 158, 143, 0.45);
  background: transparent;
  padding: 0.375rem 1rem;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #7eb8aa;
  cursor: pointer;
}

.breath-practice-install-btn:hover {
  border-color: #4a9e8f;
  color: #4a9e8f;
}

.breath-practice-install-btn:disabled {
  opacity: 0.6;
  cursor: default;
}

.breath-practice-install-hint {
  max-width: 14rem;
  margin: 0;
  text-align: right;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: rgba(74, 104, 120, 0.9);
}

.breath-practice-installed {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(74, 158, 143, 0.8);
}

.breath-orb-timer-menu {
  display: none;
}

.breath-orb-timer-wrap.is-open .breath-orb-timer-menu {
  display: block;
}

@keyframes breath-orb-pulse {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(0.12);
  }
  12.5% {
    transform: translate3d(0, 0, 0) scale(0.281);
  }
  25% {
    transform: translate3d(0, 0, 0) scale(0.67);
  }
  37.5% {
    transform: translate3d(0, 0, 0) scale(1.059);
  }
  50% {
    transform: translate3d(0, 0, 0) scale(1.22);
  }
  62.5% {
    transform: translate3d(0, 0, 0) scale(1.059);
  }
  75% {
    transform: translate3d(0, 0, 0) scale(0.67);
  }
  87.5% {
    transform: translate3d(0, 0, 0) scale(0.281);
  }
}

@keyframes breath-orb-glow {
  0%,
  100% {
    opacity: 0.08;
  }
  12.5% {
    opacity: 0.214;
  }
  25% {
    opacity: 0.54;
  }
  37.5% {
    opacity: 0.866;
  }
  50% {
    opacity: 1;
  }
  62.5% {
    opacity: 0.866;
  }
  75% {
    opacity: 0.54;
  }
  87.5% {
    opacity: 0.214;
  }
}

/** 手機：同曲線、較低峰值，避免刺眼 */
@keyframes breath-orb-pulse-mobile {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(0.12);
  }
  12.5% {
    transform: translate3d(0, 0, 0) scale(0.269);
  }
  25% {
    transform: translate3d(0, 0, 0) scale(0.63);
  }
  37.5% {
    transform: translate3d(0, 0, 0) scale(0.991);
  }
  50% {
    transform: translate3d(0, 0, 0) scale(1.14);
  }
  62.5% {
    transform: translate3d(0, 0, 0) scale(0.991);
  }
  75% {
    transform: translate3d(0, 0, 0) scale(0.63);
  }
  87.5% {
    transform: translate3d(0, 0, 0) scale(0.269);
  }
}

@keyframes breath-orb-glow-mobile {
  0%,
  100% {
    opacity: 0.08;
  }
  12.5% {
    opacity: 0.168;
  }
  25% {
    opacity: 0.38;
  }
  37.5% {
    opacity: 0.592;
  }
  50% {
    opacity: 0.68;
  }
  62.5% {
    opacity: 0.592;
  }
  75% {
    opacity: 0.38;
  }
  87.5% {
    opacity: 0.168;
  }
}

/** Breath practice app shell — static fallback when Next.js CSS chunks fail (popup / offline). */
html,
body {
  margin: 0;
  min-height: 100%;
  background: #0d1b21;
  color: #4a6878;
  -webkit-font-smoothing: antialiased;
}

.breath-practice-app-root {
  min-height: 100dvh;
  background: #0d1b21;
}

.breath-orb-app,
.breath-orb-popup,
.breath-orb-modal {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  background: #0d1b21;
  color: #4a6878;
}

.breath-orb-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.breath-orb-popup {
  padding: 2rem 1rem;
}

.breath-orb-main {
  display: flex;
  flex: 1 1 0%;
  min-height: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(1.25rem + env(safe-area-inset-top, 0px)) 1rem 0.5rem;
}

.breath-orb-controls {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1.5rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
}

.breath-orb-speed-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  width: 100%;
  max-width: 28rem;
}

.breath-orb-app-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.breath-practice-install {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right, 0px));
  bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  z-index: 10001;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.375rem;
  max-width: min(14rem, 42vw);
  pointer-events: auto;
}

.breath-practice-install-btn {
  border: 1px solid rgba(74, 158, 143, 0.45);
  background: transparent;
  padding: 0.375rem 1rem;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #7eb8aa;
  cursor: pointer;
}

.breath-practice-install-btn:hover {
  border-color: #4a9e8f;
  color: #4a9e8f;
}

.breath-practice-install-btn:disabled {
  opacity: 0.6;
  cursor: default;
}

.breath-practice-install-hint {
  max-width: 14rem;
  margin: 0;
  text-align: right;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: rgba(74, 104, 120, 0.9);
}

.breath-practice-installed {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(74, 158, 143, 0.8);
}

.breath-orb-timer-menu {
  display: none;
}

.breath-orb-timer-wrap.is-open .breath-orb-timer-menu {
  display: block;
}

/** Trigger mini orb：同正弦節奏 */
@keyframes breath-orb-pulse-mini {
  0%,
  100% {
    transform: scale(0.58);
    opacity: 0.55;
  }
  12.5% {
    transform: scale(0.641);
    opacity: 0.62;
  }
  25% {
    transform: scale(0.79);
    opacity: 0.76;
  }
  37.5% {
    transform: scale(0.939);
    opacity: 0.91;
  }
  50% {
    transform: scale(1);
    opacity: 1;
  }
  62.5% {
    transform: scale(0.939);
    opacity: 0.91;
  }
  75% {
    transform: scale(0.79);
    opacity: 0.76;
  }
  87.5% {
    transform: scale(0.641);
    opacity: 0.62;
  }
}

.breath-orb-mini {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(245, 232, 195, 0.88) 0%,
    rgba(235, 218, 175, 0.72) 55%,
    rgba(210, 190, 150, 0.45) 100%
  );
  filter: blur(2px);
  animation: breath-orb-pulse-mini var(--breath-orb-duration, 20s) linear infinite;
  transform-origin: center;
  will-change: transform, opacity;
}

/** 公案字：止（暗）· 吸（脹）· 呼（縮）；止 淡入淡出約 15% 週期（medium ≈ 3s） */
@keyframes breath-orb-koan-stop {
  0%,
  2% {
    opacity: 1;
  }
  17% {
    opacity: 0;
  }
  83% {
    opacity: 0;
  }
  98%,
  100% {
    opacity: 1;
  }
}

@keyframes breath-orb-koan-inhale {
  0%,
  6% {
    opacity: 0;
  }
  14% {
    opacity: 0.35;
  }
  22% {
    opacity: 0.72;
  }
  32%,
  48% {
    opacity: 1;
  }
  58% {
    opacity: 0.35;
  }
  66%,
  100% {
    opacity: 0;
  }
}

@keyframes breath-orb-koan-exhale {
  0%,
  34% {
    opacity: 0;
  }
  44% {
    opacity: 0.35;
  }
  52% {
    opacity: 0.72;
  }
  62%,
  78% {
    opacity: 1;
  }
  88% {
    opacity: 0.35;
  }
  96%,
  100% {
    opacity: 0;
  }
}

/** English cues：in（球變大）↔ out（球變小）；keyframes 由 JS 依 speed 注入（var() 在 @keyframes 無效） */
.breath-orb-cue--in,
.breath-orb-cue--out {
  animation-name: none;
}

.breath-orb-stage {
  position: relative;
  width: min(16cm, 92vw);
  height: min(16cm, 92vw);
  flex-shrink: 1;
  max-height: min(16cm, 58vh);
  aspect-ratio: 1;
  isolation: isolate;
  transform: translateZ(0);
}

.breath-orb-modal .breath-orb-stage,
.breath-orb-app .breath-orb-stage {
  width: min(10.5cm, 62vw, 46vh);
  height: min(10.5cm, 62vw, 46vh);
}

.breath-orb-popup .breath-orb-stage {
  width: min(12cm, 78vw, 54vh);
  height: min(12cm, 78vw, 54vh);
}

.breath-orb-full-wrap {
  position: absolute;
  inset: 0;
  animation: breath-orb-pulse var(--breath-orb-duration, 20s) linear infinite;
  animation-timing-function: linear;
  transform: translate3d(0, 0, 0);
  transform-origin: center center;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  contain: layout style;
}

.breath-orb-popup .breath-orb-full-wrap {
  width: auto;
  height: auto;
}

/** 月心：亮度僅以 opacity 呼吸（避免 filter/box-shadow 動畫卡頓） */
.breath-orb-full {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 252, 235, 0.74) 0%,
    rgba(252, 244, 215, 0.48) 38%,
    rgba(240, 228, 188, 0.22) 64%,
    rgba(225, 210, 168, 0.06) 82%,
    transparent 100%
  );
  filter: blur(34px) brightness(1.1);
  box-shadow:
    0 0 75px rgba(255, 246, 210, 0.3),
    0 0 150px rgba(250, 232, 185, 0.13);
  animation: breath-orb-glow var(--breath-orb-duration, 20s) linear infinite;
  animation-timing-function: linear;
  transform: translate3d(0, 0, 0);
  transform-origin: center center;
  will-change: opacity, transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

@media (max-width: 768px) {
  .breath-orb-full-wrap {
    animation-name: breath-orb-pulse-mobile;
  }

  .breath-orb-full {
    animation-name: breath-orb-glow-mobile;
    filter: blur(34px) brightness(0.98);
    box-shadow:
      0 0 50px rgba(255, 246, 210, 0.22),
      0 0 100px rgba(250, 232, 185, 0.1);
    background: radial-gradient(
      circle at 50% 50%,
      rgba(255, 252, 235, 0.58) 0%,
      rgba(252, 244, 215, 0.36) 38%,
      rgba(240, 228, 188, 0.15) 64%,
      rgba(225, 210, 168, 0.05) 82%,
      transparent 100%
    );
  }
}

.breath-orb-timer-wrap {
  position: fixed;
  top: calc(1rem + env(safe-area-inset-top));
  right: calc(1rem + env(safe-area-inset-right));
  z-index: 25;
}

.breath-orb-timer-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: none;
  background: none;
  padding: 0.15rem 0.1rem;
  margin: 0;
  cursor: pointer;
  font-family: var(--font-sans-latin), var(--font-serif-zh);
  font-size: clamp(0.78rem, 2.2vw, 0.92rem);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
  color: rgba(122, 154, 171, 0.38);
  transition: color 0.6s ease;
}

.breath-orb-timer-trigger:hover,
.breath-orb-timer-trigger:focus-visible {
  color: rgba(122, 154, 171, 0.62);
  outline: none;
}

.breath-orb-timer-chevron {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  width: 0.72rem;
  height: 0.72rem;
  color: rgba(74, 158, 143, 0.78);
  transition: color 0.3s ease, transform 0.25s ease;
}

.breath-orb-timer-chevron svg {
  display: block;
  width: 100%;
  height: 100%;
}

.breath-orb-timer-trigger:hover .breath-orb-timer-chevron,
.breath-orb-timer-trigger:focus-visible .breath-orb-timer-chevron {
  color: rgba(74, 158, 143, 0.98);
}

.breath-orb-timer-wrap.is-open .breath-orb-timer-chevron {
  transform: rotate(180deg);
  color: rgba(74, 158, 143, 0.98);
}

.breath-orb-timer-wrap.is-complete .breath-orb-timer-trigger {
  color: rgba(74, 158, 143, 0.55);
}

.breath-orb-timer-wrap.is-paused .breath-orb-timer-trigger {
  color: rgba(122, 154, 171, 0.24);
}

.breath-orb-timer-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  min-width: 5.5rem;
  margin: 0;
  padding: 0.25rem 0;
  list-style: none;
  border: 1px solid rgba(74, 158, 143, 0.28);
  background: rgba(13, 27, 33, 0.94);
  backdrop-filter: blur(6px);
}

.breath-orb-timer-option {
  display: block;
  width: 100%;
  border: none;
  background: none;
  padding: 0.4rem 0.85rem;
  text-align: right;
  font-family: var(--font-sans-latin), var(--font-serif-zh);
  font-size: clamp(0.75rem, 2vw, 0.88rem);
  letter-spacing: 0.1em;
  color: rgba(122, 154, 171, 0.55);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.breath-orb-timer-option:hover,
.breath-orb-timer-option:focus-visible {
  color: rgba(74, 158, 143, 0.88);
  background: rgba(74, 158, 143, 0.08);
  outline: none;
}

.breath-orb-timer-option.is-active {
  color: rgba(74, 158, 143, 0.95);
}

/** @deprecated use .breath-orb-timer-wrap */
.breath-orb-timer {
  position: fixed;
  top: calc(1rem + env(safe-area-inset-top));
  right: calc(1rem + env(safe-area-inset-right));
  z-index: 25;
  margin: 0;
  font-family: var(--font-sans-latin), var(--font-serif-zh);
  font-size: clamp(0.78rem, 2.2vw, 0.92rem);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
  color: rgba(122, 154, 171, 0.38);
  text-shadow: none;
  pointer-events: none;
  transition: color 0.6s ease;
}

.breath-orb-timer.is-complete {
  color: rgba(74, 158, 143, 0.55);
}

.breath-orb-popup .breath-orb-lang-toggle {
  top: calc(1rem + env(safe-area-inset-top));
  left: calc(1rem + env(safe-area-inset-left));
  right: auto;
}

.breath-orb-timer.is-paused {
  color: rgba(122, 154, 171, 0.24);
}

.breath-orb-stage.is-paused .breath-orb-full-wrap,
.breath-orb-stage.is-paused .breath-orb-full,
.breath-orb-stage.is-paused .breath-orb-koan-phase,
.breath-orb-stage.is-paused .breath-orb-cue {
  animation-play-state: paused;
}

.breath-orb-action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0.65rem;
}

.breath-orb-action-btn {
  border: 1px solid rgba(74, 158, 143, 0.55);
  border-radius: 4px;
  background: rgba(13, 27, 33, 0.88);
  padding: 0.5rem 0.7rem;
  min-width: 5.75rem;
  font-family: var(--font-serif-zh), var(--font-sans-latin);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(122, 154, 171, 0.82);
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}

.breath-orb-action-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.18rem;
  line-height: 1.2;
}

.breath-orb-action-label-primary {
  letter-spacing: 0.28em;
  text-indent: 0.28em;
}

.breath-orb-action-label-sub {
  font-family: var(--font-body);
  font-size: 0.62em;
  letter-spacing: 0.04em;
  opacity: 0.78;
  font-variant: normal;
  text-transform: none;
}

.breath-orb-action-btn:hover,
.breath-orb-action-btn.is-active {
  border-color: rgba(74, 158, 143, 0.95);
  color: rgba(160, 210, 200, 0.95);
  background: rgba(13, 27, 33, 0.96);
}

.breath-orb-action-btn:disabled {
  opacity: 0.38;
  cursor: default;
}

.breath-orb-action-btn--enter-home {
  border-color: rgba(196, 162, 82, 0.75);
  color: rgba(212, 188, 122, 0.9);
}

.breath-orb-action-btn--enter-home:hover {
  border-color: rgba(220, 196, 138, 0.95);
  color: rgba(244, 236, 222, 0.95);
  background: rgba(13, 27, 33, 0.96);
}

.breath-orb-koan-title {
  max-width: 20rem;
  text-align: center;
  font-family: var(--font-serif-zh), var(--font-sans-latin);
  font-size: clamp(1.05rem, 3.2vw, 1.35rem);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.14em;
}

.breath-orb-koan-emphasis {
  font-weight: 600;
  font-synthesis: weight;
}

/** 吸／呼：球亮時用 multiply，淡字在亮球上仍可見 */
.breath-orb-koan-phase--inhale {
  mix-blend-mode: multiply;
  color: rgba(52, 72, 84, 0.14);
}

.breath-orb-koan-phase--exhale {
  mix-blend-mode: multiply;
  color: rgba(52, 72, 84, 0.09);
}

.breath-orb-koan-phase--inhale .breath-orb-koan-emphasis {
  color: rgba(28, 48, 58, 0.38);
  text-shadow: none;
}

.breath-orb-koan-phase--exhale .breath-orb-koan-emphasis {
  color: rgba(28, 48, 58, 0.26);
  text-shadow: none;
}

/** 止：球暗時用淡藍光字（linear 與 orb 同步） */
.breath-orb-koan-phase--stop {
  mix-blend-mode: normal;
  color: rgba(184, 208, 222, 0.08);
}

.breath-orb-koan-phase--stop .breath-orb-koan-emphasis {
  color: rgba(196, 214, 224, 0.22);
  text-shadow: 0 0 14px rgba(184, 208, 222, 0.06);
  letter-spacing: 0.2em;
}

.breath-orb-koan-title--en {
  font-family: var(--font-sans-latin), var(--font-serif-zh);
  font-size: clamp(0.92rem, 2.6vw, 1.15rem);
  letter-spacing: 0.05em;
  line-height: 1.45;
  max-width: min(88vw, 18rem);
}

.breath-orb-lang-toggle {
  position: fixed;
  top: calc(1rem + env(safe-area-inset-top));
  right: calc(1rem + env(safe-area-inset-right));
  z-index: 20;
  background: none;
  border: 1px solid rgba(74, 158, 143, 0.35);
  color: #4a6878;
  font-family: var(--font-sans-latin), var(--font-serif-zh);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  padding: 0.45rem 0.65rem;
  min-height: 36px;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s;
}

.breath-orb-lang-toggle:hover {
  border-color: #4a9e8f;
  color: #4a9e8f;
}

.breath-orb-koan-title--center {
  position: absolute;
  inset: 0;
  z-index: 2;
  max-width: none;
  margin: 0;
  pointer-events: none;
}

.breath-orb-koan-phase {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10%;
  text-align: center;
  animation-duration: var(--breath-orb-duration, 20s);
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: opacity;
  backface-visibility: hidden;
}

.breath-orb-koan-phase--inhale,
.breath-orb-koan-phase--exhale,
.breath-orb-koan-phase--stop {
  animation-name: none;
}

.breath-orb-cue-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.breath-orb-cue {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans-latin), var(--font-serif-zh);
  font-size: clamp(0.72rem, 2vw, 0.88rem);
  font-weight: 400;
  font-style: italic;
  text-transform: lowercase;
  letter-spacing: 0.24em;
  color: rgba(58, 82, 96, 0.42);
  mix-blend-mode: multiply;
  animation-duration: var(--breath-orb-duration, 20s);
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: opacity, transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.breath-orb-modal-label {
  animation: breath-orb-fadein 3s ease 1.5s forwards;
  opacity: 0;
}

.breath-orb-controls {
  border-top: 1px solid rgba(74, 104, 120, 0.12);
  background: rgba(13, 27, 33, 0.92);
}

.breath-orb-control-label {
  font-family: var(--font-sans-latin), var(--font-serif-zh);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(74, 104, 120, 0.72);
}

.breath-orb-chip {
  background: none;
  border: 1px solid rgba(74, 104, 120, 0.35);
  color: #4a6878;
  font-family: var(--font-sans-latin), var(--font-serif-zh);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  cursor: pointer;
  padding: 0.35rem 0.65rem;
  transition: border-color 0.3s, color 0.3s;
}

.breath-orb-chip:hover,
.breath-orb-chip.is-active {
  border-color: rgba(74, 158, 143, 0.55);
  color: #4a9e8f;
}

.breath-orb-speed {
  background: none;
  border: none;
  color: #4a6878;
  font-family: var(--font-sans-latin), var(--font-serif-zh);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.3rem 0.5rem;
  transition: color 0.3s;
}

.breath-orb-speed:hover,
.breath-orb-speed.is-active {
  color: #4a9e8f;
}

@keyframes breath-orb-fadein {
  to {
    opacity: 1;
  }
}
