/* Shared accents for the full site. */
@font-face {
  font-family: Nunito;
  src: url("assets/nunito-800-latin.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

main[data-page]:not([data-page="home"]) {
  --ink: #fff;
  --muted: #fff;
  --rose: #f5bed9;
  --frame: #d5bce78f;
  --photo-frame: #7ddeff;
  --action-fill: #d51a78;
  --action-hover: #c3186d;
  color: var(--ink);
}
main[data-page]:not([data-page="home"]) .kicker {
  color: #ffabd6;
  font: 800 .9rem/1.5 Nunito, system-ui, sans-serif;
  letter-spacing: .19em;
  text-shadow: 0 0 6px #fe478e55;
}
main[data-page]:not([data-page="home"]) .page-lead {
  border-color: #ff78b9c9;
  box-shadow: inset 0 0 8px #ff4fa01f, 0 0 10px #ff4fa040;
}
main[data-page] .page-lead :is(h1, h2)::after {
  background:
    linear-gradient(#f2b8e78c, #f2b8e78c) center / 5px 5px no-repeat,
    linear-gradient(90deg, transparent, #f2b8e76b 50%, transparent) center / 76% 1px no-repeat;
}
main[data-page]:not([data-page="home"]) .button {
  color: #fff;
  border-color: #ff9cc8;
  box-shadow: inset 0 0 0 1px #ffc1de42, 0 0 11px #fe478e7a;
}
main[data-page]:not([data-page="home"]) time {
  color: var(--site-lilac);
}
main[data-page]:not([data-page="home"]) .gallery-image img {
  border-color: var(--site-cyan);
  box-shadow: 0 0 8px #7ddeff55;
}

:is(.site-header, .site-footer) .site-lace-edge {
  stroke: #ff88bd;
  filter: drop-shadow(0 0 2px #fe478e99);
}
:is(.site-header .site-nav, .site-footer .footer-nav) a:is([aria-current], :hover, :focus-visible, :active) {
  color: #ff95cc;
  text-decoration: none;
  text-shadow: 0 0 5px #fe478e66;
}
:is(.site-header, .site-footer) .social a {
  color: #fff;
  border-color: #91eaffb5;
}
:is(.site-header, .site-footer) .social a:is(:hover, :focus-visible, :active) {
  color: #91eaff;
  box-shadow: 0 0 7px #58d7ff78;
  text-shadow: 0 0 4px #7ddeffaa, 0 0 8px #7ddeff66;
}

.site-footer .footer-bottom {
  position: relative;
  border-top: 0;
}
.site-footer .footer-bottom::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 50%;
  width: min(calc(100vw - 32px), 1440px);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, #f2b8e775 25%, #f2b8e799 50%, #f2b8e775 75%, transparent);
  pointer-events: none;
}

[data-page="home"] #news .news-board {
  padding-block: 20px;
}
[data-page="home"] #news .news-list li {
  display: grid;
  justify-items: center;
  row-gap: 2px;
  padding-block: 10px;
  text-align: center;
}
[data-page="home"] #news .news-list time {
  font-size: .9em;
  white-space: nowrap;
}

:root {
  color-scheme: dark;
  --ink: #fff8fe;
  --muted: var(--ink);
  --rose: #ffd2eb;
  --site-lilac: #f2b8e7;
  --site-pink: #fe478e;
  --site-cyan: #7ddeff;
  --border: #a767c0;
  --wall: #654690;
  --gradient-pink: #df3488;
  --gradient-orchid: #b54399;
  --gradient-violet: #763aab;
  --gradient-plum: #39225f;
  --page-glow: var(--gradient-pink), var(--gradient-orchid) 33%, var(--gradient-violet) 64%, transparent 100%;
  --top-glow: radial-gradient(ellipse 112% clamp(400px, 55vw, 820px) at top left, var(--page-glow));
  --bottom-glow: radial-gradient(ellipse 112% clamp(390px, 54vw, 800px) at bottom right, var(--page-glow));
  --page-base: linear-gradient(145deg, #634184, #50336f 52%, var(--gradient-plum));
  --shade: #543877;
  --header: #392060;
  --panel: #5c3c86;
  --deep-panel: #321d59;
  --card-surface: var(--deep-panel);
  --frame: #dfa8dc;
  --neon: #a3e8ff;
  --photo-frame: #aedef6;
  --lace-depth: 16px;
  --action-fill: linear-gradient(#c62b90, #a81e79);
  --action-hover: linear-gradient(#cd2d96, #b12583);
  --serif: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif;
  --display: "Zen Maru Gothic", "Trebuchet MS", "Hiragino Maru Gothic ProN", "Yu Gothic UI", Meiryo, "Noto Sans JP", sans-serif;
  --sans: "BIZ UDPGothic", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
  --header-height: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 18px); }
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; margin: 0; background: var(--wall); color: var(--ink); font: 1.0625rem/1.85 var(--sans); }
.js body { -webkit-touch-callout: none; }
@media (any-pointer: coarse) {
  .js body { -webkit-user-select: none; user-select: none; }
}
body > main { flex: 1 0 auto; }
.site-header, .site-footer { flex: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, p, figure, dl { margin: 0; }
:focus-visible { outline: 3px solid var(--neon); outline-offset: 4px; }
.wrap { width: min(100% - 64px, 1100px); margin-inline: auto; }
:where(main) .wrap { width: min(100% - 64px, 1200px); }
.skip { position: fixed; top: 10px; left: 10px; z-index: 10; background: var(--wall); padding: 8px 16px; transform: translateY(-160%); }
.skip:focus { transform: none; }
h1, h2 { font: 700 clamp(1.65rem, 3.7vw, 2.55rem)/1.45 var(--display); letter-spacing: .045em; }
.kicker { display: flex; align-items: center; justify-content: center; gap: 12px; width: fit-content; max-width: 100%; margin: 0 auto 10px; color: var(--rose); font: 700 .9rem/1.5 var(--serif); letter-spacing: .23em; }
.kicker::before, .kicker::after {
  content: "";
  flex: 0 0 9px;
  height: 8px;
  background: currentColor;
  clip-path: path("M4.5 8C3.7 7.2 0 4.8 0 2.6C0 .2 3.1 -.8 4.5 1.5C5.9 -.8 9 .2 9 2.6C9 4.8 5.3 7.2 4.5 8Z");
}
.body-copy { max-width: 39em; margin: 16px auto 0; color: var(--muted); }
main { line-break: strict; overflow-wrap: break-word; }
main :is(p, li, dd), .profile-bio :is(p, dd) {
  word-break: auto-phrase;
  text-wrap: pretty;
}
main :is(h1, h2, h3), main .button { text-wrap: balance; }
.about-copy p { text-wrap: balance; }
.keep-together { white-space: nowrap; }

.site-header { position: sticky; top: 0; z-index: 5; background: var(--header); box-shadow: 0 4px 18px #1f0c2c75; }
.header-inner { width: min(100% - 40px, 1250px); min-height: var(--header-height); margin-inline: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.header-menu { display: contents; }
.brand { width: min(100%, 194px); justify-self: start; }
.brand, .footer-brand { display: grid; grid-template-columns: 28px minmax(0, 1fr) 28px; align-items: center; gap: 3px; }
.brand-mascot { width: 100%; }
.site-nav, .footer-nav { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2vw, 29px); }
.site-nav a, .footer-nav a, .social a, .menu-toggle { font: 700 .875rem/1.45 var(--serif); letter-spacing: .08em; text-decoration: none; }
.site-nav a, .footer-nav a { padding: 9px 0; text-underline-offset: 5px; }
.site-nav a:is(:hover, [aria-current]), .footer-nav a:hover { color: var(--rose); text-decoration: underline; }
.social { display: flex; align-items: center; gap: 7px; }
.header-social { justify-self: end; }
.social a { display: grid; min-height: 44px; min-width: 44px; place-items: center; padding-inline: 9px; border: 1px solid var(--border); border-radius: 11px; }
.social a:hover { background: var(--panel); }
.menu-toggle { display: none; }

.band { --section-gap: clamp(18px, 2.3vw, 28px); position: relative; padding: clamp(34px, 4.2vw, 62px) 0; text-align: center; }
.band > .wrap > .button { display: grid; width: fit-content; margin: var(--section-gap) auto 0; }
.band > .wrap > :is(.about-slideshow, .hours, .news-board, .news-cards, .news-article, .about-features, .rules, .members-window, .media-window) {
  margin-block-start: var(--section-gap);
}
.band + .band { border-top: 1px solid #db8ef346; }
.neon-decoration {
  position: absolute;
  inset: 0;
  container-type: size;
  overflow: hidden;
  pointer-events: none;
}
.neon-decoration + .wrap { position: relative; }
.neon-light {
  --light-glow: #ff62be80;
  --light-scale: 1.52;
  --light-width: min(calc(var(--light-size) * var(--light-scale)), 15vw, 39cqh);
  --light-inset: calc(var(--light-width) * .83 + 12px);
  position: absolute;
  top: clamp(var(--light-inset), var(--light-y), calc(100% - var(--light-inset)));
  left: clamp(var(--light-inset), var(--light-x), calc(100% - var(--light-inset)));
  width: var(--light-width);
  aspect-ratio: var(--neon-ratio);
  overflow: hidden;
  opacity: .44;
  rotate: var(--light-angle);
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 9px var(--light-glow));
}
.neon-blue { --light-glow: #44dfff85; }
.neon-light:is(.neon-circle, .neon-wings, .neon-devil-heart) { --light-scale: 1.72; }
.neon-wide-accent { display: none; }
@container (min-width: 1450px) and (min-height: 580px) {
  .neon-wide-accent { display: block; opacity: .36; }
}
.cover-scene > .neon-decoration { z-index: 0; }
.cover-scene .neon-light { opacity: .49; }
.cover-scene > .cover-members { z-index: 1; }
.neon-light img {
  position: absolute;
  left: var(--neon-image-x);
  top: var(--neon-image-y);
  width: var(--neon-image-width);
  max-width: none;
}
@media (prefers-reduced-motion: no-preference) {
  .neon-light {
    --neon-travel-x: .95;
    --neon-travel-y: .6;
    translate: calc(var(--page-shift-x, 0px) * var(--neon-travel-x))
               calc(var(--page-shift-y, 0px) * var(--neon-travel-y));
    transition: translate var(--neon-response, 230ms) ease-out;
  }
  .neon-light:nth-child(5n + 2) { --neon-travel-x: .48; --neon-travel-y: 1.1; --neon-response: 370ms; }
  .neon-light:nth-child(5n + 3) { --neon-travel-x: 1.12; --neon-travel-y: .8; --neon-response: 180ms; }
  .neon-light:nth-child(5n + 4) { --neon-travel-x: .71; --neon-travel-y: .36; --neon-response: 420ms; }
  .neon-light:nth-child(5n) { --neon-travel-x: .64; --neon-travel-y: .92; --neon-response: 290ms; }
}
@media (max-width: 980px) {
  .band:has(> .neon-decoration) { padding-top: clamp(91px, 10vw, 108px); padding-bottom: clamp(87px, 9vw, 103px); }
  .neon-light {
    --light-width: clamp(32px, calc(var(--light-size) * var(--light-scale) * .46), min(87px, 24vw));
    left: clamp(calc(var(--light-width) * .59 + 11px), var(--light-mobile-x), calc(100% - var(--light-width) * .59 - 11px));
    top: var(--light-mobile-top, auto);
    bottom: var(--light-mobile-bottom, auto);
    transform: translateX(-50%);
  }
  .cover-scene .neon-light {
    --light-width: clamp(39px, calc(var(--light-size) * var(--light-scale) * .49), min(80px, 24vw));
    transform: translate(-50%, -50%);
  }
}
[data-page="home"], .subpage { background: var(--top-glow), var(--bottom-glow), var(--page-base); }
.site-lace {
  position: absolute;
  inset-inline: 0;
  width: 100%;
  height: var(--lace-depth);
  pointer-events: none;
}
.site-lace-fill { fill: var(--header); }
.site-lace-edge { fill: none; stroke: #be96ca; stroke-width: 1.2; }
.site-header > .site-lace { top: 100%; }
.site-footer > .site-lace { bottom: calc(100% - 1px); transform: rotate(180deg); }
.hero {
  padding: 0;
  background-image: linear-gradient(to bottom, transparent 15%, #210c424a);
}
.about, .members, .gallery {
  background-image: linear-gradient(135deg, #c97bc338, #a16cc522 54%, #b98bdb10);
}
.news, .guidelines {
  background-image: linear-gradient(145deg, #41164f54, #3c174f36 46%, #210c4270);
}
.cover-scene { position: relative; overflow: hidden; height: clamp(460px, 51vw, 920px); isolation: isolate; }
.welcome-dialog {
  display: grid;
  place-items: center;
  align-content: center;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 16px;
  border: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 50% 43%, #ffd3ed44, transparent 53%),
    radial-gradient(ellipse at 85% 6%, #ff78a455, transparent 45%),
    radial-gradient(ellipse at 18% 92%, #4530ba65, transparent 52%),
    linear-gradient(165deg, #f85191 0%, #d94593 27%, #aa409d 52%, #732ca5 76%, #442181 100%);
}
.welcome-dialog:not([open]) { display: none; }
.welcome-dialog::backdrop { background: transparent; }
.welcome-dialog.is-leaving { animation: welcome-fade 540ms ease-in-out both; }
.welcome-dialog.is-leaving .welcome-invitation { animation: welcome-fade 270ms ease-out both; }
html:has(.welcome-dialog[open]) { overflow: hidden; }
.welcome-invitation {
  position: relative;
  width: min(100%, 570px);
  height: clamp(136px, 29svh, 245px);
  perspective: 720px;
  margin-top: min(9svh, 80px);
  border: 1px solid #f1c6e5;
  border-radius: 12px;
  background: linear-gradient(135deg, #ba8ccb, #976bad);
  box-shadow: 0 8px 48px #df60ab70, 0 15px 65px #429ec759;
}
.welcome-flap, .welcome-envelope-front {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.welcome-flap {
  z-index: 2;
  height: 54%;
  transform-origin: top;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  background: linear-gradient(#f7c8e0, #d596cd);
  animation: welcome-open 500ms 220ms ease-in-out both;
}
.welcome-envelope-front {
  z-index: 1;
  border-radius: inherit;
  clip-path: polygon(0 0, 50% 54%, 100% 0, 100% 100%, 0 100%);
  background: linear-gradient(148deg, #e9acd2, #cf91c7 52%, #a983c6);
  box-shadow: inset 0 -2px #fff0fc62, inset 0 -6px #fff0fc28;
}
.welcome-seal {
  position: absolute;
  z-index: 3;
  top: 54%;
  left: 50%;
  display: grid;
  place-items: center;
  width: clamp(33px, 8vw, 44px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid #ffe1ef;
  border-radius: 50%;
  color: #fff5fa;
  background: radial-gradient(circle at 34% 20%, #f09dc1, #bb4b8f 82%);
  box-shadow: inset 0 0 0 3px #ffe2ef55, 0 3px 8px #71335d63;
  font: 700 clamp(17px, 4.8vw, 23px)/1 var(--serif);
  animation: welcome-fade 200ms 240ms ease-in both;
}
.welcome-card {
  position: absolute;
  inset: 10px 5% auto;
  min-height: 78%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  justify-items: center;
  gap: clamp(4px, 1.6vw, 12px);
  padding: 12px 8px;
  border: 1px solid #fff5fc;
  border-radius: 9px;
  background:
    radial-gradient(ellipse at 10% 15%, #fad3e9, transparent 52%),
    linear-gradient(125deg, #fff2f9, #e9ddfb);
  box-shadow: inset 0 0 0 4px #fff8fc, inset 0 0 0 5px #d2a4d6, 0 4px 12px #49265f42;
  animation: welcome-card-lift 620ms 550ms cubic-bezier(.18,.69,.25,1) both;
}
#welcome-message {
  color: #6d326e;
  font: 700 clamp(.9rem, 4.6vw, 1.55rem)/1.5 var(--display);
  white-space: nowrap;
}
.welcome-mascot { width: min(100%, 68px); }
@media (max-width: 600px) {
  .welcome-invitation {
    width: min(84vw, 370px);
    height: clamp(114px, 20svh, 176px);
  }
  .welcome-mascot { width: min(100%, 54px); }
}
@keyframes welcome-open {
  0% { transform: rotateX(0); }
  49% { z-index: 2; }
  50%, 100% { z-index: 0; }
  100% { transform: rotateX(178deg); }
}
@keyframes welcome-card-lift {
  from { transform: translateY(0); }
  to { transform: translateY(max(-94%, -30svh)); }
}
@keyframes welcome-arrive {
  from { opacity: 0; transform: translateY(11px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes welcome-fade {
  to { opacity: 0; }
}
.cover-members { --cover-head-width: min(8.55vw, 164px); position: relative; height: 100%; width: min(100%, 1920px); margin-inline: auto; }
@media (min-width: 1180px) {
  .cover-members { width: min(92%, 1920px); }
}
.cover-row { --cover-depth: .55; position: absolute; inset-inline: 0; top: 16px; display: flex; justify-content: center; }
.cover-row + .cover-row { --cover-depth: 1; top: 35%; }
.cover-member {
  --face-line: clamp(64px, 7.4vw, 140px);
  position: relative;
  flex: 1;
}
.cover-member img {
  position: absolute;
  top: var(--face-line);
  left: 50%;
  width: calc(var(--portrait-scale) * var(--cover-head-width));
  max-width: none;
  transform: translate(calc(-1 * var(--face-x)), calc(-1 * var(--face-y)));
  filter: drop-shadow(0 3px 5px #20102e91);
}
@media (prefers-reduced-motion: no-preference) {
  .cover-row + .cover-row { --arrival-delay: 140ms; }
  .is-arriving .neon-decoration { animation: welcome-arrive 500ms ease-out both; }
  .is-arriving .cover-member { animation: welcome-arrive 490ms calc(240ms + var(--arrival-delay, 0ms)) ease-out both; }
  .is-arriving .hero-brand { animation: welcome-arrive 460ms 610ms ease-out both; }
  .cover-member:nth-child(4n + 1) { --cover-motion-scale: .90; --cover-response: 265ms; }
  .cover-member:nth-child(4n + 3) { --cover-motion-scale: 1.06; --cover-response: 185ms; }
  .cover-member:nth-child(4n) { --cover-motion-scale: .96; --cover-response: 245ms; }
  .cover-member img {
    --cover-travel: calc(var(--cover-depth) * var(--cover-motion-scale, 1));
    translate: calc(var(--page-shift-x, 0px) * var(--cover-travel)) calc(var(--page-shift-y, 0px) * var(--cover-travel));
    transition: translate var(--cover-response, 220ms) ease-out;
  }
}
.cover-row:first-child .cover-member img { mask-image: linear-gradient(#000 62%, transparent 99%); }
.cover-member:nth-child(even) img { top: calc(var(--face-line) + clamp(3px, .65vw, 13px)); }
.hero-brand {
  position: absolute;
  z-index: 2;
  inset-inline: 0;
  bottom: 3%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(0px, .8vw, 14px);
  filter: drop-shadow(0 5px 8px #341246aa);
}
.hero-logo { width: min(43%, 690px); margin: 0; }
.hero-logo img { width: 100%; }
.hero-mascot { width: min(10%, 172px); }
.about-copy { margin: 16px auto 0; color: var(--muted); max-width: 48em; }
.about-copy p + p { margin-top: 5px; }
.about-tagline { color: var(--rose); font-weight: 700; }
.about-photo { width: min(100%, 860px); margin: 27px auto 0; padding: 8px; border: 1px solid var(--photo-frame); border-radius: 16px; background: var(--deep-panel); box-shadow: 0 0 0 3px #accdf143, 0 10px 28px #210c364e; }
.about-photo img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 9px; }
.about-slideshow { width: min(100%, 860px); margin: 27px auto 0; }
.about-slideshow .about-photo { display: grid; margin: 0; }
.about-slideshow .about-photo img { grid-area: 1 / 1; }
.hours { width: min(100%, 640px); margin: 24px auto 0; border: 1px solid var(--frame); border-radius: 12px; background: var(--card-surface); box-shadow: 0 5px 16px #21112d4f; text-align: center; }
.hours div { display: grid; justify-items: center; gap: 7px; padding: 14px; }
.hours div + div { border-top: 1px solid #ab7baa83; }
.hours dt { color: var(--rose); font-weight: 700; white-space: nowrap; }
.hours dd { margin: 0; }

.news-board { width: min(100%, 790px); margin: 20px auto 0; padding: 15px clamp(14px, 2.2vw, 26px); border: 1px solid var(--frame); border-radius: 12px; background: var(--card-surface); box-shadow: 0 5px 16px #21112d4f; }
.news-label { color: var(--rose); font-size: 1.2rem; font-weight: 700; line-height: 1.4; }
.news-label::after, .hours dt::after { content: ""; display: block; width: 5em; margin: 7px auto 0; border-top: 1px solid #db94ca; }
.news-label + .news-empty { margin-top: 5px; }
.news-list { list-style: none; padding: 0; margin: 8px auto 0; }
.news-list li { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 12px; padding: 8px 0; border-bottom: 1px solid #94648562; overflow-wrap: anywhere; }
.news-list time { color: var(--rose); }
.body-copy a, .news-list a { color: var(--neon); text-underline-offset: 4px; }
.news-list a, .news-card h2 a { color: var(--ink); text-decoration-color: var(--rose); text-underline-offset: .2em; }
.news-list a:hover, .news-card h2 a:hover { color: var(--rose); }
.news-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(100%, 1080px);
  margin: 24px auto 0;
}
.news-card, .news-article {
  border: 1px solid #dfa8dc91;
  border-radius: 12px;
  background: var(--card-surface);
}
.news-card {
  position: relative;
  overflow: hidden;
}
.news-card:focus-within { outline: 2px solid var(--rose); outline-offset: 3px; }
.news-card-copy { padding: 13px clamp(10px, 1.4vw, 17px); }
.news-image { display: block; width: 100%; }
.news-card-media { position: relative; aspect-ratio: 2.65; border-bottom: 1px solid #dfa8dc91; }
.news-card-media .news-image { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.news-card .news-image-placeholder {
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at 45% 45%, #ed9bc765, transparent 72%),
              linear-gradient(145deg, #643578, #452769);
}
.news-image-placeholder img { width: 19%; max-width: 60px; }
.news-meta { color: var(--rose); font-size: .9rem; }
.news-card h2 { margin-top: 5px; font-size: 1.2rem; line-height: 1.45; overflow-wrap: anywhere; }
.news-card h2 a::after { content: ""; position: absolute; inset: 0; }
.news-summary { margin-top: 10px; color: var(--muted); }
@media (max-width: 920px) {
  .news-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .news-cards { grid-template-columns: minmax(0, 1fr); }
  .news-card-media { aspect-ratio: 2.3; }
}
.news-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-block-start: var(--section-gap, 24px);
}
.news-pagination a {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding-inline: 10px;
  border: 1px solid var(--frame);
  border-radius: 10px;
  background: var(--card-surface);
  text-decoration: none;
}
.news-pagination a:hover, .news-pagination a[aria-current="page"] { background: var(--action-fill); }
.news-article {
  width: min(100%, 930px);
  margin: 24px auto 0;
  padding: clamp(16px, 3.2vw, 32px);
  color: var(--muted);
  line-height: 1.95;
}
.news-article .news-image { width: min(100%, 740px); border-radius: 6px; margin: 0 auto 1.25em; }
.news-article p + p { margin-top: 1.05em; }
.body-copy .guidelines-link { color: var(--rose); }
.guidelines-note {
  width: min(100%, 640px);
  max-width: none;
  padding: 12px 16px;
  border: 1px solid #dfa8dc91;
  border-radius: 12px;
  background: #321b5666;
}

.members-window, .media-window { margin: 25px 0 0; overflow: hidden; padding-block: 4px; mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent); }
.members-track { display: flex; justify-content: center; }
.loop-track.is-running { display: flex; width: max-content; justify-content: flex-start; animation: horizontal-loop var(--loop-time, 40s) linear infinite paused; }
.loop-track.in-view { animation-play-state: running; }
@media (prefers-reduced-motion: no-preference) {
  .loop-track.in-view { will-change: transform; }
}
.members-window:hover .loop-track, .members:focus-within .loop-track,
.media-window:hover .loop-track, .gallery:focus-within .loop-track { animation-play-state: paused; }
.members-set { --gap: clamp(12px, 2vw, 24px); display: flex; flex: none; gap: var(--gap); }
.members-track.is-running .members-set { padding-right: var(--gap); }
.members-window {
  padding-block: 11px;
}
.portrait {
  --heart-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 94'%3E%3Cpath d='M50 92C37 83 2 61 1 31-1 5 29-9 50 12 71-9 101 5 99 31 98 61 63 83 50 92Z'/%3E%3C/svg%3E");
  --heart-rim: #ffd0ea;
  --heart-glow: #ff7bbc90;
  width: clamp(112px, 34vw, 236px);
  aspect-ratio: 100 / 94;
  display: grid;
  filter: drop-shadow(0 0 2px var(--heart-glow));
}
.portrait:nth-child(even), .portrait-blue { --heart-rim: #c4ecff; --heart-glow: #80d6ff91; }
.portrait::before, .portrait img {
  grid-area: 1 / 1;
  mask: var(--heart-mask) center / 100% 100% no-repeat;
}
.portrait::before { content: ""; background: var(--heart-rim); }
.portrait img {
  z-index: 1;
  align-self: center;
  justify-self: center;
  width: 97%;
  height: 97%;
  object-fit: cover;
  object-position: 50% 36%;
  background: radial-gradient(ellipse at 50% 35%, #d7a4da, #78438d);
}
.portrait:nth-child(even) img, .portrait-blue img {
  background: radial-gradient(ellipse at 50% 35%, #bec6ee, #64579c);
}
@keyframes horizontal-loop { to { transform: translate3d(-50%, 0, 0); } }

.guidelines .body-copy span, [data-page="guidelines"] .body-copy span { display: inline-block; }
.button { display: inline-grid; place-items: center; min-height: 48px; min-width: 168px; margin-top: clamp(20px, 3vw, 28px); padding: 10px 20px; border: 1px solid #ffc4e1; border-radius: 999px; background: var(--action-fill); color: var(--ink); text-decoration: none; text-align: center; font-weight: 700; line-height: 1.4; box-shadow: inset 0 0 0 2px #ffd2ed38, 0 5px 16px #240b394f; }
.button:hover, .dialog-close:hover { background: var(--action-hover); }
.media-track { --photo-gap: 14px; }
.media-set { display: grid; flex: none; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--photo-gap); }
.media-track.is-running .media-set { grid-template-columns: repeat(4, clamp(215px, 27vw, 330px)); padding-right: var(--photo-gap); }
.media-set img { width: 100%; aspect-ratio: 4/3; object-fit: cover; padding: 5px; border: 1px solid var(--photo-frame); border-radius: 14px; background: var(--deep-panel); }
.gallery-grid { --media-columns: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--media-gap); }
.gallery-grid > * { flex: 0 0 calc((100% - (var(--media-columns) - 1) * var(--media-gap)) / var(--media-columns)); min-width: 0; }
@media (min-width: 740px) { .gallery-grid { --media-columns: 3; } }
@media (min-width: 1200px) { .gallery-grid { --media-columns: 4; } }
.gallery-grid img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border: 1px solid #ad73a7; border-radius: 6px; }
.video-card { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 6px; background: var(--card-surface); text-decoration: none; overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .gallery-grid.video-grid { --media-columns: 1; }
}
.video-dialog { width: min(94vw, 920px); max-height: 92vh; padding: 50px 12px 12px; border: 1px solid var(--border); background: var(--panel); text-align: center; }
.video-dialog::backdrop { background: #210c30d4; }
.video-info { display: grid; gap: 3px; padding: 9px 12px; text-decoration: none; }
.video-info:hover, .video-info:focus-visible { text-decoration: underline; }
.video-title { font-size: .95rem; font-weight: 700; line-height: 1.45; }
.video-player { display: block; width: 100%; aspect-ratio: 16/9; min-height: 200px; border: 0; border-radius: 5px 5px 0 0; background: var(--deep-panel); }
.video-credit { color: var(--muted); font-size: .875rem; }
.gallery-image { display: block; min-width: 0; cursor: zoom-in; }
.gallery-image:hover img { filter: brightness(1.08); }
.gallery-image:focus-visible { outline-offset: -4px; }
.photo-dialog { max-width: min(93vw, 1200px); max-height: 92vh; padding: 10px; border: 1px solid var(--border); background: var(--panel); }
.photo-dialog::backdrop, .profile-dialog::backdrop { background: #210c30d4; }
.photo-dialog img { width: auto; max-height: 80vh; object-fit: contain; margin-inline: auto; }
.dialog-close {
  position: absolute;
  z-index: 1;
  inset-block-start: 14px;
  inset-inline-end: 14px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #ffe1f1;
  border-radius: 50%;
  background: var(--action-fill);
  color: white;
  cursor: pointer;
}
.dialog-close::before, .dialog-close::after {
  content: "";
  grid-area: 1 / 1;
  width: 14px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
}
.dialog-close::before { transform: rotate(45deg); }
.dialog-close::after { transform: rotate(-45deg); }

.subpage { min-height: 56vh; }
.page-lead {
  width: min(100%, 960px);
  margin-inline: auto;
  padding: clamp(15px, 2vw, 22px) clamp(12px, 2.5vw, 26px);
  border-block: 1px solid #f2b8e58c;
  border-radius: 16px;
  background: linear-gradient(110deg, #321b5666, #321b5696 58%, #321b5666);
}
#about > .wrap > :is(.page-lead, .about-slideshow),
[data-page="guidelines"] > .wrap > :is(.page-lead, .rules) { width: min(100%, 860px); }
#guidelines .page-lead {
  background: linear-gradient(110deg, #3b235d66, #3b235d96 58%, #3b235d66);
}
.page-lead :is(h1, h2) { text-wrap: balance; }
.page-lead :is(h1, h2)::after {
  content: "";
  display: block;
  width: min(100%, 210px);
  height: 9px;
  margin: clamp(9px, 1.4vw, 14px) auto;
  background:
    linear-gradient(45deg, #f2b8e5, #fff3fc) center / 8px 8px no-repeat,
    linear-gradient(90deg, transparent, #d997d5 50%, transparent) center / 100% 1px no-repeat;
}
.page-lead :is(h1, h2):last-child::after { margin-bottom: 0; }
.page-lead .kicker { margin-bottom: 6px; }
.page-lead :is(.about-copy, .body-copy) { margin-top: 0; }
.page-lead .about-tagline { margin-bottom: 10px; font: 700 clamp(1.06rem, 2.1vw, 1.25rem)/1.45 var(--display); }
.about-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 18px); width: 100%; margin-inline: auto; }
.about-feature {
  display: grid;
  grid-template-columns: minmax(0, 43%) minmax(0, 1fr);
  min-height: clamp(150px, 15vw, 205px);
  overflow: hidden;
  border: 1px solid #d99ed5;
  border-radius: 18px;
  background: var(--card-surface);
  box-shadow: 0 8px 22px #25103d66;
}
.about-feature .about-photo {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-inline-end: 1px solid #e5a6de;
  border-radius: 0;
  box-shadow: none;
}
.about-feature .about-photo img { position: absolute; inset: 0; height: 100%; border-radius: 0; }
.about-feature-body { align-self: center; min-width: 0; padding: clamp(10px, 1.6vw, 16px); }
.about-feature h2 {
  width: fit-content;
  margin-inline: auto;
  font-size: clamp(1.12rem, 2vw, 1.32rem);
  color: var(--rose);
  line-height: 1.35;
  text-wrap: balance;
}
.about-feature h2::after {
  content: "";
  display: block;
  margin: 8px -.4em 0;
  border-top: 1px solid #db94ca;
}
.about-feature p { margin-top: 9px; color: var(--muted); font-size: .95rem; line-height: 1.6; text-wrap: wrap; }
@media (max-width: 345px) {
  .about-feature .about-feature-body { padding: 8px; }
  .about-feature h2 { font-size: 1rem; }
  .about-feature p { font-size: .9rem; }
}
.detail-section { margin: clamp(28px, 3.5vw, 48px) auto 0; }
.detail-section h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
[data-page="media"] {
  --media-gap: clamp(8px, 1.2vw, 16px);
  --media-gutter: clamp(18px, 2.25vw, 32px);
}
[data-page="media"] > .wrap { width: 100%; }
[data-page="media"] > .wrap > .page-lead { width: min(calc(100% - 2 * var(--media-gutter)), 960px); }
.detail-section.media-panel {
  display: grid;
  --media-heading-space: clamp(22px, 2vw, 32px);
  margin: 0;
  padding: clamp(24px, 4vw, 48px) var(--media-gutter);
  gap: var(--media-heading-space);
  border-top: 1px solid #db8ef346;
}
.detail-section.photo-panel { margin-top: var(--section-gap); background: linear-gradient(135deg, #c97bc338, #a16cc522 54%, #b98bdb10); }
.detail-section.video-panel { background: linear-gradient(145deg, #41164f54, #3c174f36 46%, #210c4270); border-bottom: 1px solid #db8ef346; }
.media-panel > .gallery-grid { width: min(100%, 1360px); margin-inline: auto; }
.media-panel > h2 { margin: 0; text-align: center; line-height: 1.25; }
.profile-grid { --profile-gap: 16px; --profile-width: calc((100% - 4 * var(--profile-gap)) / 5); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--profile-gap); max-width: 1080px; margin: 22px auto 0; }
.profile-card { flex: 0 0 var(--profile-width); min-width: 0; }
.profile-trigger {
  display: grid;
  grid-template-rows: auto 1fr;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: clamp(5px, 1vw, 9px);
  padding-block-end: 0;
  border: 1px solid #cc95c5;
  border-radius: 12px;
  background: linear-gradient(145deg, #854982, #59366f);
  color: #fff0fa;
  box-shadow: 0 5px 12px #28123d59;
  cursor: pointer;
}
.profile-trigger:hover { background: #8f4e8b; border-color: #f2c6eb; }
.profile-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  border: 1px solid #ecbde77a;
  border-radius: 8px;
  background: radial-gradient(ellipse at 49% 36%, #b87eb9, #815496);
}
.profile-card:nth-child(3n + 2) img { background: radial-gradient(ellipse at 49% 36%, #a09cce, #655e99); }
.profile-card:nth-child(3n) img { background: radial-gradient(ellipse at 49% 36%, #c48dae, #935d98); }
.profile-name {
  position: relative;
  display: grid;
  place-items: center;
  align-self: stretch;
  min-height: 49px;
  padding: 4px 1.15em;
  font-size: 1rem;
  font-weight: 700;
  overflow-wrap: break-word;
  text-wrap: balance;
}
.profile-name::before, .profile-name::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 8px;
  background: #ffc2e7;
  clip-path: path("M4.5 8C3.7 7.2 0 4.8 0 2.6C0 .2 3.1 -.8 4.5 1.5C5.9 -.8 9 .2 9 2.6C9 4.8 5.3 7.2 4.5 8Z");
}
.profile-name::before { inset-inline-start: .16em; }
.profile-name::after { inset-inline-end: .16em; }
.profile-dialog { width: min(100% - 32px, 480px); max-height: 90vh; padding: 15px; border: 1px solid var(--frame); border-radius: 20px; background: var(--deep-panel); color: var(--ink); text-align: center; }
.profile-dialog-content { padding: 10px 10px 15px; }
.profile-portrait-stage {
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse closest-side, #9b57a967, transparent);
}
.profile-portrait {
  width: min(100%, 300px);
  height: min(49svh, 375px);
  object-fit: contain;
}
.profile-dialog h2 { font-size: clamp(1.7rem, 4vw, 2.45rem); overflow-wrap: anywhere; }
.profile-bio { margin-top: 12px; }
.profile-dialog-details { margin-top: 10px; }
.profile-dialog-details p { overflow-wrap: anywhere; }
.profile-video { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--border); }
.profile-video a, .profile-links a { color: var(--rose); text-underline-offset: 4px; }
.profile-video-slot:empty { display: none; }
.profile-video-embed { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; }
.profile-video-link { display: inline-block; margin-top: 8px; }
.profile-video-embed > * { max-width: 100%; }
.profile-video-embed iframe { display: block; max-width: 100%; border: 0; }
@media (min-width: 740px) {
  .profile-dialog { width: min(100% - 32px, 900px); }
  .profile-has-video { width: min(100% - 32px, 1100px); }
  .profile-dialog-content { padding: 26px clamp(16px, 3vw, 42px); }
  .profile-summary { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(18px, 4vw, 52px); align-items: center; }
  .profile-bio { margin: 0; padding-inline-end: min(1vw, 12px); }
  .profile-portrait { width: 100%; height: min(70svh, 650px); }
}
.profile-facts { border-top: 1px solid var(--border); }
.profile-facts div { display: grid; gap: 2px; padding: 8px 0; border-bottom: 1px solid #ab7baa83; }
.profile-facts dt { color: var(--rose); font-weight: 700; }
.profile-facts dd { margin: 0; overflow-wrap: anywhere; white-space: pre-line; }
.profile-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; margin: 12px 0 0; padding: 0; }
.profile-links a { display: inline-block; padding: 3px 10px; border: 1px solid var(--border); border-radius: 16px; overflow-wrap: anywhere; }
.rules { width: min(100%, 790px); margin: 23px auto 0; padding: clamp(17px, 4vw, 32px); border: 1px solid var(--border); background: var(--card-surface); }
.rules h2 { font-size: 1.35rem; }
.rules h2::after { content: ""; display: block; width: 7em; margin: 9px auto 0; border-top: 1px solid #db94ca; }
.rules ul {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  padding-inline-start: 1.15em;
  list-style-type: "・";
  text-align: start;
}
.rules li::marker { color: var(--rose); }
.rules ul + h2 { margin-top: 22px; padding-top: 18px; border-top: 1px solid #ab7baa83; }
.rules ul + p { margin-top: 22px; padding-top: 18px; border-top: 1px solid #ab7baa83; }
.rules p + p { margin-top: 7px; }
.about-community { max-width: 790px; }
.about-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.about-links > div {
  display: grid;
  align-content: center;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card-surface);
  text-align: center;
}
.about-links h3 { font-size: 1.05rem; }
.about-links a { display: inline-grid; min-height: 44px; place-items: center; color: var(--rose); text-underline-offset: 4px; }
.rules li + li { margin-top: 4px; }

.site-footer { position: relative; background: var(--header); padding-top: 26px; text-align: center; }
.footer-inner { display: flex; justify-content: center; align-items: center; gap: clamp(14px, 3vw, 45px); flex-wrap: wrap; }
.footer-brand { flex: 0 0 202px; }
.footer-nav { flex-wrap: wrap; }
.footer-bottom { margin-top: 21px; padding: 12px 0; border-top: 1px solid #a474a3; color: var(--muted); font-size: .875rem; }

@media (max-width: 950px) {
  :root { --header-height: 64px; }
  .header-inner { width: calc(100% - 26px); grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .brand { width: min(100%, 165px); grid-template-columns: 24px minmax(0, 1fr) 24px; }
  .header-menu { display: grid; grid-column: 1/-1; gap: 10px; padding-bottom: 8px; }
  .header-social { justify-self: stretch; justify-content: center; padding-top: 10px; border-top: 1px solid var(--border); }
  .site-nav { flex-wrap: wrap; }
  .js .menu-toggle { display: block; min-height: 44px; padding: 4px 8px; border: 1px solid #a0639c; border-radius: 4px; background: transparent; color: var(--ink); cursor: pointer; }
  .js .header-menu { display: none; position: absolute; z-index: 1; top: 100%; inset-inline: 0; max-height: calc(100dvh - var(--header-height)); overflow-y: auto; padding: 10px 13px; background: var(--header); border-bottom: 1px solid var(--border); }
  .js .menu-toggle[aria-expanded="true"] + .header-menu { display: grid; }
  .js .site-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 8px; }
  .js .site-nav a { display: grid; place-items: center; min-height: 44px; padding: 9px 8px; border: 1px solid #ae77aa; text-align: center; }
  .wrap { width: calc(100% - 36px); }
  .profile-grid { --profile-width: calc((100% - 3 * var(--profile-gap)) / 4); }
}
@media (max-width: 740px) {
  .cover-scene { height: auto; }
  .cover-members { --cover-head-width: clamp(44px, 13.55vw, 91px); height: auto; display: flex; flex-wrap: wrap; justify-content: center; padding: 16px 1% 0; }
  .cover-row { display: contents; }
  .cover-member { --face-line: clamp(41px, 11vw, 75px); --arrival-delay: calc(var(--mobile-arrival-row, 0) * 110ms); flex: 0 0 calc(100% / 5); height: clamp(85px, 26vw, 156px); }
  .cover-member img { left: calc(50% + var(--portrait-mobile-x, 0%)); mask-image: linear-gradient(#000 58%, transparent 92%); }
  .hero-brand { position: relative; margin-top: -7px; padding-bottom: 9px; }
  .hero-logo { width: min(55%, 400px); }
  .hero-mascot { width: min(14%, 100px); }
}
@media (max-width: 640px) {
  .about-features { grid-template-columns: minmax(0, 1fr); }
  .about-feature { grid-template-columns: minmax(0, 1fr); }
  .about-feature .about-photo { border-inline-end: 0; border-bottom: 1px solid #e5a6de; }
  .about-feature .about-photo img { position: static; height: auto; aspect-ratio: auto; }
  .about-feature .about-feature-body { padding: 12px 16px; }
  .header-inner { gap: 5px; }
  .social { gap: 4px; }
  .hours div { padding-inline: 10px; }
  .media-set { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-grid { --profile-gap: 10px; --profile-width: calc((100% - var(--profile-gap)) / 2); }
  .footer-inner { flex-direction: column; gap: 9px; }
  .footer-brand { flex: auto; width: 189px; }
  .footer-nav { width: 100%; gap: 0 6px; }
  .footer-nav a { padding-block: 8px; font-size: .75rem; letter-spacing: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .loop-track.is-running { width: auto; justify-content: center; animation: none; }
  .loop-track > [aria-hidden="true"] { display: none; }
  .members-window { overflow-x: auto; }
  .members-track.is-running { justify-content: flex-start; }
  .members-track.is-running .members-set, .media-track.is-running .media-set { padding-right: 0; }
  .media-track.is-running { display: block; }
  .media-track.is-running .media-set { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .media-window { mask-image: none; }
}
@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
  .media-track.is-running .media-set { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Carry HOME accents to the detail views while keeping their layouts. */
[data-page="home"] .portrait img {
  background: radial-gradient(ellipse at 50% 43%, #8065a4 5%, #4c306e 92%);
}
main.subpage {
  overflow-x: clip;
}
main.subpage > .wrap { z-index: 1; }
main.subpage :is(.hours, .rules, .news-card, .news-article, .about-feature, .about-links > div, .video-card) {
  border-color: #d5bce78f;
}
main.subpage :is(.hours dt, .about-tagline, .profile-facts dt, .about-links a) {
  color: #f5bed9;
}
main.subpage .hours dt { font-weight: 600; }
main.subpage .hours dt::after { content: none; }
main.subpage .hours > div { position: relative; }
main.subpage .hours > div + div { border-top: 0; }
main.subpage .hours > div:not(:last-child)::after {
  content: "";
  position: absolute;
  inset: auto max(16px, 8%) 0;
  border-bottom: 1px solid #f2b8e749;
  pointer-events: none;
}

main.subpage .about-feature .about-photo {
  border-color: var(--site-cyan);
  box-shadow: 0 0 8px #7ddeff55;
}
main.subpage .news-card-media { border-bottom-color: #7ddeff9c; }
main.subpage .news-article img.news-image,
body .photo-dialog img {
  border: 1px solid var(--site-cyan);
  box-shadow: 0 0 8px #7ddeff66;
}
main.subpage :is(.news-meta, .news-meta time) { color: var(--site-lilac); }

main.subpage .profile-trigger {
  color: #fff;
  background: linear-gradient(145deg, #694480, #4c306e);
  border-color: #f2b8e7a3;
}
main.subpage .profile-trigger:hover {
  border-color: #ff88bd;
  box-shadow: 0 0 9px #fe478e66;
}
main.subpage .profile-card img {
  background: radial-gradient(ellipse at 50% 43%, #8065a4 5%, #4c306e 92%);
}
body :is(.profile-dialog, .photo-dialog, .video-dialog) {
  border-color: #ff88bda8;
  box-shadow: 0 0 15px #fe478e38;
}
body .profile-links a { border-color: #91eaffb5; }
body .profile-links a:is(:hover, :focus-visible) { color: #91eaff; }

main.subpage .neon-decoration > .detail-neon {
  display: block;
  left: var(--detail-x);
  top: var(--detail-y);
  bottom: auto;
  --light-width: var(--detail-size);
  transform: translate(-50%, -50%);
  rotate: var(--detail-angle);
  opacity: .44;
}


/* Detail-page refinements. */
main.subpage[data-page="guidelines"] > .wrap > .page-lead {
  width: min(100%, 960px);
}
main.subpage[data-page="media"] .detail-section.media-panel {
  row-gap: 0;
}
main.subpage[data-page="media"] .media-panel > h2 {
  margin-top: 6px;
}
main.subpage[data-page="media"] .media-panel > .gallery-grid {
  margin-block-start: var(--media-heading-space);
}
main.subpage[data-page="media"] .video-card {
  overflow: hidden;
  border: 1px solid var(--site-cyan);
  border-radius: 12px;
  box-shadow: 0 0 8px #7ddeff66;
}
main.subpage[data-page="media"] .video-card .video-player {
  border-radius: 0;
}
main.subpage[data-page="about"] .about-feature .about-photo {
  border: 0;
  box-shadow: none;
}
@media (min-width: 768px) {
  main.subpage[data-page="about"] .about-feature {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
main.subpage[data-page="about"] .about-links > div {
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  gap: 10px;
  padding-block: 16px;
}
main.subpage[data-page="about"] .about-links .button {
  margin: 0;
  min-width: 0;
  max-width: 100%;
}
main.subpage[data-page="members"] .profile-trigger {
  padding: 0;
  overflow: hidden;
  background: #4c306e;
  border-color: #d5bce78f;
  cursor: pointer;
}
main.subpage[data-page="members"] .profile-card img {
  border: 0;
  border-radius: 0;
}
main.subpage[data-page="members"] .profile-name {
  background: #382151;
}
main.subpage[data-page="members"] .profile-name::before {
  content: none;
}
main.subpage[data-page="members"] .profile-name::after {
  inset-inline-end: .7em;
}
main.subpage[data-page="members"] .profile-trigger:is(:hover, :focus-visible) {
  border-color: #ff88bd;
  box-shadow: 0 0 8px #fe478e95, 0 0 17px #fe478e47;
}

main.subpage[data-page="media"] .media-panel > .kicker {
  margin-block-end: 0;
}
