/*
 * 運彩小虎爺｜MLB 即時情報
 * Version: 2026-08-19-mlb-live-intel-css-v2.18.84-starter-pill-size
 */
*{box-sizing:border-box}
body.mli-body .site-header,body.mli-body .site-header.is-scrolled{background:linear-gradient(90deg,#07111d 0%,#102033 100%)!important}
.mli-page{min-height:75vh;padding:100px 20px 72px;background:#f4f6f8;color:#172033;font-family:"Noto Sans TC","Microsoft JhengHei",Arial,sans-serif}
.mli-container{width:100%;max-width:1240px;margin:0 auto}
.mli-hero{overflow:hidden;background:#fff;border:1px solid #e4e8ee;border-radius:18px;box-shadow:0 12px 32px rgba(15,27,45,.06)}
.mli-hero__main{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:24px 26px 20px}
.mli-kicker{margin-bottom:5px;color:#d97a0b;font-size:10px;font-weight:900;letter-spacing:.14em}
.mli-title{margin:0;color:#172033;font-size:30px;font-weight:900;line-height:1.2;letter-spacing:-.025em}
.mli-subtitle{max-width:760px;margin:8px 0 0;color:#788395;font-size:12.5px;line-height:1.7}
.mli-meta{display:flex;align-items:center;gap:10px;margin-top:13px;flex-wrap:wrap;color:#7a8492;font-size:11.5px;font-weight:700}
.mli-meta strong{color:#39475c;font-weight:900}.mli-meta__divider{width:1px;height:16px;background:#dde3ea}
.mli-date-mark{position:relative;display:inline-flex;align-items:center;gap:8px;padding-left:12px}.mli-date-mark:before{content:"";position:absolute;left:0;top:50%;width:3px;height:22px;margin-top:-11px;border-radius:999px;background:#f59a23}.mli-date-mark span{color:#939cab;font-size:10px;letter-spacing:.06em}.mli-date-mark strong{font-size:15px;color:#172033}
.mli-hero__tools{flex:0 0 auto;display:flex;flex-direction:column;align-items:flex-end;gap:8px}.mli-live-badge{display:inline-flex;align-items:center;gap:7px;min-height:30px;padding:5px 11px;color:#047857;background:#f0fbf6;border:1px solid #d5efe3;border-radius:999px;font-size:11px;font-weight:900}.mli-live-badge i{width:7px;height:7px;border-radius:50%;background:#10b981;box-shadow:0 0 0 4px rgba(16,185,129,.11)}
.mli-refresh{height:34px;padding:0 13px;color:#8a4c07;background:#fff9ee;border:1px solid #f0d7ae;border-radius:9px;cursor:pointer;font-size:11px;font-weight:900}.mli-refresh:hover{border-color:#e2ab57;background:#fff5e5}.mli-refresh-note{color:#a0a7b2;font-size:10px;font-weight:700}
.mli-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:0 22px;border-top:1px solid #edf0f4}.mli-summary__item{min-width:0;padding:18px 16px 19px}.mli-summary__item+.mli-summary__item{border-left:1px solid #edf0f4}.mli-summary__item span{display:block;color:#7d8796;font-size:10.5px;font-weight:800}.mli-summary__item strong{display:inline-block;margin-top:6px;color:#172033;font-size:27px;font-weight:900;line-height:1}.mli-summary__item small{color:#9aa3af;font-size:10px}.mli-summary__item--danger strong{color:#b91c1c}.mli-summary__status{font-size:17px!important;color:#047857!important}
.mli-date-tabs{display:flex;gap:8px;margin:14px 0 0}.mli-date-tabs a{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 14px;color:#687386;background:#fff;border:1px solid #dfe4ea;border-radius:10px;text-decoration:none;font-size:11.5px;font-weight:850}.mli-date-tabs a:hover{border-color:#ecc58d;color:#b56107}.mli-date-tabs a.active{color:#fff;background:#172033;border-color:#172033}
.mli-disclaimer{margin-top:10px;padding:11px 14px;color:#687386;background:#fffdf8;border:1px solid #eee1ca;border-radius:10px;font-size:10.5px;line-height:1.65}.mli-disclaimer strong{color:#6f4b17}
.mli-game-list{display:flex;flex-direction:column;gap:12px;margin-top:14px}.mli-game-card{overflow:hidden;background:#fff;border:1px solid #e2e7ed;border-radius:16px;box-shadow:0 7px 20px rgba(15,27,45,.04)}.mli-game-card.has-alert{border-color:#ead4c9;box-shadow:0 8px 24px rgba(120,47,16,.055)}
.mli-game-head{display:grid;grid-template-columns:150px minmax(0,1fr) 170px;gap:18px;align-items:center;padding:17px 20px;border-bottom:1px solid #edf0f4}.mli-game-time span{display:block;color:#263247;font-size:14px;font-weight:900}.mli-game-time strong{display:block;margin-top:4px;color:#9aa3af;font-size:9.5px;font-weight:800}.mli-matchup{display:flex;align-items:center;justify-content:center;gap:14px;min-width:0}.mli-team{color:#172033;font-size:19px;font-weight:900;white-space:nowrap}.mli-at{color:#c4cbd5;font-size:13px;font-weight:900}.mli-head-alert{text-align:right}.mli-alert-count,.mli-ok-count{display:inline-flex;align-items:center;justify-content:center;min-height:27px;padding:4px 9px;border-radius:999px;font-size:9.5px;font-weight:900}.mli-alert-count{color:#b42318;background:#fff2ef;border:1px solid #f5d2ca}.mli-ok-count{color:#047857;background:#f0fbf6;border:1px solid #d5efe3}
.mli-quick-tags{display:flex;gap:6px;flex-wrap:wrap;padding:12px 18px;background:#fcfdfe;border-bottom:1px solid #edf0f4}.mli-tag{display:inline-flex;align-items:center;min-height:25px;padding:3px 8px;border-radius:999px;font-size:9.5px;font-weight:850}.mli-tag--ok{color:#047857;background:#ecfdf5;border:1px solid #d0f0e1}.mli-tag--wait{color:#6b7280;background:#f6f7f9;border:1px solid #e3e6ea}.mli-tag--warn{color:#a15c05;background:#fff8e8;border:1px solid #f0dbad}.mli-tag--danger{color:#b42318;background:#fff2ef;border:1px solid #f2d0c8}.mli-tag--neutral{color:#475569;background:#f4f7fa;border:1px solid #dde3e9}
.mli-team-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:15px 16px}.mli-team-panel{overflow:hidden;border:1px solid #e2e6eb;border-radius:12px;background:#fff}.mli-team-panel__title{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;background:#fafbfc;border-bottom:1px solid #e8ebef}.mli-team-panel__title span{color:#9aa3af;font-size:9.5px;font-weight:800}.mli-team-panel__title strong{color:#263247;font-size:13px;font-weight:900}.mli-info-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:37px;padding:7px 12px;border-bottom:1px solid #f0f2f5}.mli-info-row:last-child{border-bottom:0}.mli-info-row span{color:#8a94a3;font-size:10px;font-weight:750}.mli-info-row strong{color:#334155;font-size:10.5px;font-weight:900;text-align:right}.mli-info-row strong.good{color:#047857}.mli-info-row strong.bad{color:#b42318}.mli-info-row strong.muted{color:#9aa3af}
.mli-edge-row{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 16px 14px;padding:12px 14px;background:#faf7f1;border:1px solid #e9ddc8;border-radius:11px}.mli-edge-row>div{display:flex;align-items:center;gap:10px}.mli-edge-row span{color:#856945;font-size:10px;font-weight:850}.mli-edge-row strong{color:#4c4a46;font-size:15px;font-weight:900}.mli-edge-row strong.accent{color:#c96c07}.mli-edge-row small{max-width:560px;color:#9c8b72;font-size:9.5px;line-height:1.5;text-align:right}
.mli-alert-strip{display:flex;flex-direction:column;gap:6px;margin:0 16px 14px}.mli-inline-alert{display:grid;grid-template-columns:150px 1fr;gap:10px;align-items:start;padding:8px 10px;border-radius:9px;font-size:9.5px}.mli-inline-alert strong{font-weight:900}.mli-inline-alert span{color:#687386;line-height:1.5}.mli-inline-alert--critical,.mli-inline-alert--high{background:#fff5f2;border:1px solid #f0d7cf;color:#b42318}.mli-inline-alert--medium{background:#fffaf0;border:1px solid #f0dfba;color:#a15c05}.mli-inline-alert--info{background:#f5f8fb;border:1px solid #e0e7ef;color:#446078}
.mli-detail-toggle{width:100%;height:42px;display:flex;align-items:center;justify-content:center;gap:9px;border:0;border-top:1px solid #edf0f4;cursor:pointer;color:#5f6b7c;background:#fbfcfd;font-size:10.5px;font-weight:900}.mli-detail-toggle:hover{color:#c46d0b;background:#fffdf9}.mli-detail-toggle i{width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .2s}.mli-detail-toggle[aria-expanded="true"] i{transform:rotate(225deg) translate(-1px,-1px)}
.mli-detail{border-top:1px solid #e9edf2;background:#f8fafc}.mli-detail-grid{display:flex;flex-direction:column;gap:10px;padding:12px}.mli-detail-section{padding:15px;background:#fff;border:1px solid #e3e8ee;border-radius:12px}.mli-detail-section h3{margin:0 0 12px;color:#263247;font-size:13px;font-weight:900}.mli-detail-section h4{margin:0 0 8px;color:#354155;font-size:11px;font-weight:900}.mli-two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mli-two-col>div{min-width:0}.mli-pitcher-line{margin:0 0 8px;color:#7b8798;font-size:9.5px}.mli-pitcher-line strong{color:#334155}
.mli-lineup-list{margin:0;padding:0;list-style:none;border:1px solid #e7ebef;border-radius:9px;overflow:hidden}.mli-lineup-list li{display:grid;grid-template-columns:25px minmax(0,1fr) 38px;gap:8px;align-items:center;min-height:30px;padding:5px 8px;border-bottom:1px solid #f0f2f4}.mli-lineup-list li:last-child{border-bottom:0}.mli-lineup-list b{width:20px;height:20px;display:flex;align-items:center;justify-content:center;color:#9a620e;background:#fff7e7;border-radius:50%;font-size:8.5px}.mli-lineup-list span{color:#3b4658;font-size:9.5px;font-weight:800}.mli-lineup-list em{color:#9aa3af;font-size:8.5px;font-style:normal;text-align:right}
.mli-empty-mini{padding:11px;color:#9aa3af;background:#fafbfc;border:1px dashed #dfe4e9;border-radius:8px;font-size:9.5px;text-align:center}.mli-injury-list{margin:0;padding:0;list-style:none}.mli-injury-list li{display:flex;align-items:flex-start;gap:8px;padding:7px 0;border-bottom:1px solid #eef1f4}.mli-injury-list li:last-child{border-bottom:0}.mli-injury-list div{min-width:0}.mli-injury-list strong{display:block;color:#39475a;font-size:9.5px}.mli-injury-list small{display:block;margin-top:2px;color:#8e98a6;font-size:8.5px;line-height:1.45}.mli-impact{flex:0 0 auto;min-width:45px;padding:3px 5px;border-radius:999px;font-size:7.5px;font-weight:900;text-align:center;text-transform:uppercase}.mli-impact--high{color:#b42318;background:#fff1ee}.mli-impact--medium{color:#a15c05;background:#fff8e7}.mli-impact--low{color:#64748b;background:#f3f5f7}
.mli-metric-box{padding:11px;border:1px solid #e5e9ee;border-radius:9px}.mli-metric-box dl{display:grid;grid-template-columns:1fr auto;gap:0;margin:0}.mli-metric-box dt,.mli-metric-box dd{margin:0;padding:6px 0;border-bottom:1px solid #f0f2f4;font-size:9px}.mli-metric-box dt{color:#8b95a4}.mli-metric-box dd{color:#3f4b5e;font-weight:850;text-align:right}.mli-metric-box dt:nth-last-child(-n+2),.mli-metric-box dd:nth-last-child(-n+2){border-bottom:0}
.mli-weather-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.mli-weather-grid div{padding:10px;background:#f9fafb;border:1px solid #e8ebef;border-radius:8px}.mli-weather-grid span{display:block;color:#9aa3af;font-size:8px;font-weight:800}.mli-weather-grid strong{display:block;margin-top:4px;color:#344154;font-size:10px;font-weight:900}
.mli-transaction-list{margin:0;padding:0;list-style:none}.mli-transaction-list li{display:grid;grid-template-columns:80px 120px 100px minmax(0,1fr);gap:9px;align-items:start;padding:8px 0;border-bottom:1px solid #eef1f4}.mli-transaction-list li:last-child{border-bottom:0}.mli-transaction-list time{color:#9aa3af;font-size:8.5px}.mli-transaction-list strong{color:#3b4658;font-size:9px}.mli-transaction-list span{color:#79551d;font-size:8.5px;font-weight:800}.mli-transaction-list small{color:#8994a4;font-size:8.5px;line-height:1.45}
.mli-timeline{margin:0;padding:0;list-style:none}.mli-timeline li{position:relative;display:grid;grid-template-columns:145px 1fr;gap:12px;padding:0 0 13px 18px}.mli-timeline li:before{content:"";position:absolute;left:1px;top:3px;width:8px;height:8px;border-radius:50%;background:#94a3b8}.mli-timeline li:after{content:"";position:absolute;left:4px;top:13px;bottom:0;width:1px;background:#e1e5ea}.mli-timeline li:last-child:after{display:none}.mli-timeline__critical:before,.mli-timeline__high:before{background:#ef4444}.mli-timeline__medium:before{background:#f59e0b}.mli-timeline__info:before{background:#64748b}.mli-timeline time{color:#9aa3af;font-size:8.5px}.mli-timeline strong{color:#39475a;font-size:9.5px}.mli-timeline p{margin:3px 0 0;color:#7f8a9a;font-size:8.5px;line-height:1.45}
.mli-empty{margin-top:15px;padding:42px 20px;color:#8b95a4;background:#fff;border:1px solid #e4e8ed;border-radius:14px;text-align:center;font-size:12px}
@media(max-width:900px){.mli-page{padding:86px 12px 52px}.mli-hero__main{align-items:flex-start;flex-direction:column;padding:20px 18px 17px}.mli-hero__tools{width:100%;align-items:flex-start;flex-direction:row;flex-wrap:wrap}.mli-refresh-note{align-self:center}.mli-summary{grid-template-columns:repeat(2,minmax(0,1fr));padding:0}.mli-summary__item:nth-child(3){border-left:0;border-top:1px solid #edf0f4}.mli-summary__item:nth-child(4){border-top:1px solid #edf0f4}.mli-game-head{grid-template-columns:1fr auto;gap:8px 12px;padding:14px}.mli-game-time{grid-column:1/2}.mli-head-alert{grid-column:2/3;grid-row:1}.mli-matchup{grid-column:1/3;grid-row:2;justify-content:flex-start;margin-top:5px}.mli-team-grid,.mli-two-col{grid-template-columns:1fr}.mli-weather-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mli-edge-row{align-items:flex-start;flex-direction:column}.mli-edge-row small{text-align:left}.mli-transaction-list li{grid-template-columns:75px 1fr}.mli-transaction-list span,.mli-transaction-list small{grid-column:2}.mli-timeline li{grid-template-columns:100px 1fr}}
@media(max-width:560px){.mli-title{font-size:24px}.mli-subtitle{font-size:11px}.mli-summary__item{padding:14px 12px}.mli-summary__item strong{font-size:23px}.mli-date-tabs{display:grid;grid-template-columns:1fr 1fr}.mli-date-tabs a{padding:0 8px;font-size:10px}.mli-game-head{padding:12px}.mli-team{font-size:16px}.mli-quick-tags{padding:10px 12px}.mli-team-grid{padding:11px}.mli-edge-row,.mli-alert-strip{margin-left:11px;margin-right:11px}.mli-inline-alert{grid-template-columns:1fr;gap:3px}.mli-detail-grid{padding:8px}.mli-detail-section{padding:11px}.mli-weather-grid{grid-template-columns:1fr 1fr}.mli-timeline li{grid-template-columns:1fr;padding-left:18px;gap:3px}}

/* V2.5｜今日缺陣影響 / 傷兵資料時效性 */
.mli-section-note{margin:-4px 0 12px;color:#7b8798;font-size:9px;line-height:1.65}
.mli-injury-freshness{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:-2px 0 12px;padding:8px 10px;border:1px solid #e7ebef;border-radius:8px;background:#fafbfc;color:#687386;font-size:8.5px}
.mli-injury-freshness span{font-weight:800;color:#4b5563}.mli-injury-freshness small{flex-basis:100%;color:#8b95a3;line-height:1.55}
.mli-subsection-title{margin-top:14px!important;padding-top:12px;border-top:1px solid #eef1f4}
@media(max-width:560px){.mli-injury-freshness{gap:5px}.mli-injury-freshness span{width:100%}}


/* V2.5.1｜可讀性與資訊層級整理 */
/* 原版大量 8–10px 字級偏小；以下統一提升，不改卡片結構。 */
.mli-kicker{font-size:11px}
.mli-subtitle{font-size:14px;line-height:1.75}
.mli-meta{font-size:12.5px}.mli-date-mark span{font-size:11px}.mli-date-mark strong{font-size:16px}
.mli-live-badge,.mli-refresh{font-size:12px}.mli-refresh-note{font-size:11px}
.mli-summary__item span{font-size:12px}.mli-summary__item small{font-size:11px}
.mli-date-tabs a{font-size:12.5px}
.mli-disclaimer{padding:10px 14px;font-size:11.5px;line-height:1.6}
.mli-game-time strong{font-size:11px}
.mli-alert-count,.mli-ok-count{font-size:11px}
.mli-tag{min-height:28px;padding:4px 10px;font-size:11px}
.mli-team-panel__title span{font-size:11px}.mli-team-panel__title strong{font-size:14px}
.mli-info-row{min-height:41px;padding:8px 12px}.mli-info-row span{font-size:11.5px}.mli-info-row strong{font-size:12px}
.mli-edge-row{justify-content:flex-start;padding:13px 14px}.mli-edge-row span{font-size:11.5px}.mli-edge-row strong{font-size:16px}
.mli-inline-alert{grid-template-columns:170px 1fr;padding:10px 12px;font-size:11px}.mli-inline-alert span{line-height:1.55}
.mli-detail-toggle{height:46px;font-size:12px}
.mli-detail-section{padding:17px}.mli-detail-section h3{font-size:15px}.mli-detail-section h4{font-size:13px}
.mli-pitcher-line{font-size:11.5px}
.mli-lineup-list li{min-height:34px;padding:6px 9px}.mli-lineup-list b{width:22px;height:22px;font-size:10px}.mli-lineup-list span{font-size:11px}.mli-lineup-list em{font-size:10px}
.mli-empty-mini{font-size:11px}
.mli-injury-list strong{font-size:11px}.mli-injury-list small{font-size:10px;line-height:1.55}.mli-impact{min-width:52px;padding:4px 7px;font-size:9px}
.mli-metric-box dt,.mli-metric-box dd{padding:7px 0;font-size:10.5px}
.mli-weather-grid span{font-size:9.5px}.mli-weather-grid strong{font-size:11.5px}
.mli-transaction-list time,.mli-transaction-list span,.mli-transaction-list small{font-size:10px}.mli-transaction-list strong{font-size:10.5px}
.mli-timeline time{font-size:10px}.mli-timeline strong{font-size:11px}.mli-timeline p{font-size:10px;line-height:1.55}
.mli-section-note{font-size:10.5px;line-height:1.7}
.mli-injury-freshness{padding:10px 12px;font-size:10.5px}.mli-injury-freshness small{font-size:10px;line-height:1.6}

@media(max-width:560px){
    .mli-subtitle{font-size:12.5px}
    .mli-meta{font-size:11.5px}
    .mli-date-tabs a{font-size:11.5px}
    .mli-disclaimer{font-size:11px}
    .mli-game-time span{font-size:14px}.mli-game-time strong{font-size:10.5px}
    .mli-team{font-size:17px}
    .mli-tag{font-size:10.5px}
    .mli-team-panel__title span{font-size:10.5px}.mli-team-panel__title strong{font-size:13.5px}
    .mli-info-row span{font-size:11px}.mli-info-row strong{font-size:11.5px}
    .mli-edge-row span{font-size:11px}.mli-edge-row strong{font-size:15px}
    .mli-inline-alert{grid-template-columns:1fr;font-size:10.5px}
    .mli-detail-section h3{font-size:14px}.mli-detail-section h4{font-size:12.5px}
    .mli-lineup-list span{font-size:10.5px}
    .mli-injury-list strong{font-size:10.5px}.mli-injury-list small{font-size:9.8px}
    .mli-metric-box dt,.mli-metric-box dd{font-size:10px}
}

/* ================================================================
   V2.5.3 Player bilingual names
   中文主名 + 英文原名第二行；球隊已左右分欄，不重複標球隊。
   ================================================================ */
.mli-player-name{min-width:0;display:flex;flex-direction:column;gap:2px;line-height:1.25}
.mli-player-name strong,.mli-player-name b{display:block;color:#263247;font-size:11.5px;font-weight:900;line-height:1.3}
.mli-player-name small{display:block;margin:0;color:#8d98a8;font-size:9.5px;font-weight:600;line-height:1.3}
.mli-player-name--inline{align-items:flex-end;text-align:right}
.mli-player-name--inline strong{font-size:12px}
.mli-player-name--inline small{font-size:9.5px}
.mli-player-name--pitcher{display:inline-flex;vertical-align:middle;margin-left:4px}
.mli-player-name--pitcher strong{font-size:11.5px}
.mli-lineup-list .mli-player-name{color:inherit;font-size:inherit;font-weight:inherit}
.mli-lineup-list .mli-player-name strong{font-size:11px;color:#334155}
.mli-lineup-list .mli-player-name small{font-size:9px;color:#909baa;font-weight:600}
.mli-person-role{display:flex!important;align-items:flex-start;justify-content:space-between;gap:8px}
.mli-person-role .mli-player-name{flex:1 1 auto}
.mli-person-role em{flex:0 0 auto;color:#7e8999;font-size:9.5px;font-style:normal;font-weight:800;white-space:nowrap}
.mli-transaction-player{display:flex;flex-direction:column;gap:2px}
.mli-transaction-list .mli-transaction-player>span{color:#3b4658;font-size:10.5px;font-weight:900}
.mli-transaction-list .mli-transaction-player>small{grid-column:auto;color:#909baa;font-size:9px;font-weight:600;line-height:1.3}

@media(max-width:560px){
    .mli-player-name strong,.mli-player-name b{font-size:11px}
    .mli-player-name small{font-size:9px}
    .mli-player-name--inline strong{font-size:11.5px}
    .mli-person-role{gap:6px}
    .mli-person-role em{font-size:9px}
}

/* End V2.5.3 */


/* ============================================================
 * V2.5.6｜角色／今日影響說明 Modal
 * ============================================================ */
.mli-section-title-row{display:flex;align-items:center;gap:7px}
.mli-help-button{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;padding:0;border:1px solid #d8dee7;border-radius:50%;background:#fff;color:#59677a;font-size:11px;font-weight:900;line-height:1;cursor:pointer;vertical-align:middle}
.mli-help-button:hover{border-color:#f0b35d;background:#fff9ef;color:#a85b08}
.mli-impact{min-width:68px;text-transform:none;white-space:nowrap}
.mli-help-modal[hidden]{display:none!important}
.mli-help-modal{position:fixed;z-index:10080;inset:0;display:flex;align-items:center;justify-content:center;padding:22px}
.mli-help-modal__backdrop{position:absolute;inset:0;background:rgba(7,17,29,.62)}
.mli-help-modal__dialog{position:relative;width:min(720px,100%);max-height:86vh;overflow:auto;border:1px solid #e2e7ed;border-radius:16px;background:#fff;box-shadow:0 24px 70px rgba(7,17,29,.24)}
.mli-help-modal__head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px 22px 16px;border-bottom:1px solid #edf0f4}
.mli-help-modal__head span{display:block;margin-bottom:4px;color:#bd690c;font-size:10px;font-weight:900;letter-spacing:.08em}
.mli-help-modal__head h2{margin:0;color:#142033;font-size:18px;line-height:1.35}
.mli-help-modal__close{flex:0 0 auto;width:32px;height:32px;padding:0;border:1px solid #dfe4ea;border-radius:9px;background:#fff;color:#667386;font-size:22px;line-height:28px;cursor:pointer}
.mli-help-modal__close:hover{background:#f7f8fa;color:#172235}
.mli-help-modal__body{padding:18px 22px 22px}
.mli-help-lead{margin:0 0 16px;padding:11px 12px;border:1px solid #f0dfc6;border-radius:9px;background:#fffaf2;color:#596579;font-size:12px;line-height:1.7}
.mli-help-lead strong{color:#172235}
.mli-help-group{margin-top:16px}
.mli-help-group h3{margin:0 0 8px;color:#172235;font-size:14px}
.mli-help-level{display:grid;grid-template-columns:64px 130px 1fr;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid #eef1f4}
.mli-help-level:last-child{border-bottom:0}
.mli-help-level b{display:inline-flex;align-items:center;justify-content:center;width:58px;padding:4px 7px;border-radius:999px;font-size:9px;text-transform:uppercase}
.mli-help-level b.high{color:#b42318;background:#fff1ee}.mli-help-level b.medium{color:#9a5a09;background:#fff8e7}.mli-help-level b.low{color:#64748b;background:#f3f5f7}
.mli-help-level strong{color:#29364a;font-size:12px}.mli-help-level span{color:#7d8897;font-size:11px;line-height:1.55}
.mli-help-note{margin-top:18px;padding:11px 12px;border-left:3px solid #f3a13a;border-radius:5px;background:#fafbfc;color:#687487;font-size:11px;line-height:1.7}
body.mli-modal-open{overflow:hidden}
@media(max-width:640px){.mli-help-modal{padding:12px}.mli-help-modal__dialog{max-height:90vh;border-radius:13px}.mli-help-modal__head{padding:16px}.mli-help-modal__head h2{font-size:16px}.mli-help-modal__body{padding:14px 16px 18px}.mli-help-level{grid-template-columns:58px 1fr;gap:7px 9px}.mli-help-level span{grid-column:1/3;padding-left:0}.mli-help-lead{font-size:11px}.mli-help-note{font-size:10.5px}}

/* V2.5.7: role badges display the actual role label directly. */
.mli-impact--role{max-width:118px;white-space:normal;line-height:1.3;padding-left:8px;padding-right:8px}


/* =========================================================
 * V2.6.2：固定卡片尺寸＋摘要列開啟詳情 Modal
 * ========================================================= */
.mli-detail-source{
    display:none !important;
}
.mli-info-row--clickable{
    cursor:pointer;
    transition:background-color .16s ease, box-shadow .16s ease;
}
.mli-info-row--clickable:hover{
    background:#f8fafc;
    box-shadow:inset 3px 0 0 #f59a23;
}
.mli-info-row--clickable:focus{
    outline:none;
    background:#fffaf2;
    box-shadow:inset 3px 0 0 #f59a23;
}

.mli-detail-modal[hidden]{display:none !important}
.mli-detail-modal{
    position:fixed;
    inset:0;
    z-index:10050;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:24px;
}
.mli-detail-modal__backdrop{
    position:absolute;
    inset:0;
    background:rgba(7,17,29,.68);
    backdrop-filter:blur(3px);
}
.mli-detail-modal__dialog{
    position:relative;
    width:min(1120px, calc(100vw - 48px));
    max-height:88vh;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    border:1px solid #dbe3ec;
    border-radius:18px;
    background:#fff;
    box-shadow:0 24px 70px rgba(7,17,29,.25);
}
.mli-detail-modal__head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    padding:17px 20px 14px;
    border-bottom:1px solid #e8edf3;
    background:#fff;
}
.mli-detail-modal__matchup{
    display:block;
    margin-bottom:3px;
    color:#8a94a3;
    font-size:12px;
    font-weight:800;
}
.mli-detail-modal__head h2{
    margin:0;
    color:#102033;
    font-size:20px;
    line-height:1.25;
    font-weight:900;
}
.mli-detail-modal__close{
    width:36px;
    height:36px;
    flex:0 0 36px;
    border:1px solid #dce3eb;
    border-radius:10px;
    background:#f8fafc;
    color:#526174;
    font-size:24px;
    line-height:1;
    cursor:pointer;
}
.mli-detail-modal__close:hover{background:#eef3f8;color:#102033}
.mli-detail-modal__nav{
    display:flex;
    gap:7px;
    padding:10px 14px;
    overflow-x:auto;
    border-bottom:1px solid #e8edf3;
    background:#fafbfd;
    scrollbar-width:thin;
}
.mli-detail-modal__nav button{
    flex:0 0 auto;
    border:1px solid #dce4ed;
    border-radius:999px;
    background:#fff;
    padding:7px 11px;
    color:#66768a;
    font-size:12px;
    font-weight:800;
    cursor:pointer;
}
.mli-detail-modal__nav button.active{
    border-color:#f4c68b;
    background:#fff7ec;
    color:#b75e00;
}
.mli-detail-modal__body{
    padding:16px;
    overflow-y:auto;
    overscroll-behavior:contain;
}
.mli-detail-modal__body .mli-detail-section{
    margin:0;
    border:0;
    box-shadow:none;
}
.mli-detail-modal__body .mli-detail-section > h3,
.mli-detail-modal__body .mli-section-title-row{
    margin-top:0;
}
body.mli-detail-modal-open{overflow:hidden}

@media (max-width:768px){
    .mli-detail-modal{padding:10px}
    .mli-detail-modal__dialog{
        width:calc(100vw - 20px);
        max-height:92vh;
        border-radius:15px;
    }
    .mli-detail-modal__head{padding:14px 14px 12px}
    .mli-detail-modal__head h2{font-size:18px}
    .mli-detail-modal__nav{padding:9px 10px}
    .mli-detail-modal__body{padding:12px}
    .mli-info-row--clickable:hover{box-shadow:none}
}


/* V2.6.3：字級強化、警示詳情、Modal 判斷規則入口 */
.mli-team-panel__title span{font-size:11px}
.mli-team-panel__title strong{font-size:14px}
.mli-info-row{min-height:43px;padding:9px 13px}
.mli-info-row span{font-size:12.5px}
.mli-info-row strong{font-size:13px}
.mli-player-name--inline strong{font-size:13px}
.mli-player-name--inline small{font-size:10px}
.mli-edge-row span{font-size:11.5px}
.mli-edge-row strong{font-size:14px}
.mli-alert-count--button{appearance:none;cursor:pointer;font-family:inherit}
.mli-alert-count.mli-alert-count--button,.mli-ok-count.mli-alert-count--button{border:inherit}
.mli-alert-count--button:hover{filter:brightness(.98);box-shadow:0 0 0 2px rgba(245,154,35,.08)}

.mli-detail-modal__head-actions{display:flex;align-items:center;gap:9px}
.mli-detail-rule-button{border:1px solid #ead3ad;border-radius:999px;background:#fff8ed;color:#9b5707;padding:7px 11px;font-size:12px;font-weight:900;cursor:pointer;white-space:nowrap}
.mli-detail-rule-button b{display:inline-flex;align-items:center;justify-content:center;width:17px;height:17px;margin-left:3px;border-radius:50%;background:#f59a23;color:#fff;font-size:11px}
.mli-detail-rule-button:hover{background:#fff3df}

/* Modal 明細主字級，不再沿用小型卡片密度 */
.mli-detail-modal__body{font-size:13px}
.mli-detail-modal__body .mli-detail-section{padding:18px 19px}
.mli-detail-modal__body .mli-detail-section h3{font-size:17px;margin-bottom:15px}
.mli-detail-modal__body .mli-detail-section h4{font-size:14.5px;margin-bottom:10px}
.mli-detail-modal__body .mli-pitcher-line{font-size:12.5px;margin-bottom:10px}
.mli-detail-modal__body .mli-player-name strong,
.mli-detail-modal__body .mli-player-name b{font-size:13.5px}
.mli-detail-modal__body .mli-player-name small{font-size:11px}
.mli-detail-modal__body .mli-player-name--pitcher strong{font-size:13.5px}
.mli-detail-modal__body .mli-lineup-list li{min-height:40px;padding:8px 11px}
.mli-detail-modal__body .mli-lineup-list b{width:25px;height:25px;font-size:11px}
.mli-detail-modal__body .mli-lineup-list .mli-player-name strong{font-size:13px}
.mli-detail-modal__body .mli-lineup-list .mli-player-name small{font-size:10.5px}
.mli-detail-modal__body .mli-lineup-list em{font-size:11px}
.mli-detail-modal__body .mli-section-note{font-size:11.5px;line-height:1.65}
.mli-detail-modal__body .mli-injury-freshness{font-size:11.5px;line-height:1.6}
.mli-detail-modal__body .mli-injury-list strong{font-size:13px}
.mli-detail-modal__body .mli-injury-list small{font-size:11.5px;line-height:1.6}
.mli-detail-modal__body .mli-impact{min-width:62px;padding:5px 8px;font-size:10px}
.mli-detail-modal__body .mli-metric-box dt{font-size:11.5px}
.mli-detail-modal__body .mli-metric-box dd{font-size:12.5px}
.mli-detail-modal__body .mli-weather-grid span{font-size:11px}
.mli-detail-modal__body .mli-weather-grid strong{font-size:13px}
.mli-detail-modal__body .mli-transaction-list time{font-size:11px}
.mli-detail-modal__body .mli-transaction-list strong,
.mli-detail-modal__body .mli-transaction-list span{font-size:12.5px}
.mli-detail-modal__body .mli-transaction-list small{font-size:11px;line-height:1.55}
.mli-detail-modal__body .mli-timeline time{font-size:11px}
.mli-detail-modal__body .mli-timeline strong{font-size:13px}
.mli-detail-modal__body .mli-timeline p{font-size:11.5px;line-height:1.6}
.mli-detail-modal__body .mli-empty-mini{font-size:11.5px}

.mli-warning-list{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:9px}
.mli-warning-item{display:grid;grid-template-columns:58px minmax(0,1fr);gap:11px;padding:11px 12px;border:1px solid #e8edf3;border-radius:11px;background:#fafbfd}
.mli-warning-item--critical,.mli-warning-item--high{border-color:#f4c9c2;background:#fff7f5}
.mli-warning-item--medium{border-color:#eed7ad;background:#fffaf1}
.mli-warning-level{align-self:start;padding:4px 7px;border-radius:999px;background:#eef2f6;color:#526174;font-size:10px;font-weight:900;text-align:center}
.mli-warning-item--critical .mli-warning-level,.mli-warning-item--high .mli-warning-level{background:#ffe8e4;color:#b42318}
.mli-warning-item--medium .mli-warning-level{background:#fff0d4;color:#a15c05}
.mli-warning-item strong{display:block;color:#243247;font-size:13px}
.mli-warning-item p{margin:4px 0 0;color:#66768a;font-size:11.5px;line-height:1.6}
.mli-warning-item small{display:block;margin-top:5px;color:#96a0ad;font-size:10.5px}

@media(max-width:768px){
  .mli-team-panel__title strong{font-size:13.5px}
  .mli-info-row span{font-size:12px}
  .mli-info-row strong{font-size:12.5px}
  .mli-detail-modal__body .mli-detail-section{padding:14px}
  .mli-detail-modal__body .mli-detail-section h3{font-size:16px}
  .mli-detail-rule-button{padding:6px 9px;font-size:11px}
  .mli-warning-item{grid-template-columns:52px minmax(0,1fr)}
}


/* V2.6.4：每個分頁自己的判斷規則；固定 Modal 尺寸避免完整傷兵切換位移 */
.mli-detail-modal__dialog{
    height:min(780px, 88vh);
    max-height:88vh;
}
.mli-detail-modal__body{
    flex:1 1 auto;
    min-height:0;
    overflow-y:scroll;
    scrollbar-gutter:stable;
}
.mli-detail-modal__head,
.mli-detail-modal__nav{
    flex:0 0 auto;
}
.mli-detail-modal__body .mli-section-title-row{
    display:flex;
    align-items:center;
    gap:8px;
    margin-bottom:15px;
}
.mli-detail-modal__body .mli-section-title-row .mli-help-button{
    flex:0 0 22px;
    width:22px;
    height:22px;
    font-size:12px;
}
.mli-detail-modal__body .mli-two-col > div,
.mli-detail-modal__body .mli-injury-list li > div{
    min-width:0;
}
.mli-detail-modal__body .mli-injury-list li{
    grid-template-columns:auto minmax(0,1fr);
}
.mli-detail-modal__body .mli-injury-list small{
    overflow-wrap:anywhere;
}
.mli-rule-help-content[hidden]{display:none!important}
.mli-rule-list{display:flex;flex-direction:column;gap:9px}
.mli-rule-list p{display:grid;grid-template-columns:130px minmax(0,1fr);gap:12px;margin:0;padding:10px 12px;border:1px solid #edf0f4;border-radius:10px;background:#fafbfd}
.mli-rule-list b{color:#1e2b3c;font-size:12px}
.mli-rule-list span{color:#657386;font-size:11.5px;line-height:1.65}
@media(max-width:768px){
    .mli-detail-modal__dialog{height:92vh;max-height:92vh}
    .mli-rule-list p{grid-template-columns:1fr;gap:4px}
}


/* V2.6.5：警示回到各自明細分頁 */
.mli-section-alerts{display:flex;flex-direction:column;gap:8px;margin:0 0 14px}
.mli-context-alert{display:grid;grid-template-columns:150px minmax(0,1fr);gap:10px;padding:10px 12px;border-radius:10px;border:1px solid #edf0f4;background:#fafbfd}
.mli-context-alert strong{font-size:12.5px;font-weight:900}
.mli-context-alert span{font-size:11.5px;line-height:1.55;color:#637184}
.mli-context-alert--critical,.mli-context-alert--high{border-color:#f0d7cf;background:#fff5f2}.mli-context-alert--critical strong,.mli-context-alert--high strong{color:#b42318}
.mli-context-alert--medium{border-color:#f0dfba;background:#fffaf0}.mli-context-alert--medium strong{color:#a15c05}
@media(max-width:640px){.mli-context-alert{grid-template-columns:1fr;gap:4px}.mli-context-alert strong{font-size:12px}.mli-context-alert span{font-size:11px}}


/* V2.6.6：牛棚／賽程狀態直接歸屬左右球隊；不再使用不分球隊的整列提示 */
.mli-metric-box__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding-bottom:9px;
  margin-bottom:2px;
  border-bottom:1px solid #edf0f4;
}
.mli-metric-box__head h4{
  margin:3px 0 0;
  flex:0 0 auto;
}
.mli-team-state-badges{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:6px;
}
.mli-team-state-badge{
  display:inline-flex;
  align-items:center;
  gap:5px;
  min-height:27px;
  padding:3px 8px;
  border:1px solid #e3e8ef;
  border-radius:999px;
  background:#f8fafc;
  white-space:nowrap;
}
.mli-team-state-badge b{
  color:#778397;
  font-size:10.5px;
  font-weight:800;
}
.mli-team-state-badge strong{
  color:#102033;
  font-size:11px;
  font-weight:900;
}
@media(max-width:760px){
  .mli-metric-box__head{display:block}
  .mli-team-state-badges{justify-content:flex-start;margin-top:8px}
}


/* V2.6.7：對戰標題沿用「MLB 數據對決」正式 30 隊 thumb WebP LOGO；不增加卡片表頭高度 */
.mli-matchup-team{
  position:relative;
  overflow:visible;
  min-width:0;
  height:30px;
  display:inline-flex;
  align-items:center;
  gap:7px;
  flex:0 1 auto;
}
.mli-matchup-logo{
  position:relative;
  z-index:2;
  width:26px;
  height:26px;
  flex:0 0 26px;
  display:none;
  object-fit:contain;
  vertical-align:middle;
}
.mli-matchup-logo.is-loaded{display:block}
@media(max-width:560px){
  .mli-matchup{gap:9px}
  .mli-matchup-team{height:26px;gap:5px}
  .mli-matchup-logo{width:22px;height:22px;flex-basis:22px}
}


/* V2.6.9：對戰 LOGO 再放大至接近表頭高度；維持原本表頭高度 */
.mli-matchup-team--away .mli-matchup-logo{
  transform:scale(1.58);
  transform-origin:center;
  margin-right:2px;
}
.mli-matchup-team--home .mli-matchup-logo{
  transform:scale(1.58);
  transform-origin:center;
  margin-left:2px;
}
.mli-matchup-team--home{
  flex-direction:row;
}
@media(max-width:560px){
  .mli-matchup-team--away .mli-matchup-logo,
  .mli-matchup-team--home .mli-matchup-logo{
    transform:scale(1.46);
  }
}

/* V2.7.0：放大 LOGO 後重新校正 LOGO 與隊名的視覺間距；不改表頭高度 */
.mli-matchup-team{
  gap:13px;
}
.mli-matchup-team--away .mli-matchup-logo{
  margin-right:0;
}
.mli-matchup-team--home .mli-matchup-logo{
  margin-left:0;
}
@media(max-width:560px){
  .mli-matchup-team{
    gap:10px;
  }
}

/* V2.7.1｜Mobile only：統計 1×4、客主隊摘要卡左右並排；PC 完全不動 */
@media(max-width:900px){
  /* 上方 4 個統計維持單一橫列 */
  .mli-summary{
    grid-template-columns:repeat(4,minmax(0,1fr));
    padding:0;
  }
  .mli-summary__item{
    min-width:0;
    padding:12px 6px 13px;
    text-align:center;
    border-top:0 !important;
  }
  .mli-summary__item + .mli-summary__item{
    border-left:1px solid #edf0f4;
  }
  .mli-summary__item:nth-child(3),
  .mli-summary__item:nth-child(4){
    border-top:0 !important;
  }
  .mli-summary__item span{
    font-size:10px;
    line-height:1.25;
    white-space:nowrap;
  }
  .mli-summary__item strong{
    margin-top:5px;
    font-size:21px;
  }
  .mli-summary__item small{
    font-size:9px;
  }
  .mli-summary__status{
    font-size:13px !important;
    white-space:nowrap;
  }

  /* 每場客隊 / 主隊摘要卡維持左右並排 */
  .mli-team-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
    padding:11px 10px;
  }
  .mli-team-panel{
    min-width:0;
    border-radius:10px;
  }
  .mli-team-panel__title{
    min-height:37px;
    padding:8px 8px;
    gap:5px;
  }
  .mli-team-panel__title span{
    flex:0 0 auto;
    font-size:9.5px;
  }
  .mli-team-panel__title strong{
    min-width:0;
    font-size:11.5px;
    line-height:1.2;
    text-align:right;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .mli-info-row{
    min-height:43px;
    padding:7px 8px;
    gap:5px;
  }
  .mli-info-row > span{
    flex:0 0 auto;
    font-size:9.5px;
    white-space:nowrap;
  }
  .mli-info-row > strong{
    min-width:0;
    font-size:10.5px;
    line-height:1.25;
    white-space:nowrap;
  }
  .mli-team-panel .mli-player-name--inline{
    min-width:0;
    max-width:62%;
    text-align:right;
  }
  .mli-team-panel .mli-player-name--inline strong{
    display:block;
    overflow:hidden;
    font-size:10.5px;
    line-height:1.25;
    white-space:nowrap;
    text-overflow:ellipsis;
  }
  .mli-team-panel .mli-player-name--inline small{
    display:block;
    margin-top:2px;
    overflow:hidden;
    font-size:8px;
    line-height:1.2;
    white-space:nowrap;
    text-overflow:ellipsis;
  }
}

@media(max-width:560px){
  .mli-summary__item{
    padding:10px 3px 11px;
  }
  .mli-summary__item span{
    font-size:8.5px;
    letter-spacing:-.02em;
  }
  .mli-summary__item strong{
    font-size:18px;
  }
  .mli-summary__status{
    font-size:11px !important;
  }

  .mli-team-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:6px;
    padding:10px 8px;
  }
  .mli-team-panel__title{
    padding:7px 7px;
  }
  .mli-team-panel__title span{
    font-size:9px;
  }
  .mli-team-panel__title strong{
    font-size:10.5px;
  }
  .mli-info-row{
    min-height:42px;
    padding:7px 7px;
    gap:4px;
  }
  .mli-info-row > span{
    font-size:9px;
  }
  .mli-info-row > strong{
    font-size:10px;
  }
  .mli-team-panel .mli-player-name--inline{
    max-width:60%;
  }
  .mli-team-panel .mli-player-name--inline strong{
    font-size:10px;
  }
  .mli-team-panel .mli-player-name--inline small{
    font-size:7.5px;
  }
}


/* =========================================================
 * V2.7.2｜Hero 統一比照 MLB 先發投手近況日報
 * - 移除英文 kicker
 * - 日期改橘金膠囊
 * - PC / Mobile 同一視覺語言
 * - 保留即時更新與手動重新整理
 * ========================================================= */
.mli-hero__main{
    gap:22px;
    padding:22px 24px 18px;
}
.mli-title{
    font-size:29px;
}
.mli-subtitle{
    margin-top:7px;
    color:#7a8494;
    font-size:12.5px;
    line-height:1.65;
}
.mli-meta{
    gap:10px;
    margin-top:12px;
    color:#687386;
    font-size:12px;
    font-weight:700;
}
.mli-meta strong{
    color:#3d4a5e;
    font-weight:900;
}
.mli-meta__divider{
    width:1px;
    height:14px;
    background:#dde2e8;
}
.mli-date-mark{
    position:static;
    min-height:34px;
    padding:5px 12px 5px 10px;
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:#172033;
    background:linear-gradient(180deg,#fffaf1 0%,#fff3df 100%);
    border:1px solid #f1cb86;
    border-radius:999px;
    box-shadow:0 4px 12px rgba(245,154,35,.10);
}
.mli-date-mark:before{
    display:none;
}
.mli-date-mark span{
    min-height:20px;
    padding:0 7px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color:#b86a07;
    background:rgba(245,154,35,.12);
    border-radius:999px;
    font-size:9px;
    font-weight:900;
    letter-spacing:.08em;
    white-space:nowrap;
}
.mli-date-mark strong{
    color:#172033;
    font-size:15px;
    font-weight:900;
    letter-spacing:.015em;
}
.mli-hero__tools{
    gap:8px;
}
.mli-live-badge{
    min-height:30px;
    padding:5px 11px;
    font-size:11px;
}
.mli-refresh{
    height:32px;
    padding:0 12px;
    font-size:11px;
}

@media(max-width:767px){
    .mli-page{
        padding:78px 10px 36px;
    }
    .mli-hero{
        border-radius:15px;
    }
    .mli-hero__main{
        position:relative;
        display:block;
        padding:15px 14px 13px;
    }
    .mli-hero__main>div:first-child{
        min-width:0;
    }
    .mli-title{
        padding-right:88px;
        font-size:23px;
        line-height:1.18;
    }
    .mli-subtitle{
        margin-top:5px;
        padding-right:2px;
        font-size:11.5px;
        line-height:1.55;
    }
    .mli-meta{
        display:flex;
        align-items:center;
        justify-content:flex-start;
        gap:4px 10px;
        margin-top:9px;
        flex-wrap:wrap;
        font-size:10.5px;
    }
    .mli-date-mark{
        min-height:30px;
        padding:4px 9px 4px 8px;
        gap:6px;
    }
    .mli-date-mark span{
        min-height:18px;
        padding:0 6px;
        font-size:8px;
    }
    .mli-date-mark strong{
        font-size:12.5px;
    }
    .mli-meta__divider{
        display:none;
    }
    .mli-hero__tools{
        position:static;
        width:100%;
        margin-top:9px;
        display:flex;
        align-items:center;
        justify-content:flex-start;
        flex-direction:row;
        gap:8px;
    }
    .mli-live-badge{
        min-height:27px;
        padding:4px 9px;
        font-size:10px;
    }
    .mli-refresh{
        height:29px;
        padding:0 10px;
        border-radius:8px;
        font-size:10px;
    }
}


/* ================================================================
   V2.7.3｜日期切換改為其他服務同款下拉選單
   ================================================================ */
.mli-date-tabs{display:none!important;}
.mli-history-select{
    height:32px;
    min-width:132px;
    padding:0 30px 0 10px;
    color:#425066;
    background:#fff;
    border:1px solid #d9e0e8;
    border-radius:8px;
    outline:none;
    font-size:12px;
    font-weight:700;
}
.mli-history-select:hover{
    border-color:#c7d0dc;
}
.mli-history-select:focus{
    border-color:#e9b96f;
    box-shadow:0 0 0 3px rgba(245,154,35,.08);
}
.mli-date-updated{
    color:#687386;
    font-size:12px;
    font-weight:700;
    white-space:nowrap;
}
@media(max-width:767px){
    .mli-date-updated{
        font-size:10.5px;
        font-weight:800;
    }
    .mli-history-select{
        width:100%;
        max-width:none;
        height:33px;
        margin-top:1px;
        flex:0 0 100%;
        font-size:11.5px;
    }
}


/* ================================================================
   V2.7.4｜Mobile 賽事日期完全比照 PitcherForm
   - PC 不動
   - 日期膠囊尺寸、字級、更新時間與下拉排列統一
   - 數據更新保留 YYYY-MM-DD HH:mm:ss 到秒
   ================================================================ */
@media(max-width:767px){
    .mli-meta{
        display:flex;
        align-items:center;
        justify-content:flex-start;
        gap:4px 10px;
        margin-top:9px;
        flex-wrap:wrap;
    }

    .mli-date-mark{
        min-width:0;
        min-height:30px;
        padding:4px 9px 4px 8px;
        display:inline-flex;
        align-items:center;
        gap:6px;
        font-size:10.5px;
        line-height:1.35;
        white-space:nowrap;
    }

    .mli-date-mark span{
        min-height:18px;
        padding:0 6px;
        display:inline-flex;
        align-items:center;
        justify-content:center;
        font-size:8px;
        font-weight:900;
        line-height:1;
    }

    .mli-date-mark strong{
        color:#172033;
        font-size:12.5px;
        font-weight:900;
        line-height:1.2;
    }

    .mli-date-updated{
        display:inline;
        min-width:0;
        color:#526074;
        font-size:10.5px;
        font-weight:800;
        line-height:1.35;
        white-space:nowrap;
        text-align:left;
    }

    .mli-date-updated strong{
        color:inherit;
        font-weight:inherit;
    }

    .mli-meta__divider{
        display:none;
    }

    .mli-history-select{
        width:100%;
        max-width:none;
        height:33px;
        margin-top:1px;
        flex:0 0 100%;
        font-size:11.5px;
    }
}


/* ================================================================
   V2.7.5｜第一波 UX：警示說明、投打左右手、Timeline 球隊歸屬
   ================================================================ */
.mli-summary-help{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:17px;
    height:17px;
    margin-left:3px;
    padding:0;
    vertical-align:middle;
    border:1px solid #e7c7bd;
    border-radius:50%;
    background:#fff;
    color:#b42318;
    font-size:10px;
    font-weight:900;
    line-height:1;
    cursor:pointer;
}
.mli-summary-help:hover{background:#fff6f3;border-color:#dfa99a}
.mli-pitcher-person{
    display:inline-flex;
    align-items:center;
    gap:7px;
    vertical-align:middle;
}
.mli-hand-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 auto;
    min-height:22px;
    padding:3px 7px;
    border:1px solid #dfe5ec;
    border-radius:999px;
    background:#f5f8fb;
    color:#526174;
    font-size:10px;
    font-style:normal;
    font-weight:900;
    line-height:1;
    white-space:nowrap;
}
.mli-lineup-list li{
    grid-template-columns:25px minmax(0,1fr) 92px;
}
.mli-lineup-meta{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:6px;
    min-width:0;
}
.mli-lineup-meta em{
    flex:0 0 auto;
    color:#8d98a8;
    font-size:10.5px;
    font-style:normal;
    font-weight:800;
}
.mli-lineup-meta .mli-hand-badge{
    min-height:21px;
    padding:3px 6px;
    font-size:9.5px;
}
.mli-timeline-team{
    display:inline-flex;
    align-items:center;
    min-height:22px;
    margin:0 7px 4px 0;
    padding:3px 7px;
    border:1px solid #e0e6ed;
    border-radius:999px;
    background:#f5f8fb;
    color:#536276;
    font-size:10.5px;
    font-weight:900;
    line-height:1;
}
.mli-detail-modal__body .mli-timeline-team{font-size:11px}

@media(max-width:900px){
    .mli-summary-help{width:15px;height:15px;font-size:9px;margin-left:1px}
}
@media(max-width:560px){
    .mli-lineup-list li{grid-template-columns:24px minmax(0,1fr) 78px;gap:6px}
    .mli-lineup-meta{gap:4px}
    .mli-lineup-meta em{font-size:9.5px}
    .mli-lineup-meta .mli-hand-badge{min-height:19px;padding:2px 5px;font-size:8.5px}
    .mli-pitcher-person{gap:5px}
    .mli-hand-badge{min-height:20px;padding:3px 6px;font-size:9px}
}


/* ================================================================
   V2.8.0｜第二波：球場風向、牛棚局數、台灣時間
   ================================================================ */
.mli-weather-grid .mli-weather-wind{
    min-width:0;
}
.mli-weather-grid .mli-weather-wind small{
    display:block;
    margin-top:4px;
    color:#8a95a5;
    font-size:10px;
    font-weight:700;
    line-height:1.45;
    overflow-wrap:anywhere;
}
.mli-wind-result{
    display:inline-flex!important;
    align-items:center;
    width:auto!important;
    min-height:24px;
    padding:3px 8px;
    border-radius:999px;
    font-weight:900!important;
}
.mli-wind-result--out{
    color:#b65d00!important;
    background:#fff3df;
    border:1px solid #f3cf91;
}
.mli-wind-result--in{
    color:#2563a8!important;
    background:#eef6ff;
    border:1px solid #cfe2f7;
}
.mli-wind-result--cross{
    color:#5d6470!important;
    background:#f3f5f7;
    border:1px solid #dfe4e9;
}
.mli-wind-result--indoor{
    color:#59677a!important;
    background:#f3f6f9;
    border:1px solid #dde4eb;
}
.mli-wind-result--unknown{
    color:#7c8796!important;
    background:#f7f8fa;
    border:1px dashed #d8dee5;
}
.mli-game-time strong{
    line-height:1.35;
}
@media(max-width:767px){
    .mli-weather-grid .mli-weather-wind small{
        font-size:9.5px;
    }
    .mli-wind-result{
        min-height:22px;
        padding:2px 7px;
    }
}

/* End V2.8.0 */


/* ================================================================
   V2.9.0｜今日陣容影響 + MLB 官方 Depth Chart
   ================================================================ */
.mli-depth-chart-note{
    display:block;
    margin-top:3px;
    color:#8a96a5;
    font-size:10px;
    font-weight:700;
    line-height:1.35;
}
.mli-depth-inline{
    display:block!important;
    margin:2px 0 3px;
    color:#78879a!important;
    font-size:10px!important;
    font-weight:800;
}
.mli-catcher-compare{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    margin:8px 0 10px;
}
.mli-catcher-compare>div{
    min-width:0;
    padding:9px 10px;
    border:1px solid #e1e7ed;
    border-radius:10px;
    background:#f8fafc;
}
.mli-catcher-compare span{
    display:block;
    margin-bottom:4px;
    color:#7f8b99;
    font-size:10px;
    font-weight:800;
}
.mli-catcher-compare strong{
    display:block;
    overflow:hidden;
    color:#172334;
    font-size:12px;
    font-weight:900;
    line-height:1.35;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.mli-catcher-compare small{
    display:block;
    margin-top:3px;
    color:#94a0ad;
    font-size:9px;
    font-weight:700;
}
.mli-roster-impact-list .mli-impact--info{
    color:#607083;
    border-color:#dce3ea;
    background:#f3f6f9;
}
.mli-roster-impact-list>li>div>small:last-child{
    line-height:1.45;
}
@media(max-width:767px){
    .mli-catcher-compare{
        gap:6px;
    }
    .mli-catcher-compare>div{
        padding:8px;
    }
    .mli-catcher-compare strong{
        font-size:11px;
    }
    .mli-depth-chart-note{
        font-size:9px;
    }
}
/* End V2.9.0 */


/* ================================================================
   V2.10.0｜可開闔式球場當日屋頂
   ================================================================ */
.mli-weather-roof-note{
    display:block;
    margin-top:4px;
    color:#8a95a5;
    font-size:10px;
    font-weight:700;
    line-height:1.45;
}
@media(max-width:767px){
    .mli-weather-roof-note{
        font-size:9.5px;
    }
}
/* End V2.10.0 */


/* ================================================================
   V2.11.0｜高負荷關鍵後援名單
   ================================================================ */
.mli-bullpen-key-names{
    display:block;
    margin-top:3px;
    color:#8a95a5;
    font-size:9px;
    font-weight:700;
    line-height:1.35;
}
@media(max-width:767px){
    .mli-bullpen-key-names{
        font-size:8.5px;
    }
}
/* End V2.11.0 */


/* ================================================================
   V2.12.0｜投捕搭配歷史
   ================================================================ */
.mli-battery-box{
    margin:8px 0 10px;
    padding:9px 10px;
    border:1px solid #e1e7ed;
    border-radius:10px;
    background:#f8fafc;
}
.mli-battery-box__head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    margin-bottom:5px;
}
.mli-battery-box__head span{
    color:#7f8b99;
    font-size:10px;
    font-weight:900;
}
.mli-battery-box__head strong{
    display:inline-flex;
    align-items:center;
    min-height:22px;
    padding:2px 8px;
    border-radius:999px;
    color:#5f6c7c;
    background:#edf1f5;
    font-size:10px;
    font-weight:900;
}
.mli-battery-box--usual .mli-battery-box__head strong{
    color:#28714c;
    background:#eaf7ef;
}
.mli-battery-box--familiar .mli-battery-box__head strong{
    color:#476b8a;
    background:#edf5fb;
}
.mli-battery-box--uncommon .mli-battery-box__head strong{
    color:#9b5b00;
    background:#fff2dc;
}
.mli-battery-box p{
    margin:3px 0;
    color:#3d4a59;
    font-size:10.5px;
    font-weight:700;
    line-height:1.45;
}
.mli-battery-box p b{
    color:#172334;
    font-weight:900;
}
.mli-battery-box>small{
    display:block;
    margin-top:5px;
    color:#8793a1;
    font-size:9.5px;
    font-weight:700;
    line-height:1.45;
}
@media(max-width:767px){
    .mli-battery-box{
        padding:8px 9px;
    }
    .mli-battery-box p{
        font-size:10px;
    }
    .mli-battery-box>small{
        font-size:9px;
    }
}
/* End V2.12.0 */


/* ================================================================
   V2.13.0｜左右投打實際對位
   ================================================================ */
.mli-handed-matchup{
    margin:8px 0 10px;
    padding:9px 10px;
    border:1px solid #e1e7ed;
    border-radius:10px;
    background:#fbfcfd;
}
.mli-handed-matchup__head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    margin-bottom:5px;
}
.mli-handed-matchup__head span{
    color:#7f8b99;
    font-size:10px;
    font-weight:900;
}
.mli-handed-matchup__head strong{
    display:inline-flex;
    align-items:center;
    min-height:22px;
    padding:2px 8px;
    border-radius:999px;
    color:#5f6c7c;
    background:#edf1f5;
    font-size:10px;
    font-weight:900;
}
.mli-handed-matchup--advantage .mli-handed-matchup__head strong,
.mli-handed-matchup--strong_advantage .mli-handed-matchup__head strong{
    color:#28714c;
    background:#eaf7ef;
}
.mli-handed-matchup--disadvantage .mli-handed-matchup__head strong,
.mli-handed-matchup--strong_disadvantage .mli-handed-matchup__head strong{
    color:#a04c3f;
    background:#fff0ed;
}
.mli-handed-matchup p{
    margin:3px 0;
    color:#3d4a59;
    font-size:10.5px;
    font-weight:700;
    line-height:1.45;
}
.mli-handed-matchup p b{
    color:#172334;
    font-weight:900;
}
.mli-handed-matchup>small{
    display:block;
    margin-top:5px;
    color:#8793a1;
    font-size:9.5px;
    font-weight:700;
    line-height:1.45;
}
.mli-handed-matchup__pitcher em{
    margin-left:5px;
    color:#8b6500;
    font-style:normal;
    font-weight:900;
}
.mli-hand-split-note{
    display:block;
    margin-top:2px;
    font-size:8.8px;
    font-weight:800;
    line-height:1.35;
}
.mli-hand-split-note--strong_advantage,
.mli-hand-split-note--advantage{
    color:#2f7d54;
}
.mli-hand-split-note--strong_disadvantage,
.mli-hand-split-note--disadvantage{
    color:#a95549;
}
.mli-hand-split-note--neutral,
.mli-hand-split-note--small_sample,
.mli-hand-split-note--unknown{
    color:#8995a2;
}
@media(max-width:767px){
    .mli-handed-matchup{
        padding:8px 9px;
    }
    .mli-handed-matchup p{
        font-size:10px;
    }
    .mli-handed-matchup>small{
        font-size:9px;
    }
    .mli-hand-split-note{
        font-size:8.5px;
    }
}
/* End V2.13.0 */


/* ================================================================
   V2.14.0｜簡化風勢影響模型
   ================================================================ */
.mli-wind-impact-badge{
    display:inline-flex;
    align-items:center;
    min-height:24px;
    padding:3px 9px;
    border-radius:999px;
    background:#edf1f5;
    color:#5f6c7c;
    font-size:10.5px;
    font-weight:900;
    line-height:1.2;
}
.mli-wind-impact-badge--minimal,
.mli-wind-impact-badge--limited,
.mli-wind-impact-badge--none,
.mli-wind-impact-badge--cross,
.mli-wind-impact-badge--unknown{
    background:#edf1f5;
    color:#697685;
}
.mli-wind-impact-badge--slight,
.mli-wind-impact-badge--positive_slight{
    background:#edf7f1;
    color:#3a7757;
}
.mli-wind-impact-badge--moderate,
.mli-wind-impact-badge--positive_moderate,
.mli-wind-impact-badge--positive_strong{
    background:#e7f5ec;
    color:#246f49;
}
.mli-wind-impact-badge--negative_slight{
    background:#fff4e9;
    color:#9a650d;
}
.mli-wind-impact-badge--negative_moderate,
.mli-wind-impact-badge--negative_strong{
    background:#fff0ed;
    color:#a34d41;
}
.mli-wind-impact-badge--strong{
    background:#eef2ff;
    color:#485c94;
}
.mli-wind-impact-badge--conditional{
    background:#fff7e3;
    color:#8a650f;
}
.mli-weather-wind-impact-detail{
    grid-column:1 / -1;
}
.mli-weather-wind-impact-detail strong{
    display:block;
    color:#334152;
    font-size:10.5px;
    font-weight:800;
    line-height:1.5;
}
.mli-weather-wind-impact-detail small{
    display:block;
    margin-top:4px;
    color:#9a650d;
    font-size:9.5px;
    font-weight:800;
    line-height:1.45;
}
@media(max-width:767px){
    .mli-wind-impact-badge{
        min-height:22px;
        padding:2px 7px;
        font-size:10px;
    }
    .mli-weather-wind-impact-detail strong{
        font-size:10px;
    }
    .mli-weather-wind-impact-detail small{
        font-size:9px;
    }
}
/* End V2.14.0 */


/* ================================================================
   V2.15.0｜降雨時間軸
   ================================================================ */
.mli-rain-timing-card{
    grid-column:1 / -1;
    padding:10px 11px !important;
    border:1px solid #e1e7ed !important;
    border-radius:10px;
    background:#f8fafc;
}
.mli-rain-timing-card__head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
}
.mli-rain-timing-card__head>span{
    color:#7f8b99;
    font-size:10px;
    font-weight:900;
}
.mli-rain-timing-card__head>strong{
    display:inline-flex;
    align-items:center;
    min-height:22px;
    padding:2px 8px;
    border-radius:999px;
    background:#edf1f5;
    color:#5f6c7c;
    font-size:10px;
    font-weight:900;
}
.mli-rain-timing-card--watch .mli-rain-timing-card__head>strong{
    background:#fff5dd;
    color:#8a650f;
}
.mli-rain-timing-card--high .mli-rain-timing-card__head>strong{
    background:#fff0ed;
    color:#a34d41;
}
.mli-rain-timing-card__times{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:6px;
    margin-top:8px;
}
.mli-rain-timing-card__times>div{
    padding:7px 8px;
    border-radius:8px;
    background:#ffffff;
    border:1px solid #edf0f3;
}
.mli-rain-timing-card__times span{
    display:block;
    color:#8a95a3;
    font-size:8.5px;
    font-weight:800;
}
.mli-rain-timing-card__times b{
    display:block;
    margin-top:2px;
    color:#263442;
    font-size:10px;
    font-weight:900;
}
.mli-rain-timing-card p{
    margin:7px 0 0;
    color:#465464;
    font-size:10px;
    font-weight:750;
    line-height:1.5;
}
.mli-rain-timing-card>small{
    display:block;
    margin-top:5px;
    color:#8995a2;
    font-size:9px;
    font-weight:700;
    line-height:1.4;
}
@media(max-width:767px){
    .mli-rain-timing-card{
        padding:9px !important;
    }
    .mli-rain-timing-card__times{
        gap:4px;
    }
    .mli-rain-timing-card__times>div{
        padding:6px;
    }
    .mli-rain-timing-card p{
        font-size:9.5px;
    }
}
/* End V2.15.0 */


/* ================================================================
   V2.18.0｜先發投手 / 先發打線拆頁 + 投手提示卡重整
   ================================================================ */
.mli-detail-section--starter .mli-section-title-row,
.mli-detail-section--lineup .mli-section-title-row{
    margin-bottom:16px;
}
.mli-starter-grid{
    align-items:start;
}
.mli-starter-team{
    min-width:0;
}
.mli-starter-team__head,
.mli-lineup-team-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin:0 0 10px;
}
.mli-starter-team__head span,
.mli-lineup-team-head>div>span{
    display:block;
    margin-bottom:2px;
    color:#9aa4b1;
    font-size:10px;
    font-weight:900;
}
.mli-starter-team__head h4,
.mli-lineup-team-head h4{
    margin:0!important;
    color:#1d2b3e!important;
    font-size:14.5px!important;
}
.mli-starter-profile{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    min-height:72px;
    margin-bottom:10px;
    padding:12px 14px;
    border:1px solid #e2e8ef;
    border-radius:12px;
    background:linear-gradient(180deg,#fbfcfe 0%,#f7f9fc 100%);
}
.mli-starter-profile__label{
    flex:0 0 auto;
    color:#7f8c9d;
    font-size:10.5px;
    font-weight:900;
}
.mli-starter-profile__person{
    min-width:0;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:8px;
    text-align:right;
}
.mli-starter-profile__person .mli-player-name{
    align-items:flex-end;
}
.mli-starter-profile__person .mli-player-name strong{
    color:#152337;
    font-size:15px!important;
}
.mli-starter-profile__person .mli-player-name small{
    font-size:10.5px!important;
}
.mli-starter-profile__waiting{
    color:#9aa4b1;
    font-size:13px;
}
.mli-starter-insights{
    display:flex;
    flex-direction:column;
    gap:9px;
}
.mli-starter-insight{
    display:grid;
    grid-template-columns:34px minmax(0,1fr);
    gap:10px;
    padding:11px 12px;
    border:1px solid #e4e9ef;
    border-radius:12px;
    background:#fff;
}
.mli-starter-insight__icon{
    width:30px;
    height:30px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-top:1px;
    border-radius:9px;
    background:#f0f4f8;
    color:#56677b;
    font-size:11px;
    font-weight:900;
}
.mli-starter-insight--battery .mli-starter-insight__icon{
    background:#fff5e7;
    color:#a96712;
}
.mli-starter-insight--usual .mli-starter-insight__icon,
.mli-starter-insight--familiar .mli-starter-insight__icon{
    background:#edf7f1;
    color:#2f7651;
}
.mli-starter-insight--uncommon{
    border-color:#efd8af;
    background:#fffaf2;
}
.mli-starter-insight--uncommon .mli-starter-insight__icon{
    background:#fff0d4;
    color:#9a5a09;
}
.mli-starter-insight__body{
    min-width:0;
}
.mli-starter-insight__head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:9px;
    margin-bottom:5px;
}
.mli-starter-insight__head>span{
    color:#536276;
    font-size:11px;
    font-weight:900;
}
.mli-starter-insight__head>strong{
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    min-height:22px;
    padding:2px 8px;
    border-radius:999px;
    background:#eef2f6;
    color:#5e6d80;
    font-size:9.5px;
    font-weight:900;
}
.mli-starter-insight--usual .mli-starter-insight__head>strong,
.mli-starter-insight--familiar .mli-starter-insight__head>strong{
    background:#eaf7ef;
    color:#28714c;
}
.mli-starter-insight--uncommon .mli-starter-insight__head>strong,
.mli-starter-insight__head>.mli-starter-insight__badge--warn{
    background:#fff0d4;
    color:#995b08;
}
.mli-starter-insight p{
    margin:2px 0;
    color:#334155;
    font-size:11.5px;
    line-height:1.5;
}
.mli-starter-insight p b{
    color:#172334;
    font-weight:900;
}
.mli-starter-insight__meta{
    color:#667589!important;
    font-size:10.5px!important;
}
.mli-starter-insight__body>small{
    display:block;
    margin-top:5px;
    color:#8a96a5;
    font-size:10px;
    line-height:1.45;
}
.mli-starter-split-values{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
    margin:7px 0 2px;
}
.mli-starter-split-values>span{
    padding:7px 8px;
    border:1px solid #edf0f4;
    border-radius:9px;
    background:#f8fafc;
}
.mli-starter-split-values small{
    display:block;
    color:#8a95a4;
    font-size:9px;
    font-weight:800;
}
.mli-starter-split-values b{
    display:block;
    margin-top:2px;
    color:#223149;
    font-size:13px;
    font-weight:900;
}
.mli-lineup-team-head>strong{
    display:inline-flex;
    align-items:center;
    min-height:24px;
    padding:3px 8px;
    border-radius:999px;
    font-size:9.5px;
    font-weight:900;
}
.mli-lineup-team-head>strong.is-confirmed{
    color:#28714c;
    background:#eaf7ef;
}
.mli-lineup-team-head>strong.is-waiting{
    color:#748195;
    background:#eef2f6;
}
.mli-lineup-matchup-summary{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:7px 12px;
    margin:0 0 10px;
    padding:9px 10px;
    border:1px solid #e4e9ef;
    border-radius:10px;
    background:#fafbfd;
}
.mli-lineup-matchup-summary>div{
    min-width:0;
}
.mli-lineup-matchup-summary span{
    display:block;
    color:#8b97a6;
    font-size:9px;
    font-weight:800;
}
.mli-lineup-matchup-summary strong{
    display:block;
    margin-top:2px;
    color:#334155;
    font-size:11px;
    font-weight:900;
    overflow-wrap:anywhere;
}
.mli-lineup-matchup-summary>small{
    grid-column:1 / -1;
    display:block;
    color:#8793a2;
    font-size:9.5px;
    line-height:1.4;
}
.mli-detail-modal__nav button[data-mli-modal-section="starter"],
.mli-detail-modal__nav button[data-mli-modal-section="lineup"]{
    font-weight:900;
}
@media(max-width:768px){
    .mli-starter-profile{
        min-height:64px;
        padding:10px 11px;
    }
    .mli-starter-profile__person .mli-player-name strong{
        font-size:13.5px!important;
    }
    .mli-starter-insight{
        grid-template-columns:30px minmax(0,1fr);
        gap:8px;
        padding:9px 10px;
    }
    .mli-starter-insight__icon{
        width:27px;
        height:27px;
        border-radius:8px;
        font-size:10px;
    }
    .mli-starter-insight p{
        font-size:10.5px;
    }
    .mli-starter-insight__meta,
    .mli-starter-insight__body>small{
        font-size:9.5px!important;
    }
    .mli-lineup-matchup-summary{
        padding:8px 9px;
    }
}
/* End V2.18.0 */


/* ================================================================
   V2.18.1｜先發投手可讀性重整
   ================================================================ */

/* 整個球隊區塊改成真正的內容卡，不再散落在白底上 */
.mli-detail-section--starter .mli-starter-team{
    padding:14px;
    border:1px solid #dfe6ee;
    border-radius:14px;
    background:#fbfcfe;
}
.mli-detail-section--starter .mli-starter-team__head{
    margin-bottom:8px;
    padding:0 2px 8px;
    border-bottom:1px solid #e9edf2;
}
.mli-detail-section--starter .mli-starter-team__head span{
    margin:0;
    color:#98a3b0;
    font-size:10px;
}
.mli-detail-section--starter .mli-starter-team__head h4{
    font-size:15px!important;
    font-weight:950!important;
}

/* 先發身份區：縮掉不必要高度，讓投手姓名成為第一視覺 */
.mli-detail-section--starter .mli-starter-profile{
    min-height:auto;
    margin:0 0 10px;
    padding:10px 11px;
    border:0;
    border-radius:10px;
    background:#f2f6fa;
}
.mli-detail-section--starter .mli-starter-profile__label{
    color:#7c8999;
    font-size:10px;
}
.mli-detail-section--starter .mli-starter-profile__person .mli-player-name strong{
    color:#12223a;
    font-size:15px!important;
    font-weight:950!important;
}
.mli-detail-section--starter .mli-starter-profile__person .mli-player-name small{
    margin-top:1px;
    color:#8491a0;
}

/* 提示卡層級 */
.mli-detail-section--starter .mli-starter-insights{
    gap:8px;
}
.mli-detail-section--starter .mli-starter-insight{
    grid-template-columns:32px minmax(0,1fr);
    gap:9px;
    padding:10px 11px;
    border-color:#e0e6ed;
    border-radius:11px;
    box-shadow:0 1px 0 rgba(16,35,58,.02);
}
.mli-detail-section--starter .mli-starter-insight__icon{
    width:30px;
    height:30px;
    border-radius:9px;
    font-size:11px;
}
.mli-detail-section--starter .mli-starter-insight__head{
    margin-bottom:7px;
}
.mli-detail-section--starter .mli-starter-insight__head>span{
    color:#38495d;
    font-size:11.5px;
    font-weight:950;
}
.mli-detail-section--starter .mli-starter-insight__head>strong{
    min-height:23px;
    padding:3px 9px;
    font-size:9.5px;
}

/* 慣用=綠；有搭配經驗=藍灰；少見=橘 */
.mli-detail-section--starter .mli-starter-insight--usual{
    border-color:#d7eadf;
    background:#fbfefc;
}
.mli-detail-section--starter .mli-starter-insight--usual .mli-starter-insight__icon{
    background:#e8f6ee;
    color:#28714c;
}
.mli-detail-section--starter .mli-starter-insight--usual .mli-starter-insight__head>strong{
    background:#e8f6ee;
    color:#28714c;
}
.mli-detail-section--starter .mli-starter-insight--familiar{
    border-color:#dce6f1;
    background:#fcfdff;
}
.mli-detail-section--starter .mli-starter-insight--familiar .mli-starter-insight__icon{
    background:#edf3fa;
    color:#526f91;
}
.mli-detail-section--starter .mli-starter-insight--familiar .mli-starter-insight__head>strong{
    background:#edf3fa;
    color:#526f91;
}
.mli-detail-section--starter .mli-starter-insight--uncommon{
    border-color:#edd7ae;
    background:#fffaf3;
}

/* 今日捕手單獨一行 */
.mli-battery-current{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-bottom:8px;
}
.mli-battery-current>span{
    color:#8390a0;
    font-size:10px;
    font-weight:850;
}
.mli-battery-current>strong{
    color:#18283d;
    font-size:12px;
    font-weight:950;
    text-align:right;
}
.mli-battery-current>strong.is-waiting{
    color:#9aa4b1;
}

/* 3 個數值直接橫排，避免句子重複 */
.mli-battery-stats{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:6px;
}
.mli-battery-stats>div{
    min-width:0;
    padding:7px 8px;
    border:1px solid #edf0f4;
    border-radius:8px;
    background:#f8fafc;
}
.mli-battery-stats span{
    display:block;
    color:#8b97a5;
    font-size:8.5px;
    font-weight:800;
}
.mli-battery-stats strong{
    display:block;
    margin-top:2px;
    color:#25364c;
    font-size:11.5px;
    font-weight:950;
    white-space:nowrap;
}
.mli-battery-note{
    margin-top:7px!important;
    padding-top:7px;
    border-top:1px dashed #e2e7ed;
    color:#788597!important;
    font-size:9.5px!important;
}

/* 左右打數據提升可讀性 */
.mli-detail-section--starter .mli-starter-split-values{
    gap:6px;
    margin-top:4px;
}
.mli-detail-section--starter .mli-starter-split-values>span{
    padding:8px 9px;
    background:#f5f8fb;
}
.mli-detail-section--starter .mli-starter-split-values small{
    color:#7f8c9d;
    font-size:9px;
}
.mli-detail-section--starter .mli-starter-split-values b{
    margin-top:3px;
    color:#18283d;
    font-size:14px;
}

/* 先發投手 ? 說明：改成卡片式，不再是一整坨密集文字 */
.mli-rule-help-content[data-mli-help-content="starter"] .mli-starter-help-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px;
}
.mli-rule-help-content[data-mli-help-content="starter"] .mli-starter-help-grid>p{
    display:block;
    margin:0;
    padding:12px 13px;
    border:1px solid #e2e7ed;
    border-radius:11px;
    background:#fafbfd;
}
.mli-rule-help-content[data-mli-help-content="starter"] .mli-starter-help-grid>p:last-child{
    grid-column:1 / -1;
}
.mli-rule-help-content[data-mli-help-content="starter"] .mli-starter-help-grid>p>b{
    display:inline-flex;
    align-items:center;
    min-height:23px;
    margin-bottom:7px;
    padding:3px 8px;
    border-radius:999px;
    background:#eef3f8;
    color:#35516f;
    font-size:10px;
    font-weight:950;
}
.mli-rule-help-content[data-mli-help-content="starter"] .mli-starter-help-grid>p>span{
    display:block;
    color:#526174;
    font-size:11px;
    line-height:1.65;
}

@media(max-width:768px){
    .mli-detail-section--starter .mli-starter-team{
        padding:10px;
    }
    .mli-battery-stats{
        grid-template-columns:repeat(3,minmax(0,1fr));
        gap:4px;
    }
    .mli-battery-stats>div{
        padding:6px;
    }
    .mli-battery-stats strong{
        font-size:10.5px;
    }
    .mli-rule-help-content[data-mli-help-content="starter"] .mli-starter-help-grid{
        grid-template-columns:1fr;
    }
    .mli-rule-help-content[data-mli-help-content="starter"] .mli-starter-help-grid>p:last-child{
        grid-column:auto;
    }
}
/* End V2.18.1 */


/* ================================================================
   V2.18.2｜先發投手：左右對照板
   完全跳脫舊的「卡片裡再塞卡片」結構
   ================================================================ */

.mli-detail-section--starter{
    --mli-starter-line:#e2e8ef;
    --mli-starter-soft:#f6f8fb;
    --mli-starter-navy:#10243f;
    --mli-starter-muted:#7d8998;
    --mli-starter-orange:#ef8c22;
}

/* 主容器只留一層 */
.mli-pitcher-board{
    overflow:hidden;
    border:1px solid var(--mli-starter-line);
    border-radius:16px;
    background:#fff;
}

/* 投手身份區 */
.mli-pitcher-board__head{
    display:grid;
    grid-template-columns:minmax(0,1fr) 64px minmax(0,1fr);
    align-items:stretch;
    background:linear-gradient(180deg,#fbfcfe 0%,#f7f9fc 100%);
    border-bottom:1px solid var(--mli-starter-line);
}
.mli-pitcher-head{
    min-width:0;
    padding:15px 18px 17px;
}
.mli-pitcher-head--home{
    text-align:right;
}
.mli-pitcher-head__team{
    display:flex;
    align-items:center;
    gap:8px;
    min-height:28px;
    margin-bottom:12px;
}
.mli-pitcher-head--home .mli-pitcher-head__team{
    justify-content:flex-end;
}
.mli-pitcher-head__side{
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:38px;
    height:22px;
    padding:0 7px;
    border-radius:999px;
    background:#e9eef5;
    color:#5f6f82;
    font-size:9px;
    font-weight:950;
}
.mli-pitcher-head__logo{
    width:28px;
    height:28px;
    object-fit:contain;
    opacity:0;
}
.mli-pitcher-head__logo.is-loaded{
    opacity:1;
}
.mli-pitcher-head__team>strong{
    min-width:0;
    color:var(--mli-starter-navy);
    font-size:13px;
    font-weight:950;
}
.mli-pitcher-head__person{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:12px;
}
.mli-pitcher-head--home .mli-pitcher-head__person{
    flex-direction:row-reverse;
}
.mli-pitcher-head__person>div{
    min-width:0;
}
.mli-pitcher-head__person span{
    display:block;
    margin-bottom:3px;
    color:#8b97a6;
    font-size:9px;
    font-weight:850;
}
.mli-pitcher-head__person h4{
    margin:0!important;
    color:#11233e!important;
    font-size:19px!important;
    font-weight:950!important;
    line-height:1.15!important;
}
.mli-pitcher-head__person small{
    display:block;
    margin-top:3px;
    color:#7d8998;
    font-size:10px;
    font-weight:750;
}
.mli-pitcher-head__person em{
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:24px;
    padding:0 9px;
    border-radius:999px;
    background:#edf3fa;
    color:#516d8c;
    font-size:9.5px;
    font-style:normal;
    font-weight:950;
}
.mli-pitcher-head__waiting{
    color:#98a3b0;
    font-size:13px;
    font-weight:850;
}
.mli-pitcher-board__vs{
    display:flex;
    align-items:center;
    justify-content:center;
    color:#b2bbc6;
    font-size:10px;
    font-weight:950;
    letter-spacing:.08em;
    border-left:1px solid var(--mli-starter-line);
    border-right:1px solid var(--mli-starter-line);
}

/* 每一列只是一條對照資料，不再做獨立大卡 */
.mli-pitcher-compare__row{
    display:grid;
    grid-template-columns:minmax(0,1fr) 118px minmax(0,1fr);
    min-height:122px;
}
.mli-pitcher-compare__row + .mli-pitcher-compare__row{
    border-top:1px solid var(--mli-starter-line);
}
.mli-pitcher-compare__cell{
    position:relative;
    min-width:0;
    padding:16px 18px;
}
.mli-pitcher-compare__cell:first-child{
    padding-right:24px;
}
.mli-pitcher-compare__cell:last-child{
    padding-left:24px;
    text-align:right;
}
.mli-pitcher-compare__label{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:3px;
    padding:10px;
    background:#f7f9fc;
    border-left:1px solid var(--mli-starter-line);
    border-right:1px solid var(--mli-starter-line);
    text-align:center;
}
.mli-pitcher-compare__label span{
    color:#2c405b;
    font-size:11px;
    font-weight:950;
}
.mli-pitcher-compare__label small{
    color:#99a3af;
    font-size:8.5px;
    font-weight:750;
}

/* 狀態膠囊靠上，不再另包框 */
.mli-pitcher-cell__status{
    margin-bottom:10px;
}
.mli-pitcher-compare__cell:last-child .mli-pitcher-cell__status{
    display:flex;
    justify-content:flex-end;
}
.mli-pitcher-cell__status>span{
    display:inline-flex;
    align-items:center;
    min-height:23px;
    padding:3px 9px;
    border-radius:999px;
    background:#edf2f7;
    color:#607186;
    font-size:9.5px;
    font-weight:950;
}
.mli-pitcher-compare__row--battery .mli-pitcher-compare__cell .mli-pitcher-cell__status>span{
    background:#edf4fa;
    color:#55708c;
}
.mli-pitcher-compare__row--split .mli-pitcher-cell__status>span{
    background:#fff1dc;
    color:#a56610;
}

/* 今日捕手：一句話直接讀 */
.mli-pitcher-cell__primary small{
    display:block;
    margin-bottom:3px;
    color:#8b97a6;
    font-size:9px;
    font-weight:800;
}
.mli-pitcher-cell__primary strong{
    display:block;
    color:#162941;
    font-size:13px;
    font-weight:950;
}
.mli-pitcher-cell__summary{
    margin:7px 0 0;
    color:#657487;
    font-size:10.5px;
    font-weight:750;
    line-height:1.5;
}
.mli-pitcher-cell__summary b{
    color:#18304f;
    font-size:12px;
    font-weight:950;
}
.mli-pitcher-cell__note{
    display:block;
    margin-top:7px;
    color:#929ca8;
    font-size:9px;
    line-height:1.45;
}

/* OPS 直接做成兩個大數字，不再小卡片套小卡片 */
.mli-pitcher-ops{
    display:flex;
    align-items:flex-end;
    gap:26px;
    margin-top:4px;
}
.mli-pitcher-compare__cell:last-child .mli-pitcher-ops{
    justify-content:flex-end;
}
.mli-pitcher-ops>div{
    min-width:76px;
}
.mli-pitcher-ops span{
    display:block;
    margin-bottom:3px;
    color:#8b97a6;
    font-size:9px;
    font-weight:800;
}
.mli-pitcher-ops strong{
    display:block;
    color:#10243f;
    font-size:25px;
    font-weight:950;
    line-height:1;
    letter-spacing:-.02em;
}

/* 全版共用的說明只留一行 */
.mli-pitcher-board__footnote{
    padding:10px 18px;
    border-top:1px solid var(--mli-starter-line);
    background:#fafbfd;
    color:#8995a3;
    font-size:9px;
    line-height:1.5;
    text-align:center;
}

/* ? 說明也改為無卡片堆疊的單純條列 */
.mli-rule-help-content[data-mli-help-content="starter"] .mli-starter-help-simple{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:0 24px;
}
.mli-rule-help-content[data-mli-help-content="starter"] .mli-starter-help-simple>div{
    padding:12px 0;
    border-bottom:1px solid #edf0f3;
}
.mli-rule-help-content[data-mli-help-content="starter"] .mli-starter-help-simple b{
    display:block;
    margin-bottom:5px;
    color:#1d334f;
    font-size:11px;
    font-weight:950;
}
.mli-rule-help-content[data-mli-help-content="starter"] .mli-starter-help-simple span{
    display:block;
    color:#5f6e80;
    font-size:10.5px;
    line-height:1.65;
}

@media(max-width:768px){
    .mli-pitcher-board__head{
        grid-template-columns:1fr;
    }
    .mli-pitcher-board__vs{
        display:none;
    }
    .mli-pitcher-head{
        padding:12px 13px;
    }
    .mli-pitcher-head--home{
        text-align:left;
        border-top:1px solid var(--mli-starter-line);
    }
    .mli-pitcher-head--home .mli-pitcher-head__team{
        justify-content:flex-start;
    }
    .mli-pitcher-head--home .mli-pitcher-head__person{
        flex-direction:row;
    }

    .mli-pitcher-compare__row{
        display:block;
        min-height:0;
    }
    .mli-pitcher-compare__label{
        padding:8px 12px;
        border-left:0;
        border-right:0;
        border-top:1px solid var(--mli-starter-line);
        border-bottom:1px solid var(--mli-starter-line);
    }
    .mli-pitcher-compare__cell{
        padding:12px 13px!important;
        text-align:left!important;
    }
    .mli-pitcher-compare__cell:last-child{
        border-top:1px dashed #e7ebf0;
    }
    .mli-pitcher-compare__cell:last-child .mli-pitcher-cell__status{
        justify-content:flex-start;
    }
    .mli-pitcher-compare__cell:last-child .mli-pitcher-ops{
        justify-content:flex-start;
    }
    .mli-pitcher-ops{
        gap:22px;
    }
    .mli-pitcher-ops strong{
        font-size:22px;
    }
    .mli-rule-help-content[data-mli-help-content="starter"] .mli-starter-help-simple{
        grid-template-columns:1fr;
        gap:0;
    }
}
/* End V2.18.2 */


/* ================================================================
   V2.18.3｜先發投手 Premium Comparison UI
   ================================================================ */

.mli-detail-section--starter{
    --sp-ink:#10243f;
    --sp-ink-2:#203754;
    --sp-muted:#7d8a99;
    --sp-line:#e4e9ef;
    --sp-soft:#f6f8fb;
    --sp-soft-2:#eef3f8;
    --sp-orange:#ef922c;
    --sp-orange-soft:#fff4e8;
    --sp-green:#2d7651;
    --sp-green-soft:#eaf7ef;
    --sp-blue:#4d6f92;
    --sp-blue-soft:#edf4fa;
    --sp-red:#a9574c;
    --sp-red-soft:#fff0ed;
}

.mli-starter-section-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:16px;
    margin:0 0 18px;
    padding:0 2px;
}
.mli-starter-section-kicker{
    display:block;
    margin-bottom:3px;
    color:#b26c1d;
    font-size:8.5px;
    font-weight:950;
    letter-spacing:.16em;
}
.mli-starter-section-head h3{
    margin:0!important;
    color:var(--sp-ink)!important;
    font-size:17px!important;
    font-weight:950!important;
    line-height:1.15!important;
}
.mli-starter-section-sub{
    color:#8b96a4;
    font-size:10px;
    font-weight:800;
}

/* main shell */
.mli-detail-section--starter .mli-pitcher-board{
    overflow:hidden;
    border:1px solid #dfe5ec;
    border-radius:18px;
    background:#fff;
    box-shadow:
        0 12px 28px rgba(16,36,63,.06),
        0 2px 6px rgba(16,36,63,.03);
}

/* team / pitcher hero */
.mli-detail-section--starter .mli-pitcher-board__head{
    position:relative;
    display:grid;
    grid-template-columns:minmax(0,1fr) 78px minmax(0,1fr);
    min-height:132px;
    background:#fff;
    border-bottom:0;
}
.mli-detail-section--starter .mli-pitcher-head{
    position:relative;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    padding:18px 20px 19px;
    background:
        radial-gradient(circle at 12% 10%, rgba(239,146,44,.06), transparent 36%),
        linear-gradient(180deg,#fbfcfe 0%,#f7f9fc 100%);
}
.mli-detail-section--starter .mli-pitcher-head--home{
    text-align:right;
    background:
        radial-gradient(circle at 88% 10%, rgba(63,97,135,.06), transparent 36%),
        linear-gradient(180deg,#fbfcfe 0%,#f7f9fc 100%);
}
.mli-detail-section--starter .mli-pitcher-head__team{
    min-height:34px;
    margin:0 0 16px;
    gap:9px;
}
.mli-detail-section--starter .mli-pitcher-head__side{
    min-width:34px;
    height:21px;
    padding:0 7px;
    background:#e9eef4;
    color:#667689;
    font-size:8.5px;
}
.mli-detail-section--starter .mli-pitcher-head__logo{
    width:34px;
    height:34px;
}
.mli-detail-section--starter .mli-pitcher-head__team>strong{
    color:#182a42;
    font-size:13px;
    letter-spacing:.01em;
}
.mli-detail-section--starter .mli-pitcher-head__person{
    align-items:flex-end;
    gap:14px;
}
.mli-detail-section--starter .mli-pitcher-head__person span{
    margin-bottom:4px;
    color:#9aa4b0;
    font-size:8.5px;
    letter-spacing:.03em;
}
.mli-detail-section--starter .mli-pitcher-head__person h4{
    color:#0f213a!important;
    font-size:21px!important;
    letter-spacing:-.02em;
}
.mli-detail-section--starter .mli-pitcher-head__person small{
    margin-top:4px;
    color:#788696;
    font-size:10px;
}
.mli-detail-section--starter .mli-pitcher-head__person em{
    height:25px;
    padding:0 10px;
    border:1px solid #dbe4ed;
    background:#fff;
    color:#526d8c;
    box-shadow:0 2px 5px rgba(16,36,63,.04);
}

/* VS focus */
.mli-detail-section--starter .mli-pitcher-board__vs{
    position:relative;
    z-index:2;
    border-left:1px solid #e7ebf0;
    border-right:1px solid #e7ebf0;
    background:#fff;
    color:transparent;
}
.mli-detail-section--starter .mli-pitcher-board__vs::before{
    content:"VS";
    display:flex;
    align-items:center;
    justify-content:center;
    width:40px;
    height:40px;
    border-radius:50%;
    background:var(--sp-ink);
    color:#fff;
    font-size:9px;
    font-weight:950;
    letter-spacing:.12em;
    box-shadow:0 6px 14px rgba(16,36,63,.16);
}

/* compare rows */
.mli-detail-section--starter .mli-pitcher-compare{
    background:#fff;
}
.mli-detail-section--starter .mli-pitcher-compare__row{
    grid-template-columns:minmax(0,1fr) 128px minmax(0,1fr);
    min-height:136px;
    background:#fff;
}
.mli-detail-section--starter .mli-pitcher-compare__row + .mli-pitcher-compare__row{
    border-top:1px solid #e9edf2;
}
.mli-detail-section--starter .mli-pitcher-compare__cell{
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:18px 22px;
}
.mli-detail-section--starter .mli-pitcher-compare__cell:first-child{
    padding-right:30px;
}
.mli-detail-section--starter .mli-pitcher-compare__cell:last-child{
    padding-left:30px;
}
.mli-detail-section--starter .mli-pitcher-compare__label{
    position:relative;
    gap:2px;
    padding:12px 8px;
    background:
        linear-gradient(180deg,#f8fafc 0%,#f4f7fa 100%);
    border-left:1px solid #e9edf2;
    border-right:1px solid #e9edf2;
}
.mli-detail-section--starter .mli-pitcher-compare__label i{
    display:flex;
    align-items:center;
    justify-content:center;
    width:24px;
    height:24px;
    margin-bottom:6px;
    border-radius:8px;
    background:#fff;
    color:#a5afbb;
    border:1px solid #e4e9ef;
    font-size:8px;
    font-style:normal;
    font-weight:950;
}
.mli-detail-section--starter .mli-pitcher-compare__label span{
    color:#243a56;
    font-size:11.5px;
}
.mli-detail-section--starter .mli-pitcher-compare__label small{
    margin-top:2px;
    color:#9aa4b0;
    font-size:8.5px;
}

/* status pills */
.mli-detail-section--starter .mli-pitcher-cell__status{
    margin-bottom:11px;
}
.mli-detail-section--starter .mli-pitcher-cell__status>span{
    min-height:24px;
    padding:3px 10px;
    border:1px solid #dfe6ed;
    background:#f3f6f9;
    color:#607184;
    font-size:9.5px;
    box-shadow:none;
}
.mli-detail-section--starter .mli-pitcher-cell__status--usual>span{
    border-color:#d5eadf;
    background:var(--sp-green-soft);
    color:var(--sp-green);
}
.mli-detail-section--starter .mli-pitcher-cell__status--familiar>span{
    border-color:#d9e4ef;
    background:var(--sp-blue-soft);
    color:var(--sp-blue);
}
.mli-detail-section--starter .mli-pitcher-cell__status--uncommon>span{
    border-color:#f0d7b9;
    background:var(--sp-orange-soft);
    color:#9a620f;
}
.mli-detail-section--starter .mli-pitcher-cell__status--limited>span,
.mli-detail-section--starter .mli-pitcher-cell__status--first_recent>span{
    border-color:#e2e7ed;
    background:#f5f7fa;
    color:#788697;
}
.mli-detail-section--starter .mli-pitcher-cell__status--split>span{
    border-color:#f1d5ad;
    background:#fff1dd;
    color:#9b620d;
}

/* catcher */
.mli-detail-section--starter .mli-pitcher-cell__primary small{
    margin-bottom:4px;
    color:#9aa4b0;
    font-size:8.5px;
    letter-spacing:.02em;
}
.mli-detail-section--starter .mli-pitcher-cell__primary strong{
    color:#162941;
    font-size:14px;
    letter-spacing:-.01em;
}
.mli-detail-section--starter .mli-pitcher-cell__summary{
    margin-top:8px;
    color:#6d7b8b;
    font-size:10.5px;
}
.mli-detail-section--starter .mli-pitcher-cell__summary b{
    color:#1b3555;
    font-size:12px;
}

/* OPS metrics */
.mli-detail-section--starter .mli-pitcher-ops{
    gap:34px;
    margin-top:2px;
}
.mli-detail-section--starter .mli-pitcher-ops>div{
    min-width:88px;
}
.mli-detail-section--starter .mli-pitcher-ops span{
    margin-bottom:6px;
    color:#8b97a4;
    font-size:9px;
}
.mli-detail-section--starter .mli-pitcher-ops strong{
    color:#10243f;
    font-size:28px;
    letter-spacing:-.035em;
}
.mli-detail-section--starter .mli-pitcher-ops>div + div{
    position:relative;
}
.mli-detail-section--starter .mli-pitcher-ops>div + div::before{
    content:"";
    position:absolute;
    left:-17px;
    top:4px;
    width:1px;
    height:34px;
    background:#e7ebf0;
}

/* footnote becomes subtle, not a third content block */
.mli-detail-section--starter .mli-pitcher-board__footnote{
    padding:9px 18px 10px;
    border-top:1px solid #edf0f3;
    background:#fbfcfd;
    color:#99a3af;
    font-size:8.5px;
}

/* alerts above starter board */
.mli-detail-section--starter .mli-section-alerts{
    margin-bottom:12px;
}
.mli-detail-section--starter .mli-context-alert{
    border-radius:10px;
}

/* mobile */
@media(max-width:768px){
    .mli-starter-section-head{
        align-items:flex-start;
        margin-bottom:13px;
    }
    .mli-starter-section-sub{
        display:none;
    }

    .mli-detail-section--starter .mli-pitcher-board{
        border-radius:14px;
    }
    .mli-detail-section--starter .mli-pitcher-board__head{
        display:block;
    }
    .mli-detail-section--starter .mli-pitcher-board__vs{
        display:flex;
        height:32px;
        border:0;
        border-top:1px solid #e8edf2;
        border-bottom:1px solid #e8edf2;
    }
    .mli-detail-section--starter .mli-pitcher-board__vs::before{
        width:30px;
        height:30px;
        font-size:8px;
        transform:translateY(0);
    }
    .mli-detail-section--starter .mli-pitcher-head{
        padding:13px 14px 14px;
    }
    .mli-detail-section--starter .mli-pitcher-head--home{
        text-align:left;
        border:0;
    }
    .mli-detail-section--starter .mli-pitcher-head--home .mli-pitcher-head__team{
        justify-content:flex-start;
    }
    .mli-detail-section--starter .mli-pitcher-head--home .mli-pitcher-head__person{
        flex-direction:row;
    }
    .mli-detail-section--starter .mli-pitcher-head__person h4{
        font-size:18px!important;
    }

    .mli-detail-section--starter .mli-pitcher-compare__row{
        display:flex;
        flex-direction:column;
        min-height:0;
    }
    .mli-detail-section--starter .mli-pitcher-compare__label{
        order:-1;
        flex-direction:row;
        justify-content:flex-start;
        gap:7px;
        padding:9px 12px;
        border-left:0;
        border-right:0;
        border-bottom:1px solid #e8edf2;
        text-align:left;
    }
    .mli-detail-section--starter .mli-pitcher-compare__label i{
        width:22px;
        height:22px;
        margin:0;
    }
    .mli-detail-section--starter .mli-pitcher-compare__label small{
        margin:0;
    }
    .mli-detail-section--starter .mli-pitcher-compare__cell{
        padding:13px 14px!important;
        text-align:left!important;
    }
    .mli-detail-section--starter .mli-pitcher-compare__cell:last-child{
        border-top:1px dashed #e5eaf0;
    }
    .mli-detail-section--starter .mli-pitcher-compare__cell:last-child .mli-pitcher-cell__status,
    .mli-detail-section--starter .mli-pitcher-compare__cell:last-child .mli-pitcher-ops{
        justify-content:flex-start;
    }
    .mli-detail-section--starter .mli-pitcher-ops{
        gap:28px;
    }
    .mli-detail-section--starter .mli-pitcher-ops strong{
        font-size:24px;
    }
    .mli-detail-section--starter .mli-pitcher-board__footnote{
        padding:8px 12px;
        text-align:left;
    }
}
/* End V2.18.3 */


/* ================================================================
   V2.18.4｜Starter page visual reset
   不再做表格／格線，改成投手對戰 + 分析模組
   ================================================================ */

.mli-detail-section--starter{
    --st-ink:#13263f;
    --st-muted:#6f7f91;
    --st-line:#e4e9ef;
    --st-soft:#f6f8fb;
    --st-blue:#315f96;
    --st-blue-bg:#eaf2ff;
    --st-green:#28714c;
    --st-green-bg:#eaf7ef;
    --st-amber:#98610f;
    --st-amber-bg:#fff3dd;
    --st-gray:#667085;
    --st-gray-bg:#f0f2f5;
    --st-red:#9e4f43;
    --st-red-bg:#fff0ed;
}

.mli-starter-section-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin:0 0 16px;
    padding:0 2px;
}
.mli-starter-section-head h3{
    margin:0!important;
    color:var(--st-ink)!important;
    font-size:20px!important;
    font-weight:950!important;
    line-height:1.2!important;
}
.mli-starter-section-head>span{
    color:#7b8998;
    font-size:12px;
    font-weight:800;
}

/* Outer shell loses table look */
.mli-detail-section--starter .mli-pitcher-board{
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
    overflow:visible;
}

/* Matchup hero */
.mli-pitcher-matchup{
    position:relative;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
    margin-bottom:14px;
}
.mli-pitcher-card{
    min-width:0;
    padding:16px 18px 17px;
    border:1px solid #e0e6ed;
    border-radius:16px;
    background:
        radial-gradient(circle at 8% 8%, rgba(239,146,44,.07), transparent 34%),
        #fbfcfe;
    box-shadow:0 7px 18px rgba(16,36,63,.05);
}
.mli-pitcher-card--home{
    background:
        radial-gradient(circle at 92% 8%, rgba(49,95,150,.07), transparent 34%),
        #fbfcfe;
}
.mli-pitcher-card__team{
    display:flex;
    align-items:center;
    gap:9px;
    margin-bottom:14px;
}
.mli-pitcher-card--home .mli-pitcher-card__team{
    justify-content:flex-end;
}
.mli-pitcher-card__team>span{
    display:inline-flex;
    align-items:center;
    min-height:23px;
    padding:3px 8px;
    border-radius:999px;
    background:#edf1f5;
    color:#667589;
    font-size:10px;
    font-weight:900;
}
.mli-pitcher-card__team img{
    width:32px;
    height:32px;
    object-fit:contain;
    opacity:0;
}
.mli-pitcher-card__team img.is-loaded{
    opacity:1;
}
.mli-pitcher-card__team strong{
    color:#172a43;
    font-size:14px;
    font-weight:950;
}
.mli-pitcher-card__main{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:14px;
}
.mli-pitcher-card--home .mli-pitcher-card__main{
    flex-direction:row-reverse;
    text-align:right;
}
.mli-pitcher-card__main small{
    display:block;
    margin-bottom:4px;
    color:#8795a5;
    font-size:10.5px;
    font-weight:850;
}
.mli-pitcher-card__main h4{
    margin:0!important;
    color:#10233d!important;
    font-size:22px!important;
    font-weight:950!important;
    line-height:1.18!important;
    letter-spacing:-.02em;
}
.mli-pitcher-card__main p{
    margin:4px 0 0;
    color:#728194;
    font-size:11px;
    font-weight:750;
}
.mli-pitcher-card__main em{
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    min-height:27px;
    padding:4px 10px;
    border:1px solid #d9e2eb;
    border-radius:999px;
    background:#fff;
    color:#456888;
    font-size:10px;
    font-style:normal;
    font-weight:950;
}
.mli-pitcher-card__waiting{
    color:#8996a5;
    font-size:13px;
    font-weight:850;
}
.mli-pitcher-matchup__vs{
    position:absolute;
    left:50%;
    top:50%;
    z-index:3;
    display:flex;
    align-items:center;
    justify-content:center;
    width:38px;
    height:38px;
    border:4px solid #fff;
    border-radius:50%;
    background:#10243f;
    color:#fff;
    font-size:9px;
    font-weight:950;
    letter-spacing:.1em;
    box-shadow:0 5px 12px rgba(16,36,63,.18);
    transform:translate(-50%,-50%);
}

/* Analysis modules: no internal grid lines */
.mli-pitcher-module{
    margin-top:14px;
    padding:16px 18px 18px;
    border:1px solid #e2e7ed;
    border-radius:16px;
    background:#fff;
    box-shadow:0 5px 15px rgba(16,36,63,.035);
}
.mli-pitcher-module__head{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:14px;
}
.mli-pitcher-module__icon{
    display:flex;
    align-items:center;
    justify-content:center;
    width:34px;
    height:34px;
    border-radius:10px;
    background:#edf3f9;
    color:#365d84;
    font-size:11px;
    font-weight:950;
}
.mli-pitcher-module--battery .mli-pitcher-module__icon{
    background:#fff3e5;
    color:#a26916;
}
.mli-pitcher-module__head h4{
    margin:0!important;
    color:#1a2f4a!important;
    font-size:14px!important;
    font-weight:950!important;
}
.mli-pitcher-module__head p{
    margin:3px 0 0;
    color:#7c8a9a;
    font-size:11px;
    font-weight:750;
}

.mli-pitcher-module__body{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
}
.mli-pitcher-side{
    min-width:0;
    padding:14px 15px;
    border-radius:12px;
    background:#f7f9fc;
}
.mli-pitcher-side__top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-bottom:12px;
}
.mli-pitcher-side__top>small{
    color:#8491a1;
    font-size:10.5px;
    font-weight:850;
}

/* Battery statuses: deliberately distinct */
.mli-battery-status,
.mli-split-status{
    display:inline-flex;
    align-items:center;
    min-height:25px;
    padding:4px 10px;
    border:1px solid transparent;
    border-radius:999px;
    font-size:10.5px;
    font-weight:950;
    line-height:1;
}
.mli-battery-status--first_recent{
    border-color:#dfe3e8;
    background:var(--st-gray-bg);
    color:var(--st-gray);
}
.mli-battery-status--limited{
    border-color:#efdcb7;
    background:var(--st-amber-bg);
    color:var(--st-amber);
}
.mli-battery-status--familiar{
    border-color:#cddcf2;
    background:var(--st-blue-bg);
    color:var(--st-blue);
}
.mli-battery-status--usual{
    border-color:#d0e7da;
    background:var(--st-green-bg);
    color:var(--st-green);
}
.mli-battery-status--uncommon{
    border-color:#efcfc8;
    background:var(--st-red-bg);
    color:var(--st-red);
}
.mli-battery-status--low_sample,
.mli-battery-status--no_sample{
    border-color:#dfe4e9;
    background:#f4f6f8;
    color:#7b8795;
}
.mli-split-status{
    border-color:#dfe5eb;
    background:#f0f3f6;
    color:#627286;
}
.mli-split-status.is-warning{
    border-color:#f0d3a9;
    background:#fff1dd;
    color:#9b620d;
}

.mli-pitcher-side__catcher span{
    display:block;
    margin-bottom:4px;
    color:#8190a0;
    font-size:10.5px;
    font-weight:850;
}
.mli-pitcher-side__catcher strong{
    display:block;
    color:#152941;
    font-size:15px;
    font-weight:950;
}
.mli-pitcher-side__summary{
    margin:9px 0 0;
    color:#5f7083;
    font-size:12px;
    font-weight:750;
    line-height:1.55;
}
.mli-pitcher-side__summary b{
    color:#183552;
    font-size:13px;
    font-weight:950;
}
.mli-pitcher-side__note{
    margin:8px 0 0;
    padding-top:8px;
    border-top:1px dashed #dfe5eb;
    color:#788697;
    font-size:11px;
    line-height:1.55;
}

/* OPS */
.mli-pitcher-ops{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    margin:0;
}
.mli-pitcher-ops>div{
    min-width:0;
    padding:12px 13px;
    border-radius:10px;
    background:#fff;
}
.mli-pitcher-ops span{
    display:block;
    margin-bottom:6px;
    color:#788797;
    font-size:10.5px;
    font-weight:850;
}
.mli-pitcher-ops strong{
    display:block;
    color:#10243f;
    font-size:29px;
    font-weight:950;
    line-height:1;
    letter-spacing:-.035em;
}
.mli-pitcher-ops>div + div::before{
    display:none;
}

/* Readable note, not hidden microtext */
.mli-pitcher-module__note{
    display:flex;
    align-items:flex-start;
    gap:10px;
    margin-top:14px;
    padding:11px 13px;
    border-radius:10px;
    background:#f3f6f9;
}
.mli-pitcher-module__note strong{
    flex:0 0 auto;
    color:#405975;
    font-size:11px;
    font-weight:950;
}
.mli-pitcher-module__note span{
    color:#647487;
    font-size:11.5px;
    font-weight:750;
    line-height:1.6;
}

/* Hide obsolete V2.18.2 / V2.18.3 visual structures if stale markup survives browser cache */
.mli-detail-section--starter .mli-pitcher-compare,
.mli-detail-section--starter .mli-pitcher-board__head,
.mli-detail-section--starter .mli-pitcher-board__footnote{
    /* New V2.18.4 markup does not use these. */
}

@media(max-width:768px){
    .mli-starter-section-head h3{
        font-size:18px!important;
    }
    .mli-starter-section-head>span{
        display:none;
    }
    .mli-pitcher-matchup{
        grid-template-columns:1fr;
        gap:10px;
    }
    .mli-pitcher-matchup__vs{
        position:relative;
        left:auto;
        top:auto;
        width:32px;
        height:32px;
        margin:-5px auto;
        border-width:3px;
        transform:none;
    }
    .mli-pitcher-card{
        padding:13px 14px;
    }
    .mli-pitcher-card--home .mli-pitcher-card__team{
        justify-content:flex-start;
    }
    .mli-pitcher-card--home .mli-pitcher-card__main{
        flex-direction:row;
        text-align:left;
    }
    .mli-pitcher-card__main h4{
        font-size:19px!important;
    }

    .mli-pitcher-module{
        padding:13px;
    }
    .mli-pitcher-module__body{
        grid-template-columns:1fr;
        gap:9px;
    }
    .mli-pitcher-side{
        padding:12px;
    }
    .mli-pitcher-side__catcher strong{
        font-size:14px;
    }
    .mli-pitcher-side__summary{
        font-size:11.5px;
    }
    .mli-pitcher-ops strong{
        font-size:25px;
    }
    .mli-pitcher-module__note{
        display:block;
        padding:10px 11px;
    }
    .mli-pitcher-module__note strong{
        display:block;
        margin-bottom:4px;
    }
    .mli-pitcher-module__note span{
        font-size:11px;
    }
}
/* End V2.18.4 */


/* ================================================================
   V2.18.5｜先發投手高度壓縮
   ================================================================ */

@media(min-width:769px){
    .mli-detail-modal__dialog{
        max-height:94vh;
    }

    .mli-detail-modal__body{
        padding:10px 14px 12px;
    }

    .mli-detail-modal__body .mli-detail-section{
        padding:12px 14px;
    }
}

/*
 * Desktop：
 * 投手對戰維持滿版；
 * 投捕搭配 / 左右打對戰兩個分析模組改左右並排。
 * 直接省掉一整個模組的垂直高度。
 */
@media(min-width:900px){
    .mli-detail-section--starter .mli-pitcher-board{
        display:grid;
        grid-template-columns:minmax(0,1fr) minmax(0,1fr);
        gap:11px;
    }

    .mli-detail-section--starter .mli-pitcher-matchup{
        grid-column:1 / -1;
        margin-bottom:0;
    }

    .mli-detail-section--starter .mli-pitcher-module{
        min-width:0;
        margin-top:0;
        padding:11px 12px 12px;
        border-radius:14px;
    }

    .mli-detail-section--starter .mli-pitcher-module__head{
        gap:8px;
        margin-bottom:8px;
    }

    .mli-detail-section--starter .mli-pitcher-module__icon{
        width:29px;
        height:29px;
        border-radius:9px;
    }

    .mli-detail-section--starter .mli-pitcher-module__head h4{
        font-size:13px!important;
    }

    .mli-detail-section--starter .mli-pitcher-module__head p{
        margin-top:1px;
        font-size:10px;
    }

    .mli-detail-section--starter .mli-pitcher-module__body{
        gap:7px;
    }

    .mli-detail-section--starter .mli-pitcher-side{
        padding:9px 10px;
        border-radius:10px;
    }

    .mli-detail-section--starter .mli-pitcher-side__top{
        gap:5px;
        margin-bottom:7px;
    }

    .mli-detail-section--starter .mli-pitcher-side__top>small{
        max-width:40%;
        overflow:hidden;
        text-overflow:ellipsis;
        white-space:nowrap;
        font-size:9px;
    }

    .mli-detail-section--starter .mli-battery-status,
    .mli-detail-section--starter .mli-split-status{
        min-height:22px;
        padding:3px 7px;
        font-size:9.5px;
    }

    .mli-detail-section--starter .mli-pitcher-side__catcher{
        display:flex;
        align-items:baseline;
        justify-content:space-between;
        gap:7px;
    }

    .mli-detail-section--starter .mli-pitcher-side__catcher span{
        flex:0 0 auto;
        margin:0;
        font-size:9.5px;
    }

    .mli-detail-section--starter .mli-pitcher-side__catcher strong{
        min-width:0;
        overflow:hidden;
        text-overflow:ellipsis;
        white-space:nowrap;
        text-align:right;
        font-size:12px;
    }

    .mli-detail-section--starter .mli-pitcher-side__summary{
        margin-top:5px;
        font-size:10px;
        line-height:1.4;
    }

    .mli-detail-section--starter .mli-pitcher-side__summary b{
        font-size:11px;
    }

    .mli-detail-section--starter .mli-pitcher-side__note{
        margin-top:5px;
        padding-top:5px;
        font-size:9.5px;
        line-height:1.4;
    }

    .mli-detail-section--starter .mli-pitcher-ops{
        gap:6px;
    }

    .mli-detail-section--starter .mli-pitcher-ops>div{
        padding:8px 9px;
    }

    .mli-detail-section--starter .mli-pitcher-ops span{
        margin-bottom:3px;
        font-size:9px;
    }

    .mli-detail-section--starter .mli-pitcher-ops strong{
        font-size:22px;
    }

    .mli-detail-section--starter .mli-pitcher-module__note{
        gap:6px;
        margin-top:7px;
        padding:7px 8px;
    }

    .mli-detail-section--starter .mli-pitcher-module__note strong{
        font-size:9.5px;
    }

    .mli-detail-section--starter .mli-pitcher-module__note span{
        font-size:9.5px;
        line-height:1.4;
    }

    .mli-detail-section--starter .mli-pitcher-card{
        padding:11px 13px 12px;
        border-radius:14px;
    }

    .mli-detail-section--starter .mli-pitcher-card__team{
        margin-bottom:8px;
    }

    .mli-detail-section--starter .mli-pitcher-card__team img{
        width:27px;
        height:27px;
    }

    .mli-detail-section--starter .mli-pitcher-card__main small{
        margin-bottom:2px;
        font-size:9.5px;
    }

    .mli-detail-section--starter .mli-pitcher-card__main h4{
        font-size:19px!important;
    }

    .mli-detail-section--starter .mli-pitcher-card__main p{
        margin-top:2px;
        font-size:10px;
    }

    .mli-detail-section--starter .mli-pitcher-card__main em{
        min-height:23px;
        padding:3px 8px;
    }

    .mli-detail-section--starter .mli-pitcher-matchup__vs{
        width:33px;
        height:33px;
        font-size:8px;
    }

    .mli-detail-section--starter .mli-starter-section-head{
        margin-bottom:9px;
    }

    .mli-detail-section--starter .mli-starter-section-head h3{
        font-size:18px!important;
    }

    .mli-detail-section--starter .mli-starter-section-head>span{
        font-size:10.5px;
    }
}

/* 介於平板與小桌機維持上下模組，避免左右過窄。 */
@media(min-width:769px) and (max-width:899px){
    .mli-detail-section--starter .mli-pitcher-board{
        display:block;
    }

    .mli-detail-section--starter .mli-pitcher-module{
        margin-top:9px;
    }
}

/* End V2.18.5 */


/* ================================================================
   V2.18.6｜回到三行布局 + 第一行單行壓縮
   ================================================================ */

/* 強制回到三行：不要 V2.18.5 的分析模組左右並排 */
@media(min-width:900px){
    .mli-detail-section--starter .mli-pitcher-board{
        display:block;
    }

    .mli-detail-section--starter .mli-pitcher-matchup{
        margin-bottom:9px;
    }

    .mli-detail-section--starter .mli-pitcher-module{
        margin-top:9px;
        padding:10px 12px 11px;
    }
}

/* 第 1 行：投手名、客主隊、球隊、左右投全部同一條 */
.mli-detail-section--starter .mli-pitcher-matchup{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:12px;
}

.mli-detail-section--starter .mli-pitcher-card{
    min-height:70px;
    padding:11px 14px 10px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.mli-detail-section--starter .mli-pitcher-card__line{
    display:flex;
    align-items:center;
    gap:10px;
    min-width:0;
}

.mli-detail-section--starter .mli-pitcher-card--home .mli-pitcher-card__line{
    justify-content:flex-end;
}

.mli-detail-section--starter .mli-pitcher-card__line h4{
    flex:0 1 auto;
    min-width:0;
    margin:0!important;
    color:#10233d!important;
    font-size:18px!important;
    font-weight:950!important;
    line-height:1.15!important;
    letter-spacing:-.02em;
    white-space:nowrap;
}

.mli-detail-section--starter .mli-pitcher-card__team-inline{
    flex:0 1 auto;
    min-width:0;
    display:inline-flex;
    align-items:center;
    gap:6px;
    color:#526276;
    white-space:nowrap;
}

.mli-detail-section--starter .mli-pitcher-card__team-inline i{
    display:inline-flex;
    align-items:center;
    min-height:21px;
    padding:2px 7px;
    border-radius:999px;
    background:#edf1f5;
    color:#6c7a8b;
    font-size:9px;
    font-style:normal;
    font-weight:900;
}

.mli-detail-section--starter .mli-pitcher-card__team-inline img{
    width:24px;
    height:24px;
    object-fit:contain;
    opacity:0;
}

.mli-detail-section--starter .mli-pitcher-card__team-inline img.is-loaded{
    opacity:1;
}

.mli-detail-section--starter .mli-pitcher-card__team-inline b{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    color:#25394f;
    font-size:11.5px;
    font-weight:900;
}

.mli-detail-section--starter .mli-pitcher-card__line em{
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    min-height:23px;
    padding:3px 8px;
    border:1px solid #d9e2eb;
    border-radius:999px;
    background:#fff;
    color:#456888;
    font-size:9.5px;
    font-style:normal;
    font-weight:950;
}

.mli-detail-section--starter .mli-pitcher-card__en{
    display:block;
    margin-top:4px;
    color:#7d8b9b;
    font-size:9.5px;
    font-weight:750;
}

.mli-detail-section--starter .mli-pitcher-card--home .mli-pitcher-card__en{
    text-align:right;
}

/* VS 改成小圓章置中，不占第三欄 */
.mli-detail-section--starter .mli-pitcher-matchup__vs{
    left:50%;
    top:50%;
    width:30px;
    height:30px;
    border-width:3px;
    font-size:7.5px;
}

/* 三行都做緊湊版，但不要縮成看不到 */
.mli-detail-section--starter .mli-pitcher-module__head{
    margin-bottom:7px;
}

.mli-detail-section--starter .mli-pitcher-module__icon{
    width:28px;
    height:28px;
}

.mli-detail-section--starter .mli-pitcher-module__head h4{
    font-size:12.5px!important;
}

.mli-detail-section--starter .mli-pitcher-module__head p{
    font-size:9.5px;
}

.mli-detail-section--starter .mli-pitcher-side{
    padding:9px 10px;
}

.mli-detail-section--starter .mli-pitcher-side__top{
    margin-bottom:6px;
}

.mli-detail-section--starter .mli-pitcher-side__catcher strong{
    font-size:12.5px;
}

.mli-detail-section--starter .mli-pitcher-side__summary{
    margin-top:5px;
    font-size:10.5px;
}

.mli-detail-section--starter .mli-pitcher-ops>div{
    padding:8px 10px;
}

.mli-detail-section--starter .mli-pitcher-ops span{
    margin-bottom:3px;
    font-size:9.5px;
}

.mli-detail-section--starter .mli-pitcher-ops strong{
    font-size:23px;
}

.mli-detail-section--starter .mli-pitcher-module__note{
    margin-top:7px;
    padding:7px 9px;
}

.mli-detail-section--starter .mli-pitcher-module__note strong,
.mli-detail-section--starter .mli-pitcher-module__note span{
    font-size:9.5px;
}

/* 讓桌機高度盡量控制在 Modal 內，不需要下拉 */
@media(min-width:1000px) and (min-height:650px){
    .mli-detail-section--starter{
        padding-top:10px!important;
        padding-bottom:10px!important;
    }

    .mli-detail-section--starter .mli-starter-section-head{
        margin-bottom:8px;
    }

    .mli-detail-section--starter .mli-pitcher-matchup{
        margin-bottom:7px;
    }

    .mli-detail-section--starter .mli-pitcher-module{
        margin-top:7px;
    }
}

/* 小螢幕仍維持直向，避免單行被壓爛 */
@media(max-width:768px){
    .mli-detail-section--starter .mli-pitcher-matchup{
        grid-template-columns:1fr;
    }

    .mli-detail-section--starter .mli-pitcher-card--home .mli-pitcher-card__line{
        justify-content:flex-start;
    }

    .mli-detail-section--starter .mli-pitcher-card--home .mli-pitcher-card__en{
        text-align:left;
    }

    .mli-detail-section--starter .mli-pitcher-card__line{
        flex-wrap:wrap;
        row-gap:5px;
    }

    .mli-detail-section--starter .mli-pitcher-card__line h4{
        font-size:17px!important;
    }
}

/* End V2.18.6 */


/* ================================================================
   V2.18.7｜兩行投手資訊 + 背景層級 + 左右投色彩
   ================================================================ */

/* 第一列投手卡：兩行，但仍維持低高度 */
.mli-detail-section--starter .mli-pitcher-card{
    min-height:78px;
    padding:10px 13px 9px;
}

.mli-detail-section--starter .mli-pitcher-card--away{
    border-color:#efdcc4;
    background:
        linear-gradient(180deg,#fffaf4 0%,#fff7ee 100%);
}

.mli-detail-section--starter .mli-pitcher-card--home{
    border-color:#d6e2ef;
    background:
        linear-gradient(180deg,#f7fbff 0%,#eef5fc 100%);
}

.mli-detail-section--starter .mli-pitcher-card__line--name{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
}

.mli-detail-section--starter .mli-pitcher-card--home .mli-pitcher-card__line--name{
    flex-direction:row-reverse;
}

.mli-detail-section--starter .mli-pitcher-card__name-wrap{
    min-width:0;
}

.mli-detail-section--starter .mli-pitcher-card__line--name h4{
    margin:0!important;
    color:#10233d!important;
    font-size:18px!important;
    font-weight:950!important;
    line-height:1.12!important;
    letter-spacing:-.02em;
    white-space:nowrap;
}

.mli-detail-section--starter .mli-pitcher-card__en{
    margin-top:3px;
    color:#728195;
    font-size:9.5px;
    line-height:1.1;
}

.mli-detail-section--starter .mli-pitcher-card--home .mli-pitcher-card__name-wrap{
    text-align:right;
}

/* 第二行：客/主隊 + logo + 球隊 */
.mli-detail-section--starter .mli-pitcher-card__team-row{
    display:flex;
    align-items:center;
    gap:6px;
    margin-top:7px;
}

.mli-detail-section--starter .mli-pitcher-card--home .mli-pitcher-card__team-row{
    justify-content:flex-end;
}

.mli-detail-section--starter .mli-pitcher-card__team-row>span{
    display:inline-flex;
    align-items:center;
    min-height:20px;
    padding:2px 7px;
    border-radius:999px;
    background:rgba(255,255,255,.72);
    border:1px solid rgba(125,143,163,.18);
    color:#6d7b8b;
    font-size:9px;
    font-weight:900;
}

.mli-detail-section--starter .mli-pitcher-card__team-row img{
    width:22px;
    height:22px;
    object-fit:contain;
    opacity:0;
}

.mli-detail-section--starter .mli-pitcher-card__team-row img.is-loaded{
    opacity:1;
}

.mli-detail-section--starter .mli-pitcher-card__team-row strong{
    color:#25384f;
    font-size:11.5px;
    font-weight:950;
}

/* 左投 / 右投：明顯不同 */
.mli-detail-section--starter .mli-hand-pill{
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    min-height:24px;
    padding:3px 9px;
    border-radius:999px;
    font-size:9.5px;
    font-style:normal;
    font-weight:950;
    box-shadow:0 1px 3px rgba(16,36,63,.04);
}

.mli-detail-section--starter .mli-hand-pill.is-left{
    border:1px solid #b8d2ee;
    background:#e8f2ff;
    color:#2f6197;
}

.mli-detail-section--starter .mli-hand-pill.is-right{
    border:1px solid #f1cea5;
    background:#fff1df;
    color:#a46612;
}

/* 第二、三行背景色明顯分層 */
.mli-detail-section--starter .mli-pitcher-module--battery{
    border-color:#eadcc8;
    background:#fffaf4;
}

.mli-detail-section--starter .mli-pitcher-module--split{
    border-color:#d9e4ef;
    background:#f5f9fd;
}

.mli-detail-section--starter .mli-pitcher-module--battery .mli-pitcher-side{
    background:#fff;
    border:1px solid #f0e5d6;
}

.mli-detail-section--starter .mli-pitcher-module--split .mli-pitcher-side{
    background:#fff;
    border:1px solid #e2eaf2;
}

/* 模組標題也跟著分色 */
.mli-detail-section--starter .mli-pitcher-module--battery .mli-pitcher-module__head h4{
    color:#7e5318!important;
}

.mli-detail-section--starter .mli-pitcher-module--split .mli-pitcher-module__head h4{
    color:#315f96!important;
}

/* 判讀說明提高對比 */
.mli-detail-section--starter .mli-pitcher-module__note{
    background:#eaf1f8;
    border:1px solid #d8e4ef;
}

.mli-detail-section--starter .mli-pitcher-module__note strong{
    color:#2f5378;
}

.mli-detail-section--starter .mli-pitcher-module__note span{
    color:#53687e;
}

/* 桌機高度保持緊湊 */
@media(min-width:900px){
    .mli-detail-section--starter .mli-pitcher-card{
        min-height:74px;
    }

    .mli-detail-section--starter .mli-pitcher-card__team-row{
        margin-top:5px;
    }
}

/* 手機維持一致左對齊 */
@media(max-width:768px){
    .mli-detail-section--starter .mli-pitcher-card--home .mli-pitcher-card__line--name{
        flex-direction:row;
    }

    .mli-detail-section--starter .mli-pitcher-card--home .mli-pitcher-card__name-wrap{
        text-align:left;
    }

    .mli-detail-section--starter .mli-pitcher-card--home .mli-pitcher-card__team-row{
        justify-content:flex-start;
    }
}

/* End V2.18.7 */


/* ================================================================
   V2.18.8｜恢復中性背景 + 球隊角落 / 投手置中
   ================================================================ */

/* 1. 背景恢復上一版，不再用暖色/藍色大面積底色 */
.mli-detail-section--starter .mli-pitcher-card--away,
.mli-detail-section--starter .mli-pitcher-card--home{
    border-color:#e0e6ed;
    background:
        radial-gradient(circle at 8% 8%, rgba(239,146,44,.05), transparent 34%),
        #fbfcfe;
}

.mli-detail-section--starter .mli-pitcher-card--home{
    background:
        radial-gradient(circle at 92% 8%, rgba(49,95,150,.05), transparent 34%),
        #fbfcfe;
}

/* 投捕 / 左右打模組也恢復中性底 */
.mli-detail-section--starter .mli-pitcher-module--battery,
.mli-detail-section--starter .mli-pitcher-module--split{
    border-color:#e2e7ed;
    background:#fff;
}

.mli-detail-section--starter .mli-pitcher-module--battery .mli-pitcher-side,
.mli-detail-section--starter .mli-pitcher-module--split .mli-pitcher-side{
    border:0;
    background:#f7f9fc;
}

.mli-detail-section--starter .mli-pitcher-module--battery .mli-pitcher-module__head h4,
.mli-detail-section--starter .mli-pitcher-module--split .mli-pitcher-module__head h4{
    color:#1a2f4a!important;
}

.mli-detail-section--starter .mli-pitcher-module__note{
    background:#f3f6f9;
    border:0;
}

.mli-detail-section--starter .mli-pitcher-module__note strong{
    color:#405975;
}

.mli-detail-section--starter .mli-pitcher-module__note span{
    color:#647487;
}

/* 2. 球隊固定在角落 */
.mli-detail-section--starter .mli-pitcher-card{
    min-height:86px;
    padding:10px 13px 11px;
}

.mli-detail-section--starter .mli-pitcher-card__team-row{
    margin:0 0 7px;
}

.mli-detail-section--starter .mli-pitcher-card--away .mli-pitcher-card__team-row{
    justify-content:flex-start;
}

.mli-detail-section--starter .mli-pitcher-card--home .mli-pitcher-card__team-row{
    justify-content:flex-end;
}

.mli-detail-section--starter .mli-pitcher-card__team-row strong{
    font-size:11px;
}

/* 3. 投手姓名置中 */
.mli-detail-section--starter .mli-pitcher-card__pitcher-center{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    min-height:38px;
    text-align:center;
}

.mli-detail-section--starter .mli-pitcher-card__name-wrap{
    text-align:center!important;
}

.mli-detail-section--starter .mli-pitcher-card__pitcher-center h4{
    margin:0!important;
    color:#10233d!important;
    font-size:18px!important;
    font-weight:950!important;
    line-height:1.12!important;
    letter-spacing:-.02em;
    white-space:nowrap;
}

.mli-detail-section--starter .mli-pitcher-card__pitcher-center .mli-pitcher-card__en{
    display:block;
    margin-top:3px;
    text-align:center!important;
}

/* 左右投色彩維持 V2.18.7 */
.mli-detail-section--starter .mli-pitcher-card__pitcher-center .mli-hand-pill{
    margin-top:-1px;
}

/* 桌機：兩行結構仍控制高度 */
@media(min-width:900px){
    .mli-detail-section--starter .mli-pitcher-card{
        min-height:82px;
    }

    .mli-detail-section--starter .mli-pitcher-card__team-row{
        margin-bottom:5px;
    }
}

/* 手機一律左對齊，避免左右邏輯造成閱讀斷裂 */
@media(max-width:768px){
    .mli-detail-section--starter .mli-pitcher-card--home .mli-pitcher-card__team-row{
        justify-content:flex-start;
    }

    .mli-detail-section--starter .mli-pitcher-card__pitcher-center{
        justify-content:flex-start;
        text-align:left;
    }

    .mli-detail-section--starter .mli-pitcher-card__name-wrap,
    .mli-detail-section--starter .mli-pitcher-card__pitcher-center .mli-pitcher-card__en{
        text-align:left!important;
    }
}

/* End V2.18.8 */


/* ================================================================
   V2.18.9｜先發投手卡片精修
   保留位置，重做比例 / 層級 / 細節
   ================================================================ */

/* 卡片：白底、細框、乾淨陰影，不做大面積染色 */
.mli-detail-section--starter .mli-pitcher-card--away,
.mli-detail-section--starter .mli-pitcher-card--home{
    position:relative;
    min-height:106px;
    padding:0;
    overflow:hidden;
    border:1px solid #dde5ed;
    border-radius:15px;
    background:#fff;
    box-shadow:0 5px 14px rgba(16,36,63,.045);
}

/* 很淡的頂部識別線，不改整塊背景 */
.mli-detail-section--starter .mli-pitcher-card--away::before,
.mli-detail-section--starter .mli-pitcher-card--home::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:2px;
    background:#f3a34b;
}
.mli-detail-section--starter .mli-pitcher-card--home::before{
    background:#7897b8;
}

/* 球隊列：固定在卡片頂端 */
.mli-detail-section--starter .mli-pitcher-card__team-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    min-height:36px;
    margin:0;
    padding:8px 12px 7px;
    border-bottom:1px solid #edf1f5;
    background:#fafbfd;
}

.mli-detail-section--starter .mli-pitcher-card--away .mli-pitcher-card__team-row{
    flex-direction:row;
}
.mli-detail-section--starter .mli-pitcher-card--home .mli-pitcher-card__team-row{
    flex-direction:row-reverse;
}

/* 客/主隊 badge */
.mli-detail-section--starter .mli-pitcher-card__team-row>span{
    flex:0 0 auto;
    min-height:20px;
    padding:2px 7px;
    border:0;
    background:#eef2f6;
    color:#738194;
    font-size:9px;
    font-weight:900;
}

/* Logo + 隊名視為一組 */
.mli-detail-section--starter .mli-pitcher-card__team-name{
    min-width:0;
    display:flex;
    align-items:center;
    gap:7px;
}
.mli-detail-section--starter .mli-pitcher-card--home .mli-pitcher-card__team-name{
    flex-direction:row-reverse;
}

.mli-detail-section--starter .mli-pitcher-card__team-name img{
    width:24px;
    height:24px;
    object-fit:contain;
    opacity:0;
}
.mli-detail-section--starter .mli-pitcher-card__team-name img.is-loaded{
    opacity:1;
}

.mli-detail-section--starter .mli-pitcher-card__team-name strong{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:#25384f;
    font-size:11px;
    font-weight:950;
}

/* 投手區真正置中，跟上方球隊列切開 */
.mli-detail-section--starter .mli-pitcher-card__pitcher-center{
    min-height:68px;
    padding:8px 14px 10px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:1px;
    text-align:center;
}

.mli-detail-section--starter .mli-pitcher-card__role{
    display:block;
    margin-bottom:2px;
    color:#99a4b0;
    font-size:8.5px;
    font-weight:850;
    letter-spacing:.04em;
}

.mli-detail-section--starter .mli-pitcher-card__pitcher-center h4{
    margin:0!important;
    color:#10233d!important;
    font-size:18px!important;
    font-weight:950!important;
    line-height:1.15!important;
    letter-spacing:-.02em;
}
.mli-detail-section--starter .mli-pitcher-card__pitcher-center h4.is-waiting{
    color:#8b98a7!important;
    font-size:14px!important;
}

/* 英文名 + 左右投同一列，乾淨收尾 */
.mli-detail-section--starter .mli-pitcher-card__meta{
    min-height:23px;
    margin-top:3px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;
}

.mli-detail-section--starter .mli-pitcher-card__meta .mli-pitcher-card__en{
    display:inline-block;
    margin:0;
    color:#7a8899;
    font-size:9.5px;
    font-weight:750;
    line-height:1;
    text-align:center!important;
}

/* 左右投：不再像大按鈕 */
.mli-detail-section--starter .mli-pitcher-card__meta .mli-hand-pill{
    min-height:20px;
    margin:0;
    padding:2px 7px;
    border-radius:999px;
    box-shadow:none;
    font-size:8.5px;
    font-weight:950;
}

.mli-detail-section--starter .mli-pitcher-card__meta .mli-hand-pill.is-left{
    border:1px solid #c5d9ef;
    background:#eef6ff;
    color:#315f94;
}
.mli-detail-section--starter .mli-pitcher-card__meta .mli-hand-pill.is-right{
    border:1px solid #f0d3af;
    background:#fff5e8;
    color:#9c650f;
}

/* VS：縮小、白環、微浮起，不再像黑色洞 */
.mli-detail-section--starter .mli-pitcher-matchup__vs{
    width:34px;
    height:34px;
    border:5px solid #fff;
    background:#17304f;
    color:#fff;
    font-size:7.5px;
    box-shadow:0 4px 10px rgba(16,36,63,.14);
}

/* 第一行卡片之間距略收 */
.mli-detail-section--starter .mli-pitcher-matchup{
    gap:12px;
    margin-bottom:9px;
}

/* 桌機高度仍保持緊湊 */
@media(min-width:900px){
    .mli-detail-section--starter .mli-pitcher-card--away,
    .mli-detail-section--starter .mli-pitcher-card--home{
        min-height:100px;
    }

    .mli-detail-section--starter .mli-pitcher-card__team-row{
        min-height:34px;
        padding-top:7px;
        padding-bottom:6px;
    }

    .mli-detail-section--starter .mli-pitcher-card__pitcher-center{
        min-height:64px;
        padding-top:7px;
        padding-bottom:8px;
    }
}

/* 手機：主客都左對齊，但維持同樣分層 */
@media(max-width:768px){
    .mli-detail-section--starter .mli-pitcher-card--home .mli-pitcher-card__team-row{
        flex-direction:row;
        justify-content:space-between;
    }

    .mli-detail-section--starter .mli-pitcher-card--home .mli-pitcher-card__team-name{
        flex-direction:row;
    }

    .mli-detail-section--starter .mli-pitcher-card__pitcher-center{
        align-items:flex-start;
        text-align:left;
    }

    .mli-detail-section--starter .mli-pitcher-card__meta{
        justify-content:flex-start;
    }

    .mli-detail-section--starter .mli-pitcher-card__meta .mli-pitcher-card__en{
        text-align:left!important;
    }
}

/* End V2.18.9 */


/* ================================================================
   V2.18.9 TOP FIX
   僅覆寫最上方先發投手對戰區；下方 V2.18.9 完全不動
   ================================================================ */

.mli-detail-section--starter .mli-pitcher-matchup--figure{
    position:relative;
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:12px;
    margin-bottom:9px;
}

.mli-detail-section--starter .mli-pitcher-matchup--figure .mli-pitcher-card{
    position:relative;
    min-height:128px;
    padding:15px 16px 14px;
    overflow:visible;
    border:1px solid #dfe6ee;
    border-radius:15px;
    background:
        radial-gradient(circle at 8% 8%, rgba(239,146,44,.045), transparent 35%),
        #fbfcfe;
    box-shadow:0 4px 12px rgba(16,36,63,.035);
}

.mli-detail-section--starter .mli-pitcher-matchup--figure .mli-pitcher-card--home{
    background:
        radial-gradient(circle at 92% 8%, rgba(49,95,150,.045), transparent 35%),
        #fbfcfe;
}

/* 清除 V2.18.9 頂線 */
.mli-detail-section--starter .mli-pitcher-matchup--figure .mli-pitcher-card::before{
    display:none!important;
}

/* 客隊左上 / 主隊右上 */
.mli-detail-section--starter .mli-pitcher-card__team-corner{
    position:absolute;
    top:15px;
    display:flex;
    align-items:center;
    gap:7px;
    min-height:25px;
}

.mli-detail-section--starter .mli-pitcher-card--away .mli-pitcher-card__team-corner{
    left:16px;
}

.mli-detail-section--starter .mli-pitcher-card--home .mli-pitcher-card__team-corner{
    right:16px;
    flex-direction:row;
}

.mli-detail-section--starter .mli-pitcher-card__team-corner>span{
    display:inline-flex;
    align-items:center;
    min-height:21px;
    padding:2px 7px;
    border-radius:999px;
    background:#eef2f6;
    color:#748295;
    font-size:9px;
    font-weight:900;
}

.mli-detail-section--starter .mli-pitcher-card__team-corner img{
    width:25px;
    height:25px;
    object-fit:contain;
    opacity:0;
}

.mli-detail-section--starter .mli-pitcher-card__team-corner img.is-loaded{
    opacity:1;
}

.mli-detail-section--starter .mli-pitcher-card__team-corner strong{
    color:#24374e;
    font-size:11.5px;
    font-weight:950;
    white-space:nowrap;
}

/* 投手資訊依圖：客隊下方靠左、主隊下方靠右 */
.mli-detail-section--starter .mli-pitcher-card__pitcher-info{
    position:absolute;
    bottom:14px;
    min-width:0;
}

.mli-detail-section--starter .mli-pitcher-card--away .mli-pitcher-card__pitcher-info{
    left:16px;
    text-align:left;
}

.mli-detail-section--starter .mli-pitcher-card--home .mli-pitcher-card__pitcher-info{
    right:16px;
    text-align:right;
}

.mli-detail-section--starter .mli-pitcher-card__pitcher-info small{
    display:block;
    margin-bottom:4px;
    color:#99a4b1;
    font-size:9px;
    font-weight:850;
}

.mli-detail-section--starter .mli-pitcher-card__pitcher-info h4{
    margin:0!important;
    color:#10233d!important;
    font-size:19px!important;
    font-weight:950!important;
    line-height:1.12!important;
    letter-spacing:-.02em;
    white-space:nowrap;
}

.mli-detail-section--starter .mli-pitcher-card__pitcher-info h4.is-waiting{
    color:#8c98a7!important;
    font-size:15px!important;
}

.mli-detail-section--starter .mli-pitcher-card__pitcher-info p{
    margin:4px 0 0;
    color:#738196;
    font-size:9.5px;
    font-weight:750;
    line-height:1;
}

/* 左右投依圖放在「內側下方」 */
.mli-detail-section--starter .mli-hand-pill--corner{
    position:absolute;
    bottom:15px;
    display:inline-flex;
    align-items:center;
    min-height:23px;
    padding:3px 9px;
    border-radius:999px;
    font-size:9.5px;
    font-style:normal;
    font-weight:950;
    box-shadow:0 1px 3px rgba(16,36,63,.04);
}

.mli-detail-section--starter .mli-pitcher-card--away .mli-hand-pill--corner{
    right:16px;
}

.mli-detail-section--starter .mli-pitcher-card--home .mli-hand-pill--corner{
    left:16px;
}

.mli-detail-section--starter .mli-hand-pill--corner.is-left{
    border:1px solid #bdd6ef;
    background:#edf6ff;
    color:#315f94;
}

.mli-detail-section--starter .mli-hand-pill--corner.is-right{
    border:1px solid #efcfa8;
    background:#fff3e3;
    color:#a06410;
}

/* VS 依截圖：小圓章跨在兩卡中線 */
.mli-detail-section--starter .mli-pitcher-matchup--figure .mli-pitcher-matchup__vs{
    position:absolute;
    left:50%;
    top:50%;
    z-index:5;
    width:34px;
    height:34px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:5px solid #fff;
    border-radius:50%;
    background:#132a47;
    color:#fff;
    font-size:7.5px;
    font-weight:950;
    letter-spacing:.08em;
    box-shadow:0 4px 10px rgba(16,36,63,.15);
    transform:translate(-50%,-50%);
}

/* 桌機保持圖中的比例 */
@media(min-width:900px){
    .mli-detail-section--starter .mli-pitcher-matchup--figure .mli-pitcher-card{
        min-height:130px;
    }
}

/* 手機才改直向，不影響桌機圖示布局 */
@media(max-width:768px){
    .mli-detail-section--starter .mli-pitcher-matchup--figure{
        grid-template-columns:1fr;
        gap:10px;
    }

    .mli-detail-section--starter .mli-pitcher-matchup--figure .mli-pitcher-matchup__vs{
        position:relative;
        left:auto;
        top:auto;
        width:30px;
        height:30px;
        margin:-5px auto;
        border-width:3px;
        transform:none;
    }

    .mli-detail-section--starter .mli-pitcher-card--home .mli-pitcher-card__team-corner{
        left:16px;
        right:auto;
    }

    .mli-detail-section--starter .mli-pitcher-card--home .mli-pitcher-card__pitcher-info{
        left:16px;
        right:auto;
        text-align:left;
    }

    .mli-detail-section--starter .mli-pitcher-card--home .mli-hand-pill--corner{
        left:auto;
        right:16px;
    }
}

/* End V2.18.9 TOP FIX */


/* ================================================================
   V2.18.9 CATCHER ALIGN FIX
   回到原投捕搭配布局，只調整姓名方向 / 英文名 / 狀態置中
   ================================================================ */

.mli-detail-section--starter .mli-pitcher-side--catcher{
    position:relative;
    padding-top:42px;
}

/* 狀態全部置中 */
.mli-detail-section--starter .mli-catcher-status-center{
    position:absolute;
    top:10px;
    left:50%;
    z-index:2;
    display:flex;
    justify-content:center;
    width:max-content;
    max-width:calc(100% - 20px);
    transform:translateX(-50%);
}

.mli-detail-section--starter .mli-catcher-status-center .mli-battery-status{
    margin:0;
}

/* 捕手中文名 / 英文名：客左主右，跟投手一致 */
.mli-detail-section--starter .mli-catcher-name-block{
    min-width:0;
}

.mli-detail-section--starter .mli-pitcher-side--away .mli-catcher-name-block,
.mli-detail-section--starter .mli-pitcher-side--away .mli-pitcher-side__summary,
.mli-detail-section--starter .mli-pitcher-side--away .mli-pitcher-side__note{
    text-align:left;
}

.mli-detail-section--starter .mli-pitcher-side--home .mli-catcher-name-block,
.mli-detail-section--starter .mli-pitcher-side--home .mli-pitcher-side__summary,
.mli-detail-section--starter .mli-pitcher-side--home .mli-pitcher-side__note{
    text-align:right;
}

.mli-detail-section--starter .mli-catcher-name-block>span{
    display:block;
    margin-bottom:4px;
    color:#8190a0;
    font-size:10px;
    font-weight:850;
}

.mli-detail-section--starter .mli-catcher-name-block>strong{
    display:block;
    color:#10233d;
    font-size:14px;
    font-weight:950;
    line-height:1.2;
}

.mli-detail-section--starter .mli-catcher-name-block>small{
    display:block;
    margin-top:3px;
    color:#748397;
    font-size:9.5px;
    font-weight:750;
    line-height:1.1;
}

.mli-detail-section--starter .mli-pitcher-side--catcher .mli-pitcher-side__summary{
    margin-top:8px;
}

/* 舊的 top flex 不再使用，避免殘留排列影響 */
.mli-detail-section--starter .mli-pitcher-side--catcher .mli-pitcher-side__top{
    display:none!important;
}

@media(max-width:768px){
    /* 手機主客都左對齊，但狀態仍置中 */
    .mli-detail-section--starter .mli-pitcher-side--home .mli-catcher-name-block,
    .mli-detail-section--starter .mli-pitcher-side--home .mli-pitcher-side__summary,
    .mli-detail-section--starter .mli-pitcher-side--home .mli-pitcher-side__note{
        text-align:left;
    }
}

/* End V2.18.9 CATCHER ALIGN FIX */


/* ================================================================
   V2.18.9 CATCHER INLINE META
   ================================================================ */

/* 取消上一版為置中狀態預留的大上方空間 */
.mli-detail-section--starter .mli-pitcher-side--catcher{
    padding-top:10px;
}

/* 今日捕手 + 狀態，同一行 */
.mli-detail-section--starter .mli-catcher-topline{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    margin-bottom:7px;
}

.mli-detail-section--starter .mli-catcher-topline__label{
    color:#8190a0;
    font-size:9.5px;
    font-weight:850;
}

.mli-detail-section--starter .mli-catcher-topline .mli-battery-status{
    flex:0 0 auto;
    min-height:21px;
    padding:2px 7px;
    font-size:9px;
}

/* 舊置中狀態容器不再使用 */
.mli-detail-section--starter .mli-catcher-status-center{
    display:none!important;
}

/* 名字保持主要資訊 */
.mli-detail-section--starter .mli-catcher-name-block>strong{
    font-size:14px;
}

/* 英文名 + 近況摘要，同一行 */
.mli-detail-section--starter .mli-catcher-meta-line{
    display:flex;
    align-items:center;
    gap:7px;
    margin-top:4px;
    min-width:0;
    color:#6f7f90;
    font-size:9.5px;
    font-weight:750;
    line-height:1.2;
}

.mli-detail-section--starter .mli-catcher-meta-line small{
    flex:0 1 auto;
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:#748397;
    font-size:9.5px;
    font-weight:750;
}

.mli-detail-section--starter .mli-catcher-meta-line span{
    flex:0 0 auto;
    white-space:nowrap;
    color:#657588;
}

/* 客隊左排 */
.mli-detail-section--starter .mli-pitcher-side--away .mli-catcher-meta-line{
    justify-content:flex-start;
}

/* 主隊右排；摘要在左、英文名貼近姓名方向 */
.mli-detail-section--starter .mli-pitcher-side--home .mli-catcher-meta-line{
    justify-content:flex-end;
}

/* 原 summary 不再使用 */
.mli-detail-section--starter .mli-pitcher-side--catcher>.mli-pitcher-side__summary{
    display:none!important;
}

@media(max-width:768px){
    .mli-detail-section--starter .mli-pitcher-side--home .mli-catcher-topline{
        flex-direction:row;
    }

    .mli-detail-section--starter .mli-pitcher-side--home .mli-catcher-meta-line{
        justify-content:flex-start;
    }

    .mli-detail-section--starter .mli-catcher-meta-line{
        flex-wrap:wrap;
        row-gap:3px;
    }
}

/* End V2.18.9 CATCHER INLINE META */


/* ================================================================
   V2.18.9 CATCHER INLINE EMPHASIS
   歷史搭配資訊不是註腳：同一行，但提升層級
   ================================================================ */

.mli-detail-section--starter .mli-catcher-meta-line{
    margin-top:5px;
    gap:8px;
    min-height:18px;
    font-size:10.5px;
}

.mli-detail-section--starter .mli-catcher-meta-line small{
    color:#76869a;
    font-size:9.5px;
    font-weight:750;
}

.mli-detail-section--starter .mli-catcher-meta-line .mli-catcher-history{
    color:#455b73;
    font-size:10.5px;
    font-weight:850;
    letter-spacing:.005em;
}

.mli-detail-section--starter .mli-catcher-meta-line .mli-catcher-history b{
    color:#173451;
    font-size:11.5px;
    font-weight:950;
}

/* 用細分隔符把英文名與歷史資訊切清楚，但仍維持同一行 */
.mli-detail-section--starter .mli-catcher-meta-line small + .mli-catcher-history::before{
    content:"";
    display:inline-block;
    width:1px;
    height:11px;
    margin:0 8px 0 1px;
    background:#d8e0e8;
    vertical-align:-1px;
}

/* 主隊是歷史在前、英文在後，因此分隔線放另一側 */
.mli-detail-section--starter .mli-pitcher-side--home .mli-catcher-history + small::before{
    content:"";
    display:inline-block;
    width:1px;
    height:11px;
    margin:0 8px 0 1px;
    background:#d8e0e8;
    vertical-align:-1px;
}

@media(max-width:768px){
    .mli-detail-section--starter .mli-catcher-meta-line{
        font-size:10px;
    }

    .mli-detail-section--starter .mli-catcher-meta-line .mli-catcher-history{
        font-size:10px;
    }

    .mli-detail-section--starter .mli-catcher-meta-line .mli-catcher-history b{
        font-size:11px;
    }
}

/* End V2.18.9 CATCHER INLINE EMPHASIS */


/* ================================================================
   V2.18.11｜提示靠中 + 左右弱側分色 + 提示放大
   基底：使用者 2026-08-16 本次上傳版本
   ================================================================ */

/* ------------------------------------------------
   1. 所有主要提示膠囊統一放大一級
   ------------------------------------------------ */

/* 上方投手：左投 / 右投 */
.mli-detail-section--starter .mli-hand-pill--corner{
    min-height:27px;
    padding:4px 11px;
    font-size:10.5px;
    font-weight:950;
}

/* 投捕搭配：近期未搭配 / 有搭配經驗 / 主要搭檔 / 少見搭配 */
.mli-detail-section--starter .mli-catcher-topline .mli-battery-status{
    min-height:25px;
    padding:3px 9px;
    font-size:10px;
    font-weight:950;
}

/* 左右打對戰提示 */
.mli-detail-section--starter .mli-pitcher-module--split .mli-split-status{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:26px;
    padding:4px 10px;
    border-radius:999px;
    font-size:10.5px;
    font-weight:950;
    line-height:1;
    white-space:nowrap;
}

/* ------------------------------------------------
   2. 左右打弱側顏色
   對左打較吃力 = 藍
   對右打較吃力 = 橘
   ------------------------------------------------ */
.mli-detail-section--starter .mli-pitcher-module--split .mli-split-status.is-left-risk{
    border:1px solid #b9d5f0;
    background:#eaf4ff;
    color:#315f94;
}

.mli-detail-section--starter .mli-pitcher-module--split .mli-split-status.is-right-risk{
    border:1px solid #efcca1;
    background:#fff1dd;
    color:#9d6210;
}

.mli-detail-section--starter .mli-pitcher-module--split .mli-split-status.is-neutral{
    border:1px solid #dce3ea;
    background:#eef2f6;
    color:#68778a;
}

.mli-detail-section--starter .mli-pitcher-module--split .mli-split-status.is-warning{
    border:1px solid #e2d2bb;
    background:#f8f4ed;
    color:#806847;
}

/* ------------------------------------------------
   3. 「靠中」：不是置中
   客隊提示靠右 = 靠中央線
   主隊提示靠左 = 靠中央線
   球隊名稱留在外側
   ------------------------------------------------ */
.mli-detail-section--starter .mli-pitcher-module--split .mli-pitcher-side--split .mli-pitcher-side__top{
    display:flex;
    align-items:center;
    width:100%;
}

/* 客隊：球隊名稱在左外側，提示在右內側 */
.mli-detail-section--starter .mli-pitcher-module--split .mli-pitcher-side--away .mli-pitcher-side__top .mli-split-status{
    order:2;
    margin-left:auto;
}
.mli-detail-section--starter .mli-pitcher-module--split .mli-pitcher-side--away .mli-pitcher-side__top small{
    order:1;
}

/* 主隊：提示在左內側，球隊名稱在右外側 */
.mli-detail-section--starter .mli-pitcher-module--split .mli-pitcher-side--home .mli-pitcher-side__top .mli-split-status{
    order:1;
    margin-right:auto;
}
.mli-detail-section--starter .mli-pitcher-module--split .mli-pitcher-side--home .mli-pitcher-side__top small{
    order:2;
}

/* 手機仍維持可讀性，不強迫鏡像 */
@media(max-width:768px){
    .mli-detail-section--starter .mli-hand-pill--corner{
        min-height:25px;
        padding:3px 9px;
        font-size:10px;
    }

    .mli-detail-section--starter .mli-catcher-topline .mli-battery-status{
        min-height:24px;
        font-size:9.5px;
    }

    .mli-detail-section--starter .mli-pitcher-module--split .mli-split-status{
        min-height:25px;
        padding:3px 9px;
        font-size:10px;
    }
}

/* End V2.18.11 */


/* ================================================================
   V2.18.12｜Modal 標題 / 提示尺寸 / 捲軸修正
   ================================================================ */

/* 1. 左上角「芝加哥白襪 @ 底特律老虎」拿掉 */
.mli-detail-modal__matchup{
    display:none !important;
}

/* 拿掉 matchup 後，標題不需要額外空隙 */
.mli-detail-modal__head h2{
    margin-top:0;
}

/* 2. 投捕搭配狀態尺寸 = 左右投 / 左右打提示尺寸 */
.mli-detail-section--starter .mli-catcher-topline .mli-battery-status{
    min-height:27px;
    padding:4px 11px;
    border-radius:999px;
    font-size:10.5px;
    font-weight:950;
    line-height:1;
}

/* 三種主要提示統一尺寸，避免視覺大小不一致 */
.mli-detail-section--starter .mli-hand-pill--corner,
.mli-detail-section--starter .mli-catcher-topline .mli-battery-status,
.mli-detail-section--starter .mli-pitcher-module--split .mli-split-status{
    min-height:27px;
    padding:4px 11px;
    font-size:10.5px;
    line-height:1;
}

/* 3. 原本 V2.6.4 使用 overflow-y:scroll，內容沒超高也強制出現 scrollbar。
      改成 auto：只有真的超出可視高度才顯示。 */
.mli-detail-modal__body{
    overflow-y:auto !important;
    scrollbar-gutter:auto !important;
}

/* 桌機沒有 overflow 時不預留 scrollbar 寬度 */
@media(min-width:769px){
    .mli-detail-modal__body{
        overflow-y:auto !important;
        scrollbar-gutter:auto !important;
    }
}

/* 手機維持自動判斷 */
@media(max-width:768px){
    .mli-detail-section--starter .mli-hand-pill--corner,
    .mli-detail-section--starter .mli-catcher-topline .mli-battery-status,
    .mli-detail-section--starter .mli-pitcher-module--split .mli-split-status{
        min-height:25px;
        padding:3px 9px;
        font-size:10px;
    }

    .mli-detail-modal__body{
        overflow-y:auto !important;
        scrollbar-gutter:auto !important;
    }
}

/* End V2.18.12 */


/* ================================================================
   V2.18.13｜Starter UI clean-up
   ================================================================ */

/* 1. 捕手搭配歷史資訊放大
   這是判斷「近期未搭配 / 有搭配經驗」的核心資訊，不應像註腳。 */
.mli-detail-section--starter .mli-catcher-meta-line{
    min-height:20px;
    margin-top:6px;
    gap:9px;
}

.mli-detail-section--starter .mli-catcher-meta-line .mli-catcher-history{
    color:#3e556d;
    font-size:11.5px;
    font-weight:900;
    line-height:1.25;
}

.mli-detail-section--starter .mli-catcher-meta-line .mli-catcher-history b{
    color:#102f4d;
    font-size:12.5px;
    font-weight:950;
}

/* 英文名仍次於歷史搭配資訊，但不要小到看不清 */
.mli-detail-section--starter .mli-catcher-meta-line small{
    color:#748397;
    font-size:10px;
    font-weight:750;
}

/* 2. 「如何判讀」放大 */
.mli-detail-section--starter .mli-pitcher-module--split .mli-pitcher-module__note{
    align-items:center;
    gap:10px;
    padding:10px 12px;
}

.mli-detail-section--starter .mli-pitcher-module--split .mli-pitcher-module__note strong{
    font-size:10.5px;
    font-weight:950;
    line-height:1.4;
}

.mli-detail-section--starter .mli-pitcher-module--split .mli-pitcher-module__note span{
    color:#53677d;
    font-size:11px;
    font-weight:800;
    line-height:1.55;
}

/* 3. 左右打對戰已移除球隊名後，提示仍維持靠中央線
      客隊提示靠右；主隊提示靠左。 */
.mli-detail-section--starter .mli-pitcher-module--split .mli-pitcher-side--away .mli-pitcher-side__top{
    justify-content:flex-end;
}

.mli-detail-section--starter .mli-pitcher-module--split .mli-pitcher-side--home .mli-pitcher-side__top{
    justify-content:flex-start;
}

.mli-detail-section--starter .mli-pitcher-module--split .mli-pitcher-side--away .mli-split-status{
    margin-left:auto;
}

.mli-detail-section--starter .mli-pitcher-module--split .mli-pitcher-side--home .mli-split-status{
    margin-right:auto;
}

/* 4. 移除「捕 / 投」圖示後，標題直接對齊，避免殘留空隙 */
.mli-detail-section--starter .mli-pitcher-module__head{
    gap:0;
}

.mli-detail-section--starter .mli-pitcher-module__head > div:not(.mli-pitcher-module__icon){
    min-width:0;
}

/* 手機同步保持可讀 */
@media(max-width:768px){
    .mli-detail-section--starter .mli-catcher-meta-line .mli-catcher-history{
        font-size:11px;
    }

    .mli-detail-section--starter .mli-catcher-meta-line .mli-catcher-history b{
        font-size:12px;
    }

    .mli-detail-section--starter .mli-pitcher-module--split .mli-pitcher-module__note span{
        font-size:10.5px;
    }
}

/* End V2.18.13 */


/* ================================================================
   V2.18.16｜先發打線頂部樣式
   ================================================================ */

.mli-detail-section--lineup .mli-lineup-team-card-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    min-height:42px;
    margin:0 0 10px;
    padding:9px 11px;
    border:1px solid #e0e6ed;
    border-radius:12px;
    background:#fafbfd;
}

.mli-detail-section--lineup .mli-lineup-team-card-head__team{
    display:flex;
    align-items:center;
    gap:7px;
    min-width:0;
}

.mli-detail-section--lineup .mli-lineup-team-card-head__team>span{
    display:inline-flex;
    align-items:center;
    min-height:21px;
    padding:2px 7px;
    border-radius:999px;
    background:#eef2f6;
    color:#748295;
    font-size:9px;
    font-weight:900;
}

.mli-detail-section--lineup .mli-lineup-team-card-head__team img{
    width:24px;
    height:24px;
    object-fit:contain;
    opacity:0;
}

.mli-detail-section--lineup .mli-lineup-team-card-head__team img.is-loaded{
    opacity:1;
}

.mli-detail-section--lineup .mli-lineup-team-card-head__team strong{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:#25384f;
    font-size:12px;
    font-weight:950;
}

.mli-detail-section--lineup .mli-lineup-team-card-head>b{
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    min-height:24px;
    padding:3px 9px;
    border-radius:999px;
    font-size:9.5px;
    font-weight:950;
}

.mli-detail-section--lineup .mli-lineup-team-card-head>b.is-confirmed{
    color:#28714c;
    background:#eaf7ef;
}

.mli-detail-section--lineup .mli-lineup-team-card-head>b.is-waiting{
    color:#748195;
    background:#eef2f6;
}

/* 主隊的球隊資訊靠右 */
.mli-detail-section--lineup .mli-lineup-team-card-head--home .mli-lineup-team-card-head__team{
    justify-content:flex-end;
}

@media(max-width:768px){
    .mli-detail-section--lineup .mli-lineup-team-card-head{
        min-height:40px;
        padding:8px 9px;
    }

    .mli-detail-section--lineup .mli-lineup-team-card-head__team img{
        width:22px;
        height:22px;
    }

    .mli-detail-section--lineup .mli-lineup-team-card-head__team strong{
        font-size:11px;
    }
}

/* End V2.18.16 */


/* ================================================================
   V2.18.17｜先發打線：連成一體 + 單一正式打線 + 對方投手手別
   ================================================================ */

/* 標題列右上只保留一個正式打線狀態 */
.mli-detail-section--lineup .mli-lineup-titlebar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:10px;
}

.mli-detail-section--lineup .mli-lineup-titlebar .mli-section-title-row{
    margin:0;
}

.mli-detail-section--lineup .mli-lineup-global-status{
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    min-height:26px;
    padding:4px 10px;
    border-radius:999px;
    font-size:10px;
    font-weight:950;
    line-height:1;
}

.mli-detail-section--lineup .mli-lineup-global-status.is-confirmed{
    border:1px solid #bfe3cc;
    background:#eaf7ef;
    color:#28714c;
}

.mli-detail-section--lineup .mli-lineup-global-status.is-waiting{
    border:1px solid #dce3ea;
    background:#eef2f6;
    color:#718094;
}

/* 每一邊變成一張完整卡：Header + 打線直接相接 */
.mli-detail-section--lineup .mli-lineup-grid > div{
    overflow:hidden;
    border:1px solid #e0e6ed;
    border-radius:12px;
    background:#fff;
}

.mli-detail-section--lineup .mli-lineup-team-card-head{
    min-height:42px;
    margin:0!important;
    padding:9px 11px;
    border:0!important;
    border-bottom:1px solid #e7ecf1!important;
    border-radius:0!important;
    background:#fafbfd;
}

.mli-detail-section--lineup .mli-lineup-list{
    margin:0!important;
    border:0!important;
    border-radius:0!important;
}

.mli-detail-section--lineup .mli-lineup-list li:first-child{
    border-top:0!important;
}

/* 對方投手手別：取代各隊原本的「正式打線」 */
.mli-detail-section--lineup .mli-lineup-opponent-hand{
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    min-height:25px;
    padding:3px 9px;
    border-radius:999px;
    font-size:9.5px;
    font-weight:950;
    white-space:nowrap;
}

.mli-detail-section--lineup .mli-lineup-opponent-hand.is-left{
    border:1px solid #bdd6ef;
    background:#edf6ff;
    color:#315f94;
}

.mli-detail-section--lineup .mli-lineup-opponent-hand.is-right{
    border:1px solid #efcfa8;
    background:#fff3e3;
    color:#a06410;
}

.mli-detail-section--lineup .mli-lineup-opponent-hand.is-unknown{
    border:1px solid #dce3ea;
    background:#eef2f6;
    color:#718094;
}

/* 客隊：手別在右；主隊：手別在左 */
.mli-detail-section--lineup .mli-lineup-team-card-head--away .mli-lineup-opponent-hand{
    margin-left:auto;
}

.mli-detail-section--lineup .mli-lineup-team-card-head--home .mli-lineup-opponent-hand{
    margin-right:auto;
}

/* 舊的隊內正式打線 badge 不再使用 */
.mli-detail-section--lineup .mli-lineup-team-card-head > b{
    display:none!important;
}

/* 未公布時的空白狀態也直接接在 Header 下方 */
.mli-detail-section--lineup .mli-lineup-grid > div > .mli-empty-mini{
    margin:0;
    border:0;
    border-radius:0;
    border-top:0;
}

@media(max-width:768px){
    .mli-detail-section--lineup .mli-lineup-global-status{
        min-height:24px;
        padding:3px 8px;
        font-size:9.5px;
    }

    .mli-detail-section--lineup .mli-lineup-opponent-hand{
        min-height:23px;
        padding:3px 8px;
        font-size:9px;
    }
}

/* End V2.18.17 */


/* ================================================================
   V2.18.18｜先發打線球隊列下邊距加大
   ================================================================ */
@media(min-width:769px){
    .mli-detail-section--lineup .mli-lineup-team-card-head{
        min-height:46px;
        padding:9px 11px 13px;
    }
}

@media(max-width:768px){
    .mli-detail-section--lineup .mli-lineup-team-card-head{
        min-height:43px;
        padding:8px 9px 11px;
    }
}
/* End V2.18.18 */


/* ================================================================
   V2.18.19｜先發打線資訊層級
   Depth Chart / 對手手別 OPS 是分析資訊，不應與英文名同層級
   ================================================================ */

/* 英文姓名維持真正的次要資訊 */
.mli-detail-section--lineup .mli-player-name > small:not(.mli-depth-chart-note):not(.mli-hand-split-note){
    color:#8794a4;
    font-size:9.5px;
    font-weight:650;
    line-height:1.2;
}

/* MLB 官方守位順位：提高一級 */
.mli-detail-section--lineup .mli-depth-chart-note{
    display:block;
    margin-top:3px;
    color:#586d84 !important;
    font-size:10.5px !important;
    font-weight:800 !important;
    line-height:1.3 !important;
}

/* 對左投 / 對右投 OPS：再提高一點，屬於主要分析資料 */
.mli-detail-section--lineup .mli-hand-split-note{
    display:block;
    margin-top:3px;
    color:#365675 !important;
    font-size:11px !important;
    font-weight:850 !important;
    line-height:1.3 !important;
}

/* 資料不足仍保留較弱層級，但不能小到看不到 */
.mli-detail-section--lineup .mli-hand-split-note--unknown{
    color:#7c8997 !important;
    font-size:10.5px !important;
    font-weight:750 !important;
}

@media(max-width:768px){
    .mli-detail-section--lineup .mli-depth-chart-note{
        font-size:10px !important;
    }

    .mli-detail-section--lineup .mli-hand-split-note{
        font-size:10.5px !important;
    }
}

/* End V2.18.19 */


/* ================================================================
   V2.18.20｜先發打線姓名層級修正
   中文姓名重新成為每棒第一視覺層級
   ================================================================ */

/* 中文名：明確高於 Depth Chart / OPS 資訊 */
.mli-detail-section--lineup .mli-lineup-list .mli-player-name > strong{
    display:block;
    margin:0 0 2px;
    color:#10233d !important;
    font-size:15.5px !important;
    font-weight:950 !important;
    line-height:1.18 !important;
    letter-spacing:-.015em;
}

/* 英文名維持次要 */
.mli-detail-section--lineup .mli-player-name > small:not(.mli-depth-chart-note):not(.mli-hand-split-note){
    margin-top:0;
    color:#8995a3 !important;
    font-size:9.5px !important;
    font-weight:650 !important;
    line-height:1.2 !important;
}

/* 守位順位仍是分析資訊，但視覺不得壓過中文姓名 */
.mli-detail-section--lineup .mli-depth-chart-note{
    margin-top:3px;
    color:#5c7085 !important;
    font-size:10.5px !important;
    font-weight:780 !important;
    line-height:1.3 !important;
}

/* 對左/右投 OPS 保持清楚，但中文姓名仍是主角 */
.mli-detail-section--lineup .mli-hand-split-note{
    margin-top:3px;
    color:#3f5f7d !important;
    font-size:11px !important;
    font-weight:820 !important;
    line-height:1.3 !important;
}

@media(max-width:768px){
    .mli-detail-section--lineup .mli-lineup-list .mli-player-name > strong{
        font-size:14.5px !important;
    }
}

/* End V2.18.20 */


/* ================================================================
   V2.18.21｜打者 split OPS 用途 / 樣本提示
   ================================================================ */

.mli-detail-section--lineup .mli-hand-split-note{
    display:flex !important;
    align-items:center;
    flex-wrap:wrap;
    gap:5px;
}

.mli-detail-section--lineup .mli-hand-split-note > span:first-child{
    color:#3f5f7d;
    font-size:11px;
    font-weight:850;
}

.mli-detail-section--lineup .mli-hand-split-context{
    display:inline-flex;
    align-items:center;
    min-height:19px;
    padding:2px 6px;
    border-radius:999px;
    font-size:9.5px;
    font-weight:900;
    line-height:1;
}

/* 不是「有利/不利」，只是相較該打者自身本季整體 OPS */
.mli-detail-section--lineup .mli-hand-split-context.is-above{
    border:1px solid #c7d9eb;
    background:#eef5fb;
    color:#3f668c;
}

.mli-detail-section--lineup .mli-hand-split-context.is-below{
    border:1px solid #ead1c7;
    background:#fbf1ed;
    color:#8a5947;
}

.mli-detail-section--lineup .mli-hand-split-context.is-neutral{
    border:1px solid #dce3ea;
    background:#f1f4f7;
    color:#68788a;
}

/* 樣本偏少必須保留且看得見 */
.mli-detail-section--lineup .mli-hand-split-context.is-small-sample{
    border:1px solid #ead29f;
    background:#fff5df;
    color:#8d6518;
}

@media(max-width:768px){
    .mli-detail-section--lineup .mli-hand-split-note > span:first-child{
        font-size:10.5px;
    }

    .mli-detail-section--lineup .mli-hand-split-context{
        font-size:9px;
    }
}

/* End V2.18.21 */


/* ================================================================
   V2.18.22｜打者 split 狀態色差 + 簡化文字
   ================================================================ */

.mli-detail-section--lineup .mli-hand-split-context.is-above{
    border:1px solid #a9d7cc !important;
    background:#e8f7f3 !important;
    color:#176b5b !important;
    font-weight:950 !important;
}

.mli-detail-section--lineup .mli-hand-split-context.is-neutral{
    border:1px solid #d9e0e7 !important;
    background:#f1f4f7 !important;
    color:#6c7a89 !important;
    font-weight:850 !important;
}

.mli-detail-section--lineup .mli-hand-split-context.is-below{
    border:1px solid #e5c4b8 !important;
    background:#fbefeb !important;
    color:#8c4f3d !important;
    font-weight:950 !important;
}

/* End V2.18.22 */


/* ================================================================
   V2.18.23｜樣本偏少提示不變形
   ================================================================ */

.mli-detail-section--lineup .mli-hand-split-context.is-small-sample{
    flex:0 0 auto;
    min-height:20px;
    height:auto;
    padding:3px 7px;
    white-space:nowrap;
    word-break:keep-all;
    line-height:1.15;
    font-size:9.5px;
}

/* 小尺寸畫面仍保持單行，不把「樣本偏少（X 打席）」拆開 */
@media(max-width:768px){
    .mli-detail-section--lineup .mli-hand-split-context.is-small-sample{
        min-height:19px;
        padding:3px 6px;
        font-size:9px;
    }
}

/* End V2.18.23 */


/* ================================================================
   V2.18.24｜先發打線每棒留白
   ================================================================ */

/* 每棒上下留白增加一點，維持目前資訊密度但降低壓迫感 */
.mli-detail-section--lineup .mli-lineup-list > li{
    padding-top:10px !important;
    padding-bottom:10px !important;
    min-height:72px;
}

/* 手機不要放太鬆 */
@media(max-width:768px){
    .mli-detail-section--lineup .mli-lineup-list > li{
        padding-top:9px !important;
        padding-bottom:9px !important;
        min-height:68px;
    }
}

/* End V2.18.24 */


/* ================================================================
   V2.18.25｜Depth Chart 角色化 + split 狀態色加強
   ================================================================ */

/* 官方定位：保持分析資訊層級，不壓過中文姓名 */
.mli-detail-section--lineup .mli-depth-role-note{
    display:flex !important;
    align-items:center;
    flex-wrap:wrap;
    gap:4px 6px;
}

.mli-detail-section--lineup .mli-depth-role-note > span{
    color:#5c7085;
    font-size:10.5px;
    font-weight:800;
    line-height:1.3;
}

/* 今日使用方式：是判讀結果，不再只是原始順位 */
.mli-detail-section--lineup .mli-depth-usage{
    display:inline-flex;
    align-items:center;
    min-height:19px;
    padding:2px 6px;
    border-radius:999px;
    border:1px solid #d7e0e8;
    background:#f2f5f8;
    color:#657587;
    font-size:9.5px;
    font-style:normal;
    font-weight:900;
    line-height:1;
    white-space:nowrap;
}

/* 今日守位不在目前官方 Depth Chart 所列守位：只提示「不同」，不宣稱陌生守位 */
.mli-detail-section--lineup .mli-depth-usage.is-different{
    border-color:#efc47e;
    background:#fff3df;
    color:#9a6412;
}

/* 主力正常先發 */
.mli-detail-section--lineup .mli-depth-usage.is-normal{
    border-color:#cbd8e5;
    background:#eef3f8;
    color:#536b83;
}

/* 兼任守位 / 輪替 / 替補先發 */
.mli-detail-section--lineup .mli-depth-usage.is-secondary,
.mli-detail-section--lineup .mli-depth-usage.is-rotation,
.mli-detail-section--lineup .mli-depth-usage.is-bench{
    border-color:#d8e0e8;
    background:#f4f6f8;
    color:#677789;
}

/*
 * 高於自身平均：
 * 改成實心綠底＋白字，和「接近自身平均」灰色膠囊直接拉開。
 */
.mli-detail-section--lineup .mli-hand-split-context.is-above{
    border-color:#17784b !important;
    background:#17784b !important;
    color:#ffffff !important;
    font-weight:950 !important;
}

.mli-detail-section--lineup .mli-hand-split-context.is-neutral{
    border-color:#d7dee6 !important;
    background:#f1f4f7 !important;
    color:#667687 !important;
    font-weight:850 !important;
}

@media(max-width:768px){
    .mli-detail-section--lineup .mli-depth-role-note > span{
        font-size:10px;
    }

    .mli-detail-section--lineup .mli-depth-usage{
        min-height:18px;
        padding:2px 5px;
        font-size:9px;
    }
}

/* End V2.18.25 */


/* ================================================================
   V2.18.26｜先發打線資訊收斂
   ================================================================ */

/* 只剩異常提示時，不再保留原本官方定位文字造成的多餘間距 */
.mli-detail-section--lineup .mli-depth-role-note{
    display:flex !important;
    align-items:center;
    margin-top:3px;
    gap:0;
}

/*
 * OPS 相較自身平均：
 * 尺寸統一成「今日守位與官方定位不同」同一級。
 */
.mli-detail-section--lineup .mli-hand-split-context{
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    flex:0 0 auto;
    min-height:19px !important;
    height:auto !important;
    padding:2px 6px !important;
    border-radius:999px !important;
    font-size:9.5px !important;
    font-weight:900 !important;
    line-height:1 !important;
    white-space:nowrap;
}

/* 高於自身平均：柔和綠色，但與中性灰仍明顯不同 */
.mli-detail-section--lineup .mli-hand-split-context.is-above{
    border:1px solid #98c9aa !important;
    background:#e7f5eb !important;
    color:#276b46 !important;
    font-weight:900 !important;
}

/* 接近自身平均：中性灰 */
.mli-detail-section--lineup .mli-hand-split-context.is-neutral{
    border:1px solid #d7dee6 !important;
    background:#f1f4f7 !important;
    color:#667687 !important;
    font-weight:900 !important;
}

/* 低於自身平均：柔和紅棕 */
.mli-detail-section--lineup .mli-hand-split-context.is-below{
    border:1px solid #ddb8aa !important;
    background:#faeeea !important;
    color:#8a503d !important;
    font-weight:900 !important;
}

/* 樣本偏少尺寸也保持同級，不變形 */
.mli-detail-section--lineup .mli-hand-split-context.is-small-sample{
    min-height:19px !important;
    padding:2px 6px !important;
    font-size:9.5px !important;
    line-height:1 !important;
}

/* 每棒比上一版再放鬆一點 */
.mli-detail-section--lineup .mli-lineup-list > li{
    padding-top:12px !important;
    padding-bottom:12px !important;
    min-height:76px !important;
}

@media(max-width:768px){
    .mli-detail-section--lineup .mli-hand-split-context,
    .mli-detail-section--lineup .mli-hand-split-context.is-small-sample{
        min-height:18px !important;
        padding:2px 5px !important;
        font-size:9px !important;
    }

    .mli-detail-section--lineup .mli-lineup-list > li{
        padding-top:10px !important;
        padding-bottom:10px !important;
        min-height:72px !important;
    }
}

/* End V2.18.26 */


/* ================================================================
   V2.18.28｜守位異常提示與 OPS 判讀標籤完全同尺寸
   ================================================================ */

/*
 * 兩類標籤共用完全相同的尺寸規格。
 * 今日守位提示左側保留 5px 空白，視覺上比照 OPS 後方的判讀標籤。
 */
.mli-detail-section--lineup .mli-depth-usage.is-different,
.mli-detail-section--lineup .mli-hand-split-context{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    flex:0 0 auto !important;
    min-height:19px !important;
    height:auto !important;
    padding:2px 6px !important;
    border-radius:999px !important;
    font-size:9.5px !important;
    font-weight:900 !important;
    line-height:1 !important;
    white-space:nowrap !important;
    box-sizing:border-box !important;
}

.mli-detail-section--lineup .mli-depth-usage.is-different{
    margin-left:5px !important;
}

@media(max-width:768px){
    .mli-detail-section--lineup .mli-depth-usage.is-different,
    .mli-detail-section--lineup .mli-hand-split-context{
        min-height:18px !important;
        padding:2px 5px !important;
        font-size:9px !important;
    }

    .mli-detail-section--lineup .mli-depth-usage.is-different{
        margin-left:4px !important;
    }
}

/* End V2.18.28 */


/* ================================================================
   V2.18.29｜判讀標籤統一放大 + 官方定位空狀態
   ================================================================ */

/*
 * 全部判讀膠囊以「今日守位與官方定位不同」為基準再放大一級。
 * 左側統一保留 6px 空白。
 */
.mli-detail-section--lineup .mli-depth-usage.is-different,
.mli-detail-section--lineup .mli-hand-split-context{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    flex:0 0 auto !important;
    min-height:21px !important;
    height:auto !important;
    padding:3px 7px !important;
    margin-left:6px !important;
    border-radius:999px !important;
    font-size:10px !important;
    font-weight:900 !important;
    line-height:1 !important;
    white-space:nowrap !important;
    box-sizing:border-box !important;
}

/* 避免 parent gap + margin 疊加，統一只靠 badge 自己的左空白 */
.mli-detail-section--lineup .mli-hand-split-note{
    gap:0 !important;
}

.mli-detail-section--lineup .mli-depth-role-note{
    gap:0 !important;
}

/* 沒有官方定位時：用低權重文字說明原因，不做成警示膠囊 */
.mli-detail-section--lineup .mli-depth-empty{
    display:inline-block;
    color:#7a8998;
    font-size:10.5px;
    font-weight:780;
    line-height:1.3;
}

.mli-detail-section--lineup .mli-depth-empty.is-unlisted{
    color:#6f8192;
}

.mli-detail-section--lineup .mli-depth-empty.is-unavailable{
    color:#8a7b6b;
}

@media(max-width:768px){
    .mli-detail-section--lineup .mli-depth-usage.is-different,
    .mli-detail-section--lineup .mli-hand-split-context{
        min-height:20px !important;
        padding:3px 6px !important;
        margin-left:5px !important;
        font-size:9.5px !important;
    }

    .mli-detail-section--lineup .mli-depth-empty{
        font-size:10px;
    }
}

/* End V2.18.29 */


/* ================================================================
   V2.18.30｜判讀標籤尺寸恢復 V2.18.28
   ================================================================ */

.mli-detail-section--lineup .mli-depth-usage.is-different,
.mli-detail-section--lineup .mli-hand-split-context{
    min-height:19px !important;
    height:auto !important;
    padding:2px 6px !important;
    font-size:9.5px !important;
    line-height:1 !important;
    border-radius:999px !important;
    white-space:nowrap !important;
    box-sizing:border-box !important;
}

/* 守位異常提示左側保留上一版的視覺空白 */
.mli-detail-section--lineup .mli-depth-usage.is-different{
    margin-left:5px !important;
}

/* OPS 判讀標籤維持原本和前方 OPS 文字的間距 */
.mli-detail-section--lineup .mli-hand-split-context{
    margin-left:5px !important;
}

@media(max-width:768px){
    .mli-detail-section--lineup .mli-depth-usage.is-different,
    .mli-detail-section--lineup .mli-hand-split-context{
        min-height:18px !important;
        padding:2px 5px !important;
        font-size:9px !important;
        margin-left:4px !important;
    }
}

/* End V2.18.30 */


/* ================================================================
   V2.18.31｜先發投手改為「先發打線式」左右雙欄
   ================================================================ */

.mli-detail-section--starter .mli-pitcher-board--two-column{
    display:block !important;
}

.mli-detail-section--starter .mli-starter-two-col{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:12px;
}

.mli-detail-section--starter .mli-starter-team-card{
    min-width:0;
    overflow:hidden;
    border:1px solid #e0e6ed;
    border-radius:12px;
    background:#fff;
}

.mli-detail-section--starter .mli-starter-team-card-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    min-height:46px;
    padding:9px 11px 13px;
    border-bottom:1px solid #e7ecf1;
    background:#fafbfd;
}

.mli-detail-section--starter .mli-starter-team-card-head__team{
    display:flex;
    align-items:center;
    gap:7px;
    min-width:0;
}

.mli-detail-section--starter .mli-starter-team-card-head--home .mli-starter-team-card-head__team{
    justify-content:flex-end;
}

.mli-detail-section--starter .mli-starter-team-card-head__team>span{
    display:inline-flex;
    align-items:center;
    min-height:21px;
    padding:2px 7px;
    border-radius:999px;
    background:#eef2f6;
    color:#748295;
    font-size:9px;
    font-weight:900;
}

.mli-detail-section--starter .mli-starter-team-card-head__team img{
    width:24px;
    height:24px;
    object-fit:contain;
    opacity:0;
}

.mli-detail-section--starter .mli-starter-team-card-head__team img.is-loaded{
    opacity:1;
}

.mli-detail-section--starter .mli-starter-team-card-head__team strong{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:#25384f;
    font-size:12px;
    font-weight:950;
}

.mli-detail-section--starter .mli-starter-hand-pill{
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    min-height:25px;
    padding:3px 9px;
    border-radius:999px;
    font-size:9.5px;
    font-style:normal;
    font-weight:950;
    line-height:1;
    white-space:nowrap;
}

.mli-detail-section--starter .mli-starter-hand-pill.is-left{
    border:1px solid #bdd6ef;
    background:#edf6ff;
    color:#315f94;
}

.mli-detail-section--starter .mli-starter-hand-pill.is-right{
    border:1px solid #efcfa8;
    background:#fff3e3;
    color:#a06410;
}

.mli-detail-section--starter .mli-starter-team-card-body{
    padding:0;
}

.mli-detail-section--starter .mli-starter-pitcher-block{
    min-height:88px;
    padding:13px 16px 14px;
    border-bottom:1px solid #e8edf2;
}

.mli-detail-section--starter .mli-starter-pitcher-block>small{
    display:block;
    margin-bottom:4px;
    color:#8996a5;
    font-size:9.5px;
    font-weight:850;
}

.mli-detail-section--starter .mli-starter-pitcher-block h4{
    margin:0 !important;
    color:#10233d !important;
    font-size:18px !important;
    font-weight:950 !important;
    line-height:1.2 !important;
    letter-spacing:-.015em;
}

.mli-detail-section--starter .mli-starter-pitcher-block h4.is-waiting{
    color:#8190a0 !important;
}

.mli-detail-section--starter .mli-starter-pitcher-block p{
    margin:3px 0 0;
    color:#728194;
    font-size:10px;
    font-weight:700;
}

.mli-detail-section--starter .mli-starter-submodule{
    padding:13px 14px 14px;
}

.mli-detail-section--starter .mli-starter-submodule + .mli-starter-submodule{
    border-top:1px solid #e8edf2;
}

.mli-detail-section--starter .mli-starter-submodule__head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:10px;
    margin-bottom:11px;
}

.mli-detail-section--starter .mli-starter-submodule__head h5{
    margin:0 !important;
    color:#1b304a !important;
    font-size:12px !important;
    font-weight:950 !important;
    line-height:1.25 !important;
}

.mli-detail-section--starter .mli-starter-submodule__head p{
    margin:2px 0 0;
    color:#8290a0;
    font-size:9.5px;
    font-weight:700;
    line-height:1.35;
}

.mli-detail-section--starter .mli-starter-catcher{
    padding:11px 12px;
    border-radius:10px;
    background:#f7f9fc;
}

.mli-detail-section--starter .mli-starter-catcher>small{
    display:block;
    margin-bottom:3px;
    color:#8290a0;
    font-size:9.5px;
    font-weight:850;
}

.mli-detail-section--starter .mli-starter-catcher>strong{
    display:block;
    color:#152941;
    font-size:14px;
    font-weight:950;
    line-height:1.25;
}

.mli-detail-section--starter .mli-starter-catcher__en{
    display:block;
    margin-top:2px;
    color:#798899;
    font-size:9.5px;
    font-weight:700;
}

.mli-detail-section--starter .mli-starter-catcher__history{
    display:block;
    margin-top:7px;
    color:#5f7083;
    font-size:11px;
    font-weight:800;
}

.mli-detail-section--starter .mli-starter-catcher__history b{
    color:#183552;
    font-size:12px;
    font-weight:950;
}

.mli-detail-section--starter .mli-starter-catcher__note{
    margin:7px 0 0;
    padding-top:7px;
    border-top:1px dashed #dfe5eb;
    color:#788697;
    font-size:10px;
    line-height:1.5;
}

.mli-detail-section--starter .mli-starter-submodule--split .mli-pitcher-ops{
    gap:7px;
}

.mli-detail-section--starter .mli-starter-submodule--split .mli-pitcher-ops>div{
    padding:10px 11px;
    background:#f7f9fc;
}

.mli-detail-section--starter .mli-starter-submodule--split .mli-pitcher-ops span{
    margin-bottom:5px;
    font-size:9.5px;
}

.mli-detail-section--starter .mli-starter-submodule--split .mli-pitcher-ops strong{
    font-size:22px;
}

.mli-detail-section--starter .mli-starter-read-note{
    display:flex;
    align-items:flex-start;
    gap:9px;
    margin-top:10px;
    padding:10px 12px;
    border-radius:10px;
    background:#f3f6f9;
}

.mli-detail-section--starter .mli-starter-read-note strong{
    flex:0 0 auto;
    color:#405975;
    font-size:10px;
    font-weight:950;
}

.mli-detail-section--starter .mli-starter-read-note span{
    color:#647487;
    font-size:10.5px;
    font-weight:750;
    line-height:1.55;
}

/* 新版不再使用舊的跨欄投手卡 / module 版型 */
.mli-detail-section--starter .mli-pitcher-board--two-column > .mli-pitcher-matchup,
.mli-detail-section--starter .mli-pitcher-board--two-column > .mli-pitcher-module{
    display:none !important;
}

@media(max-width:768px){
    .mli-detail-section--starter .mli-starter-two-col{
        grid-template-columns:1fr;
        gap:10px;
    }

    .mli-detail-section--starter .mli-starter-team-card-head{
        min-height:43px;
        padding:8px 9px 11px;
    }

    .mli-detail-section--starter .mli-starter-team-card-head__team img{
        width:22px;
        height:22px;
    }

    .mli-detail-section--starter .mli-starter-team-card-head__team strong{
        font-size:11px;
    }

    .mli-detail-section--starter .mli-starter-hand-pill{
        min-height:23px;
        padding:3px 8px;
        font-size:9px;
    }

    .mli-detail-section--starter .mli-starter-pitcher-block{
        min-height:80px;
        padding:12px 13px 13px;
    }

    .mli-detail-section--starter .mli-starter-pitcher-block h4{
        font-size:17px !important;
    }

    .mli-detail-section--starter .mli-starter-submodule{
        padding:12px;
    }

    .mli-detail-section--starter .mli-starter-submodule--split .mli-pitcher-ops strong{
        font-size:20px;
    }

    .mli-detail-section--starter .mli-starter-read-note{
        display:block;
    }

    .mli-detail-section--starter .mli-starter-read-note strong{
        display:block;
        margin-bottom:3px;
    }
}

/* End V2.18.31 */


/* ================================================================
   V2.18.32｜先發投手重點資料區底色 + 左右打語意色
   ================================================================ */

/*
 * 今日捕手：
 * 使用中性淡灰藍，讓整塊資訊從白色外卡中浮出來，
 * 但不帶「好／壞」判斷語意。
 */
.mli-detail-section--starter .mli-starter-catcher{
    border:1px solid #e2e9f0 !important;
    background:#f3f6f9 !important;
}

/*
 * 左右打 OPS：
 * 比今日捕手再深半階，因為這裡是需要快速掃描的核心數值。
 */
.mli-detail-section--starter .mli-starter-submodule--split .mli-pitcher-ops>div{
    border:1px solid #dfe7ee !important;
    background:#edf3f7 !important;
}

/* OPS 數值本身維持深色，增加與底色的對比 */
.mli-detail-section--starter .mli-starter-submodule--split .mli-pitcher-ops strong{
    color:#102b49 !important;
}

/*
 * 左右打較吃力恢復兩種不同語意色：
 * 左打 = 藍色
 * 右打 = 橘色
 */
.mli-detail-section--starter .mli-split-status.is-left-risk{
    border:1px solid #afd0ee !important;
    background:#eaf5ff !important;
    color:#2d6699 !important;
    font-weight:950 !important;
}

.mli-detail-section--starter .mli-split-status.is-right-risk{
    border:1px solid #efc89a !important;
    background:#fff2df !important;
    color:#a2610b !important;
    font-weight:950 !important;
}

/* 沒有明顯左右差異仍維持中性灰 */
.mli-detail-section--starter .mli-split-status.is-neutral{
    border:1px solid #d9e1e8 !important;
    background:#f2f5f7 !important;
    color:#6b7988 !important;
}

/* End V2.18.32 */


/* ================================================================
   V2.18.33｜先發投手資料區配色重做
   ================================================================ */

/*
 * 今日捕手：
 * 改成很淡的暖白米色，與網站橘色系更協調，
 * 不再有上一版整塊藍灰色的厚重感。
 */
.mli-detail-section--starter .mli-starter-catcher{
    border:1px solid #eee5d8 !important;
    background:#fbf8f3 !important;
    box-shadow:0 1px 2px rgba(24,42,62,.025);
}

/*
 * 左右打 OPS：
 * 改成接近白色的中性底，只用細框與極淡陰影拉出卡片層級。
 * 核心數值仍比一般文字更醒目，但不再像兩塊藍色磚。
 */
.mli-detail-section--starter .mli-starter-submodule--split .mli-pitcher-ops>div{
    border:1px solid #e2e7ec !important;
    background:#fafbfc !important;
    box-shadow:0 1px 2px rgba(24,42,62,.025);
}

.mli-detail-section--starter .mli-starter-submodule--split .mli-pitcher-ops strong{
    color:#10233d !important;
}

/* End V2.18.33 */


/* ================================================================
   V2.18.34｜今日陣容影響：左右球隊卡
   ================================================================ */

.mli-detail-section--absence .mli-roster-two-col{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:12px;
}

.mli-detail-section--absence .mli-roster-team-card{
    min-width:0;
    overflow:hidden;
    border:1px solid #e0e6ed;
    border-radius:12px;
    background:#fff;
}

.mli-detail-section--absence .mli-roster-team-head{
    display:flex;
    align-items:center;
    min-height:46px;
    padding:9px 11px 13px;
    border-bottom:1px solid #e7ecf1;
    background:#fafbfd;
}

.mli-detail-section--absence .mli-roster-team-head--home{
    justify-content:flex-end;
}

.mli-detail-section--absence .mli-roster-team-head__team{
    display:flex;
    align-items:center;
    gap:7px;
    min-width:0;
}

.mli-detail-section--absence .mli-roster-team-head--home .mli-roster-team-head__team{
    justify-content:flex-end;
}

.mli-detail-section--absence .mli-roster-team-head__team>span{
    display:inline-flex;
    align-items:center;
    min-height:21px;
    padding:2px 7px;
    border-radius:999px;
    background:#eef2f6;
    color:#748295;
    font-size:9px;
    font-weight:900;
}

.mli-detail-section--absence .mli-roster-team-head__team img{
    width:24px;
    height:24px;
    object-fit:contain;
    opacity:0;
}

.mli-detail-section--absence .mli-roster-team-head__team img.is-loaded{
    opacity:1;
}

.mli-detail-section--absence .mli-roster-team-head__team strong{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:#25384f;
    font-size:12px;
    font-weight:950;
}

.mli-detail-section--absence .mli-roster-team-body{
    padding:0;
}

.mli-detail-section--absence .mli-roster-module{
    padding:13px 14px 14px;
}

.mli-detail-section--absence .mli-roster-module + .mli-roster-module{
    border-top:1px solid #e8edf2;
}

.mli-detail-section--absence .mli-roster-module__head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:10px;
    margin-bottom:10px;
}

.mli-detail-section--absence .mli-roster-module__head h4{
    margin:0 !important;
    color:#1b304a !important;
    font-size:12px !important;
    font-weight:950 !important;
    line-height:1.25 !important;
}

.mli-detail-section--absence .mli-roster-module__head p{
    margin:2px 0 0;
    color:#8290a0;
    font-size:9.5px;
    font-weight:700;
    line-height:1.35;
}

/* 捕手配置：比舊版更像資訊卡，但不使用厚重灰藍底 */
.mli-detail-section--absence .mli-catcher-compare{
    gap:7px;
    margin:0;
}

.mli-detail-section--absence .mli-catcher-compare>div{
    padding:11px 12px;
    border:1px solid #e4e8ec;
    border-radius:10px;
    background:#fbfaf8;
    box-shadow:0 1px 2px rgba(24,42,62,.02);
}

.mli-detail-section--absence .mli-catcher-compare span{
    margin-bottom:4px;
    color:#7b8998;
    font-size:9.5px;
    font-weight:850;
}

.mli-detail-section--absence .mli-catcher-compare strong{
    color:#14273f;
    font-size:13px;
    font-weight:950;
}

.mli-detail-section--absence .mli-catcher-compare small{
    margin-top:3px;
    color:#8b98a6;
    font-size:9.5px;
    font-weight:700;
}

/* 陣容項目不再像散落的列表，改成卡片內連續列 */
.mli-detail-section--absence .mli-roster-impact-list{
    margin:0;
    padding:0;
    border:1px solid #e7ebef;
    border-radius:10px;
    overflow:hidden;
    background:#fff;
}

.mli-detail-section--absence .mli-roster-impact-list>li{
    margin:0 !important;
    padding:11px 12px !important;
    border:0 !important;
    border-radius:0 !important;
    background:#fff !important;
}

.mli-detail-section--absence .mli-roster-impact-list>li + li{
    border-top:1px solid #e9edf1 !important;
}

.mli-detail-section--absence .mli-roster-impact-list .mli-person-role b{
    color:#132840;
    font-size:13px;
    font-weight:950;
}

.mli-detail-section--absence .mli-roster-impact-list .mli-player-name small{
    margin-top:2px;
    color:#7d8b9b;
    font-size:9.5px;
    font-weight:700;
}

.mli-detail-section--absence .mli-roster-impact-list .mli-depth-inline{
    margin-top:4px;
    color:#667a90 !important;
    font-size:10px !important;
    font-weight:800;
}

.mli-detail-section--absence .mli-roster-impact-list>li>div>small:last-child{
    display:block;
    margin-top:4px;
    color:#738294;
    font-size:10px;
    line-height:1.5;
}

/* 上方警示維持獨立，但視覺和雙欄卡更一致 */
.mli-detail-section--absence .mli-section-alerts{
    margin-bottom:12px;
}

.mli-detail-section--absence .mli-section-note{
    margin-bottom:13px;
}

@media(max-width:768px){
    .mli-detail-section--absence .mli-roster-two-col{
        grid-template-columns:1fr;
        gap:10px;
    }

    .mli-detail-section--absence .mli-roster-team-head{
        min-height:43px;
        padding:8px 9px 11px;
    }

    .mli-detail-section--absence .mli-roster-team-head__team img{
        width:22px;
        height:22px;
    }

    .mli-detail-section--absence .mli-roster-team-head__team strong{
        font-size:11px;
    }

    .mli-detail-section--absence .mli-roster-module{
        padding:12px;
    }

    .mli-detail-section--absence .mli-catcher-compare>div{
        padding:9px 10px;
    }
}

/* End V2.18.34 */


/* ================================================================
   V2.18.35｜陣容影響 Modal selector 修正
   原因：
   mlb-live-intel.js 會 clone section 後移除 data-mli-detail-section，
   因此 V2.18.34 以 data attribute 作 ancestor 的 CSS 在 Modal 內無法命中。
   本版改用永久 class：.mli-detail-section--absence
   ================================================================ */

.mli-detail-modal__body .mli-detail-section--absence .mli-roster-two-col{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
    gap:12px !important;
}

.mli-detail-modal__body .mli-detail-section--absence .mli-roster-team-card{
    min-width:0;
    overflow:hidden;
    border:1px solid #e0e6ed;
    border-radius:12px;
    background:#fff;
}

.mli-detail-modal__body .mli-detail-section--absence .mli-roster-team-head__team img{
    display:block;
    width:24px !important;
    min-width:24px !important;
    max-width:24px !important;
    height:24px !important;
    min-height:24px !important;
    max-height:24px !important;
    object-fit:contain !important;
    transform:none !important;
}

@media(max-width:768px){
    .mli-detail-modal__body .mli-detail-section--absence .mli-roster-two-col{
        grid-template-columns:1fr !important;
        gap:10px !important;
    }

    .mli-detail-modal__body .mli-detail-section--absence .mli-roster-team-head__team img{
        width:22px !important;
        min-width:22px !important;
        max-width:22px !important;
        height:22px !important;
        min-height:22px !important;
        max-height:22px !important;
    }
}

/* End V2.18.35 */


/* ================================================================
   V2.18.37｜今日陣容影響分類膠囊
   ================================================================ */
.mli-detail-section--absence .mli-roster-impact-list .mli-person-role{
    align-items:flex-start;
}

.mli-detail-section--absence .mli-roster-category-pill{
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:20px;
    margin:0;
    padding:2px 7px;
    border:1px solid #dde5ed;
    border-radius:999px;
    background:#f2f6f9;
    color:#5f7186;
    font-size:9px;
    font-style:normal;
    font-weight:900;
    line-height:1.15;
    white-space:nowrap;
}

@media(max-width:768px){
    .mli-detail-section--absence .mli-roster-category-pill{
        min-height:19px;
        padding:2px 6px;
        font-size:8.5px;
    }
}
/* End V2.18.37 */


/* ================================================================
   V2.18.38｜陣容影響分類膠囊：恢復警示語意色
   ================================================================ */

/* 高重要度：紅 */
.mli-detail-section--absence .mli-roster-category-pill--high{
    border-color:#efc9c2;
    background:#fff1ee;
    color:#b42318;
}

/* 中重要度：橘 */
.mli-detail-section--absence .mli-roster-category-pill--medium{
    border-color:#efd39f;
    background:#fff6e5;
    color:#a15c05;
}

/* 一般資訊／低重要度：維持中性灰藍 */
.mli-detail-section--absence .mli-roster-category-pill--info,
.mli-detail-section--absence .mli-roster-category-pill--low{
    border-color:#dde5ed;
    background:#f2f6f9;
    color:#5f7186;
}

/* End V2.18.38 */


/* ================================================================
   V2.18.39｜今日陣容影響：所有原警示標題統一改成列內膠囊
   ================================================================ */

/* critical 與 high 同樣使用紅色警示 */
.mli-detail-section--absence .mli-roster-category-pill--critical,
.mli-detail-section--absence .mli-roster-category-pill--high{
    border-color:#efc9c2;
    background:#fff1ee;
    color:#b42318;
}

/* medium 使用橘色警示 */
.mli-detail-section--absence .mli-roster-category-pill--medium{
    border-color:#efd39f;
    background:#fff6e5;
    color:#a15c05;
}

/* info / low 為一般情報，不誤導成負面 */
.mli-detail-section--absence .mli-roster-category-pill--info,
.mli-detail-section--absence .mli-roster-category-pill--low{
    border-color:#dce4ec;
    background:#f2f6f9;
    color:#5c7087;
}

/* 完整警示標題較長，允許自然寬度但維持單行 */
.mli-detail-section--absence .mli-roster-category-pill{
    max-width:210px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

@media(max-width:768px){
    .mli-detail-section--absence .mli-roster-category-pill{
        max-width:160px;
    }
}

/* End V2.18.39 */


/* ================================================================
   V2.18.40｜今日陣容影響：膠囊放大並統一右上角
   ================================================================ */

.mli-detail-section--absence .mli-roster-impact-list>li{
    position:relative;
}

.mli-detail-section--absence .mli-roster-impact-list>li>div{
    padding-right:190px;
}

.mli-detail-section--absence .mli-roster-category-pill{
    position:absolute;
    top:10px;
    right:12px;
    z-index:2;
    min-height:24px;
    max-width:180px;
    padding:3px 9px;
    font-size:10.5px;
    font-weight:950;
    line-height:1.15;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.mli-detail-section--absence .mli-roster-impact-list .mli-person-role{
    display:block !important;
}

@media(max-width:768px){
    .mli-detail-section--absence .mli-roster-impact-list>li>div{
        padding-right:145px;
    }

    .mli-detail-section--absence .mli-roster-category-pill{
        top:9px;
        right:10px;
        min-height:22px;
        max-width:138px;
        padding:3px 8px;
        font-size:9.5px;
    }
}

/* End V2.18.40 */


/* ================================================================
   V2.18.45｜今日陣容影響：只調文字換行與字級
   ================================================================ */

/*
 * 原本 V2.18.40 把整個內容 div 都預留 190px 給右上膠囊，
 * 導致 Depth Chart / 原因文字太早換行。
 *
 * 改成：
 * - 只有最上方姓名列避開右上膠囊。
 * - 下方 Depth Chart / 原因文字使用完整寬度。
 */
.mli-detail-section--absence .mli-roster-impact-list>li>div{
    padding-right:0 !important;
}

.mli-detail-section--absence .mli-roster-impact-list .mli-person-role{
    padding-right:190px;
}

/* 只放大這兩段資訊文字 */
.mli-detail-section--absence .mli-roster-impact-list .mli-depth-inline{
    font-size:11px !important;
    line-height:1.5;
}

.mli-detail-section--absence .mli-roster-impact-list>li>div>small:last-child{
    font-size:11px !important;
    line-height:1.6;
    max-width:none;
}

@media(max-width:768px){
    .mli-detail-section--absence .mli-roster-impact-list .mli-person-role{
        padding-right:145px;
    }

    .mli-detail-section--absence .mli-roster-impact-list .mli-depth-inline,
    .mli-detail-section--absence .mli-roster-impact-list>li>div>small:last-child{
        font-size:10.5px !important;
    }
}

/* End V2.18.45 */


/* ================================================================
   V2.18.46｜首頁賽事卡：重要情報直接列在 quick tag 區
   ================================================================ */

.mli-quick-tags--important{
    gap:7px;
    padding-top:11px;
    padding-bottom:11px;
}

/* 只作用於首頁重要情報膠囊，不影響其他 mli-tag */
.mli-quick-tags--important .mli-important-tag{
    min-height:28px;
    max-width:100%;
    padding:4px 10px;
    gap:0;
    line-height:1.35;
    white-space:normal;
}

.mli-quick-tags--important .mli-important-tag__team{
    flex:0 0 auto;
    font-size:inherit;
    font-weight:950;
}

.mli-quick-tags--important .mli-important-tag__sep{
    flex:0 0 auto;
    margin:0 2px;
    font-style:normal;
    opacity:.62;
}

.mli-quick-tags--important .mli-important-tag>span{
    color:inherit;
    font-size:inherit;
    font-weight:900;
}

@media(max-width:560px){
    .mli-quick-tags--important{
        gap:6px;
        padding:9px 10px;
    }

    .mli-quick-tags--important .mli-important-tag{
        min-height:26px;
        padding:4px 8px;
        font-size:10px;
    }
}

/* End V2.18.46 */


/* ================================================================
   V2.18.48｜先發投手：投捕搭配生疏整合提示
   ================================================================ */
.mli-detail-section--starter .mli-battery-config-alerts{
    display:flex;
    flex-direction:column;
    gap:7px;
    margin:0 0 12px;
}
.mli-detail-section--starter .mli-battery-config-alert{
    display:grid;
    grid-template-columns:155px minmax(0,1fr);
    gap:10px;
    align-items:center;
    padding:9px 11px;
    border:1px solid #e4e9ef;
    border-radius:10px;
    background:#fafbfd;
}
.mli-detail-section--starter .mli-battery-config-alert__head strong{
    display:inline-flex;
    align-items:center;
    min-height:23px;
    padding:3px 8px;
    border-radius:999px;
    font-size:10px;
    font-weight:950;
}
.mli-detail-section--starter .mli-battery-config-alert__head span{
    display:block;
    margin-top:4px;
    color:#607186;
    font-size:10px;
    font-weight:900;
}
.mli-detail-section--starter .mli-battery-config-alert p{
    margin:0;
    color:#607186;
    font-size:11px;
    line-height:1.55;
}
.mli-detail-section--starter .mli-battery-config-alert--critical,
.mli-detail-section--starter .mli-battery-config-alert--high{
    border-color:#efc9c2;
    background:#fff6f4;
}
.mli-detail-section--starter .mli-battery-config-alert--critical .mli-battery-config-alert__head strong,
.mli-detail-section--starter .mli-battery-config-alert--high .mli-battery-config-alert__head strong{
    color:#b42318;
    background:#ffe8e4;
}
.mli-detail-section--starter .mli-battery-config-alert--medium{
    border-color:#efd6aa;
    background:#fffaf1;
}
.mli-detail-section--starter .mli-battery-config-alert--medium .mli-battery-config-alert__head strong{
    color:#9b5d08;
    background:#fff0d6;
}
@media(max-width:640px){
    .mli-detail-section--starter .mli-battery-config-alert{
        grid-template-columns:1fr;
        gap:5px;
    }
    .mli-detail-section--starter .mli-battery-config-alert p{
        font-size:10.5px;
    }
}
/* End V2.18.48 */

/* V2.18.49：只做名稱口徑調整，不改既有版面結構。 */


/* ================================================================
   V2.18.50｜首頁重要情報：球隊標示 + 統一橘色
   ================================================================ */
.mli-quick-tags--important .mli-important-tag__team{
    color:inherit;
    font-weight:950;
}
.mli-quick-tags--important .mli-important-tag__sep{
    margin:0 4px;
    color:inherit;
    opacity:.72;
}
/* End V2.18.50 */


/* ================================================================
   V2.18.51｜首頁重要情報顏色 HARD FIX
   直接鎖定 quick-tags--important，無論舊 class 是 danger / warn，
   全部統一成「留意」的橘色系。
   ================================================================ */
.mli-quick-tags--important .mli-important-tag,
.mli-quick-tags--important .mli-important-tag.mli-tag--warn,
.mli-quick-tags--important .mli-important-tag.mli-tag--danger{
    color:#a65412 !important;
    background:#fff3e8 !important;
    border-color:#f8b37d !important;
}

.mli-quick-tags--important .mli-important-tag__team,
.mli-quick-tags--important .mli-important-tag__sep,
.mli-quick-tags--important .mli-important-tag>span{
    color:#a65412 !important;
}

/* End V2.18.51 */


/* ================================================================
   V2.18.52｜首頁重要情報：恢復警示層級
   critical/high = 紅色
   medium = 對齊「🟠 留意」的橘色
   ================================================================ */

/* 高重要度：保留紅色 */
.mli-quick-tags--important .mli-important-tag.mli-important-tag--high{
    color:#b42318 !important;
    background:#fff2ef !important;
    border-color:#f2d0c8 !important;
}
.mli-quick-tags--important .mli-important-tag.mli-important-tag--high .mli-important-tag__team,
.mli-quick-tags--important .mli-important-tag.mli-important-tag--high .mli-important-tag__sep,
.mli-quick-tags--important .mli-important-tag.mli-important-tag--high>span{
    color:#b42318 !important;
}

/*
 * 中度 / 留意：
 * 下方賽程狀態是 Unicode 🟠，實際顏色由系統 Emoji 字型渲染。
 * 膠囊採 #ff7a45，視覺直接對齊該「留意」橘色，
 * 不再使用上一版偏黃棕的 #a65412。
 */
.mli-quick-tags--important .mli-important-tag.mli-important-tag--medium{
    color:#d95f22 !important;
    background:#fff4ed !important;
    border-color:#ffb38f !important;
}
.mli-quick-tags--important .mli-important-tag.mli-important-tag--medium .mli-important-tag__team,
.mli-quick-tags--important .mli-important-tag.mli-important-tag--medium .mli-important-tag__sep,
.mli-quick-tags--important .mli-important-tag.mli-important-tag--medium>span{
    color:#d95f22 !important;
}

/* End V2.18.52 */


/* ================================================================
   V2.18.53｜首頁重要情報膠囊外框恢復
   ================================================================ */

/* 高重要度：紅色 + 明確外框 */
.mli-quick-tags--important .mli-important-tag.mli-important-tag--high{
    border:1px solid #efb7ae !important;
}

/* 中度：留意橘色 + 明確外框 */
.mli-quick-tags--important .mli-important-tag.mli-important-tag--medium{
    border:1px solid #ff9a66 !important;
}

/* 避免既有通用 tag 規則把邊框吃掉 */
.mli-quick-tags--important .mli-important-tag{
    box-shadow:none !important;
}

/* End V2.18.53 */


/* ================================================================
   V2.18.54｜首頁重要情報 medium：對齊「🟠 留意」
   high / critical 紅色不動。
   ================================================================ */

/*
 * 使用偏橘紅、但不刺眼的警示橘：
 * 文字 #c95f18
 * 背景 #fff7ed
 * 邊框 #fdba74
 * 視覺比上一版更接近下方「🟠 留意」。
 */
.mli-quick-tags--important .mli-important-tag.mli-important-tag--medium{
    color:#c95f18 !important;
    background:#fff7ed !important;
    border:1px solid #fdba74 !important;
}
.mli-quick-tags--important .mli-important-tag.mli-important-tag--medium .mli-important-tag__team,
.mli-quick-tags--important .mli-important-tag.mli-important-tag--medium .mli-important-tag__sep,
.mli-quick-tags--important .mli-important-tag.mli-important-tag--medium>span{
    color:#c95f18 !important;
}

/* End V2.18.54 */


/* ================================================================
   V2.18.55｜首頁重要情報分隔符 + medium 警示橘
   ================================================================ */

/* 半形 |，只留很小的左右間距 */
.mli-quick-tags--important .mli-important-tag__sep{
    margin:0 2px !important;
    opacity:.78;
    font-weight:700;
}

/*
 * medium：改成更有警示感的橘色
 * 保留淺底，避免和 high/critical 紅色打架。
 */
.mli-quick-tags--important .mli-important-tag.mli-important-tag--medium{
    color:#c94f0c !important;
    background:#fff1e8 !important;
    border:1px solid #ff8a4c !important;
}
.mli-quick-tags--important .mli-important-tag.mli-important-tag--medium .mli-important-tag__team,
.mli-quick-tags--important .mli-important-tag.mli-important-tag--medium .mli-important-tag__sep,
.mli-quick-tags--important .mli-important-tag.mli-important-tag--medium>span{
    color:#c94f0c !important;
}

/* End V2.18.55 */


/* ================================================================
   V2.18.58 Preview｜重要情報改用點擊摘要視窗
   ================================================================ */
.mli-alert-count--popup{
    appearance:none;
    cursor:pointer;
    font-family:inherit;
}
.mli-alert-count--popup:hover{
    background:#ffe9e5;
    border-color:#efb7ae;
}

.mli-alert-summary-source[hidden]{display:none!important}

.mli-alert-summary-modal[hidden]{display:none!important}
.mli-alert-summary-modal{
    position:fixed;
    inset:0;
    z-index:10120;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
}
.mli-alert-summary-modal__backdrop{
    position:absolute;
    inset:0;
    background:rgba(7,17,29,.55);
    backdrop-filter:blur(2px);
}
.mli-alert-summary-modal__dialog{
    position:relative;
    width:min(620px,calc(100vw - 40px));
    max-height:78vh;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    border:1px solid #dde4ec;
    border-radius:16px;
    background:#fff;
    box-shadow:0 24px 70px rgba(7,17,29,.24);
}
.mli-alert-summary-modal__head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding:16px 18px 14px;
    border-bottom:1px solid #edf0f4;
}
.mli-alert-summary-modal__head span{
    display:block;
    margin-bottom:3px;
    color:#8a94a3;
    font-size:10px;
    font-weight:800;
}
.mli-alert-summary-modal__head h2{
    margin:0;
    color:#172033;
    font-size:18px;
    font-weight:900;
}
.mli-alert-summary-modal__close{
    width:32px;
    height:32px;
    flex:0 0 32px;
    padding:0;
    border:1px solid #dfe5ec;
    border-radius:9px;
    background:#f8fafc;
    color:#526174;
    font-size:21px;
    line-height:28px;
    cursor:pointer;
}
.mli-alert-summary-modal__body{
    overflow-y:auto;
    padding:10px 18px 16px;
}
.mli-alert-summary-modal__body .mli-alert-summary-source{
    display:flex;
    flex-direction:column;
}
.mli-alert-summary-item{
    display:grid;
    grid-template-columns:92px 14px minmax(0,1fr);
    gap:7px;
    align-items:center;
    min-height:46px;
    padding:10px 2px;
    border-bottom:1px solid #edf0f4;
}
.mli-alert-summary-item:last-child{border-bottom:0}
.mli-alert-summary-item__level{
    font-size:12px;
    font-weight:900;
    white-space:nowrap;
}
.mli-alert-summary-item__sep{
    color:#c2c8d0;
    font-size:11px;
    text-align:center;
}
.mli-alert-summary-item__text{
    min-width:0;
    color:#39475c;
    font-size:12px;
    font-weight:800;
    line-height:1.5;
}
.mli-alert-summary-item__text b{
    color:#172033;
    font-weight:950;
}
.mli-alert-summary-item__text i{
    margin:0 3px;
    color:#b9c1cb;
    font-style:normal;
}
.mli-alert-summary-item[data-severity="critical"] .mli-alert-summary-item__level,
.mli-alert-summary-item[data-severity="high"] .mli-alert-summary-item__level{
    color:#b42318;
}
.mli-alert-summary-item[data-severity="medium"] .mli-alert-summary-item__level{
    color:#b56b00;
}
body.mli-alert-summary-open{overflow:hidden}

@media(max-width:560px){
    .mli-alert-summary-modal{padding:10px}
    .mli-alert-summary-modal__dialog{width:calc(100vw - 20px);border-radius:14px}
    .mli-alert-summary-modal__head{padding:14px}
    .mli-alert-summary-modal__body{padding:8px 14px 14px}
    .mli-alert-summary-item{
        grid-template-columns:82px 10px minmax(0,1fr);
        gap:5px;
        min-height:44px;
    }
    .mli-alert-summary-item__level,
    .mli-alert-summary-item__text{font-size:11px}
}
/* End V2.18.58 */


/* ================================================================
   V2.18.59 Preview｜重要情報彈窗 UI refine
   ================================================================ */
.mli-alert-summary-modal__dialog{
    width:min(560px,calc(100vw - 40px));
    border-color:#dfe5ec;
    border-radius:18px;
    box-shadow:0 26px 80px rgba(7,17,29,.26);
}
.mli-alert-summary-modal__head{
    padding:18px 20px 15px;
    background:#fff;
}
.mli-alert-summary-modal__head>div{min-width:0}
.mli-alert-summary-modal__head span{
    margin-bottom:4px;
    color:#98a2b1;
    font-size:9.5px;
    font-weight:800;
    letter-spacing:.04em;
}
.mli-alert-summary-modal__head h2{
    color:#102033;
    font-size:19px;
    line-height:1.25;
    letter-spacing:-.01em;
}
.mli-alert-summary-modal__close{
    width:34px;
    height:34px;
    flex-basis:34px;
    border-color:#dce3eb;
    border-radius:10px;
    background:#f8fafc;
    color:#667386;
}
.mli-alert-summary-modal__close:hover{
    background:#eef3f8;
    color:#102033;
}
.mli-alert-summary-modal__body{
    padding:6px 20px 18px;
    background:#fff;
}
.mli-alert-summary-modal__body .mli-alert-summary-source{
    display:flex;
    flex-direction:column;
}
.mli-alert-summary-item{
    display:grid;
    grid-template-columns:68px minmax(0,1fr);
    gap:14px;
    align-items:center;
    min-height:58px;
    padding:12px 2px;
    border-bottom:1px solid #edf1f5;
}
.mli-alert-summary-item:last-child{border-bottom:0}
.mli-alert-summary-item__level{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:62px;
    min-height:28px;
    padding:4px 10px;
    border-radius:999px;
    font-size:10.5px;
    font-weight:950;
    line-height:1;
    white-space:nowrap;
}
.mli-alert-summary-item[data-severity="critical"] .mli-alert-summary-item__level,
.mli-alert-summary-item[data-severity="high"] .mli-alert-summary-item__level{
    color:#b42318;
    background:#fff1ef;
    border:1px solid #f2b8af;
}
.mli-alert-summary-item[data-severity="medium"] .mli-alert-summary-item__level{
    color:#9a5a09;
    background:#fff7e6;
    border:1px solid #efc978;
}
.mli-alert-summary-item__text{
    min-width:0;
    display:flex;
    align-items:center;
    gap:10px;
    color:#39475c;
    font-size:12px;
    line-height:1.45;
}
.mli-alert-summary-item__text b{
    flex:0 0 auto;
    min-width:38px;
    color:#172033;
    font-size:12px;
    font-weight:950;
}
.mli-alert-summary-item__text em{
    min-width:0;
    color:#566477;
    font-size:12px;
    font-style:normal;
    font-weight:800;
}
.mli-alert-summary-item__sep{display:none!important}

@media(max-width:560px){
    .mli-alert-summary-modal__dialog{width:calc(100vw - 20px)}
    .mli-alert-summary-modal__head{padding:15px 15px 13px}
    .mli-alert-summary-modal__body{padding:4px 15px 14px}
    .mli-alert-summary-item{
        grid-template-columns:62px minmax(0,1fr);
        gap:10px;
        min-height:54px;
        padding:10px 0;
    }
    .mli-alert-summary-item__level{
        width:58px;
        min-height:26px;
        padding:3px 8px;
        font-size:10px;
    }
    .mli-alert-summary-item__text{gap:8px}
    .mli-alert-summary-item__text b,
    .mli-alert-summary-item__text em{font-size:11px}
}
/* End V2.18.59 */


/* ================================================================
   V2.18.60 Preview｜重要情報彈窗閱讀性精修
   ================================================================ */

.mli-alert-summary-modal__dialog{
    width:min(540px,calc(100vw - 40px));
}

.mli-alert-summary-modal__head{
    padding:16px 18px 13px;
}

.mli-alert-summary-modal__head span{
    margin-bottom:3px;
    font-size:9px;
}

.mli-alert-summary-modal__head h2{
    font-size:18px;
}

.mli-alert-summary-modal__body{
    padding:4px 18px 14px;
}

.mli-alert-summary-item{
    grid-template-columns:58px minmax(0,1fr);
    gap:14px;
    min-height:49px;
    padding:9px 2px;
    border-bottom-color:#eef1f4;
}

.mli-alert-summary-item__level{
    width:54px;
    min-height:24px;
    padding:3px 8px;
    border-radius:999px;
    font-size:9.5px;
    font-weight:950;
}

.mli-alert-summary-item[data-severity="critical"] .mli-alert-summary-item__level,
.mli-alert-summary-item[data-severity="high"] .mli-alert-summary-item__level{
    color:#b42318;
    background:#fff3f1;
    border:1px solid #efb4aa;
}

.mli-alert-summary-item[data-severity="medium"] .mli-alert-summary-item__level{
    color:#9a5807;
    background:#fff8e8;
    border:1px solid #edbf61;
}

.mli-alert-summary-item__text{
    display:grid;
    grid-template-columns:52px minmax(0,1fr);
    gap:10px;
    align-items:center;
    min-width:0;
}

.mli-alert-summary-item__text b{
    min-width:0;
    color:#263247;
    font-size:11px;
    font-weight:900;
    line-height:1.35;
    white-space:nowrap;
}

.mli-alert-summary-item__text em{
    min-width:0;
    color:#344154;
    font-size:12px;
    font-style:normal;
    font-weight:850;
    line-height:1.4;
}

@media(max-width:560px){
    .mli-alert-summary-modal__dialog{
        width:calc(100vw - 20px);
    }

    .mli-alert-summary-modal__head{
        padding:14px 14px 12px;
    }

    .mli-alert-summary-modal__body{
        padding:3px 14px 12px;
    }

    .mli-alert-summary-item{
        grid-template-columns:54px minmax(0,1fr);
        gap:10px;
        min-height:47px;
        padding:8px 0;
    }

    .mli-alert-summary-item__level{
        width:50px;
        min-height:23px;
        padding:3px 7px;
        font-size:9px;
    }

    .mli-alert-summary-item__text{
        grid-template-columns:46px minmax(0,1fr);
        gap:8px;
    }

    .mli-alert-summary-item__text b{
        font-size:10.5px;
    }

    .mli-alert-summary-item__text em{
        font-size:11px;
    }
}

/* End V2.18.60 */


/* ================================================================
   V2.18.61 Preview｜警示燈 + 完整隊名
   ================================================================ */

/* 左側狀態從膠囊改成警示燈文字 */
.mli-alert-summary-item__level{
    width:auto !important;
    min-width:58px;
    min-height:0 !important;
    padding:0 !important;
    border:0 !important;
    background:transparent !important;
    display:flex !important;
    align-items:center;
    justify-content:flex-start;
    gap:7px;
    border-radius:0 !important;
    font-size:10.5px;
    font-weight:950;
}

/* 移除舊紅/黃膠囊背景 */
.mli-alert-summary-item[data-severity="critical"] .mli-alert-summary-item__level,
.mli-alert-summary-item[data-severity="high"] .mli-alert-summary-item__level,
.mli-alert-summary-item[data-severity="medium"] .mli-alert-summary-item__level{
    background:transparent !important;
    border:0 !important;
}

/* 警示燈 */
.mli-alert-light{
    width:10px;
    height:10px;
    flex:0 0 10px;
    border-radius:50%;
    box-shadow:0 0 0 2px rgba(0,0,0,.035);
}

.mli-alert-light--red{
    background:linear-gradient(180deg,#ff665d 0%,#d93838 100%);
}

.mli-alert-light--orange{
    background:linear-gradient(180deg,#ff9a61 0%,#f36a32 100%);
}

/* 狀態文字層級 */
.mli-alert-summary-item[data-severity="critical"] .mli-alert-summary-item__level,
.mli-alert-summary-item[data-severity="high"] .mli-alert-summary-item__level{
    color:#b42318 !important;
}
.mli-alert-summary-item[data-severity="medium"] .mli-alert-summary-item__level{
    color:#a45113 !important;
}

/* 完整隊名需要更寬欄位 */
.mli-alert-summary-item__text{
    grid-template-columns:110px minmax(0,1fr) !important;
    gap:12px !important;
}

.mli-alert-summary-item__text b{
    min-width:0 !important;
    font-size:11px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

@media(max-width:560px){
    .mli-alert-summary-item{
        grid-template-columns:58px minmax(0,1fr) !important;
    }

    .mli-alert-summary-item__text{
        grid-template-columns:92px minmax(0,1fr) !important;
        gap:8px !important;
    }

    .mli-alert-light{
        width:9px;
        height:9px;
        flex-basis:9px;
    }

    .mli-alert-summary-item__level{
        gap:6px;
        font-size:10px;
    }

    .mli-alert-summary-item__text b{
        font-size:10.5px;
    }
}

/* End V2.18.61 */


/* ================================================================
   V2.18.62 Preview｜重要情報彈窗：完整隊名 + 放大閱讀
   ================================================================ */

.mli-alert-summary-modal__dialog{
    width:min(620px,calc(100vw - 40px)) !important;
}

.mli-alert-summary-modal__head{
    padding:18px 20px 15px !important;
}
.mli-alert-summary-modal__head span{
    font-size:10px !important;
}
.mli-alert-summary-modal__head h2{
    font-size:20px !important;
}

.mli-alert-summary-item{
    grid-template-columns:68px minmax(0,1fr) !important;
    gap:16px !important;
    min-height:56px !important;
    padding:11px 4px !important;
}

.mli-alert-summary-item__level{
    min-width:66px !important;
    gap:8px !important;
    font-size:11.5px !important;
}

.mli-alert-light{
    width:11px !important;
    height:11px !important;
    flex-basis:11px !important;
}

.mli-alert-summary-item__text{
    grid-template-columns:128px minmax(0,1fr) !important;
    gap:14px !important;
}

.mli-alert-summary-item__text b{
    font-size:12.5px !important;
    line-height:1.4 !important;
    overflow:visible !important;
    text-overflow:clip !important;
    white-space:nowrap !important;
}

.mli-alert-summary-item__text em{
    font-size:13px !important;
    line-height:1.45 !important;
    font-weight:850 !important;
}

.mli-alert-summary-modal__body{
    padding:6px 20px 18px !important;
}

@media(max-width:640px){
    .mli-alert-summary-modal__dialog{
        width:calc(100vw - 20px) !important;
    }

    .mli-alert-summary-item{
        grid-template-columns:64px minmax(0,1fr) !important;
        gap:10px !important;
        min-height:54px !important;
        padding:10px 0 !important;
    }

    .mli-alert-summary-item__level{
        min-width:62px !important;
        font-size:10.5px !important;
    }

    .mli-alert-light{
        width:10px !important;
        height:10px !important;
        flex-basis:10px !important;
    }

    .mli-alert-summary-item__text{
        grid-template-columns:104px minmax(0,1fr) !important;
        gap:8px !important;
    }

    .mli-alert-summary-item__text b{
        font-size:11.5px !important;
    }

    .mli-alert-summary-item__text em{
        font-size:12px !important;
    }
}

/* End V2.18.62 */


/* ================================================================
   V2.18.63 Preview｜重要情報彈窗：密度 + 分界
   ================================================================ */

.mli-alert-summary-modal__dialog{
    width:min(540px,calc(100vw - 40px)) !important;
}

.mli-alert-summary-modal__head{
    padding:15px 17px 12px !important;
}

.mli-alert-summary-modal__head span{
    font-size:9.5px !important;
}

.mli-alert-summary-modal__head h2{
    font-size:18.5px !important;
}

.mli-alert-summary-modal__body{
    padding:5px 14px 12px !important;
}

.mli-alert-summary-item{
    grid-template-columns:62px minmax(0,1fr) !important;
    gap:10px !important;
    min-height:50px !important;
    margin:5px 0 !important;
    padding:9px 10px !important;
    border:1px solid #e3e8ee !important;
    border-radius:9px !important;
    background:#fbfcfd !important;
}

.mli-alert-summary-item:last-child{
    border-bottom:1px solid #e3e8ee !important;
}

.mli-alert-summary-item__level{
    min-width:58px !important;
    gap:7px !important;
    font-size:11px !important;
}

.mli-alert-light{
    width:9px !important;
    height:9px !important;
    flex-basis:9px !important;
}

.mli-alert-summary-item__text{
    grid-template-columns:96px minmax(0,1fr) !important;
    gap:10px !important;
}

.mli-alert-summary-item__text b{
    font-size:11.5px !important;
    line-height:1.35 !important;
}

.mli-alert-summary-item__text em{
    color:#2f3d50 !important;
    font-size:12.5px !important;
    line-height:1.4 !important;
    font-weight:850 !important;
}

.mli-alert-summary-item[data-severity="critical"],
.mli-alert-summary-item[data-severity="high"]{
    background:#fffafa !important;
    border-color:#efd8d4 !important;
}

.mli-alert-summary-item[data-severity="medium"]{
    background:#fffdf8 !important;
    border-color:#eadfca !important;
}

@media(max-width:560px){
    .mli-alert-summary-modal__dialog{
        width:calc(100vw - 20px) !important;
    }

    .mli-alert-summary-modal__head{
        padding:14px 13px 11px !important;
    }

    .mli-alert-summary-modal__body{
        padding:4px 9px 10px !important;
    }

    .mli-alert-summary-item{
        grid-template-columns:58px minmax(0,1fr) !important;
        gap:8px !important;
        min-height:48px !important;
        margin:4px 0 !important;
        padding:8px 8px !important;
    }

    .mli-alert-summary-item__level{
        min-width:54px !important;
        font-size:10.5px !important;
    }

    .mli-alert-summary-item__text{
        grid-template-columns:86px minmax(0,1fr) !important;
        gap:8px !important;
    }

    .mli-alert-summary-item__text b{
        font-size:11px !important;
    }

    .mli-alert-summary-item__text em{
        font-size:11.5px !important;
    }
}

/* End V2.18.63 */


/* ================================================================
   V2.18.64 Preview｜警示層級拉開
   ================================================================ */

/* 高 / Critical：真正的紅色警示卡 */
.mli-alert-summary-item[data-severity="critical"],
.mli-alert-summary-item[data-severity="high"]{
    background:#fff5f5 !important;
    border-color:#efb6b6 !important;
}

.mli-alert-summary-item[data-severity="critical"] .mli-alert-summary-item__level,
.mli-alert-summary-item[data-severity="high"] .mli-alert-summary-item__level{
    color:#b42318 !important;
}

.mli-alert-summary-item[data-severity="critical"] .mli-alert-light--red,
.mli-alert-summary-item[data-severity="high"] .mli-alert-light--red{
    background:#e5484d !important;
    box-shadow:0 0 0 3px rgba(229,72,77,.10) !important;
}

/*
 * Medium：不再用暖黃底。
 * 改成中性灰藍，表示「需要留意，但不是高警示」。
 * 只留下橘燈 + 橘色文字作辨識。
 */
.mli-alert-summary-item[data-severity="medium"]{
    background:#f7f9fc !important;
    border-color:#d9e1ea !important;
}

.mli-alert-summary-item[data-severity="medium"] .mli-alert-summary-item__level{
    color:#9a5a08 !important;
}

.mli-alert-summary-item[data-severity="medium"] .mli-alert-light--orange{
    background:#f59e0b !important;
    box-shadow:0 0 0 3px rgba(245,158,11,.10) !important;
}

/* 情報正文維持中性色，避免 medium 看起來像第二種警示紅 */
.mli-alert-summary-item[data-severity="medium"] .mli-alert-summary-item__text em{
    color:#415066 !important;
}

/* End V2.18.64 */


/* ================================================================
   V2.18.65 Preview｜移除每列外框，改成明顯分隔線
   ================================================================ */

.mli-alert-summary-modal__body .mli-alert-summary-source{
    gap:0 !important;
}

.mli-alert-summary-item{
    margin:0 !important;
    padding:14px 4px !important;
    min-height:60px !important;
    background:transparent !important;
    border:none !important;
    border-bottom:1px solid #d7e0ea !important;
    border-radius:0 !important;
    box-shadow:none !important;
}

.mli-alert-summary-item:last-child{
    border-bottom:0 !important;
}

.mli-alert-summary-item[data-severity="critical"],
.mli-alert-summary-item[data-severity="high"],
.mli-alert-summary-item[data-severity="medium"]{
    background:transparent !important;
    border:none !important;
    border-bottom:1px solid #d7e0ea !important;
}

.mli-alert-summary-item:last-child[data-severity="critical"],
.mli-alert-summary-item:last-child[data-severity="high"],
.mli-alert-summary-item:last-child[data-severity="medium"]{
    border-bottom:0 !important;
}

.mli-alert-summary-item__text{
    grid-template-columns:90px minmax(0,1fr) !important;
    gap:12px !important;
}

.mli-alert-summary-item__text b{
    font-size:12px !important;
}

.mli-alert-summary-item__text em{
    font-size:13px !important;
}

@media(max-width:560px){
    .mli-alert-summary-item{
        padding:12px 0 !important;
        min-height:56px !important;
    }
    .mli-alert-summary-item__text{
        grid-template-columns:82px minmax(0,1fr) !important;
        gap:10px !important;
    }
    .mli-alert-summary-item__text b{
        font-size:11.5px !important;
    }
    .mli-alert-summary-item__text em{
        font-size:12px !important;
    }
}

/* End V2.18.65 */


/* ================================================================
   V2.18.66 Preview｜重要情報彈窗再緊湊：縮間距、略縮尺寸、字級微放大
   ================================================================ */

.mli-alert-summary-modal__dialog{
    width:min(580px,calc(100vw - 28px)) !important;
    border-radius:18px !important;
}

.mli-alert-summary-modal__head{
    padding:16px 18px 12px !important;
}

.mli-alert-summary-modal__head span{
    font-size:10px !important;
    margin-bottom:2px !important;
}

.mli-alert-summary-modal__head h2{
    font-size:18px !important;
    line-height:1.25 !important;
}

.mli-alert-summary-modal__body{
    padding:4px 18px 16px !important;
}

.mli-alert-summary-modal__body .mli-alert-summary-source{
    gap:0 !important;
}

.mli-alert-summary-item{
    padding:10px 2px !important;
    min-height:52px !important;
    border-bottom:1px solid #d3dde8 !important;
}

.mli-alert-summary-item__level{
    min-width:54px !important;
    gap:7px !important;
    font-size:12.5px !important;
    font-weight:800 !important;
}

.mli-alert-light{
    width:10px !important;
    height:10px !important;
    flex-basis:10px !important;
}

.mli-alert-summary-item__text{
    grid-template-columns:84px minmax(0,1fr) !important;
    gap:14px !important;
    align-items:center !important;
}

.mli-alert-summary-item__text b{
    font-size:14px !important;
    line-height:1.35 !important;
    font-weight:800 !important;
}

.mli-alert-summary-item__text em{
    font-size:15px !important;
    line-height:1.35 !important;
    font-weight:850 !important;
}

@media(max-width:640px){
    .mli-alert-summary-modal__dialog{
        width:calc(100vw - 20px) !important;
    }

    .mli-alert-summary-modal__head{
        padding:14px 15px 10px !important;
    }

    .mli-alert-summary-modal__head h2{
        font-size:17px !important;
    }

    .mli-alert-summary-modal__body{
        padding:4px 15px 14px !important;
    }

    .mli-alert-summary-item{
        padding:9px 0 !important;
        min-height:48px !important;
    }

    .mli-alert-summary-item__level{
        min-width:50px !important;
        font-size:11.5px !important;
        gap:6px !important;
    }

    .mli-alert-summary-item__text{
        grid-template-columns:72px minmax(0,1fr) !important;
        gap:10px !important;
    }

    .mli-alert-summary-item__text b{
        font-size:13px !important;
    }

    .mli-alert-summary-item__text em{
        font-size:14px !important;
    }
}

/* End V2.18.66 */


/* ================================================================
   V2.18.67 Preview｜重要情報彈窗：只降低字重
   ================================================================ */

/* 狀態文字：維持辨識度，但不要太重 */
.mli-alert-summary-item__level{
    font-weight:700 !important;
}

/* 球隊名稱：由 800 降為 700 */
.mli-alert-summary-item__text b{
    font-weight:700 !important;
}

/* 情報內容：由 850 降為 650，保留主資訊感但不厚重 */
.mli-alert-summary-item__text em{
    font-weight:650 !important;
}

/* 主標題稍微收一點，但仍維持視覺主層級 */
.mli-alert-summary-modal__head h2{
    font-weight:800 !important;
}

/* 上方小標再柔和一點 */
.mli-alert-summary-modal__head span{
    font-weight:700 !important;
}

/* End V2.18.67 */


/* ================================================================
   V2.18.68 Preview｜完整傷兵：與其它分頁統一雙隊卡片
   ================================================================ */

.mli-detail-section--injury .mli-injury-sync-note{
    margin:0 0 10px;
    padding:8px 10px;
    border:1px solid #e4e9ef;
    border-radius:9px;
    background:#fafbfd;
    color:#7b8797;
    font-size:10px;
    line-height:1.5;
}

.mli-detail-section--injury .mli-injury-two-col{
    align-items:stretch;
}

.mli-detail-section--injury .mli-injury-team-card{
    min-width:0;
}

.mli-detail-section--injury .mli-injury-module{
    min-height:100%;
}

.mli-detail-section--injury .mli-injury-module__head{
    margin-bottom:0;
    padding-bottom:9px;
    border-bottom:1px solid #e6ebf0;
}

.mli-detail-section--injury .mli-injury-module__head h4{
    margin:0;
    color:#16253a;
    font-size:12px;
    font-weight:850;
}

.mli-detail-section--injury .mli-injury-module__head p{
    margin:2px 0 0;
    color:#7a8797;
    font-size:9.5px;
    line-height:1.4;
}

.mli-detail-section--injury .mli-injury-list--card{
    margin:0;
    padding:0;
}

.mli-detail-section--injury .mli-injury-list--card>li{
    min-height:58px;
    padding:10px 0;
    border-bottom:1px solid #e8edf2;
}

.mli-detail-section--injury .mli-injury-list--card>li:last-child{
    border-bottom:0;
}

.mli-detail-section--injury .mli-injury-list--card .mli-person-role{
    margin-bottom:3px;
}

.mli-detail-section--injury .mli-injury-list--card .mli-player-name b{
    font-size:12px;
    line-height:1.35;
}

.mli-detail-section--injury .mli-injury-list--card .mli-player-name small{
    font-size:9.5px;
    line-height:1.3;
}

.mli-detail-section--injury .mli-injury-list--card>li>div>small{
    display:block;
    margin-top:3px;
    color:#7a8797;
    font-size:10px;
    line-height:1.45;
}

@media(max-width:768px){
    .mli-detail-section--injury .mli-injury-sync-note{
        font-size:9.5px;
    }

    .mli-detail-section--injury .mli-injury-list--card>li{
        min-height:54px;
        padding:9px 0;
    }

    .mli-detail-section--injury .mli-injury-list--card .mli-player-name b{
        font-size:11.5px;
    }

    .mli-detail-section--injury .mli-injury-list--card>li>div>small{
        font-size:9.5px;
    }
}

/* End V2.18.68 */


/* ================================================================
   V2.18.69 Preview｜完整傷兵 Modal scoped hard fix
   ================================================================ */

/* injury 自己擁有完整雙欄，不依賴 absence selector */
.mli-detail-section--injury .mli-roster-two-col{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
    gap:12px !important;
}

.mli-detail-section--injury .mli-roster-team-card{
    min-width:0 !important;
    overflow:hidden !important;
    border:1px solid #e0e6ed !important;
    border-radius:12px !important;
    background:#fff !important;
}

.mli-detail-section--injury .mli-roster-team-head{
    display:flex !important;
    align-items:center !important;
    min-height:46px !important;
    padding:9px 11px 13px !important;
    border-bottom:1px solid #e7ecf1 !important;
    background:#fafbfd !important;
}

.mli-detail-section--injury .mli-roster-team-head--home{
    justify-content:flex-end !important;
}

.mli-detail-section--injury .mli-roster-team-head__team{
    display:flex !important;
    align-items:center !important;
    gap:7px !important;
    min-width:0 !important;
}

.mli-detail-section--injury .mli-roster-team-head--home .mli-roster-team-head__team{
    justify-content:flex-end !important;
}

.mli-detail-section--injury .mli-roster-team-head__team>span{
    display:inline-flex !important;
    align-items:center !important;
    min-height:21px !important;
    padding:2px 7px !important;
    border-radius:999px !important;
    background:#eef2f6 !important;
    color:#748295 !important;
    font-size:9px !important;
    font-weight:900 !important;
}

/* Logo hard limit：防止任何舊 img 規則放大 */
.mli-detail-section--injury .mli-roster-team-head__team img{
    display:block !important;
    width:24px !important;
    min-width:24px !important;
    max-width:24px !important;
    height:24px !important;
    min-height:24px !important;
    max-height:24px !important;
    object-fit:contain !important;
    transform:none !important;
    opacity:0;
}

.mli-detail-section--injury .mli-roster-team-head__team img.is-loaded{
    opacity:1 !important;
}

.mli-detail-section--injury .mli-roster-team-head__team strong{
    min-width:0 !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
    color:#25384f !important;
    font-size:12px !important;
    font-weight:950 !important;
}

.mli-detail-section--injury .mli-roster-team-body{
    padding:0 !important;
}

.mli-detail-section--injury .mli-roster-module{
    padding:13px 14px 14px !important;
}

.mli-detail-section--injury .mli-roster-module__head{
    display:flex !important;
    align-items:flex-start !important;
    justify-content:space-between !important;
    gap:10px !important;
    margin-bottom:10px !important;
}

.mli-detail-section--injury .mli-roster-module__head h4{
    margin:0 !important;
    color:#1b304a !important;
    font-size:12px !important;
    font-weight:950 !important;
    line-height:1.25 !important;
}

.mli-detail-section--injury .mli-roster-module__head p{
    margin:2px 0 0 !important;
    color:#8290a0 !important;
    font-size:9.5px !important;
    font-weight:700 !important;
    line-height:1.35 !important;
}

/* 傷兵列表外層與其它頁面一致 */
.mli-detail-section--injury .mli-injury-list--card{
    margin:0 !important;
    padding:0 !important;
    border:1px solid #e7ebef !important;
    border-radius:10px !important;
    overflow:hidden !important;
    background:#fff !important;
}

.mli-detail-section--injury .mli-injury-list--card>li{
    margin:0 !important;
    min-height:58px !important;
    padding:10px 12px !important;
    border:0 !important;
    border-radius:0 !important;
    background:#fff !important;
}

.mli-detail-section--injury .mli-injury-list--card>li + li{
    border-top:1px solid #e9edf1 !important;
}

/* Modal 內再硬鎖一次，避免 clone 後被舊通用規則蓋掉 */
.mli-detail-modal__body .mli-detail-section--injury .mli-roster-two-col{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
    gap:12px !important;
}

.mli-detail-modal__body .mli-detail-section--injury .mli-roster-team-card{
    min-width:0 !important;
    overflow:hidden !important;
    border:1px solid #e0e6ed !important;
    border-radius:12px !important;
    background:#fff !important;
}

.mli-detail-modal__body .mli-detail-section--injury .mli-roster-team-head__team img{
    display:block !important;
    width:24px !important;
    min-width:24px !important;
    max-width:24px !important;
    height:24px !important;
    min-height:24px !important;
    max-height:24px !important;
    object-fit:contain !important;
    transform:none !important;
}

/* Mobile */
@media(max-width:768px){
    .mli-detail-section--injury .mli-roster-two-col,
    .mli-detail-modal__body .mli-detail-section--injury .mli-roster-two-col{
        grid-template-columns:1fr !important;
        gap:10px !important;
    }

    .mli-detail-section--injury .mli-roster-team-head{
        min-height:43px !important;
        padding:8px 9px 11px !important;
    }

    .mli-detail-section--injury .mli-roster-team-head__team img,
    .mli-detail-modal__body .mli-detail-section--injury .mli-roster-team-head__team img{
        width:22px !important;
        min-width:22px !important;
        max-width:22px !important;
        height:22px !important;
        min-height:22px !important;
        max-height:22px !important;
    }

    .mli-detail-section--injury .mli-roster-team-head__team strong{
        font-size:11px !important;
    }

    .mli-detail-section--injury .mli-roster-module{
        padding:12px !important;
    }

    .mli-detail-section--injury .mli-injury-list--card>li{
        min-height:54px !important;
        padding:9px 10px !important;
    }
}

/* End V2.18.69 */


/* ================================================================
   V2.18.70 Preview｜完整傷兵：同步資訊恢復原位
   ================================================================ */

.mli-detail-section--injury .mli-injury-freshness{
    margin:0 0 12px !important;
    padding:11px 12px !important;
    border:1px solid #dfe6ee !important;
    border-radius:9px !important;
    background:#fafbfd !important;
}

.mli-detail-section--injury .mli-injury-freshness>span{
    display:inline-block !important;
    margin-right:14px !important;
    color:#33465d !important;
    font-size:10px !important;
    font-weight:850 !important;
    line-height:1.4 !important;
}

.mli-detail-section--injury .mli-injury-freshness>small{
    display:block !important;
    margin-top:6px !important;
    color:#8290a0 !important;
    font-size:9.5px !important;
    line-height:1.45 !important;
}

@media(max-width:768px){
    .mli-detail-section--injury .mli-injury-freshness{
        padding:10px !important;
        margin-bottom:10px !important;
    }

    .mli-detail-section--injury .mli-injury-freshness>span{
        display:block !important;
        margin-right:0 !important;
        margin-bottom:2px !important;
        font-size:9.5px !important;
    }

    .mli-detail-section--injury .mli-injury-freshness>small{
        margin-top:5px !important;
        font-size:9px !important;
    }
}

/* End V2.18.70 */


/* ================================================================
   V2.18.71 Preview｜完整傷兵：移除重複小標 + 字級微調
   ================================================================ */
.mli-detail-section--injury .mli-injury-module{padding-top:10px !important;}
.mli-detail-section--injury .mli-injury-list--card .mli-player-name b{font-size:13px !important;font-weight:800 !important;}
.mli-detail-section--injury .mli-injury-list--card .mli-player-name small{font-size:10px !important;}
.mli-detail-section--injury .mli-injury-list--card>li>div>small{font-size:10.5px !important;line-height:1.5 !important;}
.mli-detail-section--injury .mli-injury-list--card .mli-impact--role{font-size:9.5px !important;}
@media(max-width:768px){
.mli-detail-section--injury .mli-injury-list--card .mli-player-name b{font-size:12.5px !important;}
.mli-detail-section--injury .mli-injury-list--card .mli-player-name small{font-size:9.5px !important;}
.mli-detail-section--injury .mli-injury-list--card>li>div>small{font-size:10px !important;}
}
/* End V2.18.71 */


/* ================================================================
   V2.18.73 PREVIEW｜牛棚疲勞 / 賽程負荷拆分
   ================================================================ */

.mli-detail-section--bullpen .mli-bullpen-block,
.mli-detail-section--bullpen .mli-schedule-block{
    margin-top:12px;
}

.mli-detail-section--bullpen .mli-schedule-block{
    margin-top:18px;
    padding-top:16px;
    border-top:1px solid #dfe6ed;
}

.mli-bullpen-block__title{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:12px;
    margin-bottom:9px;
}

.mli-bullpen-block__title h4{
    margin:0;
    color:#172a43;
    font-size:14px;
    font-weight:850;
}

.mli-bullpen-block__title p{
    margin:2px 0 0;
    color:#8793a2;
    font-size:9.5px;
    line-height:1.4;
}

.mli-bullpen-team-grid,
.mli-schedule-team-grid{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:12px;
}

.mli-bullpen-team-card,
.mli-schedule-team-card{
    min-width:0;
    overflow:hidden;
    border:1px solid #dfe6ed;
    border-radius:11px;
    background:#fff;
}

.mli-bullpen-team-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    min-height:46px;
    padding:10px 12px;
    border-bottom:1px solid #e7ecf1;
    background:#fafbfd;
}

.mli-bullpen-team-head>strong{
    color:#172a43;
    font-size:12.5px;
    font-weight:850;
}

.mli-bullpen-summary{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    border-bottom:1px solid #e8edf2;
    background:#fff;
}

.mli-bullpen-summary>span{
    padding:8px 9px;
    color:#7b8796;
    font-size:9.5px;
    line-height:1.35;
    text-align:center;
}

.mli-bullpen-summary>span + span{
    border-left:1px solid #edf0f3;
}

.mli-bullpen-summary b{
    display:block;
    margin-top:2px;
    color:#26384f;
    font-size:11px;
    font-weight:800;
}

.mli-bullpen-player-list{
    padding:0 12px 8px;
}

.mli-bullpen-player-row{
    padding:11px 0;
    border-bottom:1px solid #e9edf2;
}

.mli-bullpen-player-row:last-child{
    border-bottom:0;
}

.mli-bullpen-player-main{
    display:grid;
    grid-template-columns:76px minmax(0,1fr) 52px;
    gap:8px;
    align-items:center;
}

.mli-bullpen-role{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:23px;
    padding:3px 7px;
    border-radius:999px;
    background:#eef2f6;
    color:#607085;
    font-size:9px;
    font-weight:850;
    white-space:nowrap;
}

.mli-bullpen-role--closer{
    background:#fff0ee;
    color:#b42318;
}

.mli-bullpen-role--key_bullpen{
    background:#fff6df;
    color:#93610a;
}

.mli-bullpen-player-name{
    min-width:0;
}

.mli-bullpen-player-name b{
    display:block;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:#172a43;
    font-size:11.5px;
    font-weight:800;
}

.mli-bullpen-player-name small{
    display:block;
    margin-top:1px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:#8a96a5;
    font-size:9px;
}

.mli-bullpen-load{
    justify-self:end;
    font-size:9px;
    font-weight:850;
    white-space:nowrap;
}

.mli-bullpen-load--high{color:#b42318}
.mli-bullpen-load--watch{color:#a55e08}
.mli-bullpen-load--normal{color:#36845b}

.mli-bullpen-player-usage{
    display:flex;
    flex-wrap:wrap;
    gap:5px 11px;
    margin-top:7px;
    padding-left:84px;
    color:#758294;
    font-size:9.5px;
    line-height:1.4;
}

.mli-bullpen-player-usage span{
    white-space:nowrap;
}

.mli-bullpen-player-usage b{
    color:#34465d;
    font-weight:750;
}

.mli-bullpen-player-usage em{
    color:#b42318;
    font-style:normal;
    font-weight:800;
}

.mli-schedule-team-card dl{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    margin:0;
}

.mli-schedule-team-card dt,
.mli-schedule-team-card dd{
    margin:0;
    padding:9px 12px;
    border-bottom:1px solid #edf0f3;
    font-size:10px;
    line-height:1.35;
}

.mli-schedule-team-card dt{
    color:#8793a2;
}

.mli-schedule-team-card dd{
    color:#26384f;
    font-weight:800;
    text-align:right;
}

.mli-schedule-team-card dt:last-of-type,
.mli-schedule-team-card dd:last-of-type{
    border-bottom:0;
}

@media(max-width:768px){
    .mli-bullpen-team-grid,
    .mli-schedule-team-grid{
        grid-template-columns:1fr;
        gap:10px;
    }

    .mli-bullpen-summary{
        grid-template-columns:1fr 1fr;
    }

    .mli-bullpen-summary>span:nth-child(3){
        grid-column:1 / -1;
        border-left:0;
        border-top:1px solid #edf0f3;
    }

    .mli-bullpen-player-main{
        grid-template-columns:70px minmax(0,1fr) 48px;
        gap:7px;
    }

    .mli-bullpen-player-usage{
        padding-left:77px;
        gap:4px 9px;
        font-size:9px;
    }
}

/* End V2.18.73 */


/* ================================================================
   V2.18.74 Preview｜牛棚明細降低資訊密度
   ================================================================ */

.mli-detail-section--bullpen .mli-bullpen-team-card{
    overflow:visible;
}

.mli-bullpen-player-list{
    padding:2px 14px 10px !important;
}

.mli-bullpen-player-row{
    padding:14px 0 !important;
}

.mli-bullpen-player-main{
    grid-template-columns:82px minmax(0,1fr) 58px !important;
    gap:12px !important;
}

.mli-bullpen-role{
    min-height:25px !important;
    padding:4px 8px !important;
    font-size:9.5px !important;
}

.mli-bullpen-player-name b{
    font-size:12.5px !important;
    font-weight:750 !important;
}

.mli-bullpen-player-name small{
    margin-top:2px !important;
    font-size:9.5px !important;
}

.mli-bullpen-load{
    font-size:9.5px !important;
    font-weight:800 !important;
}

/* 次列只留兩組核心負荷數據 */
.mli-bullpen-player-usage{
    display:flex !important;
    align-items:center !important;
    flex-wrap:wrap !important;
    gap:7px 14px !important;
    margin-top:8px !important;
    padding-left:94px !important;
    color:#7b8796 !important;
    font-size:10px !important;
}

.mli-bullpen-player-usage span{
    position:relative;
    white-space:nowrap;
}

.mli-bullpen-player-usage span + span:before{
    content:"";
    display:inline-block;
    width:1px;
    height:10px;
    margin-right:14px;
    vertical-align:-1px;
    background:#dfe5eb;
}

.mli-bullpen-player-usage b{
    color:#34465d !important;
    font-weight:750 !important;
}

.mli-bullpen-player-usage em{
    display:inline-flex;
    align-items:center;
    min-height:21px;
    padding:2px 7px;
    border-radius:999px;
    background:#fff1ef;
    color:#b42318 !important;
    font-size:9px;
    font-weight:800 !important;
}

/* 球隊摘要留白稍微增加，與下方明細分層 */
.mli-bullpen-summary>span{
    padding:10px 9px !important;
}

/* 兩隊卡片間距稍微增加，避免視覺太擠 */
.mli-bullpen-team-grid{
    gap:16px !important;
}

@media(max-width:768px){
    .mli-bullpen-player-row{
        padding:12px 0 !important;
    }

    .mli-bullpen-player-main{
        grid-template-columns:76px minmax(0,1fr) 52px !important;
        gap:8px !important;
    }

    .mli-bullpen-player-usage{
        padding-left:84px !important;
        gap:6px 10px !important;
        font-size:9.5px !important;
    }

    .mli-bullpen-player-usage span + span:before{
        margin-right:10px;
    }
}

/* End V2.18.74 */


/* ================================================================
   V2.18.75 Preview｜牛棚負荷狀態放大
   ================================================================ */

.mli-bullpen-load{
    font-size:11.5px !important;
    font-weight:850 !important;
    line-height:1.25 !important;
}

@media(max-width:768px){
    .mli-bullpen-load{
        font-size:11px !important;
    }
}

/* End V2.18.75 */


/* ================================================================
   V2.18.76 Preview｜牛棚 / 賽程獨立分頁 + 牛棚狀態凸顯
   ================================================================ */

.mli-detail-section--bullpen .mli-bullpen-section-lead,
.mli-detail-section--schedule .mli-bullpen-section-lead{
    margin:2px 0 12px;
    color:#8793a2;
    font-size:10px;
    line-height:1.45;
}

/* 隊伍 Header：與其它分頁相同概念 */
.mli-detail-section--bullpen .mli-bullpen-team-head,
.mli-detail-section--schedule .mli-bullpen-team-head{
    min-height:54px !important;
    padding:10px 12px !important;
}

.mli-bullpen-team-identity{
    display:flex;
    align-items:center;
    gap:7px;
    min-width:0;
}

.mli-bullpen-side{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:21px;
    padding:2px 7px;
    border-radius:999px;
    background:#eef2f6;
    color:#748295;
    font-size:9px;
    font-weight:850;
    white-space:nowrap;
}

.mli-bullpen-team-identity img{
    display:block;
    width:24px !important;
    min-width:24px !important;
    max-width:24px !important;
    height:24px !important;
    min-height:24px !important;
    max-height:24px !important;
    object-fit:contain;
    opacity:0;
}

.mli-bullpen-team-identity img.is-loaded{
    opacity:1;
}

.mli-bullpen-team-identity>strong{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:#172a43;
    font-size:13px !important;
    font-weight:850 !important;
}

/* 牛棚狀態：放大、獨立層級 */
.mli-bullpen-state-feature{
    display:flex;
    align-items:center;
    gap:8px;
    flex:0 0 auto;
}

.mli-bullpen-state-feature>span{
    color:#7d8998;
    font-size:10px;
    font-weight:750;
}

.mli-bullpen-state-feature>strong{
    display:inline-flex !important;
    align-items:center;
    min-height:30px;
    padding:5px 10px;
    border-radius:999px;
    font-size:13px !important;
    font-weight:900 !important;
    line-height:1;
    white-space:nowrap;
}

/* 依現有 data-mli-level 產生的文字/顏色，補強視覺 */
.mli-bullpen-state-feature>strong[data-mli-level="tired"],
.mli-bullpen-state-feature>strong[data-mli-level="fatigue"]{
    background:#fff1ef;
    border:1px solid #efb4aa;
    color:#b42318 !important;
}

.mli-bullpen-state-feature>strong[data-mli-level="watch"],
.mli-bullpen-state-feature>strong[data-mli-level="elevated"]{
    background:#fff7e8;
    border:1px solid #edc675;
    color:#9a5807 !important;
}

.mli-bullpen-state-feature>strong[data-mli-level="fresh"],
.mli-bullpen-state-feature>strong[data-mli-level="normal"]{
    background:#effaf4;
    border:1px solid #b9e3ca;
    color:#25784e !important;
}

/* schedule 新獨立 section */
.mli-detail-section--schedule .mli-schedule-team-grid{
    margin-top:0;
}

/* Modal nav 分頁增加後，避免擠壓 */
.mli-detail-modal__nav{
    overflow-x:auto;
    white-space:nowrap;
    scrollbar-width:thin;
}

.mli-detail-modal__nav>button{
    flex:0 0 auto;
}

@media(max-width:768px){
    .mli-detail-section--bullpen .mli-bullpen-team-head,
    .mli-detail-section--schedule .mli-bullpen-team-head{
        min-height:50px !important;
        padding:9px 10px !important;
    }

    .mli-bullpen-team-identity img{
        width:22px !important;
        min-width:22px !important;
        max-width:22px !important;
        height:22px !important;
        min-height:22px !important;
        max-height:22px !important;
    }

    .mli-bullpen-team-identity>strong{
        font-size:12px !important;
    }

    .mli-bullpen-state-feature{
        gap:5px;
    }

    .mli-bullpen-state-feature>span{
        display:none;
    }

    .mli-bullpen-state-feature>strong{
        min-height:27px;
        padding:4px 8px;
        font-size:11.5px !important;
    }
}

/* End V2.18.76 */


/* ================================================================
   V2.18.77｜牛棚狀態 fatigued 真值修正
   ================================================================ */

/*
 * JS 的 textForLevel() 真正使用：
 * fatigued -> 🔴 疲勞
 * watch    -> 🟠 偏高
 * 其他      -> 🟢 充足
 *
 * V2.18.76 誤寫 tired/fatigue，導致 fatigued 沒吃到紅色狀態樣式。
 */
.mli-bullpen-state-feature>strong[data-mli-level="fatigued"]{
    color:#b42318 !important;
    background:#fff1ef !important;
    border:1px solid #efb4aa !important;
}

.mli-bullpen-state-feature>strong[data-mli-level="watch"]{
    color:#9a5807 !important;
    background:#fff7e8 !important;
    border:1px solid #edc675 !important;
}

.mli-bullpen-state-feature>strong[data-mli-level="fresh"]{
    color:#25784e !important;
    background:#effaf4 !important;
    border:1px solid #b9e3ca !important;
}

/* 「牛棚狀態」本身也稍微放大，和右側狀態形成一組 */
.mli-bullpen-state-feature>span{
    font-size:11px !important;
    font-weight:800 !important;
}

/* 狀態本體再明確一點 */
.mli-bullpen-state-feature>strong{
    min-height:31px !important;
    padding:5px 11px !important;
    font-size:13px !important;
    font-weight:900 !important;
}

/* End V2.18.77 */


/* ================================================================
   V2.18.78 PREVIEW｜賽程負荷詳細資訊
   ================================================================ */

.mli-detail-section--schedule .mli-schedule-detail-list{
    grid-template-columns:minmax(0,1fr) auto !important;
}

.mli-detail-section--schedule .mli-schedule-detail-list dt,
.mli-detail-section--schedule .mli-schedule-detail-list dd{
    padding:9px 12px !important;
}

.mli-schedule-reason{
    margin:10px 12px 12px;
    padding:10px 11px;
    border:1px solid #e3e8ee;
    border-radius:9px;
    background:#fafbfd;
}

.mli-schedule-reason>span{
    display:block;
    margin-bottom:4px;
    color:#8793a2;
    font-size:9.5px;
    font-weight:800;
}

.mli-schedule-reason>strong{
    display:block;
    color:#26384f;
    font-size:11.5px;
    font-weight:800;
    line-height:1.5;
}

.mli-schedule-team-card:has([data-mli-schedule="heavy"]) .mli-schedule-reason{
    border-color:#efd0cb;
    background:#fff7f5;
}

.mli-schedule-team-card:has([data-mli-schedule="watch"]) .mli-schedule-reason{
    border-color:#eadcbf;
    background:#fffaf1;
}

@media(max-width:768px){
    .mli-schedule-reason{
        margin:9px 10px 10px;
        padding:9px 10px;
    }

    .mli-schedule-reason>strong{
        font-size:11px;
    }
}

/* End V2.18.78 */


/* ================================================================
   V2.18.79 PREVIEW｜牛棚疲勞 / 賽程負荷狀態尺寸統一
   ================================================================ */

/* 牛棚頁 Header 狀態：從上一版略縮，避免過大 */
.mli-detail-section--bullpen .mli-bullpen-state-feature{
    gap:6px !important;
}

.mli-detail-section--bullpen .mli-bullpen-state-feature>span{
    font-size:10.5px !important;
    font-weight:800 !important;
    color:#7d8998 !important;
}

.mli-detail-section--bullpen .mli-bullpen-state-feature>strong{
    min-height:28px !important;
    padding:4px 10px !important;
    font-size:12px !important;
    font-weight:850 !important;
    line-height:1 !important;
}

/* 賽程頁 Header 狀態：從上一版放大，與牛棚頁一致 */
.mli-detail-section--schedule .mli-team-state-badge{
    align-items:center !important;
    gap:6px !important;
    min-height:28px !important;
    padding:4px 10px !important;
    border-radius:999px !important;
}

.mli-detail-section--schedule .mli-team-state-badge b{
    font-size:10.5px !important;
    font-weight:800 !important;
    color:#7d8998 !important;
}

.mli-detail-section--schedule .mli-team-state-badge strong{
    font-size:12px !important;
    font-weight:850 !important;
    line-height:1 !important;
}

@media(max-width:768px){
    .mli-detail-section--bullpen .mli-bullpen-state-feature>strong,
    .mli-detail-section--schedule .mli-team-state-badge{
        min-height:26px !important;
        padding:4px 9px !important;
    }

    .mli-detail-section--bullpen .mli-bullpen-state-feature>strong,
    .mli-detail-section--schedule .mli-team-state-badge strong{
        font-size:11.5px !important;
    }

    .mli-detail-section--bullpen .mli-bullpen-state-feature>span,
    .mli-detail-section--schedule .mli-team-state-badge b{
        font-size:10px !important;
    }
}

/* End V2.18.79 */


/* ================================================================
   V2.18.80 PREVIEW｜球場與天氣：三層資訊架構
   ================================================================ */

.mli-detail-section--weather .mli-section-alerts{
    margin-bottom:10px;
}

/* 第一層：總結 */
.mli-weather-overview{
    display:flex;
    align-items:stretch;
    justify-content:space-between;
    gap:12px;
    margin-bottom:12px;
    padding:14px 16px;
    border:1px solid #dfe6ed;
    border-radius:12px;
    background:#fafbfd;
}

.mli-weather-overview__main,
.mli-weather-overview__rain{
    min-width:0;
}

.mli-weather-overview__main{
    flex:1 1 auto;
}

.mli-weather-overview__rain{
    flex:0 0 210px;
    padding-left:16px;
    border-left:1px solid #e3e8ee;
}

.mli-weather-overview span{
    display:block;
    color:#8793a2;
    font-size:9.5px;
    font-weight:800;
}

.mli-weather-overview__main>strong{
    display:block;
    margin-top:4px;
    color:#172a43;
    font-size:18px;
    font-weight:900;
    line-height:1.25;
}

.mli-weather-overview__main>small,
.mli-weather-overview__rain>small{
    display:block;
    margin-top:5px;
    color:#7b8797;
    font-size:10px;
    line-height:1.4;
}

.mli-weather-overview__rain>strong{
    display:inline-flex;
    margin-top:5px;
}

/* 第二層：核心三卡 */
.mli-weather-core-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
}

.mli-weather-core-card{
    min-width:0;
    padding:13px 14px;
    border:1px solid #e1e7ed;
    border-radius:11px;
    background:#fff;
}

.mli-weather-core-card__head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    padding-bottom:9px;
    border-bottom:1px solid #edf0f3;
}

.mli-weather-core-card__head>span{
    color:#7f8b9a;
    font-size:10px;
    font-weight:800;
}

.mli-weather-core-card__head>strong{
    color:#26384f;
    font-size:11px;
    font-weight:850;
}

.mli-weather-core-card__primary{
    margin-top:12px;
}

.mli-weather-core-card__primary>b{
    display:block;
    color:#172a43;
    font-size:18px;
    font-weight:900;
    line-height:1.15;
}

.mli-weather-core-card__primary>small{
    display:block;
    margin-top:4px;
    color:#8a96a5;
    font-size:9.5px;
}

.mli-weather-core-card__result{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    margin-top:12px;
    padding-top:10px;
    border-top:1px solid #edf0f3;
}

.mli-weather-core-card__result>span{
    color:#7f8b9a;
    font-size:9.5px;
    font-weight:800;
}

.mli-weather-core-card__note{
    margin:10px 0 0;
    color:#59687a;
    font-size:10px;
    line-height:1.5;
}

.mli-weather-stadium-list{
    margin-top:8px;
}

.mli-weather-stadium-list p{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    margin:0;
    padding:6px 0;
    border-bottom:1px solid #f0f2f5;
}

.mli-weather-stadium-list p:last-child{
    border-bottom:0;
}

.mli-weather-stadium-list span{
    color:#8793a2;
    font-size:9.5px;
}

.mli-weather-stadium-list b{
    color:#34465d;
    font-size:10.5px;
    font-weight:800;
    text-align:right;
}

/* 降雨徽章 */
.mli-rain-overview{
    display:inline-flex;
    align-items:center;
    min-height:25px;
    padding:3px 8px;
    border-radius:999px;
    font-size:10px !important;
    font-weight:850 !important;
}

.mli-rain-overview--normal{
    color:#526174 !important;
    background:#f1f4f7 !important;
}

.mli-rain-overview--watch{
    color:#9a5807 !important;
    background:#fff7e8 !important;
}

.mli-rain-overview--high,
.mli-rain-overview--critical{
    color:#b42318 !important;
    background:#fff1ef !important;
}

/* 有雨才出現 */
.mli-weather-rain-detail{
    margin-top:10px;
    padding:11px 13px;
    border:1px solid #dfe6ed;
    border-radius:10px;
    background:#fafbfd;
}

.mli-weather-rain-detail__head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
}

.mli-weather-rain-detail__head>strong{
    color:#26384f;
    font-size:11px;
    font-weight:850;
}

.mli-weather-rain-detail__head>span{
    color:#7b8797;
    font-size:10px;
}

.mli-weather-rain-detail__times{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:8px;
    margin-top:9px;
}

.mli-weather-rain-detail__times>div{
    padding:7px 8px;
    border-radius:8px;
    background:#fff;
}

.mli-weather-rain-detail__times span{
    display:block;
    color:#8a96a5;
    font-size:9px;
}

.mli-weather-rain-detail__times b{
    display:block;
    margin-top:2px;
    color:#34465d;
    font-size:10.5px;
}

.mli-weather-rain-detail>small{
    display:block;
    margin-top:8px;
    color:#7d8998;
    font-size:9.5px;
    line-height:1.4;
}

/* 第三層：一句話判讀 */
.mli-weather-interpretation{
    margin-top:12px;
    padding:11px 13px;
    border-left:3px solid #b9c6d5;
    border-radius:0 9px 9px 0;
    background:#f8fafc;
}

.mli-weather-interpretation>span{
    display:block;
    margin-bottom:4px;
    color:#8793a2;
    font-size:9.5px;
    font-weight:800;
}

.mli-weather-interpretation>strong{
    display:block;
    color:#26384f;
    font-size:11.5px;
    font-weight:800;
    line-height:1.5;
}

.mli-weather-interpretation>small{
    display:block;
    margin-top:4px;
    color:#7d8998;
    font-size:9.5px;
    line-height:1.4;
}

/* 進階細節降到最後 */
.mli-weather-secondary{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:8px;
    margin-top:10px;
}

.mli-weather-secondary>div{
    padding:9px 11px;
    border:1px solid #e7ebef;
    border-radius:9px;
    background:#fff;
}

.mli-weather-secondary span{
    display:block;
    color:#8a96a5;
    font-size:9px;
    font-weight:800;
}

.mli-weather-secondary strong{
    display:block;
    margin-top:3px;
    color:#415066;
    font-size:10.5px;
    font-weight:800;
}

.mli-weather-secondary small{
    display:block;
    margin-top:3px;
    color:#929dac;
    font-size:9px;
    line-height:1.4;
}

@media(max-width:768px){
    .mli-weather-overview{
        display:block;
        padding:12px;
    }

    .mli-weather-overview__rain{
        margin-top:11px;
        padding-top:11px;
        padding-left:0;
        border-top:1px solid #e3e8ee;
        border-left:0;
    }

    .mli-weather-core-grid{
        grid-template-columns:1fr;
        gap:8px;
    }

    .mli-weather-rain-detail__times{
        grid-template-columns:1fr 1fr 1fr;
    }

    .mli-weather-secondary{
        grid-template-columns:1fr;
    }
}

/* End V2.18.80 */


/* ================================================================
   V2.18.81 PREVIEW｜室內球場降雨資訊收斂
   ================================================================ */

.mli-rain-overview--indoor{
    color:#5f6f82 !important;
    background:#f1f4f7 !important;
    border:1px solid #dde4eb !important;
}

.mli-weather-core-card__primary--indoor>b{
    font-size:16px !important;
    color:#34465d !important;
}

.mli-weather-core-card__primary--indoor>small{
    max-width:260px;
    line-height:1.5 !important;
}

/* End V2.18.81 */


/* ================================================================
   V2.18.82 PREVIEW｜室內 / 關頂球場專用版面
   ================================================================ */

.mli-weather-indoor-overview{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    padding:15px 16px;
    border:1px solid #dfe6ed;
    border-radius:12px;
    background:#fafbfd;
}

.mli-weather-indoor-overview>div{
    min-width:0;
}

.mli-weather-indoor-overview span{
    display:block;
    color:#8793a2;
    font-size:9.5px;
    font-weight:800;
}

.mli-weather-indoor-overview strong{
    display:block;
    margin-top:4px;
    color:#172a43;
    font-size:17px;
    font-weight:900;
    line-height:1.25;
}

.mli-weather-indoor-overview small{
    display:block;
    margin-top:5px;
    color:#7b8797;
    font-size:10px;
    line-height:1.4;
}

.mli-weather-indoor-overview__status{
    flex:0 0 auto;
    padding-left:18px;
    border-left:1px solid #e2e7ed;
    text-align:right;
}

.mli-weather-indoor-overview__status strong{
    color:#5c6d80;
    font-size:12px;
}

.mli-weather-indoor-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
    margin-top:10px;
}

.mli-weather-indoor-card{
    min-width:0;
    padding:13px 14px;
    border:1px solid #e1e7ed;
    border-radius:11px;
    background:#fff;
}

.mli-weather-indoor-card>span{
    display:block;
    padding-bottom:8px;
    border-bottom:1px solid #edf0f3;
    color:#7f8b9a;
    font-size:10px;
    font-weight:800;
}

.mli-weather-indoor-card>strong{
    display:block;
    margin-top:12px;
    color:#526174;
    font-size:15px;
    font-weight:850;
}

.mli-weather-indoor-card>small{
    display:block;
    margin-top:6px;
    color:#7d8998;
    font-size:10px;
    line-height:1.5;
}

.mli-weather-interpretation--indoor{
    border-left-color:#aebdcd !important;
    background:#f8fafc !important;
}

@media(max-width:768px){
    .mli-weather-indoor-overview{
        display:block;
        padding:12px;
    }

    .mli-weather-indoor-overview__status{
        margin-top:11px;
        padding-top:11px;
        padding-left:0;
        border-top:1px solid #e2e7ed;
        border-left:0;
        text-align:left;
    }

    .mli-weather-indoor-grid{
        grid-template-columns:1fr;
        gap:8px;
    }
}

/* End V2.18.82 */


/* ================================================================
   V2.18.84｜先發投手：移除重複提示後，膠囊提示統一放大
   - 只影響「先發投手」分頁。
   - 客/主隊、左/右投、投捕搭配狀態、左右打對戰狀態一起放大。
   - 不改 Service 判斷，不影響首頁重要情報與其他分頁。
   ================================================================ */
.mli-detail-section--starter .mli-starter-team-card-head__team>span{
    min-height:25px;
    padding:3px 9px;
    font-size:10.5px;
}

.mli-detail-section--starter .mli-starter-hand-pill,
.mli-detail-section--starter .mli-battery-status,
.mli-detail-section--starter .mli-split-status{
    min-height:29px;
    padding:5px 12px;
    border-radius:999px;
    font-size:11px;
    font-weight:950;
    line-height:1;
}

@media(max-width:768px){
    .mli-detail-section--starter .mli-starter-team-card-head__team>span{
        min-height:23px;
        padding:3px 8px;
        font-size:10px;
    }

    .mli-detail-section--starter .mli-starter-hand-pill,
    .mli-detail-section--starter .mli-battery-status,
    .mli-detail-section--starter .mli-split-status{
        min-height:27px;
        padding:4px 10px;
        font-size:10.5px;
    }
}
/* End V2.18.84 */


/* ================================================================
   V2.18.86｜球場與天氣可讀性重整
   先看 3 個結論 → 風 / 雨主卡 → 球場條件 → 時間細節 → 判讀原因
   ================================================================ */

.mli-weather-glance{
    display:grid;
    grid-template-columns:1.15fr .85fr 1fr;
    gap:0;
    margin-bottom:14px;
    overflow:hidden;
    border:1px solid #dbe3ec;
    border-radius:13px;
    background:#f8fafc;
}
.mli-weather-glance__item{
    min-width:0;
    min-height:92px;
    padding:15px 17px;
}
.mli-weather-glance__item + .mli-weather-glance__item{
    border-left:1px solid #e1e7ee;
}
.mli-weather-glance__item>span{
    display:block;
    margin-bottom:7px;
    color:#7f8c9e;
    font-size:11px;
    font-weight:900;
}
.mli-weather-glance__item>strong{
    display:inline-flex;
    align-items:center;
    min-height:28px;
    color:#12243d;
    font-size:19px;
    font-weight:900;
    line-height:1.2;
}
.mli-weather-glance__item>small{
    display:block;
    margin-top:7px;
    color:#748397;
    font-size:11px;
    font-weight:700;
    line-height:1.45;
}

.mli-weather-focus-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    margin-bottom:12px;
}
.mli-weather-focus-card{
    min-width:0;
    padding:16px 17px;
    border:1px solid #dfe6ed;
    border-radius:12px;
    background:#fff;
}
.mli-weather-focus-card__head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:16px;
    padding-bottom:13px;
    border-bottom:1px solid #edf1f4;
}
.mli-weather-focus-card__head>div:first-child>span{
    display:block;
    margin-bottom:6px;
    color:#7d8a9b;
    font-size:11px;
    font-weight:900;
}
.mli-weather-focus-card__head>div:first-child>strong{
    font-size:12px !important;
}
.mli-weather-focus-number{
    display:flex;
    align-items:baseline;
    gap:5px;
    flex:0 0 auto;
}
.mli-weather-focus-number>b{
    color:#10233e;
    font-size:27px;
    font-weight:950;
    line-height:1;
}
.mli-weather-focus-number>em{
    color:#7c8999;
    font-size:11px;
    font-style:normal;
    font-weight:800;
}
.mli-weather-focus-meta{
    display:flex;
    flex-wrap:wrap;
    gap:8px 14px;
    margin-top:12px;
}
.mli-weather-focus-meta>span{
    color:#6f7d90;
    font-size:11px;
    font-weight:700;
    line-height:1.5;
}
.mli-weather-focus-meta>span>b{
    color:#2f435d;
    font-weight:900;
}
.mli-weather-focus-meta__wide{
    flex-basis:100%;
    padding-top:9px;
    border-top:1px dashed #e4e9ee;
}
.mli-weather-focus-card>p{
    margin:12px 0 0;
    padding-top:11px;
    border-top:1px dashed #e4e9ee;
    color:#52647b;
    font-size:11.5px;
    font-weight:700;
    line-height:1.65;
}

.mli-weather-ballpark{
    display:grid;
    grid-template-columns:1.4fr 1fr 1fr .7fr;
    gap:0;
    margin-bottom:12px;
    overflow:hidden;
    border:1px solid #e2e7ed;
    border-radius:11px;
    background:#fbfcfd;
}
.mli-weather-ballpark>div{
    min-width:0;
    padding:11px 13px;
}
.mli-weather-ballpark>div + div{
    border-left:1px solid #e8edf2;
}
.mli-weather-ballpark span{
    display:block;
    margin-bottom:4px;
    color:#8a96a5;
    font-size:9.5px;
    font-weight:800;
}
.mli-weather-ballpark strong{
    display:block;
    overflow:hidden;
    color:#35475e;
    font-size:11px;
    font-weight:900;
    white-space:nowrap;
    text-overflow:ellipsis;
}

.mli-weather-rain-detail--readable{
    margin-top:0;
    margin-bottom:12px;
    padding:14px 15px;
}
.mli-weather-rain-detail--readable .mli-weather-rain-detail__head>strong{
    font-size:12.5px;
}
.mli-weather-rain-detail--readable .mli-weather-rain-detail__times{
    gap:9px;
    margin-top:11px;
}
.mli-weather-rain-detail--readable .mli-weather-rain-detail__times>div{
    padding:9px 10px;
    border:1px solid #edf1f4;
}
.mli-weather-rain-detail--readable .mli-weather-rain-detail__times span{
    font-size:10px;
}
.mli-weather-rain-detail--readable .mli-weather-rain-detail__times b{
    margin-top:4px;
    font-size:11.5px;
}
.mli-weather-rain-stats{
    display:flex;
    flex-wrap:wrap;
    gap:8px 18px;
    margin-top:10px;
    color:#6f7d90;
    font-size:10.5px;
}
.mli-weather-rain-stats span{
    font-weight:700;
}
.mli-weather-rain-stats b{
    color:#33475f;
    font-weight:900;
}

.mli-weather-interpretation--primary{
    margin-top:0;
    padding:13px 15px;
    border-left:4px solid #f59a23;
    background:#fffaf2;
}
.mli-weather-interpretation--primary>span{
    margin-bottom:5px;
    color:#9a641b;
    font-size:10px;
}
.mli-weather-interpretation--primary>strong{
    color:#263a54;
    font-size:12.5px;
    line-height:1.65;
}

.mli-weather-secondary--compact{
    margin-top:10px;
}
.mli-weather-secondary--compact>div{
    padding:10px 12px;
    background:#fbfcfd;
}
.mli-weather-secondary--compact span{
    font-size:9.5px;
}
.mli-weather-secondary--compact strong{
    font-size:11px;
}

/* Weather badges need to read like conclusions, not micro labels */
.mli-weather-glance .mli-wind-result,
.mli-weather-glance .mli-rain-overview,
.mli-weather-focus-card .mli-wind-result,
.mli-weather-focus-card .mli-rain-overview,
.mli-weather-focus-card .mli-wind-impact-badge{
    min-height:28px;
    padding:5px 10px;
    font-size:11px !important;
    font-weight:900 !important;
}

@media(max-width:768px){
    .mli-weather-glance{
        grid-template-columns:1fr;
    }
    .mli-weather-glance__item{
        min-height:auto;
        padding:13px 14px;
    }
    .mli-weather-glance__item + .mli-weather-glance__item{
        border-left:0;
        border-top:1px solid #e1e7ee;
    }
    .mli-weather-glance__item>strong{
        font-size:17px;
    }
    .mli-weather-focus-grid{
        grid-template-columns:1fr;
        gap:9px;
    }
    .mli-weather-focus-card{
        padding:14px;
    }
    .mli-weather-focus-number>b{
        font-size:24px;
    }
    .mli-weather-ballpark{
        grid-template-columns:1fr 1fr;
    }
    .mli-weather-ballpark>div:nth-child(3){
        border-left:0;
        border-top:1px solid #e8edf2;
    }
    .mli-weather-ballpark>div:nth-child(4){
        border-top:1px solid #e8edf2;
    }
    .mli-weather-rain-detail--readable .mli-weather-rain-detail__times{
        grid-template-columns:1fr 1fr 1fr;
    }
}

@media(max-width:520px){
    .mli-weather-focus-card__head{
        gap:10px;
    }
    .mli-weather-focus-number>b{
        font-size:22px;
    }
    .mli-weather-ballpark{
        grid-template-columns:1fr;
    }
    .mli-weather-ballpark>div + div,
    .mli-weather-ballpark>div:nth-child(3),
    .mli-weather-ballpark>div:nth-child(4){
        border-left:0;
        border-top:1px solid #e8edf2;
    }
    .mli-weather-rain-detail--readable .mli-weather-rain-detail__times{
        grid-template-columns:1fr;
    }
    .mli-weather-rain-stats{
        flex-direction:column;
        gap:4px;
    }
}

/* End V2.18.86 */


/* ================================================================
   V2.18.87｜Weather layout fix
   球場條件置頂；風況 / 降雨主卡 KPI 固定對齊
   ================================================================ */

.mli-weather-ballpark{
    margin-bottom:14px;
    background:#f8fafc;
}
.mli-weather-ballpark>div{
    padding:13px 15px;
}
.mli-weather-ballpark span{
    margin-bottom:5px;
    font-size:10px;
}
.mli-weather-ballpark strong{
    font-size:12px;
}

.mli-weather-focus-kpis{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:0;
    margin-top:12px;
    overflow:hidden;
    border:1px solid #e5eaf0;
    border-radius:9px;
    background:#fafbfd;
}
.mli-weather-focus-kpis>div{
    min-width:0;
    padding:10px 11px;
}
.mli-weather-focus-kpis>div + div{
    border-left:1px solid #e5eaf0;
}
.mli-weather-focus-kpis span{
    display:block;
    margin-bottom:5px;
    color:#8390a1;
    font-size:9.5px;
    font-weight:800;
}
.mli-weather-focus-kpis strong{
    display:inline-flex;
    align-items:center;
    min-height:24px;
    color:#263a54;
    font-size:11.5px;
    font-weight:900;
    line-height:1.35;
}
.mli-weather-focus-kpis .mli-wind-impact-badge{
    min-height:24px;
    padding:4px 8px;
    font-size:10.5px !important;
}

.mli-weather-rain-note{
    margin:10px 0 0 !important;
    padding:10px 11px !important;
    border:1px dashed #e3e8ee !important;
    border-radius:8px;
    background:#fcfdfe;
    color:#607087 !important;
    font-size:10.5px !important;
    font-weight:700 !important;
    line-height:1.6 !important;
}

@media(max-width:768px){
    .mli-weather-ballpark{
        grid-template-columns:1fr 1fr;
    }
    .mli-weather-focus-kpis{
        grid-template-columns:1fr 1fr;
    }
}

@media(max-width:520px){
    .mli-weather-ballpark{
        grid-template-columns:1fr 1fr;
    }
    .mli-weather-ballpark>div:nth-child(odd){
        border-left:0;
    }
    .mli-weather-ballpark>div:nth-child(n+3){
        border-top:1px solid #e8edf2;
    }
    .mli-weather-focus-kpis{
        grid-template-columns:1fr;
    }
    .mli-weather-focus-kpis>div + div{
        border-left:0;
        border-top:1px solid #e5eaf0;
    }
}

/* End V2.18.87 */


/* ================================================================
   V2.18.88｜Weather compact / same-system refinement
   - 收緊留白，靠攏其它即時情報分頁密度
   - 風向 / 風勢強度併入風況主卡
   - 打者影響提升為主結論
   ================================================================ */

.mli-weather-ballpark{
    margin-bottom:10px;
    border-radius:10px;
}
.mli-weather-ballpark>div{
    padding:10px 12px;
}
.mli-weather-ballpark span{
    margin-bottom:3px;
    font-size:9px;
}
.mli-weather-ballpark strong{
    font-size:11px;
}

.mli-weather-glance{
    margin-bottom:10px;
    border-radius:10px;
}
.mli-weather-glance__item{
    min-height:72px;
    padding:11px 13px;
}
.mli-weather-glance__item>span{
    margin-bottom:5px;
    font-size:10px;
}
.mli-weather-glance__item>strong{
    min-height:24px;
    font-size:16px;
}
.mli-weather-glance__item>small{
    margin-top:4px;
    font-size:10px;
}

.mli-weather-focus-grid{
    gap:10px;
    margin-bottom:10px;
}
.mli-weather-focus-card{
    padding:13px 14px;
    border-radius:10px;
}
.mli-weather-focus-card__head{
    gap:12px;
    padding-bottom:10px;
}
.mli-weather-focus-card__head>div:first-child>span{
    margin-bottom:4px;
    font-size:10px;
}
.mli-weather-focus-number>b{
    font-size:24px;
}
.mli-weather-focus-number>em{
    font-size:10px;
}

.mli-weather-wind-context{
    display:grid;
    grid-template-columns:1.25fr .8fr .85fr;
    gap:0;
    margin-top:10px;
    overflow:hidden;
    border:1px solid #e5eaf0;
    border-radius:8px;
    background:#fafbfd;
}
.mli-weather-wind-context>div{
    min-width:0;
    padding:9px 10px;
}
.mli-weather-wind-context>div + div{
    border-left:1px solid #e5eaf0;
}
.mli-weather-wind-context span{
    display:block;
    margin-bottom:4px;
    color:#8793a2;
    font-size:9px;
    font-weight:800;
}
.mli-weather-wind-context strong{
    display:inline-flex;
    align-items:center;
    min-height:21px;
    color:#2a3e57;
    font-size:10.5px;
    font-weight:900;
    line-height:1.25;
}
.mli-weather-wind-context small{
    display:block;
    margin-top:2px;
    color:#8996a6;
    font-size:9px;
    font-weight:700;
    line-height:1.35;
}
.mli-weather-wind-context .mli-wind-impact-badge{
    min-height:21px;
    padding:3px 7px;
    font-size:10px !important;
}

.mli-weather-hitter-impact{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-top:9px;
    padding:9px 10px;
    border:1px solid #e7ebef;
    border-radius:8px;
    background:#fff;
}
.mli-weather-hitter-impact>span{
    color:#617086;
    font-size:10.5px;
    font-weight:900;
}
.mli-weather-hitter-impact>.mli-wind-impact-badge{
    min-height:30px;
    padding:5px 12px;
    font-size:12px !important;
    font-weight:950 !important;
    box-shadow:0 2px 7px rgba(15,27,45,.06);
}

.mli-weather-wind-explain{
    margin:9px 0 0 !important;
    padding:9px 10px 0 !important;
    border-top:1px dashed #e4e9ee !important;
    color:#52647b !important;
    font-size:10.5px !important;
    font-weight:700 !important;
    line-height:1.55 !important;
}

.mli-weather-focus-kpis{
    margin-top:10px;
    border-radius:8px;
}
.mli-weather-focus-kpis>div{
    padding:8px 9px;
}
.mli-weather-focus-kpis span{
    margin-bottom:3px;
    font-size:9px;
}
.mli-weather-focus-kpis strong{
    min-height:20px;
    font-size:10.5px;
}

.mli-weather-rain-note{
    margin-top:8px !important;
    padding:8px 9px !important;
    font-size:10px !important;
    line-height:1.5 !important;
}

.mli-weather-rain-detail--readable{
    margin-bottom:10px;
    padding:11px 12px;
    border-radius:9px;
}
.mli-weather-rain-detail--readable .mli-weather-rain-detail__times{
    margin-top:8px;
}
.mli-weather-rain-detail--readable .mli-weather-rain-detail__times>div{
    padding:7px 8px;
}
.mli-weather-rain-stats{
    gap:6px 14px;
    margin-top:8px;
    font-size:10px;
}

.mli-weather-interpretation--primary{
    margin-top:0;
    padding:10px 12px;
    border-left-width:3px;
    border-radius:8px;
}
.mli-weather-interpretation--primary>span{
    margin-bottom:4px;
    font-size:9.5px;
}
.mli-weather-interpretation--primary>strong{
    font-size:11.5px;
    line-height:1.55;
}

/* Retire the old bottom details style in this version */
.mli-weather-secondary--compact{
    display:none !important;
}

@media(max-width:768px){
    .mli-weather-glance__item{
        min-height:auto;
        padding:10px 12px;
    }
    .mli-weather-focus-card{
        padding:12px;
    }
    .mli-weather-wind-context{
        grid-template-columns:1fr 1fr 1fr;
    }
}

@media(max-width:520px){
    .mli-weather-wind-context{
        grid-template-columns:1fr;
    }
    .mli-weather-wind-context>div + div{
        border-left:0;
        border-top:1px solid #e5eaf0;
    }
    .mli-weather-hitter-impact{
        align-items:flex-start;
        flex-direction:column;
        gap:6px;
    }
}

/* End V2.18.88 */


/* ================================================================
   V2.18.89｜Weather final readability polish
   - 全頁字級提升
   - 第一行球場資訊提高權重
   - 第二行三結論收斂高度
   - 說明文字可讀性提升
   ================================================================ */

/* 第一行：球場基本資訊＝主要資訊 */
.mli-weather-ballpark{
    grid-template-columns:1.4fr 1fr .95fr .7fr;
    margin-bottom:10px;
}
.mli-weather-ballpark>div{
    min-height:56px;
    padding:11px 13px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}
.mli-weather-ballpark span{
    margin-bottom:5px;
    font-size:10.5px;
    font-weight:900;
}
.mli-weather-ballpark strong{
    font-size:13px;
    line-height:1.35;
    font-weight:950;
}

/* 第二行：三個快速結論，略低於球場基本資訊 */
.mli-weather-glance__item{
    min-height:62px;
    padding:10px 13px;
}
.mli-weather-glance__item>span{
    margin-bottom:4px;
    font-size:10.5px;
}
.mli-weather-glance__item>strong{
    min-height:25px;
    font-size:16px;
}
.mli-weather-glance__item>small{
    margin-top:3px;
    font-size:10.5px;
    line-height:1.4;
}

/* 風雨主卡整體字級 */
.mli-weather-focus-card__head>div:first-child>span{
    font-size:11px;
}
.mli-weather-focus-card__head>div:first-child>strong{
    font-size:12px !important;
}
.mli-weather-focus-number>b{
    font-size:25px;
}
.mli-weather-focus-number>em{
    font-size:11px;
}

.mli-weather-wind-context span,
.mli-weather-focus-kpis span{
    font-size:10.5px;
}
.mli-weather-wind-context strong,
.mli-weather-focus-kpis strong{
    font-size:12px;
}
.mli-weather-wind-context small{
    font-size:10px;
}
.mli-weather-wind-context .mli-wind-impact-badge{
    font-size:11px !important;
}

.mli-weather-hitter-impact>span{
    font-size:12px;
}
.mli-weather-hitter-impact>.mli-wind-impact-badge{
    min-height:32px;
    padding:6px 13px;
    font-size:13px !important;
}

/* 主要解釋文字不要再小到難閱讀 */
.mli-weather-wind-explain,
.mli-weather-rain-note{
    font-size:11.5px !important;
    line-height:1.65 !important;
}

.mli-weather-rain-detail--readable .mli-weather-rain-detail__head>strong{
    font-size:13px;
}
.mli-weather-rain-detail--readable .mli-weather-rain-detail__times span{
    font-size:10.5px;
}
.mli-weather-rain-detail--readable .mli-weather-rain-detail__times b{
    font-size:12px;
}
.mli-weather-rain-stats{
    font-size:11px;
}

/* 今日判讀 */
.mli-weather-interpretation--primary>span{
    font-size:10.5px;
}
.mli-weather-interpretation--primary>strong{
    font-size:12.5px;
    line-height:1.65;
}
.mli-weather-interpretation--primary>small{
    font-size:10.5px;
}

/* Weather 說明 Modal：提高閱讀性 */
.mli-rule-help-content[data-mli-rule-help-content="weather"] .mli-rule-list p{
    grid-template-columns:140px minmax(0,1fr);
    padding:11px 13px;
}
.mli-rule-help-content[data-mli-rule-help-content="weather"] .mli-rule-list b{
    font-size:12.5px;
    line-height:1.45;
}
.mli-rule-help-content[data-mli-rule-help-content="weather"] .mli-rule-list span{
    font-size:12px;
    line-height:1.7;
}

/* 主結論膠囊再提高辨識 */
.mli-weather-focus-card .mli-wind-result,
.mli-weather-focus-card .mli-rain-overview,
.mli-weather-glance .mli-wind-result,
.mli-weather-glance .mli-rain-overview{
    min-height:28px;
    padding:5px 10px;
    font-size:11.5px !important;
}

@media(max-width:768px){
    .mli-weather-ballpark{
        grid-template-columns:1fr 1fr;
    }
    .mli-weather-ballpark>div{
        min-height:52px;
        padding:10px 11px;
    }
    .mli-weather-ballpark strong{
        font-size:12px;
    }
    .mli-weather-glance__item{
        min-height:auto;
    }
    .mli-rule-help-content[data-mli-rule-help-content="weather"] .mli-rule-list p{
        grid-template-columns:1fr;
        gap:5px;
    }
}

@media(max-width:520px){
    .mli-weather-ballpark span{
        font-size:10px;
    }
    .mli-weather-ballpark strong{
        font-size:11.5px;
    }
    .mli-weather-wind-context span,
    .mli-weather-focus-kpis span{
        font-size:10px;
    }
    .mli-weather-wind-context strong,
    .mli-weather-focus-kpis strong{
        font-size:11.5px;
    }
}

/* End V2.18.89 */


/* ================================================================
   V2.18.90｜Rain info refinement
   ================================================================ */
.mli-weather-focus-kpis--rain strong{
    white-space:normal;
    line-height:1.45;
}
.mli-weather-focus-kpis--rain>div:first-child strong{
    color:#263a54;
}
@media(max-width:520px){
    .mli-weather-focus-kpis--rain strong{
        font-size:11.5px;
    }
}
/* End V2.18.90 */


/* ================================================================
   V2.18.91｜Weather alert hierarchy
   ================================================================ */
.mli-rain-overview--watch{
    font-weight:900;
}
.mli-rain-overview--high{
    font-weight:950;
}
/* End V2.18.91 */


/* ================================================================
   V2.18.96｜只把原說明欄的隊名改成膠囊
   ================================================================ */
.mli-transaction-description{
    display:block;
}

.mli-transaction-team-pill{
    display:inline-flex;
    align-items:center;
    min-height:22px;
    margin-right:7px;
    padding:3px 7px;
    border:1px solid #e0e6ed;
    border-radius:999px;
    background:#f5f8fb;
    color:#536276;
    font-size:10.5px!important;
    font-weight:900!important;
    line-height:1;
    white-space:nowrap;
    vertical-align:middle;
}

/* 客隊：藍灰 */
.mli-team-side--away{
    border-color:#cbdbea!important;
    background:#f1f6fb!important;
    color:#426789!important;
}

/* 主隊：橘金 */
.mli-team-side--home{
    border-color:#f0cf9b!important;
    background:#fff7e9!important;
    color:#a45d08!important;
}

/* End V2.18.96 */

/* ================================================================
   V2.18.97｜Timeline spacing only
   - 只放鬆即時情報時間線的垂直間距
   - 不動字級、顏色、膠囊與其他分頁
   ================================================================ */
.mli-detail-modal__body .mli-timeline li{
    padding-bottom:17px;
}

.mli-detail-modal__body .mli-timeline li > div{
    padding-top:1px;
}

.mli-detail-modal__body .mli-timeline p{
    margin-top:6px;
}

.mli-detail-modal__body .mli-timeline-team{
    margin-bottom:6px;
}

/* End V2.18.97 */
