/* Adapter styles preserve the supplied arcade design and the existing challenge DOM. */
.arcade-game-frame{display:block;width:100%;height:440px;min-height:330px;border:0;background:var(--color-paper);border-radius:16px}
.arcade-game-frame[hidden]{display:none}
.play[data-state="4x"] .panel[data-panel="4x"]{width:min(1100px,100%);max-width:none}
.panel[data-panel="4x"]>.panel__intro,.panel[data-panel="4x"]>[data-round],.panel[data-panel="4x"]>.plays,.panel[data-panel="4x"]>.note,.panel[data-panel="4x"]>.me__row{display:none}
video{display:block;width:100%;aspect-ratio:16/9;border-radius:12px;background:#000}
.js .play:not([data-state="lobby"]){grid-template-columns:minmax(0,1000px);align-items:start;gap:0}
.js .play:not([data-state="lobby"]) .lobby{display:none}
.stageplay{min-width:0;width:100%}
.profile .plays{display:block;max-width:100%;overflow-x:auto}
.allocations{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:24px;margin-top:24px}
@media(max-width:60rem){.js .play:not([data-state="lobby"]){grid-template-columns:minmax(0,1fr)}.arcade-game-frame{height:440px;min-height:330px}.panel[data-panel="4x"]{padding:0!important}}

.allocations img{width:100%;height:auto}
.films .film-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:24px;padding:0;list-style:none}
.films .film-grid li{display:grid;align-content:start;gap:12px;min-width:0}
