/* A quiet theatre stage; the word remains a deliberately private reveal. */
.theme-mime .play .mime-stage { position:relative; width:100%; max-width:68rem; margin:1.3rem auto; display:grid; grid-template-columns:minmax(0,1fr) 12rem; gap:2rem; align-items:center }
.theme-mime .play .mime-stage:not(:has(.mime-clock)) { grid-template-columns:minmax(0,1fr); max-width:40rem }
.theme-mime .mime-card { min-height:clamp(15rem,38vh,27rem); width:100%; max-width:none; margin:0; padding:2rem; border:1px solid #bfb0ce; border-radius:2rem 2rem .4rem .4rem; box-shadow:0 .5rem 0 #e8e0ef; background:#f3eef7; color:var(--site-ink); overflow-wrap:anywhere; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:1.2rem }
.theme-mime .mime-card:not(.is-open) { min-height:0; padding:0; gap:0; overflow:hidden; border-radius:1rem; background:#fff4de; box-shadow:0 .4rem 0 #e3d8c2 }
.theme-mime .mime-card .mime-card-art { display:block; width:100%; height:clamp(12rem,36vh,23rem); background:#fff4de url('game-cover-mime-v2.webp') center / contain no-repeat }
.theme-mime .mime-card:not(.is-open) strong { display:block; max-width:none; width:100%; padding:1rem; border-top:1px solid #dfd1b6; font-size:clamp(1rem,2vw,1.3rem); background:#fffdf8; color:var(--site-ink) }
.theme-mime .mime-card strong { font-size:clamp(1.6rem,4vw,3.3rem); line-height:1.3; max-width:20ch }
.theme-mime .mime-card.is-open { background:#fffdf8; box-shadow:0 .5rem 0 #eadfca }
.theme-mime .mime-card.is-open .meta { font-size:.85rem; font-weight:600; color:var(--site-muted) }
.theme-mime .mime-clock { min-width:0; padding:1rem 0; text-align:center; color:var(--site-ink) }
.theme-mime .mime-clock strong { display:block; font-size:clamp(3.5rem,8vw,6rem); font-variant-numeric:tabular-nums; line-height:1.2 }
.theme-mime .mime-clock progress { width:100%; height:.45rem; accent-color:var(--site-violet) }
.theme-mime .mime-clock[data-low=true] { color:#a23c4b }
.theme-mime .mime-score { font-size:1rem; color:var(--site-muted) }
.theme-mime .mime-score strong { font-size:1.6rem; color:var(--site-violet); margin-left:.4rem }
.theme-mime .mime-review { width:min(100%,48rem); margin:1.5rem auto; padding:0; list-style:none; text-align:left }
.theme-mime .mime-review li { display:flex; justify-content:space-between; align-items:baseline; gap:1.5rem; padding:.8rem 0; border-bottom:1px solid var(--site-line); overflow-wrap:anywhere }
.theme-mime .mime-review li span { min-width:0 }
.theme-mime .mime-review li strong { flex-shrink:0; font-size:.85rem; color:var(--site-muted) }
@media(prefers-reduced-motion:no-preference){.theme-mime .mime-card.is-open { animation:mime-reveal .2s ease-out } @keyframes mime-reveal { from { transform:translateY(.4rem);opacity:.5 } to { transform:none;opacity:1 } }}
@media(max-width:650px){
 .theme-mime .play .mime-stage { grid-template-columns:minmax(0,1fr); gap:1rem }
 .theme-mime .mime-card { min-height:15rem;padding:1.2rem }
 .theme-mime .mime-clock { display:grid;grid-template-columns:1fr auto;align-items:center;gap:.4rem 1rem;text-align:left;padding:.4rem 0 }
 .theme-mime .mime-clock strong { font-size:2.8rem;grid-row:1/3;grid-column:2 }
 .theme-mime .mime-clock progress { grid-column:1 }
}

.page-game .game-shell.theme-mime {
  --mime-navy:#233144;
  --mime-rust:#9d3820;
}
.page-game .game-shell.theme-mime:has(.mime-stage,.mime-finale) {
  background:radial-gradient(ellipse at 48% 23%,#fff6e3,#f0d8b9 90%);
}
.page-game .game-shell.theme-mime:has(.mime-stage,.mime-finale) .game-toolbar {
  background:#f9e9d0;color:var(--mime-navy);border-color:#b59a78;
}
.theme-mime:has(.mime-stage,.mime-finale) .game-toolbar .button {
  background:#fff6e5;color:var(--mime-navy);border-color:#af9476;
}
.game-shell.theme-mime .play:has(.mime-stage) .session-banner :is(h2,p) {color:#2f3945}
.game-shell.theme-mime .play:has(.mime-stage) .session-banner .meta {background:#edd8b7;color:#763c23}
.theme-mime .play .mime-stage:has(.mime-console) {
  grid-template-columns:minmax(0,1fr) minmax(180px,.38fr);
  align-items:stretch;
  gap:clamp(11px,2vw,25px);
  padding:clamp(10px,1.5vw,20px);
  border:1px solid #232f40;
  border-radius:14px;
  background:repeating-linear-gradient(140deg,#ffffff0a 0 1px,transparent 1px 5px),var(--mime-navy);
  box-shadow:0 5px 0 #152134,0 12px 25px #4b2e2236;
}
.theme-mime .mime-stage .mime-card {
  border:2px solid #c06b33;
  border-radius:9px;
  background:#fff3d9;
  box-shadow:0 0 0 2px #f4a04f75,inset 0 0 0 1px #fff6e6;
  color:#28344a;
}
.theme-mime .mime-stage:not(:has(.mime-console)) .mime-card {box-shadow:0 5px 0 #be8d5f}
.theme-mime .mime-stage .mime-card:not(.is-open):hover {border-color:#9a4522}
.theme-mime .mime-card .mime-card-art {
  flex:1 0 auto;
  background-color:#eed4ad;
}
.theme-mime .mime-card:not(.is-open) strong {
  background:#fff0d1;color:#28344a;border-color:#caaa7b;
}
.theme-mime .mime-card.is-open .meta {color:#663c2b}
.theme-mime .mime-console {
  align-self:stretch;
  display:grid;
  align-content:center;
  padding:clamp(10px,1.5vw,20px);
  background:#fff0d6;
  border:1px solid #bf9768;
  border-radius:9px;
}
.theme-mime .mime-clock {
  background:#f2d9b6;color:#29374b;border:1px solid #c19a72;
  padding:.65rem .7rem;border-radius:6px;
}
.theme-mime .mime-clock strong {font-size:clamp(2.7rem,6vw,5.2rem)}
.theme-mime .mime-clock progress {accent-color:#a44c26;height:4px}
.theme-mime .mime-clock progress::-webkit-progress-bar {background:#d3b48b}
.theme-mime .mime-clock progress::-webkit-progress-value {background:#9b4a25}
.theme-mime .mime-clock progress::-moz-progress-bar {background:#9b4a25}
.theme-mime .mime-clock[data-low=true] {background:#f7d4c1;color:#8d311c}
.game-shell.theme-mime .play .mime-console .mime-score {
  display:flex;align-items:center;justify-content:space-between;gap:.5rem;
  color:#4b3940;margin:.4rem 0;padding:.28rem .4rem;border-bottom:1px solid #cdb48d;
}
.theme-mime .mime-score strong {color:#713621;margin:0}
.game-shell.theme-mime .play .mime-console .actions {
  display:grid;grid-template-columns:minmax(0,1fr);width:100%;gap:.4rem;margin:.4rem 0 0;
}
.theme-mime .play .mime-console .button {min-height:44px;white-space:normal;line-height:1.25}
.theme-mime .play:has(.mime-stage,.mime-finale) .actions .button:not(.secondary) {
  background:var(--mime-rust);border-color:var(--mime-rust);color:#fff6e5;
}
.theme-mime .play:has(.mime-stage,.mime-finale) .actions .button:not(.secondary):hover {background:#81311f}
.theme-mime .play:has(.mime-stage,.mime-finale) .actions .button.secondary {color:#663c2b}
.theme-mime .play .mime-console .button.secondary {background:#fff7e8;border-color:#bf9c79}
.theme-mime .mime-stage button:focus-visible {outline:3px solid #b65e24;outline-offset:3px}
.theme-mime .mime-stage > button:focus-visible {outline-color:#fed29e}
.theme-mime .mime-review li {border-color:#c3aa96}
.theme-mime .mime-finale {
  width:min(100%,48rem);
  margin-inline:auto;
  padding:clamp(.75rem,3vw,1.75rem);
  color:#3b3b43;
  border-block:2px solid #be8d5f;
}
.theme-mime .mime-finale :is(h2,.scores strong) {color:var(--mime-navy)}
@media(max-width:650px) {
  .theme-mime .play .mime-stage:has(.mime-console) {grid-template-columns:minmax(0,1fr)}
  .theme-mime .mime-card .mime-card-art {height:clamp(9rem,26dvh,15rem)}
  .theme-mime .mime-card.is-open {min-height:clamp(10rem,27dvh,16rem)}
  .theme-mime .mime-console {grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:7px 12px}
  .game-shell.theme-mime .play .mime-console .mime-score {margin:0;border:0}
  .game-shell.theme-mime .play .mime-console .actions {grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr))}
  .theme-mime .mime-clock strong {font-size:2.35rem}
}
