/*
 * Seasonal looks, in the paper look. Loaded only while a season is on (see
 * src/backend/utils/seasons.ts). The <html> element carries:
 *   has-season  season-<id>  fall-<snow|confetti|caps>
 * and the header holds <ul class="season-string season-string--<type>">.
 *
 *   lights    Christmas, New Year: flat, ink-outlined bulbs that twinkle
 *   flags     Union Day, Saba Saba, Independence Day: pennants in the flag's colours
 *   eid       Eid al-Fitr, Eid al-Adha: crescents, stars and lanterns
 *   notebook  Back to campus: notebook-paper pennants
 *   pastel    Easter: pastel pennants and eggs
 *   harvest   Nane Nane: maize cobs, leaves and sunflowers
 */

/* Switched off (the holiday switch): nothing seasonal shows. */
html:not(.has-season) .season-string,
html:not(.has-season) .season-note {
  display: none;
}

/* ---------- The string hanging from the header line ---------- */

.season-string {
  position: absolute;
  right: 0;
  bottom: -22px;
  left: 0;
  z-index: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 22px;
  height: 26px;
  margin: 0;
  padding: 0 14px;
  overflow: hidden;
  list-style: none;
  pointer-events: none;
}

.season-string li {
  position: relative;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  margin-top: 6px;
}

/* The wire swings between the pieces. */
.season-string li::after {
  content: "";
  position: absolute;
  top: -8px;
  left: 6px;
  width: 30px;
  height: 7px;
  border-bottom: 2px solid #333333;
  border-radius: 0 0 50% 50%;
}

/* Lights: a cap on the wire, then the glass, ink-outlined and flat. */
.season-string--lights li {
  width: 11px;
  height: 16px;
  background: #e0463a;
  border: 2px solid #333333;
  border-radius: 50% 50% 50% 50% / 60% 60% 45% 45%;
  -webkit-animation: season-twinkle 2.4s ease-in-out infinite;
          animation: season-twinkle 2.4s ease-in-out infinite;
}

.season-string--lights li::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 7px;
  height: 5px;
  background: #333333;
  border-radius: 1px;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
}

.season-string--lights li:nth-child(4n + 2) {
  background: #93f9e8;
  -webkit-animation-delay: 0.6s;
          animation-delay: 0.6s;
}

.season-string--lights li:nth-child(4n + 3) {
  background: #ffd23f;
  -webkit-animation-delay: 1.2s;
          animation-delay: 1.2s;
}

.season-string--lights li:nth-child(4n + 4) {
  background: #2bbf6e;
  -webkit-animation-delay: 1.8s;
          animation-delay: 1.8s;
}

.season-string--lights li:nth-child(odd) {
  -webkit-transform: rotate(-8deg);
      -ms-transform: rotate(-8deg);
          transform: rotate(-8deg);
}

.season-string--lights li:nth-child(even) {
  -webkit-transform: rotate(8deg);
      -ms-transform: rotate(8deg);
          transform: rotate(8deg);
}

@-webkit-keyframes season-twinkle {
  0%,
  100% {
    -webkit-filter: none;
            filter: none;
    opacity: 1;
  }
  50% {
    -webkit-filter: saturate(0.5) brightness(0.85);
            filter: saturate(0.5) brightness(0.85);
    opacity: 0.55;
  }
}

@keyframes season-twinkle {
  0%,
  100% {
    -webkit-filter: none;
            filter: none;
    opacity: 1;
  }
  50% {
    -webkit-filter: saturate(0.5) brightness(0.85);
            filter: saturate(0.5) brightness(0.85);
    opacity: 0.55;
  }
}

/* Pennants (flags, notebook, pastel) and the harvest pieces: ink-outlined,
   swaying from the wire. */
.season-string--flags li,
.season-string--notebook li,
.season-string--pastel li,
.season-string--harvest li {
  width: 20px;
  height: 22px;
  margin-top: 2px;
  background: no-repeat center / contain;
  -webkit-transform-origin: 50% 0;
      -ms-transform-origin: 50% 0;
          transform-origin: 50% 0;
  -webkit-animation: season-sway 3.6s ease-in-out infinite;
          animation: season-sway 3.6s ease-in-out infinite;
}

.season-string--flags li:nth-child(even),
.season-string--notebook li:nth-child(even),
.season-string--pastel li:nth-child(even),
.season-string--harvest li:nth-child(even) {
  -webkit-animation-delay: -1.8s;
          animation-delay: -1.8s;
}

@-webkit-keyframes season-sway {
  0%,
  100% {
    -webkit-transform: rotate(-5deg);
            transform: rotate(-5deg);
  }
  50% {
    -webkit-transform: rotate(5deg);
            transform: rotate(5deg);
  }
}

@keyframes season-sway {
  0%,
  100% {
    -webkit-transform: rotate(-5deg);
            transform: rotate(-5deg);
  }
  50% {
    -webkit-transform: rotate(5deg);
            transform: rotate(5deg);
  }
}

/* Tanzania's flag, read along its diagonal: green, yellow, black, yellow,
   blue (the black band has a yellow stripe on each side). */
.season-string--flags li {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 22'%3E%3Cpath d='M1.5 1.5H18.5L10 20.5Z' fill='%231eb53a' stroke='%23333' stroke-width='2.2' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.season-string--flags li:nth-child(5n + 2),
.season-string--flags li:nth-child(5n + 4) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 22'%3E%3Cpath d='M1.5 1.5H18.5L10 20.5Z' fill='%23fcd116' stroke='%23333' stroke-width='2.2' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.season-string--flags li:nth-child(5n + 3) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 22'%3E%3Cpath d='M1.5 1.5H18.5L10 20.5Z' fill='%23111' stroke='%23333' stroke-width='2.2' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.season-string--flags li:nth-child(5n + 5) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 22'%3E%3Cpath d='M1.5 1.5H18.5L10 20.5Z' fill='%2300a3dd' stroke='%23333' stroke-width='2.2' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Notebook paper: ruled lines and a red margin, alternating with blue. */
.season-string--notebook li {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 22'%3E%3CclipPath id='c'%3E%3Cpath d='M1.5 1.5H18.5L10 20.5Z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23c)'%3E%3Crect width='20' height='22' fill='%23fff8f2'/%3E%3Cpath d='M0 6.5H20M0 10.5H20M0 14.5H20' stroke='%237fb2e5' stroke-width='1.2'/%3E%3Cpath d='M6 0V22' stroke='%23e0463a' stroke-width='1.2'/%3E%3C/g%3E%3Cpath d='M1.5 1.5H18.5L10 20.5Z' fill='none' stroke='%23333' stroke-width='2.2' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.season-string--notebook li:nth-child(3n + 2) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 22'%3E%3Cpath d='M1.5 1.5H18.5L10 20.5Z' fill='%23bcdcff' stroke='%23333' stroke-width='2.2' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Easter: pastel pennants, with an egg every fifth. */
.season-string--pastel li {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 22'%3E%3Cpath d='M1.5 1.5H18.5L10 20.5Z' fill='%23ffc6d9' stroke='%23333' stroke-width='2.2' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.season-string--pastel li:nth-child(5n + 2) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 22'%3E%3Cpath d='M1.5 1.5H18.5L10 20.5Z' fill='%23c8f7dc' stroke='%23333' stroke-width='2.2' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.season-string--pastel li:nth-child(5n + 3) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 22'%3E%3Cpath d='M1.5 1.5H18.5L10 20.5Z' fill='%23dccbff' stroke='%23333' stroke-width='2.2' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.season-string--pastel li:nth-child(5n + 4) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 22'%3E%3Cpath d='M1.5 1.5H18.5L10 20.5Z' fill='%23fff1a8' stroke='%23333' stroke-width='2.2' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.season-string--pastel li:nth-child(5n + 5) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 22'%3E%3Cellipse cx='10' cy='12.5' rx='7' ry='8.5' fill='%23c8f7dc' stroke='%23333' stroke-width='2.2'/%3E%3Cpath d='M3.6 11.5 Q 6.8 9.4 10 11.5 T 16.4 11.5' fill='none' stroke='%23e0463a' stroke-width='1.6'/%3E%3Cpath d='M3.4 15 Q 6.7 13 10 15 T 16.6 15' fill='none' stroke='%237fb2e5' stroke-width='1.6'/%3E%3C/svg%3E");
}

/* Nane Nane (Farmers' Day): a maize cob, a leaf, a sunflower, a paler leaf. */
.season-string--harvest {
  gap: 20px;
}

.season-string--harvest li {
  width: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 22'%3E%3Cpath d='M10 1.6C16.4 5 16.6 14.6 10 20.6C3.4 14.6 3.6 5 10 1.6Z' fill='%232bbf6e' stroke='%23333' stroke-width='2.2' stroke-linejoin='round'/%3E%3Cpath d='M10 4.6V17.6M10 9.4 12.8 7.4M10 13.2 7.2 11.2' fill='none' stroke='%23333' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.season-string--harvest li:nth-child(4n + 1) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 22'%3E%3Cpath d='M10 5C13.6 5 14.6 8.6 14.2 12.8C13.8 17 12.2 20.6 10 20.6C7.8 20.6 6.2 17 5.8 12.8C5.4 8.6 6.4 5 10 5Z' fill='%23ffd23f' stroke='%23333' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M7.2 9.4H12.8M6.6 12.8H13.4M7 16.2H13M10 7V19' stroke='%23c98a00' stroke-width='1.1'/%3E%3Cpath d='M10 6.6C6.6 5.8 3.6 4 1.8 1.4C5.2 1.6 8.4 3.2 10 6.6Z' fill='%232bbf6e' stroke='%23333' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M10 6.6C13.4 5.8 16.4 4 18.2 1.4C14.8 1.6 11.6 3.2 10 6.6Z' fill='%232bbf6e' stroke='%23333' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Same box as the others (so the wire stays level); the round flower sits
   centred in it. */
.season-string--harvest li:nth-child(4n + 3) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cg fill='%23ffd23f' stroke='%23333' stroke-width='1.4'%3E%3Cellipse cx='10' cy='4.6' rx='2.2' ry='3.4' transform='rotate(0 10 10)'/%3E%3Cellipse cx='10' cy='4.6' rx='2.2' ry='3.4' transform='rotate(45 10 10)'/%3E%3Cellipse cx='10' cy='4.6' rx='2.2' ry='3.4' transform='rotate(90 10 10)'/%3E%3Cellipse cx='10' cy='4.6' rx='2.2' ry='3.4' transform='rotate(135 10 10)'/%3E%3Cellipse cx='10' cy='4.6' rx='2.2' ry='3.4' transform='rotate(180 10 10)'/%3E%3Cellipse cx='10' cy='4.6' rx='2.2' ry='3.4' transform='rotate(225 10 10)'/%3E%3Cellipse cx='10' cy='4.6' rx='2.2' ry='3.4' transform='rotate(270 10 10)'/%3E%3Cellipse cx='10' cy='4.6' rx='2.2' ry='3.4' transform='rotate(315 10 10)'/%3E%3C/g%3E%3Ccircle cx='10' cy='10' r='3.9' fill='%238a5a2b' stroke='%23333' stroke-width='1.8'/%3E%3Cpath d='M8.6 9H8.7M11.3 9H11.4M10 11.4H10.1' stroke='%23ffd23f' stroke-width='1.3' stroke-linecap='round'/%3E%3C/svg%3E");
}

.season-string--harvest li:nth-child(4n + 4) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 22'%3E%3Cpath d='M10 1.6C16.4 5 16.6 14.6 10 20.6C3.4 14.6 3.6 5 10 1.6Z' fill='%23a8e6a1' stroke='%23333' stroke-width='2.2' stroke-linejoin='round'/%3E%3Cpath d='M10 4.6V17.6M10 9.4 12.8 7.4M10 13.2 7.2 11.2' fill='none' stroke='%23333' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* Eid: gold crescents and teal stars, with a lantern every sixth. */
.season-string--eid {
  gap: 20px;
}

.season-string--eid li {
  width: 18px;
  height: 18px;
  margin-top: 5px;
  background: no-repeat center / contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M13.5 2.2 A8 8 0 1 0 17.8 14.6 A6.4 6.4 0 1 1 13.5 2.2 Z' fill='%23f6c445' stroke='%23333' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-animation: season-twinkle 3s ease-in-out infinite;
          animation: season-twinkle 3s ease-in-out infinite;
}

.season-string--eid li:nth-child(even) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 1.6 12.4 7.2 18.4 7.6 13.8 11.5 15.3 17.4 10 14.2 4.7 17.4 6.2 11.5 1.6 7.6 7.6 7.2Z' fill='%2393f9e8' stroke='%23333' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-animation-delay: 1.5s;
          animation-delay: 1.5s;
}

.season-string--eid li:nth-child(6n) {
  width: 16px;
  height: 26px;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 26'%3E%3Cpath d='M8 1V4' stroke='%23333' stroke-width='2'/%3E%3Cpath d='M4 5H12L13.5 8H2.5Z' fill='%23333'/%3E%3Cpath d='M3 8H13V19Q8 23 3 19Z' fill='%23f6c445' stroke='%23333' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M6 10.5V17M10 10.5V17' stroke='%23d0673f' stroke-width='1.4'/%3E%3Cpath d='M6 22H10' stroke='%23333' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  -webkit-animation: none;
          animation: none;
}

/* ---------- What drifts down the page ---------- */

/* Over the page but under the header and pop-ups; taps go straight through. */
html.has-season.fall-snow body::after,
html.has-season.fall-confetti body::after,
html.has-season.fall-caps body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 900;
  pointer-events: none;
  -webkit-animation: season-fall 30s linear infinite;
          animation: season-fall 30s linear infinite;
}

/* Snow: three layers of small paper-white dots. */
html.fall-snow body::after {
  background-image:
    radial-gradient(circle, rgba(255, 252, 248, 0.95) 1.6px, transparent 2.4px),
    radial-gradient(circle, rgba(255, 252, 248, 0.8) 2.2px, transparent 3px),
    radial-gradient(circle, rgba(255, 252, 248, 0.65) 1.2px, transparent 2px);
  background-size:
    140px 140px,
    230px 230px,
    90px 90px;
  background-position:
    0 0,
    40px 60px,
    70px 20px;
}

/* Confetti: little paper bits in the site's colours. */
html.fall-confetti body::after {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Crect x='20' y='14' width='9' height='5' rx='1' fill='%2393f9e8' transform='rotate(25 24 16)'/%3E%3Crect x='96' y='52' width='9' height='5' rx='1' fill='%23ffd23f' transform='rotate(-30 100 54)'/%3E%3Crect x='54' y='110' width='9' height='5' rx='1' fill='%23005a9c' transform='rotate(60 58 112)'/%3E%3Crect x='130' y='128' width='9' height='5' rx='1' fill='%23e0463a' transform='rotate(-10 134 130)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='230' height='230'%3E%3Crect x='60' y='30' width='7' height='4' rx='1' fill='%23fff8f2' transform='rotate(40 63 32)'/%3E%3Crect x='170' y='120' width='7' height='4' rx='1' fill='%232bbf6e' transform='rotate(-50 173 122)'/%3E%3Ccircle cx='110' cy='190' r='2.6' fill='%23ffd23f'/%3E%3C/svg%3E");
  background-size:
    160px 160px,
    230px 230px;
  background-position:
    0 0,
    50px 80px;
}

/* Graduation season: small mortarboards. */
html.fall-caps body::after {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cg transform='translate(40 30) rotate(-12)' stroke='%23333' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M0 6 12 0 24 6 12 12Z' fill='%23333'/%3E%3Cpath d='M5 8.5V13Q12 17 19 13V8.5' fill='%23555'/%3E%3Cpath d='M22 7V13' fill='none' stroke='%23ffd23f'/%3E%3C/g%3E%3Cg transform='translate(150 140) rotate(16) scale(0.8)' stroke='%23333' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M0 6 12 0 24 6 12 12Z' fill='%23333'/%3E%3Cpath d='M5 8.5V13Q12 17 19 13V8.5' fill='%23555'/%3E%3Cpath d='M22 7V13' fill='none' stroke='%2393f9e8'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 220px 220px;
  background-position: 0 0;
  opacity: 0.5;
}

@-webkit-keyframes season-fall {
  to {
    background-position:
      40px 840px,
      -60px 1380px,
      110px 540px;
  }
}

@keyframes season-fall {
  to {
    background-position:
      40px 840px,
      -60px 1380px,
      110px 540px;
  }
}

html.fall-caps body::after {
  -webkit-animation-name: season-fall-caps;
          animation-name: season-fall-caps;
  -webkit-animation-duration: 40s;
          animation-duration: 40s;
}

@-webkit-keyframes season-fall-caps {
  to {
    background-position: 60px 880px;
  }
}

@keyframes season-fall-caps {
  to {
    background-position: 60px 880px;
  }
}

/* ---------- Hats on the home greeting's robot ---------- */

html.has-season .home-greeting .user-name {
  position: relative;
}

html.has-season.season-xmas .home-greeting .user-name::before,
html.has-season.season-newyear .home-greeting .user-name::before,
html.has-season.season-graduation .home-greeting .user-name::before,
html.has-season.season-nanenane .home-greeting .user-name::before {
  content: "";
  position: absolute;
  top: -0.46em;
  left: -0.18em;
  z-index: 1;
  width: 0.86em;
  height: 0.72em;
  background: no-repeat center / contain;
  -webkit-transform: rotate(-14deg);
      -ms-transform: rotate(-14deg);
          transform: rotate(-14deg);
  pointer-events: none;
}

/* Christmas and New Year: a Santa hat. */
html.has-season.season-xmas .home-greeting .user-name::before,
html.has-season.season-newyear .home-greeting .user-name::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 34'%3E%3Cpath d='M5 26 C 9 10, 20 3, 31 6 C 35 7, 37 12, 36 17 C 32 13, 26 13, 23 17 C 21 20, 21 24, 22 26 Z' fill='%23e0463a' stroke='%23333' stroke-width='2.6' stroke-linejoin='round'/%3E%3Crect x='2' y='24' width='26' height='8' rx='4' fill='%23fff8f2' stroke='%23333' stroke-width='2.6'/%3E%3Ccircle cx='36' cy='18' r='4.2' fill='%23fff8f2' stroke='%23333' stroke-width='2.6'/%3E%3C/svg%3E");
}

/* Graduation season: a mortarboard with a teal tassel. */
html.has-season.season-graduation .home-greeting .user-name::before {
  top: -0.4em;
  left: -0.1em;
  width: 0.9em;
  height: 0.6em;
  -webkit-transform: rotate(-10deg);
      -ms-transform: rotate(-10deg);
          transform: rotate(-10deg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 26'%3E%3Cpath d='M2 9 20 2 38 9 20 16Z' fill='%23333' stroke='%23333' stroke-width='2.4' stroke-linejoin='round'/%3E%3Cpath d='M9 12.5V19Q20 25 31 19V12.5' fill='%23555' stroke='%23333' stroke-width='2.4' stroke-linejoin='round'/%3E%3Cpath d='M34 10.5V19' stroke='%2393f9e8' stroke-width='2.4' stroke-linecap='round'/%3E%3Ccircle cx='34' cy='20.5' r='2.4' fill='%2393f9e8' stroke='%23333' stroke-width='1.4'/%3E%3C/svg%3E");
}

/* Nane Nane: a farmer's straw hat with a green band. */
html.has-season.season-nanenane .home-greeting .user-name::before {
  top: -0.42em;
  left: -0.1em;
  width: 0.98em;
  height: 0.64em;
  -webkit-transform: rotate(-10deg);
      -ms-transform: rotate(-10deg);
          transform: rotate(-10deg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 26'%3E%3Cellipse cx='20' cy='19.5' rx='18' ry='4.8' fill='%23e9c46a' stroke='%23333' stroke-width='2.4'/%3E%3Cpath d='M10.5 18.6C10.5 9.6 13.6 4.2 20 4.2C26.4 4.2 29.5 9.6 29.5 18.6Q20 21.4 10.5 18.6Z' fill='%23f4d98e' stroke='%23333' stroke-width='2.4' stroke-linejoin='round'/%3E%3Cpath d='M10.9 14.6Q20 17.6 29.1 14.6' fill='none' stroke='%232bbf6e' stroke-width='3.2'/%3E%3Cpath d='M6 20.6 9 21.4M31 21.4 34 20.6M17 23.6H23' stroke='%23c98a00' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ---------- The homepage's season line ---------- */

main .season-note {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  margin: 0 auto 14px;
  padding: 5px 12px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #93f9e8;
  background: #333333;
  border-radius: 8px;
}

/* ---------- Small screens and reduced motion ---------- */

@media (max-width: 600px) {
  .season-string {
    gap: 18px;
    padding: 0 8px;
  }

  main .season-note {
    font-size: 0.68rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .season-string li,
  html.has-season body::after {
    -webkit-animation: none !important;
            animation: none !important;
  }
}
