/* Atmosphere is a compact toolbar above the existing listening surface. */
.audio-command.audio-game-surface:has(> .audio-themes) { grid-template-rows:auto minmax(0,1fr) auto; }
.audio-listening-content { position:relative; display:grid; min-height:0; min-width:0; }
.audio-themes { position:relative; z-index:20; display:flex; align-items:center; gap:12px; width:100%; min-width:0; margin:0; padding:8px 18px; border:0; border-bottom:1px solid var(--season-border,#ffffff18); background:var(--season-surface,#080d0a); color:var(--season-text,#c6ccc7); }
.audio-theme-buttons { display:flex; gap:6px; min-width:0; overflow-x:auto; scrollbar-width:thin; }
.audio-themes button,.audio-themes summary { flex-shrink:0; font:600 11px/1.3 Manrope,sans-serif; color:inherit; border:1px solid #ffffff18; border-radius:5px; background:transparent; padding:7px 11px; cursor:pointer; white-space:nowrap; }
.audio-themes button:hover,.audio-themes summary:hover { border-color:var(--season-primary,var(--acid,#d9ff63)); }
.audio-themes button[aria-pressed=true] { color:var(--season-primary,var(--acid,#d9ff63)); border-color:currentColor; background:#ffffff08; }
.audio-themes :focus-visible { outline:2px solid var(--season-primary,var(--acid,#d9ff63)); outline-offset:2px; }
.audio-themes output { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:11px; color:var(--season-text-muted,#98a397); }
.audio-themes output:empty { display:none; }
.audio-theme-actions { display:flex; gap:6px; }
.audio-theme-actions[hidden] { display:none; }
.audio-theme-manager { margin-left:auto; flex-shrink:0; }
.audio-theme-manager summary { list-style:none; }
.audio-theme-manager summary::-webkit-details-marker { display:none; }
.audio-theme-settings { z-index:3; position:absolute; top:calc(100% + 6px); right:0; width:min(540px,100%); max-height:min(560px,70dvh); overflow:auto; padding:18px; border:1px solid var(--season-border,#ffffff30); border-radius:8px; background:var(--season-surface,#101711); box-shadow:0 16px 40px #0009; }
.audio-theme-settings p { color:var(--season-text-muted,#98a397); font-size:12px; line-height:1.5; }
.audio-themes [data-theme-editor] { padding:14px 0; border-top:1px solid #ffffff18; }
.audio-themes label { display:inline-flex; flex-direction:column; gap:6px; margin:6px 10px 6px 0; font-size:12px; }
.audio-themes input,.audio-themes select,.audio-themes textarea { max-width:100%; padding:8px; color:inherit; background:#0003; border:1px solid #ffffff25; border-radius:5px; font:inherit; }
.audio-themes textarea { width:min(440px,65vw); min-height:65px; }
.audio-themes ul { padding:0; list-style:none; }
.audio-themes li { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
.audio-themes a { color:var(--season-primary,#c6d6ab); }
.audio-themes [data-theme-player]:has(iframe) { position:absolute; right:12px; top:calc(100% + 8px); z-index:1; max-width:calc(100% - 24px); background:#080d0a; box-shadow:0 12px 35px #0008; }
.audio-themes iframe { display:block; max-width:100%; border:0; border-radius:6px; }
@media(max-width:600px) {
  .audio-themes { gap:6px; padding:7px 8px; }
  .audio-theme-buttons { flex:1; }
  .audio-themes button,.audio-themes summary { font-size:10px; padding:7px 8px; }
  .audio-themes output { position:absolute; top:100%; left:8px; right:8px; max-width:calc(100% - 16px); background:var(--season-surface,#080d0a); pointer-events:none; }
  .audio-theme-actions button[data-theme-return] { max-width:65px; overflow:hidden; text-overflow:ellipsis; }
}
