/* MatchPal transfer + injury pages, Direction A (NEW_TRANSFER_PAGES). Loaded after /match/a.css (tokens, header, footer, cards). Bump TRANSFERS_CSS_VERSION in components/transfers/Shell.tsx (the test prints the new value). */
.trA{--r-group:16px;--pill:var(--card);--pill-rim:inset 0 0 0 1px var(--line)}
.trA .nav a[aria-current]{color:var(--text);background:var(--strip)}
.trA .menu-list a[aria-current]{color:var(--green-text)}
.trA .tag.blue{background:var(--blue-tint);color:var(--blue-text)}
.trA .dot-s{color:var(--text-3)}

/* desktop: full-width head, then main column + 380 px side column (DOM order unchanged) */
.trA .col-a,.trA .col-b{min-width:0}
.trA .col-b:empty{display:none}
@media (min-width:1024px){
.trA .wrap{max-width:1232px;padding:0 24px}
.trA .page{grid-template-columns:minmax(0,1fr);padding-top:4px}
.trA .cols{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:0 24px;align-items:start}
.trA .cols:has(>.col-b:empty){grid-template-columns:minmax(0,1fr)}
.trA .col-b .card{margin-bottom:12px}
.trA .tr-head .answer{max-width:760px}
}

/* head */
.trA .tr-head{padding-top:4px}
.trA .tr-head h1{margin-top:8px}
.trA .tr-head .checked{margin-bottom:4px}
.trA .tabs.tr-sec{margin:6px 0 4px}
.trA .tr-chips{display:flex;gap:8px;margin:0 -16px 2px;padding:0 16px;overflow-x:auto;scrollbar-width:none}
.trA .tr-chips::-webkit-scrollbar{display:none}
.trA .tr-chips a{display:inline-flex;align-items:center;min-height:44px;flex:none;text-decoration:none;color:var(--text)}
.trA .fchip{display:inline-flex;align-items:center;gap:7px;height:36px;padding:0 14px;border-radius:18px;background:var(--pill);box-shadow:var(--pill-rim);font-size:14px;font-weight:650;color:var(--text);white-space:nowrap}
.trA .tr-chips a[aria-current] .fchip{background:var(--green);color:var(--on-green);box-shadow:none}
.trA .tr-chips a:not([aria-current]):hover .fchip{background:var(--strip)}
.trA .fchip i{width:8px;height:8px;border-radius:50%;flex:none}
.trA .dt-out{background:var(--red)}.trA .dt-ret{background:var(--amber)}.trA .dt-back{background:var(--green)}
@media (min-width:768px){.trA .tr-chips{margin:0 0 2px;padding:0}}

/* photos, crests */
.trA .ph{width:44px;height:44px}
.trA .tcm .ph{width:36px;height:36px}
.trA .sg-top .ph{width:64px;height:64px;font-size:18px}
.trA img.cr{object-fit:contain}

/* count + key link */
.trA .tc-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:6px 2px 8px;min-height:44px}
.trA .tc-bar .ct{font-size:13px;line-height:18px;color:var(--text-3)}
.trA .tc-key-l{display:inline-flex;align-items:center;gap:4px;min-height:44px;font-size:14px;font-weight:650;color:var(--green-text);text-decoration:none}

/* the saga list: one card, day strips, one row per saga (the app's Transfer Hub row) */
.trA .tc-list{padding:0;overflow:hidden}
.trA .tcg{display:flex;align-items:baseline;gap:10px;margin:0;padding:12px 16px;background:var(--strip);font-size:14px;line-height:20px;font-weight:700}
.trA .tcg .d{margin-left:auto;font-size:13px;font-weight:500;color:var(--text-3);text-align:right}
.trA .tcl{list-style:none;margin:0;padding:0}
.trA .tcl>li+li{border-top:1px solid var(--line)}
.trA .tcr{display:grid;grid-template-columns:44px minmax(0,1fr);column-gap:12px;row-gap:4px;padding:14px 16px 13px;text-decoration:none;color:var(--text)}
.trA .tcr:hover{background:var(--strip)}
.trA .tcr>.ph{grid-row:1/span 2;align-self:start}
.trA .tcr-h{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;min-width:0;min-height:22px}
.trA .tcr-n{min-width:0;max-width:100%;font-size:16px;line-height:22px;font-weight:700;letter-spacing:-.005em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.trA .tcr-s{display:inline-flex}
.trA .tcr-fee{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border:1px solid var(--line);border-radius:8px;font-size:12px;line-height:16px;font-weight:750;color:var(--text);font-variant-numeric:tabular-nums;white-space:nowrap}
.trA .tcr-fee .k{font-weight:600;color:var(--text-2)}
.trA .tcr-mv{min-width:0;display:flex;flex-wrap:wrap;align-items:center;gap:2px 8px;font-size:14px;line-height:20px;font-weight:650}
.trA .tcr-mv .cl{display:inline-flex;align-items:center;gap:7px;min-width:0;max-width:100%;text-decoration:none;color:inherit}
.trA .tcr-mv a.cl:hover .nm,.trA .tcr-mv .nm a:hover{text-decoration:underline;text-underline-offset:3px}
.trA .tcr-mv .nm{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.trA .tcr-mv .nm a{color:inherit;text-decoration:none}
.trA .tcr-mv .cl.wr{align-items:flex-start}
.trA .tcr-mv .cl.wr img,.trA .tcr-mv .cl.wr .crest-x{margin-top:1px}
.trA .tcr-mv .cl.wr .nm{white-space:normal;text-wrap:pretty}
.trA .tcr-mv .cl.unk .nm{color:var(--text-2);font-weight:550}
.trA .tcr-mv .to{display:inline-flex;align-items:center;gap:8px;min-width:0;max-width:100%}
.trA .tcr-mv img,.trA .tcr-mv .crest-x{width:18px;height:18px;flex:none}
.trA .tcr-mv .ico{color:var(--text-3);flex:none}
.trA .tcr-mv .k{font-weight:500;color:var(--text-2)}
.trA .tcr-mv .kind{font-weight:500;color:var(--text-2);white-space:nowrap}
.trA .tcr-mv .kind .dot-s{margin-right:2px}
.trA .tcr-sum,.trA .tcr-f{grid-column:1/-1;min-width:0}
.trA .tcr-sum{margin:6px 0 0;font-size:14px;line-height:21px;color:var(--body);text-wrap:pretty}
.trA .tcr-f{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;align-items:start;margin-top:4px;font-size:13px;line-height:18px;color:var(--text-3)}
.trA .tcr-o .src{color:var(--text-2);font-weight:650}
.trA .tcr-o .ct{white-space:nowrap}
.trA .tcr-o .dot-s{margin:0 1px}
@media (max-width:639px){.trA .tcr-o .ct{display:block}.trA .tcr-o .ct>.dot-s:first-child{display:none}}
.trA .tcr-f .rep{justify-self:end;white-space:nowrap}
@media (min-width:640px){
.trA .tcr{padding:16px 18px 14px;column-gap:14px}
.trA .tcr-sum,.trA .tcr-f{grid-column:2}
.trA .tcr-sum{margin-top:4px}
}

/* confidence: four bars + label */
.trA .rep{display:inline-flex;align-items:center;gap:6px;font-size:13px;line-height:18px;font-weight:650;color:var(--text-2)}
.trA .rep i{display:inline-flex;align-items:flex-end;gap:2px;height:12px}
.trA .rep b{display:block;width:3px;border-radius:1px;background:var(--line)}
.trA .rep b:nth-child(1){height:5px}.trA .rep b:nth-child(2){height:7px}.trA .rep b:nth-child(3){height:9px}.trA .rep b:nth-child(4){height:12px}
.trA .rep[data-s="1"] b:nth-child(-n+1),.trA .rep[data-s="2"] b:nth-child(-n+2),.trA .rep[data-s="3"] b:nth-child(-n+3),.trA .rep[data-s="4"] b{background:var(--text-2)}
.trA .rep[data-s="3"] b:nth-child(-n+3),.trA .rep[data-s="4"] b{background:var(--green-text)}
.trA .rep[data-s="4"]{color:var(--green-text)}

/* app prompt inside a list */
.trA .tr-promo{padding:12px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.trA .ih-day .tr-promo{border-bottom:0}
.trA .app-row{display:flex;align-items:center;gap:12px;min-height:64px;padding:12px 14px;border-radius:14px;background:var(--strip);text-decoration:none;color:var(--text)}
.trA .app-row .tile{width:40px;height:40px;flex:none}
.trA .app-row .t{flex:1;min-width:0;font-size:14px;line-height:19px;color:var(--text-2)}
.trA .app-row .t b{display:block;color:var(--text);font-size:15px;line-height:20px;text-wrap:balance}
.trA .app-row .go{display:inline-flex;align-items:center;gap:4px;font-size:14px;font-weight:700;color:var(--green-text);white-space:nowrap}
@media (max-width:479px){.trA .app-row{flex-wrap:wrap;row-gap:8px}.trA .app-row .t{flex:1 1 calc(100% - 52px)}.trA .app-row .go{flex:1 1 100%;justify-content:center;min-height:44px;border-radius:12px;background:var(--card)}}

/* earlier days, collapsed (every row is in the HTML) */
.trA .tc-more{border-top:1px solid var(--line)}
.trA .tc-more>summary{display:flex;align-items:center;justify-content:center;gap:6px;min-height:52px;padding:4px 16px;font-size:15px;font-weight:650;color:var(--green-text)}
.trA .tc-more[open]>summary{display:none}

/* how it works */
.trA .tc-how h2{margin:0 0 8px;font-size:19px;line-height:25px;font-weight:750;letter-spacing:-.01em}
.trA .tc-how>p{margin:0;font-size:15px;line-height:23px;color:var(--body)}
.trA .tc-steps{list-style:none;display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin:14px 0 0;padding:0}
.trA .tc-steps li{display:grid;grid-template-columns:96px minmax(0,1fr);gap:12px;align-items:center;font-size:14px;line-height:20px;color:var(--text-2)}
.trA .tc-steps li>span:first-child{justify-self:start}
@media (min-width:640px){.trA .tc-steps{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px}}
.trA .tc-how .note{margin:12px 0 0;font-size:14px;line-height:21px;color:var(--text-2);max-width:68ch}
.trA .tc-how .note b{font-weight:650;color:var(--text)}
.trA .tc-key{margin:14px 0 0;padding:12px 0 0;border-top:1px solid var(--line);display:grid;gap:10px}
.trA .tc-key>div{display:grid;grid-template-columns:128px minmax(0,1fr);gap:12px;align-items:baseline}
.trA .ih-key>div{grid-template-columns:104px minmax(0,1fr)}
.trA .tc-key dt{margin:0}
.trA .tc-key dd{margin:0;font-size:14px;line-height:20px;color:var(--text-2)}

/* news cards (latest news, club news) */
.trA .tcn{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:minmax(0,1fr);column-gap:24px}
.trA .tcn li{border-top:1px solid var(--line)}
.trA .tcn li:first-child{border-top:0}
.trA .tcn a{display:flex;flex-direction:column;gap:4px;padding:12px 0;text-decoration:none;color:var(--text)}
.trA .tcn li:first-child a{padding-top:2px}
.trA .tcn .t{font-size:15px;line-height:21px;font-weight:650;text-wrap:pretty}
.trA .tcn a:hover .t{text-decoration:underline;text-underline-offset:3px}
.trA .n-meta{display:flex;flex-wrap:wrap;align-items:center;gap:4px 6px;font-size:13px;line-height:18px;color:var(--text-3)}
.trA .n-meta .src{color:var(--text-2);font-weight:650}
@media (min-width:768px){
.trA .col-a .tcn{grid-template-columns:repeat(2,minmax(0,1fr))}
.trA .col-a .tcn li:nth-child(2){border-top:0}
.trA .col-a .tcn li:nth-child(2) a{padding-top:2px}
}
.trA .tr-news .more{margin-top:2px}

/* side column */
.trA .tc-most{display:none}
@media (min-width:1024px){.trA .tc-most{display:block}}
.trA .tc-most .card-h,.trA .ih-clubs .card-h,.trA .sg-rel .card-h{margin-bottom:4px}
.trA .tcm{list-style:none;margin:0;padding:0}
.trA .tcm li+li{border-top:1px solid var(--line)}
.trA .tcm a{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:10px;align-items:center;min-height:56px;padding:8px 0;text-decoration:none;color:var(--text)}
.trA .tcm a:hover .tcm-n{text-decoration:underline;text-underline-offset:3px}
.trA .tcm-m{display:flex;flex-direction:column;min-width:0}
.trA .tcm-n{font-size:15px;line-height:20px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.trA .tcm-d{display:flex;align-items:flex-start;gap:6px;font-size:13px;line-height:18px;min-width:0}
.trA .tcm-d img,.trA .tcm-d .crest-x{width:16px;height:16px;flex:none;margin-top:1px}
.trA .tcm-d .k{color:var(--text-2)}
.trA .tcm-c{display:flex;flex-direction:column;align-items:flex-end;line-height:1}
.trA .tcm-c b{font-size:17px;line-height:20px;font-weight:800}
.trA .tcm-c span{font-size:12px;line-height:16px;color:var(--text-3)}
.trA .card.app{padding:20px}
.trA .app h2{font-size:20px;line-height:26px}
.trA .app .brand svg{height:28px}
@media (min-width:640px) and (max-width:1023px){.trA .app .cta-note{display:inline;margin:0 0 0 12px}}
.trA .empty{text-align:center;padding:28px 16px}
.trA .empty .e-t{margin:0;font-size:16px;font-weight:700}
.trA .empty .e-s{margin:6px 0 0;font-size:14px;color:var(--text-2)}
.trA .empty .e-s a{color:var(--green-text);font-weight:650}

/* injuries: club directory */
.trA .ih-clubs .sub-h{margin:14px 0 4px;font-size:12px;line-height:16px;font-weight:750;letter-spacing:.06em;text-transform:uppercase;color:var(--text-3)}
.trA .ih-clubs .sub-h:first-of-type{margin-top:6px}
.trA .clubs{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px}
.trA .clubs a{display:flex;align-items:center;gap:10px;min-height:40px;font-size:14px;line-height:18px;font-weight:600;color:var(--text);text-decoration:none}
.trA .clubs a:hover span{text-decoration:underline;text-underline-offset:3px}
.trA .clubs img,.trA .clubs .crest-x{width:20px;height:20px}
@media (min-width:1024px){.trA .clubs{grid-template-columns:minmax(0,1fr)}}

/* injuries: phone crest strip */
.trA .ih-yc{margin:6px -16px 0}
.trA .ih-yc-l{margin:0 16px 2px;font-size:13px;line-height:18px;font-weight:700;color:var(--text-2)}
.trA .ih-yc ul{list-style:none;margin:0;padding:0 12px;display:flex;overflow-x:auto;scrollbar-width:none}
.trA .ih-yc ul::-webkit-scrollbar{display:none}
.trA .ih-yc li{flex:none}
.trA .ih-yc a{display:flex;flex-direction:column;align-items:center;gap:6px;width:74px;padding:6px 0 4px;text-decoration:none;color:var(--text-2);font-size:12px;line-height:15px;font-weight:600;text-align:center}
.trA .ih-yc .cr{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:var(--card);box-shadow:inset 0 0 0 1px var(--line)}
.trA .ih-yc .cr img,.trA .ih-yc .cr .crest-x{width:28px;height:28px}
@media (min-width:1024px){.trA .ih-yc{display:none}}

/* injuries: days and stories */
.trA .ih-lh{margin:12px 2px 10px;font-size:13px;line-height:18px;color:var(--text-3);font-variant-numeric:tabular-nums}
.trA .ih-day{container:ihday/inline-size;background:var(--card);border:1px solid var(--line);border-radius:var(--r-card);overflow:hidden;margin:0 0 12px}
.trA .ih-day>summary{display:flex;align-items:center;gap:10px;min-height:52px;padding:0 14px 0 16px;background:var(--strip)}
.trA .ih-dh{margin:0;flex:1;min-width:0;font-size:15px;line-height:20px;font-weight:700}
.trA .ih-dh .d{font-weight:500;color:var(--text-3)}
.trA .ih-day>summary .aside{font-size:13px;color:var(--text-2);white-space:nowrap;font-variant-numeric:tabular-nums}
.trA .ih-day>summary .chev{margin-left:0;color:var(--text-2)}
.trA .ih-l{list-style:none;margin:0;padding:0}
.trA .ih-r{padding:14px 16px 16px;border-top:1px solid var(--line)}
.trA .ih-l>li:first-child{border-top:0}
.trA .ih-p{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:0 12px;align-items:center}
.trA .ih-p+.ih-p{margin-top:10px}
.trA .ih-pm{min-width:0;display:flex;flex-direction:column}
.trA .ij-n{font-size:16px;line-height:22px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.trA .ih-p .tag{font-size:12px;line-height:14px;padding:5px 10px}
.trA .ih-club{display:flex;align-items:center;gap:6px;width:fit-content;max-width:100%;min-height:24px;font-size:13px;line-height:18px;font-weight:600;color:var(--text-2);text-decoration:none}
.trA .ih-club img,.trA .ih-club .crest-x{width:16px;height:16px}
.trA .ih-club .nm{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.trA .ih-club .pos{font-weight:500;color:var(--text-3)}
.trA a.ih-club:hover .nm{text-decoration:underline;text-underline-offset:3px}
.trA .ih-pos{font-size:13px;line-height:18px;color:var(--text-3)}
.trA .ih-last{display:flex;align-items:center;gap:5px;margin-top:1px;font-size:13px;line-height:18px;font-weight:650;color:var(--green-text)}
.trA .ih-t{display:block;margin:10px 0 0;text-decoration:none;color:var(--text)}
@container ihday (min-width:480px){.trA .ih-t{margin-left:56px}}
@container ihday (max-width:419px){.trA .ih-club .pos{display:none}}
.trA .ih-t p{margin:0;text-wrap:pretty}
.trA .ih-t .ih-h{font-size:15px;line-height:20px;font-weight:600}
.trA .ih-t .ih-s{margin-top:3px;font-size:14px;line-height:20px;color:var(--body)}
.trA .ih-t .n-meta{margin-top:5px}
.trA .ih-t:hover .ih-h{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.trA .ih-fine{margin:2px 2px 16px}
.trA .ih-fine a{color:var(--text-2);font-weight:600;text-underline-offset:3px}
.trA .ci-h1{display:flex;align-items:center;gap:12px}
.trA .ci-h1 img,.trA .ci-h1 .crest-x{width:36px;height:36px}
.trA .ci-fx{color:var(--green-text);font-weight:650;text-decoration:none;white-space:nowrap}
.trA .ci-fx:hover{text-decoration:underline}

/* saga page */
.trA .crumbs{margin-top:4px}
.trA .sg-top{display:flex;align-items:center;gap:14px;margin-top:4px}
.trA .sg-tm{min-width:0}
.trA .sg-tags{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px}
.trA .sg-pos{font-size:13px;color:var(--text-3)}
.trA .sg-head h1{margin:6px 0 0}
.trA .sg-head .answer{margin-top:12px}
.trA .sg-mv{margin:12px 0 0;font-size:15px}
.trA .sg-latest{margin:8px 0 14px;font-size:13px;line-height:18px;color:var(--text-3)}
.trA .tl{list-style:none;margin:0;padding:0 0 0 6px}
.trA .tl-i{position:relative;padding:0 0 20px 22px;border-left:1px solid var(--line)}
.trA .tl-i:last-child{padding-bottom:4px;border-left-color:transparent}
.trA .tl-dot{position:absolute;left:-6px;top:4px;width:11px;height:11px;border-radius:50%;background:var(--card);box-shadow:inset 0 0 0 2px var(--line)}
.trA .tl-i.now .tl-dot{box-shadow:inset 0 0 0 2px var(--green-text)}
.trA .tl-i.done .tl-dot{background:var(--green);box-shadow:none}
.trA .tl-m{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;font-size:13px;line-height:18px;color:var(--text-3)}
.trA .tl-m .src{color:var(--text-2);font-weight:650}
.trA .tl-t{display:block;margin:6px 0 0;font-size:15px;line-height:21px;font-weight:650;color:var(--text);text-decoration:none;text-wrap:pretty}
.trA a.tl-t:hover{text-decoration:underline;text-underline-offset:3px}
.trA .tl-s{margin:4px 0 0;font-size:14px;line-height:21px;color:var(--body)}
.trA .tl-x{display:inline-flex;align-items:center;min-height:32px;margin-top:2px;font-size:13px;font-weight:650;color:var(--green-text);text-decoration:none}
.trA .tl-src{margin:4px 0 0;font-size:13px;color:var(--text-3)}
.trA .sg-rel{padding-bottom:6px}
.trA .sg-rel .tcl{margin:0 -16px}
.trA .sg-rel .tcl>li:first-child{border-top:1px solid var(--line)}
.trA .sg-rel .tcr{padding:12px 16px}
.trA .sg-rel .tcr-sum,.trA .sg-rel .tcr-f{grid-column:2}
.trA .sg-rel .tcr-sum{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.trA .sg-rel .more{border-top:1px solid var(--line);margin:0 -16px;padding:0 16px;display:flex}
