/* ============================================================================
   Lions Sports Club, the paged game day program
   ----------------------------------------------------------------------------
   Loaded by /gameday ON TOP OF gameday.css, never instead of it. This file
   styles the book: the deck, the page, the header band, the tab strip. Every
   thing printed inside a page, the player rows, the senior treatment, the
   position table, the schedule rows, the sponsor tiles, is already styled by
   gameday.css and is reused untouched.

   That split is the point. The single scroll view and the program view render
   the same components from the same CSS, so a change to how a senior is marked
   lands in both and neither can quietly drift away from the other.

   THE PAGING IS CSS. A horizontal flex row in a scroll container with
   scroll-snap-type: x mandatory. No carousel library, no touch handlers, no
   transform math. The browser does the swipe, the momentum, the rubber band
   and the settle, which is why it feels native, because it is. The script that
   ships alongside this file only reports which page is showing and lets the
   tab strip and the arrow keys move it.

   With JavaScript off you can still swipe every page and every #anchor still
   lands, because scrolling an anchor into view is something the browser does
   on its own. What stops is the tab strip highlight.
   ============================================================================ */

.pgm {
    /* Measured from .site-header at runtime, because the header is one line on
       a phone and can wrap on a small tablet. The fallback is the computed
       height of the normal case, 48px logo plus 12px padding either side plus
       the 1px rule, so the layout is right before the script runs and does not
       jump when it does. */
    --pgm-head: 73px;

    height: calc(100svh - var(--pgm-head));
    min-height: 440px;

    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--black);
    position: relative;
}

/* svh is the viewport with the browser chrome EXPANDED, which is the height
   that does not change as you scroll. dvh would resize the whole book every
   time a phone hid its address bar, and a page that resizes under a thumb
   mid-swipe loses the snap. Older engines that know neither get vh. */
@supports not (height: 100svh) {
    .pgm { height: calc(100vh - var(--pgm-head)); }
}

/* ----------------------------------------------------------------------------
   The deck
   ---------------------------------------------------------------------------- */

.pgm__deck {
    flex: 1 1 auto;
    min-height: 0;

    display: flex;
    overflow-x: auto;
    overflow-y: hidden;

    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;

    /* Stops a hard flick from throwing four pages past the one you wanted. A
       page turn is one page. */
    scroll-snap-stop: always;

    /* Keeps a horizontal swipe from reaching the browser and triggering a back
       gesture, which on iOS would leave the stadium instead of turning a page. */
    overscroll-behavior-x: contain;

    scrollbar-width: none;
    -ms-overflow-style: none;
}

.pgm__deck::-webkit-scrollbar { display: none; }

@media (prefers-reduced-motion: reduce) {
    .pgm__deck { scroll-behavior: auto; }
}

/* Set for the one frame in which the script jumps to a deep linked page, so
   the book opens at the cheer page rather than visibly riffling to it. */
.pgm__deck.is-jumping { scroll-behavior: auto; }

/* ----------------------------------------------------------------------------
   A page
   ---------------------------------------------------------------------------- */

.pgm-page {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    min-width: 0;

    scroll-snap-align: start;
    scroll-snap-stop: always;

    display: flex;
    flex-direction: column;
}

/* The band across the top of a page. Sits outside the scrolling body on
   purpose: on the roster pages it is what tells you which team you are looking
   at, and a label that scrolls away halfway down a list of thirty three names
   is a label that is gone exactly when it is needed. */
.pgm-page__head {
    flex: 0 0 auto;
    display: flex;
    align-items: baseline;
    gap: 10px;

    padding: 11px 16px;

    /* THE BAND IS NEUTRAL ON EVERY PAGE, and it used to be the team color on
       the three team pages. That put two colored bars on top of each other:
       a blue HIGH SCHOOL band with a blue LIONS roster header directly under
       it, saying the same thing twice in the same color.

       One bar carries the color now, and it is the one attached to the thing
       it labels. The band names the page; the header names the team whose
       names follow it, and that is the one worth coloring. */
    background: var(--dark-card);
    color: var(--gold);
    border-bottom: 2px solid var(--gold);
}

.pgm-page__title {
    flex: 1 1 auto;
    min-width: 0;

    margin: 0;
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.17em;
    text-transform: uppercase;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .pgm-page__title { font-size: 0.9375rem; }
    .pgm-page__head  { padding: 14px 22px; }
}

/* Page 3 of 7. A program has page numbers. This one earns its space by being
   the only thing on screen that says how much book is left. */
.pgm-page__folio {
    flex: 0 0 auto;
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--gray-text);
    font-variant-numeric: tabular-nums;
}

/* A page shorter than the space it is in sits in the middle of it rather than
   hanging off the band with the rest of the height left black. On a 2560 wide
   screen the staff list held the top third of the page and nothing held the
   rest.

   safe, and it matters. Plain centering pushes anything TALLER than the page,
   which is every roster, above the scroll origin, where the first row cannot
   be reached by scrolling at all. With the keyword a tall page top aligns and
   scrolls exactly as it did. Browsers that do not know it drop the second line
   and keep the first. */
.pgm-page__body {
    flex: 1 1 auto;
    min-height: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
    justify-content: safe center;

    overflow-y: auto;
    /* A flick that runs off the end of the roster must not carry on into the
       document and drag the footer up over the book. */
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;

    padding: 16px 14px 26px;
}

@media (min-width: 768px) {
    .pgm-page__body { padding: 22px 22px 32px; }
}

/* One measure for every page, so the roster, the schedule and the sponsors all
   start on the same left edge instead of each finding their own. */
.pgm-page__inner {
    max-width: 720px;
    margin: 0 auto;

    /* width, and it is load bearing. .pgm-page__body is a flex column, and an
       auto inline margin on a flex item makes it size to its CONTENT instead of
       stretching. A junior high only fixture has four coaches, so the silver
       heading row collapsed to the width of the longest name: 191px on a 390px
       phone. With this the page always fills its measure and the row spans it. */
    width: 100%;
}

/* The cover carries the scoreboard, which is the widest thing in the book. */
.pgm-page--cover .pgm-page__inner { max-width: 1160px; }

/* A page holding a grid rather than a column of reading. The default measure
   is set for a roster read on a phone, and on a desktop it leaves a staff list
   as a narrow ribbon down the middle of a black field. */
.pgm-page--wide .pgm-page__inner { max-width: 1180px; }

/* ----------------------------------------------------------------------------
   Page colors

   The three team colors mean something on this site: blue is high school,
   silver is junior high, magenta is cheer. What carries them is the header
   over the names, not the band across the top of the page. The band is the
   same neutral bar everywhere, so a page shows one colored row rather than
   two stacked saying the same thing.

   --tab is the tab strip, which is the one place the color is worth
   repeating: it is how you tell six tabs apart at a glance on a phone.

   --level is read by everything printed INSIDE a page, the roster header, the
   jersey chips, the cheer header, the coaching rows. The single scroll view
   sets it on .gd-level--hs and always has. The program set only the band, so
   every roster header on a junior high or cheer page fell through to the blue
   default and printed the high school color.
   ---------------------------------------------------------------------------- */

.pgm-page--hs {
    --tab: var(--level-hs);
    --level: var(--level-hs);
    --level-ink: var(--white);
    --level-ink-2: rgba(255, 255, 255, 0.82);
}

.pgm-page--jh {
    --tab: var(--level-jh);
    --level: var(--level-jh);
    --level-ink: var(--black);
    --level-ink-2: #3A3A3A;
}

.pgm-page--cheer {
    --tab: var(--level-cheer);
    --level: var(--level-cheer);
    --level-ink: var(--white);
    --level-ink-2: rgba(255, 255, 255, 0.82);
}

.pgm-page--book { --tab: var(--gold); }

/* The cover has no band. The scoreboard is the title. */
.pgm-page--cover .pgm-page__head { display: none; }
.pgm-page--cover { --tab: var(--gold); }

/* Centering moved to .pgm-page__body, which every page now shares. What is left
   is the cover's own top padding: it has no band above it, so without this the
   scoreboard starts hard against the header. */
.pgm-page--cover .pgm-page__body { padding-top: 10px; }

/* ----------------------------------------------------------------------------
   The cover, built out of the hero components in gameday.css

   Those components were written for the top of a long page that owned the
   whole width and had a black background of its own. Inside a page they need
   their outer spacing and their background taken back, and nothing else.
   ---------------------------------------------------------------------------- */

.pgm .gd-hero {
    padding: 0;
    background: transparent;
}

.pgm .gd-hero .container { padding-left: 0; padding-right: 0; }

.pgm .gd-fixture  { margin-top: 16px; }
.pgm .gd-tickets  { margin-top: 18px; }

/* Shown once, on the cover, and only where a swipe is the way to turn a page.
   A mouse gets the arrows instead and does not need to be told to swipe. */
.pgm-cover__hint {
    margin: 18px 0 0;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--gray-text);
}

.pgm-cover__hint svg {
    width: 15px;
    height: 15px;
    vertical-align: -3px;
    margin-left: 6px;
    animation: pgm-nudge 1.9s ease-in-out infinite;
}

@keyframes pgm-nudge {
    0%, 62%, 100% { transform: translateX(0); }
    78%           { transform: translateX(5px); }
}

@media (prefers-reduced-motion: reduce) {
    .pgm-cover__hint svg { animation: none; }
}

@media (min-width: 900px) and (pointer: fine) {
    .pgm-cover__hint { display: none; }
}

/* ----------------------------------------------------------------------------
   The tab strip

   At the bottom because this is read one handed, standing up, and the bottom
   of a phone is where a thumb already is. It is the navigation and the progress
   indicator at once. Dots were the other option and were dropped: a dot tells
   you there is a page five, a label tells you it is the schedule.
   ---------------------------------------------------------------------------- */

.pgm-nav {
    flex: 0 0 auto;
    display: flex;
    align-items: stretch;

    background: var(--dark);
    border-top: 1px solid rgba(255, 255, 255, 0.14);

    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;

    /* Clears the iPhone home indicator. Zero everywhere else. */
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.pgm-nav::-webkit-scrollbar { display: none; }

.pgm-nav__tab {
    flex: 1 0 auto;
    min-width: 64px;
    min-height: 46px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 13px;

    font-family: var(--font-heading);
    font-size: 0.71875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;

    color: var(--gray-text);
    background: transparent;
    border: 0;
    border-top: 3px solid transparent;
    cursor: pointer;
}

.pgm-nav__tab:hover { color: var(--white); }

.pgm-nav__tab.is-current {
    color: var(--tab-ink, var(--white));
    border-top-color: var(--tab, var(--gold));
    background: rgba(255, 255, 255, 0.05);
}

/* Each tab is tinted with the color of the page it opens, so the strip is a
   map of the book rather than seven identical labels. */
.pgm-nav__tab--hs    { --tab: var(--level-hs);    --tab-ink: #7FB2E4; }
.pgm-nav__tab--jh    { --tab: var(--level-jh);    --tab-ink: #D8D8D8; }
.pgm-nav__tab--cheer { --tab: var(--level-cheer); --tab-ink: #E58BAF; }
.pgm-nav__tab--cover { --tab: var(--gold);        --tab-ink: var(--gold); }
.pgm-nav__tab--book  { --tab: var(--gold);        --tab-ink: var(--gold); }

@media (min-width: 768px) {
    .pgm-nav__tab { font-size: 0.78125rem; padding: 6px 20px; }
}

/* ----------------------------------------------------------------------------
   Desktop page turn

   A mouse cannot swipe. These are the only reason the program is usable on a
   laptop, so they are not decoration and they do not hide until hover.
   ---------------------------------------------------------------------------- */

.pgm-arrow {
    position: absolute;
    /* Centered on the deck, not on the book. The book is the deck plus a 46px
       tab strip, so centring on the book would sit both arrows 23px low. */
    top: calc(50% - 45px);
    z-index: 4;
    display: none;

    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;

    color: var(--white);
    background: rgba(20, 20, 19, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    cursor: pointer;
}

.pgm-arrow:hover  { background: var(--blue-primary); border-color: var(--blue-primary); }
.pgm-arrow svg    { width: 20px; height: 20px; }
.pgm-arrow--prev  { left: 12px; }
.pgm-arrow--next  { right: 12px; }
.pgm-arrow[disabled] { opacity: 0.28; cursor: default; }
.pgm-arrow[disabled]:hover { background: rgba(20, 20, 19, 0.78); border-color: rgba(255, 255, 255, 0.22); }

@media (min-width: 900px) and (pointer: fine) {
    .pgm-arrow { display: flex; }
}

/* ----------------------------------------------------------------------------
   Roster pages inside the book
   ---------------------------------------------------------------------------- */

/* The controls follow the list. Scrolling to the bottom of a roster and then
   back to the top to search it is the whole reason people give up on a search
   box. */
.pgm .gd-roster__controls {
    position: sticky;
    top: -16px;
    z-index: 3;
    margin: -16px -14px 0;
    padding: 12px 14px;
    background: var(--black);
}

@media (min-width: 768px) {
    .pgm .gd-roster__controls {
        top: -22px;
        margin: -22px -22px 0;
        padding: 14px 22px;
    }
}

/* gameday.css gives the table wrap a page sized inset. Inside a page that is
   already inset, it doubles. */
.pgm .gd-table-wrap { padding: 0; }

/* A roster page is given more measure than the rest of the book. Seven hundred
   pixels is a good line length for prose and a waste of a laptop for a list of
   names two words long. */
.pgm-page--hs .pgm-page__inner,
.pgm-page--jh .pgm-page__inner { max-width: 1000px; }

/* Newspaper columns for the Lions, once there is room and there is no opponent
   list to fill the other half of the grid. This is what a paper program does,
   and on a laptop it is the difference between reading the roster and scrolling
   it: three columns puts all thirty three names on screen at once.

   Scoped to the no-opponent case on purpose. When an opponent roster arrives,
   gd-numgrid already puts the two teams side by side, and splitting the Lions
   into columns inside their own half would read as four teams. */
@media (min-width: 900px) {
    /* The grid drops to one column so the Lions get the full measure. The
       opponent block is not lost, it moves underneath, which is the right
       weight for a line that exists to say a roster has not arrived. */
    .pgm .gd-numgrid.is-solo { grid-template-columns: 1fr; }
    .pgm .gd-numgrid.is-solo .gd-numcol--opp { margin-top: 18px; }

    .pgm .gd-numgrid.is-solo .gd-players {
        column-count: 2;
        column-gap: 30px;
    }
    .pgm .gd-numgrid.is-solo .gd-players li {
        break-inside: avoid;
        -webkit-column-break-inside: avoid;
    }
    /* column-count puts the first item of every column hard against the top,
       which cancels the top margin the list uses to separate rows. Moved to
       the bottom, where every item has one. */
    .pgm .gd-numgrid.is-solo .gd-players li + li { margin-top: 0; }
    .pgm .gd-numgrid.is-solo .gd-players li      { margin-bottom: 10px; }
}

@media (min-width: 1240px) {
    .pgm .gd-numgrid.is-solo .gd-players { column-count: 3; }
}

/* A jersey number a parent reads from a bleacher seat in daylight. 16px is the
   floor on a phone, not a target. */
@media (max-width: 480px) {
    .pgm .gd-player__name { font-size: 1rem; }
}

.pgm .gd-level-heading,
.pgm .gd-level-sub { display: none; }

/* The level heading and the kickoff line are in the band above. Repeating them
   as the first thing in the body says it twice, except on a doubleheader where
   the band cannot hold two opponents and a map link as well. */
.pgm-page__note {
    margin: 0 0 14px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--gray-light);
}

.pgm-page__note .gd-map { margin-left: 0; }

/* ----------------------------------------------------------------------------
   Schedule and sponsors inside the book
   ---------------------------------------------------------------------------- */

.pgm .gd-schedule,
.pgm .gd-sponsors {
    padding: 0;
    background: transparent;
}

.pgm .gd-schedule .container,
.pgm .gd-sponsors .container {
    padding-left: 0;
    padding-right: 0;
}

.pgm .gd-sponsor-grid { margin-top: 0; }
.pgm .gd-sponsors__cta { margin-top: 20px; }

.pgm-staff {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* A COLORED ROW BEHIND THE HEADING, not a colored panel behind everything.
   Blue for high school, silver for junior high, magenta for cheer, taking the
   same --level tokens the roster pages use.

   The heading is deliberately the same object as .gd-numcol__head, the bar over
   a roster: same weight, same tracking, same padding. A reader who has seen the
   blue LIONS bar on the high school page already knows what a blue bar means,
   and the staff page borrows that rather than inventing a second vocabulary.

   The rows themselves sit on the page's own dark surface, so the color marks
   the section without three solid blocks competing with the roster pages. */
.pgm-staff-group { margin-bottom: 26px; }

.pgm-staff-group:last-child { margin-bottom: 0; }

.pgm-staff__group {
    margin: 0;
    background: var(--level, var(--dark-card));
    color: var(--level-ink, var(--white));
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 13px 10px;
}

@media (min-width: 768px) { .pgm-staff__group { font-size: 0.875rem; padding: 16px 18px; } }

/* TEAM BY TEAM, ruled by Jason 2026-10-07. The page prints every Lions staff,
   then the opponent's, and names each team once above its groups with its
   mark, so the bands below can lead with the group: High School Football,
   Junior High Football, Cheer. Each band still names its team on the second
   line, because a band scrolled into view on a phone has no header above it.

   The crest reuses the cover's: our mark as a background, theirs as an image
   in a white ring that gameday.js swaps for initials if the hotlink fails. It
   is pinned at 40 pixels here, where the cover's grows on wider screens. The
   rule under the header is --gray-dark, which outdoor mode leaves alone, so
   it reads on the dark page and on the white one. */
.pgm-staff-team + .pgm-staff-team { margin-top: 46px; }

.pgm-staff-team__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 14px;
    padding: 0 0 12px;
    border-bottom: 1px solid var(--gray-dark);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--white);
}
.pgm-staff-team__head .gd-side__crest { width: 40px; height: 40px; }
.pgm-staff-team__name { min-width: 0; overflow-wrap: break-word; }
.pgm-staff-team__side {
    margin-left: auto;
    flex-shrink: 0;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--gray-text);
}
@media (min-width: 768px) {
    .pgm-staff-team__head { font-size: 1.5rem; }
    .pgm-staff-team__side { font-size: 0.75rem; }
}

/* THE OPPOSING STAFF. Its band takes the opponent's gray for that group, the
   same shade its roster wears (gameday.css), so it cannot be read as a fourth
   team of ours. A staff with no level falls back to the old gray. Its ink is
   set with the fill and not taken from a level, which is the mistake the
   junior high number chip made: a quieter second line would otherwise fall
   back to a tint meant for a level fill. */
.pgm-staff-group--opp .pgm-staff__group { background: var(--opp, var(--gray-dark)); color: var(--opp-ink, var(--white)); }
.pgm-staff-group--opp .gd-team-side      { color: var(--opp-ink, var(--white)); }

/* A grid, one entry per cell, rather than one list flowed through CSS columns.
   Columns split a single list wherever the height happened to fall, which put
   the cheer heading over half the football staff on a desktop and read as a
   mistake because it was one. A grid inside a section cannot do that. */
.pgm-staff {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0 32px;
    list-style: none;
    margin: 0;
    padding: 12px 10px;
}

@media (min-width: 700px)  { .pgm-staff { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px)  { .pgm-staff { padding: 14px 18px; } }
@media (min-width: 1080px) { .pgm-staff { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Name over role, not name beside role. Beside, a real title like "Special
   Teams Coordinator, Assistant Offensive Coordinator" either squeezes the name
   into nothing or wraps under it anyway. Stacked, every cell is the same shape
   whatever the title runs to. */
.pgm-staff li {
    padding: 9px 0;
    min-width: 0;
}

.pgm-staff li + li { border-top: 1px solid rgba(255, 255, 255, 0.09); }

/* Only inside a single column does the rule between entries mean anything.
   Across a grid it draws a line above the first entry of every column, which
   reads as a stray rule under a heading that is not there. */
@media (min-width: 700px) {
    .pgm-staff li + li { border-top: 0; }
    .pgm-staff li { padding: 10px 0; }
}

.pgm-staff__name {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
}

.pgm-staff__role {
    display: block;
    margin-top: 2px;
    font-family: var(--font-body);
    font-size: 0.71875rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--gold);
}

/* ----------------------------------------------------------------------------
   A LARGE DESKTOP IS NOT A BIG PHONE.

   The book was sized for a phone, nudged once at 768, and left there. On a 2560
   wide monitor that is a phone sized program floating in the middle of a very
   large piece of glass. This raises the measure and the type together, so the
   proportions hold instead of one part growing while the rest stays put. The
   matching block for the components inside a page is in gameday.css.

   1600 is the floor. A 1440 laptop is already a normal size at a normal reading
   distance; this is for the monitor on a desk and for a television.
   ---------------------------------------------------------------------------- */
@media (min-width: 1600px) {
    .pgm-page__head  { padding: 18px 34px; }
    .pgm-page__title { font-size: 1.1875rem; }
    .pgm-page__folio { font-size: 0.875rem; }
    .pgm-page__body  { padding: 30px 34px 40px; }

    .pgm-page__inner                  { max-width: 920px; }
    .pgm-page--cover .pgm-page__inner { max-width: 1440px; }
    .pgm-page--wide .pgm-page__inner  { max-width: 1640px; }

    .pgm-nav__tab { font-size: 0.875rem; padding: 8px 26px; min-height: 54px; }
    .pgm-arrow    { width: 54px; height: 54px; }
    .pgm-arrow svg { width: 25px; height: 25px; }

    .pgm-staff-group  { margin-bottom: 34px; }
    .pgm-staff__group { font-size: 1rem; padding: 20px 26px; }
    .pgm-staff        { padding: 18px 26px; }
    .pgm-staff__name  { font-size: 1.3125rem; }
    .pgm-staff__role  { font-size: 0.875rem; margin-top: 3px; }
    .pgm-staff li     { padding: 13px 0; }

    /* Four across at this width. Three leaves the football panel four rows
       deep with half of every cell empty. */
    .pgm-staff { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 38px; }

    /* The roster pages carry their own measure, set for a laptop. A 33 player
       list at 1000px on a 2560 screen is a column of names down the middle
       with a black field either side of it. */
    .pgm-page--hs .pgm-page__inner,
    .pgm-page--jh .pgm-page__inner { max-width: 1400px; }

    /* And a fourth column of jersey numbers, which is what the extra width is
       for: it takes a page that scrolled and makes it fit. */
    .pgm .gd-numgrid.is-solo .gd-players { column-count: 4; }

    .pgm-page__note { font-size: 1.0625rem; margin-bottom: 18px; }
}

/* ----------------------------------------------------------------------------
   Print

   A program that cannot be printed is not a program. Paper has no swipe, so
   the deck unwraps into a stack, every page starts a new sheet, and the
   navigation that only exists to move between them goes away.
   ---------------------------------------------------------------------------- */

@media print {
    .pgm {
        height: auto;
        min-height: 0;
        overflow: visible;
        background: #FFFFFF;
    }
    .pgm__deck {
        display: block;
        overflow: visible;
        scroll-snap-type: none;
    }
    .pgm-page {
        width: auto;
        height: auto;
        display: block;
        break-after: page;
    }
    .pgm-page:last-child { break-after: auto; }
    .pgm-page__body {
        overflow: visible;
        padding: 0;
    }
    .pgm-nav,
    .pgm-arrow,
    .pgm-cover__hint,
    .pgm .gd-roster__controls,
    .pgm .gd-tickets { display: none; }
}
