:root{--sound-energy:0}
:root[data-atmosphere-theme="light"]{color-scheme:light;--paper:#f5f5f3;--ink:#0e0e0e;--muted:#5c5c60;--line:rgba(14,14,14,.18)}
:root[data-atmosphere-theme="dark"]{color-scheme:dark;--paper:#18181b;--ink:#f3f3f5;--muted:#b9b9c1;--line:rgba(243,243,245,.24)}
.nav>.atmosphere-trigger{flex:0 0 auto;height:44px;display:flex;align-items:center;justify-content:center;gap:6px;margin-left:auto;margin-right:12px;padding:10px;border:0;border-radius:4px;background:transparent;color:var(--ink);font:600 12px/1 var(--sans,sans-serif);cursor:pointer}
.atmosphere-trigger[data-playing="true"]{box-shadow:inset 0 -2px #ed3979}
.atmosphere{position:fixed;inset:auto;margin:0;width:328px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow:auto;padding:16px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--ink);font:500 13px/1.45 var(--sans,sans-serif);box-shadow:0 8px 30px #0003}
.atmosphere:not([open]){display:none}
.atmosphere::backdrop{background:#0002}
.atmosphere *,.atmosphere-trigger{box-sizing:border-box;letter-spacing:0}
.atmosphere-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
.atmosphere h2{font:700 14px/1.4 var(--sans,sans-serif);margin:0}
.atmosphere h3{font:700 12px/1.4 var(--sans,sans-serif);margin:12px 0 6px}
.atmosphere button{display:grid;place-items:center;appearance:none;min-width:44px;min-height:44px;border:0;border-radius:4px;background:transparent;color:inherit;font:inherit;cursor:pointer;padding:10px}
.atmosphere button:hover,.atmosphere-trigger:hover{background:#8882}
.atmosphere :is(button,select,input,a):focus-visible,.atmosphere-trigger:focus-visible{outline:2px solid #ed3979;outline-offset:2px}
.atmosphere img,.atmosphere-trigger svg{display:block;width:20px;height:20px;max-width:none;flex:none}
:root[data-atmosphere-theme="dark"] .atmosphere img{filter:invert(1)}
.atmosphere-pause{width:14px;height:18px;border-inline:5px solid currentColor}
.atmosphere select{display:block;width:100%;min-width:0;min-height:44px;margin-top:4px;padding:6px;border:1px solid var(--line);border-radius:4px;background:var(--paper);color:inherit;font:inherit;text-overflow:ellipsis}
.atmosphere-transport{display:flex;justify-content:center;gap:16px;margin:8px 0}
.atmosphere input[type="range"]{display:block;width:100%;height:32px;margin:0;accent-color:#ed3979}
.atmosphere-mute{display:flex;align-items:center;gap:8px;min-height:32px}
.atmosphere input[type="checkbox"]{width:18px;height:18px;accent-color:#ed3979}
.atmosphere-themes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-block:1px solid var(--line);margin-block:6px 12px}
.atmosphere-themes button[aria-pressed="true"]{box-shadow:inset 0 -2px #ed3979;font-weight:800}
.atmosphere-credit,.atmosphere-status{font-size:11px;margin:8px 0 0;overflow-wrap:anywhere}
.atmosphere-credit a{color:inherit;text-decoration:underline}
.atmosphere-status{min-height:16px}
@media(max-width:850px){.nav>.atmosphere-trigger{margin-right:4px}}
