/* JulianMC V188 — shared unobtrusive music control */
.jmc-game-music{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin:12px 0 4px;padding:12px 15px;border:1px solid var(--jmc-full-border,#29445e);border-radius:12px;background:var(--jmc-full-surface2,#102235);color:var(--jmc-full-text,#eef7ff);font-family:Inter,system-ui,-apple-system,sans-serif}
.jmc-music-info{min-width:180px;display:flex;align-items:center;gap:11px}
.jmc-music-note{width:34px;height:34px;border:1px solid var(--jmc-full-border,#29445e);border-radius:9px;display:grid;place-items:center;background:var(--jmc-full-accent-soft,rgba(47,120,196,.12));font-size:21px;color:var(--jmc-full-accent,#69c5ff)}
.jmc-music-info strong{display:block;font-weight:900;font-size:.77rem}
.jmc-music-info small{display:block;line-height:1.4;margin-top:3px;color:var(--jmc-full-muted,#8ca5ba);font-size:.62rem}
.jmc-music-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.jmc-music-toggle{font-family:inherit;cursor:pointer;border-radius:9px;border:1px solid var(--jmc-full-border,#355775);background:var(--jmc-full-accent-soft,rgba(47,120,196,.14));color:var(--jmc-full-text,#eef7ff);min-height:42px;padding:0 12px;font-size:.69rem;font-weight:900}
.jmc-music-toggle:focus-visible,.jmc-music-volume input:focus-visible{outline:2px solid var(--jmc-full-accent,#69c5ff);outline-offset:3px}
.jmc-music-volume{display:flex;align-items:center;gap:9px;color:var(--jmc-full-muted,#8ca5ba);font-size:.62rem;font-weight:800}
.jmc-music-volume input{width:115px;height:26px;accent-color:var(--jmc-full-accent,#69c5ff);cursor:pointer;touch-action:pan-x}
.jmc-music-percent{min-width:34px;font-size:.65rem;font-weight:900;text-align:right}
.jmc-game-music.is-muted .jmc-music-note{opacity:.5}
@media(max-width:640px){.jmc-game-music{margin:8px 0;padding:10px;gap:10px}.jmc-music-info{width:100%}.jmc-music-tools{width:100%;justify-content:space-between;gap:6px}.jmc-music-volume span{display:none}.jmc-music-volume input{width:min(38vw,155px)}}

/* V189 — volume controls are unavailable in actual game fullscreen. */
.jmc-game-music[hidden]{display:none!important}
html:has(.game-shell:fullscreen) .jmc-game-music,
html:has(.game-shell.jmc-fs-active) .jmc-game-music{display:none!important}
