/* Shortcuts are discoverable without another permanent toolbar. */
.view-tools .shortcut-help{font-size:15px;font-weight:600;color:#f1ceac}
.annotation-list{max-height:260px;overflow:auto}
.annotation-card{display:flex;gap:10px;align-items:flex-start;padding:12px;text-align:left;border-color:#554633;background:linear-gradient(125deg,#30291f80,#19212a);font-size:11px;line-height:1.6;font-weight:400}
.annotation-card>span:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere;white-space:pre-line;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.annotation-card>span:last-child{color:var(--accent)}
.annotation-index{display:grid;place-items:center;flex:none;width:25px;height:25px;border:1px solid #af875c60;border-radius:7px;background:#58412b70;color:#f5c99a;font-size:11px;font-weight:650}
.note-placement{position:absolute;top:91px;left:50%;transform:translateX(-50%);z-index:8;display:flex;align-items:center;gap:12px;width:max-content;max-width:calc(100% - 28px);padding:12px 14px;border:1px solid #b38b5f;border-radius:11px;background:#1c242ff5;box-shadow:0 8px 30px #0006}
.note-placement strong{display:block;font-size:12px}.note-placement span:not(.annotation-index){display:block;color:#bac5d2;font-size:10px}
.note-placement button{flex:none;margin-left:8px;font-size:11px}.placing-note canvas{cursor:crosshair}
.note-dialog{width:480px}.note-dialog textarea{min-height:120px;line-height:1.7;resize:vertical}.note-meta{display:flex;justify-content:space-between;gap:12px;color:#8997a8;font-size:10px}
.annotation-anchor{display:flex;align-items:center;gap:9px;padding:10px 12px;border:1px solid #71593970;border-radius:9px;background:#352a1e55;color:#eac597;font-size:11px}
.annotation-anchor>span{flex:1;min-width:0;overflow-wrap:anywhere}.annotation-anchor>.icon{width:16px;height:16px}
.annotation-anchor button{flex:none;min-height:30px;padding:6px 9px;border-color:#a17d504f;background:#59432a55;color:#ffdaaa;font-size:10px}
.note-placement>div{min-width:0}.note-placement #notePlacementText{max-width:380px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.note-dialog-actions{display:flex;justify-content:flex-end;gap:10px}.note-dialog-actions .note-delete{margin-right:auto;border-color:transparent;background:transparent;color:#eea99f}
.note-dialog .form-error{margin:10px 0}.note-dialog .note-save-hint{margin:18px 0 0;font-size:10px;line-height:1.6}
.shortcut-dialog{width:720px;padding:30px}.shortcut-dialog h2{font-size:30px}
.shortcut-featured{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:24px 0}
.shortcut-featured>div{padding:17px;border:1px solid #6b563c80;border-radius:11px;background:linear-gradient(145deg,#3b302480,#17202c)}
.shortcut-featured kbd{display:grid;place-items:center;width:37px;height:37px;margin-bottom:17px;border-color:#9b795b;background:#473726;color:#ffce9c;font-size:20px;box-shadow:0 3px 0 #0d1118}
.shortcut-featured strong{display:block;margin-bottom:7px;font-size:12px;font-weight:600}.shortcut-featured span{display:block;color:#aebbc9;font-size:11px;line-height:1.65}
.shortcut-columns{display:grid;grid-template-columns:1fr 1fr;gap:30px}.shortcut-columns h3{margin:0 0 8px;font-size:10px;text-transform:uppercase;letter-spacing:1.4px;color:var(--accent)}
.shortcut-columns dl{margin:0}.shortcut-columns dl>div{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:38px;border-bottom:1px solid #35404b70}
.shortcut-columns dt{color:#c3ccd7;font-size:11px}.shortcut-columns dd{flex:none;margin:0;white-space:nowrap;color:var(--muted);font-size:10px}.shortcut-columns kbd{padding:2px 6px}
.shortcut-dialog .shortcut-footnote{margin:20px 0 0;padding-top:17px;border-top:1px solid var(--line);color:#8e9cad;font-size:10px}
/* Preserve panel and visibility preferences; only expand the viewport temporarily. */
body.screenshot-mode>.topbar{display:none}
body.screenshot-mode #workspace{height:100dvh;width:100%;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important;grid-template-areas:'stage'!important}
body.screenshot-mode #workspace>:not(#dungeonStage){display:none!important}
body.screenshot-mode #dungeonStage>:not(#scene):not(#screenshotExit){display:none!important}
body.screenshot-mode #dungeonStage::after{display:none}
.screenshot-exit{position:absolute;bottom:18px;right:18px;z-index:20;opacity:0;transition:opacity .15s;background:#17212bed;border-color:#65717d;font-size:11px}
.screenshot-exit:hover,.screenshot-exit:focus-visible{opacity:1}
@media(max-width:540px){.shortcut-dialog{padding:24px}.shortcut-dialog h2{font-size:25px}.shortcut-featured{grid-template-columns:1fr;gap:7px;margin:18px 0}.shortcut-featured>div{display:grid;grid-template-columns:35px 1fr;column-gap:13px;padding:12px}.shortcut-featured kbd{grid-row:1/3;width:33px;height:35px;margin:0;font-size:18px}.shortcut-featured strong{margin:0 0 2px}.shortcut-columns{grid-template-columns:1fr;gap:20px}.note-placement{top:110px;gap:8px;padding:10px}.note-placement .annotation-index{display:none}.note-placement button{margin:0;padding:7px}.note-placement button kbd{display:none}}
