@font-face {
  font-family: "KHNPHU";
  src: url("assets/fonts/KHNPHUotfR.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --void: #02030a;
  --navy: #07111f;
  --panel: rgba(8, 18, 34, 0.72);
  --panel-strong: rgba(10, 22, 42, 0.9);
  --line: rgba(116, 225, 255, 0.22);
  --line-hot: rgba(184, 143, 255, 0.58);
  --text: #eef8ff;
  --muted: #9fb6c9;
  --cyan: #6eeeff;
  --mint: #7dffd0;
  --pink: #ff82d7;
  --violet: #b596ff;
  --gold: #f8d47b;
  --danger: #ff6fbc;
  --radius: 14px;
  --small-radius: 9px;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
  --font: "Inter", "Noto Sans KR", system-ui, sans-serif;
  --font-brand: "Cinzel", "Cormorant Garamond", "Noto Serif KR", serif;
  --display-font: "KHNPHU", "Noto Sans KR", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  min-width: 1180px;
  overflow: hidden;
  color: var(--text);
  font-family: var(--font);
  letter-spacing: 0;
  background:
    radial-gradient(circle at 50% 120%, rgba(94, 255, 219, 0.13), transparent 34%),
    radial-gradient(circle at 90% 12%, rgba(181, 150, 255, 0.16), transparent 34%),
    radial-gradient(circle at 8% 15%, rgba(255, 130, 215, 0.1), transparent 29%),
    linear-gradient(145deg, #01030a 0%, #07111f 48%, #02040a 100%);
}

button {
  border: 0;
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.brand-button strong,
.primary-button,
.seed-button,
.pod-label strong,
.selected-card h3,
.result-card h2,
.specimen-card h3,
.plant-name {
  font-family: var(--display-font);
}

.app-shell {
  position: relative;
  height: 100vh;
  padding: 18px 34px 20px;
  isolation: isolate;
}

.deep-space,
.constellation {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.deep-space {
  z-index: -4;
  opacity: 0.58;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.72) 0 1px, transparent 1px),
    radial-gradient(circle, rgba(125, 255, 208, 0.65) 0 1px, transparent 1px),
    radial-gradient(circle, rgba(181, 150, 255, 0.62) 0 1px, transparent 1px);
  background-position: 0 0, 44px 61px, 90px 28px;
  background-size: 94px 94px, 134px 134px, 180px 180px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.72));
}

.constellation {
  z-index: -3;
  opacity: 0.24;
  background:
    linear-gradient(118deg, transparent 20%, rgba(110, 238, 255, 0.16) 20.2%, transparent 20.5%),
    linear-gradient(36deg, transparent 48%, rgba(181, 150, 255, 0.18) 48.2%, transparent 48.5%);
}

.constellation-b {
  transform: rotate(10deg) scale(1.2);
  opacity: 0.16;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 54px;
  margin-bottom: 14px;
}

.brand-button,
.topnav button,
.coin-pill {
  color: var(--text);
  border: 1px solid rgba(120, 225, 255, 0.2);
  background: rgba(5, 14, 28, 0.66);
  box-shadow: inset 0 0 22px rgba(110, 238, 255, 0.03);
  backdrop-filter: blur(18px);
}

.brand-button {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 9px 14px;
  border-radius: var(--small-radius);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.brand-button:hover,
.topnav button:hover {
  transform: translateY(-1px);
  border-color: rgba(125, 255, 208, 0.58);
  box-shadow: 0 0 28px rgba(110, 238, 255, 0.14);
}

.brand-icon-wrap {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 38px;
  height: 38px;
}

.brand-icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 0 10px rgba(93, 216, 255, 0.58))
    drop-shadow(0 0 20px rgba(153, 106, 255, 0.28));
}

.brand-text,
.brand-button strong,
.brand-button small {
  display: block;
  line-height: 1.05;
  text-align: left;
}

.brand-title {
  font-family: var(--font-brand);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f2f7ff;
  text-shadow:
    0 0 8px rgba(120, 220, 255, 0.45),
    0 0 22px rgba(120, 90, 255, 0.28);
}

.brand-subtitle {
  font-family: var(--font-brand);
  margin-top: 4px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(190, 230, 255, 0.85);
  text-shadow: 0 0 14px rgba(120, 220, 255, 0.24);
}

.topnav {
  display: flex;
  align-items: center;
  gap: 9px;
}

.topnav button,
.coin-pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 15px;
  border-radius: var(--small-radius);
}

.topnav button {
  cursor: pointer;
}

.coin-pill {
  gap: 7px;
  color: var(--gold);
}

.coin-pill strong {
  color: #ffe7a1;
}

.screen {
  display: none;
  height: calc(100vh - 106px);
  animation: screenIn 420ms ease both;
}

.screen.is-active {
  display: block;
}

@keyframes screenIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.screen-intro {
  position: relative;
  align-items: center;
  justify-content: center;
}

.screen-intro.is-active {
  display: flex;
}

.intro-copy {
  position: relative;
  z-index: 2;
  width: min(930px, 78vw);
  text-align: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--mint);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin-bottom: 18px;
  font-size: 56px;
  line-height: 1.08;
  white-space: nowrap;
  text-shadow: 0 0 34px rgba(181, 150, 255, 0.46);
}

.intro-copy > p:not(.eyebrow) {
  width: min(680px, 100%);
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.intro-signal {
  display: inline-grid;
  gap: 8px;
  min-width: 360px;
  padding: 18px 24px;
  border: 1px solid rgba(110, 238, 255, 0.25);
  border-radius: 26px 8px 26px 8px;
  background:
    radial-gradient(ellipse at 50% 0, rgba(92, 219, 255, 0.18), transparent 64%),
    rgba(3, 10, 22, 0.68);
  box-shadow: 0 0 34px rgba(88, 194, 255, 0.16), inset 0 0 22px rgba(110, 238, 255, 0.06);
}

.intro-signal strong {
  color: var(--cyan);
  font-size: 18px;
}

.intro-signal span,
.intro-signal small {
  color: var(--muted);
}

.intro-signal small {
  font-size: 12px;
}

.intro-actions,
.result-actions,
.garden-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.intro-orbit {
  position: absolute;
  width: 650px;
  height: 650px;
  border: 1px solid rgba(110, 238, 255, 0.12);
  border-radius: 50%;
  box-shadow: inset 0 0 80px rgba(181, 150, 255, 0.12);
  animation: breathe 5s ease-in-out infinite;
}

.intro-orbit span {
  position: absolute;
  border: 1px solid rgba(125, 255, 208, 0.26);
  border-radius: 50%;
  background: rgba(110, 238, 255, 0.08);
}

.intro-orbit span:nth-child(1) {
  inset: 76px;
}

.intro-orbit span:nth-child(2) {
  inset: 156px;
}

.intro-orbit span:nth-child(3) {
  top: 70px;
  left: 50%;
  width: 18px;
  height: 18px;
  background: var(--pink);
  box-shadow: 0 0 26px var(--pink);
}

@keyframes breathe {
  50% {
    transform: scale(1.035);
    opacity: 0.78;
  }
}

.primary-button,
.secondary-button,
.seed-button,
.camera-button {
  position: relative;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--small-radius);
  color: var(--text);
  cursor: pointer;
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.primary-button {
  color: #06101e;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(110, 238, 255, 0.96), rgba(181, 150, 255, 0.92));
  box-shadow: 0 0 34px rgba(110, 238, 255, 0.3);
}

.secondary-button,
.seed-button,
.camera-button {
  border: 1px solid rgba(110, 238, 255, 0.28);
  background: rgba(5, 13, 25, 0.72);
}

.primary-button:hover,
.secondary-button:hover,
.seed-button:hover,
.camera-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 34px rgba(255, 130, 215, 0.18);
}

.primary-button:disabled,
.secondary-button:disabled,
.seed-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}

.section-heading {
  margin: 14px 0 22px;
}

.split-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
}

.section-heading h2 {
  margin-bottom: 8px;
  font-size: 34px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
}

.vault-status {
  min-width: 230px;
  padding: 14px 16px;
  border: 1px solid rgba(110, 238, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(7, 16, 31, 0.72);
  text-align: right;
}

.vault-status span,
.vault-status small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.vault-status strong {
  display: block;
  margin: 4px 0;
  color: var(--gold);
  font-size: 18px;
}

.vault-status small {
  min-height: 16px;
  color: var(--danger);
}

.seed-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 16px;
}

.seed-card,
.glass-panel,
.garden-map-panel,
.care-stage,
.result-card,
.specimen-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.seed-card {
  min-height: 430px;
  padding: 16px;
  background:
    radial-gradient(circle at 50% 22%, var(--seed-glow), transparent 40%),
    linear-gradient(180deg, rgba(15, 31, 58, 0.84), rgba(3, 9, 18, 0.86));
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.seed-card:not(.is-locked):hover {
  transform: translateY(-5px);
  border-color: rgba(125, 255, 208, 0.58);
  box-shadow: 0 22px 80px rgba(110, 238, 255, 0.16);
}

.seed-card.is-locked {
  filter: saturate(0.45);
  opacity: 0.68;
}

.seed-image {
  display: grid;
  place-items: center;
  height: 170px;
  margin-bottom: 14px;
  border: 1px solid rgba(110, 238, 255, 0.14);
  border-radius: var(--small-radius);
  background: rgba(2, 7, 15, 0.38);
}

.seed-image img {
  max-width: 92%;
  max-height: 154px;
  object-fit: contain;
  filter: drop-shadow(0 0 22px rgba(110, 238, 255, 0.45));
}

.seed-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  min-height: 38px;
  color: var(--mint);
  font-size: 12px;
  font-weight: 800;
}

.seed-meta span {
  line-height: 1.25;
}

.seed-card h3 {
  margin: 8px 0 7px;
  font-size: 22px;
}

.seed-card p {
  min-height: 74px;
  color: var(--muted);
  line-height: 1.55;
}

.seed-button {
  width: 100%;
}

.garden-layout,
.care-layout {
  display: grid;
  gap: 18px;
  height: 100%;
  min-height: 0;
}

.garden-layout {
  grid-template-columns: 250px minmax(620px, 1fr) 310px;
}

.care-layout {
  grid-template-columns: 250px minmax(590px, 1fr) 290px;
}

.glass-panel {
  padding: 18px;
  overflow: hidden;
}

.panel-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.panel-title h2 {
  margin: 0;
  font-size: 17px;
}

.tiny-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 18px var(--mint);
}

.panel-copy {
  color: var(--muted);
  line-height: 1.65;
}

.guide-steps,
.mini-gesture-list,
.gesture-list,
.gauge-list {
  display: grid;
  gap: 10px;
}

.guide-steps {
  margin: 16px 0 18px;
}

.guide-steps span,
.mini-gesture-list span,
.gesture-item,
.gauge-card {
  border: 1px solid rgba(110, 238, 255, 0.15);
  border-radius: var(--small-radius);
  background: rgba(4, 11, 22, 0.58);
}

.guide-steps span,
.mini-gesture-list span {
  padding: 10px 12px;
  color: #dcecff;
}

.garden-map-panel {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 0;
  overflow: hidden;
}

.garden-map-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px 10px;
}

.garden-map-heading h2 {
  margin: 0;
  font-size: 28px;
}

.garden-map-heading p {
  max-width: 300px;
  color: var(--muted);
  line-height: 1.55;
  text-align: right;
}

.garden-map {
  position: relative;
  min-height: 0;
  margin: 0 20px 14px;
  overflow: hidden;
  border: 1px solid rgba(110, 238, 255, 0.16);
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse at 50% 70%, rgba(94, 255, 219, 0.15), transparent 45%),
    linear-gradient(rgba(110, 238, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 238, 255, 0.045) 1px, transparent 1px),
    rgba(1, 7, 15, 0.42);
  background-size: auto, 46px 46px, 46px 46px, auto;
}

.pod-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}

.pod-lines path {
  fill: none;
  stroke: rgba(125, 255, 208, 0.28);
  stroke-width: 1.2;
  stroke-dasharray: 7 10;
}

.garden-pod {
  position: absolute;
  width: 178px;
  height: 154px;
  border: 0;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  transform: translate(-50%, -50%);
}

.pod-dish {
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 156px;
  height: 62px;
  transform: translateX(-50%);
  border: 1px solid rgba(125, 255, 208, 0.3);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(110, 238, 255, 0.2), rgba(4, 14, 26, 0.32) 60%, transparent 72%);
  box-shadow: 0 0 30px rgba(110, 238, 255, 0.12);
}

.garden-pod img {
  position: absolute;
  left: 50%;
  bottom: 40px;
  max-width: 118px;
  max-height: 112px;
  object-fit: contain;
  transform: translateX(-50%);
  filter: drop-shadow(0 0 22px rgba(110, 238, 255, 0.45));
  transition: transform 180ms ease, filter 180ms ease;
}

.garden-pod:hover img,
.garden-pod.is-selected img {
  transform: translateX(-50%) translateY(-8px) scale(1.06);
  filter: drop-shadow(0 0 32px rgba(255, 130, 215, 0.56));
}

.garden-pod.is-selected .pod-dish {
  border-color: rgba(255, 130, 215, 0.65);
  box-shadow: 0 0 42px rgba(255, 130, 215, 0.24);
}

.pod-label {
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 164px;
  padding: 7px 9px;
  transform: translateX(-50%);
  border: 1px solid rgba(110, 238, 255, 0.18);
  border-radius: var(--small-radius);
  background: rgba(3, 10, 20, 0.82);
  font-size: 12px;
  text-align: center;
}

.pod-label strong {
  display: block;
  margin-bottom: 2px;
}

.pod-label span {
  color: var(--muted);
}

.garden-pod.is-empty .pod-dish,
.garden-pod.is-locked .pod-dish {
  border-style: dashed;
  opacity: 0.64;
}

.empty-plus {
  position: absolute;
  left: 50%;
  bottom: 62px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  transform: translateX(-50%);
  border: 1px solid rgba(110, 238, 255, 0.32);
  border-radius: 50%;
  color: var(--mint);
  background: rgba(4, 13, 24, 0.86);
  box-shadow: 0 0 24px rgba(110, 238, 255, 0.14);
  font-size: 26px;
}

.garden-actions {
  justify-content: flex-start;
  padding: 0 20px 18px;
}

.selected-empty {
  display: grid;
  place-items: center;
  min-height: 360px;
  text-align: center;
  color: var(--muted);
}

.selected-card img {
  display: block;
  max-width: 190px;
  max-height: 170px;
  margin: 4px auto 16px;
  object-fit: contain;
  filter: drop-shadow(0 0 26px rgba(110, 238, 255, 0.44));
}

.selected-card h3 {
  margin-bottom: 6px;
  font-size: 25px;
}

.selected-card p {
  color: var(--muted);
  line-height: 1.55;
}

.detail-list {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
}

.detail-row strong {
  color: var(--text);
}

.selected-actions {
  display: grid;
  gap: 10px;
}

.selected-actions .primary-button,
.selected-actions .secondary-button {
  min-height: 40px;
}

.clear-button {
  border-color: rgba(255, 130, 215, 0.32);
  color: #ffc8ee;
}

.mission-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 22px;
  border-bottom: 1px solid rgba(110, 238, 255, 0.14);
  background: rgba(2, 8, 16, 0.28);
}

.mission-strip h2 {
  margin: 0;
  font-size: 22px;
}

.stage-chip {
  display: grid;
  justify-items: end;
  gap: 5px;
  padding: 10px 14px;
  border: 1px solid rgba(181, 150, 255, 0.28);
  border-radius: var(--small-radius);
  background: rgba(181, 150, 255, 0.08);
}

.stage-chip span {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.stage-chip strong {
  color: var(--mint);
}

.care-stage {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 0;
  overflow: hidden;
}

.plant-area {
  position: relative;
  display: grid;
  place-items: end center;
  min-height: 0;
  padding: 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 65%, rgba(110, 238, 255, 0.12), transparent 36%),
    linear-gradient(rgba(110, 238, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 238, 255, 0.045) 1px, transparent 1px);
  background-size: auto, 46px 46px, 46px 46px;
}

.plant-area img {
  position: relative;
  z-index: 2;
  display: block;
  width: min(430px, 68%);
  max-height: 330px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 24px rgba(110, 238, 255, 0.52))
    drop-shadow(0 0 52px rgba(255, 130, 215, 0.2));
  transform-origin: center bottom;
  animation: plantFloat 4.8s ease-in-out infinite;
}

@keyframes plantFloat {
  50% {
    transform: translateY(-9px) scale(1.015);
  }
}

.growth-ring {
  position: absolute;
  bottom: 42px;
  width: 430px;
  height: 138px;
  border: 1px solid rgba(125, 255, 208, 0.2);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(110, 238, 255, 0.18), transparent 68%);
}

.soil-glow {
  position: absolute;
  bottom: 54px;
  width: 380px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(125, 255, 208, 0.28), transparent 68%);
  filter: blur(14px);
}

.particle-field span,
.result-burst span {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 18px var(--mint);
  animation: drift 1.9s ease-out forwards;
}

@keyframes drift {
  to {
    opacity: 0;
    transform: translate(var(--dx), var(--dy)) scale(0.2);
  }
}

.care-bottom {
  display: grid;
  grid-template-columns: 230px 1fr auto;
  gap: 14px;
  padding: 13px 22px 15px;
  border-top: 1px solid rgba(110, 238, 255, 0.14);
}

.recognized-gesture,
.growth-meter {
  min-height: 58px;
  border: 1px solid rgba(110, 238, 255, 0.16);
  border-radius: var(--small-radius);
  background: rgba(2, 8, 16, 0.34);
}

.recognized-gesture {
  padding: 11px 14px;
}

.recognized-gesture span,
.growth-meter span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
}

.recognized-gesture strong {
  color: var(--cyan);
  font-size: 19px;
}

.growth-meter {
  display: grid;
  grid-template-columns: 80px 1fr 52px;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
}

.growth-meter span {
  margin: 0;
}

.meter-track,
.gauge-track {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(110, 238, 255, 0.12);
}

.meter-track i,
.gauge-track i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  box-shadow: 0 0 18px rgba(110, 238, 255, 0.54);
  transition: width 240ms ease;
}

.gesture-item {
  display: grid;
  grid-template-columns: 34px 1fr 26px;
  align-items: center;
  gap: 10px;
  padding: 10px;
}

.gesture-icon {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(110, 238, 255, 0.24), rgba(255, 130, 215, 0.2));
}

.gesture-item strong,
.gesture-item span {
  display: block;
}

.gesture-item strong {
  font-size: 13px;
}

.gesture-item span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.gesture-key {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #06101e;
  background: var(--cyan);
  font-size: 12px;
  font-weight: 800;
}

.keyboard-note {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(110, 238, 255, 0.14);
  color: var(--muted);
}

.keyboard-note strong {
  color: var(--mint);
}

.gauge-card {
  padding: 14px;
}

.gauge-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 11px;
}

.gauge-top strong {
  font-size: 14px;
}

.gauge-top span {
  color: var(--muted);
}

.camera-preview {
  position: relative;
  min-height: 178px;
  margin-top: 16px;
  overflow: hidden;
  resize: both;
  border: 1px solid rgba(255, 130, 215, 0.28);
  border-radius: var(--small-radius);
  background: rgba(1, 6, 12, 0.78);
}

.camera-preview video,
.camera-preview canvas,
.camera-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.camera-preview video,
.camera-preview canvas {
  object-fit: cover;
  transform: scaleX(-1);
}

.camera-preview canvas {
  z-index: 2;
}

.camera-grid {
  z-index: 3;
  opacity: 0.32;
  background:
    linear-gradient(rgba(110, 238, 255, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 238, 255, 0.13) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

.camera-copy {
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 47px;
  z-index: 4;
  padding: 10px;
  border: 1px solid rgba(110, 238, 255, 0.18);
  border-radius: var(--small-radius);
  background: rgba(1, 6, 12, 0.68);
}

.camera-copy strong,
.camera-copy span {
  display: block;
}

.camera-copy strong {
  color: var(--cyan);
  font-size: 13px;
}

.camera-copy span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.camera-button {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 4;
  min-height: 30px;
  padding: 0 10px;
  font-size: 12px;
}

.result-screen.is-active {
  display: grid;
  place-items: center;
}

.result-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(3px);
}

.result-card {
  position: relative;
  z-index: 1;
  width: min(620px, 58vw);
  padding: 28px;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 130, 215, 0.22), transparent 42%),
    rgba(7, 15, 30, 0.92);
  box-shadow: 0 0 120px rgba(110, 238, 255, 0.22), var(--shadow);
}

.result-plant-wrap {
  position: relative;
  display: grid;
  place-items: center;
  height: 260px;
}

.result-plant-wrap img {
  position: relative;
  z-index: 2;
  max-width: 300px;
  max-height: 240px;
  object-fit: contain;
  filter: drop-shadow(0 0 36px rgba(125, 255, 208, 0.78));
  animation: revealPlant 700ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes revealPlant {
  from {
    opacity: 0;
    transform: scale(0.84) translateY(20px);
  }
}

.result-burst {
  position: absolute;
  inset: 0;
}

.result-card h2 {
  margin-bottom: 16px;
  font-size: 40px;
}

.reward-list {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 22px;
}

.reward-list span {
  padding: 9px 12px;
  border: 1px solid rgba(110, 238, 255, 0.2);
  border-radius: var(--small-radius);
  color: var(--mint);
  background: rgba(2, 8, 16, 0.38);
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 16px;
}

.specimen-card {
  min-height: 360px;
  padding: 16px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 20%, rgba(181, 150, 255, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(17, 33, 59, 0.82), rgba(5, 11, 20, 0.9));
}

.specimen-image {
  display: grid;
  place-items: center;
  height: 190px;
  margin-bottom: 14px;
  border: 1px solid rgba(125, 255, 208, 0.14);
  border-radius: var(--small-radius);
  background: rgba(2, 8, 16, 0.35);
}

.specimen-image img {
  max-width: 92%;
  max-height: 174px;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(110, 238, 255, 0.46));
}

.specimen-card h3 {
  margin-bottom: 6px;
  font-size: 20px;
}

.specimen-card dl {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 8px 10px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.specimen-card dt {
  color: var(--cyan);
  font-weight: 800;
}

.specimen-card dd {
  margin: 0;
}

.empty-state {
  display: none;
  place-items: center;
  min-height: 420px;
  border: 1px solid rgba(110, 238, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(6, 16, 30, 0.48);
  text-align: center;
}

.empty-state.is-visible {
  display: grid;
}

.empty-orb {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.92), rgba(110, 238, 255, 0.38), transparent 72%);
  box-shadow: 0 0 42px rgba(110, 238, 255, 0.52);
}

.empty-state h3 {
  margin: 6px 0 2px;
}

.empty-state p {
  color: var(--muted);
}

@media (max-width: 1280px) {
  body {
    min-width: 1024px;
  }

  .garden-layout {
    grid-template-columns: 230px minmax(540px, 1fr) 280px;
  }

  .care-layout {
    grid-template-columns: 230px minmax(520px, 1fr) 260px;
  }

  .seed-grid {
    gap: 12px;
  }
}

/* Reference-inspired garden HUD */
.app-shell {
  padding: 14px 22px 18px;
}

.deep-space {
  opacity: 0.88;
  background-image:
    radial-gradient(circle at 12% 24%, rgba(77, 174, 255, 0.9) 0 1px, transparent 2px),
    radial-gradient(circle at 70% 17%, rgba(156, 89, 255, 0.85) 0 1px, transparent 2px),
    radial-gradient(circle at 82% 61%, rgba(104, 255, 221, 0.75) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(255, 255, 255, 0.68) 0 1px, transparent 1px),
    radial-gradient(circle, rgba(88, 194, 255, 0.52) 0 1px, transparent 1px),
    linear-gradient(145deg, #010206 0%, #030915 48%, #010208 100%);
  background-position: 0 0, 0 0, 0 0, 12px 18px, 64px 41px, 0 0;
  background-size: auto, auto, auto, 118px 118px, 176px 176px, auto;
}

.constellation {
  opacity: 0.34;
  background:
    radial-gradient(ellipse at 24% 72%, transparent 54%, rgba(80, 202, 255, 0.22) 55%, transparent 56%),
    radial-gradient(ellipse at 62% 46%, transparent 50%, rgba(149, 78, 255, 0.2) 51%, transparent 52%),
    linear-gradient(26deg, transparent 28%, rgba(87, 219, 255, 0.18) 28.1%, transparent 28.4%),
    linear-gradient(151deg, transparent 52%, rgba(183, 119, 255, 0.18) 52.1%, transparent 52.4%);
}

.topbar {
  position: relative;
  height: 64px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(95, 176, 255, 0.18);
}

.brand-button {
  min-width: 265px;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.brand-icon-wrap {
  width: 58px;
  height: 58px;
}

.brand-button .brand-title {
  font-family: var(--font-brand);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-button .brand-subtitle {
  font-size: 15px;
  letter-spacing: 0.28em;
}

.topnav {
  position: absolute;
  left: 400px;
  right: 16px;
  top: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(72px, 1fr)) 178px;
  gap: 0;
  height: 54px;
  padding: 0 22px;
  border: 1px solid rgba(110, 184, 255, 0.3);
  border-radius: 34px 10px 34px 10px;
  background:
    radial-gradient(ellipse at 12% 100%, rgba(51, 214, 255, 0.24), transparent 35%),
    linear-gradient(180deg, rgba(11, 24, 43, 0.84), rgba(1, 7, 16, 0.78));
  box-shadow: 0 0 34px rgba(58, 163, 255, 0.18), inset 0 0 28px rgba(103, 208, 255, 0.08);
}

.topnav::before,
.topnav::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 11px;
  height: 11px;
  transform: translateY(-50%) rotate(45deg);
  border: 1px solid rgba(131, 209, 255, 0.6);
  background: #071422;
}

.topnav::before {
  left: -5px;
}

.topnav::after {
  right: -5px;
}

.topnav button {
  justify-content: center;
  min-height: 52px;
  padding: 0;
  border: 0;
  border-radius: 0;
  border-left: 1px solid rgba(111, 167, 226, 0.12);
  color: #b7bfd6;
  background: transparent;
  box-shadow: none;
  font-size: 17px;
}

.topnav button:first-child {
  border-left: 0;
  color: #8fefff;
  text-shadow: 0 0 18px rgba(64, 215, 255, 0.95);
  background: radial-gradient(ellipse at 50% 100%, rgba(50, 214, 255, 0.44), transparent 62%);
}

.topnav button:hover {
  transform: none;
  color: #f3fbff;
}

.sound-toggle {
  font-size: 13px !important;
}

.coin-pill {
  position: static;
  min-width: 185px;
  justify-content: center;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 17px;
}

.coin-pill::before {
  content: "";
  width: 17px;
  height: 22px;
  margin-right: 8px;
  border-radius: 50% 50% 45% 45%;
  background: linear-gradient(180deg, #9ffaff, #367cff);
  box-shadow: 0 0 18px rgba(70, 178, 255, 0.8);
}

.screen {
  height: calc(100vh - 86px);
}

.garden-layout {
  grid-template-columns: 245px minmax(680px, 1fr) 330px;
  gap: 18px;
}

.glass-panel,
.garden-map-panel {
  border-color: rgba(96, 171, 255, 0.28);
  border-radius: 24px 8px 24px 8px;
  background:
    linear-gradient(180deg, rgba(10, 25, 45, 0.78), rgba(2, 8, 18, 0.74)),
    radial-gradient(circle at 50% 0, rgba(73, 174, 255, 0.1), transparent 50%);
  box-shadow: 0 0 42px rgba(30, 112, 206, 0.16), inset 0 0 30px rgba(67, 164, 255, 0.06);
}

.guide-panel {
  align-self: center;
  height: 430px;
  padding: 24px;
}

.panel-title {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(111, 190, 255, 0.16);
}

.panel-title h2 {
  color: #8fefff;
  font-size: 18px;
  font-weight: 700;
}

.panel-copy {
  margin-bottom: 24px;
  color: #a8b7d1;
  font-size: 13px;
}

.guide-steps {
  gap: 18px;
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(111, 190, 255, 0.12);
}

.guide-steps span {
  position: relative;
  display: grid;
  grid-template-columns: 28px 1fr 54px;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #9ca9c5;
}

.guide-steps span::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 1px solid rgba(126, 205, 255, 0.45);
  border-radius: 50%;
  box-shadow: inset 0 0 12px rgba(82, 186, 255, 0.16);
}

.guide-steps b {
  width: 44px;
  height: 34px;
  border: 1px solid rgba(112, 231, 255, 0.46);
  border-radius: 22px 22px 8px 8px;
  box-shadow: 0 0 14px rgba(74, 218, 255, 0.22);
}

.mini-gesture-list {
  display: none;
}

.garden-map-panel {
  position: relative;
  display: block;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.garden-map-heading {
  position: absolute;
  left: 28px;
  top: 8px;
  z-index: 4;
  width: calc(100% - 56px);
  padding: 0;
  pointer-events: none;
}

.garden-map-heading .eyebrow,
.garden-map-heading h2,
.garden-map-heading > p {
  opacity: 0;
}

.garden-map {
  position: absolute;
  inset: 0;
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 50% 4%, rgba(75, 165, 255, 0.18), transparent 12%),
    radial-gradient(circle at 50% 58%, rgba(90, 238, 255, 0.12), transparent 42%),
    radial-gradient(ellipse at 48% 60%, rgba(94, 58, 185, 0.17), transparent 58%),
    linear-gradient(rgba(88, 180, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88, 180, 255, 0.026) 1px, transparent 1px);
  background-size: auto, auto, auto, 60px 60px, 60px 60px;
}

.garden-map::before,
.garden-map::after {
  content: "";
  position: absolute;
  inset: 6% 8%;
  border-radius: 50%;
  border: 1px solid rgba(63, 185, 255, 0.16);
  transform: rotate(-12deg);
  pointer-events: none;
}

.garden-map::after {
  inset: 18% 18%;
  border-color: rgba(170, 92, 255, 0.16);
  transform: rotate(24deg);
}

.pod-lines {
  z-index: 1;
  opacity: 0.95;
  filter: drop-shadow(0 0 8px rgba(59, 202, 255, 0.62));
}

.pod-lines path {
  stroke-width: 1.8;
  stroke-dasharray: 1 10;
  stroke-linecap: round;
  stroke: rgba(68, 217, 255, 0.65);
}

#gardenPods {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.garden-pod {
  width: 230px;
  height: 210px;
  z-index: 3;
}

.pod-dish {
  bottom: 18px;
  width: 210px;
  height: 88px;
  border-color: rgba(83, 242, 236, 0.42);
  background:
    radial-gradient(ellipse at 50% 48%, rgba(85, 255, 239, 0.28), transparent 46%),
    radial-gradient(ellipse at 50% 52%, rgba(31, 71, 112, 0.58), rgba(4, 14, 30, 0.92) 62%, transparent 64%);
  box-shadow:
    0 0 34px rgba(65, 223, 255, 0.22),
    inset 0 0 28px rgba(117, 255, 232, 0.12);
}

.pod-dish::before {
  content: "";
  position: absolute;
  inset: -8px 12px 16px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(184, 224, 255, 0.18), transparent 60%);
  border: 1px solid rgba(164, 205, 255, 0.12);
}

.garden-pod img {
  bottom: 68px;
  max-width: 176px;
  max-height: 170px;
  filter:
    drop-shadow(0 0 18px rgba(90, 213, 255, 0.72))
    drop-shadow(0 0 46px rgba(108, 76, 255, 0.48));
}

.garden-pod:hover img,
.garden-pod.is-selected img {
  transform: translateX(-50%) translateY(-12px) scale(1.08);
  filter:
    drop-shadow(0 0 22px rgba(128, 242, 255, 0.9))
    drop-shadow(0 0 58px rgba(179, 91, 255, 0.7));
}

.garden-pod.is-selected .pod-dish {
  border-color: rgba(132, 255, 240, 0.78);
  box-shadow:
    0 0 36px rgba(69, 224, 255, 0.34),
    0 0 60px rgba(173, 85, 255, 0.22),
    inset 0 0 32px rgba(117, 255, 232, 0.18);
}

.pod-label {
  bottom: 6px;
  width: 142px;
  padding: 8px 10px 7px;
  border: 0;
  border-top: 1px solid rgba(124, 223, 255, 0.3);
  border-bottom: 1px solid rgba(166, 95, 255, 0.28);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(6, 18, 34, 0.72), rgba(0, 4, 12, 0.78));
  box-shadow: 0 0 20px rgba(32, 149, 255, 0.2);
}

.pod-label strong {
  color: #e9f8ff;
  font-size: 13px;
  text-shadow: 0 0 10px rgba(110, 238, 255, 0.68);
}

.pod-label span {
  display: block;
  color: #a7b5d2;
  font-size: 11px;
}

.pod-label em {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 4px;
  font-style: normal;
}

.pod-label i {
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
  border: 1px solid rgba(113, 160, 255, 0.62);
  background: rgba(30, 40, 80, 0.6);
}

.pod-label i.is-lit {
  background: linear-gradient(135deg, #5feaff, #a956ff);
  box-shadow: 0 0 10px rgba(151, 100, 255, 0.85);
}

.garden-pod.is-empty .pod-dish,
.garden-pod.is-locked .pod-dish {
  width: 180px;
  opacity: 0.72;
  border-color: rgba(140, 160, 210, 0.25);
  background:
    radial-gradient(ellipse, rgba(120, 140, 200, 0.14), rgba(2, 8, 19, 0.7) 64%, transparent 66%);
}

.empty-plus {
  bottom: 82px;
  width: 52px;
  height: 52px;
  color: #b9c6e8;
  border-color: rgba(159, 175, 218, 0.32);
  background: rgba(8, 13, 28, 0.88);
}

.garden-actions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  align-items: end;
  justify-content: space-between;
  padding: 0 4px 4px;
  pointer-events: none;
}

.garden-actions > * {
  pointer-events: auto;
}

.seed-orb-button {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  margin-left: 12px;
  border: 1px solid rgba(98, 185, 255, 0.42);
  border-radius: 50%;
  color: #dff8ff;
  background:
    radial-gradient(circle at 50% 52%, rgba(74, 187, 255, 0.22), transparent 48%),
    rgba(2, 8, 19, 0.72);
  box-shadow: 0 0 32px rgba(52, 147, 255, 0.25), inset 0 0 22px rgba(92, 220, 255, 0.12);
  cursor: pointer;
}

.seed-orb-button span {
  width: 42px;
  height: 42px;
  border-radius: 50% 50% 45% 45%;
  background:
    radial-gradient(circle at 50% 70%, rgba(125, 255, 208, 0.9) 0 12%, transparent 13%),
    linear-gradient(135deg, rgba(83, 227, 255, 0.8), rgba(88, 110, 255, 0.48));
  box-shadow: 0 0 20px rgba(87, 214, 255, 0.78);
}

.seed-orb-button strong {
  margin-top: 6px;
  font-size: 12px;
}

.garden-vitality,
.garden-mode-chip {
  display: grid;
  align-items: center;
  min-width: 360px;
  height: 52px;
  padding: 0 24px;
  border: 1px solid rgba(111, 184, 255, 0.26);
  border-radius: 28px 8px 28px 8px;
  background: rgba(3, 10, 22, 0.72);
  box-shadow: inset 0 0 22px rgba(83, 188, 255, 0.08);
}

.garden-vitality {
  grid-template-columns: auto auto 1fr;
  gap: 12px;
}

.garden-vitality span,
.garden-mode-chip span {
  color: #9cb0d0;
  font-size: 14px;
}

.garden-vitality strong,
.garden-mode-chip strong {
  color: #8cfaff;
}

.garden-vitality i {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(82, 139, 191, 0.3);
}

.garden-vitality b {
  display: block;
  width: 92%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #67efff, #8b68ff);
  box-shadow: 0 0 18px rgba(91, 221, 255, 0.7);
}

.garden-mode-chip {
  grid-template-columns: 1fr auto;
  min-width: 220px;
}

.garden-actions .secondary-button {
  min-height: 44px;
  background: rgba(2, 8, 18, 0.72);
}

.selected-panel {
  position: relative;
  padding: 22px 22px;
  border-radius: 30px 10px 30px 10px;
  overflow-y: auto;
}

.selected-panel::before,
.selected-panel::after {
  content: "";
  position: absolute;
  width: 66px;
  height: 66px;
  pointer-events: none;
}

.selected-panel::before {
  top: 8px;
  right: 8px;
  border-top: 1px solid rgba(116, 225, 255, 0.32);
  border-right: 1px solid rgba(116, 225, 255, 0.32);
  border-radius: 0 18px 0 0;
}

.selected-panel::after {
  left: 8px;
  bottom: 8px;
  border-left: 1px solid rgba(181, 150, 255, 0.3);
  border-bottom: 1px solid rgba(181, 150, 255, 0.3);
  border-radius: 0 0 0 18px;
}

.selected-card {
  position: relative;
}

.specimen-rank {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 14px;
  margin-bottom: 10px;
  border: 1px solid rgba(95, 155, 255, 0.36);
  border-radius: 18px;
  color: #9dc8ff;
  background: rgba(8, 15, 35, 0.7);
  font-size: 13px;
}

.selected-card img {
  max-width: 170px;
  max-height: 132px;
  margin-bottom: 8px;
  filter:
    drop-shadow(0 0 24px rgba(91, 220, 255, 0.8))
    drop-shadow(0 0 56px rgba(166, 91, 255, 0.48));
}

.selected-card h3 {
  margin-bottom: 8px;
  font-size: 25px;
  font-weight: 800;
}

.selected-card > p:not(.eyebrow) {
  display: none;
}

.stage-orbits {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin: 12px 0 12px;
}

.stage-orbits span {
  height: 24px;
  border: 1px solid rgba(84, 154, 213, 0.28);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(86, 226, 255, 0.12), transparent 44%),
    rgba(3, 10, 22, 0.7);
}

.stage-orbits span.is-lit {
  border-color: rgba(142, 90, 255, 0.75);
  box-shadow: 0 0 22px rgba(142, 90, 255, 0.3), inset 0 0 18px rgba(96, 239, 255, 0.16);
}

.progress-panel {
  margin-bottom: 12px;
}

.progress-panel div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 9px;
  color: #aebbd4;
  font-size: 13px;
}

.progress-panel strong {
  color: #d6efff;
}

.progress-panel i {
  display: block;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(71, 118, 170, 0.28);
}

.progress-panel b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8a62ff, #64efff);
  box-shadow: 0 0 16px rgba(106, 218, 255, 0.64);
}

.detail-list {
  gap: 6px;
  padding: 8px 0;
  border-top: 1px solid rgba(109, 176, 255, 0.14);
  border-bottom: 1px solid rgba(109, 176, 255, 0.14);
}

.trait-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0;
}

.care-checklist {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin: 10px 0;
}

.care-checklist span {
  padding: 6px 7px;
  border: 1px solid rgba(111, 176, 255, 0.2);
  border-radius: 12px;
  color: #8c98b5;
  background: rgba(5, 12, 26, 0.56);
  font-size: 11px;
  text-align: center;
}

.care-checklist span.is-done {
  color: #9fffe1;
  border-color: rgba(125, 255, 208, 0.45);
  box-shadow: 0 0 14px rgba(125, 255, 208, 0.16);
}

.trait-chips span {
  padding: 6px 10px;
  border: 1px solid rgba(113, 169, 255, 0.25);
  border-radius: 14px;
  color: #b7c4df;
  background: rgba(5, 12, 26, 0.68);
  font-size: 12px;
}

.quick-vault {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin: 10px 0 12px;
}

.quick-vault button {
  display: grid;
  place-items: center;
  height: 40px;
  border: 1px solid rgba(109, 176, 255, 0.24);
  border-radius: 8px;
  background: rgba(3, 10, 22, 0.72);
  cursor: pointer;
}

.quick-vault button.is-current {
  border-color: rgba(151, 91, 255, 0.72);
  box-shadow: 0 0 18px rgba(151, 91, 255, 0.22);
}

.quick-vault img {
  max-width: 38px;
  max-height: 40px;
  margin: 0;
}

/* Premium start screen */
.app-shell.is-intro {
  padding: 0;
}

.app-shell.is-intro .topbar {
  display: none;
}

.app-shell.is-intro .screen {
  height: 100vh;
}

.start-screen {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  background:
    radial-gradient(circle at 63% 44%, rgba(58, 166, 255, 0.22), transparent 19%),
    radial-gradient(circle at 72% 72%, rgba(114, 255, 226, 0.14), transparent 22%),
    radial-gradient(circle at 18% 78%, rgba(116, 69, 255, 0.18), transparent 24%),
    linear-gradient(105deg, rgba(0, 0, 0, 0.96), rgba(2, 8, 20, 0.94) 52%, rgba(1, 3, 9, 0.98));
}

.start-screen.is-active {
  display: block;
}

.start-stars {
  position: absolute;
  inset: 0;
  opacity: 0.78;
  background-image:
    radial-gradient(circle at 8% 18%, rgba(120, 220, 255, 0.95) 0 1px, transparent 2px),
    radial-gradient(circle at 68% 9%, rgba(113, 174, 255, 0.9) 0 1px, transparent 2px),
    radial-gradient(circle at 82% 78%, rgba(173, 106, 255, 0.85) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(255, 255, 255, 0.68) 0 1px, transparent 1px),
    linear-gradient(24deg, transparent 48%, rgba(73, 162, 255, 0.14) 48.2%, transparent 48.5%),
    linear-gradient(149deg, transparent 42%, rgba(157, 85, 255, 0.14) 42.2%, transparent 42.5%);
  background-size: auto, auto, auto, 124px 124px, auto, auto;
  pointer-events: none;
}

.start-logo {
  position: absolute;
  left: 56px;
  top: 42px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 22px;
}

.start-title {
  display: grid;
  color: #eef7ff;
  font-family: var(--font-brand);
  font-size: 48px;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.075em;
  text-shadow: 0 0 24px rgba(163, 202, 255, 0.46);
}

.start-title span:last-child {
  font-size: 78px;
  letter-spacing: 0.12em;
}

.start-logo small {
  display: block;
  margin-top: 12px;
  color: #b7c4e0;
  font-family: var(--font-brand);
  font-size: 18px;
  letter-spacing: 0.42em;
}

.start-main-copy {
  position: absolute;
  left: 78px;
  top: 355px;
  z-index: 4;
  max-width: 665px;
}

.start-main-copy h1 {
  margin-bottom: 28px;
  color: #dff7ff;
  font-family: "Noto Serif KR", var(--display-font);
  font-size: 52px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.08em;
  white-space: nowrap;
  text-shadow: 0 0 20px rgba(87, 218, 255, 0.72), 0 0 36px rgba(167, 105, 255, 0.38);
}

.start-main-copy h1::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 22px;
  background: linear-gradient(90deg, transparent, rgba(119, 213, 255, 0.8), rgba(166, 90, 255, 0.65), transparent);
}

.start-main-copy p {
  margin-left: 120px;
  color: #c0cadf;
  font-size: 21px;
  line-height: 1.72;
}

.gesture-orb {
  position: absolute;
  left: 258px;
  bottom: 170px;
  z-index: 4;
  display: grid;
  justify-items: center;
  gap: 8px;
  width: 250px;
  color: #bfcde8;
  text-align: center;
}

.gesture-orb strong {
  color: #9fefff;
}

.gesture-orb small {
  color: #8d9ab7;
  font-size: 12px;
}

.start-screen.gesture-detected .gesture-orb strong {
  filter: drop-shadow(0 0 26px rgba(122, 255, 226, 0.9));
}

.alien-garden-hero {
  position: absolute;
  left: 45%;
  top: 50%;
  z-index: 3;
  width: 760px;
  height: 720px;
  transform: translate(-40%, -45%);
  pointer-events: none;
}

.hero-holo-ring {
  position: absolute;
  left: 50%;
  top: 4%;
  width: 560px;
  height: 150px;
  transform: translateX(-50%);
  border: 1px solid rgba(80, 167, 255, 0.32);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(69, 174, 255, 0.22), transparent 68%);
  box-shadow: 0 0 60px rgba(69, 174, 255, 0.3), inset 0 0 34px rgba(114, 217, 255, 0.12);
}

.hero-holo-ring::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 45%;
  width: 1px;
  height: 420px;
  background: linear-gradient(rgba(108, 219, 255, 0.7), transparent);
  box-shadow:
    -140px 28px 0 rgba(108, 219, 255, 0.18),
    132px 20px 0 rgba(171, 96, 255, 0.2);
}

.hero-pedestal {
  position: absolute;
  left: 50%;
  bottom: 70px;
  width: 680px;
  height: 180px;
  transform: translateX(-50%);
  border: 1px solid rgba(105, 223, 255, 0.28);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(113, 255, 228, 0.28), transparent 45%),
    radial-gradient(ellipse at 50% 65%, rgba(33, 66, 120, 0.78), rgba(0, 5, 16, 0.92) 63%, transparent 65%);
  box-shadow: 0 0 58px rgba(71, 190, 255, 0.26), inset 0 0 50px rgba(147, 90, 255, 0.16);
}

.hero-plant {
  position: absolute;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(91, 225, 255, 0.8)) drop-shadow(0 0 56px rgba(159, 88, 255, 0.5));
  animation: heroFloat 5.6s ease-in-out infinite;
}

@keyframes heroFloat {
  50% {
    transform: translateY(-12px) scale(1.025);
  }
}

.hero-glowbloom {
  left: 252px;
  top: 120px;
  width: 300px;
  z-index: 4;
}

.hero-sporemoss {
  right: 68px;
  bottom: 116px;
  width: 210px;
  z-index: 3;
  animation-delay: -1.3s;
}

.hero-lunarleaf {
  left: 92px;
  bottom: 118px;
  width: 210px;
  z-index: 3;
  animation-delay: -2s;
}

.hero-jellyflora {
  right: 122px;
  top: 245px;
  width: 160px;
  z-index: 2;
  animation-delay: -0.8s;
}

.hero-starlightvine {
  left: 232px;
  bottom: 28px;
  width: 190px;
  z-index: 2;
  animation-delay: -2.8s;
}

.start-info-panel,
.camera-status-card,
.tip-card {
  position: absolute;
  z-index: 5;
  border: 1px solid rgba(125, 177, 255, 0.3);
  border-radius: 30px 8px 30px 8px;
  background:
    linear-gradient(180deg, rgba(9, 21, 42, 0.74), rgba(1, 6, 16, 0.78)),
    radial-gradient(circle at 50% 0, rgba(111, 190, 255, 0.13), transparent 58%);
  box-shadow: 0 0 42px rgba(54, 134, 255, 0.16), inset 0 0 24px rgba(102, 210, 255, 0.06);
  backdrop-filter: blur(20px);
}

.start-info-panel {
  right: 78px;
  top: 162px;
  width: 300px;
  min-height: 365px;
  padding: 42px 32px;
  text-align: center;
}

.start-info-panel h2 {
  color: #dcd4ff;
  font-family: "Noto Serif KR", var(--display-font);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.start-info-panel h2::after {
  content: "";
  display: block;
  width: 170px;
  height: 1px;
  margin: 22px auto;
  background: linear-gradient(90deg, transparent, rgba(180, 143, 255, 0.78), transparent);
}

.start-info-panel p {
  color: #bcc6db;
  font-size: 17px;
  line-height: 1.85;
}

.info-plant-line {
  display: block;
  width: 110px;
  height: 88px;
  margin: 24px auto 0;
  border-bottom: 1px solid rgba(104, 226, 255, 0.45);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 20%, rgba(110, 238, 255, 0.9) 0 5%, transparent 6%),
    linear-gradient(90deg, transparent 49%, rgba(110, 238, 255, 0.7) 50%, transparent 51%);
  filter: drop-shadow(0 0 18px rgba(110, 238, 255, 0.5));
}

.camera-status-card {
  right: 76px;
  bottom: 54px;
  width: 315px;
  padding: 18px 22px 20px;
}

.camera-status-card > strong {
  display: block;
  margin-bottom: 12px;
  color: #cfe7ff;
}

.start-camera-preview {
  position: relative;
  height: 142px;
  overflow: hidden;
  border: 1px solid rgba(159, 207, 255, 0.42);
  border-radius: 8px;
  background: rgba(2, 9, 23, 0.8);
}

.start-camera-preview video,
.start-camera-preview canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}

.start-camera-preview canvas {
  z-index: 2;
}

.preview-silhouette {
  position: absolute;
  inset: 18px 78px 0;
  border: 1px dashed rgba(94, 160, 255, 0.45);
  border-radius: 48% 48% 0 0;
  opacity: 0.6;
}

.camera-status-card p {
  margin: 12px 0 0;
  color: #b8c5df;
  font-size: 14px;
}

.tip-card {
  left: 76px;
  bottom: 46px;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 410px;
  min-height: 80px;
  padding: 13px 22px;
  border-radius: 999px 12px 12px 999px;
}

.tip-card span {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(105, 220, 255, 0.38);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 70%, rgba(125, 255, 208, 0.9) 0 8%, transparent 9%),
    radial-gradient(circle, rgba(58, 174, 255, 0.22), transparent 68%);
  box-shadow: 0 0 22px rgba(74, 200, 255, 0.22);
}

.tip-card p {
  margin: 0;
  color: #b8c5df;
  font-size: 15px;
  line-height: 1.5;
}

.tip-card strong {
  margin-right: 8px;
  color: #e8f5ff;
  letter-spacing: 0.08em;
}

/* Stabilized start screen layout */
.start-screen {
  display: none;
  grid-template-columns: minmax(280px, 0.8fr) minmax(520px, 1.4fr) minmax(300px, 0.8fr);
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
}

.start-screen.is-active {
  display: grid;
}

.start-logo {
  left: 52px;
  top: 42px;
  z-index: 8;
}

.start-icon-wrap {
  width: 86px;
  height: 86px;
}

.start-title {
  display: block;
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0.08em;
}

.start-title span:last-child {
  font-size: inherit;
  letter-spacing: inherit;
}

.start-logo small {
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: 0.28em;
}

.start-center-content {
  position: relative;
  z-index: 7;
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 34px;
  padding: 150px 360px 160px;
  text-align: center;
  pointer-events: none;
}

.start-main-copy {
  position: static;
  max-width: 900px;
}

.start-main-copy h1 {
  margin: 0 0 24px;
  font-size: 58px;
  line-height: 1.18;
  letter-spacing: 0.04em;
  white-space: normal;
}

.start-main-copy h1::after {
  width: min(680px, 100%);
  margin: 22px auto 0;
}

.start-main-copy p {
  margin: 0;
  color: #c7d2e8;
  font-size: 20px;
  line-height: 1.75;
}

.gesture-orb {
  position: static;
  z-index: 8;
  width: min(320px, 100%);
  pointer-events: auto;
}

.alien-garden-hero {
  left: 50%;
  top: 54%;
  z-index: 1;
  width: 760px;
  height: 620px;
  opacity: 0.5;
  transform: translate(-50%, -42%);
}

.hero-holo-ring {
  opacity: 0.65;
}

.hero-pedestal {
  opacity: 0.72;
}

.hero-plant {
  opacity: 0.78;
}

.start-info-panel {
  display: none;
}

.camera-status-card {
  right: 42px;
  bottom: 38px;
  z-index: 9;
  width: 300px;
  padding: 18px;
}

.camera-status-card h2 {
  margin: 0 0 6px;
  color: #dff7ff;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 800;
}

.camera-status-card > strong {
  margin-bottom: 10px;
  color: #8fefff;
  font-size: 13px;
}

.start-camera-preview {
  height: 132px;
}

.tip-card {
  left: 42px;
  bottom: 42px;
  z-index: 9;
  width: 390px;
}

.start-screen.gesture-detected .gesture-orb strong {
  filter: drop-shadow(0 0 28px rgba(122, 255, 226, 0.95));
}

/* Simplified start cue and stronger plant background */
.start-screen {
  isolation: isolate;
}

.start-stars {
  z-index: 0;
}

.start-center-content {
  z-index: 5;
}

.start-main-copy {
  z-index: 5;
}

.gesture-orb {
  z-index: 6;
}

.gesture-start-cue {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(150px, 13vw, 210px);
  min-height: clamp(150px, 13vw, 210px);
  margin: 0 auto 12px;
  border: 0;
  background: none;
  box-shadow: none;
  outline: 0;
}

.gesture-orb::before,
.gesture-orb::after {
  border: 0;
  background: none;
  box-shadow: none;
  outline: 0;
}

.hand-open-icon {
  position: static;
  display: block;
  width: clamp(120px, 12vw, 190px);
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 0 12px rgba(80, 220, 255, 0.78))
    drop-shadow(0 0 28px rgba(120, 90, 255, 0.42));
  animation: handPulse 2.2s ease-in-out infinite;
}

.hand-icon-placeholder {
  display: grid;
  place-items: center;
  width: clamp(120px, 12vw, 190px);
  aspect-ratio: 1;
  color: rgba(210, 246, 255, 0.84);
  font-family: var(--display-font);
  font-size: 15px;
  text-align: center;
  filter: drop-shadow(0 0 16px rgba(80, 220, 255, 0.62));
}

.start-screen.gesture-detected .gesture-start-cue,
.start-screen.gesture-detected .gesture-start-cue::after {
  border: 0;
  background: none;
  box-shadow: none;
  animation: none;
}

.start-screen.gesture-detected .hand-open-icon {
  animation: handPulse 520ms ease-out infinite;
}

@keyframes handPulse {
  0%,
  100% {
    transform: scale(1);
    filter:
      drop-shadow(0 0 12px rgba(80, 220, 255, 0.75))
      drop-shadow(0 0 26px rgba(120, 90, 255, 0.35));
  }

  50% {
    transform: scale(1.08);
    filter:
      drop-shadow(0 0 18px rgba(100, 235, 255, 0.95))
      drop-shadow(0 0 38px rgba(160, 100, 255, 0.55));
  }
}

.alien-garden-hero {
  left: 50%;
  top: 56%;
  z-index: 1;
  width: min(1180px, 82vw);
  height: min(760px, 72vh);
  opacity: 0.78;
  transform: translate(-50%, -46%);
  pointer-events: none;
}

.hero-holo-ring {
  opacity: 0.28;
}

.hero-pedestal {
  opacity: 0.46;
}

.hero-plant {
  opacity: 0.78;
  filter:
    drop-shadow(0 0 20px rgba(70, 210, 255, 0.56))
    drop-shadow(0 0 42px rgba(150, 90, 255, 0.42));
  animation: startPlantFloat 5.8s ease-in-out infinite;
}

.hero-glowbloom {
  left: 22%;
  top: -1%;
  width: clamp(360px, 30vw, 560px);
}

.hero-sporemoss {
  right: 5%;
  bottom: 9%;
  width: clamp(300px, 24vw, 470px);
  animation-delay: -1.3s;
}

.hero-lunarleaf {
  left: 5%;
  bottom: 10%;
  width: clamp(300px, 25vw, 480px);
  animation-delay: -2s;
}

.hero-jellyflora {
  right: 18%;
  top: 14%;
  width: clamp(210px, 17vw, 340px);
  opacity: 0.72;
  animation-delay: -0.8s;
}

.hero-starlightvine {
  left: 36%;
  bottom: 4%;
  width: clamp(260px, 21vw, 420px);
  opacity: 0.74;
  animation-delay: -2.8s;
}

@keyframes startPlantFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(0, -16px, 0) scale(1.025);
  }
}

.camera-status-card,
.tip-card {
  z-index: 7;
}
