/* LaundryMonsters.com — shared approved design; original gallery and player layouts retained. */
:root { --lm-yellow: #fdc820; --lm-copy: #e9e9e9; --lm-muted: #b6b6b6; --lm-width: 1360px; --lm-logo-width: 173.052px; --lm-join-width: 253.1878272px; --lm-gallery-backdrop-opacity: .8; }
html:has(body.lm-pilot) { height: auto; min-height: 100%; scroll-behavior: auto; color-scheme: dark; }
body.lm-pilot#black-background { height: auto; min-height: 100vh; margin: 0; padding: 0; color: var(--cf-main-copy-blue, #0b92bf); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.6; background: #000 !important; background-size: cover !important; background-position: center top !important; background-repeat: no-repeat !important; }
.lm-pilot *, .lm-pilot *::before, .lm-pilot *::after { box-sizing: border-box; }
.lm-pilot a { text-decoration: none; }
.lm-pilot :is(.lm-header, .lm-footer, .lm-copyright-bar) a { color: inherit; }
.lm-pilot a:focus-visible, .lm-pilot button:not(.cf-cinema-hit, .cf-cinema-nav, .cf-media-hotspot):focus-visible { outline: 2px solid var(--lm-yellow); outline-offset: 6px; }
.lm-pilot .lm-header { display: block; position: relative; width: 100%; margin: 0; padding: 0; background: #000; }
.lm-starfield { width: 100%; background: #000; }
.lm-tagline-artwork { display: grid; place-items: center; width: min(418.88px, 88%); aspect-ratio: 14 / 3; margin: 10px auto 0; }
.lm-pilot .lm-tagline-artwork img { display: block; width: 100%; max-width: 418.88px; height: auto; margin: 0; background: transparent; }
.lm-masthead { padding: 27px 20px 6px; text-align: center; }
.lm-pilot .lm-logo { display: inline-block; width: var(--lm-logo-width); margin: 0 auto; }
.lm-pilot .lm-logo img { display: block; width: 100%; height: auto; margin: 0; }
.lm-pilot .lm-tagline { margin: 0; color: var(--lm-yellow); font: bold 17px/1.5 Arial, sans-serif; }
.lm-pilot .lm-nav, .lm-pilot .cf-lm-section-nav { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 0 28px; width: 100%; max-width: none; margin: 0; padding: 0 24px; border: 0; background: #000; text-align: center; }
.lm-pilot .lm-nav a, .lm-pilot .cf-lm-section-nav a { display: flex; align-items: center; justify-content: center; min-height: 62px; padding: 15px 0 12px; border-bottom: 3px solid transparent; color: #b6b6b6; font: bold 14.95px/1.4 Arial, sans-serif; letter-spacing: .035em; text-transform: uppercase; white-space: nowrap; }
.lm-pilot .lm-nav a:hover, .lm-pilot .lm-nav a:focus-visible, .lm-pilot .cf-lm-section-nav a:hover, .lm-pilot .cf-lm-section-nav a:focus-visible { color: var(--lm-yellow); }
.lm-pilot .lm-nav a[aria-current], .lm-pilot .cf-lm-section-nav a[aria-current] { border-bottom-color: transparent; }
.lm-pilot:not(.cf-mobile-ready) .cf-lm-section-nav { display: none; }
.lm-pilot.cf-mobile-ready .lm-nav-static { display: none; }
body.lm-pilot.cf-mobile-ready .cf-lm-section-nav { padding: 6px 16px; gap: 0 19px; margin: 0; max-width: none; font-family: Arial, sans-serif; }
body.lm-pilot.cf-mobile-ready .cf-lm-section-nav a { color: #b6b6b6; font: bold 12.65px/1.4 Arial, sans-serif; letter-spacing: .015em; min-height: 44px; padding: 10px 0 7px; }
body.lm-pilot.cf-mobile-ready .cf-lm-section-nav a[aria-current="page"] { border-bottom-color: transparent; }
/* Mobile rollover changes text only; the selected section uses its yellow ::after underline. */
body.lm-pilot.cf-mobile-ready .cf-lm-section-nav a:hover, body.lm-pilot.cf-mobile-ready .cf-lm-section-nav a:focus-visible { color: var(--lm-yellow); border-bottom-color: transparent; }
.lm-pilot #wrapper { position: static; float: none; width: 100%; min-width: 0; max-width: none; margin: 0; padding: 0; background: none; }
body.lm-pilot #wrapper #content-project { position: static; float: none; width: min(1360px, calc(100% - 105px)); max-width: 1360px; min-height: 0; margin: 0 auto; padding: 35px 0 117px; background: none; font-family: "Myriad Pro", Arial, sans-serif; }
body.lm-pilot #content-project #projects { float: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(14px, 1.5vw, 22px); width: 100%; max-width: none; margin: 0; padding: 0 0 17px; }
.lm-section-intro { grid-column: 1 / -1; padding: 0; margin-bottom: clamp(22px, 2vw, 30px); border: 0; }
.lm-pilot .lm-section-intro h1 { margin: 0 0 10px; color: var(--cf-superheader-color, #e8e8e8); font: 600 34px/1.2 "Manrope", Arial, sans-serif; }
.lm-pilot .lm-section-intro p { max-width: 900px; margin: 0; color: #fff; font: 16px/1.6 "Myriad Pro", Arial, sans-serif; }
.lm-pilot .lm-section-intro a { color: #54c8ef; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
body.lm-pilot #content-project #projects .projectbox { display: block; float: none; position: relative; width: auto; height: auto; min-width: 0; padding: 0; margin: 0 0 clamp(22px, 2vw, 30px); background: transparent; border: 0; }
body.lm-pilot #content-project #projects .projectinfo { float: none; width: 100%; height: auto; padding: 0; margin: 0; }
body.lm-pilot #content-project #projects .projectinfo a { display: block; height: auto; color: #7f7f7f; font: 600 clamp(14px, 1.1vw, 17px)/1.3 "Manrope", Arial, sans-serif; letter-spacing: .004em; }
body.lm-pilot #content-project #projects .projectinfo img { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: auto; background: transparent; padding: 0; margin: 0 0 10px; border: 0; }
.lm-movie-caption { display: block; padding: 0; border: 0; background: transparent; }
.lm-movie-caption::before { content: none; }
body.lm-pilot #content-project #projects .projectinfo a:hover, body.lm-pilot #content-project #projects .projectinfo a:focus { color: #ededed; background: transparent; }
.lm-pilot .lm-footer { padding: 20px 24px 18px; margin: 0; background: #000; text-align: center; }
.lm-pilot .lm-join { color: var(--lm-yellow); margin: 0; font: bold 26px/1.3 Arial, sans-serif; text-transform: uppercase; }
.lm-pilot .lm-join img { display: block; width: min(var(--lm-join-width), 100%); height: auto; margin: 0 auto; }
.lm-light-divider { width: min(1120px, 100%); aspect-ratio: 28 / 1; height: auto; margin: 3px auto 20px; background: #000 url('../assets/brand/glow-underline.webp?v=cc401de9de3e') center / contain no-repeat; }
.lm-pilot .lm-follow { color: var(--lm-yellow); margin: 0 0 17px; font: bold 14px/1.5 Arial, sans-serif; text-transform: uppercase; }
.lm-social { --lm-icon-size: clamp(15px, 1.1875vw, 20px); display: flex; align-items: center; justify-content: center; gap: clamp(3px, .32vw, 6px); margin: 0 auto 30px; }
.lm-social a { display: flex; position: relative; width: var(--lm-icon-size); height: clamp(16.25px, 1.225vw, 22.5px); align-items: center; justify-content: center; }
.lm-social img { display: block; width: var(--lm-icon-size); height: var(--lm-icon-size); object-fit: contain; }
/* Render the original PSD silhouettes in the exact locked web yellow. */
@supports (mask-image: url('')) or (-webkit-mask-image: url('')) {
  .lm-social img { opacity: 0; }
  .lm-social a::after { content: ''; position: absolute; width: var(--lm-icon-size); height: var(--lm-icon-size); background: var(--lm-yellow); -webkit-mask: var(--lm-social-icon) center / contain no-repeat; mask: var(--lm-social-icon) center / contain no-repeat; }
}
.lm-footer .lm-social a:is(:hover, :focus-visible) { opacity: 1; }
.lm-footer .lm-social a:is(:hover, :focus-visible)::after { background: #fff; }
.lm-footer .lm-social a:is(:hover, :focus-visible) img { filter: brightness(0) invert(1); }
.lm-pilot .lm-social-header { position: absolute; top: 32px; left: clamp(20px, 3.75vw, 72px); justify-content: flex-start; gap: 4px; margin: 0; z-index: 1; }
.lm-pilot .lm-social-header a { width: 32px; height: 32px; }
.lm-pilot .lm-production { color: var(--lm-yellow); margin: 0 0 6px; font: bold 14px/1.5 Arial, sans-serif; text-transform: uppercase; }
.lm-pilot .lm-production a:hover, .lm-pilot .lm-contact a:hover { text-decoration: underline; }
.lm-pilot .lm-copyright, .lm-pilot .lm-contact { color: #aaa; margin: 7px 0; font: 12px/1.7 Arial, sans-serif; }
.lm-pilot .lm-credit { color: var(--lm-yellow); margin: 7px 0; font: bold 14px/1.5 Arial, sans-serif; text-transform: uppercase; }
.lm-pilot .lm-contact { max-width: 700px; margin: 20px auto 0; }
.lm-skip-link { position: absolute; left: 12px; top: -100px; padding: 12px 20px; z-index: 20000; color: #000 !important; background: var(--lm-yellow); }
.lm-skip-link:focus { top: 12px; }
/* Preserve the established mobile player layout and safe-area return-to-top control. */
.lm-pilot .cf-mobile-scroll-top { color: var(--lm-yellow); }
.lm-pilot.cf-mobile-ready #wrapper { width: 100%; padding: 0; }
body.lm-pilot.cf-mobile-ready #wrapper #content-project { width: 100%; max-width: 800px; margin: 0 auto; padding: 10px var(--cf-mobile-gutter, 20px) 55px; }
body.lm-pilot.cf-mobile-ready #content-project #projects { display: block; }
.lm-pilot.cf-mobile-ready .lm-section-intro { margin-bottom: 32px; }
body.lm-pilot.cf-mobile-ready #content-project #projects .projectbox.cf-mobile-lm-source { display: none; }
.lm-pilot.cf-mobile-ready .cf-mobile-lm-films { width: 100%; }
.lm-pilot.cf-mobile-ready .cf-mobile-lm-film { margin: 0; }
.lm-pilot.cf-mobile-ready .cf-mobile-lm-film-title { color: var(--lm-copy); margin: 0 0 18px; font: bold clamp(18px, 4.3vw, 24px)/1.3 "Myriad Pro", Arial, sans-serif; }
.lm-pilot.cf-mobile-ready .cf-mobile-lm-group-title, .lm-pilot.cf-mobile-ready .cf-mobile-character-title, .lm-pilot.cf-mobile-ready .cf-mobile-lm-section-title { font-family: "Myriad Pro", Arial, sans-serif; font-weight: 700; }
@media (min-width: 1120px) { body.lm-pilot #content-project #projects { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1100px) { .lm-pilot .lm-nav { gap: 0 20px; } .lm-pilot .lm-nav a { font-size: 13.8px; } }
@media (max-width: 800px) {
.lm-masthead { padding: 17px 16px 0; }
  .lm-pilot .lm-social-header { position: static; padding: 14px 16px 0; }
  body.lm-pilot { --lm-logo-width: 150.075px; --lm-join-width: 129.6px; }
  .lm-pilot .lm-tagline { margin: 0; font-size: 15px; }
  .lm-pilot .lm-nav, .lm-pilot .cf-lm-section-nav { gap: 0 19px; padding: 6px 16px; }
  .lm-pilot .lm-nav a, .lm-pilot .cf-lm-section-nav a { font-size: 12.65px; min-height: 44px; padding: 10px 0 7px; letter-spacing: .015em; }
  .lm-pilot #wrapper { width: 100%; }
  body.lm-pilot #wrapper #content-project { width: 100%; margin: 0; padding: 10px var(--cf-mobile-gutter, 20px) 55px; }
  body.lm-pilot #content-project #projects { display: block; }
  .lm-social { --lm-icon-size: 20px; gap: 5px; }
  .lm-social a { width: 32px; min-width: 32px; height: 32px; padding: 6px; }
  .lm-pilot .lm-section-intro h1 { font-size: 28px; }
  .lm-pilot .lm-section-intro p { font-size: 15px; }
  .lm-pilot .lm-footer { padding: 20px 16px max(20px, env(safe-area-inset-bottom)); }
  .lm-pilot .lm-join { font-size: 22px; }
}
@media (max-width: 480px) { body.lm-pilot #content-project #projects { grid-template-columns: 1fr; } }

/* Same full-width copyright strip and red left tab as Carnival Figures. */
.lm-pilot .lm-light-divider-top { margin: 3px auto 0; }
html body.lm-pilot #footer-project.lm-copyright-bar { display: flex !important; position: relative; height: auto !important; min-height: 44px !important; margin: 0; }
html body.lm-pilot .lm-copyright-bar .footer_container { width: 100%; }
html body.lm-pilot .lm-copyright-bar #copyright { display: flex !important; align-items: center; flex: 0 0 auto; width: auto; height: 44px; padding: 0 12px; background: #fb073b; }
html body.lm-pilot .lm-copyright-bar #copyright p { margin: 0; padding: 4px 0 0 2px; color: #fff; font: 10px/15px Manrope, Arial, sans-serif; white-space: nowrap; }
@media (max-width: 800px) {
  /* Match Carnival Figures' simple grey mobile copyright text. */
  html body.lm-pilot #footer-project.lm-copyright-bar { min-height: 0 !important; }
  html body.lm-pilot .lm-copyright-bar .footer_container { display: flex; flex-direction: column; gap: 4px; align-items: center; height: auto; padding: 8px 20px max(20px, env(safe-area-inset-bottom)); text-align: center; }
  html body.lm-pilot .lm-copyright-bar #copyright { float: none; height: auto; padding: 0; background: transparent; }
  html body.lm-pilot #footer-project.lm-copyright-bar #copyright p { padding: 0; color: #656565; font: 700 13px/1.55 Manrope, Arial, sans-serif; white-space: normal; }
  html body.lm-pilot .lm-copyright-bar #address { display: block; float: none; width: auto; height: auto; padding: 0; }
  html body.lm-pilot .lm-copyright-bar #address .footer-email { color: #656565; font: 700 13px/1.55 Manrope, Arial, sans-serif; }
  html body.lm-pilot .lm-copyright-bar #address .footer-contact { display: none; }
}

.lm-pilot main a:focus-visible, .lm-pilot main button:focus-visible { outline-color: #ededed; }

/* Final masthead sizes: top logo −10%; tagline −15%; menu 10px nearer the glow. */

.lm-pilot .lm-footer .lm-footer-logo { display: block; margin: 0 auto 8px; }
/* Preserve the original page grids and the character thumbnail/profile pairing. */
.lm-pilot #content-project > .lm-section-intro,
.lm-pilot #projects > .vehicle-category,
.lm-pilot #projects > .projectbox:not(:has(.projectinfo)) { grid-column: 1 / -1; }
.lm-pilot #projects > .clearfix { display: none; }
.lm-pilot #content-project .vehicle-category { border: 0; background: transparent; }
.lm-pilot #nav-project.lm-character-nav { display: flex; position: static; float: none; flex-wrap: wrap; justify-content: flex-start; gap: 0 28px; width: 100%; height: auto; padding: 0; margin: 0; background: #000; border: 0; }
.lm-pilot .lm-character-nav a { display: flex; align-items: center; justify-content: center; min-height: 62px; padding: 15px 0 12px; border-bottom: 3px solid transparent; color: #b6b6b6; font: bold 14.95px/1.4 Arial, sans-serif; letter-spacing: .035em; text-transform: uppercase; white-space: nowrap; }
.lm-pilot .lm-character-nav a:hover, .lm-pilot .lm-character-nav a:focus-visible { color: var(--lm-yellow); }
.lm-pilot .lm-character-nav a[aria-current] { border-bottom-color: transparent; }
.lm-pilot.lm-copy-page #about-box-left-wider { float: none; width: 100%; max-width: 808px; height: auto; margin: 0 auto; }
.lm-pilot.lm-copy-page .lm-section-intro { max-width: 808px; margin-left: auto; margin-right: auto; }
.lm-pilot .cf-mobile-lm-section [data-lm-section-heading] { display: none; }
/* Standalone copyright strip also serves the poster-only landing page. */
.lm-pilot .lm-copyright-bar { background: #000; }
.lm-pilot .lm-copyright-bar .footer_container { display: flex; align-items: center; }
.lm-pilot .lm-copyright-bar #address { display: flex; gap: 20px; padding: 0 16px; }
.lm-pilot .lm-copyright-bar #address p { color: #aaa; margin: 0; font: 10px/15px Arial, sans-serif; }
.lm-pilot.lm-landing { display: block; padding: 0; }
.lm-pilot .lm-landing-header { min-height: 72px; }
.lm-poster-landing { display: grid; place-items: center; padding: 0 12px; }
.lm-poster-landing > a { display: block; max-width: 100%; }
.lm-poster-landing img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100svh - 86px); object-fit: contain; }
.lm-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 800px) {
 
 .lm-pilot .lm-landing-header { min-height: 60px; }
 .lm-pilot .lm-copyright-bar #address { display: block; }
 .lm-pilot .lm-copyright-bar #address .footer-contact { display: none; }
}

/* One left-anchored content area, retaining centred branding within that area.
   The 75px left / 30px right gutters and 1360px grid match Carnival Figures.
   Backgrounds remain full-width; the artwork and thumbnail sizes are unchanged. */
@media (min-width: 801px) {
  body.lm-pilot { --lm-layout-width: min(1360px, calc(100% - 105px)); }
  
  .lm-pilot .lm-tagline-artwork { width: min(404.397224px, 88%); }
  .lm-pilot .lm-tagline-artwork img { max-width: 404.397224px; }
  
  .lm-pilot .lm-masthead,
  .lm-pilot .lm-nav,
  body.lm-pilot.cf-mobile-ready .cf-lm-section-nav,
  .lm-pilot .lm-footer,
  .lm-pilot .lm-poster-landing,
  .lm-pilot #nav-project.lm-character-nav {
    width: var(--lm-layout-width);
    margin-left: 75px;
    margin-right: 30px;
  }
  body.lm-pilot #wrapper #content-project {
    margin-left: 75px;
    margin-right: 30px;
  }
  body.lm-pilot.cf-mobile-ready #wrapper #content-project {
    width: var(--lm-layout-width);
    max-width: 1360px;
  }
  .lm-pilot.lm-copy-page #about-box-left-wider,
  .lm-pilot.lm-copy-page .lm-section-intro {
    margin-left: 0;
    margin-right: 0;
  }
}

/* Compact mobile footer: small artwork, social row and a separate creator line. */
@media (max-width: 800px) {
  .lm-pilot .lm-footer { padding: 20px 16px max(20px, env(safe-area-inset-bottom)); }
  
  .lm-pilot .lm-footer .lm-light-divider { width: min(360px, 100%); margin: 3px auto 10px; }
  .lm-pilot .lm-footer .lm-follow { font-size: 11px; margin: 0 0 4px; }
  .lm-pilot .lm-footer .lm-social { --lm-icon-size: 16px; gap: 2px; margin: 0 auto 8px; }
  .lm-pilot .lm-footer .lm-social a { width: 32px; height: 32px; }
  .lm-pilot .lm-footer .lm-production { display: none; }
  .lm-pilot .lm-footer .lm-credit { display: block; margin: 4px 0 0; font-size: 11px; white-space: nowrap; }
}

/* Match the homepage's single desktop credit/social row on every page. */
.lm-pilot .lm-footer-inline {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px;
}
.lm-pilot .lm-footer-inline > :is(.lm-follow, .lm-social, .lm-production, .lm-credit) {
  margin: 0; white-space: nowrap;
}
@media (min-width: 801px) {
  .lm-pilot .lm-footer-inline { flex-wrap: nowrap; gap: calc(clamp(8px, 1vw, 18px) - 2px); }
  .lm-pilot .lm-footer .lm-footer-inline :is(.lm-follow, .lm-production, .lm-credit) { font-size: clamp(9px, .9vw, 12px); }
  .lm-pilot .lm-footer .lm-footer-inline .lm-social { gap: 4px; }
  .lm-pilot .lm-footer .lm-footer-inline .lm-social a { width: clamp(20px, 2vw, 28px); height: 32px; }
}
@media (max-width: 800px) {
  .lm-pilot .lm-footer-inline { gap: 8px 12px; }
  .lm-pilot .lm-footer-inline .lm-credit { flex-basis: 100%; margin: 4px 0 0; }
}

/* Hide repeated section titles; retain descriptive collection headings. */
.lm-pilot .lm-section-intro h1,
.lm-pilot .cf-mobile-lm-section-title,
.lm-pilot .lm-page-title:not(.lm-page-title-storyboards):not(.lm-page-title-explainer) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.lm-pilot .lm-section-intro:not(:has(p)),
.lm-pilot .vehicle-intro:not(:has(p)) { padding: 0; margin: 0; }
@media (max-width: 1100px) {
  .lm-pilot #nav-project.lm-character-nav { gap: 0 20px; }
  .lm-pilot .lm-character-nav a { font-size: 13.8px; }
}
@media (max-width: 800px) {
  .lm-pilot #nav-project.lm-character-nav { gap: 0 19px; padding: 6px var(--cf-mobile-gutter, 20px); }
  .lm-pilot .lm-character-nav a { font: bold 12.65px/1.4 Arial, sans-serif; letter-spacing: .015em; min-height: 44px; padding: 10px 0 7px; }
}

/* Shared footer: the same compact spacing on the index and every content page. */
.lm-pilot .lm-footer .lm-light-divider { margin-top: -11px; margin-bottom: -3px; }
@media (max-width: 800px) {
  .lm-pilot .lm-footer .lm-light-divider { margin-top: -1px; }
}
.lm-pilot.lm-landing .lm-footer { padding-top: 12px; }

/* Keep link hit areas and text in place; lift only the selection underline.
   The 3px transparent border remains, so bottom:9px lifts the line by 12px.
   Mobile uses a 6px lift to keep the line clear of its smaller text spacing. */
.lm-pilot :is(.lm-nav, .cf-lm-section-nav, .lm-character-nav) a { position: relative; }
body.lm-pilot :is(.lm-nav, .cf-lm-section-nav, .lm-character-nav) a[aria-current="page"] { border-bottom-color: transparent; }
.lm-pilot :is(.lm-nav, .cf-lm-section-nav, .lm-character-nav) a[aria-current="page"]::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 9px;
  height: 3px; background: var(--lm-yellow); pointer-events: none;
}
@media (max-width: 800px) {
  .lm-pilot :is(.lm-nav, .cf-lm-section-nav, .lm-character-nav) a[aria-current="page"]::after { bottom: 3px; }
}

/* Image galleries use the same darker backdrop at every viewport size. */
html body.lm-pilot .cf-cinema .cf-cinema-dim,
html body.lm-pilot .cf-media-viewer--gallery .cf-media-backdrop {
  background: rgba(0, 0, 0, var(--lm-gallery-backdrop-opacity));
}
/* Retain the original Carnival Figures rule for invisible hit areas in every state. */
html body.lm-pilot :is(.cf-cinema-hit, .cf-cinema-nav, .cf-media-hotspot),
html body.lm-pilot :is(.cf-cinema-hit, .cf-cinema-nav, .cf-media-hotspot):is(:hover, :focus, :focus-visible, :active) {
  outline: none !important; border: 0 !important; box-shadow: none !important;
  background: transparent !important; -webkit-tap-highlight-color: transparent;
}

/* Compact the glow-to-menu gap without changing artwork or navigation hit areas. */
body.lm-pilot .lm-header :is(.lm-nav, .cf-lm-section-nav) { margin-top: -20px; background: transparent; }

/* Closing a gallery returns focus to its thumbnail. Keep that focus for keyboard
   continuity, but never draw a frame around the artwork or its caption. */
html body.lm-pilot :is(#lm-gallery-open, [data-lm-gallery], [data-lm-gallery-source], .lm-poster-open),
html body.lm-pilot :is(#lm-gallery-open, [data-lm-gallery], [data-lm-gallery-source], .lm-poster-open):is(:hover, :focus, :focus-visible, :active) {
  outline: none !important;
  border: 0 !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent;
}

/* Brook alone has unused artwork below his feet (y≈700 in the 1920px original).
   Retain native framing, allow 100px beneath him, and always fit the biography. */
@media (min-width: 801px) {
  body.lm-pilot.lm-brook-page .lm-starfield { --lm-bg-height-wide: calc(36.45833333vw + 100px); }
  body.lm-pilot.lm-brook-page .lm-starfield::before { height: 100%; }
  body.lm-pilot.lm-brook-page #wrapper #content-project { padding-bottom: 20px; }
}

/* Match the Carnival Figures return arrow without adding a new image asset. */
.lm-pilot .lm-character-return::before {
  content: ""; flex: 0 0 auto; width: 0; height: 0; margin-right: .9em;
  border-style: solid; border-width: .55em .8em .55em 0;
  border-color: transparent currentColor transparent transparent;
  pointer-events: none;
}

/* Standalone mobile pages use the same content and gallery links as desktop. */
@media (max-width: 800px) {
  body.lm-pilot.lm-character-page #content-project > .projectbox {
    float: none; width: 100%; margin: 0 0 24px;
  }
  body.lm-pilot.lm-character-page .character-profile {
    float: none; width: 100%; margin: 0; padding: 20px;
  }
  body.lm-pilot.lm-copy-page #about-box-left-wider {
    box-sizing: border-box; padding: 20px !important;
    background: rgba(0,0,0,.65) !important;
  }
  body.lm-pilot.lm-copy-page #about-box-left-wider p.centered:has(> img[src*="laundrymonsters_logo"]) {
    display: none;
  }
}

/* Mobile: widescreen page artwork gives way to plain black. Tall artwork and
   the star fields remain in place; foreground images and galleries are untouched. */
@media (max-width: 800px) {
  body.lm-pilot.lm-mobile-black-background .lm-starfield { min-height: 0 !important; background: #000 !important; }
  body.lm-pilot.lm-mobile-black-background .lm-starfield::before { content: none; }
  body.lm-pilot.lm-mobile-black-background .lm-watch-backdrop { background: #000; }
}
/* Keep the same presentation when a phone retains its mobile layout on rotation. */
html.cf-mobile-layout-held body.lm-pilot.lm-mobile-black-background .lm-starfield { min-height: 0 !important; background: #000 !important; }
html.cf-mobile-layout-held body.lm-pilot.lm-mobile-black-background .lm-starfield::before { content: none; }
html.cf-mobile-layout-held body.lm-pilot.lm-mobile-black-background .lm-watch-backdrop { background: #000; }

/* One top glow asset and placement on every page, including black headers.
   Keep the footer artwork and all header geometry unchanged. */
body.lm-pilot .lm-header .lm-light-divider-top {
  position: relative;
  background: transparent;
}
body.lm-pilot .lm-header .lm-light-divider-top::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  aspect-ratio: 2240 / 80;
  transform: translateY(-50%);
  pointer-events: none;
  background: transparent url('../assets/brand/glow-underline-transparency.webp?v=fbd2b350a45b') center / contain no-repeat;
}

/* Black overview pages end 50px after the final row. Illustrated pages keep
   their established scene height and spacing. Override inherited mobile padding. */
body.lm-pilot.lm-compact-overview #wrapper #content-project { padding-bottom: 0 !important; }
body.lm-pilot.lm-compact-overview #content-project #projects { padding-bottom: 0; }
body.lm-pilot.lm-compact-overview #content-project #projects > .projectbox:not(:has(~ .projectbox)) {
  margin-bottom: 30px !important;
}
