.quest-screenshot-dialog { color: var(--text, #ecebdb); background: var(--surface-raised, #20251b); border: 1px solid var(--border, #8a816a); border-radius: 10px; width: min(780px, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); padding: 1.25rem; overflow-y: auto; scroll-padding-block: 6rem 7rem; box-sizing: border-box; }
.quest-screenshot-dialog::backdrop { background: rgb(0 0 0 / 75%); }
.quest-screenshot-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; position: sticky; top: -1.25rem; z-index: 2; margin: -1.25rem -1.25rem 1rem; padding: 1rem 1.25rem; background: var(--surface-raised, #20251b); border-bottom: 1px solid var(--border, #8a816a); }
.quest-screenshot-header h2 { margin: 0; }
.quest-screenshot-header .btn { flex-shrink: 0; }
.quest-screenshot-footer { position: sticky; bottom: -1.25rem; z-index: 2; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .7rem; margin: 1rem -1.25rem -1.25rem; padding: 1rem 1.25rem; background: var(--surface-raised, #20251b); border-top: 1px solid var(--border, #8a816a); }
.quest-screenshot-footer p { margin: 0; }
.quest-screenshot-dialog p { line-height: 1.5; }
.quest-screenshot-dialog label { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.quest-screenshot-dialog input[type=file] { max-width: 100%; }
.quest-screenshot-dialog input[type=checkbox] { width: 1.2rem; height: 1.2rem; }
.quest-screenshot-dialog select { color: inherit; background: var(--bg, #171c15); padding: .5rem; max-width: 100%; }
.quest-screenshot-preview { max-width: 100%; max-height: 300px; object-fit: contain; margin-top: 1rem; }
.quest-screenshot-row { margin: .8rem 0; padding: .8rem; border: 1px solid var(--border, #8a816a); border-radius: 6px; min-width: 0; overflow-wrap: anywhere; }
.quest-screenshot-row legend { font-weight: bold; padding: 0 .4rem; }
.quest-screenshot-dialog :focus-visible { outline: 2px solid #f5ab50; outline-offset: 3px; }
