#rotationGate{position:fixed;inset:0;z-index:2147483647;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;padding:32px;box-sizing:border-box;text-align:center;background:linear-gradient(#08050de8,#08050ddd),url('assets/burning-plains-v040.webp') center/cover;color:#eee5d8;font-family:Georgia,serif;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
#rotationGate[hidden]{display:none}#rotationGate img{width:min(85vw,420px);height:auto}#rotationGate svg{width:72px;height:72px;fill:none;stroke:#b693db;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}#rotationGate h1{font-size:clamp(20px,5vw,30px);font-weight:normal}
.debugFields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 18px}.debugFields label{display:flex;flex-direction:column;gap:5px;font-size:14px}.debugFields input,.debugFields select{min-height:44px;min-width:0;box-sizing:border-box;width:100%;color:#eee5d8;background:#17121f;border:1px solid #786184;border-radius:4px;padding:7px;font-size:16px}.debugFields .debugCheck{flex-direction:row;align-items:center;justify-content:space-between}.debugFields input[type=checkbox]{width:26px;height:26px;min-height:26px;flex-shrink:0;accent-color:#a965d7}.debugReport{white-space:pre-wrap;font:12px/1.6 ui-monospace,monospace;overflow-wrap:anywhere;text-align:left;user-select:none;-webkit-user-select:none}.debugControls{display:flex;flex-wrap:wrap;gap:8px}.debugControls button{min-height:44px}.debugFields input:disabled{opacity:.45}@media(max-height:400px){.debugFields{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px 12px}.debugFields label{font-size:12px}.debugFields input,.debugFields select{min-height:40px}.debugFields .debugCheck{grid-column:span 2}}

.debugFields select{max-width:none}.titleDialog .debugFields label{margin:0;flex-direction:column;align-items:stretch;gap:5px}.titleDialog .debugFields .debugCheck{flex-direction:row;align-items:center}.titleDialogFrame:has(#debugForm){width:min(900px,100%)}

.debugConfigSummary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;font:13px/1.5 system-ui;margin:12px 0}.debugConfigSummary span{border-bottom:1px solid #49394e;padding:4px;overflow-wrap:anywhere}.debugConfigSummary b{color:#bda1d1}.debugControls{margin:12px 0}

.debugParty{margin:14px 0;padding:10px;border:1px solid #64506e}.debugParty legend{color:#d8b5ed;font:16px Georgia,serif}.debugPartyChoices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.titleDialog .debugPartyChoices label{display:flex;align-items:center;justify-content:flex-start;gap:10px;margin:0;padding:7px;border:1px solid #49384f;min-height:52px;background:#17121f}.debugPartyChoices input{flex:none}.debugPartyChoices b,.debugPartyChoices small{display:block}.debugPartyChoices small{font:11px/1.4 system-ui;color:#b9a8bd}.debugPartyChoices label:has(input:checked){border-color:#af72cc;background:#281532}
