.pr-room {
  --pr-ink: #273c2b;
  --pr-forest: #2f694e;
  --pr-line: #cdd9c8;
  box-sizing: border-box;
  width: min(100%, 62rem);
  margin: 0 auto;
  padding: clamp(.7rem, 2vw, 1.6rem) clamp(.6rem, 2vw, 1.6rem) 2.5rem;
  color: var(--pr-ink);
  font-family: inherit;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.pr-room *, .pr-room *::before, .pr-room *::after { box-sizing: border-box; }
.pr-room [hidden] { display: none !important; }
.pr-room button, .pr-room summary { font-family: inherit; font-weight: 750; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.pr-room button { margin: 0; font-size: inherit; line-height: 1.35; letter-spacing: normal; min-height: 2.8rem; }
.pr-room :is(button, summary):focus-visible { outline: 3px solid #195d9a; outline-offset: 3px; }
.pr-room :is(h1, h2, p) { letter-spacing: -.035em; }
.pr-room h1:focus { outline: none; }
.pr-topbar, .pr-progress, .pr-exit, .pr-turn, .pr-turn strong, .pr-tools, .pr-tool, .pr-activity, .pr-progress-dots { display: flex; align-items: center; }
.pr-topbar { justify-content: space-between; gap: .65rem; margin: 0 .1rem .85rem; }
.pr-exit, .pr-tool, .pr-pass {
  border: 1px solid var(--pr-line);
  border-radius: 999px;
  color: #31523b;
  background: #fffef8;
  justify-content: center;
  gap: .45rem;
  padding: .45rem .95rem;
}
.pr-room .pr-exit:hover, .pr-room .pr-tool:hover, .pr-room .pr-pass:hover { background: #f1f5e9; }
.pr-back-icon { font: bold 1.7rem/.72 sans-serif; margin-top: -.12rem; }
.pr-progress { border-radius: 999px; background: #eff2e7; padding: .45rem .85rem; gap: .55rem; color: #46583e; }
.pr-progress-text { font-size: .88rem; font-weight: 750; }
.pr-progress-dots { gap: .28rem; padding: .15rem; }
.pr-dot { display: inline-block; height: .75rem; width: .63rem; background: #fffef9; border: 1.5px solid #8c9271; border-top-width: 3px; border-radius: 38% 38% 50% 50%; transform: rotate(14deg); }
.pr-dot-filled { background: #be844a; border-color: #715332; }
.pr-panel, .pr-finish {
  position: relative;
  padding: clamp(.95rem, 2.6vw, 2rem) clamp(.85rem, 4.5vw, 3.2rem);
  border: 1px solid #d8e1d1;
  border-radius: clamp(1.15rem, 3vw, 2.15rem);
  background: #fffef9;
  box-shadow: 0 .45rem 0 #dce6d733, 0 .7rem 2.3rem #314c3310;
}
.pr-heading { margin: 0 auto .85rem; text-align: center; }
.pr-activity { justify-content: center; gap: .38rem; margin: 0 0 .28rem; color: #536c53; font-size: .95rem; font-weight: 750; }
.pr-activity-icon { font-size: 1.2rem; line-height: 1.4; }
.pr-question, .pr-finish-title { margin: 0; font-size: clamp(1.45rem, 3.35vw, 2.4rem); font-weight: 850; line-height: 1.32; color: var(--pr-ink); }
.pr-turn { margin: -.15rem auto 1rem; padding: .4rem .5rem .4rem .82rem; max-width: 31rem; justify-content: space-between; gap: .55rem; border: 1px solid #c4d8b7; border-radius: 1rem; background: #f0f5e8; }
.pr-turn strong { gap: .42rem; text-align: left; color: #33543c; }
.pr-turn-icon { font-size: 1.25rem; }
.pr-room .pr-pass { padding: .3rem .85rem; font-size: .9rem; min-height: 2.75rem; background: #fffef9; }
.pr-pass:disabled { visibility: hidden; }
.pr-board {
  isolation: isolate;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: clamp(6.7rem, 15vw, 10.6rem);
  padding: 1.5rem .75rem;
  border: 1px solid #cbdfc9;
  border-radius: 1.4rem;
  background:
    radial-gradient(ellipse 9% 15% at 6% 10%, #fcfcf8 98%, transparent 100%),
    radial-gradient(ellipse 8% 11% at 12% 15%, #fcfcf8 98%, transparent 100%),
    radial-gradient(ellipse 11% 16% at 94% 23%, #fcfcf8 98%, transparent 100%),
    linear-gradient(180deg, #eaf4ee 0%, #f1f6e7 90%);
}
.pr-board::before, .pr-board::after { content: ''; pointer-events: none; position: absolute; z-index: -1; width: 43%; height: 55%; bottom: -38%; border-radius: 50% 50% 0 0; }
.pr-board::before { left: -7%; background: #c5dbb3; transform: rotate(9deg); }
.pr-board::after { right: -4%; background: #d4e3bb; transform: rotate(-10deg); }
.pr-scene { display: block; text-align: center; font-size: clamp(2.25rem, 6.7vw, 4.75rem); font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', 'Segoe UI Symbol', sans-serif; font-weight: 700; line-height: 1.35; letter-spacing: .02em; text-wrap: balance; }
.pr-scene-many { font-size: clamp(1.6rem, 4.25vw, 3.2rem); letter-spacing: 0; }
.pr-choices { display: grid; grid-template-columns: repeat(var(--pr-count), minmax(0, 1fr)); gap: clamp(.45rem, 1.6vw, .95rem); max-width: 43rem; margin: clamp(.7rem, 2vw, 1.2rem) auto .65rem; }
.pr-room .pr-choice { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem; min-width: 0; min-height: clamp(5.9rem, 12.6vw, 8.75rem); padding: .75rem .35rem; border: 2px solid #cad9bd; border-bottom: 4px solid #b6c8a8; border-radius: 1.12rem; color: #334c35; background: #fff; transition: transform .15s ease, border-color .15s ease, background-color .15s ease; }
.pr-choice-art { display: block; font: 650 clamp(2rem, 5vw, 3.5rem)/1.2 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', 'Segoe UI Symbol', sans-serif; max-width: 100%; overflow-wrap: anywhere; }
.pr-choice-label { font-size: clamp(.95rem, 1.75vw, 1.2rem); line-height: 1.35; }
@media (hover: hover) {
  .pr-room .pr-choice:not(:disabled):hover { transform: translateY(-3px); border-color: #6e9771; background: #f6fbf2; }
}
.pr-room .pr-choice:active:not(:disabled) { transform: translateY(1px); }
.pr-room .pr-choice:disabled { opacity: 1; cursor: default; color: #52634e; }
.pr-room .pr-choice.pr-example { border-style: dashed; border-color: #977035; background: #fff7db; }
.pr-room .pr-choice.pr-chosen { border-style: solid; border-color: var(--pr-forest); background: #eaf6df; color: #285134; }
.pr-check, .pr-demo-mark { position: absolute; right: .35rem; top: .35rem; padding: .12rem .42rem; border-radius: .52rem; color: #fff; background: #37714d; font-size: .83rem; font-weight: 850; }
.pr-demo-mark { color: #634822; background: #f7e3a9; }
.pr-tools { justify-content: center; flex-wrap: wrap; column-gap: .5rem; row-gap: .3rem; margin: .8rem auto 0; }
.pr-room .pr-tool { min-height: 2.8rem; font-size: .93rem; }
.pr-tool-icon { font-size: 1.13rem; font-weight: 850; line-height: 1; color: #486b4b; }
.pr-feedback-row { text-align: center; }
.pr-feedback { padding: 0; margin: 0; font-size: clamp(1rem, 2.15vw, 1.24rem); line-height: 1.48; }
.pr-feedback:not(:empty) { margin: .8rem auto .2rem; }
.pr-clue { color: #664d24; }
.pr-success { color: #21563d; font-weight: 800; }
.pr-feedback-ready { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: .7rem 1.1rem; margin-top: .9rem; }
.pr-feedback-ready .pr-feedback { margin: 0; }
.pr-room .pr-primary { min-height: 3rem; border: 1px solid #2b6249; border-radius: .95rem; padding: .65rem 1.45rem; background: var(--pr-forest); box-shadow: 0 3px 0 #224d38; color: #fff; font-size: 1.05rem; }
.pr-room .pr-primary:hover { background: #26573f; }
.pr-room .pr-primary:active { transform: translateY(2px); box-shadow: 0 1px 0 #224d38; }
.pr-transcript { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: .25rem .6rem; color: #3e573c; background: #f3f5e9; padding: .7rem .9rem; margin-top: .7rem; border-radius: .65rem; line-height: 1.5; }
.pr-guide { color: #49604a; margin: .55rem .1rem 0; }
.pr-guide summary { width: fit-content; padding: .7rem .55rem; font-size: .95rem; }
.pr-guide p { margin: 0 0 0 .55rem; line-height: 1.55; }
.pr-finish { text-align: center; padding-top: clamp(1.5rem, 5vw, 3.4rem); padding-bottom: clamp(1.5rem, 5vw, 3.4rem); }
.pr-gift { width: min(100%, 20rem); margin: 0 auto 1rem; min-height: 7rem; display: flex; align-items: end; justify-content: center; gap: 1rem; padding-bottom: .5rem; border-radius: 50%; background: radial-gradient(ellipse 50% 10% at 50% 96%, #d2dfbf 0 95%, transparent 100%), radial-gradient(ellipse at 50% 65%, #f1f5dc, transparent 70%); }
.pr-gift span { font-size: 1.8rem; }
.pr-gift span:nth-child(2) { font-size: 5.5rem; line-height: 1.2; }
.pr-finish-caption { color: #54664f; margin: .55rem 0; }
.pr-offline { margin: 1.1rem auto 1.4rem; max-width: 33rem; padding: .95rem 1rem; background: #f2f4e5; border-radius: 1rem; }
.pr-offline h2 { margin: 0 0 .25rem; font-size: 1.13rem; color: #33583b; }
.pr-offline p { margin: 0; line-height: 1.55; }
@media (max-width: 34rem) {
  .pr-room { padding-inline: .45rem; }
  .pr-panel { padding-inline: .72rem; }
  .pr-board { border-radius: 1rem; }
  .pr-tools { column-gap: .3rem; }
  .pr-room .pr-tool { padding-inline: .67rem; }
  .pr-question { font-size: 1.45rem; }
}
@media (max-width: 22rem) {
  .pr-room .pr-tool { padding-inline: .5rem; }
  .pr-room .pr-choice { padding-inline: .18rem; }
  .pr-choice-label { font-size: .88rem; }
}
@media (prefers-reduced-motion: reduce) {
  .pr-room *, .pr-room *::before, .pr-room *::after { transition: none !important; animation: none !important; }
  .pr-room button { transform: none !important; }
}
