/* ═══════════════════════════════════════════════════════════════
   HORSES TO WATCH, THE WATCHLIST
   Sly Man's Horses to Watch as race-day cards to pick: "Your afternoon"
   under the Wire's floodlit photograph, then a photographed card per
   horse bordered in its signal's colour, Sly's take, his full case
   behind a pill, and Pick.
   Loaded by Horses to Watch only, after wire_article.css (whose
   HORSES TO WATCH rules it dresses) and wire_picks.css (what it shares
   with Top Rated: the gold sparks and the pick toast).
   ═══════════════════════════════════════════════════════════════ */

/* Undo what wire_article.css's own "Your afternoon" (the design this one
   replaces, still the site's rollback) sets and this one does not.
   Removed with that design. */
.wire-htw-order__head { text-transform: none; }
.wire-htw-order__list { grid-template-columns: none; margin-top: 0; }
.wire-htw-stop a { box-shadow: none; }
.wire-htw-stop__when { font-size: inherit; line-height: inherit; font-weight: inherit; color: inherit; }
.wire-htw-stop__foot { font-size: inherit; line-height: inherit; }
.wire-htw-stop--next .wire-htw-stop__when { color: inherit; }
.wire-htw-stop--run .wire-htw-stop__name { color: var(--wire-htw-text); }
.wire-htw-stop--run .wire-htw-stop__price { color: var(--wire-gold-ink); }
.wire-htw-order__score { margin-top: 0; }
@media (max-width: 767px) {
  .wire-htw-order__list {
    grid-template-columns: none;
    grid-auto-columns: auto;
    overflow-x: visible;
    scroll-snap-type: none;
    scrollbar-width: auto;
    margin-right: 0;
  }
}

/* ── HORSES TO WATCH ───────────────────────────────────────────
   Sly Man's Horses to Watch: "Your afternoon" (the five in order of
   the off, the next to run marked, results as they land, the score),
   then one card per horse (silk with its price ticket, the signal, his
   opening line, "The case" as bars and figures, the connections, the
   links, a result stamp once run) and his signed verdict. The price
   ticket and badges are the Top Rated ones (.wire-tr-price,
   .wire-tr-badge).

   The watchlist is on white (the night-blue cards were not wanted): a
   compact card per horse, bordered in its signal's colour, showing Sly's
   opening line and opening onto the rest (WATCHLIST CARDS). Gold stays
   the accent: the darker gold-ink wherever it is small text on white,
   the gold pill and the ghost pill for the links. "Your afternoon" is a
   white card with the five as tiles; the next race off takes the green.

   Market Steamers reuses the card (.wire-pick.wire-steam), so the card
   rules below are its base too; the watchlist's own dress for them
   (WATCHLIST CARDS) applies only after a running order. */
/* The watchlist in the home page's own card language, made light: white
   cards, ink words, the brand gold for rings, buttons and fills and
   gold-ink for gold words; the Wire's own photograph of racing under
   lights heads the running order. Numbers (times, prices) are Barlow
   Condensed, the hero's racing face. --wire-htw-night is ink on gold. */
.wire-htw-order,
.wire-htw-order ~ .wire-art__body {
  --wire-htw-night: #030b16;
  --wire-htw-tint: #f1f1ef; /* a neutral stone */
  --wire-htw-gold-line: rgb(212 175 55 / 70%);
  --wire-htw-text: var(--c-ink);
  --wire-htw-text-2: var(--c-ink-70);
  --wire-htw-text-3: var(--wire-meta);
  --wire-htw-live: var(--wire-up);
  --wire-htw-cond: "Barlow Condensed", var(--wire-body);
  --wire-htw-lift: 0 2px 6px rgb(17 21 31 / 6%), 0 24px 44px -26px rgb(17 21 31 / 45%);
  --wire-htw-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238c6e10' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  /* The brand's own luxury, borrowed: the banner's metallic gold, the
     gold rule that fades in under the masthead (wire.css), and a soft
     depth for things at rest. */
  --wire-htw-gold-metal: linear-gradient(180deg, #f5e49a 0%, var(--wire-gold) 70%, #c8a020 100%);
  --wire-htw-gold-rule: linear-gradient(90deg, transparent, color-mix(in srgb, var(--wire-gold) 85%, transparent) 20%, var(--wire-gold-hi) 50%, color-mix(in srgb, var(--wire-gold) 85%, transparent) 80%, transparent);
  --wire-htw-rest: 0 1px 2px rgb(17 21 31 / 5%), 0 16px 34px -24px rgb(17 21 31 / 40%);
  --wire-htw-i-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M234.29 114.85l-45 38.83L203 211.75a16.4 16.4 0 0 1-24.5 17.82L128 198.49l-50.53 31.08A16.4 16.4 0 0 1 53 211.75l13.76-58.07-45-38.83A16.46 16.46 0 0 1 31.08 86l59-4.76 22.76-55.08a16.36 16.36 0 0 1 30.27 0l22.75 55.08 59 4.76a16.46 16.46 0 0 1 9.37 28.86z'/%3E%3C/svg%3E");
  --wire-htw-i-steam: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6.5l7 7 4-4 7 7'/%3E%3Cpath d='M21 10.5v6h-6'/%3E%3C/svg%3E");
  --wire-htw-i-flame: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5c1.2 3.8 5.8 6.3 5.8 11.6a5.8 5.8 0 0 1-11.6 0c0-2.7 1.4-4.6 2.8-5.9.1 2 1.1 3.4 2.5 3.8C11.3 8.6 10.9 5.3 12 1.5z'/%3E%3C/svg%3E");
  --wire-htw-i-trophy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2.5h10V5h3.5v3.2A4.3 4.3 0 0 1 16.2 12.5h-.5A5.2 5.2 0 0 1 13.2 15v2.5h3.3v3.5h-9v-3.5h3.3V15a5.2 5.2 0 0 1-2.5-2.5h-.5a4.3 4.3 0 0 1-4.3-4.3V5H7zM5.6 7.2v1a2 2 0 0 0 1.4 1.9V7.2zm11.4 0v2.9a2 2 0 0 0 1.4-1.9v-1z'/%3E%3C/svg%3E");
}
/* "Your afternoon": the five in order of the off, under the Wire's own
   photograph of racing under lights, darkened at its left for the words
   (and dark beneath, should the picture not load). Below it each stop
   gives the race time in large figures, the course, the silks in a gold
   ring, the horse, then price and result, under a bar in its signal's
   colour (data-signal, as its card below). The next race off takes the
   green. On a phone the five become a timetable, a row each. */
.wire-htw-order {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin-bottom: 32px;
  border-radius: 16px;
  background: var(--wire-htw-night);
  box-shadow: var(--wire-htw-rest);
  overflow: clip;
  color: var(--wire-htw-text);
}
.wire-htw-order::before {
  content: "";
  grid-row: 1 / 3;
  grid-column: 1;
  background:
    var(--wire-htw-gold-rule) center bottom / 100% 1px no-repeat,
    linear-gradient(90deg, rgb(11 11 15 / 86%) 0%, rgb(11 11 15 / 62%) 42%, rgb(11 11 15 / 0%) 80%),
    url("../img/lead.4e572252cb1b.webp") center 6% / cover no-repeat,
    var(--wire-htw-night);
}
.wire-htw-order__head {
  grid-row: 1;
  grid-column: 1;
  padding: 26px 24px 0;
  font-family: var(--wire-display);
  font-size: 28px;
  line-height: 32px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
}
.wire-htw-order__head span {
  display: block;
  margin-top: 4px;
  font-family: var(--wire-body);
  font-size: 16px;
  line-height: 22px;
  font-weight: 500;
  letter-spacing: 0;
  color: rgb(255 255 255 / 86%);
}
.wire-htw-order__score {
  grid-row: 2;
  grid-column: 1;
  padding: 10px 24px 24px;
  font-size: 16px;
  line-height: 22px;
  color: rgb(255 255 255 / 86%);
}
.wire-htw-order__score b {
  font-weight: 700;
  color: var(--wire-gold);
}
.wire-htw-order__list {
  grid-row: 3;
  grid-column: 1;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 10px;
  padding: 16px;
  background: var(--wire-htw-tint);
}
.wire-htw-stop a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 18px 6px 14px;
  border-radius: 12px;
  background: #fff;
  overflow: clip;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}
/* The signal's colour, a bar along the stop's top. */
.wire-htw-stop a::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--wire-htw-cat);
}
.wire-htw-stop a:hover {
  transform: translateY(-3px);
  box-shadow: var(--wire-htw-lift);
}
.wire-htw-stop a:active {
  transform: translateY(-1px) scale(0.98);
}
.wire-htw-order :focus-visible {
  outline-color: var(--wire-gold-ink);
}
.wire-htw-stop__when {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 60px;
}
.wire-htw-stop__when b {
  font-family: var(--wire-htw-cond);
  font-size: 24px;
  line-height: 26px;
  font-weight: 700;
  color: var(--wire-htw-text);
  font-variant-numeric: tabular-nums;
}
.wire-htw-stop__when span {
  margin-top: 2px;
  font-size: 13px;
  line-height: 16px;
  color: var(--wire-htw-text-3);
  text-wrap: balance;
}
.wire-htw-stop__silk {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-top: 6px;
  border: 2px solid transparent;
  border-radius: 50%;
  background: linear-gradient(#fff, #fff) padding-box, var(--wire-htw-gold-metal) border-box;
}
.wire-htw-stop__silk img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.wire-htw-stop__name {
  margin-top: 8px;
  font-family: var(--wire-display);
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
  color: var(--wire-htw-text);
  text-wrap: balance;
}
.wire-htw-stop__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 2px 8px;
  margin-top: auto;
  padding-top: 10px;
}
.wire-htw-stop__price {
  font-family: var(--wire-htw-cond);
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
  color: var(--wire-gold-ink);
  font-variant-numeric: tabular-nums;
}
.wire-htw-stop__foot .wire-tr-result {
  padding: 0;
  font-size: 13px;
  line-height: 16px;
  font-weight: 700;
  color: var(--wire-htw-text-3);
  background: none;
  box-shadow: none;
}
.wire-htw-stop__foot .wire-tr-result.wire-tr-result--placed {
  color: var(--wire-gold-ink);
}
.wire-htw-stop__foot .wire-tr-result.wire-tr-result--won {
  padding: 1px 8px 1px 3px;
  border-radius: 999px;
  color: var(--wire-htw-night);
  background: var(--wire-gold);
}
.wire-htw-stop__foot .wire-tr-result--won::before {
  width: 14px;
  height: 14px;
  font-size: 9px;
  color: var(--wire-gold);
  background: var(--wire-htw-night);
}
.wire-htw-stop--next a {
  box-shadow: inset 0 0 0 2px var(--wire-htw-live);
}
.wire-htw-stop--next .wire-htw-stop__when b,
.wire-htw-stop--next .wire-htw-stop__when span {
  color: var(--wire-htw-live);
}
.wire-htw-stop--next .wire-htw-stop__when::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-bottom: 4px;
  border-radius: 50%;
  background: var(--wire-htw-live);
  box-shadow: 0 0 0 0 rgb(26 125 74 / 55%);
  animation: wire-htw-live 1.8s ease-out infinite;
}
@keyframes wire-htw-live {
  to { box-shadow: 0 0 0 8px rgb(26 125 74 / 0%); }
}
/* ── WATCHLIST CARDS ── The cards after a running order (Horses to Watch
   only; Market Steamers keeps the card above). Each horse is built as
   "Your afternoon" is: a head on the Wire's own photograph for the
   horse's signal, darkened for its words (the silks in a gold ring, the
   name in white Playfair, the price in gold, the signal as a chip in its
   colour with the race, the connections, the result); then a stone field
   holding Sly's take on a white tile beside his portrait, and the
   invitation to read his full case with the home page's round gold
   button. A border in the signal's colour says the kind at a glance (the
   client's ask). A closed card opens wherever it is pressed (its summary
   stretches over it); open, the rest of his take, "The case" and the
   links follow on the stone. The side, main and silk wrappers step aside
   (display: contents) so each part takes its place on the card's grid;
   reading and tab order stay the markup's. A card opened by its own
   address is ringed in its colour. */
.wire-htw-order ~ .wire-art__body .wire-pick {
  position: relative;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  grid-template-areas:
    "silk name   price"
    "silk kicker result"
    "silk who    who"
    "lead lead   lead"
    "more more   more";
  gap: 0 16px;
  margin-top: 24px;
  padding: 20px 22px 12px;
  border: 2px solid var(--wire-htw-cat);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  border-radius: 16px;
  background: var(--wire-htw-tint);
  box-shadow: var(--wire-htw-rest);
  overflow: clip;
  color: var(--wire-htw-text);
  scroll-margin-top: 28px;
  /* The pointer's tilt (set by the script under the cards, on a mouse). */
  transform: perspective(1100px) rotateX(var(--htw-rx, 0deg)) rotateY(var(--htw-ry, 0deg));
  transition: box-shadow 0.3s ease, translate 0.3s ease, scale 0.15s ease;
}
/* The head's photograph, under its words: dark at the left for the name,
   and again at the right for the price; the masthead's gold rule along
   its foot. On a hover the camera tilts a little down the picture. */
.wire-htw-order ~ .wire-art__body .wire-pick::before {
  content: "";
  grid-row: 1 / 4;
  grid-column: 1 / -1;
  margin: -20px -22px -18px;
  background:
    radial-gradient(circle 260px at var(--htw-gx, 50%) var(--htw-gy, 50%), rgb(255 222 140 / calc(var(--htw-glint, 0) * 26%)), transparent 70%),
    linear-gradient(90deg, rgb(11 11 15 / 88%) 0%, rgb(11 11 15 / 58%) 36%, rgb(11 11 15 / 18%) 60%, rgb(11 11 15 / 24%) 78%, rgb(11 11 15 / 66%) 88%, rgb(11 11 15 / 80%) 100%),
    var(--wire-htw-photo) calc(50% - var(--htw-px, 0) * 20px) calc(var(--wire-htw-photo-y) - var(--htw-py, 0) * 5%) / calc(100% + 40px) auto no-repeat,
    var(--wire-htw-night);
}
/* The masthead's gold rule along the head's foot, drawn on its own so it
   can draw outwards from the centre as the card's floodlights come up. */
.wire-htw-order ~ .wire-art__body .wire-pick::after {
  content: "";
  grid-row: 3;
  grid-column: 1 / -1;
  align-self: end;
  height: 1px;
  margin: 0 -22px -18px;
  background: var(--wire-htw-gold-rule);
  pointer-events: none;
}
/* Floodlights up: where the script runs and motion is welcome
   (html.htw-motion), each card arrives at dusk; as it comes into view
   (.is-lit) its photograph is lit, the gold rule draws out from the
   centre, and its words rise into place one after another. Once each. */
.htw-motion .wire-htw-order ~ .wire-art__body .wire-pick::before {
  filter: brightness(0.32) saturate(0.6);
  transition: filter 1.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.htw-motion .wire-htw-order ~ .wire-art__body .wire-pick::after {
  scale: 0 1;
  transition: scale 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.35s;
}
.htw-motion .wire-htw-order ~ .wire-art__body :is(.wire-pick__silk img, h2.wire-pick__name, .wire-pick__kicker, .wire-pick__who, .wire-tr-price, .wire-pick__stamp) {
  opacity: 0;
  translate: 0 10px;
  transition: opacity 0.6s ease, translate 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.htw-motion .wire-htw-order ~ .wire-art__body .wire-pick.is-lit::before {
  filter: none;
}
.htw-motion .wire-htw-order ~ .wire-art__body .wire-pick.is-lit::after {
  scale: 1 1;
}
.htw-motion .wire-htw-order ~ .wire-art__body .wire-pick.is-lit :is(.wire-pick__silk img, h2.wire-pick__name, .wire-pick__kicker, .wire-pick__who, .wire-tr-price, .wire-pick__stamp) {
  opacity: 1;
  translate: 0 0;
}
.htw-motion .wire-htw-order ~ .wire-art__body .wire-pick.is-lit .wire-pick__silk img { transition-delay: 0.1s; }
.htw-motion .wire-htw-order ~ .wire-art__body .wire-pick.is-lit h2.wire-pick__name { transition-delay: 0.18s; }
.htw-motion .wire-htw-order ~ .wire-art__body .wire-pick.is-lit .wire-tr-price { transition-delay: 0.26s; }
.htw-motion .wire-htw-order ~ .wire-art__body .wire-pick.is-lit .wire-pick__kicker { transition-delay: 0.3s; }
.htw-motion .wire-htw-order ~ .wire-art__body .wire-pick.is-lit .wire-pick__stamp { transition-delay: 0.36s; }
.htw-motion .wire-htw-order ~ .wire-art__body .wire-pick.is-lit .wire-pick__who { transition-delay: 0.42s; }
/* Each signal's racing colour, for its card (by its badge) and its stop
   above (by data-signal). Top Rated, and any kind without a colour,
   keeps the gold. */
.wire-htw-stop,
.wire-htw-order ~ .wire-art__body .wire-pick {
  --wire-htw-cat: var(--wire-gold-ink);
}
.wire-htw-stop[data-signal="market"],
.wire-htw-order ~ .wire-art__body .wire-pick:has(.wire-tr-badge--market) {
  --wire-htw-cat: var(--wire-down); /* Steamer: Market Steamers' steam red */
}
.wire-htw-stop[data-signal="jockey"],
.wire-htw-order ~ .wire-art__body .wire-pick:has(.wire-tr-badge--jockey) {
  --wire-htw-cat: #a3501d; /* Hot Hands: copper, as the flame */
}
.wire-htw-stop[data-signal="yard"],
.wire-htw-order ~ .wire-art__body .wire-pick:has(.wire-tr-badge--yard) {
  --wire-htw-cat: #9d2457; /* the hot yard: cerise */
}
.wire-htw-stop[data-signal="other"],
.wire-htw-order ~ .wire-art__body .wire-pick:has(.wire-tr-badge--other) {
  --wire-htw-cat: #5b2c83; /* Course Winner, and any other: royal purple */
}
/* Each card its own photograph, none repeated: the Wire's five in card
   order ("Your afternoon" keeps the sixth, the floodlit lead), each
   cropped to its horse. The signal is told by the border and the chip. */
.wire-htw-order ~ .wire-art__body .wire-pick:nth-of-type(5n + 1) {
  --wire-htw-photo: url("../img/race.1b6cc6fe411d.webp");
  --wire-htw-photo-y: 22%;
}
.wire-htw-order ~ .wire-art__body .wire-pick:nth-of-type(5n + 2) {
  --wire-htw-photo: url("../img/jockey.244d54a3849b.webp");
  --wire-htw-photo-y: 30%;
}
.wire-htw-order ~ .wire-art__body .wire-pick:nth-of-type(5n + 3) {
  --wire-htw-photo: url("../img/steam.065773545b4a.webp");
  --wire-htw-photo-y: 22%;
}
.wire-htw-order ~ .wire-art__body .wire-pick:nth-of-type(5n + 4) {
  --wire-htw-photo: url("../img/green.01b75e522eae.webp");
  --wire-htw-photo-y: 30%;
}
.wire-htw-order ~ .wire-art__body .wire-pick:nth-of-type(5n + 5) {
  --wire-htw-photo: url("../img/field.7a9b0e4ada68.webp");
  --wire-htw-photo-y: 50%;
}
.wire-htw-order ~ .wire-art__body .wire-pick:hover {
  translate: 0 -3px;
  box-shadow: var(--wire-htw-lift);
}
.wire-htw-order ~ .wire-art__body .wire-pick:has(.wire-pick__more > summary:active) {
  translate: 0 -1px;
  scale: 0.995;
}
.wire-htw-order ~ .wire-art__body .wire-pick:has(.wire-pick__more > summary:focus-visible) {
  outline: 3px solid var(--wire-htw-cat);
  outline-offset: 3px;
}
.wire-htw-order ~ .wire-art__body .wire-pick:target {
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--wire-htw-cat) 25%, transparent), var(--wire-htw-lift);
}
.wire-htw-order ~ .wire-art__body :is(.wire-pick__side, .wire-pick__main, .wire-pick__silk) {
  display: contents;
}
/* The silks in a gold ring, white on the photograph. */
.wire-htw-order ~ .wire-art__body .wire-pick__silk img {
  grid-area: silk;
  position: static;
  align-self: center;
  box-sizing: border-box;
  width: 64px;
  height: 64px;
  padding: 10px;
  border: 2.5px solid transparent;
  border-radius: 50%;
  background: linear-gradient(#fff, #fff) padding-box, var(--wire-htw-gold-metal) border-box;
  object-fit: contain;
}
.wire-htw-order ~ .wire-art__body h2.wire-pick__name {
  grid-area: name;
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 0;
  font-size: 28px;
  line-height: 32px;
  letter-spacing: -0.015em;
  color: #fff;
  text-wrap: balance;
}
.wire-htw-order ~ .wire-art__body .wire-pick__n {
  flex: none;
  margin-right: 0;
  color: var(--wire-gold);
}
/* The words on the photograph keep a faint shadow, so they stay crisp
   where the picture is busy (not the gold figures, struck in metal). */
.wire-htw-order ~ .wire-art__body :is(h2.wire-pick__name, .wire-pick__kicker, .wire-pick__who) {
  text-shadow: 0 1px 2px rgb(0 0 0 / 55%);
}
.wire-htw-order ~ .wire-art__body .wire-pick__n {
  text-shadow: none;
}
/* Under the name: the signal as a chip in its colour, with its mark,
   then the race. */
.wire-htw-order ~ .wire-art__body .wire-pick__kicker {
  grid-area: kicker;
  gap: 4px 10px;
  margin-top: 8px;
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  color: rgb(255 255 255 / 88%);
}
.wire-htw-order ~ .wire-art__body .wire-pick__kicker .wire-tr-badge {
  gap: 6px;
  padding: 1px 11px 1px 9px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 22px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  vertical-align: baseline;
  color: #fff;
  background: var(--wire-htw-cat);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 24%), 0 2px 6px -2px rgb(0 0 0 / 45%);
}
.wire-htw-order ~ .wire-art__body .wire-pick__kicker .wire-tr-badge::before {
  width: 14px;
  height: 14px;
  border-radius: 0;
  background: currentColor;
  -webkit-mask: var(--wire-htw-i-trophy) center / contain no-repeat;
          mask: var(--wire-htw-i-trophy) center / contain no-repeat;
}
.wire-htw-order ~ .wire-art__body .wire-pick__kicker .wire-tr-badge--market::before {
  -webkit-mask-image: var(--wire-htw-i-steam);
          mask-image: var(--wire-htw-i-steam);
}
.wire-htw-order ~ .wire-art__body .wire-pick__kicker :is(.wire-tr-badge--jockey, .wire-tr-badge--yard)::before {
  -webkit-mask-image: var(--wire-htw-i-flame);
          mask-image: var(--wire-htw-i-flame);
}
.wire-htw-order ~ .wire-art__body .wire-pick__kicker .wire-tr-badge--rating::before {
  -webkit-mask-image: var(--wire-htw-i-star);
          mask-image: var(--wire-htw-i-star);
}
/* "Off 15:40", or "Off in 2h 10m" from wire_off.js: the race still to
   run, in a green that reads on the photograph, with its pulsing dot. */
.wire-htw-order ~ .wire-art__body .wire-pick__kicker time {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  color: #4ade80;
}
.wire-htw-order ~ .wire-art__body .wire-pick__kicker time::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  animation: wire-htw-live 1.8s ease-out infinite;
}
.wire-htw-order ~ .wire-art__body .wire-pick__who {
  grid-area: who;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 16px;
  margin-top: 8px;
  font-size: 13px;
  line-height: 20px;
  color: rgb(255 255 255 / 84%);
}
.wire-htw-order ~ .wire-art__body .wire-pick__who br {
  display: none;
}
.wire-htw-order ~ .wire-art__body .wire-pick__who b {
  width: auto;
  margin-right: 5px;
  font-weight: 600;
  color: rgb(255 255 255 / 62%);
}
.wire-htw-order ~ .wire-art__body .wire-pick__who span:first-child b::after {
  content: "ockey";
}
.wire-htw-order ~ .wire-art__body .wire-pick__who span:last-child b::after {
  content: "rainer";
}
/* The price, large in the brand gold at the right; its "Price" is for
   screen readers, the figure speaks for itself. */
.wire-htw-order ~ .wire-art__body .wire-tr-price {
  grid-area: price;
  position: static;
  align-self: center;
  justify-self: end;
  padding: 0;
  background: none;
  color: var(--wire-gold);
  box-shadow: none;
}
.wire-htw-order ~ .wire-art__body .wire-tr-price small {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.wire-htw-order ~ .wire-art__body .wire-tr-price b {
  margin-top: 0;
  font-family: var(--wire-htw-cond);
  font-size: 34px;
  line-height: 34px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .wire-htw-order ~ .wire-art__body .wire-tr-price b,
  .wire-htw-order ~ .wire-art__body .wire-pick__n {
    background:
      linear-gradient(110deg, transparent 42%, rgb(255 255 255 / 90%) 50%, transparent 58%) 100% 0 / 300% 100% no-repeat,
      linear-gradient(180deg, #f8e8a8 0%, var(--wire-gold) 62%, #b8921d 100%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
@media (prefers-reduced-motion: no-preference) {
    .wire-htw-order ~ .wire-art__body :is(.wire-tr-price b, .wire-pick__n) {
      transition: background-position 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
    }
    .wire-htw-order ~ .wire-art__body .wire-pick:hover :is(.wire-tr-price b, .wire-pick__n) {
      background-position: 0% 0, 0 0;
    }
}
}

/* The result under it: quiet when unplaced, gold when placed, the gold
   pill with its tick for a winner. */
.wire-htw-order ~ .wire-art__body .wire-pick__stamp {
  grid-area: result;
  position: static;
  align-self: center;
  justify-self: end;
  margin-top: 8px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: rgb(255 255 255 / 86%);
  background: rgb(255 255 255 / 14%);
  box-shadow: none;
  transform: none;
}
.wire-htw-order ~ .wire-art__body .wire-pick__stamp.wire-pick__stamp--placed {
  color: var(--wire-gold);
  background: rgb(212 175 55 / 20%);
}
.wire-htw-order ~ .wire-art__body .wire-pick__stamp.wire-pick__stamp--won {
  padding: 2px 10px 2px 3px;
  color: var(--wire-htw-night);
  background: var(--wire-gold);
}
.wire-htw-order ~ .wire-art__body .wire-pick__stamp--won::before {
  width: 15px;
  height: 15px;
  font-size: 9px;
  color: var(--wire-gold);
  background: var(--wire-htw-night);
}
/* Sly's take on a white tile on the stone, his portrait in its gold
   ring, his line upright, as the Wire sets all its words. What a closed
   card is for. */
.wire-htw-order ~ .wire-art__body p.wire-pick__lead {
  font-style: normal;
  grid-area: lead;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 2px 14px;
  margin-top: 38px;
  padding: 14px 16px 15px;
  border-radius: 12px;
  background: #fff;
  font-size: 17px;
  line-height: 26px;
  color: var(--wire-htw-text);
  text-wrap: pretty;
}
.wire-htw-order ~ .wire-art__body p.wire-pick__lead::before {
  content: "";
  grid-row: 1 / span 2;
  grid-column: 1;
  align-self: start;
  width: 40px;
  height: 40px;
  border: 2px solid var(--wire-gold);
  border-radius: 50%;
  background: var(--c-gold-wash) url("../img/sly-face.e903d0b74b5a.webp") center 20% / cover no-repeat;
}
.wire-htw-order ~ .wire-art__body p.wire-pick__lead::after {
  content: "Sly's take";
  grid-row: 1;
  grid-column: 2;
  font-family: var(--wire-body);
  font-size: 13px;
  line-height: 18px;
  font-style: normal;
  font-weight: 800;
  color: var(--wire-gold-ink);
}
/* The invitation to read on, as the home page's outlined pill beside its
   gold one ("View full card" by "Open race"): "Sly's full case" with a
   chevron that turns as the card opens, warming to the gold on a hover.
   Closed, the summary stretches over the whole card, so the card opens
   wherever it is pressed. */
.wire-htw-order ~ .wire-art__body .wire-pick__more {
  grid-area: more;
  margin-top: 8px;
}
.wire-htw-order ~ .wire-art__body .wire-pick__more[open] {
  padding-bottom: 8px;
}
.wire-htw-order ~ .wire-art__body .wire-pick__more > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  font-size: 16px;
  line-height: 22px;
  font-weight: 700;
  color: var(--wire-htw-text);
  cursor: pointer;
  list-style: none;
}
.wire-htw-order ~ .wire-art__body .wire-pick__more > summary::-webkit-details-marker {
  display: none;
}
.wire-htw-order ~ .wire-art__body .wire-pick__more > summary:focus-visible {
  outline: none;
}
.wire-htw-order ~ .wire-art__body .wire-pick__more:not([open]) > summary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 16px;
}
.wire-htw-order ~ .wire-art__body .wire-pick__more > summary > span {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px 0 20px;
  border: 1.5px solid var(--wire-htw-gold-line);
  border-radius: 999px;
  background: #fff;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.wire-htw-order ~ .wire-art__body .wire-pick__more > summary > span::after {
  content: "";
  width: 16px;
  height: 16px;
  background: var(--wire-htw-chev) center / 16px no-repeat;
  transition: rotate 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.wire-htw-order ~ .wire-art__body .wire-pick:hover .wire-pick__more > summary > span,
.wire-htw-order ~ .wire-art__body .wire-pick__more > summary:focus-visible > span {
  border-color: var(--wire-gold);
  background: var(--c-gold-wash);
}
.wire-htw-order ~ .wire-art__body .wire-pick__more[open] > summary > span::after {
  rotate: 180deg;
}
/* Pick, the site's own game, on every card: the gold pill shares the
   foot with the summary, above its stretch so it never opens the card.
   The script under the cards makes it, so a page without script shows
   no dead button. Picked, the pill turns ink with a tick, the card is
   ringed in gold, and its stop above carries a gold tick. */
.wire-htw-order ~ .wire-art__body .wire-pick__pick {
  grid-area: more;
  align-self: start;
  justify-self: start;
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 14px;
  padding: 0 22px 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--wire-htw-gold-metal);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 50%), 0 8px 18px -10px rgb(140 104 16 / 75%);
  color: var(--wire-htw-night);
  font: inherit;
  font-size: 16px;
  line-height: 20px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease, background-color 0.2s ease, color 0.2s ease;
}
.wire-htw-order ~ .wire-art__body .wire-pick__pick::before {
  content: "+";
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
}
/* A glint of light across the gold pill as its card is hovered. */
.wire-htw-order ~ .wire-art__body .wire-pick__pick {
  overflow: hidden;
}
.wire-htw-order ~ .wire-art__body .wire-pick__pick::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / 60%) 50%, transparent 70%);
  translate: -120% 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .wire-htw-order ~ .wire-art__body .wire-pick__pick::after {
    transition: translate 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .wire-htw-order ~ .wire-art__body .wire-pick:hover .wire-pick__pick::after {
    translate: 120% 0;
  }
}

.wire-htw-order ~ .wire-art__body .wire-pick__pick:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.wire-htw-order ~ .wire-art__body .wire-pick__pick:active {
  transform: translateY(1px) scale(0.97);
}
.wire-htw-order ~ .wire-art__body .wire-pick__pick:focus-visible {
  outline: 3px solid var(--wire-htw-text);
  outline-offset: 2px;
}
.wire-htw-order ~ .wire-art__body .wire-pick__pick[aria-pressed="true"] {
  background: var(--wire-htw-night);
  box-shadow: inset 0 0 0 1.5px var(--wire-htw-gold-line);
  color: var(--wire-gold);
}
.wire-htw-order ~ .wire-art__body .wire-pick__pick[aria-pressed="true"]::before {
  content: "\2713";
  font-size: 16px;
}
.wire-htw-order ~ .wire-art__body .wire-pick:has(.wire-pick__pick) .wire-pick__more > summary {
  justify-content: flex-end;
}
.wire-htw-order ~ .wire-art__body .wire-pick.is-picked {
  box-shadow: 0 0 0 3px var(--wire-gold), var(--wire-htw-rest);
}
.wire-htw-order ~ .wire-art__body .wire-pick.is-picked:hover {
  box-shadow: 0 0 0 3px var(--wire-gold), var(--wire-htw-lift);
}
.wire-htw-stop.is-picked .wire-htw-stop__silk {
  position: relative;
}
.wire-htw-stop.is-picked .wire-htw-stop__silk::after {
  content: "\2713";
  position: absolute;
  top: -5px;
  right: -7px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--wire-gold);
  color: var(--wire-htw-night);
  font-size: 12px;
  font-weight: 800;
}
/* The tally under "So far", in the gold, read out as it changes. */
.wire-htw-order__picks {
  display: block;
  margin-top: 6px;
  font-weight: 700;
  color: var(--wire-gold);
  transform-origin: left center;
}
@media (prefers-reduced-motion: no-preference) {
  .wire-htw-stop.is-picked .wire-htw-stop__silk::after {
    animation: wire-htw-pop 0.5s cubic-bezier(0.3, 1.6, 0.5, 1);
  }
}

.wire-htw-order ~ .wire-art__body p.wire-pick__rest {
  margin-top: 8px;
  font-size: 16px;
  line-height: 26px;
  color: var(--wire-htw-text-2);
  text-wrap: pretty;
}
/* "The case" on its own white tile: its figures in racing numerals, its
   bars in the gold. */
.wire-htw-order ~ .wire-art__body .wire-pick__case {
  margin-top: 16px;
  padding: 14px 16px 6px;
  border-radius: 12px;
  background: #fff;
}
.wire-htw-order ~ .wire-art__body .wire-pick__case-head {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  color: var(--wire-gold-ink);
}
.wire-htw-order ~ .wire-art__body .wire-proof {
  padding: 10px 0;
  border-bottom: 0;
  color: var(--wire-htw-text);
}
.wire-htw-order ~ .wire-art__body .wire-proof--fact {
  align-items: start;
  color: var(--wire-htw-text-2);
}
.wire-htw-order ~ .wire-art__body .wire-proof--fact::before {
  width: 6px;
  height: 6px;
  margin: 7px 0 0 1px;
  transform: rotate(45deg);
}
.wire-htw-order ~ .wire-art__body .wire-proof__label small,
.wire-htw-order ~ .wire-art__body .wire-proof__value small {
  font-size: 13px;
  color: var(--wire-htw-text-3);
}
.wire-htw-order ~ .wire-art__body .wire-proof__value b {
  font-family: var(--wire-htw-cond);
  font-size: 24px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.wire-htw-order ~ .wire-art__body .wire-proof__bar {
  height: 6px;
  border-radius: 3px;
  background: var(--wire-htw-tint);
}
.wire-htw-order ~ .wire-art__body .wire-proof__bar i {
  border-radius: 3px;
  background: var(--wire-gold);
}
/* The racecard, where the pick is made: the home page's gold pill; the
   full result a white pill. */
.wire-htw-order ~ .wire-art__body .wire-pick__links {
  gap: 10px 12px;
  margin-top: 16px;
}
.wire-htw-order ~ .wire-art__body .wire-pick__links > .wire-tr-result {
  display: none;
}
.wire-htw-order ~ .wire-art__body .wire-pick__links a:first-of-type:not(.wire-pick__verify) {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--wire-htw-gold-metal);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 50%), 0 8px 18px -10px rgb(140 104 16 / 75%);
  color: var(--wire-htw-night);
  font-size: 16px;
  font-weight: 800;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.wire-htw-order ~ .wire-art__body .wire-pick__links a:first-of-type:not(.wire-pick__verify):hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  text-decoration: none;
}
.wire-htw-order ~ .wire-art__body .wire-pick__links a:first-of-type:not(.wire-pick__verify):active {
  transform: translateY(1px);
}
.wire-htw-order ~ .wire-art__body .wire-pick__links a:not(:first-of-type, .wire-pick__verify) {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1.5px solid var(--wire-htw-gold-line);
  border-radius: 999px;
  background: #fff;
  color: var(--wire-htw-text);
  font-size: 16px;
  font-weight: 700;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.wire-htw-order ~ .wire-art__body .wire-pick__links a:not(:first-of-type, .wire-pick__verify):hover {
  border-color: var(--wire-gold);
  background: var(--c-gold-wash);
  text-decoration: none;
}
.wire-htw-order ~ .wire-art__body .wire-pick__links a:not(:first-of-type, .wire-pick__verify):active,
.wire-htw-order ~ .wire-art__body .wire-pick__more > summary:active > span {
  transform: translateY(1px);
}
.wire-htw-order ~ .wire-art__body .wire-pick__links a:not(:first-of-type, .wire-pick__verify)::after {
  content: "\00a0\2192";
}
.wire-htw-order ~ .wire-art__body .wire-pick__links a.wire-pick__verify {
  margin-left: auto;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  color: var(--wire-htw-text-3);
}
/* The verdict closes the watchlist on the stone tint, signed by Sly in
   his gold ring. */
.wire-htw-order ~ .wire-art__body .wire-verdict {
  margin-top: 32px;
  padding: 22px 24px;
  border-radius: 16px;
  background: var(--wire-htw-gold-rule) center top / 100% 1px no-repeat, var(--wire-htw-tint);
  color: var(--wire-htw-text);
}
.wire-htw-order ~ .wire-art__body .wire-verdict h2 {
  font-family: var(--wire-display);
  font-size: 28px;
  line-height: 32px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--wire-htw-text);
}
.wire-htw-order ~ .wire-art__body .wire-verdict > p:not([class]) {
  margin-top: 10px;
  font-family: var(--wire-display);
  font-size: 17px;
  line-height: 27px;
  color: var(--wire-htw-text);
  text-wrap: pretty;
}
.wire-htw-order ~ .wire-art__body .wire-verdict__sign {
  margin-top: 16px;
  font-size: 16px;
  color: var(--wire-htw-text);
}
.wire-htw-order ~ .wire-art__body .wire-verdict__sign img {
  border: 2px solid var(--wire-gold);
}
@media (max-width: 767px) {
  /* The five as a timetable, a row each: the time, the silks, the horse
     over its course, then price and result; the signal's bar down the
     left. Nothing scrolls sideways. */
  .wire-htw-order__head {
    padding: 20px 16px 0;
    font-size: 24px;
    line-height: 28px;
  }
  .wire-htw-order__score {
    padding: 8px 16px 20px;
  }
  .wire-htw-order__list {
    grid-auto-flow: row;
    gap: 8px;
    padding: 12px;
  }
  .wire-htw-stop a {
    display: grid;
    grid-template-columns: 52px 40px minmax(0, 1fr) auto;
    grid-template-areas:
      "time silk name   price"
      "time silk course result";
    align-items: center;
    gap: 0 12px;
    padding: 10px 14px 10px 16px;
    text-align: left;
  }
  .wire-htw-stop a::before {
    inset: 0 auto 0 0;
    width: 4px;
    height: auto;
  }
  .wire-htw-stop__when,
  .wire-htw-stop__foot {
    display: contents;
  }
  .wire-htw-stop--next .wire-htw-stop__when::before {
    display: none;
  }
  .wire-htw-stop__when b {
    grid-area: time;
    font-size: 22px;
  }
  .wire-htw-stop__when span {
    grid-area: course;
    margin-top: 0;
  }
  .wire-htw-stop__silk {
    grid-area: silk;
    width: 40px;
    height: 40px;
    margin-top: 0;
  }
  .wire-htw-stop__silk img {
    width: 26px;
    height: 26px;
  }
  .wire-htw-stop__name {
    grid-area: name;
    margin-top: 0;
  }
  .wire-htw-stop__price {
    grid-area: price;
    justify-self: end;
    font-size: 18px;
  }
  .wire-htw-stop__foot .wire-tr-result {
    grid-area: result;
    justify-self: end;
  }
  /* Where the browser can, the row opens on the next race to run. Only
     here, where the row is its own scroller: on a wide screen the nearest
     scroller would be the page. */
  .wire-htw-stop--next {
    scroll-initial-target: nearest;
  }
  /* A card on a phone: the head keeps its photograph, the silks beside
     the name and price, then the signal's chip and the race; the
     connections and the result take the head's last row. */
  .wire-htw-order ~ .wire-art__body .wire-pick {
    grid-template-columns: 52px minmax(0, 1fr) auto;
    grid-template-areas:
      "silk name   price"
      "silk kicker kicker"
      "who  who    result"
      "lead lead   lead"
      "more more   more";
    gap: 0 12px;
    margin-top: 16px;
    padding: 16px 14px 10px;
  }
  .wire-htw-order ~ .wire-art__body .wire-pick::before {
    margin: -16px -14px -14px;
  }
  .wire-htw-order ~ .wire-art__body .wire-pick::after {
    margin: 0 -14px -14px;
  }
  .wire-htw-order ~ .wire-art__body .wire-pick__silk img {
    align-self: start;
    width: 52px;
    height: 52px;
    padding: 8px;
  }
  .wire-htw-order ~ .wire-art__body h2.wire-pick__name {
    gap: 8px;
    font-size: 22px;
    line-height: 27px;
  }
  .wire-htw-order ~ .wire-art__body .wire-pick__kicker {
    font-size: 14px;
    line-height: 20px;
  }
  .wire-htw-order ~ .wire-art__body .wire-pick__kicker .wire-tr-badge {
    font-size: 13px;
  }
  .wire-htw-order ~ .wire-art__body .wire-tr-price b {
    font-size: 28px;
    line-height: 28px;
  }
  .wire-htw-order ~ .wire-art__body .wire-pick__who {
    align-self: center;
    margin-top: 10px;
  }
  .wire-htw-order ~ .wire-art__body .wire-pick__stamp {
    align-self: center;
    margin-top: 10px;
  }
  /* His take wraps under his portrait, as a magazine's would, so the
     words keep the card's width. */
  .wire-htw-order ~ .wire-art__body p.wire-pick__lead {
    display: block;
    position: relative;
    margin-top: 28px;
    padding: 30px 12px 12px;
    font-size: 16px;
    line-height: 24px;
  }
  .wire-htw-order ~ .wire-art__body p.wire-pick__lead::before {
    float: left;
    width: 34px;
    height: 34px;
    margin: -20px 10px 0 0;
  }
  .wire-htw-order ~ .wire-art__body p.wire-pick__lead::after {
    position: absolute;
    top: 9px;
    left: 56px;
  }
  .wire-htw-order ~ .wire-art__body .wire-pick__more > summary {
    min-height: 52px;
    font-size: 15px;
  }
  .wire-htw-order ~ .wire-art__body .wire-pick__pick {
    margin-top: 12px;
  }
  /* The racecard pill takes the row, under a thumb. */
  .wire-htw-order ~ .wire-art__body .wire-pick__links a:first-of-type:not(.wire-pick__verify) {
    flex: 1 1 100%;
    justify-content: center;
  }
  .wire-htw-order ~ .wire-art__body .wire-pick__links a.wire-pick__verify {
    margin-left: 0;
  }
  .wire-htw-order ~ .wire-art__body .wire-verdict {
    padding: 18px 16px;
  }
  .wire-htw-order ~ .wire-art__body .wire-verdict h2 {
    font-size: 24px;
    line-height: 28px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .wire-htw-order::before {
    animation: wire-htw-pan 24s ease-in-out infinite alternate;
  }
  .wire-htw-stop {
    animation: wire-htw-in 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .wire-htw-stop:nth-child(2) { animation-delay: 70ms; }
  .wire-htw-stop:nth-child(3) { animation-delay: 140ms; }
  .wire-htw-stop:nth-child(4) { animation-delay: 210ms; }
  .wire-htw-stop:nth-child(5) { animation-delay: 280ms; }
  .wire-htw-order ~ .wire-art__body .wire-pick:target {
    animation: wire-htw-arrive 1.8s ease-out;
  }
}

@media (prefers-reduced-motion: no-preference) {
@supports (animation-timeline: view()) {
    .wire-htw-order ~ .wire-art__body .wire-pick {
      animation: wire-htw-rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 35%;
    }
    .wire-htw-order ~ .wire-art__body .wire-proof__bar i {
      transform-origin: 0 50%;
      animation: wire-htw-fill linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 35%;
    }
}
}

@media (prefers-reduced-motion: no-preference) {
@media (hover: hover) {
    .wire-htw-order ~ .wire-art__body .wire-pick__silk img {
      transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    .wire-htw-order ~ .wire-art__body .wire-pick:hover .wire-pick__silk img {
      transform: translateY(-3px) rotate(-8deg);
    }
}
}

@media (prefers-reduced-motion: no-preference) {
  /* The case slides open where the browser can animate to its height;
     elsewhere it simply opens. */
  .wire-htw-order ~ .wire-art__body .wire-pick__more {
    interpolate-size: allow-keywords;
  }
  .wire-htw-order ~ .wire-art__body .wire-pick__more::details-content {
    height: 0;
    overflow: clip;
    transition: height 0.3s ease, content-visibility 0.3s allow-discrete;
  }
  .wire-htw-order ~ .wire-art__body .wire-pick__more[open]::details-content {
    height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wire-htw-stop a,
  .wire-htw-order ~ .wire-art__body .wire-pick,
  .wire-htw-order ~ .wire-art__body .wire-pick__links a,
  .wire-htw-order ~ .wire-art__body .wire-pick::before,
  .wire-htw-order ~ .wire-art__body .wire-pick__more > summary > span::after {
    transition: none;
  }
  .wire-htw-stop a:hover,
  .wire-htw-order ~ .wire-art__body .wire-pick__links a:first-of-type:not(.wire-pick__verify):hover {
    transform: none;
  }
  .wire-htw-order ~ .wire-art__body .wire-pick:hover {
    translate: none;
  }
  .wire-htw-stop--next .wire-htw-stop__when::before,
  .wire-htw-order ~ .wire-art__body .wire-pick__kicker time::before {
    animation: none;
  }
}

@keyframes wire-htw-arrive {
  from { box-shadow: 0 0 0 3px var(--wire-htw-cat), 0 0 0 16px color-mix(in srgb, var(--wire-htw-cat) 25%, transparent), var(--wire-htw-lift); }
}
@keyframes wire-htw-fill {
  from { transform: scaleX(0); }
}
@keyframes wire-htw-rise {
  from { translate: 0 28px; }
}
@keyframes wire-htw-pop {
  from { scale: 0; }
}
/* A rise only: the stops are never blank, even for a moment. */
@keyframes wire-htw-in {
  from { transform: translateY(12px); }
}
@keyframes wire-htw-pan {
  from { background-position: center bottom, 0 0, center 6%; }
  to { background-position: center bottom, 0 0, center 22%; }
}
@media (pointer: coarse) {
  /* A watchlist card's "Logged and verifiable" too (its pills are 44px
     already, and the ghost pill's ::after is its arrow); on ::after, as it
     draws its tick with ::before. */
  .wire-htw-order ~ .wire-art__body .wire-pick__links a.wire-pick__verify { position: relative; }
  .wire-htw-order ~ .wire-art__body .wire-pick__links a.wire-pick__verify::after {
    content: ""; position: absolute; top: 50%; left: 50%;
    width: max(100%, 44px); height: max(100%, 44px); transform: translate(-50%, -50%);
  }
}
