.fds-main {
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 56px;
  background: #fbf3e6;
  color: #2c2620;
}
.fds-sheet {
  width: min(760px, 100%);
  margin: 28px auto 0;
}
.fds-title {
  margin: 0 0 14px;
  font-size: clamp(32px, 5vw, 46px);
  line-height: 1.2;
  letter-spacing: 0;
  color: #2c2620;
}
.fds-lead,
.fds-skip,
.fds-safe,
.fds-miss {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.65;
  color: #3d342c;
}
.fds-skip { color: #5d5348; }
.fds-gates {
  display: grid;
  gap: 10px;
  margin: 22px 0 18px;
}
.fds-gate-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid #d7c7b2;
  background: #fffaf2;
  color: #2c2620;
  font-size: 16px;
  line-height: 1.5;
}
.fds-gate-row input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: #e09a5a;
}
.fds-start,
.fds-actions button,
.fds-actions a {
  min-height: 52px;
  border: 0;
  background: #e09a5a;
  color: #2c2620;
  font: 700 17px/1.2 "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  cursor: pointer;
  text-decoration: none;
}
.fds-start { width: 100%; }
.fds-start:disabled { background: #e6d8c6; color: #8a7b6c; cursor: not-allowed; }
.fds-miss { color: #8e4a3a; }
.fds-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 14px;
}
.fds-step {
  width: 16px;
  height: 10px;
  background: #efe2d0;
}
.fds-step.is-done { background: #e09a5a; }
.fds-step.is-now { background: #6b8f71; }
.fds-count {
  margin: 0 0 8px;
  color: #6b8f71;
  font-size: 14px;
  letter-spacing: 0.08em;
}
.fds-prompt {
  margin: 0 0 22px;
  font-size: clamp(26px, 4vw, 34px);
  line-height: 1.35;
  color: #2c2620;
}
.fds-ruler {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fds-choice {
  flex: 1 1 0;
  min-width: 0;
  min-height: 52px;
  padding: 10px 8px;
  border: 1px solid #d7c7b2;
  background: #fffaf2;
  color: #2c2620;
  font: 600 16px/1.3 "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  cursor: pointer;
}
.fds-choice:hover,
.fds-choice:focus-visible { border-color: #e09a5a; outline: 2px solid #e09a5a; outline-offset: 2px; }
.fds-choice.is-on { background: #e09a5a; border-color: #e09a5a; }
.fds-figure {
  display: grid;
  gap: 18px;
  margin-bottom: 22px;
}
.fds-matrix { display: grid; gap: 8px; }
.fds-row-name {
  margin: 8px 0 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #5d5348;
}
.fds-row { display: flex; gap: 6px; }
.fds-cell {
  flex: 1 1 0;
  height: 42px;
  background: #efe2d0;
}
.fds-feed .fds-cell.is-on { background: #e09a5a; }
.fds-fed .fds-cell.is-on { background: #6b8f71; }
.fds-figure.is-quiet .fds-cell.is-on { background: #c9c0b2; }
.fds-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.fds-col {
  min-height: 84px;
  padding: 14px 10px;
  border: 1px solid #d7c7b2;
  background: #fffaf2;
  color: #8a7b6c;
  font-weight: 700;
  text-align: center;
}
.fds-col.is-on { color: #2c2620; background: #fffaf2; }
.fds-col[data-mean="care"].is-on { background: #f3d7b4; border-color: #e09a5a; }
.fds-col[data-mean="mix"].is-on { background: #efe6da; border-color: #2c2620; }
.fds-col[data-mean="guide"].is-on { background: #d7e4d8; border-color: #6b8f71; }
.fds-type {
  margin: 0 0 8px;
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1.2;
  color: #2c2620;
}
.fds-result.is-quiet .fds-type { color: #6d6258; }
.fds-kicker {
  margin: 18px 0 6px;
  color: #6b8f71;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.fds-read,
.fds-dim,
.fds-hard,
.fds-clip {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: #2c2620;
}
.fds-open {
  margin: 0;
  padding-left: 1.2em;
  color: #2c2620;
  font-size: 17px;
  line-height: 1.7;
}
.fds-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}
.fds-actions button,
.fds-actions a {
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
}
.fds-actions button:nth-child(n + 2),
.fds-actions a {
  background: #fffaf2;
  border: 1px solid #d7c7b2;
}
@media (max-width: 640px) {
  .fds-choice { flex: 1 1 30%; }
  .fds-cell { height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .fds-choice, .fds-start, .fds-cell { transition: none; }
}
