:root {
  --ink: #07131c;
  --ink-2: #0c2230;
  --panel: rgba(8, 32, 44, 0.78);
  --line: rgba(126, 226, 216, 0.28);
  --cyan: #6eefe6;
  --cyan-deep: #14b8b4;
  --gold: #e4b15a;
  --rose: #f0b7c4;
  --text: #e8f7f5;
  --muted: #8eafb6;
  --amber: #ff8a2a;
  --serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --num: "Bahnschrift", "DIN Alternate", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  color: var(--text);
  font-family: var(--sans);
  background:
    radial-gradient(980px 560px at 72% 8%, rgba(46, 150, 158, 0.2), transparent 62%),
    radial-gradient(760px 520px at 12% 92%, rgba(176, 126, 54, 0.14), transparent 58%),
    #050b10;
}
button, input, textarea { font: inherit; color: inherit; }
button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
}
button:disabled { cursor: default; opacity: 0.55; }
input, textarea { -webkit-appearance: none; appearance: none; }

.stage {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  padding: 28px;
}

.brief { width: 280px; color: #d5ece9; }
.brief-mark {
  margin: 0;
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: 0.42em;
  color: var(--gold);
}
.brief-en {
  margin: 6px 0 0;
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--cyan);
}
.brief h1 {
  margin: 22px 0 0;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.25;
}
.brief-lead {
  margin: 14px 0 0;
  color: #b7c9c8;
  font-size: 14px;
  line-height: 1.75;
}
.brief-nav { margin-top: 22px; display: grid; gap: 8px; }
.brief-nav button {
  text-align: left;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid rgba(126, 226, 216, 0.16);
  background: rgba(8, 24, 32, 0.45);
  color: #d7efec;
  letter-spacing: 0.06em;
}
.brief-nav button.on,
.brief-nav button:hover {
  border-color: rgba(228, 177, 90, 0.7);
  color: var(--gold);
}
.brief-foot {
  margin: 22px 0 0;
  color: #8aa3a8;
  font-size: 12px;
  line-height: 1.7;
}

.phone {
  width: 390px;
  height: min(844px, calc(100dvh - 36px));
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  background: var(--ink);
  border: 1px solid rgba(140, 226, 218, 0.28);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.46),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.screen { height: 100%; position: relative; }
.glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 18% 8%, rgba(80, 220, 210, 0.16), transparent 28%),
    radial-gradient(circle at 86% 92%, rgba(212, 164, 84, 0.12), transparent 26%),
    radial-gradient(1.2px 1.2px at 12% 18%, rgba(255,255,255,.75), transparent),
    radial-gradient(1px 1px at 28% 32%, rgba(255,255,255,.45), transparent),
    radial-gradient(1.2px 1.2px at 74% 14%, rgba(255,255,255,.7), transparent),
    radial-gradient(1px 1px at 82% 28%, rgba(255,255,255,.4), transparent),
    radial-gradient(1px 1px at 64% 42%, rgba(255,255,255,.35), transparent),
    radial-gradient(1.2px 1.2px at 18% 62%, rgba(255,255,255,.5), transparent),
    radial-gradient(1px 1px at 88% 58%, rgba(255,255,255,.45), transparent),
    radial-gradient(1px 1px at 40% 78%, rgba(255,255,255,.35), transparent),
    radial-gradient(1.2px 1.2px at 70% 70%, rgba(255,255,255,.55), transparent);
}
.scroll {
  position: relative;
  z-index: 1;
  height: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.scroll::-webkit-scrollbar { width: 0; height: 0; }
.scroll.service,
.scroll.orders { overflow: hidden; display: flex; flex-direction: column; }

.page {
  padding: max(16px, env(safe-area-inset-top)) 16px calc(28px + env(safe-area-inset-bottom));
}
.page.form,
.page.result,
.page.report,
.page.music,
.page.analyze { padding-right: 42px; }

.rail {
  position: absolute;
  right: 0;
  z-index: 5;
  width: 34px;
  padding: 12px 0;
  border: 1px solid rgba(126, 226, 216, 0.38);
  border-right: 0;
  border-radius: 12px 0 0 12px;
  background: rgba(7, 28, 38, 0.92);
  color: #dff8f5;
  letter-spacing: 0.14em;
  writing-mode: vertical-rl;
  font-size: 12px;
}
.rail svg { width: 14px; height: 14px; margin-bottom: 6px; display: block; }
.rail-order { top: 24%; }
.rail-service { top: 48%; }
.rail:active { background: rgba(20, 70, 78, 0.95); }

.brand { display: flex; justify-content: center; }
.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(126, 226, 216, 0.35);
  background: rgba(10, 40, 48, 0.55);
  color: var(--cyan);
  font-size: 13px;
  letter-spacing: 0.08em;
}
.brand-pill svg { width: 14px; height: 14px; color: var(--gold); }

.title {
  margin: 18px 0 0;
  text-align: center;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.2;
  background: linear-gradient(180deg, #f8fffe 10%, #9ae8e2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sub {
  margin: 8px 0 0;
  text-align: center;
  color: #9ec9c8;
  font-size: 13px;
  letter-spacing: 0.12em;
}
.rule {
  width: 118px;
  height: 1px;
  margin: 12px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.tabs {
  margin: 16px 0 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.tab {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(126, 226, 216, 0.28);
  background: rgba(6, 22, 32, 0.55);
  color: #d5efec;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.tab svg { width: 14px; height: 14px; }
.tab.on {
  border-color: transparent;
  background: linear-gradient(180deg, #1ec4c8, #0e8f98);
  color: #f4fffe;
  box-shadow: 0 8px 18px rgba(14, 160, 168, 0.28);
}
.orbit[data-theme="love"] .tab.on,
.tab.on.love {
  background: linear-gradient(180deg, #d98aa3, #9a4d66);
  box-shadow: 0 8px 18px rgba(168, 80, 104, 0.28);
}
.tab.on.career {
  background: linear-gradient(180deg, #e0b15a, #b9832e);
  color: #1c1408;
  box-shadow: 0 8px 18px rgba(196, 148, 64, 0.28);
}

.orbit {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 8px auto 0;
}
.orbit svg.chart { width: 100%; height: 100%; display: block; }
.ring { fill: none; stroke: rgba(110, 239, 230, 0.28); stroke-width: 1; }
.ring.dim { stroke-dasharray: 3 5; opacity: 0.7; }
.ray { stroke: rgba(110, 239, 230, 0.12); stroke-width: 1; }
.ray.on { stroke: rgba(228, 177, 90, 0.85); }
.dot { fill: #6eefe6; }
.dot.on { fill: var(--gold); }
.core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 132px;
  height: 132px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(40, 140, 160, 0.45), rgba(6, 24, 36, 0.92) 68%);
  border: 1px solid rgba(126, 226, 216, 0.35);
  box-shadow: inset 0 0 24px rgba(80, 210, 206, 0.18), 0 0 30px rgba(20, 120, 130, 0.18);
}
.core strong {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.12em;
  font-weight: 600;
}
.core span { margin-top: 4px; font-size: 11px; color: #c9efeb; letter-spacing: 0.08em; }
.core em {
  margin-top: 3px;
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.14em;
  color: #8eb8b8;
}
.orbit[data-theme="love"] .core strong { color: var(--rose); }
.orbit[data-theme="career"] .core strong { color: var(--gold); }
.node {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 72px;
  padding: 0;
  background: none;
  border: 0;
  text-align: center;
  z-index: 2;
}
.node b {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #e7f6f4;
}
.node small { display: block; margin-top: 1px; color: #8eb4b6; font-size: 10px; }
.node.on b { color: var(--gold); }

.mentor {
  margin: 4px 8px 0;
  text-align: center;
  color: #d5ece8;
  font-size: 14px;
  letter-spacing: 0.06em;
}
.ticker {
  margin: 14px auto 0;
  max-width: 320px;
  min-height: 32px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(8, 36, 52, 0.8);
  border: 1px solid rgba(126, 226, 216, 0.2);
  color: #d7f3ef;
  font-size: 12px;
  text-align: center;
  line-height: 1.45;
}
.ticker b { color: var(--gold); font-weight: 600; }
.count-label {
  margin: 16px 0 8px;
  text-align: center;
  color: #c5ddd9;
  font-size: 13px;
}
.digits { display: flex; justify-content: center; align-items: flex-end; gap: 6px; }
.digit {
  width: 32px;
  height: 40px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #16323a, #0b1c26);
  border: 1px solid rgba(126, 226, 216, 0.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  color: var(--gold);
  font-family: var(--num);
  font-size: 22px;
  font-weight: 600;
}
.digits i {
  font-style: normal;
  margin: 0 2px 4px;
  color: #d7efeb;
  font-size: 14px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 48px;
  margin-top: 16px;
  border: 0;
  border-radius: 999px;
  letter-spacing: 0.18em;
  font-weight: 700;
  font-size: 16px;
}
.btn.amber {
  color: #fff8f2;
  background: linear-gradient(180deg, #ffb15a 0%, #ff7a1a 58%, #f06412 100%);
  box-shadow: 0 10px 24px rgba(255, 122, 26, 0.32);
}
.btn.cyan {
  color: #042226;
  background: linear-gradient(180deg, #8ff6f0, #1ec4c4);
  box-shadow: 0 10px 24px rgba(30, 196, 196, 0.28);
}
.btn.ghost {
  background: transparent;
  color: var(--cyan);
  border: 1px solid rgba(126, 226, 216, 0.35);
  letter-spacing: 0.08em;
  font-weight: 500;
}
.btn.slim { min-height: 40px; margin-top: 10px; font-size: 14px; }
.btn:active { transform: translateY(1px); }
.textlink {
  display: block;
  margin: 14px auto 0;
  background: none;
  border: 0;
  color: #8eb8b8;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.fine {
  margin: 12px 4px 0;
  color: #7f9ea4;
  font-size: 11px;
  line-height: 1.65;
  text-align: center;
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 10px;
  padding: 4px 0;
  background: none;
  border: 0;
  color: #b7d8d6;
  font-size: 13px;
}
.panel {
  border-radius: 18px;
  padding: 16px 14px 18px;
  background: linear-gradient(180deg, rgba(16, 48, 62, 0.78), rgba(7, 22, 32, 0.86));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 16px 40px rgba(0,0,0,.22);
}
.panel h2 {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: 0.06em;
}
.panel h2 svg { width: 18px; height: 18px; color: var(--gold); }
.en {
  margin: 6px 0 14px;
  text-align: center;
  color: #8eb4b8;
  font-size: 11px;
  letter-spacing: 0.16em;
}
.field {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 14px;
  border: 1px solid rgba(126, 226, 216, 0.28);
  background: rgba(4, 16, 24, 0.42);
}
.field-k {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #c5e4e1;
  white-space: nowrap;
  font-size: 14px;
}
.field-k svg, .ico { width: 16px; height: 16px; flex: none; }
.field input, .field select {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  text-align: right;
}
.field input::placeholder { color: #6f9096; }
.pickbtn { color: #d7efec; }
.pickbtn.placeholder { color: #6f9096; }
.seg {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.seg button {
  min-height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(126, 226, 216, 0.2);
  background: rgba(8, 24, 34, 0.4);
  color: #cfe7e4;
}
.seg button.on {
  border-color: transparent;
  color: #042226;
  background: linear-gradient(180deg, #8ff6f0, #1aa8b4);
  font-weight: 700;
}
.lab {
  margin: 14px 2px 8px;
  color: var(--cyan);
  font-size: 13px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(126, 226, 216, 0.22);
  background: rgba(8, 28, 38, 0.7);
  color: #d5eeeb;
  font-size: 13px;
}
.chip.on {
  border-color: rgba(110, 239, 230, 0.8);
  color: #042226;
  background: linear-gradient(180deg, #bffff8, #3dccc4);
  font-weight: 650;
}
.tagbox {
  margin-top: 10px;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(126, 226, 216, 0.22);
  color: #d7efec;
  font-size: 14px;
}
.area {
  width: 100%;
  min-height: 108px;
  margin-top: 8px;
  padding: 12px;
  resize: vertical;
  border-radius: 14px;
  border: 1px solid rgba(126, 226, 216, 0.28);
  background: rgba(4, 16, 24, 0.35);
  outline: none;
  line-height: 1.65;
}
.area::placeholder { color: #6f9096; }
.examples {
  margin: 8px 2px 0;
  color: #e0b56a;
  font-size: 12px;
  line-height: 1.65;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 14px;
  padding: 0;
  background: none;
  border: 0;
  text-align: left;
  color: #d5ece8;
  font-size: 13px;
  line-height: 1.55;
}
.check i {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  flex: none;
  border-radius: 4px;
  border: 1px solid rgba(126, 226, 216, 0.5);
  background: rgba(4, 18, 26, 0.5);
}
.check.on i {
  background: var(--cyan-deep);
  border-color: var(--cyan);
  box-shadow: inset 0 0 0 2px #07343a;
}
.check em {
  font-style: normal;
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.err {
  margin: 6px 4px 0;
  color: #ffb4a2;
  font-size: 12px;
}
.hide { display: none; }
.legal {
  margin: 12px 2px 0;
  color: #8aa8ae;
  font-size: 11px;
  line-height: 1.7;
}
.hintrow {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}
.hintrow span { color: #8eb4b4; font-size: 12px; }

.pill-status {
  width: fit-content;
  margin: 6px auto 0;
  padding: 6px 14px 8px;
  border-radius: 999px;
  background: rgba(10, 40, 52, 0.85);
  border: 1px solid rgba(126, 226, 216, 0.25);
  color: var(--cyan);
  font-size: 13px;
  letter-spacing: 0.08em;
}
.pill-status i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.analyze-title {
  margin: 22px 0 0;
  text-align: center;
  font-size: 20px;
  letter-spacing: 0.08em;
}
.analyze-en {
  margin: 6px 0 16px;
  text-align: center;
  color: #8eb4b8;
  font-size: 11px;
  letter-spacing: 0.12em;
}
.yun-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.yun {
  min-height: 0;
  padding: 8px 2px 7px;
  border-radius: 14px;
  border: 1px solid rgba(126, 226, 216, 0.16);
  background: rgba(8, 26, 36, 0.55);
  color: #d7eeeb;
  text-align: center;
}
.yun svg { width: 18px; height: 18px; color: var(--gold); }
.yun b { display: block; margin-top: 4px; font-size: 11px; font-weight: 600; line-height: 1.25; }
.yun small { display: block; margin-top: 2px; color: #89aeb4; font-size: 9px; line-height: 1.3; }
.yun.on {
  border-color: rgba(110, 239, 230, 0.85);
  box-shadow: 0 0 16px rgba(40, 200, 196, 0.28);
  background: rgba(12, 58, 66, 0.72);
}
.summary { margin-top: 16px; }
.summary h3 {
  margin: 0 0 10px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14px;
  font-weight: 600;
}
.summary h3 em {
  font-style: normal;
  color: #8eb4b8;
  font-size: 11px;
  letter-spacing: 0.12em;
}
.sum-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid rgba(126, 226, 216, 0.12);
  font-size: 14px;
}
.sum-k { color: #b7d4d2; }
.sum-v { text-align: right; }
.gold { color: var(--gold); }
.matrix {
  margin: 18px 0 0;
  text-align: center;
  color: #7f9ea6;
  letter-spacing: 0.16em;
  font-size: 11px;
}

.music-card { margin-top: 14px; position: relative; overflow: hidden; }
.music-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.music-head h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.04em;
}
.kbps {
  flex: none;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(126, 226, 216, 0.3);
  color: #c9efeb;
  font-size: 11px;
}
.wave {
  height: 74px;
  margin: 16px 8px 8px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
}
.wave i {
  width: 4px;
  height: 18px;
  border-radius: 4px;
  background: linear-gradient(180deg, #d8fffb, #1ec4c4);
  opacity: 0.85;
  transform-origin: center bottom;
}
.wave.on i { animation: bar 1.05s ease-in-out infinite; }
.wave i:nth-child(odd) { height: 28px; }
.wave i:nth-child(3n) { height: 42px; }
.wave i:nth-child(4n) { height: 22px; }
.wave i:nth-child(5n) { height: 50px; }
@keyframes bar {
  0%, 100% { transform: scaleY(0.45); }
  50% { transform: scaleY(1); }
}
.wave i:nth-child(2) { animation-delay: .1s; }
.wave i:nth-child(3) { animation-delay: .2s; }
.wave i:nth-child(4) { animation-delay: .05s; }
.wave i:nth-child(5) { animation-delay: .18s; }
.wave i:nth-child(6) { animation-delay: .28s; }
.wave i:nth-child(7) { animation-delay: .12s; }
.wave i:nth-child(8) { animation-delay: .22s; }
.shield-wrap {
  width: 92px;
  height: 92px;
  margin: -18px auto 8px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(126, 226, 216, 0.2);
  background: radial-gradient(circle, rgba(16, 48, 60, 0.2), rgba(6, 18, 28, 0.2));
}
.shield-wrap svg { width: 28px; height: 28px; color: var(--gold); }
.lock-note {
  margin: 8px 8px 0;
  text-align: center;
  color: #d5ece8;
  font-size: 13px;
  line-height: 1.7;
}
.foot-brand {
  margin-top: 18px;
  text-align: center;
  color: #8aa6ac;
  font-size: 11px;
  line-height: 1.7;
}
.foot-brand strong { display: block; color: #b7d0cc; font-weight: 500; }

.ribbon {
  margin: 0 0 10px;
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(228, 177, 90, 0.12);
  border: 1px solid rgba(228, 177, 90, 0.35);
  color: var(--gold);
  font-size: 12px;
  line-height: 1.5;
}
.report-name {
  margin: 4px 0 0;
  text-align: center;
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: 0.14em;
}
.seal {
  display: block;
  margin-top: 6px;
  text-align: center;
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: 0.16em;
}
.quote {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-left: 2px solid var(--gold);
  color: #e7f4f1;
  font-size: 14px;
  line-height: 1.7;
  background: rgba(228, 177, 90, 0.06);
}
.block { margin-top: 14px; }
.block h3 {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--cyan);
}
.block p {
  margin: 6px 0 0;
  color: #d7eeeb;
  font-size: 14px;
  line-height: 1.75;
}
.thread { margin-top: 8px; display: grid; gap: 10px; }
.step {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
  align-items: start;
}
.step i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(20, 80, 88, 0.8);
  border: 1px solid rgba(126, 226, 216, 0.4);
  color: var(--cyan);
  font-style: normal;
  font-family: var(--num);
  font-size: 12px;
}
.step p { margin: 0; font-size: 14px; line-height: 1.65; }

.sheet-layer { position: absolute; inset: 0; z-index: 20; pointer-events: none; }
.sheet-layer.on { pointer-events: auto; }
.sheet-mask {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 12, 0.62);
  display: flex;
  align-items: flex-end;
}
.sheet {
  width: 100%;
  max-height: 78%;
  overflow: auto;
  padding: 10px 16px calc(18px + env(safe-area-inset-bottom));
  border-radius: 22px 22px 0 0;
  background: #0c1e28;
  border-top: 1px solid rgba(126, 226, 216, 0.28);
}
.sheet-grip {
  width: 42px;
  height: 4px;
  margin: 2px auto 12px;
  border-radius: 4px;
  background: rgba(180, 220, 218, 0.35);
}
.sheet h3 { margin: 0 0 8px; text-align: center; font-size: 16px; letter-spacing: 0.08em; }
.ymd { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; height: 240px; }
.col { overflow: auto; border-radius: 12px; background: rgba(4, 16, 24, 0.45); }
.col::-webkit-scrollbar { width: 0; }
.pick {
  width: 100%;
  padding: 10px 0;
  background: none;
  border: 0;
  color: #b7d0cc;
  font-size: 15px;
}
.pick.on { color: var(--gold); font-weight: 700; background: rgba(228, 177, 90, 0.08); }
.hour-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 8px;
  border: 0;
  border-bottom: 1px solid rgba(126, 226, 216, 0.1);
  background: none;
  font-size: 15px;
}
.hour-row.on { color: var(--gold); }
.sheet p { color: #c5e0dc; font-size: 14px; line-height: 1.7; }

.subhead {
  padding: max(14px, env(safe-area-inset-top)) 16px 10px;
}
.subhead h2 { margin: 8px 0 0; font-family: var(--serif); font-size: 26px; letter-spacing: 0.12em; }
.subhead p { margin: 6px 0 0; color: #8eb4b4; font-size: 12px; line-height: 1.6; }
.search {
  display: flex;
  gap: 8px;
  padding: 0 16px 10px;
}
.search input {
  flex: 1;
  min-width: 0;
  height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(126, 226, 216, 0.28);
  background: rgba(4, 16, 24, 0.45);
  outline: none;
}
.search button {
  flex: none;
  padding: 0 14px;
  border-radius: 12px;
  border: 0;
  background: linear-gradient(180deg, #8ff6f0, #1aa8b4);
  color: #042226;
  font-weight: 700;
}
.list { flex: 1; overflow: auto; padding: 0 16px 20px; }
.order {
  margin-top: 10px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(126, 226, 216, 0.18);
  background: rgba(8, 28, 40, 0.72);
}
.order b { display: block; font-size: 15px; }
.order span { display: block; margin-top: 4px; color: #9dbec2; font-size: 12px; line-height: 1.55; }
.tag-demo {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 999px;
  color: var(--gold);
  border: 1px solid rgba(228, 177, 90, 0.45);
  font-size: 11px;
  font-weight: 500;
}
.empty { margin-top: 18px; text-align: center; color: #8aa6ac; font-size: 13px; }

.quick { display: flex; gap: 8px; overflow: auto; padding: 0 16px 8px; }
.quick button {
  flex: none;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(126, 226, 216, 0.25);
  background: rgba(8, 28, 38, 0.7);
  color: #d7efec;
  font-size: 12px;
}
.chat { flex: 1; overflow: auto; padding: 4px 16px 8px; display: flex; flex-direction: column; gap: 8px; }
.bubble {
  max-width: 86%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.65;
}
.bubble.bot {
  align-self: flex-start;
  background: rgba(12, 40, 50, 0.9);
  border: 1px solid rgba(126, 226, 216, 0.16);
}
.bubble.me {
  align-self: flex-end;
  background: linear-gradient(180deg, #1a8f98, #0e6e78);
}
.composer {
  display: flex;
  gap: 8px;
  padding: 8px 16px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(126, 226, 216, 0.12);
}
.composer input {
  flex: 1;
  min-width: 0;
  height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(126, 226, 216, 0.28);
  background: rgba(4, 16, 24, 0.45);
  outline: none;
}
.composer button {
  flex: none;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: var(--gold);
  color: #1c1408;
  font-weight: 700;
}
.atlas-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding: 14px 12px;
  text-align: left;
  border-radius: 14px;
  border: 1px solid rgba(126, 226, 216, 0.18);
  background: rgba(8, 28, 40, 0.66);
}
.atlas-row b { display: block; font-family: var(--serif); font-size: 16px; letter-spacing: 0.08em; font-weight: 600; }
.atlas-row span { display: block; margin-top: 4px; color: #8eb4b4; font-size: 12px; }
.atlas-row em { font-style: normal; color: var(--gold); font-size: 12px; letter-spacing: 0.12em; }
.doc h3 { margin: 16px 0 0; font-size: 15px; color: var(--gold); }
.doc p { margin: 6px 0 0; color: #d5ece8; font-size: 14px; line-height: 1.75; }

.boom {
  position: fixed;
  z-index: 99;
  left: 12px;
  right: 12px;
  bottom: 12px;
  color: #fff8f4;
  background: #8e2e2a;
  padding: 12px;
  white-space: pre-wrap;
  font: 13px/1.5 sans-serif;
}

@media (max-width: 860px) {
  body { overflow: hidden; }
  .stage { height: 100dvh; padding: 0; display: block; }
  .brief { display: none; }
  .phone {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pill-status i, .wave.on i { animation: none; }
}
