.account-body {
  background: #f6f2ed;
}

/* Final readability and touch polish for the member workspace. */
.top-nav a,
.nav-more summary,
.nav-more-panel a {
  min-height: 44px;
  font-size: 0.94rem;
  font-weight: 720;
}

.nav-more-panel {
  min-width: 220px;
}

.account-form label {
  color: #3e3540;
  font-size: 1rem;
  line-height: 1.45;
}

.account-form input,
.account-form select,
.account-form textarea {
  min-height: 48px;
  padding: 12px 14px;
  font-size: 1rem;
  line-height: 1.5;
}

.account-form textarea {
  min-height: 112px;
}

.mirror-hero .section-inner {
  padding-top: 48px;
  padding-bottom: 44px;
}

.mirror-hero h1 {
  font-size: 3rem;
  line-height: 1.1;
}

.mirror-hero p {
  font-size: 1.05rem;
  line-height: 1.65;
}

.mirror-layout {
  gap: 28px;
}

.mirror-card,
.mirror-guide {
  padding: 26px;
}

.mirror-card h2,
.mirror-guide h2 {
  font-size: 1.65rem;
}

.camera-stage,
.camera-stage video {
  min-height: 320px;
}

.camera-stage {
  aspect-ratio: 16 / 10;
}

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

.camera-metrics span {
  min-width: 0;
  padding: 11px 8px;
  font-size: 0.86rem;
  text-align: center;
}

.camera-metrics strong {
  font-size: 1.18rem;
}

.camera-metrics strong::after {
  content: "%";
  margin-left: 1px;
  font-size: 0.76em;
  font-weight: 650;
}

.camera-privacy-note {
  color: #625963;
  font-size: 0.96rem;
}

.emotion-wheel button {
  min-height: 48px;
  padding: 9px 10px;
  font-size: 0.96rem;
  font-weight: 720;
}

@media (max-width: 760px) {
  .mirror-hero .section-inner {
    padding-top: 34px;
    padding-bottom: 32px;
  }

  .mirror-hero h1 {
    font-size: 2.2rem;
  }

  .mirror-card,
  .mirror-guide {
    padding: 19px;
  }

  .camera-stage,
  .camera-stage video {
    min-height: 250px;
  }

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

.practice-picker {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 20px;
  padding: 12px;
  border: 1px solid rgba(58, 32, 59, .12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .62);
}

.practice-picker label,
.practice-custom-field {
  display: grid;
  gap: 7px;
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.practice-picker select,
.practice-custom-field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid rgba(58, 32, 59, .16);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.practice-guide {
  display: grid;
  gap: 12px;
  margin: 18px 0;
  padding: 18px;
  border: 1px solid rgba(216, 168, 79, .28);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 250, 241, .95), rgba(243, 239, 246, .82));
}

.practice-guide h2 {
  margin: 0;
  color: var(--plum);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.8vw, 1.55rem);
}

.practice-guide p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

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

.practice-choice-grid .task-choice {
  min-height: 46px;
  text-align: left;
}

.universe-breath-visual {
  position: relative;
  min-height: 120px;
  overflow: hidden;
  border-radius: var(--radius);
  background: radial-gradient(circle at 50% 48%, rgba(255, 220, 145, .27), transparent 16%), radial-gradient(circle at 22% 30%, rgba(255,255,255,.65) 0 1px, transparent 2px), radial-gradient(circle at 76% 68%, rgba(255,255,255,.52) 0 1px, transparent 2px), linear-gradient(135deg, #141d39, #2d1b42 65%, #10182d);
}

.universe-breath-visual::before,
.universe-breath-visual::after {
  position: absolute;
  inset: 18% 38%;
  border: 1px solid rgba(255, 222, 157, .6);
  border-radius: 50% 50% 45% 45%;
  content: "";
  transform: scaleY(.6);
  animation: universe-breathe 4.8s ease-in-out infinite;
}

.universe-breath-visual::after {
  inset: 31% 45%;
  border-color: rgba(255,255,255,.75);
  animation-delay: -.8s;
}

.universe-breath-visual span {
  position: absolute;
  inset: 41% 48%;
  border-radius: 50%;
  background: #ffe5a2;
  box-shadow: 0 0 24px rgba(255, 220, 145, .85);
  animation: universe-glow 4.8s ease-in-out infinite;
}

@keyframes universe-breathe { 0%,100% { opacity: .35; transform: scaleY(.5); } 50% { opacity: .95; transform: scaleY(1); } }
@keyframes universe-glow { 0%,100% { opacity: .45; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.35); } }

@media (max-width: 700px) {
  .practice-picker { grid-template-columns: 1fr; }
  .practice-choice-grid { grid-template-columns: 1fr; }
}

.daily-form-hint {
  margin: -2px 0 6px;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.55;
}

.daily-form label output {
  float: right;
  color: var(--emerald);
  font-weight: 800;
}

.daily-focus-picker {
  display: grid;
  gap: 14px;
  margin: 4px 0 0;
  padding: 16px;
  border: 1px solid rgba(58, 32, 59, .12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .52);
}

.daily-focus-picker legend {
  padding: 0 6px;
  color: var(--plum);
  font-weight: 800;
}

.daily-focus-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.daily-focus-tabs button {
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(58, 32, 59, .14);
  border-radius: var(--radius);
  color: var(--plum);
  background: rgba(255, 255, 255, .7);
  cursor: pointer;
  font: inherit;
  font-weight: 750;
}

.daily-focus-tabs button.is-active {
  border-color: rgba(40, 124, 104, .5);
  color: #fff;
  background: var(--emerald);
}

.daily-audio-suggestion {
  padding: 12px 14px;
  border-left: 3px solid var(--gold);
  color: var(--muted);
  background: rgba(216, 168, 79, .1);
  line-height: 1.5;
}

.daily-audio-suggestion a {
  color: var(--wine);
  font-weight: 800;
}

.daily-heart-card {
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.daily-heart-card summary {
  padding: 13px 14px;
  border: 1px solid rgba(58, 32, 59, .12);
  border-radius: var(--radius);
  color: var(--plum);
  background: rgba(255, 255, 255, .68);
}

.daily-heart-card p {
  margin: 10px 14px 6px;
  font-size: .92rem;
}

.daily-heart-card > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 14px 10px;
}

.daily-heart-card > div a {
  color: var(--wine);
  font-size: .9rem;
  font-weight: 800;
}

.heart-practice {
  display: grid;
  gap: 10px;
  padding: 0 14px 14px;
}

.heart-practice-copy {
  margin: 0 !important;
  color: var(--muted);
}

.heart-practice-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 !important;
}

.heart-practice-choices button[aria-pressed="true"] {
  color: #fff;
  border-color: var(--wine);
  background: linear-gradient(135deg, var(--wine), var(--sky));
}

.heart-universe {
  position: relative;
  min-height: 118px;
  overflow: hidden;
  border: 1px solid rgba(81, 71, 143, .25);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 44%, rgba(216, 168, 79, .22), transparent 20%),
    radial-gradient(circle at 18% 28%, rgba(255, 255, 255, .55) 0 1px, transparent 2px),
    radial-gradient(circle at 76% 68%, rgba(255, 255, 255, .48) 0 1px, transparent 2px),
    linear-gradient(145deg, #17233f, #2b1d3e 65%, #14152b);
}

.heart-universe::before,
.heart-universe::after {
  position: absolute;
  inset: 18% 35%;
  border: 1px solid rgba(255, 219, 157, .45);
  border-radius: 50% 50% 45% 45%;
  content: "";
  transform: scaleY(.58);
  opacity: .4;
}

.heart-universe::after {
  inset: 28% 42%;
  border-color: rgba(255, 255, 255, .65);
  transform: scaleY(.3);
}

.heart-universe span {
  position: absolute;
  inset: 35% 46%;
  border-radius: 50%;
  background: #ffe7a8;
  box-shadow: 0 0 24px rgba(255, 219, 157, .8);
  opacity: .55;
}

.heart-universe.is-active::before,
.heart-universe.is-active::after {
  animation: heart-universe-breathe 4.8s ease-in-out infinite;
}

.heart-universe.is-active span {
  animation: heart-universe-glow 4.8s ease-in-out infinite;
}

@keyframes heart-universe-breathe {
  0%, 100% { transform: scaleY(.5); opacity: .35; }
  50% { transform: scaleY(1); opacity: .9; }
}

@keyframes heart-universe-glow {
  0%, 100% { transform: scale(.8); opacity: .45; }
  50% { transform: scale(1.35); opacity: 1; }
}

.site-header {
  position: sticky;
  min-height: 64px;
  padding-top: 10px;
  padding-bottom: 10px;
  background:
    linear-gradient(90deg, rgba(18, 13, 23, 0.94), rgba(38, 24, 46, 0.9), rgba(18, 13, 23, 0.94));
  box-shadow: 0 12px 34px rgba(12, 8, 16, 0.22);
}

.top-nav {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.top-nav a {
  display: inline-grid;
  place-items: center;
  min-height: 38px;
  padding: 7px 11px;
  border: 1px solid rgba(216, 168, 79, 0.14);
  border-radius: var(--radius);
  font-size: 0.86rem;
  font-weight: 840;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.045);
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.top-nav a:hover {
  border-color: rgba(216, 168, 79, 0.34);
  background: rgba(216, 168, 79, 0.12);
}

.top-nav a[aria-current="page"] {
  color: #fff;
  border-color: rgba(216, 168, 79, 0.62);
  background:
    linear-gradient(135deg, rgba(216, 168, 79, 0.24), rgba(79, 142, 162, 0.16));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 10px 24px rgba(216, 168, 79, 0.12);
}

.game-nav {
  align-items: center;
}

.nav-rune {
  grid-auto-flow: column;
  grid-auto-columns: max-content;
}

.nav-rune::before {
  content: "";
  width: 9px;
  aspect-ratio: 1;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--nav-color, var(--gold));
  box-shadow: 0 0 12px var(--nav-color, var(--gold));
}

.nav-map { --nav-color: #d8a84f; }
.nav-ritual { --nav-color: #b5313f; }
.nav-mirror { --nav-color: #4f8ea2; }
.nav-circle { --nav-color: #3a946e; }
.nav-games { --nav-color: #8d4d9f; }

.nav-more {
  position: relative;
}

.nav-more summary {
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  place-items: center;
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid rgba(216, 168, 79, 0.14);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 840;
  list-style: none;
}

.nav-more summary::-webkit-details-marker {
  display: none;
}

.nav-more summary::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.nav-more[open] summary,
.nav-more.is-active summary {
  color: #fff;
  border-color: rgba(216, 168, 79, 0.52);
  background: rgba(216, 168, 79, 0.14);
}

.nav-more-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 40;
  display: grid;
  gap: 7px;
  min-width: 190px;
  padding: 10px;
  border: 1px solid rgba(216, 168, 79, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(33, 26, 39, 0.98), rgba(58, 32, 59, 0.96));
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.32);
}

.nav-more-panel a {
  justify-content: start;
  width: 100%;
  min-height: 38px;
}

.button {
  min-height: 48px;
  box-shadow: 0 10px 24px rgba(38, 22, 44, 0.08);
}

.button:hover:not(:disabled) {
  box-shadow: 0 16px 34px rgba(38, 22, 44, 0.14);
}

.button:focus-visible,
.top-nav a:focus-visible,
.nav-more summary:focus-visible,
.action-tile:focus-visible,
.compass-steps a:focus-visible,
.chakra-path-card a:focus-visible,
.game-card button:focus-visible,
.lobby-actions select:focus-visible,
.lobby-join input:focus-visible,
.account-form input:focus-visible,
.account-form textarea:focus-visible,
.account-form select:focus-visible {
  outline: 3px solid rgba(216, 168, 79, 0.48);
  outline-offset: 3px;
}

.button.primary {
  background: linear-gradient(135deg, #8e334b, #c9615d 54%, #d8a84f);
}

.button.subtle {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 239, 230, 0.74));
}

.account-hero {
  min-height: calc(100svh - 68px);
  display: grid;
  place-items: center;
  padding: clamp(42px, 7vw, 92px) clamp(18px, 4vw, 54px);
  color: #fff;
  background:
    linear-gradient(110deg, rgba(31, 19, 36, 0.95), rgba(82, 42, 62, 0.84)),
    url("../assets/stage_bg_1.png") center / cover;
}

.account-auth-panel,
.account-panel,
.account-empty,
.task-runner {
  border: 1px solid rgba(58, 32, 59, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 250, 244, 0.96);
  box-shadow: var(--shadow);
}

.account-auth-panel {
  width: min(520px, 100%);
  padding: clamp(24px, 4vw, 42px);
  color: var(--ink);
}

.account-auth-panel h1,
.account-dashboard-hero h1,
.settings-grid h1,
.task-runner h1,
.account-empty h1 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3.7rem);
  font-weight: 780;
  line-height: 1.04;
  letter-spacing: 0;
}

.account-auth-panel p,
.account-dashboard-hero p,
.settings-grid p,
.task-runner p,
.account-empty p {
  color: var(--muted);
  line-height: 1.72;
}

.account-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.account-form label {
  display: grid;
  gap: 8px;
  font-weight: 760;
}

.account-form input,
.account-form select,
.account-form textarea {
  width: 100%;
  border: 1px solid rgba(58, 32, 59, 0.18);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

.account-form textarea {
  resize: vertical;
  min-height: 130px;
}

.account-form input:focus,
.account-form select:focus,
.account-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(216, 168, 79, 0.18);
}

.account-switch {
  margin: 20px 0 0;
}

.account-switch a {
  color: var(--wine);
  font-weight: 800;
}

.account-alert {
  margin: 16px 0;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-weight: 700;
}

.account-alert-error {
  color: #7c3045;
  background: rgba(201, 97, 93, 0.12);
}

.account-alert-success {
  color: #1f5c54;
  background: rgba(40, 124, 104, 0.12);
}

.account-alert-info {
  color: var(--plum);
  background: rgba(216, 168, 79, 0.14);
}

.account-dashboard-hero {
  color: #fff;
  background:
    linear-gradient(110deg, rgba(33, 26, 39, 0.95), rgba(58, 32, 59, 0.84)),
    url("../assets/hero_chakra_system.png") right center / contain no-repeat,
    #251728;
}

.dashboard-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  gap: 28px;
  align-items: center;
  padding-top: clamp(54px, 8vw, 96px);
  padding-bottom: clamp(42px, 7vw, 82px);
}

.account-dashboard-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
}

.dashboard-altar-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-bottom: clamp(36px, 6vw, 86px);
  background:
    linear-gradient(96deg, rgba(14, 10, 19, 0.9) 0%, rgba(27, 17, 35, 0.8) 42%, rgba(17, 12, 22, 0.48) 100%),
    url("../assets/feedback-meditating-person.png") left center / min(46vw, 650px) no-repeat,
    url("../assets/game_menu_chakra_path.png") center / cover,
    #17111d;
}

.dashboard-altar-hero::before,
.dashboard-altar-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.dashboard-altar-hero::before {
  z-index: 0;
  background:
    radial-gradient(circle at 76% 88%, rgba(216, 168, 79, 0.18), transparent 18%),
    radial-gradient(circle at 14% 72%, rgba(79, 142, 162, 0.16), transparent 22%),
    linear-gradient(180deg, rgba(12, 8, 16, 0.08), rgba(12, 8, 16, 0.58));
}

.dashboard-altar-hero::after {
  z-index: 1;
  background:
    linear-gradient(120deg, transparent 0 48%, rgba(255, 255, 255, 0.045) 49%, transparent 52%),
    repeating-linear-gradient(100deg, rgba(122, 207, 213, 0.035) 0 1px, transparent 1px 82px);
  mix-blend-mode: screen;
  opacity: 0.72;
  animation: altarLightDrift 18s ease-in-out infinite;
}

.dashboard-scene-art {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.scene-waterfall {
  position: absolute;
  left: clamp(8px, 3vw, 54px);
  top: 18%;
  width: clamp(86px, 11vw, 170px);
  height: clamp(260px, 44vw, 560px);
  border-radius: 999px 999px 38px 38px;
  background:
    linear-gradient(180deg, rgba(184, 231, 231, 0), rgba(140, 220, 228, 0.18) 18%, rgba(255, 255, 255, 0.08) 52%, rgba(79, 142, 162, 0.02));
  filter: blur(0.2px);
  opacity: 0.9;
}

.scene-waterfall span {
  position: absolute;
  top: -36%;
  bottom: -28%;
  width: 24%;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, rgba(187, 244, 242, 0.38), transparent);
  animation: waterfallFlow 3.8s linear infinite;
}

.scene-waterfall span:nth-child(1) { left: 17%; animation-delay: -0.7s; }
.scene-waterfall span:nth-child(2) { left: 43%; width: 18%; animation-duration: 4.7s; }
.scene-waterfall span:nth-child(3) { right: 14%; animation-delay: -2.1s; animation-duration: 5.3s; }

.scene-stream {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18px;
  height: clamp(140px, 18vw, 250px);
  background:
    radial-gradient(ellipse at 28% 78%, rgba(122, 207, 213, 0.28), transparent 38%),
    radial-gradient(ellipse at 70% 64%, rgba(216, 168, 79, 0.13), transparent 34%),
    linear-gradient(180deg, transparent, rgba(15, 45, 54, 0.54));
  opacity: 0.9;
}

.scene-stream span {
  position: absolute;
  left: -14%;
  right: -14%;
  height: 48%;
  border-top: 1px solid rgba(167, 238, 236, 0.24);
  border-radius: 50%;
  transform: rotate(-2deg);
  animation: streamShimmer 9s ease-in-out infinite;
}

.scene-stream span:nth-child(1) { top: 20%; }
.scene-stream span:nth-child(2) { top: 46%; animation-delay: -4s; transform: rotate(2deg); }

.scene-lotus-candle {
  position: absolute;
  right: clamp(18px, 5vw, 96px);
  bottom: clamp(300px, 29vw, 430px);
  width: clamp(132px, 16vw, 230px);
  aspect-ratio: 1.2 / 1;
  opacity: 0.92;
  filter: drop-shadow(0 0 42px rgba(216, 168, 79, 0.48));
  animation: lotusGlow 6s ease-in-out infinite;
}

.lotus-petal,
.candle-core,
.candle-flame {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.lotus-petal {
  bottom: 12%;
  width: 48%;
  height: 38%;
  border-radius: 70% 70% 28% 28%;
  background: linear-gradient(180deg, rgba(238, 194, 130, 0.9), rgba(141, 77, 159, 0.4));
  transform-origin: 50% 100%;
}

.lotus-petal-a { transform: translateX(-50%) rotate(0deg); }
.lotus-petal-b { transform: translateX(-82%) rotate(-28deg); opacity: 0.74; }
.lotus-petal-c { transform: translateX(-18%) rotate(28deg); opacity: 0.74; }

.candle-core {
  bottom: 28%;
  width: 16%;
  height: 25%;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, #fff7df, #b96c57);
}

.candle-flame {
  bottom: 53%;
  width: 17%;
  height: 27%;
  border-radius: 60% 60% 52% 52%;
  background:
    radial-gradient(circle at 50% 62%, #fff, transparent 24%),
    linear-gradient(180deg, #fff0a8, #d86c44 72%, rgba(181, 49, 63, 0));
  box-shadow: 0 0 32px rgba(255, 211, 119, 0.72);
  transform-origin: 50% 100%;
  animation: candleFlicker 1.8s ease-in-out infinite;
}

.dashboard-command {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(320px, 470px);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  padding-top: clamp(42px, 6vw, 82px);
  padding-bottom: clamp(34px, 5vw, 70px);
}

.dashboard-hero-copy {
  grid-column: 2;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(216, 168, 79, 0.2);
  border-radius: var(--radius);
  background: rgba(24, 18, 29, 0.54);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(8px);
}

.dashboard-soft-bridge {
  display: grid;
  gap: 6px;
  margin-top: 22px;
  padding: 14px 16px;
  border: 1px solid rgba(216, 168, 79, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.dashboard-soft-bridge span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dashboard-soft-bridge strong {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.6vw, 1.24rem);
  font-weight: 760;
  line-height: 1.35;
}

.dashboard-orbit-card {
  grid-column: 1;
  grid-row: 1;
}

.chakra-live-card {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  display: grid;
  gap: 14px;
  min-height: clamp(560px, 70svh, 760px);
  padding: clamp(18px, 2.8vw, 28px);
  border: 1px solid rgba(216, 168, 79, 0.22);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 42% 50%, rgba(79, 142, 162, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(16, 11, 22, 0.5), rgba(16, 11, 22, 0.18));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
  overflow: hidden;
  backdrop-filter: blur(6px);
}

.chakra-flow-canvas,
.chakra-live-water,
.chakra-live-spine,
.chakra-live-nodes {
  position: absolute;
  inset: 0;
}

.chakra-flow-canvas {
  z-index: 1;
  width: 100%;
  height: 100%;
}

.chakra-live-water {
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 42% 50%, rgba(255, 255, 255, 0.09), transparent 13%),
    linear-gradient(180deg, rgba(15, 12, 26, 0.4), rgba(20, 70, 76, 0.16), rgba(15, 12, 26, 0.42));
}

.chakra-live-water span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 70%;
  aspect-ratio: 1;
  border: 1px solid rgba(122, 207, 213, 0.16);
  border-radius: 45% 55% 52% 48%;
  transform: translate(-50%, -50%);
  animation: chakraWaterDrift 12s linear infinite;
}

.chakra-live-water span:nth-child(2) {
  width: 92%;
  animation-duration: 17s;
  animation-direction: reverse;
}

.chakra-live-water span:nth-child(3) {
  width: 118%;
  animation-duration: 23s;
  opacity: 0.72;
}

.chakra-live-spine {
  z-index: 2;
  left: 38%;
  width: 18%;
  margin: 10% auto;
  border-left: 1px solid rgba(216, 168, 79, 0.22);
  border-right: 1px solid rgba(79, 142, 162, 0.12);
  filter: blur(0.2px);
  opacity: 0.8;
}

.chakra-live-nodes {
  z-index: 3;
  inset: 42px 22px 210px;
}

.chakra-live-node {
  position: absolute;
  left: 42%;
  top: calc(12% + var(--i) * 12.7%);
  display: grid;
  place-items: center;
  width: calc(46px + var(--power) * 4px);
  aspect-ratio: 1;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transform: translate(-50%, -50%);
  isolation: isolate;
}

.chakra-live-node:nth-child(1) { left: 45%; }
.chakra-live-node:nth-child(2) { left: 38%; }
.chakra-live-node:nth-child(3) { left: 35%; }
.chakra-live-node:nth-child(4) { left: 41%; }
.chakra-live-node:nth-child(5) { left: 50%; }
.chakra-live-node:nth-child(6) { left: 55%; }
.chakra-live-node:nth-child(7) { left: 50%; }

.chakra-live-glyph {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, #fff 0 8%, transparent 9%),
    radial-gradient(circle at center, color-mix(in srgb, var(--c), #fff 18%) 0 32%, var(--c) 33% 68%, rgba(16, 11, 22, 0.82) 69%);
  box-shadow:
    0 0 calc(18px + var(--power) * 6px) color-mix(in srgb, var(--c), #fff 12%),
    inset 0 0 0 8px rgba(255, 255, 255, 0.08);
  animation: chakraNodePulse calc(3.8s + var(--i) * 0.28s) ease-in-out infinite;
}

.chakra-live-glyph::before,
.chakra-live-glyph::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.chakra-live-glyph::before {
  inset: -10px;
  border: 1px solid color-mix(in srgb, var(--c), transparent 48%);
  opacity: 0.58;
  animation: chakraRingPulse 4.8s ease-in-out infinite;
}

.chakra-live-glyph::after {
  inset: 34%;
  background: rgba(255, 255, 255, 0.92);
}

.chakra-live-node.is-seed .chakra-live-glyph {
  filter: saturate(0.78);
  opacity: 0.72;
}

.chakra-live-label {
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  display: grid;
  gap: 2px;
  width: clamp(124px, 12vw, 158px);
  min-height: 46px;
  padding: 8px 10px;
  border: 1px solid rgba(216, 168, 79, 0.12);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.72);
  background: rgba(12, 10, 18, 0.62);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
  transform: translateY(-50%);
  backdrop-filter: blur(6px);
}

.chakra-live-node:nth-child(5) .chakra-live-label,
.chakra-live-node:nth-child(6) .chakra-live-label,
.chakra-live-node:nth-child(7) .chakra-live-label {
  left: auto;
  right: calc(100% + 10px);
  text-align: right;
}

.chakra-live-label strong {
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 780;
  line-height: 1.15;
}

.chakra-live-label small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.68rem;
  font-weight: 760;
  line-height: 1.3;
}

.chakra-live-card .dashboard-score-grid,
.chakra-live-card .dashboard-intention {
  position: absolute;
  left: clamp(16px, 2.8vw, 28px);
  right: clamp(16px, 2.8vw, 28px);
  z-index: 4;
}

.chakra-live-card .dashboard-score-grid {
  bottom: 100px;
}

.dashboard-hero-copy h1 {
  max-width: 850px;
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 5.2vw, 4.75rem);
  font-weight: 780;
  line-height: 1.02;
}

.dashboard-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.dashboard-orbit-card {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(16px);
}

.dashboard-orbit {
  position: relative;
  width: min(330px, 68vw);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.94) 0 8%, rgba(216, 168, 79, 0.28) 9% 20%, transparent 21%),
    conic-gradient(from -90deg, rgba(181, 49, 63, 0.82), rgba(216, 168, 79, 0.82), rgba(40, 124, 104, 0.82), rgba(79, 142, 162, 0.82), rgba(81, 71, 143, 0.82), rgba(181, 49, 63, 0.82));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 30px 70px rgba(0, 0, 0, 0.25);
}

.dashboard-orbit::before,
.dashboard-orbit::after {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.dashboard-orbit::after {
  inset: 30%;
}

.dashboard-orbit span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(26px + var(--level) * 5px);
  aspect-ratio: 1;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0 12%, var(--c) 13% 70%, rgba(33, 26, 39, 0.82) 71%);
  box-shadow: 0 0 calc(12px + var(--level) * 5px) color-mix(in srgb, var(--c), #fff 14%);
  transform: translate(-50%, -50%) rotate(calc(var(--i) * 51.4deg - 90deg)) translateY(-118px) rotate(calc(var(--i) * -51.4deg + 90deg));
}

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

.dashboard-score-grid span {
  display: grid;
  gap: 3px;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.72);
  background: rgba(24, 22, 32, 0.72);
  font-size: 0.72rem;
  font-weight: 760;
}

.dashboard-score-grid strong {
  color: #fff;
  font-size: clamp(1.28rem, 2.5vw, 1.8rem);
  font-weight: 780;
  line-height: 1;
}

.dashboard-intention {
  display: grid;
  gap: 4px;
  bottom: 24px;
  min-height: 58px;
  padding: 12px 14px;
  border: 1px solid rgba(216, 168, 79, 0.28);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.78);
  background: linear-gradient(135deg, rgba(42, 35, 34, 0.82), rgba(30, 46, 52, 0.78));
}

.dashboard-intention span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dashboard-intention strong {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.8vw, 1.24rem);
  font-weight: 780;
  line-height: 1.18;
}

.account-score {
  display: grid;
  gap: 2px;
  min-height: 170px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.account-score span,
.account-score small {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 760;
}

.account-score strong {
  font-size: 4rem;
  line-height: 1;
}

.account-section {
  background:
    linear-gradient(180deg, #fffaf4 0%, #f3f7f4 45%, #f8efe6 100%);
}

.dashboard-refresh {
  padding-top: clamp(34px, 5vw, 68px);
}

.dashboard-scene-panel {
  position: relative;
  z-index: 2;
  margin-top: clamp(10px, 2vw, 24px);
  padding-bottom: clamp(34px, 5vw, 70px);
}

.dashboard-altar-hero .chakra-path-scene {
  position: relative;
  z-index: 2;
  margin-top: 0;
  padding-top: clamp(4px, 1.5vw, 16px);
}

.dashboard-altar-hero .focus-card,
.dashboard-altar-hero .dashboard-compass,
.dashboard-altar-hero .action-tile,
.dashboard-altar-hero .chakra-path-card {
  border-color: rgba(216, 168, 79, 0.18);
  color: #fff;
  background:
    linear-gradient(145deg, rgba(28, 20, 36, 0.66), rgba(28, 71, 75, 0.28)),
    rgba(22, 16, 29, 0.5);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
}

.dashboard-altar-hero .focus-card p,
.dashboard-altar-hero .action-tile small,
.dashboard-altar-hero .dashboard-compass small,
.dashboard-altar-hero .compass-steps small,
.dashboard-altar-hero .chakra-path-card p {
  color: rgba(255, 255, 255, 0.72);
}

.dashboard-altar-hero .action-tile span,
.dashboard-altar-hero .dashboard-compass .eyebrow,
.dashboard-altar-hero .chakra-path-head .eyebrow {
  color: var(--gold);
}

.dashboard-altar-hero .path-summary span,
.dashboard-altar-hero .compass-steps a {
  border-color: rgba(216, 168, 79, 0.14);
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.dashboard-altar-hero .chakra-path-bars span {
  color: rgba(255, 255, 255, 0.78);
}

.dashboard-altar-hero .chakra-path-card .button.subtle {
  color: #fff;
  border-color: rgba(216, 168, 79, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.dashboard-altar-hero .focus-meta span {
  color: rgba(255, 255, 255, 0.84);
  border-color: rgba(216, 168, 79, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.dashboard-refresh-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(250px, 0.72fr) minmax(320px, 1fr) minmax(250px, 0.72fr);
  gap: 18px;
  align-items: start;
}

.focus-card {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 0;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(58, 32, 59, 0.12);
  border-radius: var(--radius);
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(248, 239, 230, 0.9)),
    url("../assets/stage_bg_3.png") center / cover;
  box-shadow: 0 20px 48px rgba(38, 22, 44, 0.12);
}

.dashboard-main-choice {
  display: grid;
  align-self: start;
  align-content: start;
  gap: 14px;
  min-height: 0;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(216, 168, 79, 0.18);
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(145deg, rgba(46, 34, 56, 0.72), rgba(124, 48, 69, 0.42)),
    rgba(22, 16, 29, 0.52);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
}

.dashboard-main-choice h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.28rem, 2.4vw, 1.7rem);
  font-weight: 780;
  line-height: 1.14;
}

.dashboard-main-choice p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.62;
}

.dashboard-main-choice .button {
  align-self: end;
}

.focus-card h2 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  font-weight: 780;
  line-height: 1.12;
}

.focus-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.focus-card-head {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.focus-sigil,
.chakra-path-orb {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff 0 15%, transparent 16%),
    conic-gradient(from -40deg, var(--chakra-color), color-mix(in srgb, var(--chakra-color), #fff 48%), var(--chakra-color));
}

.focus-sigil {
  width: 78px;
  box-shadow: 0 18px 38px color-mix(in srgb, var(--chakra-color), transparent 72%);
}

.focus-sigil span,
.chakra-path-orb span {
  width: 38%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
}

.focus-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.focus-meta span {
  padding: 8px 11px;
  border: 1px solid rgba(58, 32, 59, 0.12);
  border-radius: 999px;
  color: var(--plum);
  background: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
  font-weight: 850;
}

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

.action-tile {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 154px;
  padding: 18px;
  border: 1px solid rgba(58, 32, 59, 0.12);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 34px rgba(38, 22, 44, 0.08);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.action-tile-button {
  width: 100%;
  border: 1px solid rgba(58, 32, 59, 0.12);
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.action-tile:hover {
  border-color: rgba(124, 48, 69, 0.28);
  box-shadow: 0 18px 44px rgba(38, 22, 44, 0.12);
  transform: translateY(-3px);
}

.action-tile.is-main {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(124, 48, 69, 0.94), rgba(40, 124, 104, 0.86)),
    #7c3045;
}

.action-tile span {
  color: var(--wine);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.action-tile.is-main span,
.action-tile.is-main small {
  color: rgba(255, 255, 255, 0.76);
}

.action-tile strong {
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.38rem);
  font-weight: 780;
  line-height: 1.16;
}

.action-tile small {
  color: var(--muted);
  font-weight: 760;
  line-height: 1.5;
}

.dashboard-compass {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 100%;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(58, 32, 59, 0.12);
  border-radius: var(--radius);
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(235, 233, 240, 0.72)),
    #fff;
  box-shadow: 0 18px 44px rgba(38, 22, 44, 0.1);
}

.dashboard-compass h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.34rem, 2.6vw, 1.9rem);
  font-weight: 780;
  line-height: 1.12;
}

.compass-steps {
  display: grid;
  gap: 10px;
}

.compass-steps a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px 12px;
  align-items: center;
  padding: 13px;
  border: 1px solid rgba(58, 32, 59, 0.1);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.78);
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.compass-steps a:hover {
  border-color: rgba(40, 124, 104, 0.26);
  background: #fff;
  transform: translateY(-2px);
}

.compass-steps span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 34px;
  aspect-ratio: 1;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--emerald), var(--sky));
  font-weight: 900;
}

.compass-steps strong {
  line-height: 1.15;
}

.compass-steps small {
  color: var(--muted);
  font-weight: 760;
  line-height: 1.45;
}

.chakra-path-shell {
  margin-top: 22px;
}

.chakra-path-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 14px;
}

.chakra-path-head h2 {
  max-width: 760px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.55rem);
  font-weight: 780;
  line-height: 1.1;
}

.path-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.path-summary span {
  padding: 9px 12px;
  border: 1px solid rgba(58, 32, 59, 0.12);
  border-radius: 999px;
  color: var(--plum);
  background: rgba(255, 255, 255, 0.78);
  font-weight: 850;
}

.chakra-path-board {
  display: grid;
  gap: 10px;
}

.chakra-path-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) minmax(160px, 230px) auto;
  gap: 16px;
  align-items: center;
  min-height: 116px;
  padding: 16px;
  border: 1px solid rgba(58, 32, 59, 0.12);
  border-left: 5px solid var(--chakra-color);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 32px rgba(38, 22, 44, 0.07);
}

.chakra-path-orb {
  width: 62px;
  opacity: calc(0.42 + (var(--level, 0) * 0.1));
}

.chakra-path-card[data-light-level="1"] { --level: 1; }
.chakra-path-card[data-light-level="2"] { --level: 2; }
.chakra-path-card[data-light-level="3"] { --level: 3; }
.chakra-path-card[data-light-level="4"] { --level: 4; }
.chakra-path-card[data-light-level="5"] { --level: 5; }

.chakra-path-card h3 {
  margin: 0 0 4px;
  font-size: 1.32rem;
}

.chakra-path-card p {
  margin: 0;
  color: var(--muted);
}

.chakra-path-bars {
  display: grid;
  gap: 6px;
}

.chakra-path-bars span {
  color: var(--plum);
  font-size: 0.86rem;
  font-weight: 850;
}

.chakra-path-bars meter {
  width: 100%;
  height: 10px;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.dashboard-main-stack {
  display: grid;
  gap: 18px;
}

.quick-actions,
.social-entry-grid {
  display: grid;
  gap: 12px;
}

.quick-actions {
  margin-top: 22px;
}

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

.social-entry {
  box-shadow: 0 12px 30px rgba(38, 22, 44, 0.08);
}

.social-entry h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.account-panel,
.account-empty,
.task-runner {
  padding: clamp(20px, 3vw, 30px);
}

.today-panel {
  position: sticky;
  top: 88px;
}

.today-panel h2 {
  margin: 0 0 10px;
  font-size: 1.55rem;
}

.task-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 22px;
}

.task-meta span {
  padding: 7px 10px;
  border: 1px solid rgba(58, 32, 59, 0.12);
  border-radius: 999px;
  color: var(--plum);
  background: #fff;
  font-size: 0.86rem;
  font-weight: 800;
}

.chakra-progress-board {
  display: grid;
  gap: 14px;
}

.chakra-progress-card {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(58, 32, 59, 0.12);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 34px rgba(38, 22, 44, 0.08);
}

.chakra-orb {
  display: grid;
  place-items: center;
  width: 88px;
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--chakra-color), #fff 34%);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, color-mix(in srgb, var(--chakra-color), #fff 24%) 0 16%, transparent 17%),
    conic-gradient(from 0deg, var(--chakra-color), #fff, var(--chakra-color));
  opacity: calc(0.32 + (var(--level, 0) * 0.13));
  filter: saturate(calc(0.8 + (var(--level, 0) * 0.16)));
}

.chakra-progress-card[data-light-level="1"] { --level: 1; }
.chakra-progress-card[data-light-level="2"] { --level: 2; }
.chakra-progress-card[data-light-level="3"] { --level: 3; }
.chakra-progress-card[data-light-level="4"] { --level: 4; }
.chakra-progress-card[data-light-level="5"] { --level: 5; }

.chakra-orb span {
  width: 42%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 8px color-mix(in srgb, var(--chakra-color), #fff 16%);
}

.chakra-progress-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 210px) auto;
  gap: 16px;
  align-items: center;
}

.chakra-progress-copy h2 {
  margin: 0 0 8px;
  font-size: 1.45rem;
}

.chakra-progress-copy p,
.level-bars span {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.level-bars {
  display: grid;
  gap: 10px;
}

.level-bars label {
  display: grid;
  gap: 6px;
  font-weight: 800;
}

.level-bars meter {
  width: 100%;
  height: 12px;
}

.settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr) minmax(280px, 1fr);
  gap: 22px;
  align-items: start;
}

.task-runner {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 250, 244, 0.98)),
    url("../assets/stage_bg_3.png") center / cover;
}

.task-widget {
  margin: 24px 0;
  padding: 20px;
  border: 1px solid rgba(58, 32, 59, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
}

.task-session-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.task-session-strip span {
  display: grid;
  gap: 4px;
  min-height: 68px;
  padding: 12px;
  border: 1px solid rgba(58, 32, 59, 0.1);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  font-weight: 800;
}

.task-session-strip strong {
  color: var(--plum);
  font-size: 1rem;
  line-height: 1.2;
}

.breath-circle {
  display: grid;
  place-items: center;
  width: min(260px, 80vw);
  aspect-ratio: 1;
  margin: 0 auto 18px;
  border: 1px solid rgba(216, 168, 79, 0.42);
  border-radius: 50%;
  color: #fff;
  background: radial-gradient(circle, var(--wine), var(--plum));
  box-shadow: 0 18px 48px rgba(58, 32, 59, 0.22);
}

.breath-circle.is-running {
  animation: breathPulse 6s ease-in-out infinite;
}

@keyframes breathPulse {
  0%, 100% { transform: scale(0.86); }
  50% { transform: scale(1); }
}

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

.task-choice {
  min-height: 58px;
  border: 1px solid rgba(58, 32, 59, 0.14);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  font-weight: 800;
}

.task-choice[aria-pressed="true"] {
  color: #fff;
  border-color: var(--wine);
  background: linear-gradient(135deg, var(--wine), var(--coral));
}

.task-choice[data-order]::before {
  content: attr(data-order);
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-right: 8px;
  border-radius: 50%;
  color: var(--wine);
  background: #fff;
}

.task-mini-note {
  margin: 12px 0 0;
  font-size: 0.92rem;
}

.body-scan-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 520px;
  margin: 0 auto;
}

.body-scan-map button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  border: 1px solid rgba(58, 32, 59, 0.14);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
  font-weight: 800;
}

.body-scan-map button span {
  width: 24px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(216, 168, 79, 0.28);
}

.body-scan-map button[aria-pressed="true"] {
  color: #fff;
  background: linear-gradient(135deg, var(--emerald), var(--sky));
}

.slider-checkin {
  display: grid;
  gap: 16px;
}

.slider-checkin label {
  display: grid;
  gap: 8px;
  color: var(--plum);
  font-weight: 800;
}

.slider-checkin input {
  accent-color: var(--wine);
}

.symbol-builder {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.symbol-preview {
  position: relative;
  width: 170px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 18%, rgba(216, 168, 79, 0.22) 19% 38%, rgba(124, 48, 69, 0.14));
  box-shadow: inset 0 0 0 1px rgba(58, 32, 59, 0.12), 0 18px 36px rgba(58, 32, 59, 0.12);
}

.symbol-preview span {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--wine), var(--coral));
  transform: rotate(calc(var(--i) * 60deg)) translateY(-62px) rotate(calc(var(--i) * -60deg));
}

.task-memory-board,
.memory-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.task-memory-board button,
.memory-board button {
  min-height: 64px;
  border: 1px solid rgba(58, 32, 59, 0.16);
  border-radius: var(--radius);
  color: var(--plum);
  background: #fff;
  cursor: pointer;
  font-weight: 850;
}

.task-memory-board button.is-open,
.memory-board button.is-open {
  color: #fff;
  background: var(--plum);
}

.task-memory-board button.is-done,
.memory-board button[data-done="true"] {
  color: #fff;
  background: var(--emerald);
}

.live-circle-task {
  display: grid;
  justify-items: center;
  gap: 12px;
}

.voice-practice,
.voice-duet {
  display: grid;
  gap: 14px;
}

.voice-target {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(58, 32, 59, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(79, 155, 174, 0.13), rgba(216, 168, 79, 0.14)),
    #fff;
}

.voice-target span {
  color: var(--wine);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.voice-target strong {
  color: var(--plum);
  font-size: clamp(1.25rem, 3vw, 2rem);
  line-height: 1.2;
}

.voice-meter {
  height: 16px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(58, 32, 59, 0.12);
}

.voice-meter span {
  display: block;
  width: 8%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--sky), var(--emerald), var(--gold));
  transition: width 0.12s linear;
}

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

.voice-feedback {
  margin: 0;
  display: grid;
  gap: 6px;
  line-height: 1.55;
}

.voice-feedback p,
.voice-feedback span {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.voice-fallback {
  width: 100%;
  min-height: 82px;
  border: 1px solid rgba(58, 32, 59, 0.16);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  resize: vertical;
}

.community-hero,
.chat-page-hero,
.games-hero {
  color: #fff;
  background:
    linear-gradient(110deg, rgba(24, 18, 29, 0.96), rgba(40, 79, 83, 0.82), rgba(124, 48, 69, 0.62)),
    url("../assets/stage_bg_2.png") center / cover;
}

.community-hero-grid,
.chat-page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding-top: clamp(54px, 8vw, 92px);
  padding-bottom: clamp(42px, 7vw, 78px);
}

.community-hero h1,
.chat-page-hero h1,
.games-hero h1 {
  max-width: 880px;
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2.05rem, 4.8vw, 4.35rem);
  font-weight: 780;
  line-height: 1.04;
}

.community-hero p,
.chat-page-hero p,
.games-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
}

.games-hero .section-inner {
  padding-top: clamp(54px, 8vw, 92px);
  padding-bottom: clamp(42px, 7vw, 78px);
}

.community-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
  gap: 22px;
  align-items: start;
}

.chat-page-section {
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.96), rgba(235, 233, 240, 0.86)),
    var(--paper);
}

.chat-page-hero-grid {
  width: min(1160px, calc(100% - 36px));
}

.chat-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 22px;
  align-items: start;
}

.chat-primary-stack {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.chat-page-shell .chat-messages {
  height: min(64svh, 680px);
  min-height: 480px;
}

.chat-page-guide {
  position: sticky;
  top: 92px;
  padding: clamp(18px, 2.8vw, 28px);
  border: 1px solid rgba(58, 32, 59, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(243, 247, 244, 0.78)),
    #fff;
  box-shadow: 0 18px 44px rgba(38, 22, 44, 0.08);
}

.chat-page-guide h2 {
  margin: 0 0 14px;
  font-size: 1.4rem;
}

.chat-page-guide ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.55;
}

.communication-mission-panel {
  border: 1px solid rgba(58, 32, 59, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(243, 247, 244, 0.84)),
    #fff;
  box-shadow: 0 18px 44px rgba(38, 22, 44, 0.08);
}

.communication-mission-loading,
.communication-mission-empty,
.communication-mission-card {
  padding: clamp(16px, 2.4vw, 24px);
}

.communication-mission-loading h2,
.communication-mission-empty h2,
.communication-mission-head h2 {
  margin: 0;
  color: var(--plum);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.62rem);
  line-height: 1.12;
}

.communication-mission-empty p,
.communication-mission-goal {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.58;
}

.communication-mission-card {
  display: grid;
  gap: 14px;
}

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

.communication-mission-head > span,
.communication-mission-wait {
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 1px solid rgba(40, 124, 104, 0.18);
  border-radius: 999px;
  color: var(--emerald);
  background: rgba(40, 124, 104, 0.08);
  font-size: 0.78rem;
  font-weight: 840;
}

.communication-mission-meta,
.communication-mission-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.communication-mission-meta span {
  padding: 7px 10px;
  border: 1px solid rgba(58, 32, 59, 0.1);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 250, 244, 0.76);
  font-size: 0.82rem;
  font-weight: 820;
}

.communication-mission-progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(58, 32, 59, 0.09);
}

.communication-mission-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--emerald), var(--gold));
  transition: width 0.22s ease;
}

.communication-mission-body {
  display: grid;
  gap: 10px;
}

.communication-mission-body ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.5;
}

.communication-mission-blockers {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.communication-mission-blockers span {
  padding: 5px 8px;
  border: 1px solid rgba(181, 49, 63, 0.12);
  border-radius: 999px;
  color: var(--wine);
  background: rgba(181, 49, 63, 0.06);
  font-size: 0.76rem;
  font-weight: 820;
}

.communication-mission-result {
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid rgba(40, 124, 104, 0.16);
  border-left: 4px solid var(--emerald);
  border-radius: var(--radius);
  background: rgba(243, 247, 244, 0.9);
}

.communication-mission-result.is-partial,
.communication-mission-result.is-insufficient_context {
  border-color: rgba(216, 168, 79, 0.24);
  border-left-color: var(--gold);
  background: rgba(255, 250, 244, 0.88);
}

.communication-mission-result.is-not_complete,
.communication-mission-result.is-unsafe {
  border-color: rgba(181, 49, 63, 0.18);
  border-left-color: var(--wine);
  background: rgba(255, 246, 246, 0.88);
}

.communication-mission-result strong {
  color: var(--plum);
}

.communication-mission-result p,
.communication-mission-result small,
.communication-mission-notice {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.communication-score-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}

.communication-score-grid span {
  display: grid;
  gap: 3px;
  padding: 8px;
  border-radius: var(--radius);
  color: var(--plum);
  background: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
  font-weight: 840;
}

.communication-score-grid strong {
  color: var(--muted);
  font-size: 0.72rem;
}

.communication-mission-actions .button.small {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 0.84rem;
}

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

.chat-head h2,
.community-events h2,
.game-card h2 {
  margin: 0;
  font-size: 1.5rem;
}

.chat-status {
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--emerald);
  font-size: 0.82rem;
  font-weight: 800;
}

.chat-messages {
  display: grid;
  align-content: start;
  gap: 12px;
  height: min(56svh, 560px);
  min-height: 360px;
  margin: 18px 0;
  overflow: auto;
  padding: 14px;
  border: 1px solid rgba(58, 32, 59, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(243, 247, 244, 0.74)),
    #fff;
}

.chat-message {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(58, 32, 59, 0.08);
  background: #fff;
  box-shadow: 0 8px 20px rgba(38, 22, 44, 0.05);
}

.chat-message div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--plum);
}

.chat-message time {
  color: var(--muted);
  font-size: 0.86rem;
}

.chat-message p {
  margin: 0;
  color: var(--ink);
}

.chat-message button {
  justify-self: start;
  border: 1px solid rgba(58, 32, 59, 0.12);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--wine);
  background: #fff;
  cursor: pointer;
  font-weight: 800;
}

.chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.chat-form input,
.event-form input {
  min-height: 46px;
  border: 1px solid rgba(58, 32, 59, 0.18);
  border-radius: var(--radius);
  padding: 12px 14px;
  outline: none;
}

.chat-note {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.community-events {
  display: grid;
  gap: 14px;
}

.event-card {
  padding: 18px;
  border: 1px solid rgba(58, 32, 59, 0.12);
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 239, 230, 0.72)),
    #fff;
  box-shadow: 0 12px 30px rgba(38, 22, 44, 0.08);
}

.event-kicker {
  color: var(--wine);
  font-size: 0.82rem;
  font-weight: 850;
}

.event-card h3 {
  margin: 8px 0;
}

.event-progress {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(58, 32, 59, 0.1);
}

.event-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--emerald));
}

.event-stats,
.event-form {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.event-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.weekly-pulse {
  display: grid;
  gap: 10px;
  margin-top: 10px;
  padding: 18px;
  border: 1px solid rgba(58, 32, 59, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(40, 124, 104, 0.12), rgba(216, 168, 79, 0.12)),
    #fff;
}

.weekly-pulse h2 {
  margin: 0;
}

.pulse-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 9px 0;
  border-top: 1px solid rgba(58, 32, 59, 0.08);
}

.pulse-row span {
  display: grid;
  place-items: center;
  width: 28px;
  aspect-ratio: 1;
  border-radius: 50%;
  color: #fff;
  background: var(--plum);
  font-size: 0.82rem;
  font-weight: 850;
}

.pulse-row em {
  color: var(--wine);
  font-style: normal;
  font-weight: 850;
}

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

.lobby-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 28px;
}

.lobby-control h2,
.lobby-arena h2 {
  margin: 0 0 10px;
  font-size: 1.55rem;
}

.lobby-actions,
.lobby-join,
.lobby-play-actions {
  display: grid;
  gap: 10px;
}

.lobby-actions {
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: end;
  margin-top: 18px;
}

.lobby-actions label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.lobby-actions select,
.lobby-join input {
  min-height: 46px;
  border: 1px solid rgba(58, 32, 59, 0.18);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: #fff;
}

.lobby-join {
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 12px;
}

.lobby-arena {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 250, 244, 0.98)),
    url("../assets/stage_bg_3.png") center / cover;
}

.lobby-arena-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.lobby-arena-head > span {
  align-self: start;
  padding: 8px 11px;
  border-radius: 999px;
  color: #fff;
  background: var(--plum);
  font-weight: 850;
}

.lobby-progress {
  height: 14px;
  overflow: hidden;
  margin: 14px 0;
  border-radius: 999px;
  background: rgba(58, 32, 59, 0.12);
}

.lobby-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--emerald), var(--sky));
  transition: width 0.35s ease;
}

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

.lobby-players article {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(58, 32, 59, 0.12);
  border-radius: var(--radius);
  background: #fff;
}

.lobby-players article.is-bot {
  background: linear-gradient(135deg, rgba(79, 142, 162, 0.12), rgba(216, 168, 79, 0.12));
}

.lobby-players span {
  font-weight: 850;
}

.lobby-players strong {
  color: var(--wine);
  font-size: 1.35rem;
}

.lobby-players small {
  color: var(--muted);
  font-weight: 750;
}

.co-op-orb {
  display: grid;
  place-items: center;
  width: min(220px, 72vw);
  aspect-ratio: 1;
  margin: 18px auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff 0 14%, transparent 15%),
    conic-gradient(#b5313f, #d87a42, #d8a84f, #3a946e, #4f9bae, #51478f, #8d4d9f, #b5313f);
  box-shadow: 0 22px 52px rgba(58, 32, 59, 0.22);
  animation: slowSpin 14s linear infinite;
}

.co-op-orb span {
  width: 42%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
}

.co-op-orb.is-hit {
  animation: coOpHit 0.7s ease, slowSpin 14s linear infinite;
}

@keyframes coOpHit {
  0%, 100% { transform: scale(1); }
  45% { transform: scale(1.08); }
}

.lobby-play-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lobby-events {
  display: grid;
  gap: 7px;
  max-height: 170px;
  overflow: auto;
  margin-top: 16px;
  padding: 12px;
  border: 1px solid rgba(58, 32, 59, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
}

.lobby-events p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.lobby-events strong {
  color: var(--plum);
}

.game-card {
  position: relative;
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 520px;
  padding: 22px;
  border: 1px solid rgba(58, 32, 59, 0.12);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.game-lab-hero {
  background:
    linear-gradient(110deg, rgba(18, 21, 30, 0.94), rgba(51, 33, 65, 0.78), rgba(28, 86, 78, 0.6)),
    url("../assets/feedback-meditating-person.png") 12% 48% / min(38vw, 520px) no-repeat,
    url("../assets/stage_bg_2.png") center / cover;
}

.game-lab-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 260px) minmax(240px, 330px);
  gap: 24px;
  align-items: end;
}

.game-lab-stat {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.game-lab-stat strong {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  font-weight: 780;
  line-height: 1;
}

.game-lab-stat span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.game-lab-rules {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.game-lab-rules span {
  display: grid;
  min-height: 38px;
  align-items: center;
  padding: 8px 10px;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 820;
}

.game-lab-section {
  padding-top: clamp(34px, 5vw, 62px);
}

.game-lab-grid {
  align-items: stretch;
  margin-bottom: 22px;
}

.game-card-head {
  display: grid;
  gap: 8px;
}

.game-card-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.game-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.3vw, 1.65rem);
  font-weight: 780;
  line-height: 1.14;
}

.game-card-memory {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 247, 244, 0.94));
}

.game-card-breath {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 248, 0.94));
}

.game-card-mandala {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 239, 230, 0.95));
}

.game-placeholder {
  display: grid;
  place-items: center;
  min-height: 212px;
  grid-column: 1 / -1;
  padding: 18px;
  border: 1px dashed rgba(58, 32, 59, 0.2);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.62);
  text-align: center;
  font-weight: 800;
}

.memory-board {
  min-height: 252px;
  align-content: center;
}

.memory-board button {
  min-height: 54px;
  box-shadow: 0 8px 18px rgba(38, 22, 44, 0.06);
  transition: transform 0.14s ease, background 0.14s ease, box-shadow 0.14s ease;
}

.memory-board button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(38, 22, 44, 0.1);
}

.memory-board button.is-open {
  background: linear-gradient(135deg, var(--plum), #51478f);
}

.memory-board button.is-done {
  background: linear-gradient(135deg, var(--emerald), var(--sky));
}

.breath-game-target {
  display: grid;
  place-items: center;
  width: min(230px, 74vw);
  aspect-ratio: 1;
  margin: 8px auto 2px;
  border: 1px solid rgba(79, 142, 162, 0.34);
  border-radius: 50%;
  color: var(--plum);
  background:
    radial-gradient(circle at center, #fff 0 15%, rgba(79, 142, 162, 0.22) 16% 42%, rgba(124, 48, 69, 0.16) 43%);
  box-shadow: inset 0 0 0 16px rgba(255, 255, 255, 0.46), 0 20px 48px rgba(38, 22, 44, 0.14);
  cursor: pointer;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 0.12s ease, filter 0.12s ease, box-shadow 0.12s ease;
}

.breath-game-target:disabled {
  cursor: default;
  opacity: 0.78;
}

.breath-game-target.is-active {
  animation: breathPulse 3s ease-in-out infinite;
}

.breath-game-target.is-hit {
  filter: saturate(1.25);
  box-shadow: inset 0 0 0 16px rgba(255, 255, 255, 0.5), 0 0 0 8px rgba(40, 124, 104, 0.16), 0 22px 52px rgba(40, 124, 104, 0.22);
}

.breath-game-target.is-miss {
  box-shadow: inset 0 0 0 16px rgba(255, 255, 255, 0.5), 0 0 0 8px rgba(201, 97, 93, 0.15), 0 22px 52px rgba(124, 48, 69, 0.2);
}

.game-status {
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(58, 32, 59, 0.1);
  border-radius: var(--radius);
  color: var(--plum);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  font-weight: 850;
}

.game-result {
  margin: 0;
}

.mandala-preview {
  width: min(205px, 70vw);
  box-shadow: inset 0 0 0 20px rgba(255, 255, 255, 0.46), inset 0 0 0 38px rgba(33, 26, 39, 0.06), 0 18px 42px rgba(58, 32, 59, 0.16);
  transition: background 0.2s ease;
}

.mandala-tools {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mandala-tools button {
  min-height: 46px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  transition: transform 0.14s ease, border-color 0.14s ease, background 0.14s ease;
}

.mandala-tools button:hover {
  transform: translateY(-2px);
}

.mandala-tools button[aria-pressed="true"] {
  color: #fff;
  border-color: rgba(33, 26, 39, 0.12);
  background: linear-gradient(135deg, var(--wine), var(--sky));
}

.lobby-refresh {
  margin-top: 6px;
}

.lobby-refresh .account-panel {
  box-shadow: 0 18px 44px rgba(38, 22, 44, 0.1);
}

.game-orbit,
.game-pulse,
.mandala-preview {
  width: 180px;
  aspect-ratio: 1;
  margin: 0 auto 4px;
  border-radius: 50%;
}

.game-orbit {
  background:
    radial-gradient(circle, #fff 0 16%, transparent 17%),
    conic-gradient(#51478f, #d8a84f, #4f9bae, #51478f);
  animation: slowSpin 10s linear infinite;
}

.game-pulse {
  display: grid;
  place-items: center;
  background: radial-gradient(circle, rgba(181, 49, 63, 0.22), rgba(216, 168, 79, 0.1));
}

.game-pulse span {
  width: 54%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wine), var(--coral));
  animation: breathPulse 3s ease-in-out infinite;
}

.mandala-preview {
  background: conic-gradient(#b5313f, #d8a84f, #3a946e, #51478f, #b5313f);
  box-shadow: inset 0 0 0 18px rgba(255, 255, 255, 0.42), 0 16px 36px rgba(58, 32, 59, 0.16);
}

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

.mandala-tools button {
  min-height: 42px;
  border: 1px solid rgba(58, 32, 59, 0.14);
  border-radius: var(--radius);
  background: #fffaf4;
  cursor: pointer;
  font-weight: 800;
}

.daily-hero,
.mirror-hero,
.sanctuary-hero {
  color: #fff;
  background:
    linear-gradient(110deg, rgba(24, 18, 29, 0.96), rgba(92, 45, 69, 0.82), rgba(31, 92, 84, 0.62)),
    url("../assets/stage_bg_1.png") center / cover;
}

.daily-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
  gap: 24px;
  align-items: center;
  padding-top: clamp(54px, 8vw, 92px);
  padding-bottom: clamp(42px, 7vw, 78px);
}

.daily-hero h1,
.mirror-hero h1,
.sanctuary-hero h1 {
  max-width: 860px;
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2.05rem, 4.8vw, 4.35rem);
  font-weight: 780;
  line-height: 1.04;
}

.daily-hero p,
.mirror-hero p,
.sanctuary-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
}

.mirror-hero .section-inner,
.sanctuary-hero .section-inner {
  padding-top: clamp(54px, 8vw, 92px);
  padding-bottom: clamp(42px, 7vw, 78px);
}

.streak-ring {
  display: grid;
  place-items: center;
  min-height: 210px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.2) 0 18%, transparent 19%),
    conic-gradient(from -80deg, rgba(216, 168, 79, 0.82), rgba(40, 124, 104, 0.62), rgba(79, 142, 162, 0.58), rgba(216, 168, 79, 0.82));
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.18);
}

.streak-ring span {
  font-size: 4.2rem;
  font-weight: 850;
  line-height: 1;
}

.streak-ring small {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.daily-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 22px;
  align-items: start;
}

.mirror-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 22px;
  align-items: start;
}

.mirror-card h2,
.mirror-guide h2,
.daily-card h2,
.ritual-deck h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.32rem, 2.6vw, 1.85rem);
  font-weight: 780;
  line-height: 1.12;
}

.daily-card,
.mirror-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 239, 230, 0.8)),
    #fff;
}

.daily-form label,
.mirror-form label {
  padding: 12px;
  border: 1px solid rgba(58, 32, 59, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
}

.camera-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(58, 32, 59, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(42, 32, 48, 0.86), rgba(38, 79, 83, 0.76)),
    url("../assets/stage_bg_2.png") center / cover;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 18px 42px rgba(38, 22, 44, 0.14);
}

.camera-stage video {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  transform: scaleX(-1);
}

.camera-placeholder {
  position: absolute;
  display: grid;
  place-items: center;
  width: min(220px, 62vw);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #fff;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
  font-weight: 850;
}

.camera-controls,
.camera-metrics {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

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

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

.camera-metrics span {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(58, 32, 59, 0.12);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.camera-metrics strong {
  color: var(--wine);
  overflow-wrap: anywhere;
  font-size: clamp(1rem, 2.2vw, 1.5rem);
}

.camera-privacy-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

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

.emotion-wheel button {
  min-height: 46px;
  border: 1px solid rgba(58, 32, 59, 0.14);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  font-weight: 850;
}

.emotion-wheel button[aria-pressed="true"] {
  color: #fff;
  border-color: var(--wine);
  background: linear-gradient(135deg, var(--wine), var(--sky));
}

.daily-card input[type="range"] {
  accent-color: var(--wine);
}

.ritual-deck {
  display: grid;
  gap: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(235, 233, 240, 0.72)),
    #fff;
}

.ritual-deck h2 {
  margin: 0;
}

.ritual-cards {
  display: grid;
  gap: 10px;
}

.ritual-cards a {
  display: grid;
  align-items: center;
  min-height: 58px;
  padding: 14px;
  border: 1px solid rgba(58, 32, 59, 0.12);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 850;
  background:
    linear-gradient(90deg, rgba(216, 168, 79, 0.13), transparent 42%),
    #fff;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.ritual-cards a:hover {
  border-color: rgba(124, 48, 69, 0.22);
  box-shadow: 0 12px 28px rgba(38, 22, 44, 0.1);
  transform: translateY(-2px);
}

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

.membership-admin-row {
  display: grid;
  grid-template-columns: minmax(150px, 1.4fr) repeat(4, minmax(115px, 1fr)) auto;
  gap: 10px;
  align-items: end;
  padding: 14px;
  border: 1px solid rgba(58, 32, 59, .12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .8);
}

.membership-admin-row > div,
.membership-admin-row label {
  display: grid;
  gap: 5px;
}

.membership-admin-row small,
.membership-admin-row label span {
  color: var(--muted);
  font-size: .82rem;
}

.membership-admin-row input,
.membership-admin-row select {
  min-width: 0;
  min-height: 40px;
  padding: 8px 9px;
  border: 1px solid rgba(58, 32, 59, .16);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
}

@media (max-width: 980px) {
  .membership-admin-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .membership-admin-row > div { grid-column: 1 / -1; }
}

.sanctuary-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 22px;
  align-items: start;
}

.sanctuary-stage {
  position: relative;
  min-height: 540px;
  border: 1px solid rgba(58, 32, 59, 0.12);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 72%, rgba(216, 168, 79, 0.24), transparent 24%),
    linear-gradient(180deg, #2a2030, #4a2b43 58%, #fffaf4 59%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.sanctuary-stage::after {
  content: attr(data-focus);
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  min-height: 24px;
  color: var(--plum);
  font-weight: 850;
  text-align: center;
}

.sanctuary-item {
  position: absolute;
  left: calc(50% + (var(--i) - 2.5) * 64px);
  top: calc(56% - (var(--i) % 2) * 54px);
  display: grid;
  place-items: center;
  width: 72px;
  aspect-ratio: 1;
  border: 1px solid rgba(216, 168, 79, 0.42);
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 18%, var(--gold) 19% 42%, rgba(124, 48, 69, 0.78));
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transform: translateX(-50%);
}

.sanctuary-item span {
  width: 34px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
}

.sanctuary-item.is-focused {
  outline: 4px solid rgba(216, 168, 79, 0.36);
  transform: translateX(-50%) translateY(-6px);
}

.sanctuary-catalog {
  display: grid;
  gap: 12px;
}

.sanctuary-catalog-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(58, 32, 59, 0.12);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
}

.sanctuary-catalog-item > span {
  width: 42px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(58, 32, 59, 0.14);
}

.sanctuary-catalog-item.is-open {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 12px 30px rgba(38, 22, 44, 0.08);
}

.sanctuary-catalog-item.is-open > span {
  background: linear-gradient(135deg, var(--gold), var(--coral));
}

.sanctuary-catalog-item h2 {
  margin: 0 0 4px;
  font-size: 1.08rem;
}

.sanctuary-catalog-item p {
  margin: 0;
  font-size: 0.92rem;
}

.floating-chat {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 80;
  display: grid;
  justify-items: end;
  gap: 10px;
  pointer-events: none;
}

.floating-chat-toggle,
.floating-chat-panel {
  pointer-events: auto;
}

.floating-chat-toggle {
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  gap: 9px;
  align-items: center;
  min-height: 48px;
  padding: 10px 15px;
  border: 1px solid rgba(216, 168, 79, 0.36);
  border-radius: 999px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(124, 48, 69, 0.94), rgba(40, 124, 104, 0.92)),
    #7c3045;
  box-shadow: 0 18px 42px rgba(20, 12, 28, 0.32);
  cursor: pointer;
  font-weight: 900;
}

.floating-chat-toggle span {
  width: 10px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 16px var(--gold);
}

.floating-chat-panel {
  width: min(420px, calc(100vw - 28px));
  max-height: min(680px, calc(100svh - 104px));
  display: grid;
  grid-template-rows: auto minmax(240px, 1fr) auto auto;
  border: 1px solid rgba(216, 168, 79, 0.24);
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(180deg, rgba(33, 26, 39, 0.96), rgba(18, 41, 46, 0.96)),
    #211a27;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.38);
  overflow: hidden;
}

.floating-chat-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.floating-chat-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 780;
}

.floating-chat-head button {
  display: grid;
  place-items: center;
  width: 34px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
}

.floating-chat-messages {
  display: grid;
  align-content: start;
  gap: 10px;
  overflow: auto;
  padding: 14px;
}

.floating-chat-message {
  display: grid;
  gap: 8px;
  padding: 11px;
  border: 1px solid rgba(216, 168, 79, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.floating-chat-message div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
}

.floating-chat-message p {
  margin: 0;
  line-height: 1.45;
}

.floating-chat-message time {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.82rem;
}

.floating-chat-message button {
  justify-self: start;
  min-height: 34px;
  border: 1px solid rgba(216, 168, 79, 0.2);
  border-radius: 999px;
  color: #fff;
  background: rgba(216, 168, 79, 0.12);
  cursor: pointer;
  font-weight: 820;
}

.chat-message {
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
}

.chat-avatar,
.floating-chat-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  aspect-ratio: 1;
  border-radius: 50%;
  color: #fff;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.94) 0 13%, transparent 14%),
    var(--avatar-color, var(--gold));
  box-shadow: 0 0 18px color-mix(in srgb, var(--avatar-color, var(--gold)), transparent 48%);
  font-size: 0.92rem;
  font-weight: 900;
}

.chat-message .chat-message-body,
.floating-chat-message .floating-chat-message-body {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.chat-message .chat-message-head,
.floating-chat-message .floating-chat-message-body > div {
  display: flex;
  gap: 8px;
  align-items: start;
  justify-content: space-between;
}

.chat-message-head > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.chat-role {
  padding: 3px 7px;
  border: 1px solid rgba(216, 168, 79, 0.2);
  border-radius: 999px;
  color: var(--emerald);
  background: rgba(40, 124, 104, 0.08);
  font-size: 0.72rem;
  font-weight: 840;
}

.chat-message-foot {
  display: grid;
  gap: 8px;
}

.chat-reactions,
.chat-message-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.chat-message .chat-reaction-button,
.chat-message-actions button {
  min-height: 30px;
  padding: 6px 9px;
  font-size: 0.8rem;
}

.chat-reaction-button[aria-pressed="true"],
.floating-chat-message button[aria-pressed="true"] {
  color: #fff;
  border-color: rgba(40, 124, 104, 0.24);
  background: linear-gradient(135deg, var(--emerald), var(--sky));
}

.chat-message-actions {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
}

.chat-message-actions span {
  padding: 5px 0;
}

.chat-message-actions button {
  color: var(--plum);
  background: rgba(255, 255, 255, 0.72);
}

.floating-chat-message {
  grid-template-columns: 34px minmax(0, 1fr);
}

.floating-chat-avatar {
  width: 32px;
  font-size: 0.82rem;
}

.floating-chat-message .floating-chat-message-body > div {
  color: rgba(255, 255, 255, 0.78);
}

.floating-chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-chat-form input {
  min-height: 42px;
  border: 1px solid rgba(216, 168, 79, 0.18);
  border-radius: var(--radius);
  padding: 10px 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.floating-chat-form input::placeholder {
  color: rgba(255, 255, 255, 0.56);
}

.floating-chat-status {
  margin: 0;
  padding: 0 14px 12px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  font-weight: 780;
}

@keyframes slowSpin {
  to { transform: rotate(360deg); }
}

@keyframes chakraWaterDrift {
  0% { transform: translate(-50%, -50%) rotate(0deg) scale(0.94); }
  50% { transform: translate(-50%, -50%) rotate(180deg) scale(1.04); }
  100% { transform: translate(-50%, -50%) rotate(360deg) scale(0.94); }
}

@keyframes chakraNodePulse {
  0%, 100% { transform: scale(0.96); filter: saturate(0.98); }
  50% { transform: scale(1.06); filter: saturate(1.2); }
}

@keyframes chakraRingPulse {
  0%, 100% { transform: scale(0.86); opacity: 0.22; }
  50% { transform: scale(1.18); opacity: 0.68; }
}

@keyframes altarLightDrift {
  0%, 100% { transform: translateX(-1.5%) translateY(0); opacity: 0.58; }
  50% { transform: translateX(1.5%) translateY(-1%); opacity: 0.86; }
}

@keyframes waterfallFlow {
  from { transform: translateY(-16%); opacity: 0; }
  18% { opacity: 0.72; }
  82% { opacity: 0.46; }
  to { transform: translateY(38%); opacity: 0; }
}

@keyframes streamShimmer {
  0%, 100% { transform: translateX(-3%) rotate(-2deg); opacity: 0.26; }
  50% { transform: translateX(3%) rotate(1deg); opacity: 0.62; }
}

@keyframes candleFlicker {
  0%, 100% { transform: translateX(-50%) scaleY(0.94) rotate(-2deg); opacity: 0.86; }
  45% { transform: translateX(-50%) scaleY(1.08) rotate(3deg); opacity: 1; }
  70% { transform: translateX(-50%) scaleY(0.98) rotate(-1deg); opacity: 0.92; }
}

@keyframes lotusGlow {
  0%, 100% { opacity: 0.84; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-4px); }
}

@media (prefers-reduced-motion: reduce) {
  .dashboard-altar-hero::after,
  .scene-waterfall span,
  .scene-stream span,
  .scene-lotus-candle,
  .candle-flame,
  .chakra-live-water span,
  .chakra-live-glyph,
  .chakra-live-glyph::before {
    animation: none;
  }
}

.task-reflection-prompt {
  line-height: 1.7;
}

.task-result {
  margin-top: 18px;
}

@media (max-width: 920px) {
  .dashboard-hero-grid,
  .dashboard-command,
  .dashboard-refresh-grid,
  .game-lab-head,
  .dashboard-layout,
  .settings-grid,
  .chakra-progress-copy,
  .social-entry-grid,
  .community-hero-grid,
  .community-layout,
  .chat-page-hero-grid,
  .chat-page-layout,
  .game-grid,
  .lobby-shell,
  .lobby-actions,
  .symbol-builder,
  .daily-hero-grid,
  .daily-layout,
  .mirror-layout,
  .sanctuary-layout {
    grid-template-columns: 1fr;
  }

  .today-panel {
    position: static;
  }

  .dashboard-altar-hero {
    background:
      linear-gradient(110deg, rgba(20, 14, 27, 0.94), rgba(58, 32, 59, 0.86)),
      url("../assets/game_menu_chakra_path.png") center / cover,
      #251728;
  }

  .scene-lotus-candle {
    right: 14px;
    bottom: auto;
    top: 760px;
    width: 128px;
    opacity: 0.55;
  }

  .scene-waterfall {
    left: -24px;
    top: 22%;
    opacity: 0.56;
  }

  .dashboard-hero-copy,
  .dashboard-orbit-card {
    grid-column: auto;
    grid-row: auto;
  }

  .chakra-live-card {
    grid-column: auto;
    grid-row: auto;
    min-height: 620px;
  }

  .chakra-live-nodes {
    inset: 40px 18px 190px;
  }

  .chakra-live-node {
    left: 47%;
  }

  .chakra-live-node:nth-child(1),
  .chakra-live-node:nth-child(2),
  .chakra-live-node:nth-child(3),
  .chakra-live-node:nth-child(4),
  .chakra-live-node:nth-child(5),
  .chakra-live-node:nth-child(6),
  .chakra-live-node:nth-child(7) {
    left: 48%;
  }

  .chakra-live-label,
  .chakra-live-node:nth-child(n + 5) .chakra-live-label {
    left: calc(100% + 10px);
    right: auto;
    width: min(210px, 42vw);
    text-align: left;
  }

  .site-header {
    align-items: flex-start;
  }

  .game-nav {
    width: 100%;
  }

  .nav-more-panel {
    left: auto;
    right: 0;
  }

  .chat-page-guide {
    position: static;
  }

  .chat-page-shell .chat-messages {
    min-height: 420px;
  }

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

  .dashboard-orbit span {
    transform: translate(-50%, -50%) rotate(calc(var(--i) * 51.4deg - 90deg)) translateY(clamp(-118px, -31vw, -96px)) rotate(calc(var(--i) * -51.4deg + 90deg));
  }

  .chakra-path-head {
    display: grid;
    align-items: start;
  }

  .path-summary {
    justify-content: flex-start;
  }

  .chakra-path-card {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .chakra-path-bars,
  .chakra-path-card .button {
    grid-column: 1 / -1;
  }

  .chakra-progress-card {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .chakra-orb {
    width: 68px;
  }

  .task-choice-grid {
    grid-template-columns: 1fr;
  }

  .chat-form {
    grid-template-columns: 1fr;
  }

  .lobby-join,
  .lobby-play-actions,
  .lobby-players,
  .task-session-strip,
  .voice-controls,
  .camera-controls,
  .camera-metrics,
  .emotion-wheel {
    grid-template-columns: 1fr;
  }

  .dashboard-score-grid {
    grid-template-columns: 1fr;
  }

  .chakra-live-card .dashboard-score-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .account-dashboard-hero {
    background:
      linear-gradient(110deg, rgba(33, 26, 39, 0.95), rgba(58, 32, 59, 0.88)),
      url("../assets/game_menu_chakra_path.png") 35% center / cover,
      #251728;
  }

  .scene-lotus-candle {
    top: 1120px;
    width: 106px;
    opacity: 0.42;
  }

  .dashboard-hero-actions,
  .dashboard-action-grid,
  .mandala-tools {
    grid-template-columns: 1fr;
  }

  .dashboard-hero-actions {
    display: grid;
  }

  .site-header {
    display: grid;
    gap: 10px;
  }

  .top-nav {
    justify-content: start;
  }

  .top-nav a,
  .nav-more summary {
    min-height: 42px;
  }

  .floating-chat {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .floating-chat-panel {
    width: 100%;
    max-height: calc(100svh - 92px);
  }

  .floating-chat-form {
    grid-template-columns: 1fr;
  }

  .communication-mission-head {
    display: grid;
  }

  .communication-mission-actions {
    display: grid;
  }

  .communication-score-grid {
    grid-template-columns: 1fr;
  }

  .nav-more-panel {
    left: 0;
    right: auto;
  }

  .dashboard-orbit {
    width: min(280px, 86vw);
  }

  .chakra-live-card {
    min-height: 700px;
    padding: 12px;
  }

  .chakra-live-nodes {
    inset: 36px 10px 190px;
  }

  .chakra-live-node,
  .chakra-live-node:nth-child(1),
  .chakra-live-node:nth-child(2),
  .chakra-live-node:nth-child(3),
  .chakra-live-node:nth-child(4),
  .chakra-live-node:nth-child(5),
  .chakra-live-node:nth-child(6),
  .chakra-live-node:nth-child(7) {
    left: 28%;
    width: calc(38px + var(--power) * 3px);
  }

  .chakra-live-label,
  .chakra-live-node:nth-child(n + 5) .chakra-live-label {
    left: calc(100% + 8px);
    right: auto;
    width: min(190px, 58vw);
    padding: 8px;
    text-align: left;
  }

  .chakra-live-label strong {
    font-size: 0.94rem;
  }

  .chakra-live-label small {
    font-size: 0.72rem;
  }

  .chakra-live-card .dashboard-score-grid {
    left: 12px;
    right: 12px;
    bottom: 92px;
    gap: 6px;
  }

  .chakra-live-card .dashboard-intention {
    left: 12px;
    right: 12px;
    bottom: 18px;
  }

  .dashboard-orbit span {
    transform: translate(-50%, -50%) rotate(calc(var(--i) * 51.4deg - 90deg)) translateY(-108px) rotate(calc(var(--i) * -51.4deg + 90deg));
  }

  .focus-card-head,
  .chakra-path-card {
    grid-template-columns: 1fr;
  }

  .chakra-progress-card {
    grid-template-columns: 1fr;
  }

  .chakra-orb {
    width: 84px;
  }
}

/* Calm dashboard revision: readable chakra map and compact section menu. */
.chakra-status-card {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: clamp(18px, 2.6vw, 28px);
  border: 1px solid rgba(216, 168, 79, 0.22);
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(145deg, rgba(23, 18, 30, 0.82), rgba(26, 55, 56, 0.62)),
    rgba(22, 16, 29, 0.68);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
}

.dashboard-hero-copy {
  grid-column: 1;
}

.dashboard-hero-copy h1 {
  max-width: 680px;
  font-size: clamp(2.1rem, 4vw, 3.65rem);
  line-height: 1.06;
}

.chakra-status-card-head {
  display: flex;
  gap: 14px;
  align-items: start;
  justify-content: space-between;
}

.chakra-status-card-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.32rem, 2.2vw, 1.72rem);
  font-weight: 780;
  line-height: 1.12;
}

.chakra-status-pill {
  flex: 0 0 auto;
  padding: 8px 10px;
  border: 1px solid rgba(216, 168, 79, 0.24);
  border-radius: 999px;
  color: #f5dc93;
  background: rgba(216, 168, 79, 0.11);
  font-size: 0.78rem;
  font-weight: 860;
  white-space: nowrap;
}

.chakra-status-score-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.chakra-status-score-grid span {
  min-height: 54px;
  padding: 9px 10px;
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.07);
}

.chakra-status-score-grid strong {
  font-size: clamp(1.22rem, 2vw, 1.55rem);
}

.chakra-status-list {
  display: grid;
  gap: 8px;
}

.chakra-status-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) minmax(112px, 0.42fr);
  gap: 10px;
  align-items: center;
  min-height: 62px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.055);
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.chakra-status-row:hover {
  border-color: color-mix(in srgb, var(--chakra-color), #fff 42%);
  background: rgba(255, 255, 255, 0.085);
  transform: translateY(-1px);
}

.chakra-status-row.is-seed {
  opacity: 0.74;
}

.chakra-status-row:focus-visible,
.section-menu-link:focus-visible,
.section-menu-button:focus-visible {
  outline: 3px solid rgba(216, 168, 79, 0.48);
  outline-offset: 3px;
}

.chakra-status-orb {
  display: grid;
  place-items: center;
  width: 38px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--chakra-color), #fff 46%);
  background: color-mix(in srgb, var(--chakra-color), #16101d 18%);
  box-shadow: 0 0 18px color-mix(in srgb, var(--chakra-color), transparent 42%);
}

.chakra-status-orb span {
  width: 13px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
}

.chakra-status-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.chakra-status-copy strong {
  overflow-wrap: anywhere;
  font-size: 1rem;
  font-weight: 840;
  line-height: 1.12;
}

.chakra-status-copy small {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.8rem;
  font-weight: 740;
  line-height: 1.3;
}

.chakra-status-levels {
  display: grid;
  gap: 4px;
  min-width: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  font-weight: 800;
}

.chakra-status-levels meter {
  width: 100%;
  height: 6px;
}

.chakra-status-levels meter::-webkit-meter-bar {
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.chakra-status-levels meter::-webkit-meter-optimum-value {
  border-radius: 999px;
  background: color-mix(in srgb, var(--chakra-color), #fff 12%);
}

.chakra-status-levels meter::-moz-meter-bar {
  border-radius: 999px;
  background: color-mix(in srgb, var(--chakra-color), #fff 12%);
}

.chakra-status-intention {
  min-height: 0;
  margin-top: 2px;
}

.dashboard-focus-menu {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(340px, 1.15fr);
  gap: 16px;
  align-items: stretch;
  padding-bottom: clamp(36px, 6vw, 72px);
}

.dashboard-first-step {
  min-height: 100%;
}

.dashboard-section-menu {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-content: start;
}

.section-menu-link {
  --section-color: var(--gold);
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 72px;
  padding: 12px;
  border: 1px solid rgba(216, 168, 79, 0.17);
  border-radius: var(--radius);
  color: #fff;
  text-align: left;
  text-decoration: none;
  background:
    linear-gradient(145deg, rgba(28, 20, 36, 0.68), rgba(28, 71, 75, 0.24)),
    rgba(22, 16, 29, 0.48);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.section-menu-link:hover {
  border-color: color-mix(in srgb, var(--section-color), #fff 34%);
  background:
    linear-gradient(145deg, rgba(36, 27, 44, 0.78), rgba(31, 89, 82, 0.3)),
    rgba(255, 255, 255, 0.07);
  transform: translateY(-2px);
}

.section-menu-button {
  width: 100%;
  border: 1px solid rgba(216, 168, 79, 0.17);
  font: inherit;
}

.section-menu-link.is-primary {
  background:
    linear-gradient(145deg, rgba(124, 48, 69, 0.6), rgba(216, 168, 79, 0.18)),
    rgba(22, 16, 29, 0.56);
}

.section-menu-link:nth-child(2) { --section-color: #3a946e; }
.section-menu-link:nth-child(3) { --section-color: #4f8ea2; }
.section-menu-link:nth-child(4) { --section-color: #d87a42; }
.section-menu-link:nth-child(5) { --section-color: #51478f; }
.section-menu-link:nth-child(6) { --section-color: #8d4d9f; }
.section-menu-link:nth-child(7) { --section-color: #b5313f; }
.section-menu-link:nth-child(8) { --section-color: #d8a84f; }
.section-menu-link:nth-child(9) { --section-color: #287c68; }

.section-menu-mark {
  width: 22px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--section-color), #fff 44%);
  background:
    radial-gradient(circle at 38% 34%, rgba(255, 255, 255, 0.92) 0 18%, transparent 19%),
    var(--section-color);
  box-shadow: 0 0 16px color-mix(in srgb, var(--section-color), transparent 48%);
}

.section-menu-link > span:not(.section-menu-mark) {
  min-width: 0;
}

.section-menu-link strong {
  display: block;
  overflow-wrap: anywhere;
  white-space: normal;
  font-size: 0.98rem;
  font-weight: 840;
  line-height: 1.14;
}

.section-menu-link small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.76rem;
  font-weight: 720;
  line-height: 1.28;
  overflow-wrap: anywhere;
  white-space: normal;
}

@media (max-width: 1180px) {
  .dashboard-focus-menu {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .dashboard-section-menu {
    grid-column: 1 / -1;
  }
}

@media (max-width: 920px) {
  .chakra-status-card {
    grid-column: auto;
    grid-row: auto;
  }

  .dashboard-hero-copy {
    grid-column: auto;
  }

  .dashboard-focus-menu {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .chakra-status-card,
  .dashboard-hero-copy {
    padding: 16px;
  }

  .chakra-status-card-head {
    display: grid;
  }

  .chakra-status-score-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .chakra-status-score-grid span {
    min-height: 50px;
    padding: 8px;
  }

  .chakra-status-row {
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: start;
    min-height: 0;
  }

  .chakra-status-orb {
    width: 34px;
  }

  .chakra-status-levels {
    grid-column: 2;
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: center;
  }

  .dashboard-section-menu {
    grid-template-columns: 1fr;
  }

  .section-menu-link {
    min-height: 64px;
  }
}

/* Dashboard is now a single-screen command center; deeper content lives behind menu links. */
.account-body:has(.dashboard-single-screen) {
  display: flex;
  flex-direction: column;
  height: 100svh;
  min-height: 100svh;
  overflow: hidden;
}

.account-body:has(.dashboard-single-screen) .site-header {
  flex: 0 0 auto;
}

.account-body:has(.dashboard-single-screen) main {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
}

.account-body:has(.dashboard-single-screen) .site-footer {
  display: none;
}

.account-body:has(.dashboard-single-screen) .preview-note {
  display: none;
}

.dashboard-single-screen {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
  overflow: hidden;
}

.dashboard-single-screen.dashboard-altar-hero {
  padding-bottom: 0;
}

.dashboard-single-screen > .section-inner {
  width: min(1160px, calc(100% - 32px));
  min-width: 0;
}

.dashboard-single-screen .dashboard-command {
  align-self: stretch;
  align-items: stretch;
  min-height: 0;
  overflow: hidden;
  grid-template-columns: minmax(300px, 0.92fr) minmax(340px, 440px);
  gap: clamp(18px, 4vw, 52px);
  padding-top: clamp(18px, 3.4vw, 44px);
  padding-bottom: clamp(10px, 2vw, 18px);
}

.dashboard-single-screen .dashboard-hero-copy,
.dashboard-single-screen .chakra-status-card {
  align-self: stretch;
  height: 100%;
  min-height: 0;
}

.dashboard-single-screen .dashboard-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-height: 100%;
  overflow: hidden;
}

.dashboard-single-screen .dashboard-hero-copy h1 {
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  letter-spacing: 0;
  line-height: 1.08;
}

.dashboard-single-screen .chakra-status-card {
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  max-height: 100%;
  overflow: hidden;
  padding: clamp(16px, 2vw, 22px);
}

.dashboard-single-screen .chakra-status-list {
  align-content: start;
  grid-auto-rows: max-content;
  min-height: 0;
  overflow: auto;
  padding-right: 2px;
  scrollbar-width: thin;
}

.dashboard-single-screen .chakra-status-row {
  min-height: 50px;
  padding: 7px 8px;
}

.dashboard-single-screen .chakra-status-orb {
  width: 34px;
}

.dashboard-single-screen .chakra-status-copy strong {
  font-size: 0.92rem;
}

.dashboard-single-screen .chakra-status-copy small {
  display: none;
  font-size: 0.72rem;
}

.dashboard-single-screen .chakra-status-levels {
  font-size: 0.68rem;
}

.dashboard-menu-dock {
  position: relative;
  z-index: 2;
  padding-top: 0;
  padding-bottom: clamp(10px, 1.7vw, 18px);
}

.dashboard-menu-dock .dashboard-section-menu {
  display: flex;
  grid-template-columns: none;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.dashboard-menu-dock .section-menu-link {
  flex: 1 1 118px;
  min-width: 118px;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 8px;
  min-height: 54px;
  padding: 9px 10px;
  scroll-snap-align: start;
}

.dashboard-menu-dock .section-menu-link small {
  display: none;
}

.dashboard-menu-dock .section-menu-link strong {
  overflow: hidden;
  overflow-wrap: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.82rem;
  line-height: 1.08;
}

.dashboard-menu-dock .section-menu-mark {
  width: 20px;
}

/* The unified header menu is the only navigation for sections below the map. */
.dashboard-menu-dock {
  display: none !important;
}

.account-body:has(.dashboard-single-screen) .floating-chat {
  bottom: clamp(80px, 9svh, 104px);
}

.account-body:has(.dashboard-single-screen) .floating-chat-toggle {
  display: none;
}

@media (max-width: 920px) {
  .dashboard-single-screen {
    min-height: 0;
  }

  .dashboard-single-screen .dashboard-command {
    gap: 12px;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    padding-top: 12px;
    padding-bottom: 8px;
  }

  .dashboard-single-screen .dashboard-hero-copy {
    height: auto;
    max-height: none;
    padding: 14px 16px;
  }

  .dashboard-single-screen .chakra-status-card {
    height: 100%;
    max-height: 100%;
  }

  .dashboard-menu-dock .dashboard-section-menu {
    grid-template-columns: none;
  }
}

@media (max-width: 640px) {
  .account-body:has(.dashboard-single-screen) .site-header {
    min-height: 54px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .account-body:has(.dashboard-single-screen) .top-nav {
    display: none;
  }

  .dashboard-single-screen .dashboard-command {
    gap: 10px;
    padding: 10px 16px 8px;
  }

  .dashboard-single-screen .dashboard-hero-copy {
    padding: 12px 14px;
  }

  .dashboard-single-screen .dashboard-hero-copy p:not(.eyebrow),
  .dashboard-single-screen .dashboard-soft-bridge {
    display: none;
  }

  .dashboard-single-screen .dashboard-hero-copy h1 {
    margin-bottom: 0;
    font-size: clamp(1.55rem, 7vw, 2rem);
    overflow-wrap: anywhere;
  }

  .dashboard-single-screen .dashboard-hero-actions {
    gap: 8px;
    margin-top: 12px;
  }

  .dashboard-single-screen .dashboard-hero-actions .button {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
  }

  .dashboard-single-screen .dashboard-hero-actions .button:not(.primary) {
    display: none;
  }

  .dashboard-single-screen .chakra-status-card {
    padding: 12px;
  }

  .dashboard-single-screen .chakra-status-card-head {
    gap: 8px;
  }

  .dashboard-single-screen .chakra-status-card-head h2 {
    font-size: 1.18rem;
  }

  .dashboard-single-screen .chakra-status-row {
    min-height: 74px;
    padding: 8px;
  }

  .dashboard-single-screen .chakra-status-copy small {
    font-size: 0.72rem;
  }

  .dashboard-menu-dock {
    padding: 0 16px 10px;
  }

  .dashboard-menu-dock .dashboard-section-menu {
    grid-template-columns: none;
    gap: 7px;
  }

  .dashboard-menu-dock .section-menu-link {
    flex: 0 0 142px;
    min-height: 50px;
    padding: 8px;
  }

  .dashboard-menu-dock .section-menu-link strong {
    font-size: 0.92rem;
  }

  .dashboard-menu-dock .section-menu-link small {
    display: none;
  }

  .account-body:has(.dashboard-single-screen) .floating-chat {
    left: auto;
    right: 10px;
    bottom: 76px;
  }
}

/* Cascade lock: final member-workspace accessibility values. */
.top-nav a,
.nav-more summary,
.nav-more-panel a {
  min-height: 44px;
  font-size: 0.94rem;
  font-weight: 720;
}

.nav-more-panel {
  min-width: 220px;
}

.account-form label {
  color: #3e3540;
  font-size: 1rem;
  line-height: 1.45;
}

.account-form input,
.account-form select,
.account-form textarea {
  min-height: 48px;
  padding: 12px 14px;
  font-size: 1rem;
  line-height: 1.5;
}

.mirror-hero .section-inner {
  padding-top: 48px;
  padding-bottom: 44px;
}

.mirror-hero h1 {
  font-size: 3rem;
  line-height: 1.1;
}

.mirror-hero p {
  font-size: 1.05rem;
  line-height: 1.65;
}

.mirror-layout {
  gap: 28px;
}

.mirror-card,
.mirror-guide {
  padding: 26px;
}

.mirror-card h2,
.mirror-guide h2 {
  font-size: 1.65rem;
}

.camera-stage,
.camera-stage video {
  min-height: 320px;
}

.camera-stage {
  aspect-ratio: 16 / 10;
}

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

.camera-metrics span {
  min-width: 0;
  padding: 11px 8px;
  font-size: 0.86rem;
  text-align: center;
}

.emotion-wheel button {
  min-height: 48px;
  padding: 9px 10px;
  font-size: 0.96rem;
  font-weight: 720;
}

@media (max-width: 760px) {
  .mirror-hero .section-inner {
    padding-top: 34px;
    padding-bottom: 32px;
  }

  .mirror-hero h1 {
    font-size: 2.2rem;
  }

  .mirror-card,
  .mirror-guide {
    padding: 19px;
  }

  .camera-stage,
  .camera-stage video {
    min-height: 250px;
  }

  .camera-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* 2026-08-26 trainer refinements */
.chakra-practice-toolkit {
  margin: 1.5rem 0;
  padding: 1.25rem;
  border: 1px solid color-mix(in srgb, var(--chakra-color) 35%, #d9d7d2);
  border-radius: 12px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--chakra-color) 7%, #fff), #fffdf9);
}
.chakra-toolkit-head { display: flex; justify-content: space-between; gap: 1rem; align-items: start; }
.chakra-toolkit-head h2 { margin: .15rem 0 0; }
.chakra-toolkit-head > span { color: #6d6467; font-size: .9rem; text-align: right; }
.chakra-tool-tabs, .chakra-phrase-list, .chakra-state-list, .daily-chakra-options, .positive-emotion-grid { display: grid; gap: .55rem; }
.chakra-tool-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 1rem 0; }
.chakra-tool-tabs button, .chakra-phrase-list button, .chakra-state-list button, .positive-emotion-grid button, .emotion-wheel button { min-height: 2.7rem; border: 1px solid #ded6ce; border-radius: 8px; background: #fff; color: #3d3440; padding: .7rem .8rem; text-align: left; cursor: pointer; }
.chakra-tool-tabs button[aria-selected="true"], .chakra-phrase-list button[aria-pressed="true"], .chakra-state-list button[aria-pressed="true"], .positive-emotion-grid button[aria-pressed="true"], .emotion-wheel button[aria-pressed="true"] { border-color: var(--chakra-color, #b88738); background: color-mix(in srgb, var(--chakra-color, #b88738) 12%, #fff); box-shadow: 0 0 0 2px color-mix(in srgb, var(--chakra-color, #b88738) 12%, transparent); }
.chakra-tool-panel > p { color: #635a60; line-height: 1.55; }
.chakra-phrase-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.chakra-phrase-list button { font-size: .9rem; line-height: 1.35; }
.chakra-tool-visual { float: right; width: 112px; height: 112px; margin: 0 0 .5rem 1rem; }
.lotus-tool-layout { display: grid; grid-template-columns: minmax(150px, .7fr) minmax(0, 1.3fr); gap: 1rem; align-items: center; }
.lotus-preview { position: relative; min-height: 210px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, #fff 0 18%, color-mix(in srgb, var(--chakra-color) 9%, #fff) 19% 55%, transparent 56%); }
.lotus-preview::before { content: ""; width: 34px; height: 34px; border-radius: 50% 50% 45% 45%; background: var(--chakra-color); box-shadow: 0 0 0 8px color-mix(in srgb, var(--chakra-color) 12%, transparent); }
.lotus-preview span { position: absolute; width: 50px; height: 76px; border-radius: 50% 50% 42% 42%; background: color-mix(in srgb, var(--chakra-color) 62%, #fff); transform: rotate(calc(360deg / var(--count) * var(--i))) translateY(-55px); transform-origin: 50% 100px; display: grid; place-items: center; animation: lotus-open .5s ease both; }
.lotus-preview span b { color: #fff; font-size: 1rem; transform: rotate(calc(-360deg / var(--count) * var(--i))); }
@keyframes lotus-open { from { opacity: 0; transform: rotate(calc(360deg / var(--count) * var(--i))) translateY(-20px) scale(.7); } to { opacity: 1; transform: rotate(calc(360deg / var(--count) * var(--i))) translateY(-55px) scale(1); } }
.practice-custom-field { display: grid; gap: .35rem; margin-top: .9rem; }
.practice-custom-field span, .mandala-custom-field span { color: #6d6467; font-size: .88rem; }
.daily-repeat-note { padding: .8rem 1rem; border-left: 3px solid #b88738; background: #fff9ef; color: #675b5d; line-height: 1.5; }
.daily-chakra-options { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: .75rem; }
.daily-chakra-options label { display: flex; gap: .65rem; align-items: center; min-height: 3.2rem; padding: .65rem .75rem; border: 1px solid #ded6ce; border-radius: 8px; background: #fff; cursor: pointer; }
.daily-chakra-options label:has(input:checked) { border-color: #b88738; background: #fff9ef; }
.daily-chakra-options input { accent-color: #b88738; }
.daily-chakra-options span { display: grid; gap: .12rem; }
.daily-chakra-options small { color: #7c7075; }
.mirror-step-content { padding: .5rem 0; }
.mirror-instruction-block { padding: .9rem 1rem; border-radius: 8px; background: #f8f5f1; color: #554b52; line-height: 1.55; }
.mirror-field-help { color: #6d6467; line-height: 1.55; }
.mirror-field-help + .mirror-phrase-options { margin-top: .8rem; }
.emotion-intensity-list { display: grid; gap: .55rem; margin-top: .8rem; }
.emotion-intensity-list label { display: grid; gap: .2rem; }
.emotion-intensity-list label span { display: flex; justify-content: space-between; color: #675d62; }
.positive-emotion-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 1rem 0; }
.selected-emotion-copy { padding: .9rem 1rem; border-radius: 8px; background: #eef7f2; color: #356d5c; line-height: 1.55; }
.mirror-timer-field { display: grid; grid-template-columns: 1fr 100px auto; gap: .7rem; align-items: center; }
.mirror-timer-field input { width: 100%; }
.mirror-timer-field small { color: #6d6467; }
.mirror-audio-instruction { color: #675d62; line-height: 1.55; }
.mandala-tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; }
.mandala-custom-field { display: grid; gap: .35rem; margin: .8rem 0; }

/* 2026-08-28: calm, compact navigation and accessible trainer visuals. */
body { overflow-x: hidden; }
.unified-nav { align-items: center; gap: 8px; }
.nav-quick-links { display: flex; gap: 7px; }
.nav-quick-links a { min-height: 40px; padding-inline: 12px; }
.unified-menu summary { gap: 8px; min-width: 52px; }
.unified-menu summary > span:first-child { font-size: 1.2rem; line-height: 1; }
.unified-menu .nav-more-panel { min-width: 246px; max-height: min(76vh, 620px); overflow-y: auto; }
.unified-menu .nav-more-panel a { min-height: 42px; padding-inline: 12px; }
.announcement-band { padding: 18px 0; color: #fff; background: linear-gradient(110deg, #3a203b, #287c68); }
.announcement-inner { display: flex; align-items: center; gap: 18px; }
.announcement-inner p { margin: 0; }
.announcement-inner .eyebrow { color: #ffe6ae; white-space: nowrap; }
.announcement-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.announcement-actions .button { color: #fff; border-color: rgba(255,255,255,.38); background: rgba(255,255,255,.12); }
.daily-self-check-instruction { margin: 0 0 10px; padding: 10px 12px; border-left: 3px solid var(--gold); color: #5e535b; line-height: 1.55; }
.mirror-honesty-intro { margin: 0 0 16px; padding: 12px 14px; border-left: 3px solid var(--gold); color: #584d56; line-height: 1.6; background: #fff8ed; }
.mirror-final-reflection { display: grid; gap: 8px; margin: 18px 0; color: #584d56; line-height: 1.55; }
.task-breath-visual { width: min(100%, 420px); min-height: 210px; margin: 0 auto 18px; border-radius: 14px; }
.universe-breath-visual { background-color: #17102e; background-image: radial-gradient(circle at 8% 18%, rgba(255,255,255,.8) 0 1px, transparent 2px), radial-gradient(circle at 22% 68%, rgba(255,255,255,.66) 0 1px, transparent 2px), radial-gradient(circle at 36% 30%, rgba(255,226,163,.78) 0 1.5px, transparent 2.5px), radial-gradient(circle at 51% 76%, rgba(255,255,255,.7) 0 1px, transparent 2px), radial-gradient(circle at 67% 20%, rgba(255,255,255,.74) 0 1px, transparent 2px), radial-gradient(circle at 84% 62%, rgba(255,226,163,.72) 0 1.5px, transparent 2.5px), radial-gradient(circle at 94% 32%, rgba(255,255,255,.7) 0 1px, transparent 2px), radial-gradient(circle at 50% 50%, rgba(98,74,160,.35), transparent 55%), linear-gradient(145deg, #120b27, #2b1751 55%, #100a24); }
.universe-breath-visual::before { inset: 37% 9%; border: 1px solid rgba(255,224,163,.86); border-radius: 50%; transform: scaleY(.45); box-shadow: 0 0 22px rgba(255,205,126,.25), inset 0 0 16px rgba(255,255,255,.18); animation: universe-eye 6.6s ease-in-out infinite; }
.universe-breath-visual::after { inset: 45% 18%; border: 1px solid rgba(255,255,255,.88); border-radius: 50%; transform: scaleY(.3); animation: universe-eye-inner 6.6s ease-in-out infinite; }
.universe-breath-visual span { inset: 46% 43%; width: 14%; height: 8%; border-radius: 50%; background: #ffe6a8; box-shadow: 0 0 26px 8px rgba(255,220,135,.55); animation: universe-iris 6.6s ease-in-out infinite; }
@keyframes universe-eye { 0%,100% { transform: scaleY(.38); opacity: .5; } 50% { transform: scaleY(1); opacity: 1; } }
@keyframes universe-eye-inner { 0%,100% { transform: scaleY(.2); opacity: .38; } 50% { transform: scaleY(1); opacity: .95; } }
@keyframes universe-iris { 0%,100% { transform: scale(.72); opacity: .65; } 50% { transform: scale(1.1); opacity: 1; } }
.universe-breath-visual.is-running::before, .universe-breath-visual.is-running::after, .universe-breath-visual.is-running span { animation-play-state: running; }
.lotus-preview { overflow: hidden; }
.lotus-preview::before { position: absolute; width: 42px; height: 42px; border-radius: 50%; background: var(--chakra-color); box-shadow: 0 0 0 7px color-mix(in srgb, var(--chakra-color) 20%, transparent), 0 0 28px color-mix(in srgb, var(--chakra-color) 70%, transparent); z-index: 2; }
.lotus-preview span { background: var(--chakra-color); box-shadow: 0 0 0 2px color-mix(in srgb, var(--chakra-color) 58%, #fff), 0 0 18px color-mix(in srgb, var(--chakra-color) 72%, transparent); }
.lotus-preview span b { position: relative; z-index: 3; }
.sanctuary-item.is-locked { filter: grayscale(.7); opacity: .58; background: radial-gradient(circle, #d8d2dc 0 18%, #6c6374 19% 42%, #33283d); }
.sanctuary-item.is-locked span { background: #d6d0db; }
.sanctuary-item.is-unlocked:hover, .sanctuary-item.is-unlocked:focus-visible { box-shadow: 0 0 0 4px rgba(216,168,79,.28), 0 16px 40px rgba(216,168,79,.3); }
.sanctuary-detail-dialog, .chat-support-dialog { width: min(520px, calc(100vw - 28px)); border: 1px solid rgba(216,168,79,.32); border-radius: 10px; padding: 28px; color: var(--ink); background: #fffaf4; box-shadow: 0 24px 80px rgba(25,12,34,.3); }
.sanctuary-detail-dialog::backdrop, .chat-support-dialog::backdrop { background: rgba(22,12,30,.58); backdrop-filter: blur(3px); }
.sanctuary-detail-dialog h2, .chat-support-dialog h2 { margin: 0 0 10px; color: var(--plum); }
.sanctuary-detail-dialog p, .chat-support-dialog p { line-height: 1.65; }
.sanctuary-detail-dialog .chat-dialog-close, .chat-support-dialog .chat-dialog-close { float: right; }
.support-rules-check { display: flex; gap: 9px; align-items: center; margin: 18px 0; }
.library-admin-items { display: grid; gap: 14px; margin: 16px 0 30px; }
.library-admin-item { display: grid; gap: 9px; padding: 16px; border: 1px solid rgba(58,32,59,.14); border-radius: 8px; background: #fff; }
.library-admin-item > strong { color: var(--plum); font-size: 1.08rem; }
.admin-note { color: var(--muted); }
.system-bot-row { align-items: center; }

@media (max-width: 760px) {
  .site-header { padding-inline: 12px; }
  .brand { gap: 7px; font-size: .86rem; }
  .brand-mark { width: 38px; height: 38px; }
  .unified-nav { gap: 4px; }
  .nav-quick-links { gap: 4px; }
  .nav-quick-links a { min-height: 40px; padding-inline: 8px; font-size: .77rem; }
  .nav-menu-label { display: none; }
  .unified-menu .nav-more-panel { position: fixed; top: 58px; right: 10px; width: min(292px, calc(100vw - 20px)); }
  .announcement-inner { display: grid; gap: 8px; }
  .announcement-inner .eyebrow { white-space: normal; }
  .announcement-actions { margin-left: 0; }
  .task-breath-visual { min-height: 170px; }
  .mirror-timer-field { grid-template-columns: 1fr 88px; }
  .mirror-timer-field small { grid-column: 1; }
  .mirror-timer-field button { grid-column: 2; grid-row: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .universe-breath-visual::before, .universe-breath-visual::after, .universe-breath-visual span { animation: none; }
  .universe-breath-visual::before { transform: scaleY(.8); opacity: .9; }
}
@media (max-width: 760px) {
  .chakra-toolkit-head, .lotus-tool-layout { grid-template-columns: 1fr; display: grid; }
  .chakra-toolkit-head > span { text-align: left; }
  .chakra-tool-tabs, .chakra-phrase-list, .daily-chakra-options, .positive-emotion-grid, .mandala-tools { grid-template-columns: 1fr; }
  .chakra-tool-visual { float: none; margin: 0 auto 1rem; }
  .mirror-timer-field { grid-template-columns: 1fr 90px; }
  .mirror-timer-field small, .mirror-timer-field button { grid-column: 1 / -1; }
}
