#phoenix-map-open {
    position: fixed;
    z-index: 9;
    border: 0;
    background: transparent;
    color: #fff0b4;
    cursor: pointer;
    text-align: right;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 4px;
    text-shadow: 0 1px 4px #000, 0 0 5px #000;
    font: 600 11px system-ui, sans-serif;
}
#phoenix-map-open[hidden] { display: none; }
#phoenix-map-open:focus-visible { outline: 2px solid #ffd270; }
#phoenix-map-dialog {
    position: fixed;
    inset: 0;
    margin: auto;
    width: min(560px, 94vw, 112dvh);
    max-height: 94dvh;
    box-sizing: border-box;
    padding: 12px;
    border: 1px solid #ab874b;
    background: #171710;
    color: #f2e1ad;
    font: 14px system-ui, sans-serif;
}
#phoenix-map-dialog::backdrop { background: #000a; }
#phoenix-map-dialog header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
#phoenix-map-dialog header button {
    min-height: 40px;
    padding: 0 12px;
    background: #403318;
    border: 1px solid #ab874b;
    color: inherit;
    border-radius: 3px;
    cursor: pointer;
}
#phoenix-map-dialog p { margin: 5px 0; }
#phoenix-map-dialog [role="status"]:empty { display: none; }
#phoenix-map-dialog canvas { display: block; width: 100%; height: auto; touch-action: manipulation; cursor: crosshair; }
