/* Approved November atmosphere: one background layer, original artwork colours. */
@media (min-width: 761px) {
  body:has(#web-monthly-report, #web-astro-info, .cosmo-me-page[data-account-section="profile"])::before {
    background: #080914 url('/web-static/brand/atmosphere-workspace.png') center / cover no-repeat !important;
    opacity: 1 !important;
  }
  body:has(#web-monthly-report)::before { opacity: .65 !important; }
  body:has(#web-astro-info) #web-astro-info::before { display: none; }
  .cosmo-feature-panel:has([data-feature-view="reports"].active),
  .cosmo-feature-panel:has([data-feature-view="tests"].active) {
    background: #080914 url('/web-static/brand/atmosphere-workspace.png') center / cover no-repeat !important;
  }
  .cosmo-feature-panel:has([data-feature-view="sound"].active) {
    background: #080914 !important;
  }
  .cosmo-feature-panel:has([data-feature-view="sound"].active)::before {
    background: url('/web-static/brand/atmosphere-music.png') center / cover no-repeat;
    opacity: 1;
    mask-image: none;
  }
  .cosmo-feature-panel:has([data-sound-space-view="album"]:not([hidden]))::before {
    background-position: center 55%;
    opacity: .8;
  }
  #web-monthly-report .monthly-workspace-detail {
    background: #0c0c18 url('/web-static/brand/atmosphere-monthly.png') center / cover no-repeat !important;
    border-color: rgba(219, 190, 160, .22);
    box-shadow: 0 12px 50px rgba(0, 0, 0, .12);
  }
  #web-monthly-report .monthly-workspace-detail:has(.monthly-reader) {
    background: rgba(12, 12, 24, .96) !important;
  }
  .cosmo-feature-view[data-feature-view="sound"] .cosmo-music-shelf {
    min-height: min(650px, calc(100dvh - 175px));
  }
  .cosmo-music-track img {
    filter: drop-shadow(0 12px 18px rgba(190, 144, 164, .16));
  }
  .cosmo-feature-view[data-feature-view="sound"] .cosmo-sound-tabs button.active::after {
    background: #ddbe93;
  }
  .huhu-signal-nav .huhu-signal-links > a.active {
    border-color: rgba(224, 190, 144, .48);
  }
}
/* Narrow screens retain a quiet crop; imagery never adds horizontal overflow. */
@media (max-width: 760px) {
  .cosmo-feature-panel:has([data-feature-view="sound"].active)::before {
    background: url('/web-static/brand/atmosphere-music.png') 65% center / auto 100% no-repeat;
    opacity: .65;
    mask-image: none;
  }
}

/* Shared sheets must stay out of document flow until explicitly opened. */
.sheet-mask[aria-hidden="true"] { display: none !important; }
@media (min-width: 761px) {
  #web-monthly-report .monthly-workspace-detail .monthly-reader {
    box-sizing: border-box;
    height: 100%;
    min-height: 0;
  }
  #web-monthly-report .monthly-workspace-detail .monthly-reader-grid {
    min-height: 0;
  }
  #web-monthly-report .monthly-workspace-detail .monthly-reader-page {
    min-height: 0;
    overflow: hidden;
  }
  #web-monthly-report .monthly-workspace-detail {
    border-color: rgba(219, 190, 160, .35) !important;
  }
}
@media (min-width: 761px) {
  body:has(#web-monthly-report)::before,
  body:has(#web-astro-info)::before {
    background-image: url('/web-static/brand/atmosphere-music.png') !important;
    opacity: .82 !important;
  }
  .cosmo-feature-panel:has([data-feature-view="reports"].active),
  .cosmo-feature-panel:has([data-feature-view="tests"].active) {
    background-image: url('/web-static/brand/atmosphere-monthly.png') !important;
  }
  .cosmo-me-page[data-account-section="profile"] .cosmo-person-visual .web-chart-wheel {
    width: min(100%, 490px);
  }
}
