:root {
  color-scheme: light;
  --bg: #eef5ef;
  --bg-deep: #d9e6dc;
  --surface: rgba(249, 253, 249, 0.86);
  --surface-strong: rgba(251, 255, 251, 0.96);
  --surface-soft: rgba(238, 245, 239, 0.92);
  --surface-mist: rgba(220, 232, 223, 0.74);
  --text: #26463a;
  --muted: #6d8378;
  --line: rgba(108, 140, 122, 0.18);
  --accent: #769886;
  --accent-strong: #26463a;
  --accent-soft: #edf5ee;
  --accent-glow: rgba(164, 197, 177, 0.3);
  --gold: #bfd0c1;
  --warn: #9a7b67;
  --report: #dce9df;
  --report-soft: rgba(245, 251, 246, 0.96);
  --report-strong: #55705f;
  --report-line: rgba(148, 178, 160, 0.3);
  --shadow: 0 24px 64px rgba(78, 102, 88, 0.12);
  --shadow-soft: 0 14px 34px rgba(78, 102, 88, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  min-height: 100%;
}

body {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 16% 4%, rgba(255, 255, 255, 0.98), transparent 28%),
    radial-gradient(circle at 84% 10%, rgba(210, 232, 216, 0.72), transparent 24%),
    radial-gradient(circle at 50% 88%, rgba(177, 205, 186, 0.24), transparent 22%),
    linear-gradient(180deg, #f8fcf8 0%, #eff6f0 42%, #e4ede6 100%);
  color: var(--text);
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  font-family:
    "SF Pro Rounded", "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    sans-serif;
}

body::before,
body::after {
  position: fixed;
  inset: -18%;
  z-index: 0;
  content: "";
  pointer-events: none;
}

body::before {
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.8), transparent 24%),
    radial-gradient(circle at 78% 56%, rgba(183, 210, 191, 0.34), transparent 28%),
    radial-gradient(circle at 48% 88%, rgba(154, 188, 166, 0.24), transparent 20%);
  filter: blur(24px);
  opacity: 0.95;
  animation: floatDrift 24s ease-in-out infinite alternate;
}

body::after {
  background:
    radial-gradient(ellipse at 50% 20%, rgba(255, 255, 255, 0.48), transparent 40%),
    repeating-radial-gradient(
      ellipse at 50% 50%,
      rgba(255, 255, 255, 0.08) 0 1px,
      transparent 2px 34px
    );
  filter: blur(16px);
  opacity: 0.48;
  animation: floatDrift 18s ease-in-out infinite alternate-reverse;
}

button,
textarea,
input {
  font: inherit;
  touch-action: manipulation;
}

button {
  cursor: pointer;
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    color 220ms ease,
    opacity 220ms ease;
}

main {
  padding-bottom: 18px;
  padding-bottom: max(18px, env(safe-area-inset-bottom, 0px));
}

.splash {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 46%, rgba(170, 210, 195, 0.12), transparent 24%),
    radial-gradient(ellipse at 50% 66%, rgba(190, 221, 211, 0.1), transparent 28%),
    linear-gradient(180deg, #0b2822 0%, #103a31 50%, #08231f 100%);
  color: #fdfcf8;
  animation: splashExit 4800ms cubic-bezier(0.34, 0.04, 0.12, 1) forwards;
}

.standalone-mode .splash {
  animation-duration: 4400ms;
}

.splash::before,
.splash::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.splash::before {
  left: 50%;
  top: 50%;
  width: min(96vw, 520px);
  height: min(96vw, 520px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(211, 236, 228, 0.18), transparent 64%);
  transform: translate(-50%, -50%);
  filter: blur(38px);
  opacity: 0.72;
}

.splash::after {
  inset: 0;
  background:
    radial-gradient(circle at 50% 48%, rgba(239, 249, 245, 0.1), transparent 15%),
    radial-gradient(ellipse at 50% 65%, rgba(220, 237, 231, 0.12), transparent 24%),
    linear-gradient(180deg, transparent 0%, rgba(173, 211, 198, 0.03) 58%, rgba(4, 20, 17, 0.26) 100%);
  opacity: 1;
}

.splash-scene {
  position: relative;
  width: min(94vw, 430px);
  aspect-ratio: 1;
}

.splash-rings {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.splash-rings span {
  position: absolute;
  left: 50%;
  top: 76%;
  border: 1px solid rgba(218, 239, 231, 0.62);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.46);
  opacity: 0;
  filter: blur(0.5px);
  animation: waterRippleExpand 3200ms ease-out forwards;
}

.splash-rings span:nth-child(1) {
  width: 132px;
  height: 36px;
  animation-delay: 900ms;
}

.splash-rings span:nth-child(2) {
  width: 196px;
  height: 54px;
  animation-delay: 1320ms;
}

.splash-rings span:nth-child(3) {
  width: 268px;
  height: 74px;
  animation-delay: 1740ms;
}

.splash-rings span:nth-child(4) {
  width: 342px;
  height: 94px;
  animation-delay: 2160ms;
}

.splash-mirror {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  width: min(62vw, 236px);
  aspect-ratio: 1;
  border: 1px solid rgba(226, 242, 236, 0.58);
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 30%, rgba(252, 255, 252, 0.62), transparent 24%),
    radial-gradient(circle at 58% 64%, rgba(160, 205, 191, 0.2), transparent 54%),
    linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.17),
      rgba(217, 238, 230, 0.1) 40%,
      rgba(255, 255, 255, 0.025) 76%
    );
  box-shadow:
    inset 0 0 62px rgba(255, 255, 255, 0.2),
    inset 0 -32px 72px rgba(148, 198, 183, 0.08),
    0 0 100px rgba(188, 224, 213, 0.18),
    0 30px 80px rgba(3, 18, 15, 0.28);
  transform: translate(-50%, 24%) scale(0.58);
  transform-origin: center center;
  opacity: 0.08;
  overflow: hidden;
  animation: mirrorRise 3500ms cubic-bezier(0.2, 0.74, 0.16, 1) 360ms forwards;
}

.splash-mirror::before,
.splash-mirror::after {
  position: absolute;
  content: "";
}

.splash-mirror::before {
  top: 8%;
  left: 50%;
  width: 76%;
  height: 76%;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.32),
    rgba(247, 250, 245, 0.06) 48%,
    rgba(255, 249, 229, 0.08)
  );
  transform: translateX(-50%);
}

.splash-mirror::after {
  inset: auto;
  left: 50%;
  bottom: -22%;
  width: 112%;
  height: 32%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 248, 252, 0.42), transparent 72%);
  transform: translateX(-50%);
  filter: blur(12px);
  opacity: 0.64;
}

.splash-mirror-core {
  position: absolute;
  inset: 16%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(245, 252, 246, 1) 0%, rgba(215, 239, 220, 0.8) 28%, rgba(255, 255, 255, 0.28) 58%, transparent 82%);
  filter: blur(10px);
  opacity: 0.28;
  transform: scale(0.62);
  animation: coreRadiance 3000ms ease 920ms forwards;
}

@keyframes floatDrift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(0, -18px, 0) scale(1.05);
  }
}

@keyframes mirrorBloom {
  0% {
    opacity: 0.18;
    transform: translate(-50%, -50%) scale(0.34);
  }
  38% {
    opacity: 0.52;
    transform: translate(-50%, -50%) scale(0.66);
  }
  100% {
    opacity: 0.98;
    transform: translate(-50%, -50%) scale(1.18);
  }
}

@keyframes mirrorRise {
  0% {
    opacity: 0.04;
    transform: translate(-50%, 34%) scale(0.5);
  }
  42% {
    opacity: 0.38;
    transform: translate(-50%, -30%) scale(0.82);
  }
  100% {
    opacity: 0.68;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

@keyframes coreRadiance {
  0% {
    opacity: 0.18;
    transform: scale(0.54);
  }
  44% {
    opacity: 0.64;
  }
  78% {
    opacity: 0.72;
    transform: scale(1.18);
  }
  100% {
    opacity: 0.48;
    transform: scale(1.06);
  }
}

@keyframes haloExpand {
  0% {
    opacity: 0;
    filter: blur(1px);
    transform: translate(-50%, -50%) scale(0.64);
  }
  18% {
    opacity: 0.44;
  }
  52% {
    opacity: 0.24;
    filter: blur(2px);
  }
  100% {
    opacity: 0;
    filter: blur(18px);
    transform: translate(-50%, -50%) scale(1.94);
  }
}

@keyframes waterRippleExpand {
  0% {
    opacity: 0;
    filter: blur(1px);
    transform: translate(-50%, -50%) scale(0.36);
  }
  22% {
    opacity: 0.64;
  }
  58% {
    opacity: 0.34;
  }
  100% {
    opacity: 0;
    filter: blur(10px);
    transform: translate(-50%, -50%) scale(1.72);
  }
}

@keyframes splashExit {
  0%,
  90% {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  100% {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

.app-shell {
  position: relative;
  z-index: 1;
  width: min(448px, calc(100% - 20px));
  margin: 0 auto;
  padding:
    max(18px, calc(env(safe-area-inset-top, 0px) + 8px))
    0
    max(40px, calc(env(safe-area-inset-bottom, 0px) + 22px));
}

.topbar {
  margin-bottom: 16px;
}

.brand-block {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  width: 100%;
  min-width: 0;
  padding: 18px 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 30px;
  background:
    linear-gradient(165deg, rgba(251, 255, 251, 0.94), rgba(236, 245, 238, 0.82)),
    rgba(255, 255, 255, 0.28);
  overflow: hidden;
  backdrop-filter: blur(22px);
  box-shadow: 0 20px 44px rgba(91, 117, 103, 0.1);
}

.brand-block::before,
.brand-block::after {
  position: absolute;
  inset: auto;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.brand-block::before {
  top: -34px;
  right: -22px;
  width: 148px;
  height: 148px;
  background: radial-gradient(circle, rgba(213, 233, 217, 0.72), transparent 68%);
}

.brand-block::after {
  left: 18px;
  bottom: -58px;
  width: 168px;
  height: 120px;
  background: radial-gradient(circle, rgba(188, 213, 196, 0.5), transparent 72%);
}

.brand-sigil {
  position: relative;
  z-index: 1;
  width: 76px;
  aspect-ratio: 0.73;
  justify-self: center;
}

.brand-sigil-frame,
.brand-sigil-glow,
.brand-sigil-line {
  position: absolute;
  display: block;
}

.brand-sigil-frame {
  inset: 0;
  border: 1px solid rgba(118, 152, 134, 0.22);
  border-radius: 46% 46% 50% 50% / 39% 39% 58% 58%;
  background:
    radial-gradient(circle at 50% 26%, rgba(255, 255, 255, 0.88), transparent 34%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.8), rgba(231, 244, 234, 0.36));
  box-shadow:
    inset 0 0 20px rgba(255, 255, 255, 0.34),
    0 10px 22px rgba(96, 126, 108, 0.12);
}

.brand-sigil-glow {
  inset: 24% 22% 26%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(231, 246, 235, 0.98), rgba(154, 188, 166, 0.38) 38%, transparent 74%);
  filter: blur(6px);
}

.brand-sigil-line {
  left: 50%;
  top: 10%;
  width: 18%;
  height: 76%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0.04));
  transform: translateX(-50%) rotate(4deg);
  opacity: 0.86;
}

.brand-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 8px;
  color: rgba(125, 97, 75, 0.82);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  font-family:
    "SF Pro Rounded", "Avenir Next", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  font-weight: 800;
}

h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--text);
  font-size: clamp(2.35rem, 10vw, 3.05rem);
  line-height: 0.92;
  letter-spacing: 0.04em;
}

.brand-block .eyebrow {
  position: relative;
  z-index: 1;
  margin-bottom: 6px;
}

.brand-block span {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 6px;
  color: rgba(123, 103, 90, 0.74);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.header-note {
  position: relative;
  z-index: 1;
  max-width: 18rem;
  margin: 10px 0 0;
  padding: 0;
  color: rgba(108, 92, 79, 0.82);
  font-size: 0.94rem;
  line-height: 1.72;
}

.tabs {
  position: sticky;
  top: 8px;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 12px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 999px;
  background: rgba(255, 251, 246, 0.78);
  backdrop-filter: blur(20px);
  box-shadow: 0 14px 28px rgba(146, 109, 79, 0.08);
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    box-shadow 220ms ease;
}

.entry-focus-mode .topbar {
  display: none;
}

.entry-focus-mode .app-shell {
  padding-top: max(14px, calc(env(safe-area-inset-top, 0px) + 6px));
  padding-bottom: max(112px, calc(env(safe-area-inset-bottom, 0px) + 92px));
}

.entry-focus-mode main {
  padding-bottom: 0;
}

.entry-focus-mode .tabs {
  position: fixed;
  right: 50%;
  bottom: max(14px, env(safe-area-inset-bottom, 0px) + 10px);
  top: auto;
  width: min(320px, calc(100% - 44px));
  margin: 0;
  padding: 5px;
  gap: 4px;
  transform: translateX(50%);
  border-color: rgba(255, 255, 255, 0.54);
  border-radius: 999px;
  background: rgba(255, 255, 250, 0.84);
  box-shadow: 0 16px 34px rgba(93, 122, 104, 0.16);
}

.keyboard-active .tabs {
  opacity: 0;
  pointer-events: none;
  transform: translateX(50%) translateY(18px);
}

.install-entry {
  position: fixed;
  left: 50%;
  bottom: max(22px, env(safe-area-inset-bottom, 0px) + 18px);
  z-index: 7;
  transform: translateX(-50%);
}

.entry-focus-mode .install-entry {
  display: none;
}

.keyboard-active .install-entry,
.standalone-mode .install-entry {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(14px);
}

.install-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 999px;
  padding: 0 16px;
  background: rgba(255, 255, 250, 0.86);
  color: var(--accent-strong);
  font-size: 0.88rem;
  font-weight: 800;
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 34px rgba(93, 122, 104, 0.16);
}

.install-chip-mark {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(120, 153, 134, 0.94), rgba(205, 191, 151, 0.9));
  box-shadow: 0 0 0 7px rgba(197, 220, 188, 0.2);
}

.tab {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(120, 101, 90, 0.78);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.entry-focus-mode .tab {
  min-height: 34px;
  font-size: 0.84rem;
  font-weight: 600;
}

.tab.active {
  background: linear-gradient(135deg, rgba(252, 255, 252, 0.98), rgba(236, 245, 238, 0.98) 62%, rgba(194, 215, 199, 0.94));
  color: var(--accent-strong);
  box-shadow:
    inset 0 0 0 1px rgba(118, 152, 134, 0.14),
    0 10px 20px rgba(108, 140, 122, 0.1);
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.panel {
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(251, 255, 251, 0.96), rgba(240, 247, 241, 0.9)),
    rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(22px);
  box-shadow: 0 22px 54px rgba(91, 117, 103, 0.11);
}

.record-panel {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 268px);
  min-height: calc(100dvh - 268px);
  padding: 24px;
}

.entry-focus-mode .record-panel {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 110px);
  min-height: calc(100dvh - 110px - env(safe-area-inset-bottom, 0px));
  padding: 26px 22px 18px;
  border-radius: 34px;
}

.record-panel::before {
  position: absolute;
  inset: -10% auto auto 34%;
  width: 58%;
  height: 260px;
  background:
    radial-gradient(circle, rgba(236, 246, 238, 0.5), transparent 54%),
    radial-gradient(circle at 54% 34%, rgba(196, 220, 202, 0.54), transparent 42%);
  content: "";
  filter: blur(22px);
  pointer-events: none;
}

.step-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 22px;
}

.record-step-0 .step-meta,
.record-step-1 .step-meta {
  margin-bottom: 14px;
}

.dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(141, 171, 154, 0.34);
}

.dot.active {
  width: 30px;
  background: linear-gradient(90deg, rgba(96, 135, 112, 0.96), rgba(173, 202, 182, 0.94));
}

.question {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin: 0 0 14px;
  color: #2d4a40;
  font-size: clamp(1.72rem, 7vw, 2.16rem);
  line-height: 1.14;
}

.text-step {
  position: relative;
  z-index: 1;
}

.entry-stage {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.entry-copy {
  position: relative;
  z-index: 1;
  max-width: 20rem;
}

.entry-hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(176, 212, 183, 0.98) 0%, rgba(93, 144, 117, 0.98) 52%, rgba(48, 81, 61, 0.94) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    0 24px 44px rgba(61, 95, 74, 0.18);
  min-height: 270px;
}

.entry-hero-visual {
  position: relative;
  min-height: 168px;
  overflow: hidden;
}

.entry-hero-sun,
.entry-hero-mirror,
.entry-hero-cloud,
.entry-hero-ground {
  position: absolute;
  display: block;
}

.entry-hero-sun {
  right: 14%;
  top: 22px;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 252, 246, 0.96), rgba(220, 239, 226, 0.74) 42%, rgba(184, 213, 194, 0.24) 72%, transparent 100%);
  filter: blur(2px);
}

.entry-hero-mirror {
  left: 42px;
  top: 42px;
  width: 154px;
  aspect-ratio: 1 / 0.94;
  border-radius: 44% 44% 52% 52% / 40% 40% 58% 58%;
  background:
    radial-gradient(circle at 50% 38%, rgba(21, 62, 235, 0.14), transparent 28%),
    linear-gradient(160deg, #37a0ff 0%, #2255f7 55%, #1445df 100%);
  box-shadow:
    inset -18px -10px 0 rgba(13, 61, 232, 0.24),
    0 22px 36px rgba(24, 79, 208, 0.22);
}

.entry-hero-mirror::before {
  position: absolute;
  left: 12%;
  top: 10%;
  width: 62%;
  height: 62%;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.04));
  content: "";
}

.entry-hero-mirror::after {
  position: absolute;
  right: -24px;
  bottom: -8px;
  width: 120px;
  height: 64px;
  border-radius: 54px 54px 32px 18px;
  background: linear-gradient(180deg, #2550f7, #163be1);
  content: "";
}

.entry-hero-cloud {
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    24px -8px 0 6px rgba(255, 255, 255, 0.96),
    52px -2px 0 2px rgba(255, 255, 255, 0.96);
}

.entry-hero-cloud-a {
  right: 78px;
  top: 72px;
  width: 64px;
}

.entry-hero-cloud-b {
  right: 48px;
  top: 122px;
  width: 46px;
  transform: scale(0.72);
  opacity: 0.78;
}

.entry-hero-ground {
  left: -4%;
  right: -4%;
  bottom: -8px;
  height: 70px;
  background:
    linear-gradient(180deg, rgba(147, 190, 158, 0.98), rgba(108, 154, 123, 0.98)),
    rgba(121, 170, 136, 0.9);
  clip-path: polygon(0 30%, 52% 0, 100% 44%, 100% 100%, 0 100%);
}

.entry-hero-content {
  position: relative;
  z-index: 1;
  padding: 18px 22px 22px;
  background: linear-gradient(180deg, rgba(35, 62, 45, 0.02), rgba(38, 73, 54, 0.18) 24%, rgba(28, 52, 40, 0.44) 100%);
}

.entry-hero-card .question,
.entry-hero-card .entry-note,
.entry-hero-card .entry-lead {
  color: #fffdf8;
}

.entry-hero-card .question {
  margin-bottom: 8px;
  font-size: clamp(1.92rem, 8.4vw, 2.6rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.entry-hero-card .entry-lead {
  margin-bottom: 8px;
  color: rgba(255, 250, 240, 0.84);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
}

.entry-hero-card .entry-note {
  color: rgba(255, 247, 235, 0.86);
}

.entry-input-shell {
  position: relative;
  z-index: 1;
}

.body-hero-card,
.response-hero-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 30px;
  padding: 20px 20px 18px;
  background:
    linear-gradient(180deg, rgba(251, 255, 251, 0.98), rgba(238, 245, 239, 0.95)),
    rgba(255, 255, 255, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 18px 34px rgba(91, 117, 103, 0.08);
}

.body-hero-card::before,
.response-hero-card::before {
  position: absolute;
  right: -12%;
  top: -18%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(210, 232, 216, 0.62), transparent 68%);
  content: "";
  pointer-events: none;
}

.body-hero-card .entry-lead,
.response-hero-card .entry-lead {
  position: relative;
  z-index: 1;
  margin-bottom: 8px;
}

.body-hero-card .question,
.response-hero-card .question {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-bottom: 8px;
  font-size: clamp(1.74rem, 7.2vw, 2.18rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.body-hero-card .entry-note,
.response-hero-card .entry-note {
  max-width: 20rem;
}

.entry-lead {
  margin: 0 0 10px;
  color: rgba(136, 104, 83, 0.7);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.entry-note {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(111, 93, 81, 0.86);
  font-size: 0.94rem;
  line-height: 1.72;
}

.entry-mirror-wash {
  position: absolute;
  right: -14%;
  top: 8%;
  width: 62%;
  height: 44%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 245, 228, 0.82), transparent 42%),
    radial-gradient(circle at 50% 52%, rgba(247, 207, 168, 0.42), transparent 68%);
  filter: blur(18px);
  opacity: 0.88;
  pointer-events: none;
}

.minimal-step .question {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 9vw, 3rem);
  line-height: 1.04;
  letter-spacing: 0.01em;
}

.single-line-question .question {
  display: block;
  width: 100%;
  font-size: clamp(1.86rem, 7.8vw, 2.5rem);
  white-space: nowrap;
  word-break: keep-all;
}

.prompt-note {
  max-width: 680px;
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.78;
}

.text-input {
  width: 100%;
  min-height: 210px;
  resize: vertical;
  border: 1px solid rgba(220, 140, 97, 0.12);
  border-radius: 26px;
  padding: 18px;
  background: rgba(255, 251, 247, 0.94);
  color: var(--text);
  font-size: 16px;
  line-height: 1.78;
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    0 12px 28px rgba(146, 109, 79, 0.05);
}

.entry-input {
  min-height: clamp(188px, 28dvh, 280px);
  padding-top: 22px;
  font-size: 1.02rem;
  line-height: 1.84;
}

.support-panel {
  margin-top: 18px;
  border: 1px solid rgba(130, 160, 141, 0.14);
  border-radius: 28px;
  padding: 18px 16px 16px;
  background:
    linear-gradient(180deg, rgba(252, 255, 252, 0.98), rgba(242, 249, 244, 0.95)),
    rgba(255, 255, 255, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.44),
    0 12px 24px rgba(97, 126, 108, 0.06);
}

.support-panel-head {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
}

.support-panel-head .eyebrow {
  margin: 0;
}

.support-panel-meta {
  color: rgba(108, 130, 116, 0.76);
  font-size: 0.78rem;
}

.support-selector {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.support-chip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-height: 72px;
  border: 1px solid rgba(130, 160, 141, 0.14);
  border-radius: 22px;
  padding: 14px 14px 13px;
  background: rgba(255, 255, 253, 0.92);
  color: #345245;
  text-align: left;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 8px 18px rgba(106, 136, 118, 0.05);
}

.support-chip span {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.support-chip small {
  color: rgba(104, 126, 112, 0.78);
  font-size: 0.78rem;
}

.support-chip.selected {
  border-color: rgba(120, 153, 134, 0.36);
  background: linear-gradient(135deg, rgba(253, 255, 253, 0.99), rgba(232, 243, 236, 0.98));
  box-shadow:
    0 0 0 6px rgba(208, 226, 214, 0.22),
    0 14px 24px rgba(109, 143, 123, 0.08);
}

.support-placeholder {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.support-card {
  margin-top: 14px;
  border: 1px solid rgba(130, 160, 141, 0.12);
  border-radius: 24px;
  padding: 16px;
  background: rgba(255, 255, 253, 0.84);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.46);
}

.support-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.support-card-head h3 {
  margin: 0 0 4px;
  color: #2f4d41;
  font-size: 1.04rem;
  letter-spacing: -0.02em;
}

.support-card-head p {
  margin: 0;
  color: rgba(91, 114, 101, 0.82);
  font-size: 0.9rem;
  line-height: 1.6;
}

.support-card-head span {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(237, 245, 240, 0.96);
  color: #51705f;
  font-size: 0.78rem;
  font-weight: 700;
}

.support-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.support-card-tag {
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(241, 247, 242, 0.96);
  color: rgba(88, 112, 98, 0.78);
  font-size: 0.76rem;
  font-weight: 700;
}

.support-card-actions {
  display: block;
  margin-top: 14px;
}

.support-open-button {
  width: 100%;
  min-width: 0;
}

.support-dialog {
  width: min(460px, calc(100% - 8px));
  max-width: none;
  height: min(calc(100vh - 8px), calc(100dvh - 8px));
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--text);
  overflow: hidden;
}

.support-dialog::backdrop {
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 231, 199, 0.28), transparent 28%),
    rgba(98, 61, 47, 0.28);
  backdrop-filter: blur(10px);
}

.support-session-shell {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(104, 140, 116, 0.98), rgba(61, 96, 75, 0.98) 42%, rgba(31, 54, 42, 0.98) 100%);
  color: #f9f8f3;
  box-shadow: 0 28px 80px rgba(31, 54, 42, 0.32);
}

.support-session-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.support-session-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(26px);
  opacity: 0.55;
}

.support-session-glow-a {
  top: -8%;
  left: 50%;
  width: 280px;
  height: 180px;
  background: rgba(225, 241, 230, 0.34);
  transform: translateX(-50%);
}

.support-session-glow-b {
  left: -12%;
  top: 36%;
  width: 180px;
  height: 240px;
  background: rgba(174, 206, 184, 0.2);
}

.support-session-glow-c {
  right: -10%;
  top: 42%;
  width: 200px;
  height: 260px;
  background: rgba(146, 183, 160, 0.18);
}

.support-session-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding:
    max(18px, calc(env(safe-area-inset-top, 0px) + 10px))
    18px
    max(18px, calc(env(safe-area-inset-bottom, 0px) + 12px));
}

.support-session-topbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 38px;
}

.support-close {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 252, 0.14);
  color: rgba(255, 250, 241, 0.9);
}

.support-session-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
  margin-top: 8px;
  text-align: center;
}

.support-session-ring,
.support-session-orb {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.support-session-ring-outer {
  width: 256px;
  height: 256px;
  border: 1px solid rgba(240, 248, 242, 0.16);
  opacity: 0.38;
}

.support-session-ring-mid {
  width: 196px;
  height: 196px;
  border: 1px solid rgba(236, 247, 239, 0.22);
  opacity: 0.54;
}

.support-session-orb {
  width: 132px;
  height: 132px;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.96), rgba(232, 246, 236, 0.66) 36%, rgba(193, 220, 203, 0.16) 64%, transparent 76%);
  box-shadow:
    0 0 44px rgba(231, 245, 235, 0.16),
    inset 0 0 26px rgba(255, 255, 255, 0.18);
  opacity: 0.96;
  transform: translate(-50%, -50%) scale(var(--session-scale, 1));
  transition: transform 380ms ease, box-shadow 380ms ease, opacity 380ms ease;
}

.phase-inhale .support-session-orb {
  box-shadow:
    0 0 60px rgba(234, 247, 237, 0.22),
    inset 0 0 28px rgba(255, 255, 255, 0.2);
}

.phase-exhale .support-session-orb {
  opacity: 0.82;
}

.support-session-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  max-width: 18.5rem;
  margin-top: 176px;
}

.support-phase-tag {
  color: rgba(250, 247, 240, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.support-session-copy strong {
  color: #fffdf8;
  font-size: clamp(1.8rem, 8vw, 2.7rem);
  line-height: 1.12;
  font-weight: 800;
}

.support-session-copy p {
  margin: 0;
  color: rgba(252, 248, 239, 0.82);
  line-height: 1.74;
}

.support-session-status {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 0;
}

.support-session-status div {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 14px;
  background: rgba(255, 252, 248, 0.1);
  backdrop-filter: blur(12px);
}

.support-session-status span {
  display: block;
  margin-bottom: 6px;
  color: rgba(252, 248, 240, 0.7);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.support-session-status strong {
  color: #fffdf7;
  font-size: clamp(1.55rem, 6vw, 2rem);
  line-height: 1;
}

.support-session-progress {
  height: 8px;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(233, 244, 236, 0.16);
}

.support-session-progress-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(244, 251, 245, 0.96), rgba(184, 216, 193, 0.98));
}

.support-session-summary,
.support-session-subnote {
  margin: 18px 0 0;
  color: rgba(249, 246, 239, 0.82);
  line-height: 1.72;
}

.support-session-actions {
  display: block;
  margin-top: auto;
  padding-top: 20px;
}

.support-session-main-button {
  min-height: 50px;
}

.entry-focus-mode .minimal-step .text-input {
  min-height: clamp(260px, 46dvh, 430px);
  padding-top: 22px;
  font-size: 1.12rem;
  line-height: 1.92;
}

.entry-focus-mode .entry-stage .question {
  margin-bottom: 10px;
  font-size: clamp(2.05rem, 8.5vw, 2.7rem);
  line-height: 1.08;
}

.entry-input {
  position: relative;
  z-index: 1;
  min-height: clamp(220px, 36dvh, 360px);
  border-radius: 28px;
  padding: 20px 20px 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 252, 0.96), rgba(250, 252, 247, 0.94)),
    rgba(255, 255, 255, 0.34);
}

.entry-focus-mode .choice-step.minimal-step,
.entry-focus-mode .body-step.minimal-step {
  position: relative;
  z-index: 1;
}

.entry-focus-mode .choice-step.minimal-step,
.entry-focus-mode .body-step.minimal-step,
.entry-focus-mode .text-step.minimal-step {
  flex: 1 1 auto;
}

.entry-focus-mode .choice-step.minimal-step .eyebrow,
.entry-focus-mode .body-step.minimal-step .eyebrow,
.entry-focus-mode .text-step.minimal-step .eyebrow {
  margin-bottom: 12px;
  font-size: 0.74rem;
}

.entry-focus-mode .choice-step.minimal-step .question,
.entry-focus-mode .body-step.minimal-step .question,
.entry-focus-mode .text-step.minimal-step:not(.single-line-question) .question {
  margin-bottom: 18px;
  font-size: clamp(2rem, 8.4vw, 2.6rem);
  line-height: 1.12;
}

.entry-focus-mode .body-step.minimal-step .question {
  margin-bottom: 10px;
  font-size: clamp(1.68rem, 6.9vw, 2.18rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.entry-focus-mode .choice-step.minimal-step .choice-grid {
  gap: 12px;
}

.emotion-step .prompt-note {
  max-width: 18em;
  margin-bottom: 18px;
  font-size: 0.98rem;
  line-height: 1.72;
}

.emotion-signal-panel {
  margin: 6px 0 14px;
}

.emotion-signal-grid {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 8px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.emotion-signal-grid::-webkit-scrollbar {
  display: none;
}

.emotion-signal {
  flex: 0 0 74px;
  display: grid;
  justify-items: center;
  gap: 8px;
  border: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #b78e73;
  text-align: center;
  scroll-snap-align: start;
}

.emotion-signal-art {
  position: relative;
  display: grid;
  place-items: center;
  width: 74px;
  min-height: 74px;
  height: 74px;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.34), transparent 24%),
    linear-gradient(180deg, var(--signal-card-top), var(--signal-card-bottom));
  box-shadow: 0 14px 24px rgba(146, 109, 79, 0.08);
}

.emotion-signal-glow {
  position: absolute;
  inset: 16% 20%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.34), transparent 72%);
  filter: blur(10px);
}

.emotion-signal-frame {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1.5px solid rgba(255, 255, 255, 0.52);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 12px 22px rgba(83, 54, 35, 0.08);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.emotion-signal-frame svg {
  width: 72%;
  height: 72%;
}

.emotion-signal-label {
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: rgba(72, 58, 48, 0.96);
}

.emotion-signal-note {
  margin: 8px 0 0;
  color: rgba(123, 104, 91, 0.8);
  font-size: 0.84rem;
  line-height: 1.65;
}

.emotion-signal:hover .emotion-signal-art {
  transform: translateY(-2px);
}

.emotion-signal.selected .emotion-signal-frame {
  background: rgba(255, 255, 255, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    0 14px 26px var(--signal-shadow);
}

.emotion-signal.selected {
  box-shadow: none;
}

.emotion-signal.selected .emotion-signal-art {
  box-shadow:
    0 18px 28px var(--signal-shadow),
    inset 0 0 0 1px rgba(255, 255, 255, 0.34);
}

.emotion-signal.selected .emotion-signal-label {
  color: #8d5b41;
}

.emotion-signal.disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.emotion-signal.tone-calm {
  color: #4da899;
  --signal-soft: rgba(77, 168, 153, 0.18);
  --signal-shadow: rgba(77, 168, 153, 0.18);
  --signal-card-top: #5fc2b1;
  --signal-card-bottom: #3f9989;
}

.emotion-signal.tone-bright {
  color: #8eae55;
  --signal-soft: rgba(142, 174, 85, 0.18);
  --signal-shadow: rgba(142, 174, 85, 0.18);
  --signal-card-top: #b8d86f;
  --signal-card-bottom: #94b34f;
}

.emotion-signal.tone-alert {
  color: #6e9fca;
  --signal-soft: rgba(110, 159, 202, 0.18);
  --signal-shadow: rgba(110, 159, 202, 0.18);
  --signal-card-top: #79afe1;
  --signal-card-bottom: #4f8dc8;
}

.emotion-signal.tone-low {
  color: #d69663;
  --signal-soft: rgba(214, 150, 99, 0.18);
  --signal-shadow: rgba(214, 150, 99, 0.18);
  --signal-card-top: #f1b271;
  --signal-card-bottom: #d88b50;
}

.emotion-signal.tone-ember {
  color: #db7b7f;
  --signal-soft: rgba(219, 123, 127, 0.18);
  --signal-shadow: rgba(219, 123, 127, 0.18);
  --signal-card-top: #ee8f91;
  --signal-card-bottom: #d96870;
}

.emotion-step .choice-grid {
  gap: 12px;
}

.emotion-step .choice {
  min-height: 58px;
  border-radius: 22px;
  font-size: 1.03rem;
  letter-spacing: 0.01em;
}

.expand-link {
  width: fit-content;
  margin-top: 14px;
  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(141, 91, 65, 0.86);
  font-size: 0.94rem;
  font-weight: 700;
}

.entry-focus-mode .body-step.minimal-step .body-signal-panel {
  gap: 10px;
}

.entry-focus-mode .body-step.minimal-step .body-signal-panel-compact {
  padding: 16px 16px 14px;
  border: 1px solid rgba(220, 140, 97, 0.1);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(250, 245, 238, 0.94)),
    rgba(255, 255, 255, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.46),
    0 16px 28px rgba(146, 109, 79, 0.05);
}

.entry-focus-mode .body-step.minimal-step .body-selection {
  padding: 2px 2px 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.entry-focus-mode .body-step.minimal-step .body-selection h3 {
  display: none;
}

.entry-focus-mode .body-step.minimal-step .pill-row {
  margin: 0 0 4px;
}

.entry-focus-mode .body-step.minimal-step .body-selection .choice,
.entry-focus-mode .body-step.minimal-step .body-selection .muted-pill {
  min-height: 32px;
  padding: 0 10px;
  font-size: 0.72rem;
}

.response-stage {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.response-input-shell {
  position: relative;
  z-index: 1;
}

.response-input {
  min-height: clamp(148px, 19dvh, 196px);
  padding-top: 20px;
  font-size: 1rem;
  line-height: 1.82;
}

.response-stage .support-panel {
  margin-top: 0;
  padding: 16px;
  border-radius: 24px;
}

.text-input:focus,
.other-input:focus {
  border-color: rgba(120, 153, 134, 0.54);
  box-shadow:
    0 0 0 4px rgba(197, 220, 188, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.choice {
  min-height: 50px;
  border: 1px solid rgba(220, 140, 97, 0.12);
  border-radius: 20px;
  padding: 0 14px;
  background: rgba(255, 251, 247, 0.94);
  color: var(--text);
  font-weight: 700;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 8px 18px rgba(146, 109, 79, 0.04);
}

.choice:hover {
  border-color: rgba(220, 140, 97, 0.22);
}

.choice.selected {
  border-color: rgba(220, 140, 97, 0.24);
  background: linear-gradient(135deg, rgba(255, 250, 245, 0.98), rgba(255, 239, 224, 0.96));
  color: #8d5b41;
  box-shadow: 0 12px 24px rgba(220, 140, 97, 0.12);
}

.choice.disabled {
  cursor: not-allowed;
  opacity: 0.44;
}

.body-signal-panel {
  display: grid;
  gap: 14px;
}

.body-selection {
  padding: 0;
}

.body-selection h3 {
  margin: 0 0 10px;
  color: rgba(88, 114, 98, 0.86);
  font-size: 0.9rem;
  font-weight: 700;
}

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

.body-signal-card {
  min-height: 88px;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 5px;
  padding: 16px 16px 14px;
  border-color: rgba(122, 153, 131, 0.16);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 253, 0.98), rgba(246, 250, 247, 0.96)),
    rgba(255, 255, 255, 0.88);
  color: #476354;
  text-align: left;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 10px 24px rgba(115, 144, 124, 0.08);
}

.body-signal-card.selected {
  border-color: rgba(120, 153, 134, 0.48);
  background: linear-gradient(135deg, rgba(252, 255, 252, 0.99), rgba(232, 243, 236, 0.98));
  color: var(--accent-strong);
  box-shadow:
    0 0 0 8px rgba(208, 226, 214, 0.28),
    0 16px 30px rgba(109, 143, 123, 0.12);
}

.body-signal-card.disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.body-signal-card-muted {
  width: 100%;
}

.body-signal-title {
  display: block;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.body-signal-hint {
  display: block;
  font-size: 0.74rem;
  line-height: 1.28;
  color: rgba(90, 115, 100, 0.74);
}

.muted-pill {
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(235, 244, 237, 0.96);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.other-input {
  width: 100%;
  min-height: 50px;
  margin-top: 14px;
  border: 1px solid rgba(122, 153, 131, 0.2);
  border-radius: 18px;
  padding: 0 14px;
  background: rgba(255, 255, 252, 0.9);
  color: var(--text);
  font-size: 16px;
  outline: none;
}

.actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}

.entry-focus-mode .actions {
  margin-top: auto;
  padding-top: 18px;
}

.record-step-0 .actions {
  padding-top: 12px;
}

.action-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.button {
  width: 100%;
  min-height: 50px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 20px;
  background: linear-gradient(135deg, #7fa08d, #648673 62%, #4f6e5b);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 16px 30px rgba(79, 110, 91, 0.22);
}

.nav-button {
  font-size: 0.86rem;
  letter-spacing: 0.08em;
}

.entry-focus-mode .nav-button {
  min-height: 38px;
}

.button.secondary {
  border-color: rgba(121, 155, 135, 0.14);
  background: rgba(251, 255, 251, 0.92);
  color: #476353;
  box-shadow: 0 8px 20px rgba(91, 117, 103, 0.05);
}

.button.ghost {
  border-color: transparent;
  background: transparent;
  color: var(--muted);
  box-shadow: none;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  box-shadow: none;
}

.status-line {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.dashboard {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

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

.section {
  padding: 20px;
}

.section h2,
.section h3 {
  margin: 0 0 12px;
}

.section-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 14px;
}

.section p {
  color: var(--muted);
  line-height: 1.75;
}

.empty {
  margin: 0;
  padding: 18px;
  border: 1px dashed rgba(122, 153, 131, 0.26);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--muted);
  line-height: 1.75;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.stat {
  padding: 14px 10px;
  border: 1px solid rgba(122, 153, 131, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 252, 0.86);
}

.stat strong {
  display: block;
  color: var(--accent-strong);
  font-family: "Iowan Old Style", Baskerville, "Songti SC", "STSong", serif;
  font-size: 1.6rem;
  line-height: 1;
}

.stat span {
  color: var(--muted);
  font-size: 0.78rem;
}

.pattern-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.pattern-card {
  padding: 14px;
  border: 1px solid rgba(122, 153, 131, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 252, 0.86);
}

.pattern-card strong {
  display: block;
  color: var(--accent-strong);
  font-family: "Iowan Old Style", Baskerville, "Songti SC", "STSong", serif;
  font-size: 1.56rem;
  line-height: 1;
}

.pattern-card span {
  color: var(--muted);
  font-size: 0.82rem;
}

.insight-callout {
  margin: 14px 0 0;
  padding: 16px 18px;
  border-left: 4px solid rgba(120, 153, 134, 0.72);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 252, 0.96), rgba(236, 244, 233, 0.9));
  color: var(--accent-strong) !important;
  font-weight: 700;
}

.lens-card p:last-child {
  color: var(--text);
}

.bar-list {
  display: grid;
  gap: 10px;
}

.bar-row {
  display: grid;
  grid-template-columns: 70px 1fr 24px;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.bar-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface-soft);
}

.bar-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8faf99, #d0c197);
}

.entry-list,
.report-list {
  display: grid;
  gap: 12px;
}

.entry,
.report-card {
  border: 1px solid rgba(220, 140, 97, 0.1);
  border-radius: 24px;
  background: rgba(255, 251, 247, 0.92);
  padding: 16px;
}

.report-card {
  border-color: var(--report-line);
  background: var(--report-soft);
}

.entry-header,
.report-card header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.entry-date,
.report-date {
  color: var(--muted);
  font-size: 0.9rem;
}

.report-card .eyebrow,
.report-dialog .eyebrow {
  color: var(--report-strong);
}

.report-card .report-date {
  color: var(--report-strong);
}

.fatigue-meter {
  margin: 4px 0 12px;
  padding: 16px;
  border: 1px solid rgba(220, 140, 97, 0.12);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 252, 247, 0.98), rgba(252, 239, 226, 0.92)),
    rgba(255, 255, 255, 0.26);
}

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

.fatigue-head strong {
  color: var(--accent-strong);
  font-size: 2rem;
  line-height: 1;
}

.fatigue-head span {
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255, 255, 252, 0.88);
  color: var(--accent-strong);
  font-size: 0.86rem;
  font-weight: 800;
}

.fatigue-track {
  height: 10px;
  margin: 14px 0 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #f0dfcf;
}

.fatigue-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #e7b07f, #d88d65, #c46d57);
}

.fatigue-meter p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.pill {
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(253, 241, 229, 0.96);
  color: #8d5b41;
  font-size: 0.86rem;
  font-weight: 700;
}

.entry-text {
  margin: 0;
  color: var(--text);
  line-height: 1.75;
  white-space: pre-wrap;
}

.report-section {
  padding: 14px 0;
  border-top: 1px solid var(--report-line);
}

.report-section:first-of-type {
  border-top: 0;
}

.report-section h3 {
  margin: 0 0 8px;
  color: var(--report-strong);
}

.report-section p {
  margin: 0;
  color: var(--text);
  line-height: 1.78;
}

.report-dialog {
  width: min(440px, calc(100% - 18px));
  max-height: min(760px, calc(100vh - 18px));
  border: 1px solid var(--report-line);
  border-radius: 30px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(250, 244, 235, 0.96)),
    var(--report-soft);
  color: var(--text);
  box-shadow: var(--shadow);
}

.install-dialog {
  width: min(430px, calc(100% - 18px));
  border: 1px solid rgba(122, 153, 131, 0.18);
  border-radius: 30px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 252, 0.98), rgba(247, 252, 244, 0.96)),
    rgba(255, 255, 255, 0.3);
  color: var(--text);
  box-shadow: var(--shadow);
}

.install-dialog::backdrop {
  background: rgba(56, 73, 64, 0.14);
  backdrop-filter: blur(5px);
}

.install-dialog .dialog-header h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.52rem;
}

.install-guide {
  margin-top: 8px;
}

.install-guide-card {
  padding: 18px;
  border: 1px solid rgba(122, 153, 131, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 252, 0.86);
}

.install-guide-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.78;
}

.install-steps {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--text);
}

.install-steps li {
  margin-bottom: 10px;
  line-height: 1.72;
}

.install-note {
  margin-top: 12px !important;
  color: var(--accent-strong) !important;
  font-size: 0.92rem;
}

.install-dialog-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.report-dialog .icon-button {
  border-color: var(--report-line);
  background: rgba(255, 255, 255, 0.88);
  color: var(--report-strong);
}

.report-dialog::backdrop {
  background: rgba(73, 59, 44, 0.18);
  backdrop-filter: blur(5px);
}

.dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.icon-button {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(122, 153, 131, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 252, 0.9);
  color: var(--muted);
  font-size: 1.35rem;
  line-height: 1;
}

@media (max-width: 760px) {
  .app-shell {
    width: min(calc(100% - 14px), 448px);
    padding-top: max(12px, calc(env(safe-area-inset-top, 0px) + 8px));
  }

  .record-panel,
  .section {
    padding: 18px;
  }

  .text-input {
    resize: none;
  }

  .entry-focus-mode .app-shell {
    padding-bottom: max(108px, calc(env(safe-area-inset-bottom, 0px) + 88px));
  }

  .entry-focus-mode .record-panel {
    min-height: calc(100vh - 102px);
    min-height: calc(100dvh - 102px - env(safe-area-inset-bottom, 0px));
    padding: 22px 18px 16px;
  }

  .entry-mirror-wash {
    right: -12%;
    top: 12%;
    width: 68%;
    height: 38%;
  }

  .entry-focus-mode .tabs {
    width: min(332px, calc(100% - 24px));
    bottom: max(10px, calc(env(safe-area-inset-bottom, 0px) + 8px));
  }

  .install-entry {
    bottom: max(16px, calc(env(safe-area-inset-bottom, 0px) + 12px));
  }

  .entry-focus-mode .install-entry {
    bottom: max(76px, calc(env(safe-area-inset-bottom, 0px) + 64px));
  }

  .bar-row {
    grid-template-columns: 66px 1fr 24px;
  }

  .support-dialog {
    width: calc(100% - 6px);
    height: calc(100vh - 6px);
    height: calc(100dvh - 6px);
  }

  .support-session-shell {
    border-radius: 28px;
  }
}

@media (max-width: 420px) {
  .splash-scene {
    width: min(96vw, 390px);
  }

  .app-shell {
    width: calc(100% - 10px);
  }

  .brand-block,
  .panel,
  .report-dialog {
    border-radius: 26px;
  }

  .brand-block {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
  }

  .brand-sigil {
    width: 64px;
  }

  .tabs {
    top: 8px;
  }

  .entry-focus-mode .record-panel {
    padding: 20px 16px 14px;
    border-radius: 30px;
  }

  .entry-stage {
    gap: 14px;
  }

  .entry-lead {
    font-size: 0.8rem;
  }

  .entry-note {
    font-size: 0.92rem;
  }

  .entry-input {
    min-height: clamp(204px, 34dvh, 310px);
    padding: 18px 18px 24px;
  }

  .support-selector {
    grid-template-columns: 1fr;
  }

  .support-card-head {
    flex-direction: column;
  }

  .support-card-actions,
  .support-session-status,
  .support-session-actions {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .support-card-actions {
    align-items: stretch;
  }

  .support-open-button {
    width: 100%;
  }

  .support-session-card {
    padding:
      max(16px, calc(env(safe-area-inset-top, 0px) + 8px))
      16px
      max(16px, calc(env(safe-area-inset-bottom, 0px) + 10px));
  }

  .support-session-stage {
    min-height: 316px;
  }

  .support-session-ring-outer {
    width: 220px;
    height: 220px;
  }

  .support-session-ring-mid {
    width: 174px;
    height: 174px;
  }

  .support-session-orb {
    width: 118px;
    height: 118px;
  }

  .support-session-copy {
    margin-top: 156px;
  }

  .emotion-step .choice {
    min-height: 54px;
    font-size: 0.98rem;
  }

  .emotion-signal-grid {
    gap: 10px;
  }

  .emotion-signal {
    flex-basis: 68px;
  }

  .emotion-signal-art {
    width: 68px;
    min-height: 68px;
    height: 68px;
  }

  .emotion-signal-frame {
    width: 48px;
    height: 48px;
  }

  .emotion-signal-label {
    font-size: 0.78rem;
  }

  .emotion-signal-note {
    font-size: 0.8rem;
  }

  .install-chip {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.84rem;
  }

  .install-dialog {
    border-radius: 26px;
    padding: 18px;
  }

  .body-signal-card {
    min-height: 82px;
    padding: 14px 14px 12px;
  }
}

body.record-forest-mode {
  background:
    radial-gradient(circle at 50% -10%, rgba(120, 154, 130, 0.28), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(19, 48, 35, 0.82), transparent 42%),
    linear-gradient(180deg, #11271d 0%, #163022 46%, #0f2319 100%);
  color: #f2f5ed;
}

body.record-forest-mode::before,
body.record-forest-mode::after {
  opacity: 0.34;
}

.record-forest-mode .tabs {
  border-color: rgba(196, 217, 201, 0.12);
  background: rgba(18, 42, 31, 0.88);
  box-shadow: 0 20px 36px rgba(7, 16, 12, 0.28);
}

.record-forest-mode .tab {
  color: rgba(228, 238, 228, 0.58);
}

.record-forest-mode .tab.active {
  background: linear-gradient(135deg, rgba(87, 118, 96, 0.96), rgba(112, 144, 121, 0.92));
  color: #fcfdf8;
  box-shadow: inset 0 0 0 1px rgba(214, 229, 217, 0.08);
}

.record-panel-entry {
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  padding-top: 8px;
}

.record-panel-entry::before {
  display: none;
}

.morning-card {
  background: transparent;
  box-shadow: none;
  min-height: auto;
}

.morning-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.morning-greeting {
  margin: 0;
  color: rgba(58, 77, 66, 0.92);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.morning-subtitle {
  margin: 4px 0 0;
  color: rgba(108, 122, 113, 0.82);
  font-size: 0.92rem;
}

.morning-bell {
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(178, 191, 181, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 252, 0.74);
  box-shadow: 0 10px 20px rgba(124, 145, 134, 0.08);
}

.morning-bell span,
.morning-bell span::before {
  position: absolute;
  left: 50%;
  content: "";
  transform: translateX(-50%);
}

.morning-bell span {
  top: 11px;
  width: 14px;
  height: 12px;
  border: 1.8px solid rgba(94, 115, 103, 0.8);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.morning-bell span::before {
  bottom: -6px;
  width: 16px;
  height: 8px;
  border-top: 1.8px solid rgba(94, 115, 103, 0.8);
  border-radius: 999px;
}

.morning-visual {
  min-height: 438px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 40px;
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 0.82), transparent 34%),
    linear-gradient(180deg, rgba(248, 248, 242, 0.98), rgba(232, 239, 232, 0.96) 52%, rgba(220, 231, 223, 0.94) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 22px 42px rgba(113, 133, 121, 0.12);
}

.morning-visual .entry-hero-sun {
  right: 18%;
  top: 84px;
  width: 166px;
  height: 166px;
  background: radial-gradient(circle, rgba(255, 252, 246, 0.96), rgba(238, 242, 231, 0.76) 42%, rgba(211, 224, 213, 0.16) 72%, transparent 100%);
  filter: blur(1px);
}

.morning-mirror {
  left: 50%;
  top: 74px;
  width: min(86%, 320px);
  aspect-ratio: 0.76;
  border: 2px solid rgba(255, 252, 248, 0.84);
  border-radius: 48% 48% 52% 52% / 39% 39% 60% 60%;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.52), transparent 24%),
    linear-gradient(180deg, rgba(245, 241, 232, 0.58), rgba(198, 210, 201, 0.18) 28%, rgba(171, 192, 176, 0.34) 42%, rgba(240, 246, 240, 0.06) 100%);
  box-shadow:
    inset 0 0 42px rgba(255, 255, 255, 0.48),
    0 20px 40px rgba(144, 165, 153, 0.18);
  transform: translateX(-50%);
  overflow: hidden;
}

.morning-mirror::before {
  inset: auto;
  left: 50%;
  top: 36%;
  width: 110%;
  height: 76%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 18% 62%, rgba(121, 148, 130, 0.24), transparent 18%),
    radial-gradient(circle at 84% 58%, rgba(121, 148, 130, 0.18), transparent 16%),
    linear-gradient(180deg, rgba(248, 247, 240, 0.08), rgba(147, 166, 150, 0.3));
  transform: translate(-50%, -50%);
  filter: blur(1px);
}

.morning-mirror::after {
  inset: auto;
  left: 50%;
  bottom: 10%;
  width: 84%;
  height: 36%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.62), transparent 70%);
  transform: translateX(-50%);
}

.morning-mirror-copy {
  position: absolute;
  left: 50%;
  top: 214px;
  z-index: 2;
  width: min(78%, 254px);
  transform: translateX(-50%);
  text-align: center;
}

.morning-mirror-copy .question {
  width: 100%;
  margin-bottom: 12px;
  color: #405a4d;
  font-size: clamp(1.84rem, 7.4vw, 2.56rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.morning-mirror-copy .entry-note {
  color: rgba(111, 124, 115, 0.88);
  font-size: 0.96rem;
}

.morning-feather {
  position: absolute;
  left: 50%;
  bottom: 44px;
  z-index: 2;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 250, 246, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 14px 26px rgba(121, 140, 130, 0.18);
  transform: translateX(-50%);
}

.morning-feather::before,
.morning-feather::after {
  position: absolute;
  content: "";
}

.morning-feather::before {
  left: 50%;
  top: 18px;
  width: 22px;
  height: 30px;
  border: 1.8px solid rgba(135, 150, 140, 0.84);
  border-radius: 58% 42% 56% 44% / 56% 48% 52% 44%;
  transform: translateX(-50%) rotate(16deg);
}

.morning-feather::after {
  left: 50%;
  top: 28px;
  width: 2px;
  height: 20px;
  background: rgba(135, 150, 140, 0.84);
  transform: translateX(-50%) rotate(18deg);
}

.morning-quote-card {
  padding: 18px 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 252, 0.96), rgba(244, 248, 243, 0.94)),
    rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 32px rgba(120, 142, 129, 0.08);
}

.morning-quote-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.morning-quote-head span,
.morning-quote-head small {
  color: rgba(92, 114, 100, 0.82);
  font-weight: 700;
}

.morning-quote-head small {
  font-size: 0.76rem;
}

.morning-quote-card p {
  margin: 16px 0 0;
  color: rgba(92, 108, 98, 0.88);
  font-size: 1.02rem;
  line-height: 1.76;
}

.forest-checkin-step {
  color: #f4f4ed;
}

.record-panel-checkin {
  border-color: rgba(210, 226, 215, 0.08);
  background:
    radial-gradient(circle at 50% 12%, rgba(104, 136, 115, 0.26), transparent 26%),
    linear-gradient(180deg, rgba(17, 39, 29, 0.98), rgba(18, 46, 33, 0.99) 46%, rgba(13, 31, 23, 0.99) 100%);
  box-shadow: 0 28px 64px rgba(6, 14, 10, 0.28);
}

.record-panel-checkin::before {
  inset: -6% auto auto 14%;
  width: 74%;
  height: 320px;
  background:
    radial-gradient(circle, rgba(111, 140, 120, 0.18), transparent 54%),
    radial-gradient(circle at 70% 28%, rgba(165, 193, 172, 0.1), transparent 42%);
}

.forest-checkin-shell {
  position: relative;
  z-index: 1;
}

.forest-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.forest-title {
  margin: 0;
  color: rgba(246, 245, 235, 0.96);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.forest-subtitle {
  margin: 6px 0 0;
  color: rgba(193, 208, 197, 0.72);
  font-size: 0.92rem;
}

.forest-menu {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  min-width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(214, 229, 217, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.forest-menu span {
  display: block;
  width: 16px;
  height: 1.5px;
  border-radius: 999px;
  background: rgba(238, 244, 236, 0.9);
}

.forest-block {
  margin-top: 24px;
}

.forest-section-label,
.forest-support-label {
  margin: 0 0 14px;
  color: rgba(234, 238, 228, 0.86);
  font-size: 0.96rem;
  font-weight: 700;
}

.forest-body-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.forest-body-card,
.forest-emotion-card {
  border: 1px solid rgba(223, 234, 225, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(240, 244, 235, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.forest-body-card {
  min-height: 142px;
  padding: 14px 10px 12px;
  text-align: center;
}

.forest-body-card.selected,
.forest-emotion-card.selected,
.forest-support-chip.selected {
  border-color: rgba(222, 236, 224, 0.18);
  background: linear-gradient(180deg, rgba(108, 138, 115, 0.72), rgba(79, 110, 86, 0.46));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 24px rgba(4, 10, 7, 0.18);
}

.forest-body-card.disabled,
.forest-emotion-card.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.forest-body-icon,
.forest-emotion-icon {
  display: grid;
  place-items: center;
}

.forest-body-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.forest-body-icon svg,
.forest-emotion-icon svg {
  width: 34px;
  height: 34px;
}

.forest-body-name,
.forest-emotion-name {
  display: block;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.forest-body-card small {
  display: block;
  margin-top: 6px;
  color: rgba(205, 217, 208, 0.68);
  font-size: 0.74rem;
}

.forest-emotion-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.forest-emotion-card {
  min-height: 112px;
  padding: 16px 8px 12px;
  text-align: center;
}

.forest-emotion-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.forest-emotion-card .forest-emotion-name {
  font-size: 0.94rem;
}

.forest-emotion-card.tone-calm {
  color: #ebf4ef;
}

.forest-emotion-card.tone-bright {
  color: #f2eed8;
}

.forest-emotion-card.tone-alert {
  color: #e6f0f4;
}

.forest-emotion-card.tone-low {
  color: #f1e7d8;
}

.forest-emotion-card.tone-ember {
  color: #f3e1de;
}

.forest-more-link {
  margin-top: 12px;
  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(207, 220, 209, 0.82);
  font-size: 0.84rem;
  font-weight: 700;
}

.forest-extra-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.forest-extra-chip {
  min-height: 44px;
  border-radius: 16px;
  border-color: rgba(223, 234, 225, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(228, 236, 229, 0.82);
  box-shadow: none;
}

.forest-extra-chip.selected {
  background: linear-gradient(180deg, rgba(108, 138, 115, 0.72), rgba(79, 110, 86, 0.46));
  color: #fbfdf7;
}

.forest-response-shell {
  position: relative;
}

.forest-response-input {
  min-height: 120px;
  border-color: rgba(223, 234, 225, 0.08);
  border-radius: 24px;
  padding: 18px 70px 18px 18px;
  background: rgba(255, 255, 255, 0.04);
  color: #eef5ee;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.forest-response-input::placeholder {
  color: rgba(195, 207, 198, 0.46);
}

.forest-send {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(232, 220, 176, 0.96), rgba(201, 178, 120, 0.96));
  color: #183126;
  font-size: 1.12rem;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(5, 12, 8, 0.2);
}

.forest-support-strip {
  margin-top: 24px;
}

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

.forest-support-chip {
  min-height: 72px;
  border: 1px solid rgba(223, 234, 225, 0.08);
  border-radius: 22px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(239, 243, 234, 0.88);
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.forest-support-chip span,
.forest-support-chip small {
  display: block;
}

.forest-support-chip span {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.forest-support-chip small {
  margin-top: 6px;
  color: rgba(196, 207, 198, 0.68);
  font-size: 0.76rem;
}

.forest-support-start {
  width: 100%;
  min-height: 50px;
  margin-top: 12px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(105, 139, 115, 0.98), rgba(136, 167, 143, 0.94));
  color: #fbfdf8;
  font-weight: 800;
  box-shadow: 0 14px 24px rgba(4, 10, 7, 0.2);
}

.support-dialog::backdrop {
  background:
    radial-gradient(circle at 50% 18%, rgba(165, 204, 222, 0.18), transparent 24%),
    rgba(9, 24, 35, 0.42);
}

.support-session-shell {
  background:
    radial-gradient(circle at 50% 18%, rgba(118, 165, 194, 0.18), transparent 18%),
    linear-gradient(180deg, rgba(27, 61, 79, 0.98), rgba(19, 50, 66, 0.99) 46%, rgba(11, 32, 43, 0.99) 100%);
}

.support-session-topbar {
  justify-content: space-between;
}

.support-session-heading {
  display: grid;
  gap: 4px;
  text-align: center;
}

.support-session-heading strong {
  color: rgba(249, 247, 238, 0.94);
  font-size: 0.98rem;
  font-weight: 700;
}

.support-session-heading p {
  margin: 0;
  color: rgba(202, 218, 226, 0.72);
  font-size: 0.84rem;
}

.support-session-mode {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(220, 230, 236, 0.14);
  border-radius: 999px;
  color: rgba(246, 246, 238, 0.92);
  background: rgba(255, 255, 255, 0.04);
}

.support-close {
  width: 38px;
  height: 38px;
  padding: 0;
  font-size: 1.35rem;
}

.support-session-ring-outer {
  width: 278px;
  height: 278px;
  border-color: rgba(221, 233, 240, 0.12);
}

.support-session-ring-mid {
  width: 210px;
  height: 210px;
  border-color: rgba(221, 233, 240, 0.18);
}

.support-session-orb {
  width: 150px;
  height: 150px;
  background:
    radial-gradient(circle at 50% 36%, rgba(248, 250, 247, 0.98), rgba(216, 233, 239, 0.56) 32%, rgba(154, 196, 220, 0.14) 58%, transparent 76%);
  box-shadow:
    0 0 56px rgba(214, 231, 238, 0.12),
    inset 0 0 22px rgba(255, 255, 255, 0.18);
}

.support-session-orb::before {
  position: absolute;
  inset: 24% 24%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 34%, rgba(255, 255, 255, 0.34), transparent 18%),
    radial-gradient(circle at 62% 58%, rgba(131, 150, 160, 0.18), transparent 26%),
    radial-gradient(circle, rgba(203, 218, 225, 0.78), rgba(126, 148, 159, 0.86));
  content: "";
}

.support-session-copy {
  margin-top: 210px;
}

.support-session-copy strong {
  font-size: clamp(2rem, 8.8vw, 2.9rem);
}

.support-session-status div {
  background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 430px) {
  .morning-visual {
    min-height: 396px;
  }

  .morning-mirror {
    width: min(88%, 292px);
  }

  .morning-mirror-copy {
    top: 196px;
  }

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

  .forest-emotion-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
  }

  .forest-emotion-card {
    min-height: 100px;
    padding: 14px 6px 10px;
  }

  .forest-emotion-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 10px;
  }

  .forest-emotion-icon svg,
  .forest-body-icon svg {
    width: 30px;
    height: 30px;
  }

  .forest-response-input {
    min-height: 112px;
  }
}

/* Support channels: the final 20% of the product journey. */
.tab-icon-channels::before {
  left: 3px;
  top: 3px;
  width: 7px;
  height: 7px;
  border: 1.7px solid currentColor;
  border-radius: 50%;
  box-shadow: 8px 8px 0 -1.7px transparent, 8px 8px 0 0 currentColor;
}

.tab-icon-channels::after {
  left: 8px;
  top: 8px;
  width: 8px;
  height: 1.7px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(-45deg);
}

body.channels-mode {
  background:
    radial-gradient(circle at 16% 8%, rgba(255, 255, 255, 0.92), transparent 23%),
    radial-gradient(circle at 85% 16%, rgba(181, 214, 199, 0.44), transparent 26%),
    linear-gradient(180deg, #f5faf6 0%, #e9f2ec 50%, #dde9e1 100%);
}

body.channels-mode::before {
  opacity: 0.62;
}

.channels-mode .app-shell {
  width: min(760px, calc(100vw - 40px));
  padding-top: max(18px, calc(env(safe-area-inset-top, 0px) + 10px));
  padding-right: 0;
  padding-bottom: max(112px, calc(env(safe-area-inset-bottom, 0px) + 96px));
  padding-left: 0;
}

.channels-mode .topbar {
  display: none;
}

.channels-page {
  display: grid;
  gap: 14px;
  width: 100%;
  min-width: 0;
  color: #24483b;
}

.channels-page > *,
.channel-section-head > div {
  min-width: 0;
  max-width: 100%;
}

.channels-hero,
.channel-guidance-card,
.channels-section,
.channel-privacy-card,
.channel-urgent-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(96, 137, 116, 0.13);
  border-radius: 30px;
  background: rgba(251, 254, 251, 0.74);
  box-shadow: 0 18px 46px rgba(65, 101, 81, 0.08);
  backdrop-filter: blur(18px);
}

.channels-hero {
  min-height: 390px;
  padding: 34px 24px 24px;
  background:
    radial-gradient(circle at 72% 18%, rgba(220, 240, 228, 0.82), transparent 23%),
    linear-gradient(160deg, rgba(251, 255, 251, 0.96), rgba(225, 239, 230, 0.9));
}

.channels-hero::before,
.channels-hero::after {
  position: absolute;
  left: 68%;
  top: 46%;
  width: 220px;
  height: 72px;
  border: 1px solid rgba(78, 126, 102, 0.14);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.channels-hero::before {
  box-shadow:
    0 0 0 28px rgba(78, 126, 102, 0.06),
    0 0 0 58px rgba(78, 126, 102, 0.035);
}

.channels-hero::after {
  width: 76px;
  height: 76px;
  border: 0;
  background: radial-gradient(circle at 38% 30%, #ffffff, #d6e7dd 46%, #88aa98 100%);
  box-shadow: 0 16px 40px rgba(61, 100, 80, 0.18);
}

.channels-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 440px;
}

.channels-kicker {
  margin: 0 0 8px;
  color: #71897d;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.channels-hero h2 {
  max-width: 520px;
  margin: 0;
  color: #21473a;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: clamp(2rem, 7vw, 3.1rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.055em;
}

.channels-hero-copy > p:last-child {
  max-width: 430px;
  margin: 18px 0 0;
  color: #617a6d;
  font-size: 0.96rem;
  line-height: 1.8;
}

.channels-balance {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 1;
}

.channels-balance-track {
  overflow: hidden;
  height: 7px;
  border-radius: 999px;
  background: rgba(93, 132, 112, 0.14);
}

.channels-balance-track span {
  display: block;
  width: 80%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #557d69, #84aa95);
}

.channels-balance-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 9px;
  color: #71897d;
  font-size: 0.74rem;
}

.channels-balance-labels span:last-child {
  text-align: right;
}

.channels-balance-labels strong {
  color: #365e4c;
}

.channel-guidance-card,
.channels-section,
.channel-privacy-card,
.channel-urgent-card {
  padding: 22px;
}

.channel-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.channel-section-head h3,
.channel-privacy-card h3,
.channel-urgent-card h3 {
  margin: 0;
  color: #294f40;
  font-size: 1.14rem;
  line-height: 1.4;
}

.channel-section-head > span {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(106, 149, 126, 0.1);
  color: #5e806e;
  font-size: 0.7rem;
  font-weight: 800;
}

.channel-guidance-card > p,
.channel-privacy-card p,
.channel-urgent-card p {
  margin: 12px 0 0;
  color: #627a6e;
  line-height: 1.72;
}

.channel-guidance-card > small {
  display: block;
  margin-top: 12px;
  color: #80958a;
  line-height: 1.6;
}

.channel-practice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.channel-practice-card {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 92px;
  border: 1px solid rgba(89, 130, 108, 0.12);
  border-radius: 22px;
  padding: 15px;
  background: linear-gradient(145deg, rgba(248, 253, 248, 0.96), rgba(227, 239, 231, 0.86));
  color: #315a48;
  text-align: left;
}

.channel-practice-card:focus-visible,
.channel-text-button:focus-visible,
.channel-urgent-actions a:focus-visible {
  outline: 3px solid rgba(64, 112, 88, 0.26);
  outline-offset: 3px;
}

.channel-practice-orb {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, #ffffff, #c9dfd1 54%, #719982 100%);
  box-shadow: 0 10px 22px rgba(64, 105, 84, 0.18);
}

.channel-practice-copy {
  display: grid;
  gap: 3px;
}

.channel-practice-copy small,
.channel-practice-copy em {
  color: #789084;
  font-size: 0.7rem;
  font-style: normal;
}

.channel-practice-copy strong {
  font-size: 0.96rem;
}

.channel-card-arrow {
  color: #71907e;
}

.professional-channel-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.professional-channel-card {
  display: flex;
  flex-direction: column;
  min-height: 230px;
  border: 1px solid rgba(92, 133, 112, 0.12);
  border-radius: 24px;
  padding: 18px;
  background: rgba(248, 252, 248, 0.82);
}

.professional-channel-top {
  display: grid;
  gap: 8px;
}

.professional-channel-top > span {
  width: max-content;
  border-radius: 999px;
  padding: 5px 9px;
  background: #e5f0e9;
  color: #557765;
  font-size: 0.68rem;
  font-weight: 800;
}

.professional-channel-top small {
  min-height: 38px;
  color: #84988d;
  line-height: 1.5;
}

.professional-channel-card h4 {
  margin: 14px 0 0;
  color: #294f40;
  font-size: 1.08rem;
}

.professional-channel-card p {
  margin: 8px 0 16px;
  color: #667e72;
  font-size: 0.87rem;
  line-height: 1.65;
}

.channel-text-button {
  width: max-content;
  margin-top: auto;
  border: 0;
  padding: 0;
  background: transparent;
  color: #3d6a55;
  font-size: 0.82rem;
  font-weight: 800;
}

.channel-privacy-card {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  background: rgba(233, 244, 237, 0.86);
}

.channel-privacy-mark {
  position: relative;
  width: 40px;
  height: 40px;
  border: 1.5px solid #658b76;
  border-radius: 50% 50% 46% 46%;
}

.channel-privacy-mark::before {
  position: absolute;
  left: 50%;
  top: 11px;
  width: 10px;
  height: 8px;
  border: 1.5px solid #658b76;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  content: "";
  transform: translateX(-50%);
}

.channel-privacy-mark::after {
  position: absolute;
  left: 50%;
  top: 18px;
  width: 16px;
  height: 12px;
  border-radius: 4px;
  background: #658b76;
  content: "";
  transform: translateX(-50%);
}

.channel-urgent-card {
  border-color: rgba(139, 101, 80, 0.16);
  background: linear-gradient(145deg, rgba(253, 249, 245, 0.94), rgba(244, 232, 222, 0.88));
}

.channel-urgent-card h3 {
  color: #674a3d;
}

.channel-urgent-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.channel-urgent-actions a {
  border: 1px solid rgba(123, 85, 65, 0.16);
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(255, 253, 250, 0.72);
  color: #765241;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.channels-footnote {
  margin: 2px 10px 8px;
  color: #768d81;
  font-size: 0.72rem;
  line-height: 1.65;
  text-align: center;
}

.channel-dialog {
  width: min(520px, calc(100% - 24px));
  max-height: min(760px, calc(100dvh - 28px));
  border: 1px solid rgba(97, 136, 116, 0.18);
  border-radius: 28px;
  padding: 22px;
  background: rgba(249, 253, 249, 0.97);
  color: #294f40;
  box-shadow: 0 30px 80px rgba(35, 67, 50, 0.25);
}

.channel-dialog::backdrop {
  background: rgba(16, 39, 29, 0.46);
  backdrop-filter: blur(8px);
}

.channel-dialog .dialog-header h3 {
  margin: 3px 0 0;
}

.channel-dialog-content {
  display: grid;
  gap: 0;
  margin-top: 14px;
}

.channel-dialog-content section {
  border-top: 1px solid rgba(90, 129, 108, 0.12);
  padding: 16px 0;
}

.channel-dialog-label {
  color: #789084;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.channel-dialog-content p,
.channel-dialog-content li {
  color: #5d7569;
  line-height: 1.68;
}

.channel-dialog-content p {
  margin: 8px 0 0;
}

.channel-dialog-content ul {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
  padding-left: 1.2rem;
}

.channel-dialog-notice {
  border-radius: 16px;
  padding: 13px 14px;
  background: #eaf3ed;
  color: #668073;
  font-size: 0.78rem;
  line-height: 1.6;
}

@media (max-width: 560px) {
  .tabs,
  .entry-focus-mode .tabs {
    width: min(380px, calc(100% - 20px));
    gap: 4px;
    padding: 6px;
  }

  .tab {
    min-height: 54px;
  }

  .channels-mode .app-shell {
    width: min(390px, calc(100% - 40px));
    padding-right: 0;
    padding-left: 0;
  }

  .channels-hero {
    min-height: 430px;
    padding: 28px 20px 22px;
  }

  .channels-hero::before,
  .channels-hero::after {
    left: 72%;
    top: 56%;
  }

  .channels-hero-copy > p:last-child {
    max-width: 260px;
  }

  .channels-balance {
    right: 20px;
    left: 20px;
  }

  .channel-practice-grid,
  .professional-channel-list {
    grid-template-columns: 1fr;
  }

  .professional-channel-card {
    min-height: 0;
  }

  .professional-channel-top small {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .channels-hero::before,
  .channels-hero::after,
  .channel-practice-orb {
    animation: none;
  }
}

@media (max-width: 360px) {
  .body-signal-grid,
  .choice-grid,
  .pattern-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .morning-visual {
    min-height: 350px;
  }

  .morning-mirror {
    top: 66px;
    width: min(90%, 258px);
  }

  .morning-mirror-copy {
    top: 182px;
    width: min(82%, 220px);
  }

  .morning-mirror-copy .question {
    font-size: 1.66rem;
  }

  .morning-feather {
    width: 62px;
    height: 62px;
    bottom: 36px;
  }

  .forest-topbar {
    gap: 10px;
  }

  .forest-title {
    font-size: 1.7rem;
  }

  .forest-emotion-grid,
  .forest-extra-grid,
  .forest-support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .forest-emotion-card,
  .forest-body-card {
    min-height: 92px;
  }

  .forest-response-shell {
    padding-bottom: 0;
  }

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

  .emotion-signal-frame {
    width: 44px;
    height: 44px;
  }

  .emotion-signal-label {
    font-size: 0.72rem;
  }

  .step-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .action-group {
    grid-template-columns: 1fr;
  }
}

.topbar {
  display: none;
}

.app-shell {
  width: min(430px, calc(100% - 16px));
  padding-top: max(10px, calc(env(safe-area-inset-top, 0px) + 6px));
  padding-bottom: max(116px, calc(env(safe-area-inset-bottom, 0px) + 94px));
}

.splash-rings span:nth-child(n + 2) {
  display: none;
}

.splash-rings span {
  animation-duration: 1800ms;
}

body.awareness-forest-mode {
  background:
    radial-gradient(circle at 50% -6%, rgba(103, 136, 111, 0.26), transparent 24%),
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.08), transparent 18%),
    linear-gradient(180deg, #10291e 0%, #173626 48%, #0f2219 100%);
  color: #f3f5ef;
}

body.understanding-night-mode {
  background:
    radial-gradient(circle at 50% 4%, rgba(150, 195, 218, 0.18), transparent 24%),
    radial-gradient(circle at 50% 76%, rgba(94, 142, 170, 0.12), transparent 28%),
    linear-gradient(180deg, #16384b 0%, #183f55 44%, #102a38 100%);
  color: #f3f6f8;
}

body.awareness-forest-mode::before,
body.understanding-night-mode::before {
  opacity: 0.38;
}

body.awareness-forest-mode::after,
body.understanding-night-mode::after {
  opacity: 0.18;
}

.tabs,
.entry-focus-mode .tabs {
  position: fixed;
  left: 50%;
  right: auto;
  top: auto;
  bottom: max(12px, calc(env(safe-area-inset-bottom, 0px) + 8px));
  width: min(348px, calc(100% - 28px));
  margin: 0;
  padding: 8px;
  gap: 8px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 30px;
  background: rgba(255, 251, 246, 0.8);
  box-shadow: 0 20px 40px rgba(90, 118, 100, 0.16);
  backdrop-filter: blur(22px);
}

.keyboard-active .tabs {
  transform: translateX(-50%) translateY(18px);
}

.tab {
  display: grid;
  place-items: center;
  gap: 5px;
  min-height: 56px;
  padding: 8px 4px;
  border-radius: 22px;
  color: rgba(90, 109, 98, 0.82);
}

.entry-focus-mode .tab {
  min-height: 56px;
  font-size: inherit;
  font-weight: inherit;
}

.tab-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.tab-icon {
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
}

.tab-icon::before,
.tab-icon::after {
  position: absolute;
  content: "";
}

.tab-icon-record::before {
  inset: 2px 3px 4px;
  border: 1.7px solid currentColor;
  border-radius: 8px;
}

.tab-icon-record::after {
  left: 7px;
  top: 5px;
  width: 6px;
  height: 8px;
  border-right: 1.7px solid currentColor;
  border-bottom: 1.7px solid currentColor;
  transform: rotate(40deg);
}

.tab-icon-awareness::before {
  inset: 3px;
  border: 1.7px solid currentColor;
  border-radius: 50%;
}

.tab-icon-awareness::after {
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.12);
}

.tab-icon-understanding::before {
  left: 4px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.7px solid currentColor;
  border-right-color: transparent;
  border-top-color: transparent;
  transform: rotate(30deg);
}

.tab-icon-understanding::after {
  right: 2px;
  top: 5px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  box-shadow:
    -2px 7px 0 -1px currentColor,
    -7px 2px 0 -1px currentColor;
}

.tab.active {
  background: linear-gradient(135deg, rgba(253, 255, 252, 0.98), rgba(236, 245, 238, 0.98));
  color: #325244;
  box-shadow:
    inset 0 0 0 1px rgba(118, 152, 134, 0.12),
    0 10px 22px rgba(108, 140, 122, 0.1);
}

.record-forest-mode .tabs,
.awareness-forest-mode .tabs {
  border-color: rgba(197, 220, 204, 0.12);
  background: rgba(15, 35, 25, 0.84);
  box-shadow: 0 20px 40px rgba(7, 15, 11, 0.26);
}

.record-forest-mode .tab,
.awareness-forest-mode .tab {
  color: rgba(229, 237, 228, 0.6);
}

.record-forest-mode .tab.active,
.awareness-forest-mode .tab.active {
  background: linear-gradient(135deg, rgba(95, 128, 104, 0.98), rgba(127, 158, 134, 0.92));
  color: #fbfdf8;
}

.understanding-night-mode .tabs {
  border-color: rgba(205, 223, 233, 0.12);
  background: rgba(16, 40, 54, 0.84);
  box-shadow: 0 20px 40px rgba(7, 18, 24, 0.24);
}

.understanding-night-mode .tab {
  color: rgba(228, 238, 244, 0.6);
}

.understanding-night-mode .tab.active {
  background: linear-gradient(135deg, rgba(72, 111, 134, 0.98), rgba(101, 144, 171, 0.92));
  color: #fbfdff;
}

.install-entry {
  bottom: max(86px, calc(env(safe-area-inset-bottom, 0px) + 76px));
}

.morning-mirror-copy .question,
.forest-title,
.insight-hero h2,
.night-hero-copy h2 {
  font-family:
    "Iowan Old Style", "Palatino Linotype", "Noto Serif SC", "Songti SC", serif;
  font-weight: 600;
}

.insight-page,
.night-page {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.insight-hero,
.insight-highlight-card,
.insight-list-card,
.insight-journal-card,
.night-hero-card,
.night-support-card,
.night-report-card,
.night-lens-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  box-shadow: 0 24px 52px rgba(5, 12, 9, 0.16);
}

.insight-hero,
.insight-highlight-card,
.insight-list-card,
.insight-journal-card,
.night-support-card,
.night-report-card,
.night-lens-card {
  padding: 22px 20px;
}

.insight-hero-forest {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  background:
    radial-gradient(circle at 82% 14%, rgba(190, 218, 195, 0.14), transparent 18%),
    linear-gradient(180deg, rgba(30, 60, 43, 0.94), rgba(20, 44, 31, 0.98));
}

.insight-kicker,
.night-kicker,
.night-section-kicker {
  margin: 0 0 10px;
  color: rgba(214, 226, 216, 0.72);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.insight-hero h2,
.night-hero-copy h2 {
  margin: 0;
  color: #f4f6f0;
  font-size: clamp(1.9rem, 8vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.insight-hero p:last-child,
.insight-highlight-copy p,
.night-hero-copy p,
.night-support-placeholder,
.night-lens-card p {
  margin: 12px 0 0;
  color: rgba(211, 223, 213, 0.78);
  font-size: 0.95rem;
  line-height: 1.7;
}

.insight-badge {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(239, 244, 236, 0.72);
  font-size: 0.75rem;
  font-weight: 700;
}

.insight-stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.insight-stat-card {
  padding: 16px 12px;
  border: 1px solid rgba(220, 232, 223, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  text-align: center;
}

.insight-stat-card strong {
  display: block;
  color: #f4f6f0;
  font-size: 1.5rem;
  font-weight: 800;
}

.insight-stat-card span {
  display: block;
  margin-top: 6px;
  color: rgba(207, 218, 209, 0.68);
  font-size: 0.76rem;
}

.insight-highlight-card {
  display: flex;
  align-items: stretch;
  gap: 14px;
  background:
    radial-gradient(circle at 18% 18%, rgba(194, 218, 198, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(22, 44, 31, 0.98), rgba(13, 31, 22, 0.98));
}

.insight-highlight-copy {
  flex: 1;
}

.insight-small {
  margin: 0 0 8px;
  color: rgba(198, 211, 200, 0.6);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.insight-highlight-copy h3,
.night-section-head h3,
.night-support-detail h4,
.night-lens-card h3,
.insight-card-head h3 {
  margin: 0;
  color: #f4f6f0;
  font-size: 1.28rem;
  letter-spacing: -0.03em;
}

.insight-highlight-mark {
  display: grid;
  place-items: center;
  width: 104px;
  border-radius: 24px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 54%),
    linear-gradient(180deg, rgba(85, 116, 93, 0.82), rgba(52, 82, 60, 0.68));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.insight-highlight-mark span {
  color: #f9faf6;
  font-size: 0.9rem;
  font-weight: 700;
  writing-mode: vertical-rl;
  letter-spacing: 0.1em;
}

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

.insight-list-card,
.insight-journal-card {
  background:
    linear-gradient(180deg, rgba(24, 46, 34, 0.92), rgba(16, 32, 24, 0.98)),
    rgba(255, 255, 255, 0.05);
}

.insight-card-head,
.night-section-head,
.night-support-detail-head,
.insight-mini-entry-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.insight-card-head small,
.night-section-head span,
.night-support-detail-head span,
.insight-mini-entry-head span {
  color: rgba(198, 210, 200, 0.62);
  font-size: 0.76rem;
}

.insight-chip-list,
.night-support-tags,
.insight-mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.insight-chip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  border-radius: 16px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(235, 241, 234, 0.82);
}

.insight-chip-row strong {
  color: #f6f7f2;
  font-size: 0.9rem;
}

.insight-entry-stack {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.insight-mini-entry {
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
}

.insight-mini-entry-head strong {
  color: #f4f6ef;
  font-size: 0.88rem;
}

.insight-mini-entry p {
  margin: 10px 0 0;
  color: rgba(210, 221, 212, 0.8);
  font-size: 0.92rem;
  line-height: 1.68;
}

.insight-mini-tags span,
.night-support-tags span {
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(233, 239, 232, 0.72);
  font-size: 0.75rem;
  font-weight: 700;
}

.mini-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(235, 240, 232, 0.72);
  font-size: 0.8rem;
  font-weight: 700;
}

.insight-empty-state,
.night-empty-state {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.insight-empty-button,
.night-primary-button {
  margin-top: 18px;
}

.night-page {
  color: #eff5f8;
}

.night-hero-card {
  padding: 22px 20px 24px;
  background:
    radial-gradient(circle at 50% 16%, rgba(143, 186, 211, 0.16), transparent 18%),
    linear-gradient(180deg, rgba(22, 54, 72, 0.98), rgba(16, 38, 52, 0.99));
}

.night-ripple-stage {
  position: relative;
  min-height: 320px;
  margin-top: 18px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.night-ripple {
  position: absolute;
  left: 50%;
  border: 1px solid rgba(210, 228, 239, 0.16);
  border-radius: 50%;
  transform: translateX(-50%);
}

.night-ripple-a {
  top: 26px;
  width: 246px;
  height: 246px;
}

.night-ripple-b {
  top: 46px;
  width: 310px;
  height: 310px;
}

.night-ripple-c {
  left: 50%;
  bottom: -72px;
  width: 340px;
  height: 150px;
  transform: translateX(-50%);
}

.night-moon-orb {
  position: absolute;
  left: 50%;
  top: 58px;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 32%, rgba(255, 255, 255, 0.92), rgba(193, 210, 221, 0.9) 48%, rgba(115, 147, 168, 0.72) 100%);
  box-shadow:
    0 0 0 16px rgba(255, 255, 255, 0.04),
    0 0 46px rgba(174, 209, 230, 0.24);
  transform: translateX(-50%);
}

.night-ripple-copy {
  position: absolute;
  left: 50%;
  top: 158px;
  width: min(82%, 250px);
  transform: translateX(-50%);
  text-align: center;
}

.night-ripple-copy span {
  display: inline-block;
  color: rgba(210, 224, 233, 0.74);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.night-ripple-copy strong {
  display: block;
  margin-top: 8px;
  color: #f8fafb;
  font-size: 1.94rem;
  font-family:
    "Iowan Old Style", "Palatino Linotype", "Noto Serif SC", "Songti SC", serif;
  font-weight: 600;
}

.night-ripple-copy p {
  margin: 10px 0 0;
  color: rgba(206, 220, 228, 0.76);
  font-size: 0.9rem;
  line-height: 1.68;
}

.night-support-card,
.night-report-card,
.night-lens-card {
  background:
    linear-gradient(180deg, rgba(18, 43, 58, 0.96), rgba(11, 30, 41, 0.98)),
    rgba(255, 255, 255, 0.03);
}

.night-section-head h3 {
  margin-top: 2px;
}

.night-support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.night-support-chip {
  min-height: 82px;
  border: 1px solid rgba(214, 230, 238, 0.1);
  border-radius: 22px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: #eef4f7;
  text-align: left;
}

.night-support-chip span,
.night-support-chip small {
  display: block;
}

.night-support-chip span {
  font-weight: 800;
}

.night-support-chip small {
  margin-top: 6px;
  color: rgba(191, 209, 219, 0.68);
  font-size: 0.78rem;
}

.night-support-chip.selected {
  background: linear-gradient(180deg, rgba(92, 129, 151, 0.82), rgba(58, 94, 116, 0.92));
  box-shadow: 0 16px 28px rgba(7, 18, 24, 0.2);
}

.night-support-detail {
  margin-top: 16px;
  border-radius: 24px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.night-support-detail-head h4 {
  font-size: 1.08rem;
}

.night-support-detail-head p {
  margin: 6px 0 0;
  color: rgba(196, 210, 218, 0.76);
  font-size: 0.9rem;
  line-height: 1.68;
}

.night-lens-grid {
  display: grid;
  gap: 12px;
}

.night-lens-card h3 {
  font-size: 1rem;
}

.night-report-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.night-report-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  border: 1px solid rgba(213, 228, 235, 0.1);
  border-radius: 20px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  color: #eff5f8;
  text-align: left;
}

.night-report-entry p {
  margin: 0 0 6px;
  color: rgba(190, 208, 219, 0.68);
  font-size: 0.76rem;
  font-weight: 700;
}

.night-report-entry strong {
  font-size: 0.98rem;
}

.night-report-entry span {
  color: rgba(190, 208, 219, 0.68);
  font-size: 0.76rem;
}

.night-report-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.night-progress-chip {
  border: 1px solid rgba(213, 228, 235, 0.1);
  border-radius: 20px;
  padding: 14px 10px;
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
}

.night-progress-chip strong {
  display: block;
  color: #f6fafb;
  font-size: 1.36rem;
  font-weight: 800;
}

.night-progress-chip span {
  display: block;
  margin-top: 6px;
  color: rgba(190, 208, 219, 0.68);
  font-size: 0.76rem;
}

.night-understanding-follow {
  margin-top: 10px;
  color: rgba(222, 232, 237, 0.9);
}

.night-circle-static {
  display: grid;
  place-items: center;
  pointer-events: none;
}

.insight-empty-copy {
  margin: 16px 0 0;
  color: rgba(204, 216, 206, 0.72);
  font-size: 0.9rem;
  line-height: 1.68;
}

.understanding-night-mode .app-shell {
  padding-bottom: max(24px, calc(env(safe-area-inset-bottom, 0px) + 16px));
}

.understanding-night-mode .tabs {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(18px);
}

.understanding-night-mode main {
  padding-bottom: 0;
}

.night-phase-page {
  min-height: calc(100vh - 18px);
  min-height: calc(100dvh - 18px);
}

.night-phase-shell {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 18px);
  min-height: calc(100dvh - 18px);
  padding: 18px 16px 26px;
  border: 1px solid rgba(208, 224, 232, 0.12);
  border-radius: 38px;
  background:
    radial-gradient(circle at 50% 14%, rgba(145, 191, 215, 0.14), transparent 18%),
    radial-gradient(circle at 50% 82%, rgba(166, 205, 222, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(24, 65, 84, 0.98), rgba(18, 52, 68, 0.98) 52%, rgba(11, 35, 46, 0.99) 100%);
  box-shadow: 0 24px 64px rgba(5, 14, 19, 0.28);
}

.night-phase-shell::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 255, 255, 0.06), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 34%);
  content: "";
  pointer-events: none;
}

.night-phase-topbar,
.night-phase-heading,
.night-feeling-block,
.night-response-block,
.night-foot-note {
  position: relative;
  z-index: 1;
}

.night-phase-topbar {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 10px;
}

.night-circle-button {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(216, 228, 234, 0.2);
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 255, 255, 0.02);
  color: rgba(245, 247, 250, 0.86);
  font-size: 1.4rem;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.night-phase-heading {
  display: grid;
  justify-items: center;
  gap: 6px;
  text-align: center;
}

.night-phase-heading strong {
  color: rgba(247, 248, 250, 0.94);
  font-family:
    "Iowan Old Style", "Palatino Linotype", "Noto Serif SC", "Songti SC", serif;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.night-phase-heading p {
  margin: 0;
  color: rgba(194, 211, 219, 0.62);
  font-size: 0.88rem;
}

.night-phase-stage {
  min-height: 468px;
  margin-top: 14px;
  background: transparent;
}

.night-phase-stage::before {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1px solid rgba(212, 226, 233, 0.06);
  box-shadow:
    0 0 0 34px rgba(212, 226, 233, 0.04),
    0 0 0 68px rgba(212, 226, 233, 0.04),
    0 0 0 102px rgba(212, 226, 233, 0.03);
  content: "";
  transform: translateX(-50%);
}

.night-phase-stage::after {
  position: absolute;
  left: 50%;
  bottom: 34px;
  width: 204px;
  height: 66px;
  border-radius: 50%;
  border: 1px solid rgba(224, 237, 243, 0.22);
  box-shadow:
    0 0 0 24px rgba(224, 237, 243, 0.16),
    0 0 0 56px rgba(224, 237, 243, 0.1),
    0 0 0 92px rgba(224, 237, 243, 0.06),
    0 0 40px rgba(195, 223, 236, 0.12);
  content: "";
  transform: translateX(-50%);
}

.night-phase-stage .night-ripple-a {
  top: 102px;
  width: 210px;
  height: 210px;
  border-color: rgba(240, 245, 248, 0.64);
}

.night-phase-stage .night-ripple-b {
  top: 82px;
  width: 252px;
  height: 252px;
  border-color: rgba(219, 232, 238, 0.16);
}

.night-phase-stage .night-ripple-c {
  bottom: 28px;
  width: 144px;
  height: 40px;
  border-color: rgba(230, 239, 243, 0.22);
}

.night-phase-stage .night-moon-orb {
  top: 134px;
  width: 78px;
  height: 78px;
  background:
    radial-gradient(circle at 42% 34%, rgba(255, 255, 255, 0.96), rgba(204, 216, 223, 0.9) 54%, rgba(120, 146, 163, 0.82) 100%);
  box-shadow:
    0 0 0 16px rgba(255, 255, 255, 0.03),
    0 0 34px rgba(198, 222, 234, 0.2);
}

.night-phase-stage .night-ripple-copy {
  top: 210px;
}

.night-phase-stage .night-ripple-copy strong {
  font-size: 1.8rem;
}

.night-feeling-block,
.night-response-block {
  margin-top: 10px;
}

.night-feeling-block h3,
.night-response-block h3 {
  margin: 0 0 14px;
  color: rgba(246, 247, 250, 0.92);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.night-emotion-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.night-emotion-chip {
  min-height: 108px;
  border: 1px solid rgba(217, 229, 235, 0.08);
  border-radius: 20px;
  padding: 12px 6px 10px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(237, 242, 245, 0.84);
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.night-emotion-chip.selected {
  border-color: rgba(230, 239, 243, 0.28);
  background: linear-gradient(180deg, rgba(84, 121, 142, 0.52), rgba(53, 84, 102, 0.56));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 28px rgba(5, 13, 18, 0.2);
}

.night-emotion-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: 0 auto 10px;
  color: currentColor;
}

.night-emotion-icon svg {
  width: 100%;
  height: 100%;
}

.night-emotion-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
}

.night-response-shell {
  position: relative;
}

.night-response-input {
  width: 100%;
  min-height: 108px;
  border: 1px solid rgba(214, 229, 236, 0.08);
  border-radius: 22px;
  padding: 18px 72px 18px 18px;
  background: rgba(255, 255, 255, 0.04);
  color: #eff4f7;
  line-height: 1.72;
  resize: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.night-response-input::placeholder {
  color: rgba(198, 214, 223, 0.42);
}

.night-response-send {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #f3ddb0, #ecd092);
  color: #204052;
  font-size: 1.3rem;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(6, 15, 20, 0.22);
}

.night-foot-note {
  margin: 14px 2px 0;
  color: rgba(191, 208, 218, 0.72);
  font-size: 0.88rem;
  line-height: 1.72;
}

@media (max-width: 430px) {
  .tabs,
  .entry-focus-mode .tabs {
    width: min(352px, calc(100% - 18px));
    bottom: max(10px, calc(env(safe-area-inset-bottom, 0px) + 8px));
  }

  .insight-stat-row,
  .insight-dual-grid,
  .night-support-grid,
  .night-report-progress {
    grid-template-columns: 1fr;
  }

  .insight-highlight-card {
    flex-direction: column;
  }

  .insight-highlight-mark {
    width: 100%;
    min-height: 74px;
  }

  .insight-highlight-mark span {
    writing-mode: initial;
  }

  .night-ripple-stage {
    min-height: 286px;
  }

  .night-ripple-a {
    width: 214px;
    height: 214px;
  }

  .night-ripple-b {
    width: 272px;
    height: 272px;
  }

  .night-phase-shell {
    border-radius: 32px;
    padding: 16px 14px 24px;
  }

  .night-phase-stage {
    min-height: 430px;
  }

  .night-phase-stage::before {
    width: 312px;
    height: 312px;
  }

  .night-phase-stage::after {
    width: 170px;
  }

  .night-phase-stage .night-ripple-a {
    top: 106px;
    width: 186px;
    height: 186px;
  }

  .night-phase-stage .night-ripple-b {
    top: 88px;
    width: 228px;
    height: 228px;
  }

  .night-phase-stage .night-moon-orb {
    top: 136px;
    width: 72px;
    height: 72px;
  }

  .night-phase-stage .night-ripple-copy {
    top: 208px;
  }

  .night-emotion-row {
    gap: 8px;
  }

  .night-emotion-chip {
    min-height: 98px;
    padding: 10px 4px 8px;
  }

  .night-emotion-label {
    font-size: 0.78rem;
  }
}

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

  .splash {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

body.record-forest-mode {
  background:
    radial-gradient(circle at 50% 10%, rgba(112, 148, 129, 0.18), transparent 22%),
    radial-gradient(circle at 50% 76%, rgba(10, 30, 22, 0.88), transparent 36%),
    linear-gradient(180deg, #10281d 0%, #133224 52%, #0d2118 100%);
}

.record-panel-checkin {
  background:
    radial-gradient(circle at 50% 14%, rgba(141, 183, 203, 0.12), transparent 18%),
    radial-gradient(circle at 50% 32%, rgba(255, 240, 209, 0.06), transparent 24%),
    linear-gradient(180deg, rgba(15, 39, 29, 0.98), rgba(16, 45, 33, 0.99) 50%, rgba(11, 31, 23, 0.99) 100%);
}

.record-panel-checkin::before {
  inset: -2% auto auto 16%;
  width: 70%;
  height: 360px;
  background:
    radial-gradient(circle, rgba(145, 181, 193, 0.16), transparent 42%),
    radial-gradient(circle at 50% 18%, rgba(255, 247, 230, 0.06), transparent 26%);
}

.record-panel-entry {
  padding: 0;
  min-height: calc(100dvh - 120px - env(safe-area-inset-bottom, 0px));
}

.entry-stage-immersive {
  min-height: 100%;
}

.entry-whole-sheet {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: calc(100dvh - 146px - env(safe-area-inset-bottom, 0px));
  padding: 10px 0 0;
}

.entry-phase-copy {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 6px;
  margin: 10px 0 18px;
  text-align: center;
}

.entry-phase-copy strong {
  color: rgba(73, 94, 83, 0.94);
  font-size: clamp(1.55rem, 6vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.entry-phase-copy p {
  margin: 0;
  color: rgba(112, 127, 119, 0.82);
  font-size: 0.92rem;
}

.entry-lake-stage {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  padding: 92px 24px 84px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 42px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.84), transparent 22%),
    radial-gradient(circle at 50% 42%, rgba(203, 228, 235, 0.34), transparent 38%),
    linear-gradient(180deg, rgba(245, 248, 244, 0.98), rgba(228, 236, 231, 0.96) 56%, rgba(214, 226, 218, 0.98) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 24px 48px rgba(111, 133, 121, 0.12);
}

.entry-lake-ring,
.entry-lake-glow,
.entry-lake-mirror,
.entry-lake-reflection,
.entry-lake-waterline {
  position: absolute;
  display: block;
}

.entry-lake-ring {
  left: 50%;
  bottom: 84px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 50%;
  transform: translateX(-50%);
}

.entry-lake-ring-a {
  width: 104px;
  height: 22px;
}

.entry-lake-ring-b {
  width: 164px;
  height: 38px;
}

.entry-lake-ring-c {
  width: 226px;
  height: 58px;
}

.entry-lake-ring-d {
  width: 304px;
  height: 82px;
  border-color: rgba(220, 232, 235, 0.28);
}

.entry-lake-glow {
  left: 50%;
  top: 118px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(233, 245, 247, 0.84), rgba(207, 228, 235, 0.26) 44%, transparent 74%);
  transform: translateX(-50%);
  filter: blur(6px);
}

.entry-lake-mirror {
  left: 50%;
  top: 90px;
  z-index: 1;
  width: min(62vw, 226px);
  aspect-ratio: 0.72;
  border: 1.8px solid rgba(253, 253, 249, 0.84);
  border-radius: 46% 46% 50% 50% / 39% 39% 58% 58%;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 251, 241, 0.84), transparent 22%),
    radial-gradient(circle at 50% 64%, rgba(187, 216, 229, 0.26), transparent 48%),
    linear-gradient(180deg, rgba(248, 251, 247, 0.2), rgba(187, 208, 215, 0.1) 44%, rgba(255, 255, 255, 0.04) 100%);
  box-shadow:
    inset 0 0 40px rgba(255, 255, 255, 0.48),
    0 18px 38px rgba(148, 170, 167, 0.16);
  transform: translateX(-50%);
}

.entry-lake-mirror::before,
.entry-lake-mirror::after {
  position: absolute;
  content: "";
}

.entry-lake-mirror::before {
  inset: 12% 18% auto;
  height: 36%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28), transparent 72%);
}

.entry-lake-mirror::after {
  left: 50%;
  bottom: -10%;
  width: 84%;
  height: 24%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(238, 245, 247, 0.52), transparent 70%);
  transform: translateX(-50%);
  filter: blur(10px);
}

.entry-lake-reflection {
  left: 50%;
  bottom: 70px;
  width: 132px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 245, 223, 0.76), rgba(228, 240, 246, 0.22) 52%, transparent 72%);
  transform: translateX(-50%);
  filter: blur(4px);
}

.entry-lake-waterline {
  left: -4%;
  right: -4%;
  bottom: -2px;
  height: 128px;
  background:
    linear-gradient(180deg, rgba(164, 197, 176, 0.9), rgba(123, 166, 140, 0.96)),
    rgba(123, 166, 140, 0.92);
  clip-path: polygon(0 54%, 18% 50%, 34% 48%, 49% 45%, 64% 48%, 82% 53%, 100% 58%, 100% 100%, 0 100%);
}

.entry-center-copy {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 10px;
  padding-top: 126px;
  text-align: center;
}

.entry-center-copy .question {
  width: 100%;
  margin: 0;
  color: #405a4d;
  font-size: clamp(2rem, 8.6vw, 3.24rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.entry-center-copy .entry-note {
  color: rgba(111, 124, 115, 0.88);
  font-size: 0.98rem;
}

.entry-compose-shell {
  position: relative;
  z-index: 2;
  margin-top: 18px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 252, 0.94), rgba(245, 249, 244, 0.92)),
    rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 34px rgba(120, 142, 129, 0.08);
  backdrop-filter: blur(12px);
}

.entry-compose-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.entry-compose-head span,
.entry-compose-head small {
  color: rgba(92, 114, 100, 0.84);
  font-weight: 700;
}

.entry-compose-head small {
  font-size: 0.76rem;
}

.entry-water-input {
  min-height: clamp(196px, 28dvh, 260px);
  border-color: rgba(198, 215, 204, 0.34);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(252, 255, 252, 0.94), rgba(246, 250, 247, 0.92)),
    rgba(255, 255, 255, 0.84);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 12px 24px rgba(124, 145, 134, 0.06);
}

.entry-compose-quote {
  margin: 14px 2px 0;
  color: rgba(92, 108, 98, 0.8);
  font-size: 0.94rem;
}

.forest-whole-sheet {
  min-height: calc(100dvh - 146px - env(safe-area-inset-bottom, 0px));
  padding-bottom: 8px;
}

.forest-immersive-step {
  display: flex;
  flex-direction: column;
}

.forest-topbar-centered {
  position: relative;
  justify-content: center;
  margin-bottom: 8px;
  text-align: center;
}

.forest-heading-group {
  display: grid;
  justify-items: center;
  gap: 6px;
}

.forest-kicker {
  margin: 0;
  color: rgba(196, 215, 202, 0.72);
  font-size: 0.84rem;
  letter-spacing: 0.1em;
}

.forest-menu-floating {
  position: absolute;
  top: 0;
  right: 0;
}

.forest-moon-stage {
  position: relative;
  overflow: hidden;
  min-height: 254px;
  margin: 8px 0 20px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 24%, rgba(177, 216, 233, 0.12), transparent 22%),
    radial-gradient(circle at 50% 68%, rgba(255, 240, 206, 0.08), transparent 18%),
    linear-gradient(180deg, rgba(21, 55, 40, 0.12), rgba(17, 40, 30, 0.02));
}

.forest-stage-ring,
.forest-stage-orb,
.forest-stage-reflection,
.forest-stage-waterline {
  position: absolute;
  display: block;
}

.forest-stage-ring {
  left: 50%;
  top: 44%;
  border: 1px solid rgba(220, 232, 236, 0.14);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.forest-stage-ring-a {
  width: 198px;
  height: 198px;
  border-color: rgba(236, 243, 246, 0.46);
}

.forest-stage-ring-b {
  width: 258px;
  height: 258px;
}

.forest-stage-ring-c {
  width: 316px;
  height: 316px;
}

.forest-stage-ring-d {
  width: 374px;
  height: 374px;
}

.forest-stage-orb {
  left: 50%;
  top: 78px;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.42), transparent 18%),
    radial-gradient(circle at 58% 62%, rgba(134, 156, 168, 0.2), transparent 24%),
    radial-gradient(circle, rgba(236, 241, 243, 0.92), rgba(155, 181, 193, 0.86));
  box-shadow:
    0 0 32px rgba(206, 223, 230, 0.16),
    0 0 84px rgba(184, 210, 222, 0.08);
  transform: translateX(-50%);
}

.forest-stage-reflection {
  left: 50%;
  bottom: 42px;
  width: 116px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(248, 240, 218, 0.84), rgba(199, 220, 228, 0.22) 56%, transparent 76%);
  transform: translateX(-50%);
  filter: blur(3px);
}

.forest-stage-waterline {
  left: 50%;
  bottom: 20px;
  width: 328px;
  height: 94px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at center, rgba(231, 240, 243, 0.1) 0, rgba(231, 240, 243, 0.04) 36%, transparent 68%),
    repeating-radial-gradient(ellipse at center, rgba(226, 236, 238, 0.28) 0 2px, transparent 3px 18px);
  transform: translateX(-50%);
  opacity: 0.84;
  filter: blur(0.4px);
}

.forest-lane {
  margin-top: 18px;
}

.forest-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.forest-section-head .forest-section-label {
  margin: 0;
}

.forest-section-meta {
  color: rgba(187, 204, 192, 0.68);
  font-size: 0.76rem;
}

.forest-body-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.forest-body-card {
  min-height: 132px;
  padding: 12px 8px 10px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
}

.forest-body-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
}

.forest-emotion-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.forest-emotion-card {
  min-height: 116px;
  border-radius: 26px;
}

.forest-emotion-icon {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.splash-rings span:nth-child(n + 2) {
  display: block;
}

.splash-rings span {
  animation-duration: 3000ms;
}

@media (max-width: 430px) {
  .entry-lake-stage {
    min-height: 404px;
    padding: 84px 18px 80px;
  }

  .entry-lake-mirror {
    width: min(66vw, 214px);
  }

  .entry-center-copy {
    padding-top: 118px;
  }

  .entry-center-copy .question {
    font-size: clamp(1.86rem, 8vw, 2.72rem);
  }

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

@media (max-width: 360px) {
  .entry-phase-copy strong {
    font-size: 1.38rem;
  }

  .entry-lake-stage {
    min-height: 370px;
    padding-top: 78px;
  }

  .entry-lake-mirror {
    width: min(70vw, 194px);
  }

  .entry-center-copy {
    padding-top: 108px;
  }

  .entry-compose-shell {
    padding: 16px 14px 14px;
  }

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

  .forest-stage-ring-a {
    width: 158px;
    height: 158px;
  }

  .forest-stage-ring-b {
    width: 214px;
    height: 214px;
  }

  .forest-stage-ring-c {
    width: 266px;
    height: 266px;
  }
}

.forest-moon-stage {
  min-height: 336px;
  margin: 10px 0 14px;
  background:
    radial-gradient(circle at 50% 26%, rgba(190, 220, 234, 0.15), transparent 24%),
    radial-gradient(circle at 50% 70%, rgba(255, 239, 203, 0.12), transparent 14%),
    linear-gradient(180deg, rgba(20, 53, 38, 0.14), rgba(14, 36, 27, 0.03));
}

.forest-stage-ring {
  top: 48%;
}

.forest-stage-ring-a {
  width: 244px;
  height: 244px;
}

.forest-stage-ring-b {
  width: 318px;
  height: 318px;
}

.forest-stage-ring-c {
  width: 392px;
  height: 392px;
}

.forest-stage-ring-d {
  width: 466px;
  height: 466px;
}

.forest-stage-orb {
  top: 86px;
  width: 124px;
  height: 124px;
  overflow: hidden;
  box-shadow:
    0 0 42px rgba(214, 230, 236, 0.18),
    0 0 104px rgba(188, 213, 224, 0.09);
  animation: forestMoonRise 5.6s cubic-bezier(0.2, 0.74, 0.18, 1) both;
}

.forest-stage-orb::before,
.forest-stage-orb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.forest-stage-orb::before {
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.4), transparent 16%),
    radial-gradient(circle at 52% 58%, rgba(132, 153, 168, 0.18), transparent 26%),
    radial-gradient(circle at 46% 46%, rgba(245, 247, 248, 0.2), transparent 62%);
  opacity: 0.92;
  animation: forestMoonGlow 11s ease-in-out infinite alternate;
}

.forest-stage-orb::after {
  inset: -6% -10% -6% 18%;
  background: radial-gradient(circle at 32% 50%, rgba(32, 55, 69, 0.74) 0 44%, rgba(32, 55, 69, 0.26) 58%, transparent 74%);
  mix-blend-mode: multiply;
  opacity: 0.52;
  animation: forestMoonPhase 14s ease-in-out infinite alternate;
}

.forest-stage-reflection {
  bottom: 56px;
  width: 164px;
  height: 24px;
  opacity: 0.96;
  filter: blur(4px);
  animation: forestReflectionBreath 8.8s ease-in-out infinite;
}

.forest-stage-waterline {
  left: 50%;
  bottom: 18px;
  width: 404px;
  height: 118px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at center, rgba(235, 242, 244, 0.12) 0, rgba(235, 242, 244, 0.06) 36%, transparent 68%),
    repeating-radial-gradient(ellipse at center, rgba(226, 236, 238, 0.32) 0 2px, transparent 3px 18px);
  transform: translateX(-50%);
  opacity: 0.88;
  filter: blur(0.3px);
}

.forest-stage-waterline::before,
.forest-stage-waterline::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(ellipse at center, rgba(235, 242, 244, 0.1) 0, rgba(235, 242, 244, 0.04) 36%, transparent 68%),
    repeating-radial-gradient(ellipse at center, rgba(226, 236, 238, 0.26) 0 2px, transparent 3px 18px);
  transform-origin: center;
  opacity: 0;
}

.forest-stage-waterline::before {
  animation: forestWaterOpen 7.8s ease-out infinite;
}

.forest-stage-waterline::after {
  animation: forestWaterOpen 7.8s ease-out 2.6s infinite;
}

.forest-lane {
  margin-top: 12px;
}

.forest-section-head {
  margin-bottom: 12px;
}

.forest-body-grid,
.forest-emotion-grid {
  gap: 12px;
}

.forest-body-card {
  min-height: 120px;
  padding: 10px 8px 8px;
  border-radius: 24px;
}

.forest-body-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 10px;
}

.forest-emotion-card {
  min-height: 104px;
  border-radius: 22px;
}

.forest-emotion-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 10px;
}

@keyframes forestMoonRise {
  0% {
    transform: translate(-50%, 70px) scale(0.74);
    opacity: 0;
    filter: blur(4px);
  }

  28% {
    opacity: 0.94;
  }

  62% {
    transform: translate(-50%, 16px) scale(0.92);
    opacity: 1;
    filter: blur(0);
  }

  100% {
    transform: translate(-50%, 0) scale(1);
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes forestMoonGlow {
  0% {
    transform: scale(0.96);
    opacity: 0.82;
  }

  100% {
    transform: scale(1.05);
    opacity: 1;
  }
}

@keyframes forestMoonPhase {
  0% {
    transform: translateX(10%) scale(0.94);
    opacity: 0.44;
  }

  50% {
    transform: translateX(-4%) scale(1);
    opacity: 0.62;
  }

  100% {
    transform: translateX(-16%) scale(1.08);
    opacity: 0.54;
  }
}

@keyframes forestReflectionBreath {
  0%,
  100% {
    transform: translateX(-50%) scaleX(0.84);
    opacity: 0.7;
  }

  50% {
    transform: translateX(-50%) scaleX(1.08);
    opacity: 1;
  }
}

@keyframes forestWaterOpen {
  0% {
    transform: scale(0.34);
    opacity: 0;
  }

  24% {
    opacity: 0.42;
  }

  100% {
    transform: scale(1.18);
    opacity: 0;
  }
}

@media (max-width: 430px) {
  .forest-moon-stage {
    min-height: 356px;
  }

  .forest-stage-ring-a {
    width: 224px;
    height: 224px;
  }

  .forest-stage-ring-b {
    width: 292px;
    height: 292px;
  }

  .forest-stage-ring-c {
    width: 360px;
    height: 360px;
  }

  .forest-stage-ring-d {
    width: 424px;
    height: 424px;
  }

  .forest-stage-orb {
    top: 92px;
    width: 118px;
    height: 118px;
  }

  .forest-stage-reflection {
    bottom: 54px;
    width: 154px;
  }

  .forest-stage-waterline {
    width: 362px;
    height: 110px;
  }
}

@media (max-width: 360px) {
  .forest-moon-stage {
    min-height: 328px;
  }

  .forest-stage-ring-a {
    width: 198px;
    height: 198px;
  }

  .forest-stage-ring-b {
    width: 254px;
    height: 254px;
  }

  .forest-stage-ring-c {
    width: 316px;
    height: 316px;
  }

  .forest-stage-ring-d {
    width: 372px;
    height: 372px;
  }

  .forest-stage-orb {
    top: 92px;
    width: 104px;
    height: 104px;
  }

  .forest-stage-waterline {
    width: 318px;
    height: 98px;
  }

  .forest-body-card,
  .forest-emotion-card {
    min-height: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .forest-stage-orb,
  .forest-stage-orb::before,
  .forest-stage-orb::after,
  .forest-stage-reflection,
  .forest-stage-waterline::before,
  .forest-stage-waterline::after {
    animation: none;
  }
}

body.awareness-forest-mode {
  background:
    radial-gradient(circle at 50% -8%, rgba(119, 154, 129, 0.22), transparent 22%),
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.07), transparent 18%),
    linear-gradient(180deg, #0f2c1f 0%, #143626 48%, #0d2118 100%);
}

body.understanding-night-mode {
  background:
    radial-gradient(circle at 50% 4%, rgba(164, 205, 193, 0.14), transparent 24%),
    radial-gradient(circle at 50% 78%, rgba(77, 133, 126, 0.12), transparent 32%),
    linear-gradient(180deg, #17433f 0%, #123a36 48%, #0c2c2a 100%);
}

.record-panel-checkin {
  background:
    radial-gradient(circle at 50% 14%, rgba(142, 183, 168, 0.1), transparent 18%),
    radial-gradient(circle at 50% 32%, rgba(255, 240, 209, 0.05), transparent 24%),
    linear-gradient(180deg, rgba(15, 39, 29, 0.98), rgba(16, 45, 33, 0.99) 50%, rgba(11, 31, 23, 0.99) 100%);
}

.understanding-night-mode .tabs {
  border-color: rgba(196, 222, 213, 0.12);
  background: rgba(13, 48, 44, 0.82);
  box-shadow: 0 20px 40px rgba(6, 24, 21, 0.24);
}

.understanding-night-mode .tab {
  color: rgba(223, 235, 237, 0.62);
}

.understanding-night-mode .tab.active {
  background: linear-gradient(135deg, rgba(94, 143, 128, 0.96), rgba(118, 163, 151, 0.9));
  color: #fbfffe;
}

.understanding-night-mode .night-page {
  gap: 0;
  color: #eef5f4;
}

.understanding-night-mode .app-shell {
  width: 100%;
  padding-top: 0;
}

.understanding-night-mode .night-phase-shell {
  overflow: visible;
  min-height: calc(100dvh - 8px);
  padding: 18px 16px 32px;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 50% 12%, rgba(171, 211, 198, 0.12), transparent 20%),
    radial-gradient(circle at 50% 76%, rgba(105, 160, 148, 0.07), transparent 28%),
    linear-gradient(180deg, rgba(23, 67, 63, 0.98), rgba(17, 55, 51, 0.99) 54%, rgba(11, 42, 39, 1) 100%);
  box-shadow: none;
}

.understanding-night-mode .night-phase-shell::before {
  background:
    radial-gradient(circle at 50% 34%, rgba(220, 240, 234, 0.05), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 34%);
}

.understanding-night-mode .night-circle-button {
  border-color: rgba(216, 228, 234, 0.14);
  background: rgba(255, 255, 255, 0.015);
  color: rgba(238, 245, 246, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.understanding-night-mode .night-phase-heading p {
  color: rgba(204, 220, 224, 0.68);
}

.understanding-night-mode .night-ripple-stage {
  overflow: visible;
  min-height: 434px;
  margin-top: 8px;
  border: 0;
  border-radius: 0;
  background: none !important;
  box-shadow: none;
}

.understanding-night-mode .night-phase-stage::before {
  border-color: rgba(212, 226, 233, 0.05);
  box-shadow:
    0 0 0 34px rgba(212, 226, 233, 0.03),
    0 0 0 68px rgba(212, 226, 233, 0.025),
    0 0 0 102px rgba(212, 226, 233, 0.02);
}

.understanding-night-mode .night-phase-stage::after {
  border-color: rgba(224, 237, 243, 0.16);
  box-shadow:
    0 0 0 24px rgba(224, 237, 243, 0.1),
    0 0 0 56px rgba(224, 237, 243, 0.06),
    0 0 0 92px rgba(224, 237, 243, 0.03),
    0 0 40px rgba(195, 223, 236, 0.08);
}

.understanding-night-mode .night-report-card {
  margin-top: 12px;
  padding: 14px 2px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.understanding-night-mode .night-report-card + .night-report-card {
  border-top: 1px solid rgba(208, 224, 228, 0.12);
  padding-top: 16px;
}

.understanding-night-mode .night-section-head {
  margin-bottom: 10px;
}

.understanding-night-mode .night-section-head h3,
.understanding-night-mode .night-lens-item h3 {
  margin: 0;
  color: rgba(241, 246, 247, 0.92);
}

.understanding-night-mode .night-section-head span {
  color: rgba(191, 212, 217, 0.62);
}

.understanding-night-mode .night-lens-grid {
  gap: 0;
  margin-top: 10px;
}

.understanding-night-mode .night-lens-item {
  padding: 14px 0;
  border-top: 1px solid rgba(208, 224, 228, 0.1);
}

.understanding-night-mode .night-lens-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.understanding-night-mode .night-lens-item h3 {
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.understanding-night-mode .night-support-placeholder,
.understanding-night-mode .night-lens-item p {
  margin: 8px 0 0;
  color: rgba(212, 226, 230, 0.76);
  font-size: 0.94rem;
  line-height: 1.72;
}

.understanding-night-mode .night-report-progress {
  gap: 0;
  border-top: 1px solid rgba(202, 226, 218, 0.1);
  border-bottom: 1px solid rgba(202, 226, 218, 0.1);
}

.understanding-night-mode .night-progress-chip {
  border: 0;
  border-left: 1px solid rgba(202, 226, 218, 0.1);
  border-radius: 0;
  padding: 14px 8px;
  background: transparent;
}

.understanding-night-mode .night-progress-chip:first-child {
  border-left: 0;
}

.understanding-night-mode .night-progress-chip strong {
  font-size: 1.28rem;
}

.understanding-night-mode .night-report-list {
  gap: 8px;
  margin-top: 12px;
}

.understanding-night-mode .night-report-entry {
  border: 1px solid rgba(213, 228, 235, 0.08);
  border-radius: 18px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
}

.understanding-night-mode .fatigue-meter {
  margin: 2px 0 12px;
  border: 1px solid rgba(196, 224, 221, 0.12);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(236, 247, 246, 0.96), rgba(213, 231, 229, 0.88)),
    rgba(255, 255, 255, 0.2);
}

.understanding-night-mode .fatigue-head strong {
  color: #3d6b69;
}

.understanding-night-mode .fatigue-head span {
  background: rgba(255, 255, 255, 0.82);
  color: #3d6b69;
}

.understanding-night-mode .fatigue-track {
  background: rgba(157, 197, 197, 0.28);
}

.understanding-night-mode .fatigue-fill {
  background: linear-gradient(90deg, #91bbae, #6d9e91, #4e817a);
}

.understanding-night-mode .fatigue-meter p {
  color: rgba(79, 104, 108, 0.84);
}

.understanding-night-mode .install-entry {
  display: none;
}

@media (max-width: 430px) {
  .understanding-night-mode .night-ripple-stage {
    min-height: 410px;
  }

  .understanding-night-mode .night-report-progress {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
