/* Games reuse the site's cream, sage and ink palette. */
.nv-play { width: min(600px, 100%); }
.nv-play h2 { margin: 14px 0 18px; font-size: clamp(29px, 4vw, 43px); line-height: 1.05; letter-spacing: -1.3px; }
.nv-play h2:focus { outline: none; }
.nv-play .nv-play-intro { color: var(--muted, #64675c); line-height: 1.65; margin-bottom: 22px; }
.nv-play button, .nv-play input, .nv-play-styles button { min-height: 44px; }
.nv-play button:focus-visible, .nv-play a:focus-visible, .nv-play-styles button:focus-visible { outline: 3px solid #9f562b; outline-offset: 3px; }
.nv-play button:disabled { cursor: default; opacity: .5; }
.nv-play-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; }
.nv-play-actions .button { flex-grow: 1; text-align: center; }
.nv-play-footnote { display: flex; gap: 16px; justify-content: space-between; align-items: start; color: var(--muted, #64675c); font-size: 11px !important; line-height: 1.7; margin: 21px 0 0; }
.nv-play-footnote .text-button { flex-shrink: 0; font-size: 11px; }
.nv-play .nv-play-status { font-size: 12px; margin: 15px 0 0; line-height: 1.6; min-height: 0; }
.nv-play-status:empty { display: none; }
.nv-quiz-progress { display: flex; flex-wrap: wrap; gap: 5px 12px; justify-content: space-between; font-size: 11px; margin-bottom: 9px; color: var(--muted, #64675c); }
.nv-play progress { display: block; width: 100%; height: 7px; appearance: none; border: 0; border-radius: 10px; background: #dedfce; color: #54684e; }
.nv-play progress::-webkit-progress-bar { background: #dedfce; border-radius: 10px; }
.nv-play progress::-webkit-progress-value { background: #54684e; border-radius: 10px; }
.nv-play progress::-moz-progress-bar { background: #54684e; border-radius: 10px; }
.nv-quiz-question { border: 0; padding: 0; margin: 26px 0 0; min-width: 0; }
.nv-quiz-question legend { font-size: 20px; font-weight: 700; line-height: 1.4; margin-bottom: 18px; padding: 0; max-width: 100%; }
.nv-quiz-question legend small { display: block; font-size: 9px; letter-spacing: 1.2px; font-weight: 600; color: var(--muted, #64675c); margin-bottom: 8px; }
.nv-quiz-options { display: grid; gap: 10px; }
.nv-quiz-options .nv-quiz-option { display: flex; align-items: center; position: relative; gap: 13px; border: 1px solid var(--line, #d5d6c7); border-radius: 10px; background: var(--white, #fffdf5); padding: 14px; margin: 0; cursor: pointer; font-size: 13px; line-height: 1.55; font-weight: 500; }
.nv-quiz-option:hover { border-color: #76846d; }
.nv-quiz-option:has(input:checked) { background: #e0e6d3; border-color: #54684e; }
.nv-quiz-option:has(input:focus-visible) { outline: 3px solid #9f562b; outline-offset: 3px; }
.nv-quiz-option input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; padding: 0; margin: 0; min-height: 0; }
.nv-answer-letter { display: grid; flex-shrink: 0; place-items: center; width: 30px; height: 30px; border: 1px solid #a3ad94; border-radius: 50%; font-size: 11px; font-weight: 700; }
.nv-quiz-option:has(input:checked) .nv-answer-letter { background: #34412e; color: #fffaf0; border-color: #34412e; }
.nv-result-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 24px; align-items: center; margin: 20px 0; }
.nv-result-preview { min-width: 0; }
.nv-result-preview canvas { width: 100%; height: auto; max-height: none; border-radius: 6px; }
.nv-result-symbol { display: inline-grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--ink, #252823); background: var(--yellow, #efda78); border-radius: 50%; font-size: 31px; }
.nv-result-copy p { font-size: 12px; line-height: 1.75; }
.nv-result-copy blockquote { margin: 17px 0; font-size: 19px; line-height: 1.4; font-weight: 700; letter-spacing: -.3px; }
.nv-result-copy .subtle { font-size: 10px; }
.nv-play .nv-result-link { margin: 24px 0 0; font-size: 11px; }
.nv-result-link input { font-size: 12px; font-weight: 400; }
.nv-play-link-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 5px; flex-wrap: wrap; }
.nv-play-link-actions .text-button { font-size: 11px; }
.nv-play #nv-result-privacy { font-size: 10px; margin: 0; }
.nv-mascot-stage { display: grid; grid-template-columns: 42% 1fr; align-items: center; min-height: 280px; margin: 15px 0 24px; background: #e2e7d6; border: 1px solid #c2cbb4; border-radius: 14px; overflow: hidden; position: relative; }
.nv-mascot-stage img { width: 100%; height: 290px; object-fit: cover; object-position: center 20%; transform-origin: 50% 80%; border-radius: 0 45% 45% 0; }
.nv-mascot-bubble { margin: 18px 20px 18px 5px; padding: 20px; border: 1px solid var(--ink, #252823); background: #fffaf0; border-radius: 13px 13px 13px 2px; position: relative; }
.nv-mascot-bubble .eyebrow { font-size: 8px; }
.nv-mascot-bubble blockquote { font-size: clamp(18px, 2.2vw, 24px); font-weight: 700; letter-spacing: -.35px; line-height: 1.3; margin: 13px 0 18px; }
.nv-mascot-signature { color: var(--muted, #64675c); font-size: 9px; }
.nv-mascot-situations { display: flex; flex-wrap: wrap; gap: 8px; }
.nv-mascot-situations .chip { flex: 1 0 auto; font-size: 11px; padding: 10px 13px; }
.nv-mascot-situations [aria-pressed="true"] { color: #fffaf0; background: #34412e; border-color: #34412e; }
.nv-mascot-stage .is-popping { animation: nv-mascot-pop .62s ease both; }
@keyframes nv-mascot-pop { 0%, 100% { transform: rotate(0) translateY(0); } 25% { transform: rotate(-4deg) translateY(-5px); } 65% { transform: rotate(3deg) translateY(-2px); } }
.nv-play-styles { border: 1px solid var(--line, #d5d6c7); border-radius: 10px; padding: 15px; margin: 22px 0; min-width: 0; }
.nv-play-styles legend { padding: 0 5px; font-size: 13px; font-weight: 700; }
.nv-play-styles legend .badge { font-size: 8px; margin-left: 5px; }
.nv-play-styles > .subtle { font-size: 11px; line-height: 1.6; margin: 0 0 12px; }
.nv-style-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.nv-style-choice { display: flex; align-items: center; gap: 8px; border: 1px solid #bfc4b4; border-radius: 7px; padding: 10px 8px; text-align: left; background: #fffcf5; min-width: 0; }
.nv-style-choice > span:last-child { font-size: 10px; font-weight: 700; line-height: 1.4; }
.nv-style-choice small { display: block; font-size: 7px; letter-spacing: .8px; margin-top: 4px; color: var(--muted, #64675c); }
.nv-style-choice[aria-pressed="true"] { outline: 2px solid #53664b; outline-offset: 1px; background: #e5eadb; }
.nv-style-swatch { display: grid; place-items: center; width: 36px; height: 44px; flex-shrink: 0; border: 2px solid #d0caba; border-radius: 4px; background: #f7f3e9; font-size: 24px; }
.nv-style-midnight .nv-style-swatch { background: #252f4c; color: #efda78; border-color: #efda78; }
.nv-style-party .nv-style-swatch { background: #f2dc82; color: #b45336; border-color: #b45336; }
.nv-style-crown .nv-style-swatch { background: #f8f0d9; color: #796022; border: 3px double #9f7828; }
.nv-play-styles .nv-style-description { font-size: 11px; line-height: 1.6; margin: 13px 0 5px; }
.nv-play-styles > .text-button { font-size: 10px; }
.nv-play-styles .nv-style-status { font-size: 11px; line-height: 1.6; margin: 6px 0 0; }
.nv-style-status:empty { display: none; }
.nv-play-styles[aria-busy="true"] .nv-style-choices { opacity: .75; }
@media (max-width: 540px) {
  .nv-play h2 { font-size: 31px; }
  .nv-play .nv-play-intro { font-size: 12px; }
  .nv-quiz-question legend { font-size: 18px; }
  .nv-quiz-options .nv-quiz-option { padding: 12px; font-size: 12px; gap: 10px; }
  .nv-play-footnote { flex-direction: column; gap: 4px; }
  .nv-play-actions .button { padding: 13px 14px; font-size: 12px; }
  .nv-result-grid { gap: 15px; grid-template-columns: 1fr; }
  .nv-result-preview { max-width: 270px; margin-inline: auto; }
  .nv-result-copy { text-align: center; }
  .nv-result-symbol { display: none; }
  .nv-result-copy p { margin: 5px 0; }
  .nv-result-copy blockquote { font-size: 18px; margin: 12px 0; }
  .nv-mascot-stage { grid-template-columns: 36% 1fr; min-height: 220px; }
  .nv-mascot-stage img { height: 250px; object-position: 50% 15%; }
  .nv-mascot-bubble { padding: 15px; margin: 14px 12px 14px 0; }
  .nv-mascot-bubble blockquote { font-size: 19px; }
  .nv-mascot-situations .chip { font-size: 10px; padding: 9px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .nv-mascot-stage .is-popping { animation: none; }
  .nv-play *, .nv-play-styles * { scroll-behavior: auto !important; }
}
