:root {
  --ink: #171714;
  --paper: #f2f0e9;
  --acid: #d9ff43;
  --orange: #ff5c35;
  --muted: #73736b;
  --line: rgba(23, 23, 20, 0.18);
  --white: #fbfaf5;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans SC", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

.grain {
  position: fixed;
  inset: 0;
  opacity: 0.035;
  pointer-events: none;
  z-index: 10;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.site-header {
  height: 76px;
  padding: 0 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 2;
}

.brand {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-button {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.main-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: stretch;
  height: 76px;
}

.nav-item {
  position: relative;
  border: 0;
  background: transparent;
  padding: 0 19px;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
}

.nav-item::after {
  content: "";
  position: absolute;
  left: 19px;
  right: 19px;
  bottom: -1px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.nav-item.active {
  color: var(--ink);
  font-weight: 600;
}

.nav-item.active::after {
  transform: scaleX(1);
}

.brand-mark {
  width: 36px;
  height: 36px;
  background: var(--ink);
  color: var(--acid);
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.header-actions,
.streak {
  display: flex;
  align-items: center;
}

.header-actions {
  gap: 24px;
}

.test-reset {
  padding: 8px 12px;
  border: 1px dashed rgba(255, 92, 53, 0.7);
  background: rgba(255, 92, 53, 0.06);
  color: #b53d22;
  font-size: 11px;
  cursor: pointer;
}

.test-reset:hover {
  color: white;
  background: var(--orange);
  border-style: solid;
}

.test-reset:disabled {
  opacity: 0.45;
  cursor: wait;
}

.streak {
  gap: 7px;
  font-size: 13px;
  color: var(--muted);
}

.streak-dot {
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
}

.streak strong {
  color: var(--ink);
}

.avatar {
  border: 1px solid var(--ink);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.hero {
  min-height: 670px;
  padding: 75px 8vw 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "品";
  position: absolute;
  right: -1vw;
  top: -16vw;
  font-size: min(56vw, 780px);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(23, 23, 20, 0.1);
  z-index: -1;
}

.eyebrow {
  display: flex;
  gap: 28px;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  margin-bottom: 38px;
}

.eyebrow span:first-child {
  padding-bottom: 7px;
  border-bottom: 2px solid var(--orange);
}

.hero h1 {
  margin: 0;
  font-size: clamp(70px, 10vw, 144px);
  line-height: 0.93;
  letter-spacing: -0.065em;
  font-weight: 700;
}

.hero h1 em {
  color: var(--orange);
  font-style: normal;
}

.hero-copy {
  margin: 42px 0 0 1vw;
  font-size: clamp(16px, 1.6vw, 22px);
  line-height: 1.8;
  color: #464640;
}

.scroll-hint {
  position: absolute;
  left: 8vw;
  bottom: 40px;
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}

.scroll-hint span {
  width: 30px;
  height: 1px;
  background: var(--ink);
}

.workout {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(600px, 3fr);
  border-top: 1px solid var(--line);
  align-items: start;
}

.workout-meta {
  padding: 54px 3vw 40px 4vw;
  position: sticky;
  top: 0;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  gap: 42px;
}

.meta-index {
  font-family: "DM Mono", monospace;
  font-size: 80px;
  line-height: 1;
  letter-spacing: -0.08em;
}

.meta-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin: 0 0 7px;
}

.meta-value {
  margin: 0;
  font-weight: 600;
}

.difficulty {
  display: flex;
  gap: 5px;
}

.difficulty i {
  display: block;
  width: 34px;
  height: 5px;
  background: var(--orange);
}

.difficulty i.muted {
  background: #cfcdc4;
}

.training-card {
  background: var(--white);
  border-left: 1px solid var(--line);
  padding: 68px max(7vw, 70px) 100px;
}

.card-intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.tag {
  display: inline-block;
  padding: 7px 12px;
  background: var(--acid);
  font-size: 12px;
  font-weight: 600;
  border-radius: 30px;
}

.tag.light {
  background: rgba(217, 255, 67, 0.14);
  color: var(--acid);
}

.time {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  color: var(--muted);
}

.training-card > h2 {
  font-size: clamp(40px, 5vw, 74px);
  line-height: 1.16;
  letter-spacing: -0.055em;
  margin: 0 0 32px;
}

.scenario {
  font-size: 17px;
  line-height: 1.9;
  max-width: 680px;
  color: #55544d;
  margin-bottom: 44px;
}

.scenario strong {
  color: var(--ink);
}

.product-stage {
  padding: 50px 5vw 25px;
  background: #dfddd5;
  position: relative;
  margin: 0 -1vw;
}

.browser-window {
  max-width: 720px;
  margin: 0 auto;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(39, 39, 34, 0.16);
}

.browser-bar {
  height: 38px;
  background: #f4f4f1;
  border-bottom: 1px solid #ddd;
  display: flex;
  align-items: center;
  position: relative;
  padding: 0 12px;
}

.browser-bar > span {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: #999;
  font: 9px "DM Mono", monospace;
}

.browser-dots {
  display: flex;
  gap: 5px;
}

.browser-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ccc;
}

.mock-content {
  width: 330px;
  margin: 0 auto;
  padding: 38px 0 46px;
  text-align: center;
}

.mock-logo {
  font: 700 17px "DM Mono", monospace;
  margin-bottom: 28px;
}

.mock-step {
  font: 8px "DM Mono", monospace;
  color: #aaa;
  letter-spacing: 0.12em;
}

.mock-content h3 {
  font-size: 23px;
  margin: 10px 0 5px;
}

.mock-content > p {
  color: #999;
  font-size: 10px;
  margin: 0 0 24px;
}

.mock-content button,
.mock-input {
  width: 100%;
  height: 38px;
  border-radius: 6px;
  font-size: 10px;
}

.mock-content button {
  background: #171714;
  color: white;
  border: 0;
}

.mock-divider {
  margin: 14px 0;
  height: 1px;
  background: #eee;
  position: relative;
}

.mock-divider span {
  position: absolute;
  background: white;
  padding: 0 10px;
  color: #aaa;
  font-size: 8px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.mock-input {
  border: 1px solid #ddd;
  color: #aaa;
  display: flex;
  align-items: center;
  padding: 0 12px;
  text-align: left;
}

.mock-foot {
  font-size: 8px;
  color: #999;
  margin-top: 24px;
}

.annotation {
  max-width: 720px;
  margin: 26px auto 0;
  font: 11px "DM Mono", monospace;
  color: #67675f;
}

.annotation span {
  color: var(--orange);
  font-family: "Noto Sans SC", sans-serif;
  font-weight: 600;
  margin-right: 18px;
}

.annotation strong {
  color: var(--orange);
}

.decision-block {
  max-width: 720px;
  margin: 84px auto 0;
}

.question-number,
.card-kicker {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--orange);
  font-weight: 700;
}

.decision-block > h3 {
  font-size: 32px;
  margin: 12px 0 25px;
}

.choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.choice {
  min-height: 105px;
  background: transparent;
  border: 1px solid #c8c6bd;
  padding: 18px;
  text-align: left;
  display: grid;
  grid-template-columns: 34px 1fr 20px;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: 180ms ease;
}

.choice:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.choice.selected {
  border-color: var(--ink);
  background: var(--acid);
  box-shadow: 5px 5px 0 var(--ink);
}

.choice-key {
  font: 500 18px "DM Mono", monospace;
}

.choice strong,
.choice small {
  display: block;
}

.choice strong {
  margin-bottom: 5px;
}

.choice small {
  color: #77766f;
  font-size: 12px;
}

.choice.selected small {
  color: #48483f;
}

.radio {
  width: 17px;
  height: 17px;
  border: 1px solid #999;
  border-radius: 50%;
  position: relative;
}

.choice.selected .radio {
  border-color: var(--ink);
}

.choice.selected .radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--ink);
}

.reason-label {
  display: flex;
  justify-content: space-between;
  margin: 35px 0 10px;
  font-size: 12px;
  font-weight: 600;
}

.reason-label span:last-child {
  color: #aaa;
  font: 10px "DM Mono", monospace;
}

textarea {
  display: block;
  resize: vertical;
  width: 100%;
  min-height: 130px;
  padding: 18px;
  background: transparent;
  border: 1px solid #c8c6bd;
  outline: 0;
  line-height: 1.7;
}

textarea:focus {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

textarea::placeholder {
  color: #aaa;
}

.submit-btn {
  width: 100%;
  border: 0;
  background: var(--ink);
  color: white;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  cursor: pointer;
  transition: 180ms ease;
}

.submit-btn:not(:disabled):hover {
  background: var(--orange);
}

.submit-btn:disabled {
  opacity: 0.28;
  cursor: not-allowed;
}

.arrow {
  font-size: 19px;
}

.privacy-note {
  text-align: center;
  color: #aaa;
  font-size: 10px;
}

.result-section {
  background: var(--ink);
  color: var(--white);
  padding: 110px 8vw 90px;
  display: none;
}

.result-section.visible {
  display: block;
  animation: reveal 600ms ease both;
}

.personal-feedback {
  max-width: 1080px;
  margin: 0 auto 1px;
  display: grid;
  grid-template-columns: 170px 1fr 150px;
  align-items: center;
  gap: 30px;
  padding: 38px 40px;
  background: var(--acid);
  color: var(--ink);
}

.feedback-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.feedback-copy h3 {
  margin: 0 0 9px;
  font-size: 24px;
}

.feedback-copy p {
  margin: 0;
  color: #4b4b41;
  line-height: 1.75;
  font-size: 13px;
}

.feedback-score {
  padding-left: 28px;
  border-left: 1px solid rgba(23, 23, 20, 0.25);
}

.feedback-score strong,
.feedback-score span {
  display: block;
}

.feedback-score strong {
  font: 500 48px/1 "DM Mono", monospace;
}

.feedback-score span {
  margin-top: 7px;
  font-size: 10px;
}

.peer-choice {
  max-width: 1080px;
  margin: 1px auto 0;
}

.peer-choice .result-card {
  min-height: auto;
}

.peer-choice .vote-main {
  margin: 30px 0 20px;
}

.answer-review {
  max-width: 1080px;
  margin: 75px auto;
}

.review-heading {
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: start;
  margin-bottom: 35px;
}

.review-heading > span,
.debate-intro > span {
  color: var(--acid);
  font: 10px "DM Mono", monospace;
  letter-spacing: 0.14em;
}

.review-heading h2 {
  margin: 0;
  font-size: clamp(30px, 3.5vw, 48px);
  line-height: 1.25;
  letter-spacing: -0.045em;
}

.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #45453f;
  border: 1px solid #45453f;
}

.review-card {
  min-height: 310px;
  padding: 38px;
  background: #20201c;
}

.review-card > p {
  margin: 0 0 30px;
  color: #8a8980;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.review-card h3 {
  margin: 0 0 16px;
  font-size: 24px;
}

.comparison-card {
  grid-row: span 2;
  background: var(--white);
  color: var(--ink);
}

.comparison-card > p {
  color: var(--orange);
}

.comparison-card > div,
.comprehensive-card > div {
  font-size: 14px;
  line-height: 1.9;
  white-space: pre-line;
}

.comparison-card ul {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
}

.comparison-card li {
  padding: 15px 0 15px 25px;
  border-top: 1px solid var(--line);
  position: relative;
  font-size: 13px;
  line-height: 1.6;
}

.comparison-card li::before {
  content: "×";
  position: absolute;
  left: 0;
  color: var(--orange);
  font: 500 16px "DM Mono", monospace;
}

.suggested-card {
  background: var(--acid);
  color: var(--ink);
}

.suggested-card > p {
  color: rgba(23, 23, 20, 0.6);
}

.suggested-card blockquote {
  margin: 0;
  font-size: 18px;
  line-height: 1.9;
}

.comprehensive-card > div {
  color: #c6c4ba;
}

.debate-section {
  max-width: 1080px;
  margin: 90px auto 0;
  display: grid;
  grid-template-columns: 0.8fr 1.5fr;
  gap: 1px;
  background: #45453f;
  border: 1px solid #45453f;
}

.debate-intro,
.debate-room {
  background: var(--ink);
  padding: 40px;
}

.debate-intro h2 {
  margin: 18px 0;
  font-size: 38px;
  letter-spacing: -0.04em;
}

.debate-intro > p {
  color: #8a8980;
  font-size: 13px;
  line-height: 1.8;
}

.debate-starters {
  margin-top: 35px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.debate-starters button {
  padding: 9px 12px;
  border: 1px solid #45453f;
  background: transparent;
  color: #aaa9a0;
  font-size: 11px;
  cursor: pointer;
}

.debate-starters button:hover {
  border-color: var(--acid);
  color: var(--acid);
}

.debate-room {
  min-height: 520px;
  display: flex;
  flex-direction: column;
}

.debate-messages {
  flex: 1;
  max-height: 430px;
  overflow-y: auto;
  padding-right: 8px;
}

.debate-message {
  max-width: 85%;
  margin-bottom: 22px;
}

.debate-message span {
  display: block;
  margin-bottom: 7px;
  color: #77766f;
  font-size: 10px;
}

.debate-message p {
  margin: 0;
  padding: 15px 17px;
  font-size: 13px;
  line-height: 1.75;
  background: #292924;
}

.user-message {
  margin-left: auto;
}

.user-message span {
  text-align: right;
}

.user-message p {
  background: var(--acid);
  color: var(--ink);
}

.debate-message.pending {
  opacity: 0.55;
}

.debate-input {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1px;
  margin-top: 20px;
  background: #45453f;
  border: 1px solid #45453f;
}

.debate-input textarea {
  min-height: 74px;
  resize: none;
  border: 0;
  background: #20201c;
  color: var(--white);
}

.debate-input button {
  border: 0;
  padding: 0 22px;
  background: var(--orange);
  color: var(--ink);
  cursor: pointer;
}

.debate-input button:disabled {
  opacity: 0.5;
  cursor: wait;
}

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

.result-heading {
  max-width: 850px;
  margin: 0 auto 65px;
  text-align: center;
}

.result-heading h2 {
  font-size: clamp(42px, 6vw, 82px);
  line-height: 1.14;
  letter-spacing: -0.055em;
  margin: 30px 0;
}

.result-heading > p {
  color: #aaa9a0;
  font-size: 17px;
  line-height: 1.8;
}

.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #45453f;
  border: 1px solid #45453f;
  max-width: 1080px;
  margin: 0 auto;
}

.result-grid .coach-card {
  grid-column: 1 / -1;
}

.result-card {
  background: var(--ink);
  padding: 40px;
  min-height: 300px;
}

.result-card .card-kicker {
  color: #8a8980;
}

.vote-main {
  display: flex;
  align-items: flex-end;
  gap: 15px;
  margin: 45px 0 20px;
}

.vote-main strong {
  color: var(--acid);
  font: 500 70px/0.8 "DM Mono", monospace;
  letter-spacing: -0.06em;
}

.vote-main span {
  font-size: 13px;
}

.vote-bar {
  height: 7px;
  background: #3a3a35;
}

.vote-bar span {
  display: block;
  height: 100%;
  background: var(--acid);
}

.vote-legend {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  color: #8a8980;
  font-size: 10px;
}

.coach-card blockquote {
  margin: 40px 0;
  font-size: 20px;
  line-height: 1.8;
}

.coach {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.coach small {
  color: #77766f;
}

.prompt-card {
  grid-column: 1 / -1;
  background: var(--orange);
  color: var(--ink);
  display: grid;
  grid-template-columns: 160px 1fr auto;
  align-items: center;
  gap: 30px;
  min-height: 220px;
}

.prompt-card .card-kicker {
  color: rgba(23, 23, 20, 0.65);
}

.prompt-card h3 {
  font-size: clamp(22px, 2.4vw, 35px);
  line-height: 1.5;
  margin: 0;
}

.prompt-card button {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  padding: 10px 0;
  cursor: pointer;
  white-space: nowrap;
}

.complete {
  max-width: 1080px;
  margin: 55px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
}

.complete-check {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--acid);
  color: var(--ink);
}

.complete strong,
.complete small {
  display: block;
}

.complete small {
  color: #77766f;
  margin-top: 3px;
}

.extra-workouts {
  max-width: 1080px;
  margin: 90px auto 0;
  padding-top: 55px;
  border-top: 1px solid #45453f;
}

.extra-heading {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 50px;
  align-items: end;
  margin-bottom: 34px;
}

.extra-heading span {
  color: var(--acid);
  font: 10px "DM Mono", monospace;
  letter-spacing: 0.14em;
}

.extra-heading h2 {
  margin: 12px 0 0;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.04em;
}

.extra-heading p {
  margin: 0;
  color: #8a8980;
  font-size: 12px;
  line-height: 1.8;
}

.extra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #45453f;
  border: 1px solid #45453f;
}

.extra-card {
  min-height: 270px;
  padding: 28px;
  border: 0;
  background: var(--ink);
  color: var(--white);
  text-align: left;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: 180ms ease;
}

.extra-card:hover {
  background: #24241f;
  transform: translateY(-4px);
}

.extra-card.done {
  background: #20201c;
}

.extra-number {
  color: #66665f;
  font: 11px "DM Mono", monospace;
}

.extra-theme {
  width: fit-content;
  margin-top: 34px;
  padding: 5px 9px;
  border-radius: 20px;
  color: var(--ink);
  background: var(--acid);
  font-size: 10px;
  font-weight: 700;
}

.extra-card strong {
  margin-top: 15px;
  font-size: 19px;
  line-height: 1.5;
}

.extra-card small {
  margin-top: 8px;
  color: #77766f;
}

.extra-card i {
  margin-top: auto;
  color: var(--orange);
  font-style: normal;
  font-size: 11px;
}

footer {
  min-height: 260px;
  padding: 70px 8vw 40px;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: end;
  gap: 30px;
}

.footer-brand {
  font-weight: 700;
}

footer p {
  font-size: clamp(22px, 3vw, 38px);
  line-height: 1.4;
  letter-spacing: -0.03em;
  margin: 0;
}

footer > span {
  text-align: right;
  color: var(--muted);
  font-size: 11px;
}

.loading-view {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
}

.loading-view span {
  width: 32px;
  height: 32px;
  border: 2px solid #d3d1c9;
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}

.loading-view.load-failed {
  color: var(--ink);
}

.offline-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  color: var(--orange);
  font: 500 25px "DM Mono", monospace;
}

.loading-view h2 {
  margin: 22px 0 7px;
  font-size: 26px;
}

.loading-view.load-failed p {
  margin: 0;
  color: var(--muted);
}

.loading-view button {
  margin-top: 25px;
  padding: 12px 25px;
  color: white;
  background: var(--ink);
  border: 0;
  cursor: pointer;
}

.loading-view button:hover {
  background: var(--orange);
}

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

.profile-view {
  min-height: 100vh;
}

.profile-hero {
  min-height: 570px;
  padding: 90px 8vw 70px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: end;
  gap: 80px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 82% 28%, rgba(217, 255, 67, 0.7) 0 8%, transparent 8.2%),
    var(--paper);
}

.profile-kicker {
  font: 11px "DM Mono", monospace;
  letter-spacing: 0.15em;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 7px;
}

.profile-hero h1 {
  margin: 38px 0 0;
  font-size: clamp(70px, 9vw, 130px);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.profile-summary {
  padding: 30px 0;
  border-top: 1px solid var(--ink);
}

.profile-summary strong {
  font: 500 78px/1 "DM Mono", monospace;
  letter-spacing: -0.06em;
}

.profile-summary > span {
  margin-left: 10px;
  font-size: 13px;
}

.profile-summary p {
  margin: 28px 0 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 13px;
}

.profile-content {
  padding: 100px 8vw 120px;
  background: var(--white);
}

.taste-map,
.blindspot-section,
.history-section {
  max-width: 1120px;
  margin: 0 auto;
}

.blindspot-section,
.history-section {
  margin-top: 120px;
}

.section-heading {
  display: grid;
  grid-template-columns: 100px 1fr;
  margin-bottom: 55px;
}

.section-heading > span {
  font: 500 38px "DM Mono", monospace;
}

.section-heading p {
  margin: 0 0 8px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.section-heading h2 {
  margin: 0;
  font-size: 38px;
  letter-spacing: -0.035em;
}

.skill-list {
  margin-left: 100px;
  border-top: 1px solid var(--line);
}

.skill-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) 2fr 50px;
  gap: 35px;
  align-items: center;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.skill-row strong,
.skill-row small {
  display: block;
}

.skill-row small {
  color: var(--muted);
  margin-top: 5px;
  font-size: 11px;
}

.skill-track {
  height: 6px;
  background: #dedcd3;
}

.skill-track span {
  display: block;
  height: 100%;
  background: var(--orange);
  transition: width 700ms ease;
}

.skill-row b {
  font: 500 20px "DM Mono", monospace;
  text-align: right;
}

.weekly-insight {
  margin-left: 100px;
  padding: 40px;
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 30px;
  background: var(--acid);
}

.weekly-insight span,
.training-prescription > span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.weekly-insight p {
  margin: 0;
  font-size: 20px;
  line-height: 1.8;
  letter-spacing: -0.02em;
}

.blindspot-list {
  margin-left: 100px;
}

.blindspot-item {
  display: grid;
  grid-template-columns: 65px 1fr 75px;
  gap: 30px;
  align-items: start;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.blindspot-rank {
  color: #aaa89e;
  font: 11px "DM Mono", monospace;
  padding-top: 7px;
}

.blindspot-meta {
  display: flex;
  gap: 8px;
  align-items: center;
}

.blindspot-meta span,
.blindspot-meta i {
  padding: 5px 8px;
  font-size: 9px;
  font-style: normal;
}

.blindspot-meta span {
  color: white;
  background: var(--ink);
}

.blindspot-meta i {
  color: #9a351f;
  background: rgba(255, 92, 53, 0.11);
}

.blindspot-main h3 {
  margin: 14px 0 8px;
  font-size: 24px;
}

.blindspot-main p {
  margin: 0;
  max-width: 680px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.blindspot-main small {
  display: block;
  margin-top: 12px;
  color: #aaa89e;
  font-size: 10px;
}

.blindspot-count {
  text-align: right;
}

.blindspot-count strong {
  font: 500 36px "DM Mono", monospace;
}

.blindspot-count span {
  margin-left: 4px;
  color: var(--muted);
  font-size: 10px;
}

.training-prescription {
  margin: 35px 0 0 100px;
  padding: 34px 40px;
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 30px;
  color: white;
  background: var(--orange);
}

.training-prescription h3 {
  margin: 0 0 8px;
  font-size: 23px;
}

.training-prescription p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  line-height: 1.8;
}

.history-list {
  margin-left: 100px;
}

.history-item {
  display: grid;
  grid-template-columns: 80px 1fr 85px;
  gap: 30px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.history-date {
  font: 12px "DM Mono", monospace;
  color: var(--muted);
}

.history-item span {
  color: var(--orange);
  font-size: 11px;
  font-weight: 700;
}

.history-item h3 {
  margin: 7px 0 9px;
  font-size: 20px;
}

.history-item p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.history-score {
  font: 500 28px "DM Mono", monospace;
  text-align: right;
}

.history-score small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font: 10px "Noto Sans SC", sans-serif;
}

.empty-history {
  padding: 60px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: white;
  border-radius: 5px;
  padding: 12px 18px;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: 220ms ease;
  z-index: 20;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 820px) {
  .site-header {
    padding: 0 20px;
  }

  .streak {
    display: none;
  }

  .test-reset {
    padding: 7px 9px;
  }

  .main-nav {
    position: static;
    transform: none;
    margin-left: auto;
    height: 76px;
  }

  .nav-item {
    padding: 0 10px;
    font-size: 12px;
  }

  .nav-item::after {
    left: 10px;
    right: 10px;
  }

  .avatar {
    display: none;
  }

  .brand > span:last-child {
    display: none;
  }

  .hero {
    min-height: 570px;
    padding: 55px 24px 65px;
  }

  .hero::after {
    top: 40px;
    font-size: 90vw;
  }

  .hero h1 {
    font-size: clamp(64px, 22vw, 100px);
  }

  .scroll-hint {
    left: 24px;
    bottom: 25px;
  }

  .workout {
    display: block;
  }

  .workout-meta {
    min-height: auto;
    position: static;
    padding: 30px 24px;
    display: grid;
    grid-template-columns: 65px 1fr 1fr;
    gap: 22px;
    align-items: center;
  }

  .meta-index {
    font-size: 52px;
  }

  .training-card {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 45px 24px 70px;
  }

  .training-card > h2 {
    font-size: 42px;
  }

  .product-stage {
    margin: 0;
    padding: 25px 15px 20px;
  }

  .mock-content {
    width: min(80%, 300px);
  }

  .annotation span {
    display: block;
    margin-bottom: 8px;
  }

  .decision-block {
    margin-top: 65px;
  }

  .choices {
    grid-template-columns: 1fr;
  }

  .result-section {
    padding: 80px 24px 60px;
  }

  .personal-feedback {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .answer-review {
    margin: 65px auto;
  }

  .review-heading {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .comparison-card {
    grid-row: auto;
  }

  .review-card {
    min-height: auto;
    padding: 30px;
  }

  .feedback-score {
    padding: 20px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(23, 23, 20, 0.25);
  }

  .result-grid {
    grid-template-columns: 1fr;
  }

  .prompt-card {
    grid-column: auto;
    display: block;
  }

  .prompt-card h3 {
    margin: 30px 0;
  }

  .extra-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .extra-grid {
    grid-template-columns: 1fr;
  }

  .extra-card {
    min-height: 230px;
  }

  .debate-section {
    grid-template-columns: 1fr;
  }

  .debate-intro,
  .debate-room {
    padding: 30px;
  }

  .debate-room {
    min-height: 460px;
  }

  .debate-input {
    grid-template-columns: 1fr;
  }

  .debate-input button {
    min-height: 52px;
  }

  footer {
    grid-template-columns: 1fr;
    padding: 55px 24px 35px;
  }

  footer > span {
    text-align: left;
  }

  .profile-hero {
    min-height: 540px;
    padding: 65px 24px 45px;
    grid-template-columns: 1fr;
    gap: 35px;
    background:
      radial-gradient(circle at 82% 18%, rgba(217, 255, 67, 0.7) 0 7%, transparent 7.2%),
      var(--paper);
  }

  .profile-hero h1 {
    font-size: 20vw;
  }

  .profile-summary {
    padding: 22px 0 0;
  }

  .profile-content {
    padding: 70px 24px 90px;
  }

  .section-heading {
    grid-template-columns: 60px 1fr;
  }

  .section-heading h2 {
    font-size: 29px;
  }

  .skill-list,
  .blindspot-list,
  .history-list {
    margin-left: 0;
  }

  .weekly-insight,
  .training-prescription {
    margin-left: 0;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 28px;
  }

  .weekly-insight p {
    font-size: 17px;
  }

  .blindspot-item {
    grid-template-columns: 40px 1fr 50px;
    gap: 14px;
  }

  .blindspot-main h3 {
    font-size: 20px;
  }

  .blindspot-count strong {
    font-size: 27px;
  }

  .skill-row {
    grid-template-columns: 1fr 45px;
    gap: 16px;
  }

  .skill-track {
    grid-row: 2;
    grid-column: 1 / -1;
  }

  .blindspot-section,
  .history-section {
    margin-top: 90px;
  }

  .history-item {
    grid-template-columns: 55px 1fr;
  }

  .history-score {
    display: none;
  }
}
