





:root {
  color-scheme: light;
  --gallery-purple: #2a0842;
  --gallery-mid: #411082;
  --gallery-gold: #edbd08;
  --gallery-paper: #f4f1f8;
  --gallery-ink: #21152f;
  --gallery-muted: #70677c;
}

* { box-sizing: border-box; }

html { background: var(--gallery-paper); }

body {
  margin: 0;
  background: var(--gallery-paper);
  color: var(--gallery-ink);
  font-family: Montserrat, Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.gallery-page {
  width: min(1176px, calc(100% - 64px));
  margin: 0 auto;
}

.gallery-intro {
  display: flex;
  min-height: 220px;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  padding: 38px 0 30px;
}

.gallery-intro-copy { max-width: 690px; }

.gallery-kicker {
  margin: 0 0 10px;
  color: var(--gallery-mid);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.gallery-intro h1 {
  margin: 0;
  color: var(--gallery-purple);
  font-family: Montserrat, Arial, Helvetica, sans-serif;
  font-size: clamp(38px, 4vw, 48px);
  font-weight: 900;
  font-style: italic;
  letter-spacing: .01em;
  line-height: 1;
  text-transform: uppercase;
}

.gallery-lede {
  margin: 16px 0 0;
  color: var(--gallery-muted);
  font-size: 15px;
  line-height: 1.6;
}

.gallery-socials {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 5px;
  color: var(--gallery-muted);
  font-size: 12px;
  white-space: nowrap;
}

.gallery-socials a,
.gallery-source a,
.gallery-error a {
  color: var(--gallery-mid);
  font-weight: 750;
  text-decoration: none;
}

.gallery-socials a:hover,
.gallery-source a:hover,
.gallery-error a:hover { color: #6a29a4; }

.gallery-socials a:focus-visible,
.gallery-source a:focus-visible,
.gallery-error a:focus-visible,
.gallery-error button:focus-visible,
.gallery-card:focus-visible,
.dfoot a:focus-visible {
  outline: 3px solid var(--gallery-gold);
  outline-offset: 3px;
}

.gallery-feed { padding: 32px 0 58px; }

.gallery-feed-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.gallery-feed-heading .gallery-kicker { margin-bottom: 6px; }

.gallery-feed-heading h2 {
  margin: 0;
  color: var(--gallery-purple);
  font-family: Montserrat, Arial, Helvetica, sans-serif;
  font-size: 24px;
  font-weight: 850;
  line-height: 1.2;
}

.gallery-updated {
  margin: 0 0 2px;
  color: var(--gallery-muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: right;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px 16px;
}

.gallery-card {
  display: block;
  min-width: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.gallery-card:hover .gallery-card-photo { transform: scale(1.025); }

.gallery-card-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  transition: transform .35s ease;
}

.gallery-load-more {
  display: block;
  min-height: 44px;
  margin: 24px auto 0;
  padding: 0 22px;
  border: 0;
  border-radius: 4px;
  background: var(--gallery-mid);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}

.gallery-load-more:hover { background: var(--gallery-purple); }
.gallery-load-more:focus-visible { outline: 3px solid var(--gallery-gold); outline-offset: 3px; }
.gallery-load-more[hidden] { display: none; }
.gallery-load-more:disabled { cursor: wait; opacity: .65; }

.gallery-state,
.gallery-error {
  margin: 0;
  padding: 24px;
  border-radius: 4px;
  color: var(--gallery-muted);
  font-size: 14px;
  line-height: 1.65;
}

.gallery-state { grid-column: 1 / -1; }
.gallery-error[hidden] { display: none; }

.gallery-error {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  margin-top: 18px;
  background: #fff;
}

.gallery-error p { margin: 0 auto 0 0; }

.gallery-error button {
  min-height: 38px;
  padding: 0 13px;
  border: 0;
  border-radius: 3px;
  background: #eee8f3;
  color: var(--gallery-purple);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
}

.gallery-error button:hover { background: #e3d8ed; }

.gallery-source {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 26px;
  padding-top: 0;
  color: var(--gallery-muted);
  font-size: 11px;
  line-height: 1.5;
}

@keyframes footerLight {
  from { transform: translate3d(-3%, 0, 0) scale(1); }
  to { transform: translate3d(3%, 2%, 0) scale(1.06); }
}

.dfoot {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 20px;
  background: linear-gradient(180deg, #2c0a4a 0%, #1a0530 40%, #0d0118 100%);
  color: #fff;
}

.dfoot::before {
  position: absolute;
  z-index: 0;
  inset: -20%;
  background: radial-gradient(ellipse at 50% 35%, rgba(192, 38, 211, .22), transparent 42%), radial-gradient(ellipse at 20% 80%, rgba(56, 189, 248, .1), transparent 32%);
  animation: footerLight 18s ease-in-out infinite alternate;
  content: "";
  pointer-events: none;
}

.dfoot::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 1, 24, .04), rgba(13, 1, 24, .42));
  content: "";
  pointer-events: none;
}

.dfoot canvas.wm-canvas {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.dfoot .in {
  position: relative;
  z-index: 2;
  display: flex;
  max-width: 1200px;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  padding: 96px 20px 38px;
  background: radial-gradient(ellipse at center, rgba(26, 5, 48, .65) 0%, rgba(13, 1, 24, 0) 70%);
  text-align: center;
}

.dfoot .club { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 10px; }
.dfoot .club img { width: 120px; height: 120px; object-fit: contain; filter: drop-shadow(0 0 20px rgba(255, 255, 255, .18)); }
.dfoot .club .t { font-size: 26px; font-weight: 900; letter-spacing: 2px; line-height: 1.15; text-align: center; }
.dfoot .club .t small { display: block; margin-top: 4px; font-size: 12px; font-weight: 600; letter-spacing: 3px; opacity: .6; }
.dfoot .soc { display: flex; gap: 26px; margin: 30px 0 40px; }
.dfoot .soc a { color: #fff; opacity: .92; transition: opacity .2s; }
.dfoot .soc a:hover { opacity: .55; }
.dfoot .soc svg { display: block; width: 22px; height: 22px; }
.dfoot .bot { display: flex; width: 100%; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .74); font-size: 13px; }
.dfoot .bot nav { display: flex; flex-wrap: wrap; gap: 20px; }
.dfoot .bot a { position: relative; padding-bottom: 4px; color: rgba(255, 255, 255, .74); text-decoration: none; transition: color .2s ease; }
.dfoot .bot a::after { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; transform: scaleX(0); transform-origin: left center; background: var(--gallery-gold); content: ""; transition: transform .2s ease; }
.dfoot .bot a:hover { color: #fff; }
.dfoot .bot a:hover::after,
.dfoot .bot a:focus-visible::after { transform: scaleX(1); }
.dfoot .soc a:focus-visible,
.dfoot .bot a:focus-visible { outline: 3px solid var(--gallery-gold); outline-offset: 4px; }

@media (max-width: 900px) {
  .gallery-page { width: min(100% - 48px, 740px); }
  .gallery-intro { min-height: 200px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .gallery-page { width: calc(100% - 32px); }
  .gallery-intro { min-height: 0; align-items: flex-start; flex-direction: column; gap: 20px; padding: 34px 0 24px; }
  .gallery-intro h1 { font-size: 38px; }
  .gallery-lede { margin-top: 11px; font-size: 14px; }
  .gallery-socials { flex-wrap: wrap; gap: 10px 14px; white-space: normal; }
  .gallery-feed { padding: 26px 0 42px; }
  .gallery-feed-heading { align-items: flex-start; flex-direction: column; gap: 8px; margin-bottom: 16px; }
  .gallery-feed-heading h2 { font-size: 22px; }
  .gallery-updated { text-align: left; }
  .gallery-grid { grid-template-columns: 1fr; gap: 16px; }
  .gallery-source { align-items: flex-start; flex-direction: column; gap: 7px; }
  .gallery-error { align-items: flex-start; flex-direction: column; }
  .dfoot .in { padding: 72px 18px 28px; }
  .dfoot .club img { width: 104px; height: 104px; }
  .dfoot .club .t { font-size: 22px; }
  .dfoot .soc { margin: 26px 0 34px; }
  .dfoot .bot { justify-content: center; text-align: center; }
  .dfoot .bot nav { justify-content: center; gap: 14px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-card,
  .dfoot::before,
  .dfoot .soc a,
  .dfoot .bot a,
  .dfoot .bot a::after { animation: none; transition: none; }
}
