:root { --line: #e4d4d8; }
body { background: #191919; }
header, footer { color: #fff; }
header .brand span { color: #ff4635; }
header .contact, footer a { color: #fff; }
header .contact:hover, footer a:hover { color: #ffe900; }
header :focus-visible, footer :focus-visible { outline-color: #ffe900; }

.neon-poster { padding: 26px 0 0; }
.neon-board { --flash-cycle: 1.5s; display: grid; gap: 3px; }
.neon-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, var(--side));
  gap: 3px;
}
.neon-row-leading { grid-template-columns: minmax(0, var(--side)) minmax(0, 1fr); }
.neon-link {
  display: flow-root;
  align-content: center;
  min-width: 0;
  min-height: 48px;
  padding: .25em .34em;
  border: 0;
  background: var(--band);
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  font-size: clamp(17px, 3.5vw, 36px);
  font-weight: 950;
  line-height: 1.23;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
  text-align: var(--align, left);
  animation: band-flash var(--flash-cycle) steps(1, end) var(--delay, 0s) infinite;
}
.neon-link strong {
  color: var(--accent);
  font-weight: inherit;
  animation: accent-flash var(--flash-cycle) steps(1, end) var(--delay, 0s) infinite;
}
.neon-orange { --band: #f85c00; --text: #241500; --accent: #430641; --flash: #ffea00; --flash-ink: #231164; }
.neon-blue { --band: #2110a4; --text: #a6edff; --accent: #fff100; --flash: #a61536; --flash-ink: #ffe184; --flash-accent: #ffd0ed; --delay: -.54s; --align: right; }
.neon-yellow { --band: #ffeb00; --text: #151515; --accent: #20117c; --flash: #34ef3b; --flash-ink: #1a2730; --delay: -1.08s; }
.neon-red { --band: #b91020; --text: #ffe18a; --accent: #ffe54a; --flash: #4821c4; --flash-ink: #a6edff; --flash-accent: #ffda5f; --delay: -1.62s; --align: center; }
.neon-green { --band: #4be73f; --text: #151515; --accent: #401e6e; --flash: #f698f0; --flash-ink: #2b0545; --delay: -2.16s; }
.neon-violet { --band: #c88bff; --text: #251394; --accent: #57102d; --flash: #58dfff; --flash-ink: #141c64; --delay: -2.7s; --align: right; }
.neon-pink { --band: #ff7cc5; --text: #251238; --flash: #59dff8; --flash-ink: #122452; --delay: -2.97s; }
.neon-external { text-align: center; font-size: clamp(14px, 2.8vw, 30px); }
.neon-link:hover { text-decoration: underline; text-underline-offset: .12em; }
.neon-link:focus-visible { outline: 3px dashed currentColor; outline-offset: -5px; }
.neon-motion {
  display: block;
  margin: 8px 0 0 auto;
  min-height: 32px;
  padding: 4px 8px;
  border: 1px solid #767676;
  background: transparent;
  color: #fff;
  font-size: 12px;
}
.neon-motion[hidden] { display: none; }
.neon-motion:focus-visible { outline-color: #ffe900; }

.surprise-section, .playground {
  position: relative;
  margin-top: 34px;
  padding-inline: clamp(15px, 4vw, 34px);
  background: #fffafa;
  border-top: 3px solid #db1018;
}
.surprise-section[hidden], .playground[hidden] { display: none; }
.neon-panel-close {
  position: absolute;
  inset: 9px 12px auto auto;
  border: 1px solid #8c7277;
  padding: 2px 9px;
  background: #fff;
  color: #292124;
  font-size: 13px;
}
.playground { border-top-color: #ffeb00; }
footer { margin-top: 28px; border-top-color: #727272; }

@keyframes band-flash {
  0%, 100% { background-color: var(--band); color: var(--text); }
  50% { background-color: var(--flash); color: var(--flash-ink); }
}
@keyframes accent-flash {
  0%, 100% { color: var(--accent); }
  50% { color: var(--flash-accent, var(--flash-ink)); }
}

.neon-poster[data-paused] .neon-link,
.neon-poster[data-paused] .neon-link strong { animation: none; }
@media (max-width: 460px) {
  .neon-poster { padding-top: 12px; }
  .neon-link { padding-block: .38em; }
}
@media (prefers-reduced-motion: reduce) {
  .neon-link, .neon-link strong { animation: none; }
  .neon-motion { display: none; }
}
