/* ============================================
   Fan Zone — /rig (custom_912)
   Uses songs.css's .fz-head / .fz-title / .fz-h3 look, repeated here so
   the page stands alone.
   ============================================ */

body.fan-zone-page .block-page-title-block { display: none; }

.fz-rig { max-width: var(--site-content-width, 60rem); margin-inline: auto; color: var(--text-soft, #b8ccb8); }
.fz-rig a { color: var(--text-pale, #c8d8c8); }
.fz-rig .fz-head { text-align: center; margin: 0 0 1.75rem; }
.fz-rig .fz-eyebrow { margin: 0 0 0.4rem; font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-warm, #e8c760); }
.fz-rig .fz-title { font-family: var(--font-display, 'Playfair Display', Georgia, serif); color: var(--white, #e6efe6); font-size: clamp(2rem, 5.5vw, 3.2rem); line-height: 1.1; margin: 0; }
.fz-rig .fz-intro { font-family: var(--font-display, Georgia, serif); font-style: italic; color: var(--muted-light, #a3bca8); margin: 0.6rem auto 0; max-width: 36rem; line-height: 1.6; }
.fz-rig .fz-meta { margin: 0.7rem 0 0; font-size: 0.8rem; }
.fz-rig .fz-h3 { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted, #82a38a); margin: 2rem 0 0.75rem; }
.fz-rig .fz-empty { text-align: center; color: var(--muted, #82a38a); padding: 2rem 0; }

/* ── setups as tabs ── */
.fz-rig-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; margin: 0 0 1.75rem; }
.fz-rig-tabs[hidden] { display: none; }
.fz-rig-tab {
  font: inherit; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.55rem 1.1rem; min-height: 2.5rem;
  background: transparent; color: var(--muted-light, #a3bca8);
  border: 1px solid var(--border-light, #243424); border-radius: 999px; cursor: pointer;
}
.fz-rig-tab[aria-selected="true"] { background: var(--accent-warm, #e8c760); border-color: var(--accent-warm, #e8c760); color: var(--black, #070b07); }
.fz-rig-tab:focus-visible { outline: 2px solid var(--green, #499260); outline-offset: 2px; }

.fz-rig-set { margin-bottom: 3rem; }
.fz-rig-set[hidden] { display: none; }
.fz-rig-set__name { font-family: var(--font-display, Georgia, serif); color: var(--white, #e6efe6); font-size: 1.6rem; margin: 0 0 0.4rem; text-align: center; }
.fz-rig--js .fz-rig-tabs:not([hidden]) ~ .fz-rig-set .fz-rig-set__name { display: none; }
.fz-rig-set__blurb { text-align: center; max-width: 38rem; margin: 0 auto 1.5rem; line-height: 1.65; color: var(--muted-light, #a3bca8); }

/* ── the signal chain ── */
.fz-chain {
  list-style: none; margin: 0 0 1.5rem; padding: 1.25rem 0.5rem;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 0.5rem 0;
  border-top: 1px solid var(--border, #1c2c1c); border-bottom: 1px solid var(--border, #1c2c1c);
}
.fz-chain__step { display: flex; align-items: center; }
.fz-chain__step + .fz-chain__step::before {
  content: ""; width: 1.4rem; height: 2px; margin: 0 0.15rem 2.2rem;
  background: var(--accent-warm, #e8c760); opacity: 0.6; flex: none;
  /* a cable, with a little jack at the far end */
  box-shadow: 0.55rem 0 0 0 var(--accent-warm, #e8c760);
}
.fz-chain__node {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  width: 6.4rem; padding: 0.45rem 0.3rem 0.5rem; border-radius: 6px;
  text-decoration: none; color: var(--text-pale, #c8d8c8);
  border: 1px solid transparent;
}
.fz-chain__node:hover, .fz-chain__node:focus-visible { border-color: var(--border-light, #243424); background: var(--surface, #111811); outline: none; }
.fz-chain__node.is-on { border-color: var(--accent-warm, #e8c760); background: var(--surface, #111811); }
.fz-chain__pic {
  width: 4rem; height: 4rem; border-radius: 6px; overflow: hidden; margin-bottom: 0.4rem;
  background: var(--surface-alt, #161e16); border: 1px solid var(--border, #1c2c1c);
  display: flex; align-items: center; justify-content: center;
}
.fz-chain__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fz-chain__glyph { font-family: var(--font-display, Georgia, serif); font-size: 1.6rem; color: var(--accent-warm, #e8c760); }
.fz-chain__name { font-size: 0.8rem; font-weight: 600; line-height: 1.25; color: var(--white, #e6efe6); }
.fz-chain__role { font-size: 0.68rem; color: var(--muted, #82a38a); margin-top: 0.15rem; line-height: 1.25; }

@media (max-width: 40rem) {
  .fz-chain { flex-direction: column; align-items: center; flex-wrap: nowrap; padding: 0.75rem 0; }
  .fz-chain__step { flex-direction: column; align-items: center; width: 100%; }
  .fz-chain__step + .fz-chain__step::before { width: 2px; height: 1rem; margin: 0.1rem 0; box-shadow: 0 0.4rem 0 0 var(--accent-warm, #e8c760); }
  .fz-chain__node { flex-direction: row; align-items: center; width: 100%; max-width: 21rem; box-sizing: border-box; text-align: left; gap: 0.7rem; padding: 0.4rem 0.6rem; border-color: var(--border, #1c2c1c); }
  .fz-chain__name { flex: 1; }
  .fz-chain__pic { width: 2.8rem; height: 2.8rem; margin: 0; flex: none; }
  .fz-chain__glyph { font-size: 1.2rem; }
  .fz-chain__role { margin: 0; max-width: 45%; text-align: right; }
}

/* ── a piece of gear ── */
.fz-gear-list { display: grid; gap: 1rem; }
.fz-gear {
  display: grid; grid-template-columns: minmax(0, 18rem) 1fr; gap: 1.25rem;
  background: var(--surface, #111811); border: 1px solid var(--border, #1c2c1c);
  border-radius: 8px; padding: 1.1rem;
}
.fz-gear[hidden] { display: none; }
.fz-gear--nophoto { grid-template-columns: 1fr; }
.fz-gear__photo img { width: 100%; height: auto; border-radius: 6px; display: block; }
.fz-gear__kicker { margin: 0; font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted, #82a38a); }
.fz-gear__step { color: var(--accent-warm, #e8c760); margin-right: 0.5rem; font-variant-numeric: tabular-nums; }
.fz-gear__name { font-family: var(--font-display, Georgia, serif); color: var(--white, #e6efe6); font-size: 1.45rem; margin: 0.25rem 0 0.1rem; line-height: 1.2; }
.fz-gear__role { margin: 0 0 0.75rem; color: var(--green-pale, #9ecfae); font-size: 0.9rem; }
.fz-gear__notes { line-height: 1.65; margin-bottom: 0.9rem; }
.fz-gear__label { margin: 0 0 0.3rem; font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-warm, #e8c760); }
.fz-gear__settings {
  border-left: 2px solid var(--accent-warm, #e8c760); padding: 0.45rem 0.8rem; margin: 0 0 0.9rem;
  background: var(--deep, #0c120c); border-radius: 0 4px 4px 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.85rem; line-height: 1.6;
}
.fz-gear__settings p:last-child { margin: 0; }
.fz-gear__clip audio { width: 100%; max-width: 24rem; }
.fz-gear__clip { margin-bottom: 0.9rem; }
.fz-gear__link { margin: 0; font-size: 0.85rem; }
.fz-gear__nav { display: flex; justify-content: space-between; gap: 0.5rem; margin-top: 1rem; }
.fz-gear__nav[hidden] { display: none; }
.fz-gear__nav button {
  font: inherit; font-size: 0.8rem; text-transform: none; letter-spacing: normal; white-space: nowrap; padding: 0.4rem 0.8rem; min-height: 2.25rem; cursor: pointer;
  background: transparent; color: var(--text-pale, #c8d8c8);
  border: 1px solid var(--border-light, #243424); border-radius: 4px;
}
.fz-gear__nav button:hover:not(:disabled) { border-color: var(--accent-warm, #e8c760); color: var(--accent-warm, #e8c760); }
.fz-gear__nav button:disabled { opacity: 0.35; cursor: default; }

.fz-bag { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1rem; }
.fz-bag .fz-gear { grid-template-columns: 1fr; }
.fz-bag .fz-gear__photo img { max-height: 12rem; object-fit: cover; }

@media (max-width: 40rem) {
  .fz-gear { grid-template-columns: 1fr; }
}

/* custom_931: where a setup has been. */
.fz-rig-set__played { margin: -0.4rem 0 1rem; font-size: 0.85rem; color: var(--muted, #82a38a); text-align: center; }
.fz-rig-set__played a { color: var(--text-pale, #c8d8c8); }

/* custom_935: the teaser while the Workbench is for members. */
.fz-rig-members { max-width: 44rem; margin: 0 auto 1.6rem; padding: 1.1rem 1.3rem; background: var(--surface, #111811); border: 1px solid var(--border-light, #243424); border-top: 2px solid var(--accent-warm, #e8c760); border-radius: 6px; color: var(--text-soft, #b8ccb8); }
.fz-rig-members p { margin: 0 0 0.5rem; }
.fz-rig-members__big { font-family: var(--font-display, Georgia, serif); font-size: 1.25rem; color: var(--white, #e6efe6); }
.fz-rig-members__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; margin: 0.8rem 0 0 !important; font-size: 0.9rem; }
.fz-rig-members a { color: var(--accent-warm, #e8c760); }
.fz-rig-members a.fz-rig-members__btn { display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0.45rem 1.1rem; border-radius: 5px; text-decoration: none; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.06em; background: var(--accent-warm, #e8c760); color: #141414; }
.fz-rig-set__open { display: inline-block; vertical-align: middle; margin-left: 0.5rem; padding: 0.1rem 0.5rem; font-family: inherit; font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-warm, #e8c760); border: 1px solid var(--accent-warm, #e8c760); border-radius: 3px; }
.fz-gear__lock { margin: 0.4rem 0 0.9rem; padding: 0.8rem 0.9rem; border: 1px dashed var(--border-light, #243424); border-radius: 5px; }
.fz-gear__has { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.2rem 0 0.6rem; padding: 0; list-style: none; }
.fz-gear__has li { padding: 0.15rem 0.6rem; font-size: 0.8rem; color: var(--text-soft, #b8ccb8); background: var(--surface, #111811); border: 1px solid var(--border-light, #243424); border-radius: 999px; }
.fz-gear__has li::before { content: "\1F512\FE0E"; margin-right: 0.35rem; font-size: 0.7rem; opacity: 0.7; }
.fz-gear__in { margin: 0; font-size: 0.85rem; }
.fz-gear__in a { color: var(--accent-warm, #e8c760); }

/* custom_953 — the visitor's glimpse: the top of each locked setup's wiring
   fades out into the members panel. No piece cards, nothing to tap. */
.fz-rig-set--glimpse .fz-wiring-wrap,
.fz-rig-set--glimpse .fz-chain { position: relative; max-height: 340px; overflow: hidden; margin-bottom: 0; }
.fz-rig-set--glimpse .fz-wiring-wrap::after,
.fz-rig-set--glimpse .fz-chain::after { content: ""; position: absolute; inset: auto 0 0 0; height: 220px; background: linear-gradient(to bottom, transparent, var(--black, #0a0d0a) 85%); pointer-events: none; }
.fz-rig-set--glimpse .fz-wiring-scroll,
.fz-rig-set--glimpse .fz-chain { pointer-events: none; }
.fz-rig-set--glimpse .fz-rig-members { position: relative; z-index: 2; margin: -3rem auto 2rem; }
