/*
Theme Name: The Flash UK Community
Theme URI: https://theflash-uk.gg
Author: The Flash UK
Description: Bespoke premium gaming, livestream and community theme for The Flash UK.
Version: 3.8.2
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.1
Text Domain: theflashuk
*/

:root {
  --bg: #030305;
  --panel: #090a0d;
  --panel-hi: #111116;
  --text: #f6f2eb;
  --muted: #aaa3af;
  --gold: #e7ae3b;
  --gold-hi: #ffd76e;
  --gold-deep: #7e4b09;
  --purple: #9f3af2;
  --purple-deep: #321044;
  --red: #ff3d36;
  --line: rgba(229,174,59,.72);
  --line-soft: rgba(229,174,59,.20);
  --purple-line: rgba(159,58,242,.55);
  --cut: 15px;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --ui: "Rajdhani", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 77% -7%, rgba(90,20,123,.24), transparent 27%),
    radial-gradient(circle at 2% 42%, rgba(129,76,7,.13), transparent 27%),
    linear-gradient(180deg, #020204, #07070a 48%, #020204 100%);
  font-family: var(--ui);
  line-height: 1.3;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .20;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px),
    radial-gradient(circle at 50% 0, rgba(159,58,242,.12), transparent 38%);
  background-size: 46px 46px, 46px 46px, 100% 100%;
  mask-image: linear-gradient(to bottom, transparent, black 7%, black 94%, transparent);
}
body::after {
  content: "";
  position: fixed;
  right: -60px;
  bottom: -60px;
  width: 560px;
  height: 520px;
  pointer-events: none;
  background: url('assets/images/community-circuit.png') right bottom/contain no-repeat;
  opacity: .12;
  filter: saturate(1.35);
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.skip-link { position: fixed; left: -999px; top: 10px; z-index: 999; background: white; color: black; padding: 9px 13px; }
.skip-link:focus { left: 10px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 66px;
  display: grid;
  grid-template-columns: 292px 1fr 140px;
  align-items: center;
  padding: 0 max(18px, calc((100vw - 1770px) / 2));
  background: rgba(2,2,4,.965);
  border-bottom: 1px solid rgba(229,174,59,.37);
  box-shadow: 0 12px 34px rgba(0,0,0,.55);
  backdrop-filter: blur(16px);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: auto 0 -2px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0 3%, rgba(229,174,59,.7) 15%, transparent 43%, rgba(159,58,242,.72) 72%, transparent 97%);
}
.brand { display: flex; align-items: center; width: 225px; text-decoration: none; }
.brand img { display: block; width: 225px; height: auto; filter: drop-shadow(0 0 9px rgba(229,174,59,.18)); }
.primary-nav { display: flex; justify-content: center; align-items: stretch; height: 100%; gap: clamp(15px, 1.42vw, 29px); }
.primary-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  text-transform: uppercase;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .45px;
  color: #efeaf2;
  white-space: nowrap;
}
.primary-nav a::before {
  content: "";
  position: absolute;
  left: -8px;
  right: -8px;
  bottom: 7px;
  height: 2px;
  transform: scaleX(0);
  background: linear-gradient(90deg, transparent, var(--purple), transparent);
  box-shadow: 0 0 10px var(--purple);
  transition: transform .18s ease;
}
.primary-nav a.active, .primary-nav a:hover { color: #e9d4ff; }
.primary-nav a.active::before, .primary-nav a:hover::before { transform: scaleX(1); }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 9px; }
.round-action, .profile-action, .menu-toggle { color: #eee9f0; background: transparent; border: 0; cursor: pointer; }
.round-action { width: 32px; height: 32px; padding: 7px; }
.round-action svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; }
.profile-action { width: 39px; height: 39px; border: 1px solid rgba(229,174,59,.55); border-radius: 50%; color: var(--gold); font-weight: 800; box-shadow: inset 0 0 16px rgba(159,58,242,.20), 0 0 9px rgba(229,174,59,.14); }
.menu-toggle { display: none; border: 1px solid rgba(229,174,59,.45); padding: 7px 11px; text-transform: uppercase; }

.page-shell { width: min(1770px, calc(100% - 14px)); margin: 9px auto 0; padding-bottom: 10px; position: relative; }

.panel-frame {
  position: relative;
  padding: 1px;
  overflow: hidden;
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut));
  background: linear-gradient(122deg, rgba(238,189,72,.95), rgba(102,63,9,.35) 18%, rgba(159,58,242,.24) 65%, rgba(229,174,59,.72));
  filter: drop-shadow(0 8px 15px rgba(0,0,0,.30));
}
.panel-frame::before {
  content: "";
  position: absolute;
  inset: 6px;
  z-index: 4;
  pointer-events: none;
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut));
  border: 1px solid rgba(229,174,59,.14);
}
.panel-frame::after {
  content: "";
  position: absolute;
  z-index: 5;
  pointer-events: none;
  left: 14px;
  top: 8px;
  width: 155px;
  height: 16px;
  border-top: 2px solid rgba(229,174,59,.72);
  background: linear-gradient(135deg, transparent 0 11px, rgba(229,174,59,.45) 12px 13px, transparent 14px) left top/25px 16px no-repeat;
}
.panel-surface {
  position: relative;
  height: 100%;
  clip-path: inherit;
  background:
    linear-gradient(135deg, rgba(255,255,255,.017), transparent 18%),
    linear-gradient(145deg, rgba(13,13,18,.99), rgba(5,5,8,.995));
}
.panel-surface::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 7px;
  width: 92px;
  height: 14px;
  border-right: 1px solid rgba(159,58,242,.62);
  border-bottom: 1px solid rgba(229,174,59,.56);
  pointer-events: none;
}

.hero { height: 320px; }
.hero-inner { overflow: hidden; }
.hero-scene {
  position: absolute;
  inset: 0 210px 0 29%;
  background: url('assets/images/hero-scene.jpg') center 51%/cover no-repeat;
  filter: saturate(1.13) contrast(1.07) brightness(.96);
}
.hero-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #050507 0 3%, rgba(5,5,7,.95) 12%, rgba(5,5,7,.60) 29%, rgba(5,5,7,.06) 58%, rgba(5,5,7,.08) 81%, rgba(5,5,7,.78) 100%),
    linear-gradient(0deg, rgba(5,5,7,.46), transparent 43%);
}
.hero-scanlines { position: absolute; inset: 0; pointer-events: none; opacity: .18; background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(255,255,255,.014) 4px); }
.hero-copy { position: relative; z-index: 3; width: 63%; padding: 38px 24px 26px 61px; }
.hero h1 { margin: 0; width: min(620px, 100%); line-height: 0; }
.hero h1 img { display: block; width: 100%; height: auto; filter: drop-shadow(0 5px 8px rgba(0,0,0,.82)); }
.hero-tagline {
  margin: 11px 0 7px 10px;
  text-transform: uppercase;
  font-family: var(--ui);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 9.3px;
  color: #f7f3f8;
  text-shadow: 0 2px 4px #000;
}
.hero-tagline b { color: var(--gold); font-size: 13px; }
.hero-intro { max-width: 565px; margin: 0 0 20px 10px; color: #d8d2dc; font-size: 15px; font-weight: 500; line-height: 1.48; text-shadow: 0 2px 4px #000; }
.hero-buttons { display: flex; gap: 18px; flex-wrap: wrap; margin-left: 10px; }
.cut-button {
  min-height: 47px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 29px;
  clip-path: polygon(11px 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%, 0 11px);
  text-decoration: none;
  text-transform: uppercase;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .6px;
  transition: transform .18s ease, filter .18s ease;
}
.cut-button:hover { transform: translateY(-2px); filter: brightness(1.12); }
.cut-button svg { width: 19px; height: 22px; fill: currentColor; stroke: currentColor; }
.gold-button { color: #1b1103; border: 1px solid #ffe08a; background: linear-gradient(180deg, #f8d76e, #c98a19); box-shadow: inset 0 0 19px rgba(255,255,255,.18), 0 0 16px rgba(229,174,59,.12); }
.purple-button { color: #fff; border: 1px solid #bd6dff; background: linear-gradient(135deg, #7a24bc, #2e0b47 76%); box-shadow: inset 0 0 19px rgba(255,255,255,.06), 0 0 15px rgba(159,58,242,.18); }
.hero-social { position: absolute; z-index: 5; inset: 0 0 0 auto; width: 221px; overflow: hidden; border-left: 1px solid rgba(229,174,59,.4); background: #07070b; }
.hero-social > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.social-hotspots { position: absolute; left: 23px; right: 19px; bottom: 21px; height: 31px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; }
.social-hotspots a { display: block; }

.live-bar { height: 82px; margin-top: 8px; }
.live-inner { display: grid; grid-template-columns: 220px 245px minmax(300px,1fr) 205px 205px; align-items: center; gap: 0; padding: 8px 18px; }
.live-state { height: 100%; display: flex; align-items: center; gap: 14px; padding-left: 17px; border-right: 1px solid rgba(229,174,59,.18); }
.status-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px var(--red); animation: pulse 1.5s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.45} }
.live-state strong { font-family: var(--display); font-size: 26px; font-style: italic; color: #ff504a; letter-spacing: .5px; }
.live-image { height: 62px; margin: 0 16px; position: relative; overflow: hidden; border: 1px solid rgba(229,174,59,.38); }
.live-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.live-image span { position: absolute; z-index: 2; top: 0; left: 0; padding: 2px 6px; color: #fff; background: #e22728; font-size: 9px; font-weight: 800; }
.live-details { min-width: 0; }
.live-details h2 { margin: 0 0 1px; font-family: var(--display); font-size: 22px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-details p { margin: 0 0 5px; color: #c0b9c4; font-size: 13px; }
.tags { display: flex; gap: 6px; }
.tags span { padding: 2px 8px; border: 1px solid rgba(159,58,242,.45); color: #cdb5df; font-size: 9px; background: rgba(159,58,242,.08); }
.tags .live-tag { color: #ff625c; border-color: rgba(255,61,54,.55); }
.watch-platform { height: 52px; margin-left: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; text-transform: uppercase; clip-path: polygon(13px 0, 100% 0, 100% calc(100% - 13px), calc(100% - 13px) 100%, 0 100%, 0 13px); border: 1px solid; font-family: var(--display); line-height: 1; }
.watch-platform small { font-size: 9px; letter-spacing: 1.2px; }
.watch-platform strong { font-size: 20px; }
.watch-platform.twitch { background: linear-gradient(135deg,#6e26a8,#2b103f); border-color:#aa5fe2; }
.watch-platform.youtube { background: linear-gradient(135deg,#9e1e20,#4c0b0d); border-color:#df4848; }

.section-title { height: 34px; display: flex; align-items: center; gap: 10px; padding: 0 5px 0 22px; }
.section-title i { width: 15px; height: 5px; transform: skewX(-30deg); background: linear-gradient(90deg,var(--purple),#c26cff); box-shadow: 0 0 9px rgba(159,58,242,.45); }
.section-title h2 { margin: 0; text-transform: uppercase; font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: .35px; }
.title-nav { margin-left: auto; padding-right: 12px; color: #d7ccd9; font-size: 17px; }
.featured-zone { display: grid; grid-template-columns: minmax(0, 2.12fr) minmax(380px, .95fr); gap: 11px; margin-top: 5px; }
.feature-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.feature-card { height: 191px; }
.feature-inner { overflow: hidden; }
.feature-image { height: 126px; position: relative; overflow: hidden; }
.feature-image::after { content:""; position:absolute; inset:0; background:linear-gradient(0deg,rgba(5,5,8,.56),transparent 54%); }
.feature-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.feature-card:hover .feature-image img { transform: scale(1.035); }
.feature-image span { position: absolute; z-index: 3; top: 7px; left: 7px; padding: 3px 8px; background: linear-gradient(135deg,#5d1d86,#261030); border: 1px solid rgba(159,58,242,.58); text-transform: uppercase; font-family: var(--display); font-size: 12px; font-weight: 700; }
.feature-copy { position: relative; height: 64px; padding: 8px 13px; background: linear-gradient(180deg,#111116,#09090d); }
.feature-copy b { display: block; color: var(--gold); text-transform: uppercase; font-family: var(--display); font-size: 14px; font-style: italic; }
.feature-copy h3 { margin: 0; font-family: var(--display); font-size: 18px; font-weight: 600; }
.feature-copy time { position: absolute; right: 7px; bottom: 6px; padding: 1px 4px; border: 1px solid rgba(255,255,255,.4); font-size: 10px; }
.printing-card { height: 225px; align-self: end; text-decoration: none; }
.printing-inner { overflow: hidden; }
.printing-inner img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .28s ease, filter .28s ease; }
.printing-card:hover img { transform: scale(1.015); filter: brightness(1.08); }

.community-zone { margin-top: 7px; position: relative; }
.community-zone::after { content:""; position:absolute; right:0; bottom:-8px; width:280px; height:240px; background:url('assets/images/community-circuit.png') right bottom/contain no-repeat; opacity:.20; pointer-events:none; }
.community-grid { position:relative; z-index:1; display: grid; grid-template-columns: 1.12fr 1.12fr 1fr .92fr; gap: 10px; }
.community-card, .member-card { height: 174px; }
.community-inner, .member-inner { padding: 18px 16px 13px; }
.community-inner h3, .member-inner h3 { margin: 0 0 8px; display: flex; align-items: center; gap: 9px; text-transform: uppercase; color: var(--gold); font-family: var(--display); font-size: 15px; font-weight: 700; }
.community-inner h3 span, .member-inner h3 span { color: var(--gold-hi); font-size: 18px; }
.community-inner > a { position:absolute; left:16px; bottom:10px; color:var(--gold); text-decoration:none; text-transform:uppercase; font-family:var(--display); font-size:11px; font-weight:700; }
.news-list, .discussion-list, .event-list { list-style:none; margin:0; padding:0; }
.news-list li { display:flex; justify-content:space-between; gap:10px; padding:7px 0; border-bottom:1px solid rgba(255,255,255,.07); font-size:12px; }
.news-list time { color:#817b86; font-size:10px; }
.discussion-list li { display:grid; grid-template-columns:28px 1fr 22px; align-items:center; gap:8px; padding:4px 0; }
.discussion-list i { width:25px; height:25px; border-radius:50%; display:grid; place-items:center; background:#36134d; color:#d49fff; font-style:normal; font-size:11px; }
.discussion-list strong { display:block; font-size:12px; font-weight:600; }
.discussion-list small { display:block; color:#77717b; font-size:9px; }
.discussion-list b { color:#c65cff; font-size:11px; }
.event-list li { display:grid; grid-template-columns:40px 1fr; gap:8px; align-items:center; margin-bottom:4px; font-size:12px; }
.event-list time { text-align:center; color:var(--gold); font-family:var(--display); line-height:1; }
.event-list time small { display:block; text-transform:uppercase; font-size:9px; }
.event-list time b { font-size:18px; }
.event-list div small { display:block; color:#77717b; font-size:9px; }
.member-profile { display:flex; align-items:center; gap:12px; }
.member-profile img { width:67px; height:67px; border-radius:50%; object-fit:cover; border:1px solid var(--gold); box-shadow:0 0 18px rgba(159,58,242,.25); }
.member-profile strong { display:block; font-size:14px; }
.member-profile span { color:#ba55ff; font-size:10px; }
.member-inner p { color:#aaa2ad; font-size:11px; }
.small-outline { display:inline-flex; align-items:center; justify-content:center; min-height:28px; padding:0 14px; border:1px solid rgba(229,174,59,.55); color:#eac66e; text-decoration:none; text-transform:uppercase; font-family:var(--display); font-size:10px; font-weight:700; clip-path:polygon(7px 0,100% 0,100% calc(100% - 7px),calc(100% - 7px) 100%,0 100%,0 7px); }

.schedule-bar { height: 80px; margin-top: 8px; }
.schedule-inner { display:grid; grid-template-columns:205px minmax(0,1fr) 158px; align-items:center; gap:10px; padding:7px 14px; }
.schedule-label { display:flex; align-items:center; gap:15px; padding-left:9px; font-family:var(--display); text-transform:uppercase; }
.schedule-label span { color:var(--gold); font-size:24px; }
.schedule-label strong { font-size:18px; line-height:.92; }
.stream-cards { display:grid; grid-template-columns:repeat(5,1fr); gap:7px; }
.stream-card { height:60px; display:grid; grid-template-columns:56px 1fr; align-items:center; border:1px solid rgba(255,255,255,.09); background:rgba(10,10,14,.78); }
.stream-card.active { border-color:rgba(229,174,59,.72); background:linear-gradient(90deg,rgba(159,58,242,.18),rgba(10,10,14,.82)); box-shadow:inset 0 0 22px rgba(159,58,242,.08); }
.stream-card time { height:100%; display:flex; flex-direction:column; justify-content:center; align-items:center; border-right:1px solid rgba(255,255,255,.07); font-family:var(--display); }
.stream-card time small { font-size:8px; text-transform:uppercase; }
.stream-card time b { font-size:24px; line-height:.95; }
.stream-card > div { padding:0 7px; min-width:0; }
.stream-card > div small { display:block; color:#918a94; font-size:8px; text-transform:uppercase; }
.stream-card strong { display:block; font-family:var(--display); font-size:13px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.stream-card span { display:block; font-size:8px; color:#9d96a0; }
.stream-card span::before { content:""; display:inline-block; width:5px; height:5px; border-radius:50%; margin-right:4px; }
.twitch-dot::before { background:#9d35ed; }
.youtube-dot::before { background:#f03232; }
.purple-outline { border-color:rgba(159,58,242,.75); color:#dcaeff; }

.community-band {
  min-height: 102px;
  margin-top: 8px;
  padding: 15px 25px;
  display:grid;
  grid-template-columns:60px 310px 160px 1px 210px 1fr 245px;
  align-items:center;
  gap:18px;
  position:relative;
  overflow:hidden;
  clip-path:polygon(15px 0,calc(100% - 15px) 0,100% 15px,100% calc(100% - 15px),calc(100% - 15px) 100%,15px 100%,0 calc(100% - 15px),0 15px);
  border-top:1px solid rgba(229,174,59,.45);
  border-bottom:1px solid rgba(229,174,59,.23);
  background:
    linear-gradient(110deg,rgba(81,20,108,.62) 0 38%,rgba(10,10,14,.96) 38% 77%,rgba(53,34,9,.42) 100%),
    linear-gradient(180deg,#0d0a12,#060609);
}
.community-band::after { content:""; position:absolute; inset:0; pointer-events:none; background:linear-gradient(125deg,transparent 0 38%,rgba(229,174,59,.25) 38.1% 38.2%,transparent 38.3% 100%); }
.discord-mark { width:48px; height:48px; border:3px solid #bd63ff; border-radius:50%; display:grid; place-items:center; color:#bd63ff; font-size:27px; box-shadow:0 0 18px rgba(159,58,242,.28); }
.join-copy h2 { margin:0; text-transform:uppercase; font-family:var(--display); font-size:20px; }
.join-copy p { margin:2px 0 0; color:#b8b0bc; font-size:11px; }
.band-divider { height:64px; background:linear-gradient(transparent,rgba(229,174,59,.52),transparent); }
.follow-copy > span { display:block; margin-bottom:8px; color:#aaa2ad; text-transform:uppercase; font-size:11px; letter-spacing:1.5px; }
.follow-copy div { display:flex; gap:15px; }
.follow-copy a { color:#c25bff; text-decoration:none; font-weight:700; }
.footer-links { display:grid; grid-template-columns:1fr 1fr; gap:22px; justify-self:end; }
.footer-links div { display:flex; flex-direction:column; }
.footer-links strong { margin-bottom:5px; text-transform:uppercase; font-size:10px; }
.footer-links a { color:#a49da7; text-decoration:none; font-size:9px; line-height:1.5; }
.footer-brand { justify-self:end; text-align:right; }
.footer-brand img { width:190px; max-width:100%; }
.footer-brand small { display:block; color:#716a74; font-size:8px; }

@media (max-width: 1320px) {
  .site-header { grid-template-columns:250px 1fr 130px; }
  .brand, .brand img { width:205px; }
  .primary-nav { gap:14px; }
  .primary-nav a { font-size:12px; }
  .hero-copy { width:67%; padding-left:43px; }
  .hero-tagline { letter-spacing:7px; }
  .live-inner { grid-template-columns:175px 210px minmax(260px,1fr) 170px 170px; }
  .community-band { grid-template-columns:50px 260px 145px 1px 175px 1fr 205px; gap:13px; }
}

@media (max-width: 1100px) {
  .site-header { grid-template-columns:1fr auto auto; }
  .menu-toggle { display:block; }
  .primary-nav { position:absolute; top:66px; left:0; right:0; height:auto; padding:12px 18px; display:none; flex-wrap:wrap; justify-content:flex-start; background:rgba(3,3,5,.98); border-bottom:1px solid rgba(229,174,59,.35); }
  .primary-nav.open { display:flex; }
  .header-actions { margin-left:12px; }
  .hero { height:350px; }
  .hero-scene { inset:0 175px 0 18%; }
  .hero-social { width:180px; }
  .hero-copy { width:72%; }
  .live-inner { grid-template-columns:155px 190px minmax(220px,1fr) 150px 150px; }
  .live-details p { display:none; }
  .featured-zone { grid-template-columns:1fr; }
  .printing-card { height:220px; }
  .community-grid { grid-template-columns:1fr 1fr; }
  .schedule-inner { grid-template-columns:170px 1fr; }
  .schedule-inner > .small-outline { display:none; }
  .stream-cards { grid-template-columns:repeat(3,1fr); }
  .stream-card:nth-child(n+4) { display:none; }
  .community-band { grid-template-columns:50px 1fr 140px; }
  .band-divider, .follow-copy, .footer-links { display:none; }
  .footer-brand { grid-column:1/-1; justify-self:center; text-align:center; }
}

@media (max-width: 760px) {
  .site-header { height:58px; padding:0 10px; }
  .brand, .brand img { width:172px; }
  .primary-nav { top:58px; }
  .header-actions .round-action { display:none; }
  .page-shell { width:calc(100% - 8px); margin-top:5px; }
  .hero { height:470px; }
  .hero-scene { inset:0; background-position:64% 50%; }
  .hero-scene::before { background:linear-gradient(0deg,#050507 0 39%,rgba(5,5,7,.45) 66%,rgba(5,5,7,.15) 100%),linear-gradient(90deg,rgba(5,5,7,.72),transparent 70%); }
  .hero-copy { width:100%; padding:26px 22px 20px; position:absolute; left:0; right:0; bottom:0; }
  .hero h1 { width:min(520px,100%); }
  .hero-tagline { margin-left:0; font-size:16px; letter-spacing:4.7px; }
  .hero-intro { margin-left:0; font-size:13px; }
  .hero-buttons { margin-left:0; }
  .cut-button { min-height:42px; padding:0 20px; font-size:13px; }
  .hero-social { display:none; }
  .live-bar { height:auto; }
  .live-inner { grid-template-columns:1fr 1fr; gap:8px; padding:12px; }
  .live-state { grid-column:1/-1; height:42px; border-right:0; }
  .live-image { grid-column:1/-1; height:120px; margin:0; }
  .live-details { grid-column:1/-1; }
  .watch-platform { margin:0; height:48px; }
  .feature-cards { grid-template-columns:1fr; }
  .feature-card { height:225px; }
  .feature-image { height:155px; }
  .printing-card { height:190px; }
  .community-grid { grid-template-columns:1fr; }
  .community-card, .member-card { height:176px; }
  .schedule-bar { height:auto; }
  .schedule-inner { grid-template-columns:1fr; padding:12px; }
  .schedule-label { padding-left:0; }
  .stream-cards { grid-template-columns:1fr; }
  .stream-card:nth-child(n+3) { display:none; }
  .community-band { grid-template-columns:48px 1fr; padding:16px; }
  .community-band > .small-outline { grid-column:1/-1; width:max-content; }
  .footer-brand { grid-column:1/-1; }
}

/* v3.2 visual corrections */
body::after {
  background-image: url('assets/images/community-circuit-clean.png');
  background-position: right bottom;
  background-size: contain;
  background-repeat: no-repeat;
  mix-blend-mode: screen;
  opacity: .10;
}

.community-zone::after {
  background-image: url('assets/images/community-circuit-clean.png');
  background-position: right bottom;
  background-size: contain;
  background-repeat: no-repeat;
  mix-blend-mode: screen;
  opacity: .14;
}

/* The printing artwork already contains its own complete angular frame.
   Do not wrap it in the generic panel frame, otherwise it appears double-boxed. */
.printing-card {
  position: relative;
  display: block;
  height: 225px;
  align-self: end;
  overflow: hidden;
  text-decoration: none;
  background: transparent;
  filter: drop-shadow(0 8px 15px rgba(0,0,0,.30));
}
.printing-card > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .28s ease, filter .28s ease;
}
.printing-card:hover > img {
  transform: scale(1.015);
  filter: brightness(1.08);
}

/* =========================================================
   v3.3 — expanded lower-page scale
   Keep the approved hero height; increase everything beneath it,
   with a substantially deeper premium footer.
   ========================================================= */

@media (min-width: 1101px) {
  .site-header {
    grid-template-columns: 318px 1fr 154px;
    padding-left: max(22px, calc((100vw - 2048px) / 2));
    padding-right: max(22px, calc((100vw - 2048px) / 2));
  }

  .brand,
  .brand img {
    width: 246px;
  }

  .page-shell {
    width: min(2048px, calc(100% - 24px));
    margin-top: 10px;
    padding-bottom: 18px;
  }

  /* Hero remains the approved height. */
  .hero {
    height: 320px;
  }

  .live-bar {
    height: 98px;
    margin-top: 11px;
  }

  .live-inner {
    grid-template-columns: 250px 285px minmax(360px, 1fr) 228px 228px;
    padding: 10px 22px;
  }

  .live-state strong {
    font-size: 30px;
  }

  .live-image {
    height: 74px;
    margin-inline: 19px;
  }

  .live-details h2 {
    font-size: 26px;
  }

  .live-details p {
    font-size: 15px;
    margin-bottom: 7px;
  }

  .tags span {
    padding: 3px 10px;
    font-size: 10px;
  }

  .watch-platform {
    height: 62px;
    margin-left: 17px;
  }

  .watch-platform small {
    font-size: 10px;
  }

  .watch-platform strong {
    font-size: 24px;
  }

  .section-title {
    height: 43px;
    gap: 12px;
    padding-left: 27px;
  }

  .section-title i {
    width: 19px;
    height: 6px;
  }

  .section-title h2 {
    font-size: 25px;
  }

  .featured-zone {
    grid-template-columns: minmax(0, 2.14fr) minmax(455px, .94fr);
    gap: 15px;
    margin-top: 8px;
  }

  .feature-cards {
    gap: 14px;
  }

  .feature-card {
    height: 232px;
  }

  .feature-image {
    height: 154px;
  }

  .feature-copy {
    height: 77px;
    padding: 10px 16px;
  }

  .feature-copy b {
    font-size: 16px;
  }

  .feature-copy h3 {
    font-size: 22px;
  }

  .feature-copy time {
    right: 10px;
    bottom: 8px;
    font-size: 11px;
  }

  .printing-card {
    height: 275px;
  }

  .community-zone {
    margin-top: 11px;
  }

  .community-grid {
    gap: 14px;
  }

  .community-card,
  .member-card {
    height: 220px;
  }

  .community-inner,
  .member-inner {
    padding: 23px 20px 17px;
  }

  .community-inner h3,
  .member-inner h3 {
    margin-bottom: 12px;
    gap: 10px;
    font-size: 18px;
  }

  .community-inner h3 span,
  .member-inner h3 span {
    font-size: 21px;
  }

  .community-inner > a {
    left: 20px;
    bottom: 14px;
    font-size: 13px;
  }

  .news-list li {
    padding: 10px 0;
    font-size: 14px;
  }

  .news-list time {
    font-size: 11px;
  }

  .discussion-list li {
    grid-template-columns: 34px 1fr 26px;
    gap: 10px;
    padding: 6px 0;
  }

  .discussion-list i {
    width: 31px;
    height: 31px;
    font-size: 12px;
  }

  .discussion-list strong {
    font-size: 14px;
  }

  .discussion-list small,
  .event-list div small {
    font-size: 10px;
  }

  .discussion-list b {
    font-size: 13px;
  }

  .event-list li {
    grid-template-columns: 48px 1fr;
    gap: 11px;
    margin-bottom: 7px;
    font-size: 14px;
  }

  .event-list time small {
    font-size: 10px;
  }

  .event-list time b {
    font-size: 22px;
  }

  .member-profile {
    gap: 15px;
  }

  .member-profile img {
    width: 84px;
    height: 84px;
  }

  .member-profile strong {
    font-size: 17px;
  }

  .member-profile span {
    font-size: 12px;
  }

  .member-inner p {
    font-size: 13px;
    margin-block: 12px 13px;
  }

  .small-outline {
    min-height: 34px;
    padding-inline: 18px;
    font-size: 12px;
  }

  .schedule-bar {
    height: 103px;
    margin-top: 12px;
  }

  .schedule-inner {
    grid-template-columns: 235px minmax(0, 1fr) 185px;
    gap: 14px;
    padding: 10px 18px;
  }

  .schedule-label {
    gap: 18px;
    padding-left: 12px;
  }

  .schedule-label span {
    font-size: 29px;
  }

  .schedule-label strong {
    font-size: 22px;
  }

  .stream-cards {
    gap: 10px;
  }

  .stream-card {
    height: 78px;
    grid-template-columns: 68px 1fr;
  }

  .stream-card time small,
  .stream-card > div small,
  .stream-card span {
    font-size: 9px;
  }

  .stream-card time b {
    font-size: 29px;
  }

  .stream-card > div {
    padding-inline: 10px;
  }

  .stream-card strong {
    font-size: 16px;
  }

  /* Rebuild the footer as a genuine lower-page destination. */
  .community-band {
    min-height: 184px;
    margin-top: 13px;
    padding: 27px 36px;
    grid-template-columns: 78px 390px 185px 1px 250px minmax(330px, 1fr) 310px;
    gap: 24px;
    border-top-width: 2px;
    border-bottom-width: 2px;
    background:
      radial-gradient(circle at 9% 45%, rgba(180, 69, 255, .23), transparent 24%),
      linear-gradient(110deg, rgba(83, 20, 112, .78) 0 36%, rgba(11, 10, 16, .98) 36% 76%, rgba(74, 46, 8, .58) 100%),
      linear-gradient(180deg, #100b17, #050507);
    box-shadow:
      inset 0 1px 0 rgba(255, 220, 119, .10),
      inset 0 -1px 0 rgba(159, 58, 242, .12),
      0 15px 34px rgba(0, 0, 0, .45);
  }

  .community-band::before {
    content: "";
    position: absolute;
    inset: 9px;
    pointer-events: none;
    clip-path: polygon(13px 0, calc(100% - 13px) 0, 100% 13px, 100% calc(100% - 13px), calc(100% - 13px) 100%, 13px 100%, 0 calc(100% - 13px), 0 13px);
    border: 1px solid rgba(229, 174, 59, .18);
  }

  .community-band::after {
    background:
      linear-gradient(125deg, transparent 0 35%, rgba(229, 174, 59, .38) 35.08% 35.17%, transparent 35.25% 100%),
      linear-gradient(90deg, transparent 0 72%, rgba(159, 58, 242, .08) 72% 100%);
  }

  .discord-mark {
    width: 64px;
    height: 64px;
    border-width: 4px;
    font-size: 35px;
  }

  .join-copy h2 {
    font-size: 27px;
    letter-spacing: .35px;
  }

  .join-copy p {
    margin-top: 5px;
    font-size: 14px;
    line-height: 1.45;
  }

  .band-divider {
    height: 105px;
  }

  .follow-copy > span {
    margin-bottom: 13px;
    font-size: 13px;
    letter-spacing: 2px;
  }

  .follow-copy div {
    gap: 20px;
  }

  .follow-copy a {
    font-size: 20px;
  }

  .footer-links {
    gap: 38px;
  }

  .footer-links strong {
    margin-bottom: 9px;
    font-size: 13px;
    color: #f2ebf4;
  }

  .footer-links a {
    font-size: 12px;
    line-height: 1.7;
  }

  .footer-brand img {
    width: 248px;
  }

  .footer-brand small {
    margin-top: 8px;
    font-size: 10px;
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .live-bar {
    min-height: 94px;
  }

  .feature-card {
    height: 220px;
  }

  .feature-image {
    height: 147px;
  }

  .community-card,
  .member-card {
    height: 205px;
  }

  .schedule-bar {
    min-height: 95px;
  }

  .community-band {
    min-height: 155px;
    padding: 22px 24px;
  }

  .join-copy h2 {
    font-size: 24px;
  }

  .join-copy p {
    font-size: 13px;
  }

  .footer-brand img {
    width: 225px;
  }
}


/* =========================================================
   v3.4 — footer CTA and seam divider refinement
   Make the Discord button feel like a real button within the
   purple area, and turn the gold seam into a purposeful divider.
   ========================================================= */

.community-band {
  position: relative;
}

.community-band::after {
  background:
    linear-gradient(90deg, transparent 0 72%, rgba(159, 58, 242, .08) 72% 100%);
}

/* Desktop / large-screen refinements */
@media (min-width: 1101px) {
  .community-band {
    grid-template-columns: 82px 415px 210px 28px 250px minmax(330px, 1fr) 312px;
  }

  .community-band::after {
    /* angled gold seam exactly where the purple zone meets the dark zone */
    background:
      linear-gradient(106deg,
        transparent 0 35.1%,
        rgba(255, 215, 112, 0.0) 35.1%,
        rgba(255, 215, 112, .92) 35.42%,
        rgba(176, 92, 255, .72) 35.56%,
        rgba(255, 215, 112, .42) 35.70%,
        transparent 35.94% 100%),
      linear-gradient(90deg, transparent 0 72%, rgba(159, 58, 242, .08) 72% 100%);
  }

  .discord-mark {
    width: 68px;
    height: 68px;
    border-width: 4px;
    box-shadow: 0 0 24px rgba(159,58,242,.35), inset 0 0 14px rgba(255,255,255,.08);
    background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.10), rgba(189,99,255,.06) 45%, rgba(52,15,74,.18) 100%);
  }

  .join-copy {
    padding-right: 10px;
  }

  .discord-cta {
    justify-self: start;
    align-self: center;
    min-height: 52px;
    padding: 0 28px;
    border-width: 1px;
    border-color: rgba(246, 197, 102, .78);
    color: #fff8e3;
    font-size: 15px;
    letter-spacing: .4px;
    background:
      linear-gradient(135deg, rgba(182, 79, 255, .95), rgba(112, 34, 185, .92) 38%, rgba(57, 16, 92, .94) 100%);
    box-shadow:
      0 12px 22px rgba(0,0,0,.34),
      0 0 20px rgba(182,79,255,.28),
      inset 0 1px 0 rgba(255,255,255,.16),
      inset 0 -1px 0 rgba(0,0,0,.22);
  }

  .discord-cta:hover {
    color: #ffffff;
    filter: brightness(1.08);
    transform: translateY(-1px);
  }

  .band-divider {
    justify-self: center;
    width: 18px;
    height: 126px;
    background:
      linear-gradient(106deg,
        transparent 0 30%,
        rgba(255, 215, 112, .0) 30%,
        rgba(255, 215, 112, .92) 45%,
        rgba(164, 83, 240, .85) 52%,
        rgba(255, 215, 112, .55) 58%,
        transparent 74%);
    box-shadow: 0 0 16px rgba(229,174,59,.22);
    transform: skewX(-26deg);
    opacity: .96;
  }

  .follow-copy {
    padding-left: 6px;
  }
}

/* Tablet/footer clean-up */
@media (min-width: 761px) and (max-width: 1100px) {
  .discord-cta {
    min-height: 46px;
    padding: 0 22px;
    border-color: rgba(246, 197, 102, .72);
    color: #fff7de;
    font-size: 14px;
    background: linear-gradient(135deg, rgba(171, 72, 244, .95), rgba(71, 22, 116, .94));
    box-shadow: 0 8px 18px rgba(0,0,0,.28), 0 0 18px rgba(171,72,244,.24), inset 0 1px 0 rgba(255,255,255,.14);
  }

  .community-band::after {
    background:
      linear-gradient(106deg,
        transparent 0 45.4%,
        rgba(255, 214, 116, 0.0) 45.4%,
        rgba(255, 214, 116, .9) 45.68%,
        rgba(170, 84, 243, .68) 45.82%,
        rgba(255, 214, 116, .40) 45.96%,
        transparent 46.22% 100%);
  }
}

@media (max-width: 760px) {
  .discord-cta {
    min-height: 44px;
    padding: 0 20px;
    border-color: rgba(246, 197, 102, .72);
    color: #fff7de;
    font-size: 13px;
    background: linear-gradient(135deg, rgba(171, 72, 244, .95), rgba(71, 22, 116, .94));
    box-shadow: 0 8px 18px rgba(0,0,0,.28), 0 0 18px rgba(171,72,244,.24), inset 0 1px 0 rgba(255,255,255,.14);
  }
}


/* =========================================================
   v3.4.1 — move Discord CTA fully inside the purple footer area
   ========================================================= */
@media (min-width: 1101px) {
  .community-band {
    grid-template-columns: 78px 350px 180px 28px 250px minmax(330px, 1fr) 312px;
  }

  .discord-cta {
    justify-self: start;
    width: 180px;
    padding-inline: 18px;
    transform: translateX(-4px);
  }

  .discord-cta:hover {
    transform: translateX(-4px) translateY(-1px);
  }
}


/* =========================================================
   v3.4.2 — remove the secondary branch beside the footer seam
   Keep one clean gold divider at the purple/black transition.
   ========================================================= */
@media (min-width: 1101px) {
  .band-divider {
    width: 28px;
    height: 126px;
    background: transparent;
    box-shadow: none;
    transform: none;
    opacity: 1;
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .band-divider {
    background: transparent;
    box-shadow: none;
    transform: none;
  }
}


/* v3.6.1 visible build marker */
.site-version {
  margin-left: 8px;
  color: #d8b45e;
  font-weight: 700;
  letter-spacing: .35px;
  white-space: nowrap;
}


/* WordPress integration */
.admin-bar .site-header { top: 32px; }
body.admin-bar { padding-top: 32px; }
.wp-site-blocks { padding: 0; }
.screen-reader-text { position:absolute!important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.site-version { color: #b26cff; margin-left: .35rem; }
.feature-card a, .stream-card a { color: inherit; text-decoration: none; }
.content-page { min-height: 520px; padding: 38px; }
.content-page h1 { font-family: var(--display); color: var(--gold); text-transform: uppercase; }
.content-page .entry-content { color: #d5cfd8; font-size: 1.1rem; }
@media(max-width:782px){ .admin-bar .site-header{top:46px;} body.admin-bar{padding-top:46px;} }


/* v3.7.2 — Core status integration and honest empty states */
.live-bar.is-offline .status-dot {
  background: #8c8790;
  box-shadow: 0 0 8px rgba(140,135,144,.5);
  animation: none;
}
.live-bar.is-offline .live-state strong { color: #bcb6bf; }
.live-bar.is-offline .live-image img { filter: grayscale(.45) brightness(.62); }
.live-bar.is-offline .live-image span { background: #55515a; }
.live-bar.is-offline .tags .live-tag {
  color: #bcb6bf;
  border-color: rgba(188,182,191,.42);
}
.empty-state { color: #a9a2ad; }
.discussion-list .empty-state { grid-template-columns: 1fr; }
.event-list .empty-state { display: block; padding: 12px 0; }
.empty-member img { filter: grayscale(.35) brightness(.7); }
.stream-empty { grid-column: 1 / -1; min-height: 62px; }
.stream-empty > div { padding-left: 16px; }

/* =========================================================
   v3.7.3 — live/schedule spacing, complete printing artwork,
   account avatar alignment, clearer empty states and X link.
   ========================================================= */

/* The account control now centres either a real WordPress avatar or its fallback. */
.profile-action {
  display: grid;
  place-items: center;
  padding: 2px;
  line-height: 1;
  text-decoration: none;
  overflow: hidden;
}
.profile-action .profile-avatar,
.profile-action img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.profile-action .profile-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  transform: translateY(-.25px);
}

/* Use the complete Flash Layer Studio card artwork without clipping its logo or gold frame. */
.printing-card {
  height: auto;
  aspect-ratio: 493 / 241;
  align-self: end;
  overflow: visible;
}
.printing-card > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Deliberate branded placeholder rather than a dim, failed-looking profile image. */
.empty-member img {
  filter: none;
  background: #06050a;
  object-fit: cover;
}
.empty-state,
.discussion-list .empty-state,
.event-list .empty-state {
  color: #beb6c2;
}

/* Empty schedules must occupy the full available row rather than the date column. */
.stream-empty {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 72px;
  height: 72px;
}
.stream-empty > div {
  grid-column: 1 / -1;
  width: 100%;
  padding: 0 20px;
}
.stream-empty > div small,
.stream-empty > div strong,
.stream-empty > div span {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}
.stream-empty > div strong {
  margin: 2px 0;
}

/* Give the livestream thumbnail a little more vertical room and retain its useful centre. */
.live-image img {
  object-position: center 50%;
}

@media (min-width: 1321px) {
  .live-bar {
    height: 112px;
  }
  .live-inner {
    grid-template-columns: 265px 310px minmax(360px, 1fr) 220px 220px;
    padding: 11px 22px;
  }
  .live-image {
    height: 88px;
    margin-inline: 20px;
  }
  .live-state strong {
    font-size: 31px;
  }
  .schedule-bar {
    height: 116px;
  }
  .schedule-inner {
    grid-template-columns: 245px minmax(0, 1fr) 190px;
    padding: 12px 18px;
  }
  .stream-card {
    height: 88px;
  }
  .stream-empty {
    height: 88px;
  }
  .stream-empty > div strong {
    font-size: 17px;
  }
}

@media (min-width: 1101px) and (max-width: 1320px) {
  .live-bar {
    height: 106px;
  }
  .live-inner {
    grid-template-columns: 185px 225px minmax(245px, 1fr) 170px 170px;
    padding: 10px 16px;
  }
  .live-image {
    height: 82px;
    margin-inline: 14px;
  }
  .live-state strong {
    font-size: 25px;
  }
  .schedule-bar {
    height: 110px;
  }
  .schedule-inner {
    grid-template-columns: 205px minmax(0, 1fr) 165px;
    padding: 10px 14px;
  }
  .stream-card,
  .stream-empty {
    height: 82px;
  }
}



/* =========================================================
   v3.7.4 — preserve complete stream thumbnail and printing frame.
   ========================================================= */

/* Show the full livestream thumbnail rather than cropping its top or bottom. */
.live-image {
  background: #050508;
}
.live-image img {
  object-fit: contain;
  object-position: center;
  background: #050508;
}

/* The padded artwork provides breathing room around the complete gold frame. */
.printing-card {
  aspect-ratio: 509 / 257;
  background: #050508;
}
.printing-card > img {
  object-fit: contain;
  object-position: center;
}

@media (min-width: 1321px) {
  .live-bar {
    height: 122px;
  }
  .live-inner {
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .live-image {
    height: 96px;
  }
}

@media (min-width: 1101px) and (max-width: 1320px) {
  .live-bar {
    height: 116px;
  }
  .live-inner {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .live-image {
    height: 90px;
  }
}

/* =========================================================
   v3.8.2 — Mason hero layer and fully visible printing frame.
   ========================================================= */

/* Mason sits between the car scene and the lightning/social panel.
   The social panel remains above him so the bolt reads in the foreground. */
.hero-character {
  position: absolute;
  z-index: 4;
  right: 150px;
  bottom: -11px;
  display: block;
  width: auto;
  height: 326px;
  pointer-events: none;
  user-select: none;
  filter:
    drop-shadow(-11px 3px 13px rgba(0,0,0,.90))
    drop-shadow(0 0 8px rgba(159,58,242,.30))
    drop-shadow(1px 0 2px rgba(231,174,59,.18));
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 89%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 89%, transparent 100%);
}

/* The revised artwork includes a separate lower frame below the printer/logo,
   so its complete gold line can never be hidden by the artwork itself. */
.printing-card {
  aspect-ratio: 509 / 275;
  overflow: visible;
  background: transparent;
}
.printing-card > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 1320px) {
  .hero-character {
    right: 125px;
    bottom: -9px;
    height: 316px;
  }
}

@media (max-width: 1100px) {
  .hero-character {
    right: 112px;
    bottom: -8px;
    height: 325px;
  }
}

@media (max-width: 760px) {
  /* Preserve mobile text and controls; the desktop hero portrait is decorative. */
  .hero-character { display: none; }
  .printing-card { aspect-ratio: 509 / 275; height: auto; }
}

/* =========================================================
   v3.8.2 — integrated printing frame and larger hero bolt panel.
   ========================================================= */

/* Show the complete Flash Layer Studio artwork at its native proportions.
   This makes the row naturally tall enough for the real lower gold frame. */
.featured-zone {
  align-items: start;
}
.printing-card {
  width: 100%;
  height: auto;
  aspect-ratio: 495 / 259;
  align-self: start;
  overflow: visible;
  background: transparent;
}
.printing-card > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 495 / 259;
  object-fit: contain;
  object-position: center;
}

/* Enlarge the lightning/social panel and keep it above Mason so his right
   shoulder passes behind the panel rather than sitting beside it. */
.hero-social {
  width: 250px;
}
.hero-social > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-scene {
  right: 239px;
}
.hero-character {
  right: 140px;
}
.social-hotspots {
  left: 26px;
  right: 22px;
  bottom: 24px;
  height: 35px;
}

@media (max-width: 1320px) {
  .hero-social { width: 232px; }
  .hero-scene { right: 221px; }
  .hero-character { right: 128px; }
  .social-hotspots { left: 24px; right: 20px; bottom: 22px; height: 33px; }
}

@media (max-width: 1100px) {
  .hero-social { width: 205px; }
  .hero-scene { right: 194px; }
  .hero-character { right: 111px; }
  .social-hotspots { left: 21px; right: 18px; bottom: 20px; height: 29px; }
}

@media (max-width: 760px) {
  .printing-card {
    width: 100%;
    height: auto;
    aspect-ratio: 495 / 259;
  }
}

/* =========================================================
   v3.8.2 — wider Flash Layer Studio feature column.
   ========================================================= */

/* Give the complete 3D-printing artwork enough horizontal room so the
   integrated right-hand gold frame is visible instead of touching the edge. */
.featured-zone {
  grid-template-columns: minmax(0, 1fr) minmax(520px, 520px);
  column-gap: 16px;
  align-items: start;
}
.featured-main {
  min-width: 0;
}
.printing-card {
  width: 100%;
  min-width: 0;
  height: auto;
  aspect-ratio: 495 / 259;
  padding-right: 7px;
  overflow: visible;
  align-self: start;
}
.printing-card > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 495 / 259;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 1450px) {
  .featured-zone {
    grid-template-columns: minmax(0, 1fr) minmax(470px, 470px);
  }
}

@media (max-width: 1220px) {
  .featured-zone {
    grid-template-columns: 1fr;
  }
  .printing-card {
    width: min(100%, 620px);
    justify-self: center;
    padding-right: 0;
  }
}

@media (max-width: 760px) {
  .printing-card {
    width: 100%;
    aspect-ratio: 495 / 259;
  }
}

/* =========================================================
   v3.8.2 — Flash UK bbPress forum theme.
   ========================================================= */

.flash-forum-page {
  --forum-gold: #e5ae3b;
  --forum-gold-hi: #ffd76b;
  --forum-purple: #9f3af2;
  --forum-purple-deep: #351048;
  --forum-panel: #0b0b10;
  --forum-panel-2: #111118;
  --forum-border: rgba(229,174,59,.62);
  --forum-border-soft: rgba(229,174,59,.22);
  --forum-text: #eee9f0;
  --forum-muted: #aaa2ad;
}

.forum-page-shell { margin-top: 10px; }
.forum-frame { min-height: 640px; }
.forum-content {
  min-height: 620px;
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(159,58,242,.055), transparent 32%),
    linear-gradient(180deg, #0d0d13, #07070b 78%);
}

.forum-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: 34px 38px 28px;
  border-bottom: 1px solid var(--forum-border-soft);
  background:
    linear-gradient(90deg, rgba(229,174,59,.08), transparent 42%),
    radial-gradient(circle at 80% 0%, rgba(159,58,242,.16), transparent 36%);
}
.forum-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 5px;
  color: var(--forum-gold);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.forum-kicker::before {
  content: "";
  width: 18px;
  height: 5px;
  transform: skewX(-28deg);
  background: linear-gradient(90deg, var(--forum-purple), #c878ff);
  box-shadow: 0 0 10px rgba(159,58,242,.45);
}
.forum-hero h1 {
  margin: 0;
  color: var(--forum-gold-hi);
  font-family: var(--display);
  font-size: clamp(30px, 3.3vw, 52px);
  font-weight: 800;
  letter-spacing: .4px;
  line-height: 1;
  text-transform: uppercase;
}
.forum-hero p {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--forum-muted);
  font-size: 15px;
}
.forum-account-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  min-width: 250px;
}
.forum-account-nav a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(159,58,242,.58);
  color: #e8d9f4;
  background: linear-gradient(135deg, rgba(112,31,164,.42), rgba(24,9,34,.76));
  clip-path: polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .4px;
  text-decoration: none;
  text-transform: uppercase;
}
.forum-account-nav a:hover { color: #fff; border-color: #cf85ff; filter: brightness(1.15); }
.forum-entry-content { padding: 24px 30px 38px; color: var(--forum-text); }

/* Reset bbPress' light defaults inside the Flash UK shell. */
#bbpress-forums {
  margin: 0;
  color: var(--forum-text);
  font-family: var(--body);
  font-size: 15px;
}
#bbpress-forums * { box-sizing: border-box; }
#bbpress-forums a { color: #d29bff; text-decoration: none; }
#bbpress-forums a:hover { color: var(--forum-gold-hi); }
#bbpress-forums p.bbp-topic-meta,
#bbpress-forums p.bbp-forum-content,
#bbpress-forums .bbp-template-notice p,
#bbpress-forums .bbp-reply-content p { color: var(--forum-muted); }

/* Breadcrumb and search toolbar. */
#bbpress-forums .bbp-breadcrumb,
#bbpress-forums .bbp-search-form {
  margin: 0 0 18px;
  color: #aaa2ad;
  font-size: 12px;
}
#bbpress-forums .bbp-breadcrumb a { color: #d8c5e8; }
#bbpress-forums .bbp-search-form { float: none; }
#bbpress-forums .bbp-search-form > div {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
}
#bbpress-forums #bbp_search,
#bbpress-forums input[type="text"],
#bbpress-forums input[type="password"],
#bbpress-forums input[type="email"],
#bbpress-forums input[type="url"],
#bbpress-forums select,
#bbpress-forums textarea {
  border: 1px solid rgba(159,58,242,.45);
  border-radius: 0;
  color: #f3eef6;
  background: #09090e;
  box-shadow: inset 0 0 18px rgba(159,58,242,.035);
  font: inherit;
}
#bbpress-forums #bbp_search,
#bbpress-forums input[type="text"],
#bbpress-forums input[type="password"],
#bbpress-forums input[type="email"],
#bbpress-forums input[type="url"],
#bbpress-forums select { min-height: 38px; padding: 7px 10px; }
#bbpress-forums textarea { width: 100%; min-height: 180px; padding: 12px; }
#bbpress-forums input:focus,
#bbpress-forums textarea:focus,
#bbpress-forums select:focus { border-color: var(--forum-gold); outline: 2px solid rgba(229,174,59,.16); }
#bbpress-forums button,
#bbpress-forums input[type="submit"],
#bbpress-forums .button,
#bbpress-forums a.button {
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid #d3a13a;
  border-radius: 0;
  color: #171006;
  background: linear-gradient(180deg, #f3ce62, #b97912);
  clip-path: polygon(9px 0,100% 0,100% calc(100% - 9px),calc(100% - 9px) 100%,0 100%,0 9px);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .4px;
  text-transform: uppercase;
  cursor: pointer;
}
#bbpress-forums button:hover,
#bbpress-forums input[type="submit"]:hover,
#bbpress-forums .button:hover { filter: brightness(1.12); }

/* Forum and topic lists. */
#bbpress-forums ul.bbp-forums,
#bbpress-forums ul.bbp-topics,
#bbpress-forums ul.bbp-replies,
#bbpress-forums ul.bbp-search-results {
  overflow: hidden;
  margin: 0 0 22px;
  border: 1px solid var(--forum-border);
  border-radius: 0;
  background: var(--forum-panel);
  clip-path: polygon(12px 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%,0 12px);
  box-shadow: 0 16px 42px rgba(0,0,0,.24), inset 0 0 38px rgba(159,58,242,.025);
}
#bbpress-forums li.bbp-header,
#bbpress-forums li.bbp-footer {
  padding: 12px 16px;
  border: 0;
  color: var(--forum-gold-hi);
  background: linear-gradient(90deg, #17111c, #0b0b10 70%);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .7px;
  text-transform: uppercase;
}
#bbpress-forums li.bbp-header { border-bottom: 1px solid var(--forum-border); }
#bbpress-forums li.bbp-footer { border-top: 1px solid var(--forum-border-soft); }
#bbpress-forums li.bbp-body ul.forum,
#bbpress-forums li.bbp-body ul.topic {
  min-height: 82px;
  padding: 15px 16px;
  border-top: 1px solid rgba(255,255,255,.045);
  border-bottom: 0;
  color: var(--forum-text);
  background: linear-gradient(90deg, rgba(255,255,255,.018), transparent 70%);
}
#bbpress-forums li.bbp-body ul.forum:first-child,
#bbpress-forums li.bbp-body ul.topic:first-child { border-top: 0; }
#bbpress-forums li.bbp-body ul.forum:hover,
#bbpress-forums li.bbp-body ul.topic:hover {
  background: linear-gradient(90deg, rgba(159,58,242,.09), rgba(229,174,59,.028) 72%, transparent);
}
#bbpress-forums .bbp-forum-info,
#bbpress-forums .bbp-topic-title { width: 62%; }
#bbpress-forums .bbp-forum-topic-count,
#bbpress-forums .bbp-forum-reply-count,
#bbpress-forums .bbp-topic-voice-count,
#bbpress-forums .bbp-topic-reply-count { width: 8%; color: #bcb4c0; }
#bbpress-forums .bbp-forum-freshness,
#bbpress-forums .bbp-topic-freshness { width: 22%; color: #bcb4c0; }
#bbpress-forums .bbp-forum-title,
#bbpress-forums .bbp-topic-permalink {
  color: #f0eaf3;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .15px;
}
#bbpress-forums .bbp-forum-title::before {
  content: "⚡";
  display: inline-block;
  margin-right: 9px;
  color: var(--forum-gold);
  font-size: 14px;
}
#bbpress-forums .bbp-forum-content { margin: 5px 0 0 23px; font-size: 12px; line-height: 1.45; }
#bbpress-forums .bbp-forums-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 13px;
  margin: 9px 0 0 23px;
  padding: 0;
  border: 0;
  font-size: 12px;
}
#bbpress-forums .bbp-forums-list li { display: inline-flex; margin: 0; }
#bbpress-forums .bbp-forums-list a {
  padding: 3px 8px;
  border: 1px solid rgba(159,58,242,.28);
  color: #d7c6e3;
  background: rgba(159,58,242,.055);
}
#bbpress-forums .bbp-forums-list .bbp-forum-sep { display: none; }
#bbpress-forums .bbp-forum-freshness a,
#bbpress-forums .bbp-topic-freshness a { color: #c7b5d3; font-size: 12px; }
#bbpress-forums .bbp-topic-started-by,
#bbpress-forums .bbp-topic-freshness-author { color: #7f7884; font-size: 10px; }
#bbpress-forums .bbp-author-avatar img.avatar { border: 1px solid var(--forum-gold); border-radius: 50%; }

/* Category rows receive stronger section treatment. */
#bbpress-forums li.bbp-body ul.forum.type-forum.status-publish.hentry,
#bbpress-forums li.bbp-body ul.forum.bbp-parent-forum {
  position: relative;
}
#bbpress-forums .bbp-forum-status-closed .bbp-forum-title::after {
  content: "Read only";
  margin-left: 10px;
  padding: 2px 7px;
  border: 1px solid rgba(229,174,59,.38);
  color: var(--forum-gold);
  font-size: 9px;
  letter-spacing: .6px;
  text-transform: uppercase;
}

/* Notices, counts, pagination and moderation. */
#bbpress-forums .bbp-template-notice,
#bbpress-forums .indicator-hint {
  margin: 12px 0 18px;
  padding: 12px 15px;
  border: 1px solid rgba(229,174,59,.42);
  border-radius: 0;
  color: #d9d0dc;
  background: rgba(229,174,59,.055);
}
#bbpress-forums .bbp-template-notice.error,
#bbpress-forums .bbp-template-notice.warning { border-color: rgba(221,70,70,.6); background: rgba(120,20,24,.22); }
#bbpress-forums .bbp-pagination { margin: 14px 0 20px; color: #9d95a2; }
#bbpress-forums .bbp-pagination-links a,
#bbpress-forums .bbp-pagination-links span.current {
  margin-left: 4px;
  padding: 6px 10px;
  border: 1px solid rgba(159,58,242,.4);
  color: #e0d5e8;
  background: #0d0b12;
}
#bbpress-forums .bbp-pagination-links span.current { border-color: var(--forum-gold); color: #181005; background: var(--forum-gold); }
#bbpress-forums .bbp-admin-links { color: #7f7784; font-size: 10px; }
#bbpress-forums .bbp-admin-links a { color: #b592c7; }

/* Topic/reply thread cards. */
#bbpress-forums div.bbp-reply-header,
#bbpress-forums div.bbp-topic-header {
  padding: 9px 14px;
  border: 0;
  border-bottom: 1px solid rgba(229,174,59,.28);
  color: #aaa2ad;
  background: #15121a;
  font-size: 11px;
}
#bbpress-forums div.reply,
#bbpress-forums div.topic {
  display: grid;
  grid-template-columns: 170px minmax(0,1fr);
  min-height: 175px;
  border: 0;
  background: #0a0a0f;
}
#bbpress-forums div.bbp-reply-author,
#bbpress-forums div.bbp-topic-author {
  width: auto;
  padding: 20px 16px;
  border-right: 1px solid rgba(159,58,242,.2);
  background: linear-gradient(180deg, rgba(159,58,242,.065), transparent 72%);
}
#bbpress-forums div.bbp-reply-content,
#bbpress-forums div.bbp-topic-content {
  margin: 0;
  padding: 22px 24px 28px;
  color: #e8e1eb;
  line-height: 1.65;
}
#bbpress-forums .bbp-author-name {
  display: block;
  margin-top: 7px;
  color: var(--forum-gold-hi);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
}
#bbpress-forums .bbp-author-role,
#bbpress-forums .bbp-reply-ip { color: #8f8495; font-size: 10px; }
#bbpress-forums .bbp-author-avatar img.avatar {
  width: 78px;
  height: 78px;
  object-fit: cover;
  box-shadow: 0 0 20px rgba(159,58,242,.2);
}

/* Forms. */
#bbpress-forums fieldset.bbp-form {
  margin: 22px 0;
  padding: 20px;
  border: 1px solid var(--forum-border-soft);
  background: linear-gradient(180deg, #101017, #09090d);
}
#bbpress-forums fieldset.bbp-form legend {
  padding: 0 9px;
  color: var(--forum-gold-hi);
  font-family: var(--display);
  font-size: 17px;
  font-weight: 800;
  text-transform: uppercase;
}
#bbpress-forums fieldset.bbp-form label { color: #d8cfdc; font-weight: 600; }
#bbpress-forums .bbp-the-content-wrapper div.quicktags-toolbar {
  border: 1px solid rgba(159,58,242,.35);
  border-bottom: 0;
  background: #14101a;
}
#bbpress-forums .bbp-the-content-wrapper input[type="button"] {
  min-height: 28px;
  margin: 4px 2px;
  padding: 0 8px;
  border: 1px solid rgba(159,58,242,.35);
  color: #ded1e7;
  background: #1a1022;
  clip-path: none;
  font-family: inherit;
  font-size: 11px;
  text-transform: none;
}
#bbpress-forums .wp-editor-container { border: 1px solid rgba(159,58,242,.35); }

/* User profile screens. */
#bbpress-forums #bbp-user-wrapper { color: var(--forum-text); }
#bbpress-forums #bbp-single-user-details {
  width: 220px;
  padding: 18px;
  border: 1px solid var(--forum-border-soft);
  background: #0d0d13;
}
#bbpress-forums #bbp-user-body { margin-left: 245px; }
#bbpress-forums #bbp-single-user-details #bbp-user-avatar img.avatar {
  width: 150px;
  height: 150px;
  border: 1px solid var(--forum-gold);
}
#bbpress-forums #bbp-single-user-details #bbp-user-navigation li.current a {
  color: #170f05;
  background: var(--forum-gold);
}
#bbpress-forums #bbp-single-user-details #bbp-user-navigation a {
  padding: 9px 10px;
  color: #d9cfde;
  background: #111018;
}

@media (max-width: 980px) {
  .forum-hero { align-items: flex-start; flex-direction: column; padding: 28px 24px 23px; }
  .forum-account-nav { justify-content: flex-start; min-width: 0; }
  .forum-entry-content { padding: 20px 18px 30px; }
  #bbpress-forums .bbp-forum-info,
  #bbpress-forums .bbp-topic-title { width: 68%; }
  #bbpress-forums .bbp-forum-freshness,
  #bbpress-forums .bbp-topic-freshness { width: 16%; }
  #bbpress-forums div.reply,
  #bbpress-forums div.topic { grid-template-columns: 135px minmax(0,1fr); }
}

@media (max-width: 680px) {
  .forum-page-shell { width: calc(100% - 8px); }
  .forum-hero h1 { font-size: 33px; }
  .forum-account-nav a { flex: 1 1 44%; }
  .forum-entry-content { padding: 15px 10px 24px; }
  #bbpress-forums .bbp-search-form > div { justify-content: stretch; }
  #bbpress-forums #bbp_search { min-width: 0; flex: 1; }
  #bbpress-forums li.bbp-header .bbp-forum-topic-count,
  #bbpress-forums li.bbp-header .bbp-forum-reply-count,
  #bbpress-forums li.bbp-header .bbp-forum-freshness,
  #bbpress-forums li.bbp-body .bbp-forum-topic-count,
  #bbpress-forums li.bbp-body .bbp-forum-reply-count,
  #bbpress-forums li.bbp-body .bbp-forum-freshness,
  #bbpress-forums li.bbp-header .bbp-topic-voice-count,
  #bbpress-forums li.bbp-header .bbp-topic-reply-count,
  #bbpress-forums li.bbp-header .bbp-topic-freshness,
  #bbpress-forums li.bbp-body .bbp-topic-voice-count,
  #bbpress-forums li.bbp-body .bbp-topic-reply-count,
  #bbpress-forums li.bbp-body .bbp-topic-freshness { display: none; }
  #bbpress-forums .bbp-forum-info,
  #bbpress-forums .bbp-topic-title { width: 100%; }
  #bbpress-forums li.bbp-body ul.forum,
  #bbpress-forums li.bbp-body ul.topic { padding: 14px 12px; }
  #bbpress-forums .bbp-forum-title,
  #bbpress-forums .bbp-topic-permalink { font-size: 17px; }
  #bbpress-forums .bbp-forum-content,
  #bbpress-forums .bbp-forums-list { margin-left: 0; }
  #bbpress-forums div.reply,
  #bbpress-forums div.topic { display: block; }
  #bbpress-forums div.bbp-reply-author,
  #bbpress-forums div.bbp-topic-author {
    width: 100%;
    min-height: 88px;
    padding: 12px 14px;
    border-right: 0;
    border-bottom: 1px solid rgba(159,58,242,.2);
    text-align: left;
  }
  #bbpress-forums div.bbp-reply-author .bbp-author-avatar,
  #bbpress-forums div.bbp-topic-author .bbp-author-avatar { float: left; margin-right: 12px; }
  #bbpress-forums .bbp-author-avatar img.avatar { width: 58px; height: 58px; }
  #bbpress-forums div.bbp-reply-content,
  #bbpress-forums div.bbp-topic-content { padding: 17px 14px 22px; }
  #bbpress-forums #bbp-single-user-details { width: 100%; }
  #bbpress-forums #bbp-user-body { margin-left: 0; }
}

/* =========================================================
   v3.8.2 — forum navigation and child-forum visibility.
   ========================================================= */
#bbpress-forums li.bbp-body ul.forum {
  min-height: 68px;
  padding-top: 12px;
  padding-bottom: 12px;
}
#bbpress-forums .flash-child-forums {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 10px 0 0 23px;
  padding: 0;
  list-style: none;
}
#bbpress-forums .flash-child-forums li {
  display: inline-flex;
  margin: 0;
}
#bbpress-forums .flash-child-forums a {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 4px 10px;
  border: 1px solid rgba(159,58,242,.34);
  color: #eadff0;
  background: linear-gradient(180deg, rgba(159,58,242,.12), rgba(159,58,242,.045));
  text-decoration: none;
}
#bbpress-forums .flash-child-forums a::before {
  content: "›";
  margin-right: 6px;
  color: var(--forum-gold);
  font-weight: 800;
}
#bbpress-forums .flash-child-forums a:hover {
  border-color: rgba(229,174,59,.58);
  background: rgba(229,174,59,.07);
}
@media (max-width: 760px) {
  #bbpress-forums .flash-child-forums { margin-left: 0; }
}

/* =========================================================
   v3.8.2 — reliable child-forum display and tighter rows.
   ========================================================= */
#bbpress-forums li.bbp-body ul.forum {
  min-height: 0;
  padding-top: 11px;
  padding-bottom: 11px;
}
#bbpress-forums .flash-child-forums {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin: 11px 0 1px 23px;
  padding: 0;
  list-style: none;
}
#bbpress-forums .flash-child-forums li {
  display: block;
  min-width: 0;
}
#bbpress-forums .flash-child-forums a {
  display: block;
  min-height: 48px;
  padding: 7px 10px 7px 24px;
  position: relative;
  border: 1px solid rgba(159,58,242,.30);
  color: #eadff0;
  background: linear-gradient(180deg, rgba(159,58,242,.105), rgba(159,58,242,.035));
  text-decoration: none;
}
#bbpress-forums .flash-child-forums a::before {
  content: "›";
  position: absolute;
  left: 10px;
  top: 7px;
  color: var(--forum-gold);
  font-weight: 800;
}
#bbpress-forums .flash-child-forums .flash-child-title {
  display: block;
  color: #f3edf5;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
}
#bbpress-forums .flash-child-forums small {
  display: block;
  margin-top: 2px;
  color: #948b99;
  font-size: 10px;
  line-height: 1.3;
}
#bbpress-forums .flash-child-forums a:hover {
  border-color: rgba(229,174,59,.58);
  background: rgba(229,174,59,.07);
}
@media (max-width: 900px) {
  #bbpress-forums .flash-child-forums { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  #bbpress-forums .flash-child-forums { margin-left: 0; }
}
