:root {
  --paper: #fbfcf8;
  --ink: #17211b;
  --muted: #66736b;
  --line: #dce5dd;
  --surface: #ffffff;
  --wash: #eef7f0;
  --jade: #087b5b;
  --jade-dark: #045f47;
  --coral: #e5483f;
  --gold: #bd7a12;
  --mist: #e9eef5;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Heiti SC", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(8, 123, 91, 0.11), transparent 38%),
    linear-gradient(180deg, #fbfcf8 0%, #f2f7f4 58%, #eaf1ee 100%);
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

.app {
  width: min(480px, 100%);
  margin: 0 auto;
  padding: 16px 14px 28px;
}

.top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--jade);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: 1.42rem;
  line-height: 1.16;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 10px;
  font-size: 1.28rem;
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1rem;
}

.hidden {
  display: none !important;
}

.btn {
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 16px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.primary {
  color: #ffffff;
  background: var(--jade);
  box-shadow: 0 10px 22px rgba(8, 123, 91, 0.18);
}

.primary:hover {
  background: var(--jade-dark);
}

.quiet {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border-color: var(--line);
}

.danger-text {
  color: var(--coral);
}

.wide {
  width: 100%;
}

.onboarding {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
}

.quiz-copy {
  padding: 0 2px;
}

.quiz-copy p:last-child {
  max-width: 440px;
  margin-bottom: 10px;
  color: var(--muted);
  line-height: 1.55;
}

.quiz-shell,
.goal-band,
.progress-band,
.study,
.done {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 50px rgba(22, 33, 27, 0.08);
}

.quiz-copy h2 {
  display: none;
}

.quiz-shell {
  padding: 14px;
}

.quiz-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.quiz-step:first-child {
  padding-top: 0;
}

.step-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--jade);
  background: var(--wash);
  font-size: 0.78rem;
  font-weight: 900;
}

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

.choice {
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--surface);
  font-weight: 800;
  cursor: pointer;
}

.choice.selected {
  color: #ffffff;
  border-color: var(--jade);
  background: var(--jade);
}

label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.range-row {
  display: grid;
  grid-template-columns: 1fr 72px;
  gap: 14px;
  align-items: center;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--jade);
}

input[type="text"] {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  background: #ffffff;
  font-size: 1.05rem;
}

.range-row strong {
  display: grid;
  place-items: center;
  min-height: 42px;
  border-radius: 8px;
  color: var(--jade);
  background: var(--wash);
}

.plan-result {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0 10px;
}

.plan-result div,
.stats article,
.progress-band > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #ffffff;
}

.plan-result div {
  min-height: 74px;
}

.plan-result span,
.stats span,
.progress-band span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.plan-result strong,
.stats strong,
.progress-band strong {
  font-size: 1.2rem;
}

.plan-message {
  min-height: 0;
  margin-bottom: 14px;
  color: var(--gold);
  line-height: 1.55;
  font-weight: 800;
  font-size: 0.92rem;
}

.goal-band {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 16px;
  margin-bottom: 12px;
}

.goal-band .btn {
  width: 100%;
}

.start-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  min-width: 150px;
}

.goal-band p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.journey-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #ffffff 0%, #eef7f0 100%);
  box-shadow: 0 18px 50px rgba(22, 33, 27, 0.08);
}

.journey-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.journey-head div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.72);
}

.journey-head span,
.reward-grid span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.journey-head strong,
.reward-grid strong {
  font-size: 1.18rem;
}

.progress-track {
  width: 100%;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #dfe9e2;
}

.progress-fill {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--jade), #22a879);
  transition: width 0.45s ease;
}

.level-text {
  margin: 10px 0 0;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 900;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.progress-band {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: stretch;
  padding: 10px;
}

.progress-band strong {
  overflow-wrap: anywhere;
}

.tools {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.tools .btn {
  flex: 1 1 calc(50% - 8px);
  min-height: 42px;
  padding: 9px 10px;
}

.feed {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 10px;
  min-height: calc(100vh - 16px);
  max-height: calc(100vh - 16px);
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(8, 123, 91, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 8%, rgba(229, 72, 63, 0.15), transparent 28%),
    radial-gradient(circle at 92% 16%, rgba(189, 122, 18, 0.18), transparent 26%),
    linear-gradient(180deg, #fffdf7 0%, #eef8f1 100%);
  box-shadow: 0 18px 50px rgba(22, 33, 27, 0.1);
}

.feed-top {
  display: grid;
  grid-template-columns: 42px repeat(3, 1fr);
  gap: 8px;
  align-items: stretch;
}

.feed-close,
.feed-top > div {
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 24px rgba(22, 33, 27, 0.08);
}

.feed-close {
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 900;
  cursor: pointer;
}

.feed-top > div {
  padding: 8px;
  text-align: center;
}

.feed-top span {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
}

.feed-top strong {
  color: var(--jade);
  font-size: 1.08rem;
}

.feed-meter {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(8, 123, 91, 0.13);
}

.feed-meter div {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--coral), var(--gold), var(--jade));
  transition: width 0.35s ease;
}

.feed-card {
  min-height: 0;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 18px 34px rgba(22, 33, 27, 0.08);
}

.feed-listen {
  margin-bottom: 14px;
}

.feed-sentence {
  font-size: clamp(1.38rem, 7vw, 2.15rem);
  line-height: 1.2;
  font-weight: 900;
}

.feed-reveal {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf8;
}

.feed-actions {
  position: sticky;
  bottom: 0;
  z-index: 6;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  padding: 8px;
  background: rgba(251, 252, 248, 0.96);
  box-shadow: 0 -10px 28px rgba(22, 33, 27, 0.1);
}

.score-pop {
  animation: score-pop 0.35s ease;
}

.study {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 8px;
  min-height: calc(100vh - 16px);
  max-height: calc(100vh - 16px);
  padding: 10px;
  overflow: hidden;
}

.session-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 0;
}

.session-head .btn {
  min-height: 36px;
  padding: 8px 12px;
}

.session-journey {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 0;
  background: linear-gradient(135deg, #ffffff, #fff7e8);
}

.journey-icons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 1.15rem;
}

.journey-icons strong {
  color: var(--jade);
  font-size: 0.95rem;
}

.journey-path {
  position: relative;
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background:
    repeating-linear-gradient(
      90deg,
      #dfe9e2 0,
      #dfe9e2 12px,
      #cddbd1 12px,
      #cddbd1 18px
    );
}

.journey-fill {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--coral), var(--gold), var(--jade));
  transition: width 0.35s ease;
}

.journey-runner {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translate(-50%, -52%);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(22, 33, 27, 0.16);
  transition: left 0.35s ease;
}

.session-journey p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  text-align: center;
}

.study-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 0;
}

.study-steps span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 4px;
  color: var(--muted);
  background: #ffffff;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 800;
}

.study-steps span.active {
  color: #ffffff;
  border-color: var(--jade);
  background: var(--jade);
}

.study-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 0;
  max-height: 100%;
  padding: 12px;
  overflow: auto;
  background: #ffffff;
}

.prompt-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: center;
}

.listen-btn {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  background: var(--coral);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 25px rgba(229, 72, 63, 0.2);
}

.listen-btn:active,
.btn:active,
.choice:active,
.rate:active {
  transform: scale(0.99);
}

.sentence {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.45;
  letter-spacing: 0;
}

.phonetic {
  margin: 6px 0 0;
  color: var(--jade);
  font-size: 0.95rem;
  line-height: 1.4;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.pronunciation-tip {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
  font-weight: 700;
}

.reveal-phonetic {
  margin: -6px 0 14px;
}

.reveal-pronunciation-tip {
  margin: -8px 0 14px;
}

.translation {
  margin: 8px 0 10px;
  color: var(--muted);
  line-height: 1.6;
}

.action-row,
.shadow-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.reveal {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.mini-label {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
}

.full {
  margin-bottom: 14px;
}

.target {
  color: var(--coral);
  font-weight: 900;
}

.tip {
  margin: 0 0 12px;
  color: var(--gold);
  line-height: 1.5;
  font-weight: 800;
}

.result {
  margin: 0 0 12px;
  font-weight: 900;
}

.result.ok {
  color: var(--jade);
}

.result.bad {
  color: var(--coral);
}

.rating {
  margin-top: 0;
}

.rating p {
  color: var(--muted);
  font-weight: 800;
  margin: 0 0 8px;
  font-size: 0.86rem;
}

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

.rate {
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.session-actions {
  position: sticky;
  bottom: 0;
  z-index: 5;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  background: rgba(251, 252, 248, 0.96);
  box-shadow: 0 -8px 24px rgba(22, 33, 27, 0.08);
}

.rate span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.rate.again {
  border-color: rgba(229, 72, 63, 0.35);
}

.rate.good,
.rate.easy {
  border-color: rgba(8, 123, 91, 0.35);
}

.done {
  margin-top: 14px;
  padding: 20px;
  text-align: center;
}

.reward-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.reward-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 8px;
  background: #ffffff;
}

.done p {
  color: var(--muted);
  line-height: 1.6;
}

.milestone-message {
  color: var(--gold) !important;
  font-weight: 900;
}

.detail-stats {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 10px 0;
  padding: 12px;
  background: #ffffff;
  text-align: left;
}

.detail-stats p {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

.done .btn {
  width: 100%;
  margin-top: 8px;
}

.celebration {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 20;
  overflow: hidden;
}

.celebration span {
  position: absolute;
  top: -18px;
  width: 9px;
  height: 16px;
  border-radius: 3px;
  animation: confetti-fall 1.25s ease-in forwards;
}

@keyframes confetti-fall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(105vh) rotate(420deg);
    opacity: 0;
  }
}

@keyframes score-pop {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.22);
    color: var(--coral);
  }
  100% {
    transform: scale(1);
  }
}

@media (max-width: 820px) {
  .app {
    width: min(480px, 100%);
    padding: 14px 12px 24px;
  }

  .top,
  .goal-band,
  .session-head {
    flex-direction: column;
    align-items: stretch;
  }

  .onboarding,
  .progress-band {
    grid-template-columns: 1fr;
  }

  .quiz-copy {
    padding: 0;
  }

  .goal-band .btn,
  .done .btn {
    width: 100%;
  }

  .start-stack {
    width: 100%;
  }
}

@media (max-width: 460px) {
  .quiz-step {
    grid-template-columns: 30px 1fr;
  }

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

  .plan-result div {
    padding: 10px 8px;
  }

  .plan-result span {
    font-size: 0.72rem;
  }

  .plan-result strong {
    font-size: 1.04rem;
  }

  .tools .btn {
    flex: 1 1 calc(50% - 8px);
    padding-left: 8px;
    padding-right: 8px;
  }
}

/* Premium product layer */
:root {
  --paper: #f7f3ea;
  --ink: #111c17;
  --muted: #65736b;
  --line: rgba(17, 28, 23, 0.1);
  --surface: rgba(255, 255, 255, 0.9);
  --wash: #eef8f0;
  --jade: #08785b;
  --jade-dark: #03563f;
  --coral: #e8473f;
  --gold: #c9922a;
  --cream: #fffaf0;
  --shadow-soft: 0 18px 45px rgba(17, 28, 23, 0.12);
  --shadow-lift: 0 26px 70px rgba(17, 28, 23, 0.16);
}

body {
  background:
    radial-gradient(circle at 12% 0%, rgba(232, 71, 63, 0.15), transparent 32%),
    radial-gradient(circle at 88% 5%, rgba(201, 146, 42, 0.2), transparent 30%),
    linear-gradient(180deg, #fff9ef 0%, #f4f8ef 44%, #e8f0ec 100%);
}

.app {
  padding: 12px 12px 24px;
  min-height: 100svh;
  overflow-x: hidden;
}

.top {
  align-items: center;
  margin-bottom: 12px;
}

.brand-lockup {
  display: flex;
  flex: 1;
  min-width: 0;
  gap: 10px;
  align-items: center;
}

.app-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #ffffff;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.25), transparent 35%),
    linear-gradient(135deg, var(--jade), #0f9a72);
  box-shadow: 0 14px 30px rgba(8, 120, 91, 0.28);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.top h1 {
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.eyebrow {
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 950;
}

.btn {
  border-radius: 16px;
  min-height: 52px;
  font-weight: 950;
  letter-spacing: -0.01em;
}

.primary {
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 34%),
    linear-gradient(135deg, #0b8f6a, var(--jade-dark));
  box-shadow: 0 16px 30px rgba(8, 120, 91, 0.28);
}

.quiet,
.ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(17, 28, 23, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
}

.ghost {
  min-height: 40px;
  padding: 8px 12px;
  white-space: nowrap;
  flex: 0 0 auto;
}

.onboarding {
  display: grid;
  align-content: center;
  gap: 14px;
  min-height: min(640px, calc(100svh - 110px));
}

.landing {
  display: grid;
  gap: 12px;
}

.landing-hero,
.proof-list article,
.landing-promise,
.landing-actions {
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.landing-hero {
  position: relative;
  overflow: hidden;
  padding: 20px;
  background:
    radial-gradient(circle at 88% 4%, rgba(232, 71, 63, 0.16), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 250, 240, 0.82));
}

.landing-hero::after {
  content: "";
  position: absolute;
  right: -44px;
  bottom: -54px;
  width: 150px;
  height: 150px;
  border-radius: 46px;
  background: linear-gradient(135deg, rgba(8, 120, 91, 0.14), rgba(201, 146, 42, 0.2));
  transform: rotate(18deg);
}

.landing-hero > * {
  position: relative;
  z-index: 1;
}

.landing-hero h2 {
  margin: 12px 0 10px;
  font-size: clamp(1.75rem, 9vw, 2.65rem);
  line-height: 1;
  letter-spacing: -0.08em;
}

.landing-hero p {
  margin-bottom: 0;
  color: #4d5a52;
  line-height: 1.55;
  font-weight: 800;
}

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

.proof-list article {
  display: grid;
  gap: 4px;
  padding: 13px 14px;
}

.proof-list strong {
  color: var(--jade-dark);
  font-size: 1rem;
}

.proof-list span {
  color: var(--muted);
  line-height: 1.42;
  font-size: 0.88rem;
  font-weight: 800;
}

.landing-promise {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 10px;
}

.landing-promise div {
  border-radius: 20px;
  padding: 12px 8px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff, #fbf7ed);
}

.landing-promise span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
}

.landing-promise strong {
  color: var(--jade-dark);
  font-size: 1.05rem;
}

.landing-actions {
  display: grid;
  gap: 8px;
  padding: 10px;
}

.quiz-copy {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 28px;
  padding: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 250, 240, 0.82)),
    radial-gradient(circle at 90% 10%, rgba(8, 120, 91, 0.15), transparent 32%);
  box-shadow: var(--shadow-lift);
}

.quiz-copy::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -52px;
  width: 150px;
  height: 150px;
  border-radius: 46px;
  background: linear-gradient(135deg, rgba(232, 71, 63, 0.14), rgba(201, 146, 42, 0.2));
  transform: rotate(18deg);
}

.quiz-copy h2 {
  display: block;
  position: relative;
  z-index: 1;
  margin: 12px 0 10px;
  font-size: clamp(1.55rem, 8.4vw, 2.32rem);
  line-height: 1.02;
  letter-spacing: -0.08em;
}

.quiz-copy p:last-child {
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
  color: #4d5a52;
  font-size: 0.98rem;
}

.premium-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(201, 146, 42, 0.28);
  border-radius: 999px;
  padding: 6px 10px;
  color: #76510f;
  background: rgba(255, 246, 219, 0.82);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.premium-badge.small {
  margin-bottom: 8px;
}

.value-stack {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  margin: 0 0 14px;
}

.value-stack span {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(8, 120, 91, 0.1);
  border-radius: 16px;
  padding: 9px 10px;
  color: var(--jade-dark);
  background: rgba(238, 248, 240, 0.68);
  font-size: 0.86rem;
  font-weight: 950;
}

.value-stack span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(135deg, var(--gold), var(--jade));
  box-shadow: 0 0 0 5px rgba(8, 120, 91, 0.08);
}

.hero-proof {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.hero-proof div,
.quiz-shell,
.goal-band,
.journey-card,
.progress-band,
.premium-strip,
.stats article,
.done,
.study {
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.hero-proof div {
  min-height: 74px;
  padding: 12px 8px;
  text-align: center;
}

.hero-proof strong {
  display: block;
  color: var(--jade-dark);
  font-size: 1.18rem;
  font-weight: 950;
}

.hero-proof span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
}

.quiz-shell {
  padding: 16px;
}

.quiz-lead {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.45;
}

.quiz-header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.quiz-header strong {
  color: var(--jade-dark);
  font-size: 0.92rem;
}

.quiz-step {
  border-bottom-color: var(--line);
}

.quiz-progress-dots {
  display: flex;
  gap: 6px;
  padding: 12px 0 2px;
}

.quiz-progress-dots span {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: rgba(8, 120, 91, 0.12);
}

.quiz-progress-dots span.active {
  background: linear-gradient(90deg, var(--jade), #47d194);
}

.quiz-step:not(.active) {
  display: none;
}

.quiz-actions {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
}

.quiz-actions .wide {
  grid-column: 1 / -1;
}

.tab-view {
  display: none;
}

.tab-view.active {
  display: block;
}

.step-number,
.range-row strong,
.choice,
.plan-result div,
.progress-band > div,
.reward-grid div,
.detail-stats {
  border-radius: 18px;
}

.choice {
  min-height: 54px;
  background: rgba(255, 255, 255, 0.82);
}

.choice.selected {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 34%),
    var(--jade);
  box-shadow: 0 12px 24px rgba(8, 120, 91, 0.18);
}

.plan-result div {
  background: linear-gradient(180deg, #ffffff, #fbf7ed);
}

.goal-band {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  padding: 18px;
  background:
    radial-gradient(circle at 88% 6%, rgba(232, 71, 63, 0.18), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(240, 249, 243, 0.88));
}

.goal-band::before {
  content: "";
  position: absolute;
  right: -34px;
  top: 20px;
  width: 118px;
  height: 118px;
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(8, 120, 91, 0.16), rgba(201, 146, 42, 0.18));
  transform: rotate(18deg);
}

.goal-band > * {
  position: relative;
  z-index: 1;
}

.goal-band h2 {
  max-width: 330px;
  font-size: 1.72rem;
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.daily-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.daily-pills span {
  border: 1px solid rgba(8, 120, 91, 0.13);
  border-radius: 999px;
  padding: 7px 9px;
  color: var(--jade-dark);
  background: rgba(238, 248, 240, 0.82);
  font-size: 0.72rem;
  font-weight: 950;
}

.start-stack {
  margin-top: 4px;
}

.start-stack .primary {
  min-height: 58px;
  font-size: 1.02rem;
}

.journey-card {
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(17, 28, 23, 0.96), rgba(5, 86, 63, 0.94)),
    radial-gradient(circle at 90% 0%, rgba(201, 146, 42, 0.38), transparent 34%);
  color: #ffffff;
}

.journey-head div {
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.journey-head span,
.journey-card .level-text {
  color: rgba(255, 255, 255, 0.68);
}

.journey-head strong {
  color: #ffffff;
}

.progress-track {
  height: 13px;
  background: rgba(255, 255, 255, 0.16);
}

.progress-fill {
  background: linear-gradient(90deg, #f7c65b, #47d194);
}

.home-more {
  margin-bottom: 82px;
}

.home-more summary {
  display: grid;
  place-items: center;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 20px;
  color: var(--jade-dark);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
  font-size: 0.88rem;
  font-weight: 950;
  list-style: none;
  cursor: pointer;
  backdrop-filter: blur(16px);
}

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

.stats article {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 250, 240, 0.76));
}

.stats strong {
  color: var(--jade-dark);
  font-size: 1.35rem;
}

.progress-hero,
.progress-method,
.plan-hero,
.plan-pitch,
.account-card,
.progress-grid article,
.plan-grid article {
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.progress-hero,
.plan-hero {
  position: relative;
  overflow: hidden;
  padding: 18px;
  background:
    radial-gradient(circle at 88% 4%, rgba(201, 146, 42, 0.22), transparent 30%),
    rgba(255, 255, 255, 0.82);
}

.progress-hero h2,
.plan-hero h2 {
  margin-bottom: 8px;
  color: var(--jade-dark);
  font-size: clamp(2.2rem, 16vw, 4rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.plan-hero h2 {
  font-size: clamp(1.8rem, 11vw, 2.8rem);
}

.progress-hero p,
.plan-hero p,
.progress-method p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.48;
  font-weight: 800;
}

.progress-orbit {
  margin-top: 16px;
  border-radius: 999px;
  padding: 8px;
  background: rgba(8, 120, 91, 0.1);
}

.progress-ring-fill {
  width: 0%;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--jade));
  transition: width 0.35s ease;
}

.progress-orbit strong {
  display: block;
  margin-top: 8px;
  color: var(--jade-dark);
  font-weight: 950;
  text-align: center;
}

.progress-grid,
.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.progress-grid article,
.plan-grid article {
  padding: 14px;
}

.progress-grid span,
.plan-grid span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
}

.progress-grid strong,
.plan-grid strong {
  color: var(--jade-dark);
  font-size: 1.25rem;
}

.progress-method,
.plan-pitch {
  margin-top: 10px;
  padding: 16px;
}

.progress-method span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.progress-method strong,
.plan-pitch strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  line-height: 1.35;
}

.account-card {
  padding: 18px;
}

.account-card h2 {
  margin-bottom: 8px;
  color: var(--jade-dark);
  font-size: 1.65rem;
  letter-spacing: -0.055em;
}

.account-card > p {
  color: var(--muted);
  line-height: 1.5;
  font-weight: 800;
}

.auth-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 14px 0;
  border-radius: 18px;
  padding: 6px;
  background: rgba(8, 120, 91, 0.08);
}

.auth-switch button {
  min-height: 42px;
  border: 0;
  border-radius: 14px;
  color: var(--muted);
  background: transparent;
  font-weight: 950;
  cursor: pointer;
}

.auth-switch button.active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--jade), var(--jade-dark));
  box-shadow: 0 10px 22px rgba(8, 120, 91, 0.18);
}

.auth-form {
  display: grid;
  gap: 8px;
}

.auth-form label {
  margin: 4px 0 0;
  font-size: 0.82rem;
}

.auth-message {
  min-height: 22px;
  margin: 10px 0 0;
  font-size: 0.86rem;
  font-weight: 900;
}

.auth-message.ok {
  color: var(--jade-dark);
}

.auth-message.bad {
  color: var(--coral);
}

.account-sync-box {
  border: 1px solid rgba(8, 120, 91, 0.12);
  border-radius: 18px;
  padding: 14px;
  margin: 14px 0;
  background: rgba(238, 248, 240, 0.72);
}

.account-progress-card {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(8, 120, 91, 0.12);
  border-radius: 20px;
  padding: 14px;
  margin: 14px 0 10px;
  background:
    radial-gradient(circle at 100% 0%, rgba(201, 146, 42, 0.18), transparent 38%),
    rgba(238, 248, 240, 0.72);
}

.account-progress-card > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.account-progress-card span,
.account-metrics span {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 950;
}

.account-progress-card strong {
  color: var(--jade-dark);
  font-size: 1.55rem;
  line-height: 1;
}

.account-progress-card p {
  margin: 0;
  color: var(--jade-dark);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.35;
}

.progress-track.slim {
  height: 10px;
}

.account-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.account-metrics article {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.62);
}

.account-metrics strong {
  display: block;
  margin-top: 5px;
  color: var(--jade-dark);
  font-size: 1.18rem;
}

.account-sync-box span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 950;
}

.account-sync-box strong {
  color: var(--jade-dark);
}

.home-more .premium-strip {
  margin-top: 12px;
  padding: 16px;
}

.premium-strip strong {
  display: block;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.25;
}

.premium-strip p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 750;
}

.sales-card {
  margin: 12px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 24px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.sales-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.sales-card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.35;
}

.sales-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sales-card li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.9rem;
  font-weight: 800;
}

.sales-card li::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--jade);
}

.app-tabbar {
  position: fixed;
  right: max(12px, calc((100vw - 480px) / 2 + 12px));
  bottom: max(12px, env(safe-area-inset-bottom));
  left: max(12px, calc((100vw - 480px) / 2 + 12px));
  z-index: 12;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 24px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 45px rgba(17, 28, 23, 0.16);
  backdrop-filter: blur(20px);
}

.app-tabbar button {
  min-height: 46px;
  border: 0;
  border-radius: 18px;
  color: var(--muted);
  background: transparent;
  font-weight: 950;
  cursor: pointer;
}

.app-tabbar button.active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--jade), var(--jade-dark));
  box-shadow: 0 10px 22px rgba(8, 120, 91, 0.2);
}

.training-mode .app-tabbar {
  display: none;
}

.feed {
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 30px;
  min-height: calc(100svh - 36px);
  max-height: calc(100svh - 36px);
  padding: 12px;
  background:
    radial-gradient(circle at 20% 0%, rgba(232, 71, 63, 0.18), transparent 31%),
    radial-gradient(circle at 92% 12%, rgba(201, 146, 42, 0.24), transparent 30%),
    linear-gradient(180deg, #fff8ed 0%, #edf8f1 100%);
  box-shadow: var(--shadow-lift);
}

.feed-close,
.feed-top > div,
.feed-card,
.feed-actions,
.feed-reveal {
  border-radius: 22px;
}

.feed-top {
  grid-template-columns: 48px repeat(3, 1fr);
}

.feed-close,
.feed-top > div {
  border-color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(14px);
}

.feed-top strong {
  color: var(--jade-dark);
  font-size: 1.14rem;
}

.feed-card {
  position: relative;
  padding: 15px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 252, 245, 0.93));
}

.study {
  min-height: calc(100svh - 36px);
  max-height: calc(100svh - 36px);
}

.training-mode .top {
  display: none;
}

.training-mode .feed,
.training-mode .study {
  min-height: calc(100svh - 24px);
  max-height: calc(100svh - 24px);
}

.feed-card-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}

.feed-card-top span,
.feed-card-top strong {
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.06em;
}

.feed-card-top span {
  color: #7b5511;
  background: rgba(255, 246, 219, 0.86);
}

.feed-card-top strong {
  color: var(--jade-dark);
  background: rgba(238, 248, 240, 0.9);
}

.listen-btn {
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 36%),
    linear-gradient(135deg, var(--coral), #d83129);
}

.feed-sentence {
  letter-spacing: -0.055em;
}

.feed-actions {
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(18px);
}

.rate {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
}

.done {
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% -10%, rgba(201, 146, 42, 0.18), transparent 38%),
    rgba(255, 255, 255, 0.84);
}

@media (max-width: 820px) {
  .top {
    flex-direction: row;
    align-items: center;
  }

  .goal-band {
    flex-direction: initial;
  }
}

@media (max-width: 380px) {
  .hero-proof strong,
  .stats strong {
    font-size: 1.04rem;
  }

  .feed-top {
    grid-template-columns: 42px repeat(3, 1fr);
    gap: 6px;
  }

  .feed-top > div {
    padding: 7px 4px;
  }
}

@media (max-width: 520px) {
  body {
    overflow: hidden;
  }

  .app {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 8px;
    height: 100svh;
    padding: 12px;
    overflow: hidden;
  }

  .top {
    margin-bottom: 0;
  }

  .onboarding,
  .landing,
  #dashboardPanel:not(.hidden) {
    min-height: 0;
    overflow: hidden;
  }

  .landing {
    grid-template-rows: auto auto auto auto;
  }

  .landing-hero {
    padding: 15px;
    border-radius: 24px;
  }

  .landing-hero h2 {
    margin: 9px 0 7px;
    font-size: clamp(1.44rem, 7.2vw, 1.95rem);
    letter-spacing: -0.07em;
  }

  .landing-hero p {
    font-size: 0.88rem;
    line-height: 1.38;
  }

  .proof-list {
    gap: 6px;
  }

  .proof-list article {
    padding: 10px 12px;
    border-radius: 20px;
  }

  .proof-list span {
    font-size: 0.78rem;
    line-height: 1.32;
  }

  .landing-promise {
    padding: 8px;
    border-radius: 22px;
  }

  .landing-promise div {
    padding: 9px 4px;
    border-radius: 16px;
  }

  .landing-promise strong {
    font-size: 0.92rem;
  }

  .landing-actions {
    padding: 8px;
    border-radius: 22px;
  }

  .landing-actions .btn {
    min-height: 48px;
  }

  .onboarding {
    display: grid;
    grid-template-rows: 1fr;
    align-content: stretch;
    gap: 8px;
    min-height: 0;
  }

  .quiz-copy {
    padding: 12px;
    border-radius: 24px;
  }

  .quiz-copy h2 {
    margin: 8px 0 6px;
    font-size: clamp(1.22rem, 6.6vw, 1.68rem);
    letter-spacing: -0.065em;
  }

  .quiz-copy p:last-child {
    display: none;
  }

  .premium-badge {
    min-height: 24px;
    padding: 5px 8px;
    font-size: 0.61rem;
  }

  .value-stack {
    display: none;
  }

  .value-stack span {
    justify-content: center;
    min-height: 42px;
    padding: 6px 5px;
    text-align: center;
    font-size: 0.68rem;
    line-height: 1.18;
  }

  .value-stack span::before {
    display: none;
  }

  .hero-proof {
    gap: 6px;
  }

  .hero-proof div {
    min-height: 50px;
    padding: 7px 4px;
  }

  .hero-proof strong {
    font-size: 1rem;
  }

  .hero-proof span {
    font-size: 0.65rem;
  }

  .quiz-shell {
    display: grid;
    grid-template-rows: auto auto auto 1fr auto auto;
    min-height: 0;
    overflow: hidden;
    padding: 10px;
    border-radius: 24px;
  }

  .quiz-lead {
    margin-top: 8px;
    font-size: 0.78rem;
    line-height: 1.32;
  }

  .quiz-header {
    padding-bottom: 6px;
  }

  .quiz-step {
    grid-template-columns: 28px 1fr;
    gap: 8px;
    padding: 7px 0;
  }

  .step-number {
    width: 28px;
    height: 28px;
    font-size: 0.68rem;
  }

  h3 {
    margin-bottom: 7px;
    font-size: 0.9rem;
  }

  label {
    margin-bottom: 7px;
    font-size: 0.82rem;
  }

  .choice-grid {
    gap: 6px;
  }

  .choice {
    min-height: 36px;
    border-radius: 14px;
    font-size: 0.82rem;
  }

  .range-row {
    grid-template-columns: 1fr 54px;
    gap: 8px;
  }

  .range-row strong {
    min-height: 32px;
    font-size: 0.9rem;
  }

  .plan-result {
    display: none;
  }

  .plan-result div {
    min-height: 52px;
    padding: 7px 5px;
    border-radius: 14px;
  }

  .plan-message {
    display: none;
  }

  #createPlanBtn {
    min-height: 48px;
    margin-top: 8px;
  }

  #dashboardPanel:not(.hidden) {
    display: grid;
    grid-template-rows: 1fr auto;
    gap: 8px;
    padding-bottom: 76px;
  }

  .tab-view.active {
    display: grid;
    align-content: start;
    gap: 8px;
    min-height: 0;
    overflow: hidden;
  }

  #progressView.active,
  #planView.active {
    overflow: auto;
    padding-bottom: 2px;
  }

  .goal-band {
    gap: 10px;
    padding: 14px;
    border-radius: 24px;
  }

  .goal-band h2 {
    margin-bottom: 7px;
    font-size: 1.36rem;
  }

  .goal-band p:last-child {
    font-size: 0.86rem;
    line-height: 1.38;
  }

  .daily-pills {
    gap: 5px;
    margin-top: 8px;
  }

  .daily-pills span {
    padding: 6px 7px;
    font-size: 0.64rem;
  }

  .start-stack {
    grid-template-columns: 1.35fr 0.9fr;
    gap: 8px;
  }

  .start-stack .primary,
  .start-stack .quiet {
    min-height: 52px;
    font-size: 0.92rem;
  }

  .journey-card {
    margin-bottom: 0;
    padding: 13px;
    border-radius: 24px;
  }

  .journey-head {
    margin-bottom: 8px;
  }

  .journey-head div {
    padding: 9px;
    border-radius: 16px;
  }

  .level-text {
    margin-top: 8px;
    font-size: 0.82rem;
  }

  .stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 0;
  }

  .stats article {
    min-height: 66px;
    padding: 9px 5px;
    text-align: center;
    border-radius: 18px;
  }

  .stats span {
    margin-bottom: 4px;
    font-size: 0.66rem;
  }

  .stats strong {
    font-size: 0.98rem;
  }

  .home-more {
    display: none;
  }

  .home-more summary {
    min-height: 44px;
    border-radius: 18px;
    font-size: 0.82rem;
  }

  .progress-hero,
  .plan-hero {
    padding: 15px;
    border-radius: 24px;
  }

  .progress-hero h2 {
    font-size: 3rem;
  }

  .plan-hero h2 {
    font-size: 1.75rem;
  }

  .progress-grid,
  .plan-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 7px;
    margin-top: 0;
  }

  .progress-grid article,
  .plan-grid article {
    padding: 12px;
    border-radius: 20px;
  }

  .progress-method,
  .plan-pitch,
  .account-card {
    margin-top: 0;
    padding: 14px;
    border-radius: 22px;
  }
}
