/* Casino bonus calendar (template-bonus-times.php, assets/bt/bt.js). Site tokens only, so the season layer applies by
   itself. The one bright thing is the countdown to the next bonus; the week and the table stay quiet. */
.bt-next, .bt-week { --bt-gold: var(--fig-gold, #e4ae39); display: grid; gap: 12px; margin-top: 24px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-3); background: var(--s1); }
.bt-next > *, .bt-week > * { min-width: 0; }
.bt-next__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
@media (max-width: 599px) { .bt-next__head { flex-direction: column; align-items: flex-start; } } /* "Times in your time zone (America/Vancouver)" no longer fit beside the heading: the list jumped 23 px (round four) */
.bt__h { margin: 0; color: var(--heading); font: 600 20px/1.2 var(--font-ui); }
.bt-tz { margin: 0; color: var(--text-3); font-size: 13px; }

/* Next up */
.bt-list { display: grid; margin: 0; padding: 0; list-style: none; }
.bt-item { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.bt-item:first-child { border-top: 0; padding-top: 4px; }
.bt-item .drop-icon { width: 36px; height: 36px; border-radius: var(--r-1); }
.bt-item__name { display: grid; gap: 2px; min-width: 0; }
.bt-item__name b { color: var(--text); font-size: 15px; font-weight: 600; }
.bt-item__name span { color: var(--text-2); font-size: 13px; }
.bt-item__when { display: grid; gap: 2px; justify-items: end; text-align: right; }
.bt-item__when time { color: var(--text-2); font-size: 13px; font-variant-numeric: tabular-nums; }
.bt-cd { color: var(--text); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.bt-cd:empty { display: none; }
.bt-item.is-first .bt-cd { color: var(--bt-gold); font: 600 clamp(20px, 1.4vw + 14px, 26px)/1.1 var(--font-ui); }
.bt-item.is-first .bt-item__name b { font-size: 16px; }

/* The week */
.bt-days { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.bt-day { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; align-items: start; align-content: start; padding: 12px 0; border-top: 1px solid var(--line); }
.bt-day:first-child { border-top: 0; }
.bt-day.is-today .bt-day__name { color: var(--bt-gold); }
.bt-day__name { padding-top: 6px; color: var(--text-2); font-size: 14px; font-weight: 600; }
.bt-day__list { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; min-height: 32px; }
.bt-day__list:empty::before { content: "—"; padding-top: 6px; color: var(--text-3); }
.bt-chip { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0 8px; min-height: 32px; padding: 4px 12px; border: 1px solid var(--line-2); border-radius: var(--r-2); color: var(--text-2); font-size: 13px; font-variant-numeric: tabular-nums; }
.bt-chip b { color: var(--text); font-weight: 600; }
@media (min-width: 900px) {
	.bt-next, .bt-week { gap: 16px; padding: 24px; }
	/* Next up as cards, three to a row: on a wide screen a list put the names and the times 900 px apart */
	.bt-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
	.bt-item, .bt-item:first-child { grid-template-columns: 36px minmax(0, 1fr); align-content: start; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-2); background: var(--s2); }
	.bt-item__when { grid-column: 1 / -1; justify-items: start; text-align: left; }
	.bt-days { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
	.bt-day { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 0; border-top: 0; }
	.bt-day__name { padding: 0 0 8px; border-bottom: 1px solid var(--line-2); }
	.bt-day__list { flex-direction: column; flex-wrap: nowrap; }
	.bt-chip { justify-content: space-between; padding: 8px; }
}

/* A section per site */
.bt-quote { margin: 0 0 16px; padding: 4px 0 4px 16px; border-left: 3px solid var(--line-2); color: var(--text-2); }
.bt-quote p { margin: 0; font-style: normal; }
.bt-quote footer { margin-top: 4px; font-size: 13px; }
.bt-links { color: var(--text-3); font-size: 14px; }
.bt-site { scroll-margin-top: 88px; }
