main.shell-main.ntr-main {
  padding-left: 16px;
  padding-right: 16px;
  padding-bottom: calc(96px + env(safe-area-inset-bottom));
}
.ntr-sheet,
.ntr-choice,
.ntr-start,
.ntr-gate-row,
.ntr-actions button,
#ntr-download { box-sizing: border-box; }
.ntr-sheet {
  position: relative;
  width: min(720px, 100%);
  margin: 8px auto 28px;
  padding: 28px 22px 32px 28px;
  overflow: hidden;
  color: #fff7f4;
  background:
    radial-gradient(90% 50% at 100% 0%, rgba(110, 28, 42, 0.55), transparent 60%),
    linear-gradient(180deg, #2a121c 0%, #12090e 100%);
  border: 1px solid rgba(196, 132, 74, 0.35);
  border-radius: 28px;
}
.ntr-sheet::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  background: linear-gradient(180deg, #9aa0a8 0 33%, #c4844a 33% 66%, #6e1c2a 66% 100%);
}
.ntr-key { display: flex; gap: 8px; height: 8px; }
.ntr-chip { flex: 1; display: block; border-radius: 99px; }
.ntr-chip-limit { background: #9aa0a8; }
.ntr-chip-sweet { background: #c4844a; }
.ntr-chip-core { background: #6e1c2a; }
.ntr-title { margin: 16px 0 0; color: #fff7f4; font-size: clamp(2rem, 5vw, 2.7rem); line-height: 1.15; letter-spacing: 0; }
.ntr-lead, .ntr-skip, .ntr-sentence, .ntr-safe, .ntr-clip { color: #fff7f4; font-size: 1.05rem; line-height: 1.55; }
.ntr-lead { margin: 12px 0 0; }
.ntr-skip { margin: 8px 0 0; color: #f0d3c4; }
.ntr-gates { display: grid; gap: 10px; margin-top: 18px; }
.ntr-gate-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid rgba(255, 247, 244, 0.22);
  border-radius: 16px;
  background: rgba(255, 247, 244, 0.06);
  color: #fff7f4;
  font-size: 1.08rem;
  cursor: pointer;
}
.ntr-gate-row input { width: 1.15rem; height: 1.15rem; accent-color: #c4844a; }
.ntr-miss { margin: 12px 0 0; color: #ffb4b8; }
.ntr-start {
  width: 100%;
  min-height: 58px;
  margin-top: 16px;
  border: 0;
  border-radius: 16px;
  background: #c4844a;
  color: #1a100c;
  font-size: 1.15rem;
  font-weight: 740;
  cursor: pointer;
}
.ntr-start:disabled { opacity: 0.42; cursor: not-allowed; }
.ntr-start:focus-visible, .ntr-choice:focus-visible, .ntr-actions button:focus-visible, #ntr-download:focus-visible {
  outline: 3px solid #fff7f4;
  outline-offset: 2px;
}
.ntr-count { margin: 0; color: #c4844a; font-weight: 740; letter-spacing: 0.04em; }
.ntr-prompt { margin: 12px 0 18px; color: #fff7f4; font-size: clamp(1.55rem, 4vw, 2.05rem); line-height: 1.35; }
.ntr-choices { display: grid; gap: 12px; }
.ntr-choice {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 68px;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid rgba(196, 132, 74, 0.4);
  border-radius: 18px;
  background: rgba(18, 9, 14, 0.55);
  color: #fff7f4;
  font-size: 1.15rem;
  text-align: left;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}
.ntr-choice:hover { background: rgba(196, 132, 74, 0.18); }
.ntr-choice.is-on { background: #c4844a; color: #1a100c; transform: translateY(-1px); }
.ntr-n {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(255, 247, 244, 0.12);
  color: inherit;
  font-weight: 740;
}
.ntr-scale { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ntr-plate {
  display: flex;
  align-items: flex-end;
  min-height: 108px;
  margin: 0;
  padding: 12px 8px;
  border: 1px solid rgba(255, 247, 244, 0.12);
  border-radius: 16px;
  background: rgba(255, 247, 244, 0.05);
  color: #d9c8d0;
  font-size: 0.92rem;
  font-weight: 740;
  line-height: 1.25;
}
.ntr-plate.is-on { color: #fff7f4; background: rgba(255, 247, 244, 0.14); }
.ntr-plate.is-peak[data-id="none"] { background: #3a3a40; color: #fff7f4; }
.ntr-plate.is-peak[data-id="limit"] { background: #9aa0a8; color: #1a100c; }
.ntr-plate.is-peak[data-id="sweet"] { background: #c4844a; color: #1a100c; }
.ntr-plate.is-peak[data-id="core"] { background: #6e1c2a; color: #fff7f4; }
.ntr-plate.is-named:not(.is-peak) { box-shadow: inset 0 0 0 2px #c4844a; }
.ntr-sources { display: grid; gap: 12px; margin-top: 18px; }
.ntr-track-head { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 6px; color: #f0d3c4; font-size: 0.95rem; }
.ntr-score { color: #fff7f4; font-weight: 740; }
.ntr-rail { height: 22px; overflow: hidden; border-radius: 99px; background: rgba(255, 247, 244, 0.08); }
.ntr-fill { display: block; height: 100%; width: 0; border-radius: inherit; }
.ntr-fill-H { background: #a56a72; }
.ntr-fill-P { background: #7d8f78; }
.ntr-fill-W { background: #6e7c90; }
.ntr-fill-R { background: #a08a62; }
.ntr-track.is-main .ntr-rail { box-shadow: 0 0 0 1px rgba(196, 132, 74, 0.9); }
.ntr-kicker { margin: 18px 0 0; color: #c4844a; font-size: 0.85rem; font-weight: 740; letter-spacing: 0.08em; }
.ntr-type { margin: 4px 0 0; color: #fff7f4; font-size: clamp(2rem, 6vw, 3.1rem); line-height: 1.1; }
.ntr-source { margin: 8px 0 0; color: #e2b15a; font-size: 1.2rem; font-weight: 740; }
.ntr-sentence { margin: 10px 0 0; }
.ntr-say, .ntr-hardline { margin: 14px 0 0; color: #fff7f4; line-height: 1.5; }
.ntr-say { padding: 12px 14px; border-left: 4px solid #c4844a; background: rgba(255, 247, 244, 0.06); }
.ntr-say-label, .ntr-hard-label { display: block; margin-bottom: 4px; color: #c4844a; font-size: 0.82rem; font-weight: 740; }
.ntr-hard-label { color: #ffb4b8; }
.ntr-clip { margin: 12px 0 0; color: #f0d3c4; }
.ntr-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ntr-actions button, #ntr-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(196, 132, 74, 0.55);
  border-radius: 999px;
  background: transparent;
  color: #fff7f4;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
#ntr-share { background: #6e1c2a; border-color: #6e1c2a; color: #fff7f4; }
.ntr-safe { margin: 16px 0 0; color: #f0d3c4; }
.ntr-gate[hidden],
.ntr-ask[hidden],
.ntr-result[hidden],
.ntr-miss[hidden],
.ntr-source[hidden],
#ntr-download[hidden] { display: none !important; }
@keyframes ntr-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.ntr-ask:not([hidden]) .ntr-prompt,
.ntr-result:not([hidden]) .ntr-scale { animation: ntr-in 0.28s ease; }
@media (max-width: 640px) {
  .ntr-plate { min-height: 84px; font-size: 0.78rem; }
  .ntr-choice { min-height: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .ntr-prompt, .ntr-scale, .ntr-choice { animation: none; transition: none; }
}
