.mirror-room{width:100%;max-width:1220px;margin:0 auto;color:var(--echo-ink);text-align:left}
.page-game .game-shell.wide:not(.theme-wolf,.theme-likely) .play:has(.mirror-room){justify-content:flex-start;padding-block:clamp(.75rem,4vh,2.5rem)}
.game-shell .play .mirror-room .session-banner{max-width:none;margin:0 0 .9rem;text-align:left}
.game-shell .play .mirror-room .session-banner :is(h2,.meta),.game-shell .play .mirror-room p{margin-inline:0;text-align:left}
.game-shell .play .mirror-room .actions{justify-content:flex-start}
.game-shell .play .mirror-room button{min-height:44px;white-space:normal}
.mirror-question{max-width:74rem;padding:.65rem 0 .65rem .94rem;border-left:4px solid #8da4b6}
.game-shell .play .mirror-question p{font-size:clamp(1.2rem,2.8vw,2.15rem);line-height:1.27;color:var(--echo-ink);font-weight:720;margin:0}
.mirror-question ol{display:flex;gap:.55rem 1.1rem;flex-wrap:wrap;margin:.65rem 0 0;padding:0;list-style:none}
.mirror-question li{display:flex;align-items:baseline;gap:.42rem;margin:0;color:var(--echo-mid)}
.mirror-question li span{font-size:.75rem;color:#45667e}
.mirror-fold{max-width:43rem;margin:1.2rem 0;padding:clamp(1.15rem,3vw,2.3rem);background:linear-gradient(110deg,#f0ecf7 0 50%,#e3ebf4 50%);border-bottom:4px solid #abb5ce}
.mirror-fold>strong{display:block;font-size:clamp(1.75rem,4vw,3rem);font-weight:720}
.mirror-fold>small{font-size:.95rem;color:var(--echo-mid)}
.mirror-vote{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:clamp(.85rem,4vw,3rem);align-items:start;margin-top:1rem}
.mirror-options{display:grid;gap:.55rem}
.mirror-options button{display:grid;grid-template-columns:2.7rem minmax(0,1fr);align-items:center;gap:.8rem;width:100%;min-width:0;padding:.55rem .8rem;color:var(--echo-ink);background:#edf1f6;border:1px solid #acbfd1;border-radius:.25rem;cursor:pointer;text-align:left;font:inherit;font-weight:680}
.mirror-options button span{width:2.05rem;display:grid;place-items:center;aspect-ratio:1;border:1px solid #a1b4c2;border-radius:50%;background:#f9f8fc;color:#3e617e;font-size:.85rem}
.mirror-options button[aria-pressed=true]{background:#dee9f4;box-shadow:inset 3px 0 #406887;border-color:#406887}
.mirror-options button[aria-pressed=true] span{background:#37617f;color:#fff;border-color:#37617f}
.game-shell .play .mirror-room .mirror-vote form{width:100%;min-width:0;max-width:none;margin:0;padding:1rem 0;border-top:2px solid #9db1c3}
.game-shell .play .mirror-room .mirror-toggle{display:flex;align-items:center;gap:.65rem;min-height:44px;margin:.1rem 0 .55rem;color:#354e65}
.mirror-toggle input{min-width:1.1rem;width:1.1rem;height:1.1rem;accent-color:#405d8a}
.mirror-note{display:grid;min-width:0;gap:.35rem;font-size:.89rem;margin:.45rem 0;overflow-wrap:anywhere}
.mirror-note input{width:100%;min-width:0}
.game-shell .play .mirror-room [data-mirror-error]{color:#a3355a;margin:.3rem 0;font-size:.88rem}
.mirror-pairs{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(21rem,100%),1fr));gap:clamp(.7rem,2vw,1.4rem);margin:1.05rem 0 0}
.mirror-pair{min-width:0;border-top:3px solid #7e97ac;background:#f0eff7;padding:.8rem 1rem;overflow-wrap:anywhere}
.mirror-pair[data-mirror-same=true]{border-top-color:#48677b;background:#e7eef5}
.mirror-pair header{display:flex;justify-content:space-between;align-items:baseline;gap:.35rem 1rem;flex-wrap:wrap;margin-bottom:.6rem;color:#385470}
.mirror-pair header h3{margin:0;color:var(--echo-ink);font-size:.95rem}
.mirror-pair header strong{font-size:.83rem}
.mirror-matching-choices,.mirror-reasons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.42rem}
.mirror-matching-choices>div,.mirror-reasons>div{padding:.55rem .63rem;background:#f9f9fc;min-width:0}
.mirror-matching-choices strong,.mirror-matching-choices span,.mirror-reasons span{display:block}
.mirror-matching-choices span,.mirror-reasons span{font-size:.76rem;color:#45637a}
.mirror-matching-choices strong{padding-top:.14rem;color:#29445c}
.game-shell .play .mirror-matching-choices p{padding-top:.42rem;margin:.42rem 0 .05rem;border-top:1px solid #c7d1e0;font-size:.86rem;color:#435b70}
.game-shell .play .mirror-pair-callout{margin:.5rem 0;color:#3b6075;font-size:.88rem}
.mirror-note-button,.mirror-pair details summary{width:fit-content;background:transparent;color:#3b4c79;border:0;border-bottom:1px solid #8696a9;padding:.38rem .12rem;font-size:.84rem;font-family:inherit;cursor:pointer}
.mirror-reasons{margin:.46rem 0 0}
.game-shell .play .mirror-reasons p{font-size:.9rem;color:#3d5270;margin:.2rem 0 0}
.mirror-totals{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(8rem,100%),1fr));gap:.55rem;margin:1rem 0;padding:0;list-style:none}
.mirror-totals li{display:flex;justify-content:space-between;align-items:baseline;gap:.5rem;border-top:2px solid #9fb0bf;padding:.55rem .7rem;background:#eaeef7;margin:0}
.mirror-totals strong{font-size:clamp(1.65rem,3vw,2.5rem);font-variant-numeric:tabular-nums;line-height:1}
.mirror-archive{margin-top:1.45rem}
.mirror-archive>details{padding:.6rem 0;border-bottom:1px solid #aebcca}
.mirror-archive>details>summary{min-height:44px;padding:.5rem 0;cursor:pointer;color:#30506c;font-weight:690}
.mirror-archive .mirror-pairs{margin:.5rem 0}
.mirror-room :is(button,input,summary):focus-visible{outline:3px solid #7263a9;outline-offset:3px}
@media (prefers-reduced-motion:no-preference){
  .mirror-room[data-mirror-phase=round] .mirror-matching-choices>div{animation:mirror-lift .23s ease-out both}
  .mirror-room[data-mirror-phase=round] .mirror-matching-choices>div:nth-child(2){animation-delay:35ms}
  @keyframes mirror-lift{from{opacity:.6;transform:translateY(4px)}to{opacity:1;transform:none}}
}
@media(max-width:740px){.mirror-vote{grid-template-columns:minmax(0,1fr)}.game-shell .play .mirror-room .mirror-vote form{padding:.65rem 0}.mirror-fold{padding:1rem}.mirror-pair{padding:.65rem .7rem}}

.page-game .game-shell.theme-mirror:not(.theme-wolf) {
  --echo-ink:#542320;
  --echo-mid:#704238;
  --echo-accent:#973d31;
  --echo-select:#7a292a;
  --echo-paper:#fff2dc;
  --echo-edge:#ba806d;
  --brand:var(--echo-select);
  --stage-ink:var(--echo-ink);
  --stage:#f9d9c4;
  --soft:#ffead7;
  --line:#c18772;
  background:radial-gradient(ellipse at 23% 14%,#ffe7d6,transparent 69%),#f7d4bf;
}
.page-game .game-shell.theme-mirror .play {background:none}
.page-game .game-shell.theme-mirror .game-toolbar {background:var(--soft)}
.page-game .game-shell.wide.theme-mirror .play:has(.mirror-room) {
  max-width:100rem;
  min-height:0;
  justify-content:flex-start;
  padding:clamp(.9rem,3.4vw,3rem) clamp(.85rem,3.6vw,3.35rem) 2rem;
  margin:0 auto;
}
.game-shell .play .mirror-room {max-width:88rem}
.game-shell .play .mirror-room .session-banner {margin:0 0 .72rem}
.game-shell .play .mirror-room .session-banner h2 {
  color:var(--echo-ink);
  font:750 clamp(1.6rem,4.6vw,4.1rem)/1.09 Georgia,'Songti SC',serif;
  margin:.4rem 0 0;
  text-wrap:balance;
}
.game-shell .play .mirror-room .session-banner .meta {
  color:var(--echo-accent);
  font-size:clamp(.87rem,1.38vw,1.08rem);
  font-weight:790;
}
.game-shell .play .mirror-room p {overflow-wrap:anywhere}
.game-shell .play .mirror-room .actions {gap:.55rem}
.game-shell .play .mirror-room .button,
.page-game .theme-mirror .game-toolbar .button {
  min-height:46px;
  padding:.54rem .9rem;
  white-space:normal;
}
.page-game .game-shell.theme-mirror .play .button:is(.cta,.mirror-room button:not(.secondary)) {
  color:#fff7e8;
  background:var(--echo-accent);
  border-color:var(--echo-accent);
}
.page-game .game-shell.theme-mirror .play .button:is(.cta,.mirror-room button:not(.secondary)):hover {background:var(--echo-select)}
.page-game .game-shell.theme-mirror .play .button.cta:disabled {
  color:#684338;
  background:#f3ddcc;
  border-color:#bf9485;
}
.page-game .game-shell.theme-mirror :is(.button.secondary,.game-toolbar .button) {
  color:var(--echo-ink);
  background:#ffefda;
  border-color:#ac735f;
}
.game-shell .play .mirror-room .mirror-question {
  border-color:var(--echo-accent);
  padding:.45rem 0 .45rem clamp(.65rem,1.45vw,1.2rem);
}
.game-shell .play .mirror-room .mirror-question p {
  font-family:Georgia,'Songti SC',serif;
  font-size:clamp(1.18rem,2.9vw,2.65rem);
  line-height:1.24;
}
.mirror-question ol {margin-top:1rem;gap:.5rem}
.mirror-question li {
  display:inline-flex;
  background:#fff0da;
  color:var(--echo-ink);
  border:1px solid var(--echo-edge);
  border-radius:.28rem;
  padding:.35rem .55rem;
}
.mirror-question li span {
  color:var(--echo-accent);
  font-weight:800;
  font-size:.85rem;
}
.mirror-fold {
  position:relative;
  isolation:isolate;
  background:linear-gradient(151deg,#fff8e8 0 48%,#e1bd9d 49.5%,#fae4c8 51%);
  border:1px solid #b88970;
  border-bottom:3px solid #ae785f;
  border-radius:.5rem;
  box-shadow:0 5px 12px #72402b22;
}
.mirror-vote {
  grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);
  align-items:start;
  gap:clamp(1rem,4.5vw,4.5rem);
  margin:clamp(.8rem,2vw,1.3rem) 0 0;
}
.mirror-vote > section {min-width:0}
.game-shell .play .mirror-vote > section > p {color:var(--echo-mid);margin:.15rem 0 .72rem}
.mirror-options {gap:clamp(.65rem,1.45vw,1.1rem)}
.game-shell .play .mirror-room .mirror-options button {
  position:relative;
  grid-template-columns:clamp(2.3rem,5vw,4rem) minmax(0,1fr);
  gap:clamp(.72rem,1.8vw,1.3rem);
  min-height:clamp(3.65rem,8.1vw,7rem);
  padding:.68rem clamp(.82rem,2.1vw,1.6rem);
  color:var(--echo-ink);
  background:linear-gradient(120deg,#fff4dd,#f9e3cb);
  border:1px solid var(--echo-edge);
  border-radius:.55rem;
  box-shadow:0 3px 0 #ba8a73,0 5px 10px #79412827;
  font:750 clamp(1.08rem,2.55vw,2rem)/1.2 Georgia,'Songti SC',serif;
  overflow-wrap:anywhere;
  transition:transform .17s ease,box-shadow .17s ease,background-color .17s ease;
}
.mirror-options button::before {
  content:"";
  position:absolute;
  inset:4px;
  border:1px solid currentColor;
  opacity:.28;
  border-radius:.37rem;
  pointer-events:none;
}
.game-shell .play .mirror-room .mirror-options button span {
  width:min(100%,3.6rem);
  background:#fff3dd;
  border-color:#986652;
  color:var(--echo-select);
  font:750 clamp(1rem,2.5vw,1.65rem)/1 Georgia,serif;
}
.game-shell .play .mirror-room .mirror-options button[aria-pressed=true] {
  background:linear-gradient(150deg,#963c3d,#702628);
  color:#fff6e6;
  border-color:#762a2b;
  box-shadow:0 3px 0 #592020,0 8px 14px #79352d45;
}
.game-shell .play .mirror-room .mirror-options button[aria-pressed=true] span {
  border-color:#f4d5b7;
  background:#fff0d7;
  color:#702628;
}
@media (hover:hover) {
  .mirror-options button:hover {transform:translateY(-2px)}
}
.game-shell .play .mirror-room .mirror-vote form {
  border-color:var(--echo-edge);
  padding:.9rem 0;
}
.game-shell .play .mirror-room .mirror-toggle {color:var(--echo-ink)}
.mirror-toggle input {
  width:1.28rem;
  height:1.28rem;
  flex-shrink:0;
  accent-color:var(--echo-select);
}
.mirror-note input {
  background:#fff9ed;
  color:var(--echo-ink);
  border-color:var(--echo-edge);
  min-height:44px;
  font-size:1rem;
}
.game-shell .play .mirror-room [data-mirror-error] {color:#8b2e18;font-weight:750}
.mirror-room [data-mirror-error]:empty {display:none}

.mirror-pair {
  background:#ffeed8;
  border:1px solid #bf8c77;
  border-top:4px solid #a56852;
  border-radius:.48rem;
  box-shadow:0 3px 0 #9d6b5438;
}
.mirror-pair[data-mirror-same=true] {
  background:#fff0d0;
  border-top-color:var(--echo-accent);
}
.mirror-pair header {color:var(--echo-accent)}
.mirror-pair header h3 {font-size:1.07rem}
.mirror-matching-choices > div,.mirror-reasons > div {background:#fff7e8;border-radius:.25rem}
.mirror-matching-choices span,.mirror-reasons span {color:var(--echo-mid)}
.mirror-matching-choices strong {color:var(--echo-ink)}
.game-shell .play .mirror-room :is(.mirror-matching-choices p,.mirror-reasons p,.mirror-pair-callout) {color:var(--echo-mid)}
.game-shell .play .mirror-matching-choices p {border-color:#dec0a8}
.mirror-note-button,.mirror-pair details summary {
  color:var(--echo-select);
  border-color:#b47e6b;
  min-height:44px;
}
.mirror-totals li {background:#fff1db;border-color:var(--echo-accent)}
.mirror-archive > details {border-color:#b38370}
.mirror-archive > details > summary {color:var(--echo-ink)}
.mirror-room :is(button,input,summary):focus-visible {outline-color:#572628}

@media (max-width:740px) {
  .mirror-vote {grid-template-columns:minmax(0,1fr)}
  .game-shell .play .mirror-room .mirror-options button {min-height:3.65rem}
}
@media (prefers-reduced-motion:reduce) {
  .game-shell .play .mirror-room .mirror-options button {transition:none;transform:none}
}
