/* Caretaker — styles that belong to particular screens: the team home grid, calendars, scoreboards, the bracket, the
   live game, the trade desk, the draft clock, mail. */
.wrap.fill { height: 100%; }
.dash { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); height: 100%; min-height: 620px; gap: 14px; }
.dash .panel.tall { grid-column: 5; grid-row: 1 / span 2; } .dash .panel.wide { grid-column: span 2; }
.panel-pad { padding: 4px 12px 10px; }
.leadgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 2px 8px 8px; }
.leadgrid > div { background: #232325; border-radius: 5px; padding: 6px 8px; min-width: 0; display: flex; flex-direction: column; }
.leadgrid b { font-size: 19px; font-weight: 800; line-height: 1.1; color: var(--accent); } .leadgrid span:last-child { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@container (max-width: 380px) { .leadgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
a.nrow:hover, a.srow:hover { background: #2d3338; color: inherit; }
.nrow .tb { margin-right: 5px; }
.card.on, .pickcard.on { outline: 2px solid var(--accent); }
.pickcard { display: block; cursor: pointer; } .pickcard:hover { background: var(--panel2); color: inherit; }
.card.story { margin-bottom: 8px; padding: 9px 12px; }
.card.evt { margin-bottom: 8px; padding: 9px 12px; border-left: 3px solid var(--accent); } .card.evt.past { opacity: .78; border-left-color: var(--line); } .card.evt .when { min-width: 62px; color: var(--accent); }
.teamrow { display: flex; align-items: center; gap: 4px; padding: 6px 4px; border-bottom: 1px solid #2c3135; } .teamrow:hover { background: var(--panel2); color: inherit; }
.champ { display: flex; align-items: center; gap: 18px; background: linear-gradient(90deg, color-mix(in srgb, var(--gold) 22%, var(--panel)), var(--panel)); border-left: 4px solid var(--gold); border-radius: 6px; padding: 12px 16px; margin-bottom: 12px; }

/* the month on the wall */
.cal { background: var(--panel); border-radius: 6px; overflow: hidden; }
.chead { display: grid; grid-template-columns: repeat(7, 1fr); background: var(--head); } .chead span { padding: 4px 8px; font-size: 11.5px; font-weight: 800; letter-spacing: .5px; }
.cgrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; background: #101316; }
.cday { background: var(--panel); min-height: 86px; padding: 5px 7px; display: flex; flex-direction: column; gap: 3px; font-size: 12.5px; }
.cday.off { background: #171a1d; } .cday.home { background: color-mix(in srgb, var(--team) 20%, var(--panel)); } .cday.today { outline: 2px solid var(--accent); outline-offset: -2px; }
.cday b { color: var(--muted); font-size: 12px; } .cday i { font-style: normal; font-size: 9.5px; font-weight: 800; color: var(--gold); letter-spacing: .3px; }
.cday a { display: flex; align-items: center; gap: 3px; flex-wrap: wrap; font-weight: 700; font-size: 13px; } .cday .tb { margin-right: 3px; }
.cday.home { box-shadow: inset 3px 0 0 var(--accent); } .cday .va { color: var(--muted); font-weight: 600; font-size: 11.5px; min-width: 16px; }

/* scoreboards */
.gcgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 10px; }
.gc { display: block; background: var(--panel); border-radius: 6px; padding: 8px 10px; } a.gc:hover { background: var(--panel2); color: inherit; }
.gc-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; margin-bottom: 4px; }
.gc-row { display: flex; align-items: center; padding: 2.5px 0; color: #cfcfd2; } .gc-row.win { color: #fff; font-weight: 700; }
.gc-row .nm { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .gc-row .rec { color: var(--dim); font-size: 11.5px; font-weight: 500; margin-left: 4px; }
.gc-row .sc { font-size: 16px; min-width: 26px; text-align: right; } .gc-row .he { min-width: 24px; text-align: right; color: var(--muted); font-size: 12.5px; }
.gc-foot { color: var(--muted); font-size: 12px; margin-top: 4px; border-top: 1px solid #2c3135; padding-top: 4px; }

/* the playoff bracket */
.bracket { display: flex; gap: 26px; align-items: center; }
.bk-col { display: flex; flex-direction: column; gap: 18px; min-width: 250px; }
.bk-ser { background: var(--panel); border-radius: 6px; padding: 7px 9px; border-left: 3px solid var(--head); }
.bk-team { display: flex; align-items: center; padding: 3px 0; color: #cfcfd2; } .bk-team b { margin-left: auto; font-size: 16px; } .bk-team.win { color: #fff; font-weight: 800; } .bk-team.win b { color: var(--accent); } .bk-team.me a { text-decoration: underline; }
.bk-games { font-size: 11px; color: var(--muted); } .bk-games a { margin-right: 4px; }

/* the live game */
.linescore td, .linescore th { text-align: center; } .linescore td:first-child { text-align: left; }
.scorebig { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 6px 0; } .scorebig b { font-size: 44px; font-weight: 800; line-height: 1; } .scorebig span { color: var(--muted); font-size: 26px; } .scorebig .tb { margin: 0; }
.outs { display: flex; align-items: center; justify-content: center; gap: 5px; margin-bottom: 4px; } .outs i { width: 12px; height: 12px; border-radius: 50%; background: #2a2f33; border: 1px solid #555; } .outs i.on { background: var(--bad); border-color: var(--bad); }
.oddsbar { display: flex; height: 22px; border-radius: 4px; overflow: hidden; margin-bottom: 6px; } .oddsbar span { display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; color: #111; min-width: 1px; }
.pbp .card { margin-bottom: 8px; padding: 8px 12px; }
.pbptext { font-family: var(--mono); font-size: 12px; line-height: 1.6; background: #15181b; border-radius: 5px; padding: 10px 12px; max-height: 60vh; overflow: auto; white-space: pre-wrap; margin: 6px 0 0; }
.notes { font-size: 13.5px; line-height: 1.6; padding: 8px 12px; }
code { font-family: var(--mono); font-size: 12px; }
svg.field text { paint-order: stroke; }

/* desks */
.tdesk { display: grid; grid-template-columns: minmax(0, 1fr) 320px minmax(0, 1fr); gap: 14px; align-items: start; }
.tdesk .tablewrap { max-height: calc(100vh - 330px); }
.tdesk h3 { margin-bottom: 6px; } .tdesk table.tight td, .tdesk table.tight th { padding-left: 4.5px; padding-right: 4.5px; } .tdesk table.tight td { font-size: 13px; }
.clock { border-left: 4px solid var(--head); } .clock.mine { border-left-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, var(--panel)); }
.ach { border-left: 3px solid #555; opacity: .6; } .ach.got { opacity: 1; } .ach.gold.got { border-left-color: var(--gold); } .ach.silver.got { border-left-color: #c0c5ca; } .ach.bronze.got { border-left-color: #cd7f32; } .ach svg { width: 22px; height: 22px; }
.shelf-top { display: flex; align-items: center; gap: 12px; padding: 2px 0 8px; border-bottom: 1px solid var(--line); margin-bottom: 4px; } .shelf-top svg { width: 34px; height: 34px; } .shelf-top b { font-size: 34px; font-weight: 800; line-height: 1; color: var(--accent); }

/* the record book: an award and the years it was won */
.awl { padding: 5px 2px; border-bottom: 1px solid #2c3135; } .awl:last-child { border-bottom: 0; } .awl b { display: block; font-size: 13.5px; } .awl b i { font-style: normal; color: var(--gold); margin-left: 4px; } .awl span { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.wrap > h1 .tag { vertical-align: 4px; margin-left: 6px; }

/* the FaceGen workshop */
.fg-sheet { max-width: 1120px; } .fg-sheet svg { display: block; width: 100%; height: auto; border-radius: 6px; box-shadow: 0 6px 18px rgba(0, 0, 0, .45); }
.fg-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px 16px; } .fg-f { display: flex; align-items: center; gap: 8px; min-width: 0; } .fg-f > span { flex: none; width: 104px; color: var(--muted); font-size: 12.5px; font-weight: 700; } .fg-f select { flex: 1; min-width: 0; }
.fg-sizes { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; } .fg-disc { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; border: 2px solid var(--c2); background: var(--c1); display: inline-block; } .fg-disc svg { width: 100%; height: 100%; display: block; }
@media (max-width: 1250px) { .fg-form { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* a person's portrait on his page */
.pp-mug { float: right; margin: -4px -4px 4px 10px; } .pp-mug svg { display: block; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .45)); }
/* ================= THE TROPHY ROOM (the top of a club's trophy case) ================= the club's name over the count of what it has
   won, and every title a trophy on its plaque under the lights. The section sets --c1 / --c2. */
.tr-hero { position: relative; overflow: hidden; isolation: isolate; border-radius: 8px; padding: 18px 22px 16px; margin-bottom: 14px; background: radial-gradient(ellipse 70% 95% at 50% 34%, color-mix(in srgb, var(--c1) 46%, #131a26), #0e131b 62%, #0a0d12 100%); border: 1px solid #000; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07), inset 0 -3px 0 #c99a2e; }
.tr-beam { position: absolute; left: 50%; top: -60px; width: 1700px; height: 760px; margin-left: -850px; z-index: -1; pointer-events: none; background: conic-gradient(from 180deg at 50% 0, transparent 146deg, rgba(255, 255, 255, .07) 166deg, rgba(255, 255, 255, .17) 180deg, rgba(255, 255, 255, .07) 194deg, transparent 214deg); }
.tr-head { display: flex; align-items: center; gap: 16px; } .tr-head .tb.big { flex: none; } .tr-head h2 { margin: 0; font-size: 28px; line-height: 1.1; font-weight: 800; letter-spacing: .4px; color: #fff; text-transform: uppercase; } .tr-head em { display: block; margin-top: 2px; font-style: normal; font-size: 12px; font-weight: 800; letter-spacing: 4px; color: #e6c35c; }
.tr-tiles { margin-left: auto; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; } .tr-tile { min-width: 104px; padding: 8px 12px 9px; border-radius: 6px; text-align: center; background: rgba(0, 0, 0, .42); border: 1px solid rgba(255, 255, 255, .13); }
.tr-tile b { display: block; font-size: 26px; line-height: 1.05; font-weight: 800; color: #fff; } .tr-tile span { display: block; margin-top: 2px; font-size: 9.5px; font-weight: 800; letter-spacing: .9px; color: #aab1ba; } .tr-tile.none b { color: #6b7380; }
.tr-banner { margin: 16px 0 4px; text-align: center; font-size: clamp(22px, 2.5vw, 34px); line-height: 1.1; font-weight: 900; letter-spacing: 4px; color: transparent; background: linear-gradient(180deg, #fff3b8 0%, #ffd94a 38%, #d99a12 56%, #ffd94a 74%, #fff0a6 100%); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .5)); }
.tr-banner.dim { background: linear-gradient(180deg, #f1f4f7, #b9c2cb 55%, #e3e8ed); -webkit-background-clip: text; background-clip: text; }
.tr-stage { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 14px 22px; padding: 6px 0 2px; --pw: 168px; --ch: 196px; }
.tr-stage.n2 { --pw: 122px; --ch: 138px; gap: 12px 12px; } .tr-stage.n3 { --pw: 92px; --ch: 100px; gap: 10px 8px; }
.tr-ped { display: grid; justify-items: center; width: var(--pw); color: inherit; transition: transform .12s; } a.tr-ped:hover { transform: translateY(-4px); color: inherit; }
.tr-ped svg.cup { height: var(--ch); width: auto; display: block; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .65)) drop-shadow(0 0 16px rgba(255, 220, 110, .28)); }
.tr-plaque { display: block; width: 100%; margin-top: -8px; padding: 6px 6px 8px; border-radius: 4px; text-align: center; color: #2c1c04; background: linear-gradient(180deg, #f8e08e, #e0b64a 45%, #b98a22 100%); box-shadow: 0 6px 12px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -2px 0 rgba(90, 60, 0, .45); }
.tr-plaque b { display: block; font-size: 20px; line-height: 1.05; font-weight: 900; } .tr-plaque em { display: block; font-style: normal; font-size: 10px; font-weight: 900; letter-spacing: 1.2px; } .tr-plaque i { display: block; margin-top: 1px; font-style: normal; font-size: 11px; line-height: 1.2; font-weight: 700; } .tr-plaque u { display: block; margin-top: 3px; text-decoration: none; font-size: 9px; font-weight: 900; letter-spacing: 1px; color: #7a1010; }
.tr-plaque.sv { color: #1c232b; background: linear-gradient(180deg, #f2f5f8, #c3ccd5 45%, #8d98a4 100%); box-shadow: 0 6px 12px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -2px 0 rgba(40, 50, 60, .45); }
.tr-stage.n2 .tr-plaque b { font-size: 17px; } .tr-stage.n2 .tr-plaque i { font-size: 10px; } .tr-stage.n3 .tr-plaque { padding: 4px 3px 5px; } .tr-stage.n3 .tr-plaque b { font-size: 15px; } .tr-stage.n3 .tr-plaque em { display: none; } .tr-stage.n3 .tr-plaque i { font-size: 9px; line-height: 1.15; }
.tr-ped.none svg.cup { opacity: .2; filter: grayscale(1); } .tr-ped.none .tr-plaque { color: #cfd5dc; background: linear-gradient(180deg, #3a424c, #2a3038); box-shadow: 0 6px 12px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 255, 255, .12); }
.tr-foot { margin-top: 12px; text-align: center; font-size: 13.5px; font-weight: 700; color: #dfe3ea; }
/* the little trophies beside a club's name in the page header */
.honors.cups { gap: 1px; } .honors.cups svg.cup { width: 24px; height: 29px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .6)); } .honors.cups b { font-size: 15px; margin-left: 2px; }
@media (max-width: 1250px) { .tr-head { flex-wrap: wrap; } .tr-tiles { margin-left: 0; justify-content: flex-start; } }

/* the trophy case's shelves: a long list scrolls inside its shelf */
.shelf-list { max-height: 300px; overflow: auto; margin: 0 -6px; }
/* ================= THE BIG DAYS (moments.js) ================= a card over the whole screen, in the club's colours: the champions
   under the lights, the postseason's pairings, a trade, a signing, the awards. Each card sets --c1 / --c2 / --ink. */
#moment { position: fixed; inset: 0; z-index: 195; display: grid; place-items: center; padding: 3vh 3vw; background: rgba(4, 6, 9, .8); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: mzfade .25s both; overflow: auto; }
#moment[hidden] { display: none; }
.mz { position: relative; width: min(1040px, 94vw); max-height: 94vh; display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; background: #14171b; border: 1px solid #000; box-shadow: 0 30px 90px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .06) inset; animation: mzpop .45s cubic-bezier(.2, 1.2, .3, 1) both; }
.mz.mz-trade { width: min(940px, 94vw); } .mz.mz-sign { width: min(720px, 94vw); } .mz.mz-oct { width: min(980px, 94vw); } .mz.mz-champ { width: min(1100px, 95vw); }
.mz > footer { flex: none; display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 10px 16px 14px; }
.mz-btn { padding: 7px 16px; border-radius: 4px; background: #2b3035; font-size: 13px; font-weight: 800; letter-spacing: .5px; color: #fff; cursor: pointer; text-transform: uppercase; } .mz-btn:hover { background: #3c4349; color: #fff; } .mz-btn.hi { background: var(--accent); color: #111; min-width: 150px; text-align: center; } .mz-btn.hi:hover { filter: brightness(1.12); color: #111; }
/* the hero: the club's colour under two lights, rays turning behind, the year written large */
.mz-hero { position: relative; flex: none; padding: 16px 24px 18px; text-align: center; overflow: hidden; isolation: isolate; background: radial-gradient(ellipse 75% 90% at 50% 38%, color-mix(in srgb, var(--c1) 82%, #fff 12%), var(--c1) 34%, color-mix(in srgb, var(--c1) 42%, #06080b) 72%, #0b0d11 100%); border-bottom: 3px solid #ffd94a; }
.mz-hero.gold { background: radial-gradient(ellipse 75% 90% at 50% 38%, #8a6a10, #5a4208 36%, #241a06 74%, #0b0d11 100%); }
.mz-rays { position: absolute; left: 50%; top: 150px; width: 1500px; height: 1500px; margin: -750px 0 0 -750px; z-index: -2; border-radius: 50%; background: repeating-conic-gradient(from 0deg, rgba(255, 233, 138, .2) 0 5deg, transparent 5deg 15deg); -webkit-mask: radial-gradient(circle, #000 0, rgba(0, 0, 0, .55) 22%, transparent 52%); mask: radial-gradient(circle, #000 0, rgba(0, 0, 0, .55) 22%, transparent 52%); animation: mzspin 46s linear infinite; }
.mz-beam { position: absolute; top: -40px; width: 150px; height: 620px; z-index: -1; background: linear-gradient(rgba(255, 255, 255, .32), rgba(255, 255, 255, 0) 82%); filter: blur(10px); transform-origin: 50% 0; animation: mzbeam 6s ease-in-out infinite; } .mz-beam.b1 { left: 9%; --a0: -30deg; --a1: -12deg; } .mz-beam.b2 { right: 9%; --a0: 30deg; --a1: 12deg; animation-delay: -3s; }
.mz-year { position: absolute; left: 0; right: 0; top: 24px; z-index: -1; font-size: clamp(140px, 22vw, 250px); line-height: 1; font-weight: 900; letter-spacing: 8px; color: rgba(255, 255, 255, .1); -webkit-text-stroke: 2px rgba(255, 255, 255, .08); pointer-events: none; }
.mz-hero > em { position: relative; display: block; font-style: normal; font-size: 12.5px; font-weight: 800; letter-spacing: 5px; color: rgba(255, 255, 255, .92); text-shadow: 0 1px 3px rgba(0, 0, 0, .7); animation: mzrise .5s .1s both; }
.mz-stage { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 5vw, 64px); height: 196px; margin-top: 8px; } .mz-stage.low { height: 150px; }
.mz-stage > .mz-mark { animation: mzleft .7s .45s cubic-bezier(.2, 1.2, .4, 1) both; } .mz-stage > .mz-face { animation: mzright .7s .55s cubic-bezier(.2, 1.2, .4, 1) both; }
.mz-cupbox { position: relative; width: 180px; height: 196px; display: grid; place-items: center; animation: mzdrop .9s .25s cubic-bezier(.2, 1, .3, 1) both; }
.mz-cupbox::before { content: ''; position: absolute; inset: -30px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 226, 110, .85), rgba(255, 200, 40, .28) 42%, transparent 68%); animation: mzglow 3.2s ease-in-out infinite; }
.mz-cup { position: relative; height: 196px; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .7)) drop-shadow(0 0 22px rgba(255, 220, 100, .55)); animation: mzfloat 4s 1.2s ease-in-out infinite; }
.mz-cupbox s { position: absolute; width: 22px; height: 22px; background: #fff; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); animation: mztwinkle 2.2s ease-in-out infinite; filter: drop-shadow(0 0 6px #fff3b0); z-index: 2; }
.mz-cupbox s:nth-of-type(1) { left: 2px; top: 22px; } .mz-cupbox s:nth-of-type(2) { right: -6px; top: 64px; animation-delay: .7s; width: 16px; height: 16px; } .mz-cupbox s:nth-of-type(3) { left: 30px; bottom: 34px; animation-delay: 1.3s; width: 14px; height: 14px; } .mz-cupbox s:nth-of-type(4) { right: 22px; top: 6px; animation-delay: 1.8s; }
.mz-count { width: 170px; display: grid; justify-items: center; gap: 2px; animation: mzright .7s .6s cubic-bezier(.2, 1.2, .4, 1) both; } .mz-count small { font-size: 10px; font-weight: 800; letter-spacing: 2px; color: rgba(255, 255, 255, .85); } .mz-count b { font-size: 92px; line-height: 1; font-weight: 900; color: #ffd94a; text-shadow: 0 4px 0 rgba(0, 0, 0, .4), 0 0 30px rgba(255, 217, 74, .4); }
.mz-hero h2 { margin: 4px 0 0; font-size: clamp(30px, 5vw, 56px); line-height: 1; font-weight: 900; letter-spacing: 2px; color: #fff; text-transform: uppercase; text-shadow: 0 4px 0 rgba(0, 0, 0, .4), 0 10px 30px rgba(0, 0, 0, .65); animation: mzrise .55s .75s both; }
.mz-hero strong { display: inline-flex; align-items: center; gap: 14px; margin-top: 8px; animation: mzstamp .55s 1.05s cubic-bezier(.2, 1.1, .3, 1) both; }
.mz-hero strong b { font-size: clamp(22px, 3.6vw, 40px); line-height: 1.1; font-weight: 900; letter-spacing: clamp(4px, 1vw, 11px); padding-left: 11px; color: transparent; background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .95) 50%, transparent 62%) no-repeat, linear-gradient(180deg, #fff9d6 0%, #ffe066 38%, #e9a90c 52%, #ffd94a 70%, #fff3a8 100%); background-size: 60% 100%, 100% 100%; -webkit-background-clip: text; background-clip: text; animation: mzshine 3.4s 1.6s ease-in-out infinite; filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .45)); }
.mz-hero strong i { font-style: normal; font-size: 22px; color: #ffd94a; text-shadow: 0 0 12px rgba(255, 217, 74, .9); animation: mztwinkle 2.4s 1.5s ease-in-out infinite; opacity: 0; }
.mz-hist { display: block; margin-top: 6px; font-size: 15px; font-weight: 700; color: rgba(255, 255, 255, .94); text-shadow: 0 1px 3px rgba(0, 0, 0, .6); animation: mzrise .5s 1.25s both; }
/* a club's mark on the diamond, and a man's face in a disc */
.mz-mark { --s: 58px; flex: none; display: inline-grid; place-items: center; width: var(--s); height: var(--s); border-radius: 16%; transform: rotate(45deg) scale(.74); background: linear-gradient(135deg, color-mix(in srgb, var(--c1) 88%, #fff), var(--c1) 45%, color-mix(in srgb, var(--c1) 62%, #000)); border: calc(var(--s) * .055) solid var(--c2); box-shadow: 0 0 0 calc(var(--s) * .035) rgba(0, 0, 0, .55), 0 10px 22px rgba(0, 0, 0, .6); }
.mz-mark b { transform: rotate(-45deg); font-size: calc(var(--s) * .3); font-weight: 900; letter-spacing: .5px; color: var(--ink); text-shadow: 0 1px 2px rgba(0, 0, 0, .45); } .mz-mark.xl { --s: 178px; } .mz-mark.lg { --s: 124px; } .mz-mark.sm { --s: 56px; } .mz-mark.xs { --s: 40px; }
.mz-logo { --s: 58px; flex: none; width: var(--s); height: var(--s); object-fit: contain; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .6)); } .mz-logo.xl { --s: 176px; } .mz-logo.lg { --s: 124px; } .mz-logo.sm { --s: 54px; } .mz-logo.xs { --s: 38px; }
.mz-stage > .mz-logo { animation: mzleft .7s .45s cubic-bezier(.2, 1.2, .4, 1) both; }
.mz-face { flex: none; width: 54px; height: 54px; border-radius: 50%; overflow: hidden; display: inline-block; background: linear-gradient(color-mix(in srgb, var(--c1) 70%, #fff 8%), color-mix(in srgb, var(--c1) 40%, #000)); border: 2px solid var(--c2); box-shadow: 0 3px 8px rgba(0, 0, 0, .5); } .mz-face svg { width: 100%; height: 100%; display: block; transform: translateY(6%) scale(1.12); } .mz-face svg.facegen { transform: none; } .mz-face.xl { width: 132px; height: 132px; border-width: 4px; }
/* the boxes under the hero */
.mz-main { display: grid; grid-template-columns: 1.2fr 1fr 1.1fr; gap: 12px; padding: 14px 16px 6px; align-items: stretch; overflow: auto; } .mz-main.two { grid-template-columns: 1fr 1fr; } .mz-main.one { grid-template-columns: 1fr; } .mz-main.aw { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mz-box { position: relative; padding: 11px 14px 13px; border-radius: 10px; background: linear-gradient(rgba(255, 255, 255, .06), rgba(255, 255, 255, .025)); border: 1px solid rgba(255, 255, 255, .09); animation: mzrise .5s both; min-width: 0; } .mz-box:nth-child(1) { animation-delay: 1.3s; } .mz-box:nth-child(2) { animation-delay: 1.45s; } .mz-box:nth-child(n+3) { animation-delay: 1.6s; }
.mz.mz-oct .mz-box, .mz.mz-sign .mz-box, .mz.mz-award .mz-box { animation-delay: .9s; } .mz.mz-award .mz-box:nth-child(n+3) { animation-delay: 1.1s; }
.mz-box > h4 { margin: 0 0 8px; font-size: 10.5px; font-weight: 900; letter-spacing: 2.5px; color: #ffd94a; }
.mz-series { text-align: center; } .mz-score { display: flex; align-items: center; justify-content: center; gap: 14px; }
.mz-score > b { font-size: 78px; line-height: .95; font-weight: 900; color: #ffd94a; text-shadow: 0 4px 0 rgba(0, 0, 0, .45), 0 0 26px rgba(255, 217, 74, .35); } .mz-score > b.l { color: #7f8791; text-shadow: 0 4px 0 rgba(0, 0, 0, .45); } .mz-score > i { font-style: normal; font-size: 34px; color: #5b626b; }
.mz-side { display: grid; justify-items: center; gap: 0; width: 132px; font-size: 12px; font-weight: 800; letter-spacing: .4px; line-height: 1.2; color: var(--muted); text-transform: uppercase; } .mz-side.w { color: #fff; }
.mz-games { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 10px; }
.mz-g { display: grid; justify-items: center; min-width: 58px; padding: 5px 7px 6px; border-radius: 7px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); color: #aab1ba; } .mz-g small { font-size: 9px; font-weight: 800; letter-spacing: 1px; } .mz-g b { font-size: 17px; font-weight: 900; } .mz-g.w { color: #fff; border-color: #ffd94a; background: rgba(255, 217, 74, .12); } .mz-g:hover { transform: translateY(-2px); color: #fff; }
.mz-road { display: flex; align-items: center; gap: 10px; padding: 5px 0; border-top: 1px solid rgba(255, 255, 255, .06); } .mz-road:first-of-type { border-top: 0; } .mz-road > span { flex: 1; min-width: 0; } .mz-road b { display: block; font-size: 14.5px; font-weight: 800; } .mz-road i { font-style: normal; font-size: 12.5px; color: #b9bbc1; } .mz-road em { font-style: normal; font-size: 22px; font-weight: 900; color: #fff; } .mz-road.fin em { color: #ffd94a; }
.mz-note { margin: 8px 0 0; font-size: 12.5px; color: #b9bbc1; line-height: 1.45; }
.mz-man { display: flex; align-items: center; gap: 11px; padding: 7px 4px; border-top: 1px solid rgba(255, 255, 255, .06); animation: mzrise .45s both; border-radius: 6px; } .mz-man:first-of-type { border-top: 0; } .mz-man:hover { background: rgba(255, 255, 255, .06); color: inherit; }
.mz-man > span { min-width: 0; } .mz-man b { display: block; font-size: 17px; font-weight: 800; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .mz-man i { display: block; font-style: normal; font-size: 13px; color: #b9bbc1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .mz-man i em { font-style: normal; color: var(--gold); font-weight: 700; } .mz-man .g { min-width: 0; padding: 0; }
.mz-you { flex: none; margin: 8px 16px 0; padding: 9px 14px; border-radius: 8px; border-left: 4px solid var(--accent); background: rgba(255, 255, 255, .05); color: #fff; font-size: 15px; font-weight: 600; animation: mzrise .5s 1.8s both; } .mz-you.won { border-left-color: #ffd94a; background: rgba(255, 217, 74, .1); }
/* the postseason's pairings */
.mz-pair { display: grid; grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 6px 6px; border-radius: 8px; border-top: 1px solid rgba(255, 255, 255, .06); } .mz-pair:first-of-type { border-top: 0; } .mz-pair:hover { background: rgba(255, 255, 255, .06); color: inherit; }
.mz-pair b { display: block; font-size: 16px; font-weight: 800; } .mz-pair i { font-style: normal; font-size: 12px; color: #b9bbc1; } .mz-pair .r { text-align: right; } .mz-pair em { font-style: normal; font-size: 10px; font-weight: 900; letter-spacing: 1.5px; color: #8b929a; } .mz-pair.mine { background: rgba(255, 217, 74, .1); box-shadow: inset 0 0 0 1px rgba(255, 217, 74, .5); } .mz-pair.mine em { color: #ffd94a; }
/* a trade: the word stamped on, the two clubs coming in from either side */
.mz-stamp { position: relative; flex: none; padding: 14px 20px 14px; text-align: center; overflow: hidden; background: linear-gradient(100deg, color-mix(in srgb, var(--c1) 90%, #fff 6%), color-mix(in srgb, var(--c1) 60%, #000)); border-bottom: 3px solid var(--c2); }
.mz-stamp::after { content: ''; position: absolute; top: 0; bottom: 0; width: 34%; left: -40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent); animation: mzsweep 2.6s .5s ease-in-out infinite; }
.mz-stamp em { display: block; font-style: normal; font-size: 11.5px; font-weight: 800; letter-spacing: 4px; color: rgba(255, 255, 255, .9); text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.mz-stamp h2 { margin: 2px 0 3px; font-size: 62px; line-height: 1; font-weight: 900; letter-spacing: 6px; color: #fff; text-shadow: 0 4px 0 rgba(0, 0, 0, .3), 0 10px 26px rgba(0, 0, 0, .5); animation: mzstampin .55s .12s cubic-bezier(.2, 1.5, .4, 1) both; } .mz-stamp span { font-size: 14.5px; font-weight: 700; color: rgba(255, 255, 255, .92); text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.mz-sides { display: grid; grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr); align-items: stretch; padding: 16px 16px 6px; overflow: auto; }
.mz-sideb { border-radius: 9px; overflow: hidden; background: #1b1e22; border: 1px solid rgba(255, 255, 255, .09); animation: mzleft .55s .18s cubic-bezier(.2, .9, .3, 1.1) both; } .mz-sideb.r { animation-name: mzright; }
.mz-club { display: flex; align-items: center; gap: 6px; padding: 6px 14px 6px 6px; background: linear-gradient(100deg, var(--c1), color-mix(in srgb, var(--c1) 55%, #000)); border-bottom: 3px solid var(--c2); } .mz-club b { display: block; font-size: 19px; font-weight: 800; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .55); line-height: 1.15; } .mz-club em { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: 2px; color: rgba(255, 255, 255, .88); text-shadow: 0 1px 2px rgba(0, 0, 0, .55); }
.mz-list { padding: 6px 10px 10px; } .mz-list .mz-man:nth-child(1) { animation-delay: .5s; } .mz-list .mz-man:nth-child(2) { animation-delay: .62s; } .mz-list .mz-man:nth-child(3) { animation-delay: .74s; } .mz-list .mz-man:nth-child(n+4) { animation-delay: .86s; }
.mz-swap { display: grid; place-items: center; } .mz-swap i { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(255, 255, 255, .06); position: relative; animation: mzswap .8s .3s cubic-bezier(.2, .9, .3, 1.2) both; }
.mz-swap i::before, .mz-swap i::after { content: ''; position: absolute; left: 9px; right: 9px; height: 2.5px; background: #fff; border-radius: 2px; } .mz-swap i::before { top: 13px; box-shadow: 9px -3.5px 0 -0.5px #fff; } .mz-swap i::after { bottom: 13px; box-shadow: -9px 3.5px 0 -0.5px #fff; }
/* confetti in the club's colours and gold: falling for as long as the card is up, and thrown out from behind the trophy as it opens */
.mz-confetti { position: absolute; inset: 0; pointer-events: none; z-index: 5; overflow: hidden; }
.mz-confetti i { position: absolute; top: -20px; width: 9px; height: 15px; border-radius: 2px; opacity: 0; animation: mzfall 3s linear infinite; } .mz-confetti i:nth-child(3n) { width: 8px; height: 8px; border-radius: 50%; } .mz-confetti i:nth-child(4n) { width: 5px; height: 22px; } .mz-confetti i:nth-child(7n) { width: 13px; height: 9px; }
.mz.mz-trade .mz-confetti i, .mz.mz-sign .mz-confetti i { animation: mzfall 2.8s ease-in forwards; }
.mz-confetti u { position: absolute; left: 50%; top: 170px; width: 10px; height: 16px; border-radius: 2px; opacity: 0; animation: mzburst 1.5s cubic-bezier(.12, .8, .3, 1) .35s both; } .mz-confetti u:nth-child(2n) { width: 8px; height: 8px; border-radius: 50%; }
@keyframes mzfade { from { opacity: 0; } } @keyframes mzpop { from { opacity: 0; transform: scale(.82) translateY(18px); } } @keyframes mzrise { from { opacity: 0; transform: translateY(14px); } }
@keyframes mzleft { from { opacity: 0; transform: translateX(-70px); } } @keyframes mzright { from { opacity: 0; transform: translateX(70px); } } @keyframes mzdrop { from { opacity: 0; transform: translateY(-90px) scale(.7); } }
@keyframes mzstampin { from { opacity: 0; transform: scale(1.9) rotate(-5deg); } } @keyframes mzstamp { 0% { opacity: 0; transform: scale(2.4); } 60% { opacity: 1; transform: scale(.94); } 100% { opacity: 1; transform: none; } }
@keyframes mzspin { to { transform: rotate(360deg); } } @keyframes mzglow { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: .95; transform: scale(1.12); } } @keyframes mzfloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes mzshine { 0% { background-position: -120% 0, 0 0; } 55%, 100% { background-position: 220% 0, 0 0; } } @keyframes mztwinkle { 0%, 100% { opacity: 0; transform: scale(.3) rotate(0); } 50% { opacity: 1; transform: scale(1) rotate(45deg); } }
@keyframes mzbeam { 0%, 100% { transform: rotate(var(--a0)); } 50% { transform: rotate(var(--a1)); } } @keyframes mzsweep { 0%, 45% { left: -40%; } 100% { left: 135%; } } @keyframes mzswap { from { opacity: 0; transform: rotate(-200deg) scale(.4); } }
@keyframes mzfall { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 85% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--x), 105vh) rotate(calc(var(--r) + 540deg)); } }
@keyframes mzburst { 0% { opacity: 1; transform: translate(-50%, -50%) rotate(0); } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(calc(-50% + var(--bx)), calc(-50% + var(--by))) rotate(var(--r)); } }
@media (max-width: 900px) { .mz-main, .mz-main.two, .mz-main.aw { grid-template-columns: 1fr; } .mz-sides { grid-template-columns: 1fr; gap: 10px; } .mz-swap i { transform: rotate(90deg); } .mz-stamp h2 { font-size: 40px; } .mz-count { display: none; } }
@media (prefers-reduced-motion: reduce) { #moment, .mz, .mz *, .mz *::before, .mz *::after { animation: none !important; } .mz-confetti { display: none; } .mz-hero strong i { opacity: 1; } }

/* mail */
.mrow { display: block; padding: 7px 10px; border-bottom: 1px solid #2c3135; font-size: 14px; cursor: pointer; } .mrow:hover { background: var(--panel2); color: inherit; } .mrow.on { background: color-mix(in srgb, var(--team) 30%, transparent); } .mrow.unread b { color: var(--accent); }
.letter { padding: 16px 18px; }

@media (max-width: 1500px) { .g6 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .g5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .menu-btn { font-size: 17px; padding: 7px 8px; } #search { width: 170px; } }
/* the team home needs about 300px a panel: five across on a big screen, four on a laptop, three below that */
@media (max-width: 1540px) { .wrap.fill { height: auto; } .dash { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: 318px; height: auto; min-height: 0; } .dash .panel.tall { grid-column: 4; } }
@media (max-width: 1250px) { .dash { grid-template-columns: repeat(3, minmax(0, 1fr)); } .dash .panel.tall { grid-column: 3; } .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tdesk { grid-template-columns: 1fr; } .ctx-box { display: none; } #status { display: none; } .menu-btn { font-size: 14px; } }

/* leader cards, who's hot, the division graph (the panels the football and basketball homes have) */
.lead { display: flex; gap: 10px; padding: 3px 8px 5px; }
.lead-art { width: 56px; height: 66px; flex: none; border-radius: 5px; background: linear-gradient(165deg, var(--c), color-mix(in srgb, var(--c) 45%, #000) 120%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 1px solid rgba(255,255,255,.18); color: #fff; }
.lead-art:hover { filter: brightness(1.2); color: #fff; } .lead-art b { font-size: 17px; font-weight: 800; line-height: 1; } .lead-art small { font-size: 9.5px; font-weight: 700; opacity: .85; }
.lead-list { flex: 1; min-width: 0; } .lead-list h4 { margin: 1px 0 3px; font-size: 13px; font-weight: 800; color: #a9a9ae; letter-spacing: .4px; }
.lead-list div { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; padding: 1.5px 0; } .lead-list a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .lead-list div:first-of-type b { color: var(--accent); }
.panel-body .hot { padding: 5px 12px 7px; font-size: 14.5px; } .panel-body .hot span { display: block; text-align: right; color: #dcdcdf; font-size: 13.5px; margin-top: 1px; }
h4.not { margin: 0; padding: 12px 12px 2px; font-size: 16px; font-weight: 800; color: #a9a9ae; text-transform: uppercase; }
.gtitle { padding: 2px 12px 0; color: #c9c9cc; font-size: 13.5px; font-weight: 600; }
/* the build log: a build's notes */
.bl-notes p { margin: 6px 0; line-height: 1.5; } .bl-notes ul { margin: 6px 0 0; padding-left: 20px; } .bl-notes li { margin: 5px 0; line-height: 1.5; } .bl-notes code { font-size: .92em; opacity: .85; }
/* MEET THE TEAM: a banner, then the lineup, the rotation, the bullpen and the bench as cards in the club's colours */
.meet-top { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding: 16px 20px; border-radius: 10px; margin-bottom: 6px; background: linear-gradient(100deg, color-mix(in srgb, var(--c1) 70%, #0b0d10), #15171b 75%); border: 1px solid rgba(255,255,255,.12); }
.meet-top small { display: block; font-size: 11px; letter-spacing: 3px; font-weight: 800; opacity: .8; } .meet-top h1 { margin: 0; font-size: 40px; font-weight: 900; letter-spacing: 1px; line-height: 1; } .meet-top span { font-size: 12.5px; color: var(--muted); }
.meet-top .stats { flex: 1; min-width: 320px; margin: 0; }
.meet-h { margin: 18px 0 8px; font-size: 12px; letter-spacing: 2.5px; color: var(--muted); }
.meet-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.meet-card { position: relative; display: block; border-radius: 10px; overflow: hidden; color: inherit; text-decoration: none; border: 1px solid color-mix(in srgb, var(--c1) 55%, #ffffff 12%);
  background: linear-gradient(180deg, color-mix(in srgb, var(--c1) 88%, #000), color-mix(in srgb, var(--c1) 50%, #0c0d10)); transition: transform .1s, box-shadow .12s; }
.meet-card:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.45); text-decoration: none; }
.meet-num { position: absolute; right: 10px; top: 42px; font-size: 62px; font-weight: 900; font-style: normal; line-height: 1; color: rgba(255,255,255,.16); }
.meet-ovr { position: absolute; right: 8px; top: 8px; z-index: 1; min-width: 38px; padding: 3px 6px; text-align: center; font-size: 18px; font-weight: 900; line-height: 1.05; border-radius: 6px; background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.3); }
.meet-ovr small { display: block; font-size: 8px; letter-spacing: 1.2px; opacity: .8; }
.meet-face { display: flex; justify-content: center; align-items: flex-end; height: 128px; padding-top: 8px; } .meet-face svg { height: 120px; width: auto; display: block; }
.meet-body { display: block; padding: 9px 11px 11px; background: #15171b; border-top: 1px solid rgba(255,255,255,.1); }
.meet-pos { display: block; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.meet-name { display: block; margin: 2px 0; font-size: 15.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meet-line { display: block; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meet-tag { display: inline-block; margin-top: 6px; padding: 1px 7px; font-size: 10px; font-weight: 700; letter-spacing: .4px; border-radius: 9px; background: rgba(255,255,255,.1); }
/* the trophy as a picture, where the drawn cup stood */
.tr-ped img.cup { height: calc(var(--ch) * 1.25); width: auto; display: block; margin-bottom: 12px; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .65)) drop-shadow(0 0 18px rgba(255, 220, 110, .22)); }
.tr-ped.none img.cup { opacity: .22; filter: grayscale(1); }
.honors.cups img.cup { height: 30px; width: auto; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .6)); }
img.cup.real { vertical-align: middle; }
