/* Seasons (Season.php, /admin/seasons; 2026-10-31). Linked only while a season is on. Quiet on purpose: one small line at the
   foot of the page, above the footer (it was a tab under the header until 2026-11-18: Jamie found a bar up there tacky), and a
   small picture behind the gold engine. No animation, no coloured band: the picture carries the season. */

.season-line {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  max-width: 60rem;
  margin: 2.5rem auto 0;
  padding: 1rem 16px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  position: relative;
}

.season-line p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-style: italic;
  line-height: 1.4;
}

.season-pic {
  display: block;
  width: 108px;
  height: 36px;
  border-radius: 6px;
  object-fit: cover;
  flex: none;
}

.season-hide {
  flex: none;
  min-height: 32px;
  padding: 0 .4rem;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: .85rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  opacity: .8;
}

.season-hide:hover { opacity: 1; }
.season-hide:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

.season-hidden .season-line { display: none; }

/* The little picture riding behind the gold engine in the header */
.season-mark {
  display: block;
  flex: none;
  width: 44px;
  height: 22px;
  margin-right: -.45rem;   /* hitched up close to the engine */
}

/* Each look (Halloween, Christmas) differs only by its picture now; the line itself stays in the site's own colours. */

/* /admin/seasons */
.season-admin-days { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.season-admin-day { display: flex; gap: 8px; margin-top: .25rem; }
.season-admin-day select { width: auto; }
.season-admin-acts { white-space: nowrap; }
.season-admin-acts > * + * { margin-left: .9rem; }
.season-admin-edit td { border-top: 0; padding-top: 0; }
.season-admin-edit form { max-width: 40rem; margin: .5rem 0 1rem; }

@media (max-width: 600px) {
  .season-line p { font-size: .95rem; text-align: center; }
  .season-pic { width: 96px; height: 32px; }
}

@media (max-width: 420px) {
  .season-mark { width: 32px; height: 16px; margin-right: -.35rem; }   /* the engine shrinks to 36 px here too */
  .season-pic { display: none; }
}

@media print {
  .season-line, .season-mark { display: none !important; }
}
