﻿:root {
  --orange: #ff5b2a;
  --orange-2: #ff8347;
  --ink: #121212;
  --muted: #858896;
  --soft: #fdf0eb;
  --line: #ffd9cc;
  --purple: #8659f5;
  --paper: #ffffff;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: #eef1f5; }
body { margin: 0; min-height: 100vh; color: var(--ink); background: #eef1f5; letter-spacing: 0; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; border: 0; background: none; color: inherit; }

.mini-app {
  position: relative;
  width: min(708px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, .06);
}

.screen {
  display: none;
  min-height: 100vh;
  padding: 46px 17px 26px;
  background: #fff;
}

.screen.active { display: block; }

.login-screen {
  display: none;
  align-content: center;
  padding: 54px 22px 34px;
  background:
    radial-gradient(circle at 50% 0, rgba(255, 132, 71, .14), transparent 32%),
    #fff;
}

.login-screen.active {
  display: grid;
}

.login-brand {
  display: grid;
  justify-items: center;
  margin-bottom: 34px;
  text-align: center;
}

.login-logo {
  width: 92px;
  height: 92px;
  margin-bottom: 14px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 12px 30px rgba(18, 18, 18, .12);
}

.login-brand p {
  margin: 0;
  color: #969aa6;
  font-size: 12px;
  font-weight: 800;
}

.login-brand h1 {
  margin: 18px 0 12px;
  color: #ff851f;
  font-size: 34px;
  line-height: 1.1;
}

.login-brand span {
  color: #6f7480;
  font-size: 15px;
  font-weight: 800;
}

.login-card {
  display: grid;
  gap: 12px;
  width: 100%;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid #ffe0d4;
  border-radius: 20px;
  background: #fff8f4;
  box-shadow: 0 16px 38px rgba(255, 91, 42, .12);
}

.google-button-slot {
  width: 100%;
  min-height: 48px;
}

.google-button-slot > div {
  margin: 0 auto;
}

.google-fallback-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 56px;
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid #d8dee8;
  border-radius: 28px;
  background: #fff;
  color: #24272d;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(15, 23, 42, .08);
}

.google-fallback-button[hidden] {
  display: none;
}

.google-mark {
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #dfe3ea;
  color: #4285f4;
  font-family: Arial, sans-serif;
  font-weight: 900;
}

.google-button-text {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.email-login-form {
  display: grid;
  gap: 12px;
}

.email-login-form[hidden] {
  display: none;
}

.email-login-form label {
  display: grid;
  gap: 6px;
  color: #8f675a;
  font-size: 13px;
  font-weight: 900;
}

.email-login-form input {
  min-height: 52px;
  border: 1px solid #ffd2c2;
  border-radius: 14px;
  background: #fff;
  padding: 0 14px;
  color: #181b20;
  font-size: 16px;
  font-weight: 800;
  outline: 0;
}

.email-login-form input:focus {
  border-color: #ff7040;
  box-shadow: 0 0 0 3px rgba(255, 112, 64, .14);
}

.email-login-form button {
  min-height: 54px;
  border: 0;
  border-radius: 27px;
  background: linear-gradient(135deg, #ff5a32, #ff8a38);
  color: #fff;
  font-size: 16px;
  font-weight: 950;
  box-shadow: 0 12px 26px rgba(255, 96, 45, .24);
}

.login-error {
  min-height: 18px;
  margin: -2px 0 0;
  color: #d73826;
  font-size: 12px;
  font-weight: 900;
}

.mini-top {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 34px;
}

.mini-top.floating { margin-bottom: 26px; }

.soft-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 110px;
  height: 58px;
  border: 2px solid #ffe2d8;
  border-radius: 28px;
  background: #fff8f4;
  color: #ff6035;
  font-size: 25px;
  font-weight: 800;
  box-shadow: 0 7px 18px rgba(255, 91, 42, .12);
}

.soft-tab.home-tab {
  border-color: #ffe2d8;
  background: #fff;
  color: #ef5b35;
}

.soft-tab span { font-size: 20px; }
.soft-tab i {
  position: absolute;
  top: -5px;
  right: -2px;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #e83a42;
  color: #fff;
  font-size: 15px;
  font-style: normal;
}

.soft-tab.purple {
  border-color: #eadcff;
  background: #f7efff;
  color: var(--purple);
  box-shadow: 0 7px 18px rgba(134, 89, 245, .16);
}

.hero-logo {
  width: 108px;
  height: 108px;
  margin: 30px auto 16px;
  display: block;
  border: 0;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 12px 30px rgba(18, 18, 18, .12);
}

.maker {
  margin: 0;
  color: #969aa6;
  text-align: center;
  font-size: 21px;
}

#homeTitle {
  margin: 30px 0 22px;
  color: #ff851f;
  text-align: center;
  font-size: 48px;
  line-height: 1.08;
}

#homeScreen h2 {
  margin: 0;
  text-align: center;
  font-size: 31px;
  line-height: 1.35;
}

.subline {
  margin: 18px 0 38px;
  color: #80858f;
  text-align: center;
  font-size: 27px;
}

.voice-copy {
  margin: 48px 0 28px;
  text-align: center;
  color: #d3aca1;
}

.voice-copy p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.55;
}

.voice-copy strong {
  display: block;
  margin-top: 20px;
  font-size: 30px;
}

.voice-copy small {
  display: block;
  max-width: 560px;
  margin: 18px auto 0;
  color: #9a8d88;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}

.mic-button {
  display: grid;
  place-items: center;
  width: 168px;
  height: 168px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ff6534, #ff3e17);
  color: #fff;
  box-shadow: 0 16px 43px rgba(255, 91, 42, .28), 0 0 0 27px rgba(255, 91, 42, .08);
  font-size: 50px;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.hold-tip {
  display: block;
  text-align: center;
  font-size: 25px;
}

.recording-panel {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
  place-items: center;
  align-content: center;
  padding: 70px 28px;
  background: #fffaf6;
  text-align: center;
}

.recording-panel.show { display: grid; }

.recording-topline {
  margin-bottom: 18px;
  color: #ee3f1d;
  font-size: 44px;
  font-weight: 900;
  line-height: 1.15;
}

.recording-panel strong {
  margin-top: 46px;
  color: #161616;
  font-size: 96px;
  font-weight: 900;
  line-height: 1;
}

.recording-panel p {
  margin: 24px 0 34px;
  color: #a8a8a8;
  font-size: 24px;
  font-weight: 700;
}

.recording-guide {
  display: grid;
  gap: 10px;
  width: min(640px, 88vw);
  margin: 0 auto 34px;
  color: #b47b68;
  line-height: 1.45;
}

.recording-guide span {
  color: #c9a094;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.55;
}

.recording-guide strong {
  margin: 0;
  color: #b47b68;
  font-size: 26px;
  line-height: 1.35;
}

.recording-guide small {
  color: #8f8580;
  font-size: 17px;
  font-weight: 800;
}

.recording-panel.is-transcribing .recording-guide {
  display: none;
}

.recording-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  width: min(430px, 86vw);
  margin: 0 auto 76px;
}

.recording-dots i {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #ffd0c0;
  animation: recordingDot 1s ease-in-out infinite;
}

.recording-dots i:nth-child(3n),
.recording-dots i:nth-child(4n + 1) { background: #ff5b2a; }
.recording-dots i:nth-child(2n) { animation-delay: .12s; }
.recording-dots i:nth-child(3n) { animation-delay: .24s; }
.recording-dots i:nth-child(5n) { animation-delay: .36s; }

.recording-action-label {
  color: var(--orange);
  font-size: 24px;
  font-weight: 900;
}

.recording-stop-visual {
  display: grid;
  place-items: center;
  width: 168px;
  height: 168px;
  margin: 0 auto 16px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(145deg, #ff6534, #ff3212);
  box-shadow:
    0 0 0 18px rgba(255, 91, 42, .12),
    0 0 0 36px rgba(255, 91, 42, .06);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.recording-stop-visual:disabled {
  cursor: default;
  opacity: .78;
}

.recording-stop-visual b {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  background: #fff;
}

.recording-retry {
  min-height: 44px;
  margin-top: 18px;
  padding: 0 24px;
  border: 2px solid #f0b8a5;
  border-radius: 999px;
  background: #fffaf6;
  color: #d76243;
  font-size: 18px;
  font-weight: 900;
}

@keyframes recordingDot {
  0%, 100% { opacity: .45; transform: translateY(0) scale(.85); }
  50% { opacity: 1; transform: translateY(-4px) scale(1.12); }
}

.text-link {
  display: block;
  margin: 88px auto 0;
  border-bottom: 2px dashed var(--orange);
  color: var(--orange);
  font-size: 20px;
}

.page-title {
  margin: 0 0 14px;
  font-family: Georgia, "SimSun", serif;
  font-size: 31px;
  line-height: 1.3;
}

.page-subtitle {
  margin: 0 0 28px;
  color: #576071;
  font-size: 23px;
}

.voice-editor {
  display: block;
  min-height: 320px;
  margin-bottom: 24px;
  padding: 24px 30px;
  border: 2px solid var(--line);
  border-radius: 24px;
}

.voice-editor span {
  display: flex;
  justify-content: space-between;
  color: #9a9ba5;
  font-size: 22px;
}

.voice-editor em {
  color: var(--orange);
  font-style: normal;
  font-weight: 900;
}

.voice-editor textarea {
  width: 100%;
  min-height: 230px;
  margin-top: 18px;
  border: 0;
  outline: 0;
  resize: vertical;
  color: #171717;
  font-size: 24px;
  line-height: 1.55;
}

.voice-editor textarea::placeholder { color: #9da1ad; }

.ai-elements {
  margin-bottom: 24px;
  padding: 24px 26px;
  border-radius: 20px;
  background: #f7f7f7;
}

.ai-elements h3 {
  margin: 0 0 22px;
  font-size: 23px;
}

.ai-elements small {
  color: #a2a2a2;
  font-size: 17px;
  font-weight: 500;
}

.ai-elements label {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 70px;
  border-bottom: 1px solid #ededed;
}

.ai-elements label:last-child { border-bottom: 0; }

.ai-elements label span {
  color: #ff643a;
  font-size: 22px;
  font-weight: 900;
}

.required-star {
  margin-left: 4px;
  color: #ff2f1f;
  font-size: 1.05em;
  line-height: 1;
}

.ai-elements input,
.ai-elements select {
  min-height: 56px;
  border: 2px solid #ffad94;
  border-radius: 8px;
  background: #fff8f4;
  padding: 0 14px;
  color: #111;
  font-size: 24px;
  outline: 0;
}

.ai-elements input::placeholder {
  color: #b8bbc4;
  opacity: 1;
}

.ai-elements label { grid-template-columns: 76px minmax(0, 1fr); }

.bottom-actions {
  display: grid;
  gap: 22px;
  margin-top: 48px;
}

.outline-action,
.generate-action {
  width: 100%;
  min-height: 82px;
  border-radius: 18px;
  font-size: 24px;
  font-weight: 900;
}

.outline-action {
  border: 2px solid var(--orange);
  background: #fff8f4;
  color: var(--orange);
}

.generate-action {
  background: linear-gradient(135deg, #ff7a3d, #ff9a60);
  color: #fff;
  box-shadow: 0 16px 34px rgba(255, 91, 42, .2);
}

.generate-action:disabled {
  background: #cfcfcf;
  box-shadow: none;
}

.loading-mask {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  place-items: center;
  align-content: center;
  background: rgba(0, 0, 0, .66);
  color: #fff;
  text-align: center;
}

.loading-mask.show { display: grid; }

.spinner {
  width: 108px;
  height: 108px;
  margin-bottom: 28px;
  border: 8px solid rgba(255, 255, 255, .34);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: spin .9s linear infinite;
}

.loading-mask strong { font-size: 27px; }
.loading-mask p { margin: 16px 0 0; color: #ddd; font-size: 20px; font-weight: 800; }

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

.result-screen {
  padding: 0 23px 24px;
  background: #fff;
}

.result-topbar {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 72px;
  align-items: center;
  height: 143px;
  border-bottom: 1px solid #f0f0f0;
  margin: 0 -23px 20px;
  padding: 0 20px;
}

.result-topbar::after {
  content: "";
  display: block;
}

.result-topbar h2 {
  margin: 0;
  text-align: center;
  font-size: 28px;
  font-weight: 500;
}

.home-icon {
  font-size: 47px;
  color: #383a3d;
}

.home-icon.home-label {
  min-width: 58px;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.notice {
  display: grid;
  place-items: center;
  height: 64px;
  border-bottom: 2px solid #ffd9ad;
  background: #fff9f1;
  color: #bf5d00;
  font-size: 22px;
}

.match-panel {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 26px;
  align-items: center;
  min-height: 142px;
  padding: 16px 124px;
  border-radius: 0 0 24px 24px;
  background: #fff2ec;
}

.ring {
  display: grid;
  place-items: center;
  width: 106px;
  height: 106px;
  border: 11px solid #ffd6c1;
  border-right-color: var(--orange);
  border-radius: 50%;
  color: var(--orange);
}

.ring strong { font-size: 48px; line-height: .8; }
.ring span { color: #9b9b9b; font-size: 15px; }

.match-panel h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.match-panel h3 span { color: var(--orange); font-size: 29px; }
.match-panel p { margin: 0; color: #90909a; font-size: 21px; }

.progress-line {
  height: 5px;
  margin: 0 0 15px;
  border-radius: 99px;
  background: #ffe0d7;
}

.progress-line i {
  display: block;
  width: 33%;
  height: 100%;
  border-radius: inherit;
  background: var(--orange);
  transition: width .24s ease;
}

.mode-line {
  margin: 0 0 18px;
  color: #9a9ba5;
  text-align: center;
  font-size: 20px;
}

.card-stack {
  position: relative;
  min-height: 0;
  perspective: 900px;
  touch-action: pan-y;
}

.idea-card {
  position: absolute;
  left: 58px;
  right: 58px;
  top: 18px;
  min-height: 760px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(255, 91, 42, .12);
}

.idea-card.side {
  top: 28px;
  display: flex;
  align-items: flex-start;
  padding: 58px 32px;
  color: rgba(255, 255, 255, .72);
  font-size: 25px;
  font-weight: 900;
}

.idea-card.side.left {
  left: 22px;
  right: 128px;
  transform: rotate(-5deg);
  background: linear-gradient(180deg, #9e8df1 0 160px, #fff 160px);
}

.idea-card.side.right {
  left: 132px;
  right: 22px;
  transform: rotate(6deg);
  background: linear-gradient(180deg, #a9e2c7 0 160px, #fff 160px);
  justify-content: flex-end;
}

.main-card {
  --idea-accent: #ff6535;
  --idea-accent-2: #ff9656;
  --idea-soft: #fff3ee;
  --idea-border: #ffd9cc;
  --idea-shadow: rgba(255, 91, 42, .16);
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  z-index: 2;
  margin: 18px 58px 0;
  overflow: hidden;
  border: 2px solid var(--idea-border);
  box-shadow: 0 14px 40px var(--idea-shadow);
  cursor: grab;
  transition: transform .2s ease, box-shadow .2s ease;
  will-change: transform;
}

.idea-theme-1 {
  --idea-accent: #ff6535;
  --idea-accent-2: #ff9656;
  --idea-soft: #fff3ee;
  --idea-border: #ffd9cc;
  --idea-shadow: rgba(255, 91, 42, .16);
}

.idea-theme-2 {
  --idea-accent: #8065f2;
  --idea-accent-2: #b18cf7;
  --idea-soft: #f4efff;
  --idea-border: #ded3ff;
  --idea-shadow: rgba(128, 101, 242, .18);
}

.idea-theme-3 {
  --idea-accent: #20a978;
  --idea-accent-2: #72d7ac;
  --idea-soft: #ecfbf4;
  --idea-border: #c5efd9;
  --idea-shadow: rgba(32, 169, 120, .18);
}

.card-stack.is-dragging .main-card {
  cursor: grabbing;
  box-shadow: 0 18px 48px var(--idea-shadow);
  transition: none;
}

.main-card.slide-next { animation: slideNext .26s ease both; }
.main-card.slide-prev { animation: slidePrev .26s ease both; }

@keyframes slideNext {
  from { transform: translateX(60px) rotate(2deg); opacity: .76; }
  to { transform: translateX(0) rotate(0); opacity: 1; }
}

@keyframes slidePrev {
  from { transform: translateX(-60px) rotate(-2deg); opacity: .76; }
  to { transform: translateX(0) rotate(0); opacity: 1; }
}

.idea-head {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 162px;
  padding: 28px;
  background: linear-gradient(135deg, var(--idea-accent), var(--idea-accent-2));
  color: #fff;
}

.idea-no {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  color: var(--idea-accent);
  font-size: 21px;
  font-weight: 900;
}

.idea-head h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
}

.idea-chip {
  padding: 8px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .22);
  font-size: 18px;
}

.idea-body {
  padding: 28px 30px 26px;
}

.idea-body h4 {
  margin: 0 0 26px;
  font-size: 29px;
  line-height: 1.38;
}

.idea-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.idea-meta span {
  color: #8b8f9b;
  font-size: 18px;
}

.percent {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border: 2px solid var(--idea-accent);
  border-radius: 50%;
  color: var(--idea-accent);
  font-weight: 900;
}

.percent strong { font-size: 24px; }
.percent small { color: #8f8f8f; font-size: 15px; }

.idea-text {
  padding: 26px;
  border-radius: 15px;
  background: var(--idea-soft);
}

.idea-text h5 {
  margin: 0 0 14px;
  color: var(--idea-accent);
  font-size: 20px;
}

.idea-text p {
  margin: 0;
  color: #292929;
  font-size: 23px;
  line-height: 1.62;
}

.card-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 26px;
}

.card-buttons button {
  min-height: 64px;
  border-radius: 34px;
  font-size: 23px;
  font-weight: 900;
}

.card-buttons .outline {
  border: 2px solid var(--idea-accent);
  color: var(--idea-accent);
}

.card-buttons .solid {
  background: linear-gradient(135deg, var(--idea-accent), var(--idea-accent-2));
  color: #fff;
}

.result-actions {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 112px 112px;
  justify-content: center;
  align-items: end;
  column-gap: 64px;
  margin-top: 32px;
  padding: 8px 0 54px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .72), #fff 28%);
}

.round {
  position: relative;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: #fff;
  color: #999;
  border: 2px solid #e4e4e4;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .1);
  font-size: 42px;
}

.round span {
  position: absolute;
  bottom: -36px;
  width: 120px;
  color: #818181;
  font-size: 17px;
  font-weight: 900;
}

.round.refresh {
  width: 112px;
  height: 112px;
  border-color: var(--orange);
  color: var(--orange);
  font-size: 42px;
}

.round.refresh span { color: var(--orange); font-size: 17px; }
.round.like {
  background: linear-gradient(135deg, #ff773d, #ff9655);
  color: #fff;
  border: 0;
}

.detail-screen {
  padding: 0 23px 150px;
  background: #fff;
}

.detail-product {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin: 20px 18px 28px;
  padding: 22px 28px;
  border: 2px solid #ffb197;
  border-radius: 18px;
  background: #fff;
}

.detail-product span {
  color: #e06b48;
  font-size: 18px;
  font-weight: 800;
}

.detail-product h3 {
  margin: 10px 0 0;
  font-size: 29px;
}

.detail-product strong {
  padding: 8px 14px;
  border-radius: 12px;
  background: #fff3ee;
  color: #de6d4c;
  font-size: 18px;
}

.detail-hero {
  margin: 0 18px 28px;
  padding: 34px 32px;
  border-radius: 22px;
  background: linear-gradient(135deg, #ff6334, #ff9556);
  color: #fff;
}

.detail-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.detail-hero-top span {
  padding: 8px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .18);
  font-weight: 900;
}

.detail-hero-top strong {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: #fff;
  color: var(--orange);
  font-size: 25px;
}

.detail-hero h3 {
  margin: 0 0 14px;
  font-size: 34px;
}

.detail-hero p {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, .78);
  font-size: 21px;
}

.detail-hero h4 {
  margin: 0 0 22px;
  font-size: 27px;
  line-height: 1.42;
}

.detail-hero blockquote {
  margin: 0;
  color: rgba(255, 255, 255, .86);
  font-size: 21px;
  line-height: 1.75;
}

.why-card {
  margin: 0 18px 34px;
  padding: 28px;
  border: 1px solid #f6dfd7;
  border-radius: 18px;
  background: #fff8f5;
}

.why-card h3 {
  margin: 0 0 16px;
  color: var(--orange);
  font-size: 25px;
}

.why-card p {
  margin: 0;
  color: #3a3a3a;
  font-size: 21px;
  line-height: 1.8;
}

.timeline-wrap {
  margin: 0 18px 36px;
}

.timeline-wrap > h3 {
  margin: 0 0 18px;
  font-size: 27px;
}

.timeline-list {
  position: relative;
  display: grid;
  gap: 24px;
  padding-left: 54px;
}

.timeline-list:before {
  content: "";
  position: absolute;
  left: 17px;
  top: 14px;
  bottom: 0;
  width: 4px;
  background: linear-gradient(#ff5b2a, #ffb13a, #d90e0e);
}

.timeline-item {
  position: relative;
}

.timeline-dot {
  position: absolute;
  left: -54px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ff5b2a;
  color: #fff;
  font-weight: 900;
}

.timeline-card {
  padding: 24px 28px;
  border: 2px solid #f1e1d9;
  border-radius: 18px;
  background: #fff;
}

.timeline-item.yellow .timeline-card {
  border-color: #f3cc24;
  background: #fffdf5;
}

.timeline-item.red .timeline-card {
  border-color: #d50d0d;
  background: #fff7f7;
}

.timeline-item.yellow .timeline-dot { background: #efbd00; }
.timeline-item.red .timeline-dot { background: #d50d0d; }

.timeline-card header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid #eee5df;
}

.timeline-card h4 {
  margin: 0;
  font-size: 24px;
}

.timeline-card h4 span {
  margin-right: 12px;
  color: #9d9d9d;
  font-weight: 500;
}

.timeline-card em {
  padding: 7px 12px;
  border-radius: 10px;
  background: #ffc400;
  color: #fff;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.timeline-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.timeline-card li {
  margin-bottom: 12px;
  color: #505050;
  font-size: 20px;
  line-height: 1.75;
}

.timeline-card p {
  margin: 14px 0 0;
  color: #999;
  font-size: 18px;
}

.finish-box {
  margin: 28px 0 0 54px;
  padding: 22px;
  border: 2px dashed #e68b72;
  border-radius: 16px;
  color: #e46b4f;
  text-align: center;
  font-size: 22px;
  font-weight: 900;
}

.detail-actions {
  position: sticky;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 18px;
  padding: 18px 16px 16px;
  border-top: 1px solid #f1e5de;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
}

.detail-actions button {
  min-height: 68px;
  border-radius: 34px;
  font-size: 22px;
  font-weight: 900;
}

.detail-save {
  border: 2px solid #ff8f6e;
  color: #e86b4b;
  background: #fff;
}

.detail-sop {
  color: #fff;
  background: linear-gradient(135deg, #ff713b, #ff9b5f);
}

.detail-actions p {
  grid-column: 1 / -1;
  margin: -6px 0 0;
  color: #a6a6a6;
  text-align: center;
  font-size: 15px;
}

.sop-screen {
  padding: 0 23px 150px;
  background: #fff;
}

.sop-product {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin: 20px 18px 20px;
  padding: 22px 28px;
  border: 2px solid #ff9d80;
  border-radius: 16px;
  background: #fff;
}

.sop-product span {
  font-size: 32px;
}

.sop-product h3 {
  margin: 0;
  font-size: 29px;
}

.sop-product strong {
  padding: 8px 14px;
  border-radius: 12px;
  background: #fff3ee;
  color: #df6a4a;
  font-size: 18px;
}

.sop-strategy {
  margin: 0 18px 28px;
  padding: 20px 26px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ff6535, #ff9656);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
}

.sop-summary {
  margin: 0 18px 30px;
  padding: 28px;
  border: 1px solid #f1dfd8;
  border-radius: 18px;
  background: #fff8f5;
}

.sop-summary h3 {
  margin: 0 0 22px;
  color: #e76745;
  font-size: 25px;
}

.sop-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}

.sop-stats strong {
  display: block;
  color: var(--orange);
  font-size: 36px;
}

.sop-stats span {
  color: #888;
  font-size: 16px;
}

.sop-summary p {
  margin: 20px 0 0;
  color: #454545;
  text-align: center;
  font-size: 20px;
  font-weight: 800;
}

.sop-script {
  margin: 0 18px;
}

.sop-script > h3 {
  margin: 0 0 18px;
  color: #888;
  font-size: 26px;
  font-weight: 500;
}

.day-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 34px;
}

.day-tabs button {
  min-height: 74px;
  border: 2px solid #e8e8e8;
  border-radius: 18px;
  background: #fff;
  color: #171717;
  font-size: 22px;
  font-weight: 900;
}

.day-tabs button span {
  display: block;
  margin-top: 3px;
  color: #63b783;
  font-size: 16px;
}

.day-tabs button.active {
  border-color: #ffcc00;
  background: linear-gradient(135deg, #ff6535, #ff9656);
  color: #fff;
}

#sopDayTitle {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  font-size: 32px;
}

#sopDayTitle span {
  padding: 8px 14px;
  border-radius: 12px;
  background: #f6c400;
  color: #fff;
  font-size: 18px;
}

.sop-day-list {
  position: relative;
  display: grid;
  gap: 24px;
  padding-left: 26px;
}

.sop-day-list:before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 99px;
  background: var(--orange);
}

.sop-action-card {
  padding: 28px;
  border: 1px solid #f2ded6;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(255, 91, 42, .05);
}

.sop-action-card header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0e6e1;
}

.sop-action-card header span {
  color: #ff6535;
  font-size: 24px;
  font-weight: 900;
}

.sop-action-card h3 {
  margin: 16px 0 0;
  font-size: 26px;
}

.sop-action-card header strong {
  align-self: start;
  padding: 8px 14px;
  border: 2px solid #d45bd6;
  border-radius: 13px;
  color: #bd42c8;
  white-space: nowrap;
}

.sop-action-card > p {
  margin: 20px 0;
  color: #555;
  font-size: 20px;
  line-height: 1.7;
}

.sop-action-card section {
  padding: 22px;
  border-radius: 16px;
  background: #fff5f1;
}

.sop-action-card h4 {
  margin: 0 0 16px;
  color: #e76745;
  font-size: 20px;
}

.sop-action-card pre {
  margin: 0;
  white-space: pre-wrap;
  color: #2e2e2e;
  font-family: inherit;
  font-size: 22px;
  line-height: 1.8;
}

.sop-action-card button {
  margin-top: 20px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 10px;
  background: #eef0ff;
  color: #7b7ed9;
  font-weight: 900;
}

.sop-actions {
  position: sticky;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 18px 16px 16px;
  border-top: 1px solid #f1e5de;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
}

.sop-actions button {
  min-height: 68px;
  border-radius: 34px;
  font-size: 22px;
  font-weight: 900;
}

.sop-actions p {
  grid-column: 1 / -1;
  margin: -6px 0 0;
  color: #9c9c9c;
  text-align: center;
  font-size: 15px;
}

.profile-screen {
  padding: 0 23px 80px;
  background: #fff;
}

.profile-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 18px;
  margin: 28px 18px 20px;
  padding: 28px;
  border-radius: 22px;
  background: linear-gradient(135deg, #fff4ee, #fff);
  border: 1px solid #ffd8c9;
}

.account-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin: 0 18px 20px;
  padding: 14px 16px;
  border: 1px solid #ffe0d4;
  border-radius: 16px;
  background: #fff8f4;
}

.account-strip span {
  display: block;
  margin-bottom: 5px;
  color: #9a6f61;
  font-size: 12px;
  font-weight: 900;
}

.account-strip strong {
  display: block;
  overflow: hidden;
  color: #2f2f2f;
  font-size: 13px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-strip button {
  min-width: 64px;
  min-height: 38px;
  border-radius: 19px;
  background: #ffffff;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px #ffd7ca;
}

.avatar-block {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6535, #ff9656);
  color: #fff;
  font-size: 32px;
  font-weight: 900;
  overflow: hidden;
  cursor: pointer;
}

.avatar img {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar.has-image img { display: block; }
.avatar.has-image #profileAvatarInitial { display: none; }

.avatar-change-button {
  display: inline-grid;
  place-items: center;
  min-width: 54px;
  height: 24px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #ffd8c9;
  color: #d75f3f;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  line-height: 1;
}

.avatar-input {
  display: none;
}

.profile-name-field {
  display: grid;
  gap: 6px;
  margin-bottom: 8px;
}

.profile-copy {
  min-width: 0;
}

.profile-name-field span {
  color: #df6a4a;
  font-size: 13px;
  font-weight: 900;
}

.profile-name-field input {
  width: min(230px, 100%);
  border: 0;
  border-bottom: 2px solid #ffd8c9;
  background: transparent;
  color: #111;
  padding: 0 0 4px;
  font-size: 28px;
  font-weight: 900;
  outline: 0;
}

.profile-product-field {
  display: block;
}

.profile-product-field input {
  width: min(230px, 100%);
  border: 0;
  background: transparent;
  color: #888;
  padding: 0;
  font-size: 18px;
  outline: 0;
}

.profile-product-field input:focus {
  border-bottom: 1px solid #ffd8c9;
  color: #555;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0 18px 24px;
}

.profile-stats div {
  padding: 20px 10px;
  border-radius: 16px;
  background: #fff8f5;
  text-align: center;
}

.profile-stats strong {
  display: block;
  color: var(--orange);
  font-size: 32px;
}

.profile-stats span {
  color: #888;
}

.saved-panel {
  margin: 0 18px;
}

.saved-panel h3 {
  margin: 0 0 16px;
  font-size: 26px;
}

.saved-list {
  display: grid;
  gap: 14px;
}

.saved-panel article {
  position: relative;
  padding: 24px 112px 24px 24px;
  border: 1px solid #f2ded6;
  border-radius: 18px;
  background: #fff;
}

.saved-card {
  cursor: pointer;
}

.saved-card:focus {
  outline: 3px solid rgba(255, 91, 42, .24);
}

.saved-panel span {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 10px;
  background: #fff3ee;
  color: #df6a4a;
  font-weight: 900;
}

.saved-panel h4 {
  margin: 18px 0 10px;
  font-size: 24px;
}

.saved-panel p {
  margin: 0;
  color: #777;
  font-size: 18px;
  line-height: 1.6;
}

.saved-delete {
  position: absolute;
  top: 24px;
  right: 24px;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff3ee;
  color: #df6a4a;
  font-size: 15px;
  font-weight: 900;
}

.history-screen {
  padding: 0 23px 80px;
  background: #fff;
}

.history-panel {
  margin: 28px 18px 0;
}

.history-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 20px 22px;
  border: 1px solid #ffd8c9;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff4ee, #fff);
}

.history-summary strong {
  color: var(--orange);
  font-size: 32px;
  line-height: 1;
}

.history-summary span {
  color: #777;
  font-weight: 800;
}

.history-list {
  display: grid;
  gap: 14px;
}

.history-card,
.history-empty {
  padding: 22px;
  border: 1px solid #f2ded6;
  border-radius: 18px;
  background: #fff;
}

.history-card {
  position: relative;
  padding-right: 112px;
}

.history-card span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 10px;
  background: #fff3ee;
  color: #df6a4a;
  font-size: 13px;
  font-weight: 900;
}

.history-card h3,
.history-empty strong {
  display: block;
  margin: 0 0 8px;
  color: #151515;
  font-size: 22px;
  line-height: 1.25;
}

.history-card p,
.history-empty p {
  margin: 0;
  color: #777;
  font-size: 16px;
  line-height: 1.55;
}

.history-card div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.history-card button,
.history-empty button {
  min-height: 42px;
  border-radius: 999px;
  background: #fff3ee;
  color: #df6a4a;
  font-size: 15px;
  font-weight: 900;
}

.history-card button[data-history-action="view"],
.history-empty button {
  background: linear-gradient(135deg, #ff6535, #ff8b4a);
  color: #fff;
}

.history-card button[data-history-action="delete"] {
  position: absolute;
  top: 22px;
  right: 22px;
  min-height: 40px;
  padding: 0 18px;
  background: #fff3ee;
  color: #df6a4a;
}

.history-empty button {
  width: 100%;
  margin-top: 18px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 120px;
  z-index: 50;
  transform: translateX(-50%) translateY(20px);
  min-width: 220px;
  padding: 14px 20px;
  border-radius: 999px;
  background: rgba(18, 18, 18, .88);
  color: #fff;
  text-align: center;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 560px) {
  .mini-app { width: 100%; }
  .screen { padding-left: 14px; padding-right: 14px; }
  .mini-top { grid-template-columns: auto auto auto; gap: 8px; }
  .soft-tab { min-width: 72px; height: 48px; padding: 0 8px; font-size: 18px; }
  #homeTitle { font-size: 42px; }
  #homeScreen h2 { font-size: 28px; }
  .subline { font-size: 24px; }
  .bottom-actions {
    gap: 18px;
    margin-top: 24px;
  }
  .result-screen { padding-left: 10px; padding-right: 10px; }
  .result-topbar {
    grid-template-columns: 72px minmax(80px, 1fr) 72px;
    height: 96px;
    margin-left: -10px;
    margin-right: -10px;
    margin-bottom: 12px;
    padding: 0 10px;
  }
  .result-topbar h2 {
    white-space: nowrap;
    font-size: 24px;
  }
  .home-icon { font-size: 34px; }
  .notice { height: 48px; font-size: 17px; }
  .match-panel {
    grid-template-columns: 76px 1fr;
    gap: 12px;
    min-height: 96px;
    padding: 10px 20px;
  }
  .ring {
    width: 74px;
    height: 74px;
    border-width: 7px;
  }
  .ring strong { font-size: 32px; }
  .ring span { font-size: 12px; }
  .match-panel h3 {
    font-size: 17px;
    white-space: nowrap;
  }
  .match-panel h3 span { font-size: 21px; }
  .match-panel p { font-size: 15px; }
  .progress-line { margin-bottom: 10px; }
  .mode-line { margin-bottom: 12px; font-size: 16px; }
  .card-stack { min-height: 0; }
  .idea-card {
    left: 18px;
    right: 18px;
    min-height: 0;
    border-radius: 18px;
  }
  .idea-card.side {
    top: 24px;
    min-height: 520px;
    padding: 42px 22px;
    font-size: 20px;
  }
  .main-card {
    left: auto;
    right: auto;
    top: auto;
    margin: 8px 26px 0;
  }
  .idea-card.side.left {
    left: 0;
    right: 94px;
    background: linear-gradient(180deg, #9e8df1 0 118px, #fff 118px);
  }
  .idea-card.side.right {
    left: 94px;
    right: 0;
    background: linear-gradient(180deg, #a9e2c7 0 118px, #fff 118px);
  }
  .idea-head {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 10px;
    min-height: 108px;
    padding: 18px 16px;
  }
  .idea-no { width: 42px; height: 42px; font-size: 17px; }
  .idea-head h3 { font-size: 15px; line-height: 1.35; }
  .idea-chip { padding: 6px 11px; font-size: 13px; }
  .idea-body { padding: 18px 18px 20px; }
  .idea-body h4 {
    margin-bottom: 14px;
    font-size: 21px;
    line-height: 1.36;
  }
  .idea-meta { gap: 10px; margin-bottom: 14px; }
  .percent { width: 58px; height: 58px; }
  .percent strong { font-size: 19px; }
  .percent small { font-size: 12px; }
  .idea-meta span { font-size: 14px; }
  .idea-text { padding: 16px; border-radius: 13px; }
  .idea-text h5 { margin-bottom: 10px; font-size: 16px; }
  .idea-text p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
    font-size: 16px;
    line-height: 1.5;
  }
  .card-buttons { gap: 10px; margin-top: 18px; }
  .card-buttons button {
    min-height: 50px;
    border-radius: 26px;
    font-size: 17px;
  }
  .result-actions {
    grid-template-columns: 78px 78px;
    column-gap: 56px;
    margin-top: 24px;
    padding-bottom: 42px;
  }
  .round { width: 78px; height: 78px; font-size: 30px; }
  .round.refresh { width: 78px; height: 78px; font-size: 30px; }
  .round span { bottom: -30px; width: 92px; font-size: 14px; }
  .round.refresh span { font-size: 14px; }
  .detail-screen { padding-left: 12px; padding-right: 12px; }
  .detail-product,
  .detail-hero,
  .why-card,
  .timeline-wrap {
    margin-left: 0;
    margin-right: 0;
  }
  .detail-product { padding: 18px; }
  .detail-product h3 { font-size: 25px; }
  .detail-hero { padding: 28px 24px; }
  .detail-hero h3 { font-size: 30px; }
  .detail-hero h4 { font-size: 24px; }
  .detail-hero blockquote,
  .why-card p,
  .timeline-card li { font-size: 18px; }
  .timeline-list { padding-left: 44px; }
  .timeline-dot { left: -44px; }
  .timeline-card { padding: 20px; }
  .timeline-card h4 { font-size: 21px; }
  .finish-box { margin-left: 44px; }
  .detail-actions { grid-template-columns: 1fr 1.7fr; gap: 12px; }
  .detail-actions button { min-height: 60px; font-size: 18px; }
  .sop-screen { padding-left: 12px; padding-right: 12px; }
  .sop-product,
  .sop-strategy,
  .sop-summary,
  .sop-script {
    margin-left: 0;
    margin-right: 0;
  }
  .sop-product { padding: 18px; }
  .sop-product h3 { font-size: 24px; }
  .sop-stats { gap: 8px; }
  .sop-stats strong { font-size: 30px; }
  .day-tabs { gap: 8px; }
  .day-tabs button { min-height: 64px; border-radius: 14px; font-size: 18px; }
  #sopDayTitle { font-size: 27px; }
  .sop-action-card { padding: 22px; }
  .sop-action-card h3 { font-size: 23px; }
  .sop-action-card > p { font-size: 18px; }
  .sop-action-card pre { font-size: 19px; }
  .sop-actions { grid-template-columns: 1fr; gap: 12px; }
  .sop-actions button { min-height: 60px; font-size: 18px; }
  .profile-screen { padding-left: 12px; padding-right: 12px; }
  .profile-card,
  .account-strip,
  .profile-stats,
  .saved-panel {
    margin-left: 0;
    margin-right: 0;
  }
  .profile-card { grid-template-columns: auto 1fr; }
}

/* Compact typography pass for the mobile-only prototype. */
.soft-tab { font-size: 21px; }
.soft-tab span { font-size: 18px; }
.maker { font-size: 18px; }
#homeTitle { font-size: 42px; }
#homeScreen h2 { font-size: 27px; }
.subline { font-size: 23px; }
.voice-copy p { font-size: 19px; }
.voice-copy strong { font-size: 25px; }
.hold-tip { font-size: 21px; }
.recording-topline { font-size: 36px; }
.recording-panel strong { margin-top: 34px; font-size: 76px; }
.recording-panel p { margin: 18px 0 28px; font-size: 20px; }
.recording-guide { gap: 8px; margin-bottom: 26px; }
.recording-guide span { font-size: 16px; }
.recording-guide strong { font-size: 21px; }
.recording-guide small { font-size: 14px; }
.recording-dots { gap: 6px; margin-bottom: 54px; }
.recording-dots i { width: 7px; height: 7px; }
.recording-stop-visual {
  width: 138px;
  height: 138px;
  margin-bottom: 14px;
  box-shadow:
    0 0 0 15px rgba(255, 91, 42, .12),
    0 0 0 30px rgba(255, 91, 42, .06);
}
.recording-stop-visual b {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}
.recording-action-label { font-size: 21px; }
.recording-retry { min-height: 40px; margin-top: 14px; font-size: 16px; }
.text-link { font-size: 18px; }
.page-title { font-size: 27px; }
.page-subtitle { font-size: 20px; }
.voice-editor span { font-size: 19px; }
.voice-editor textarea { font-size: 21px; }
.ai-elements h3 { font-size: 20px; }
.ai-elements label span { font-size: 19px; }
.ai-elements input,
.ai-elements select { font-size: 21px; }
.outline-action,
.generate-action { font-size: 21px; }
.result-topbar h2 { font-size: 24px; }
.notice { font-size: 19px; }
.match-panel h3 { font-size: 21px; }
.match-panel h3 span { font-size: 25px; }
.match-panel p { font-size: 18px; }
.mode-line { font-size: 18px; }
.idea-head h3 { font-size: 18px; }
.idea-chip { font-size: 16px; }
.idea-body h4 { font-size: 25px; }
.idea-meta span { font-size: 16px; }
.idea-text h5 { font-size: 18px; }
.idea-text p { font-size: 20px; }
.card-buttons button { font-size: 20px; }
.detail-product span { font-size: 16px; }
.detail-product h3 { font-size: 25px; }
.detail-product strong { font-size: 16px; }
.detail-hero h3 { font-size: 29px; }
.detail-hero p { font-size: 18px; }
.detail-hero h4 { font-size: 23px; }
.detail-hero blockquote,
.why-card p { font-size: 18px; }
.why-card h3,
.timeline-wrap > h3 { font-size: 23px; }
.timeline-card h4 { font-size: 21px; }
.timeline-card li { font-size: 18px; }
.timeline-card p { font-size: 16px; }
.finish-box { font-size: 19px; }
.detail-actions button,
.sop-actions button { font-size: 19px; }
.detail-actions p,
.sop-actions p { font-size: 14px; }
.sop-product h3 { font-size: 25px; }
.sop-product strong { font-size: 16px; }
.sop-strategy { font-size: 21px; }
.sop-summary h3 { font-size: 21px; }
.sop-stats strong { font-size: 30px; }
.sop-stats span { font-size: 14px; }
.sop-summary p { font-size: 18px; }
.sop-script > h3 { font-size: 22px; }
.day-tabs button { font-size: 19px; }
.day-tabs button span { font-size: 14px; }
#sopDayTitle { font-size: 27px; }
#sopDayTitle span { font-size: 16px; }
.sop-action-card header span { font-size: 21px; }
.sop-action-card h3 { font-size: 23px; }
.sop-action-card header strong { font-size: 15px; }
.sop-action-card > p { font-size: 18px; }
.sop-action-card h4 { font-size: 18px; }
.sop-action-card pre { font-size: 19px; }
.profile-name-field input { font-size: 24px; }
.profile-product-field input,
.saved-panel p { font-size: 16px; }
.profile-stats strong { font-size: 28px; }
.saved-panel h3 { font-size: 23px; }
.saved-panel h4 { font-size: 21px; }

/* User requested another 4px typography reduction. */
.soft-tab { font-size: 13px; }
.soft-tab span { font-size: 10px; }
.maker { font-size: 12px; }
#homeTitle { font-size: 34px; }
#homeScreen h2 { font-size: 19px; }
.subline { font-size: 15px; }
.voice-copy p { font-size: 14px; }
.voice-copy strong { font-size: 17px; }
.hold-tip { font-size: 13px; }
.text-link { font-size: 12px; }
.page-title { font-size: 19px; }
.page-subtitle { font-size: 12px; }
.voice-editor span { font-size: 12px; }
.voice-editor textarea { font-size: 13px; }
.ai-elements h3 { font-size: 12px; }
.ai-elements label span { font-size: 12px; }
.ai-elements input,
.ai-elements select { font-size: 13px; }
.outline-action,
.generate-action { font-size: 13px; }
.result-topbar h2 { font-size: 16px; }
.notice { font-size: 12px; }
.match-panel h3 { font-size: 13px; }
.match-panel h3 span { font-size: 17px; }
.match-panel p { font-size: 12px; }
.mode-line { font-size: 12px; }
.idea-head h3 { font-size: 12px; }
.idea-chip { font-size: 12px; }
.idea-body h4 { font-size: 17px; }
.idea-meta span { font-size: 12px; }
.idea-text h5 { font-size: 12px; }
.idea-text p { font-size: 12px; }
.card-buttons button { font-size: 12px; }
.detail-product span { font-size: 12px; }
.detail-product h3 { font-size: 17px; }
.detail-product strong { font-size: 12px; }
.detail-hero h3 { font-size: 21px; }
.detail-hero p { font-size: 12px; }
.detail-hero h4 { font-size: 15px; }
.detail-hero blockquote,
.why-card p { font-size: 12px; }
.why-card h3,
.timeline-wrap > h3 { font-size: 15px; }
.timeline-card h4 { font-size: 13px; }
.timeline-card li { font-size: 12px; }
.timeline-card p { font-size: 12px; }
.finish-box { font-size: 12px; }
.detail-actions button,
.sop-actions button { font-size: 12px; }
.detail-actions p,
.sop-actions p { font-size: 12px; }
.sop-product h3 { font-size: 17px; }
.sop-product strong { font-size: 12px; }
.sop-strategy { font-size: 13px; }
.sop-summary h3 { font-size: 13px; }
.sop-stats strong { font-size: 22px; }
.sop-stats span { font-size: 12px; }
.sop-summary p { font-size: 12px; }
.sop-script > h3 { font-size: 14px; }
.day-tabs button { font-size: 12px; }
.day-tabs button span { font-size: 12px; }
#sopDayTitle { font-size: 19px; }
#sopDayTitle span { font-size: 12px; }
.sop-action-card header span { font-size: 13px; }
.sop-action-card h3 { font-size: 15px; }
.sop-action-card header strong { font-size: 12px; }
.sop-action-card > p { font-size: 12px; }
.sop-action-card h4 { font-size: 12px; }
.sop-action-card pre { font-size: 12px; }
.profile-name-field input { font-size: 16px; }
.profile-product-field input,
.saved-panel p { font-size: 12px; }
.profile-stats strong { font-size: 20px; }
.saved-panel h3 { font-size: 15px; }
.saved-panel h4 { font-size: 13px; }

/* Tighten home spacing after the sample card. */
.hero-logo {
  width: 83px;
  height: 83px;
  margin: 22px auto 12px;
}

#homeTitle {
  margin: 22px 0 16px;
}

.subline {
  margin: 12px 0 24px;
}

.voice-copy {
  margin: 18px 0 16px;
}

.voice-copy p {
  max-width: 330px;
  margin-bottom: 0;
  font-size: 17px;
}

.voice-copy strong {
  margin-top: 12px;
}

.voice-copy small {
  margin-top: 10px;
  font-size: 13px;
}

.mic-button {
  width: 142px;
  height: 142px;
  margin-bottom: 14px;
  box-shadow: 0 13px 32px rgba(255, 91, 42, .24), 0 0 0 21px rgba(255, 91, 42, .08);
  font-size: 40px;
}

.mic-button.listening {
  transform: scale(.96);
  background: linear-gradient(145deg, #ff3d20, #e92b14);
  box-shadow: 0 12px 34px rgba(255, 63, 32, .3), 0 0 0 22px rgba(255, 91, 42, .14);
}

.text-link {
  margin-top: 54px;
}

/* User requested all typography to increase by 2px from the current compact pass. */
.soft-tab { font-size: 15px; }
.soft-tab span { font-size: 12px; }
.soft-tab { min-width: 86px; height: 48px; padding: 0 10px; }
.maker { font-size: 14px; }
#homeTitle { font-size: 32px; }
#homeScreen h2 { font-size: 21px; }
.subline { font-size: 17px; }
.voice-copy p { font-size: 16px; }
.voice-copy strong { font-size: 19px; }
.hold-tip { font-size: 15px; }
.text-link { font-size: 18px; }
.page-title { font-size: 21px; }
.page-subtitle { font-size: 14px; }
.voice-editor span { font-size: 14px; }
.voice-editor textarea { font-size: 15px; }
.ai-elements h3 { font-size: 14px; }
.ai-elements label span { font-size: 14px; }
.ai-elements input,
.ai-elements select { font-size: 15px; }
.outline-action,
.generate-action { font-size: 15px; }
.result-topbar h2 { font-size: 18px; }
.notice { font-size: 14px; }
.match-panel h3 { font-size: 15px; }
.match-panel h3 span { font-size: 19px; }
.match-panel p { font-size: 14px; }
.mode-line { font-size: 14px; }
.idea-head h3 { font-size: 14px; }
.idea-chip { font-size: 14px; }
.idea-body h4 { font-size: 19px; }
.idea-meta span { font-size: 14px; }
.idea-text h5 { font-size: 14px; }
.idea-text p { font-size: 14px; }
.card-buttons button { font-size: 14px; }
.detail-product span { font-size: 14px; }
.detail-product h3 { font-size: 19px; }
.detail-product strong { font-size: 14px; }
.detail-hero h3 { font-size: 23px; }
.detail-hero p { font-size: 14px; }
.detail-hero h4 { font-size: 17px; }
.detail-hero blockquote,
.why-card p { font-size: 14px; }
.why-card h3,
.timeline-wrap > h3 { font-size: 17px; }
.timeline-card h4 { font-size: 15px; }
.timeline-card li { font-size: 14px; }
.timeline-card p { font-size: 14px; }
.finish-box { font-size: 14px; }
.detail-actions button,
.sop-actions button { font-size: 14px; }
.detail-actions p,
.sop-actions p { font-size: 14px; }
.sop-product h3 { font-size: 19px; }
.sop-product strong { font-size: 14px; }
.sop-strategy { font-size: 15px; }
.sop-summary h3 { font-size: 15px; }
.sop-stats strong { font-size: 24px; }
.sop-stats span { font-size: 14px; }
.sop-summary p { font-size: 14px; }
.sop-script > h3 { font-size: 16px; }
.day-tabs button { font-size: 14px; }
.day-tabs button span { font-size: 14px; }
#sopDayTitle { font-size: 21px; }
#sopDayTitle span { font-size: 14px; }
.sop-action-card header span { font-size: 15px; }
.sop-action-card h3 { font-size: 17px; }
.sop-action-card header strong { font-size: 14px; }
.sop-action-card > p { font-size: 14px; }
.sop-action-card h4 { font-size: 14px; }
.sop-action-card pre { font-size: 14px; }
.profile-name-field input { font-size: 18px; }
.profile-product-field input,
.saved-panel p { font-size: 14px; }
.profile-stats strong { font-size: 22px; }
.saved-panel h3 { font-size: 17px; }
.saved-panel h4 { font-size: 15px; }

.outline-action,
.generate-action { font-size: 19px; }

@media (max-width: 560px) {
  .result-screen {
    padding-left: 8px;
    padding-right: 8px;
  }

  .result-topbar {
    height: 70px;
    margin-bottom: 8px;
  }

  .notice {
    height: 42px;
  }

  .match-panel {
    min-height: 78px;
    padding: 8px 18px;
  }

  .ring {
    width: 62px;
    height: 62px;
    border-width: 6px;
  }

  .ring strong { font-size: 27px; }
  .ring span { font-size: 11px; }
  .progress-line { margin-bottom: 7px; }
  .mode-line { margin-bottom: 8px; }

  .main-card {
    margin: 4px 24px 0;
  }

  .idea-card.side {
    min-height: 470px;
  }

  .idea-head {
    min-height: 92px;
    padding: 14px 15px;
  }

  .idea-body {
    padding: 14px 16px 16px;
  }

  .idea-body h4 {
    margin-bottom: 10px;
    font-size: 19px;
    line-height: 1.32;
  }

  .idea-meta {
    margin-bottom: 10px;
  }

  .percent {
    width: 52px;
    height: 52px;
  }

  .idea-text {
    padding: 13px;
  }

  .idea-text h5 {
    margin-bottom: 7px;
  }

  .idea-text p {
    -webkit-line-clamp: 5;
    line-height: 1.42;
  }

  .card-buttons {
    margin-top: 12px;
  }

  .card-buttons button {
    min-height: 44px;
  }

  .result-actions {
    grid-template-columns: 74px 74px;
    column-gap: 62px;
    margin-top: 18px;
    padding-bottom: 38px;
  }

  .round,
  .round.refresh {
    width: 74px;
    height: 74px;
    font-size: 30px;
  }

  .round span,
  .round.refresh span {
    bottom: -27px;
    width: 86px;
    font-size: 13px;
  }
}

@media (max-width: 560px) {
  .mini-top {
    grid-template-columns: auto auto auto;
    gap: 8px;
  }

  .soft-tab {
    min-width: 76px;
    height: 44px;
    gap: 5px;
    padding: 0 8px;
  }
}

