/* ---------------------------------------------------------- career mode (built on franchise.css) */
#career { position: fixed; inset: 0; z-index: 30; display: flex; flex-direction: column; color: var(--text); background: rgba(6, 8, 12, 0.95); overflow: hidden; user-select: none; }
#career input, #career select { user-select: text; }
#career.ca-landing, #career.ca-createpage, #career.ca-combinepage, #career.ca-draftpage, #career.ca-hofpage { overflow-y: auto; }
.ca-top .ca-num { font: 700 30px/1 var(--head); color: color-mix(in srgb, var(--ts, #fff) 70%, #fff); min-width: 34px; text-align: center; }
.ca-lvl i { display: block; width: 86px; height: 6px; border-radius: 3px; background: var(--fill2); overflow: hidden; margin-top: 4px; }
.ca-lvl u { display: block; height: 100%; background: var(--gold); text-decoration: none; }
.ca-sp b { color: var(--gold); }
.ca-bar { height: 6px; border-radius: 3px; background: var(--fill2); overflow: hidden; }
.ca-bar i { display: block; height: 100%; background: linear-gradient(90deg, #36c2ff, #3ddc84); border-radius: 3px; }
.ca-sm, .ca-sec { display: block; margin: 16px 0 8px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.18em; color: var(--faint); }
.ca-ch { text-align: center; margin: 8px 0 20px; }
.ca-ch small { font-size: 11px; font-weight: 700; letter-spacing: 0.24em; color: var(--accent); }
.ca-ch h2 { font: 700 40px/1.05 var(--head); letter-spacing: 0.01em; margin: 6px 0 6px; text-transform: uppercase; }
.ca-ch .fr-note { max-width: 640px; margin: 0 auto; }
.ca-cfoot { display: flex; align-items: center; gap: 14px; justify-content: space-between; margin-top: 18px; position: sticky; bottom: 0; padding: 14px 0 6px; background: linear-gradient(0deg, rgba(6, 8, 12, 0.98) 60%, transparent); }
.ca-cprev { text-align: center; line-height: 1.3; }
.ca-cprev b { display: block; font-size: 18px; }
.ca-cprev span { font-size: 12.5px; color: var(--muted); }

/* the slots */
.ca-land { max-width: 1060px; margin: 0 auto; padding: 34px 24px 40px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.ca-hero { text-align: center; }
.ca-hero small { font-size: 11px; font-weight: 700; letter-spacing: 0.3em; color: var(--accent); }
.ca-hero h1 { font: 700 72px/0.95 var(--head); margin: 8px 0 10px; letter-spacing: 0.01em; }
.ca-hero h1 span { color: var(--gold); }
.ca-hero p { max-width: 640px; margin: 0 auto; color: var(--muted); line-height: 1.55; font-size: 15px; }
.ca-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; width: 100%; }
.ca-slot { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 18px; background: linear-gradient(160deg, color-mix(in srgb, var(--tc, #334) 30%, transparent), rgba(255, 255, 255, 0.03) 60%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); min-height: 172px; }
.ca-slot small { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; color: var(--faint); }
.ca-slot.empty { align-items: flex-start; justify-content: space-between; background: rgba(255, 255, 255, 0.025); }
.ca-slot.empty b { font-size: 20px; color: var(--muted); }
.ca-slot-id { display: flex; gap: 12px; align-items: center; }
.ca-slot-id b { display: block; font-size: 19px; font-weight: 800; }
.ca-slot-id span { font-size: 12.5px; color: var(--muted); }
.ca-slot-meta { font-size: 12.5px; color: var(--muted); flex: 1; }
.ca-landnote { text-align: center; }

/* create */
.ca-create { max-width: 1180px; margin: 0 auto; padding: 18px 24px 0; }
.ca-cgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ca-pick { display: grid; gap: 8px; }
.ca-pick.pos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ca-pick.arch, .ca-pick.start { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ca-pick button { text-align: left; padding: 11px 12px; border-radius: 12px; border: 0; background: var(--fill); color: #fff; cursor: pointer; font: inherit; display: flex; flex-direction: column; gap: 3px; transition: background 0.12s, box-shadow 0.12s; }
.ca-pick button:hover { background: var(--fill2); }
.ca-pick button.on { background: rgba(255, 210, 63, 0.12); box-shadow: inset 0 0 0 2px var(--gold); }
.ca-pick b { font-weight: 800; font-size: 14px; }
.ca-pick.pos b { font: 700 24px/1 var(--head); }
.ca-pick span { font-size: 11.5px; color: var(--muted); line-height: 1.35; }
.ca-pick small { font-size: 10.5px; color: var(--gold); font-weight: 600; }
.ca-shift { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ca-shift span { font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 7px; background: var(--fill); }
.ca-shift .up { color: var(--good); }
.ca-shift .down { color: var(--bad); }
.ca-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.ca-form label { display: flex; flex-direction: column; gap: 5px; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; }
.ca-form label b { color: #fff; letter-spacing: 0; text-transform: none; }
.ca-form label.wide { grid-column: 1 / -1; }
.ca-form input:not([type=range]), .ca-form select { font: 500 14px/1 var(--font); color: #fff; background: var(--fill2); border: 0; border-radius: 10px; padding: 10px 12px; outline: none; }
.ca-form select option { background: #111419; }
.ca-form input:focus, .ca-form select:focus { box-shadow: 0 0 0 2px var(--gold); }
.ca-skins { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.ca-skins button { width: 32px; height: 32px; border-radius: 50%; border: 0; cursor: pointer; box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.25); }
.ca-skins button.on { box-shadow: 0 0 0 2px #0a0c10, 0 0 0 4px var(--gold); }

/* combine and draft */
.ca-combine, .ca-draft { max-width: 980px; margin: 0 auto; padding: 18px 24px 30px; }
.ca-ds { display: flex; justify-content: center; gap: 40px; margin-bottom: 18px; }
.ca-ds div { text-align: center; }
.ca-ds small { font-size: 10.5px; font-weight: 700; letter-spacing: 0.2em; color: var(--faint); }
.ca-ds b { display: block; font: 700 46px/1 var(--head); color: var(--gold); }
.ca-ds div + div b { font-size: 30px; color: #fff; line-height: 1.5; }
.ca-drills { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.ca-drill.done { background: rgba(52, 211, 153, 0.05); }
.ca-drill-r b { display: block; font: 700 34px/1 var(--head); }
.ca-drill-r span { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; color: var(--muted); }
.ca-drill-r span.good { color: var(--good); }
.ca-drill-r span.bad { color: var(--bad); }
.ca-board { display: flex; flex-direction: column; gap: 4px; max-height: 52vh; overflow: hidden; margin: 6px auto 16px; max-width: 640px; }
.ca-pickrow { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; background: var(--fill); animation: frPop 0.2s var(--ease); font-size: 13px; }
.ca-pickrow em { font-style: normal; font-weight: 700; color: var(--faint); min-width: 26px; }
.ca-pickrow span { font-weight: 700; min-width: 40px; }
.ca-pickrow b { flex: 1; font-weight: 600; }
.ca-pickrow small { color: var(--faint); }
.ca-pickrow.mine { background: rgba(255, 210, 63, 0.16); box-shadow: inset 0 0 0 2px var(--gold); }
.ca-reveal { text-align: center; padding: 10px 6px 4px; }
.ca-reveal small { font-size: 11px; font-weight: 700; letter-spacing: 0.24em; color: var(--gold); }
.ca-reveal h2 { font-size: 21px; line-height: 1.3; margin: 10px 0 14px; font-weight: 700; }
.ca-reveal-name { font: 700 56px/1 var(--head); margin: 12px 0 6px; color: #fff; text-shadow: 0 0 30px color-mix(in srgb, var(--tc) 70%, transparent); }
.ca-reveal p { color: var(--muted); line-height: 1.5; }

/* the mini-games */
.ca-mgwrap { z-index: 45; }
.ca-mg { width: min(560px, 100%); padding: 22px 24px 24px; text-align: center; }
.ca-mg-head small { font-size: 10.5px; font-weight: 700; letter-spacing: 0.22em; color: var(--accent); }
.ca-mg-head b { display: block; font: 700 34px/1.1 var(--head); margin: 4px 0 12px; }
.ca-mg-intro p { color: var(--muted); line-height: 1.6; margin: 0 0 18px; }
.ca-mg-intro b.g { color: var(--good); }
.ca-mg-done .ca-mg-score { font: 700 84px/1 var(--head); color: var(--gold); }
.ca-mg-done p { color: var(--muted); margin: 6px 0 18px; }
.ca-dash-call { font: 700 52px/1 var(--head); color: var(--muted); margin: 6px 0 16px; }
.ca-dash-call.go { color: var(--good); }
.ca-dash-track { position: relative; height: 34px; border-radius: 17px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 2px, transparent 2px 10%), var(--fill); margin-bottom: 18px; }
.ca-dash-track i { position: absolute; top: 4px; left: 0; width: 26px; height: 26px; margin-left: -13px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 16px var(--gold); transition: left 0.08s linear; }
.ca-dash-track u { position: absolute; top: 0; right: 0; width: 4px; height: 100%; background: #fff; }
.ca-dash-btns, .ca-arrows-pad { display: flex; gap: 12px; justify-content: center; }
.ca-dash-btns .fb { min-width: 110px; font-size: 22px; }
.ca-meter-n, .ca-arrows-n { font-size: 11px; font-weight: 700; letter-spacing: 0.2em; color: var(--faint); margin-bottom: 12px; }
.ca-meter-bar { position: relative; height: 38px; border-radius: 12px; background: var(--fill2); margin: 0 0 18px; overflow: hidden; }
.ca-meter-bar b { position: absolute; top: 0; height: 100%; background: rgba(52, 211, 153, 0.45); box-shadow: inset 0 0 0 2px var(--good); }
.ca-meter-bar i { position: absolute; top: -2px; width: 4px; height: calc(100% + 4px); margin-left: -2px; background: #fff; box-shadow: 0 0 10px #fff; }
.ca-meter-bar i.hit { background: var(--gold); box-shadow: 0 0 14px var(--gold); }
.ca-arrows-big { font-size: 96px; line-height: 1.1; height: 112px; margin-bottom: 14px; transition: color 0.1s; }
.ca-arrows-big.hit { color: var(--good); }
.ca-arrows-big.miss { color: var(--bad); }
.ca-arrows-pad .fb { min-width: 72px; font-size: 22px; }

/* the hub */
.ca-hub { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.ca-week { background: linear-gradient(140deg, color-mix(in srgb, var(--oc, #223) 22%, transparent), rgba(255, 255, 255, 0.03) 55%); }
.ca-opp { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.ca-opp small { font-size: 10.5px; font-weight: 700; letter-spacing: 0.2em; color: var(--faint); }
.ca-opp b { display: block; font-size: 22px; font-weight: 800; }
.ca-opp span { font-size: 12.5px; color: var(--muted); }
.ca-beat { padding: 12px 14px; border-radius: 12px; background: rgba(255, 210, 63, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 210, 63, 0.25); margin-bottom: 12px; }
.ca-beat small, .ca-objs small { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; color: var(--gold); }
.ca-beat b { display: block; font: 700 24px/1.1 var(--head); margin: 3px 0; }
.ca-beat p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.45; }
.ca-objs { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.ca-objs small { color: var(--faint); }
.ca-obj { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--fill); font-size: 13px; }
.ca-obj .who { font-size: 9.5px; font-weight: 800; letter-spacing: 0.14em; color: var(--faint); min-width: 62px; }
.ca-obj b { flex: 1; font-weight: 600; }
.ca-obj em { font-style: normal; font-weight: 700; color: var(--good); font-size: 12px; }
.ca-obj.done .who { color: var(--good); font-size: 14px; }
.ca-obj.miss { opacity: 0.6; }
.ca-report .ca-obj .who { min-width: 16px; }
.ca-obj.miss .who { color: var(--bad); font-size: 14px; }
.ca-hurt { padding: 10px 12px; border-radius: 10px; background: rgba(251, 113, 133, 0.12); color: #fda4af; font-weight: 700; font-size: 12.5px; letter-spacing: 0.06em; margin-bottom: 12px; }
.ca-bye b { font-size: 20px; }
.ca-chap-name { font: 700 30px/1.05 var(--head); color: var(--gold); text-transform: uppercase; margin-bottom: 4px; }
.ca-goals { display: flex; flex-direction: column; gap: 9px; margin: 12px 0; }
.ca-goal { display: grid; grid-template-columns: 18px 1fr auto; gap: 2px 8px; align-items: center; font-size: 13px; }
.ca-goal > span { color: var(--good); font-weight: 800; }
.ca-goal b { font-weight: 600; }
.ca-goal em { font-style: normal; font-weight: 700; color: var(--muted); font-size: 12px; }
.ca-goal .ca-bar { grid-column: 2 / 4; }
.ca-goal.done b { color: var(--good); }
.ca-role { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 10px; border-top: 1px solid var(--line); }
.ca-role span { font-size: 10px; font-weight: 700; letter-spacing: 0.18em; color: var(--faint); }
.ca-role b { font-weight: 800; }
.ca-role em { font-style: normal; font-size: 12px; }
.ca-role em.bad { color: var(--bad); }
.ca-train, .ca-zone { display: flex; align-items: center; gap: 12px; justify-content: space-between; padding: 12px; border-radius: 12px; background: var(--fill); }
.ca-train b, .ca-zone b { display: block; font-weight: 700; }
.ca-train span, .ca-zone span { font-size: 12px; color: var(--muted); }
.ca-train em, .ca-zone em { font-style: normal; color: var(--good); font-weight: 800; font-size: 12px; letter-spacing: 0.1em; }
.ca-train.done { opacity: 0.7; }
.ca-zone { margin-top: 12px; background: rgba(54, 194, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(54, 194, 255, 0.3); }
.ca-acts { display: grid; gap: 8px; }
.ca-act { text-align: left; border: 0; border-radius: 12px; padding: 11px 12px; background: var(--fill); color: #fff; font: inherit; cursor: pointer; display: flex; flex-direction: column; gap: 3px; transition: background 0.12s; }
.ca-act:hover:not(:disabled) { background: var(--fill2); }
.ca-act:disabled { cursor: default; opacity: 0.45; }
.ca-act.on { opacity: 1; box-shadow: inset 0 0 0 2px var(--good); background: rgba(52, 211, 153, 0.08); }
.ca-act b { font-weight: 700; font-size: 13.5px; }
.ca-act span { font-size: 12px; color: var(--muted); }
.ca-act em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--good); }
.ca-news { grid-column: 1 / -1; }
.ca-n { display: flex; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.ca-n small { color: var(--faint); min-width: 64px; }
.ca-n.big span, .ca-n.award span { color: var(--gold); font-weight: 600; }
.ca-n.good span { color: var(--good); }
.ca-n.bad span, .ca-n.injury span { color: var(--bad); }

/* the game's report */
.ca-report { max-width: 1100px; margin: 0 auto; }
.ca-rhead { text-align: center; margin-bottom: 16px; }
.ca-rhead small { font-size: 11px; font-weight: 800; letter-spacing: 0.26em; }
.ca-rhead.w small { color: var(--good); }
.ca-rhead.l small { color: var(--bad); }
.ca-rscore { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 8px; }
.ca-rscore b { font: 700 64px/1 var(--head); }
.ca-rscore span { font-size: 30px; color: var(--faint); }
.ca-rgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.ca-bigg { font: 700 96px/1 var(--head); text-align: center; }
.g-A { color: var(--gold); }
.g-B { color: var(--good); }
.g-C { color: #36c2ff; }
.g-D { color: #fbbf24; }
.g-F { color: var(--bad); }
.ca-rline { text-align: center; font-weight: 600; margin: 6px 0 10px; }
.ca-best { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: var(--muted); }
.ca-notes div { margin-top: 8px; padding: 8px 10px; border-radius: 10px; background: rgba(255, 210, 63, 0.1); color: var(--gold); font-weight: 600; font-size: 12.5px; }
.ca-xp b { display: block; font: 700 34px/1 var(--head); color: var(--gold); }
.ca-xp span { font-size: 12.5px; color: var(--muted); }
.ca-soi { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.ca-soi span { font-size: 11.5px; font-weight: 600; padding: 4px 8px; border-radius: 7px; background: var(--fill); }
.ca-soi .up { color: var(--good); }
.ca-soi .down { color: var(--bad); }
.ca-chapnote { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: var(--fill); font-size: 13px; }
.ca-chapnote.big { background: rgba(255, 210, 63, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 210, 63, 0.35); }
.ca-chapnote small { display: block; font-size: 10px; font-weight: 800; letter-spacing: 0.2em; color: var(--gold); }
.ca-chapnote b { display: block; font: 700 22px/1.1 var(--head); }
.ca-chapnote span { color: var(--muted); }

/* the offseason */
.ca-off { max-width: 980px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.ca-sline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 10px; }
.ca-sline small { font-size: 10px; font-weight: 700; letter-spacing: 0.18em; color: var(--faint); }
.ca-sline b { display: block; font-size: 18px; font-weight: 800; }
.ca-stat { font-weight: 600; }
.ca-awards { display: flex; flex-wrap: wrap; gap: 8px; }
.ca-awards span { padding: 7px 11px; border-radius: 10px; background: rgba(255, 210, 63, 0.1); color: var(--gold); font-weight: 700; font-size: 12.5px; }
.ca-awards small { color: var(--muted); font-weight: 500; }
.ca-offers { display: flex; flex-direction: column; gap: 8px; }
.ca-offer { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--fill); }
.ca-offer > div { flex: 1; }
.ca-offer b { display: block; font-weight: 700; }
.ca-offer span { font-size: 12.5px; color: var(--muted); }
.ca-offer.mine { box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.4); }
.ca-power { display: flex; align-items: center; gap: 12px; justify-content: space-between; padding: 12px; border-radius: 12px; background: var(--fill); margin-bottom: 8px; }
.ca-power b { display: block; font-weight: 700; }
.ca-power span { font-size: 12.5px; color: var(--muted); }
.ca-power.locked { opacity: 0.5; }
.ca-fa { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px; margin: -2px 0 10px; }
.ca-faq { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 0; border-radius: 10px; background: var(--fill2); color: #fff; font: inherit; cursor: pointer; text-align: left; }
.ca-faq b { flex: 1; font-size: 12.5px; }
.ca-faq span { font-size: 11px; color: var(--muted); }
.ca-tradelist { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 6px; max-height: 60vh; overflow: auto; }
.ca-tteam { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border: 0; border-radius: 10px; background: var(--fill); color: #fff; font: inherit; cursor: pointer; text-align: left; }
.ca-tteam:hover { background: var(--fill2); }
.ca-tteam b { flex: 1; font-size: 13px; }
.ca-tteam span { font-size: 11px; color: var(--muted); }

/* the skill tree */
.ca-tree { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 12px 0 16px; }
.ca-branch { display: flex; align-items: stretch; gap: 0; }
.ca-link { flex: 0 0 14px; align-self: center; height: 2px; background: var(--line2); }
.ca-node { flex: 1; min-width: 0; text-align: left; border: 0; border-radius: 12px; padding: 10px 11px; background: var(--fill); color: #fff; font: inherit; display: flex; flex-direction: column; gap: 3px; cursor: default; }
.ca-node small { font-size: 9.5px; font-weight: 800; letter-spacing: 0.16em; color: var(--faint); }
.ca-node b { font-weight: 700; font-size: 13px; }
.ca-node span { font-size: 11px; color: var(--muted); }
.ca-node em { font-style: normal; font-size: 11px; color: #36c2ff; line-height: 1.35; }
.ca-node.owned { background: rgba(52, 211, 153, 0.1); box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.45); }
.ca-node.owned small { color: var(--good); }
.ca-node.buy { cursor: pointer; box-shadow: inset 0 0 0 2px var(--gold); }
.ca-node.buy small { color: var(--gold); }
.ca-node.buy:hover { background: rgba(255, 210, 63, 0.12); }
.ca-node.locked, .ca-node.short { opacity: 0.45; }
.ca-tgrid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 14px; }
.ca-rrow { display: flex; align-items: center; gap: 8px; }
.ca-rrow .rbar { flex: 1; }
.ca-rrow em { font-style: normal; font-size: 11px; color: var(--faint); min-width: 22px; text-align: right; }
.ca-ab { padding: 8px 10px; border-radius: 10px; background: var(--fill); margin-bottom: 6px; }
.ca-ab b { display: block; font-weight: 700; font-size: 13px; }
.ca-ab span { font-size: 11.5px; color: var(--muted); }
.ca-ab.xf { box-shadow: inset 0 0 0 1px rgba(255, 120, 60, 0.5); }
.ca-ab.xf b { color: #ff9a5c; }

/* the Sphere of Influence */
.ca-soig { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.ca-soic.inner { box-shadow: inset 0 0 0 2px var(--gold); }
.ca-soih { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.ca-soih small { font-size: 10px; font-weight: 700; letter-spacing: 0.16em; color: var(--faint); text-transform: uppercase; }
.ca-soih b { display: block; font-size: 16px; font-weight: 800; }
.ca-lvlb { text-align: center; }
.ca-lvlb b { font: 700 32px/1 var(--head); color: var(--gold); }
.ca-lvlb small { display: block; font-size: 9px; }
.ca-soin { font-size: 11.5px; color: var(--muted); margin-top: 6px; }
.ca-unl { margin: 8px 0 0; padding: 0 0 0 16px; font-size: 12px; color: var(--faint); line-height: 1.6; }
.ca-unl li.got { color: var(--good); }

/* league, stats, legacy */
.ca-lgrid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.ca-statspage .fr-card + .fr-card { margin-top: 14px; }
.ca-leg { display: flex; align-items: center; gap: 10px; padding: 7px 4px; border-bottom: 1px solid var(--line); font-size: 13px; }
.ca-leg em { font-style: normal; color: var(--faint); min-width: 18px; font-weight: 700; }
.ca-leg b { flex: 1; font-weight: 600; }
.ca-leg small { color: var(--faint); }
.ca-leg span { font-weight: 800; font-variant-numeric: tabular-nums; }
.ca-leg.me { background: rgba(255, 210, 63, 0.1); border-radius: 8px; }
.ca-leg.me b, .ca-leg.me span { color: var(--gold); }
.ca-goat { display: flex; gap: 20px; align-items: center; }
.ca-goat > b { font: 700 72px/1 var(--head); color: var(--gold); }
.ca-goat > div { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.ca-gb { display: grid; grid-template-columns: 80px 1fr 40px; gap: 8px; align-items: center; font-size: 12px; color: var(--muted); }
.ca-gb b { color: #fff; text-align: right; }
.ca-feat { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.ca-feat span { color: var(--faint); }

/* the Hall of Fame */
.ca-hof { max-width: 1080px; margin: 0 auto; padding: 26px 24px 40px; }
.ca-hof.in .ca-ch h2 { color: var(--gold); text-shadow: 0 0 40px rgba(255, 210, 63, 0.4); }
.ca-verdict { font-size: 18px; font-weight: 600; margin: 4px 0 12px; }
.ca-hteams { display: flex; gap: 10px; justify-content: center; }
.ca-hgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 18px 0; }
.ca-speech p { font-size: 15px; line-height: 1.6; font-style: italic; color: rgba(255, 255, 255, 0.85); margin: 0 0 8px; }

/* ---------------------------------------------------------- in the game: his card and his grades */
.career-hud { position: absolute; left: 16px; top: 72px; width: 270px; padding: 12px 14px; border-radius: 14px; background: rgba(12, 14, 19, 0.82); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07), 0 16px 40px rgba(0, 0, 0, 0.4); font-size: 12px; }
.career-hud .ch-call { margin: -2px 0 8px; padding: 6px 10px; border-radius: 9px; background: rgba(255, 210, 63, 0.1); }
.career-hud .ch-call small { display: block; font-size: 9px; font-weight: 800; letter-spacing: 0.18em; color: var(--gold); }
.career-hud .ch-call b { font-size: 14px; font-weight: 700; }
.ch-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ch-id b { display: block; font-size: 14px; font-weight: 800; }
.ch-id small { color: var(--muted); font-size: 11px; }
.ch-id em { font-style: normal; color: #36c2ff; font-weight: 700; }
.ch-grade { text-align: center; min-width: 46px; }
.ch-grade b { display: block; font: 700 30px/1 var(--head); }
.ch-grade small { font-size: 8.5px; font-weight: 700; letter-spacing: 0.16em; color: var(--faint); }
.ch-grade.g-A b { color: var(--gold); }
.ch-grade.g-B b { color: var(--good); }
.ch-grade.g-C b { color: #36c2ff; }
.ch-grade.g-D b { color: #fbbf24; }
.ch-grade.g-F b { color: var(--bad); }
.ch-heat { display: flex; align-items: center; gap: 4px; margin: 8px 0 8px; flex-wrap: wrap; }
.ch-heat i { width: 22px; height: 6px; border-radius: 3px; background: var(--fill2); }
.ch-heat i.on { background: linear-gradient(90deg, #ff7a2f, #ffd23f); box-shadow: 0 0 8px rgba(255, 122, 47, 0.6); }
.ch-heat i.ice { background: linear-gradient(90deg, #5bc8ff, #a5e6ff); }
.ch-tag { font-size: 9.5px; font-weight: 800; letter-spacing: 0.16em; padding: 2px 6px; border-radius: 5px; }
.ch-tag.hot { background: #ff7a2f; color: #1a0a00; }
.ch-tag.cold { background: #5bc8ff; color: #001a26; }
.ch-xf { flex-basis: 100%; font-size: 10.5px; color: var(--faint); }
.ch-xf.on { color: #ff9a5c; font-weight: 700; }
.ch-obj { display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--line); padding-top: 8px; }
.ch-o { display: grid; grid-template-columns: 14px 1fr auto; gap: 6px; align-items: baseline; line-height: 1.3; }
.ch-o i { font-style: normal; font-weight: 800; }
.ch-o em { font-style: normal; color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.ch-o.done { color: var(--good); }
.ch-o.failed { color: var(--bad); opacity: 0.8; }
.ch-o.track i { color: var(--good); }
.career-pop { position: absolute; left: 304px; top: 30%; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; opacity: 0; transform: translateX(14px); transition: opacity 0.25s, transform 0.3s var(--ease); text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85); }
.career-pop.show { opacity: 1; transform: none; }
.career-pop b { font: 700 64px/1 var(--head); }
.career-pop span { font-size: 15px; font-weight: 700; }
.career-pop em { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: 0.2em; padding: 3px 8px; border-radius: 6px; margin-top: 4px; }
.career-pop em.hot { background: #ff7a2f; color: #1a0a00; }
.career-pop em.cold { background: #5bc8ff; color: #001a26; }
.career-pop em.out { background: var(--fill2); color: #fff; }
.career-pop.g-A b { color: var(--gold); }
.career-pop.g-B b { color: var(--good); }
.career-pop.g-C b { color: #36c2ff; }
.career-pop.g-D b { color: #fbbf24; }
.career-pop.g-F b { color: var(--bad); }

@media (max-width: 900px) {
  .ca-slots, .ca-cgrid, .ca-hub, .ca-rgrid, .ca-tree, .ca-tgrid, .ca-lgrid, .ca-hgrid { grid-template-columns: minmax(0, 1fr); }
  .ca-pick.pos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ca-hero h1 { font-size: 52px; }
  .career-hud { width: 220px; top: 64px; left: 10px; font-size: 11px; }
  .career-pop { left: 244px; }
  .ca-sline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------------------------------------------------------- my playbook (the play editor) */
#playbook { position: fixed; inset: 0; z-index: 30; color: var(--text); background: rgba(6, 8, 12, 0.96); overflow-y: auto; user-select: none; }
#playbook input, #playbook select { user-select: text; }
.pb { max-width: 1180px; margin: 0 auto; padding: 24px 24px 40px; display: flex; flex-direction: column; gap: 16px; }
.pb-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.pb-head small { font-size: 11px; font-weight: 700; letter-spacing: 0.24em; color: var(--accent); }
.pb-head h2 { font: 700 38px/1.05 var(--head); margin: 4px 0; text-transform: uppercase; }
.pb-sp { flex: 1; }
.pb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.pb-card { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: 14px; background: var(--fill); }
.pb-card canvas { width: 100%; aspect-ratio: 8 / 5; border-radius: 9px; }
.pb-card b { font-weight: 700; }
.pb-card span { font-size: 11.5px; color: var(--muted); }
.pb-ed { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.pb-art { position: sticky; top: 12px; }
.pb-art canvas { width: 100%; aspect-ratio: 8 / 5; border-radius: 14px; box-shadow: 0 0 0 1px var(--line2); }
.pb-cat { margin-top: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: var(--gold); }
.pb-cat .bad, .pb-err { color: var(--bad); }
.pb-form { display: flex; flex-direction: column; gap: 9px; }
.pb-f { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 10px; }
.pb-f label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; color: var(--muted); }
.pb-f label small { color: var(--faint); font-weight: 500; }
.pb-f input, .pb-f select { font: 500 13.5px/1 var(--font); color: #fff; background: var(--fill2); border: 0; border-radius: 9px; padding: 9px 10px; outline: none; }
.pb-f select option { background: #111419; }
@media (max-width: 860px) { .pb-ed { grid-template-columns: minmax(0, 1fr); } .pb-art { position: static; } }
.ca-arrows-big small { display: block; font-size: 14px; font-weight: 800; letter-spacing: 0.2em; color: var(--muted); }
.ca-w { font-style: normal; font-size: 10.5px; color: var(--gold); min-width: 54px; text-align: right; }
#playbook canvas.pb-draw { cursor: crosshair; touch-action: none; }
#playbook .pb-tool { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 6px 0; font-size: 12px; opacity: .9; }

/* ---- the career's stage: combine drills and draft night, over the 3D picture ---- */
#stage { position: fixed; inset: 0; z-index: 40; pointer-events: none; color: #fff; font-family: var(--body, system-ui, sans-serif); }
#stage.hidden { display: none; }
#stage button { pointer-events: auto; }
#stage .st-top { position: absolute; top: 18px; left: 22px; text-shadow: 0 2px 8px rgba(0,0,0,.7); }
#stage .st-top small { display: block; font-size: 11px; letter-spacing: .2em; font-weight: 700; color: #ffd21a; }
#stage .st-top b { font: 700 30px/1.1 var(--head, sans-serif); }
#stage .st-stat { position: absolute; top: 18px; right: 22px; text-align: right; background: rgba(8,10,16,.62); padding: 8px 14px; border-radius: 8px; min-width: 96px; }
#stage .st-stat:empty { display: none; }
#stage .st-stat small { display: block; font-size: 10px; letter-spacing: .16em; color: #aab3c2; font-weight: 700; }
#stage .st-stat b { font: 700 34px/1.05 var(--head, sans-serif); font-variant-numeric: tabular-nums; }
#stage .st-call { position: absolute; top: 30%; left: 0; right: 0; text-align: center; font: 800 54px/1 var(--head, sans-serif); letter-spacing: .04em; text-shadow: 0 3px 16px rgba(0,0,0,.8); }
#stage .st-call.go { color: #4ade80; }
#stage .st-call.bad { color: #ff5a4f; }
#stage .st-call.rep { font-size: 80px; color: #ffd21a; }
#stage .st-call.move { color: #ffd21a; font-size: 46px; }
#stage .st-call.cap { top: auto; bottom: 16%; font-size: 30px; font-weight: 700; padding: 0 24px; }
#stage .st-call.cap.big { font-size: 38px; }
#stage .st-call.cap.name { font-size: 64px; color: #ffd21a; }
#stage .st-meter { position: absolute; left: 50%; bottom: 17%; width: min(420px, 70vw); height: 16px; transform: translateX(-50%); background: rgba(8,10,16,.7); border: 2px solid rgba(255,255,255,.5); border-radius: 9px; overflow: hidden; }
#stage .st-meter.hidden { display: none; }
#stage .st-meter i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, #3b82f6, #60a5fa); }
#stage .st-meter b { position: absolute; top: 0; bottom: 0; background: rgba(255,210,26,.85); mix-blend-mode: screen; }
#stage .st-hint { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; font-size: 14px; text-shadow: 0 1px 6px rgba(0,0,0,.9); padding: 0 140px; }
#stage .st-hint:empty { display: none; }
#stage kbd { display: inline-block; min-width: 20px; padding: 1px 6px; margin: 0 2px; border-radius: 4px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); font: 700 12px/1.4 var(--body, sans-serif); }
#stage .st-btns { position: absolute; left: 0; right: 0; bottom: 58px; display: none; justify-content: center; gap: 12px; }

body.touch-ui #stage .st-btns { display: flex; }
body.touch-ui #stage .st-btns button { min-width: 90px; min-height: 64px; }
#stage .st-quit { position: absolute; left: 22px; bottom: 18px; }
#stage .st-done { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: rgba(10,13,20,.92); border: 1px solid rgba(255,255,255,.15); border-radius: 14px; padding: 26px 40px; text-align: center; pointer-events: auto; min-width: 300px; }
#stage .st-done small { font-size: 11px; letter-spacing: .2em; color: #ffd21a; font-weight: 700; }
#stage .st-done > b { display: block; font: 800 64px/1.1 var(--head, sans-serif); margin: 6px 0; }
#stage .st-done p { color: #c7cfdb; margin: 6px 0 16px; }
#stage .st-draft { top: auto; bottom: 6%; transform: translateX(-50%); border-top: 4px solid var(--tc); max-width: 560px; }
#stage .st-draft h2 { font: 800 40px/1.1 var(--head, sans-serif); margin: 6px 0; }
#stage .st-flash { position: absolute; width: 90px; height: 90px; margin: -45px; border-radius: 50%; background: radial-gradient(circle, #fff 0, rgba(255,255,255,.7) 25%, rgba(255,255,255,0) 70%); opacity: 0; }
#stage .st-flash.on { animation: st-pop .18s ease-out; }
@keyframes st-pop { 0% { opacity: 1; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.4); } }
#stage .st-third { position: absolute; left: 5%; bottom: 9%; display: flex; align-items: stretch; background: rgba(8,10,16,.88); border-left: 6px solid var(--ts); box-shadow: 0 6px 30px rgba(0,0,0,.5); animation: st-slide .5s ease-out; }
#stage .st-third.hidden { display: none; }
#stage .st-third > i { display: flex; align-items: center; justify-content: center; padding: 0 18px; background: var(--tc); font: 900 30px/1 var(--head, sans-serif); font-style: normal; }
#stage .st-third > div { padding: 10px 22px; }
#stage .st-third small { display: block; font-size: 11px; letter-spacing: .18em; color: #ffd21a; font-weight: 700; }
#stage .st-third b { display: block; font: 800 34px/1.1 var(--head, sans-serif); }
#stage .st-third span { font-size: 14px; color: #c7cfdb; }
@keyframes st-slide { from { transform: translateX(-40px); opacity: 0; } to { transform: none; opacity: 1; } }
/* his contract: the in-season line and the offseason card */
.ca-offer span b.ca-up, .ca-offer span b.ca-down { display: inline; font: inherit; font-weight: 700; }
.ca-offer b.ca-up { color: var(--good); }
.ca-offer b.ca-down { color: var(--bad); }
.ca-mydeal .ca-sline em { display: block; font-style: normal; font-size: 11px; color: var(--muted); }

tr.ca-click { cursor: pointer; }
tr.ca-click:hover td { background: rgba(255, 255, 255, 0.05); }

/* rosters: any team's players */
.ca-rbanner { position: relative; display: flex; align-items: center; gap: 22px; padding: 22px 26px; border-radius: 16px; overflow: hidden;
  background: linear-gradient(115deg, color-mix(in srgb, var(--tc) 55%, #0b0d12) 0%, color-mix(in srgb, var(--tc) 22%, #0b0d12) 45%, #0d1016 100%);
  border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: inset 0 -3px 0 var(--ts); }
.ca-rbanner::after { content: ''; position: absolute; right: -60px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, 0.06), transparent 65%); pointer-events: none; }
.ca-rlogo .lg { width: 96px; height: 96px; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.45)); }
.ca-rname { flex: 1; min-width: 180px; }
.ca-rname small { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; color: rgba(255, 255, 255, 0.65); }
.ca-rname b { display: block; font: 800 34px/1.05 var(--head); margin: 4px 0 6px; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4); }
.ca-rname span { font-size: 13px; color: rgba(255, 255, 255, 0.75); }
.ca-rtiles { display: flex; gap: 10px; }
.ca-rtile { width: 104px; padding: 12px 10px 10px; border-radius: 12px; text-align: center; background: rgba(6, 8, 12, 0.55); border: 1px solid rgba(255, 255, 255, 0.1); backdrop-filter: blur(4px); }
.ca-rtile small { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.16em; color: var(--muted); }
.ca-rtile b { display: block; font: 800 36px/1.1 var(--head); margin: 4px 0 2px; font-variant-numeric: tabular-nums; color: #cfd6e3; }
.ca-rtile.o90 b { color: #ffd23f; }
.ca-rtile.o80 b { color: #34d399; }
.ca-rtile.o70 b { color: #7cc4ff; }
.ca-rtile em { font-style: normal; font-size: 11px; color: var(--faint); }
.ca-rbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 14px 0 10px; }
.ca-rnav { display: flex; align-items: center; gap: 8px; }
.ca-rsel { position: relative; }
.ca-rsel::after { content: '▾'; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; font-size: 12px; }
.ca-rsel select { appearance: none; -webkit-appearance: none; min-width: 240px; font: 600 14px/1 var(--font); color: #fff; background: var(--fill2, rgba(255, 255, 255, 0.08)); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 10px; padding: 10px 34px 10px 14px; outline: none; cursor: pointer; }
.ca-rsel select:focus { box-shadow: 0 0 0 2px var(--gold); }
.ca-rsel select option { background: #111419; color: #fff; }
.ca-rgroups { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--fill, rgba(255, 255, 255, 0.05)); }
.ca-rgroups button { font: 700 11px/1 var(--font); letter-spacing: 0.1em; color: var(--muted); background: none; border: 0; border-radius: 999px; padding: 9px 14px; cursor: pointer; }
.ca-rgroups button.on { background: #fff; color: #111; }
.ca-rgroups button:not(.on):hover { color: #fff; }
.ca-rlist { padding: 6px 8px; }
.ca-rtable tr.me td { background: rgba(255, 210, 63, 0.1); }
.ca-rtable tr.me b { color: var(--gold); }
.ca-rtable tr:not(.st) td { color: rgba(255, 255, 255, 0.78); }
.ca-pos { display: inline-block; min-width: 36px; padding: 4px 6px; border-radius: 6px; background: var(--fill2, rgba(255, 255, 255, 0.08)); font-size: 10.5px; font-weight: 700; text-align: center; letter-spacing: 0.04em; }
.ca-you, .ca-st, .ca-inj { font-size: 9.5px; font-weight: 800; letter-spacing: 0.1em; padding: 2px 6px; border-radius: 4px; margin-left: 6px; vertical-align: 1px; }
.ca-you { background: var(--gold); color: #111; }
.ca-st { background: rgba(255, 255, 255, 0.1); color: var(--muted); }
.ca-inj { background: rgba(255, 90, 79, 0.18); color: #ff8a80; }
.ca-rks { white-space: nowrap; }
.ca-rk { display: inline-block; margin-right: 12px; font-variant-numeric: tabular-nums; font-weight: 700; }
.ca-rk small { color: var(--faint); font-size: 9.5px; margin-right: 4px; font-weight: 700; letter-spacing: 0.06em; }
@media (max-width: 760px) {
  .ca-rbanner { flex-wrap: wrap; padding: 18px; }
  .ca-rlogo .lg { width: 64px; height: 64px; }
  .ca-rname b { font-size: 26px; }
  .ca-rtiles { width: 100%; }
  .ca-rtile { flex: 1; width: auto; }
}

/* ---------------------------------------------------------- career: life off the field */
.ca-top .fr-nav button { padding: 10px 11px; }
.ca-life .cl-alert { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; border: 0; cursor: pointer; font: inherit; color: #fff; padding: 11px 12px; border-radius: 12px; margin-bottom: 8px; background: rgba(255, 210, 63, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 210, 63, 0.35); }
.ca-life .cl-alert:hover { background: rgba(255, 210, 63, 0.16); }
.cl-alert b { font-weight: 700; white-space: nowrap; }
.cl-alert span { flex: 1; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl-alert em { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; color: var(--gold); }
.cl-left { font-size: 10.5px; font-weight: 700; color: var(--gold); margin-left: 6px; }
.cl-phone { padding: 12px; border-radius: 14px; background: linear-gradient(160deg, rgba(54, 194, 255, 0.1), rgba(255, 255, 255, 0.03)); box-shadow: inset 0 0 0 1px rgba(54, 194, 255, 0.25); margin-bottom: 10px; }
.cl-phone.done { opacity: 0.8; background: var(--fill); box-shadow: none; }
.cl-ph-h { display: flex; align-items: center; gap: 10px; }
.cl-ph-h > span { font-size: 22px; }
.cl-ph-h small { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.16em; color: #7dd3fc; text-transform: uppercase; }
.cl-ph-h b { font-size: 15px; font-weight: 800; }
.cl-phone p { margin: 8px 0 10px; font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, 0.86); }
.cl-opts { display: grid; gap: 6px; }
.cl-opt { text-align: left; border: 0; border-radius: 10px; padding: 9px 11px; background: rgba(255, 255, 255, 0.07); color: #fff; font: inherit; cursor: pointer; display: flex; flex-direction: column; gap: 2px; transition: background 0.12s; }
.cl-opt:hover { background: rgba(255, 255, 255, 0.14); }
.cl-opt b { font-size: 13px; font-weight: 700; }
.cl-opt em { font-style: normal; font-size: 11.5px; color: var(--muted); }
.cl-opt .risk { font-style: normal; color: #fbbf24; font-weight: 700; }
.cl-res { display: flex; flex-direction: column; gap: 3px; font-size: 12.5px; }
.cl-res span { color: var(--muted); }
.cl-res span:first-of-type { color: rgba(255, 255, 255, 0.85); }
.cl-qoffer { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; background: rgba(167, 139, 250, 0.1); box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.3); margin-bottom: 8px; }
.cl-qoffer > div:first-child { flex: 1; min-width: 0; }
.cl-qoffer small { display: block; font-size: 9.5px; font-weight: 800; letter-spacing: 0.16em; color: #c4b5fd; }
.cl-qoffer b { display: block; font-weight: 800; }
.cl-qoffer span { font-size: 12px; color: var(--muted); }
.cl-rep { margin-top: 12px; }
.cl-rl { display: flex; align-items: baseline; gap: 10px; padding: 5px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.cl-rl span { flex: 1; color: rgba(255, 255, 255, 0.82); }
.cl-rl small { color: var(--faint); min-width: 62px; font-size: 11px; }
.cl-rl b { font-variant-numeric: tabular-nums; font-weight: 700; }
.cl-rl b.neg { color: var(--bad); }
.cl-rl b.pos { color: var(--good); }
.cl-rl.tot { border-bottom: 0; padding: 8px 0; }
.cl-rl.tot span { font-weight: 700; color: #fff; }
.cl-note { font-size: 12.5px; padding: 6px 10px; margin-top: 6px; border-radius: 8px; background: var(--fill); color: rgba(255, 255, 255, 0.88); }
.cl-page { max-width: 1180px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.cl-page .fr-seg .dot { display: inline-block; min-width: 16px; height: 16px; padding: 0 4px; margin-left: 5px; border-radius: 8px; background: var(--bad); color: #fff; font-size: 10px; line-height: 16px; }
.cl-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.4fr); gap: 10px; }
.cl-strip > div { padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.035); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); min-width: 0; }
.cl-strip small { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.16em; color: var(--faint); }
.cl-strip b { display: block; font: 700 24px/1.15 var(--head); }
.cl-strip b.neg { color: var(--bad); }
.cl-strip em { font-style: normal; font-size: 11px; color: var(--muted); }
.cl-heat { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.cl-heatbar { position: relative; flex: 1; height: 8px; border-radius: 4px; background: var(--fill2); overflow: visible; }
.cl-heatbar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #3ddc84, #fbbf24 55%, #fb7185); }
.cl-heatbar u { position: absolute; top: -3px; bottom: -3px; width: 2px; background: rgba(255, 255, 255, 0.5); text-decoration: none; }
.cl-heat b { font: 700 13px/1 var(--font) !important; white-space: nowrap; color: var(--good); }
.cl-heat.warm b { color: #fbbf24; }
.cl-heat.hot b { color: var(--bad); }
.cl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.cl-wide { grid-column: 1 / -1; }
.cl-own { padding: 9px 0; border-bottom: 1px solid var(--line); }
.cl-own small { display: block; font-size: 9.5px; font-weight: 800; letter-spacing: 0.16em; color: var(--faint); }
.cl-own b { display: block; font-weight: 700; }
.cl-own span { font-size: 12px; color: var(--muted); }
.cl-own em { display: block; font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--good); margin-top: 2px; }
.cl-mini { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.cl-mini span { color: var(--muted); font-size: 12px; }
.cl-trophies { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.cl-trophies > div { display: flex; flex-direction: column; gap: 2px; padding: 10px; border-radius: 12px; background: rgba(255, 210, 63, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 210, 63, 0.2); }
.cl-trophies span { font-size: 18px; }
.cl-trophies b { font-size: 12.5px; font-weight: 700; line-height: 1.3; }
.cl-trophies small { font-size: 11px; color: var(--faint); }
.cl-deals { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 12px; }
.cl-deal.offer, .cl-quest.offer { box-shadow: inset 0 0 0 1px rgba(255, 210, 63, 0.4); }
.cl-dh { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.cl-dh small { display: block; font-size: 9.5px; font-weight: 800; letter-spacing: 0.16em; color: var(--faint); }
.cl-dh b { display: block; font-size: 17px; font-weight: 800; line-height: 1.2; }
.cl-pay { text-align: right; }
.cl-pay b { font: 700 24px/1 var(--head); color: var(--good); }
.cl-dl { font-style: normal; font-size: 11px; color: #fbbf24; white-space: nowrap; }
.cl-terms { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.cl-terms span { font-size: 11px; font-weight: 600; padding: 4px 8px; border-radius: 7px; background: var(--fill); }
.cl-terms .gold { color: var(--gold); }
.cl-terms .warn { color: #fbbf24; }
.cl-perk { font-size: 12.5px; color: rgba(255, 255, 255, 0.85); margin: 6px 0 10px; }
.cl-perk small { font-size: 9.5px; font-weight: 800; letter-spacing: 0.16em; color: var(--good); margin-right: 6px; }
.cl-prog { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.cl-prog .ca-bar { grid-column: 1 / -1; }
.cl-prog .ca-bar.low i { background: linear-gradient(90deg, #fb7185, #fbbf24); }
.cl-exp { font-size: 11.5px; margin-right: auto; }
.fr-note.bad { color: var(--bad); }
.cl-dirs { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 6px; }
.cl-dir { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: var(--fill); }
.cl-dir > div { flex: 1; min-width: 0; }
.cl-dir b { display: block; font-size: 13px; font-weight: 700; }
.cl-dir span { font-size: 11.5px; color: var(--muted); }
.cl-dir em { font-style: normal; font-size: 9.5px; font-weight: 800; letter-spacing: 0.12em; color: var(--faint); white-space: nowrap; }
.cl-dir.on em { color: var(--good); }
.cl-dir.off em { color: var(--gold); }
.cl-dir.ready em { color: #7dd3fc; }
.cl-dir.lock { opacity: 0.6; }
.cl-steps { display: flex; flex-direction: column; gap: 6px; margin: 10px 0; }
.cl-step { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; border-radius: 10px; background: var(--fill); opacity: 0.55; }
.cl-step.now { opacity: 1; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15); }
.cl-step.done { opacity: 0.75; }
.cl-step > span { flex: none; width: 22px; height: 22px; border-radius: 11px; background: var(--fill2); display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.cl-step.done > span { background: var(--good); color: #04130c; }
.cl-step > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.cl-step b { font-size: 13px; font-weight: 600; }
.cl-step em { font-style: normal; font-size: 11.5px; color: var(--gold); font-weight: 700; }
.cl-step .fb { align-self: flex-start; }
.cl-how { font-size: 11.5px; }
.cl-shop { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.cl-item { display: flex; flex-direction: column; gap: 5px; padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.035); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.cl-item.own { box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.35); }
.cl-ih { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cl-ih b { font-weight: 800; font-size: 14px; }
.cl-ih .tag { font-style: normal; font-size: 9px; font-weight: 800; letter-spacing: 0.12em; padding: 3px 6px; border-radius: 5px; background: rgba(52, 211, 153, 0.15); color: var(--good); white-space: nowrap; }
.cl-item > span { font-size: 12px; color: var(--muted); line-height: 1.4; flex: 1; }
.cl-item .fx { font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--good); }
.cl-ip { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.cl-ip > b { font: 700 18px/1 var(--head); }
.cl-ip small { flex: 1; font-size: 11px; color: var(--faint); }
.cl-ip .fb { margin-left: auto; }
.cl-big { font: 700 40px/1 var(--head); color: var(--good); margin: 4px 0 8px; }
.cl-year .ca-sline em { display: block; font-style: normal; font-size: 11px; color: var(--muted); }
.cl-notes { margin-bottom: 8px; }
.cl-after { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .cl-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cl-strip .wide { grid-column: 1 / -1; }
  .cl-grid { grid-template-columns: minmax(0, 1fr); }
  .cl-deals { grid-template-columns: minmax(0, 1fr); }
}

/* the life off the field's scenes (lifestage.js) */
#stage .st-life { top: auto; bottom: 6%; transform: translateX(-50%); border-top: 4px solid var(--tc); max-width: 560px; text-align: left; }
#stage .st-life h2 { font: 800 36px/1.1 var(--head, sans-serif); margin: 6px 0 10px; }
#stage .st-life ul { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 4px; }
#stage .st-life li { font-size: 14px; color: #dbe2ec; padding-left: 16px; position: relative; }
#stage .st-life li::before { content: ''; position: absolute; left: 2px; top: 7px; width: 6px; height: 6px; border-radius: 3px; background: var(--tc); }
#stage .st-life .fb { display: block; margin-left: auto; }
#stage .st-clip { position: absolute; right: 6%; top: 14%; width: 190px; height: 338px; border-radius: 22px; background: #0b0c10; border: 3px solid #2a2d34; box-shadow: 0 18px 50px rgba(0,0,0,.6); overflow: hidden; animation: st-slide .4s ease-out; }
#stage .st-clip.hidden { display: none; }
#stage .st-clip-v { position: absolute; inset: 0; background: linear-gradient(160deg, #ff2d6f, #6c2bd9 60%, #10131c); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
#stage .st-clip-v b { font-size: 46px; }
#stage .st-clip-v span { font-weight: 700; font-size: 14px; }
#stage .st-clip-n { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; }
#stage .st-clip-n b { display: block; font: 800 34px/1 var(--head, sans-serif); }
#stage .st-clip-n small { font-size: 11px; letter-spacing: .16em; color: #ffd21a; font-weight: 700; }
@media (max-width: 700px) { #stage .st-clip { width: 130px; height: 230px; top: 10%; } #stage .st-life h2 { font-size: 26px; } }
.cl-page .fr-h .sp { flex: 1; }
.cl-scn { font-size: 10.5px; }
.cl-welcome small { font-size: 10.5px; font-weight: 800; letter-spacing: 0.2em; color: var(--gold); }
.cl-welcome h2 { margin: 4px 0 8px; }
.cl-welcome ul { margin: 12px 0 16px; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: rgba(255, 255, 255, 0.86); }
.cl-welcome .ca-sline { margin-top: 12px; }

/* ---------------------------------------------------------- career: the story (story.js) */
.tl-post { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.tl-post:last-child { border-bottom: 0; }
.tl-post > i { flex: none; width: 34px; height: 34px; border-radius: 17px; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 12px; color: #0a0c10; background: var(--pc); }
.tl-post.him > i, .tl-post.brand > i { box-shadow: 0 0 0 2px rgba(255, 210, 63, 0.35); }
.tl-post > div { flex: 1; min-width: 0; }
.tl-h { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.tl-h b { font-size: 13px; font-weight: 700; }
.tl-h span { font-size: 12px; color: var(--faint); }
.tl-h .tl-v { font-style: normal; font-size: 10px; color: #36c2ff; }
.tl-h small { margin-left: auto; font-size: 9px; font-weight: 800; letter-spacing: 0.14em; color: var(--faint); }
.tl-post p { margin: 3px 0 4px; font-size: 13.5px; line-height: 1.4; color: rgba(255, 255, 255, 0.9); }
.tl-f { display: flex; gap: 14px; font-size: 11px; color: var(--faint); }
.tl-rep { margin-bottom: 16px; }
.tl-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.tl-ms { display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; }
.tl-ms > div { padding: 8px 12px; border-radius: 10px; background: rgba(255, 210, 63, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 210, 63, 0.3); font-size: 13px; }
.tl-page { max-width: 760px; }
.sg-list { display: grid; gap: 6px; margin: 10px 0; }
.sg-opt { display: flex; align-items: center; gap: 10px; text-align: left; border: 0; border-radius: 10px; padding: 9px 11px; background: var(--fill); color: #fff; font: inherit; cursor: pointer; }
.sg-opt:hover { background: var(--fill2); }
.sg-opt.on { box-shadow: inset 0 0 0 2px var(--good); background: rgba(52, 211, 153, 0.08); }
.sg-opt > span { flex: none; width: 20px; height: 20px; border-radius: 6px; background: var(--fill2); display: grid; place-items: center; font-size: 12px; font-weight: 800; color: var(--good); }
.sg-opt > div { flex: 1; min-width: 0; }
.sg-opt b { display: block; font-size: 13.5px; }
.sg-opt em { font-style: normal; font-size: 11.5px; color: var(--muted); }
.sg-t { font-style: normal; font-size: 9px; font-weight: 800; letter-spacing: 0.12em; padding: 3px 6px; border-radius: 5px; background: var(--fill2); color: var(--muted); vertical-align: 2px; }
.sg-t.star { color: #36c2ff; background: rgba(54, 194, 255, 0.12); }
.sg-t.elite { color: var(--gold); background: rgba(255, 210, 63, 0.14); }
.sg-r { grid-column: 2 / -1; font-size: 11px; color: var(--faint); }
.sg-card .ca-goal { grid-template-columns: 18px 1fr auto; }
.cl-note.hit { box-shadow: inset 3px 0 0 var(--good); }
.cl-note.miss { opacity: 0.7; }
.mu { margin: 4px 0 14px; padding: 12px; border-radius: 12px; background: var(--fill); }
.mu > small { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; color: var(--faint); }
.mu-h { display: flex; align-items: center; gap: 10px; margin: 6px 0 8px; }
.mu-h > div { flex: 1; min-width: 0; }
.mu-h > div.r { text-align: right; }
.mu-h b { display: block; font-size: 14px; font-weight: 800; }
.mu-h span { font-size: 11.5px; color: var(--muted); }
.mu-h em { font-style: normal; font-weight: 800; font-size: 11px; color: var(--faint); }
.mu-row { display: grid; grid-template-columns: 82px 26px 1fr 26px 82px; align-items: center; gap: 8px; font-size: 11.5px; color: var(--muted); padding: 2px 0; }
.mu-row span:last-child { text-align: right; }
.mu-row b { font-weight: 800; color: #fff; text-align: center; }
.mu-row b.up { color: var(--good); }
.mu-row b.down { color: var(--bad); }
.mu-row i { position: relative; height: 8px; border-radius: 4px; background: var(--fill2); overflow: hidden; }
.mu-row u { position: absolute; left: 0; top: 0; height: 4px; background: #36c2ff; text-decoration: none; }
.mu-row u.t { top: 4px; background: #ff6a13; }
.mu-v { margin-top: 6px; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.mu-v.up { color: var(--good); }
.mu-v.down { color: var(--bad); }
.inj { margin: 8px 0 12px; padding: 12px; border-radius: 12px; background: rgba(251, 113, 133, 0.08); box-shadow: inset 0 0 0 1px rgba(251, 113, 133, 0.3); }
.inj small { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; color: #fda4af; }
.inj > b { display: block; font-size: 15px; margin-top: 3px; text-transform: capitalize; }
@media (max-width: 700px) { .tl-cols { grid-template-columns: minmax(0, 1fr); } .mu-row { grid-template-columns: 64px 24px 1fr 24px 64px; } }

.rc-row { display: grid; grid-template-columns: 78px 1fr auto; align-items: center; gap: 10px; padding: 8px 10px; margin-bottom: 6px; border-radius: 10px; background: var(--fill); font-size: 13px; }
.rc-row span { font-size: 10px; font-weight: 800; letter-spacing: 0.14em; color: var(--faint); text-transform: uppercase; }
.rc-row b { font-weight: 700; }
.rc-row em { font-style: normal; font-size: 11.5px; color: var(--muted); }
.rc-row.in { box-shadow: inset 3px 0 0 var(--good); }
.rc-row.in b { color: var(--good); }
.rc-row.near { box-shadow: inset 3px 0 0 #fbbf24; }
.rc-row.out { opacity: 0.75; }
.ca-offer.gone { opacity: 0.45; }

.dr-focus { margin-top: 8px; padding: 10px 12px; border-radius: 12px; background: var(--fill); }
.dr-focus small { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.2em; color: var(--faint); margin-bottom: 6px; }
.dr-prog { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px; margin-top: 8px; font-size: 11.5px; color: var(--muted); }
.dr-prog em { font-style: normal; color: #fbbf24; }

.career-hud .ch-cfb { margin-top: 9px; padding: 7px 10px; border-radius: 9px; background: rgba(255, 210, 63, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 210, 63, 0.35); color: #ffd21a; font: 800 11px/1.2 var(--font, system-ui); letter-spacing: 0.08em; }
.career-hud .ch-cfb kbd { display: inline-block; min-width: 18px; padding: 2px 5px; margin-right: 6px; border-radius: 5px; background: #ffd21a; color: #111; font: 800 11px/1 var(--font, system-ui); text-align: center; letter-spacing: 0; }
.career-hud .ch-cfb small { font-weight: 600; color: rgba(255, 255, 255, 0.6); letter-spacing: 0; margin-left: 4px; }
.career-hud .ch-cfb.on { background: rgba(61, 220, 132, 0.16); box-shadow: inset 0 0 0 1px rgba(61, 220, 132, 0.5); color: #3ddc84; }
.career-hud .ch-cfb.off { opacity: 0.4; }

.career-hud .ch-half { margin: 8px 0 2px; padding: 8px 10px; border-radius: 9px; background: rgba(255, 255, 255, 0.06); font-size: 11.5px; line-height: 1.35; font-style: italic; }
.career-hud .ch-half small { display: block; font-style: normal; font-size: 9px; font-weight: 800; letter-spacing: 0.16em; color: rgba(255, 255, 255, 0.5); margin-bottom: 2px; }
.career-hud .ch-half.up { box-shadow: inset 3px 0 0 #3ddc84; }
.career-hud .ch-half.down { box-shadow: inset 3px 0 0 #ff5a4f; }
.ca-high { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.ca-high b { font-size: 20px; font-weight: 800; }
.ca-high span { font-size: 12px; color: var(--muted); }
.ca-high small { grid-column: 1 / -1; font-size: 11px; color: var(--faint); }
.ca-hl { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.ca-hl em { font-style: normal; font-weight: 800; min-width: 28px; color: var(--gold); }
.ca-hl span { flex: 1; }
.ca-hl small { color: var(--faint); font-size: 11px; white-space: nowrap; }
.ca-ring { margin-top: 10px; font-size: 13px; color: var(--gold); font-weight: 700; letter-spacing: 0.04em; }

/* the life scenes' frame: letterbox bars, a vignette, in from black and out to it */
#stage .st-bars, #stage .st-vig, #stage .st-fade { position: absolute; inset: 0; pointer-events: none; }
#stage .st-bars::before, #stage .st-bars::after { content: ''; position: absolute; left: 0; right: 0; height: 0; background: #000; transition: height 0.7s cubic-bezier(.2,.7,.2,1); }
#stage .st-bars::before { top: 0; }
#stage .st-bars::after { bottom: 0; }
#stage.st-lifeon .st-bars::before, #stage.st-lifeon .st-bars::after { height: 6.5vh; }
#stage .st-vig { background: radial-gradient(ellipse at center, rgba(0,0,0,0) 55%, rgba(0,0,0,0.45) 100%); }
#stage .st-fade { background: #000; opacity: 1; animation: st-fadein 0.9s ease-out 0.05s forwards; }
#stage.st-out .st-fade { animation: none; opacity: 1; transition: opacity 0.4s ease-in; }
#stage.st-lifeon:not(.st-out) .st-fade { opacity: 0; }
@keyframes st-fadein { from { opacity: 1; } to { opacity: 0; } }
#stage.st-lifeon .st-top { top: calc(6.5vh + 10px); }
#stage.st-lifeon .st-quit { bottom: calc(6.5vh + 10px); }
#stage.st-lifeon .st-call.cap { bottom: calc(6.5vh + 8%); }
#stage.st-lifeon .st-third { bottom: calc(6.5vh + 52px); }
#stage.st-lifeon .st-life { bottom: calc(6.5vh + 14px); }

/* the week, Madden style: a short list of optional steps */
.wk-card .wk-step { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--fill); margin-top: 8px; }
.wk-card .wk-step > i { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 12px; background: rgba(255,255,255,.08); color: var(--gold); }
.wk-card .wk-step.done > i { background: rgba(52, 211, 153, 0.16); color: var(--good); }
.wk-card .wk-step.done { opacity: 0.75; }
.wk-card .wk-t { flex: 1; min-width: 0; }
.wk-card .wk-t b { display: block; font-weight: 700; font-size: 14px; }
.wk-card .wk-t span { font-size: 12px; color: var(--muted); }
.wk-card .wk-t a { color: var(--gold); cursor: pointer; font-weight: 700; text-decoration: none; }
.wk-card .dr-focus { margin-top: 6px; }
.wk-picks { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 6px; margin-top: 6px; }
.wk-pick { text-align: left; border: 0; border-radius: 10px; padding: 9px 10px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); color: #fff; font: inherit; cursor: pointer; display: flex; flex-direction: column; gap: 3px; }
.wk-pick:hover { background: var(--fill2); }
.wk-pick b { font-size: 13px; font-weight: 700; }
.wk-pick em { font-style: normal; font-size: 11px; color: var(--good); }
.wk-card .cl-phone { margin-top: 8px; }
.wk-card .cl-alert { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; border: 0; cursor: pointer; font: inherit; color: #fff; padding: 10px 12px; border-radius: 12px; margin-top: 8px; background: rgba(255, 210, 63, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 210, 63, 0.35); }
.wk-card .ca-zone { margin-top: 8px; }
.ca-chap-name.sm { font-size: 22px; }
.sg-bare { margin-top: 4px; }
.sg-bare .sg-list { margin-top: 6px; }
.mu-line { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.mu-line small { margin: 0; }
.mu-line b { font-weight: 700; }
.mu-line span { font-size: 12px; color: var(--muted); }
.mu-line .mu-v { margin: 0 0 0 auto; font-style: normal; }
.rc-line { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; padding: 9px 12px; border-radius: 10px; background: var(--fill); font-size: 12px; color: var(--muted); }
.rc-line b { color: #fff; }
.rc-line .in b { color: var(--good); }
.fr-h .sp { flex: 1; }
/* (two stacked columns: the game and the goals on the left, the week and the timeline on the right;
   on a phone, one column in the order you'd use them) */
.ca-hub2 .ca-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
@media (max-width: 900px) {
  .ca-hub2 .ca-col { display: contents; }
  .ca-hub2 .ca-week { order: 1; }
  .ca-hub2 .wk-card { order: 2; }
  .ca-hub2 .ca-chap { order: 3; }
  .ca-hub2 .tl-card { order: 4; }
}
.ca-powers .ca-locked b { color: #fff; font-weight: 600; }

/* ---- the career header: who he is and his numbers, then the tabs */
.fr-top.ca-head { flex-direction: column; align-items: stretch; gap: 6px; padding: 12px 24px 0; flex-wrap: nowrap; }
.ca-hrow { display: flex; align-items: center; gap: 14px; min-width: 0; }
.ca-hrow .lg { width: 46px; height: 46px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4)); flex: none; }
.ca-hrow .fr-id { min-width: 0; }
.ca-hrow .fr-id small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ca-stats { display: flex; align-items: stretch; gap: 6px; margin-left: auto; }
.ca-ovr { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 58px; padding: 4px 10px; border-radius: 12px; background: color-mix(in srgb, var(--tc) 55%, #0b0d12); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ts) 45%, transparent); }
.ca-ovr b { font: 700 26px/1 var(--head); }
.ca-ovr span { font-size: 9px; font-weight: 800; letter-spacing: 0.2em; color: rgba(255, 255, 255, 0.7); }
.ca-st { display: flex; flex-direction: column; justify-content: center; gap: 3px; padding: 7px 12px; border-radius: 12px; background: var(--fill); border: 0; color: #fff; font: inherit; text-align: left; line-height: 1; }
.ca-st span { font-size: 9.5px; font-weight: 700; letter-spacing: 0.16em; color: var(--faint); }
.ca-st b { font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; }
.ca-st b.neg { color: var(--bad); }
button.ca-st { cursor: pointer; }
button.ca-st:hover { background: var(--fill2); }
.ca-st.gold { background: rgba(255, 210, 63, 0.12); box-shadow: inset 0 0 0 1px rgba(255, 210, 63, 0.4); }
.ca-st.gold b { color: var(--gold); }
.ca-lv { min-width: 150px; }
.ca-lv i { display: block; height: 6px; border-radius: 3px; background: var(--fill2); overflow: hidden; }
.ca-lv u { display: block; height: 100%; background: linear-gradient(90deg, #ffb703, var(--gold)); text-decoration: none; }
.ca-lv small { font-size: 10px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ca-exit { flex: none; border: 0; border-radius: 999px; padding: 9px 14px; background: transparent; box-shadow: inset 0 0 0 1px var(--line2); color: var(--muted); font: 700 11px/1 var(--font); letter-spacing: 0.14em; cursor: pointer; }
.ca-exit:hover { color: #fff; background: var(--fill2); }
.fr-top.ca-head .ca-tabs { margin: 0 -8px; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; gap: 0; }
.ca-tabs::-webkit-scrollbar { display: none; }
.fr-top.ca-head .ca-tabs button { flex: none; white-space: nowrap; border-radius: 0; padding: 12px 14px 11px; border-bottom: 3px solid transparent; background: transparent; }
.fr-top.ca-head .ca-tabs button:hover { background: transparent; color: #fff; }
.fr-top.ca-head .ca-tabs button.on { background: transparent; color: #fff; border-bottom-color: var(--gold); }
@media (max-width: 1000px) {
  .ca-lv small { display: none; }
  .ca-lv { min-width: 100px; }
}
@media (max-width: 700px) {
  .fr-top.ca-head { padding: 10px 12px 0; flex-wrap: nowrap; }
  .ca-hrow { flex-wrap: wrap; gap: 8px 10px; }
  .ca-hrow .lg { width: 36px; height: 36px; }
  .ca-hrow .fr-id { flex: 1; }
  .ca-stats { order: 3; flex: 1 0 100%; margin: 0; gap: 4px; }
  .ca-stats > * { flex: 1; min-width: 0; padding: 6px 8px; }
  .ca-ovr { flex: 0 0 auto; min-width: 48px; }
  .ca-ovr b { font-size: 22px; }
  .ca-st span { font-size: 8px; letter-spacing: 0.1em; white-space: nowrap; }
  .ca-st b { font-size: 13.5px; }
  .ca-lv { flex: 1.6; min-width: 0; }
  .fr-top.ca-head .ca-tabs { flex: none; order: 0; margin: 0 -12px; padding: 0 4px; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .fr-top.ca-head .ca-tabs button { padding: 11px 11px 10px; font-size: 11px; }
}
@media (max-height: 560px) {
  .fr-top.ca-head { flex-direction: row; align-items: center; padding: 4px 12px; gap: 10px; }
  .ca-hrow { flex: none; gap: 8px; }
  .ca-hrow .lg { width: 30px; height: 30px; }
  .ca-hrow .ca-num { display: none; }
  .ca-stats .ca-st { display: none; }
  .ca-exit { padding: 7px 10px; }
  .ca-ovr { padding: 3px 8px; min-width: 0; }
  .ca-ovr b { font-size: 18px; }
  .fr-top.ca-head .ca-tabs { flex: 1; min-width: 0; margin: 0; }
  .fr-top.ca-head .ca-tabs button { padding: 10px 10px; }
}

/* ---- the game card: both teams, last week */
.ca-mban { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; margin-bottom: 8px; background: linear-gradient(100deg, color-mix(in srgb, var(--mc) 45%, transparent), rgba(255, 255, 255, 0.02) 45% 55%, color-mix(in srgb, var(--oc) 45%, transparent)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); }
.ca-mt { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ca-mt.r { justify-content: flex-end; text-align: right; }
.ca-mt .lg { width: 52px; height: 52px; flex: none; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4)); }
.ca-mt b { display: block; font: 700 26px/1 var(--head); }
.ca-mt span { font-size: 11.5px; color: rgba(255, 255, 255, 0.75); white-space: nowrap; }
.ca-mban > em { font: 700 20px/1 var(--head); font-style: normal; color: rgba(255, 255, 255, 0.55); }
.ca-mname { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin-bottom: 12px; font-size: 13px; color: var(--muted); }
.ca-last { font-size: 12px; }
.ca-last b { color: #fff; }
.ca-last.w b:first-child { color: var(--good); }
.ca-last.l b:first-child { color: var(--bad); }
@media (max-width: 700px) {
  .ca-mt .lg { width: 38px; height: 38px; }
  .ca-mt b { font-size: 20px; }
  .ca-mt span { font-size: 10px; }
}

/* ---- the report: level bar, goals, next up */
.ca-xpbar { margin: 6px 0 10px; }
.ca-xpbar small { display: block; margin-top: 4px; font-size: 11px; color: var(--muted); }
.ca-rgoals { margin-bottom: 16px; }
.ca-rgoals .gplus { font-style: normal; color: var(--good); font-weight: 800; }
.ca-next { align-items: center; gap: 16px; }
.ca-nextup { font-size: 13px; color: var(--muted); }
.ca-nextup b { color: #fff; }

/* ---- the skill tree on a phone: each branch scrolls sideways */
@media (max-width: 600px) {
  .ca-branch { overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .ca-branch::-webkit-scrollbar { display: none; }
  .ca-node { flex: 0 0 160px; }
}
.ca-rgrid { align-items: start; }
.ca-gctx { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 14px; }
.ca-gctx > div { padding: 8px 10px; border-radius: 10px; background: var(--fill); text-align: center; }
.ca-gctx small { display: block; font-size: 9px; font-weight: 800; letter-spacing: 0.16em; color: var(--faint); }
.ca-gctx b { display: block; font: 700 22px/1.1 var(--head); margin-top: 3px; }
.ca-gctx span { font-size: 10.5px; color: var(--muted); }

/* an objective finished during the game: a banner, top centre, for a moment */
.career-objpop { position: absolute; top: 74px; left: 50%; transform: translate(-50%, -10px); opacity: 0; pointer-events: none; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 22px; border-radius: 14px; background: rgba(8, 12, 10, 0.86); box-shadow: inset 0 0 0 1px rgba(61, 220, 132, 0.55), 0 10px 30px rgba(0, 0, 0, 0.45); transition: opacity 0.25s, transform 0.3s var(--ease, ease); z-index: 3; }
.career-objpop.show { opacity: 1; transform: translate(-50%, 0); }
.career-objpop small { font-size: 10px; font-weight: 800; letter-spacing: 0.22em; color: #3ddc84; }
.career-objpop b { font-size: 16px; font-weight: 700; color: #fff; }
.career-objpop em { font-style: normal; font-size: 12px; font-weight: 800; color: #ffd21a; }
