/* Dungeons: the entrance panel (lavender paper, like the other windows) and the banner of the ascent inside. */
.dg-panel { display: flex; flex-direction: column; gap: 8px; color: #201e2e; }
.dg-head { display: flex; justify-content: space-between; align-items: baseline; font-size: var(--fs-lead); }
.dg-head b { color: #312e45; font-size: var(--fs-title); }
.dg-head span { font-size: var(--fs-body); color: #423f5c; }
.dg-desc { margin: 0; font-size: calc(12.5px * var(--ui-text)); line-height: 1.45; color: #37334d; font-style: italic; }
.dg-status { font-size: var(--fs-strong); display: flex; flex-direction: column; gap: 2px; padding: 6px 8px; border: 1px solid #716c94; border-radius: 8px; background: linear-gradient(#e0dfe9, #c2bfd5); }
.dg-status .dg-hours { font-weight: 700; color: #8a2a1a; }
.dg-status .dg-hours.open { color: #2c3e7a; }
.dg-status .dg-hours::before { content: "\263E  "; }
.dg-members { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; max-height: 150px; overflow-y: auto; }
.dg-members li { display: flex; align-items: center; gap: 6px; font-size: calc(12.5px * var(--ui-text)); opacity: 0.75; }
.dg-members li.in { opacity: 1; font-weight: 700; }
.dg-members li span { flex: 1; }
.dg-members li em { font-size: var(--fs-small); color: #423f5c; }
.dg-note { margin: 0; min-height: 14px; font-size: calc(11.5px * var(--ui-text)); color: #494466; }
.dg-actions { display: flex; justify-content: flex-end; gap: 8px; }
.dg-actions .hidden { display: none; }
.dg-actions button:disabled { opacity: 0.45; cursor: not-allowed; }
.dungeon-conquest { position: absolute; right: var(--pad); top: calc(var(--pad) + 232px); width: 196px; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 6px 10px; border-radius: 8px; color: #e4e6ea; font-size: calc(11.5px * var(--ui-text)); background: rgba(40, 42, 46, 0.3); z-index: 5; text-shadow: 0 1px 2px #000a; } /* a discreet, very transparent grey box under the minimap */
.dungeon-conquest.hidden, .dungeon-conquest .hidden { display: none; }
.dungeon-conquest b { color: #e1e0ea; letter-spacing: 0.04em; font-weight: 600; opacity: 0.9; }
.dungeon-conquest .dg-obj { display: flex; flex-direction: column; gap: 1px; }
.dungeon-conquest .dg-o { opacity: 0.8; }
.dungeon-conquest .dg-o.done { color: #9af0b8; opacity: 1; font-weight: 700; }
.dungeon-conquest .dg-o.missed { color: #f0a090; text-decoration: line-through; }
.dungeon-conquest .dg-obj-note { min-height: 0; font-size: calc(10.5px * var(--ui-text)); color: #c4c8cc; font-style: italic; opacity: 0.85; }
.dungeon-conquest button { pointer-events: auto; margin-top: 2px; }

.dg-choices { display: flex; gap: 8px; }
.dg-choices.hidden { display: none; }
.dg-choice { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 8px; border: 1px solid #716c94; border-radius: 8px; background: linear-gradient(#d6d4e3, #bbb8cf); color: #312e45; cursor: pointer; font: inherit; }
.dg-choice b { font-size: var(--fs-lead); }
.dg-choice span { font-size: calc(11.5px * var(--ui-text)); color: #423f5c; }
.dg-choice.on { border-color: #312e45; box-shadow: inset 0 0 0 2px rgba(49, 46, 69, 0.55); background: linear-gradient(#dfdde9, #c6c3d7); }
.dg-choice.demon b { color: #8a1f1a; }
.dg-choice.demon.on { border-color: #8a1f1a; box-shadow: inset 0 0 0 2px rgba(138, 31, 26, 0.55); }
