/* Reading and touch take priority over decorative motion. */
.dg-lobby-steps{display:flex;gap:8px;flex-wrap:wrap;list-style:none;padding:0;counter-reset:adventure-step;margin:12px 0 0}.dg-lobby-steps li{counter-increment:adventure-step;border:1px solid #bda66d;border-radius:10px;padding:5px 9px;color:#e7dcbb;background:#1c4046;font-size:12px}.dg-lobby-steps li:before{content:counter(adventure-step) ' · ';color:#f1cd78}
.mg-trails{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}.mg-local-petals{position:absolute;inset:0;pointer-events:none}.mg-local-petals i{position:absolute;left:50%;top:60%;width:5px;height:9px;border-radius:70% 0 70% 0;background:#ffebaf;border:1px solid #795929;animation:adventure-petal .85s ease-out both;--dx:calc((var(--p) - 1.5)*18px)}
@media(max-width:700px){#v-workbooks .dg-sky-portal.dg-hollow{flex-direction:column;align-self:center;gap:3px;margin:0 auto 3px}#v-workbooks .dg-sky-portal.dg-hollow .dg-portal-caption{margin:0;min-width:150px}#v-workbooks .dg-sky-portal.dg-hollow .dg-portal-caption small{display:none}#v-workbooks .dg-sky-portal.dg-hollow .dg-portal-caption b{font-size:14px}#v-workbooks .dg-sky-portal.dg-hollow .dg-portal-caption strong{font-size:11px}}
@keyframes adventure-petal{to{transform:translate(var(--dx),-45px) rotate(80deg);opacity:0}}
.dg-skills{max-height:44vh;overflow-y:auto;overscroll-behavior:contain}.dg-skill small{white-space:normal}
.dg-map-legend{position:absolute;right:14px;top:94px;z-index:6;max-width:170px;background:#193c43ed;border:1px solid #bba56e;border-radius:12px;color:#fff3cc;font-size:12px}.dg-map-legend summary{padding:8px 12px;min-height:44px;cursor:pointer;display:flex;align-items:center}.dg-map-legend p{padding:0 12px 10px;margin:0;line-height:1.8}.dg-route-status{position:absolute;right:16px;bottom:116px;max-width:260px;padding:6px 10px;border-radius:9px;background:#17383bea;color:#fff6d5;font-size:12px;pointer-events:none;z-index:5}.dg-route-status:empty{display:none}
.dg-review-result{border:2px solid #d1ba79;border-radius:18px;background:#e9f2dc;color:#28493c;padding:16px;margin:14px 0}.dg-review-result h2{font-size:21px;margin:0 0 8px}.dg-review-result p{margin:0;line-height:1.7}.dg-mosaic-tray,.dg-mosaic-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.dg-rune-piece,.dg-rune-slot{position:relative;min-width:0;min-height:98px;border:2px solid #a7c8bc;background:#244b54;color:#fff5d5;border-radius:16px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;font-family:inherit;font-size:13px;font-weight:700;touch-action:none;cursor:pointer}.dg-rune-piece{box-shadow:0 4px 0 #11272b}.dg-rune-piece.dragging{z-index:10;pointer-events:none;box-shadow:0 8px 16px #06191a80}.dg-rune-slot{border-style:dashed;background:#102b33}.dg-rune-piece[aria-pressed=true],.dg-rune-slot.match{outline:3px solid #ffdc7b;outline-offset:2px}.dg-rune-slot.over{background:#417367}.dg-rune-slot.miss{outline:3px solid #efb18e}.dg-rune-slot.placed,.dg-mosaic.done .dg-rune-slot{background:#315c4a;border-style:solid}.dg-rune-piece:disabled{opacity:.45;cursor:default}.dg-rune-piece i,.dg-rune-slot i{width:30px;height:30px;background:#e7bd5f;border:2px solid #2b1d14;display:block;flex:none}.dg-rune-piece .rune-circle,.dg-rune-slot .rune-circle{border-radius:50%;background:#7ec8db}.dg-rune-piece .rune-triangle,.dg-rune-slot .rune-triangle{clip-path:polygon(50% 0,100% 100%,0 100%);background:#eea17e}.dg-mosaic-status{min-height:48px;line-height:1.7;color:#ffe4aa}.dg-gear-art{width:68px;height:68px;display:block;flex:none}.dg-current-gear{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin:8px 0}.dg-current-gear>span{display:grid;justify-items:center;font-size:12px}.dg-current-gear .dg-gear-art{width:52px;height:52px}
.dg-subject-goal{border-left:3px solid #c19d55;padding-left:9px;color:#e2cb91}.dg-lobby .dg-paper:focus-visible,.dg-dialog button:focus-visible,.dg-exp button:focus-visible{outline:3px solid #fff1a6;outline-offset:3px}.dg-discovery-count{font-size:12px;color:#d6ddb4}
@media(max-width:750px){.dg-map-legend{right:10px;top:126px;max-width:128px}.dg-route-status{bottom:142px;right:10px;max-width:180px;font-size:10px}.dg-skills{max-height:38vh}.dg-mosaic-tray,.dg-mosaic-slots{gap:8px}.dg-rune-piece,.dg-rune-slot{min-height:85px;font-size:11px}.dg-gear-art{width:52px;height:52px}}
@media(max-height:500px) and (orientation:landscape){.dg-map-legend{top:84px;right:10px}.dg-route-status{bottom:106px}.dg-skills{max-height:38vh}}
@media(prefers-reduced-motion:reduce){.dg-rune-slot,.dg-rune-piece{transition:none}}
