/* The server's pages (pages/pages.js): one column on the ground, the lockup at the top, one primary per page. */
.pg { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; min-height: 100vh; }
:root[data-strip] .pg { min-height: calc(100vh - 44px); }
.pg__head { display: flex; align-items: center; padding: 20px 24px; }
.pg__lockup img { display: block; height: 28px; }
.pg__lockup .pg__lockup-light, :root[data-theme="light"] .pg__lockup .pg__lockup-dark { display: none; }
:root[data-theme="light"] .pg__lockup .pg__lockup-light { display: block; }
.pg__foot { display: flex; justify-content: center; gap: 16px; padding: 24px; color: var(--text-3); font-size: 13px; }
.pg__foot a { color: var(--text-2); text-decoration: none; }
.pg__foot a:hover { text-decoration: underline; }
.mark { width: 32px; height: 32px; }

/* the one box in the middle: a link, a squad link, a gone clip */
.pg--centre { place-items: center; }
.pg__box { display: grid; justify-items: center; gap: 8px; width: min(440px, 100%); padding: 20px; text-align: center; }
.pg__box h1, .pg__hero h1 { font: 600 24px/30px var(--ui); letter-spacing: -0.01em; }
.pg__line { color: var(--text-2); text-wrap: balance; }
.pg__big { height: 44px; padding: 0 20px; margin-top: 12px; font-size: 15px; }
.pg__small { color: var(--text-3); font-size: 13px; text-decoration: none; }
.pg__small a { color: inherit; }
.pg__box .pg__small { margin-top: 8px; }
.pg__faces .av { margin-left: -8px; --ring: var(--ground); }
.pg__faces .av:first-child { margin-left: 0; }
.pg__box .av--l { margin-bottom: 6px; }
.pg__mark { margin-bottom: 6px; }
.pg__who { font-weight: 500; text-wrap: balance; }
.pg__acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 8px; }
.pg__codes { display: flex; justify-content: center; gap: 24px; margin: 12px 0 0; }
.pg__codes dt { color: var(--text-3); font-size: 13px; }
.pg__codes dd { margin: 0; font: 600 24px/30px var(--ui); letter-spacing: 0.02em; }

/* download */
.pg--download .pg__hero { display: grid; justify-items: center; align-content: center; gap: 12px; padding: 24px; text-align: center; }
.pg--download h1 { font-size: 32px; line-height: 38px; }
.pg__get { display: grid; justify-items: center; gap: 10px; margin: 8px 0 24px; }
.pg__get small { color: var(--text-3); font-size: 13px; }
.pg__get small a { color: var(--text-2); }
.pg__three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; width: min(720px, 100%); text-align: left; }
.pg__one { display: grid; gap: 6px; padding: 16px 0 0; border-top: 1px solid var(--line); }
.pg__one .i { color: var(--text-2); }
.pg__one b { font-weight: 600; }
.pg__one span { color: var(--text-2); font-size: 13px; line-height: 18px; }
.pg__small + .pg__small { margin-top: 4px; }

/* a clip */
.pg--clip { grid-template-rows: auto auto auto 1fr; }
.pg__stage { position: relative; width: min(960px, 100% - 48px); aspect-ratio: 16 / 9; margin: 0 auto; border-radius: 10px; background: var(--well); overflow: hidden; }
.pg__poster { width: 100%; height: 100%; object-fit: cover; }
.pg__chip-play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border: 0; border-radius: 50%; background: var(--glass); backdrop-filter: var(--glass-blur); box-shadow: var(--glass-edge), var(--float); color: var(--text); cursor: pointer; }
.pg__chip-play:hover { background: var(--glass); }
.pg__meta { display: flex; align-items: center; gap: 12px; width: min(960px, 100% - 48px); margin: 16px auto 0; }
.pg__meta-text { display: grid; }
.pg__meta-text b { font-weight: 500; }
.pg__meta-text small { color: var(--text-3); font-size: 12px; }

@media (max-width: 600px) {
  .pg__three { grid-template-columns: 1fr; }
  .pg--download h1 { font-size: 26px; line-height: 32px; }
  .pg__meta { flex-wrap: wrap; }
}
