/* Event01 Board/Staff only; preserve existing card styling and all content. */
body[data-combridge-cards] .area-grid { grid-auto-rows: 1fr; }
body[data-combridge-cards] .area-card { display: flex; flex-direction: column; }
body[data-combridge-cards] .area-card[data-floor] { border-width: 3px; }
body[data-combridge-cards] .area-card[data-floor="2F"] { border-color: #cc99ff; }
body[data-combridge-cards] .area-card[data-floor="1F"] { border-color: #87ad82; }
body[data-combridge-cards] .area-card[data-floor="B1F"] { border-color: #fcc78e; }
body[data-combridge-cards] .card-top { flex: 1; }
body[data-combridge-cards] .card-top h2 { min-width: 0; overflow-wrap: anywhere; }
body[data-combridge-cards] .status,
body[data-combridge-cards] .stamp,
body[data-combridge-cards] .status-buttons { flex-shrink: 0; }
/* Keep the original collapsed gap when the card becomes a flex container. */
body[data-combridge-cards] .status + .stamp { margin-top: 0; }
/* 2026 edition only: full original map at the top, readable enlargement in place. */
body[data-rdf2026] .rdf-board-layout { display:grid;grid-template-columns:minmax(300px,1fr) minmax(0,2fr);gap:18px;align-items:start; }
body[data-rdf2026] .board-map { min-width:0;margin:0;padding:18px; }
body[data-rdf2026] .board-map h2 { margin:0 0 12px; }
body[data-rdf2026] #board-venue-map { width:100%;height:auto;display:block; }
body[data-rdf2026] .rdf-board-layout .area-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
#venue-map-dialog { padding:0;border:1px solid #64748b;border-radius:10px;width:96vw;max-width:1840px;height:94vh;max-height:94vh;background:white; }
#venue-map-dialog::backdrop { background:rgb(0 0 0 / 65%); }
.map-dialog-header { height:52px;display:flex;align-items:center;justify-content:flex-end;padding:6px 12px;box-sizing:border-box; }
.map-dialog-header button { font:16px sans-serif;min-height:36px;padding:6px 20px;cursor:pointer; }
.map-dialog-scroll { height:calc(100% - 52px);overflow:auto;touch-action:pan-x pan-y; }
.map-dialog-scroll img { display:block;width:1781px;max-width:none;height:auto; }
@media(max-width:700px) { body[data-rdf2026] .rdf-board-layout { grid-template-columns:minmax(0,1fr); } body[data-rdf2026] .rdf-board-layout .area-grid { grid-template-columns:minmax(0,1fr); } body[data-rdf2026] #board-venue-map { max-height:300px;object-fit:contain; } }
