/* BuildBattles — clean, dark and deliberately quiet. */
.lc-bb-page {
  --bb-black: #080808;
  --bb-black-soft: #0d0d0d;
  --bb-panel: #111111;
  --bb-panel-raised: #151515;
  --bb-line: #292929;
  --bb-line-soft: #1d1d1d;
  --bb-text: #f2f0eb;
  --bb-muted: #aaa7a0;
  --bb-accent: #92bdc0;
  --bb-bronze: #b69268;
  min-height: 100vh;
  overflow: hidden;
  background: var(--bb-black);
  color: var(--bb-text);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
}

.lc-bb-page *, .lc-bb-page *::before, .lc-bb-page *::after { box-sizing: border-box; }
.lc-bb-page a { color: inherit; text-decoration: none; }
.lc-bb-page button, .lc-bb-page input { font: inherit; }
.lc-bb-page button { color: inherit; }
.lc-bb-page :focus-visible { outline: 2px solid var(--bb-accent); outline-offset: 3px; }
.lc-bb-page .container { width: min(1120px, calc(100% - 40px)); max-width: none; margin-inline: auto; padding-inline: 0; }

.lusomod-navbar-lite ~ .lc-bb-page .lc-bb-hero { padding-top: clamp(142px, 12vw, 164px); }

.lc-bb-hero {
  min-height: 690px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 110px 0 96px;
  border-bottom: 1px solid var(--bb-line);
  background: var(--bb-black);
  isolation: isolate;
}

.lc-bb-hero-inner { position: relative; z-index: 1; }
.lc-bb-hero-inner > * { max-width: 720px; }

.lc-bb-medal-drawing {
  width: min(560px, 48vw);
  height: auto;
  position: absolute;
  z-index: 0;
  right: max(-75px, calc((100vw - 1180px) / 2 - 120px));
  top: 50%;
  transform: translateY(-48%) rotate(5deg);
  fill: none;
  stroke: #33312f;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
  opacity: .82;
}
.lc-bb-medal-ribbon { fill: #5d5a55; stroke: #77736c; }
.lc-bb-medal-ribbon-edge { stroke: #3f3d39; stroke-width: 3; }
.lc-bb-medal-clasp { fill: #292725; stroke: #484541; }
.lc-bb-medal-loop { fill: #151515; stroke: #494541; stroke-width: 8; }
.lc-bb-medal-disc { fill: #171615; stroke: #3c3935; stroke-width: 8; }
.lc-bb-medal-ring { fill: #0b0b0b; stroke: #57524c; stroke-width: 4; }
.lc-bb-medal-center {
  transform-box: view-box;
  transform-origin: 350px 555px;
  animation: lc-bb-medal-turn 24s linear infinite;
}
.lc-bb-medal-face-dark { fill: #070707; stroke: none; }
.lc-bb-medal-logo { opacity: .78; filter: brightness(.58) saturate(.82) contrast(1.08); }
.lc-bb-medal-shade { fill: rgba(0, 0, 0, .22); stroke: none; }
.lc-bb-medal-face-edge { stroke: #5b5650; stroke-width: 5; }
.lc-bb-medal-bolts { fill: #292725; stroke: #77716a; stroke-width: 3; }

@keyframes lc-bb-medal-turn {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .lc-bb-medal-center { animation: none; }
}

.lc-bb-live-label, .lc-bb-kicker {
  margin: 0 0 18px;
  color: var(--bb-accent);
  font: 700 11px/1.3 "IBM Plex Mono", Consolas, monospace;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.lc-bb-live-label { display: flex; align-items: center; gap: 10px; }
.lc-bb-live-label span { width: 26px; height: 1px; background: currentColor; }
.lc-bb-edition { margin: 0 0 8px; color: var(--bb-muted); font-size: 15px; font-weight: 650; }

.lc-bb-hero h1, .lc-bb-registration-intro h2, .lc-bb-section-header h2 {
  margin: 0;
  color: var(--bb-text);
  font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: -.04em;
}
.lc-bb-hero h1 { max-width: 780px; font-size: clamp(54px, 7.4vw, 96px); line-height: .94; }
.lc-bb-hero-description { max-width: 660px; margin: 27px 0 0; color: #c1beb7; font-size: clamp(17px, 2vw, 20px); line-height: 1.6; }

.lc-bb-time-row { max-width: 720px; display: grid; grid-template-columns: minmax(210px, auto) 1fr; gap: 0; margin-top: 38px; border-block: 1px solid var(--bb-line); }
.lc-bb-time-row > div { padding: 18px 24px; border-left: 1px solid var(--bb-line); }
.lc-bb-time-row > div:first-child { padding-left: 0; border-left: 0; }
.lc-bb-time-row small, .lc-bb-time-row strong, .lc-bb-time-row span { display: block; }
.lc-bb-time-row small { margin-bottom: 6px; color: #77746e; font: 700 10px/1.2 "IBM Plex Mono", monospace; letter-spacing: .1em; text-transform: uppercase; }
.lc-bb-time-row strong { color: var(--bb-text); font: 700 20px/1.3 "IBM Plex Mono", monospace; }
.lc-bb-time-row span { color: var(--bb-muted); line-height: 1.4; }

.lc-bb-current-event, .lc-bb-upcoming {
  padding: 92px 0;
  border-bottom: 1px solid var(--bb-line);
  background: var(--bb-black-soft);
}
.lc-bb-current-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 60px; align-items: end; }
.lc-bb-current-heading h2, .lc-bb-upcoming h2 { max-width: 760px; margin: 0; font: 700 clamp(42px, 6vw, 72px)/.98 "Bricolage Grotesque", "Segoe UI", sans-serif; letter-spacing: -.04em; }
.lc-bb-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 14px; }
.lc-bb-tags span { padding: 5px 8px; border: 1px solid #373737; border-radius: 999px; color: #b8b4ad; font: 700 10px/1 "IBM Plex Mono", Consolas, monospace; }
.lc-bb-current-description, .lc-bb-upcoming-grid > div > p:last-child { max-width: 650px; margin: 22px 0 0; color: var(--bb-muted); font-size: 18px; line-height: 1.6; }
.lc-bb-current-time { min-width: 270px; padding-left: 26px; border-left: 1px solid var(--bb-line); }
.lc-bb-current-time small, .lc-bb-current-time strong, .lc-bb-current-time span { display: block; }
.lc-bb-current-time small { color: #77746e; font: 700 10px/1.2 "IBM Plex Mono", monospace; letter-spacing: .1em; text-transform: uppercase; }
.lc-bb-current-time strong { margin: 7px 0; color: var(--bb-text); font: 700 21px/1.2 "IBM Plex Mono", monospace; }
.lc-bb-current-time span { color: var(--bb-muted); font-size: 12px; }
.lc-bb-current-event .lc-bb-current-details { margin-top: 48px; }
.lc-bb-upcoming-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 60px; align-items: end; }

.lc-bb-current-details { max-width: 820px; display: grid; grid-template-columns: 1fr 1fr; gap: 54px; margin-top: 42px; }
.lc-bb-current-details h2, .lc-bb-current-details h3 { margin: 0 0 17px; color: var(--bb-text); font: 700 16px/1.3 "Bricolage Grotesque", sans-serif; }
.lc-bb-rules ol { counter-reset: bb-rule; display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.lc-bb-rules li { counter-increment: bb-rule; display: grid; grid-template-columns: 27px 1fr; color: var(--bb-muted); line-height: 1.45; }
.lc-bb-rules li::before { content: counter(bb-rule, decimal-leading-zero); color: #6d8587; font: 700 10px/1.8 "IBM Plex Mono", monospace; }
.lc-bb-rules > p { color: var(--bb-muted); line-height: 1.5; }
.lc-bb-prize-list { display: grid; border-top: 1px solid var(--bb-line); }
.lc-bb-prize { display: grid; grid-template-columns: 32px 1fr; gap: 13px; padding: 10px 0; border-bottom: 1px solid var(--bb-line); }
.lc-bb-prize > span { color: var(--bb-bronze); font: 700 14px/1.5 "IBM Plex Mono", monospace; }
.lc-bb-prize small, .lc-bb-prize strong { display: block; }
.lc-bb-prize small { color: #75716b; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.lc-bb-prize strong { margin-top: 2px; color: var(--bb-text); font-size: 14px; line-height: 1.35; }

.lc-bb-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 38px; }
.lc-bb-button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 0 21px; border: 1px solid var(--bb-line); border-radius: 2px; font-weight: 750; transition: background-color .15s, border-color .15s, color .15s; }
.lc-bb-button--primary { border-color: var(--bb-text); background: var(--bb-text); color: #090909 !important; }
.lc-bb-button--secondary { background: transparent; color: var(--bb-text) !important; }
.lc-bb-button:hover { border-color: var(--bb-accent); }
.lc-bb-button--primary:hover { border-color: var(--bb-accent); background: var(--bb-accent); }

.lc-bb-global-notice { padding: 18px 0; border-bottom: 1px solid var(--bb-line); background: var(--bb-black-soft); }
.lc-bb-alert { padding: 13px 15px; border: 1px solid var(--bb-line); font-size: 14px; line-height: 1.45; }
.lc-bb-alert ul { margin: 0; padding-left: 18px; }
.lc-bb-alert--success { border-color: #536e5d; color: #c7ddce; }
.lc-bb-alert--error { border-color: #755055; color: #dfbfc2; }

.lc-bb-registration-section, .lc-bb-gallery, .lc-bb-archive { padding: 95px 0; border-bottom: 1px solid var(--bb-line); }
.lc-bb-registration-section { background: var(--bb-black-soft); }
.lc-bb-registration-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(370px, .8fr); gap: clamp(55px, 9vw, 120px); align-items: start; }
.lc-bb-registration-intro h2, .lc-bb-section-header h2 { font-size: clamp(36px, 5vw, 58px); line-height: 1; }
.lc-bb-registration-intro > p:not(.lc-bb-kicker) { max-width: 520px; margin: 24px 0 0; color: var(--bb-muted); font-size: 17px; line-height: 1.6; }
.lc-bb-roster { margin-top: 42px; padding-top: 20px; border-top: 1px solid var(--bb-line); }
.lc-bb-roster > span { color: var(--bb-text); font-weight: 750; }
.lc-bb-roster ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 15px 0 0; padding: 0; list-style: none; }
.lc-bb-roster li { padding: 6px 9px; border: 1px solid var(--bb-line); color: var(--bb-muted); font: 600 11px/1.2 "IBM Plex Mono", monospace; }

.lc-bb-registration-card { padding: clamp(24px, 4vw, 36px); border: 1px solid var(--bb-line); background: var(--bb-panel); }
.lc-bb-registration-card .lc-bb-alert { margin-bottom: 18px; }
.lc-bb-form-trap { width: 1px; height: 1px; position: absolute; left: -10000px; overflow: hidden; opacity: 0; pointer-events: none; }
.lc-bb-field > span, .lc-bb-coordinates legend { display: block; margin-bottom: 8px; color: #c3c0b9; font-size: 12px; font-weight: 700; }
.lc-bb-field input, .lc-bb-coordinates input { width: 100%; height: 48px; border: 1px solid var(--bb-line); border-radius: 2px; outline: 0; background: #0b0b0b; color: var(--bb-text); }
.lc-bb-field input { padding: 0 13px; }
.lc-bb-field input:focus, .lc-bb-coordinates input:focus { border-color: var(--bb-accent); }
.lc-bb-field input::placeholder, .lc-bb-coordinates input::placeholder { color: #5e5b56; }
.lc-bb-coordinates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 22px 0 0; padding: 0; border: 0; }
.lc-bb-coordinates legend { grid-column: 1 / -1; }
.lc-bb-coordinates label { display: grid; grid-template-columns: 30px 1fr; align-items: center; border: 1px solid var(--bb-line); background: #0b0b0b; }
.lc-bb-coordinates label:focus-within { border-color: var(--bb-accent); }
.lc-bb-coordinates label span { text-align: center; color: var(--bb-accent); font: 700 11px "IBM Plex Mono", monospace; }
.lc-bb-coordinates input { min-width: 0; padding: 0 5px; border: 0; background: transparent; text-align: center; }
.lc-bb-submit { width: 100%; min-height: 50px; margin-top: 24px; display: flex; align-items: center; justify-content: space-between; padding: 0 17px; border: 1px solid var(--bb-text); border-radius: 2px; background: var(--bb-text); color: #090909 !important; font-weight: 800; cursor: pointer; }
.lc-bb-submit:hover { border-color: var(--bb-accent); background: var(--bb-accent); }
.lc-bb-submit:disabled { opacity: .6; cursor: wait; }
.lc-bb-closed { margin: 0; color: var(--bb-muted); line-height: 1.5; }

.lc-bb-gallery { background: var(--bb-black); }
.lc-bb-section-header { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 38px; }
.lc-bb-section-header .lc-bb-kicker { margin-bottom: 12px; }
.lc-bb-section-header > p { max-width: 430px; margin: 0; color: var(--bb-muted); line-height: 1.55; }
.lc-bb-filter { display: flex; border: 1px solid var(--bb-line); }
.lc-bb-filter button { min-height: 38px; padding: 0 13px; border: 0; border-left: 1px solid var(--bb-line); background: transparent; color: var(--bb-muted); font-size: 12px; cursor: pointer; }
.lc-bb-filter button:first-child { border-left: 0; }
.lc-bb-filter button.is-active { background: var(--bb-text); color: #090909; }
.lc-bb-media-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.lc-bb-media-card { min-width: 0; border: 1px solid var(--bb-line); background: var(--bb-panel); }
.lc-bb-media-card[hidden] { display: none; }
.lc-bb-media-stage { aspect-ratio: 16 / 10; overflow: hidden; background: #0a0a0a; }
.lc-bb-media-stage img, .lc-bb-media-stage model-viewer { width: 100%; height: 100%; display: block; object-fit: cover; }
.lc-bb-image-open { width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.lc-bb-model-load { padding: 10px 13px; border: 1px solid #4b4b4b; background: #111; color: var(--bb-text); cursor: pointer; }
.lc-bb-media-copy { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 18px; }
.lc-bb-media-copy h3 { margin: 3px 0 0; font: 700 21px/1.2 "Bricolage Grotesque", sans-serif; }
.lc-bb-media-copy small { color: var(--bb-bronze); font-size: 10px; font-weight: 750; text-transform: uppercase; }
.lc-bb-media-copy > span { color: var(--bb-muted); font: 600 11px "IBM Plex Mono", monospace; }

.lc-bb-archive { background: var(--bb-black-soft); }
.lc-bb-archive-list { display: grid; gap: 30px; }
.lc-bb-archive-event { padding: clamp(22px, 4vw, 34px); border: 1px solid var(--bb-line); background: var(--bb-panel); }
.lc-bb-archive-event-head { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 28px; align-items: center; padding-bottom: 24px; border-bottom: 1px solid var(--bb-line); }
.lc-bb-archive-edition { padding-right: 24px; border-right: 1px solid var(--bb-line); }
.lc-bb-archive-edition strong { color: var(--bb-bronze); font: 700 15px/1.2 "IBM Plex Mono", monospace; }
.lc-bb-archive-event-copy h3 { margin: 0; font: 700 clamp(28px, 4vw, 43px)/1 "Bricolage Grotesque", sans-serif; letter-spacing: -.03em; }
.lc-bb-archive-event-copy > p { margin: 10px 0 0; color: var(--bb-muted); font-size: 13px; }
.lc-bb-archive-event-copy > p span { margin-inline: 7px; color: #595651; }
.lc-bb-podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: end; padding-top: 32px; }
.lc-bb-podium-place { min-width: 0; border-top: 2px solid var(--bb-line); background: #0d0d0d; }
.lc-bb-podium-place--1 { border-color: #8a734f; }
.lc-bb-podium-place--2 { border-color: #62676b; }
.lc-bb-podium-place--3 { border-color: #765a46; }
.lc-bb-podium-rank { height: 44px; display: flex; align-items: center; justify-content: center; text-align: center; }
.lc-bb-podium-rank strong { color: var(--bb-muted); font: 700 11px/1 "IBM Plex Mono", monospace; letter-spacing: .06em; text-transform: uppercase; }
.lc-bb-podium-place--1 .lc-bb-podium-rank strong { color: #b99a65; }
.lc-bb-podium-media { height: 210px; overflow: hidden; background: #080808; }
.lc-bb-podium-place--1 .lc-bb-podium-media { height: 245px; }
.lc-bb-podium-media img, .lc-bb-podium-media model-viewer { width: 100%; height: 100%; display: block; object-fit: cover; }
.lc-bb-podium-placeholder { height: 100%; display: grid; place-items: center; color: #4c4842; }
.lc-bb-podium-placeholder small { font: 700 9px/1 "IBM Plex Mono", monospace; letter-spacing: .1em; text-transform: uppercase; }
.lc-bb-podium-copy { min-height: 78px; padding: 14px 2px 0; text-align: center; }
.lc-bb-podium-copy h4 { margin: 0; font: 700 18px/1.25 "Bricolage Grotesque", sans-serif; }
.lc-bb-podium-copy p { margin: 6px 0 0; color: var(--bb-muted); font: 600 11px/1.35 "IBM Plex Mono", monospace; }
.lc-bb-empty { padding: 70px 30px; border: 1px solid var(--bb-line); text-align: center; }
.lc-bb-empty h3 { margin: 0 0 7px; font: 700 25px "Bricolage Grotesque", sans-serif; }
.lc-bb-empty p { margin: 0; color: var(--bb-muted); }

.lc-bb-lightbox:not([open]) { display: none !important; }
.lc-bb-lightbox[open] { width: min(1080px, calc(100% - 30px)); max-width: none; max-height: calc(100vh - 30px); position: fixed; inset: 50% auto auto 50%; transform: translate(-50%, -50%); display: block; margin: 0; padding: 0; border: 1px solid #3a3a3a; background: #080808; color: var(--bb-text); overflow: auto; }
.lc-bb-lightbox::backdrop { background: rgba(0, 0, 0, .9); }
.lc-bb-lightbox img { width: 100%; max-height: 78vh; display: block; object-fit: contain; background: #050505; }
.lc-bb-lightbox > div { display: flex; justify-content: space-between; gap: 20px; padding: 16px 19px; }
.lc-bb-lightbox > div span { color: var(--bb-muted); }
.lc-bb-lightbox-close { position: absolute; z-index: 2; top: 12px; right: 12px; width: 40px; height: 40px; border: 1px solid #555; border-radius: 50%; background: #111; cursor: pointer; }

@media (max-width: 980px) {
  .lc-bb-medal-drawing { right: -190px; width: 570px; stroke: #1f1f1f; }
  .lc-bb-registration-grid { grid-template-columns: 1fr; }
  .lc-bb-current-heading, .lc-bb-upcoming-grid { grid-template-columns: 1fr; }
  .lc-bb-current-time { padding: 18px 0 0; border-left: 0; border-top: 1px solid var(--bb-line); }
  .lc-bb-podium-media { height: 190px; }
  .lc-bb-podium-place--1 .lc-bb-podium-media { height: 235px; }
}

@media (max-width: 720px) {
  .lc-bb-page .container { width: min(100% - 28px, 1120px); }
  .lc-bb-hero { min-height: auto; padding-block: 92px 72px; }
  .lusomod-navbar-lite ~ .lc-bb-page .lc-bb-hero { padding-top: 130px; }
  .lc-bb-medal-drawing { width: 410px; right: -200px; top: 37%; stroke-width: 6; }
  .lc-bb-hero h1 { font-size: clamp(48px, 15vw, 70px); }
  .lc-bb-time-row, .lc-bb-current-details { grid-template-columns: 1fr; }
  .lc-bb-time-row > div { padding: 16px 0; border-left: 0; border-top: 1px solid var(--bb-line); }
  .lc-bb-time-row > div:first-child { border-top: 0; }
  .lc-bb-current-details { gap: 34px; }
  .lc-bb-current-event, .lc-bb-upcoming, .lc-bb-registration-section, .lc-bb-gallery, .lc-bb-archive { padding: 68px 0; }
  .lc-bb-section-header { display: grid; align-items: start; }
  .lc-bb-media-grid { grid-template-columns: 1fr; }
  .lc-bb-archive-event-head { grid-template-columns: 1fr; gap: 18px; }
  .lc-bb-archive-edition { padding: 0 0 18px; border-right: 0; border-bottom: 1px solid var(--bb-line); }
  .lc-bb-podium { grid-template-columns: 1fr; padding-top: 30px; }
  .lc-bb-podium-place--1, .lc-bb-podium-place--2, .lc-bb-podium-place--3 { transform: none; }
  .lc-bb-podium-place--1 { order: 1; }
  .lc-bb-podium-place--2 { order: 2; }
  .lc-bb-podium-place--3 { order: 3; }
  .lc-bb-podium-media, .lc-bb-podium-place--1 .lc-bb-podium-media { height: min(62vw, 360px); }
  .lc-bb-filter { width: max-content; max-width: 100%; }
}

@media (max-width: 460px) {
  .lc-bb-hero-actions { display: grid; }
  .lc-bb-button { width: 100%; }
  .lc-bb-coordinates { grid-template-columns: 1fr; }
  .lc-bb-coordinates legend { grid-column: auto; }
  .lc-bb-media-copy { display: grid; }
}
