/* Swarm viewer (GPL-3.0, NOTICE.md): adapted from Mesh Viewer's style.css. */
.mv-viewer { position: relative; overflow: hidden; touch-action: none; }
.mv-viewer > canvas { display: block; width: 100%; height: 100%; }
.mv-viewer.is-over { outline: 2px dashed var(--accent, #b9e611); outline-offset: -6px; }
.mv-status { position: absolute; top: 0; left: 0; padding: 10px; pointer-events: none; }
.mv-status p { color: #fff; font-size: 12px; margin: 0 0 6px; text-shadow: 0 1px 2px rgb(0 0 0 / .7); }
.mv-bar { position: absolute; right: 8px; top: 8px; display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; max-width: calc(100% - 16px); }
.mv-bar button, .mv-bar select { font: 600 12px var(--font, sans-serif); padding: 5px 10px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .25); background: rgb(13 12 12 / .7); color: #fff; cursor: pointer; }
.mv-bar button[aria-pressed="true"] { background: var(--accent, #b9e611); color: #181717; border-color: var(--accent, #b9e611); }
.mv-bar button:focus-visible, .mv-bar select:focus-visible { outline: 2px solid var(--electric, #4f8cff); outline-offset: 2px; }
@media (max-width: 520px) { .mv-bar { top: auto; bottom: 8px; right: 8px; } }
