/* Caretaker — what is football's own on top of the shared frame: crests and shirts, the pitch and its team sheets,
   form guides, match ratings, the match centre and the replay, the home page's panels, the header's match line, and
   the start screen in the game's yellow. The three frame stylesheets are taken as they come; nothing here edits them. */
:root { --pitch: #2c6a35; --brand: #ffd23f; --brand2: #d9292b; }

/* ---- on the studio's theme ----
   (scripts/audit/contrast.js walks every page and lists what cannot be read. What it found in the shared frame was put
   right in the frame itself; this is only what is ours.) */
.go-main small { color: inherit; }
/* real pictures (the full game): a crest is fitted whole into the square the drawn one had, a photograph fills its frame from the top */
/* a dark crest on a dark panel (a navy cockerel) gets a hairline of light round it so it can be seen */
img.crest.rl { object-fit: contain; filter: drop-shadow(0 0 .6px rgba(255, 255, 255, .85)) drop-shadow(0 0 .6px rgba(255, 255, 255, .55)); } img.crest.rl.tbc { vertical-align: -4px; }
.ctx-logo img.crest.rl { width: 104px; height: 104px; filter: drop-shadow(0 0 1px rgba(255, 255, 255, .7)) drop-shadow(0 6px 12px rgba(0, 0, 0, .6)); }
.ctx-face.ph { width: 96px; height: 112px; padding: 0; border: 2px solid rgba(255, 255, 255, .22); border-radius: 8px; overflow: hidden; background: linear-gradient(165deg, color-mix(in srgb, var(--c, #3a3a3d) 70%, #000), #0d0d10 135%); } .ctx-face.ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; display: block; }
.mtc .ctx-face.ph { width: 76px; height: 92px; border-radius: 6px; }
.mug.ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; display: block; }
.lead-art .mug.ph { border-radius: 4px; }
img.ctx-emblem.rl { object-fit: contain; background: rgba(255, 255, 255, .92); border-radius: 12px; padding: 6px; box-sizing: border-box; } img.menu-mark.rl { object-fit: contain; background: rgba(255, 255, 255, .92); border-radius: 4px; padding: 1px; box-sizing: border-box; }
/* the studio's portraits (js/facegen.js): a head in a card or a row, and the eleven's cards */
.mug { display: inline-flex; flex: none; border-radius: 6px; overflow: hidden; background: linear-gradient(165deg, color-mix(in srgb, var(--c, #3a3a3d) 78%, #000), #0d0d10 135%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); } .mug svg { width: 100%; height: 100%; display: block; }
.lead-art .mug { background: none; box-shadow: none; border-radius: 4px; }
.mtc .ctx-face.fg { width: 84px; height: 88px; } .mtc .ctx-face.fg svg { width: 84px; height: 104px; margin-top: -2px; }

/* ---- marks ---- */
svg.crest, svg.shirt { flex: none; vertical-align: middle; display: inline-block; }
svg.crest.tbc { margin-right: 7px; vertical-align: -4px; } .tpick-list svg.crest.tbc { margin: 0; }
svg.crest text, svg.shirt text { font-family: var(--font); }
a.cl { display: inline-flex; align-items: center; gap: 7px; min-width: 0; max-width: 100%; } a.cl > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } a.cl.me > span { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
td a.cl { vertical-align: middle; }
.ic { width: 18px; height: 18px; flex: none; } .ic.sm { width: 15px; height: 15px; color: var(--muted); } .ic.big { width: 38px; height: 38px; } .ic.gold { color: var(--gold); }
.menu-mark { width: 22px; height: 22px; margin-right: 8px; object-fit: contain; } .menu-btn svg.mc { margin-right: 9px; }
.menu.play .menu-btn { color: #7be04a; } .menu.play .menu-btn .car { border-color: #7be04a; }
.cardm { display: inline-block; width: 9px; height: 13px; border-radius: 2px; margin: 0 2px; vertical-align: -2px; box-shadow: 0 0 0 1px rgba(0,0,0,.5); } .cardm.y { background: #ffd23f; } .cardm.r { background: #e5383b; }
svg.ball { vertical-align: -3px; }

/* ---- small readings ---- */
.ps { display: inline-block; min-width: 27px; text-align: center; font-size: 10.5px; font-weight: 800; letter-spacing: .3px; border-radius: 3px; padding: 1px 4px; margin-right: 6px; background: #343a40; color: #e6e6ea; vertical-align: 1px; }
.ps-GK { background: #7a5a12; color: #ffe9a8; } .ps-DF { background: #1d4e79; color: #cfe6ff; } .ps-MF { background: #1f5f33; color: #cdf5d6; } .ps-FW { background: #7a2424; color: #ffd9d9; }
.fm { display: inline-flex; gap: 3px; vertical-align: middle; margin-left: 6px; } .fm:empty { display: none; }
.fm a, .fm i { width: 18px; height: 18px; border-radius: 3px; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; font-style: normal; color: #111; }
.fm .w { background: var(--good); } .fm .d { background: #b9bcc2; } .fm .l { background: var(--bad); } .fm a:hover { filter: brightness(1.2); color: #111; }
td .fm { margin-left: 0; }
.res { display: inline-flex; width: 18px; height: 18px; border-radius: 3px; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; color: #111; margin-right: 4px; } .res.w { background: var(--good); } .res.d { background: #b9bcc2; } .res.l { background: var(--bad); }
.ha { display: inline-flex; width: 18px; height: 18px; border-radius: 50%; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; flex: none; } .ha.h { background: #e9e9ec; color: #111; } .ha.a { background: #33393e; color: #c9c9cc; border: 1px solid #555; }
.mr { display: inline-block; min-width: 30px; text-align: center; font-weight: 800; border-radius: 3px; padding: 0 5px; font-size: 12.5px; color: #111; } .mr.top { background: #37d7ff; } .mr.hi { background: var(--good); } .mr.mid { background: #c9c9cc; } .mr.lo { background: var(--bad); }
.cond { display: inline-block; position: relative; width: 54px; height: 15px; border-radius: 3px; background: #15181b; overflow: hidden; vertical-align: middle; } .cond i { position: absolute; left: 0; top: 0; bottom: 0; opacity: .85; } .cond b { position: relative; display: block; text-align: center; font-size: 10.5px; line-height: 15px; font-weight: 800; color: #fff; text-shadow: 0 1px 2px #000; }
.cond.good i { background: #2f8a1d; } .cond.warn i { background: #b98a12; } .cond.bad i { background: #a83232; }
.inj { font-size: 10.5px; } small { font-size: 82%; color: var(--muted); }
.rbar.abar { grid-template-columns: 132px 34px minmax(0, 1fr) auto; } .rbar.abar .track s { position: absolute; top: -2px; bottom: -2px; width: 2px; background: var(--gold); }
h4.grp { margin: 12px 0 4px; font-size: 11px; font-weight: 800; letter-spacing: .7px; color: var(--accent); } h4.grp:first-child { margin-top: 0; }
.mt-s { margin-top: 8px; } .h-r { float: right; font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--muted); } .h-r a { color: var(--accent); }
h2 svg.crest { vertical-align: -5px; margin-right: 4px; }
.statbox b .g { min-width: 0; padding: 0; }
.pts { font-size: 15px; }

/* ---- the header ---- */
.ctx-info { display: flex; flex-wrap: wrap; gap: 3px 18px; margin-top: 6px; font-size: 13px; font-weight: 600; color: #e9e9ec; } .ctx-info span { white-space: nowrap; } .ctx-info a.cl { vertical-align: -3px; }
.ctx-info i { font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .7px; color: var(--muted); margin-right: 6px; }
.ctx-name .chip { font-size: 12px; } .ctx-sub .fm { margin-left: 10px; vertical-align: -3px; }
.ctx-logo svg.crest { filter: drop-shadow(0 6px 14px rgba(0,0,0,.55)); }
.ctx-emblem { width: 84px; height: 84px; object-fit: contain; filter: drop-shadow(0 6px 14px rgba(0,0,0,.5)); }
.ctx-box b .g { min-width: 0; padding: 0; font-size: inherit; }
.ctx-match { display: flex; align-items: center; gap: 20px; flex: 1 1 auto; min-width: 0; } .ctx-match .side { display: flex; align-items: center; gap: 14px; min-width: 0; flex: 0 1 auto; } .ctx-match .side span { display: block; min-width: 0; } .ctx-match .side.away { text-align: right; } .ctx-match .score { flex: none; }
.ctx-match .side b { display: block; font-size: 23px; font-weight: 800; text-transform: uppercase; color: #e6e6ea; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .ctx-match .side i { font-style: normal; font-size: 13px; font-weight: 600; color: var(--muted); }
.ctx-match .score { display: flex; align-items: center; gap: 10px; background: #0d0f12; border: 1px solid #000; border-radius: 8px; padding: 6px 18px 18px; position: relative; min-width: 150px; justify-content: center; }
.ctx-match .score b { font-size: 44px; font-weight: 800; line-height: 1; min-width: 30px; text-align: center; } .ctx-match .score u { text-decoration: none; color: var(--muted); font-size: 28px; } .ctx-match .score em { font-style: normal; font-size: 30px; font-weight: 800; color: var(--muted); padding: 4px 0; }
.ctx-match .score small { position: absolute; bottom: 3px; left: 0; right: 0; text-align: center; font-size: 9.5px; font-weight: 800; letter-spacing: 1px; color: var(--accent); }
.ctx-title.mt-info { flex: 0 0 auto; } .ctx-title.mt-info .ctx-info { flex-direction: column; gap: 3px; margin: 0; }
#rail a { position: relative; } #rail .rb { position: absolute; top: -3px; right: -4px; min-width: 15px; height: 15px; border-radius: 8px; background: var(--warn); color: #111; font-size: 9.5px; font-weight: 800; font-style: normal; display: flex; align-items: center; justify-content: center; padding: 0 3px; }
.prov.live { cursor: pointer; }

/* ---- hover card ---- */
.hc-top { display: flex; align-items: center; gap: 10px; } .hc-top > div:nth-child(2) { flex: 1; min-width: 0; } .hc-ov { text-align: center; } .hc-ov .g { font-size: 18px; } .hc-ov small { display: block; font-size: 9.5px; font-weight: 800; }
.hc-att { display: flex; gap: 10px; margin: 8px 0 2px; font-size: 11px; font-weight: 800; color: var(--muted); } .hc-att .g { min-width: 0; padding: 0; font-size: 13px; }
.hovercard .kv { font-size: 12px; } .hovercard .kv .v { white-space: normal; }

/* ---- rows: fixtures, short table, squad, depth ---- */
a.fx, .fx { display: grid; grid-template-columns: 50px 20px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 4px 10px; font-size: 13.5px; border-radius: 4px; } a.fx:hover { background: #2d3338; color: inherit; }
.fx .when { color: var(--dim); font-size: 11.5px; font-weight: 700; } .fx .nm { display: flex; align-items: center; gap: 7px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .fx .rs { font-weight: 700; white-space: nowrap; }
.fx.todo .nm { color: #cfcfd2; } .fx.next { box-shadow: inset 3px 0 0 var(--accent); background: rgba(255,255,255,.04); }
.fx:not(:has(.ha)) { grid-template-columns: 50px minmax(0, 1fr) auto; } .fx:not(:has(.when)) { grid-template-columns: minmax(0, 1fr) auto; }
.tb5 { grid-template-columns: 22px minmax(0, 1fr) 26px 34px 34px; } .srow.tb5 { padding: 3px 8px; font-size: 13.5px; } .srow.tb5.me { background: color-mix(in srgb, var(--team) 30%, transparent); }
.sq { grid-template-columns: 22px minmax(0, 1fr) 30px 34px 58px; } .srow.sq { padding: 2.5px 8px; font-size: 13.5px; } .hrow.sq { margin-top: 6px; } .hrow.sq:first-child { margin-top: 0; }
.dp { grid-template-columns: minmax(0, 1fr) 26px 32px 32px 26px; } .srow.dp { padding: 3px 8px; font-size: 13.5px; } .srow.dp.me { background: color-mix(in srgb, var(--team) 26%, transparent); } .srow.dp.me a { color: inherit; text-decoration: none; }
.srow .nm a.cl { display: flex; }
.nrow.nw { align-items: baseline; padding: 5px 10px; border-bottom: 1px solid #262b2f; line-height: 1.4; } .nrow.nw .kd { min-width: 74px; flex: none; } .nrow.nw a { color: #fff; font-weight: 700; } .nrow.nw a:hover { color: var(--accent); }
h4.wire-h { position: sticky; top: 0; background: var(--panel); z-index: 1; padding: 9px 12px 4px; font-size: 12px; letter-spacing: .5px; }
.lead-art svg.shirt { filter: drop-shadow(0 2px 3px rgba(0,0,0,.5)); } .lead-list h4:empty { display: none; } .lead-list .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.sc2 { display: grid; grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr); gap: 8px; align-items: center; padding: 4px 10px; font-size: 13px; border-radius: 4px; } a.sc2:hover { background: #2d3338; color: inherit; } a.sc2.mine { background: color-mix(in srgb, var(--team) 26%, transparent); }
.sc2 .h { text-align: right; } .sc2 span { display: flex; align-items: center; gap: 6px; overflow: hidden; white-space: nowrap; } .sc2 .h { justify-content: flex-end; } .sc2 b { text-align: center; background: #111417; border-radius: 3px; padding: 1px 0; }
.gc.mine { box-shadow: inset 3px 0 0 var(--accent); } .gc-row .nm { display: flex; align-items: center; gap: 8px; } .gc-goals { color: var(--muted); font-size: 11.5px; padding: 0 0 3px 26px; white-space: normal; line-height: 1.35; } .gc-row .sc { font-weight: 800; }

/* ---- the home page ---- */
.nm { padding: 2px 12px 8px; } .nm-meta { font-size: 10.5px; font-weight: 800; letter-spacing: .7px; color: var(--muted); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nm-row { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); align-items: center; margin: 8px 0 6px; }
.nm-side { display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; min-width: 0; } .nm-side > a { display: flex; flex-direction: column; align-items: center; gap: 3px; max-width: 100%; } .nm-side b { font-size: 16px; font-weight: 800; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .nm-side i { font-style: normal; font-size: 12px; color: var(--muted); font-weight: 600; } .nm-side .fm { margin: 2px 0 0; }
.nm-v { text-align: center; font-size: 22px; font-weight: 800; color: var(--muted); }
.nm-cmp { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; padding: 5px 10px; background: #15181b; border-radius: 4px; } .nm-cmp .g { min-width: 0; }
.nm-foot { display: flex; gap: 6px; justify-content: center; margin-top: 9px; flex-wrap: wrap; } .nm-last { display: block; border-top: 1px solid #2c3135; margin: 0 8px; padding-top: 3px; } .nm-last > .muted { font-size: 10px; font-weight: 800; letter-spacing: .6px; padding-left: 10px; } .nm-last .fx { padding-top: 1px; }
.panel.w-graph .panel-pad svg, .panel.w-money svg { max-height: none; }
.alerts { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 8px; } a.alert { display: block; background: #252a2e; border-left: 3px solid #555; border-radius: 4px; padding: 7px 12px; font-size: 13px; font-weight: 600; } a.alert:hover { background: var(--panel2); color: inherit; }
.alert.lv2 { border-left-color: var(--bad); color: #ffd0d0; } .alert.lv1 { border-left-color: var(--warn); } .alert.lv0 { color: #cfcfd2; }

/* ---- the pitch and the team sheet ---- */
.pitch { position: relative; border-radius: 8px; overflow: hidden; box-shadow: 0 8px 22px rgba(0,0,0,.45), inset 0 0 0 1px rgba(0,0,0,.6); background: var(--pitch); }
.pitch-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pitch.up { aspect-ratio: 68 / 100; width: 100%; max-height: calc(100vh - 235px); min-height: 430px; margin: 0 auto; } .pitch.up.sm { min-height: 360px; max-height: 560px; }
.pitch.flat { aspect-ratio: 108.2 / 62; width: 100%; max-width: 1180px; margin: 0 auto; }
.xi-grid { grid-template-columns: minmax(330px, 470px) minmax(0, 1fr); align-items: start; }
a.pp, .pp { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 1px; width: 104px; text-align: center; z-index: 2; } a.pp:hover { color: #fff; filter: brightness(1.15); z-index: 3; }
.pp svg.shirt { filter: drop-shadow(0 3px 4px rgba(0,0,0,.6)); } .pp b { font-size: 12px; font-weight: 800; background: rgba(8, 10, 14, .78); padding: 0 6px; border-radius: 3px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #fff; }
.pp i { font-style: normal; font-size: 10.5px; font-weight: 700; color: #e9f5ea; text-shadow: 0 1px 2px rgba(0,0,0,.9); display: flex; gap: 4px; align-items: center; } .pp i .mr { min-width: 24px; font-size: 11px; padding: 0 3px; } .pp i em { font-style: normal; color: #ffe08a; } .pp i svg.ball { vertical-align: -2px; }
.pp u { text-decoration: none; font-weight: 800; background: rgba(8,10,14,.78); border-radius: 3px; padding: 0 4px; } .pp u.t5 { color: #37d7ff; } .pp u.t4 { color: #65e212; } .pp u.t3 { color: #f1f1f2; } .pp u.t2 { color: #f3a53a; } .pp u.t1 { color: #ff6666; }
.pp.hurt svg.shirt { opacity: .55; } .pp.sm { width: 84px; } .pp.sm svg.shirt { width: 30px; height: 30px; } .pp.sm b { font-size: 11px; }
.pitch.sm .pp svg.shirt { width: 32px; height: 32px; }

/* ---- two sides of a number ---- */
.duel { display: grid; grid-template-columns: 52px minmax(0, 1fr) 52px; align-items: center; gap: 10px; padding: 5px 0; } .duel > b { font-size: 16px; font-weight: 800; color: #cfcfd2; } .duel > b:last-child { text-align: right; } .duel > b.lead { color: #fff; }
.duel-mid span { display: block; text-align: center; font-size: 10px; font-weight: 800; letter-spacing: .7px; color: var(--muted); margin-bottom: 3px; }
.duel-bar { display: flex; height: 7px; gap: 3px; } .duel-bar i { display: block; border-radius: 3px; min-width: 3px; transition: width .3s; }
.duel-head { display: flex; justify-content: space-between; font-size: 13px; font-weight: 800; letter-spacing: .5px; padding-bottom: 2px; border-bottom: 1px solid #2c3135; margin-bottom: 2px; }

/* ---- tactics ---- */
.stylecard { text-align: left; border: 2px solid transparent; } .stylecard h3 { color: #fff; font-size: 16px; } .stylecard > b { display: block; margin-bottom: 4px; } .stylecard p { min-height: 54px; font-size: 12.5px; } .stylecard.on { border-color: var(--accent); outline: 0; background: color-mix(in srgb, var(--accent) 10%, var(--panel)); }
.stylecard:not([data-cmd]) { cursor: default; } .stylecard:not([data-cmd]):hover { background: var(--panel); } .stylecard.on:hover { background: color-mix(in srgb, var(--accent) 10%, var(--panel)); }
.lean { display: flex; justify-content: space-between; align-items: center; font-size: 12px; padding: 2px 0; color: #cfcfd2; }
.pips { display: inline-flex; gap: 2px; } .pips i { width: 13px; height: 7px; border-radius: 2px; background: #2f3438; } .pips i.mid { background: #5a6068; } .pips i.up { background: var(--good); } .pips i.dn { background: var(--bad); }

/* ---- the player ---- */
.pl-grid { grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.25fr) minmax(280px, 1fr); align-items: start; }
svg.radar { width: 100%; max-width: 300px; display: block; margin: 0 auto; } svg.radar .gt { font-size: 9.5px; }
.chk { padding: 4px 0; font-size: 13.5px; font-weight: 600; } .chk.ok { color: #d6f5c8; } .chk.no { color: #ffb4b4; }
.setrow input[type=number], .setrow input[type=text] { height: 26px; }

/* ---- the league ---- */
.lgtable td, .lgtable th { padding-top: 5px; padding-bottom: 5px; } .lgtable tr.top td { box-shadow: inset 0 -2px 0 var(--gold); } .lgtable tr.top td.rk { color: var(--gold); font-weight: 800; }
table.rgrid td, table.rgrid th { padding: 4px 5px; font-size: 12.5px; } table.rgrid td.c { min-width: 38px; font-weight: 700; } table.rgrid td.x { background: #121417 !important; }
table.rgrid td.w { color: var(--good); } table.rgrid td.l { color: var(--bad); } table.rgrid td.d { color: #d7d7da; } table.rgrid td.dim a { color: var(--dim); font-weight: 500; }
.card.award { text-align: center; padding: 14px 10px 12px; } .card.award h3 { margin: 6px 0 4px; font-size: 11.5px; color: var(--accent); } .card.award b { display: block; font-size: 17px; } .card.award small { display: block; margin-top: 6px; font-size: 11px; }
.champ svg.crest { flex: none; } .review-go { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.legend { justify-content: center; font-size: 12.5px; font-weight: 700; gap: 22px; margin: 4px 0; }

/* ---- the match ---- */
.goals { padding: 2px 4px 6px; } .gl { padding: 2px 0; font-size: 14px; } .gl.rt { text-align: right; }
.tline { position: relative; margin: 26px 34px 30px 46px; } .tl-bar { position: relative; height: 6px; border-radius: 3px; background: #33393e; }
.tl-bar u { position: absolute; top: -5px; height: 16px; border-left: 1px solid #5a6068; text-decoration: none; font-size: 9px; font-weight: 700; color: var(--dim); padding: 17px 0 0 3px; line-height: 1; transform: translateX(-.5px); white-space: nowrap; }
.tl-club { position: absolute; left: -44px; top: -24px; font-size: 11px; font-weight: 800; } .tl-club.dn { top: 12px; }
.tm { position: absolute; transform: translateX(-50%); font-style: normal; line-height: 1; } .tm.up { bottom: 9px; } .tm.dn { top: 9px; } .tm .cardm { margin: 0; } .tm.sub { opacity: .55; }
.story { margin: 4px 4px 12px; font-size: 14.5px; color: #e6e6ea; }
.cm { display: grid; grid-template-columns: 34px 22px 36px minmax(0, 1fr); gap: 6px; align-items: baseline; padding: 4px 10px; font-size: 13.5px; border-bottom: 1px solid #262b2f; line-height: 1.35; }
.cm .min { color: var(--muted); font-weight: 800; font-size: 12px; text-align: right; } .cm .ico { text-align: center; } .cm .who { font-size: 10.5px; font-weight: 800; color: var(--muted); letter-spacing: .3px; }
.cm.goal { background: color-mix(in srgb, var(--good) 13%, transparent); } .cm.goal .goal { color: var(--good); } .cm.red { background: color-mix(in srgb, var(--bad) 12%, transparent); } .cm.foul .txt, .cm.corner .txt, .cm.sub .txt { color: #b9bcc2; }
.cm.new { animation: cmin .35s ease-out; } @keyframes cmin { from { opacity: 0; transform: translateY(-6px); } }
.odds { font-size: 11px; font-weight: 800; color: var(--accent); margin-left: 4px; white-space: nowrap; } .cm.goal .odds { color: var(--text); }
.mk { display: inline-flex; align-items: center; justify-content: center; width: 14px; height: 14px; border-radius: 50%; font-size: 9px; font-weight: 800; vertical-align: -2px; } .mk.shot { border: 2px solid #c9c9cc; } .mk.cor { border-radius: 2px; border-left: 2px solid #c9c9cc; border-bottom: 2px solid #c9c9cc; width: 10px; height: 10px; } .mk.foul { background: #5a6068; width: 8px; height: 8px; } .mk.pen { background: #fff; color: #111; } .mk.sub { color: #8fd0f0; font-size: 13px; width: auto; } .mk.as { background: #33393e; color: #c9c9cc; } .mk.inj { color: var(--bad); font-size: 12px; }
.cmlist { max-height: none; }

/* ---- watch ---- */
.w-top { display: flex; align-items: center; gap: 16px; background: var(--panel); border-radius: 6px; padding: 8px 14px; margin-bottom: 12px; }
.w-clock { font-size: 30px; font-weight: 800; min-width: 64px; font-variant-numeric: tabular-nums; color: var(--accent); }
.w-prog { flex: 1; height: 8px; border-radius: 4px; background: #15181b; position: relative; } .w-prog i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: var(--accent); } .w-prog u { position: absolute; top: -4px; height: 16px; border-left: 1px solid #5a6068; font-size: 9px; text-decoration: none; color: var(--dim); padding: 17px 0 0 3px; }
.w-top .pill { background: #2b3035; } .w-top .pill.on { background: #fff; }
.pitch.live { max-width: none; } .w-ball { position: absolute; transform: translate(-50%, -50%); transition: left .55s cubic-bezier(.3,.7,.3,1), top .55s cubic-bezier(.3,.7,.3,1); z-index: 3; filter: drop-shadow(0 3px 3px rgba(0,0,0,.6)); line-height: 0; }
.w-end { position: absolute; top: 8px; opacity: .85; z-index: 1; } .w-end.hm { left: 12px; } .w-end.aw { right: 12px; }
.w-flash { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.9); background: rgba(8,10,14,.86); border-radius: 8px; padding: 10px 26px; text-align: center; opacity: 0; transition: opacity .2s, transform .2s; z-index: 4; pointer-events: none; }
.w-flash.show { opacity: 1; transform: translate(-50%, -50%) scale(1); } .w-flash b { display: block; font-size: 34px; font-weight: 900; font-style: italic; color: var(--brand); letter-spacing: 1px; } .w-flash span { font-size: 13px; font-weight: 700; }
.w-feedp .panel-body { max-height: calc(100vh - 560px); min-height: 220px; }

/* ---- mail ---- */
.grid.mail { height: calc(100% - 44px); min-height: 420px; align-items: stretch; } .maillist { overflow: auto; } .mail > .card { overflow: auto; }
.mrow .row { gap: 7px; } .mrow b { font-weight: 700; } .mrow.unread b { color: #fff; } .mrow.unread { box-shadow: inset 3px 0 0 var(--accent); } .mrow:not(.unread) b { color: #b9bcc2; font-weight: 600; }
.letter hr { border: 0; border-top: 1px solid var(--line); margin: 12px 0; } .letter p { font-size: 15px; line-height: 1.55; max-width: 760px; } .letter p a { color: #fff; font-weight: 700; } .letter .sign { margin-top: 18px; font-style: italic; }
.want { padding: 6px 0; border-bottom: 1px solid #2c3135; } .want code { color: #e6e6ea; }
.pill em { color: inherit; }

/* ---- the start screen, in the game's yellow ---- */
#start { --or: var(--brand); } .mm-logo img { height: clamp(86px, 15vh, 150px); }
.mm-item .mm-ic, .mm-play .mm-ic { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mm-play { background: linear-gradient(180deg, #ffe066, #f2b705); color: #14161a; } .mm-play:hover { color: #14161a; } .mm-next { border-color: var(--brand); } .mm-next b { color: var(--brand); }
.mm-crest svg.crest { filter: drop-shadow(0 4px 10px rgba(0,0,0,.6)); }
.mm-srow.four { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 104px 76px 84px; } .mm-srow span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wz-team em { font-style: normal; flex: none; min-width: 30px; text-align: right; font-size: 14px; } .wz-team em.wz-m { min-width: 64px; color: #c4c6cb; font-size: 13px; } .wz-team .g { min-width: 0; } .wz-team.on em.wz-m { color: #fff; }
.wz-col h4 .wz-note { text-transform: none; letter-spacing: 0; font-weight: 600; }
.wz .wz-btn { font: inherit; font-size: 12.5px; font-weight: 800; letter-spacing: .4px; color: #fff; background: #5d6470; border: 0; border-radius: 3px; padding: 6px 12px; cursor: pointer; white-space: nowrap; } .wz .wz-btn:hover { filter: brightness(1.2); }
.wz .row input { flex: 1; min-width: 0; }

/* the new-game screen: the world is chosen before the club, so it is drawn first */
.wz-body.team > .wz-col:first-child { display: flex; flex-direction: column; } .wz-body.team > .wz-col:first-child > h4:first-child, .wz-body.team > .wz-col:first-child > .wz-cols { order: 2; } .wz-body.team > .wz-col:first-child > h4:first-child { margin-top: 16px; }
.wz-body.team .wz-team { font-size: 15px; padding: 2px 8px; }

/* ---- editions ---- */
.mm-logo { position: relative; } .mm-classic { position: absolute; right: 6px; bottom: -12px; font-size: 15px; font-weight: 900; letter-spacing: 6px; color: #14161a; background: var(--brand); padding: 2px 10px 2px 14px; border-radius: 3px; }
.wz select#wz-league { font-size: 15px; }

/* ---- two divisions ---- */
.lgtable tr.pro td { box-shadow: inset 0 0 0 0 transparent; } .lgtable tr.pro td.rk { color: var(--good); font-weight: 800; box-shadow: inset 3px 0 0 var(--good); } .lgtable tr.rel td.rk { color: var(--bad); font-weight: 800; box-shadow: inset 3px 0 0 var(--bad); } .lgtable tr.rel td { background: color-mix(in srgb, var(--bad) 7%, transparent); }
.seg.lvseg a { cursor: pointer; padding: 3px 12px; font-size: 11.5px; } .strip-r .seg { border-color: rgba(255,255,255,.55); }
.wz .wz-pick.wz-div { flex: 1; margin: 0; padding: 6px 12px; cursor: pointer; } .wz .wz-pick.wz-div b { font-size: 15px; } .wz .wz-pick.wz-div span { font-size: 12px; } .wz-cols h6 { margin-left: 8px; }

/* ---- contract talks, the cup bracket ---- */
.tiers { display: flex; align-items: center; gap: 4px; margin-bottom: 8px; } .tiers i { width: 34px; height: 9px; border-radius: 3px; background: #2f3438; } .tiers b { margin-left: 8px; font-size: 13px; }
.tiers i.on.t-insult { background: var(--bad); } .tiers i.on.t-short { background: #f3a53a; } .tiers i.on.t-close { background: var(--warn); } .tiers i.on.t-whisker { background: #b6e23a; } .tiers i.on.t-sign { background: var(--good); }
p.agent { font-size: 15px; font-style: italic; color: #e9e9ec; border-left: 3px solid var(--accent); padding: 2px 0 2px 12px; margin: 0 0 10px; }
.bracket { align-items: stretch; overflow-x: auto; padding-bottom: 6px; } .bk-col { justify-content: space-around; flex: 1; min-width: 232px; }
h4.bk-h { margin: 0 0 2px; font-size: 13px; font-weight: 800; color: var(--accent); letter-spacing: .5px; } h4.bk-h span { display: block; font-size: 10.5px; font-weight: 600; color: var(--muted); letter-spacing: 0; text-transform: none; }
.bk-ser { border-left-color: var(--head); } .bk-ser.final { border-left-color: var(--gold); box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold) 50%, transparent); } .bk-ser.tbd { opacity: .45; }
.bk-team b small { color: var(--muted); font-weight: 600; } .bk-team.me a.cl > span { color: var(--accent); } .bk-team a.cl { text-decoration: none; }

/* ---- meet the team, the clubs, the record book, percentiles ---- */
.mtrow { display: flex; justify-content: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
a.mtc { width: 150px; background: linear-gradient(170deg, color-mix(in srgb, var(--c) 46%, var(--panel)), var(--panel) 70%); border-radius: 8px; padding: 10px 8px 9px; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; border: 1px solid rgba(255,255,255,.08); position: relative; } a.mtc:hover { filter: brightness(1.15); color: inherit; }
.mtc .ctx-face { width: 66px; height: 76px; border-radius: 6px; } .mtc .ctx-face svg { width: 58px; height: 63px; } .mtc > b { font-size: 13.5px; font-weight: 800; margin-top: 5px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .mtc > span { font-size: 11.5px; color: var(--muted); }
.mtc-n { display: flex; align-items: center; gap: 6px; margin-top: 3px; } .mtc-n i { font-style: normal; font-size: 11px; color: #cfcfd2; } .mtc em { position: absolute; top: 6px; right: 7px; font-style: normal; font-size: 10px; font-weight: 800; }
.clubgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 12px; }
a.clubcard { display: flex; align-items: center; gap: 14px; border-left: 4px solid var(--c); } a.clubcard:hover { background: var(--panel2); color: inherit; } .clubcard b { display: block; font-size: 17px; font-weight: 800; } .clubcard span { display: block; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .clubcard .grow { min-width: 0; }
.cc-r { text-align: center; } .cc-r .g { font-size: 18px; } .cc-r small { display: block; font-size: 9.5px; font-weight: 800; margin-top: 2px; }
.recgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; } .rec { background: var(--panel); border-radius: 6px; padding: 10px 14px; border-left: 3px solid var(--gold); } .rec > div { font-size: 16px; font-weight: 700; margin: 3px 0 1px; } .rec small { display: block; }
.pcrow { display: grid; grid-template-columns: minmax(0, 1.3fr) 54px minmax(0, 1fr) 44px; gap: 10px; align-items: center; padding: 5px 0; border-bottom: 1px solid #2c3135; font-size: 13.5px; } .pcrow b { text-align: right; } .pcrow em { font-style: normal; font-size: 11.5px; font-weight: 800; color: var(--muted); text-align: right; }
.card.ach { border-left-width: 3px; border-left-style: solid; } .card.ach small { display: block; margin-top: 6px; } .card.ach.got .ic { color: var(--gold); } .card.ach.silver.got .ic { color: #c0c5ca; } .card.ach.bronze.got .ic { color: #cd7f32; }
.g.unk { color: #8a8f96; } .g.unk.box { background: #2b3035; }
.unseen { font-size: 64px; font-weight: 900; color: #3c4248; text-align: center; line-height: 1; margin: 6px 0 10px; }
.fdots { width: 58px; height: 76px; flex: none; } .fcard h3 { margin-bottom: 3px; } .stylecard.fcard p { min-height: 50px; margin: 0 0 6px; }
.dial { padding: 4px 0 10px; } .dial input[type=range] { width: 100%; accent-color: var(--accent); margin: 6px 0 2px; } .dial-v { font-size: 20px; font-weight: 800; color: var(--accent); } .dial-ends { font-size: 10.5px; font-weight: 800; letter-spacing: .5px; color: var(--muted); text-transform: uppercase; } .dial p { margin: 5px 0 0; font-size: 12.5px; } .dial + .dial { border-top: 1px solid #2c3135; padding-top: 12px; }
input[type=color] { width: 54px; height: 28px; padding: 0; border: 1px solid #555; border-radius: 4px; background: none; cursor: pointer; }
.wz-team > .grow { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.cday span { font-size: 12px; } .cday .res { width: 16px; height: 16px; }

@media (max-width: 1400px) { .pl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ctx-match .side b { font-size: 18px; } }
@media (max-width: 1250px) { .xi-grid, .pl-grid { grid-template-columns: minmax(0, 1fr); } .pitch.up { max-width: 470px; } .ctx-title.mt-info { display: none; } }
/* ---- the build log ---- */
.blog h3 { margin-bottom: 6px; } .blog p { margin: 0 0 6px; line-height: 1.45; } .blog ul { margin: 0 0 4px; padding-left: 18px; } .blog li { margin: 3px 0; line-height: 1.4; } .blog code { background: rgba(255,255,255,.08); padding: 0 4px; border-radius: 3px; font-size: 12.5px; }
/* a saved game the engine has been changed under */
.mm-drift { display: flex; gap: 9px; align-items: flex-start; margin: 2px 6px 10px; padding: 7px 10px; border-left: 3px solid var(--warn); background: rgba(243, 209, 43, .09); border-radius: 3px; font-size: 12.5px; line-height: 1.35; color: #f1ead0; } .mm-drift .mm-ic { width: 16px; height: 16px; flex: none; margin-top: 1px; color: var(--warn); } .mm-drift b { color: #fff; }
/* ---- the club's bones, and what the training ground works on ---- */
.lvl { display: inline-flex; gap: 4px; } .lvl i { width: 30px; height: 10px; border-radius: 2px; background: #2f3438; } .lvl i.on { background: var(--accent); }
.focus .pickcard { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; } .focus .pickcard b { font-size: 15px; letter-spacing: .4px; } .focus .pickcard span { font-size: 12.5px; line-height: 1.35; white-space: normal; }
/* ---- the big days (js/screens/moments.js): a card over the game, after the basketball and football games' ---- */
#bigday { position: fixed; inset: 0; z-index: 260; background: rgba(3, 5, 9, .82); display: flex; align-items: flex-start; justify-content: center; overflow-y: auto; padding: 3vh 16px; box-sizing: border-box; }
.mo-box { position: relative; width: min(1040px, 100%); margin: auto; border-radius: 14px; background: #14161b; border: 1px solid rgba(255, 217, 90, .45); box-shadow: 0 30px 90px rgba(0, 0, 0, .7), 0 0 0 1px rgba(0, 0, 0, .6); overflow: hidden; text-align: center; color: #fff; }
.mo-k { font-size: 12.5px; font-weight: 800; letter-spacing: 5px; color: #ffd95a; }
.mo-box h1 { margin: 2px 0 0; font-size: clamp(34px, 5.2vw, 62px); font-weight: 900; letter-spacing: 1px; line-height: 1; text-shadow: 0 4px 0 rgba(0, 0, 0, .35); }
.mo-box h2 { margin: 6px 0 0; font-size: clamp(22px, 3vw, 34px); font-weight: 900; letter-spacing: 8px; color: #ffd95a; text-shadow: 0 3px 0 rgba(0, 0, 0, .4); } .mo-box h2.gold { letter-spacing: 3px; }
.mo-box p { margin: 8px auto 0; max-width: 640px; font-size: 15px; line-height: 1.45; color: #e9ecf2; }
.mo-box h4 { margin: 0 0 8px; font-size: 11.5px; font-weight: 800; letter-spacing: 3px; color: #ffd95a; }
.mo-hero { position: relative; padding: 22px 20px 20px; background: radial-gradient(ellipse at 50% 38%, color-mix(in srgb, var(--c1) 78%, #fff 6%), color-mix(in srgb, var(--c1) 62%, #000) 62%, #0b0d12 130%); border-bottom: 3px solid #ffd95a; overflow: hidden; }
.mo-rays { position: absolute; left: 50%; top: 44%; width: 1300px; height: 1300px; margin: -650px 0 0 -650px; background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .075) 0 6deg, transparent 6deg 15deg); border-radius: 50%; animation: mo-spin 90s linear infinite; pointer-events: none; -webkit-mask-image: radial-gradient(circle, #000 0, transparent 62%); mask-image: radial-gradient(circle, #000 0, transparent 62%); }
@keyframes mo-spin { to { transform: rotate(360deg); } }
.mo-hero > * { position: relative; } .mo-hero > .mo-rays { position: absolute; }
.mo-stage { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 5vw, 70px); margin: 8px 0 4px; }
.mo-mark .crest { filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .55)); } .mo-mark img.crest.rl { width: 132px; height: 132px; filter: drop-shadow(0 0 1px rgba(255, 255, 255, .8)) drop-shadow(0 10px 18px rgba(0, 0, 0, .55)); }
svg.trophy { flex: none; } svg.trophy.dim { opacity: .2; filter: grayscale(1); } .mo-tro { filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .6)) drop-shadow(0 0 26px rgba(255, 217, 90, .35)); }
.mo-medal { width: 132px; height: 132px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--c1) 70%, #fff 10%), color-mix(in srgb, var(--c1) 55%, #000)); border: 6px solid #ffd95a; box-shadow: 0 0 0 3px #b8791a, 0 10px 22px rgba(0, 0, 0, .5), inset 0 0 0 3px rgba(0, 0, 0, .25); } .mo-medal span { font-size: 9.5px; font-weight: 800; letter-spacing: 2px; color: #ffe9a6; } .mo-medal b { font-size: 54px; font-weight: 900; line-height: 1; color: #ffd95a; text-shadow: 0 3px 0 rgba(0, 0, 0, .4); }
.mo-cols { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 12px; padding: 14px 16px 4px; text-align: left; } .mo-cols.two { grid-template-columns: 1fr 1fr; }
.mo-pan { background: #1c1f26; border: 1px solid rgba(255, 255, 255, .08); border-radius: 9px; padding: 12px 13px; min-width: 0; } .mo-pan.gold { background: linear-gradient(170deg, rgba(255, 217, 90, .16), rgba(255, 217, 90, .05)); border-color: rgba(255, 217, 90, .45); } .mo-pan p { margin: 0 0 8px; font-size: 13.5px; text-align: left; } .mo-pan .kv .v { white-space: normal; overflow: visible; } .mo-pan h4 { text-align: center; }
.mo-row { display: grid; grid-template-columns: 20px 24px minmax(0, 1fr) auto 34px; align-items: center; gap: 6px; padding: 4px 6px; border-radius: 5px; font-size: 14px; font-weight: 700; } .mo-row i { font-style: normal; color: #9aa0ab; font-size: 12.5px; text-align: center; } .mo-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .mo-row em { font-style: normal; font-size: 12px; color: #b9bfca; font-weight: 600; } .mo-row b { text-align: right; font-weight: 900; }
.mo-row.top { background: rgba(255, 217, 90, .14); box-shadow: inset 0 0 0 1px rgba(255, 217, 90, .5); } .mo-row.top b { color: #ffd95a; } .mo-row.me span { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; } .mo-row .crest { margin: 0; }
.mo-star { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; } .mo-star b { display: block; font-size: 19px; font-weight: 900; } .mo-star span { font-size: 12.5px; color: #cfd4dc; }
.mo-fig { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; } .mo-fig.four { grid-template-columns: repeat(4, 1fr); padding: 12px 16px 0; gap: 10px; } .mo-fig > div { background: rgba(0, 0, 0, .32); border-radius: 6px; padding: 8px 4px; text-align: center; min-width: 0; } .mo-fig b { display: block; font-size: 21px; font-weight: 900; color: #ffd95a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .mo-fig span { font-size: 9.5px; font-weight: 800; letter-spacing: 1.5px; color: #c9ced6; }
.mo-fig .ga b { color: #46cf6d; } .mo-fig .gb b { color: #ffd95a; } .mo-fig .gc b { color: #ff8a80; } .mo-fig.four b { font-size: 19px; }
.mo-say { margin: 12px 16px 0; padding: 11px 14px; border-radius: 8px; background: #20242c; font-size: 16px; font-weight: 700; color: #f1f3f6; } .mo-say.mine { background: linear-gradient(180deg, #ffe58a, #f0b429); color: #2a1c00; font-weight: 800; box-shadow: 0 0 22px rgba(255, 200, 60, .35); }
.mo-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 14px 16px 18px; }
.mo-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 170px; padding: 10px 20px; border-radius: 6px; background: #252a33; border: 1px solid rgba(255, 255, 255, .22); color: #fff; font-size: 14px; font-weight: 800; letter-spacing: 1.5px; cursor: pointer; text-transform: uppercase; } .mo-btn:hover { background: #303642; color: #fff; }
.mo-btn.pri { color: #06250b; border-color: transparent; background: linear-gradient(180deg, #45e05c, #22b03a 55%, #18932e); box-shadow: 0 4px 14px rgba(40, 200, 70, .35), inset 0 1px 0 rgba(255, 255, 255, .45); } .mo-btn.pri:hover { background: linear-gradient(180deg, #5cec72, #27c043 55%, #1aa233); color: #06250b; } .mo-btn.big { min-width: 260px; padding: 14px 26px; font-size: 16px; } .mo-btn.quiet { background: none; border-color: rgba(255, 255, 255, .16); color: #c9ced6; min-width: 110px; }
/* falling paper, in the club's colours */
.mo-conf { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 3; } .mo-conf u { position: absolute; top: -18px; width: 9px; height: 15px; border-radius: 2px; opacity: .95; animation: mo-fall 3.4s linear infinite; text-decoration: none; }
.mo-conf u:nth-child(3n) { width: 7px; height: 7px; border-radius: 50%; } .mo-conf u:nth-child(4n) { width: 5px; height: 19px; }
@keyframes mo-fall { 0% { transform: translateY(-20px) rotate(0deg); opacity: 0; } 8% { opacity: 1; } 100% { transform: translateY(980px) rotate(560deg); opacity: .9; } }
@media (prefers-reduced-motion: reduce) { .mo-conf u, .mo-rays { animation: none; } .mo-conf u { top: auto; bottom: 8px; } }
/* the cup final is set */
.mo-final { padding: 20px 18px 0; background: radial-gradient(ellipse at 50% 0, #26324c, #14161b 70%); } .mo-final > * { position: relative; z-index: 4; } .mo-final > .mo-conf { position: absolute; z-index: 3; } .mo-art { margin-bottom: 4px; }
.mo-mine { margin: 14px auto 0; max-width: 760px; padding: 12px; border-radius: 10px; background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 217, 90, .4); } .mo-mine small { font-size: 11px; font-weight: 800; letter-spacing: 3px; color: #ffd95a; }
.mo-vs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-top: 8px; } .mo-vs > i { font-style: normal; font-size: 24px; font-weight: 900; color: #9aa0ab; }
.mo-club { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 8px; border-radius: 8px; background: linear-gradient(170deg, color-mix(in srgb, var(--c) 50%, #14161b), #171a20 85%); } .mo-club b { font-size: 21px; font-weight: 900; } .mo-club span { font-size: 12.5px; color: #cfd4dc; } .mo-club .crest { margin: 0; }
.mo-roads { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 760px; margin: 12px auto 0; text-align: left; } .mo-roads > div { background: #1c1f26; border-radius: 8px; padding: 10px 12px; } .mo-roads h4 { text-align: center; }
.mo-road { display: grid; grid-template-columns: 124px minmax(0, 1fr) auto; gap: 8px; align-items: baseline; padding: 3.5px 4px; font-size: 13.5px; border-bottom: 1px solid rgba(255, 255, 255, .06); } .mo-road small { font-size: 10px; font-weight: 800; letter-spacing: .6px; color: #9aa0ab; white-space: nowrap; } .mo-road span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .mo-road b { font-weight: 900; } .mo-road b i { font-style: normal; font-size: 10px; font-weight: 700; color: #ffd95a; } .mo-road.lost span, .mo-road.lost b { color: #ff9c94; }
.mo-out { margin: 12px auto 0; max-width: 760px; font-size: 14.5px; color: #cfd4dc; }
.mo-score { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 2px 0 10px; } .mo-score b { font-size: 46px; font-weight: 900; line-height: 1; color: #ffd95a; } .mo-score b.dimd { color: #8d93a0; } .mo-score i { font-style: normal; font-size: 26px; color: #6d7480; } .mo-score .crest { margin: 0; }
/* your own trophy, under its cloth */
.mo-unveil { width: min(760px, 100%); padding: 22px 20px 6px; background: radial-gradient(ellipse at 50% 20%, #1c2a48, #0c0f17 72%); }
.mo-ped { position: relative; width: 360px; max-width: 100%; height: 330px; margin: 10px auto 0; display: flex; align-items: flex-end; justify-content: center; }
.mo-beam { position: absolute; left: 50%; top: -30px; width: 460px; height: 380px; margin-left: -230px; background: linear-gradient(180deg, rgba(255, 244, 200, .30), rgba(255, 244, 200, 0) 92%); clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%); pointer-events: none; }
.mo-ped .mo-tro { position: relative; margin-bottom: 52px; z-index: 1; }
.mo-cloth { position: absolute; left: 50%; bottom: 50px; width: 250px; height: 270px; margin-left: -125px; z-index: 2; background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--c1) 88%, #fff 12%) 0 9px, color-mix(in srgb, var(--c1) 70%, #000) 9px 20px, var(--c1) 20px 30px); clip-path: polygon(32% 0, 68% 0, 80% 14%, 86% 44%, 100% 100%, 0 100%, 14% 44%, 20% 14%); filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .6)); border-bottom: 5px dotted #ffd95a; transition: transform 1.25s cubic-bezier(.5, 0, .8, .4), opacity 1.1s ease-in .25s; transform-origin: 50% 100%; }
.mo-unveil.open .mo-cloth { transform: translateY(78%) scaleY(.12); opacity: 0; }
.mo-flash { position: absolute; left: 50%; top: 45%; width: 20px; height: 20px; margin: -10px; border-radius: 50%; background: #fff; opacity: 0; z-index: 3; pointer-events: none; } .mo-unveil.open .mo-flash { animation: mo-flash 1.3s ease-out .55s 1; }
@keyframes mo-flash { 0% { opacity: 0; transform: scale(1); } 18% { opacity: .95; transform: scale(26); } 100% { opacity: 0; transform: scale(44); } }
.mo-plaque { position: absolute; left: 50%; bottom: 0; width: 320px; max-width: 100%; transform: translateX(-50%); padding: 8px 10px 9px; border-radius: 4px; background: linear-gradient(180deg, #4a3a1c, #2a2010); border: 1px solid #c9962c; z-index: 4; box-shadow: 0 8px 18px rgba(0, 0, 0, .5); } .mo-plaque b { display: block; font-size: 15px; font-weight: 900; letter-spacing: 3px; color: #ffe9a6; } .mo-plaque span { font-size: 9.5px; font-weight: 800; letter-spacing: 2.5px; color: #e0b64a; }
.mo-pre h2, .mo-post h2 { letter-spacing: 3px; color: #fff; font-size: clamp(22px, 3vw, 30px); margin-top: 16px; } .mo-post h2.gold { color: #ffd95a; font-size: clamp(26px, 3.6vw, 38px); }
.mo-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin-top: 12px; } .mo-chips span { padding: 4px 10px; border: 1px solid rgba(255, 217, 90, .6); border-radius: 4px; font-size: 11.5px; font-weight: 800; letter-spacing: 1px; background: rgba(0, 0, 0, .3); }
/* a deal is done */
.mo-deal { width: min(820px, 100%); padding: 20px 0 0; background: radial-gradient(ellipse at 50% 0, color-mix(in srgb, var(--c1) 46%, #14161b), #14161b 68%); } .mo-deal > * { position: relative; z-index: 4; } .mo-deal > .mo-conf { position: absolute; z-index: 3; } .mo-deal h2 { letter-spacing: 6px; }
.mo-dtop { display: grid; grid-template-columns: 1fr 1.25fr 1fr; align-items: center; gap: 10px; padding: 14px 16px 0; }
.mo-dclub { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 14px 8px; border-radius: 9px; background: linear-gradient(170deg, color-mix(in srgb, var(--c, #333) 50%, #14161b), #171a20 85%); min-width: 0; } .mo-dclub small { font-size: 10px; font-weight: 800; letter-spacing: 3px; color: #ffd95a; margin-top: 4px; } .mo-dclub b { font-size: 16.5px; font-weight: 900; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .mo-dclub .crest { margin: 0; }
.mo-dman { display: flex; flex-direction: column; align-items: center; gap: 3px; } .mo-dman > b { font-size: 24px; font-weight: 900; margin-top: 6px; } .mo-dman > span { font-size: 13px; color: #cfd4dc; } .mo-dov { display: flex; align-items: center; gap: 6px; margin-top: 5px; font-size: 11px; color: #b9bfca; } .mo-dov i { font-style: normal; margin-right: 6px; }
@media (max-width: 860px) { .mo-cols, .mo-cols.two, .mo-roads { grid-template-columns: 1fr; } .mo-medal { display: none; } .mo-fig.four { grid-template-columns: 1fr 1fr; } .mo-dtop { grid-template-columns: 1fr; } }
/* ---- the trophy case: a shelf for everything, an empty one dimmed ---- */
.tcrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; padding: 4px 12px 14px; } .tcrow.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tcs { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 16px 10px 14px; border-radius: 8px; background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012)); text-align: center; min-width: 0; }
.tcs-art { height: 136px; display: flex; align-items: flex-end; justify-content: center; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .55)); } .tcs.ind .tcs-art { height: 108px; }
.tcs > b { font-size: 34px; font-weight: 900; line-height: 1.05; margin-top: 6px; } .tcs > span { font-size: 11.5px; font-weight: 800; letter-spacing: 1.4px; color: #b9bfca; }
/* an empty shelf: the trophy a ghost, the words still readable */
.tcs.none > b { color: #8d93a0; } .tcs.none > span { color: #9aa0ab; } .tcs.none .tcs-art { filter: none; } .tcs.none svg.pennant { opacity: .28; filter: grayscale(1); } .tcs > em { font-style: normal; font-size: 12.5px; color: #9aa0ab; margin-top: 4px; }
.yrs { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin-top: 8px; } a.yr { padding: 2px 8px; border-radius: 3px; background: #2f343c; font-size: 12.5px; font-weight: 800; } a.yr:hover { background: var(--accent); color: #111; }
.tcl { align-self: stretch; margin-top: 8px; text-align: left; font-size: 13.5px; } .tcl > div { display: flex; gap: 8px; padding: 2px 6px; } .tcl i { font-style: normal; font-weight: 800; color: #ffd95a; min-width: 58px; }
.tcbar { height: 5px; margin: 0 12px 12px; border-radius: 3px; background: linear-gradient(180deg, #a57a3c, #6b4a1c); box-shadow: 0 3px 6px rgba(0, 0, 0, .45); }
/* the trophies beside a club's name in the header (after the basketball and football games, and the baseball game's
   strip): one for each title, big enough to know at a glance, lit in gold, each its own way into the season it was won.
   --hon is their height: change that one number to resize them. They stand on the line the name is written on and rise
   above it (the negative margins keep the header its height). */
:root { --hon: 62px; }
.honors.silver { position: relative; display: flex; align-items: flex-end; gap: 5px; flex: none; height: var(--hon); margin: -21px 0 -5px 4px; }
.honors.silver::before { content: ''; position: absolute; left: -18px; right: -18px; top: -6px; bottom: -10px; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgba(255, 210, 100, .3), rgba(255, 210, 100, .09) 55%, rgba(255, 210, 100, 0) 78%); }
.honors.silver .hon { position: relative; display: block; line-height: 0; flex: none; transition: transform .12s ease; }
.honors.silver svg.trophy { height: var(--hon); width: calc(var(--hon) * .8); display: block; filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .75)) drop-shadow(0 0 9px rgba(255, 214, 110, .5)); }
.honors.silver .hon:hover { transform: translateY(-5px) scale(1.08); z-index: 2; }
.honors.silver .hon:hover svg.trophy { filter: drop-shadow(0 7px 8px rgba(0, 0, 0, .75)) drop-shadow(0 0 15px rgba(255, 224, 130, .9)) brightness(1.16); }
.honors.silver .gap { width: 10px; flex: none; }
.honors.silver.tight { gap: 0; } .honors.silver.tight .hon + .hon { margin-left: -9px; }
.honors.silver.many { gap: 0; } .honors.silver.many .hon + .hon { margin-left: -16px; }
.honors.silver .cnt { position: relative; align-self: center; margin-left: 7px; font-size: 30px; font-weight: 800; line-height: 1; letter-spacing: -.5px; color: #ffd872; text-shadow: 0 2px 3px rgba(0, 0, 0, .8), 0 0 12px rgba(255, 210, 100, .45); }
.honors.silver .cnt:hover { color: #fff3c4; text-decoration: none; }
/* light crosses each trophy as the page opens and now and then after, one after the next along the row */
svg.trophy .glint { transform: skewX(-20deg) translateX(0); animation: tr-glint 8s ease-in-out infinite; animation-delay: calc(.3s + var(--i, 0) * .18s); }
@keyframes tr-glint { 0% { transform: skewX(-20deg) translateX(0); } 13%, 100% { transform: skewX(-20deg) translateX(200px); } }
@media (prefers-reduced-motion: reduce) { svg.trophy .glint { animation: none; } .honors.silver .hon { transition: none; } }
@media (max-width: 1500px) { :root { --hon: 50px; } .honors.silver { margin-top: -13px; margin-bottom: -3px; } .honors.silver .cnt { font-size: 25px; } }
.champ svg.trophy { margin: 0 6px 0 -4px; }
@media (max-width: 1100px) { .tcrow.four { grid-template-columns: 1fr 1fr; } }
/* ---- the fixture list: the season a month at a time, a row a match ---- */
.fxlist { display: flex; flex-direction: column; gap: 3px; }
.fxm { display: flex; align-items: baseline; gap: 14px; margin-top: 12px; padding: 7px 12px; border-radius: 5px 5px 0 0; background: var(--head); border-bottom: 2px solid var(--accent); } .fxm:first-child { margin-top: 0; } .fxm b { font-size: 14px; font-weight: 900; letter-spacing: 2px; } .fxm span { font-size: 12.5px; color: #dfe3ea; } .fxm a { margin-left: auto; font-size: 11.5px; font-weight: 800; letter-spacing: 1px; color: #fff; opacity: .85; } .fxm a:hover { opacity: 1; }
a.fxr { display: grid; grid-template-columns: 52px 118px 22px minmax(190px, 1.25fr) 104px minmax(0, 1.6fr) 74px 58px; align-items: center; gap: 12px; padding: 7px 12px; border-radius: 4px; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 22%, var(--panel)), var(--panel) 34%); color: var(--text); border-left: 4px solid transparent; }
a.fxr:hover { background: linear-gradient(90deg, color-mix(in srgb, var(--c) 34%, var(--panel2)), var(--panel2) 40%); color: #fff; }
a.fxr.w { border-left-color: #46cf6d; } a.fxr.d { border-left-color: #9aa0ab; } a.fxr.l { border-left-color: var(--bad); } a.fxr.todo { background: linear-gradient(90deg, color-mix(in srgb, var(--c) 12%, #1a1c21), #1a1c21 30%); }
a.fxr.next { border-left-color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); background: linear-gradient(90deg, color-mix(in srgb, var(--c) 30%, var(--panel2)), var(--panel2) 40%); }
.fxr-d { display: flex; flex-direction: column; align-items: center; line-height: 1; } .fxr-d i { font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: 1.5px; color: var(--muted); } .fxr-d b { font-size: 24px; font-weight: 900; }
.fxr-k em { display: block; font-style: normal; font-size: 12px; font-weight: 800; letter-spacing: 1px; } .fxr-k em.cup { color: #ffd95a; } .fxr-k small { display: block; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fxr-o { display: flex; align-items: center; gap: 10px; min-width: 0; } .fxr-o .crest { margin: 0; } .fxr-o > span { min-width: 0; } .fxr-o b { display: block; font-size: 16px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .fxr-o small { display: block; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fxr-r { display: flex; align-items: center; gap: 8px; } .fxr-r strong { font-size: 22px; font-weight: 900; white-space: nowrap; } .fxr-r strong i { font-style: normal; color: var(--dim); margin: 0 2px; } .fxr-r .res { width: 20px; height: 20px; } .fxr-r .nxt { font-style: normal; padding: 2px 9px; border-radius: 3px; background: var(--accent); color: #111; font-size: 11px; font-weight: 900; letter-spacing: 1.5px; }
.fxr-s { font-size: 12.5px; color: var(--muted); min-width: 0; line-height: 1.3; } .fxr-x, .fxr-p { font-size: 14px; font-weight: 800; text-align: right; white-space: nowrap; } .fxr-x small, .fxr-p small { display: block; font-size: 9px; font-weight: 800; letter-spacing: 1.2px; color: var(--dim); }
a.fxr.todo .fxr-o b { color: #e6e9ee; } a.fxr.todo .fxr-d b { color: #cfd4dc; }
@media (max-width: 1360px) { a.fxr { grid-template-columns: 46px 100px 22px minmax(150px, 1.2fr) 92px minmax(0, 1.2fr) 58px; } .fxr-x { display: none; } }
/* ---- the calendar: the month on the wall, and what is coming beside it ---- */
.calwrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 14px; align-items: start; }
.cday.has.home { background: linear-gradient(160deg, color-mix(in srgb, var(--c) 46%, var(--panel)), var(--panel) 85%); } .cday.next { box-shadow: inset 0 0 0 2px var(--accent); }
.cday a { display: flex; align-items: center; gap: 5px; font-weight: 800; } .cday a .crest { margin: 0; }
.cn-when { font-size: 10.5px; font-weight: 800; letter-spacing: 1.2px; color: var(--muted); text-align: center; } .cn-vs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; margin: 10px 0 6px; } .cn-vs > i { font-style: normal; font-weight: 900; color: var(--dim); }
.cn-club { display: flex; flex-direction: column; align-items: center; gap: 2px; } .cn-club b { font-size: 16px; font-weight: 900; } .cn-club small { font-size: 11.5px; color: var(--muted); } .cn-club .crest { margin: 0; }
.cn-form { display: flex; justify-content: space-between; gap: 6px; }
.cn-row { display: grid; grid-template-columns: 78px auto auto minmax(0, 1fr) auto; align-items: center; gap: 7px; padding: 4px 2px; font-size: 13px; border-bottom: 1px solid rgba(255, 255, 255, .06); } div.cn-row { grid-template-columns: 78px minmax(0, 1fr); } .cn-row > span:first-child { font-size: 12px; color: var(--muted); font-weight: 700; } .cn-row b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; } .cn-row small { font-size: 11px; color: var(--muted); } .cn-row .crest { margin: 0; } .cn-row.past { opacity: .5; }
@media (max-width: 1300px) { .calwrap { grid-template-columns: 1fr; } }
/* ---- before you: the real record ---- */
a.yr.real { box-shadow: inset 0 0 0 1px rgba(255, 217, 90, .65); background: #2a2a22; } .pastclub { font-weight: 700; color: #cfd4dc; } table tr.mine td { background: color-mix(in srgb, var(--accent) 14%, transparent); }
/* ---- the people: a person's file ---- */
.person-top { display: flex; align-items: center; gap: 18px; padding: 16px 18px; border-radius: 8px; background: linear-gradient(100deg, color-mix(in srgb, var(--team) 46%, var(--panel)), var(--panel) 62%); } .person-top h1 { margin: 0 0 3px; font-size: 30px; font-weight: 900; } .person-top .statrow { flex: none; }
.person-ini { width: 78px; height: 78px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 900; letter-spacing: 1px; background: #14161b; border: 2px solid rgba(255, 255, 255, .25); color: #fff; }
.trait { padding: 6px 2px; border-bottom: 1px solid rgba(255, 255, 255, .06); } .trait b { display: block; font-size: 15px; } .trait span { font-size: 12.5px; color: var(--muted); } .dimx { color: var(--dim); }
/* a real trophy (js/real/trophies.js): a picture where the drawn one was, the same height; the glint is cut to its shape */
.rtro { display: inline-block; position: relative; line-height: 0; flex: none; } .rtro img { height: 100%; width: auto; display: block; }
.rtro.dim { opacity: .22; filter: grayscale(1); } .tcs-art .rtro { filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .5)); } .tcs.none .tcs-art .rtro { filter: grayscale(1); } .champ .rtro { margin: 0 8px 0 -2px; }
.honors.silver .rtro { height: var(--hon) !important; filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .75)) drop-shadow(0 0 9px rgba(255, 214, 110, .5)); }
.honors.silver .hon:hover .rtro { filter: drop-shadow(0 7px 8px rgba(0, 0, 0, .75)) drop-shadow(0 0 15px rgba(255, 224, 130, .9)) brightness(1.16); }
.rtro.glint::after { content: ''; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; background: linear-gradient(108deg, rgba(255, 255, 255, 0) 42%, rgba(255, 255, 255, .9) 50%, rgba(255, 255, 255, 0) 58%) no-repeat; background-size: 320% 100%; background-position: 135% 0; animation: rtro-glint 8s ease-in-out infinite; animation-delay: calc(.3s + var(--i, 0) * .18s); }
@keyframes rtro-glint { 0% { background-position: 135% 0; } 13%, 100% { background-position: -35% 0; } }
@media (prefers-reduced-motion: reduce) { .rtro.glint::after { animation: none; } }
/* ACTIONS: the menu a player carries on his header (js/screens/actions.js). A button at the right of the header; the
   menu hangs under it, each branch opening in place; a row that cannot apply is grey with the reason on it. */
details.pact { position: relative; align-self: center; margin-left: 14px; flex: none; }
details.pact > summary { list-style: none; cursor: pointer; padding: 9px 16px; border-radius: 6px; background: var(--accent); color: #101216; font-weight: 900; font-size: 13.5px; letter-spacing: 1.2px; white-space: nowrap; user-select: none; box-shadow: 0 3px 8px rgba(0, 0, 0, .4); }
details.pact > summary::-webkit-details-marker, details.pa-sub > summary::-webkit-details-marker { display: none; } details.pact > summary::after { content: ' ▾'; } details.pact[open] > summary { filter: brightness(1.12); }
.pa-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 90; width: 330px; max-height: calc(100vh - 150px); overflow: auto; padding: 6px; border-radius: 8px; background: #26282e; border: 1px solid #0e0f12; box-shadow: 0 18px 44px rgba(0, 0, 0, .7); text-align: left; }
.pa-name { padding: 8px 10px 9px; font-size: 16px; font-weight: 800; color: #fff; border-bottom: 1px solid #3a3d45; margin-bottom: 4px; } .pa-name span { display: block; font-size: 12px; font-weight: 600; color: #b9bfca; margin-top: 1px; }
.pa-i, details.pa-sub > summary { display: block; width: 100%; box-sizing: border-box; position: relative; padding: 7px 10px 7px 12px; border: 0; border-left: 3px solid transparent; border-radius: 4px; background: none; color: #eceef2; font: inherit; font-size: 14px; text-align: left; text-decoration: none; cursor: pointer; }
.pa-menu, .pa-menu div { text-align: left; } .pa-menu .pa-i b { display: inline; font-size: 14px; line-height: 1.3; } .pa-menu .pa-i span.pa-r { font-size: 14px; letter-spacing: 0; }
.pa-i b, details.pa-sub > summary { font-weight: 700; } .pa-i i, details.pa-sub > summary i { display: block; font-style: normal; font-size: 12px; font-weight: 500; color: #aab0bb; margin-top: 1px; line-height: 1.3; }
details.pa-sub > summary { list-style: none; padding-right: 26px; } details.pa-sub > summary::after { content: '›'; position: absolute; right: 10px; top: 5px; font-size: 18px; color: #aab0bb; transition: transform .12s ease; } details.pa-sub[open] > summary::after { transform: rotate(90deg); }
a.pa-i:hover, button.pa-i:hover, details.pa-sub > summary:hover { background: #33363e; color: #fff; text-decoration: none; } details.pa-sub[open] > summary { background: #30333a; border-left-color: var(--accent); }
.pa-rows { margin: 2px 0 6px 10px; padding-left: 6px; border-left: 1px solid #3a3d45; } .pa-rows details.pa-sub { margin: 0; }
.pa-i.on { border-left-color: var(--accent); } .pa-i u { float: right; text-decoration: none; color: var(--accent); font-weight: 900; } .pa-i.cur { cursor: default; }
.pa-i.off { cursor: not-allowed; } .pa-i.off b { color: #8f96a2; font-weight: 600; } .pa-i.off i { color: #9aa0ab; }
.pa-r { float: right; margin-left: 8px; font-weight: 800; color: #ffd872; } .pa-say { padding: 6px 12px; font-size: 13px; color: #c9ced7; }
.pa-note { padding: 6px 8px 8px; display: grid; gap: 7px; } .pa-note textarea { width: 100%; box-sizing: border-box; resize: vertical; min-height: 64px; padding: 7px 9px; border-radius: 5px; border: 1px solid #454953; background: #1a1c20; color: #f1f2f5; font: inherit; font-size: 13.5px; }
@media (max-width: 900px) { .pa-menu { width: min(330px, 92vw); } }
/* NUMBERS: the dressing room (the same rail as the baseball and basketball games' NUMBERS, with a football shirt).
   Every squad number is the shirt on its hanger. The rail is drawn as each card's top edge, and the cards touch, so it
   runs unbroken across every row; a shirt swings in as the page opens and sways on its hook when pointed at. */
.jsy-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 2px 2px 14px; } .jsy-head h2 { margin: 0 0 3px; font-size: 22px; letter-spacing: 1.2px; } .jsy-head p { margin: 0; }
.jsy-star { text-align: right; } .jsy-star span { display: block; font-size: 11px; font-weight: 800; letter-spacing: 1.4px; color: #ffd872; } .jsy-star b { font-size: 17px; }
.jsy-rail { display: grid; grid-template-columns: repeat(auto-fill, minmax(146px, 1fr)); gap: 26px 0; margin-top: 12px; padding: 0 6px; }
.jsy { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 7px 4px 4px; color: inherit; text-align: center; text-decoration: none; }
.jsy::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; border-radius: 3px; background: linear-gradient(180deg, #d5dae2, #7b8492 60%, #4b525e); box-shadow: 0 2px 3px rgba(0, 0, 0, .5); }
.jsy svg.jersey { display: block; transform-origin: 50% 6%; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1), filter .2s ease; filter: drop-shadow(0 7px 7px rgba(0, 0, 0, .55)); animation: jsy-in .5s ease-out both; animation-delay: calc(var(--i, 0) * .03s); }
a.jsy:hover { text-decoration: none; } a.jsy:hover svg.jersey { transform: rotate(-5deg) translateY(1px); filter: drop-shadow(0 9px 9px rgba(0, 0, 0, .6)) drop-shadow(0 0 12px color-mix(in srgb, var(--accent) 45%, transparent)); } a.jsy:hover b { color: var(--accent); }
.jsy b { margin-top: 3px; font-size: 14px; font-weight: 800; line-height: 1.2; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .jsy span { font-size: 12px; color: #b9bfca; font-weight: 600; } .jsy span i { font-style: normal; font-weight: 800; }
.jsy-rail.free { grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 18px 0; } .jsy.none svg.jersey { opacity: .3; filter: grayscale(.85); animation: none; } .jsy.none span { color: #9aa0ab; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; font-size: 11px; }
@keyframes jsy-in { 0% { transform: rotate(7deg); opacity: 0; } 55% { transform: rotate(-3deg); opacity: 1; } 100% { transform: rotate(0); } }
@media (prefers-reduced-motion: reduce) { .jsy svg.jersey { animation: none; transition: none; } }
/* ==== MORE OF WHAT A FRONT OFFICE KEEPS (js/screens/more.js): the pages added for parity with the studio's older games ==== */
/* a player's rating at every position */
.rbar.atpos { grid-template-columns: 150px 34px minmax(0, 1fr) 74px; padding: 6px 0; } .rbar.atpos.own span:first-child { font-weight: 800; } .rbar.atpos em { font-style: normal; font-size: 12.5px; text-align: right; }
.rbar.atpos .tag { font-style: normal; margin-left: 5px; background: var(--accent); color: #111; } .pcrow span i { font-style: normal; font-size: 11.5px; margin-left: 4px; }
/* two players side by side */
.cmp-top { display: grid; grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr); gap: 12px; align-items: stretch; }
.cmp-who { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 8px; background: linear-gradient(100deg, color-mix(in srgb, var(--ca) 34%, var(--panel)), var(--panel) 75%); border-left: 4px solid var(--ca); min-width: 0; }
.cmp-who.r { flex-direction: row-reverse; text-align: right; background: linear-gradient(260deg, color-mix(in srgb, var(--cb) 34%, var(--panel)), var(--panel) 75%); border-left: 0; border-right: 4px solid var(--cb); } .cmp-who.r .cl { flex-direction: row-reverse; }
.cmp-who b { display: block; font-size: 21px; font-weight: 900; line-height: 1.15; } .cmp-who i { display: block; font-style: normal; font-size: 13px; color: var(--muted); } .cmp-who .g.box { font-size: 22px; padding: 6px 10px; }
.cmp-swap { display: flex; align-items: center; justify-content: center; border-radius: 8px; background: var(--panel); font-size: 22px; font-weight: 900; color: var(--muted); } a.cmp-swap:hover { color: #fff; text-decoration: none; background: var(--head); }
.cmp-picks { display: flex; flex-direction: column; gap: 5px; margin-top: 10px; } .cmp-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; } .cmp-pick > span { width: 190px; flex: none; font-size: 11px; font-weight: 800; letter-spacing: 1px; color: var(--muted); }
.vs { display: grid; grid-template-columns: 56px minmax(0, 1fr) 112px minmax(0, 1fr) 56px; align-items: center; gap: 8px; padding: 4.5px 0; font-size: 13.5px; border-bottom: 1px solid rgba(255, 255, 255, .05); } .vs:last-child { border-bottom: 0; }
.vs > span { text-align: center; color: var(--muted); font-size: 12.5px; } .vs > b { font-weight: 700; color: #c9ced6; white-space: nowrap; } .vs > b:last-child { text-align: right; } .vs > b.vs-up { color: #fff; font-weight: 900; }
.vs-bar { height: 8px; border-radius: 4px; background: #15181b; position: relative; overflow: hidden; } .vs-bar i { position: absolute; top: 0; bottom: 0; border-radius: 4px; } .vs-bar.l i { right: 0; background: var(--ca); } .vs-bar.r i { left: 0; background: var(--cb); }
/* the notebook */
.pnote textarea { min-height: 62px; font: inherit; font-size: 13.5px; } #nbook textarea { min-height: 110px; font: inherit; font-size: 14px; }
.nb-e { padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); } .nb-e:last-child { border-bottom: 0; } .nb-e p { margin: 4px 0 0; white-space: normal; } .nb-t { white-space: normal; display: inline-block; max-width: 520px; }
/* the manager's desk */
a.dk-row { display: flex; align-items: center; gap: 8px; padding: 7px 10px; margin-bottom: 5px; border-radius: 4px; background: #252a2e; border-left: 3px solid var(--head); color: #e6e9ee; font-size: 13.5px; } a.dk-row:hover { text-decoration: none; background: #2d3338; }
a.dk-row.bad { border-left-color: var(--bad); } a.dk-row.warn { border-left-color: var(--warn); } a.dk-row i { font-style: normal; color: var(--muted); font-size: 12.5px; } a.dk-row::after { content: '›'; color: var(--muted); font-weight: 800; }
a.dk-mail { display: block; padding: 6px 2px; border-bottom: 1px solid rgba(255, 255, 255, .07); color: #c9ced6; } a.dk-mail:hover { text-decoration: none; color: #fff; } a.dk-mail b { display: block; font-weight: 600; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } a.dk-mail.unread b { font-weight: 900; color: #fff; }
a.dk-mail i { display: block; font-style: normal; font-size: 12px; color: var(--muted); } .dk-note { margin: 2px 0 0; font-size: 13.5px; } .srow.tb2 { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 4px 2px; }
/* the league's reports */
.nd { display: inline-block; min-width: 26px; padding: 0 5px; border-radius: 3px; font-weight: 700; } .nd.up { background: color-mix(in srgb, var(--good) 26%, transparent); color: #d9f7e3; } .nd.dn { background: color-mix(in srgb, var(--bad) 30%, transparent); color: #ffe1e1; }
.nd i { font-style: normal; font-size: 10.5px; font-weight: 800; margin-left: 4px; color: #ffd872; }
.rec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 28px; } .rec-b .grp { margin-top: 6px; } .kv .v a b { font-weight: 800; }
/* milestone watch, predictions, a player's honours, league rules */
.ms-row { display: flex; align-items: center; gap: 10px; padding: 5px 2px; border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: 13.5px; } .ms-row:last-child { border-bottom: 0; } .ms-row .nm { flex: 0 0 50%; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ms-row .grow { color: var(--muted); } .ms-row .grow.good { color: var(--good); } .ms-row .grow.bad { color: var(--bad); } .ms-row b { min-width: 24px; text-align: right; } .ms-row.me { background: color-mix(in srgb, var(--accent) 10%, transparent); }
.fc-bar { position: relative; height: 10px; min-width: 150px; background: #15181b; border-radius: 5px; overflow: hidden; } .fc-bar i, .fc-bar u, .fc-bar s { position: absolute; top: 0; bottom: 0; } .fc-bar i { left: 0; background: var(--accent); } .fc-bar u { background: color-mix(in srgb, var(--accent) 38%, transparent); } .fc-bar s { top: 4px; bottom: 4px; background: #fff; opacity: .75; border-radius: 1px; }
a.fc-fx { display: grid; grid-template-columns: 62px minmax(0, 1fr) 62px 44px; align-items: center; gap: 8px; padding: 6px 2px; border-bottom: 1px solid rgba(255, 255, 255, .06); color: #e6e9ee; font-size: 13px; } a.fc-fx:hover { text-decoration: none; background: rgba(255, 255, 255, .04); } a.fc-fx.me { background: color-mix(in srgb, var(--accent) 10%, transparent); }
.fc-fx .nm { display: flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 800; } .fc-fx .nm.r { justify-content: flex-end; } .fc-fx > b { text-align: right; font-size: 12px; color: var(--muted); }
.fc-odds { display: flex; height: 18px; border-radius: 4px; overflow: hidden; font-size: 10.5px; font-weight: 800; } .fc-odds i, .fc-odds u, .fc-odds s { display: flex; align-items: center; justify-content: center; font-style: normal; text-decoration: none; min-width: 0; overflow: hidden; } .fc-odds i { background: #2f7d4f; color: #fff; } .fc-odds u { background: #555b63; color: #fff; } .fc-odds s { background: #9a4a2f; color: #fff; }
.fc-key { display: flex; justify-content: center; gap: 14px; font-size: 10.5px; font-weight: 800; letter-spacing: 1px; margin-bottom: 4px; } .fc-key span:nth-child(1) { color: #58c98a; } .fc-key span:nth-child(2) { color: #aab0b8; } .fc-key span:nth-child(3) { color: #e08a66; }
.hn-row { display: flex; gap: 8px; align-items: baseline; padding: 4px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: 13.5px; } .hn-row.gold > span:first-child { color: #ffd872; } .hn-row.gold .grow { font-weight: 700; }
.rl { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 10px; padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: 13.5px; } .rl:last-child { border-bottom: 0; } .rl b { font-weight: 700; } .rl span { color: #cfd4dc; }
/* the play-offs */
.po-heads { display: flex; gap: 26px; margin-bottom: 4px; } .po-heads h4 { flex: 1; min-width: 232px; } .po-seed { flex: none; width: 18px; font-size: 11px; font-weight: 800; color: var(--muted); text-align: center; } .bk-team .po-seed + a.cl { flex: 1; min-width: 0; }
