/* v0.7.2 FortWayneMusic shared chrome + compact interior banners; same file for site and phpBB. */
:root{--fwm-accent:#cc837c;--fwm-bright:#f8f5f0;--fwm-glass:#111923;}
/* Main site and phpBB share dimensions, breakpoints, typography and visual spacing. */
.site-header,.fwm-global-header{box-sizing:border-box;position:relative;background:linear-gradient(90deg,#121923f5 0%,#121923ef 55%,#121923b8 100%),url('/assets/fwm-stage-header.webp') center 40%/cover no-repeat!important;border-bottom:1px solid #4b525f!important;box-shadow:none!important;color:var(--fwm-bright);font-family:system-ui,-apple-system,'Segoe UI',sans-serif}
.site-header *,.fwm-global-header *,.dev-strip *,.fwm-global-devbar *{box-sizing:border-box}
.site-header::before{display:none!important}
.dev-strip,.fwm-global-devbar{min-height:27px;box-sizing:border-box;background:#232630!important;color:#e5dfe0!important;border:0;padding-top:6px!important;padding-bottom:5px!important;line-height:1.35;font-size:10px!important;letter-spacing:.12em;font-weight:800}
.dev-strip{padding-left:max(22px,calc((100vw - 1180px)/2 + 22px));padding-right:max(22px,calc((100vw - 1180px)/2 + 22px))}
.fwm-global-devbar{padding-left:0!important;padding-right:0!important}
.fwm-global-devbar .fwm-global-shell{display:flex;justify-content:space-between;gap:14px}
.shell,.fwm-global-shell{max-width:1180px!important}
.fwm-global-shell{width:100%!important;margin-inline:auto;padding-left:22px!important;padding-right:22px!important}
.header-inner,.fwm-global-top{min-height:91px!important;display:flex;align-items:center;justify-content:space-between;gap:14px;padding-top:10px;padding-bottom:10px}
.brand,.fwm-global-brand{display:flex;align-items:center;gap:12px;min-width:0;white-space:nowrap;text-decoration:none!important}
.brand-mark,.fwm-global-mark{flex:0 0 auto!important;width:60px!important;height:60px!important;display:block!important;background:url('/assets/fwm-logo-mark.svg') center/contain no-repeat!important;border:0!important;box-shadow:none!important;font-size:0!important}
.brand-text,.fwm-global-wordmark{display:block;font-size:clamp(22px,2.3vw,31px)!important;letter-spacing:-.045em;font-style:italic;font-weight:900!important;color:#fffefb!important;line-height:1.08;text-shadow:0 1px 2px #0008,0 0 16px #d7c7bd35}
.brand-text .tld,.fwm-global-wordmark>span{color:#e8a19a!important}
.brand-text small,.fwm-global-wordmark small{display:block;margin-top:7px;font-size:9px!important;letter-spacing:.1em!important;line-height:1.15;font-style:normal;font-weight:700;color:#efeaec!important;text-shadow:none}
.global-account-nav,.fwm-global-tools{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin:0}
.global-account-name{font-size:11px;color:#d7dce4}
.global-account-link,.admin-link,.fwm-global-tools a{display:inline-flex;align-items:center;justify-content:center;min-height:36px;border:1px solid #606a7a!important;border-radius:5px;padding:8px 11px!important;color:#f4f1ee!important;background:#19212cd4;font-size:12px!important;font-weight:500;text-decoration:none!important;white-space:nowrap;line-height:1.2}
.global-account-link:hover,.admin-link:hover,.fwm-global-tools a:hover{border-color:#d89990!important;color:#fff!important;background:#303744}
.nav,.fwm-global-nav{display:flex!important;align-items:center;justify-content:flex-start;gap:clamp(10px,1.25vw,18px)!important;flex-wrap:nowrap!important;min-height:42px!important;padding-top:0!important;padding-bottom:8px!important;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#5f6a76 transparent}
.nav a,.fwm-global-nav a{flex:0 0 auto!important;display:inline-block!important;padding:7px 0 9px!important;min-height:31px;white-space:nowrap;font-size:12px!important;font-weight:600;line-height:1.2;color:#e5e9ee!important;border:0!important;border-bottom:2px solid transparent!important;text-decoration:none!important;text-shadow:none!important}
.nav a:hover,.nav a[aria-current=page],.fwm-global-nav a:hover,.fwm-global-nav a[aria-current=page]{color:#f5a8a0!important;border-bottom-color:#d8968e!important}
/* A consistent photographic section opening, not a second oversized homepage hero. */
main.shell>.inner-head,.directory-profile-head,.admin-main>.inner-head{position:relative;isolation:isolate;min-height:0;padding:26px 30px 27px!important;margin:23px 0 14px!important;border:1px solid #4a5563!important;border-radius:12px;background:linear-gradient(90deg,#17202bf8 0%,#17202bed 58%,#17202bc7 100%),url('/assets/fwm-stage-header.webp') center 45%/cover no-repeat!important;overflow:hidden;box-shadow:0 7px 25px #080b1033}
.inner-head .eyebrow{display:block;color:#e6a8a1!important;font-size:10px!important;letter-spacing:.12em}
.inner-head h1{font-size:clamp(29px,3.4vw,42px)!important;letter-spacing:-.035em!important;margin:8px 0 8px!important;line-height:1.1!important}
.inner-head p{font-size:14px!important;line-height:1.55!important;max-width:710px!important;margin:0!important;color:#e1e5ed!important}
.directory-profile-head{margin-top:11px!important}
.directory-back{margin:15px 0 5px!important}
.directory-controls{padding-top:15px!important}
/* Consistent compact feedback entry point across site and forums. */
.fwm-review-note{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 17px;border:1px solid #47515e;border-radius:8px;background:#222934;margin:15px 0 25px;font-size:13px}
.fwm-review-note a{color:#f5aaa0;font-weight:700;text-decoration:underline}
@media(max-width:950px){.global-account-name{display:none!important}.brand-text,.fwm-global-wordmark{font-size:23px!important}}
@media(max-width:750px){.header-inner,.fwm-global-top{min-height:0!important;padding-top:13px!important;padding-bottom:12px!important;flex-wrap:wrap!important;justify-content:flex-start!important;gap:8px!important}.global-account-nav,.fwm-global-tools{width:100%;justify-content:flex-start!important;gap:7px!important}.brand-mark,.fwm-global-mark{height:49px!important;width:49px!important}.brand-text,.fwm-global-wordmark{font-size:22px!important}.brand-text small,.fwm-global-wordmark small{font-size:8px!important}.nav,.fwm-global-nav{gap:15px!important}.shell{padding-left:14px!important;padding-right:14px!important}.fwm-global-shell{width:100%!important;padding-left:14px!important;padding-right:14px!important}.dev-strip{padding-left:14px!important;padding-right:14px!important}.inner-head{padding:22px!important}.inner-head h1{font-size:32px!important}}
@media(max-width:400px){.brand-text,.fwm-global-wordmark{font-size:19px!important}.brand-mark,.fwm-global-mark{width:42px!important;height:42px!important}.brand-text small,.fwm-global-wordmark small{letter-spacing:.02em!important}}
/* Dustier vermilion, not neon red: accents stay legible and recognizable. */
:root{--gold:#cb8079}
.scene-lead h1 em{color:#e6a39d!important}.scene-kicker,.eyebrow{color:#e0a49d!important}
.scene-cta,.scene-tag{background:#cb8079!important;border-color:#cb8079!important;color:#17202a!important}
.scene-cta.secondary{background:#1d2430d8!important;color:#f7f3ed!important;border-color:#d9d9d9!important}
.scene-list time{background:#a96761!important}.scene-panel-title a,.scene-history-note a,.scene-slide a{color:#f0aca4!important}
.scene-quick a:hover{border-color:#cb8079!important}

/* v0.7.2 unified admin chrome */
.site-header>.nav{border-top:0;}
.admin-nav{flex:0 0 auto;}
@media(max-width:750px){.admin-nav{display:flex;flex-wrap:wrap;max-width:100%;gap:6px;} .admin-nav a,.admin-nav button{font-size:11px!important}}

/* v0.7.7 - ONE unified width for public site and phpBB.
   Replaces ALL previous conflicting v0.7.3-v0.7.6 width overrides.
   Keep the approved compact carousel, do not change its imagery or markup. */
html { scrollbar-gutter:stable; overflow-y:auto; }
@supports not (scrollbar-gutter:stable) { html { overflow-y:scroll; } }
:root { --fwm-page-width:980px; }
/* Top bar uses the same centered width, not viewport-derived offsets. */
.dev-strip { padding-inline:max(14px,calc((100% - var(--fwm-page-width))/2))!important; }
/* All of these are the SAME width and box sizing. */
.shell,
.fwm-global-shell,
body.fwm-events-layout .shell,
body.fwm-home-layout .shell,
body.fwm-home-layout main.shell,
body #wrap {
  box-sizing:border-box!important;
  width:min(var(--fwm-page-width),calc(100% - 28px))!important;
  max-width:var(--fwm-page-width)!important;
  margin-inline:auto!important;
}
/* Existing public pages have no extra header padding; phpBB should match. */
.fwm-global-shell { padding-inline:0!important; }
/* Home scene should use the entire content frame rather than an 806px
   nested max-width. This DOES NOT adjust slide fonts, photo, or controls. */
@media (min-width:751px) {
  body.fwm-home-layout main.shell > * {
    box-sizing:border-box;
    width:100%!important;
    max-width:100%!important;
  }
  /* Home uses shared rotator sizing, matching Shows. */
}
@media (max-width:750px) {
  .shell,.fwm-global-shell,body #wrap,
  body.fwm-home-layout main.shell,body.fwm-events-layout .shell {
    width:calc(100% - 28px)!important;
    max-width:none!important;
  }
  .dev-strip {padding-inline:14px!important;}
}
/* Match main-site branding to The Boards */
@media (min-width: 751px) {
  .site-header .brand {
    gap: 16px !important;
  }
}

/* FWM v1.5: consistent coral Sign in/Sign out on public membership headers. */
html body .global-account-nav a.global-account-link.primary,
html body .global-account-nav a.global-account-link[href*="mode=login"],
html body .global-account-nav a.global-account-link[href*="mode=logout"],
html body .fwm-global-tools a.global-account-link.primary,
html body .fwm-global-tools a[href*="mode=login"],
html body .fwm-global-tools a[href*="mode=logout"] {
  background:#b86e69!important;border-color:#dc9b8b!important;color:#fff!important;
}
html body .global-account-nav a.global-account-link.primary:hover,
html body .global-account-nav a.global-account-link[href*="mode=login"]:hover,
html body .global-account-nav a.global-account-link[href*="mode=logout"]:hover,
html body .fwm-global-tools a.global-account-link.primary:hover,
html body .fwm-global-tools a[href*="mode=login"]:hover,
html body .fwm-global-tools a[href*="mode=logout"]:hover {
  background:#cc817a!important;border-color:#f1b2a3!important;
}
