/* Suite framing only. Native Move gameplay retains its own presentation. */
#doomTile{text-align:left;width:100%;font:inherit;background:none;border:0;padding:8px 0;box-shadow:none;letter-spacing:inherit;display:block;grid-column:2;grid-row:1/3;min-width:0}
#futureGames>div:has(#doomTile){border-left-color:var(--accent)}
#doomSetup{width:760px;max-width:calc(100% - 24px)}
#doomParticipants{max-height:190px;overflow:auto;border:1px solid var(--edge)}#doomParticipants label{display:block;padding:5px}#doomSetup input{width:20px;height:20px;vertical-align:middle;margin-right:10px}
#doomSetup .actions{position:sticky;bottom:-24px;background:var(--case);padding:12px 0}#doomQuestions li{margin-bottom:15px;overflow-wrap:anywhere}#doomQuestions p{font-size:14px}
#doomModule{position:fixed;inset:0;height:100dvh;display:flex;flex-direction:column;background:var(--glass)}
#doomModule>header{padding:6px 12px;display:flex;align-items:center;justify-content:doom-between;gap:10px;flex-wrap:wrap;border-bottom:1px solid var(--edge);flex:none}
#doomModule .actions{margin:0;gap:6px}#doomModule button{padding:8px 10px;font-size:13px;min-height:44px}
#doomRunLabel{margin:0;flex:1;min-width:140px;font-size:14px;overflow-wrap:anywhere}#doomFrameSlot{flex:1;min-height:0}#doomFrame{width:100%;height:100%;border:0;display:block}
#doomSaveStatus{max-height:20dvh;overflow:auto;padding:0 12px;flex:none}#doomSaveStatus:empty{display:none}#doomSaveStatus p{font-size:13px;margin:4px 0}#doomRecent{margin-top:25px}#doomRecentList{padding-left:20px}#doomRecentList li{padding:8px 0;overflow-wrap:anywhere}
@media(max-width:540px){#doomModule .actions{width:100%}#doomModule .actions button{flex:1;font-size:12px}#doomSetup{padding:18px}#doomSetup .actions{bottom:-18px}}

/* Keep the existing native button as the entire instrument tile hit target. */
#doomTile::after{content:"";position:absolute;inset:0;cursor:pointer}
#futureGames>div:has(#doomTile:focus-visible){outline:3px solid var(--accent);outline-offset:3px}

#doomSetup select{display:block;width:100%;margin:8px 0 16px}#doomQuestions p,#doomSaveStatus details{white-doom:pre-wrap}#doomSaveStatus details{font-size:14px}#doomSaveStatus summary{cursor:pointer}

#doomSetup textarea{width:100%;min-height:140px;white-space:pre-wrap}#doomSetup input[type=file]{width:100%;height:auto}#doomSource{margin-bottom:16px}#doomModule #doomSaveStatus{max-height:12dvh}#doomUploadFields{padding:12px;border:1px solid var(--edge)}#doomRecent{margin-top:24px}
#doomTile .game-name{color:var(--ink)}#futureGames>div:has(#doomTile){--game-accent:var(--accent)}#doomQuestions{max-height:45dvh;overflow:auto}
.doom-match-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 18px;margin-top:20px}#doomModeRules{border-left:3px solid var(--accent);padding:10px 14px;background:var(--glass)}
@media(max-width:540px){.doom-match-fields{grid-template-columns:1fr}}
