/* NUSA eQSL — Option C background, 13 Oct 2026
 * Original user-provided 2048x1143 artwork, optimized as WebP.
 * Public = visible full-screen artwork; workspaces = softened backdrop.
 * QSL design canvas deliberately stays untouched.
 */
body.public-site,
body.workspace-site {
  background-color:#f5f9fd;
  background-repeat:no-repeat;
  background-position:center center;
  background-size:cover;
  background-attachment:fixed;
}
body.public-site {
  background-image:
    linear-gradient(rgba(255,255,255,.13),rgba(255,255,255,.19)),
    url("/static/nusa-wallpaper-radio.webp");
}
body.workspace-site {
  background-image:
    linear-gradient(rgba(255,255,255,.70),rgba(255,255,255,.79)),
    url("/static/nusa-wallpaper-radio.webp");
}
/* The legacy decorative gradient otherwise competes with the artwork. */
body.public-site .backdrop,
body.workspace-site .backdrop {display:none}
/* The public portal is full-width and preserves its streamlined shell. */
body.public-site .content-area,
body.public-site .content {
  background:transparent;
}
body.public-site .panel,
body.public-site section.panel {
  background:rgba(255,255,255,.92);
  border:1px solid rgba(201,221,236,.89);
  box-shadow:0 7px 22px rgba(30,75,105,.09);
  -webkit-backdrop-filter:blur(5px);
  backdrop-filter:blur(5px);
}
body.public-site .hero,
body.public-site .public-compact>.hero {
  background:linear-gradient(
    115deg,rgba(241,249,255,.88),rgba(222,241,253,.78),rgba(249,252,255,.85)
  );
  border:1px solid rgba(183,215,237,.88);
  box-shadow:0 8px 22px rgba(35,86,124,.08);
  -webkit-backdrop-filter:blur(5px);
  backdrop-filter:blur(5px);
}
body.public-site .event-card {
  background:rgba(250,253,255,.90);
  border-color:rgba(196,219,235,.88);
}
body.public-site .event-card.linked:hover {
  background:rgba(239,249,255,.95);
}
body.public-site .site-footer {
  background:rgba(255,255,255,.68);
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
}
body.login-page.public-site .content>section {
  background:rgba(255,255,255,.96);
  box-shadow:0 12px 32px rgba(24,69,102,.11);
}
/* A translucent backdrop-filter blurs the wallpaper behind the content,
 * not the text/forms/canvas contained within this workspace. */
body.workspace-site .content-area {
  background:rgba(248,251,255,.38);
  -webkit-backdrop-filter:blur(5px) saturate(.83);
  backdrop-filter:blur(5px) saturate(.83);
}
body.workspace-site .sidebar {
  background:rgba(255,255,255,.95);
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
}
body.workspace-site .panel,
body.workspace-site section.panel,
body.workspace-site .qsl-editor-panel,
body.workspace-site .qsl-canvas-panel {
  background:rgba(255,255,255,.965);
  border-color:rgba(207,223,235,.96);
  box-shadow:0 5px 19px rgba(30,70,99,.07);
}
body.workspace-site .event-card,
body.workspace-site .template-item,
body.workspace-site .quick-link {
  background:rgba(252,254,255,.97);
}
body.workspace-site .site-footer {
  background:rgba(255,255,255,.58);
}
/* Mobile browsers can scroll without expensive fixed-background repaint. */
@media(max-width:800px) {
  body.public-site,body.workspace-site {background-attachment:scroll}
  body.workspace-site .content-area {
    background:rgba(250,253,255,.76);
    -webkit-backdrop-filter:none;
    backdrop-filter:none;
  }
  body.public-site .panel,
  body.public-site .hero,
  body.workspace-site .panel {
    -webkit-backdrop-filter:none;
    backdrop-filter:none;
  }
}
/* Accessibility: image is decorative and never replaces contrast surfaces. */
@media(prefers-reduced-transparency:reduce) {
  body.public-site .panel,body.workspace-site .panel {background:#fff}
  body.workspace-site .content-area {background:rgba(251,253,255,.92)}
}
