/* BLACK CAT SOUND — Forest Nocturne Hybrid 1.2
 * Geometry fix: header, hero and main content use one shared working width.
 * Additive override on top of Hybrid 1.0 / 1.1. No player, library or app logic changes.
 */
@media (min-width: 761px) {
  body.bcs-hybrid-enabled {
    --bcs-hybrid-focus-width: 1700px;
    --bcs-hybrid-content-pad: clamp(18px, 1.9vw, 30px);
    --bcs-hybrid-header: 72px;
  }

  /* Shared geometry for the main working area */
  body.bcs-hybrid-enabled .bcs-hybrid-shell .main {
    box-sizing: border-box;
    padding: 18px var(--bcs-hybrid-content-pad) 154px;
  }
  body.bcs-hybrid-enabled .bcs-overview-grid {
    max-width: var(--bcs-hybrid-focus-width);
    margin-left: auto;
    margin-right: auto;
  }

  /* The top navigation must align with the working column, not float as a small capsule. */
  body.bcs-hybrid-enabled .bcs-hybrid-shell > .topbar {
    box-sizing: border-box;
    width: min(calc(100% - var(--bcs-hybrid-sidebar) - (var(--bcs-hybrid-content-pad) * 2)), var(--bcs-hybrid-focus-width));
    max-width: none;
    justify-self: center;
    align-self: center;
    transform: translateX(calc(var(--bcs-hybrid-sidebar) / 2));
    margin: 0;
    min-height: 58px;
    height: 58px;
    padding: 0 clamp(12px, 1vw, 20px);
    border: 1px solid #428b788c;
    border-radius: 13px;
    background: linear-gradient(180deg,#0d2023fa,#081419f9);
    box-shadow: 0 11px 26px #0009, inset 0 1px 0 #9ef3d219;
  }
  body.bcs-hybrid-enabled .bcs-hybrid-shell > .topbar::after {
    left: 7%;
    right: 7%;
  }
  .bcs-hybrid-shell .bcs-hybrid-top-brand img { max-height: 37px; }
  .bcs-hybrid-shell .bcs-hybrid-tab { gap: 6px; }

  /* The hero must follow the same width as the content area.
     Keep the full artwork, preserve its ratio and use the HQ PNG introduced in 1.1. */
  body.bcs-hybrid-enabled .bcs-hybrid-shell .bcs-hybrid-hero {
    box-sizing: border-box;
    width: min(100%, var(--bcs-hybrid-focus-width));
    max-width: none;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 1495 / 229;
    margin: 12px auto 22px;
    background-image: url('../assets/ui/bcs-hybrid-hero-hq.png');
    background-position: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-color: #07171a;
    image-rendering: auto;
    border-radius: 12px;
  }

  /* Left rail: lift the top brand area slightly to align visually with the new header. */
  body.bcs-hybrid-enabled .bcs-hybrid-shell > .sidebar {
    padding-top: 4px;
  }
  .bcs-hybrid-shell .bcs-hybrid-side-brand {
    margin-top: 0;
    padding-top: 2px;
    min-height: 50px;
  }
  .bcs-hybrid-sidebar-toggle {
    margin-top: 7px;
  }
}

/* Keep mobile behavior from 1.0 / 1.1 untouched. */
