/* 100 Parades: the plain pages (every parade, balloons, performers, bands), built by tools/pages.mjs.
   Everything is under .sp (a plain page's <html>) or a seo- class. Tokens match the app: night first, type 12 14 16 20 28,
   radii 4 / 8 / 12 / 16, weights 400 500 700. */

html.sp {
  color-scheme: dark;
  --bg: #0b0b0a; --surface: #161614; --fill: #1f1f1d; --chosen: #2e2e2b; --line: #2c2c29;
  --g400: #6f6e68; --g500: #8c8b84; --quiet: #a5a59c; --ink: #f3f2ed;
  --accent: #ffd60a; --on-accent: #131311;
  --r-xs: 4px; --r-s: 8px; --r-m: 12px; --r-l: 16px;
  -webkit-text-size-adjust: 100%; background: var(--bg);
}
html.sp[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f2ed; --surface: #fff; --fill: #e9e7e1; --chosen: #dedbd3; --line: #d3d0c8;
  --g400: #b5b2a9; --g500: #8a877e; --quiet: #4b4c46; --ink: #131311;
}
.sp * { box-sizing: border-box; }
.sp body { margin: 0; background: var(--bg); color: var(--ink); font: 400 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.sp a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: from-font; }
.sp img { display: block; }
.sp :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--r-xs); }
.sp .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sp .tnum { font-variant-numeric: tabular-nums; }
.sp-skip { position: absolute; left: 16px; top: -48px; z-index: 10; padding: 8px 12px; border-radius: var(--r-s); background: var(--accent); color: var(--on-accent) !important; font-weight: 700; text-decoration: none; }
.sp-skip:focus { top: 12px; }

.sp-wrap { width: min(calc(100% - 32px), 1120px); margin: 0 auto; }
.sp-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; min-height: 64px; padding: 12px 0; }
.sp-brand { font-size: 20px; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; text-decoration: none; white-space: nowrap; }
.seo-hl { display: inline-block; padding: 0 6px 1px; border-radius: 6px; background: var(--accent); color: var(--on-accent); }
.sp-nav { display: flex; gap: 2px; margin-left: auto; margin-right: -10px; }
.sp-nav a { display: inline-flex; align-items: center; height: 36px; padding: 0 10px; border-radius: var(--r-s); font-weight: 500; text-decoration: none; white-space: nowrap; }
.sp-nav a[aria-current="page"] { background: var(--chosen); }
@media (hover: hover) { .sp-nav a:hover { background: var(--fill); } }
.sp main { padding-bottom: 8px; }
.sp main h1 { margin: 8px 0 4px; font-size: 28px; line-height: 1.15; font-weight: 700; letter-spacing: -.03em; text-wrap: balance; }
.sp-sub { margin: 0; color: var(--quiet); font-size: 16px; }
.sp-crumbs ol { display: flex; flex-wrap: wrap; gap: 0 6px; margin: 0; padding: 0; list-style: none; color: var(--quiet); font-size: 12px; }
.sp-crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--g400); }
.sp-crumbs a { text-decoration: none; }
@media (hover: hover) { .sp-crumbs a:hover { color: var(--ink); text-decoration: underline; } }
.sp-sec { margin-top: 40px; }
.sp-sec h2, .sp-info h2 { margin: 0 0 12px; font-size: 20px; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; scroll-margin-top: 16px; }
.sp-info h2 { margin-top: 28px; font-size: 16px; }
.sp-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: 48px; padding: 20px 0 40px; border-top: 1px solid var(--line); color: var(--quiet); }
.sp-foot a { text-decoration: none; font-weight: 500; color: var(--ink); }
@media (hover: hover) { .sp-foot a:hover { text-decoration: underline; } }

/* a balloon on its string, as on the app's strip */
.seo-bal { position: relative; display: inline-block; line-height: 0; isolation: isolate; }
.seo-bal img { width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .35)); }
.seo-bal::after { content: ""; position: absolute; z-index: -1; left: calc(var(--ax, .5) * 100%); top: calc(var(--ay, 1) * 100% - 3px); bottom: -16px; width: 8px; margin-left: -4px; background: no-repeat center / 8px 100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 18' preserveAspectRatio='none'%3E%3Cpath d='M4 0c-2 3 2 6 0 9s2 6 0 9' fill='none' stroke='%238c8b84' stroke-width='1.2' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); }
.seo-big img { max-width: min(100%, 300px); max-height: 300px; }
.seo-big::after { bottom: -56px; }
.seo-mid img { max-width: 96px; max-height: 84px; }
.seo-mid::after { bottom: -14px; }

/* a balloon's page */
.sp-balloon { display: grid; gap: 24px; margin-top: 16px; }
.sp-hero { display: grid; place-items: center; align-content: center; gap: 12px; min-height: 360px; padding: 24px 24px 72px; border-radius: var(--r-l); background: var(--surface); }
.sp-note { margin: 40px 0 -48px; text-align: center; }
.sp-info { min-width: 0; }
.sp-info h1 { margin-top: 0; }
.sp-blurb { margin: 16px 0 0; max-width: 62ch; font-size: 16px; line-height: 1.5; text-wrap: pretty; }
.sp-info > .seo-q { margin: 12px 0 0; }
.sp-srcs { margin: 32px 0 0; }
@media (max-width: 560px) {
  .sp-head { gap: 4px; padding-bottom: 4px; }
  .sp-nav { flex-basis: 100%; margin: 0 0 0 -8px; }
  .sp-nav a { padding: 0 8px; }
}
@media (min-width: 760px) {
  .sp-balloon { grid-template-columns: minmax(280px, 400px) minmax(0, 1fr); gap: 40px; align-items: start; }
  .sp-hero { min-height: 440px; position: sticky; top: 16px; }
}
.seo-stats { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 20px 0 0; padding: 0; }
.seo-stats dt { color: var(--quiet); font-size: 12px; line-height: 16px; }
.seo-stats dd { margin: 2px 0 0; font-size: 20px; line-height: 24px; font-weight: 700; letter-spacing: -.01em; }
.seo-facts { margin: 0; padding: 0 0 0 18px; }
.seo-facts li { margin: 0 0 8px; max-width: 70ch; text-wrap: pretty; }
.seo-facts li::marker { color: var(--g400); }
.seo-src { color: var(--quiet) !important; font-size: 12px; white-space: nowrap; }

/* lists of years, with a way to watch */
.seo-years-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.seo-years-list li { display: flex; flex-wrap: wrap; align-items: baseline; align-content: flex-start; gap: 2px 8px; min-height: 64px; padding: 10px 12px; border-radius: var(--r-m); background: var(--surface); }
.seo-years-list .seo-watch, .seo-years-list .seo-song, .seo-years-list .seo-as { flex-basis: 100%; }
.seo-years-list .seo-watch { justify-content: flex-start; }
.seo-years-list .seo-as { font-size: 12px; }
.seo-wide-cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.seo-y { font-size: 16px; font-weight: 700; text-decoration: none; }
@media (hover: hover) { .seo-y:hover { text-decoration: underline; } }
.seo-q { color: var(--quiet); }
.seo-n { color: var(--quiet); font-weight: 500; font-variant-numeric: tabular-nums; }
.seo-tag { display: inline-block; padding: 0 6px; border-radius: var(--r-xs); background: var(--chosen); color: var(--quiet); font-size: 12px; line-height: 20px; font-weight: 500; }
.seo-watch { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-size: 12px; font-weight: 500; line-height: 20px; text-decoration: none; white-space: nowrap; }
.seo-watch::before { content: ""; width: 0; height: 0; border-style: solid; border-width: 4px 0 4px 7px; border-color: transparent transparent transparent currentColor; }
@media (hover: hover) { .seo-watch:hover { text-decoration: underline; } }

/* grids and indexes */
.seo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 4px; margin: 0; padding: 0; list-style: none; }
.seo-card { display: flex; flex-direction: column; align-items: center; gap: 2px; height: 100%; padding: 10px 6px 8px; border-radius: var(--r-m); text-align: center; text-decoration: none; }
.seo-card .seo-bal { display: grid; place-items: end center; width: 96px; height: 100px; margin-bottom: 14px; }
.seo-nm { font-weight: 500; line-height: 18px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.seo-card .seo-q { font-size: 12px; }
@media (hover: hover) { .seo-card:hover { background: var(--fill); } }
.seo-also { margin: 12px 0 0; max-width: 90ch; color: var(--quiet); text-wrap: pretty; }
.seo-also a { color: var(--ink); text-decoration: none; }
@media (hover: hover) { .seo-also a:hover { text-decoration: underline; } }
.sp-nopic { max-width: 760px; }
.seo-jump { display: flex; flex-wrap: wrap; gap: 4px; margin: 20px 0 0; }
.seo-jump a { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 10px; border-radius: var(--r-s); background: var(--fill); font-weight: 500; text-decoration: none; font-variant-numeric: tabular-nums; }
@media (hover: hover) { .seo-jump a:hover { background: var(--chosen); } }
.seo-names { columns: 280px 4; column-gap: 32px; margin: 0; padding: 0; list-style: none; }
.seo-names li { break-inside: avoid; padding: 3px 0; }
.seo-names a { font-weight: 500; text-decoration: none; }
.seo-names .seo-q { font-size: 12px; white-space: nowrap; }
@media (hover: hover) { .seo-names a:hover { text-decoration: underline; } }
.seo-song { font-weight: 500; }

.sp-years { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px 40px; margin: 0; padding: 0; list-style: none; }
.sp-years p { margin: 2px 0 0; max-width: 62ch; text-wrap: pretty; }
.sp-years .seo-q { font-size: 12px; }
.seo-wide-cards li { min-height: 0; }
@media (min-width: 760px) { .sp-balloon.sp-nopic { grid-template-columns: minmax(0, 1fr); } }
