* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #f8f6ef; color: #193b33; font: 1rem/1.55 system-ui, sans-serif; }
header, main, footer { max-width: 1180px; margin: auto; padding: 20px clamp(18px, 4vw, 52px); }
header, nav, footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
nav, footer { flex-wrap: wrap; }
a { color: inherit; text-underline-offset: 4px; }
.brand { font-weight: 800; font-size: 1.45rem; text-decoration: none; letter-spacing: -.04em; }
.product-hero, .pair { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: clamp(22px, 4vw, 52px); }
figure { margin: 0; }
figure img, .pair img { width: 100%; height: auto; display: block; border-radius: 10px; }
figcaption, .note { color: #4a6057; font-size: .9rem; }
figcaption { margin-top: 6px; }
h1, h2, h3 { font-family: Georgia, serif; line-height: 1.05; margin: .35em 0; }
h1 { font-size: clamp(3rem, 5.7vw, 5.1rem); letter-spacing: -.06em; }
h2 { font-size: clamp(2rem, 3.7vw, 3rem); letter-spacing: -.04em; }
h3, .lead { font: 1.5rem/1.2 Georgia, serif; }
small { font-weight: 750; text-transform: uppercase; letter-spacing: .07em; }
.price strong { font-size: 1.55rem; margin-right: .4em; }
.button { display: inline-block; color: #fff9e9; background: #154b39; text-decoration: none; font-weight: 750; border-radius: 7px; padding: 12px 23px; }
.button:hover { background: #0c3629; }
.pair, .faq, .order { border-top: 1px solid #b6c3b8; margin-top: 42px; padding: 30px 0 0; }
.inset, .order { border-radius: 10px; background: #eee9dc; padding: clamp(18px, 4vw, 40px); }
.box-specs { margin: .55rem 0 0; padding-inline-start: 1.25rem; }
.box-specs li + li { margin-top: .3rem; }
.faq dl { max-width: 68ch; margin: .75rem 0 0; }
.faq dt { font-weight: 750; }
.faq dt:not(:first-child) { margin-top: .75rem; }
.faq dd { margin: .1rem 0 0; }
.order p { max-width: 68ch; }
details { background: #e6eddf; padding: 12px 16px; border-radius: 6px; }
summary { font-weight: bold; cursor: pointer; }
footer { font-size: .9rem; border-top: 1px solid #b6c3b8; margin-top: 24px; }
@media (max-width: 720px) {
  .product-hero, .pair { grid-template-columns: 1fr; }
  header, main { padding-top: 12px; }
  .product-hero { gap: 12px; }
  nav { gap: 12px; }
  .pair, .faq, .order { margin-top: 26px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
header nav a { padding: 10px 2px; }
#order-email { user-select: all; overflow-wrap: anywhere; }
#copy-order-email { font: inherit; font-weight: 750; color: #154b39; background: #f8f6ef; border: 1px solid #154b39; border-radius: 7px; padding: 6px 14px; margin-top: 6px; cursor: pointer; }
#copy-order-email:hover { background: #e6eddf; }
#copy-feedback { margin-left: 6px; }
/* Design audit 11: the game's name and what it is first, then the photo, then the hook and the price. */
.product-hero { grid-template-areas: "head fig" "buy fig"; align-items: start; }
.hero-head { grid-area: head; align-self: end; } .product-hero figure { grid-area: fig; align-self: center; } .hero-buy { grid-area: buy; }
.hero-head .lead { margin: .2em 0 0; }
.hook { font: 1.5rem/1.25 Georgia, serif; margin: 0 0 .5em; }
.hero-buy .button { min-height: 44px; }
@media (max-width: 720px) {
  .product-hero { grid-template-areas: "head" "fig" "buy"; }
  h1 { font-size: clamp(2.4rem, 12vw, 3rem); }
}
/* The shop's top bar stays on one line on a phone: LeagueCue, then Try a card · Request · Squishies. */
@media (max-width: 440px) {
  header { gap: 10px; padding-left: 14px; padding-right: 14px; }
  .brand { font-size: 1.2rem; }
  header nav { flex-wrap: nowrap; gap: 12px; font-size: .95rem; }
  header nav a { white-space: nowrap; padding: 12px 0; }
}

#play-spots:not([hidden]) { display: flex; flex-wrap: wrap; gap: .5rem; }
.play-field button {
  min-width: 44px; min-height: 44px;
  padding: 3px 6px; border: 2px solid #193b33; border-radius: 6px;
  background: #fff9e9; color: #193b33; font: 700 .875rem/1.15 system-ui, sans-serif; cursor: pointer;
}
.play-field .destination { background: #173b34; color: white; border-color: white; }
.play-field button:focus-visible, #demo button:focus-visible { outline: 3px solid #af5500; outline-offset: 2px; }
#demo .button { border: 0; font: inherit; font-weight: 700; cursor: pointer; }
#demo .button:disabled { background: #53665f; cursor: default; }
#retry-play { min-height: 44px; padding: 6px 14px; font: inherit; cursor: pointer; }
#play-placements { padding-inline-start: 1.25rem; }
.preorder-options { display: flex; flex-wrap: wrap; gap: 12px; }
.preorder-options .button { border: 2px solid #154b39; }
.preorder-options .secondary { color: #154b39; background: transparent; }
.preorder-options .secondary:hover { background: #fff9e9; }

#demo [hidden] { display: none; }

#demo { margin-block: 3rem; perspective: 1400px; }
.play-card {
  display: grid; width: min(100%, 25rem); margin: auto;
  transform-style: preserve-3d; transition: transform .55s ease-in-out;
}
.play-card.is-flipped { transform: rotateY(180deg); }
.card-face {
  grid-area: 1 / 1; min-height: 31rem; padding: clamp(1.25rem, 5vw, 2.25rem);
  border: 5px solid #fffaf0; border-radius: 18px; backface-visibility: hidden;
  background: #fff8e7; box-shadow: inset 0 0 0 2px #194b3b, 0 6px 16px #193b3324;
}
.card-face small { display: block; border-bottom: 3px double currentColor; padding-bottom: .65rem; }
.card-face h2 { text-align: center; margin-block: .65em; }
.card-face .button { margin-top: 1rem; }
.card-back { transform: rotateY(180deg); background: #173e32; color: #fff8e7; box-shadow: inset 0 0 0 2px #d7b576, 0 6px 16px #193b3324; }
.card-back .button { color: #173e32; background: #fff8e7; }
.card-jobs { display: grid; grid-template-columns: auto 1fr; gap: .85rem; align-items: baseline; }
.card-jobs dt { font-weight: bold; color: #f4cd8c; }
.card-jobs dd { margin: 0; }
@media (prefers-reduced-motion: reduce) { .play-card { transition: none; } }

/* ---------- Cover Your Spot online (play-cover-your-spot.html) ----------
   Tabletop look: the photographed field, black fielder discs, yellow RUN tokens, cream Play Cards with a Forest Green bar,
   gold Bonus Cards, and a flat dry-erase scoreboard. Colors match the print brief. No glows, stacks of shadows or confetti. */
.cys-play { --cys-green: #1f5c3a; --cys-navy: #14233c; --cys-cream: #f6f0e1; --cys-gold: #e0a126; --cys-ink: #1b1b1b; --cys-marker: #1d2a6b; }
.cys-play header { padding-top: 10px; padding-bottom: 10px; }
.cys-sport { display: inline-flex; border: 2px solid var(--cys-green); border-radius: 8px; overflow: hidden; }
.cys-sport button { font: 700 .95rem/1 system-ui, sans-serif; min-height: 44px; padding: 0 14px; border: 0; background: transparent; color: var(--cys-green); cursor: pointer; }
.cys-sport button[aria-pressed="true"] { background: var(--cys-green); color: var(--cys-cream); }
.cys-game { padding-top: 4px; }
.cys-game button { font-family: inherit; }
.cys-game .button { border: 2px solid #154b39; font-weight: 750; cursor: pointer; min-height: 44px; font-size: 1rem; }
.cys-game .button.secondary { color: #154b39; background: transparent; }
.cys-game .button:disabled { background: #8a9a92; border-color: #8a9a92; color: #f3f1ea; cursor: default; }
.cys-game button:focus-visible, .cys-game a:focus-visible, .cys-sport button:focus-visible { outline: 3px solid #af5500; outline-offset: 2px; }
.cys-start { max-width: 40rem; }
.cys-start h1 { font-size: clamp(2.4rem, 9vw, 4rem); }
.cys-modes { display: flex; flex-wrap: wrap; gap: 12px; margin: 1rem 0; }
.cys-board[hidden], .cys-start[hidden] { display: none; }

/* Dry-erase scoreboard: white board, marker-blue numbers, thin rules. */
.cys-score { width: 100%; border-collapse: collapse; background: #fdfdfb; color: var(--cys-marker); border: 2px solid #c9c9c4; border-radius: 6px; font: 700 .9rem/1.2 system-ui, sans-serif; table-layout: fixed; }
.cys-score caption { caption-side: top; padding: 0 2px 4px; color: var(--cys-ink); font-weight: 750; font-size: .9rem; }
.cys-cap { display: flex; justify-content: space-between; align-items: center; }
.cys-score th, .cys-score td { border: 1px solid #deded9; padding: 3px 2px; text-align: center; }
.cys-score th[scope="row"] { text-align: left; padding-left: 6px; color: var(--cys-ink); }
.cys-score tr > :first-child { width: 5.6em; }
.cys-score thead th { color: #6b6b66; font-weight: 600; font-size: .8rem; }
.cys-score th[scope="row"] { white-space: nowrap; overflow: hidden; }
.cys-score tr.is-up th[scope="row"]::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--cys-gold); margin-right: 4px; vertical-align: middle; }
.cys-score .cys-total { background: #f1f1ec; }
.cys-outs { display: inline-flex; align-items: center; gap: 4px; }
.cys-outs i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--cys-marker); display: inline-block; }
.cys-outs i.is-on { background: var(--cys-marker); }

.cys-table { display: grid; gap: 10px; margin-top: 8px; }
.cys-cards { display: grid; gap: 8px; align-content: start; }
.cys-tip { margin: 0; font-weight: 700; }
.cys-pick, .cys-hand { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* Cards: cream face, Forest Green bar (gold on Bonus Cards), navy edge. Flat, like a card lying on the table. */
.cys-card { display: block; width: 100%; text-align: left; margin: 0; padding: 0 12px 10px; background: var(--cys-cream); color: var(--cys-ink);
  border: 2px solid var(--cys-navy); border-radius: 10px; overflow: hidden; font: .95rem/1.35 system-ui, sans-serif; }
button.cys-card { cursor: pointer; }
button.cys-card:hover { border-color: var(--cys-green); }
.cys-card h2 { font: 800 1.15rem/1.15 system-ui, sans-serif; letter-spacing: 0; margin: .35rem 0 .15rem; }
.cys-card p { margin: .2rem 0; }
.cys-bar { display: flex; justify-content: space-between; gap: 8px; margin: 0 -12px !important; padding: 5px 12px; background: var(--cys-green); color: var(--cys-cream);
  font: 800 .75rem/1.2 system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.cys-setup { font-weight: 700; color: var(--cys-green); font-size: .85rem; }
.cys-call { font-weight: 800; }
.cys-bonus .cys-bar { background: var(--cys-gold); color: var(--cys-ink); }
.cys-bonus { border-color: var(--cys-navy); }
.cys-card.is-small { font-size: .85rem; padding-bottom: 8px; }
.cys-card.is-small h2 { font-size: 1rem; }
.cys-card.is-off { opacity: .55; }
/* The answer side: green with cream ink, as printed. */
.cys-back { background: var(--cys-green); color: var(--cys-cream); }
.cys-back .cys-bar { background: var(--cys-navy); }
.cys-jobs { list-style: none; margin: .3rem 0; padding: 0; display: grid; gap: 4px; }
.cys-jobs li { display: grid; grid-template-columns: 2.4em 1fr; gap: 6px; font-size: .88rem; }
.cys-jobs b { display: inline-grid; place-items: center; width: 2.1em; height: 2.1em; border-radius: 50%; background: #111; color: #fff; font-size: .75rem; border: 2px solid var(--cys-cream); }
.cys-jobs li.is-wrong span { color: #ffd27a; }
.cys-outcome { font-weight: 800; }
.cys-trap-result { margin: 0; padding: 8px 12px; border: 2px solid var(--cys-navy); border-radius: 10px; background: #f9e4b0; font-weight: 700; }

/* The field: the photographed park, and the pieces laid on it. */
.cys-field { position: relative; margin-bottom: 14px; user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.cys-field img { display: block; width: 100%; height: auto; border-radius: 8px; }
.cys-field.is-placing { cursor: crosshair; }
.cys-disc { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; z-index: 3; }
.cys-disc span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #111; color: #fff; border: 2px solid #f6f0e1; font: 800 11px/1 system-ui, sans-serif; letter-spacing: -.02em; }
.cys-disc.is-picked span { border: 3px solid var(--cys-gold); width: 34px; height: 34px; }
.cys-disc:disabled { cursor: default; }
.cys-run { position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: #ffd23f; border: 2px solid var(--cys-navy); color: var(--cys-ink);
  font: 900 8px/22px system-ui, sans-serif; text-align: center; letter-spacing: .02em; z-index: 1; pointer-events: none; }
.cys-run[hidden], .cys-ball[hidden] { display: none; }
.cys-ball { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; border: 2px solid #b3261e; z-index: 1; pointer-events: none; }
.cys-mark { position: absolute; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 3px dashed #fff; z-index: 2; pointer-events: none; }
.cys-mark.is-wrong { border: 3px solid var(--cys-gold); }
.cys-mark b { position: absolute; left: 50%; top: -18px; transform: translateX(-50%); background: var(--cys-navy); color: #fff; font: 800 10px/1 system-ui, sans-serif; padding: 3px 5px; border-radius: 4px; white-space: nowrap; }
.cys-mark.is-wrong b { background: var(--cys-gold); color: var(--cys-ink); }

.cys-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0; }
.cys-status { margin: 0; flex: 1 1 14rem; font-weight: 650; }
.cys-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.cys-game .cys-gold { background: var(--cys-gold); border-color: var(--cys-navy); color: var(--cys-ink); }
.cys-gold small { font-size: .7rem; }
.cys-clock { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--cys-gold); font: 900 1.3rem/1 system-ui, sans-serif; color: var(--cys-ink); }
.cys-over { padding: 14px; border: 2px solid var(--cys-navy); border-radius: 10px; background: var(--cys-cream); }
.cys-over h2 { font-size: 1.8rem; }
.cys-over-links { display: grid; gap: 8px; margin-top: 10px; }
.cys-over-links .button { text-align: center; }

/* Desktop: the field on the left, cards and buttons on the right. */
@media (min-width: 900px) {
  .cys-table { grid-template-columns: minmax(0, 1.7fr) minmax(18rem, 1fr); align-items: start; }
  .cys-field { grid-column: 1; grid-row: 1; }
  .cys-cards { grid-column: 2; grid-row: 1; }
  .cys-score { max-width: 34rem; }
}
/* Phone: the card, the field and the button share one screen. The buttons stay at the bottom edge. */
@media (max-width: 720px) {
  .cys-play header { padding: 6px 12px; }
  .cys-play .brand { font-size: 1.05rem; }
  .cys-play main { padding: 2px 10px 0; }
  .cys-score { font-size: .8rem; }
  .cys-score th, .cys-score td { padding: 2px 1px; }
  .cys-score caption { font-size: .8rem; padding-bottom: 2px; }
  .cys-table { gap: 6px; margin-top: 6px; }
  .cys-card { font-size: .85rem; line-height: 1.3; padding: 0 10px 7px; }
  .cys-card h2 { font-size: 1rem; margin: .25rem 0 0; }
  .cys-bar { margin: 0 -10px !important; padding: 4px 10px; }
  .cys-setup { font-size: .8rem; }
  .cys-actions { position: sticky; bottom: 0; background: #f8f6ef; border-top: 1px solid #d5d9cf; padding: 6px 0 calc(6px + env(safe-area-inset-bottom)); z-index: 5; }
  .cys-status { font-size: .9rem; flex-basis: 100%; }
  .cys-buttons { width: 100%; }
  .cys-buttons .button { flex: 1; padding: 8px 10px; }
  .cys-field { margin-bottom: 10px; }
  .cys-pick .cys-card .cys-read { font-size: .8rem; }
}
/* While a disc is picked up, a tap anywhere on the field (even on top of another disc) puts it down there. */
.cys-field.is-placing .cys-disc { pointer-events: none; }
/* The printed home circles, like the board: a fielder's letters in a chalk ring. Seen once its disc has moved. */
.cys-home { position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; border: 2px solid #f6f0e1cc; color: #f6f0e1; font: 800 8px/22px system-ui, sans-serif; text-align: center; pointer-events: none; z-index: 1; }
/* A disc still on its home circle stays on top, so a moved disc set down next to it never blocks it. */
.cys-disc.is-moved { z-index: 4; }
/* Cover Your Spot online: the free trial, the Full Digital Edition and the unlock code */
.cys-length { display: inline-flex; border: 2px solid var(--cys-green); border-radius: 8px; overflow: hidden; margin-top: .5rem; }
.cys-length button { font: 700 .95rem/1 system-ui, sans-serif; min-height: 44px; padding: 0 16px; border: 0; background: transparent; color: var(--cys-green); cursor: pointer; }
.cys-length button[aria-pressed="true"] { background: var(--cys-green); color: var(--cys-cream); }
.cys-length button:focus-visible { outline: 3px solid #af5500; outline-offset: -3px; }
.cys-unlocked { margin: .4rem 0 0; font-weight: 750; color: var(--cys-green); }
.cys-full-line { font-weight: 650; }
.cys-code-wrap { margin-top: .5rem; }
.cys-code-wrap summary { cursor: pointer; font-weight: 650; min-height: 32px; }
.cys-code { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; margin-top: 8px; }
.cys-code label { font-weight: 650; font-size: .9rem; }
.cys-code-row { display: flex; gap: 8px; }
.cys-code input { flex: 1 1 auto; width: 100%; min-width: 0; min-height: 44px; padding: 0 10px; font: 700 1rem/1 system-ui, sans-serif; text-transform: uppercase; letter-spacing: .06em;
  border: 2px solid #8a9a92; border-radius: 7px; background: #fff; color: var(--cys-ink); }
.cys-code input:focus-visible { outline: 3px solid #af5500; outline-offset: 1px; }
.cys-code .button { padding: 8px 16px; }
.cys-code-msg { margin: 0; min-height: 1.2em; font-size: .9rem; font-weight: 650; color: #8a3b00; }
.cys-code-wrap .cys-code { max-width: 24rem; }
.cys-digital { padding: 12px 14px; border: 2px solid var(--cys-green); border-radius: 10px; background: #fdfbf4; color: var(--cys-ink); }
.cys-digital h3 { font: 800 1.1rem/1.2 system-ui, sans-serif; margin: 0 0 .35rem; letter-spacing: 0; color: var(--cys-green); }
.cys-digital p { margin: 0 0 .4rem; font-size: .92rem; }
.cys-digital ul { margin: 0 0 .7rem; padding-inline-start: 1.15rem; font-size: .92rem; display: grid; gap: .25rem; }
.cys-digital .cys-buy { display: block; text-align: center; }
.cys-digital .cys-code { margin-top: 10px; }
/* The same write-up on the Field Shop page, below the $19.99 game */
.digital-edition { border-radius: 10px; border: 2px solid #154b39; background: #fbf8f0; padding: clamp(16px, 3vw, 28px); margin-top: 18px; }
.digital-edition h3 { margin-top: 0; }
.digital-edition ul { padding-inline-start: 1.25rem; max-width: 68ch; }
.digital-edition li + li { margin-top: .3rem; }
/* Between innings the wrap-up card says it all: no status bar over the field. */
.cys-game[data-phase="over"] .cys-actions { display: none; }
/* A fielder under a moved disc fades back; a hit card button starts at its top, like the printed card. */
.cys-disc.is-under span { opacity: .6; transform: scale(.8); }
button.cys-card { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; }
.cys-mark { width: 36px; height: 36px; margin: -18px 0 0 -18px; }
.cys-mark.is-trap b { top: auto; bottom: -18px; }
.cys-trap-result { font-size: .9rem; padding: 6px 10px; }
/* The wrap-up screen is about what's next: the field comes back with the next inning. */
.cys-game[data-phase="over"] .cys-field { display: none; }

/* Play online links and the Full Digital Edition show only while Play Games is open (js/play-games.js). */
[data-play-games][hidden] { display: none !important; }
