body.sxp-body {
  background-color: #f6f1e8 !important;
  background-image: repeating-radial-gradient(circle at 100% -20%, rgba(31, 111, 139, 0.07) 0 1px, transparent 1px 34px), repeating-radial-gradient(circle at -10% 110%, rgba(196, 92, 38, 0.06) 0 1px, transparent 1px 42px) !important;
  color: #2a2118 !important;
}
body.sxp-body .shell-footer { position: static; }
body.sxp-body main.shell-main.sxp-main {
  padding-left: 18px;
  padding-right: 18px;
  padding-bottom: 56px;
}
.sxp-sheet { width: min(760px, 100%); margin: 0 auto; color: #2a2118; }
.sxp-title, .sxp-type, .sxp-prompt, .sxp-lead, .sxp-skip, .sxp-kicker, .sxp-read, .sxp-dim, .sxp-hard, .sxp-clip, .sxp-safe, .sxp-note, .sxp-miss, .sxp-badge, .sxp-open, .sxp-hint, .sxp-here {
  color: #2a2118;
}
.sxp-title, .sxp-type { font-size: clamp(32px, 5vw, 52px); line-height: 1.15; margin: 12px 0 16px; }
.sxp-lead, .sxp-skip { font-size: 17px; line-height: 1.55; margin: 0 0 10px; }
.sxp-skip, .sxp-note, .sxp-miss, .sxp-hint { color: #5c5148; }
.sxp-gates { margin: 22px 0 18px; }
.sxp-gate-row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid #e4d8c8;
  cursor: pointer;
}
.sxp-gate-row input { width: 22px; height: 22px; margin: 0; accent-color: #c45c26; flex: none; }
.sxp-gate-row:has(input:checked) { color: #8a3412; }
.sxp-start, .sxp-actions button {
  margin-top: 18px;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: #c45c26;
  color: #fffaf6;
  font: inherit;
  font-size: 18px;
  cursor: pointer;
}
.sxp-ghost { background: transparent; color: #2a2118; border: 1px solid #c45c26; }
.sxp-meter { display: flex; gap: 2px; margin: 0 0 14px; }
.sxp-seg { flex: 1 1 0; height: 8px; border-radius: 99px; background: #eadfce; }
.sxp-seg.is-place.is-in { background: #c45c26; }
.sxp-seg.is-motive.is-in { background: #1f6f8b; }
.sxp-count { margin: 0; color: #8a3412; font-weight: 700; }
.sxp-here { margin: 8px 0 0; color: #c45c26; font-weight: 700; }
.sxp-prompt { font-size: clamp(26px, 4vw, 38px); line-height: 1.3; margin: 8px 0 8px; }
.sxp-hint { min-height: 1.4em; margin: 0 0 12px; font-size: 14px; }
.sxp-ruler { display: flex; flex-wrap: wrap; gap: 8px; }
.sxp-tick {
  flex: 1 1 18%;
  min-width: 104px;
  min-height: 54px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #2a2118;
  font: inherit;
  font-size: 16px;
  cursor: pointer;
}
.sxp-ruler.is-place .sxp-tick:nth-child(1) { background: #f8e6da; }
.sxp-ruler.is-place .sxp-tick:nth-child(2) { background: #f3d2bf; }
.sxp-ruler.is-place .sxp-tick:nth-child(3) { background: #e8b089; }
.sxp-ruler.is-place .sxp-tick:nth-child(4) { background: #d0703a; color: #fffaf6; }
.sxp-ruler.is-place .sxp-tick:nth-child(5) { background: #8a3412; color: #fffaf6; }
.sxp-ruler.is-motive .sxp-tick:nth-child(1) { background: #e5f1f4; }
.sxp-ruler.is-motive .sxp-tick:nth-child(2) { background: #c5e2ea; }
.sxp-ruler.is-motive .sxp-tick:nth-child(3) { background: #8ec4d4; }
.sxp-ruler.is-motive .sxp-tick:nth-child(4) { background: #2f86a3; color: #fffaf6; }
.sxp-ruler.is-motive .sxp-tick:nth-child(5) { background: #13485c; color: #fffaf6; }
.sxp-tick.is-on { outline: 3px solid #2a2118; outline-offset: 2px; }
.sxp-figure { margin: 8px 0 18px; }
.sxp-board { position: relative; }
.sxp-stage { width: 100%; height: auto; display: block; }
.sxp-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fffaf6;
  border: 2px solid #c45c26;
  font-weight: 800;
  font-size: 16px;
}
.sxp-board.is-comfort .sxp-badge { border-color: #1f6f8b; }
.sxp-board.is-thrill .sxp-badge { border-color: #b4234a; }
.sxp-board.is-mix .sxp-badge { border-color: #8d5a32; }
.sxp-note, .sxp-fantasy { margin: 8px 0 0; font-size: 16px; }
.sxp-fantasy { color: #b4234a; font-weight: 700; }
.sxp-kicker { font-size: 14px; letter-spacing: 0.04em; margin: 18px 0 6px; }
.sxp-read, .sxp-dim, .sxp-hard, .sxp-clip { font-size: 17px; line-height: 1.65; margin: 0; }
.sxp-open { margin: 0; padding-left: 1.2em; }
.sxp-open li { margin: 0 0 8px; }
.sxp-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sxp-safe { font-size: 14px; color: #5c5148; }
#sxp-download[hidden], #sxp-miss[hidden], #sxp-fantasy[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) {
  .sxp-tick { transition: none; }
}
