.k-mg-button{position:fixed;left:8px;bottom:8px;z-index:30;padding:6px 12px;border-radius:6px;border:1px solid #b99a5b;background:#2f2813;color:#f2e2b8;font:600 14.5px Grenze Gotisch,Georgia,serif;cursor:pointer}
.k-mg-panel{position:fixed;left:8px;bottom:48px;z-index:var(--z-window-base,1000);width:min(360px,calc(100vw - 16px));max-height:70vh;overflow:auto;padding:0 12px 12px;border-radius:10px;border:1px solid #b99a5b;background:#1d1a10;color:#f2e2b8;font:15.5px Grenze Gotisch,Georgia,serif}
.k-mg-panel[hidden]{display:none}
.k-mg-panel header{position:sticky;top:0;z-index:1;padding:12px 0 6px;background:#1d1a10}
.k-mg-headrow{display:flex;justify-content:space-between;align-items:center;gap:8px}
.k-mg-headrow h2{flex:1;min-width:0}
.k-mg-panel h2{margin:0;font-size:17.5px}
.k-mg-panel button{min-height:30px;padding:2px 10px;border:1px solid #b99a5b;background:#3a2f1a;color:#f2e2b8;border-radius:5px;cursor:pointer}
.k-mg-panel button[hidden],.k-mg-list[hidden]{display:none}
.k-mg-list{list-style:none;padding:0;margin:8px 0;display:grid;gap:6px}
.k-mg-list button{width:100%;text-align:left}
.k-mg-stage{min-height:120px;margin:8px 0}
.k-mg-status{margin:4px 0 0;color:#d9c79a;min-height:1.2em}

@media (min-width:600px){
 .k-mg-panel{width:min(520px,calc(100vw - 16px))}
}
@media (max-width:480px){
 .k-lore-panel button,.k-feat-panel button{min-width:44px;min-height:44px}
}
@media (max-width:480px),(pointer:coarse){
 .k-mg-panel button{min-width:44px;min-height:44px}
}
