/* SportsBadger: The Sett's holiday games (play/turkey.html, elf.html, ref.html). Loaded after sb.css and sb-play.css:
   Badger Four's board and dialogs, in each holiday's colors. <body class="hg-turkey"> picks them, and <div class="pl hg">
   holds the game:
     --pl-board  the board          --pl-you  your chips          --hg-accent  the holiday's columns and tags
     --hg-wash   the preview note's background
   The foe's chips are assets/<game>-chip.svg. Phone first. */

/* Beat the Turkey: a roast-brown board, pumpkin chips, cranberry for T-Day and Past */
.hg-turkey { --pl-board: #6B3E22; --hg-accent: #A8322A; --hg-wash: #FBEFE3; }
/* Beat the Elf: a red board, gold chips, pine green for Xmas and Past */
.hg-elf { --pl-board: #8E1C22; --pl-you: #F2C14E; --hg-accent: #1F6B43; --hg-wash: #EEF6EF; }
/* Beat the Ref: a navy board, flag-yellow chips, navy for Now, Champs and MVP */
.hg-ref { --pl-board: #1B2A4A; --pl-you: #F2C94C; --hg-accent: #24407A; --hg-wash: #EEF1F8; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hg-turkey { --pl-board: #4A2A16; --hg-accent: #F08A7E; --hg-wash: #2A1D14; }
  :root:not([data-theme="light"]) .hg-elf { --pl-board: #5E1217; --hg-accent: #7FD3A2; --hg-wash: #14251B; }
  :root:not([data-theme="light"]) .hg-ref { --pl-board: #121C33; --hg-accent: #9DB7F2; --hg-wash: #151C2B; }
}
:root[data-theme="dark"] .hg-turkey { --pl-board: #4A2A16; --hg-accent: #F08A7E; --hg-wash: #2A1D14; }
:root[data-theme="dark"] .hg-elf { --pl-board: #5E1217; --hg-accent: #7FD3A2; --hg-wash: #14251B; }
:root[data-theme="dark"] .hg-ref { --pl-board: #121C33; --hg-accent: #9DB7F2; --hg-wash: #151C2B; }

/* no difficulty rail (every question is easy), so the labels line up with the board itself */
.hg .pl-labels { margin-left: 0; }
.hg .pl-labels span.hg-col { color: var(--hg-accent); }
.hg .pl-board { box-shadow: inset 0 0 0 2px rgba(255, 214, 160, .12); }
.hg .pl-cell.is-badger .pl-bchip { box-shadow: 0 0 0 1.5px rgba(0, 0, 0, .18); }
.hg-ref .pl-board { box-shadow: inset 0 0 0 2px rgba(242, 201, 76, .16); }
/* a label like "WR/TE" or "Champs" never breaks: the Ref's seven columns on a small phone */
.hg .pl-labels span { white-space: nowrap; overflow: hidden; text-overflow: clip; }
@media (max-width: 359px) { .hg .pl-labels span { font-size: .62rem; letter-spacing: 0; } }

/* the column tag in the question sheet (the sheet is outside .hg; the theme class is on <body>, so it gets the colors) */
.pl-tag.hg-tag { border-color: var(--hg-accent); color: var(--hg-accent); }

/* preview (before its days): it plays, it doesn't count */
.hg-preview {
  margin: 4px 0 12px; padding: 10px 14px; border-radius: 12px; border: 1.5px dashed var(--hg-accent);
  background: var(--hg-wash); font-size: .95rem; line-height: 1.4;
}
.hg-preview b { color: var(--hg-accent); }

/* a column name like "T-Day" never breaks at its hyphen */
.hg .pl-legend b { white-space: nowrap; }

/* the rest of the year */
.hg-off { display: grid; gap: 14px; }
.hg-off > * { margin: 0; }
.hg-off .hg-off-head { display: flex; align-items: center; gap: 14px; }
.hg-off .hg-off-head .pl-bchip { width: 64px; height: 64px; flex: none; }
.hg-off .hg-off-head h2 { margin: 0; }
.hg-last { margin: 0; }
.hg-back { margin: 0; color: var(--muted); font-size: .95rem; }
