:root {
  --bg: #f9f9f7; --surface: #ffffff; --ink: #0b0b0b; --ink-2: #52514e; --ink-3: #6d6b67;
  --rule: rgba(11, 11, 11, .1); --accent: #2a78d6; --link: #256abf; --accent-soft: #e8f1fc; --accent-2: #eb6834;
  --mark: #127a55; --mark-soft: #e3f4ec; --warn: #734500; --warn-soft: #fdf1d8; --open: #6250d6; --open-soft: #eeebfb;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0b0b; --surface: #1a1a19; --ink: #ffffff; --ink-2: #a5a49a; --ink-3: #898781;
    --rule: rgba(255, 255, 255, .1); --accent: #3987e5; --link: #5598e7; --accent-soft: #14243a; --accent-2: #d95926;
    --mark: #1baf7a; --mark-soft: #0f2a20; --warn: #db9300; --warn-soft: #2a2010; --open: #9d8ff0; --open-soft: #221d3d;
  }
}
:root[data-theme="dark"] {
  --bg: #0b0b0b; --surface: #1a1a19; --ink: #ffffff; --ink-2: #a5a49a; --ink-3: #898781;
  --rule: rgba(255, 255, 255, .1); --accent: #3987e5; --link: #5598e7; --accent-soft: #14243a; --accent-2: #d95926;
  --mark: #1baf7a; --mark-soft: #0f2a20; --warn: #db9300; --warn-soft: #2a2010; --open: #9d8ff0; --open-soft: #221d3d;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--serif); }
a { color: var(--link); text-underline-offset: 2px; }
.masthead { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: .8rem 16px; border-bottom: 1px solid var(--rule); font-family: var(--sans); font-size: .9rem; }
.brand { font-weight: 650; color: var(--ink); text-decoration: none; letter-spacing: .01em; }
.masthead nav { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; }
.masthead nav a { color: var(--ink-2); text-decoration: none; }
.masthead nav a:hover { color: var(--link); }
main { max-width: 72rem; margin: 0 auto; padding: 0 16px 4rem; }
h1 { font-size: 2.1rem; line-height: 1.2; margin: 2.2rem 0 .6rem; font-weight: 600; }
.lede { color: var(--ink-2); max-width: 44rem; margin: 0 0 1.4rem; }
.foot { max-width: 72rem; margin: 0 auto; padding: 1.5rem 16px 3rem; border-top: 1px solid var(--rule);
  color: var(--ink-3); font: .82rem/1.5 var(--sans); }
.foot .suggest { margin: 0 0 .9rem; color: var(--ink-2); }
.foot .suggest strong { font-weight: 650; color: var(--ink); }

/* the book */
.book { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 3rem; }
.book > h1, .book > .lede, .book > .seasonbar { grid-column: 1 / -1; }
@media (min-width: 960px) {
  .book { grid-template-columns: 15rem minmax(0, 44rem); }
  .toc { position: sticky; top: 1rem; align-self: start; max-height: calc(100vh - 2rem); overflow: auto; }
}
.seasonbar { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; padding: .7rem .9rem;
  background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; margin-bottom: 1.6rem;
  font: .88rem var(--sans); }
.seasonbar label { color: var(--ink-2); }
.seasonbar select, .seasonbar button { font: inherit; color: var(--ink); background: var(--bg);
  border: 1px solid var(--rule); border-radius: 6px; padding: .25rem .5rem; cursor: pointer; }
.seasonbar .pn a { margin-right: .4rem; }
.seasonbar button { margin-left: auto; }
.toc h2 { font: 600 .78rem var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin: 0 0 .5rem; }
.toc ol { list-style: none; padding: 0; margin: 0 0 1.5rem; font: .9rem/1.4 var(--sans); }
.toc li { margin: .3rem 0; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--link); }
.rule { scroll-margin-top: 1rem; }
.rule h2 { font-size: 1.45rem; margin: 2.4rem 0 .4rem; padding-top: 1rem; border-top: 1px solid var(--rule); font-weight: 600; }
.rule h3 { font-size: 1.12rem; margin: 1.6rem 0 .3rem; font-weight: 600; }
.rule h4 { font: 600 .95rem var(--sans); margin: 1rem 0 .2rem; color: var(--ink-2); }
.rule p, .rule li { max-width: 44rem; }
.num { color: var(--ink-3); font-family: var(--sans); font-weight: 500; font-size: .85em; margin-right: .3rem; }
.changed { font: 500 .72rem var(--sans); color: var(--mark); background: var(--mark-soft); border-radius: 99px;
  padding: .1rem .55rem; margin-left: .4rem; vertical-align: .15em; white-space: nowrap; }
.changed a { color: inherit; }
.note { font: .88rem/1.5 var(--sans); border-left: 3px solid var(--warn); background: var(--warn-soft);
  padding: .55rem .8rem; margin: .8rem 0; border-radius: 0 6px 6px 0; max-width: 44rem; }
.note-open { border-color: var(--open); background: var(--open-soft); }
.note-in-practice { border-color: var(--mark); background: var(--mark-soft); }
.history { font: .85rem/1.5 var(--sans); color: var(--ink-2); margin: .6rem 0 0; max-width: 44rem; }
.history summary { cursor: pointer; color: var(--ink-3); }
.history ul { margin: .4rem 0 0; padding-left: 1.1rem; }
.table-wrap { overflow-x: auto; margin: .8rem 0 1.2rem; }
table.scoring { border-collapse: collapse; font: .86rem/1.35 var(--sans); width: 100%; min-width: 30rem; background: var(--surface); }
.scoring td { width: 9%; }
.scoring th, .scoring td { padding: .35rem .6rem; border-bottom: 1px solid var(--rule); text-align: center; }
.scoring thead th { font-weight: 650; border-bottom: 2px solid var(--ink-3); }
.scoring thead th:first-child, .scoring tbody th { text-align: left; font-weight: 500; }
.scoring tr.group th { font-weight: 650; color: var(--ink-2); background: var(--bg); padding-top: .6rem; }
.scoring td.na { color: var(--ink-3); }

/* the timeline */
.timeline { max-width: 50rem; }
.years { display: flex; flex-wrap: wrap; gap: .3rem .8rem; font: .85rem var(--sans); margin-bottom: 1rem; }
.meeting h2 { font-size: 1.4rem; margin: 2.2rem 0 .3rem; padding-top: 1rem; border-top: 1px solid var(--rule); font-weight: 600; scroll-margin-top: 1rem; }
.meeting h3 { font: 600 .8rem var(--sans); text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); margin: 1.2rem 0 .4rem; }
.meeting ul { padding-left: 1.1rem; }
.meeting li { margin: .55rem 0; }
.changes li { scroll-margin-top: 1rem; }
.changes li:target { background: var(--accent-soft); outline: 6px solid var(--accent-soft); border-radius: 2px; }
.status { font: 600 .72rem var(--sans); text-transform: uppercase; letter-spacing: .05em; color: var(--mark);
  background: var(--mark-soft); border-radius: 4px; padding: .1rem .4rem; margin-right: .3rem; }
.status-one-season { color: var(--warn); background: var(--warn-soft); }
.status-open { color: var(--open); background: var(--open-soft); }
.meta, .evidence, .where, .outcome { font: .82rem/1.5 var(--sans); color: var(--ink-3); }
.meta, .evidence { margin: .25rem 0 0; }
.others li { color: var(--ink-2); }

/* home */
.doors { list-style: none; padding: 0; display: grid; gap: .8rem; max-width: 40rem; }
.doors li { background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; padding: .9rem 1.1rem; }
.doors a { font-size: 1.15rem; font-weight: 600; text-decoration: none; display: block; }
.doors span { font: .88rem var(--sans); color: var(--ink-3); }

@media print {
  body { background: #fff; color: #000; font-size: 11pt; }
  .masthead nav, .seasonbar, .toc, .foot, .years { display: none; }
  main { max-width: none; padding: 0; }
  .book { display: block; }
  .rule h2 { break-after: avoid; }
  .rule, .table-wrap { break-inside: avoid-page; }
  .changed { background: none; border: 1px solid #999; color: #000; }
  .history summary { list-style: none; }
  a { color: #000; text-decoration: none; }
}

/* data pages: seasons and franchises */
.season, .franchise { max-width: 56rem; }
/* wraps onto a second line on a phone rather than running off the edge, a link at a time */
.pn { display: flex; flex-wrap: wrap; gap: .3rem 1rem; font: .88rem var(--sans); margin: -.2rem 0 1rem; }
.pn a { white-space: nowrap; }
.banner { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .7rem; background: var(--accent-soft);
  border-radius: 8px; padding: .7rem 1rem; margin: 0 0 1.4rem; }
.banner .label { font: 600 .72rem var(--sans); text-transform: uppercase; letter-spacing: .07em; color: var(--link); }
.banner strong { font-size: 1.15rem; }
.banner strong a { color: var(--ink); text-decoration: none; }
.season h2, .franchise h2 { font-size: 1.3rem; margin: 2rem 0 .4rem; padding-top: .9rem; border-top: 1px solid var(--rule); font-weight: 600; }
.season h3 { font-size: 1.02rem; margin: 1.1rem 0 .2rem; font-weight: 600; }
.season h4 { font: 600 .85rem var(--sans); margin: .8rem 0 .2rem; color: var(--ink-2); }
.week { font: .78rem var(--sans); color: var(--ink-3); font-weight: 400; margin-left: .3rem; }
.meta { font: .82rem/1.5 var(--sans); color: var(--ink-3); }
table.data { border-collapse: collapse; width: 100%; font: .86rem/1.35 var(--sans); background: var(--surface); }
.data th, .data td { padding: .38rem .55rem; border-bottom: 1px solid var(--rule); text-align: right; white-space: nowrap; }
.data th { font-weight: 650; color: var(--ink-2); border-bottom: 2px solid var(--ink-3); }
.data .l { text-align: left; }
.data tr.champ td { background: var(--accent-soft); }
.data a { color: var(--ink); text-decoration-color: var(--rule); }
.data a:hover { color: var(--link); }
ul.games { list-style: none; padding: 0; margin: .3rem 0 .6rem; font: .9rem/1.6 var(--sans); }
ul.games li { display: flex; flex-wrap: wrap; gap: .2rem .5rem; }
ul.games .won { font-weight: 650; }
ul.games .vs { color: var(--ink-3); }
ul.games a { color: inherit; text-decoration-color: var(--rule); }
details.week { border-bottom: 1px solid var(--rule); padding: .35rem 0; }
details.week summary { cursor: pointer; font: 600 .9rem var(--sans); }
details summary { cursor: pointer; }
ul.trades, ul.changes { padding-left: 1.1rem; }
ul.trades li, ul.changes li { margin: .45rem 0; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .6rem; margin: .4rem 0 1rem; }
.fact { background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; padding: .6rem .8rem; }
.fact .k { display: block; font: 600 .72rem var(--sans); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.fact .v { display: block; font: .95rem/1.45 var(--sans); margin-top: .15rem; }
.names { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { font: .85rem var(--sans); background: var(--surface); border: 1px solid var(--rule); border-radius: 99px; padding: .15rem .6rem; }
code { font: .85em ui-monospace, SFMono-Regular, Menlo, monospace; }
@media print {
  .pn { display: none; }
  details.week { break-inside: avoid; }
}

/* head to head */
.h2h { max-width: 72rem; }
table.matrix { font-size: .78rem; }
.matrix th, .matrix td { padding: .3rem .35rem; text-align: center; }
.matrix th.l { text-align: left; }
.matrix td.up { background: var(--mark-soft); }
.matrix td.down { background: var(--warn-soft); }
.matrix td.na { color: var(--ink-3); background: var(--bg); }
.data td.won { font-weight: 650; }

/* simple bars */
.bars { display: grid; gap: .2rem; font: .78rem var(--sans); max-width: 36rem; }
.bar { display: grid; grid-template-columns: 2.8rem 1fr 2rem; align-items: center; gap: .5rem; }
.bar .y { color: var(--ink-3); }
.bar .b { display: block; height: .7rem; background: var(--accent); border-radius: 0 4px 4px 0; }
.bar .n { color: var(--ink-2); }
select { font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--rule); border-radius: 6px; padding: .2rem .4rem; }
.data tr.hit td { background: var(--mark-soft); }
a.chip { text-decoration: none; color: var(--ink); }
a.chip:hover { border-color: var(--link); }

/* standings by conference */
.confs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 2rem; }
@media (min-width: 760px) { .confs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.conf h3 { font: 600 .8rem var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin: .8rem 0 0; }
.conf h4 { margin: .6rem 0 .25rem; }
.seed { display: inline-block; min-width: 1.2rem; font: 600 .72rem var(--sans); color: var(--mark); }

/* the Moose (site/eggs.json) */
.moose { position: relative; }
.moose::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 1.6em; height: .8em;
  transform: translate(-50%, .2em); opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 20'%3E%3Cpath fill='%238a5a2b' d='M18 19c-1-4-4-6-8-7-3-1-6-3-7-7 2 2 4 2 5 1-1-2-1-4 0-5 1 2 2 3 4 3 0-2 1-3 2-4 0 2 1 4 3 5 1 2 1 5 1 8zm4 0c1-4 4-6 8-7 3-1 6-3 7-7-2 2-4 2-5 1 1-2 1-4 0-5-1 2-2 3-4 3 0-2-1-3-2-4 0 2-1 4-3 5-1 2-1 5-1 8z'/%3E%3C/svg%3E"); }
a:hover .moose::before, .moose:hover::before { opacity: 1; transform: translate(-50%, 0); }
.banner.moose-title { position: relative; overflow: hidden; }
.banner.moose-title::after { content: ""; position: absolute; right: .5rem; top: 50%; width: 6rem; height: 88%;
  transform: translateY(-50%); opacity: .85; pointer-events: none;
  background: no-repeat center/contain url("../assets/manic-moose.svg"); }
.egg { font: italic .9rem var(--sans); color: var(--link); margin: .2rem 0 .8rem; }
.runner svg { width: min(22rem, 90%); height: auto; display: block; margin: 1rem 0; }
.lost h1, .museum h1 { margin-top: .5rem; }
html.moose-mode { --accent: #6b3d1f; --link: #6b3d1f; --accent-soft: #efe3d6; --accent-2: #8a5a2b; }
img.moose-run { position: fixed; bottom: 8vh; left: -30vw; width: 26vw; min-width: 160px; z-index: 50;
  pointer-events: none; animation: moose-run 4s linear forwards; }
@keyframes moose-run { to { left: 110vw; } }
@media (prefers-reduced-motion: reduce) { img.moose-run { display: none; } .moose::before { transition: none; } }
/* the F-Jackie egg (site/assets/barney.js): the site goes purple and Barney pops up */
html.barney-mode { --accent: #6b3fa0; --link: #6b3fa0; --accent-soft: #efe7f8; --accent-2: #3f8f3a; }
@media (prefers-color-scheme: dark) { html.barney-mode:not([data-theme="light"]) { --accent: #b794e8; --link: #b794e8; --accent-soft: #2a1f3d; --accent-2: #7cc46f; } }
html[data-theme="dark"].barney-mode { --accent: #b794e8; --link: #b794e8; --accent-soft: #2a1f3d; --accent-2: #7cc46f; }
img.barney-pop { position: fixed; right: 16px; bottom: 16px; width: min(45vw, 225px); z-index: 50; pointer-events: none;
  border-radius: 10px; box-shadow: 0 6px 24px rgba(0, 0, 0, .35); transform: translateY(130%) rotate(-6deg);
  transition: transform .6s cubic-bezier(.2, 1.4, .4, 1); }
img.barney-pop.up { transform: translateY(0) rotate(-3deg); animation: barney-bob 1.2s ease-in-out .6s infinite alternate; }
@keyframes barney-bob { to { transform: translateY(-10px) rotate(3deg); } }
@media (prefers-reduced-motion: reduce) { img.barney-pop, img.barney-pop.up { transition: none; animation: none; transform: none; } }
@media print { img.barney-pop { display: none; } }
/* the arrival clips (site/assets/clip.js): a clip slides up in the corner and plays */
/* sized by height, so a square clip comes out wider than a tall one */
.clip-pop { position: fixed; right: 16px; bottom: 16px; height: min(40vh, 260px); width: auto; max-width: 45vw; z-index: 50; cursor: pointer;
  border-radius: 10px; box-shadow: 0 6px 24px rgba(0, 0, 0, .35); transform: translateY(130%);
  transition: transform .6s cubic-bezier(.2, 1.4, .4, 1); }
.clip-pop.up { transform: translateY(0); }
/* a YouTube clip: 16:9, the player takes its own clicks, and a button closes it */
.clip-pop.clip-yt { height: auto; width: min(90vw, 420px); max-width: none; overflow: hidden; background: #000; cursor: auto; }
.clip-frame { aspect-ratio: 16 / 9; }
/* a Short: 9:16, as wide as fits under its caption on a short screen */
.clip-pop.clip-yt.clip-tall { width: min(60vw, 260px, calc((100vh - 120px) * 9 / 16)); }
.clip-tall .clip-frame { aspect-ratio: 9 / 16; }
.clip-yt iframe { width: 100%; height: 100%; border: 0; display: block; }
.clip-caption { margin: 0; padding: 10px 44px 10px 14px; white-space: pre-line; color: #fff; background: #111; font: 600 14px/1.35 var(--sans); }
.clip-yt button { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border: 0; border-radius: 50%;
  background: rgba(0, 0, 0, .7); color: #fff; font: 20px/28px var(--sans, sans-serif); cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .clip-pop, .clip-pop.up { transition: none; transform: none; } }
@media print { .clip-pop { display: none; } }
/* the Karpet Munchers' draft guide (eggs.magazine, shown by site/assets/clip.js): a glossy cover,
   in its own print colours whatever the site's theme */
.mag { position: fixed; right: 16px; bottom: 16px; z-index: 50; width: min(calc(100vw - 32px), 270px); cursor: pointer;
  padding: 12px 14px 14px; color: #fff; border-radius: 3px; font: 700 12px/1.25 "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(160deg, #d7192f 0%, #a50f22 55%, #6e0816 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .15);
  transform: translateY(130%) rotate(5deg); transition: transform .7s cubic-bezier(.2, 1.3, .4, 1); }
.mag.up { transform: translateY(0) rotate(-2deg); }
.mag::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, 0) 38%); }
.mag-top { display: flex; justify-content: space-between; gap: 8px; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.mag-top span:last-child { text-align: right; font-weight: 400; }
.mag-title { margin: 4px 0 2px; font: 900 66px/.85 Impact, "Arial Black", "Helvetica Neue", sans-serif; text-shadow: 3px 3px 0 #111; }
.mag-title small { display: block; margin-top: 4px; color: #ffd400; font: 800 14px/1.2 "Helvetica Neue", Arial, sans-serif;
  letter-spacing: .14em; text-transform: uppercase; text-shadow: none; }
.mag-burst { position: absolute; top: 50px; right: 8px; width: 82px; height: 82px; display: grid; place-items: center;
  padding: 14px; text-align: center; color: #111; background: #ffd400; font: 900 11px/1.05 "Arial Black", Arial, sans-serif;
  text-transform: uppercase; transform: rotate(12deg); clip-path: polygon(50% 0%, 61% 10%, 75% 7%, 79% 21%, 93% 25%, 90% 39%, 100% 50%, 90% 61%, 93% 75%, 79% 79%, 75% 93%, 61% 90%, 50% 100%, 39% 90%, 25% 93%, 21% 79%, 7% 75%, 10% 61%, 0% 50%, 10% 39%, 7% 25%, 21% 21%, 25% 7%, 39% 10%); }
.mag-line { margin-top: 8px; font-size: 13px; text-transform: uppercase; }
.mag-line b { display: block; color: #ffd400; font: 900 21px/1 Impact, "Arial Black", sans-serif; letter-spacing: .02em; }
.mag-line ul { margin: 4px 0 0; padding: 0; list-style: none; }
.mag-line li { font-size: 14px; }
.mag-line li::before { content: "\2605  "; color: #ffd400; }
.mag-small { font-size: 10px; font-weight: 400; letter-spacing: .04em; }
.mag-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: 10px; }
.mag-label { padding: 4px 6px; color: #222; background: #fff; font: 400 9px/1.3 "Courier New", monospace; transform: rotate(-1deg); }
.mag-barcode { flex: none; width: 60px; height: 30px; border: 3px solid #fff;
  background: #fff repeating-linear-gradient(90deg, #111 0 2px, #fff 2px 3px, #111 3px 4px, #fff 4px 7px); }
.mag-note { margin: 12px -6px -22px 34px; padding: 8px 10px; color: #222; background: #fff27a; transform: rotate(-4deg);
  font: 400 11.5px/1.3 "Marker Felt", "Segoe Print", "Comic Sans MS", cursive; box-shadow: 0 4px 10px rgba(0, 0, 0, .35); }
@media (prefers-reduced-motion: reduce) { .mag, .mag.up { transition: none; transform: none; } }
@media print { .mag { display: none; } }

/* the Texas Nashvillians egg (site/assets/outage.js): the power goes out, and a crew puts it back */
html.outage-flicker body { animation: outage-flicker .9s steps(1, end) forwards; }
@keyframes outage-flicker { 0% { opacity: 1; } 15% { opacity: .25; } 25% { opacity: 1; } 45% { opacity: .1; }
  55% { opacity: .9; } 75% { opacity: .05; } 85% { opacity: .7; } 100% { opacity: .6; } }
html.outage-off, html.outage-on { background: #000 !important; overflow: hidden; }
html.outage-off body { animation: outage-crt-off .55s ease-in forwards; }
html.outage-on body { animation: outage-crt-on .6s ease-out; }
@keyframes outage-crt-off { 0% { transform: none; filter: none; } 55% { transform: scale(1, .004); filter: brightness(5); }
  100% { transform: scale(0, .004); filter: brightness(10); } }
@keyframes outage-crt-on { 0% { transform: scale(0, .004); filter: brightness(10); } 45% { transform: scale(1, .004); filter: brightness(5); }
  100% { transform: none; filter: none; } }
.outage-scene { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 28px; padding: 16px; cursor: pointer; color: #e8e6df; font-family: var(--sans);
  opacity: 0; transition: opacity .4s; }
.outage-scene.show { opacity: 1; }
.outage-scene.done { opacity: 0; }
.outage-notice { max-width: 420px; padding: 14px 18px; text-align: center; background: #111; border: 1px solid #5c4a1f; border-radius: 8px; }
.outage-notice b { color: #f5b942; font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; }
.outage-notice p { margin: 6px 0 0; }
.outage-notice small { display: block; margin-top: 8px; color: #8d8b84; }
.outage-scene .o-on, .outage-scene.fixed .o-out { display: none; }
.outage-scene.fixed .o-on { display: inline; }
.outage-scene.fixed .outage-notice b { color: #5fd38d; }
.outage-scene svg { width: min(100%, 560px); height: auto; overflow: visible; }
.outage-scene .win { fill: #262626; transition: fill .3s; }
.outage-scene.fixed .win { fill: #ffd76a; }
.outage-scene .wire { fill: none; stroke: #444; stroke-width: 1.5; transition: stroke .3s; }
.outage-scene.fixed .wire { stroke: #ffd400; }
.outage-scene .beacon { fill: #f5b942; animation: outage-beacon .5s steps(1) infinite; }
@keyframes outage-beacon { 50% { fill: #5a3d00; } }
.outage-scene .truck { transform: translateX(-470px); transition: transform 1.7s cubic-bezier(.25, .8, .3, 1); }
.outage-scene.show .truck { transform: none; }
.outage-scene .boom, .outage-scene .bucket { transform-origin: 0 0; transition: transform 1.1s ease-in-out; }
.outage-scene .boom { transform: rotate(-178deg); }
.outage-scene .bucket { transform: rotate(178deg); }
.outage-scene.lift .boom { transform: rotate(-42deg); }
.outage-scene.lift .bucket { transform: rotate(42deg); }
.outage-scene .spark { fill: #fff3a0; opacity: 0; transform-origin: 312px 32px; }
.outage-scene.fixed .spark { animation: outage-spark .6s ease-out; }
@keyframes outage-spark { 0% { opacity: 0; transform: scale(.2); } 30% { opacity: 1; transform: scale(1.3); } 100% { opacity: 0; transform: scale(1.7); } }
@media (prefers-reduced-motion: reduce) {
  html.outage-off body { animation: none; opacity: .1; }
  html.outage-on body { animation: none; }
}
@media print { .outage-scene { display: none; } }
/* the Couchfire egg (site/assets/trade.js): a trade proposal nobody should accept */
.trade-back { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px;
  background: rgba(0, 0, 0, .55); opacity: 0; transition: opacity .3s; }
.trade-back.up { opacity: 1; }
.trade-offer { width: min(100%, 460px); padding: 20px 22px; color: var(--ink); background: var(--surface);
  border: 1px solid var(--rule); border-radius: 12px; box-shadow: 0 20px 50px rgba(0, 0, 0, .45); font: 15px/1.45 var(--sans);
  transform: translateY(16px) scale(.97); transition: transform .3s; }
.trade-back.up .trade-offer { transform: none; }
.trade-kicker { margin: 0; color: var(--ink-3); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.trade-offer h2 { margin: 2px 0 14px; font: 700 1.25rem/1.25 var(--sans); }
.trade-sides { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.trade-sides h3 { margin: 0 0 4px; color: var(--ink-2); font: 700 .78rem/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.trade-sides ul { margin: 0; padding-left: 1.1em; }
.trade-sides li { margin: 2px 0; }
.trade-note { margin: 14px 0 0; color: var(--ink-2); font-style: italic; }
.trade-result { margin: 12px 0 0; font-weight: 700; }
.trade-result:empty { display: none; }
.trade-buttons { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.trade-buttons button { padding: 9px 18px; border: 1px solid var(--rule); border-radius: 8px; cursor: pointer;
  font: 600 15px var(--sans); transition: transform .25s cubic-bezier(.2, 1.4, .4, 1); }
.trade-yes { color: var(--bg); background: var(--mark); border-color: var(--mark) !important; }
.trade-no { color: var(--ink); background: var(--surface); }
.trade-offer.answered .trade-buttons { visibility: hidden; }
@media (max-width: 420px) { .trade-sides { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .trade-back, .trade-offer, .trade-buttons button { transition: none; } }
@media print { .trade-back { display: none; } }

/* the Ho Train egg (site/assets/train.js): a grumpy engine stops mid-screen to complain */
.train { position: fixed; left: 0; bottom: 8px; z-index: 50; width: min(60vw, 260px); cursor: pointer;
  animation: train-cross 8s linear forwards; }
.train svg { display: block; width: 100%; height: auto; }
@keyframes train-cross {
  0% { transform: translateX(100vw); animation-timing-function: ease-out; }
  32% { transform: translateX(calc(50vw - 50%)); }
  68% { transform: translateX(calc(50vw - 50%)); animation-timing-function: ease-in; }
  100% { transform: translateX(-110%); } }
.train-wheel { animation: train-wheel 8s linear forwards; }
@keyframes train-wheel { 0% { transform: rotate(0); } 32%, 68% { transform: rotate(-1080deg); } 100% { transform: rotate(-2160deg); } }
.train-smoke circle { fill: #bbb; transform-box: fill-box; transform-origin: center; animation: train-puff 1.1s ease-out infinite; }
.train-smoke circle:nth-child(2) { animation-delay: .35s; }
.train-smoke circle:nth-child(3) { animation-delay: .7s; }
@keyframes train-puff { 0% { opacity: .9; transform: translateY(10px) scale(.5); } 100% { opacity: 0; transform: translateY(-14px) scale(1.5); } }
.train-bubble { position: absolute; bottom: 100%; left: 0; width: max-content; max-width: min(80vw, 280px); margin: 0 0 6px;
  padding: 8px 12px; color: #111; background: #fff; border-radius: 12px; box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
  font: 600 15px/1.3 var(--sans); opacity: 0; animation: train-talk 8s linear forwards; }
.train-bubble::after { content: ""; position: absolute; left: 40px; bottom: -8px; border: 8px solid transparent;
  border-bottom: 0; border-top-color: #fff; }
@keyframes train-talk { 0%, 33% { opacity: 0; } 36%, 65% { opacity: 1; } 68%, 100% { opacity: 0; } }
.train-calm { left: auto; right: 16px; animation: none; }
.train-calm .train-bubble { left: auto; right: 0; opacity: 1; animation: none; }
.train-calm .train-wheel, .train-calm .train-smoke circle { animation: none; }
@media print { .train { display: none; } }
/* the Tally Wackers' tank (site/assets/tank.js): it rolls in under a report card on the tank season */
.tank { position: fixed; left: 0; bottom: 8px; z-index: 50; width: min(60vw, 240px); cursor: pointer;
  animation: tank-cross 21s linear forwards; }
.tank svg { display: block; width: 100%; height: auto; }
/* 21 seconds: in by 2.7, parked under the card to 13.7, into the wall at 15.1 (40px wide), a
   bounce, then burning until it fades */
@keyframes tank-cross {
  0% { transform: translateX(-110%); animation-timing-function: ease-out; }
  13% { transform: translateX(calc(50vw - 50%)); }
  65% { transform: translateX(calc(50vw - 50%)); animation-timing-function: ease-in; }
  72% { transform: translateX(calc(100vw - 100% - 40px)); }
  73.5% { transform: translateX(calc(100vw - 100% - 58px)) rotate(-4deg); }
  75.5% { transform: translateX(calc(100vw - 100% - 48px)) rotate(1.5deg); }
  77%, 95% { transform: translateX(calc(100vw - 100% - 50px)) rotate(0); opacity: 1; }
  100% { transform: translateX(calc(100vw - 100% - 50px)); opacity: 0; } }
.tank-wheel { animation: tank-wheel 21s linear forwards; }
@keyframes tank-wheel { 0% { transform: rotate(0); } 13%, 65% { transform: rotate(900deg); } 72%, 100% { transform: rotate(1500deg); } }
.tank-card { position: absolute; bottom: 100%; left: 50%; width: max-content; max-width: min(86vw, 300px); margin-bottom: 4px;
  padding: 10px 14px 10px 12px; color: #111; background: #fffdf5; border: 1px solid #d8d2bf; border-radius: 6px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .35); font: 14px/1.35 var(--sans); opacity: 0; transform: translateX(-50%);
  animation: tank-talk 21s linear forwards; }
@keyframes tank-talk { 0%, 13.5% { opacity: 0; } 15%, 63% { opacity: 1; } 64.5%, 100% { opacity: 0; } }
.tank-card b { display: block; margin: 0 0 6px; letter-spacing: .06em; text-transform: uppercase; font-size: 12px; }
.tank-card ul { margin: 0; padding-left: 1.1em; }
.tank-grade { display: block; margin-top: 6px; color: #c0281c; font: 700 22px/1 "Marker Felt", "Segoe Print", "Comic Sans MS", cursive;
  transform: rotate(-3deg); transform-origin: left; }
.tank-calm { animation: none; left: 16px; }
.tank-calm .tank-card { left: 0; opacity: 1; transform: none; animation: none; }
.tank-calm .tank-wheel { animation: none; }
@media print { .tank { display: none; } }
/* the crash: flames and smoke from 15.1 seconds, and the wall, which rises at 12.5 and shakes on impact */
.tank-fire { opacity: 0; animation: tank-ignite .25s ease-out 15.1s forwards; }
@keyframes tank-ignite { to { opacity: 1; } }
.tank-fire path { transform-box: fill-box; transform-origin: 50% 100%; animation: tank-flicker .22s ease-in-out infinite alternate; }
.tank-fire path:nth-of-type(2n) { animation-duration: .3s; animation-delay: -.1s; }
@keyframes tank-flicker { from { transform: scale(.85, .8) skewX(-4deg); } to { transform: scale(1.05, 1.15) skewX(4deg); } }
.tank-smoke circle { fill: #a8a8a8; transform-box: fill-box; transform-origin: center; animation: tank-puff 1.4s ease-out infinite; }
.tank-smoke circle:nth-child(2) { animation-delay: .45s; }
.tank-smoke circle:nth-child(3) { animation-delay: .9s; }
@keyframes tank-puff { from { opacity: .8; transform: translateY(8px) scale(.6); } to { opacity: 0; transform: translateY(-34px) scale(1.8); } }
.tank-wall { position: fixed; right: 0; bottom: 0; z-index: 49; width: 40px; height: 190px; pointer-events: none;
  background-color: #8e3b2a;
  background-image: linear-gradient(#5b241a 2px, transparent 2px), linear-gradient(90deg, #5b241a 2px, transparent 2px),
    linear-gradient(90deg, #5b241a 2px, transparent 2px);
  background-size: 40px 20px, 40px 40px, 40px 40px; background-position: 0 0, 10px 0, 30px 20px;
  box-shadow: -3px 0 10px rgba(0, 0, 0, .4); transform: translateY(105%);
  animation: tank-wall-up .6s ease-out 12.5s forwards, tank-wall-hit .35s ease-in-out 15.1s, tank-wall-down .5s ease-in 20.4s forwards; }
@keyframes tank-wall-up { to { transform: none; } }
@keyframes tank-wall-hit { 0%, 100% { transform: none; } 25% { transform: translateX(5px); } 60% { transform: translateX(-3px); } }
@keyframes tank-wall-down { from { transform: none; } to { transform: translateY(105%); } }
.tank-calm .tank-fire { display: none; }
@media print { .tank-wall { display: none; } }

/* the Tally Wackers' attendance sheet (eggs.attendance, shown by site/assets/clip.js): a clipboard,
   in its own colours whatever the site's theme */
.attend { position: fixed; right: 16px; bottom: 16px; z-index: 50; width: min(calc(100vw - 32px), 300px); cursor: pointer;
  padding: 26px 12px 12px; background: #b88a4e; border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
  transform: translateY(130%) rotate(4deg); transition: transform .7s cubic-bezier(.2, 1.3, .4, 1); }
.attend.up { transform: translateY(0) rotate(-1.5deg); }
.attend::before { content: ""; position: absolute; top: 8px; left: 50%; width: 90px; height: 26px; margin-left: -45px;
  background: linear-gradient(#e2e2e2, #9a9a9a); border-radius: 5px 5px 3px 3px; }
.attend-paper { padding: 10px 12px 12px; color: #1d1d1d; background: #ffffff;
  background-image: repeating-linear-gradient(transparent 0 21px, #dbe6f3 21px 22px); font: 12px/1.35 var(--sans); }
.attend-paper h3 { margin: 0 0 2px; font: 700 13px/1.25 var(--sans); text-transform: uppercase; letter-spacing: .04em; }
.attend-paper p { margin: 0 0 8px; }
.attend-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px 6px; margin-bottom: 8px; }
.attend-grid span { display: flex; align-items: center; gap: 4px; font-size: 11px; }
.attend-grid i { font-style: normal; }
.attend-no { padding: 0 2px; color: #c0281c; border: 1.5px solid #c0281c; font: 700 8px/1.3 var(--sans); letter-spacing: .04em;
  transform: rotate(-6deg); }
.attend-yes { color: #1f4fbf; font: 700 14px/1 "Marker Felt", "Segoe Print", "Comic Sans MS", cursive; }
.attend-note { margin: 4px 0 0 !important; color: #1f4fbf; font: 14px/1.3 "Marker Felt", "Segoe Print", "Comic Sans MS", cursive; }
@media (prefers-reduced-motion: reduce) { .attend, .attend.up { transition: none; transform: none; } }
@media print { .attend { display: none; } }
/* the Beers egg (site/assets/notes.js): a heap of legal-pad notes, the switchboard on top. Paper
   colours whatever the site's theme */
.notes { position: fixed; inset: 0; z-index: 60; cursor: pointer; overflow: hidden; }
.pad { position: absolute; padding: 8px 10px 10px 26px; color: #1b2a6b; background: #fff7a8;
  background-image: linear-gradient(90deg, transparent 18px, #e88 18px 19px, transparent 19px),
    repeating-linear-gradient(transparent 0 17px, #a9c4e8 17px 18px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .35); font: 14px/18px "Bradley Hand", "Marker Felt", "Segoe Print", "Comic Sans MS", cursive;
  transform: rotate(var(--r)); animation: pad-drop .7s cubic-bezier(.3, .8, .4, 1.1) var(--d) both; }
.pad b { display: block; font-weight: 700; letter-spacing: .02em; }
.pad p { margin: 0; }
.pad s { color: #8a2b2b; }
.pad.ring::after { content: ""; position: absolute; right: 8px; bottom: 6px; width: 56px; height: 56px; border-radius: 50%;
  border: 5px solid rgba(120, 72, 30, .28); }
@keyframes pad-drop { from { transform: translateY(-120vh) rotate(calc(var(--r) * 4)); } to { transform: rotate(var(--r)); } }
.pad-board { left: 50%; top: 50%; width: min(94vw, 480px); margin: 0; padding: 10px 12px 6px 30px;
  transform: translate(-50%, -50%) rotate(var(--r)); animation-name: pad-drop-mid; }
@keyframes pad-drop-mid { from { transform: translate(-50%, -170vh) rotate(-30deg); } to { transform: translate(-50%, -50%) rotate(var(--r)); } }
.pad-board svg { display: block; width: 100%; height: auto; overflow: visible; }
.pad-board line { stroke: #1b2a6b; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: pad-ink .5s ease-out forwards; }
@keyframes pad-ink { to { stroke-dashoffset: 0; } }
.pad-board text { fill: #1b2a6b; font: 10.5px "Bradley Hand", "Marker Felt", "Segoe Print", "Comic Sans MS", cursive; }
.pad-board .nb-title { font-size: 17px; font-weight: 700; letter-spacing: .08em; }
.pad-board .nb-me { font-size: 13px; font-weight: 700; }
.pad-board .nb-total { fill: #b3261e; font-size: 14px; font-weight: 700; }
.pad-board circle { fill: #fff7a8; stroke: #1b2a6b; stroke-width: 2; }
.pad-board ellipse { fill: none; stroke: #b3261e; stroke-width: 1.6; }
.notes.sweep .pad { animation: pad-sweep .8s ease-in var(--s) forwards; }
.notes.sweep .pad-board { animation-name: pad-sweep-mid; }
@keyframes pad-sweep { from { transform: rotate(var(--r)); } to { transform: translate(130vw, 30vh) rotate(60deg); } }
@keyframes pad-sweep-mid { from { transform: translate(-50%, -50%) rotate(var(--r)); } to { transform: translate(130vw, -20vh) rotate(50deg); } }
.notes-calm .pad, .notes-calm .pad-board line { animation: none; stroke-dashoffset: 0; }
@media print { .notes { display: none; } }

/* the Beers rumor mill (site/assets/rumor.js): a news ticker along the bottom, in its own colours */
.rumor { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: flex; align-items: center;
  color: #ffffff; background: #111111; border-top: 3px solid #c8102e; font: 600 14px/1 var(--sans);
  transform: translateY(110%); transition: transform .4s ease-out; }
.rumor.up { transform: none; }
.rumor b { flex: none; padding: 10px 12px; color: #ffffff; background: #c8102e; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; }
.rumor-track { flex: 1; overflow: hidden; white-space: nowrap; padding: 10px 0; }
.rumor-track span { display: inline-block; padding-left: 12px; }
.rumor-track span.crawl { padding-left: 100%; animation: rumor-crawl linear infinite; }
.rumor:hover .rumor-track span.crawl { animation-play-state: paused; }
@keyframes rumor-crawl { to { transform: translateX(-100%); } }
.rumor button { flex: none; padding: 0 12px; color: #bbbbbb; background: none; border: 0; font: 20px/1 var(--sans); cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .rumor { transition: none; } .rumor-track { white-space: normal; } }
@media print { .rumor { display: none; } }
/* the Iron City Pounders' Autumn Bowl program (eggs.autumn, shown by site/assets/clip.js): a typed
   parish-bulletin sheet, in its own colours whatever the site's theme */
.bowl { position: fixed; right: 16px; bottom: 16px; z-index: 50; width: min(calc(100vw - 32px), 300px); cursor: pointer;
  padding: 14px 16px 16px; color: #2b2416; text-align: center; border: 1px solid #c9b688;
  background: #f3e7c4 radial-gradient(ellipse at center, rgba(255, 255, 255, .25) 40%, rgba(150, 110, 40, .25) 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45); font: 12.5px/1.45 "American Typewriter", "Courier New", Courier, monospace;
  transform: translateY(130%) rotate(-4deg); transition: transform .7s cubic-bezier(.2, 1.3, .4, 1); }
.bowl.up { transform: translateY(0) rotate(1.5deg); }
.bowl p { margin: 0 0 8px; }
.bowl h3 { margin: 4px 0 6px; font: 700 24px/1.1 "American Typewriter", "Courier New", Courier, monospace; letter-spacing: .06em; }
.bowl-parish { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.bowl-vs { font-weight: 700; font-size: 13px; }
.bowl-vs span { display: block; font-weight: 400; font-style: italic; }
.bowl hr { border: 0; border-top: 1px dashed #8a7a55; margin: 10px 0; }
.bowl-feat { font-weight: 700; }
.bowl-small { font-size: 11px; font-style: italic; }
@media (prefers-reduced-motion: reduce) { .bowl, .bowl.up { transition: none; transform: none; } }
@media print { .bowl { display: none; } }

/* the Iron City Pounders' plaque (eggs.plaque), hung on their page for good: wood and brass */
.plaque { max-width: 360px; margin: 6px 0 22px; padding: 10px; background: linear-gradient(135deg, #7a4b26, #4e2d14);
  border-radius: 6px; box-shadow: 0 4px 14px rgba(0, 0, 0, .35); }
.plaque-brass { padding: 12px 14px; color: #3b2a08; text-align: center; border-radius: 3px;
  background: linear-gradient(160deg, #f1d77a 0%, #cfa93a 45%, #e8c95e 70%, #b8901f 100%);
  font: 13px/1.4 var(--serif); box-shadow: inset 0 0 0 2px rgba(80, 55, 10, .35); }
.plaque-brass b { display: block; font: 700 12px/1.3 var(--sans); letter-spacing: .14em; }
.plaque-brass small { display: block; font-size: 11px; font-style: italic; }
.plaque-brass strong { display: block; margin: 6px 0 4px; font: 700 22px/1.2 var(--serif); }
.plaque-brass p { margin: 2px 0; }
.plaque-brass em { display: block; margin-top: 6px; font-weight: 700; }

/* the Pounders' and Otters' heckles stuck to the Karpet Munchers' magazine */
.mag-heckle { position: absolute; z-index: 1; width: 112px; margin: 0; padding: 5px 7px; color: #222; text-align: left;
  font: 400 11px/1.25 "Marker Felt", "Segoe Print", "Comic Sans MS", cursive; box-shadow: 0 4px 10px rgba(0, 0, 0, .35); }
.mag-heckle i { display: block; margin-top: 2px; font-style: normal; text-align: right; }
/* both hang off the cover's top edge, so the sleepers and the note stay readable */
.mag-heckle-1 { top: -40px; left: -8px; background: #9fe3ff; transform: rotate(-8deg); }
.mag-heckle-2 { top: -46px; right: -6px; background: #ffb3d1; transform: rotate(6deg); }
.tank-heckle { position: absolute; top: -38px; right: -8px; width: 150px; margin: 0; padding: 6px 8px; color: #222;
  background: #9fe3ff; box-shadow: 0 4px 10px rgba(0, 0, 0, .35); transform: rotate(5deg);
  font: 400 12px/1.3 "Marker Felt", "Segoe Print", "Comic Sans MS", cursive; }
.tank-heckle i { display: block; margin-top: 2px; font-style: normal; text-align: right; }

/* F-Jackie's prescription (eggs.rx, shown by site/assets/clip.js): a doctor's pad, in its own colours */
.rx { position: fixed; right: 16px; bottom: 16px; z-index: 50; width: min(calc(100vw - 32px), 290px); cursor: pointer;
  overflow: hidden; color: #1d2433; background: #ffffff; border-radius: 4px; box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
  font: 13px/1.4 var(--sans); transform: translateY(130%) rotate(4deg); transition: transform .7s cubic-bezier(.2, 1.3, .4, 1); }
.rx.up { transform: translateY(0) rotate(-1.5deg); }
.rx-head { padding: 10px 14px 8px; color: #ffffff; background: #1f5fa8; text-align: center; }
.rx-head b { display: block; font: 700 17px/1.2 var(--serif); letter-spacing: .04em; }
.rx-head small { font-size: 11px; letter-spacing: .06em; }
.rx-body { padding: 10px 14px 12px; background-image: repeating-linear-gradient(transparent 0 23px, #e4e9f2 23px 24px); }
.rx-body p { margin: 0 0 7px; }
.rx-body .rx-sym { float: left; margin: -4px 8px 0 0; color: #1f5fa8; font: 700 34px/1 var(--serif); }
.rx-script { color: #1b3f8f; font: 15px/1.3 "Bradley Hand", "Marker Felt", "Segoe Print", "Comic Sans MS", cursive; }
.rx-second { clear: both; padding-top: 6px; border-top: 1px dashed #b9c3d6; font-style: italic; }
.rx-sign { display: block; width: 130px; height: 30px; margin: 4px 0 0 auto; }
@media (prefers-reduced-motion: reduce) { .rx, .rx.up { transition: none; transform: none; } }
@media print { .rx { display: none; } }
/* Scooter's Boozers' self-graded draft card (eggs.draft_grade, shown by site/assets/clip.js): an A+
   given two minutes after the draft, then the record's revision stamped over it. Its own colours */
.grade { position: fixed; right: 16px; bottom: 16px; z-index: 50; width: min(calc(100vw - 32px), 290px); cursor: pointer;
  padding: 14px 16px 14px; color: #1d1d1d; background: #fbfaf5; border: 1px solid #d9d4c3; border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45); font: 13px/1.4 var(--sans);
  transform: translateY(130%) rotate(4deg); transition: transform .7s cubic-bezier(.2, 1.3, .4, 1); }
.grade.up { transform: translateY(0) rotate(-1.5deg); }
.grade h3 { margin: 0 0 2px; font: 700 13px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.grade p { margin: 0 0 4px; }
.grade-meta { color: #555; font-size: 12px; }
.grade-mark { position: relative; display: inline-block; margin: 6px 0 4px; color: #1f8a3a;
  font: 700 46px/1 "Marker Felt", "Segoe Print", "Comic Sans MS", cursive; }
.grade-mark::after { content: ""; position: absolute; left: -6px; right: -6px; top: 52%; height: 4px; background: #c0281c;
  transform: rotate(-12deg) scaleX(0); transform-origin: left; animation: grade-strike .3s ease-out 4s forwards; }
@keyframes grade-strike { to { transform: rotate(-12deg) scaleX(1); } }
.grade-revised { opacity: 0; animation: grade-in .4s ease-out 4.3s forwards; }
.grade-revised p { color: #1d1d1d; }
.grade-revised b { color: #c0281c; }
/* beside the A+, clear of the lines above it */
.grade-stamp { position: absolute; top: 96px; right: 30px; padding: 2px 8px; color: #c0281c; border: 3px solid #c0281c;
  font: 800 18px/1.2 var(--sans); letter-spacing: .1em; opacity: 0; transform: rotate(-14deg) scale(2.2);
  animation: grade-stamp .25s ease-in 3.8s forwards; }
@keyframes grade-stamp { to { opacity: .9; transform: rotate(-14deg) scale(1); } }
@keyframes grade-in { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .grade, .grade.up { transition: none; transform: none; }
  .grade-mark::after, .grade-revised, .grade-stamp { animation: none; opacity: 1; }
  .grade-mark::after { transform: rotate(-12deg); }
  .grade-stamp { transform: rotate(-14deg); opacity: .9; } }
@media print { .grade { display: none; } }
/* F-Jackie's out-of-office reply (eggs.out_of_office, shown by site/assets/clip.js): an email
   notification at the top right, clear of Barney and the prescription below. Its own colours */
.ooo { position: fixed; top: 64px; right: 16px; z-index: 50; width: min(calc(100vw - 32px), 340px); cursor: pointer;
  color: #1d1d1d; background: #ffffff; border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
  font: 13px/1.45 var(--sans); overflow: hidden; transform: translateX(calc(100% + 24px));
  transition: transform .5s cubic-bezier(.2, 1.1, .4, 1); }
.ooo.up { transform: none; }
.ooo-head { display: flex; align-items: center; gap: 8px; padding: 8px 12px; color: #555; background: #f1f3f6;
  font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.ooo-head svg { width: 16px; height: 12px; }
.ooo-body { padding: 10px 14px 12px; }
.ooo-body p { margin: 0 0 6px; }
.ooo-from { color: #555; font-size: 12px; }
.ooo-subject { font-weight: 700; }
.ooo-body a { color: #1f5fa8; }
@media (prefers-reduced-motion: reduce) { .ooo, .ooo.up { transition: none; transform: none; } }
@media print { .ooo { display: none; } }
/* Blitzkrieg's unanswered texts (eggs.texts, shown by site/assets/clip.js): a phone thread whose
   messages arrive one at a time, a typing indicator that gives up, and the title last. Its own colours */
.sms { position: fixed; right: 16px; bottom: 16px; z-index: 50; width: min(calc(100vw - 32px), 320px); cursor: pointer;
  overflow: hidden; color: #1d1d1d; background: #ffffff; border-radius: 18px; box-shadow: 0 12px 34px rgba(0, 0, 0, .5);
  font: 14px/1.35 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  transform: translateY(130%); transition: transform .6s cubic-bezier(.2, 1.2, .4, 1); }
.sms.up { transform: none; }
.sms-head { display: flex; flex-direction: column; align-items: center; padding: 10px 12px 8px; background: #f4f4f6;
  border-bottom: 1px solid #e2e2e6; }
.sms-avatar { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 3px; color: #ffffff;
  background: #8e8e96; border-radius: 50%; font-weight: 700; }
.sms-head small { color: #6b6b72; font-size: 11px; }
.sms-body { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; }
.sms-from { margin: 6px 4px 0 0; color: #6b6b72; font-size: 11px; text-align: right; }
.sms-msg { align-self: flex-end; max-width: 82%; margin: 0; padding: 7px 11px; color: #ffffff; background: #0b63ce;
  border-radius: 16px 16px 4px 16px; }
.sms-from, .sms-msg, .sms-status { opacity: 0; animation: sms-in .3s ease-out calc(var(--i) * .9s + .7s) forwards; }
@keyframes sms-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.sms-status { margin: 1px 4px 0 0; color: #6b6b72; font-size: 11px; text-align: right; }
.sms-end { display: grid; margin-top: 10px; }
.sms-end > * { grid-area: 1 / 1; }
.sms-typing { justify-self: start; display: flex; gap: 4px; padding: 10px 12px; background: #e6e6ea; border-radius: 16px 16px 16px 4px;
  opacity: 0; animation: sms-typing calc(var(--wait) * 1s) linear calc(var(--at) * 1s) forwards; }
.sms-typing i { width: 7px; height: 7px; background: #8e8e96; border-radius: 50%; animation: sms-dot 1s ease-in-out infinite; }
.sms-typing i:nth-child(2) { animation-delay: .15s; }
.sms-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes sms-typing { 0% { opacity: 0; } 8%, 85% { opacity: 1; } 100% { opacity: 0; } }
@keyframes sms-dot { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-3px); opacity: 1; } }
.sms-system { align-self: center; justify-self: center; margin: 0; color: #6b6b72; font-size: 12px; text-align: center;
  opacity: 0; animation: sms-in .4s ease-out calc((var(--at) + var(--wait)) * 1s + .3s) forwards; }
.sms-system b { color: #1d1d1d; }
@media (prefers-reduced-motion: reduce) {
  .sms, .sms.up { transition: none; transform: none; }
  .sms-from, .sms-msg, .sms-status, .sms-system { opacity: 1; animation: none; }
  .sms-typing { display: none; } }
@media print { .sms { display: none; } }
/* other teams' quotes pinned to a franchise page (eggs.page_heckle): a sticky note, its own colours */
.page-heckle { max-width: 440px; margin: 4px 0 26px; padding: 10px 12px; color: #1d1d1d; background: #9fe3ff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .3); transform: rotate(-1.2deg);
  font: 15px/1.35 "Marker Felt", "Segoe Print", "Comic Sans MS", cursive; }
.page-heckle i { display: block; margin-top: 4px; font-style: normal; text-align: right; }
.page-heckle small { display: block; margin-top: 6px; padding-top: 5px; border-top: 1px dashed rgba(0, 0, 0, .3);
  font: 12px/1.35 var(--sans); }
/* the commissioner's build log (site/assets/commish.js), on the Moose's page: a terminal, so its
   own dark colours whatever the site's theme */
.commish { position: fixed; right: 16px; bottom: 16px; z-index: 50; width: min(calc(100vw - 32px), 500px);
  overflow: hidden; color: #d6e2d6; background: #0d1210; border: 1px solid #2c3a31; border-radius: 10px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .5); transform: translateY(130%); transition: transform .6s cubic-bezier(.2, 1.2, .4, 1); }
.commish.up { transform: none; }
.commish-bar { display: flex; align-items: center; gap: 6px; padding: 7px 10px; background: #1b231e; }
.commish-bar span { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.commish-bar span:nth-child(2) { background: #febc2e; }
.commish-bar span:nth-child(3) { background: #28c840; }
.commish-bar b { flex: 1; color: #9fb0a4; font: 500 12px/1 var(--sans); text-align: center; }
.commish-bar button { padding: 0 4px; color: #9fb0a4; background: none; border: 0; font: 18px/1 var(--sans); cursor: pointer; }
.commish pre { height: min(35em, 62vh); margin: 0; padding: 10px 12px; overflow: auto; white-space: pre-wrap;
  font: 12.5px/1.5 ui-monospace, Menlo, Consolas, monospace; }
.commish pre::after { content: "\2588"; color: #5fd38d; animation: commish-blink 1s steps(1) infinite; }
@keyframes commish-blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .commish { transition: none; } .commish pre::after { animation: none; } }
@media print { .commish { display: none; } }
/* the Dunbar Dogs egg (site/assets/y2k.js): their page as a home page from 2000. The tokens
   outrank the dark theme's, so it is the same gray page in either */
:root.y2k:not([data-theme="none"]) { --bg: #c0c0c0; --surface: #ffffff; --ink: #000000; --ink-2: #000000; --ink-3: #333333;
  --rule: #808080; --accent: #000080; --link: #0000ee; --accent-soft: #ffffff; --accent-2: #800000; --mark: #008000; }
html.y2k body { background: #c0c0c0; color: #000; font-family: "Times New Roman", Times, serif; }
html.y2k body * { border-radius: 0 !important; box-shadow: none !important; font-family: "Times New Roman", Times, serif !important; }
html.y2k a:link { color: #0000ee !important; text-decoration: underline !important; }
html.y2k a:visited { color: #551a8b !important; }
html.y2k .masthead { background: #000080; border: 0; }
html.y2k .masthead a:link, html.y2k .masthead a:visited { color: #ffffff !important; }
html.y2k h1, html.y2k h2 { color: #800000; }
html.y2k .fact { background: #ffffff; border: 2px outset #dddddd; }
html.y2k table.data { background: #ffffff; border: 2px outset #dddddd; }
html.y2k table.data th, html.y2k table.data td { border: 1px inset #cccccc; }
.y2k-top { margin: 0 0 24px; text-align: center; }
.y2k-marquee { overflow: hidden; padding: 4px 0; color: #ffff00; background: #000000; white-space: nowrap; font-weight: 700; }
.y2k-marquee span { display: inline-block; padding-left: 100%; animation: y2k-scroll 16s linear infinite; }
@keyframes y2k-scroll { to { transform: translateX(-100%); } }
html.y2k .y2k-h { margin: 16px 0 8px; color: #ff0000; font: 700 2rem/1.2 "Comic Sans MS", "Comic Sans", cursive !important; }
.y2k-construction { margin: 8px auto; padding: 8px; max-width: 420px;
  background: repeating-linear-gradient(45deg, #ffcc00 0 14px, #000000 14px 28px); }
.y2k-construction span { padding: 2px 10px; color: #000000; background: #ffcc00; font-weight: 700; letter-spacing: .1em; }
.y2k-news { margin: 12px auto; max-width: 560px; border: 2px outset #dddddd; background: #ffffff; text-align: left; }
.y2k-news th { padding: 4px 8px; color: #ffffff; background: #000080; text-align: center; }
.y2k-news td { padding: 4px 8px; vertical-align: top; }
.y2k-new { color: #ff0000; animation: y2k-blink 1s steps(1) infinite; }
@keyframes y2k-blink { 50% { visibility: hidden; } }
.y2k-counter span { padding: 1px 4px; color: #00ff00; background: #000000; letter-spacing: .2em;
  font-family: "Courier New", monospace !important; }
.y2k-small { font-size: .85rem; }
.y2k-off { margin-top: 4px; padding: 3px 12px; color: #000000; background: #c0c0c0; border: 2px outset #eeeeee; cursor: pointer; }
.y2k-off:active { border-style: inset; }
@media (prefers-reduced-motion: reduce) { .y2k-marquee span { padding-left: 0; animation: none; } .y2k-new { animation: none; } }
@media print { .moose::before, .banner.moose-title::after { display: none; } }
.bar.later .b { background: var(--accent-2); }
.bar .y a { color: inherit; text-decoration: none; }

/* Da Funk's towels (eggs.towels, shown by site/assets/clip.js): a row of waving towels along the
   bottom with one Dolphins flag, and the sign above it. Its own colours */
.towels { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; cursor: pointer; transform: translateY(110%);
  transition: transform .6s cubic-bezier(.2, 1.1, .4, 1); }
.towels.up { transform: none; }
.towels-sign { width: min(calc(100vw - 32px), 380px); margin: 0 auto 8px; padding: 10px 14px; color: #1d1d1d;
  background: #ffffff; border-top: 4px solid #008e97; border-radius: 8px; box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
  font: 13px/1.4 var(--sans); }
.towels-sign h3 { margin: 0 0 4px; color: #00666d; font: 700 14px/1.3 var(--sans); }
.towels-sign p { margin: 0 0 4px; }
.towels-row { display: flex; justify-content: center; align-items: flex-end; gap: 14px; height: 88px; overflow: hidden;
  padding-bottom: 8px; background: linear-gradient(transparent, rgba(0, 0, 0, .55)); }
.towel, .fins-flag { flex: none; transform-origin: 50% 100%; animation: towel-wave .8s ease-in-out var(--d, 0s) infinite alternate; }
.towel { width: 30px; height: 46px; border-radius: 3px;
  background: linear-gradient(#ffb612 0 28%, #101820 28% 36%, #ffb612 36% 64%, #101820 64% 72%, #ffb612 72%); }
.fins-flag { display: grid; place-items: center; width: 74px; height: 50px; margin-bottom: 14px; color: #ffffff;
  background: #008e97; border-left: 4px solid #d8d8d8; border-radius: 0 4px 4px 0; font: 800 11px/1.1 var(--sans);
  letter-spacing: .06em; text-align: center; }
.fins-flag b { color: #ffffff; border-bottom: 2px solid #fc4c02; }
@keyframes towel-wave { from { transform: rotate(-12deg); } to { transform: rotate(12deg); } }

/* Da Funk in the league chat (eggs.funk_chat): enters, types, leaves. Top right, clear of the towels */
.fchat { position: fixed; top: 64px; right: 16px; z-index: 50; width: min(calc(100vw - 32px), 290px); cursor: pointer;
  overflow: hidden; color: #dcddde; background: #313338; border-radius: 8px; box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
  font: 13px/1.4 var(--sans); transform: translateX(calc(100% + 24px)); transition: transform .5s cubic-bezier(.2, 1.1, .4, 1); }
.fchat.up { transform: none; }
.fchat-head { padding: 8px 12px; color: #ffffff; background: #1e1f22; font-weight: 700; }
.fchat-body { display: grid; gap: 6px; padding: 10px 12px 12px; }
.fchat-sys, .fchat-foot { margin: 0; opacity: 0; animation: sms-in .3s ease-out calc(var(--t) * 1s) forwards; }
.fchat-sys { color: #949ba4; font-style: italic; }
.fchat-foot { padding-top: 6px; color: #dcddde; border-top: 1px solid #3f4147; font-size: 12px; }
.fchat .sms-typing { background: #404249; }

/* Da Funk's champagne on ice (eggs.champagne): Dolphins aqua and orange, the cork wiggles and stays in */
.bubbly { position: fixed; right: 16px; bottom: 16px; z-index: 50; width: min(calc(100vw - 32px), 340px); cursor: pointer;
  overflow: hidden; color: #1d1d1d; background: #f7fbfb; border-radius: 8px; box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
  font: 13px/1.4 var(--sans); transform: translateY(130%); transition: transform .7s cubic-bezier(.2, 1.3, .4, 1); }
.bubbly.up { transform: none; }
.bubbly-head { padding: 7px 14px; color: #ffffff; background: #008e97; border-bottom: 3px solid #fc4c02;
  font: 800 13px/1.2 var(--sans); letter-spacing: .14em; }
.bubbly-body { display: grid; grid-template-columns: 70px 1fr; gap: 10px; padding: 10px 14px 12px; }
.bubbly-art { width: 70px; height: 114px; }
.bubbly-body p { margin: 0 0 5px; }
.bubbly-tag { display: inline-block; margin-bottom: 6px; padding: 2px 8px; color: #5a3a00; background: #fff3c4;
  border: 1px dashed #b8902c; transform: rotate(-2deg); font: 13px/1.3 "Marker Felt", "Segoe Print", "Comic Sans MS", cursive; }
.bubbly-close { color: #00666d; font-style: italic; }
.bubbly-cork { transform-box: fill-box; transform-origin: 50% 100%; animation: cork-wiggle .5s ease-in-out 2.5s 3; }
@keyframes cork-wiggle { 0%, 100% { transform: none; } 30% { transform: translateY(-3px) rotate(-8deg); } 70% { transform: translateY(-3px) rotate(8deg); } }

/* Carter's Commandos' scoreboard (eggs.scoreboard): two finals flip in turn, lamp-yellow on black */
.board { position: fixed; right: 16px; bottom: 16px; z-index: 50; width: min(calc(100vw - 32px), 320px); cursor: pointer;
  overflow: hidden; color: #ffcc33; background: #111111; border: 5px solid #3a3a3a; border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .55); font: 700 13px/1.3 "Courier New", Courier, monospace;
  transform: translateY(130%); transition: transform .7s cubic-bezier(.2, 1.3, .4, 1); }
.board.up { transform: none; }
.board p { margin: 0; }
.board-title { padding: 4px 0; color: #ffffff; background: #8a1c1c; letter-spacing: .3em; text-align: center; }
.board-panels { display: grid; padding: 10px 12px; perspective: 400px; }
.board-panel { grid-area: 1 / 1; animation: board-flip 8s linear infinite; }
.board-panel + .board-panel { animation-delay: -4s; }
@keyframes board-flip { 0%, 46% { opacity: 1; transform: none; } 50%, 96% { opacity: 0; transform: rotateX(90deg); } 100% { opacity: 1; transform: none; } }
.board-label { margin-bottom: 4px; color: #ffffff; letter-spacing: .08em; }
.board-row { display: flex; justify-content: space-between; gap: 8px; font-size: 16px; text-shadow: 0 0 6px rgba(255, 204, 51, .55); }
.board-row b { font-size: 22px; }
.board-final { margin-top: 4px; letter-spacing: .1em; }
.board-win { color: #5ee36a; }
.board-loss { color: #ff5a4f; }
.board-notes { padding: 8px 12px 10px; color: #eeeeee; background: #1c1c1c; font: 12.5px/1.4 var(--sans); }
.board-notes h3 { margin: 0 0 4px; color: #ffcc33; font: 700 15px/1.2 var(--sans); }
.board-notes p { margin: 0 0 4px; }

/* Carter's Commandos' trophy (eggs.giant_killer), on their page for good: gold on cream */
.trophy { display: flex; align-items: center; gap: 10px; max-width: 380px; margin: 6px 0 22px; padding: 8px 12px;
  color: #3b2a08; background: #f6f1e3; border: 1px solid #d9c78f; border-radius: 6px; font: 13px/1.35 var(--sans); }
.trophy svg { flex: none; width: 40px; height: 50px; }
.trophy b { display: block; letter-spacing: .14em; }
.trophy p { margin: 2px 0 0; }

/* Carter's Commandos' first-round board (eggs.steeler_board): black and gold, circles and cross-outs */
.dboard { position: fixed; right: 16px; bottom: 16px; z-index: 50; width: min(calc(100vw - 32px), 330px); cursor: pointer;
  overflow: hidden; color: #1d1d1d; background: #fdfdfb; border-radius: 6px; box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
  font: 13px/1.4 var(--sans); transform: translateY(130%) rotate(3deg); transition: transform .7s cubic-bezier(.2, 1.3, .4, 1); }
.dboard.up { transform: rotate(-1deg); }
.dboard-head { padding: 7px 14px; color: #ffb612; background: #101820; font: 800 13px/1.2 var(--sans); letter-spacing: .1em;
  text-transform: uppercase; }
.dboard-key { margin: 8px 14px 4px; color: #555555; font-size: 12px; }
.dboard ul { margin: 0; padding: 0 14px; list-style: none; }
.dboard li { margin: 5px 0; }
.dpick-pit span { padding: 1px 6px; border: 2px solid #ffb612; border-radius: 999px; }
.dpick-pit { color: #101820; font-weight: 700; }
.dpick-bust { color: #666666; }
.dpick-bust s { text-decoration-color: #c0281c; text-decoration-thickness: 2px; }
.dboard-foot { margin: 8px 14px 12px; padding-top: 6px; border-top: 1px dashed #c9c9c9; font-size: 12px; }

@media (prefers-reduced-motion: reduce) {
  .towels, .towels.up, .fchat, .fchat.up, .bubbly, .bubbly.up, .board, .board.up, .dboard, .dboard.up { transition: none; transform: none; }
  .towel, .fins-flag, .bubbly-cork { animation: none; }
  .fchat-sys, .fchat-foot { opacity: 1; animation: none; }
  .board-panel { position: static; grid-area: auto; animation: none; }
  .board-panel + .board-panel { margin-top: 10px; } }
@media print { .towels, .fchat, .bubbly, .board, .dboard { display: none; } }

/* the Otters' otter (eggs.otter, site/assets/otter.js): floats on its back across the bottom, bobbing */
.otter { position: fixed; left: 0; bottom: 6px; z-index: 50; width: 240px; cursor: pointer;
  animation: otter-float 15s linear forwards; }
.otter-art { display: block; width: 220px; height: 90px; animation: otter-bob 1.6s ease-in-out infinite alternate; }
@keyframes otter-float { 0% { transform: translateX(-260px); } 92% { opacity: 1; } 100% { transform: translateX(calc(100vw + 20px)); opacity: 0; } }
@keyframes otter-bob { from { transform: translateY(0) rotate(-1.5deg); } to { transform: translateY(4px) rotate(1.5deg); } }
.otter-bubble { position: relative; width: 220px; margin-bottom: 6px; padding: 8px 11px; color: #1d1d1d; background: #ffffff;
  border-radius: 10px; box-shadow: 0 8px 22px rgba(0, 0, 0, .4); font: 12.5px/1.35 var(--sans); }
.otter-bubble::after { content: ""; position: absolute; left: 46px; bottom: -7px; border: 7px solid transparent;
  border-bottom: 0; border-top-color: #ffffff; }
.otter-bubble p { margin: 0 0 3px; }
.otter-count { color: #1d5f8a; font-weight: 700; }
.otter-count b { font-size: 17px; }
.otter-calm { animation: none; }
.otter-calm .otter-art { animation: none; }
@media print { .otter { display: none; } }

/* the Otters' costliest drop (eggs.released): a transaction notice, top right, with a stamp */
.released { position: fixed; top: 64px; right: 16px; z-index: 50; width: min(calc(100vw - 32px), 300px); cursor: pointer;
  overflow: hidden; color: #1d1d1d; background: #ffffff; border-radius: 8px; box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
  font: 13px/1.4 var(--sans); transform: translateX(calc(100% + 24px)); transition: transform .5s cubic-bezier(.2, 1.1, .4, 1); }
.released.up { transform: none; }
.released-head { padding: 6px 12px; color: #555555; background: #eef1f4; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.released-body { position: relative; padding: 10px 12px 12px; }
.released-body p { margin: 0 0 6px; }
.released-then { opacity: 0; animation: grade-in .4s ease-out 2.6s forwards; }
.released-stamp { display: inline-block; margin: 0 0 8px 4px; padding: 1px 7px; color: #c0281c; border: 3px solid #c0281c;
  font: 800 15px/1.2 var(--sans); letter-spacing: .1em; opacity: 0; transform: rotate(-12deg) scale(2.2);
  animation: grade-stamp .25s ease-in 1.8s forwards; }

/* the Otters' highlights tape (eggs.vhs): a cassette with turning reels, then the chapters */
.vhs { position: fixed; right: 16px; bottom: 16px; z-index: 50; width: min(calc(100vw - 32px), 330px); cursor: pointer;
  overflow: hidden; color: #eeeeee; background: #1b1b1b; border-radius: 6px; box-shadow: 0 10px 30px rgba(0, 0, 0, .55);
  font: 12.5px/1.4 var(--sans); transform: translateY(130%); transition: transform .7s cubic-bezier(.2, 1.3, .4, 1); }
.vhs.up { transform: none; }
.vhs-shell { position: relative; margin: 10px; padding: 22px 10px 8px; background: #111111; border: 2px solid #2c2c2c; border-radius: 4px; }
.vhs-rec { position: absolute; top: 6px; right: 8px; color: #ff3b30; font: 700 11px/1 "Courier New", monospace; animation: vhs-blink 1s steps(1) infinite; }
.vhs-rec::before { content: "\25CF  "; }
@keyframes vhs-blink { 50% { opacity: 0; } }
.vhs-label { padding: 6px 8px; color: #1d1d1d; background: #fbf8ee; border-top: 4px solid #c0281c; border-radius: 2px; }
.vhs-label b { display: block; font: 15px/1.25 "Marker Felt", "Segoe Print", "Comic Sans MS", cursive; }
.vhs-label small { color: #666666; }
.vhs-reels { display: flex; justify-content: center; gap: 44px; margin-top: 8px; }
.vhs-reels i { width: 34px; height: 34px; border: 6px dotted #8a8a8a; border-radius: 50%; animation: vhs-spin 2s linear infinite; }
@keyframes vhs-spin { to { transform: rotate(360deg); } }
.vhs-list { margin: 0; padding: 4px 14px 12px 14px; list-style: none; }
.vhs-list li { margin: 5px 0; }
.vhs-list span { display: inline-block; min-width: 46px; color: #ffcc33; font: 700 12px/1.4 "Courier New", monospace; }

/* the Otters' fact check (eggs.fact_check), on their page for good: a sticky note */
.sticky-fc { max-width: 300px; margin: 6px 0 22px; padding: 10px 12px 8px; color: #2b2410; background: #fff38a;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .25); transform: rotate(-1.5deg);
  font: 14px/1.35 "Marker Felt", "Segoe Print", "Comic Sans MS", cursive; }
.sticky-fc b { display: block; color: #c0281c; letter-spacing: .1em; }
.sticky-fc p { margin: 3px 0 0; }
.sticky-fc i { display: block; margin-top: 6px; font-size: 12px; font-style: normal; text-align: right; }

@media (prefers-reduced-motion: reduce) {
  .released, .released.up, .vhs, .vhs.up { transition: none; transform: none; }
  .released-then, .released-stamp { opacity: 1; animation: none; }
  .released-stamp { transform: rotate(-12deg); }
  .vhs-rec, .vhs-reels i { animation: none; } }
@media print { .released, .vhs { display: none; } }

/* the wall of shame (shame_page.py): a card a record, in the page's own tokens */
.shame-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; margin: 0 0 1.6rem; }
.shame-card { padding: 12px 14px; background: var(--surface); border: 1px solid var(--rule); border-left: 4px solid var(--accent-2);
  border-radius: 6px; font: .9rem/1.45 var(--sans); }
.shame-card p { margin: 0 0 6px; }
.shame-card h3 { margin: 0 0 4px; color: var(--ink-2); font: 700 .78rem/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.shame-num { color: var(--accent-2); font: 700 1.9rem/1.1 var(--serif); }
.shame-who { font-weight: 650; }
.shame-detail { color: var(--ink-2); }
.shame-quip { margin-bottom: 0; color: var(--ink-3); font-style: italic; }

/* Ho Train's departure board (eggs.departures), on its page for good: a station board, amber on black */
.departures { max-width: 420px; margin: 6px 0 22px; padding: 8px 10px 10px; color: #ffb000; background: #0d0d0d;
  border: 3px solid #2b2b2b; border-radius: 6px; font: 700 13px/1.35 "Courier New", Courier, monospace; }
.dep-head { display: flex; justify-content: space-between; margin: 0 0 6px; padding-bottom: 4px; color: #ffffff;
  border-bottom: 1px solid #333333; letter-spacing: .14em; }
.departures table { width: 100%; border-collapse: collapse; }
.departures th { color: #8a8a8a; font-size: 11px; font-weight: 700; text-align: left; letter-spacing: .08em; }
.departures td { padding: 3px 6px 3px 0; vertical-align: top; }
.departures small { display: block; color: #b9b9b9; font-size: 11px; font-weight: 400; }
.dep-ok { color: #4be36a; }
.dep-no { color: #ff5a4f; animation: dep-blink 1.2s steps(1) infinite; }
@keyframes dep-blink { 50% { opacity: .35; } }
.dep-foot { margin: 8px 0 0; padding-top: 6px; color: #ffb000; border-top: 1px dashed #333333; font-size: 12px; }

/* Ho Train's letter of complaint (eggs.complaint): a typed form, stamped */
.complaint { position: fixed; right: 16px; bottom: 16px; z-index: 50; width: min(calc(100vw - 32px), 330px); cursor: pointer;
  padding: 12px 16px 14px; color: #1d1d1d; background: #fbfaf5; border: 1px solid #d9d4c3; border-radius: 3px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45); font: 12.5px/1.45 "Courier New", Courier, monospace;
  transform: translateY(130%) rotate(3deg); transition: transform .7s cubic-bezier(.2, 1.3, .4, 1); }
.complaint.up { transform: rotate(-1deg); }
.complaint p { margin: 0 0 6px; }
.complaint-head { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.complaint ol { margin: 0 0 6px; padding-left: 18px; }
.complaint li { margin-bottom: 4px; }
.complaint-sign { font: 15px/1.2 "Marker Felt", "Segoe Print", "Comic Sans MS", cursive; }
.complaint-ps { color: #555555; }
.complaint-stamp { position: absolute; bottom: 16px; right: 14px; padding: 1px 8px; color: #1f5fa8; border: 3px solid #1f5fa8;
  font: 800 15px/1.2 var(--sans); letter-spacing: .1em; opacity: 0; transform: rotate(10deg) scale(2.2);
  animation: complaint-stamp .25s ease-in 3.5s forwards; }
@keyframes complaint-stamp { to { opacity: .85; transform: rotate(10deg) scale(1); } }

/* the Iron City Pounders' Autumn Bowl tape (eggs.autumn_tape): a TV rewinding, then playing it, and the tape's label */
.atape { position: fixed; right: 16px; bottom: 16px; z-index: 50; width: min(calc(100vw - 32px), 320px); cursor: pointer;
  overflow: hidden; color: #1d1d1d; background: #e9e4d8; border-radius: 8px; box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
  font: 12.5px/1.4 var(--sans); transform: translateY(130%); transition: transform .7s cubic-bezier(.2, 1.3, .4, 1); }
.atape.up { transform: none; }
.atape-tv { margin: 10px 10px 0; padding: 10px; background: #3b3329; border-radius: 10px; }
.atape-screen { position: relative; height: 150px; overflow: hidden; color: #ffffff; background: #1638b8; border-radius: 14px / 10px;
  text-align: center; font: 700 13px/1.3 "Courier New", Courier, monospace; text-shadow: 1px 1px 0 #000000; }
.atape-osd, .atape-clock { position: absolute; top: 8px; }
.atape-osd { left: 10px; }
.atape-clock { right: 10px; }
.atape-rew { animation: atape-out 0s linear 2.2s forwards; }
.atape-play { opacity: 0; animation: atape-in 0s linear 2.2s forwards; }
@keyframes atape-out { to { opacity: 0; } }
@keyframes atape-in { to { opacity: 1; } }
.atape-title { margin: 42px 0 4px; font-size: 15px; letter-spacing: .1em; opacity: 0; animation: atape-in 0s linear 2.4s forwards; }
.atape-vs { margin: 0; font-size: 11px; opacity: 0; animation: atape-in 0s linear 2.6s forwards; }
.atape-track { position: absolute; left: 0; right: 0; height: 10px; background: rgba(255, 255, 255, .25);
  animation: atape-roll 1.1s linear infinite; }
@keyframes atape-roll { from { top: -10px; } to { top: 150px; } }
.atape-label { margin: 10px; padding: 6px 8px; background: #ffffff; border-left: 4px solid #c0281c; }
.atape-label b { display: block; font: 15px/1.25 "Marker Felt", "Segoe Print", "Comic Sans MS", cursive; }
.atape-label small { color: #666666; }
.atape-notes { padding: 0 12px 12px; }
.atape-notes p { margin: 0 0 4px; }

@media (prefers-reduced-motion: reduce) {
  .complaint, .complaint.up, .atape, .atape.up { transition: none; transform: none; }
  .complaint-stamp { opacity: .85; transform: rotate(10deg); animation: none; }
  .dep-no, .atape-track { animation: none; }
  .atape-rew { display: none; }
  .atape-play, .atape-title, .atape-vs { opacity: 1; animation: none; } }
@media print { .complaint, .atape { display: none; } }

/* the trade they'd take back: a store receipt on the franchise page (eggs.receipt) */
.receipt { max-width: 340px; margin: 8px 0 26px; padding: 16px 18px 12px; color: #222; background: #fbfaf5;
  font: 13px/1.45 "Courier New", Courier, monospace; box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
  -webkit-mask: radial-gradient(circle 5px at 50% 100%, transparent 98%, #000) 0 0 / 12px 100% repeat-x;
          mask: radial-gradient(circle 5px at 50% 100%, transparent 98%, #000) 0 0 / 12px 100% repeat-x; padding-bottom: 20px; }
.receipt-head { text-align: center; font-weight: 700; letter-spacing: .08em; border-bottom: 1px dashed #888; padding-bottom: 8px; margin-bottom: 8px; }
.receipt p { display: flex; justify-content: space-between; gap: 12px; margin: 3px 0; }
.receipt p b { text-align: right; font-weight: 700; }
.receipt .receipt-total { border-top: 1px dashed #888; padding-top: 6px; margin-top: 8px; font-size: 15px; color: #b3261e; }
.receipt .receipt-quip { display: block; margin-top: 10px; font-style: italic; }
.receipt-foot { margin-top: 10px; text-align: center; font-size: 11px; letter-spacing: .06em; color: #666; }
@media print { .receipt { box-shadow: none; -webkit-mask: none; mask: none; border: 1px solid #999; } }
.receipt-flips { margin: 4px 0 6px; }
.receipt-flips span { display: block; }
.receipt-flips i { display: block; padding-left: 12px; font-style: normal; font-size: 12px; color: #555; }

/* the trade tree: a team's biggest chain of trades, on its franchise page (eggs.family_tree) */
.ttree { max-width: 560px; margin: 8px 0 26px; padding: 12px 16px; border-left: 4px solid var(--accent, #c8742c);
  background: rgba(127, 127, 127, .08); }
.ttree-root { margin: 0 0 6px; font-weight: 700; }
.ttree ul { margin: 0; padding: 0 0 0 4px; list-style: none; }
.ttree li { position: relative; margin: 0; padding: 3px 0 3px 22px; }
.ttree li::before { content: ""; position: absolute; left: 6px; top: 0; bottom: 0; border-left: 2px solid currentColor; opacity: .35; }
.ttree li::after { content: ""; position: absolute; left: 6px; top: 13px; width: 11px; border-top: 2px solid currentColor; opacity: .35; }
.ttree li:last-child::before { bottom: auto; height: 14px; }
.ttree-sum { margin: 8px 0 0; }
.ttree-quip { margin: 6px 0 0; font-style: italic; opacity: .85; }
@media print { .ttree { background: none; border-left-color: #999; } }
/* the hover peeks (site/assets/peek.js): something small beside the cursor over a team's name.
   Their own colours, like the other eggs' paper, so they read the same in light and dark */
.peek { position: fixed; z-index: 60; pointer-events: none; opacity: 0; transform: scale(.6) rotate(-8deg);
  transition: opacity .15s, transform .25s cubic-bezier(.2, 1.4, .4, 1); color: #222; font: 12px/1.35 Arial, sans-serif; }
.peek.up { opacity: 1; transform: scale(1) rotate(-3deg); }
.peek b, .peek span, .peek small { display: block; }
.peek small { font-size: 10px; opacity: .75; }
img.peek-img { width: 120px; border-radius: 8px; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); background: #fff; }
.peek-flag { width: 150px; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .3)); }
.peek-flag svg { display: block; width: 100%; height: auto; }
.peek-flag small { margin: 2px 0 0 6px; color: #fff; opacity: 1; text-shadow: 0 1px 2px #000; }
.peek-flag.up svg { animation: peek-wave .5s ease-in-out infinite alternate; transform-origin: left center; }
@keyframes peek-wave { to { transform: skewY(-4deg) scaleX(.96); } }
.peek-missing { box-sizing: border-box; width: 170px; padding: 8px 10px 10px; background: #fffdf3; border: 1px solid #c9c1a5;
  text-align: center; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); }
.peek-missing b { color: #c0281c; font-size: 20px; letter-spacing: .12em; text-transform: uppercase; }
.peek-missing i { display: block; font-style: normal; font-size: 34px; line-height: 1.2; filter: grayscale(.6); }
/* the paper cards: one base, a style each */
.peek-note { box-sizing: border-box; max-width: 190px; padding: 8px 10px; background: #fffdf3; border: 1px solid #c9c1a5;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .3); }
.peek-note b { margin-bottom: 2px; }
.peek-receipt { width: 170px; font-family: "Courier New", monospace; border-style: dashed none; text-align: center; }
.peek-receipt b { letter-spacing: .3em; text-transform: uppercase; }
.peek-receipt small { margin-top: 4px; text-transform: uppercase; }
.peek-stamp { background: #fff; border: 3px double #c0281c; color: #c0281c; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; padding: 6px 10px; }
.peek-stamp.up { transform: scale(1) rotate(-10deg); }
.peek-claim { font-family: "Courier New", monospace; border-left: 4px solid #4fa3d9; }
.peek-construction { background: #ffd400; border: 6px solid transparent; font: 700 13px/1.2 "Times New Roman", serif;
  text-transform: uppercase; text-align: center; border-image: repeating-linear-gradient(45deg, #111 0 8px, #ffd400 8px 16px) 6; }
.peek-motion { background: #fff8a6; border: none; font-family: "Marker Felt", "Segoe Print", "Comic Sans MS", cursive; font-size: 13px; }
.peek-motion b { text-transform: uppercase; font-size: 11px; letter-spacing: .08em; }
.peek-grade { text-align: center; padding: 6px 14px; }
.peek-grade b { color: #c0281c; font: 700 34px/1 "Marker Felt", "Segoe Print", "Comic Sans MS", cursive; }
.peek-bulletin { width: 160px; font-family: "Courier New", monospace; text-align: center; }
.peek-bulletin b { border-bottom: 1px solid #222; margin-bottom: 4px; }
.peek-burst { width: 120px; height: 120px; display: grid; place-items: center; padding: 0; border: none; background: #ffd400;
  color: #c0281c; font: 700 15px/1.1 Impact, "Arial Black", sans-serif; text-transform: uppercase; text-align: center;
  clip-path: polygon(50% 0, 61% 18%, 82% 10%, 79% 32%, 100% 40%, 84% 55%, 96% 75%, 73% 76%, 68% 98%, 50% 85%, 32% 98%,
  27% 76%, 4% 75%, 16% 55%, 0 40%, 21% 32%, 18% 10%, 39% 18%); box-shadow: none; }
.peek-burst b { width: 70px; }
.peek-sms { max-width: 190px; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .3)); }
.peek-sms span { background: #1f8bff; color: #fff; padding: 7px 11px; border-radius: 16px 16px 4px 16px; font-size: 13px; }
.peek-sms small { text-align: right; margin-top: 3px; color: #fff; opacity: 1; text-shadow: 0 1px 2px #000; }
.peek-moose { width: 130px; text-align: center; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .3)); }
.peek-moose svg { display: block; width: 100px; margin: 0 auto -6px; }
.peek-plate { background: #fff; border: 2px solid #111; border-radius: 4px; padding: 3px 4px; font-weight: 700; font-size: 11px; }
.peek-tv { width: 130px; padding: 8px 8px 14px; background: #5a4632; border-radius: 10px; box-shadow: 0 4px 14px rgba(0, 0, 0, .35); }
.peek-screen { height: 78px; border-radius: 14px / 10px; display: grid; place-items: center; background-color: #999;
  background-image: repeating-linear-gradient(0deg, rgba(0, 0, 0, .25) 0 1px, transparent 1px 3px),
  repeating-linear-gradient(90deg, rgba(255, 255, 255, .35) 0 2px, rgba(0, 0, 0, .3) 2px 3px, transparent 3px 7px); }
.peek-tv.up .peek-screen { animation: peek-static .15s steps(2) infinite; }
@keyframes peek-static { to { background-position: 3px 2px, 5px 0; } }
.peek-screen span { background: #111; color: #fff; padding: 2px 6px; font: 700 12px/1 "Courier New", monospace; letter-spacing: .1em; }
.peek-trophy { display: flex; gap: 8px; align-items: center; max-width: 200px; padding: 8px 10px; background: #fffdf3;
  border: 1px solid #c9c1a5; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); }
.peek-trophy svg { width: 34px; flex: none; }
.peek-dialog { width: 230px; background: #ece9d8; border: 1px solid #0831d9; border-radius: 7px 7px 0 0;
  font: 11px/1.35 Tahoma, Verdana, sans-serif; box-shadow: 2px 4px 14px rgba(0, 0, 0, .4); }
.peek-titlebar { display: flex; justify-content: space-between; align-items: center; padding: 3px 4px 3px 7px; border-radius: 6px 6px 0 0;
  background: linear-gradient(#0a5fe4, #0842c6 60%, #0a3fb8); color: #fff; font-weight: 700; }
.peek-titlebar i { display: block; width: 16px; height: 16px; border-radius: 3px; background: #e2502b; border: 1px solid #fff;
  font: 700 13px/14px Tahoma, sans-serif; font-style: normal; text-align: center; }
.peek-dialog-body { display: flex; gap: 10px; align-items: flex-start; padding: 12px 10px 6px; }
.peek-warn { flex: none; display: block; width: 28px; height: 28px; border-radius: 50%; background: #f5c400; color: #000;
  font: 700 20px/28px Tahoma, sans-serif; font-style: normal; text-align: center; border: 1px solid #b58f00; }
.peek .peek-button { width: max-content; min-width: 70px; margin: 4px auto 10px; padding: 3px 10px; text-align: center; font-weight: 400;
  background: linear-gradient(#fff, #e3e3db); border: 1px solid #003c74; border-radius: 3px; }
.peek-board { display: flex; gap: 10px; align-items: center; padding: 6px 10px; background: #111; border-radius: 4px;
  font: 700 13px/1 "Courier New", monospace; color: #ffd400; letter-spacing: .08em; box-shadow: 0 4px 14px rgba(0, 0, 0, .35); }
.peek-board .peek-late { color: #ff5a4e; }
.peek-board .peek-ok { color: #6fe07a; }
@media (prefers-reduced-motion: reduce) { .peek, .peek.up, .peek-stamp.up { transition: none; transform: none; }
  .peek-flag.up svg, .peek-tv.up .peek-screen { animation: none; } }
@media print { .peek { display: none; } }

/* Swami Says (site/swami_pages.py): the week bar, the pick, and the Tuesday mark */
.swami .lede .meta { color: var(--ink-3); font: .88rem var(--sans); margin-left: .4rem; }
.swami .banner .meta { font: .88rem var(--sans); color: var(--ink-3); }
.swami-weeks span { color: var(--ink-3); }
.swami-record, .swami-marks { font: .88rem var(--sans); color: var(--ink-2); margin: .2rem 0; }
.swami .pick { font-weight: 650; }
.swami .pick.open { color: var(--ink-3); font-weight: 500; }
.swami .mark { font: 500 .72rem var(--sans); border-radius: 99px; padding: .1rem .5rem; white-space: nowrap; vertical-align: middle;
  background: var(--surface); border: 1px solid var(--rule); color: var(--ink-2); }
.swami .mark.right { color: var(--mark); background: var(--mark-soft); border-color: transparent; }
.swami .mark.wrong { color: var(--warn); background: var(--warn-soft); border-color: transparent; }
.swami-foot { color: var(--ink-3); font: .85rem var(--sans); border-top: 1px solid var(--rule); padding-top: .8rem; margin-top: 2rem; }
