.ce-wrap { width: min(65rem, calc(100% - 2 * var(--gutter))); }
.ce-cabinet { overflow: hidden; border: 1px solid #2a313b; border-radius: .95rem; background: #11151b; color: #f6f7ef; }
.ce-arena { position: relative; height: clamp(22rem, 60vh, 37rem); outline: 0; }
.ce-arena canvas { position: relative; z-index: 1; display: block; width: 100%; height: 100%; pointer-events: none; }
.ce-cabinet.ce-expanded { position: fixed; z-index: 100; inset: 0; border: 0; border-radius: 0; }
.ce-expanded .ce-arena { height: 100%; }
body:has(.ce-expanded) { overflow: hidden; }
.ce-cabinet[data-phase="playing"] .ce-arena { cursor: none; touch-action: none; user-select: none; }
.ce-exit { position: absolute; transform: translate(-50%, -50%); width: 6rem; height: 2.9rem; padding: 0 .3rem; border: 1px solid #e4ffa8; border-radius: .5rem; background: #d2fc86; color: #152009; box-shadow: 0 0 1.3rem #c9fa7945; font: 780 .95rem/1 var(--mono); text-transform: uppercase; pointer-events: none; }
.ce-exit[data-feedback="decoy"] { border-color: #ffb294; background: #f7a98b; color: #2f1712; }
.ce-overlay { position: absolute; z-index: 2; inset: 0; display: grid; place-items: center; padding: 1rem; background: #0c121985; text-align: center; }
.ce-message { max-width: 34rem; padding: clamp(1.2rem, 4vw, 2.35rem); border: 1px solid #465048; border-radius: .75rem; background: #121820f5; box-shadow: 0 1.2rem 4rem #0008; }
.ce-message h2 { margin: .4rem 0 .55rem; font-size: clamp(1.75rem, 5.6vw, 3.65rem); line-height: .99; letter-spacing: -.055em; }
.ce-message p { margin: .45rem 0 1.3rem; color: #c9d0cf; line-height: 1.5; }
.ce-message .ce-room { margin: 0; color: #d2fc86; font: 700 .72rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.ce-action, .ce-back { min-height: 2.75rem; padding: .55rem 1rem; border: 1px solid transparent; border-radius: .45rem; font: inherit; font-weight: 760; }
.ce-action { background: #d2fc86; color: #152009; }
.ce-action:hover { background: #e5ffa9; }
.ce-back { margin-left: .3rem; border-color: #68766e; background: transparent; color: #f6f7ef; }
.ce-back:hover { background: #252d33; }
.ce-action:focus-visible, .ce-back:focus-visible { outline: 2px solid #e5ffa9; outline-offset: 3px; }
@media (max-width: 28rem) {
  .ce-message { width: 100%; }
  .ce-back { margin: .4rem 0 0; }
}
