.page-game .game-shell.theme-whisper:has(.whisper-room) {
  --whisper-ink:#202f57;
  --whisper-blue:#34548e;
  --whisper-muted:#495879;
  --whisper-line:#9daecc;
  --whisper-peach:#fff0dd;
  --whisper-paper:#f4f5ff;
  color:var(--whisper-ink);
  background:radial-gradient(ellipse at 33% 13%,#f5f8ff 0%,#e6eefb 65%,#d9e5f5);
}
.page-game .game-shell.theme-whisper:has(.whisper-room) .game-toolbar {
  background:#eef3fc;
  border-bottom:1px solid var(--whisper-line);
  color:var(--whisper-ink);
}
.page-game .game-shell.theme-whisper:has(.whisper-room) .game-toolbar .button {
  min-height:44px;
  background:#f9fbff;
  border-color:#8399bf;
  color:var(--whisper-ink);
}
.whisper-room {width:min(100%,1160px);margin:0 auto;text-align:left;color:var(--whisper-ink);scroll-margin-top:72px}
.game-shell .play .whisper-room .session-banner {text-align:left;margin:0 0 clamp(15px,2.6vw,28px);max-width:none}
.game-shell .play .whisper-room .session-banner>:is(h2,.meta) {max-width:none;margin-inline:0;text-align:left}
.game-shell .play .whisper-room .session-banner h2 {
  color:var(--whisper-ink);
  font-family:Georgia,'Noto Serif SC',serif;
  font-size:clamp(1.52rem,3.75vw,3.5rem);
  line-height:1.12;
  text-wrap:balance;
}
.game-shell .play .whisper-room .session-banner>.meta {color:#3c5588;font-weight:750}
.game-shell .play .whisper-room h3 {color:var(--whisper-ink);text-align:left;font-size:1.2rem;margin:0 0 10px}
.game-shell .play .whisper-room p {text-align:left;max-width:74ch;line-height:1.55;color:var(--whisper-muted);margin:0 0 12px}
.game-shell .play .whisper-room .actions {justify-content:flex-start;align-items:stretch;gap:8px;margin:14px 0 0}
.game-shell .play .whisper-room button {min-width:44px;min-height:44px;touch-action:manipulation;white-space:normal}
.game-shell .play .whisper-room :is(.button.cta,.actions .button:not(.secondary)) {background:var(--whisper-blue);border-color:var(--whisper-blue);color:#fffaf1}
.game-shell .play .whisper-room :is(.button.cta,.actions .button:not(.secondary)):hover {background:#263f71;border-color:#263f71}
.game-shell .play .whisper-room .button.secondary {background:#f9fbff;border-color:#8399bf;color:var(--whisper-ink)}
.whisper-room :is(button,textarea):focus-visible {outline:3px solid #8c5629;outline-offset:3px}

.whisper-rail {list-style:none;padding:0!important;margin:0 0 20px!important;display:flex;gap:clamp(5px,1.1vw,10px);flex-wrap:wrap}
.whisper-rail li {
  display:grid;
  place-items:center;
  width:34px;
  aspect-ratio:1;
  border:1px solid #9badc9;
  border-radius:50%;
  background:#eff4fc;
  color:#495b83;
  font-size:.85rem;
  font-weight:750;
}
.whisper-rail li[data-state=current] {border-color:#803f20;background:#a85029;color:#fff8eb;box-shadow:0 0 0 3px #e9b990}
.whisper-rail li[data-state=done] {border-color:#647eab;background:#d7e5f7;color:#264475}
.whisper-note {
  max-width:900px;
  margin:0 0 20px;
  padding:clamp(15px,2.5vw,30px);
  border:1px solid #c5a181;
  border-inline-start:5px solid #bc753f;
  border-radius:8px;
  background:var(--whisper-peach);
  box-shadow:0 5px 0 #a0856930,0 9px 16px #273a5913;
  font:700 clamp(1.25rem,3.05vw,2.45rem)/1.42 Georgia,'Noto Serif SC',serif;
  overflow-wrap:anywhere;
}
.whisper-fold {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  width:min(365px,100%);
  min-height:clamp(120px,17vw,167px);
  display:grid;
  place-items:end center;
  padding-bottom:13px;
  margin:12px 0 22px;
  border:1px solid #a58770;
  border-radius:9px;
  box-shadow:0 5px 0 #8e77a126,0 9px 15px #303f591a;
  background:linear-gradient(143deg,#ffe9cf,#efd3b6);
}
.whisper-fold::before {
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:70%;
  clip-path:polygon(0 0,100% 0,50% 100%);
  background:linear-gradient(145deg,#ecd1b1,#e2ac82);
  z-index:-1;
}
.whisper-fold span {width:60px;aspect-ratio:1;display:grid;place-items:center;border-radius:50%;background:#3a5186;color:#fff5e9;font:750 1.6rem/1 Georgia,serif}
.game-shell .play .whisper-room .whisper-rule {
  max-width:76ch;
  border-inline-start:3px solid #a17653;
  padding:.65rem .9rem;
  background:#f9f1e8;
  font-size:.95rem;
  margin:0 0 12px;
}
.whisper-transfer {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:center;
  max-width:900px;
  padding:clamp(12px,2vw,22px);
  background:#f3f6fe;
  border:1px solid #a9b8d4;
  border-radius:8px;
  gap:clamp(8px,2vw,24px);
  margin-bottom:18px;
}
.whisper-transfer>div {display:grid;gap:4px;min-width:0}
.whisper-transfer>div:last-child {text-align:right}
.whisper-transfer span {font-size:.85rem;color:var(--whisper-muted);font-weight:700}
.whisper-transfer strong {font-size:clamp(1.18rem,3.2vw,2.7rem);line-height:1.22;overflow-wrap:anywhere}
.whisper-transfer>b {font-size:clamp(1.4rem,3vw,2.25rem);text-align:center;color:#a85029}
.game-shell .play .whisper-room .whisper-form {width:min(100%,900px);max-width:none;margin:0;display:grid;gap:10px}
.whisper-form label {display:grid;gap:8px;font-size:.95rem;font-weight:700;color:var(--whisper-ink)}
.whisper-form textarea {
  width:100%;
  min-height:138px;
  resize:vertical;
  border:1px solid #879ac2;
  border-radius:6px;
  padding:11px 13px;
  background:#fcfdff;
  color:var(--whisper-ink);
  font:inherit;
  font-size:1rem;
  line-height:1.6;
}
.game-shell .play .whisper-room [data-whisper-counter] {font-size:.86rem;color:var(--whisper-muted);margin:0}
.game-shell .play .whisper-room [data-whisper-error] {font-size:.9rem;color:#8d2e39;margin:0}
.whisper-room [data-whisper-error]:empty {display:none}
.whisper-form button {justify-self:start}
.whisper-form textarea[aria-invalid=true] {border:2px solid #8d2e39}

.whisper-comparison {
  position:relative;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(15px,4.5vw,58px);
  align-items:stretch;
}
.whisper-comparison::before {content:"";position:absolute;left:44%;right:44%;top:53%;border-top:3px dotted #8193bc;z-index:0}
.whisper-comparison>section {
  position:relative;
  min-width:0;
  background:var(--whisper-peach);
  border:1px solid #ddba99;
  border-radius:8px 24px 8px 8px;
  padding:clamp(14px,2.5vw,27px);
  box-shadow:0 5px 0 #3c4d7021,0 9px 18px #34436412;
}
.whisper-comparison>section:last-child {background:var(--whisper-paper);border-color:#aeb6d6}
.whisper-comparison>section::after {
  content:"";
  position:absolute;
  inset:0 0 auto auto;
  width:23px;
  height:23px;
  background:#e8cbb1;
  clip-path:polygon(0 0,100% 100%,0 100%);
}
.whisper-comparison>section:last-child::after {background:#d2d9ef}
.game-shell .play .whisper-room .whisper-comparison h3 {
  width:fit-content;
  max-width:100%;
  padding:.23rem .63rem;
  margin:0 0 11px;
  border-radius:4px;
  background:#f5c997;
  color:#57341f;
  font:700 clamp(1rem,1.65vw,1.36rem)/1.35 Georgia,'Noto Serif SC',serif;
}
.game-shell .play .whisper-room .whisper-comparison>section:last-child h3 {background:#dbe2f6;color:#293f76}
.game-shell .play .whisper-room .whisper-comparison p {
  color:var(--whisper-ink);
  font:650 clamp(1.15rem,2vw,1.7rem)/1.42 Georgia,'Noto Serif SC',serif;
  margin:0;
  overflow-wrap:anywhere;
}
.whisper-checks,.whisper-no-anchors {margin-top:clamp(18px,3vw,33px)}
.game-shell .play .whisper-room .whisper-checks>p {font-size:.9rem;max-width:95ch}
.whisper-checks>article {
  padding:11px 4px;
  border-top:1px solid var(--whisper-line);
  display:grid;
  grid-template-columns:minmax(155px,.86fr) minmax(235px,1.35fr);
  gap:5px 17px;
  align-items:center;
}
.whisper-anchor-heading h4 {font-size:.89rem;margin:0 0 4px;color:var(--whisper-muted)}
.whisper-anchor-heading blockquote {margin:0;font-size:1.05rem;font-weight:750;overflow-wrap:anywhere}
.whisper-mark-actions {display:flex;gap:6px;flex-wrap:wrap}
.whisper-mark-actions button {
  padding:.4rem .71rem;
  border:1px solid #889dc2;
  border-radius:5px;
  background:#f7faff;
  color:var(--whisper-ink);
  font:inherit;
  font-size:.88rem;
  line-height:1.27;
  cursor:pointer;
}
.whisper-mark-actions button[aria-pressed=true] {border-color:#335f51;background:#dcefe4;color:#234d3d;box-shadow:inset 0 0 0 1px #537e6f;font-weight:750}
.whisper-checks [data-state=changed] button[aria-pressed=true] {border-color:#a16b43;background:#f9e3ce;color:#663b24;box-shadow:inset 0 0 0 1px #a16b43}
.whisper-checks [data-state=unknown] button[aria-pressed=true] {border-color:#5d719b;background:#dce4f6;color:#263c72;box-shadow:inset 0 0 0 1px #5d719b}
.game-shell .play .whisper-room .whisper-mark-state {grid-column:2;font-size:.83rem;color:var(--whisper-muted);margin:0}
.whisper-checks>article>.button {grid-column:2;justify-self:start;font-size:.78rem}
.whisper-no-anchors {border-top:1px solid var(--whisper-line);padding-top:14px}
@media(max-width:700px) {
  .whisper-rail li {width:29px;font-size:.8rem}
  .whisper-comparison {grid-template-columns:minmax(0,1fr)}
  .whisper-comparison::before {display:none}
  .whisper-checks>article {display:block;padding:12px 0}
  .whisper-mark-actions {margin:9px 0 6px}
  .whisper-mark-actions button {flex:1;padding:.4rem;font-size:.81rem}
  .whisper-checks>article>.button {margin-top:7px}
  .whisper-form button {justify-self:stretch}
}
@media(prefers-reduced-motion:no-preference) {
  .whisper-room[data-whisper-phase=result] .whisper-comparison {animation:whisper-paper-in .21s ease-out}
  .whisper-checks>article:focus-within .whisper-mark-actions button {transition:background-color .13s}
}
@keyframes whisper-paper-in {from {opacity:.72;translate:0 4px}}
