@font-face {
  font-family: Jura;
  src: url("assets/jura-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1a2744;
  --muted: #5d6b82;
  --dim: #8b97a8;
  --line: rgba(26, 39, 68, 0.1);
  --card: #fff;
  --page: #fff;
  --enter: #1a2744;
  --on-btn: #fff;
  --ice: #e7eef6;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html {
  background: #fff;
  min-height: 100%;
}
html:has(.hero) { background: #e5eef5; }
body {
  font: 14px/21px -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC", sans-serif;
  color: var(--muted);
  min-height: 100vh;
  min-height: 100dvh;
  background-color: #fff;
  background-image: linear-gradient(180deg, #e5eef5 0, rgba(255, 255, 255, 0) 275px);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
}
@media (prefers-reduced-motion: reduce) {
  .dy-scrim,
  .dy-auth { animation: none; }
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }

.phone {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: calc(12px + env(safe-area-inset-top, 0px)) 16px max(41px, env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  background: transparent;
}
.back {
  width: 24px;
  height: 24px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  flex: none;
  line-height: 0;
}
.back img { display: block; }
.bar {
  position: relative;
  display: flex;
  align-items: center;
  height: 46px;
  margin: 0 0 16px;
  flex: none;
}
.back-slot { width: 24px; height: 24px; flex: none; }
.bar-title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: calc(100% - 72px);
  margin: 0;
  overflow: hidden;
  font-size: 20px;
  font-weight: 600;
  line-height: 26px;
  color: var(--ink);
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
  pointer-events: none;
}
.bar-title.lg {
  font-size: 20px;
  font-weight: 600;
  line-height: 26px;
}
.bar > .wordmark {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: Jura, sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
  color: #000;
}
.wordmark svg {
  width: 28px;
  height: auto;
  aspect-ratio: 588 / 403;
  display: block;
  flex-shrink: 0;
}
.kicker, .step {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 24px;
  letter-spacing: 0.5px;
  color: var(--dim);
}
h1, h2, strong, b { color: var(--ink); }
h1 { font-size: 16px; font-weight: 500; line-height: 22px; margin: 0 0 8px; }
h2 { font-size: 16px; font-weight: 600; line-height: 22px; margin: 0 0 8px; }
.sub { margin: 0 0 16px; font-size: 13px; line-height: 24px; letter-spacing: 0.5px; color: var(--muted); }
.fine { margin: 8px 0 12px; font-size: 13px; line-height: 24px; letter-spacing: 0.5px; color: var(--dim); }
p { margin: 0 0 8px; }
.hero { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.hero .kicker { position: relative; margin: 0 0 6px; font-size: 12px; line-height: 20px; letter-spacing: 0.16em; color: var(--muted); }
.hero h1 {
  position: relative;
  margin: 0 0 16px;
  font-size: 46px;
  line-height: 56px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--ink);
}
.phone > .btn { margin-top: auto; }
.portrait-frame { margin: 0 0 16px; }
.hero .portrait-frame {
  position: absolute;
  top: calc(-8px - 6dvh);
  right: -16px;
  bottom: -8px;
  left: -16px;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(ellipse 62% 40% at 56% 40%, rgba(196, 214, 234, 0.75), rgba(229, 238, 245, 0) 72%);
  -webkit-mask-image: linear-gradient(180deg, #000 58%, rgba(0, 0, 0, 0.6) 70%, transparent 88%);
  mask-image: linear-gradient(180deg, #000 58%, rgba(0, 0, 0, 0.6) 70%, transparent 88%);
}
.hero .portrait {
  width: auto;
  max-width: none;
  height: 108%;
  transform: translateX(2%);
  background: transparent;
}
.hero .hero-tags { display: flex; gap: 0; align-items: center; margin: 0; font-size: 14px; letter-spacing: 0.18em; color: var(--muted); }
.hero .hero-tags span { padding: 0 14px; }
.hero .hero-tags span:first-child { padding-left: 0; }
.hero .hero-tags span + span { border-left: 1px solid rgba(26, 39, 68, 0.22); }
.phone:has(.hero) > .btn { box-shadow: 0 10px 24px rgba(26, 39, 68, 0.16); }
.phone > .hero { position: relative; flex: 1; justify-content: flex-end; min-height: 0; }
.hero .kicker,
.hero h1,
.hero .hero-tags { position: relative; z-index: 1; }
.phone > .hero ~ .btn { margin-top: 24px; }
html:has(.hero) { background: #fff; }
.phone:has(.hero) {
  background:
    linear-gradient(158deg, #e5eef5 8%, rgba(229, 238, 245, 0) 48%) left top / 100% 275px no-repeat,
    linear-gradient(338deg, #e5eef5 8%, rgba(229, 238, 245, 0) 48%) right bottom / 100% 275px no-repeat,
    #fff;
}
.phone:has(.hero) > .bar { gap: 8px; }

html:has(.sym-head) { background: #fbfbfb; }
.phone:has(.sym-head) { background: #fbfbfb; }
.sym-head { margin: 10px 0 0; }
.sym-date { margin: 0; font-size: 12px; line-height: 12px; font-weight: 600; color: #aeaeb2; white-space: pre; }
.sym-head h1 { margin: 16px 0 0; font-size: 22px; line-height: 24px; font-weight: 600; color: #000; }
.sym-sec { margin: 20px 0 12px; font-family: Inter, system-ui, sans-serif; font-size: 18px; line-height: 24px; font-weight: 600; color: #000; }
.cosmo-grid { display: flex; flex-direction: column; gap: 12px; }
.cosmo-card {
  position: relative;
  display: block;
  width: 100%;
  height: 132px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  background: #fff;
  text-align: left;
  color: #111;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.16s ease-out;
}
.cosmo-card::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  width: 196px;
  height: 100%;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.88) 16%, rgba(255, 255, 255, 0.4) 36%, rgba(255, 255, 255, 0) 58%);
  pointer-events: none;
}
.cosmo-card::after { content: ""; position: absolute; z-index: 3; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06); pointer-events: none; }
.cosmo-card:active { transform: scale(0.98); }
.cosmo-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 196px;
  height: 100%;
  object-fit: cover;
}
.cosmo-text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: calc(100% - 132px);
  height: 100%;
  padding: 14px 16px;
}
.cosmo-kind { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.04em; color: #3c7a94; }
.cosmo-name { margin-top: 2px; overflow: hidden; font-size: 18px; line-height: 24px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.cosmo-desc { margin-top: 2px; overflow: hidden; font-size: 13px; line-height: 18px; color: #6b6b70; white-space: nowrap; text-overflow: ellipsis; }
.phone > .hero { align-items: center; text-align: center; }
.phone > .hero h1 { margin: 0 0 9px; font-size: 36px; line-height: 56px; }
.phone > .hero .hero-tags { justify-content: center; }
.phone > .hero ~ .btn { align-self: center; width: 251px; max-width: 100%; margin-top: 19px; font-weight: 700; }
.portrait {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  border: 0;
  border-radius: 0;
  background: #fff;
}
.login-mod { margin-top: 0; }
.login-mod input.line {
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  padding: 8px 0 12px;
  font-size: 16px;
  color: var(--ink);
}
.phone-row {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  border-bottom: 1px solid var(--ink);
}
.phone-row input.line {
  flex: 1;
  width: auto;
  min-width: 0;
  border-bottom: 0;
}
.dial {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: none;
  padding: 8px 0 12px;
  color: var(--dim);
  font-size: 16px;
  line-height: 22px;
}
.dial svg { display: block; flex: none; }
.sms-get {
  flex: none;
  margin: 0;
  padding: 8px 0 12px;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
  white-space: nowrap;
}
.sms-get:disabled { opacity: 0.5; }
.sms-get.wait:disabled { opacity: 1; color: var(--dim); }
.login-mod input.box {
  background: #eef1f4;
  border-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.login-mod .btn { margin-top: 8px; }
.login-douyin {
  margin-top: auto;
  padding-top: 28px;
  text-align: center;
}
.dy-mark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 0 auto 12px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 14px;
  line-height: 20px;
}
.dy-mark svg { display: block; }
.phone.dy-on {
  padding: 0;
}
.dy-behind {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: calc(12px + env(safe-area-inset-top, 0px)) 16px max(41px, env(safe-area-inset-bottom, 0px));
  pointer-events: none;
}
.dy-scrim {
  position: fixed;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.45);
  animation: dy-fade 0.22s ease;
}
.dy-auth {
  position: absolute;
  z-index: 3;
  left: 16px;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  max-height: calc(100% - 72px);
  overflow: auto;
  padding: 4px 16px 16px;
  border-radius: 16px;
  background: #fff;
  color: #161823;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  animation: dy-pop 0.22s ease;
}
@keyframes dy-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes dy-pop {
  from { opacity: 0; transform: translateY(-46%) scale(0.96); }
  to { opacity: 1; transform: translateY(-50%) scale(1); }
}
.dy-nav { position: relative; display: flex; align-items: center; height: 44px; flex: none; }
.dy-nav h1 {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 24px;
  color: #161823;
}
.dy-x {
  width: 44px;
  height: 44px;
  margin-left: -12px;
  padding: 0;
  border: 0;
  background: none;
  color: #161823;
}
.dy-ask {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 8px;
  align-items: center;
  margin-top: 22px;
}
.dy-app {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
}
.dy-ask p { margin: 0; font-size: 15px; line-height: 22px; color: #161823; }
.dy-ask b { font-weight: 600; }
.dy-detail { border: 0; background: none; padding: 0; color: #8a8b91; font-size: 14px; line-height: 20px; }
.dy-scope {
  margin: 8px 0 0 36px;
  font-size: 17px;
  font-weight: 600;
  line-height: 24px;
  color: #161823;
}
.dy-note { margin: 8px 0 0 36px; font-size: 13px; line-height: 20px; color: #8a8b91; }
.dy-line { height: 1px; margin: 16px 0; background: rgba(22, 24, 35, 0.08); }
.dy-label { margin: 0 0 12px; font-size: 13px; line-height: 18px; color: #8a8b91; }
.dy-account {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 8px;
  background: #f5f5f5;
  color: #161823;
  font-size: 16px;
  font-weight: 500;
}
.dy-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #d8d8d8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='16' r='6' fill='%23fff'/%3E%3Cpath fill='%23fff' d='M8 34c1.6-6 6-9 12-9s10.4 3 12 9'/%3E%3C/svg%3E") center / 40px 40px no-repeat;
}
.dy-foot { margin-top: 20px; }
.dy-agree {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 16px;
  color: #161823;
  font-size: 12px;
  line-height: 18px;
}
.dy-agree input {
  appearance: none;
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  border: 1px solid #c8c8c8;
  border-radius: 50%;
  background: #fff;
  flex: none;
}
.dy-agree input:checked {
  border-color: #fe2c55;
  background: #fe2c55 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.4 2.4L12 5.2' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}
.dy-agree > span { white-space: nowrap; }
.dy-link { color: #fe2c55; }
.dy-actions { display: flex; gap: 12px; }
.dy-cancel, .dy-ok {
  flex: 1;
  height: 44px;
  border: 0;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
}
.dy-cancel { background: #f2f2f2; color: #161823; }
.dy-ok { background: #fe2c55; color: #fff; }
.dy-switch {
  display: block;
  width: 100%;
  margin-top: 14px;
  border: 0;
  background: none;
  color: #8a8b91;
  font-size: 13px;
  line-height: 18px;
}

.btn, .ghost {
  width: 100%;
  border: 0;
  background: transparent;
}
.btn {
  height: 50px;
  border-radius: 16px;
  background: var(--enter);
  color: var(--on-btn);
  font-size: 16px;
  font-weight: 600;
}
.btn:disabled {
  opacity: 0.5;
  cursor: default;
}
.btn.sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: auto;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 14px;
}
.btn.sm svg { flex: none; display: block; }
.btn.sm:has(> svg) { padding: 0 15px 0 13px; }
.ghost { height: 44px; color: var(--muted); margin-top: 8px; font-size: 14px; }
label.field {
  display: block;
  margin: 14px 0 8px;
  font-size: 13px;
  line-height: 24px;
  letter-spacing: 0.5px;
  color: var(--muted);
}
input.line, input.box, select.box, textarea.box {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  line-height: 21px;
  padding: 14px 16px;
  outline: none;
}
input.box, select.box, textarea.box,
.card, .blocked, .routine, article, .order, .plan-when, .ask-chip, .q-card, .q-skip {
  background: rgba(255, 255, 255, 0.46);
  border-color: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.card input.box,
.card select.box,
.card textarea.box {
  background: #eef1f4;
  border-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
::placeholder { color: var(--dim); }
textarea.box { min-height: 74px; resize: vertical; }
.check {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 16px 0;
  font-size: 13px;
  line-height: 24px;
  letter-spacing: 0.5px;
  color: var(--muted);
}
.check input {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  margin-top: 4px;
  flex: none;
  border: 1px solid #c5ced8;
  border-radius: 3px;
  background: #fff;
}
.check input:checked {
  border: 0;
  background: url("assets/check.svg") center / 16px 16px no-repeat;
}

.opt {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  width: 100%;
  margin-top: 12px;
  padding: 16px;
  border-radius: 4px;
  border: 1px solid transparent;
  background: #eef1f4;
  color: var(--ink);
  font-size: 14px;
  line-height: 21px;
  text-align: left;
}
.opt .k { flex: none; min-width: 28px; font-weight: 600; }
.q-head { margin: 0; }
.q-head p { margin: 0; }
.q-head b { font-size: 20px; font-weight: 600; line-height: 24px; letter-spacing: 0.5px; color: var(--ink); }
.q-head span { font-size: 14px; line-height: 21px; color: var(--dim); font-weight: 400; }
.q-mod { margin: 12px 0 0; }
.q-track {
  width: 100%;
  height: 6px;
  margin-top: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  overflow: hidden;
}
.q-track i { display: block; height: 100%; border-radius: 999px; background: var(--ink); }
.q-card {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(26, 39, 68, 0.06);
}
.q-opts { display: flex; flex-direction: column; gap: 12px; }
.q-opts .opt { margin-top: 0; }
.q-card .qtext {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}
.q-tag {
  flex: none;
  margin-top: 3px;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--ice);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: 0.5px;
}
.q-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
}
.q-skip {
  flex: 1;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}
.q-actions .btn { flex: 2; width: auto; margin: 0; }
.opt .box {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border: 1px solid rgba(0, 0, 0, 0.22);
  border-radius: 4px;
  background: #fff;
}
.opt.on { background: #edf1f8; border-color: #8e9cb8; }
.opt.on .box {
  border-color: var(--ink);
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.2l2.6 2.6L12.5 4.8' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
}
.opt + .btn { margin-top: 16px; }
.qtext { margin: 0 0 16px; font-size: 16px; font-weight: 600; line-height: 26px; color: var(--ink); }
.q-hint { display: block; margin-top: 4px; color: var(--dim); font-weight: 400; font-size: 13px; line-height: 20px; }
.ghost:disabled { opacity: 0.5; }
.q { margin-top: 16px; }
.q p { margin: 0 0 4px; color: var(--ink); font-weight: 500; }

.card, .blocked, .routine, article, .order {
  border: 1px solid rgba(26, 39, 68, 0.06);
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(26, 39, 68, 0.06);
}
.card { padding: 16px 12px 12px; }
.card .btn { margin-top: 16px; }
.blocked { padding: 20px; margin-top: 12px; }
.blocked p { margin: 0; }

article { padding: 20px; margin: 0 0 12px; }
.chips { margin: 10px 0; }
.chips i {
  display: inline-block;
  margin: 0 6px 6px 0;
  padding: 4px 8px;
  border-radius: 2px;
  background: var(--ice);
  color: var(--ink);
  font-style: normal;
  font-size: 12px;
  line-height: 18px;
}
.plan-sum { margin: 4px 0 16px; padding: 0 4px; }
.plan-hero { display: flex; align-items: center; gap: 8px; }
.plan-face { flex: none; width: 36px; height: 36px; color: #16325c; }
.plan-face svg { display: block; width: 36px; height: 36px; }
.plan-sub { margin: 0; font-size: 16px; line-height: 24px; font-weight: 600; color: var(--ink); }
.result .plan-who { margin: 4px 0 0; font-size: 13px; line-height: 21px; color: var(--muted); }
.plan-k {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 12px;
  line-height: 20px;
  letter-spacing: 0.08em;
  color: var(--dim);
}
.plan-card {
  margin: 0 0 12px;
  padding: 16px;
  border: 1px solid rgba(26, 39, 68, 0.06);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(26, 39, 68, 0.06);
}
.plan-i { flex: none; display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; color: var(--ink); }
.plan-i svg { display: block; width: 20px; height: 20px; }
.plan-notes { margin: 24px 0 24px; padding: 0 4px; }
.note-idea { padding-left: 12px; border-left: 2px solid #24508a; }
.note-idea-v { margin: 4px 0 0; font-size: 15px; line-height: 24px; font-weight: 600; color: var(--ink); }
.note-tips { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.note-tips ul { list-style: none; margin: 6px 0 0; padding: 0; }
.note-tips li { position: relative; padding-left: 14px; font-size: 13px; line-height: 21px; color: var(--muted); }
.note-tips li + li { margin-top: 4px; }
.note-tips li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 4px; height: 4px; border-radius: 50%; background: var(--dim); }
.plan-when-h { display: flex; align-items: center; gap: 12px; }
.result .plan-when-t { margin: 0; font-size: 16px; line-height: 20px; font-weight: 600; color: var(--ink); }
.plan-steps { list-style: none; margin: 14px 0 0; padding: 0; }
.plan-steps li { display: grid; grid-template-columns: 20px minmax(0, 1fr); column-gap: 12px; align-items: start; }
.plan-steps li + li { margin-top: 12px; }
.plan-steps .n {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ice);
  color: var(--ink);
  font-size: 11px;
  line-height: 20px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.plan-steps em { display: block; font-style: normal; font-size: 12px; line-height: 20px; letter-spacing: 0.06em; color: var(--dim); }
.plan-steps p { margin: 0; font-size: 15px; line-height: 22px; font-weight: 500; color: var(--ink); }
.plan-steps p:only-child { margin-top: -1px; }
.result .chips { margin: 0; }
.result .chips i {
  color: var(--ink);
  font-size: 14px;
  line-height: 20px;
}

.me {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 10px;
  align-items: center;
  padding-bottom: 8px;
}
.face { width: 48px; height: 48px; object-fit: cover; border: 1px solid var(--line); border-radius: 50%; background: #eee; }
.me p { margin: 0; font-size: 13px; line-height: 24px; letter-spacing: 0.5px; color: var(--dim); }
.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 4px 0 16px;
}
.tabs button {
  position: relative;
  border: 0;
  background: transparent;
  color: var(--dim);
  padding: 10px 0 14px;
  font-size: 16px;
  line-height: 22px;
  font-weight: 500;
}
.tabs button.on { color: var(--ink); font-weight: 700; }
.tabs button.on::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--ink);
  transform: translateX(-50%);
}
.order { padding: 16px; margin-top: 12px; }
.order-main {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: center;
}
.order-name {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.order-name b { font-size: 15px; line-height: 22px; }
.order-st { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; line-height: 22px; font-weight: 600; color: #24508a; }
.order-st.done { color: var(--dim); font-weight: 500; }
.order-st i, .van-st i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.order .fine { margin: 6px 0 0; }
.van-time { display: inline-flex; align-items: center; gap: 6px; }
.van-time .plan-i, .order .van-time .plan-i { width: 14px; height: 14px; color: var(--dim); }
.van-time .plan-i svg, .order .van-time .plan-i svg { width: 14px; height: 14px; }
.thumb {
  width: 64px;
  height: 64px;
  border: 1px solid rgba(26, 39, 68, 0.12);
  border-radius: 12px;
  overflow: hidden;
  background: #f4f7fb;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  display: block;
}
.linkish {
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 8px 0 0;
  font-size: 14px;
  line-height: 21px;
}
.kit-note {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.kit-note img { width: 36px; height: 36px; object-fit: cover; border-radius: 50%; }
.kit-note p { margin: 0; color: var(--muted); font-size: 13px; line-height: 20px; }
.kit-note .btn.sm { margin: 0; white-space: nowrap; }
article > .btn.sm { margin-top: 12px; }
.vanity-plan { margin: 0 0 8px; }
.vanity-tip { margin: 0 0 12px; }
.mine-card .fine { margin: 4px 0 0; }
.match { flex: none; padding: 2px 8px; border-radius: 999px; font-size: 12px; line-height: 18px; font-weight: 500; }
.match.ok { background: #e6f2ec; color: #2f6b4f; }
.match.warn { background: #fbefe2; color: #9a5a1c; }
.match.wait { background: var(--ice); color: var(--muted); }
.mine-card .vanity-head .btn.sm { flex: none; }
.match-why { margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--line); color: var(--ink); font-size: 14px; line-height: 22px; }
.vanity-add {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0 0 12px;
  padding: 16px;
  border: 1px solid rgba(26, 39, 68, 0.06);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(26, 39, 68, 0.06);
  text-align: left;
  color: var(--ink);
}
.vanity-add:active { transform: scale(0.99); }
.add-plus { flex: none; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ice); color: #24508a; }
.add-plus svg { display: block; }
.add-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.add-txt b { font-size: 15px; line-height: 22px; font-weight: 600; }
.add-txt span { margin-top: 2px; font-size: 12px; line-height: 18px; color: var(--dim); }
.add-sheet { position: fixed; inset: 0; z-index: 20; display: flex; flex-direction: column; justify-content: flex-end; }
.add-sheet[hidden] { display: none; }
.sheet-scrim { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: rgba(15, 23, 42, 0.4); animation: dy-fade 0.22s ease; }
.sheet {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 480px;
  min-height: min(560px, 72dvh);
  max-height: calc(100dvh - 12px);
  margin: 0 auto;
  padding: 10px 20px max(24px, calc(20px + env(safe-area-inset-bottom, 0px)));
  overflow-y: auto;
  border-radius: 20px 20px 0 0;
  background: #fff;
  box-shadow: 0 -8px 32px rgba(26, 39, 68, 0.12);
  animation: sheet-up 0.26s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes sheet-up { from { transform: translateY(100%); } to { transform: none; } }
.sheet-grab { display: block; width: 36px; height: 4px; margin: 0 auto 12px; border-radius: 2px; background: rgba(26, 39, 68, 0.14); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sheet-head h2 { margin: 0; font-size: 17px; line-height: 24px; font-weight: 600; color: var(--ink); }
.sheet-x { flex: none; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin-right: -6px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--muted); }
.sheet-sub { margin: 4px 0 20px; font-size: 13px; line-height: 20px; color: var(--dim); }
.add-shot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 168px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: #f2f5f8;
  color: #24508a;
}
.add-shot-empty { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.add-shot-empty b { font-size: 16px; line-height: 22px; font-weight: 600; color: var(--ink); }
.add-shot-empty span { font-size: 13px; line-height: 18px; color: var(--dim); }
.add-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.add-shot-redo { display: none; }
.add-shot.has .add-shot-empty { display: none; }
.add-shot.has .add-shot-redo {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(26, 39, 68, 0.72);
  color: #fff;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
}
.sheet-or { margin: 18px 0 10px; font-size: 13px; line-height: 18px; color: var(--dim); text-align: center; }
.sheet-name {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  outline: 0;
  background: #f2f5f8;
  color: var(--ink);
  font-size: 16px;
}
.sheet-name::placeholder { color: var(--dim); }
.sheet-name:focus { box-shadow: inset 0 0 0 1.5px #24508a; }
.sheet .btn { width: 100%; margin-top: auto; }
@media (prefers-reduced-motion: reduce) { .sheet, .sheet-scrim { animation: none; } }
.mine-id { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mine-photo { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: none; display: block; background: #f3f5f8; }
.skin-head { margin: 4px 4px 14px; }
.skin-title { display: flex; align-items: center; gap: 8px; }
.skin-title .plan-face,
.skin-title .plan-face svg { width: 32px; height: 32px; }
.skin-head h2 { margin: 0; font-size: 16px; line-height: 22px; font-weight: 600; }
.skin-kicker { margin: 0 0 4px; font-size: 12px; line-height: 18px; letter-spacing: 0.18em; color: var(--dim); }
.skin-head .skin-state { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 20px; }
.skin-goal { margin: 0; padding-left: 12px; border-left: 2px solid #24508a; color: var(--ink); font-size: 14px; line-height: 22px; font-weight: 500; }
.skin-block { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.skin-file .plan-when-t { margin: 0; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink); }
.skin-file .plan-steps p { font-size: 14px; font-weight: 400; }
.skin-file .plan-steps { margin-top: 12px; }
.skin-file .plan-steps li { grid-template-columns: 16px minmax(0, 1fr); column-gap: 10px; }
.skin-file .plan-steps .n { width: 16px; height: 16px; margin-top: 2px; font-size: 10px; line-height: 16px; }
.skin-when { margin: 0 0 12px; font-size: 13px; line-height: 18px; letter-spacing: 0.14em; color: var(--muted); font-weight: 600; }
.skin-steps { list-style: none; margin: 0; padding: 0; }
.skin-steps li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; margin: 0 0 12px; }
.skin-steps li:last-child { margin: 0; }
.skin-steps span { color: var(--dim); font-size: 12px; line-height: 18px; font-variant-numeric: tabular-nums; }
.skin-steps em { display: block; margin: 0; font-style: normal; font-size: 12px; line-height: 18px; letter-spacing: 0.06em; color: var(--dim); }
.skin-steps p { margin: 0; color: var(--ink); font-size: 15px; line-height: 22px; }
.archive-plan { margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); }
.archive-plan .plan-when { border: 0; box-shadow: none; background: #f6f8fb; padding: 12px; }
.archive-plan .plan-when:last-child { margin-bottom: 0; }
.vanity-plan .fine { margin: 4px 0 0; }
.vanity-card { cursor: default; }
.van-meta { display: flex; align-items: center; gap: 14px; margin: 8px 0 0; font-size: 13px; line-height: 18px; }
.van-st { display: inline-flex; align-items: center; gap: 6px; color: #24508a; font-weight: 600; }
.van-st.done { color: var(--dim); font-weight: 500; }
.van-id { margin: 2px 0 0; }
.use-row { display: grid; grid-template-columns: 20px minmax(0, 1fr); column-gap: 12px; align-items: start; margin-top: 12px; }
.use-row .plan-k { margin: 0; line-height: 20px; }
.use-row p { margin: 2px 0 0; font-size: 14px; line-height: 22px; color: var(--ink); }
.vanity-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.vanity-head b { min-width: 0; }
.vanity-head .btn.sm {
  flex: none;
  height: 28px;
  margin: 0;
  padding: 0 11px 0 9px;
  gap: 4px;
  font-size: 13px;
  font-weight: 500;
  background: #e7eef6;
  color: #24508a;
  box-shadow: none;
}
.vanity-head .btn.sm svg { width: 14px; height: 14px; }
.me .btn.sm { box-shadow: 0 6px 16px rgba(26, 39, 68, 0.16); }
.vanity-card .kit-note { grid-template-columns: 36px minmax(0, 1fr); align-items: center; }
.vanity-card .kit-note p { font-size: 14px; line-height: 22px; }
.vanity-card .vanity-detail { display: none; }
.vanity-card.open .vanity-detail { display: block; }

.phone.chat-on { background: #fff linear-gradient(180deg, #e5eef5 0, rgba(255, 255, 255, 0) 160px) no-repeat; }
.chat-tag {
  margin: -4px 0 4px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  line-height: 20px;
}
#log { flex: 1; min-height: 0; overflow: auto; padding-bottom: 140px; scrollbar-width: none; }
#log::-webkit-scrollbar { display: none; }
#log.started { padding-bottom: 96px; }
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 24px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 28px);
}
.dock .asks { margin-top: 0; }
.dock:has(.hold-label.down) { z-index: 4; }
.phone.chat-on { height: 100vh; height: 100dvh; }
.msg { display: flex; align-items: flex-start; gap: 8px; margin-top: 16px; }
.msg.mine { justify-content: flex-end; }
.msg .face { width: 32px; height: 32px; }
.bubble {
  width: fit-content;
  max-width: 280px;
  background: #f4f7fb;
  border: 0;
  border-radius: 4px 12px 12px 12px;
  padding: 8px 12px;
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 25px;
  box-shadow: none;
}
.bubble.mine {
  width: fit-content;
  margin-left: auto;
  background: var(--enter);
  border-radius: 12px 4px 12px 12px;
  color: var(--on-btn);
}
.voice-msg {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-height: 41px;
  cursor: pointer;
}
.voice-msg span { font-size: 15px; }
.voice-msg svg { flex: none; transform: scaleX(-1); }
.voice-msg path { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.voice-msg.playing .vw2 { animation: voiceArc 1s steps(1) infinite 0.33s; }
.voice-msg.playing .vw3 { animation: voiceArc 1s steps(1) infinite 0.66s; }
@keyframes voiceArc { 0% { opacity: 0; } 34% { opacity: 1; } }
.voice-text { margin: 6px 0 0; text-align: right; color: var(--dim); font-size: 13px; line-height: 20px; }
.bubble.sys {
  width: auto;
  max-width: none;
  margin: 16px auto 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--dim);
  font-size: 13px;
  line-height: 20px;
  text-align: center;
  margin-top: 16px;
}
.wave { display: flex; gap: 3px; align-items: flex-end; height: 16px; margin-bottom: 6px; }
.wave i { display: block; width: 3px; background: var(--ink); border-radius: 2px; }
.wave i:nth-child(1) { height: 6px; }
.wave i:nth-child(2) { height: 12px; }
.wave i:nth-child(3) { height: 16px; }
.wave i:nth-child(4) { height: 9px; }
.msg-body { min-width: 0; }
.replay {
  display: flex;
  align-items: center;
  margin: 6px 0 0 4px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--dim);
  font-size: 14px;
  line-height: 24px;
}
.asks {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
}
.ask-chip {
  flex: none;
  border: 1px solid rgba(26, 39, 68, 0.1);
  border-radius: 12px;
  color: var(--ink);
  padding: 8px 12px;
  font-size: 14px;
  line-height: 20px;
}
.composer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 0 40px rgba(183, 183, 183, 0.25);
}
.composer .voice, .composer .send {
  flex: none;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.composer .plus {
  order: -1;
  flex: none;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  background: transparent;
}
.composer .voice img, .composer .plus img { display: block; width: 26px; height: 26px; }
.hold-label {
  display: none;
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 21px;
  font-weight: 500;
  text-align: center;
  touch-action: none;
}
.composer.talking textarea { display: none; }
.composer.talking { position: relative; justify-content: space-between; min-height: 50px; }
.composer.talking .hold-label { display: flex; align-items: center; justify-content: center; position: absolute; inset: 0; border-radius: inherit; }
.composer.talking .voice, .composer.talking .plus { position: relative; z-index: 1; }
.hold-label {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.composer:has(.hold-label.down) { position: relative; z-index: 4; background: var(--enter); box-shadow: none; }
.composer:has(.hold-label.down) .hold-label { color: var(--on-btn); }
.composer:has(.hold-label.down) .voice,
.composer:has(.hold-label.down) .plus { display: none; }
.dock:has(.hold-label.down) { background: none; }
.dock:has(.hold-label.down) .asks { visibility: hidden; }
.talk-ov {
  position: fixed;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px));
  background: rgba(40, 44, 52, 0.55);
  color: #fff;
  pointer-events: none;
  animation: talkFade 0.16s ease-out;
}
.talk-ov[hidden] { display: none; }
.talk-wave { display: flex; align-items: center; justify-content: center; gap: 4px; height: 52px; }
.talk-wave i {
  display: block;
  width: 4px;
  height: 6px;
  border-radius: 2px;
  background: currentColor;
  transition: height 0.12s ease-out, background 0.15s;
}
.talk-hint { margin: 20px 0 0; font-size: 14px; line-height: 20px; }

.talk-ov.cancel .talk-wave { color: #ff7a70; }
.talk-ov.cancel .talk-wave { animation: talkNudge 0.3s ease-out; }
.talk-ov.count .talk-hint { animation: talkBeat 1s ease-in-out infinite; }
.talk-ov.short .talk-wave { animation: talkShake 0.4s ease-in-out; }
.talk-ov.short .talk-wave i { height: 6px !important; }
.talk-ov.send .talk-wave { animation: talkSend 0.24s ease-in forwards; }
.talk-ov.send, .talk-ov.gone { background: rgba(40, 44, 52, 0); transition: background 0.2s; }
.talk-ov.gone .talk-wave { animation: talkGone 0.18s ease-in forwards; }

@keyframes talkFade { from { background: rgba(40, 44, 52, 0); } }
@keyframes talkNudge { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-8px); } }
@keyframes talkBeat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
@keyframes talkShake { 0%, 100% { transform: translateX(0); } 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
@keyframes talkSend { to { opacity: 0; transform: translateY(56px) scaleX(0.5); } }
@keyframes talkGone { to { opacity: 0; transform: scaleX(0.6); } }
@media (prefers-reduced-motion: reduce) {
  .talk-ov, .talk-ov .talk-wave, .talk-ov .talk-hint { animation: none !important; }
  .talk-wave i { height: 16px; }
}
.composer textarea {
  flex: 1;
  width: auto;
  min-width: 0;
  min-height: 21px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  line-height: 21px;
  resize: none;
  overflow: hidden;
  padding: 0;
  outline: none;
}
.composer textarea::placeholder { color: var(--dim); }
.bar-human {
  margin-left: auto;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  line-height: 0;
}
.bar-human svg { display: block; }
.toast {
  z-index: 2;
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: var(--enter);
  color: var(--on-btn);
  font-size: 13px;
  line-height: 24px;
  padding: 8px 14px;
  border-radius: 16px;
}
.hidden { display: none; }
