/*
 * PoP: One Touch.
 * Cut from style.css; loaded only where it is used.
 */
/* One Touch on the front page: a row of four light cards under the featured story (phones: a row to swipe) */
.sideline { max-width: var(--wide); margin: -2rem auto 4.5rem; padding: 0 var(--gutter); }
.sideline__head { display: flex; align-items: baseline; gap: 1rem; margin: 0 0 1rem; font: 700 .9rem/1 var(--caps); letter-spacing: .14em; text-transform: lowercase; }
.sideline__name { color: var(--red-text); text-decoration: none; }
.sideline__all { margin-left: auto; color: var(--ink); text-decoration: none; font-size: .78rem; }
.sideline__all:hover, .sideline__name:hover { text-decoration: underline; text-decoration-color: var(--bright); text-underline-offset: 3px; }
.sideline__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; margin: 0; padding: 0; list-style: none; }
.sideline__item { display: flex; flex-direction: column; padding: .95rem 1.05rem 1.05rem; background: var(--card); border: 2px solid var(--ink); border-top: 4px solid var(--bright); }
/* no offset shadow: set apart from the story cards */
.sideline__meta { display: flex; justify-content: space-between; gap: .8rem; margin: 0 0 .5rem; font: 700 .68rem/1.3 var(--caps); letter-spacing: .1em; text-transform: lowercase; color: var(--red-text); }
.sideline__line { display: inline-flex; align-items: center; gap: .45rem; min-width: 0; }
.sideline__line svg { flex: none; width: 15px; height: 15px; }
.sideline__time { flex: none; color: var(--muted); text-decoration: none; }
.sideline__time:hover { color: var(--red-text); text-decoration: underline; }
.sideline__text { flex: 1; display: block; color: var(--ink); text-decoration: none; font-size: 1.08rem; line-height: 1.45; }
.sideline__text:hover { text-decoration: underline; text-decoration-color: var(--bright); text-underline-offset: 3px; }
.sideline .pscore { font-size: .98rem; }
/* the card's foot: the score, and what's attached (Clip, Photo, Play, Link) in the right corner of the same line */
.sideline__foot { display: flex; align-items: center; gap: .6rem; margin-top: .65rem; min-height: 1.6rem; }
.sideline__foot .pscore { min-width: 0; flex-wrap: nowrap; gap: .3rem .75rem; white-space: nowrap; }
.sideline__foot .pscore__team { gap: .35rem; }
/* a narrow card with something attached: the score without its "Final", so the line still fits */
.sideline__item { container-type: inline-size; }
@container (max-width: 19rem) {
  .sideline__foot:has(.sideline__chip) .pscore__status { display: none; }
}
.sideline__chip { flex: none; margin-left: auto; padding: .25em .55em; border: 1px solid var(--ink); font: 700 .64rem/1.2 var(--caps); letter-spacing: .12em; text-transform: lowercase; color: var(--ink); white-space: nowrap; }
.sideline__chip--link { border: 0; padding-left: 0; color: var(--red-text); }
.sideline__more { display: none; }
@media (max-width: 1200px) {
  .sideline__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* two a row before a score and its Clip or Play stop fitting on one line */
@media (max-width: 760px) {
  .sideline { margin-top: -1.5rem; }
  .sideline__list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); gap: 1rem; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) .4rem; scrollbar-width: none; }
  .sideline__item { flex: 0 0 80%; scroll-snap-align: start; }
}
/* One Touch: the Timeline, and one on its own page */
.passes-head { background: var(--night, #1a1418); color: var(--paper); }
.passes-head__in { max-width: 54rem; margin: 0 auto; padding: 2.6rem var(--gutter) 2.2rem; }
.passes-head__kicker { margin: 0 0 .5rem; color: var(--red-night, #ff6b82); }
.passes-head__kicker a { color: inherit; text-decoration: none; }
.passes-head__title { margin: 0 0 .5rem; font-size: clamp(2.4rem, 6vw, 3.6rem); line-height: 1.02; }
.passes-head__dek { margin: 0; max-width: 36rem; font-style: italic; color: rgba(255, 247, 232, .78); }
.passes-head__sports { display: flex; align-items: center; gap: .6rem; margin-top: 1.3rem; }
.passes-all { padding: .55rem .9rem; border: 2px solid var(--paper); color: var(--paper); text-decoration: none; font: 700 .72rem/1 var(--caps); letter-spacing: .14em; text-transform: lowercase; }
.passes-all.is-on { background: var(--paper); color: var(--ink); }
.passes-ball { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--paper); border: 2px solid var(--paper); opacity: .82; }
.passes-ball svg { width: 1.7rem; height: 1.7rem; }
.passes-ball.is-on, .passes-ball:hover { opacity: 1; box-shadow: 0 0 0 3px var(--bright); }
.passes--one + * { margin-top: 0; }
.passes-head--one .passes-head__in { padding: 1.1rem var(--gutter); }
.passes { max-width: 54rem; margin: 0 auto 4rem; padding: 0 var(--gutter); }
.passes__day { display: flex; gap: 1.1rem; margin: 2.2rem 0 0; padding: 0 0 .55rem; border-bottom: 3px solid var(--ink); font: 700 .82rem/1 var(--caps); letter-spacing: .14em; text-transform: lowercase; }
.passes__day span { width: 6.4rem; text-align: right; color: var(--red-text); }
.passes__none { margin: 3rem 0; font-style: italic; color: var(--muted); }
.passes__more { margin: 2rem 0 0 7.5rem; }
.pass { display: grid; grid-template-columns: 6.4rem minmax(0, 1fr); gap: 1.1rem; padding: 1.3rem 0; border-bottom: 1px dashed var(--rule); }
.pass__time { display: flex; flex-direction: column; align-items: flex-end; gap: .45rem; }
.pass__when-link { color: var(--ink); text-decoration: none; }
.pass__when-link:hover time { color: var(--red-text); }
.pass__time time { font-weight: 700; font-size: 1.45rem; line-height: 1; font-variant-numeric: lining-nums; }
.pass__time small { margin-left: .2em; font: 700 .62rem/1 var(--caps); letter-spacing: .1em; text-transform: lowercase; }
.pass__ball svg { display: block; width: 22px; height: 22px; }
.pass__line { display: flex; justify-content: space-between; gap: 1rem; margin: 0 0 .4rem; font: 700 .72rem/1.3 var(--caps); letter-spacing: .12em; text-transform: lowercase; color: var(--red-text); }
.pass__when { color: var(--muted); }
.pass__text { font-size: 1.22rem; line-height: 1.55; }
.pass__text > * { margin: 0 0 .8em; }
.pass__text > :last-child { margin-bottom: 0; }
.pass__text img, .pass__text video, .pass__text iframe { max-width: 100%; height: auto; border: 2px solid var(--ink); }
/* a diagram, clip or picture stays the size of a note, not of a story: 420px at most */
.pass__text figure, .pass__text .play, .pass__text .video, .pass__text .wp-video, .pass__text .pop-gif, .pass__text img, .pass__text video, .pass__text iframe, .pass__text .twitter-tweet { width: auto; max-width: min(100%, 420px) !important; }
.pass__text .play, .pass__text .video, .pass__text figure { width: 100%; margin: .2em 0 .9em; }
.pass__text .play svg { display: block; width: 100%; height: auto; }
.pass__text .wp-video { width: 100% !important; }
.pass__text .play figcaption, .pass__text .video figcaption { font-size: .9rem; }
/* one on its own page: a line to join free, then more */
.ot-join { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .6rem 1.2rem; margin: 1.6rem 0 0 7.5rem; padding: 1rem 1.2rem; background: var(--card); border: 2px solid var(--ink); border-top: 4px solid var(--bright); }
.ot-join__line { margin: 0; font-style: italic; font-size: 1.08rem; line-height: 1.35; }
.ot-join .newsletter__form { flex-wrap: nowrap; justify-content: flex-start; max-width: none; margin: 0; }
.ot-join .newsletter__form input[type="email"] { flex: 1 1 13rem; min-height: 44px; font-size: 1rem; }
.ot-join .newsletter__form .btn { white-space: nowrap; }
.ot-join .newsletter__note { display: none; }
.passes__more-head { margin: 3rem 0 0; font: 700 .78rem/1 var(--caps); letter-spacing: .16em; text-transform: lowercase; color: var(--red-text); }
.passes__more-head + .passes__day { margin-top: .9rem; }
@media (max-width: 900px) {
  .ot-join { grid-template-columns: minmax(0, 1fr); }
}
/* (the score now sits in the top row: see below) */
.pscore { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .3rem 1rem; color: var(--muted); text-decoration: none; font-size: 1.05rem; font-variant-numeric: lining-nums; }
.pscore__team { display: inline-flex; align-items: center; gap: .45rem; }
.pscore__team b { font-weight: 400; }
.pscore__team.is-won { color: var(--ink); font-weight: 700; }
.pscore__team.is-won b { font-weight: 700; }
.pscore__logo { width: 1.35em; height: 1.35em; object-fit: contain; border: 0; }
.pass__text .pscore__logo, .pass__score .pscore__logo { border: 0; }
.pscore__dot { display: inline-block; width: .85em; height: .85em; border-radius: 50%; background: var(--c, var(--rule)); box-shadow: 0 0 0 2px var(--r, transparent); }
.pscore__status, .pscore__read { font: 700 .66rem/1 var(--caps); letter-spacing: .12em; text-transform: lowercase; color: var(--muted); }
.pscore--link:hover .pscore__read { color: var(--red-text); }
.pass__link { margin: .8rem 0 0; font: 700 .76rem/1.3 var(--caps); letter-spacing: .1em; text-transform: lowercase; }
.pass__link a { color: var(--red-text); text-decoration: none; }
.pass__foot { display: flex; gap: 1.2rem; margin: .9rem 0 0; font: 700 .66rem/1 var(--caps); letter-spacing: .12em; text-transform: lowercase; }
.pass__foot a { color: var(--muted); text-decoration: none; }
.pass__share { padding: 0; background: none; border: 0; color: var(--ink); font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; text-decoration: underline; text-decoration-color: var(--bright); text-underline-offset: 3px; }
@media (max-width: 560px) {
  .pass { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  .pass__time { flex-direction: row; align-items: center; justify-content: flex-start; }
  .pass__time time { font-size: 1.1rem; }
  .passes__day span { width: auto; }
  .pass__text { font-size: 1.12rem; }
  .passes__more { margin-left: 0; }
  .ot-join { margin-left: 0; }
  .ot-join .newsletter__form { flex-wrap: wrap; }
}
/* Search: One Touch in their own group under the stories */
.search-one-touch { margin: 1rem 0 4rem; }
/* in line with the story cards above it */
.tax-pop_player .search-one-touch { margin: 1rem auto 4rem; }
/* a player's page: centred under his stories */
.search-one-touch .passes__more-head { margin: 2.4rem 0 0; padding: 0 0 .55rem; border-bottom: 3px solid var(--ink); }
.search-one-touch .passes__more-head a { color: inherit; text-decoration: none; }
.search-one-touch .pass__time time { font-size: 1.15rem; white-space: nowrap; }
.formats + .sideline { margin-top: 0; }
.pop-known .formats + .sideline { margin-top: -2rem; }
/* "By Mark Travis" stays together, like the date and the read time */
/* One Touch's top row: the line on the left, the game's score in the middle, when on the right */
.pass__line.has-score { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; }
.pass__line.has-score .pass__when { text-align: right; }
.pass__line .pass__score { margin: 0; font: 400 1rem/1.2 var(--text); letter-spacing: normal; text-transform: none; }
.pass__line .pscore { flex-wrap: nowrap; gap: .3rem .8rem; font-size: 1rem; white-space: nowrap; }
.pass__line .pscore__logo { width: 1.3em; height: 1.3em; }
.pass__line .pscore--link:hover b { text-decoration: underline; text-decoration-color: var(--bright); }
@media (max-width: 560px) {
  /* phones: the line and when on the first row, the score under them */
  .pass__line.has-score { grid-template-columns: minmax(0, 1fr) auto; row-gap: .45rem; }
  .pass__line.has-score .pass__score { grid-row: 2; grid-column: 1 / -1; }
}
/* A One Touch's own title, when it has one */
.pass__title { margin: .1rem 0 .45rem; font-size: 1.45rem; line-height: 1.15; }
.pass__title a { color: inherit; text-decoration: none; }
.pass__title a:hover { text-decoration: underline; text-decoration-color: var(--bright); text-underline-offset: 3px; }
/* A video in One Touch: the full width of the note (diagrams, pictures and GIFs stay at 420px) */
.pass__text .video, .pass__text .wp-video, .pass__text > video, .pass__text p > video, .pass__text iframe { width: 100% !important; max-width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }
.pass__text .video iframe, .pass__text .wp-video video, .pass__text .video video { width: 100% !important; max-width: 100% !important; }
.pass__text iframe { display: block; aspect-ratio: 16 / 9; height: auto; }
/* a Broadcast Studio clip plays at the note's full width (not the 420px other pictures and clips are kept to),
   so the marks on it read; its video fills its frame, with no border of its own */
.pass__text .bcast { width: 100% !important; max-width: 100% !important; margin: .4em 0 1em; }
.pass__text .bcast .bcast__media, .pass__text .bcast video { width: 100% !important; max-width: 100% !important; height: 100%; border: 0; }
/* …and a finished clip, on the Timeline and a note's own page, is as big as in a story: on a computer it
   breaks out of the note, up to 66rem, centred on the page (the note's column sits 3.75rem right of the
   page's middle, past the time); its steps and buttons stay in line with the note under it */
@media (min-width: 900px) {
  .passes:not(.search-one-touch) .pass__text .bcast--clip { --col: calc(54rem - 2 * var(--gutter) - 7.5rem); width: min(66rem, calc(100vw - 2 * var(--gutter))) !important; max-width: none !important; margin-left: 50%; transform: translateX(calc(-50% - 3.75rem)); }
  .passes:not(.search-one-touch) .pass__text .bcast--clip .bcast__cap { max-width: var(--col); margin-left: calc(50% - var(--col) / 2 + 3.75rem); }
}
/* Links in a One Touch: the same as in a story (the bright underline, a tint on hover) */
.pass__text a:not(.btn) { text-decoration-line: underline; text-decoration-color: var(--bright); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.pass__text a:not(.btn):hover { background: color-mix(in srgb, var(--bright) 18%, transparent); }
.pass__text a:has(img, video, svg), .pass__text a:has(img, video, svg):hover { text-decoration: none; background: none; }
.pass__text a.gloss { text-decoration-style: dotted; text-decoration-color: var(--red); text-underline-offset: 4px; cursor: help; }
/* One Touch notes ([note]): on every screen, the number opens the note in a box under its line */
.pass__text a.sn-ref__btn {
  font: 700 .72em/1 var(--text); font-variant-numeric: lining-nums; color: var(--red-text);
  text-decoration: none; background: none; border: 0; padding: .45em .3em; margin: -.45em -.18em;
  cursor: pointer; vertical-align: super;
}
.pass__text a.sn-ref__btn:hover { text-decoration: underline; background: none; }
.pass__text a.sidenote__num { font: 700 .95em/1 var(--text); font-variant-numeric: lining-nums; color: var(--red-text); text-decoration: none; margin-right: .25em; background: none; }
.pass__text .sidenote { font-size: .78em; }
.pass__text .sidenote:target, .pass__text .sidenote.is-open { box-shadow: inset 0 0 0 1px var(--rule); }
