:root{color-scheme:light;--navy:#0f2e55;--navy2:#163e6c;--ink:#172033;--muted:#68778b;--line:#d8e0e9;--bg:#f3f7fb;--card:#fff;--accent:#0fca78;--shadow:0 10px 28px rgba(23,45,76,.08);font-family:"Microsoft YaHei UI","PingFang SC",system-ui,sans-serif}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--ink)}body{overflow-y:scroll}.app-shell{min-height:100vh}.topbar{position:sticky;top:0;z-index:50;height:70px;display:grid;grid-template-columns:minmax(170px,1fr) auto minmax(170px,1fr);align-items:center;padding:0 28px;background:linear-gradient(90deg,var(--navy),var(--navy2));color:#fff;box-shadow:0 3px 14px rgba(10,30,55,.22)}.brand{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none;font-size:20px;font-weight:800;width:max-content}.brand-mark{display:grid;place-items:center;width:32px;height:32px;border:1px solid rgba(255,255,255,.7);border-radius:9px;background:#fff;color:var(--navy);font-family:Georgia,serif}.primary-nav{display:flex;gap:8px;padding:5px;border:1px solid rgba(255,255,255,.13);border-radius:12px;background:rgba(5,22,42,.24)}.primary-nav a{display:flex;min-width:118px;min-height:49px;padding:7px 15px;border:1px solid transparent;border-radius:9px;color:#dce8f5;align-items:center;justify-content:center;flex-direction:column;text-align:center;text-decoration:none;font-size:15px;font-weight:800;line-height:1.05;transition:transform .14s ease,background .16s,color .16s,border-color .16s,box-shadow .16s}.primary-nav a[data-entry-note]::after{content:attr(data-entry-note);margin-top:5px;color:#9fb4c9;font-size:10px;font-weight:600;letter-spacing:.02em;white-space:nowrap}.primary-nav a:hover{transform:translateY(-1px);border-color:rgba(255,255,255,.15);background:rgba(255,255,255,.1);color:#fff}.primary-nav a:hover::after{color:#d7e4ef}.primary-nav a:active{transform:translateY(1px) scale(.985);box-shadow:inset 0 2px 5px rgba(3,15,28,.3)}.primary-nav a:focus-visible{outline:3px solid #80b9e6;outline-offset:3px}.primary-nav a.active{background:#fff;color:var(--navy);box-shadow:0 3px 10px rgba(3,15,28,.25)}.primary-nav a.active::after{color:#5f7890}.route-status{justify-self:end;display:flex;align-items:center;gap:8px;font-size:14px;color:#dce8f5}.live-dot{width:9px;height:9px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 5px rgba(15,202,120,.12)}#route-root{width:min(1880px,calc(100vw - 32px));margin:18px auto 48px}.route-panel{animation:panel-in .16s ease-out}.route-panel[hidden]{display:none!important}@keyframes panel-in{from{opacity:.7;transform:translateY(3px)}to{opacity:1;transform:none}}.page-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;padding:16px 20px;border:1px solid var(--line);border-radius:14px;background:var(--card);box-shadow:var(--shadow)}.page-head h1{margin:0 0 4px;font-size:22px}.page-head p{margin:0;color:var(--muted);font-size:14px}.page-state{padding:7px 11px;border-radius:999px;background:#eef4fa;color:#52677f;font-size:13px;font-weight:700}.skeleton-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.skeleton-grid::before,.skeleton-grid::after{content:"";height:280px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(100deg,#fff 25%,#f5f8fb 40%,#fff 58%);background-size:220% 100%;box-shadow:var(--shadow);animation:shimmer 1.5s infinite}@keyframes shimmer{to{background-position-x:-220%}}
.history-entry{margin-left:auto;margin-right:12px;padding:8px 13px;border:1px solid #c8d7e7;border-radius:9px;background:#f5f9fd;color:var(--navy);font-size:14px;font-weight:700;text-decoration:none}.page-state.ready{background:#e8f8f0;color:#087b4c}.match-feed{min-height:320px}.feed-loading,.feed-empty,.feed-error{display:grid;place-items:center;min-height:320px;border:1px solid var(--line);border-radius:15px;background:#fff;color:var(--muted);box-shadow:var(--shadow)}.feed-error{color:#b53838}.match-table-wrap{overflow:auto;border:1px solid var(--line);border-radius:15px;background:#fff;box-shadow:var(--shadow)}.match-table{width:100%;min-width:1320px;border-collapse:separate;border-spacing:0;font-size:13px}.match-table th{position:sticky;top:0;z-index:2;padding:12px 10px;border-bottom:1px solid #cbd7e4;background:#edf3f8;color:#42566d;text-align:left;white-space:nowrap}.match-table td{padding:11px 10px;border-bottom:1px solid #e7edf3;color:#26364a;white-space:nowrap}.match-table tbody tr:hover td{background:#f6faff}.match-table tbody tr:last-child td{border-bottom:0}.versus{margin:0 7px;color:#8b98a8;font-weight:400}.pending-mark{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#fff0e1;color:#e56b12;font-size:20px;font-weight:900}.ok-mark{color:#078152;font-weight:700}
.identity-confirm-button{float:right;min-width:54px;padding:6px 12px;border:1px solid #e9a853;border-radius:8px;background:#fff6e8;color:#ad5a00;font-weight:800;cursor:pointer}.identity-confirm-button:hover{background:#ffe9c5}.identity-dialog{width:min(620px,calc(100vw - 30px));padding:0;border:0;border-radius:16px;box-shadow:0 24px 80px rgba(10,29,52,.32)}.identity-dialog::backdrop{background:rgba(7,20,36,.45)}.identity-form{display:grid;gap:13px;padding:20px}.dialog-head{display:flex;align-items:start;justify-content:space-between}.dialog-head h2{margin:0 0 5px}.dialog-head p{margin:0;color:var(--muted);font-size:13px}.dialog-head>button{border:0;background:transparent;color:#68788b;font-size:26px;cursor:pointer}.identity-form>label{display:grid;gap:6px;color:#52657b;font-size:13px;font-weight:700}.identity-form select,.identity-form input{height:40px;border:1px solid #c7d3df;border-radius:8px;padding:0 10px;background:#fff;color:var(--ink);font:inherit}.identity-options{display:flex;flex-wrap:wrap;gap:7px;max-height:220px;overflow:auto;padding:10px;border:1px solid #d7e0e9;border-radius:10px;background:#f6f9fc}.identity-options button{padding:7px 10px;border:1px solid #c8d5e2;border-radius:8px;background:#fff;color:#30465f;cursor:pointer}.identity-options button.selected{border-color:#0a9960;background:#e8f8f0;color:#087448;font-weight:800}.identity-loading{color:var(--muted);font-size:13px}.identity-error{color:#b52f2f;font-size:13px}.identity-feedback{min-height:20px;color:#52677f;font-size:13px}.dialog-actions{display:flex;justify-content:flex-end;gap:9px}.dialog-actions button{padding:9px 18px;border:1px solid #cbd6e2;border-radius:8px;background:#fff;font-weight:700;cursor:pointer}.dialog-actions button.primary{border-color:var(--navy);background:var(--navy);color:#fff}
.probability-button{padding:6px 12px;border:1px solid #76a5d4;border-radius:8px;background:#edf6ff;color:#14558e;font-weight:800;cursor:pointer}.locked-probability{color:#8795a6;font-size:12px}.probability-dialog{width:min(980px,calc(100vw - 30px));max-height:88vh;padding:0;border:0;border-radius:16px;box-shadow:0 24px 80px rgba(10,29,52,.34)}.probability-dialog::backdrop{background:rgba(7,20,36,.45)}.probability-panel{padding:20px;max-height:88vh;overflow:auto}.probability-loading{padding:60px;text-align:center;color:var(--muted)}.probability-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.probability-summary span{padding:12px;border:1px solid #d8e3ee;border-radius:10px;background:#f5f9fd;color:#52667d}.probability-summary b{display:block;margin-top:5px;color:#18334f;font-size:18px}.probability-group{margin:14px 0}.probability-group h3{margin:0 0 8px;color:#263d57;font-size:15px}.probability-group>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:7px}.probability-group span{display:grid;grid-template-columns:1fr auto;gap:4px;padding:9px;border:1px solid #dbe4ed;border-radius:9px;background:#fff}.probability-group b{grid-column:1/-1;color:#40566f;font-size:12px}.probability-group em{color:#078354;font-style:normal;font-weight:800}.probability-group small{color:#76869a}.probability-error{min-height:160px}
.database-toolbar{display:flex;align-items:end;gap:12px;margin-bottom:14px;padding:14px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:var(--shadow)}.database-toolbar label{display:grid;gap:5px;color:#53667d;font-size:12px;font-weight:700}.database-toolbar select,.database-toolbar input{height:38px;min-width:190px;border:1px solid #cbd7e4;border-radius:8px;background:#fff;padding:0 10px;color:var(--ink);font:inherit}.database-toolbar .db-search{flex:1}.database-toolbar input{width:100%}.database-toolbar button{height:38px;padding:0 20px;border:0;border-radius:8px;background:var(--navy);color:#fff;font-weight:800;cursor:pointer}.database-toolbar [data-db-summary]{margin-left:auto;padding-bottom:9px;color:var(--muted);font-size:13px}.database-feed{min-height:350px}.database-table-wrap{max-height:calc(100vh - 220px);overflow:auto;border:1px solid var(--line);border-radius:15px;background:#fff;box-shadow:var(--shadow)}.database-table{min-width:1100px;width:100%;border-collapse:separate;border-spacing:0;font-size:13px}.database-table th{position:sticky;top:0;z-index:2;padding:11px 10px;background:#e7eef5;border-bottom:1px solid #c8d4e1;color:#3c5169;text-align:left;white-space:nowrap}.database-table td{padding:10px;border-bottom:1px solid #e5ebf1;white-space:nowrap}.database-table tbody tr:hover td{background:#f5f9fc}.collection-denied{padding:24px;border:1px solid #efc5c5;border-radius:14px;background:#fff5f5;color:#a62e2e;text-align:center}.collection-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.log-card{min-width:0;padding:12px;background:#cdd5de;border-radius:18px;box-shadow:var(--shadow)}.log-card header{display:flex;align-items:center;justify-content:space-between;padding:3px 6px 11px}.log-card h2{margin:0 0 3px;color:#17283d;font-size:18px}.log-card header p{margin:0;color:#66768a;font-size:13px}.program-status{display:flex;align-items:center;gap:9px;font-size:16px}.program-status.running{color:#008d54}.program-status.stopped{color:#c53c3c}.breath-dot,.stop-dot{width:15px;height:15px;border-radius:50%}.breath-dot{background:#11c978;animation:breathe 1.5s ease-in-out infinite}.stop-dot{background:#d43e3e}@keyframes breathe{0%,100%{opacity:.12;box-shadow:0 0 0 0 rgba(17,201,120,0)}50%{opacity:1;box-shadow:0 0 0 8px rgba(17,201,120,.12)}}.log-window{height:310px;overflow-y:scroll;padding:12px 14px;border-radius:13px;background:#0c172c;color:#dce9f8;font-family:"Microsoft YaHei UI",monospace;font-size:14px;line-height:1.75;scrollbar-gutter:stable}.log-line{padding:6px 0;border-bottom:1px solid rgba(160,184,211,.13);overflow-wrap:anywhere}.log-line:last-child{border-bottom:0}
@media(max-width:800px){.topbar{grid-template-columns:auto 1fr;padding:0 12px}.brand span:last-child,.route-status{display:none}.primary-nav{justify-self:end}.primary-nav a{min-width:0;padding:8px 10px;font-size:13px}#route-root{width:calc(100vw - 18px);margin-top:10px}.skeleton-grid,.collection-grid{grid-template-columns:1fr}.page-head{flex-wrap:wrap;gap:8px}.history-entry{margin-left:0}.database-toolbar{align-items:stretch;flex-direction:column}.database-toolbar label,.database-toolbar select{width:100%}}

/* 主入口保持单行名称；悬停时使用高对比度，避免浅色背景上的白字看似消失。 */
.topbar{height:62px}
.primary-nav a{min-width:108px;min-height:40px;padding:9px 16px;flex-direction:row;line-height:1}
.primary-nav a[data-entry-note]::after{content:none}
.primary-nav a:hover{border-color:#a9bfd3;background:#edf5fb;color:#163b5f;box-shadow:0 4px 10px rgba(3,15,28,.2)}
.primary-nav a:active{color:#163b5f}
.primary-nav a.active,.primary-nav a.active:hover{border-color:#fff;background:#fff;color:var(--navy)}
@media(max-width:800px){.primary-nav a{min-width:0;min-height:36px;padding:8px 10px}}

/* 当前页面入口使用稳定的选中颜色，与普通白色入口明确区分。 */
.primary-nav a.active,.primary-nav a.active:hover{border-color:#2d6b9f;background:linear-gradient(180deg,#3479ad,#235a88);color:#fff;box-shadow:0 4px 11px rgba(22,64,101,.28)}

/* Database display contract: every ID is inset/left aligned; match ID is 60% of 128px. */
.database-table th[data-col$="ID"],.database-table td[data-col$="ID"]{text-align:left;padding-left:10px}
.database-table th[data-col="比赛ID"],.database-table td[data-col="比赛ID"]{width:77px;max-width:77px;overflow:hidden;text-overflow:ellipsis}
.account-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.account-card{padding:20px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:var(--shadow)}.account-card h2{margin:0 0 14px;font-size:18px}.account-card form{display:grid;gap:12px}.account-card label{display:grid;gap:6px;color:#52657b;font-size:13px;font-weight:700}.account-card input{height:42px;padding:0 11px;border:1px solid #c7d3df;border-radius:8px;font:inherit}.account-card button{height:42px;padding:0 18px;border:0;border-radius:8px;background:var(--navy);color:#fff;font-weight:800;cursor:pointer}.account-card button.secondary{margin-top:16px;border:1px solid #cbd6e2;background:#fff;color:var(--navy)}.account-feedback{min-height:20px;margin:0;color:#52677f;font-size:13px}.entitlement-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.entitlement-grid span{padding:11px;border-radius:9px;background:#f2f6fa;color:#66788d;font-size:12px}.entitlement-grid b{display:block;margin-top:4px;color:#18334f;font-size:15px}.account-licenses ul{display:grid;gap:8px;margin:0;padding:0;list-style:none}.account-licenses li{display:grid;grid-template-columns:1fr 1fr 1fr 2fr;gap:8px;padding:10px;border-radius:8px;background:#f4f7fa;font-size:12px}
@media(max-width:800px){.account-grid{grid-template-columns:1fr}.entitlement-grid{grid-template-columns:1fr 1fr}}

/* SPA migration skin: mirrors the compact 8501 chrome without inheriting its rerun lifecycle. */
body{background:#f7f9fc;overflow-y:auto}.app-shell{min-height:100vh}.topbar{position:sticky;top:0;z-index:60;height:35px;display:flex;gap:12px;align-items:center;padding:0 12px;background:linear-gradient(90deg,#12385f,#163b63);box-shadow:none;border-bottom:1px solid #244b70}.brand{gap:6px;font-size:17px}.brand small{font-size:11px;font-weight:600;color:#dbe7f3}.topbar-page{font-size:13px;margin-left:5px}.status-pill{padding:3px 8px;border-radius:10px;background:rgba(255,255,255,.1);color:#aebfd1;font-size:11px}.status-pill b{color:#edf5fc}.account-entry{margin-left:auto;color:#fff;text-decoration:none;font-weight:900;letter-spacing:.5px}.account-entry i{display:inline-block;width:22px;height:22px;margin-left:6px;vertical-align:middle;border:1px solid #6b8dac;border-radius:50%;background:linear-gradient(135deg,#df73cc,#7454bc)}
.surface-toolbar{position:sticky;top:35px;z-index:55;display:grid;grid-template-columns:58px 155px 145px 145px 1fr auto auto 58px;column-gap:8px;row-gap:4px;align-items:end;padding:5px 7px;border:1px solid #9fb0c2;border-top:0;border-radius:0 0 7px 7px;background:#e8eef5;box-shadow:0 2px 5px rgba(36,59,84,.12)}.surface-toolbar[hidden]{display:none!important}.surface-toolbar label:not(.toolbar-check){display:grid;min-width:0;gap:2px;color:#354e68;font-size:12px;font-weight:800}.surface-toolbar select{display:block;width:100%;min-width:0;height:27px;border:1px solid #c3ced9;border-radius:6px;background:#fff;padding:0 9px;color:#344a60}.surface-toolbar button{height:27px;border:1px solid #325b82;border-radius:6px;background:#234f79;color:#fff;font-weight:800;cursor:pointer}.export-button{font-size:12px}.primary-nav{justify-self:center;display:flex;gap:7px;padding:0;border:0;background:transparent}.primary-nav a{min-width:86px;padding:6px 14px;border:1px solid #879db2;border-radius:6px;background:#fff;color:#214365;font-size:13px}.primary-nav a.active{border-color:#315e86;background:linear-gradient(#3d719f,#24547f);color:#fff;box-shadow:none}.toolbar-check{display:flex;align-items:center;gap:4px;height:27px;padding:0 8px;border:1px solid #c5d0db;border-radius:6px;background:#fff;color:#31475f;font-size:11px;font-weight:700;white-space:nowrap}.surface-toolbar>a[data-admin-only]{display:none}
.surface-toolbar [data-match-only].route-inactive{visibility:hidden;pointer-events:none}
#route-root{width:calc(100vw - 12px);margin:5px auto 30px}.match-summary{display:flex;justify-content:flex-end;gap:10px;min-height:24px;align-items:center;color:#65788d;font-size:11px}.page-state{padding:3px 8px}.match-feed{min-height:260px}.match-list{display:grid;gap:5px}.native-match-block{overflow:hidden;border:1px solid #94a8bc;border-radius:5px;background:#fff;box-shadow:0 1px 3px rgba(28,52,78,.08)}.native-match-block[hidden]{display:none}.match-identity-row{display:grid;grid-template-columns:125px 110px minmax(260px,1fr) 80px 70px 65px;align-items:center;min-height:31px;border-bottom:1px solid #aebdcb;background:#e8eef4;color:#20374f;font-size:12px}.match-identity-row>*{padding:5px 8px;border-right:1px solid #c4ced8}.match-identity-row>*:last-child{border-right:0}.match-teams{display:grid;grid-template-columns:1fr 28px 1fr;align-items:center;text-align:center}.match-teams span{color:#8190a0}.match-score{text-align:center}.identity-state{text-align:center}.provider-head,.provider-row{display:grid;grid-template-columns:minmax(180px,1fr) 95px 95px 95px 70px;align-items:center;font-size:12px}.provider-head{min-height:24px;background:#f4f7fa;color:#52677d;font-weight:700}.provider-row{min-height:27px;border-top:1px solid #e0e6ec;color:#273c52}.provider-head>*,.provider-row>*{padding:4px 9px;border-right:1px solid #e0e6ec;text-align:center}.provider-head>*:first-child,.provider-row>*:first-child{text-align:left}.provider-row span{font-size:13px;font-weight:800;color:#172f48}.provider-row time{color:#75869a;font-size:10px}.probability-button,.identity-confirm-button{float:none;min-width:48px;padding:3px 8px;border-radius:5px;font-size:11px}.ok-mark{font-size:11px}
@media(max-width:900px){.surface-toolbar{grid-template-columns:50px repeat(3,minmax(90px,1fr));}.surface-toolbar .primary-nav{grid-column:1/-1}.toolbar-check,.refresh-button{display:none}.match-identity-row{grid-template-columns:96px 82px minmax(220px,1fr) 58px 54px 52px}.provider-head,.provider-row{grid-template-columns:minmax(120px,1fr) 68px 68px 68px 52px}}
.account-shell{position:relative;z-index:100;display:flex;align-items:center;align-self:stretch;margin-left:auto}.account-shell .account-entry{display:flex;align-items:center;align-self:stretch;margin-left:0;line-height:1}.account-entry i,.account-dropdown-head>i{display:block;flex:0 0 auto;border:1px solid #6b8dac;border-radius:50%;background:linear-gradient(135deg,#df73cc,#7454bc)}.account-shell .account-entry i{width:22px;height:22px;margin-left:6px;vertical-align:initial}.account-dropdown{position:absolute;top:calc(100% - 1px);right:0;z-index:500;width:240px;padding:8px;border:1px solid #d8dee8;border-radius:0 0 11px 11px;background:#fff;color:#172033;box-shadow:0 12px 32px rgba(16,35,60,.24);opacity:0;visibility:hidden;transform:translateY(-4px);pointer-events:none;transition:opacity .14s ease,transform .14s ease,visibility .14s ease}.account-shell:hover .account-dropdown,.account-shell:focus-within .account-dropdown{opacity:1;visibility:visible;transform:none;pointer-events:auto}.account-dropdown-head{display:flex;align-items:center;gap:10px;padding:7px 7px 10px;border-bottom:1px solid #e5e9f0}.account-dropdown-head>i{width:38px;height:38px}.account-dropdown-head div{display:grid;min-width:0;gap:3px}.account-dropdown-head b,.account-dropdown-head small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-dropdown-head b{font-size:14px}.account-dropdown-head small{color:#8190a5;font-size:11px}.account-dropdown>a,.account-dropdown>button{display:flex;align-items:center;gap:10px;width:100%;height:34px;margin:2px 0;padding:0 9px;border:0;border-radius:7px;background:transparent;color:#20293a;text-decoration:none;font:700 12px/1 "Microsoft YaHei UI","PingFang SC",sans-serif;text-align:left;cursor:pointer}.account-dropdown>a:hover,.account-dropdown>button:hover{background:#edf4fc;color:#164a7d}.account-dropdown>a span,.account-dropdown>button span{width:16px;color:#2b70b5;text-align:center}.account-dropdown>button{margin-top:5px;border-top:1px solid #e5e9f0;border-radius:0 0 7px 7px;color:#d93645}.account-dropdown>button span{color:#d93645}.account-shell:not([data-authenticated="1"]) .account-dropdown{display:none}
.g2-auth-modal-overlay{position:fixed;inset:35px 0 0;z-index:200000;display:none;align-items:center;justify-content:center;padding:1rem;background:rgba(18,27,40,0);backdrop-filter:blur(0);opacity:0;pointer-events:none;transition:opacity .68s ease,background .68s ease,backdrop-filter .68s ease}.g2-auth-modal-overlay.is-open{display:flex;opacity:1;pointer-events:auto;background:rgba(18,27,40,.16);backdrop-filter:blur(3px) saturate(1.02)}.g2-auth-modal{width:min(28rem,calc(100vw - 2rem));max-height:calc(100vh - 2rem);overflow:auto;border:1px solid #dce2ea;border-radius:18px;background:#fff;color:#172033;box-shadow:0 24px 70px rgba(10,24,43,.34);opacity:0;transform:translateY(14px) scale(.96);transition:opacity .62s cubic-bezier(.22,1,.36,1),transform .62s cubic-bezier(.22,1,.36,1),box-shadow .3s ease}.g2-auth-modal-overlay.is-open .g2-auth-modal{opacity:1;transform:translateY(0) scale(1)}.g2-auth-modal-head{position:relative;padding:1.35rem 1.45rem .85rem;text-align:center}.g2-auth-modal-title{font-size:1.2rem;font-weight:850;color:#111827}.g2-auth-modal-subtitle{margin-top:.28rem;color:#8491a3;font-size:.68rem}.g2-auth-modal-close{position:absolute;top:.8rem;right:.85rem;width:1.8rem;height:1.8rem;margin:0;padding:0;border:0;border-radius:50%;background:#f1f4f8;color:#526175;font-size:1rem;cursor:pointer}.g2-auth-modal-close:hover{background:#e2e9f1;color:#1e3f63}.g2-auth-tabs{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:.35rem;margin:0 1.45rem;padding:.25rem;border-radius:9px;background:#f0f3f7}.g2-auth-tab-indicator{position:absolute;z-index:0;top:.25rem;bottom:.25rem;left:.25rem;width:calc(50% - .3rem);border-radius:7px;background:#fff;box-shadow:0 1px 5px rgba(39,60,85,.12);transition:transform .55s cubic-bezier(.22,1,.36,1);pointer-events:none}.g2-auth-tabs[data-active="register"] .g2-auth-tab-indicator{transform:translateX(calc(100% + .35rem))}.g2-auth-tab{position:relative;z-index:1;height:2rem;margin:0;border:0;border-radius:7px;background:transparent;color:#66758a;font-size:.76rem;font-weight:750;cursor:pointer;transition:color .4s ease}.g2-auth-tab.active{color:#1d4f7e}.g2-auth-forms{position:relative;overflow:hidden;transition:height .72s cubic-bezier(.16,1,.3,1)}.g2-server-auth-form{display:grid;gap:.72rem;padding:1.1rem 1.45rem 1.45rem;width:100%;position:absolute;left:0;top:0;opacity:0;visibility:hidden;pointer-events:none;transform:translateX(0);transition:opacity .52s ease,transform .62s cubic-bezier(.16,1,.3,1),visibility .62s}.g2-server-auth-form.active{position:relative;opacity:1;visibility:visible;pointer-events:auto}.g2-auth-field{display:grid;gap:.3rem}.g2-auth-field label{color:#334155;font-size:.7rem;font-weight:700}.g2-auth-field input{width:100%;height:2.55rem;padding:0 .72rem;border:1px solid #d6dde7;border-radius:8px;outline:none;color:#273449;font-size:.78rem}.g2-auth-field input:focus{border-color:#4e83b5;box-shadow:0 0 0 2px rgba(53,111,164,.12)}.g2-auth-field input.invalid{border-color:#df5965;background:#fff7f7}.g2-auth-error{min-height:1rem;color:#d43b49;font-size:.65rem;text-align:center}.g2-auth-submit{height:2.65rem;margin:.15rem 0 0;border:0;border-radius:9px;background:#356fa8;color:#fff;font-size:.82rem;font-weight:800;cursor:pointer}.g2-auth-submit:hover{background:#285d91}.g2-auth-forgot-link,.g2-auth-back-login{margin:0;padding:0;border:0;background:transparent;color:#2f6fa9;font-size:.72rem;font-weight:700;text-align:right;cursor:pointer}.g2-auth-forgot-link:hover,.g2-auth-back-login:hover{color:#1d4f7e;text-decoration:underline}.g2-auth-reset-hint{margin:0;color:#66758a;font-size:.68rem;line-height:1.45}@media(prefers-reduced-motion:reduce){.g2-auth-tab-indicator,.g2-auth-forms,.g2-server-auth-form,.g2-auth-tab,.g2-auth-modal-overlay,.g2-auth-modal{transition:none!important}}
.native-monitor-layout{--probability-width:500px;display:grid;grid-template-columns:minmax(0,1fr) 10px var(--probability-width);gap:0;width:100%;height:calc(100vh - 112px);min-height:620px;overflow:hidden}.native-monitor-pane{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden}.native-monitor-frame{display:block;flex:1 1 auto;width:100%;height:auto;min-width:0;min-height:0;border:0;background:#fff}.native-monitor-hscroll{display:block;flex:0 0 16px;width:100%;height:16px;overflow-x:scroll;overflow-y:hidden;background:#dce4ec;scrollbar-color:#71869b #dce4ec}.native-monitor-hscroll::-webkit-scrollbar{height:15px}.native-monitor-hscroll::-webkit-scrollbar-track{background:#dce4ec}.native-monitor-hscroll::-webkit-scrollbar-thumb{background:#71869b;border:2px solid #dce4ec;border-radius:7px}.native-monitor-hscroll>div{height:1px;min-width:1px}.native-probability-frame{display:block;width:100%;height:100%;min-width:0;min-height:0;border:0;background:#fff}.native-probability-resizer{position:relative;z-index:4;width:10px;height:100%;cursor:col-resize;touch-action:none;background:#d7e1eb;border-right:1px solid #91a5b9;border-left:1px solid #91a5b9}.native-probability-resizer:after{content:"";position:absolute;top:50%;left:3px;width:2px;height:46px;transform:translateY(-50%);border-radius:2px;background:#68839d}.native-probability-resizer:before{content:"›";position:absolute;top:calc(50% + 28px);left:0;width:8px;color:#45627d;font-size:13px;font-weight:900;text-align:center}.native-probability-resizer:hover,.native-probability-resizer:focus{outline:0;background:#b8ccdf}.native-monitor-layout.probability-collapsed .native-probability-frame{visibility:hidden}.native-monitor-layout.probability-collapsed .native-probability-resizer:before{content:"‹"}.native-monitor-layout.is-probability-resizing iframe{pointer-events:none}body.is-probability-resizing{cursor:col-resize;user-select:none}
.native-database-frame{display:block;width:100%;height:calc(100vh - 82px);min-height:760px;border:0;background:#fff}
.native-account-layout{display:grid;grid-template-columns:215px minmax(0,1fr);min-height:calc(100vh - 84px);border:1px solid #b5c3d1;border-radius:6px;background:#f4f7fb;overflow:hidden}.native-account-sidebar{display:flex;flex-direction:column;gap:4px;padding:18px 10px;border-right:1px solid #ccd6e1;background:#fff}.native-account-sidebar h2{margin:0 7px 14px;color:#173b5e;font-size:17px}.native-account-sidebar button{height:39px;padding:0 15px;border:0;border-radius:7px;background:transparent;color:#314a63;font:700 13px/1 "Microsoft YaHei UI",sans-serif;text-align:left;cursor:pointer}.native-account-sidebar button:hover{background:#eef4fa}.native-account-sidebar button.active{background:#e3edf7;color:#123f69;box-shadow:inset 3px 0 #2e6597}.native-account-main{min-width:0;padding:18px 24px 40px}.native-page-status{display:flex;justify-content:flex-end;min-height:22px;color:#6f8092;font-size:12px}.native-page-status .ready{color:#168052}.settings-card{max-width:1080px;margin:0 auto;padding:24px;border:1px solid #d4dee8;border-radius:9px;background:#fff;box-shadow:0 2px 8px rgba(25,54,83,.07)}.settings-card h1{margin:0;color:#173b5e;font-size:21px}.settings-lead{margin:7px 0 22px;color:#718195;font-size:13px}.profile-lines{display:grid;border:1px solid #dfe6ed;border-radius:8px;overflow:hidden}.profile-lines div{display:grid;grid-template-columns:150px 1fr;padding:13px 16px;border-bottom:1px solid #e7edf2}.profile-lines div:last-child{border-bottom:0}.profile-lines span{color:#718195}.profile-lines b{color:#253d55}.settings-card .entitlement-grid{margin-top:18px}.settings-card .account-card{margin:0;padding:0;border:0;border-radius:0;box-shadow:none}.settings-card .account-card h2,.account-licenses h2{font-size:15px}.settings-card .account-card form{max-width:520px}.settings-logout{height:38px;margin-top:18px;padding:0 20px;border:1px solid #d6a7aa;border-radius:7px;background:#fff;color:#b8323b;font-weight:800;cursor:pointer}.setting-toggle{display:flex;align-items:center;gap:8px;color:#354d66}.contact-link{display:inline-block;padding:12px 18px;border-radius:7px;background:#eaf2fa;color:#1f5a8e;font-weight:800;text-decoration:none}.account-licenses{margin-top:24px}.settings-title-row{display:flex;align-items:start;justify-content:space-between}.settings-title-row>button,.admin-users td button{height:30px;padding:0 12px;border:1px solid #315e86;border-radius:6px;background:#285a87;color:#fff;font-weight:750;cursor:pointer}.admin-table-wrap{overflow:auto;border:1px solid #d4dee8;border-radius:7px}.admin-users table{width:100%;border-collapse:collapse;font-size:12px}.admin-users th,.admin-users td{padding:10px;border-bottom:1px solid #e1e8ef;text-align:left;white-space:nowrap}.admin-users th{background:#e8eef5;color:#314c67}.admin-users tbody tr:hover{background:#f4f8fc}@media(max-width:760px){.native-account-layout{grid-template-columns:1fr}.native-account-sidebar{flex-direction:row;overflow:auto;border-right:0;border-bottom:1px solid #ccd6e1}.native-account-sidebar h2{display:none}.native-account-sidebar button{white-space:nowrap}.native-account-main{padding:12px}.profile-lines div{grid-template-columns:1fr;gap:4px}}

/* Faithful native port of the original account centre. */
[data-page="/user-center"]{min-height:calc(100vh - 84px);padding:16px;background:radial-gradient(ellipse 80% 50% at 12% -6%,rgba(74,130,190,.28),transparent 58%),radial-gradient(ellipse 70% 46% at 92% 110%,rgba(40,96,150,.2),transparent 52%),linear-gradient(165deg,#d6e3f1 0%,#e8eef6 40%,#dde7f2 100%)}
.native-account-layout{grid-template-columns:13.5rem minmax(0,1fr);width:min(74rem,calc(100% - 2rem));min-height:calc(100vh - 116px);margin:0 auto;border:1px solid rgba(196,210,226,.95);border-radius:13px;background:linear-gradient(180deg,#f6f9fc,#eef3f8);box-shadow:0 12px 34px rgba(30,52,78,.16)}
.native-account-sidebar{gap:0;padding:1.1rem .8rem;border-right:1px solid #dce5ef;background:linear-gradient(180deg,#eef4fa 0%,#e2ebf4 100%)}.native-account-sidebar h2{margin:0;padding:.2rem .55rem 1rem;color:#16243a;font-size:1rem}.native-account-nav{display:grid;gap:.28rem}.native-account-sidebar button,.native-account-back{display:flex;align-items:center;gap:.62rem;width:100%;height:2.55rem;padding:0 .72rem;border:0;border-radius:8px;background:transparent;color:#344156;font:700 .82rem/1 "Microsoft YaHei UI",sans-serif;text-align:left;text-decoration:none;cursor:pointer}.native-account-sidebar button span{width:1.1rem;color:#53657c;text-align:center}.native-account-sidebar button:hover,.native-account-back:hover{background:linear-gradient(90deg,#edf4fb,#e5eef8);color:#164a7d}.native-account-sidebar button.active{background:linear-gradient(90deg,#dde8f3,#e8eef5);color:#101827;box-shadow:inset 3px 0 #2f7ec0}.native-account-back{margin-top:1.1rem;border-top:1px solid #d6e0ea;border-radius:0;color:#66758a}.native-account-support{margin-top:.35rem!important}.native-account-admin{margin-top:auto!important}
.native-account-main{padding:1.35rem 1.55rem 2rem;background:linear-gradient(180deg,#f3f7fb 0%,#e9eef5 100%)}.native-page-status{min-height:0;height:0;overflow:hidden}.legacy-settings-pane{max-width:54rem;margin:0 auto}.legacy-settings-pane>h2{margin:0 0 1rem;color:#131b2a;font-size:1.05rem}.legacy-profile-card{overflow:hidden;border:1px solid #e1e5eb;border-radius:11px;background:linear-gradient(165deg,#fff,#f7fafc);box-shadow:0 4px 14px rgba(36,64,96,.05)}.legacy-settings-row{display:grid;grid-template-columns:9rem minmax(0,1fr);align-items:center;min-height:4.55rem;padding:.7rem 1rem;border-bottom:1px solid #e8ebf0}.legacy-settings-row:last-child{border-bottom:0}.legacy-settings-row>span{color:#222c3c;font-size:.78rem;font-weight:700}.legacy-settings-row>span small{display:block;margin-top:.22rem;color:#d07a24;font-size:.62rem}.legacy-settings-row>b,.legacy-settings-row>a{color:#7b8798;font-size:.76rem;font-weight:400;text-align:right;overflow-wrap:anywhere}.legacy-profile-avatar{width:2.75rem;height:2.75rem;margin-left:auto;border-radius:50%;background:radial-gradient(circle at 28% 72%,#ba51d9 0 16%,transparent 43%),linear-gradient(135deg,#527ccc,#a466cf)}
.legacy-password-card{margin-top:1rem;border:1px solid #e1e5eb;border-radius:11px;background:#fff}.legacy-password-card summary{display:flex;justify-content:space-between;padding:1rem;color:#273449;font-size:.78rem;font-weight:750;cursor:pointer}.legacy-password-card summary small{color:#8491a3}.legacy-password-card .account-card{margin:0;padding:0 1rem 1rem;border:0;box-shadow:none}.legacy-password-card .account-card h2{display:none}.legacy-password-card .account-card form{max-width:28rem;margin-left:auto}
.legacy-plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:27.5rem;gap:.72rem}.legacy-plan-card{position:relative;display:flex;flex-direction:column;height:27.5rem;overflow:hidden;border:1px solid transparent;border-radius:11px;background:linear-gradient(165deg,#fff,#f8fafc);transition:.28s}.legacy-plan-card:hover{border-color:#5f87b0;box-shadow:0 8px 22px rgba(45,103,157,.14);transform:translateY(-3px)}.legacy-plan-card.authorized{border-color:#157a42}.legacy-plan-check{position:absolute;top:.55rem;right:.58rem;display:none;place-items:center;width:1.35rem;height:1.35rem;border-radius:50%;background:#19a957;color:#fff;font-weight:850}.legacy-plan-card.authorized .legacy-plan-check{display:grid}.legacy-plan-card header{display:grid;gap:.18rem;padding:.85rem .9rem .7rem;border-bottom:1px solid #e8ecf1;background:#f7f9fc}.legacy-plan-card header>b{font-size:.9rem}.legacy-plan-card header small{color:#8491a3;font-size:.62rem}.legacy-plan-card header strong{margin-top:.25rem;color:#1f5f97;font-size:1rem}.legacy-plan-card>div{padding:.3rem .85rem}.legacy-plan-card p{margin:0;padding:.56rem 0;border-bottom:1px solid #edf0f4}.legacy-plan-card p b,.legacy-plan-card p span{display:block}.legacy-plan-card p b{margin-bottom:.18rem;color:#344157;font-size:.69rem}.legacy-plan-card p span{color:#768499;font-size:.64rem;line-height:1.45}.legacy-license-card{margin-top:.9rem;padding:.88rem .95rem;border:1px solid #dfe5ed;border-radius:11px;background:linear-gradient(165deg,#fff,#f7fafc)}.legacy-license-card>form{width:min(27rem,100%);margin-left:auto}.legacy-license-card form>div{display:grid;grid-template-columns:1fr 4.2rem;gap:.45rem}.legacy-license-card input,.legacy-license-card button{height:2rem;border-radius:7px}.legacy-license-card input{padding:0 .65rem;border:1px solid #d5dce6}.legacy-license-card button{border:1px solid #1f5e91;background:#2f72ad;color:#fff;font-weight:700}.legacy-license-card ul{margin:8px 0 0;padding:0;list-style:none;font-size:11px}.legacy-license-card li{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;padding:5px;border-top:1px solid #e5eaf0}.legacy-switch{position:relative;width:2.45rem;height:1.35rem;margin-left:auto;border-radius:999px;background:#d9dee5}.legacy-switch:after{content:"";position:absolute;top:.16rem;left:.16rem;width:1.03rem;height:1.03rem;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.2)}.legacy-switch.on{background:#3176b8}.legacy-switch.on:after{transform:translateX(1.1rem)}.legacy-contact{display:flex;align-items:center;justify-content:space-between;padding:1rem}.legacy-contact a{color:#1764a5;font-weight:750}
@media(max-width:760px){[data-page="/user-center"]{padding:6px}.native-account-layout{grid-template-columns:1fr;width:100%}.native-account-sidebar{display:block}.native-account-nav{grid-template-columns:repeat(4,1fr)}.native-account-sidebar button{justify-content:center;padding:0 .25rem}.native-account-sidebar button span{display:none}.native-account-main{padding:1rem .7rem 1.5rem}.legacy-plan-grid{grid-template-columns:1fr;grid-auto-rows:auto}.legacy-plan-card{height:auto;min-height:24rem}}
.legacy-support-overlay{position:fixed;inset:35px 0 0;z-index:210000;display:none;align-items:center;justify-content:center;background:rgba(18,27,40,.22);backdrop-filter:blur(3px)}.legacy-support-overlay.is-open{display:flex}.legacy-support-dialog{width:min(31rem,calc(100vw - 2rem));overflow:hidden;border:1px solid #dce2ea;border-radius:16px;background:#fff;box-shadow:0 24px 70px rgba(10,24,43,.34)}.legacy-support-dialog header{display:flex;justify-content:space-between;padding:1.2rem 1.35rem .85rem;border-bottom:1px solid #e7ebf0}.legacy-support-dialog h2{margin:0;font-size:1.05rem}.legacy-support-dialog header p{margin:.25rem 0 0;color:#8491a3;font-size:.68rem}.legacy-support-dialog header button{width:1.8rem;height:1.8rem;border:0;border-radius:50%;background:#f1f4f8;color:#526175;font-size:1rem}.legacy-support-dialog form{display:grid;gap:.75rem;padding:1rem 1.35rem 1.35rem}.legacy-support-mail{display:flex;align-items:center;justify-content:space-between;padding:.65rem .75rem;border-radius:8px;background:#eef4fa}.legacy-support-mail a{color:#1f5f97;font-weight:750}.legacy-support-mail button{border:0;background:transparent;color:#2f6fa9;font-weight:750}.legacy-support-dialog label{display:grid;gap:.3rem;color:#334155;font-size:.7rem;font-weight:700}.legacy-support-dialog input,.legacy-support-dialog textarea{padding:.65rem .72rem;border:1px solid #d6dde7;border-radius:8px;font:inherit}.legacy-support-dialog textarea{min-height:6rem;resize:vertical}.legacy-support-dialog form>p{margin:0;color:#8491a3;font-size:.65rem}.legacy-support-submit{height:2.55rem;border:0;border-radius:8px;background:#356fa8;color:#fff;font-weight:800}
.legacy-admin-shell{display:grid;grid-template-columns:13.5rem minmax(0,1fr);min-height:calc(100vh - 155px);margin:-1.35rem -1.55rem -2rem}.legacy-admin-shell>aside{display:flex;flex-direction:column;padding:1.1rem .8rem;background:linear-gradient(180deg,#173b60,#102c4a);color:#fff}.legacy-admin-brand{padding:.2rem .55rem 1rem;font-size:1rem;font-weight:850}.legacy-admin-brand small{display:block;margin-top:.3rem;color:#9db1c9;font-size:.67rem}.legacy-admin-shell aside nav{display:grid;gap:.28rem}.legacy-admin-shell aside button{height:2.55rem;padding:0 .72rem;border:0;border-radius:8px;background:transparent;color:#c8d6e5;font-weight:750;text-align:left}.legacy-admin-shell aside button:hover{background:rgba(255,255,255,.08)}.legacy-admin-shell aside button.active{background:rgba(255,255,255,.15);color:#fff;box-shadow:inset 3px 0 #63a9e6}.legacy-admin-shell aside>button{margin-top:1rem}.legacy-admin-shell>main{min-width:0;padding:1.35rem 1.55rem 2rem;background:linear-gradient(180deg,#f3f7fb,#e9eef5)}.legacy-admin-shell main h2{margin:0 0 1rem;font-size:1.05rem}.legacy-admin-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:.72rem;margin-bottom:1rem}.legacy-admin-stats>div{padding:1rem;border:1px solid #e1e5eb;border-radius:11px;background:#fff}.legacy-admin-stats span{display:block;color:#768499;font-size:.7rem}.legacy-admin-stats b{display:block;margin-top:.35rem;color:#1f5f97;font-size:1.35rem}.legacy-admin-table-wrap{overflow:auto;border:1px solid #dce3eb;border-radius:10px;background:#fff}.legacy-admin-table-wrap table{width:100%;border-collapse:collapse;font-size:.72rem}.legacy-admin-table-wrap th,.legacy-admin-table-wrap td{padding:.7rem .75rem;border-bottom:1px solid #e8ecf1;text-align:left;white-space:nowrap}.legacy-admin-table-wrap th{background:#edf3f8;color:#40566f}.legacy-admin-table-wrap td button,.legacy-admin-toolbar button{height:1.9rem;padding:0 .7rem;border:0;border-radius:6px;background:#2f72ad;color:#fff;font-weight:750}.admin-plan-pill{padding:.2rem .5rem;border-radius:999px;background:#e8f3ff;color:#1764a5}.legacy-admin-toolbar{display:grid;grid-template-columns:1fr 6rem 10rem 5rem 1fr;gap:.5rem;margin-bottom:1rem}.legacy-admin-toolbar select,.legacy-admin-toolbar input{height:2rem;padding:0 .55rem;border:1px solid #d5dce6;border-radius:7px;background:#fff}.legacy-admin-toolbar .account-feedback{align-self:center}.legacy-admin-table-wrap code{font-family:Consolas,monospace;color:#244e75}@media(max-width:760px){.legacy-admin-shell{grid-template-columns:1fr;margin:-1rem -.7rem -1.5rem}.legacy-admin-shell>aside{min-height:auto}.legacy-admin-toolbar{grid-template-columns:1fr 1fr}.legacy-admin-stats{grid-template-columns:1fr}}
.legacy-support-overlay{inset:0;background:rgba(25,38,53,.58);backdrop-filter:none}.legacy-support-dialog{width:min(34rem,calc(100vw - .5rem));border-radius:20px}.legacy-support-dialog header{align-items:flex-start;min-height:110px;box-sizing:border-box;padding:24px 22px 18px;border:0;background:linear-gradient(135deg,#315984,#203e64);color:#fff}.legacy-support-dialog h2{font-size:24px;font-weight:900}.legacy-support-dialog header p{margin-top:11px;color:#d8e4ef;font-size:16px}.legacy-support-dialog header button{width:38px;height:38px;background:rgba(255,255,255,.16);color:#fff;font-size:23px;font-weight:700}.legacy-support-dialog form{gap:16px;padding:21px 22px 23px}.legacy-support-mail{height:70px;box-sizing:border-box;padding:0 16px;border:1px solid #d9e2eb;border-radius:14px;background:#f5f8fb}.legacy-support-mail a{font-size:17px}.legacy-support-mail button{height:42px;padding:0 14px;border:1px solid #c8d7e6;border-radius:10px;background:#fff;color:#344c68;font-size:15px}.legacy-support-dialog label{gap:8px;color:#52657b;font-size:16px}.legacy-support-dialog input,.legacy-support-dialog textarea{padding:14px 15px;border:1px solid #cbd8e5;border-radius:12px;font-size:17px}.legacy-support-dialog input{height:58px;box-sizing:border-box}.legacy-support-dialog textarea{min-height:176px}.legacy-support-dialog form>p{color:#70859d;font-size:14px;line-height:1.5}.legacy-support-submit{height:62px;margin-top:31px;border-radius:11px;background:linear-gradient(#3b78af,#2a5688);font-size:19px}
[data-page="/admin"]{min-height:calc(100vh - 84px);padding:16px;background:radial-gradient(ellipse 80% 50% at 12% -6%,rgba(74,130,190,.2),transparent 58%),linear-gradient(165deg,#d6e3f1,#e8eef6)}[data-admin-root]{width:min(74rem,calc(100% - 2rem));margin:0 auto}[data-page="/admin"] .legacy-admin-shell{min-height:calc(100vh - 116px);margin:0;overflow:hidden;border:1px solid rgba(196,210,226,.95);border-radius:13px;box-shadow:0 12px 34px rgba(30,52,78,.16)}
.team-zh-help{margin:-.45rem 0 1rem;color:#60758d;font-size:.76rem}.team-zh-toolbar{display:grid;grid-template-columns:10rem minmax(12rem,1fr) 5rem 6rem minmax(8rem,1fr);gap:.5rem;margin-bottom:1rem}.team-zh-toolbar select,.team-zh-toolbar input,.team-zh-name-input{height:2rem;padding:0 .55rem;border:1px solid #cfd9e4;border-radius:7px;background:#fff}.team-zh-toolbar button{border:0;border-radius:7px;background:#2f72ad;color:#fff;font-weight:750}.team-zh-table td{white-space:normal!important;vertical-align:top}.team-zh-table td:nth-child(2){min-width:15rem}.team-zh-table td:nth-child(3){min-width:11rem;max-width:18rem}.team-zh-table td:last-child{min-width:12rem}.team-zh-table td button{margin:0 .25rem .25rem 0}.team-zh-table td button.muted{background:#718398}.team-zh-table td button.danger{background:#b64d57}.team-zh-meta{display:block;margin-top:.25rem;color:#718398;font-size:.65rem;font-weight:400}.team-zh-name-input{min-width:9rem}@media(max-width:760px){.team-zh-toolbar{grid-template-columns:1fr 1fr}.team-zh-toolbar .account-feedback{grid-column:1/-1}}

/* Exact values ported from the former Streamlit support dialog. */
.legacy-support-overlay{inset:0;padding:1rem;background:rgba(18,27,40,.42);backdrop-filter:blur(4px) saturate(1.04)}.legacy-support-dialog{width:min(22.5rem,calc(100vw - 1.6rem));max-height:calc(100vh - 2rem);border:1px solid #d5dde8;border-radius:14px;box-shadow:0 22px 48px rgba(18,38,64,.34);animation:g2-support-pop .28s cubic-bezier(.22,1,.36,1)}@keyframes g2-support-pop{from{opacity:0;transform:translateY(10px) scale(.97)}to{opacity:1;transform:none}}.legacy-support-dialog header{min-height:0;padding:.92rem .95rem .78rem;background:linear-gradient(180deg,#274873,#1f3a5f)}.legacy-support-dialog h2{font-size:.98rem;letter-spacing:.01em}.legacy-support-dialog header p{margin-top:.28rem;font-size:.72rem;line-height:1.45}.legacy-support-dialog header button{width:1.55rem;height:1.55rem;font-size:1.05rem}.legacy-support-dialog form{gap:.72rem;padding:.9rem .95rem 1rem}.legacy-support-mail{height:auto;padding:.55rem .65rem;border:1px solid #e2e8f0;border-radius:9px}.legacy-support-mail a{font-size:.78rem}.legacy-support-mail button{height:auto;padding:.28rem .5rem;border-radius:6px;font-size:.68rem}.legacy-support-dialog label{gap:.28rem;font-size:.72rem}.legacy-support-dialog input,.legacy-support-dialog textarea{height:auto;padding:.55rem .62rem;border:1px solid #d4dce8;border-radius:8px;font-size:.8rem}.legacy-support-dialog textarea{min-height:7.2rem}.legacy-support-dialog form>p{font-size:.68rem;line-height:1.4}.legacy-support-submit{height:auto;margin:0;padding:.62rem .8rem;border-radius:8px;background:linear-gradient(180deg,#3d6fa3,#2a4a72);font-size:.84rem}

.legacy-permanent-data{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:.9rem;padding:.78rem .95rem;border:1px solid #dfe5ed;border-radius:11px;background:linear-gradient(165deg,#fff,#f7fafc)}.legacy-permanent-data strong{color:#172033;font-size:.9rem}.legacy-permanent-data .legacy-plan-buy-btn{min-width:6.25rem;padding:.58rem 1.1rem}

/* Exact native port of the former collection centre geometry. */
[data-page="/data-collection"]{padding:14px 3px 30px;background:#f5f8fc}.legacy-collection-head h1{margin:0 0 6px;color:#172033;font-size:20px}.legacy-collection-head p,.legacy-collection-section p{margin:0;color:#64748b;font-size:13px}.legacy-collection-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:16px 0}.legacy-collection-metrics>div{padding:13px 16px;border:1px solid #dce3eb;border-radius:9px;background:#fff}.legacy-collection-metrics span{display:block;color:#64748b;font-size:12px}.legacy-collection-metrics b{display:block;margin-top:5px;color:#1764a5;font-size:24px}.legacy-collection-section{margin:13px 0 10px}.legacy-collection-section h2{margin:0 0 5px;color:#172033;font-size:17px}.collection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 10%;align-items:start}.log-card{height:417px;box-sizing:border-box;padding:12px 12px 20px;border:1px solid #d4dbe4;border-radius:16px;background:#cdd5de;box-shadow:none}.collection-grid .log-card:nth-child(odd){margin-right:-5.5%}.collection-grid .log-card:nth-child(even){margin-left:-5.5%}.log-card>h2{margin:0 0 5px;color:#172033;font:800 20px/1.35 "Microsoft YaHei UI",sans-serif}.legacy-log-hint{height:24px;margin:0 0 8px;overflow:hidden;color:#64748b;font:600 15px/1.45 "Microsoft YaHei UI",sans-serif;text-overflow:ellipsis;white-space:nowrap}.legacy-log-shell{position:relative;width:100%;height:318px;border:1px solid #0f172a;border-radius:12px;background:#0f172a;overflow:hidden}.log-window{height:281px;box-sizing:border-box;padding:9px 11px;border-radius:11px 11px 0 11px;background:#0f172a;color:#dbeafe;font:11.25px/23px ui-monospace,"Microsoft YaHei UI",Consolas,monospace;overflow-y:scroll;scrollbar-color:#52657d #172033}.log-line{min-height:23px;padding:0;border:0}.program-status{position:absolute;left:0;right:0;top:281px;display:flex;align-items:center;gap:10px;height:37px;padding:0 78px 0 14px;border-top:1px solid rgba(148,163,184,.18);background:#0f172a;font-size:15px}.program-status i{width:17px;height:17px}.legacy-log-bottom{position:absolute;right:0;bottom:0;z-index:5;width:17px;height:17px;padding:0;border:0;border-top:1px solid #334155;border-radius:0 0 3px;background:#172033}.legacy-log-bottom:before,.legacy-log-bottom:after{content:"";position:absolute;left:4px;width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid #94a3b8}.legacy-log-bottom:before{top:3px}.legacy-log-bottom:after{top:9px}@media(max-width:800px){.legacy-collection-metrics,.collection-grid{grid-template-columns:1fr}.collection-grid{gap:14px}.collection-grid .log-card:nth-child(n){margin:0}}
.admin-status-strip{display:flex;align-items:center;gap:4px;min-width:0;overflow:hidden;white-space:nowrap}.admin-status-strip[hidden]{display:none!important}.admin-status-strip>span{display:inline-flex;align-items:center;gap:3px;height:20px;padding:0 6px;border:1px solid rgba(173,196,218,.22);border-radius:9px;background:rgba(255,255,255,.08);color:#aebfd1;font-size:10px}.admin-status-strip b{color:#edf5fc;font-weight:800}.topbar:has(.admin-status-strip:not([hidden])){gap:7px}.topbar:has(.admin-status-strip:not([hidden])) .status-pill{flex:0 0 auto}@media(max-width:1500px){.admin-status-strip>span:nth-child(6),.admin-status-strip>span:nth-child(8),.admin-status-strip>span:nth-child(9),.admin-status-strip>span:nth-child(10){display:none}}@media(max-width:1050px){.admin-status-strip>span:nth-child(4),.admin-status-strip>span:nth-child(5),.admin-status-strip>span:nth-child(7){display:none}}
.legacy-license-results:empty{display:none}.legacy-license-result{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"code ok" "expiry ok";align-items:center;column-gap:.6rem;row-gap:.28rem;margin-top:.48rem;padding:.58rem .7rem;border:1px solid #b8e1c6;border-radius:7px;background:#f0fbf4;color:#335440;font-size:.72rem}.legacy-license-result.expired{border-color:#efb7bc;background:#fff1f2;color:#8f3038}.legacy-license-expiry{grid-area:expiry;min-width:0;color:#557263;font-weight:700}.legacy-license-result.expired .legacy-license-expiry{color:#b32936}.legacy-license-code{grid-area:code;min-width:0;overflow-wrap:break-word;word-break:normal;font-family:"Microsoft YaHei UI","PingFang SC",sans-serif;font-weight:700}.legacy-license-ok{grid-area:ok;display:inline-flex;align-items:center;justify-content:center;width:1.2rem;height:1.2rem;border-radius:50%;background:#19a957;color:#fff;font-size:.78rem;font-weight:800}.legacy-license-result.expired .legacy-license-ok{background:#dc3545}
.legacy-plan-card.has-payment .legacy-plan-features{padding-bottom:4.35rem}.legacy-plan-buy{position:absolute;right:0;bottom:0;left:0;display:grid;grid-template-columns:1fr;gap:.45rem;padding:.7rem .9rem .85rem;border-top:1px solid #e8ecf1;background:#fbfcfe}.legacy-plan-buy-btn{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;padding:.58rem .45rem;border:1px solid #c9d5e3;border-radius:8px;background:#fff;color:#243447;font:700 .975rem/1 "Microsoft YaHei UI","PingFang SC",sans-serif;cursor:pointer}.legacy-plan-buy-btn:hover{border-color:#7ea6cc;background:#f3f8fd;color:#1764a5}.legacy-plan-buy-btn:disabled{opacity:.55;cursor:wait}.legacy-pay-icon{display:block;flex:0 0 auto;width:1.2rem;height:1.2rem}.legacy-pay-icon path{fill:currentColor}.legacy-pay-icon .legacy-pay-mark{fill:#fff}.legacy-pay-icon-alipay{color:#1677ff}.legacy-pay-icon-wechat{color:#07c160}
.g2-dialog-overlay{position:fixed;inset:0;z-index:9800;display:flex;align-items:center;justify-content:center;padding:1rem;box-sizing:border-box;background:rgba(18,27,40,.42);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);animation:g2-dialog-fade-in .18s ease}.g2-dialog-card{width:min(22rem,calc(100vw - 2rem));background:#fff;border:1px solid #d5dde8;border-radius:14px;box-shadow:0 18px 48px rgba(15,28,48,.28);overflow:hidden;color:#172033;animation:g2-dialog-pop .28s ease}.g2-dialog-head{margin:0;padding:.72rem .95rem;background:linear-gradient(180deg,#274873,#1f3a5f);color:#f7fafc;font-size:.92rem;font-weight:700;letter-spacing:.01em}.g2-dialog-body{padding:.9rem .95rem .35rem;font-size:.8rem;line-height:1.45;white-space:pre-wrap;color:#172033}.g2-dialog-actions{display:flex;justify-content:flex-end;gap:.55rem;padding:.55rem .95rem .9rem}.g2-dialog-payment-actions{display:grid;grid-template-columns:auto 1fr 1fr;align-items:center}.g2-dialog-btn{min-width:4.2rem;border-radius:8px;border:1px solid #c5d0de;background:#f3f6fa;color:#243247;font-size:.78rem;font-weight:700;padding:.38rem .85rem;cursor:pointer;line-height:1.2}.g2-dialog-btn:hover{filter:brightness(1.03)}.g2-dialog-btn-primary{border-color:#2a4a72;background:linear-gradient(180deg,#356fa8,#2a4a72);color:#fff}.g2-dialog-btn-primary:hover{background:linear-gradient(180deg,#3f7dbb,#31557f)}.g2-dialog-pay-btn{display:inline-flex;align-items:center;justify-content:center;gap:.35rem;background:#fff;color:#243447}.g2-dialog-pay-btn:hover{border-color:#7ea6cc;background:#f3f8fd;color:#1764a5}@keyframes g2-dialog-fade-in{from{opacity:0}to{opacity:1}}@keyframes g2-dialog-pop{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
.g2-merge-choice{display:grid;grid-template-columns:minmax(0,1fr);gap:.55rem;margin:.65rem .55rem .1rem;padding:.15rem 0;white-space:normal}.g2-merge-choice>label{display:grid;grid-template-columns:1rem minmax(0,1fr);align-items:start;gap:.45rem;width:100%;box-sizing:border-box;margin:0;padding:.35rem .4rem;border-radius:7px;background:#f7f9fc;cursor:pointer}.g2-merge-choice>label>input{width:1rem;height:1rem;margin:.12rem 0 0}.g2-merge-choice>label>span{display:grid;min-width:0;gap:.12rem}.g2-merge-choice>label b,.g2-merge-choice>label small{display:block;overflow-wrap:anywhere}.g2-merge-choice>label small{color:#52657d;font-size:.72rem;font-weight:500}
.topbar .brand{display:flex;align-items:stretch;gap:6px;height:35px;flex:0 0 176px}.brand-title,.brand-domain{display:flex;color:#fff;text-decoration:none;white-space:nowrap}.brand-title{align-items:center;font-size:17px;font-weight:900}.brand-domain{align-items:flex-end;padding-bottom:6px;color:#dbe7f3;font-size:11px;font-weight:600}.topbar-page{display:grid;grid-template-columns:10px 84px 10px;align-items:center;justify-items:center;width:104px;min-width:104px;margin-left:0;font-size:13px;white-space:nowrap}.topbar-page:before,.topbar-page:after{color:#adc0d2;font-weight:500}.topbar-page:before{content:"|"}.topbar-page:after{content:"|"}.status-pill{display:inline-grid;grid-template-columns:36px 58px;align-items:center;width:104px;min-width:104px;padding:3px 5px;text-align:center;white-space:nowrap}.status-pill b{display:block;overflow:hidden;text-overflow:ellipsis}.topbar .status-pill:nth-of-type(2){grid-template-columns:48px 46px}

/* One bottom baseline across the full status bar. The account dock stays fixed;
   an administrator can horizontally tune only the middle status group. */
.topbar{align-items:flex-end;padding-top:0;padding-bottom:5px}
.topbar .brand{height:30px;align-items:flex-end}
.brand-title{align-items:flex-end;line-height:1;padding-bottom:0}
.brand-domain{padding-bottom:0;line-height:1}
.topbar-middle{--g2-topbar-shift:0px;display:flex;align-items:flex-end;align-self:flex-end;flex:1 1 auto;min-width:0;height:25px;margin-left:var(--g2-topbar-shift);gap:7px;overflow:hidden;white-space:nowrap}
.topbar-shift-handle{display:block;flex:0 0 10px;width:10px;height:18px;margin:0;padding:0 0 1px;border:0;background:transparent;color:#adc0d2;font:500 13px/1 "Microsoft YaHei UI",sans-serif;cursor:default;touch-action:auto}
.topbar.admin-topbar-adjustable .topbar-shift-handle{cursor:col-resize;touch-action:none}
.topbar.admin-topbar-adjustable .topbar-shift-handle:hover{color:#fff}
.topbar-page{display:grid;grid-template-columns:84px 10px;align-items:end;justify-items:center;width:94px;min-width:94px;height:20px;line-height:1;margin:0}
.topbar-page:before{content:none}.topbar-page:after{content:"|";color:#adc0d2;font-weight:500}
.topbar-page[hidden]{display:none!important}
.status-pill{align-self:flex-end;height:20px;line-height:1}
.admin-status-strip{align-self:flex-end}
.account-shell{align-items:flex-end;align-self:flex-end;height:30px}
.account-shell .account-entry{align-items:flex-end;align-self:flex-end;height:30px;line-height:1}
.account-shell .account-entry>span{padding-bottom:1px}
.account-shell .account-entry i{align-self:flex-end}
.account-register{display:inline-flex;align-items:center;justify-content:center;align-self:flex-end;height:23px;margin:0 0 0 7px;padding:0 10px;border:1px solid rgba(255,255,255,.55);border-radius:5px;background:#fff;color:#17446f;font:800 12px/1 "Microsoft YaHei UI","PingFang SC",sans-serif;text-align:center;cursor:pointer}
.account-register:hover{background:#eaf3fb}
.account-shell[data-authenticated="1"] .account-register{display:none}
.account-shell:not([data-authenticated="1"]) .account-entry{align-items:center;justify-content:center;height:23px;padding:0 10px;border:1px solid rgba(255,255,255,.55);border-radius:5px;background:#fff;color:#17446f;font:800 12px/1 "Microsoft YaHei UI","PingFang SC",sans-serif;letter-spacing:0;text-align:center}
.account-shell:not([data-authenticated="1"]) .account-entry>span{padding-bottom:0}
@media(max-width:700px){
  [data-mobile-hub="matches"] .m-league-group{display:block;gap:0}
  [data-mobile-hub="matches"] .m-league-group>header{display:grid;grid-template-columns:24px minmax(0,1fr) auto;padding:0 10px}
  [data-mobile-hub="matches"] .m-score-row{display:grid;border-radius:0;box-shadow:none}
}

/* 2026-08-29 移动比赛列表稳定性：统一底板、消除首屏尺寸跳动，并让七日栏连续横滑。 */
@media(max-width:700px){
  body.mobile-league-detail,
  body.mobile-league-detail .app-shell,
  body.mobile-league-detail #route-root,
  body.mobile-league-detail [data-page="/match-center"],
  body.mobile-league-detail [data-mobile-hub="matches"],
  body.mobile-league-detail .m-upcoming-list,
  body.mobile-db-league-detail,
  body.mobile-db-league-detail .app-shell,
  body.mobile-db-league-detail #route-root,
  body.mobile-db-league-detail [data-page="/database"],
  body.mobile-db-league-detail [data-mobile-hub="database"],
  body.mobile-db-league-detail .m-db-detail,
  body.mobile-db-league-detail .m-db-detail-body,
  body.mobile-db-league-detail .m-unified-league-matches,
  body.mobile-db-league-detail .m-upcoming-list{
    background-color:#edf2f6!important;
    background-image:none!important;
  }
  [data-mobile-hub="matches"] .m-date-strip{
    display:flex!important;
    width:100%!important;
    grid-template-columns:none!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    overscroll-behavior-x:contain;
    touch-action:pan-x;
    scroll-snap-type:x proximity;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }
  [data-mobile-hub="matches"] .m-date-strip::-webkit-scrollbar{display:none}
  [data-mobile-hub="matches"] .m-date-strip .m-date-tool,
  [data-mobile-hub="matches"] .m-date-strip [data-m-day-chip]{
    flex:0 0 52px!important;
    min-width:52px!important;
  }
  [data-mobile-hub="matches"] .m-date-strip [data-m-day-chip]{scroll-snap-align:center}
  [data-mobile-hub="matches"] .m-upcoming-list,
  [data-mobile-hub="matches"] .m-upcoming-list .m-score-row{
    box-sizing:border-box;
    width:100%;
    max-width:100%;
  }
  [data-mobile-hub="matches"] [data-open-match]{
    transition:color .1s ease,box-shadow .1s ease,filter .1s ease!important;
  }
  [data-mobile-hub="matches"] [data-open-match]:active{transform:none!important}
  .m-db-league-mark{contain:layout paint;aspect-ratio:1/1}
  .m-db-league-mark img{
    display:block;
    width:100%;
    height:100%;
    max-width:100%;
    max-height:100%;
    object-fit:contain;
  }
}

/* 历史完赛详情：结果头部集中展示球队、比分、半场、状态、时间和联赛。 */
@media(max-width:700px){
  body.m-sheet-open .m-sheet.m-historical-match-sheet{bottom:0!important;max-height:100dvh;background:#e8edf3}
  .m-historical-match-sheet .m-sheet-backdrop{bottom:0;background:#e8edf3;backdrop-filter:none}
  .m-historical-match-sheet .m-sheet-panel{height:100dvh;max-height:100dvh;padding-bottom:calc(var(--mobile-nav-h) + env(safe-area-inset-bottom));background:#e8edf3}
  .m-match-detail-sheet .m-sheet-panel>header.m-sheet-custom-header{
    position:relative;display:block;min-height:68px;height:68px;padding:8px 12px;background:#fff
  }
  .m-match-detail-sheet .m-sheet-panel>header.m-sheet-custom-header>button{
    position:absolute;z-index:2;top:50%;left:8px;width:30px;height:30px;padding:0;border:0;border-radius:0;transform:translateY(-50%);
    background:transparent;box-shadow:none;outline:0;-webkit-tap-highlight-color:transparent
  }
  .m-historical-hero{
    display:grid;align-items:center;width:100%;height:100%;min-width:0;gap:5px;padding:0 2px;color:#173a57
  }
  .m-historical-hero-main{display:grid;grid-template-columns:minmax(0,1fr) 54px minmax(0,1fr);align-items:center;gap:5px}
  .m-historical-hero-main>article{display:grid;min-width:0;align-items:center;gap:5px}
  .m-historical-hero-main>article.home{grid-template-columns:minmax(0,1fr) 30px;transform:translateX(-1px)}
  .m-historical-hero-main>article.away{grid-template-columns:30px minmax(0,1fr);transform:translateX(1px)}
  .m-historical-hero-main>article img,.m-historical-hero-main>article>span{
    display:grid;width:30px;height:30px;flex:0 0 30px;place-items:center;border:1px solid #cad9e4;
    border-radius:50%;background:#fff;object-fit:contain;font-size:13px;font-weight:850
  }
  .m-historical-hero-main>article b{
    display:block;min-width:0;overflow:visible;font-size:clamp(10px,3.25vw,13px);font-weight:850;line-height:1.1;
    white-space:nowrap
  }
  .m-historical-hero-main>article.home b{justify-self:end;max-width:100%;text-align:left}
  .m-historical-hero-main>article.away b{justify-self:start;max-width:100%;text-align:left}
  .m-historical-hero-score{position:relative;display:flex;align-self:center;align-items:center;justify-content:center;white-space:nowrap}
  .m-historical-hero-score strong{font-size:20px;font-weight:900;line-height:1}
  .m-historical-hero-score span{position:absolute;top:calc(50% + 13px);left:50%;transform:translateX(-50%);color:#788b9b;font-size:10px;font-weight:400;line-height:1}
  .m-historical-hero-meta{display:flex;min-width:0;align-items:center;justify-content:center;gap:6px;color:#718699;font-size:9px;line-height:1.2;white-space:nowrap}
  .m-historical-hero-meta span{min-width:0;overflow:hidden;text-overflow:ellipsis}
  .m-historical-hero-meta span+span::before{content:"·";margin-right:6px}
  .m-historical-hero-meta b{flex:0 0 auto;color:#2d6c94;font-size:9px}
  .m-historical-match-detail{display:grid;gap:22px;padding:24px 18px;color:#173a57}
}

/* 积分榜与预期进球榜：页面自然滚动，粘性表头用不透明承托层遮住上划内容。 */

/* 联赛详情上划折叠：同一徽章与名称连续移动、缩放，三个分页共用。 */
@media(max-width:700px){
  body.mobile-db-league-detail{--m-league-collapse:0;--m-league-compact-h:46px}
  body.mobile-db-league-detail .m-db-detail,
  body.mobile-league-detail .m-canonical-league-page{overflow-anchor:none!important}
  body.mobile-db-league-detail .m-db-detail,
  body.mobile-league-detail .m-canonical-league-page{overflow-anchor:none!important}
  body.mobile-db-league-detail .m-db-detail{overflow:visible!important}
  body.mobile-db-league-detail .m-db-detail>.m-db-detail-hero{
    position:sticky!important;z-index:92!important;top:0!important;
    display:grid!important;
    height:calc(160px - (114px * var(--m-league-collapse)))!important;
    min-height:var(--m-league-compact-h)!important;
    padding:calc(48px - (40px * var(--m-league-collapse))) 12px calc(14px - (6px * var(--m-league-collapse)))!important;
    grid-template-columns:calc(58px - (32px * var(--m-league-collapse))) minmax(0,1fr) auto!important;
    align-items:center!important;column-gap:calc(11px - (4px * var(--m-league-collapse)))!important;
    overflow:hidden!important;transition:box-shadow .16s ease!important;will-change:height,padding,grid-template-columns
  }
  body.mobile-db-league-detail.mobile-league-header-collapsed .m-db-detail>.m-db-detail-hero{box-shadow:0 2px 8px rgba(10,42,66,.22)!important}
  body.mobile-db-league-detail .m-db-hero-back{
    top:calc(8px + (6px * var(--m-league-collapse)))!important;
    left:calc(12px - (2px * var(--m-league-collapse)))!important;
    width:30px!important;height:30px!important;font-size:30px!important
  }
  body.mobile-db-league-detail .m-db-league-identity{
    grid-column:1/3!important;display:grid!important;min-width:0!important;
    grid-template-columns:calc(58px - (32px * var(--m-league-collapse))) minmax(0,1fr)!important;
    align-items:center!important;gap:calc(11px - (4px * var(--m-league-collapse)))!important;
    transform:translate(calc(4px + (28px * var(--m-league-collapse))),calc(5px - (5px * var(--m-league-collapse))))!important;
    transform-origin:left center!important;will-change:transform,grid-template-columns
  }
  body.mobile-db-league-detail .m-db-league-mark{
    width:calc(58px - (32px * var(--m-league-collapse)))!important;
    height:calc(58px - (32px * var(--m-league-collapse)))!important;
    border-width:calc(2px - (1px * var(--m-league-collapse)))!important;
    font-size:calc(25px - (13px * var(--m-league-collapse)))!important;
    will-change:width,height,font-size
  }
  body.mobile-db-league-detail .m-db-league-identity h1{
    margin:0!important;font-size:calc(17px - (5px * var(--m-league-collapse)))!important;
    line-height:1.2!important;white-space:nowrap!important;text-overflow:ellipsis!important;overflow:hidden!important
  }
  body.mobile-db-league-detail .m-db-league-identity p{
    max-height:calc(18px * (1 - var(--m-league-collapse)))!important;
    margin-top:calc(5px * (1 - var(--m-league-collapse)))!important;
    opacity:calc(1 - var(--m-league-collapse))!important;overflow:hidden!important;
    transform:translateY(calc(-4px * var(--m-league-collapse)))!important;white-space:nowrap!important
  }
  body.mobile-db-league-detail .m-db-detail-hero>select{
    grid-column:3!important;grid-row:1!important;
    width:calc(64px - (8px * var(--m-league-collapse)))!important;
    height:calc(34px - (6px * var(--m-league-collapse)))!important;
    transform:translateY(calc(5px - (5px * var(--m-league-collapse))))!important
  }
  body.mobile-db-league-detail .m-db-detail-tabs{position:sticky!important;z-index:91!important;top:var(--m-league-compact-h)!important}
}

/* 联赛主页面最终覆盖：顶部与主视觉连成一个连续色面，三个分页共用折叠标题。 */
@media(max-width:700px){
  body.mobile-db-league-detail .topbar,
  body.mobile-db-league-detail .m-db-detail>.m-db-detail-hero,
  body.mobile-league-detail .topbar,
  body.mobile-league-detail .m-canonical-league-hero{
    border:0!important;
    background:linear-gradient(90deg,#143d5e 0%,#1b4b6d 62%,#245776 100%)!important;
    box-shadow:none!important
  }
  body.mobile-db-league-detail .m-db-detail>.m-db-detail-hero,
  body.mobile-league-detail .m-canonical-league-hero{margin-top:-1px!important}
  body.mobile-db-league-detail .topbar{overflow:hidden}
body.mobile-db-league-detail .m-db-collapse-heading{
    visibility:visible!important;
    opacity:var(--m-league-collapse,0)!important;
    transform:translateY(var(--m-league-shift,12px));
    will-change:opacity,transform
  }
}

/* 联赛名称操作固定为同一行两列；放在全文件末尾，避免被身份侧栏的通用块级规则覆盖。 */
.identity-component-rail .identity-competition-name-actions{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:6px;margin-top:8px}
.identity-component-rail .identity-competition-name-actions .identity-mount-submit{box-sizing:border-box;min-width:0;width:100%;margin-top:0;padding-right:6px;padding-left:6px}
.identity-component-rail .identity-competition-name-actions [data-competition-name-input]:disabled{opacity:.55;cursor:not-allowed}
[data-competition-name-dialog] .identity-team-name-fields{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1000px){[data-competition-name-dialog] .identity-team-name-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){[data-competition-name-dialog] .identity-team-name-fields{grid-template-columns:1fr}}

/* 联赛详情滚动终态覆盖：变量由滚动位置逐帧计算，避免离散替换造成闪跳。 */
@media(max-width:700px){
  body.mobile-db-league-detail,
  body.mobile-league-detail{--m-league-hero-h:160px;--m-league-top-pad:48px;--m-league-mark-size:58px;--m-league-identity-x:4px;--m-league-subtitle-opacity:1;--m-league-compact-h:46px}
  body.mobile-db-league-detail.mobile-league-header-collapsed,
  body.mobile-league-detail.mobile-league-header-collapsed{--m-league-hero-h:46px;--m-league-top-pad:8px;--m-league-mark-size:26px;--m-league-identity-x:32px;--m-league-subtitle-opacity:0}
  body.mobile-db-league-detail .m-db-detail{overflow:visible!important}
  body.mobile-db-league-detail .m-db-detail>.m-db-detail-hero,
  body.mobile-league-detail .m-canonical-league-hero{position:sticky!important;z-index:92!important;top:0!important;display:grid!important;height:var(--m-league-hero-h)!important;min-height:46px!important;margin-top:0!important;padding:var(--m-league-top-pad) 12px 8px!important;grid-template-columns:var(--m-league-mark-size) minmax(0,1fr) auto!important;align-items:center!important;column-gap:8px!important;overflow:hidden!important;overflow-anchor:none!important;transition:height .48s cubic-bezier(.16,1,.3,1),padding .48s cubic-bezier(.16,1,.3,1)!important;will-change:height,padding}
  body.mobile-db-league-detail.mobile-league-header-collapsed .m-db-detail>.m-db-detail-hero{box-shadow:0 2px 8px rgba(10,42,66,.22)!important}
  body.mobile-db-league-detail .m-db-hero-back{z-index:6!important;top:8px!important;left:10px!important;width:30px!important;height:30px!important;font-size:30px!important}
  body.mobile-db-league-detail .m-db-league-identity{grid-column:1/3!important;display:grid!important;min-width:0!important;grid-template-columns:var(--m-league-mark-size) minmax(0,1fr)!important;align-items:center!important;gap:8px!important;transform:translateX(var(--m-league-identity-x))!important;transform-origin:left center!important;will-change:transform,grid-template-columns}
  body.mobile-db-league-detail .m-db-league-mark{width:var(--m-league-mark-size)!important;height:var(--m-league-mark-size)!important;min-width:0!important;font-size:12px!important;will-change:width,height}
  body.mobile-db-league-detail .m-db-league-identity h1{overflow:hidden!important;margin:0!important;font-size:clamp(12px,calc(var(--m-league-mark-size) * .29),17px)!important;line-height:1.2!important;text-overflow:ellipsis!important;white-space:nowrap!important}
  body.mobile-db-league-detail .m-db-league-identity p{max-height:18px!important;margin:4px 0 0!important;opacity:var(--m-league-subtitle-opacity)!important;overflow:hidden!important;white-space:nowrap!important;will-change:opacity}
  body.mobile-db-league-detail.mobile-league-header-collapsed .m-db-league-identity p{max-height:0!important;margin:0!important}
  body.mobile-db-league-detail .m-db-detail-hero>select{grid-column:3!important;grid-row:1!important;width:60px!important;height:30px!important;align-self:center!important}
  body.mobile-db-league-detail .m-db-detail-tabs{position:sticky!important;z-index:91!important;top:46px!important}
}

/* 手机竞彩概率表：正式赛果命中使用与 PC 端一致的金色中奖态。 */
@media(max-width:700px){
  .m-jingcai-probability .m-prob-inline-table td.is-winning{border:1px solid #a96e12!important;background:#efd08a!important;box-shadow:0 2px 6px rgba(94,57,5,.2)!important}
  .m-jingcai-probability .m-prob-inline-table td.is-winning>button,
  .m-jingcai-probability .m-prob-inline-table td.is-winning :is(i,b,span){background:transparent!important;color:#3b2a0d!important;font-weight:900!important}
  .m-jingcai-probability .m-prob-score-group button.is-winning{border-color:#a96e12!important;background:#efd08a!important;color:#3b2a0d!important;box-shadow:0 2px 6px rgba(94,57,5,.2)!important}
  .m-jingcai-probability .m-prob-score-group button.is-winning :is(strong,b,span){background:transparent!important;color:#3b2a0d!important;font-weight:900!important}
}

/* 手机端联赛详情：概况、积分榜与比赛共用正式中央数据库读取。 */
@media(max-width:700px){
  .m-db-detail{min-height:calc(100dvh - var(--mobile-top-h) - var(--mobile-nav-h));background:#edf2f6;color:#123754}
  .m-db-detail-hero{position:relative;display:grid;height:112px;padding:14px 10px;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:10px;background:radial-gradient(circle at 78% 34%,rgba(70,119,153,.35),transparent 34%),linear-gradient(125deg,#101e2b,#173f5e 62%,#244b66);color:#fff}
  .m-db-league-mark{display:grid;width:52px;height:52px;border:2px solid rgba(255,255,255,.68);border-radius:50%;place-items:center;background:rgba(255,255,255,.12);font-size:24px;font-weight:900}
  .m-db-detail-hero h1{margin:0 0 7px;font-size:16px}.m-db-detail-hero p{margin:0;color:#c9d8e3;font-size:9px}
  .m-db-detail-hero select{width:64px;height:30px;padding:0 4px;border:0;border-radius:8px;background:#fff;color:#173b5b;font-size:9px;font-weight:800}
  .topbar.mobile-db-detail-topbar{justify-content:flex-start}.topbar.mobile-db-detail-topbar>.brand{display:none!important}.topbar.mobile-db-detail-topbar>:not(.m-db-top-back):not(.m-db-collapse-heading):not(.account-shell){visibility:hidden}.topbar.mobile-db-detail-topbar .account-shell{display:none!important}.m-db-top-back{width:42px;height:var(--mobile-top-h);padding:0;border:0;background:transparent;color:#fff;font-size:28px;line-height:1;text-align:left}
  .m-db-collapse-heading{display:flex;min-width:0;align-items:center;gap:6px;color:#fff;opacity:var(--m-league-collapse,0);transform:translateY(var(--m-league-shift,9px));transition:opacity .08s linear}.m-db-collapse-heading span{display:grid;width:22px;height:22px;flex:0 0 22px;place-items:center;border:1px solid rgba(255,255,255,.78);border-radius:50%;background:rgba(255,255,255,.12);font-size:10px;font-weight:850}.m-db-collapse-heading strong{overflow:hidden;font-size:12px;line-height:22px;text-overflow:ellipsis;white-space:nowrap}
  .m-db-detail-tabs{position:sticky;z-index:86;top:var(--mobile-top-h);display:grid;height:42px;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);border-bottom:1px solid #d8e1e8;background:#fff}
  .m-db-detail-tabs button{position:relative;padding:0;border:0;background:transparent;color:#6b7d8c;font-size:11px}.m-db-detail-tabs button.active{color:#1674c5;font-weight:850}.m-db-detail-tabs button.active:after{position:absolute;right:31%;bottom:0;left:31%;height:3px;border-radius:3px 3px 0 0;background:#1674e8;content:""}
  .m-db-detail-body{display:grid;gap:10px;padding:10px 8px 24px}
  .m-db-overview-card,.m-db-standing-card,.m-db-detail-matches{overflow:hidden;border:1px solid #d8e2e9;border-radius:16px;background:#fff;box-shadow:0 5px 15px rgba(24,55,78,.07)}
  .m-db-overview-card{padding:13px}.m-db-overview-card h2{margin:0 0 12px;font-size:13px}.m-db-overview-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.m-db-overview-stats p{display:grid;height:62px;margin:0;border-radius:11px;background:#f0f4f7;place-content:center;text-align:center}.m-db-overview-stats b{font-size:19px}.m-db-overview-stats span{margin-top:4px;color:#8293a0;font-size:8px}
  .m-db-leader{display:grid;height:44px;grid-template-columns:25px 30px minmax(0,1fr) auto;align-items:center;border-top:1px solid #e6edf2}.m-db-leader>b{display:grid;width:20px;height:20px;border-radius:50%;place-items:center;background:#80d05a;color:#fff;font-size:9px}.m-db-leader img,.m-db-leader>span,.m-db-standing-row img,.m-db-standing-row span>span,.m-db-detail-match img,.m-db-detail-match span>span{width:23px;height:23px;object-fit:contain}.m-db-leader>span,.m-db-standing-row span>span,.m-db-detail-match span>span{display:grid;border-radius:50%;place-items:center;background:#e4edf3;color:#315c7b;font-size:9px;font-weight:850}.m-db-leader strong{overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.m-db-leader em{color:#1674c5;font-size:10px;font-style:normal;font-weight:850}
  .m-db-standing-panel{display:grid;min-width:0}.m-db-standing-card{width:100%;max-width:100%;overflow:visible}.m-db-standing-head,.m-db-standing-row{box-sizing:border-box;display:grid;width:100%;min-width:0;grid-template-columns:24px minmax(72px,1fr) repeat(4,22px) 42px 24px 24px;align-items:center;padding:0 3px;text-align:center}.m-db-standing-head{position:sticky;z-index:90;top:88px;height:36px;border-radius:15px 15px 0 0;background:#f4f7f9;color:#84929e;font-size:8px}.m-db-standing-row{min-height:43px;border-top:1px solid #e4ebf0;background:#fff;font-size:9px}.m-db-standing-row:last-child{border-radius:0 0 15px 15px}.m-db-standing-row>b{display:grid;width:20px;height:20px;margin:auto;border-radius:50%;place-items:center;background:#78cf56;color:#fff}.m-db-standing-row>span{display:flex;min-width:0;gap:4px;align-items:center;text-align:left}.m-db-standing-row>span img,.m-db-standing-row>span>span{flex:0 0 18px;width:18px;height:18px}.m-db-standing-row>span strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.m-db-standing-row i{min-width:0;font-style:normal}.m-db-standing-row em{min-width:0;color:#153d5e;font-style:normal;font-weight:900}
  .m-db-xg-panel{display:grid;min-width:0}.m-db-range-switch{display:grid;width:75%;height:28px;margin:0 4px;grid-column:1/3;grid-template-columns:repeat(3,1fr);align-items:center;justify-self:center;border:1px solid #cbd9e4;border-radius:9px;background:#fff}.m-db-range-switch button{height:24px;padding:0;border:0;border-radius:7px;background:transparent;color:#657d90;font-size:9px;font-weight:750}.m-db-range-switch button.active{background:#2b73a6;color:#fff;box-shadow:none}
  .m-db-xg-card{width:100%;max-width:100%;overflow:visible;border:1px solid #d8e2e9;border-radius:16px;background:#fff;box-shadow:0 5px 15px rgba(24,55,78,.07)}.m-db-xg-head,.m-db-xg-row{box-sizing:border-box;display:grid;width:100%;min-width:0;grid-template-columns:20px minmax(102px,1fr) repeat(3,46px);align-items:center;padding:0 6px;text-align:center}.m-db-xg-head{position:sticky;z-index:90;top:88px;height:36px;border-radius:15px 15px 0 0;background:#f4f7f9;color:#718695;font-size:7px}.m-db-xg-row{min-height:45px;border-top:1px solid #e4ebf0;background:#fff;color:#153d5e;font-size:8px;font-variant-numeric:tabular-nums}.m-db-xg-row:last-child{border-radius:0 0 15px 15px}.m-db-xg-row>b{display:grid;width:18px;height:18px;margin:auto;border-radius:50%;place-items:center;background:#78cf56;color:#fff;font-size:8px}.m-db-xg-row>span{display:flex;min-width:0;gap:4px;align-items:center;text-align:left}.m-db-xg-row>span img,.m-db-xg-row>span>span{display:grid;flex:0 0 18px;width:18px;height:18px;border-radius:50%;place-items:center;object-fit:contain;background:#e4edf3;color:#315c7b;font-size:8px;font-weight:850}.m-db-xg-row strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.m-db-xg-row i{min-width:0;font-style:normal}.m-db-xg-notice{margin:0 0 8px;padding:0 3px;color:#718695;font-size:8px;line-height:1.5}
  .m-db-detail-match{display:grid;width:100%;min-height:72px;padding:7px 8px;grid-template-columns:76px minmax(0,1fr) 42px minmax(0,1fr) 12px;align-items:center;border:0;border-bottom:1px solid #e1e9ef;background:#fff;color:#173b58;text-align:center}.m-db-detail-match:last-child{border-bottom:0}.m-db-detail-match time{color:#80909d;font-size:8px}.m-db-detail-match>span{display:flex;min-width:0;gap:6px;align-items:center}.m-db-detail-match>span:nth-of-type(2){flex-direction:row-reverse}.m-db-detail-match span b{overflow:hidden;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.m-db-detail-match>strong{font-size:13px}.m-db-detail-match>i{color:#43718f;font-size:18px;font-style:normal}
  .m-db-recent-card{padding:8px 12px}.m-db-recent-card h2{margin-bottom:2px}.m-db-recent-card .m-db-detail-match{min-height:47px;padding:2px 4px;grid-template-columns:minmax(0,1fr) 52px minmax(0,1fr) 12px}.m-db-detail-match .m-db-match-home{justify-content:flex-start}.m-db-detail-match .m-db-match-score{display:grid;min-width:0;gap:1px;place-items:center;background:transparent;text-align:center}.m-db-detail-match .m-db-match-score time{max-width:100%;white-space:nowrap;text-align:center}.m-db-detail-match .m-db-match-score strong{font-size:13px;line-height:16px}
}

/* 联赛详情内容区使用单一底色，禁止空白区域出现额外色块。 */
@media(max-width:700px){
  body.mobile-db-league-detail,
  body.mobile-db-league-detail>.app-shell,
  body.mobile-db-league-detail #route-root,
  body.mobile-db-league-detail [data-page="/database"],
  body.mobile-db-league-detail [data-mobile-hub="database"],
  body.mobile-db-league-detail .m-db-detail,
  body.mobile-db-league-detail .m-db-detail-body{background-color:#edf2f6!important;background-image:none!important}
  body.mobile-db-league-detail .m-db-detail-body{min-height:calc(100dvh - var(--m-league-hero-h) - 42px);align-content:start}
}

/* 手机“全部比赛”和“数据库”直接使用页面总底色，不再叠加独立背景板。 */
@media(max-width:700px){
  body:has([data-page="/match-center"]:not([hidden])),
  body:has([data-page="/database"]:not([hidden])),
  body:has([data-page="/match-center"]:not([hidden])) .app-shell,
  body:has([data-page="/database"]:not([hidden])) .app-shell{background:#edf2f7!important}
  body:has([data-page="/match-center"]:not([hidden])) #route-root,
  body:has([data-page="/database"]:not([hidden])) #route-root,
  [data-page="/match-center"],[data-page="/database"],
  [data-mobile-hub="matches"],[data-mobile-hub="database"],
  [data-mobile-hub="matches"] .m-league-directory,
  [data-mobile-hub="matches"] .m-upcoming-list,
  [data-mobile-hub="database"] .m-db-directory{background:transparent!important;box-shadow:none!important}
  [data-mobile-hub="database"]{padding-right:0!important;padding-left:0!important}
  [data-mobile-hub="database"] .m-db-directory{padding-left:7px}
}

@media(max-width:700px){
  [data-mobile-hub="database"]{position:relative;background:#eef3f6}
  .m-db-directory{position:relative;min-height:calc(100dvh - var(--mobile-top-h) - var(--mobile-nav-h));padding:0 38px 20px 6px;background:#eef3f6}
  .m-db-directory-head{position:sticky;z-index:85;top:var(--mobile-top-h);height:35px;margin:0 -38px 4px -7px;padding:0;display:flex;align-items:center;justify-content:flex-start;border-bottom:1px solid #d3dce4;background:#fff;color:#173b5e}
  .m-db-directory-head>span{display:grid;align-content:center;gap:1px;height:35px;line-height:1}.m-db-directory-head>span small{color:#315a7d;font-size:9px;font-weight:500}.m-db-directory-head>span b{color:#0f3455;font-size:10px;font-weight:850}.m-db-directory-head>button{position:relative;width:52px;height:35px;padding:0;border:0;border-right:1px solid #dbe2e8;background:transparent}
  .m-db-directory-head>button span,.m-db-search-popover label>span{position:absolute;width:13px;height:13px;border:2px solid #4d718e;border-radius:50%}.m-db-directory-head>button span{left:17px;top:9px}.m-db-directory-head>button span:after,.m-db-search-popover label>span:after{content:"";position:absolute;width:7px;height:2px;background:#4d718e;transform:rotate(45deg);transform-origin:left center}.m-db-directory-head>button span:after{left:10px;top:11px}
  .m-db-search-popover{position:fixed;z-index:140;top:calc(var(--mobile-top-h) + 40px);left:7px;right:38px;height:50px;padding:5px 6px 5px 12px;display:grid;grid-template-columns:minmax(0,1fr) 32px;align-items:center;border:1px solid #cbd9e4;border-radius:13px;background:#fff;box-shadow:0 7px 20px rgba(28,63,91,.16)}
  .m-db-search-popover label{position:relative;display:flex;align-items:center;height:38px;padding-left:28px}.m-db-search-popover label>span{left:2px;top:10px}.m-db-search-popover label>span:after{left:10px;top:11px}.m-db-search-popover input{width:100%;border:0;outline:0;background:transparent;color:#153b5c;font-size:13px}.m-db-search-popover>button{height:32px;padding:0;border:0;background:transparent;color:#6c8294;font-size:23px;line-height:1}
  .m-db-league-list{overflow:visible}.m-db-league-list h2{height:25px;margin:0;padding:4px 0 0 14px;color:#6d8295;font-size:11px;scroll-margin-top:calc(var(--mobile-top-h) + 4px);transform:translateX(0);transition:transform .18s ease,color .18s ease}
  .m-db-league-list h2.is-index-target{color:#173b5e;transform:translateX(20px);font-weight:900}
  .m-db-league-list .m-db-league-row[hidden],.m-db-league-list h2[hidden],.m-db-league-list [data-m-db-directory-empty][hidden]{display:none!important}
  .m-db-league-row{width:100%;min-height:39px;margin:0 0 5px;padding:0 10px 0 14px;display:grid;grid-template-columns:18px minmax(0,1fr) 12px;column-gap:7px;align-items:center;border:1px solid #d7e0e7;border-radius:12px;background:#fff;color:#0d3455;text-align:left;box-shadow:0 2px 7px rgba(31,61,88,.05)}
  .m-db-league-row strong{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.m-db-league-row strong i{color:#91a3b3;font-style:normal}.m-db-league-row>b{color:#426d8c;font-size:20px;font-weight:300;text-align:right}
  .m-db-az{position:fixed;z-index:120;top:calc(var(--mobile-top-h) + 35px);right:3px;bottom:calc(var(--mobile-nav-h) + 6px);width:37px;display:flex;flex-direction:column;align-items:flex-end;justify-content:center;touch-action:none}
  .m-db-az button{width:23px;max-height:22px;flex:1;padding:0;border:0;border-radius:50%;background:transparent;color:#47718e;font-size:8px;font-weight:800;transition:transform .14s ease,color .14s ease,background .14s ease,font-size .14s ease}
  .m-db-az button.near{transform:translateX(-5px) scale(1.04);color:#2d78ac;font-size:9px}.m-db-az button.active{transform:translateX(-11px) scale(1.1);background:#d7eaf8;color:#155f96;font-size:10px}
  .m-db-az-preview{position:fixed;z-index:150;display:grid;width:36px;height:36px;place-items:center;border-radius:50%;background:#1d5d8c;color:#fff;box-shadow:0 4px 12px rgba(18,55,84,.24);font-size:18px;font-weight:900;line-height:1;pointer-events:none;transform:translateZ(0)}
  .m-db-az-preview[hidden]{display:none!important}
  .m-db-back{width:100%;height:39px;padding:0 14px;border:0;border-bottom:1px solid #d7e0e7;background:#fff;color:#2b6088;text-align:left;font-size:11px;font-weight:800}
}

/* 准确比分：比分与赔率概率之间使用 65% 宽的居中分隔线。 */
@media(max-width:700px){
  .m-match-odds-sheet .m-prob-score-group button strong{
    position:relative;
    width:100%;
    margin-bottom:1px;
    padding-bottom:4px;
    text-align:center;
  }
  .m-match-odds-sheet .m-prob-score-group button strong::after{
    position:absolute;
    bottom:0;
    left:17.5%;
    width:65%;
    height:1px;
    background:#c5d1d9;
    content:"";
  }
  .m-match-odds-sheet .m-prob-score-group button.selected strong::after,
  .m-match-odds-sheet .m-prob-score-group button[aria-pressed="true"] strong::after{
    background:rgba(255,255,255,.35);
  }
}

/* 手机赔率与概率表舒缓色板：降低纯白、高亮蓝和红绿跳色的视觉刺激。 */
@media(max-width:700px){
  .m-match-odds-sheet .m-sheet-content,
  .m-match-odds-sheet [data-sheet-panel="0"],
  .m-match-odds-sheet [data-sheet-panel="1"],
  .m-match-odds-sheet .m-probability-native{background:#f1f4f6}
  .m-match-odds-sheet .m-odds-market-tabs button{background:#e5eaee;color:#506476}
  .m-match-odds-sheet .m-odds-market-tabs button.active{background:#587a94;color:#f8fbfd}
  .m-match-odds-sheet .m-odds-matrix-hint{color:#71818f}
  .m-match-odds-sheet .m-odds-matrix-hint span:before,
  .m-match-odds-sheet .m-odds-row-time>span>i{background:#718fa6}
  .m-match-odds-sheet .m-odds-matrix-hint span+span:before,
  .m-match-odds-sheet .m-odds-row-time>span+span>i{background:#b49367}
  .m-match-odds-sheet .m-odds-matrix-scroll{border-color:#cbd5dc;background:#f8fafb;box-shadow:0 2px 7px rgba(35,55,72,.045)}
  .m-match-odds-sheet .m-odds-matrix-scroll>table>thead th,
  .m-match-odds-sheet .m-odds-matrix-scroll>table>thead tr:first-child th{border-color:#cbd5dc;background:#dce4e9;color:#40586b}
  .m-match-odds-sheet .m-odds-platform-row>th,
  .m-match-odds-sheet .m-odds-platform-row>td{border-color:#d6dee4;background:#f8fafb;color:#344b5e}
  .m-match-odds-sheet .m-odds-platform-row:nth-of-type(4n+3)>:is(th,td){background:#eef2f4}
  .m-match-odds-sheet .m-odds-platform-row .m-odds-opening{color:#667d8f}
  .m-match-odds-sheet .m-odds-platform-row .m-odds-latest{color:#344b5e}
  .m-match-odds-sheet .m-odds-platform-row .m-odds-latest.trend-up,
  .m-match-odds-sheet .m-odds-latest.trend-up .m-odds-trend.up{color:#4f806c}
  .m-match-odds-sheet .m-odds-platform-row .m-odds-latest.trend-down,
  .m-match-odds-sheet .m-odds-latest.trend-down .m-odds-trend.down{color:#a9625e}
  .m-match-odds-sheet .m-prob-matrix{border-color:#d3dce2;background:#f8fafb;box-shadow:0 3px 10px rgba(35,55,72,.04)}
  .m-match-odds-sheet .m-prob-matrix h3{border-bottom-color:#e0e6ea;background:#f8fafb;color:#344d61}
  .m-match-odds-sheet .m-prob-matrix h3::before{background:#6d8ca3}
  .m-match-odds-sheet .m-prob-matrix h3::after{color:#8997a2}
  .m-match-odds-sheet .m-prob-matrix th{background:#e2e9ed;color:#476176}
  .m-match-odds-sheet .m-prob-matrix td{background:#f6f8f9;box-shadow:inset 0 0 0 1px #d6dee3;color:#263e52}
  .m-match-odds-sheet .m-prob-matrix td span{background:#e9eef1;color:#567188}
  .m-match-odds-sheet .m-prob-matrix tbody tr:nth-child(even) :is(td,th),
  .m-match-odds-sheet .m-prob-hc tbody tr:nth-child(even) :is(td,th),
  .m-match-odds-sheet .m-prob-ah tbody tr:nth-child(n+3) :is(td,th){background:#edf1f3}
  .m-match-odds-sheet .m-prob-matrix tbody th:first-child,
  .m-match-odds-sheet .m-prob-score-group h4{background:#dce5ea;color:#49677d}
  .m-match-odds-sheet .m-prob-score-group button{border-color:#d4dde3;background:#f6f8f9;color:#2e485d}
  .m-match-odds-sheet .m-prob-score-group button.selected,
  .m-match-odds-sheet .m-prob-score-group button[aria-pressed="true"],
  .m-match-odds-sheet .m-prob-matrix td.is-selected{border-color:#587a94;background:#587a94;color:#f8fbfd;box-shadow:none}
}

/* 手机概率分布：独立于 PC 表格的轻量卡片视觉，完整适配窄屏。 */
@media(max-width:700px){
  .m-match-odds-sheet [data-sheet-panel="1"]{background:#f3f6f9}
  .m-match-odds-sheet .m-probability-native{padding:9px 8px 20px;background:#f3f6f9}
  .m-match-odds-sheet .m-probability-pc{gap:9px;padding:0}
  .m-match-odds-sheet .m-prob-matrix{overflow:hidden;border:1px solid #d7e1e9;border-radius:14px;background:#fff;box-shadow:0 3px 12px rgba(20,57,88,.055)}
  .m-match-odds-sheet .m-prob-matrix h3{display:flex;height:38px;align-items:center;justify-content:flex-start;gap:8px;padding:0 12px;border-bottom:1px solid #e6edf2;background:#fff;color:#173b59;font-size:12px;line-height:38px;text-align:left}
  .m-match-odds-sheet .m-prob-matrix h3::before{width:3px;height:15px;border-radius:4px;background:#2775ad;content:""}
  .m-match-odds-sheet .m-prob-matrix h3::after{margin-left:auto;color:#91a0ad;font-size:7px;font-weight:600;content:"公平赔率 · 概率"}
  .m-match-odds-sheet .m-prob-matrix>div{box-sizing:border-box;width:100%;padding:7px 8px 9px;overflow:hidden}
  .m-match-odds-sheet .m-prob-matrix table,.m-match-odds-sheet .m-prob-hc,.m-match-odds-sheet .m-prob-ah,.m-match-odds-sheet .m-prob-wide,.m-match-odds-sheet .m-prob-goals{width:100%!important;min-width:0!important;border-collapse:separate;border-spacing:3px;table-layout:fixed}
  .m-match-odds-sheet .m-prob-matrix :is(th,td){height:37px;padding:2px;border:0;border-radius:8px}
  .m-match-odds-sheet .m-prob-matrix th{background:#e9f1f7;color:#315a79;font-size:8px;font-weight:850}
  .m-match-odds-sheet .m-prob-matrix td{background:#fbfcfd;box-shadow:inset 0 0 0 1px #d7e2ea;color:#172e43}
  .m-match-odds-sheet .m-prob-matrix td b{font-size:10px;line-height:13px;font-weight:850}
  .m-match-odds-sheet .m-prob-matrix td span{display:block;width:max-content;max-width:92%;margin:1px auto 0;padding:0 4px;border-radius:8px;background:#edf4f9;color:#2d638d;font-size:7px;line-height:11px}
  .m-match-odds-sheet .m-prob-matrix tbody tr:nth-child(even) :is(td,th),.m-match-odds-sheet .m-prob-hc tbody tr:nth-child(even) :is(td,th),.m-match-odds-sheet .m-prob-ah tbody tr:nth-child(n+3) :is(td,th){background:#f5f8fa}
  .m-match-odds-sheet .m-prob-matrix tbody th:first-child{background:#dce9f3;color:#245477}
  .m-match-odds-sheet .m-prob-hc th:first-child,.m-match-odds-sheet .m-prob-ah th:first-child,.m-match-odds-sheet .m-prob-wide th:first-child{width:34px}
  .m-match-odds-sheet .m-prob-goals :is(th,td){padding-right:0;padding-left:0}.m-match-odds-sheet .m-prob-goals td b{font-size:8.5px}.m-match-odds-sheet .m-prob-goals td span{padding:0 2px;font-size:6px}
  .m-match-odds-sheet .m-prob-scores>div{gap:7px!important;padding:8px!important}
  .m-match-odds-sheet .m-prob-score-group{grid-template-columns:42px minmax(0,1fr);gap:5px}.m-match-odds-sheet .m-prob-score-group h4{border-radius:8px;background:#e3edf5;color:#315c7c;font-size:7.5px}
  .m-match-odds-sheet .m-prob-score-group>div{gap:4px}.m-match-odds-sheet .m-prob-score-group button{min-height:43px;border:1px solid #d6e1e9;border-radius:8px;background:#fbfcfd;box-shadow:none}.m-match-odds-sheet .m-prob-score-group button strong{font-size:9px}.m-match-odds-sheet .m-prob-score-group button b{font-size:8px}.m-match-odds-sheet .m-prob-score-group button span{background:transparent;font-size:6.5px}
  .m-match-odds-sheet .m-prob-score-group button.selected,.m-match-odds-sheet .m-prob-score-group button[aria-pressed="true"]{border-color:#1f6fa8;background:#1f6fa8;color:#fff;box-shadow:0 3px 9px rgba(31,111,168,.22)}
  .m-match-odds-sheet .m-prob-matrix td{padding:0}
  .m-match-odds-sheet .m-prob-matrix td>button{display:grid;width:100%;height:100%;min-height:37px;padding:2px;border:0;border-radius:8px;background:transparent;color:inherit;place-content:center;-webkit-tap-highlight-color:transparent;touch-action:manipulation;cursor:pointer}
  .m-match-odds-sheet .m-prob-matrix td>button:disabled{cursor:default}
  .m-match-odds-sheet .m-prob-matrix td>button.selected,.m-match-odds-sheet .m-prob-matrix td>button[aria-pressed="true"]{background:#1f6fa8;color:#fff}
  .m-match-odds-sheet .m-prob-matrix td.is-selected{background:#1f6fa8;box-shadow:none;color:#fff}
  .m-match-odds-sheet .m-prob-matrix td.is-selected>button{background:transparent;border-radius:inherit;color:#fff}
  .m-match-odds-sheet .m-prob-matrix td>button.selected span,.m-match-odds-sheet .m-prob-matrix td>button[aria-pressed="true"] span{background:rgba(255,255,255,.18);color:#fff}
  .m-match-odds-sheet .m-prob-matrix td>button:focus,.m-match-odds-sheet .m-prob-matrix td>button:active{outline:0;box-shadow:none}
}

/* 手机资料编辑页：头像点击后进入独立页面，复用真实头像保存与退出登录。 */
@media(max-width:700px){
  .mobile-profile-edit{padding-top:0}
  .mobile-profile-edit-list{position:relative;overflow:visible;margin:0 -10px 34px;border-top:1px solid #e5eaef;border-bottom:1px solid #e5eaef;background:#fff}
  .mobile-profile-edit-list>button,.mobile-profile-edit-list>div:not(.legacy-avatar-picker){display:grid;width:100%;height:66px;grid-template-columns:minmax(0,1fr) auto 18px;align-items:center;gap:10px;padding:0 15px;border:0;border-bottom:1px solid #edf1f4;background:#fff;color:#172f45;text-align:left;-webkit-tap-highlight-color:transparent}
  .mobile-profile-edit-list>[data-nickname-edit]{border-bottom:0}
  .mobile-profile-edit-list span{font-size:12px}.mobile-profile-edit-list em{color:#8794a0;font-size:11px;font-style:normal}.mobile-profile-edit-list b{color:#405e76;font-size:24px;font-weight:400}
  .mobile-profile-edit-avatar{display:block;width:43px;height:43px;border:1px solid #d4dce3;border-radius:50%;background:var(--avatar-sheet) center/100% 100% no-repeat}
  .mobile-profile-edit .legacy-avatar-picker{box-sizing:border-box;position:absolute;top:61px;right:10px;left:10px;z-index:90;display:grid;max-height:270px;grid-template-columns:repeat(5,minmax(0,1fr));gap:.58rem;padding:10px;overflow-x:hidden;overflow-y:auto;border:1px solid #d4dfe8;border-radius:14px;background:#f8fafc;box-shadow:0 13px 30px rgba(7,31,54,.25);scrollbar-width:none;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
  .mobile-profile-edit .legacy-avatar-picker[hidden]{display:none}.mobile-profile-edit .legacy-avatar-picker::-webkit-scrollbar{display:none;width:0;height:0}
  .mobile-profile-edit-logout{display:block;width:calc(100% - 60px);height:46px;margin:0 auto;border:1px solid #dde4ea;border-radius:8px;background:#fff;color:#263d51;font-size:12px;font-weight:800}
}

@media(max-width:700px){
  .account-profile-home .legacy-avatar-picker{padding-right:10px;scrollbar-width:none;scrollbar-gutter:auto}
  .account-profile-home .legacy-avatar-picker::-webkit-scrollbar{display:none;width:0;height:0}
}
/* 独立联赛详情顶栏：返回键与联赛名，保留右侧账户入口。 */
@media(max-width:700px){
  body.mobile-league-detail .topbar .brand{visibility:hidden}
  body.mobile-league-detail .m-mobile-menu-title{position:absolute;top:50%;right:54px;left:50px;max-width:none;margin:0;overflow:hidden;font-size:14px;text-align:left;text-overflow:ellipsis;white-space:nowrap;transform:translateY(-50%)}
  .m-mobile-league-back{position:absolute;bottom:17px;left:12px;z-index:120;width:18px;height:14px;padding:0;border:0;background:transparent;color:#fff;font-size:0;line-height:14px}
  .m-mobile-league-back:before{content:"";display:block;width:9px;height:9px;margin:2px 0 0 3px;border-bottom:2px solid currentColor;border-left:2px solid currentColor;transform:rotate(45deg);transform-origin:center}
}

/* 黑白素描头像库：5 张图集，每张 5×2。 */
.legacy-profile-avatar,.legacy-avatar-choice i{display:block;background-image:var(--avatar-sheet);background-size:500% 200%;background-position:var(--avatar-x) var(--avatar-y);background-repeat:no-repeat}.legacy-profile-avatar{position:relative;width:3.4rem;height:3.4rem;margin-left:auto;padding:0;overflow:hidden;border:0;border-radius:50%;background-color:transparent;box-shadow:0 2px 8px rgba(32,61,91,.18);cursor:pointer}.legacy-profile-avatar span{position:absolute;inset:0;display:grid;place-items:center;border-radius:50%;background:rgba(12,40,72,.68);color:#fff;font-size:.68rem;font-weight:700;opacity:0;transition:opacity .16s ease}.legacy-profile-avatar:hover span,.legacy-profile-avatar:focus-visible span{opacity:1}.legacy-avatar-picker{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:.58rem;padding:.9rem 1rem 1rem;border-bottom:1px solid #e8ebf0;background:#f4f7fa}.legacy-avatar-picker[hidden]{display:none}.legacy-avatar-choice{aspect-ratio:1;margin:0;padding:0;border:0;border-radius:50%;background:transparent;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease}.legacy-avatar-choice i{width:100%;height:100%;border-radius:50%}.legacy-avatar-choice:hover{transform:translateY(-2px);box-shadow:0 0 0 2px #7c91a8,0 3px 9px rgba(33,62,92,.16)}.legacy-avatar-choice.active{box-shadow:0 0 0 3px #d99a24}.legacy-avatar-choice:disabled{cursor:wait;opacity:.7}.legacy-avatar-feedback{grid-column:1/-1;min-height:.8rem;margin:0;color:#2f6fa9;font-size:.66rem;text-align:center}@media(max-width:760px){.legacy-avatar-picker{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:700px){
  [data-mobile-hub="matches"] .m-score-header{display:grid;grid-template-columns:42px minmax(0,1fr) 42px;min-height:72px;padding:9px 13px;text-align:center}
  [data-mobile-hub="matches"] .m-score-header h1{font-size:18px}[data-mobile-hub="matches"] .m-score-header small{font-size:9px}
  [data-mobile-hub="matches"] .m-score-header .m-header-ball{border:0;background:transparent;font-size:23px}
  .m-sport-strip{display:flex;gap:8px;padding:9px 10px;overflow-x:auto;border-bottom:1px solid #d8e0e7;background:#fff;scrollbar-width:none}.m-sport-strip::-webkit-scrollbar{display:none}
  .m-sport-strip button{display:flex;flex:0 0 auto;align-items:center;gap:6px;height:43px;padding:0 14px;border:1px solid #d7dfe7;border-radius:22px;background:#f7f9fb;color:#617286;font-size:11px}.m-sport-strip button i{font-size:20px;font-style:normal}.m-sport-strip button.active{border-color:#2b608c;background:#edf3f8;color:#173b5e;font-weight:850}.m-sport-strip button:disabled{opacity:.55}
  .m-date-strip{display:flex;min-height:61px;padding:0 7px;overflow-x:auto;border-bottom:1px solid #d5dee6;background:#fff;scrollbar-width:none}.m-date-strip::-webkit-scrollbar{display:none}.m-date-strip button{position:relative;display:grid;flex:1 0 51px;align-content:center;gap:4px;min-width:51px;border:0;background:transparent;color:#758596;text-align:center}.m-date-strip button small{font-size:9px}.m-date-strip button b{font-size:10px}.m-date-strip button.active{color:#173b5e}.m-date-strip button.active:after{position:absolute;right:8px;bottom:0;left:8px;height:3px;border-radius:3px 3px 0 0;background:#d29b35;content:""}.m-date-strip .m-date-tool{margin-left:3px;border-left:1px solid #dbe2e8;color:#315a7d}.m-date-strip .m-date-tool b{font-size:12px}
  [data-mobile-hub="matches"] .m-score-filters{min-height:42px;padding:5px 10px}.m-score-filters label{flex:0 1 190px}.m-score-filters label select{max-width:142px}
}
@media(max-width:700px){
  body.mobile-match-active .topbar{display:flex;gap:8px;background:linear-gradient(110deg,#0e3157,#174d78)}
  body.mobile-match-active .topbar .brand{flex:0 1 auto;min-width:0;max-width:128px}
  body.mobile-match-active .brand-title{font-size:18px}body.mobile-match-active .brand-domain{font-size:9px}
  .m-merged-match-topbar{display:none}
  body.mobile-match-active .m-merged-match-topbar{display:flex;min-width:0;flex:1 1 auto;align-items:center;justify-content:center;gap:7px;color:#fff;text-align:center}
  .m-merged-match-topbar>div{display:grid;min-width:66px;gap:1px}.m-merged-match-topbar small{color:#aFC3d5;font-size:8px;font-weight:700}.m-merged-match-topbar b{font-size:15px;white-space:nowrap}
  .m-merged-match-topbar>button{display:grid;flex:0 0 29px;width:29px;height:29px;padding:0;place-items:center;border:1px solid rgba(255,255,255,.25);border-radius:9px;background:rgba(255,255,255,.08);color:#fff;font-size:17px}
  body.mobile-match-active .account-shell{flex:0 0 auto}
}
@media(max-width:390px){body.mobile-match-active .brand-domain{display:none}body.mobile-match-active .topbar .brand{max-width:58px}body.mobile-match-active .account-register{display:none}}
@media(max-width:700px){
  body.mobile-match-active .topbar{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:8px;height:48px;padding:0 12px}
  body.mobile-match-active .topbar .brand{display:flex;width:auto;max-width:none;height:48px;align-items:center;gap:6px;overflow:hidden}
  body.mobile-match-active .brand-title{flex:0 0 auto;font-size:18px;line-height:1}
  body.mobile-match-active .brand-domain{display:flex;min-width:0;align-items:center;padding:2px 0 0;color:#b9cee0;font-size:9px;line-height:1;overflow:hidden;text-overflow:ellipsis}
  body.mobile-match-active .m-merged-match-topbar{display:block;min-width:84px;color:#fff;text-align:center}
  body.mobile-match-active .m-merged-match-topbar b{display:block;font-size:16px;line-height:1;white-space:nowrap}
  body.mobile-match-active .account-shell{justify-self:end;height:48px}
}
@media(max-width:390px){
  body.mobile-match-active .brand-domain{display:flex}
  body.mobile-match-active .topbar .brand{max-width:none}
  body.mobile-match-active .account-register{display:none}
}
.account-shell:not([data-authenticated="1"]) .account-entry:hover{background:#eaf3fb}
.account-shell:not([data-authenticated="1"]) .account-entry i{display:none}
body.g2-topbar-shifting,body.g2-topbar-shifting *{cursor:col-resize!important;user-select:none!important}
.legacy-data-tier-note{margin:0 0 .9rem;overflow:hidden;border:1px solid #cbd9e8;border-radius:11px;background:#fff}.legacy-data-tier-note>div{display:grid;grid-template-columns:1fr 1fr}.legacy-data-tier-note article{padding:.72rem .9rem}.legacy-data-tier-note article+article{border-left:1px solid #dce5ee}.legacy-data-tier-note article strong{color:#1f5f97;font-size:inherit}.legacy-data-tier-note article p{margin:.3rem 0 0;color:#65758a;font-size:.65rem;line-height:1.55}@media(max-width:760px){.legacy-data-tier-note>div{grid-template-columns:1fr}.legacy-data-tier-note article+article{border-top:1px solid #dce5ee;border-left:0}}
.history-toggle-check{min-width:102px}
.toolbar-check{cursor:pointer;user-select:none}
.toolbar-check *{cursor:pointer}
.surface-toolbar [data-strict-admin-only="1"][hidden]{display:flex!important;visibility:hidden;pointer-events:none}
.primary-nav [data-admin-only="1"][hidden]{display:block;visibility:hidden;pointer-events:none}
.surface-toolbar{grid-template-columns:58px 155px 145px 145px 1fr auto auto auto 58px}.surface-toolbar [data-monitor-only].route-inactive{visibility:hidden;pointer-events:none}.identity-review-toggle-check{min-width:92px}.team-zh-review-surface{padding:12px 8px 24px}.team-zh-review-surface>h2{margin:.15rem 0 1rem;color:#244562;font-size:1rem}
.legacy-identity-review-head{display:flex;align-items:center;justify-content:space-between;padding:8px 10px;border:1px solid #94a8bc;border-radius:5px 5px 0 0;background:#e8eef4;color:#20374f}.legacy-identity-review-head h2{margin:0;font-size:14px}.legacy-identity-review-head p{margin:3px 0 0;color:#65788d;font-size:11px}.legacy-identity-review-head>div:last-child{display:grid;grid-template-columns:auto auto;align-items:center;gap:5px}.legacy-identity-review-head>div:last-child b{color:#9a5500;font-size:18px}.legacy-identity-review-head>div:last-child span{font-size:11px}.legacy-identity-filter{display:grid;grid-template-columns:145px minmax(180px,320px) 58px 1fr;gap:6px;padding:6px 8px;border-right:1px solid #94a8bc;border-left:1px solid #94a8bc;background:#f4f7fa}.legacy-identity-filter select,.legacy-identity-filter input{height:27px;padding:0 8px;border:1px solid #c3ced9;border-radius:4px;background:#fff}.legacy-identity-filter button{height:27px;border:1px solid #325b82;border-radius:4px;background:#234f79;color:#fff;font-weight:700}.legacy-identity-review-columns,.legacy-identity-review-row{display:grid;grid-template-columns:minmax(180px,1.05fr) minmax(190px,1fr) minmax(240px,1.45fr) 88px;align-items:center}.legacy-identity-review-columns{min-height:25px;border:1px solid #94a8bc;background:#dce6ef;color:#52677d;font-size:11px;font-weight:700}.legacy-identity-review-columns span,.legacy-identity-review-row>div{padding:5px 8px;border-right:1px solid #c4ced8}.legacy-identity-review-columns span:last-child,.legacy-identity-review-row>div:last-of-type{border-right:0}.legacy-identity-review-list{border-right:1px solid #94a8bc;border-bottom:1px solid #94a8bc;border-left:1px solid #94a8bc;background:#fff}.legacy-identity-review-row{min-height:42px;border-bottom:1px solid #d7e0e9;color:#273c52;font-size:12px}.legacy-identity-review-row:nth-child(even){background:#f5f8fb}.legacy-identity-review-row:last-child{border-bottom:0}.legacy-identity-context b,.legacy-identity-name span{display:block}.legacy-identity-context small,.legacy-identity-reason small{display:block;margin-top:2px;color:#75869a;font-size:10px}.legacy-identity-name{position:relative;display:flex;align-items:center;justify-content:center;min-height:32px;padding-right:48px!important;text-align:center}.legacy-identity-name .id-edit-chip{position:absolute;right:5px;top:50%;transform:translateY(-50%)}.legacy-identity-reason span{display:block;color:#6d4b1f;font-size:11px}.legacy-identity-row-actions{display:flex;gap:4px;justify-content:center}.legacy-identity-row-actions button{height:21px;padding:0 6px;border:1px solid #c7d1dc;border-radius:3px;background:#fff;color:#52677d;font-size:10px;cursor:pointer}.legacy-identity-confirmed{text-align:center;color:#54755e}.legacy-identity-empty{padding:28px;text-align:center;color:#75869a}
.id-edit-chip{display:inline-block;margin:0;min-width:34px;height:19px;padding:0 6px;border:1px solid #c47b2b;border-radius:3px;background:#fff6e8;color:#8a4b00;font-size:11px;font-weight:600;line-height:17px;cursor:pointer;vertical-align:middle;white-space:nowrap;box-shadow:0 1px 3px rgba(40,58,78,.16)}.id-edit-chip:hover{background:#ffe4b8}.legacy-identity-name .id-edit-chip:active{transform:translateY(-50%);box-shadow:0 1px 3px rgba(40,58,78,.16)}
.legacy-id-edit-popover{position:fixed;z-index:12000;width:320px;max-width:calc(100vw - 12px);box-sizing:border-box;padding:8px 9px;border:1px solid #b8894a;border-radius:6px;background:#fffdf8;box-shadow:0 6px 18px rgba(0,0,0,.16);color:#2b2b2b;font-size:12px}.legacy-id-edit-popover .id-edit-hd{margin:0 0 4px;color:#6b3e00;font-size:12px;font-weight:700}.legacy-id-edit-popover .id-edit-sum{margin:0 0 6px;color:#555;font-size:11px;line-height:1.35;word-break:break-all}.legacy-id-edit-popover .id-edit-tip{margin:0 0 5px;color:#777;font-size:10px;line-height:1.3}.legacy-id-edit-popover .id-edit-std-title{margin:0 0 3px;color:#6b3e00;font-size:11px;font-weight:700}.legacy-id-edit-popover .id-edit-input{width:100%;height:29px;box-sizing:border-box;margin:0 0 5px;padding:4px 6px;border:1px solid #c9b089;border-radius:4px;font-size:12px}.legacy-id-edit-popover .id-edit-hint{min-height:1.35em;margin:0 0 5px;color:#5d513f;font-size:11px;line-height:1.35;white-space:pre-wrap}.legacy-id-edit-popover .id-edit-alias-row{display:flex;align-items:flex-start;gap:5px;margin:0 0 6px;color:#5a3a00;font-size:11px;line-height:1.35;cursor:pointer}.legacy-id-edit-popover .id-edit-actions{display:flex;justify-content:flex-end;gap:6px}.legacy-id-edit-popover .id-edit-actions button{padding:3px 10px;border:1px solid #b8894a;border-radius:4px;background:#fff;font-size:12px;cursor:pointer}.legacy-id-edit-popover .id-edit-actions button.primary{border-color:#a86418;background:#c47b2b;color:#fff}@media(max-width:760px){.legacy-identity-review-columns{display:none}.legacy-identity-review-row{grid-template-columns:1fr}.legacy-identity-review-row>div{border-right:0;border-bottom:1px solid #e2e8ef}.legacy-identity-filter{grid-template-columns:1fr 1fr}}
.team-zh-review-surface{width:min(68rem,calc(100% - 20px));margin:0 auto;padding:8px 0 24px}.pending-match-toolbar{display:grid;grid-template-columns:135px minmax(360px,1fr) 105px;align-items:center;gap:8px;min-height:34px;padding:4px 7px;border:1px solid #94a8bc;border-radius:5px 5px 0 0;background:#e8eef4;color:#20374f;font-size:12px;font-weight:700}.pending-match-toolbar .legacy-identity-filter{display:grid;grid-template-columns:140px minmax(150px,260px) 55px 1fr;padding:0;border:0;background:transparent}.pending-match-toolbar>b{text-align:right;color:#9a5500}.pending-match-columns,.pending-match-row{display:grid;grid-template-columns:105px 125px minmax(270px,1fr) 70px minmax(190px,1fr) 78px;align-items:stretch}.pending-match-columns{min-height:25px;border-right:1px solid #94a8bc;border-bottom:1px solid #94a8bc;border-left:1px solid #94a8bc;background:#dce6ef;color:#52677d;font-size:11px;font-weight:700}.pending-match-columns span{display:flex;align-items:center;justify-content:center;padding:4px 6px;border-right:1px solid #c4ced8}.pending-match-columns span:last-child{border-right:0}.pending-match-list{border-right:1px solid #94a8bc;border-bottom:1px solid #94a8bc;border-left:1px solid #94a8bc;background:#fff}.pending-match-row{min-height:48px;border-bottom:1px solid #aebdcb;background:#fff;color:#20374f;font-size:11px}.pending-match-row:nth-child(even){background:#f2f6fa}.pending-match-row:last-child{border-bottom:0}.pending-match-row>div{display:flex;align-items:center;justify-content:center;padding:5px 6px;border-right:1px solid #c4ced8}.pending-match-row>div:last-of-type{border-right:0}.pending-match-time{justify-content:flex-start!important;white-space:pre-line}.pending-match-league{text-align:center}.pending-match-teams{display:grid!important;grid-template-columns:1fr 24px 1fr;gap:3px}.pending-match-teams>i{align-self:center;color:#8190a0;font-style:normal;text-align:center}.pending-team-name{position:relative;display:flex;align-items:center;justify-content:center;min-height:30px;padding-right:42px;text-align:center}.pending-team-name .id-edit-chip{position:absolute;right:1px;top:50%;transform:translateY(-50%)}.pending-match-result{font-weight:700}.pending-match-status{display:grid!important;align-content:center;justify-items:start!important}.pending-match-status b{color:#9a5500;font-size:11px}.pending-match-status small{margin-top:2px;color:#6d4b1f;font-size:10px}.pending-match-status em{margin-top:1px;color:#75869a;font-size:9px;font-style:normal}.pending-match-actions{gap:4px}.pending-match-actions button{height:21px;padding:0 5px;border:1px solid #c7d1dc;border-radius:3px;background:#fff;color:#52677d;font-size:10px;cursor:pointer}@media(max-width:900px){.team-zh-review-surface{width:calc(100% - 10px)}.pending-match-toolbar{grid-template-columns:1fr}.pending-match-toolbar .legacy-identity-filter{grid-template-columns:1fr 1fr}.pending-match-columns{display:none}.pending-match-row{grid-template-columns:90px 1fr}.pending-match-teams,.pending-match-status{grid-column:1/-1}.pending-match-actions{grid-column:1/-1}}
.export-dialog-actions[hidden]{display:none!important}
.export-confirm-summary[hidden]{display:none!important}.export-confirm-scope{margin:0 0 .48rem;font-size:.8rem;line-height:1.4;color:#172033;overflow-wrap:anywhere}.export-confirm-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:0 .08rem;font-size:.8rem;line-height:1.65;color:#294a69}.export-confirm-row span{padding-left:.05rem}.export-confirm-row strong{min-width:5.4rem;padding-right:.05rem;text-align:right;color:#274d70;font-size:.82rem}
.native-probability-resizer,.native-probability-resizer:hover,.native-probability-resizer:focus{border-radius:7px;overflow:hidden}
.account-dropdown>[data-admin-only="1"][hidden]{display:none!important}
.export-dialog-backdrop{position:fixed;inset:0;z-index:9800;display:flex;align-items:center;justify-content:center;padding:1rem;box-sizing:border-box;background:rgba(18,27,40,.42);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);animation:g2-dialog-fade-in .18s ease}.export-dialog-backdrop[hidden]{display:none!important}.export-dialog{width:min(22rem,calc(100vw - 2rem));background:#fff;border:1px solid #d5dde8;border-radius:14px;box-shadow:0 18px 48px rgba(15,28,48,.28);overflow:hidden;color:#172033;animation:g2-dialog-pop .28s ease}.export-dialog h2{margin:0;padding:.72rem .95rem;background:linear-gradient(180deg,#274873,#1f3a5f);color:#f7fafc;font-size:.92rem;font-weight:700;letter-spacing:.01em}.export-dialog-body{padding:.9rem .95rem .35rem}.export-dialog p{min-height:0;margin:0;font-size:.8rem;line-height:1.55;white-space:pre-line;color:#172033}.export-dialog-actions{display:flex;justify-content:flex-end;gap:.55rem;padding:.55rem .95rem .9rem}.export-dialog button{min-width:4.2rem;border-radius:8px;border:1px solid #c5d0de;background:#f3f6fa;color:#243247;font-size:.78rem;font-weight:700;padding:.38rem .85rem;cursor:pointer;line-height:1.2}.export-dialog button:hover{filter:brightness(1.03)}.export-dialog [data-export-confirm]{border-color:#2a4a72;background:linear-gradient(180deg,#356fa8,#2a4a72);color:#fff}.export-dialog [data-export-confirm]:disabled{opacity:.45;cursor:not-allowed}.export-progress{margin:.1rem 0 .55rem}.export-progress[hidden]{display:none!important}.export-progress-head{display:flex;justify-content:space-between;gap:1rem;margin-bottom:.45rem;color:#34465d;font-size:.74rem;font-weight:700}.export-progress-track{position:relative;height:8px;overflow:hidden;border:1px solid #c5d0de;border-radius:999px;background:#edf2f7}.export-progress-track i{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#31557f,#4b86bc);transition:width .18s ease}.export-progress.is-indeterminate .export-progress-track i{position:absolute;width:42%;animation:export-progress-slide 1.1s ease-in-out infinite}@keyframes export-progress-slide{from{left:-42%}to{left:100%}}
.legacy-license-duration{display:flex;align-items:center;color:#65788d;font-size:.7rem}.legacy-license-code-cell{display:inline-flex;align-items:center;gap:.35rem}.legacy-admin-table-wrap td button.legacy-license-copy{height:1.35rem;padding:0 .38rem;border:1px solid #b9cadd;border-radius:4px;background:#f4f8fc;color:#2f6697;font-size:.62rem;font-weight:700;cursor:pointer}.legacy-admin-table-wrap td button.legacy-license-copy:hover{background:#e7f1fa}
.native-monitor-hscroll{position:fixed;right:auto;bottom:0;z-index:950;display:block;flex:none;width:100px;height:16px;border-top:1px solid #b6c3d0}
.native-probability-resizer:before{content:none}
.native-database-pane{min-width:0}.native-database-hscroll{position:fixed;right:auto;bottom:0;z-index:951;display:block;width:100px;height:16px;overflow-x:scroll;overflow-y:hidden;background:#dce4ec;border-top:1px solid #b6c3d0;scrollbar-color:#71869b #dce4ec}.native-database-hscroll::-webkit-scrollbar{height:15px}.native-database-hscroll::-webkit-scrollbar-track{background:#dce4ec}.native-database-hscroll::-webkit-scrollbar-thumb{background:#71869b;border:2px solid #dce4ec;border-radius:7px}.native-database-hscroll>div{height:1px;min-width:1px}
html,body{max-width:100%;overflow-x:hidden}#route-root,.route-panel,.native-monitor-layout,.native-database-pane{max-width:100%;min-width:0}
.native-monitor-hscroll{position:static;right:auto;bottom:auto;z-index:auto;flex:0 0 16px;width:100%!important}
.native-database-hscroll{display:block}
.native-database-pane{display:flex;flex-direction:column;height:calc(100vh - 82px);min-height:0;overflow:hidden}.native-database-pane .native-database-frame{flex:1 1 auto;height:auto;min-height:0}.native-database-pane .native-database-hscroll{position:static;right:auto;bottom:auto;z-index:auto;display:block;flex:0 0 16px;width:100%!important}
.native-monitor-pane,.native-database-pane{position:relative}.native-monitor-pane .native-monitor-hscroll,.native-database-pane .native-database-hscroll{position:absolute;left:0!important;right:0;bottom:14px;z-index:950;display:block;flex:none;width:100%!important;height:16px}.native-monitor-pane .native-monitor-frame,.native-database-pane .native-database-frame{height:100%;flex:1 1 auto}
.native-monitor-pane{display:flex;flex-direction:column}
.native-monitor-pane .native-monitor-frame{min-height:0;height:100%}
.native-monitor-pane .native-monitor-hscroll{position:absolute!important;left:1px!important;right:auto!important;bottom:auto!important;width:auto!important;height:16px;margin:0;box-sizing:border-box;border:1px solid #b6c3d0;border-radius:4px 4px 0 0}
.native-database-pane .native-database-hscroll{left:var(--db-scroll-left,0px)!important;right:auto;width:var(--db-scroll-width,100%)!important}
.refresh-button{grid-column:-2/-1;position:relative;z-index:2;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease,transform .08s ease,opacity .16s ease}
.refresh-button:hover{border-color:#173d61;background:#356f9f;box-shadow:0 2px 7px rgba(24,57,88,.28)}
.refresh-button:active{box-shadow:none}
.refresh-button:focus-visible{outline:2px solid #f0b95a;outline-offset:2px}
.refresh-button.is-refreshing,.refresh-button:disabled{cursor:wait;opacity:.72}
/* 数据页保留整个网页的大滚动条；表头由内嵌页根据菜单栏底边进行位置补偿。 */
/* 数据库小屏横向滚动条贴住浏览器底部，不再跟随旧的可调整面板高度。 */
[data-page="/database"] .native-database-hscroll,[data-page="/jingcai-data"] .native-jingcai-hscroll{position:fixed!important;top:var(--db-scroll-top,auto)!important;bottom:auto!important;left:var(--db-scroll-left,0px)!important;right:auto!important;z-index:951;display:block;width:var(--db-scroll-width,100%)!important;height:16px;box-sizing:border-box;overflow-x:scroll;overflow-y:hidden;background:#dce4ec;border:1px solid #b6c3d0;border-radius:4px 4px 0 0;scrollbar-color:#71869b #dce4ec}
[data-page="/database"] .native-database-hscroll::-webkit-scrollbar,[data-page="/jingcai-data"] .native-jingcai-hscroll::-webkit-scrollbar{height:15px}
[data-page="/database"] .native-database-hscroll::-webkit-scrollbar-track,[data-page="/jingcai-data"] .native-jingcai-hscroll::-webkit-scrollbar-track{background:#dce4ec}
[data-page="/database"] .native-database-hscroll::-webkit-scrollbar-thumb,[data-page="/jingcai-data"] .native-jingcai-hscroll::-webkit-scrollbar-thumb{background:#71869b;border:2px solid #dce4ec;border-radius:7px}
[data-page="/database"] .native-database-hscroll>div,[data-page="/jingcai-data"] .native-jingcai-hscroll>div{height:1px;min-width:1px}
.native-fixed-table-header{position:fixed;z-index:1000;overflow:hidden;background:#1f3a5f;pointer-events:none}.native-fixed-table-header[hidden]{display:none!important}.native-fixed-table-header-viewport{width:100%;height:100%;overflow:hidden}.native-fixed-table-header table{border-spacing:0!important}.native-fixed-table-header th{position:static!important;inset:auto!important;left:auto!important;z-index:auto!important;transform:none!important;visibility:visible!important;font-size:14px!important;line-height:1.12!important}.native-fixed-table-header th *{visibility:visible!important;font-size:14px!important;line-height:1.12!important}.native-fixed-table-header .th-label{padding-right:2px!important;overflow-wrap:anywhere!important;word-break:break-word!important}
[data-page="/identity-review"]{width:min(1120px,calc(100% - 20px));margin:0 auto}.identity-mount-page{--identity-left:50fr;--identity-right:50fr;display:grid;grid-template-columns:minmax(320px,var(--identity-left)) 10px minmax(320px,var(--identity-right));gap:0;height:calc(100vh - 150px);min-height:420px;overflow:hidden}
.identity-mount-pending,.identity-mount-catalog{border:1px solid #94a8bc;border-radius:6px;background:#fff;overflow:hidden}.identity-mount-pending>header,.identity-mount-catalog>header{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;background:#e8eef4;border-bottom:1px solid #aebdcb}.identity-mount-pending h1,.identity-mount-catalog h2{margin:0;color:#20374f;font-size:17px}.identity-mount-pending header p,.identity-mount-catalog header p{margin:3px 0 0;color:#65788d;font-size:11px}.identity-mount-pending header>b{color:#9a5500;font-size:19px}
.identity-mount-list{display:grid;gap:6px;padding:8px;max-height:calc(100vh - 165px);overflow:auto}.identity-mount-pending-card{display:grid;grid-template-columns:95px minmax(180px,1fr);gap:3px 8px;padding:9px;border:1px solid #ccd6e0;border-radius:5px;background:#fff;text-align:left;cursor:pointer}.identity-mount-pending-card:hover{background:#f4f8fb}.identity-mount-pending-card.selected{border-color:#1a6ba5;background:#e6f2fb;box-shadow:inset 3px 0 #1a6ba5}.identity-mount-pending-card span{grid-row:1/5;color:#52677d;font-size:11px}.identity-mount-pending-card time,.identity-mount-pending-card em{color:#52677d;font-size:11px;font-style:normal}.identity-mount-pending-card time{font-variant-numeric:tabular-nums}.identity-mount-pending-card em{color:#315a7c;font-weight:800}.identity-mount-pending-card b{color:#20374f;font-size:13px}.identity-mount-pending-card small{color:#75869a;font-size:10px}.identity-mount-empty{padding:32px;text-align:center;color:#75869a}.identity-mount-empty.error,.identity-mount-tree .error{color:#a72c2c}
.identity-mount-pending-card.identity-data-conflict{border-color:#a95757;background:#34242a;cursor:not-allowed}.identity-mount-pending-card.identity-data-conflict:hover{background:#3b272e}.identity-mount-pending-card mark{grid-column:2;padding:4px 6px;border-radius:3px;background:#6b3038;color:#ffd9dd;font-size:10px;font-weight:800}
.identity-mount-pending-card{display:block;padding:0;border-width:2px;box-shadow:0 1px 0 #0b1118,0 0 0 1px rgba(122,153,181,.16)}.identity-pending-pick{display:grid;width:100%;grid-template-columns:95px minmax(180px,1fr);gap:3px 8px;padding:9px;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}.identity-pending-pick span{grid-row:1/7}.identity-pending-pick u{color:#75b9e8;font-size:10px;font-weight:800;text-decoration:none}.identity-source-teams{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:0 9px 9px 104px}.identity-source-teams button{padding:6px;border:1px solid #53677b;border-radius:4px;background:#172535;color:#b9d8ef;cursor:pointer}.identity-source-teams button:hover,.identity-source-teams button.selected{border-color:#5ba7db;background:#29475f;color:#fff}.identity-source-teams button:disabled{opacity:.42;cursor:not-allowed}.identity-mount-pending-card.selected{border-width:2px;box-shadow:inset 4px 0 #59a5dc,0 0 0 1px rgba(89,165,220,.45)}.identity-mount-pending-card:focus-visible{outline:2px solid #75b9e8;outline-offset:2px}
.identity-mount-catalog{display:flex;flex-direction:column}.identity-mount-catalog>header{display:block}.identity-mount-filters{display:grid;grid-template-columns:minmax(150px,1fr) 120px 120px;gap:7px;padding:9px;background:#f6f8fa;border-bottom:1px solid #d7e0e9}.identity-mount-filters label{display:grid;gap:3px;color:#52677d;font-size:11px;font-weight:700}.identity-mount-filters label:last-child{grid-column:1/-1}.identity-mount-filters select,.identity-mount-filters input{height:30px;padding:0 7px;border:1px solid #bdcad7;border-radius:4px;background:#fff}.identity-mount-tree{flex:1;max-height:calc(100vh - 325px);overflow:auto;padding:8px}.identity-mount-tree details{margin-bottom:7px;border:1px solid #c7d3df;border-radius:5px;overflow:hidden}.identity-mount-tree summary{display:flex;justify-content:space-between;padding:8px 10px;background:#edf2f6;color:#2c4863;font-weight:800;cursor:pointer}.identity-mount-tree summary b{color:#7a520f}.identity-mount-match{display:grid;gap:5px;padding:7px 8px;border-top:1px solid #e0e6ec}.identity-mount-match time{color:#75869a;font-size:10px}.identity-mount-match>button{font-weight:800}.identity-mount-match button{padding:5px 7px;border:1px solid #c3ced9;border-radius:4px;background:#fff;color:#244b70;cursor:pointer}.identity-mount-match button:hover,.identity-mount-match button.selected{border-color:#1676ad;background:#e5f2fa}.identity-mount-match div{display:flex;align-items:center;gap:5px}.identity-mount-match div span{color:#75869a;font-size:10px}.identity-mount-selection{margin:0 9px 7px;padding:8px;border:1px solid #d2dce6;border-radius:4px;background:#f7f9fb;color:#405a73;font-size:12px}.identity-mount-submit{margin:0 9px;padding:9px;border:0;border-radius:5px;background:#174f7d;color:#fff;font-weight:800;cursor:pointer}.identity-mount-submit:disabled{background:#aab7c3;cursor:not-allowed}.identity-mount-feedback{min-height:20px;margin:6px 10px 10px;color:#405f77;font-size:11px}
.identity-info-search{margin:8px;border:1px solid #405166;border-radius:6px;overflow:hidden;background:#182330}.identity-info-title{padding:8px 12px;background:linear-gradient(#396c99,#28577f);color:#fff;font-size:14px;font-weight:800;text-align:right}.identity-info-body{display:grid;gap:7px;padding:9px}.identity-info-body h3{margin:0;color:#f0f5fa;font-size:18px}.identity-info-body p{margin:0;color:#afbdcb;font-size:11px}.identity-info-body>label{display:grid;gap:3px;color:#afbdcb;font-size:11px}.identity-match-progress{position:relative;height:18px;overflow:hidden;border:1px solid #65819b;border-radius:3px;background:#dfe8f0;text-align:center}.identity-match-progress i{position:absolute;inset:0 auto 0 0;background:#347cac}.identity-match-progress b{position:relative;color:#fff;line-height:17px}.identity-season-box,.identity-league-box{padding:7px;border:1px solid #53677b;border-radius:5px}.identity-season-box>strong,.identity-league-box>div:first-child{display:flex;justify-content:space-between;margin-bottom:6px;color:#d5e4f1;font-size:11px}.identity-season-list,.identity-league-list{display:grid;gap:4px;max-height:118px;overflow:auto}.identity-season-list button,.identity-league-list button,.identity-month-buttons button{padding:7px;border:1px solid #4a5d72;border-radius:4px;background:#202f3e;color:#c8d7e5;text-align:left;cursor:pointer}.identity-season-list button.selected,.identity-league-list button.selected,.identity-month-buttons button.selected{border-color:#5ba7db;background:#315f89;color:#fff}.identity-month-buttons{display:grid;grid-template-columns:repeat(6,1fr);gap:4px;margin-top:7px}.identity-month-buttons button{text-align:center;padding:5px}.identity-month-buttons button:disabled{opacity:.35;cursor:not-allowed}.identity-league-search{display:grid;grid-template-columns:1fr auto;gap:6px}.identity-league-search input{min-width:0;padding:7px;border:1px solid #4a5d72;border-radius:4px;background:#101923;color:#e3ebf3}.identity-league-search button{padding:0 13px;border:0;border-radius:4px;background:#326b98;color:#fff;font-weight:800}.identity-league-box>div:first-child label{display:flex;align-items:center;gap:4px}.identity-league-list{max-height:132px}
.identity-layout-actions{display:flex;justify-content:flex-end;gap:7px;margin:0 28px 6px 28px}.identity-layout-actions button{height:28px;padding:0 11px;border:1px solid #325b82;border-radius:5px;background:#fff;color:#234f79;font-weight:800;cursor:pointer}.identity-column-resizer{position:relative;z-index:3;width:10px;height:100%;cursor:col-resize;touch-action:none;background:#d7e1eb;border-right:1px solid #91a5b9;border-left:1px solid #91a5b9}.identity-column-resizer:after{content:"";position:absolute;top:50%;left:3px;width:2px;height:48px;transform:translateY(-50%);border-radius:2px;background:#68839d}.identity-height-resizer{display:flex;align-items:center;justify-content:center;height:18px;margin:0 28px;cursor:row-resize;touch-action:none;border:1px solid #91a5b9;border-top:0;border-radius:0 0 5px 5px;background:#d7e1eb;color:#45627d;font-size:10px;font-weight:800}.identity-height-resizer:before,.identity-height-resizer:after{content:"";width:34px;height:2px;margin:0 8px;background:#68839d}.identity-layout-feedback{min-height:18px;margin:4px 28px;color:#315a7c;font-size:11px;text-align:right}body.identity-layout-resizing{user-select:none}.identity-mount-pending,.identity-mount-catalog{min-height:0;overflow:hidden}.identity-mount-pending{display:flex;flex-direction:column}.identity-mount-list,.identity-mount-tree{max-height:none;min-height:0}.identity-mount-list{flex:1}.identity-mount-tree{flex:1}
@media(max-width:920px){.identity-mount-page{display:flex;height:auto!important;min-height:0;flex-direction:column}.identity-column-resizer,.identity-height-resizer,.identity-layout-actions{display:none}.identity-mount-list,.identity-mount-tree{max-height:50vh}}
body:has([data-page="/identity-review"]:not([hidden])){background:#111821;color:#d9e3ee}[data-page="/identity-review"]:not([hidden]){position:relative;isolation:isolate;padding:14px 0 22px}[data-page="/identity-review"]:not([hidden]):before{content:"";position:fixed;z-index:-1;inset:35px 0 0;background:linear-gradient(145deg,#111821,#1b2633 55%,#131b25)}[data-page="/identity-review"] .identity-mount-pending{margin-left:28px}[data-page="/identity-review"] .identity-mount-catalog{margin-right:28px}.identity-mount-pending,.identity-mount-catalog{border-color:#405166;background:#1b2633;color:#d9e3ee}.identity-mount-pending>header,.identity-mount-catalog>header{border-color:#405166;background:#243346}.identity-mount-pending h1,.identity-mount-catalog h2{color:#f0f5fa}.identity-mount-pending header p,.identity-mount-catalog header p{color:#a9b8c8}.identity-mount-pending-card{border-color:#3a4b5f;background:#202d3b;color:#d9e3ee}.identity-mount-pending-card:hover{background:#29394a}.identity-mount-pending-card.selected{border-color:#59a5dc;background:#253d52;box-shadow:inset 3px 0 #59a5dc}.identity-mount-pending-card span{display:grid;align-content:start;gap:3px;color:#9fb0c2}.identity-mount-pending-card span i{font-size:9px;font-style:normal;color:#788da2}.identity-mount-pending-card span strong{font-size:11px;color:#75b9e8;overflow-wrap:anywhere}.identity-mount-pending-card time{color:#becbd8}.identity-mount-pending-card em{color:#75b9e8}.identity-mount-pending-card b{color:#f2f6fa}.identity-mount-pending-card small{color:#9aaabd}.identity-mount-filters{grid-template-columns:1fr 1fr;border-color:#405166;background:#182330}.identity-mount-filters label:first-child{grid-column:1/-1}.identity-mount-filters label:last-child{grid-column:1/-1;min-width:0}.identity-mount-filters label{color:#afbdcb}.identity-mount-filters select,.identity-mount-filters input{width:100%;min-width:0;border-color:#4a5d72;background:#101923;color:#e3ebf3}.identity-mount-tree details{border-color:#405166}.identity-mount-tree summary{background:#253548;color:#cfe0ef}.identity-mount-match{border-color:#34475b}.identity-mount-match button{border-color:#4a5d72;background:#182330;color:#b9d8ef}.identity-mount-match button:hover,.identity-mount-match button.selected{border-color:#5ba7db;background:#29475f}.identity-mount-selection{border-color:#405166;background:#182330;color:#b8c7d6}.identity-layout-actions button{border-color:#586e84;background:#1e2c3a;color:#d5e4f1}.identity-column-resizer,.identity-height-resizer{border-color:#53677b;background:#2b3b4c;color:#b6c7d7}.identity-layout-feedback{color:#88bce0}@media(max-width:920px){[data-page="/identity-review"] .identity-mount-pending,[data-page="/identity-review"] .identity-mount-catalog{margin:0}}
[data-page="/identity-review"] .identity-layout-actions .identity-mount-submit{margin:0;padding:0 16px;border-color:#3e78a4;background:linear-gradient(#3974a2,#275878);color:#fff}[data-page="/identity-review"] .identity-layout-actions .identity-mount-submit:disabled{border-color:#586777;background:#394756;color:#8795a4}
[data-page="/identity-review"]{width:min(1560px,calc(100% - 12px))}.identity-mount-page{grid-template-columns:minmax(320px,var(--identity-left)) 10px minmax(320px,var(--identity-right)) 8px 280px}.identity-rail-gap{background:transparent}.identity-component-rail{min-width:0;padding:6px;border:1px solid #405166;border-radius:7px;background:#253443;overflow:visible}.identity-component-rail .identity-info-search{height:517px;margin:0;display:flex;flex-direction:column}.identity-component-rail .identity-info-body{flex:1;min-height:0;overflow:auto}.identity-component-rail .identity-info-title{min-height:28px;padding:5px 8px;font-size:12px}.identity-component-rail .identity-info-body h3{font-size:17px}.identity-component-rail .identity-season-list{max-height:110px}.identity-component-rail .identity-league-list{max-height:132px}[data-page="/identity-review"] .identity-mount-catalog{margin-right:0}@media(max-width:1180px){.identity-mount-page{display:flex;height:auto!important;min-height:0;flex-direction:column}.identity-column-resizer,.identity-rail-gap,.identity-height-resizer,.identity-layout-actions{display:none}.identity-component-rail{order:3}.identity-component-rail .identity-info-search{height:517px}.identity-mount-list,.identity-mount-tree{max-height:50vh}}
.identity-info-resizer{height:14px;min-height:14px;display:flex;align-items:center;justify-content:center;border-radius:0 0 5px 5px;background:linear-gradient(#2a4a72,#1f3a5f);color:#d7e4f5;font-size:9px;font-weight:700;cursor:ns-resize;touch-action:none;user-select:none}.identity-info-resizer:focus-visible{outline:2px solid #75b9e8;outline-offset:2px}
[data-page="/identity-review"]{scrollbar-color:#60778d #15202b;scrollbar-width:auto}[data-page="/identity-review"] :is(.identity-mount-list,.identity-mount-tree,.identity-info-body,.identity-season-list,.identity-league-list){scrollbar-color:#60778d #15202b;scrollbar-width:auto}[data-page="/identity-review"] :is(.identity-mount-list,.identity-mount-tree,.identity-info-body,.identity-season-list,.identity-league-list)::-webkit-scrollbar{width:12px;height:12px}[data-page="/identity-review"] :is(.identity-mount-list,.identity-mount-tree,.identity-info-body,.identity-season-list,.identity-league-list)::-webkit-scrollbar-track{background:#15202b;border-left:1px solid #334659}[data-page="/identity-review"] :is(.identity-mount-list,.identity-mount-tree,.identity-info-body,.identity-season-list,.identity-league-list)::-webkit-scrollbar-thumb{min-height:34px;border:2px solid #15202b;border-radius:8px;background:#60778d}[data-page="/identity-review"] :is(.identity-mount-list,.identity-mount-tree,.identity-info-body,.identity-season-list,.identity-league-list)::-webkit-scrollbar-thumb:hover{background:#7891a8}[data-page="/identity-review"] :is(.identity-mount-list,.identity-mount-tree,.identity-info-body,.identity-season-list,.identity-league-list)::-webkit-scrollbar-corner{background:#15202b}

/* 首次取得 iframe 表格尺寸前不显示外层横向滚动条，避免闪过表头。 */
.native-monitor-hscroll{visibility:hidden}
.native-monitor-hscroll[hidden]{display:none!important}
/* 身份确认右侧信息组件：尺寸严格复用竞彩数据“信息与搜索”组件规格。 */
.identity-component-rail{width:280px;padding:6px}.identity-component-rail .identity-info-search{height:517px;border-radius:7px}.identity-component-rail .identity-info-title{height:28px;min-height:28px;padding:0 8px;display:flex;align-items:center;justify-content:flex-end;font-size:11px;line-height:1}.identity-component-rail .identity-info-body{padding:7px;font-size:11px;gap:4px}.identity-component-rail .identity-info-body h3{margin:0;font-size:18px;line-height:1.25}.identity-component-rail .identity-info-body p{font-size:11px;line-height:1.25}.identity-component-rail .identity-info-body>label{gap:2px;font-size:11px}.identity-component-rail .identity-match-progress{height:15px}.identity-component-rail .identity-match-progress b{line-height:14px}.identity-component-rail .identity-season-box,.identity-component-rail .identity-league-box{margin-top:6px;padding:5px;border-radius:5px}.identity-component-rail .identity-season-box>strong,.identity-component-rail .identity-league-box>div:first-child{margin-bottom:4px;font-size:11px;line-height:1.2}.identity-component-rail .identity-season-list,.identity-component-rail .identity-league-list{gap:3px;max-height:110px}.identity-component-rail .identity-season-list button,.identity-component-rail .identity-league-list button{padding:5px;border-radius:4px;font-size:11px;line-height:1.2}.identity-component-rail .identity-month-buttons{grid-template-columns:repeat(6,minmax(0,1fr));gap:3px;margin-top:5px;padding-top:5px}.identity-component-rail .identity-month-buttons button{height:22px;padding:1px 2px;border-radius:4px;font-size:10px;line-height:1}.identity-component-rail .identity-league-search{gap:4px;margin-top:6px}.identity-component-rail .identity-league-search input{height:28px;padding:5px;border-radius:5px;font-size:11px}.identity-component-rail .identity-league-search button{height:28px;padding:0 10px;border-radius:5px;font-size:11px}.identity-component-rail .identity-league-list{max-height:110px}.identity-component-rail .identity-info-resizer{height:14px;min-height:14px;font-size:9px;line-height:1}
.identity-required-labels{grid-column:2;display:grid;gap:4px}.identity-required-labels>span{display:grid;grid-template-columns:72px minmax(0,1fr);gap:6px;align-items:center;padding:4px 6px;border:1px solid #42566a;border-radius:4px;background:#192633}.identity-required-labels i{color:#8ea2b5;font-size:10px;font-style:normal}.identity-required-labels b{overflow-wrap:anywhere;color:#dce8f3;font-size:11px}.identity-required-labels .missing{border-color:#9b4b54;background:#3b242a}.identity-required-labels .missing i,.identity-required-labels .missing b{color:#ffd7dc}.identity-rail-mount-submit{width:100%;height:30px;margin:7px 0 0;padding:0;border:1px solid #3e78a4;border-radius:5px;background:linear-gradient(#3974a2,#275878);color:#fff;font-size:11px;font-weight:800}.identity-rail-mount-submit:disabled{border-color:#586777;background:#394756;color:#8795a4}
.identity-duplicate-filter.active{border-color:#c59435;background:linear-gradient(#765a23,#4d3c1c);color:#ffe2a0}.identity-duplicate-level{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.identity-duplicate-level.exact{color:#77d7a0!important}.identity-duplicate-level.suspected{color:#e4bd68!important}
.identity-target-labels{grid-column:auto;gap:2px}.identity-target-labels>span{grid-template-columns:64px minmax(0,1fr);padding:2px 5px}.identity-mount-tree summary{padding:6px 8px;font-size:11px}.identity-mount-match{gap:3px;padding:4px 6px}.identity-mount-match button{min-height:24px;padding:3px 6px;font-size:11px}.identity-mount-match div{gap:3px}.identity-mount-match div span{font-size:9px}
.identity-pending-pick .identity-required-labels{grid-column:1/-1}.identity-source-teams{padding-left:9px}
.identity-compact-values{display:grid;grid-template-columns:minmax(80px,.8fr) minmax(125px,1.2fr) minmax(90px,1fr);gap:5px}.identity-compact-values>b{display:flex;align-items:center;min-width:0;padding:5px 7px;border:1px solid #42566a;border-radius:4px;background:#192633;color:#dce8f3;font-size:11px;overflow-wrap:anywhere}.identity-target-labels.identity-compact-values{grid-template-columns:minmax(125px,1fr) minmax(90px,1fr)}.identity-source-match{justify-content:center;min-height:27px;padding:4px 8px}.identity-source-teams{gap:5px;padding-top:0}.identity-source-teams button{padding:5px 6px}
.identity-compact-values.has-score{grid-template-columns:minmax(72px,.7fr) minmax(118px,1.1fr) minmax(88px,1fr) 48px}.identity-target-labels.identity-compact-values.has-score{grid-template-columns:minmax(118px,1fr) minmax(88px,1fr) 48px}.identity-compact-values>b.identity-optional-score{justify-content:center;border-color:#8b6a2d;background:#3b311f;color:#ffd783;font-variant-numeric:tabular-nums;font-weight:900}
.identity-mount-tree .identity-mount-match.identity-mount-pending-card{display:block;margin-bottom:6px;padding:0;border:2px solid #3a4b5f;border-radius:5px;background:#202d3b;box-shadow:0 1px 0 #0b1118,0 0 0 1px rgba(122,153,181,.16)}.identity-mount-tree .identity-mount-match.identity-mount-pending-card:hover{background:#29394a}.identity-mount-tree .identity-mount-match.identity-mount-pending-card.selected{border-color:#59a5dc;background:#253d52;box-shadow:inset 4px 0 #59a5dc,0 0 0 1px rgba(89,165,220,.45)}.identity-mount-tree .identity-mount-match .identity-pending-pick{display:grid;padding:9px}.identity-mount-tree .identity-mount-match .identity-source-teams{display:grid;padding:0 9px 9px}.identity-mount-tree .identity-mount-match .identity-source-teams button{min-height:27px;padding:5px 6px;font-size:11px}
.identity-optional-score.empty{border-color:#42566a;background:#192633;color:#708397}.identity-mount-page{width:min(1234px,100%);margin:0 auto;grid-template-columns:minmax(0,473px) minmax(0,473px) 8px 280px;overflow-x:hidden}.identity-mount-page>.identity-mount-pending,.identity-mount-page>.identity-mount-catalog{width:100%;min-width:0;margin:0!important}.identity-mount-list,.identity-mount-tree{overflow-x:hidden}@media(max-width:1250px){.identity-mount-page{display:flex;height:auto!important;min-height:0;flex-direction:column}.identity-rail-gap,.identity-height-resizer,.identity-layout-actions{display:none}.identity-component-rail{order:3}.identity-component-rail .identity-info-search{height:517px}.identity-mount-list,.identity-mount-tree{max-height:50vh}}
.identity-mount-tree .identity-mount-pending-card.suspected{position:relative;border-color:#6d6146;background:#202d3b;box-shadow:inset 0 0 0 1px rgba(224,173,66,.22)}.identity-mount-tree .identity-mount-pending-card.suspected::after{content:attr(data-suspected-label);position:absolute;right:9px;bottom:54px;padding:2px 6px;border:1px dashed #b58c3e;border-radius:4px;background:#2e2a20;color:#e4bd68;font-size:9px;font-weight:800;pointer-events:none}.identity-mount-tree .identity-mount-pending-card.suspected .identity-pending-pick u{color:#75b9e8}
.identity-mount-tree .identity-mount-pending-card.date-located{position:relative;border-color:#4aa8dc;background:#1e3141;box-shadow:inset 0 0 0 1px rgba(74,168,220,.28)}.identity-mount-tree .identity-mount-pending-card.date-located::after{content:attr(data-date-located-label);position:absolute;right:9px;bottom:54px;padding:2px 6px;border:1px dashed #4aa8dc;border-radius:4px;background:#173044;color:#a9dcf7;font-size:9px;font-weight:800;pointer-events:none}
.identity-mount-list .identity-mount-pending-card,.identity-mount-tree .identity-mount-pending-card{box-sizing:border-box;height:154px;min-height:154px;overflow:hidden}.identity-mount-list .identity-mount-pending-card.identity-data-conflict{height:154px;min-height:154px;overflow:hidden}.identity-mount-list .identity-pending-pick,.identity-mount-tree .identity-pending-pick{min-height:96px;align-content:start}.identity-mount-list .identity-source-teams,.identity-mount-tree .identity-source-teams{height:49px;align-items:stretch}.identity-mount-list .identity-source-teams button,.identity-mount-tree .identity-source-teams button{height:40px;box-sizing:border-box}
.identity-mount-list .identity-mount-pending-card .identity-compact-values>b,.identity-mount-tree .identity-mount-pending-card .identity-compact-values>b,.identity-mount-list .identity-mount-pending-card .identity-source-teams button,.identity-mount-tree .identity-mount-pending-card .identity-source-teams button{font-size:11px}
.identity-source-teams button .identity-team-name-zh,.identity-source-teams button .identity-team-name-original{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:700;line-height:15px}.identity-source-teams button small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#8fa9bd;font-size:9px;line-height:12px}.identity-source-teams button:hover small,.identity-source-teams button.selected small{color:#cfe3f2}
.identity-conflict-note{grid-column:1/-1;display:flex;align-items:center;gap:6px;width:100%;height:25px;min-height:25px;margin:1px 0 0;padding:3px 6px;border:1px solid #a95757;border-radius:4px;background:#6b3038;color:#ffd9dd;text-align:left;cursor:pointer;overflow:hidden}.identity-conflict-note strong{flex:0 0 auto;font-size:10px;line-height:14px;white-space:nowrap}.identity-conflict-note span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:14px}.identity-conflict-note:hover,.identity-conflict-note:focus-visible{border-color:#ef7d83;background:#7a333d;outline:none}
@media(max-width:900px){.identity-conflict-note{height:25px}.identity-conflict-note span{font-size:9px}}
.identity-component-rail .identity-league-list{max-height:220px}
.identity-source-box{margin-top:6px;padding:5px;border:1px solid #53677b;border-radius:5px}.identity-source-box>div:first-child{display:flex;justify-content:space-between;margin-bottom:4px;color:#d5e4f1;font-size:11px;line-height:1.2}.identity-source-list{display:grid;gap:3px;max-height:110px;overflow:auto}.identity-source-list button{padding:5px;border:1px solid #4a5d72;border-radius:4px;background:#202f3e;color:#c8d7e5;text-align:left;font-size:11px;line-height:1.2;cursor:pointer}.identity-source-list button.selected{border-color:#5ba7db;background:#315f89;color:#fff}[data-page="/identity-review"] .identity-source-list{scrollbar-color:#60778d #15202b;scrollbar-width:auto}[data-page="/identity-review"] .identity-source-list::-webkit-scrollbar{width:12px}[data-page="/identity-review"] .identity-source-list::-webkit-scrollbar-track{background:#15202b;border-left:1px solid #334659}[data-page="/identity-review"] .identity-source-list::-webkit-scrollbar-thumb{min-height:34px;border:2px solid #15202b;border-radius:8px;background:#60778d}

/* 身份确认固定为五列：左筛选、待确认、数据库、间隔、右筛选。 */
[data-page="/identity-review"]{width:min(1560px,calc(100% - 12px))}
.identity-mount-page{width:100%;grid-template-columns:280px minmax(320px,var(--identity-left)) minmax(320px,var(--identity-right)) 8px 280px;overflow-x:hidden}
.identity-name-mapping{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:8px;padding:8px;border:1px solid #40566d;border-radius:6px;background:#1d2b38}.identity-name-mapping strong,.identity-name-mapping small{grid-column:1/-1}.identity-name-mapping strong{color:#dce8f3;font-size:12px}.identity-name-mapping button{height:30px;border:1px solid #50708d;border-radius:5px;background:#263b4d;color:#dce8f3;font-size:11px;font-weight:700;cursor:pointer}.identity-name-mapping button.active{border-color:#58a9dc;background:#316f9d;color:#fff}.identity-name-mapping button:disabled{border-color:#43515e;background:#33414e;color:#7e8b97;cursor:not-allowed}.identity-name-mapping small{min-height:30px;color:#94a9bb;font-size:10px;line-height:1.4}
.identity-team-name-dialog{width:min(900px,calc(100vw - 30px))}.identity-team-central-id{margin-top:3px;color:#52677e;font-size:13px;font-weight:700}.identity-team-name-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.identity-team-name-fields label{display:grid;gap:5px}.identity-team-name-aliases{display:grid;gap:8px;padding:10px;border:1px solid #ccd8e4;border-radius:8px;background:#f7f9fc}.identity-team-name-alias-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.identity-team-name-alias-head span{color:#63758a;font-size:12px}.identity-team-name-alias-list{display:flex;flex-wrap:wrap;gap:7px;max-height:150px;overflow:auto}.identity-team-name-token{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:4px 6px 4px 10px;border:1px solid #b7c7d8;border-radius:16px;background:#fff;color:#24374c;font-size:12px;cursor:pointer}.identity-team-name-token:hover{border-color:#4e88b5;background:#f3f9fd}.identity-team-name-token small{color:#71849a}.identity-team-name-token button{width:22px;height:22px;padding:0;border:0;border-radius:50%;background:#dde6ef;color:#5a6e82;font-size:16px;line-height:20px;cursor:pointer}.identity-team-name-token button:hover{background:#a63d45;color:#fff}.identity-team-name-token.standard{border-color:#6897bd;background:#edf6fc}.identity-team-name-alias-empty{color:#71849a;font-size:12px}@media(max-width:760px){.identity-team-name-fields{grid-template-columns:1fr}}
.identity-mount-catalog>header{display:flex;align-items:center;justify-content:space-between}.identity-mount-catalog>header>[data-team-catalog-count]{color:#b66b00;font-size:24px;font-weight:900;font-variant-numeric:tabular-nums}.identity-team-catalog-toggle{margin-top:8px}.identity-team-catalog-toggle.active{border-color:#c59435;background:linear-gradient(#765a23,#4d3c1c);color:#ffe2a0}.identity-mount-tree .identity-team-catalog-card{box-sizing:border-box;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(150px,1.35fr);align-items:center;height:48px!important;min-height:48px!important;padding:0}.identity-team-catalog-card .identity-pending-pick{grid-template-columns:minmax(0,1fr) auto!important;align-items:center;min-height:44px!important;padding:5px 8px!important}.identity-team-catalog-card .identity-pending-pick small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.identity-team-catalog-card .identity-team-catalog-name{display:block;width:calc(100% - 6px);height:38px;min-height:38px;margin:3px 6px 3px 0;padding:3px 8px;font-size:11px;line-height:1.15}.identity-team-catalog-card .identity-team-catalog-name small{display:block;margin-top:1px;overflow:hidden;color:#8fa9bd;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.identity-team-catalog-card.redirected{opacity:.58}.identity-team-catalog-card.redirected .identity-team-catalog-name{cursor:not-allowed}
.identity-pending-filter-bar{display:grid;grid-template-columns:auto minmax(110px,180px) 1fr;align-items:center;gap:7px;padding:7px 10px;border-bottom:1px solid #405166;background:#182330}.identity-pending-filter-bar label{color:#d5e4f1;font-size:11px;font-weight:800}.identity-pending-filter-bar select{min-width:0;height:28px;padding:3px 7px;border:1px solid #4a5d72;border-radius:4px;background:#202f3e;color:#e3edf6;font-size:11px}.identity-pending-filter-bar small{overflow:hidden;color:#91a5b8;font-size:10px;text-overflow:ellipsis;white-space:nowrap}@media(max-width:700px){.identity-pending-filter-bar{grid-template-columns:1fr}.identity-pending-filter-bar small{white-space:normal}}
[data-page="/identity-review"] .identity-layout-actions,[data-page="/identity-review"] .identity-height-resizer,[data-page="/identity-review"] .identity-layout-feedback{box-sizing:border-box;width:min(1234px,100%);margin-left:auto;margin-right:auto}
[data-page="/identity-review"] .identity-layout-actions{padding:0;justify-content:flex-end}
[data-page="/identity-review"] .identity-height-resizer{border-radius:0 0 5px 5px}
.identity-mount-pending-card.identity-data-conflict{cursor:pointer}.identity-mount-pending-card.identity-data-conflict:hover{background:#442b32}.identity-source-league-value{justify-content:space-between;gap:4px}.identity-source-league-value>span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:inherit}.identity-source-league-actions{display:flex;flex:0 0 auto;align-items:center;gap:4px;font-style:normal}.identity-source-league-actions>button{display:grid;flex:0 0 20px;width:20px;height:20px;padding:0;place-items:center;border:1px solid #a95858;border-radius:50%;background:#572c33;color:#ffd7da;font-size:15px;font-weight:900;line-height:1;cursor:pointer}.identity-source-league-actions>button:hover{border-color:#ef7d83;background:#7a333d;color:#fff}.identity-source-league-actions>button:disabled{opacity:.45;cursor:wait}
.identity-source-league-actions>button[data-direct-domestic-admit]{border-color:#4e9d78;background:#245b43;color:#d9ffea}.identity-source-league-actions>button[data-direct-domestic-admit]:hover{border-color:#7bd8a9;background:#32785a;color:#fff}
.identity-mount-submit[aria-disabled="true"]{border-color:#586777;background:#394756;color:#8795a4;cursor:not-allowed;pointer-events:auto}
.identity-mount-list .identity-mount-pending-card.pending-filter-hidden{display:none!important}
.identity-mount-list{align-content:start;grid-auto-rows:max-content}

/* 会员中心 2026：沿用控制台蓝灰基调，集中展示状态、套餐与 API 用量。 */
.legacy-settings-pane{max-width:66rem}.membership-hero{position:relative;display:flex;align-items:center;justify-content:space-between;min-height:9.25rem;margin-bottom:1.15rem;padding:1.35rem 1.5rem;overflow:hidden;border:1px solid #214f79;border-radius:16px;background:radial-gradient(circle at 78% 20%,rgba(91,166,225,.3),transparent 34%),linear-gradient(135deg,#102f4d,#1e5f91);box-shadow:0 14px 30px rgba(21,59,91,.18);color:#fff}.membership-hero:after{content:"";position:absolute;right:-4rem;bottom:-6rem;width:15rem;height:15rem;border:1px solid rgba(255,255,255,.13);border-radius:50%}.membership-hero>div:first-child{position:relative;z-index:1}.membership-hero span{color:#a9c9e3;font-size:.68rem;font-weight:800;letter-spacing:.12em}.membership-hero h2{margin:.35rem 0 .48rem!important;color:#fff!important;font-size:1.55rem!important}.membership-hero p{max-width:34rem;margin:0;color:#d4e4f1;font-size:.75rem;line-height:1.65}.membership-hero-mark{position:relative;z-index:1;display:grid;width:5.2rem;height:5.2rem;border:1px solid rgba(255,255,255,.3);border-radius:18px;background:rgba(255,255,255,.1);color:#fff;font-size:1.65rem;font-weight:900;place-content:center;text-align:center;transform:rotate(3deg)}.membership-hero-mark small{display:block;margin-top:.15rem;color:#afd2ee;font-size:.5rem;letter-spacing:.16em}.membership-section-head{display:flex;align-items:end;justify-content:space-between;margin:0 0 .8rem}.membership-section-head h3{margin:0;color:#17253a;font-size:1rem}.membership-section-head p{margin:.22rem 0 0;color:#718198;font-size:.7rem}.membership-section-head>span{padding:.28rem .55rem;border-radius:999px;background:#e8edf3;color:#68788c;font-size:.62rem;font-weight:700}.legacy-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:26rem;gap:1rem}.legacy-plan-card{height:26rem;border-color:#dbe4ed;border-radius:15px;box-shadow:0 5px 18px rgba(28,54,80,.07)}.legacy-plan-card.featured{border-color:#4d88b9;box-shadow:0 10px 26px rgba(33,91,141,.14)}.legacy-plan-card.authorized{border-color:#20a063;box-shadow:0 0 0 2px rgba(32,160,99,.12),0 10px 26px rgba(28,90,61,.12)}.legacy-plan-badge{position:absolute;top:.8rem;right:.85rem;z-index:2;padding:.28rem .55rem!important;border-radius:999px;background:#e8f2fb;color:#276896;font-size:.58rem;font-weight:850}.legacy-plan-card.authorized .legacy-plan-badge{background:#e1f6e9;color:#167346}.legacy-plan-card header{padding:1.1rem 1.05rem .9rem;background:transparent}.legacy-plan-card header>b{font-size:1.05rem}.legacy-plan-card header small{max-width:70%;font-size:.67rem}.legacy-plan-card header strong{font-size:1.7rem}.legacy-plan-card header strong em{margin-left:.18rem;color:#8290a1;font-size:.65rem;font-style:normal;font-weight:600}.legacy-plan-card>div.legacy-plan-features{padding:.45rem 1.05rem}.legacy-plan-card p{display:grid;grid-template-columns:1.25rem 1fr;gap:.35rem;padding:.48rem 0}.legacy-plan-card p>i{display:grid;width:1rem;height:1rem;margin-top:.05rem;border-radius:50%;background:#e3f2eb;color:#188254;font-size:.62rem;font-style:normal;font-weight:900;place-items:center}.legacy-plan-card p span{font-size:.68rem}.legacy-plan-card p span b{margin:0 0 .12rem;font-size:.62rem}.legacy-plan-buy{grid-template-columns:1fr 1fr;padding:.75rem 1rem .9rem;background:#fff}.legacy-plan-buy-btn{min-height:2.15rem}.legacy-plan-buy-btn.primary{border-color:#1d669e;background:#236fa8;color:#fff}.legacy-plan-card.featured .legacy-plan-buy-btn.primary{background:linear-gradient(135deg,#185b91,#287ebc)}.membership-license-card{display:grid;grid-template-columns:minmax(12rem,.75fr) minmax(20rem,1.25fr);align-items:center;gap:1rem;margin-top:1rem;padding:1rem 1.1rem}.membership-license-card p{margin:.25rem 0 0;color:#748398;font-size:.67rem}.membership-license-card>form{width:100%;margin:0}.api-console-locked{padding:2.5rem;border:1px solid #cbddeb;border-radius:18px;background:radial-gradient(circle at 90% 15%,rgba(74,145,203,.18),transparent 34%),#fff;box-shadow:0 10px 30px rgba(38,76,108,.1)}.api-console-locked>span{color:#2772aa;font-size:.7rem;font-weight:850;letter-spacing:.08em}.api-console-locked h2{margin:.55rem 0;color:#14283e;font-size:1.55rem}.api-console-locked p{max-width:38rem;color:#65778d;font-size:.77rem;line-height:1.75}.api-console-locked button{margin:.6rem .45rem 0 0;padding:.65rem 1rem;border:1px solid #b9cbdc;border-radius:8px;background:#fff;color:#29445f;font-weight:800}.api-console-locked button:first-child{border-color:#216da7;background:#216da7;color:#fff}.api-console-head{display:flex;align-items:center;justify-content:space-between;padding:1.2rem 1.35rem;border:1px solid #214f79;border-radius:15px;background:linear-gradient(135deg,#102f4d,#205f8f);color:#fff}.api-console-head h2{margin:.25rem 0;color:#fff;font-size:1.35rem}.api-console-head p{margin:0;color:#bed4e5;font-size:.68rem}.api-live-dot{display:inline-flex;align-items:center;gap:.35rem;color:#8de7b8!important}.api-live-dot:before{content:"";width:.48rem;height:.48rem;border-radius:50%;background:#31d77b;box-shadow:0 0 0 4px rgba(49,215,123,.13)}.api-console-quota{text-align:right}.api-console-quota b{display:block;font-size:1.65rem}.api-console-quota span{color:#bed4e5;font-size:.62rem}.api-usage-card,.api-key-card,.api-console-grid article{margin-top:.85rem;padding:1rem 1.1rem;border:1px solid #dce5ee;border-radius:13px;background:#fff;box-shadow:0 4px 14px rgba(33,62,88,.05)}.api-usage-card>div:first-child{display:flex;justify-content:space-between;color:#5d6f83;font-size:.7rem}.api-usage-card>div:first-child b{color:#203b55}.api-usage-track{height:.55rem;margin:.65rem 0;border-radius:999px;background:#e5ecf2;overflow:hidden}.api-usage-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2c79b3,#34b37a)}.api-usage-card p,.api-key-card p{margin:.45rem 0 0;color:#748398;font-size:.64rem}.api-key-card header{display:flex;align-items:end;justify-content:space-between}.api-key-card h3{margin:.2rem 0 0}.api-key-card header span,.api-key-card header small{color:#75869a;font-size:.62rem}.api-key-card code{display:block;margin:.9rem 0;padding:.8rem;border:1px solid #d7e0e9;border-radius:8px;background:#f4f7fa;color:#173d5f;font:700 .75rem/1.4 Consolas,monospace;overflow-wrap:anywhere}.api-key-card button{margin-right:.4rem;padding:.5rem .72rem;border:1px solid #bdd0e1;border-radius:7px;background:#edf5fb;color:#205d8c;font-weight:750}.api-key-card button.danger{border-color:#e5c0c4;background:#fff4f5;color:#a23d47}.api-console-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.85rem}.api-console-grid article b{display:block;margin-bottom:.55rem;color:#1d3b56}.api-console-grid article p{margin:.35rem 0;color:#687a8f;font-size:.65rem}.collection-denied{max-width:42rem;margin:2rem auto;padding:2rem;border-color:#d4e0eb;background:radial-gradient(circle at 90% 10%,rgba(46,119,174,.12),transparent 38%),#fff;color:#324b63;box-shadow:0 10px 28px rgba(33,65,94,.08);font-weight:750}.collection-denied:before{content:"权限受限";display:block;margin-bottom:.55rem;color:#b06a20;font-size:.65rem;letter-spacing:.12em}.native-account-nav{grid-auto-rows:minmax(2.55rem,auto)}
@media(max-width:760px){.native-account-nav{grid-template-columns:repeat(3,1fr)}.legacy-plan-grid{grid-template-columns:1fr;grid-auto-rows:auto}.legacy-plan-card{height:auto;min-height:26rem}.membership-hero{min-height:8rem;padding:1rem}.membership-hero-mark{width:4rem;height:4rem;font-size:1.25rem}.membership-section-head{align-items:start;gap:.6rem}.membership-license-card{grid-template-columns:1fr}.api-console-grid{grid-template-columns:1fr}.api-console-head{align-items:flex-start}.api-key-card header{align-items:start;gap:.7rem}.api-key-card header small{text-align:right}.legacy-plan-buy{position:relative}}
.admin-page-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}.admin-page-head h2{margin:0!important}.admin-page-head p{margin:.25rem 0 0;color:#708196;font-size:.68rem}.admin-page-head button{padding:.5rem .8rem;border:1px solid #b8ccdd;border-radius:7px;background:#fff;color:#225f8e;font-weight:750}.membership-admin-stats{grid-template-columns:repeat(4,1fr)}.membership-admin-stats small{display:block;margin-top:.25rem;color:#8190a1;font-size:.6rem}.admin-data-section{margin-top:1.1rem}.admin-data-section h3{margin:0 0 .55rem;color:#294159;font-size:.8rem}@media(max-width:900px){.membership-admin-stats{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.membership-admin-stats{grid-template-columns:1fr}.admin-page-head{align-items:flex-start;gap:.7rem}}
/* 顶部入口的最终状态：普通白色按钮保留清晰边界，当前页面使用蓝色选中态。 */
.primary-nav a:not(.active){border-color:#a8bacb;background:#fff;color:#214365;box-shadow:0 1px 3px rgba(29,61,91,.12)}
.primary-nav a:not(.active):hover{border-color:#7694ad;background:#edf5fb;color:#163b5f;box-shadow:0 4px 10px rgba(3,15,28,.16)}
.primary-nav a.active,.primary-nav a.active:hover{border-color:#1f527f;background:linear-gradient(180deg,#3479ad,#235a88);color:#fff;box-shadow:0 4px 11px rgba(22,64,101,.28)}

/* 手机端三中心：底部主导航 + 紧凑顶栏 + 完整功能连续阅读。 */
@media(max-width:700px){
  :root{--mobile-nav-h:49px;--mobile-top-h:48px;--mobile-toolbar-h:48px}
  html{background:#edf2f7}
  body{padding-bottom:calc(var(--mobile-nav-h) + env(safe-area-inset-bottom));background:#edf2f7;overflow-y:auto}
  .app-shell{min-height:100dvh}
  .topbar{position:sticky;top:0;z-index:100;height:var(--mobile-top-h);padding:0 12px;border:0;background:linear-gradient(110deg,#0e3157,#174d78)}
  .topbar .brand{flex:1 1 auto;width:auto;height:var(--mobile-top-h);gap:7px;align-items:center}
  .brand-title{align-items:center;padding:0;font-size:19px;letter-spacing:.04em}
  .brand-domain{align-items:center;padding:2px 0 0;color:#b9cee0;font-size:10px}
  .topbar-middle{display:none}
  .account-shell{flex:0 0 auto;height:var(--mobile-top-h);align-self:center}
  .account-shell .account-entry{height:100%;padding:0 2px;font-size:12px}
  .account-shell .account-entry i{width:25px;height:25px}
  .account-shell[data-authenticated="1"] .account-entry [data-account-name]{display:none}
  .account-shell[data-authenticated="1"] .account-entry i{margin-left:0}
  .account-register{height:27px;margin-left:5px;padding:0 8px}
  .account-dropdown{position:fixed;top:var(--mobile-top-h);right:8px;width:min(280px,calc(100vw - 16px));border-radius:10px}

  .surface-toolbar{position:sticky;top:var(--mobile-top-h);z-index:90;display:flex;height:var(--mobile-toolbar-h);min-height:var(--mobile-toolbar-h);gap:7px;align-items:center;padding:6px 9px;border:0;border-bottom:1px solid #b9c7d5;border-radius:0;background:#f4f7fa;box-shadow:0 3px 10px rgba(18,52,82,.1);overflow-x:auto;overflow-y:hidden;scrollbar-width:none;overscroll-behavior-x:contain}
  .surface-toolbar::-webkit-scrollbar{display:none}
  .surface-toolbar>[data-match-only],.surface-toolbar>[data-monitor-only]{flex:0 0 auto}
  .surface-toolbar [data-match-only].route-inactive,.surface-toolbar [data-monitor-only].route-inactive{display:none!important}
  .surface-toolbar label:not(.toolbar-check){display:flex;align-items:center;gap:5px;height:34px;padding:0 8px;border:1px solid #c4d0dc;border-radius:9px;background:#fff;font-size:11px;white-space:nowrap}
  .surface-toolbar select{width:auto;max-width:112px;height:27px;padding:0 22px 0 5px;border:0;background-color:transparent;font-size:12px;font-weight:800}
  .surface-toolbar button{height:34px;min-width:48px;border-radius:9px}
  .surface-toolbar .toolbar-check{display:flex;height:34px;padding:0 9px;border-radius:9px}
  .surface-toolbar .refresh-button{display:block}

  .surface-toolbar .primary-nav{position:fixed!important;right:0;bottom:0;left:0;z-index:500000;display:grid;grid-template-columns:repeat(3,1fr);gap:0;width:100vw;max-width:none;height:calc(var(--mobile-nav-h) + env(safe-area-inset-bottom));padding:5px 8px env(safe-area-inset-bottom);border-top:1px solid #aebdcb;background:rgba(250,252,254,.98);box-shadow:0 -5px 20px rgba(15,46,85,.18);backdrop-filter:blur(12px);transform:translateZ(0)}
  .primary-nav a{position:relative;display:flex;min-width:0;min-height:54px;gap:3px;padding:4px 2px;border:0!important;border-radius:11px;background:transparent!important;color:#617387!important;box-shadow:none!important;flex-direction:column;font-size:11px;line-height:1.1;transform:none!important}
  .primary-nav a::before{content:attr(data-mobile-icon);display:grid;width:28px;height:28px;place-items:center;border:1px solid #aebdcb;border-radius:9px;background:#edf2f7;color:#315879;font-size:12px;font-weight:900}
  .primary-nav a.active{color:#174f7c!important;font-weight:900}
  .primary-nav a.active::before{border-color:#255e8d;background:linear-gradient(160deg,#397bae,#245b88);color:#fff;box-shadow:0 3px 8px rgba(28,85,130,.28)}
  .primary-nav a[data-strict-admin-only],.primary-nav a[data-admin-only]{display:none!important}

  #route-root{width:100%;margin:0 auto;padding:0}
  .route-panel{width:100%;padding:0;animation:none}
  .native-monitor-layout{display:flex;width:100%;height:auto;min-height:0;overflow:visible;flex-direction:column;background:#edf2f7}
  .native-monitor-pane{height:calc(100dvh - var(--mobile-top-h) - var(--mobile-toolbar-h) - var(--mobile-nav-h));min-height:520px;border-bottom:7px solid #d6e0e9;overflow:hidden}
  .native-probability-resizer{display:none}
  .native-probability-frame{display:block;width:100%;height:62dvh;min-height:500px;border-top:1px solid #a7b8c8;background:#fff;visibility:visible!important}
  .native-monitor-layout.probability-collapsed .native-probability-frame{display:block;visibility:visible}
  .native-monitor-pane .native-monitor-hscroll,.native-database-pane .native-database-hscroll{bottom:0;height:14px}
  .native-database-pane{height:calc(100dvh - var(--mobile-top-h) - var(--mobile-toolbar-h) - var(--mobile-nav-h));min-height:560px;border:0;border-radius:0}
  .native-database-frame{min-height:0;background:#edf2f7}
  body:has([data-page="/database"]:not([hidden])) .surface-toolbar,
  body:has([data-page="/jingcai-data"]:not([hidden])) .surface-toolbar{height:0;min-height:0;padding:0;border:0;overflow:visible;box-shadow:none}
  body:has([data-page="/database"]:not([hidden])) .native-database-pane,
  body:has([data-page="/jingcai-data"]:not([hidden])) .native-database-pane{height:calc(100dvh - var(--mobile-top-h) - var(--mobile-nav-h))}
  dialog{max-width:calc(100vw - 16px);max-height:calc(100dvh - 24px)}
  .probability-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 24px);border-radius:12px}
  .probability-panel{max-height:calc(100dvh - 24px);padding:14px}
  .probability-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  .probability-summary span{padding:8px 6px}
}
/* 手机比赛中心：参考比分应用的信息层级，保留球栈自身深蓝灰色调。 */
@media(max-width:700px){
  [data-mobile-hub="matches"]{padding:0;background:#eef2f6}
  .m-score-header{display:flex;min-height:76px;align-items:center;justify-content:space-between;padding:12px 16px;background:#173b5e;color:#fff}
  .m-score-header small{color:#abc0d3;font-size:10px;font-weight:700}.m-score-header h1{margin:2px 0 0;font-size:22px}.m-score-header button{width:38px;height:38px;border:1px solid #54728e;border-radius:10px;background:#254b6d;color:#fff;font-size:20px}
  [data-mobile-hub="matches"] .m-status-tabs{margin:0;padding:0 8px;border:0;border-bottom:1px solid #d3dce4;border-radius:0;background:#fff}
  [data-mobile-hub="matches"] .m-status-tabs button{height:45px;border-radius:0;font-size:12px}
  [data-mobile-hub="matches"] .m-status-tabs button.active{border-bottom:3px solid #d29b35;background:transparent;color:#173b5e;box-shadow:none}
  .m-score-filters{align-items:center;margin:0;padding:8px 10px;background:#f8fafc;border-bottom:1px solid #d8e0e7}
  .m-score-filters label,.m-score-filters>button{height:32px;border-radius:7px;background:#fff}.m-score-filters>span{margin-left:auto;color:#7b8b9b;font-size:10px;white-space:nowrap}
  .m-score-list{padding-bottom:12px}.m-league-group{display:block;margin:8px 0 0!important;border-top:1px solid #d7e0e7;border-bottom:1px solid #d7e0e7;background:#fff}
  .m-league-group>header{display:grid;grid-template-columns:24px minmax(0,1fr) auto;min-height:35px;padding:0 10px;background:#e5ebf1;color:#244761}
  .m-league-group>header button{width:24px;height:30px;border:0;background:transparent;color:#6c7f90;font-size:17px}.m-league-group>header b{font-size:11px}.m-league-group>header span{font-size:10px}.m-league-group.collapsed .m-league-matches{display:none}
  .m-score-row{display:grid;width:100%;grid-template-columns:28px 48px minmax(0,1fr) 48px 16px;align-items:center;min-height:62px;padding:6px 9px;border:0;border-bottom:1px solid #e4e9ee;background:#fff;color:#18334b;text-align:left}
  .m-score-row:last-child{border-bottom:0}.m-score-fav{color:#9aa7b3;font-size:19px}.m-score-time{color:#687b8d;font-size:10px;text-align:center;font-variant-numeric:tabular-nums}.m-score-time small{display:block;color:#b26155;font-size:8px}
  .m-score-teams{display:grid;gap:8px;padding:0 8px}.m-score-teams b{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.m-score-result{display:grid;gap:4px;color:#223c53;font-size:13px;font-weight:900;text-align:center}.m-score-result small{color:#8492a0;font-size:8px}.m-score-result.live{color:#b24b43}.m-score-more{color:#9aa8b5;font-size:20px}
  .m-odds-matrix{display:flex;min-height:100%;flex-direction:column}.m-odds-matrix-hint{padding:1px 2px 9px;color:#74879a;font-size:9px}.m-odds-matrix-scroll{flex:1;min-height:360px;overflow:auto;border:1px solid #c7d5e1;border-radius:13px;background:#fff;overscroll-behavior:contain;scrollbar-width:thin}.m-odds-matrix-scroll>table{width:max(100%,460px);border-collapse:separate;border-spacing:0;color:#193a57;font-size:11px;font-variant-numeric:tabular-nums}.m-odds-matrix-scroll>table>thead{position:sticky;top:0;z-index:5}.m-odds-matrix-scroll>table>thead th{height:34px;padding:0 12px;border-right:1px solid #d4dfe8;border-bottom:1px solid #c7d5e1;background:#e4edf4;color:#315a79;text-align:center;white-space:nowrap}.m-odds-matrix-scroll>table>thead tr:first-child th{background:#dbe7f0;font-weight:900}.m-odds-matrix-scroll>table>thead th:first-child{position:sticky;left:0;z-index:7;width:112px;min-width:112px}.m-odds-platform-row>th{position:sticky;left:0;z-index:3;width:112px;min-width:112px;padding:0;border-right:1px solid #d4dfe8;border-bottom:1px solid #dbe4eb;background:#fff}.m-odds-platform-row>th button{display:flex;width:100%;min-height:54px;gap:8px;align-items:center;padding:0 10px;border:0;background:transparent;color:#173c5c;font:inherit;font-weight:850;text-align:left;cursor:pointer}.m-odds-platform-row>th button span{font-size:18px;transition:transform .16s}.m-odds-platform-row[aria-expanded="true"]>th button span{transform:rotate(90deg)}.m-odds-platform-row>td{min-width:92px;height:54px;padding:0 12px;border-right:1px solid #e1e8ee;border-bottom:1px solid #dbe4eb;background:#fff;font-size:12px;font-weight:800;text-align:center}.m-odds-platform-row:nth-of-type(4n+3)>:is(th,td){background:#f8fafc}.m-odds-platform-detail>td{padding:0!important;border-bottom:1px solid #cbd8e2;background:#edf3f7}.m-odds-platform-detail>td>div{max-height:250px;overflow:auto;padding:8px}.m-odds-platform-detail table{width:100%;min-width:390px;border-collapse:collapse;background:#fff}.m-odds-platform-detail th,.m-odds-platform-detail td{height:32px;padding:0 9px;border:1px solid #dce5ec;color:#557086;font-size:9px;text-align:center;white-space:nowrap}.m-odds-platform-detail tbody td:not(:first-child){color:#244964;font-size:10px;font-weight:800}.m-match-odds-sheet .m-sheet-content{display:flex;padding:8px}.m-match-odds-sheet .m-sheet-content>[data-sheet-panel="0"]{display:flex;width:100%;min-height:100%}.m-match-odds-sheet .m-sheet-content>[data-sheet-panel="0"][hidden]{display:none}
  .m-odds-platform-row.empty>td{color:#9aa8b5;font-weight:600}.m-odds-platform-row.empty>th button{color:#60778d}
  .m-odds-market-tabs{display:flex;flex:0 0 auto;gap:7px;margin:0 -1px 8px;padding:1px;overflow-x:auto;scrollbar-width:none}.m-odds-market-tabs::-webkit-scrollbar{display:none}.m-odds-market-tabs button{flex:0 0 auto;min-width:86px;height:38px;padding:0 14px;border:0;border-radius:20px;background:#edf1f5;color:#43576b;font-size:10px;font-weight:800;white-space:nowrap;cursor:pointer}.m-odds-market-tabs button.active{background:#286b9d;color:#fff;box-shadow:0 3px 8px rgba(28,82,124,.23)}.m-odds-matrix>[data-odds-market-panel]{flex:1;min-height:0}.m-odds-matrix>[data-odds-market-panel][hidden]{display:none}.m-odds-matrix>[data-odds-market-panel] .m-odds-matrix-scroll{height:100%}
  .m-odds-market-tabs button{-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;outline:0;touch-action:manipulation;user-select:none}.m-odds-market-tabs button:active,.m-odds-market-tabs button:focus{border-radius:20px;outline:0}.m-odds-market-tabs button:not(.active):active,.m-odds-market-tabs button:not(.active):focus{background:#edf1f5;color:#43576b}.m-odds-market-tabs button.active:active,.m-odds-market-tabs button.active:focus{background:#286b9d;color:#fff}.m-odds-market-tabs button:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #5793c0}
  .m-odds-market-tabs button,.m-odds-market-tabs button.active,.m-odds-market-tabs button:active,.m-odds-market-tabs button:focus,.m-odds-market-tabs button:focus-visible{outline:0!important;box-shadow:none!important}
  .m-odds-matrix-hint{display:flex;gap:15px;padding:0 3px 8px}.m-odds-matrix-hint span{position:relative;padding-left:9px}.m-odds-matrix-hint span:before{content:"";position:absolute;top:2px;bottom:2px;left:0;width:3px;border-radius:2px;background:#176bc0}.m-odds-matrix-hint span+span:before{background:#ee8b19}.m-odds-matrix-scroll{width:100%;max-width:100%;overflow-x:hidden}.m-odds-matrix-scroll>table{width:100%;min-width:0;table-layout:fixed}.m-odds-matrix-scroll>table>thead th{height:36px;padding:0 2px;font-size:9px}.m-odds-matrix-scroll>table>thead th:first-child{position:static;width:72px;min-width:0}.m-odds-matrix-scroll>table>thead th:last-child{width:28px}.m-odds-platform-row>th{position:static;width:72px;min-width:0;padding:0 3px;background:#fff;color:#173c5c;font-size:10px;text-align:center;overflow-wrap:anywhere}.m-odds-platform-row>td{min-width:0;height:64px;padding:0 2px;font-size:10px}.m-odds-platform-row>td>span{display:block;height:28px;padding:0 2px;line-height:28px;white-space:nowrap}.m-odds-platform-row .m-odds-opening{border-left:3px solid #176bc0;color:#52728e}.m-odds-platform-row .m-odds-latest{border-left:3px solid #ee8b19;color:#173c5c;font-weight:900}.m-odds-platform-row>td.m-odds-row-more{width:28px;padding:0;border-right:0}.m-odds-row-more button{width:100%;height:64px;padding:0;border:0;background:transparent;color:#173f60;font-size:24px;line-height:1;cursor:pointer;transition:transform .16s}.m-odds-row-more button[aria-expanded="true"]{transform:rotate(90deg)}.m-odds-platform-detail>td>div{overflow-x:auto}.m-odds-platform-detail table{min-width:360px}
  .m-match-odds-sheet .m-odds-matrix>[data-odds-market-panel]{padding:0 7px}.m-match-odds-sheet .m-odds-matrix-scroll{width:calc(100% - 8px);height:auto!important;min-height:0;margin:0 auto;border:1px solid #aebfce;border-radius:11px;box-shadow:0 2px 7px rgba(23,57,87,.08)}.m-match-odds-sheet .m-odds-matrix-scroll>table{border-collapse:separate;border-spacing:0}.m-match-odds-sheet .m-odds-matrix-scroll>table>thead th{height:32px;border-right:1px solid #bdccd8;border-bottom:1px solid #aebfce}.m-match-odds-sheet .m-odds-matrix-scroll>table>thead th:last-child{border-right:0}.m-match-odds-sheet .m-odds-platform-row>th,.m-match-odds-sheet .m-odds-platform-row>td{height:56px;border-right:1px solid #c5d2dc;border-bottom:1px solid #c5d2dc}.m-match-odds-sheet .m-odds-platform-row>th{width:68px;background:#f9fbfd;font-size:9px}.m-match-odds-sheet .m-odds-platform-row>td{padding:0;background:#fff;font-size:9px}.m-match-odds-sheet .m-odds-platform-row:nth-of-type(4n+3)>:is(th,td){background:#f4f8fb}.m-match-odds-sheet .m-odds-platform-row>td>span{height:27px;padding:0 1px;line-height:27px}.m-match-odds-sheet .m-odds-platform-row .m-odds-opening{border-bottom:1px solid #cbd7e0}.m-match-odds-sheet .m-odds-platform-row>td.m-odds-row-more{width:25px;border-right:0}.m-match-odds-sheet .m-odds-row-more button{height:55px;font-size:21px}.m-match-odds-sheet .m-odds-platform-detail>td{border-bottom:1px solid #aebfce}.m-match-odds-sheet .m-odds-platform-detail table{min-width:330px}
  .m-match-odds-sheet .m-odds-matrix-scroll>table>thead th:first-child{width:54px}.m-match-odds-sheet .m-odds-matrix-scroll>table>thead th:nth-child(2){width:45px}.m-match-odds-sheet .m-odds-platform-row>th{width:54px}.m-match-odds-sheet .m-odds-platform-row>td.m-odds-row-time{width:45px;padding:0 2px;color:#607991;font-variant-numeric:tabular-nums}.m-match-odds-sheet .m-odds-row-time span,.m-match-odds-sheet .m-odds-row-time b{display:block;height:auto;border:0;line-height:16px;white-space:nowrap}.m-match-odds-sheet .m-odds-row-time span{font-size:7px;font-weight:500}.m-match-odds-sheet .m-odds-row-time b{color:#2d526f;font-size:8px}
  .m-match-odds-sheet .m-odds-matrix>[data-odds-market-panel]{padding:0}.m-match-odds-sheet .m-odds-matrix-scroll{width:100%;margin:0}.m-match-odds-sheet .m-odds-platform-row>th,.m-match-odds-sheet .m-odds-platform-row>td{height:64px}.m-match-odds-sheet .m-odds-platform-row>td>span{height:31px;line-height:31px}.m-match-odds-sheet .m-odds-row-more button{height:63px}.m-match-odds-sheet .m-odds-row-time>span{position:relative;display:grid!important;height:31px!important;grid-template-columns:1fr;align-content:center;padding-left:5px!important;border-left:0!important;line-height:11px!important}.m-match-odds-sheet .m-odds-row-time>span:first-child{border-bottom:1px solid #cbd7e0!important}.m-match-odds-sheet .m-odds-row-time small,.m-match-odds-sheet .m-odds-row-time b{display:block;font-size:7px;line-height:10px}.m-match-odds-sheet .m-odds-row-time b{font-size:7.5px}.m-match-odds-sheet .m-odds-platform-row :is(.m-odds-opening,.m-odds-latest){border-left:0}.m-match-odds-sheet .m-odds-platform-row :is(.m-odds-opening,.m-odds-latest):before{content:none}.m-match-odds-sheet .m-odds-row-time>span:before{content:"";position:absolute;top:10px;left:2px;width:2px;height:11px;border-radius:2px;background:#176bc0}.m-match-odds-sheet .m-odds-row-time>span+span:before{background:#ee8b19}.m-odds-matrix-hint span:before{top:5px;bottom:auto;width:2px;height:8px}
  .m-match-odds-sheet .m-odds-row-time>span{display:grid!important;grid-template-columns:4px minmax(0,1fr);gap:2px;align-items:center;align-content:stretch;padding:0 2px!important}.m-match-odds-sheet .m-odds-row-time>span:before{content:none!important}.m-match-odds-sheet .m-odds-row-time>span>i{display:block;width:2px;height:11px;justify-self:center;border-radius:2px;background:#176bc0}.m-match-odds-sheet .m-odds-row-time>span+span>i{background:#ee8b19}.m-match-odds-sheet .m-odds-time-text{display:grid!important;height:100%!important;align-content:center;place-items:center;line-height:10px!important}.m-match-odds-sheet .m-odds-time-text small,.m-match-odds-sheet .m-odds-time-text b{height:auto!important;margin:0;line-height:10px!important}.m-odds-matrix-hint{align-items:center}.m-odds-matrix-hint span{display:flex;align-items:center;padding-left:0}.m-odds-matrix-hint span:before{position:static;display:block;flex:0 0 2px;width:2px;height:8px;margin-right:6px}
  .m-odds-history-popover{position:absolute;z-index:60;inset:0;display:grid;padding:14px;place-items:center}.m-odds-history-backdrop{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;background:rgba(10,31,50,.48);backdrop-filter:blur(2px)}.m-odds-history-popover article{position:relative;display:flex;width:min(100%,480px);max-height:min(70dvh,560px);overflow:hidden;border:1px solid #aebfce;border-radius:15px;background:#f5f8fb;box-shadow:0 14px 38px rgba(7,31,53,.28);flex-direction:column}.m-odds-history-popover article>header{display:flex;min-height:48px;padding:8px 10px 8px 13px;border-bottom:1px solid #c6d4df;background:#fff;align-items:center;justify-content:space-between}.m-odds-history-popover article>header div{display:grid;gap:2px}.m-odds-history-popover article>header b{color:#173f60;font-size:12px}.m-odds-history-popover article>header span{color:#74879a;font-size:9px}.m-odds-history-popover article>header button{width:30px;height:30px;padding:0;border:0;border-radius:50%;background:#e8eff5;color:#315a79;font-size:20px;line-height:30px}.m-odds-history-popover article>div{overflow:auto;padding:9px;-webkit-overflow-scrolling:touch}.m-odds-history-popover table{width:100%;min-width:330px;border-collapse:collapse;background:#fff}.m-odds-history-popover :is(th,td){height:34px;padding:0 6px;border:1px solid #d4e0e9;color:#315a79;font-size:9px;text-align:center;white-space:nowrap}.m-odds-history-popover thead th{position:sticky;top:0;background:#dbe7f0;font-weight:900}.m-odds-history-popover tbody td:not(:first-child){color:#173f60;font-size:10px;font-weight:800}
  .m-match-odds-sheet .m-odds-matrix-scroll>table>thead th:nth-child(2),.m-match-odds-sheet .m-odds-platform-row>td.m-odds-row-time{width:58px}.m-match-odds-sheet .m-odds-time-text small{font-size:6.5px;letter-spacing:-.15px}.m-odds-latest .m-odds-trend{display:inline!important;width:auto;height:auto;margin-left:2px;padding:0;border:0;font-size:7px;font-style:normal;line-height:1;vertical-align:1px}.m-odds-trend.up{color:#c24b40}.m-odds-trend.down{color:#16805b}.m-odds-history-popover article>div{padding:0}.m-odds-history-popover thead th:first-child{width:112px}.m-odds-history-popover tbody td:first-child small,.m-odds-history-popover tbody td:first-child b{display:block;line-height:13px}.m-odds-history-popover tbody td:first-child small{color:#607991;font-size:8px;font-weight:500}.m-odds-history-popover tbody td:first-child b{color:#2d526f;font-size:9px}
  .m-odds-history-popover article>header{min-height:46px;border-bottom:0;background:#dbe7f0}.m-odds-history-popover article>header button{background:rgba(255,255,255,.62)}.m-odds-history-popover article>div{margin:0;border-top:0;background:#fff}.m-odds-history-popover table{margin:0}.m-odds-history-popover thead th{border-top:0;background:#dbe7f0}.m-odds-history-popover thead th:first-child{border-left:0}.m-odds-history-popover thead th:last-child{border-right:0}
  .m-odds-latest .m-odds-trend{display:inline-block!important;width:0;height:0;margin-left:2px;padding:0;border:0;font-size:0;line-height:0;vertical-align:middle;color:#111}.m-odds-latest .m-odds-trend.up{border-right:4px solid transparent;border-bottom:6px solid currentColor;border-left:4px solid transparent;transform:translateY(-4px)}.m-odds-latest .m-odds-trend.down{border-top:6px solid currentColor;border-right:4px solid transparent;border-left:4px solid transparent;transform:translateY(4px)}
  .m-odds-latest .m-odds-trend,.m-odds-latest .m-odds-trend.up,.m-odds-latest .m-odds-trend.down{display:inline!important;width:auto;height:auto;margin-left:3px;padding:0;border:0;transform:none;font-size:10px;font-style:normal;font-weight:950;line-height:1;vertical-align:0;text-shadow:0 1px 0 rgba(255,255,255,.8)}.m-odds-latest .m-odds-trend.up{color:#c7372f}.m-odds-latest .m-odds-trend.down{color:#087a4f}
  .m-match-odds-sheet .m-odds-platform-row .m-odds-latest{position:relative;text-align:center}.m-match-odds-sheet .m-odds-platform-row .m-odds-latest.trend-up,.m-match-odds-sheet .m-odds-latest.trend-up .m-odds-trend.up{color:#087a4f}.m-match-odds-sheet .m-odds-platform-row .m-odds-latest.trend-down,.m-match-odds-sheet .m-odds-latest.trend-down .m-odds-trend.down{color:#c7372f}.m-match-odds-sheet .m-odds-latest .m-odds-trend,.m-match-odds-sheet .m-odds-latest .m-odds-trend.up,.m-match-odds-sheet .m-odds-latest .m-odds-trend.down{position:absolute;top:50%;right:4px;margin:0;transform:translateY(-50%)}.m-match-odds-sheet .m-odds-time-text{width:100%;place-items:start;text-align:left}.m-match-odds-sheet .m-odds-time-text small,.m-match-odds-sheet .m-odds-time-text b{width:100%;text-align:left}
  .m-odds-head,.m-odds-market{display:grid;grid-template-columns:1.1fr repeat(3,1fr);align-items:center;text-align:center}.m-odds-head{min-height:27px;color:#8794a0;font-size:9px}.m-odds-market{min-height:39px;border-top:1px solid #e6ebef;font-size:11px}.m-odds-market b{text-align:left;padding-left:12px}.m-odds-market strong{font-size:13px}.m-odds-market em{font-style:normal;font-weight:800}.m-odds-market em.up{color:#b34d45}.m-odds-market em.down{color:#278267}.m-odds-market em.flat{color:#83909c}.m-odds-time{display:block;padding:7px 11px;border-top:1px solid #e5eaee;color:#8794a0;font-size:8px;text-align:right}
  .m-probability-native{display:grid;gap:10px}.m-model-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.m-model-summary p{margin:0;padding:9px 4px;border:1px solid #d3dde5;border-radius:9px;background:#fff;text-align:center}.m-model-summary span{display:block;color:#8794a0;font-size:8px}.m-model-summary b{display:block;margin-top:4px;color:#173b5e;font-size:12px}
  .m-prob-group{overflow:hidden;border:1px solid #cfdae3;border-radius:12px;background:#fff}.m-prob-group>header{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;background:#e8eef3}.m-prob-group>header b{color:#244761;font-size:12px}.m-prob-group>header span{color:#81909f;font-size:9px}.m-prob-group>div{display:grid;grid-template-columns:minmax(0,1fr) 70px 70px;align-items:center;min-height:38px;padding:0 12px;border-top:1px solid #e5eaee;font-size:11px}.m-prob-group>div span{color:#b06f23;font-weight:900;text-align:right}.m-prob-group>div em{color:#526b80;font-style:normal;text-align:right}.m-panel-empty{padding:32px 14px;border:1px solid #d2dce4;border-radius:12px;background:#fff;color:#748596;font-size:11px;text-align:center}
  .m-probability-pc{display:grid;gap:10px}.m-prob-matrix{overflow:hidden;border:1px solid #aac0d3;border-radius:10px;background:#fff;box-shadow:0 2px 7px rgba(20,57,88,.07)}.m-prob-matrix h3{height:34px;margin:0;padding:0 11px;background:linear-gradient(180deg,#3d719b,#2c608c);color:#fff;font-size:12px;line-height:34px;text-align:right}.m-prob-matrix>div{overflow-x:auto;padding:6px 8px 8px;scrollbar-width:thin;overscroll-behavior-x:contain}.m-prob-matrix table{width:100%;min-width:300px;border-collapse:separate;border-spacing:4px;table-layout:fixed}.m-prob-matrix :is(th,td){height:34px;padding:3px;border:0;border-radius:9px;text-align:center}.m-prob-matrix th{background:#8eabc5;color:#fff;font-size:10px;font-weight:850}.m-prob-matrix td{background:#f9fbfd;box-shadow:inset 0 0 0 1px #cbd9e5;color:#172a3e}.m-prob-matrix td b,.m-prob-matrix td span{display:block;white-space:nowrap}.m-prob-matrix td b{font-size:12px;line-height:15px}.m-prob-matrix td span{color:#2d5c84;font-size:9px;line-height:12px}.m-prob-matrix tbody tr:nth-child(even) td,.m-prob-matrix tbody tr:nth-child(even) th,.m-prob-hc tbody tr:nth-child(even) :is(td,th),.m-prob-ah tbody tr:nth-child(n+3) :is(td,th){background:#d6e3ee}.m-prob-hc{min-width:330px!important}.m-prob-hc th:first-child{width:48px}.m-prob-ah{min-width:430px!important}.m-prob-ah th:first-child{width:44px}.m-prob-wide{min-width:520px!important}.m-prob-wide th:first-child{width:48px}.m-prob-goals{min-width:540px!important}
  .m-match-odds-sheet .m-sheet-content{display:block;overflow-x:hidden;overflow-y:auto;touch-action:pan-y;-webkit-overflow-scrolling:touch}.m-match-odds-sheet .m-sheet-content>[data-sheet-panel]{width:100%;min-width:0}.m-match-odds-sheet .m-sheet-content>[data-sheet-panel="0"]{min-height:100%}.m-match-odds-sheet .m-sheet-content>[data-sheet-panel="1"]{height:auto;min-height:100%;overflow:visible}.m-match-odds-sheet .m-probability-native{display:block;width:100%;min-width:0}.m-match-odds-sheet .m-probability-pc{width:100%;min-width:0;gap:8px;padding-bottom:12px}.m-match-odds-sheet .m-prob-matrix h3{height:29px;padding:0 8px;font-size:10px;line-height:29px}.m-match-odds-sheet .m-prob-matrix>div{width:100%;overflow:hidden;padding:4px}.m-match-odds-sheet .m-prob-matrix table,.m-match-odds-sheet .m-prob-hc,.m-match-odds-sheet .m-prob-ah,.m-match-odds-sheet .m-prob-wide,.m-match-odds-sheet .m-prob-goals{width:100%!important;min-width:0!important;border-spacing:2px;table-layout:fixed}.m-match-odds-sheet .m-prob-matrix :is(th,td){height:30px;padding:1px;border-radius:6px}.m-match-odds-sheet .m-prob-matrix th{font-size:8px}.m-match-odds-sheet .m-prob-matrix td b{font-size:9px;line-height:13px}.m-match-odds-sheet .m-prob-matrix td span{font-size:7px;line-height:10px}.m-match-odds-sheet .m-prob-hc th:first-child,.m-match-odds-sheet .m-prob-ah th:first-child,.m-match-odds-sheet .m-prob-wide th:first-child{width:34px}.m-match-odds-sheet .m-prob-goals :is(th,td){padding-left:0;padding-right:0}.m-match-odds-sheet .m-prob-goals td b{font-size:8px}.m-match-odds-sheet .m-prob-goals td span{font-size:6.5px}
  .m-prob-scores>div{display:grid;gap:6px!important;padding:6px!important}.m-prob-score-group{display:grid;grid-template-columns:46px minmax(0,1fr);gap:4px;align-items:stretch}.m-prob-score-group h4{display:grid;margin:0;border-radius:6px;background:#d6e3ee;color:#315a79;font-size:8px;place-items:center}.m-prob-score-group>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px}.m-prob-score-group button{display:grid;min-width:0;min-height:42px;padding:3px 1px;border:1px solid #cad8e3;border-radius:6px;background:#f8fafc;color:#183b59;place-items:center;-webkit-tap-highlight-color:transparent;touch-action:manipulation;cursor:pointer}.m-prob-score-group button strong{font-size:9px;line-height:11px}.m-prob-score-group button b{font-size:8px;line-height:10px}.m-prob-score-group button span{color:#527595;font-size:6.5px;line-height:8px}.m-prob-score-group button.selected,.m-prob-score-group button[aria-pressed="true"]{border-color:#236c9f;background:#2b6e9e;color:#fff;box-shadow:0 2px 6px rgba(25,78,119,.25)}.m-prob-score-group button.selected span,.m-prob-score-group button[aria-pressed="true"] span{color:#dcecf8}.m-prob-score-group button:focus-visible{outline:2px solid #e4a339;outline-offset:1px}
}

@media(max-width:380px){
  .brand-domain{display:none}
  .surface-toolbar label:not(.toolbar-check){padding:0 6px}
  .surface-toolbar select{max-width:96px}
}

/* 独立手机页面：不展示桌面 iframe、宽表或桌面概率侧栏。 */
.mobile-hub{display:none}
@media(max-width:700px){
  .app-shell{min-height:calc(100dvh - var(--mobile-nav-h) - env(safe-area-inset-bottom))}
  body:has(.mobile-hub:not([hidden])) .surface-toolbar{height:0;min-height:0;padding:0;border:0;overflow:visible;box-shadow:none}
  body:has(.mobile-hub:not([hidden])) .surface-toolbar>:not(.primary-nav){display:none!important}
  .mobile-hub{display:block;min-height:calc(100dvh - var(--mobile-top-h) - var(--mobile-nav-h));padding:0 12px 22px;background:linear-gradient(180deg,#eaf0f6,#f5f7fa 190px)}
  [data-page="/match-center"] .native-monitor-layout,
  [data-page="/database"] .native-database-pane,
  [data-page="/jingcai-data"] .native-database-pane{display:none!important}
  .m-page-head{display:flex;align-items:flex-end;justify-content:space-between;min-height:98px;padding:20px 2px 13px}
  .m-page-head small{display:block;margin-bottom:3px;color:#71849a;font-size:11px;font-weight:700}
  .m-page-head h1{margin:0;color:#173b5e;font-size:25px;line-height:1.1;letter-spacing:-.02em}
  .m-icon-button{display:grid;width:38px;height:38px;place-items:center;border:1px solid #b9c8d7;border-radius:12px;background:rgba(255,255,255,.88);color:#285b86;font-size:21px;font-weight:800;box-shadow:0 3px 12px rgba(26,62,95,.09)}
  .m-filter-strip{display:flex;gap:8px;margin:0 -12px 13px;padding:0 12px 2px;overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain}
  .m-filter-strip::-webkit-scrollbar{display:none}
  .m-filter-strip label{display:flex;flex:0 0 auto;align-items:center;gap:5px;height:38px;padding:0 9px;border:1px solid #c6d2de;border-radius:11px;background:#fff;color:#607287;font-size:11px;font-weight:700}
  .m-filter-strip select{max-width:126px;height:30px;border:0;background:transparent;color:#213d58;font-size:12px;font-weight:800;outline:0}
  .m-filter-strip>button{flex:0 0 auto;height:38px;padding:0 13px;border:1px solid #315f89;border-radius:11px;background:#fff;color:#25567f;font-size:12px;font-weight:850}
  .m-search{display:grid;grid-template-columns:1fr 60px;gap:7px;margin-bottom:10px}
  .m-search input{height:43px;min-width:0;padding:0 13px;border:1px solid #bdcbd9;border-radius:12px;background:#fff;color:#193550;font-size:13px;outline:0;box-shadow:0 2px 8px rgba(33,64,94,.05)}
  .m-search input:focus{border-color:#3674a7;box-shadow:0 0 0 3px rgba(54,116,167,.12)}
  .m-search button{border:0;border-radius:12px;background:linear-gradient(150deg,#3477aa,#245a87);color:#fff;font-weight:850}
  .m-card-list{display:grid;gap:7px}
  .m-status-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin:0 0 11px;padding:4px;border:1px solid #c9d5e0;border-radius:13px;background:#dfe7ef}
  .m-status-tabs button{height:34px;border:0;border-radius:9px;background:transparent;color:#64778a;font-size:11px;font-weight:850}
  .m-status-tabs button.active{background:#fff;color:#1e5684;box-shadow:0 2px 7px rgba(25,58,88,.13)}
  .m-league-group{display:grid;gap:6px}
  .m-league-group+.m-league-group{margin-top:5px}
  .m-league-group>header{display:flex;align-items:center;justify-content:space-between;min-height:27px;padding:1px 4px;color:#244e70}
  .m-league-group>header b{font-size:12px}.m-league-group>header span{color:#8494a5;font-size:10px}
  .m-match-card,.m-data-card{overflow:hidden;border:1px solid #cbd6e0;border-radius:15px;background:#fff;box-shadow:0 4px 16px rgba(25,57,86,.07)}
  .m-card-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px 2px;color:#6b7d90;font-size:10px}
  .m-card-meta span{max-width:56%;overflow:hidden;color:#285476;font-weight:850;text-overflow:ellipsis;white-space:nowrap}
  .m-card-meta time{font-variant-numeric:tabular-nums;white-space:nowrap}
  .m-fixture{display:grid;grid-template-columns:minmax(0,1fr) 64px minmax(0,1fr);align-items:center;gap:7px;min-height:54px;padding:3px 12px 7px;text-align:center}
  .m-fixture>b{color:#172e45;font-size:14px;line-height:1.3;overflow-wrap:anywhere}
  .m-fixture>strong{display:grid;min-height:31px;padding:3px;place-items:center;border-radius:9px;background:#edf3f8;color:#173f64;font-size:13px;font-variant-numeric:tabular-nums}
  .m-card-actions{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #e3e9ef}
  .m-card-actions button,.m-detail-trigger{height:36px;border:0;background:#f8fafc;color:#315a7d;font-size:11px;font-weight:850}
  .m-card-actions button+button{border-left:1px solid #e0e7ed;color:#85580c}
  .m-card-detail{padding:9px;border-top:1px solid #dbe4ec;background:#f3f7fa}
  .m-odds-row{display:grid;grid-template-columns:72px repeat(3,1fr);align-items:center;min-height:47px;border-bottom:1px solid #dce4eb;text-align:center}
  .m-odds-row:last-child{border-bottom:0}.m-odds-row>b{text-align:left;color:#254f71;font-size:11px}
  .m-odds-row span{color:#172f46;font-size:13px;font-weight:900;font-variant-numeric:tabular-nums}.m-odds-row small{display:block;margin-bottom:2px;color:#8594a5;font-size:9px;font-weight:600}
  .m-detail-trigger{display:flex;width:100%;align-items:center;justify-content:space-between;padding:0 13px;border-top:1px solid #e2e8ee;text-align:left}
  .m-detail-trigger span{font-size:20px;font-weight:400}
  .m-data-detail{padding:5px 10px 11px;border-top:1px solid #dce4eb;background:#f5f8fb}
  .m-public-id{margin:6px 2px 8px;color:#738499;font-size:10px;overflow-wrap:anywhere}
  .m-field-group{margin-top:7px;overflow:hidden;border:1px solid #d0dbe5;border-radius:10px;background:#fff}
  .m-field-group summary{display:flex;align-items:center;justify-content:space-between;height:38px;padding:0 10px;color:#254e70;font-size:12px;font-weight:850;list-style:none}
  .m-field-group summary::-webkit-details-marker{display:none}.m-field-group summary span{color:#8797a8;font-size:10px}
  .m-field-group>div{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #e1e7ed}
  .m-field-group p{min-width:0;margin:0;padding:8px 9px;border-right:1px solid #e4e9ef;border-bottom:1px solid #e4e9ef}
  .m-field-group p:nth-child(even){border-right:0}.m-field-group p span{display:block;margin-bottom:3px;color:#8190a0;font-size:9px}.m-field-group p b{display:block;color:#20384f;font-size:11px;line-height:1.35;overflow-wrap:anywhere}
  .m-state,.m-empty{display:grid;min-height:220px;place-items:center;align-content:center;gap:7px;color:#6e8093;text-align:center}.m-state i{width:28px;height:28px;border:3px solid #c8d6e3;border-top-color:#2f6c9d;border-radius:50%;animation:m-spin .8s linear infinite}.m-state b{color:#284965}.m-state span{font-size:11px}.m-state button{height:36px;margin-top:7px;padding:0 15px;border:0;border-radius:10px;background:#2b6494;color:#fff;font-weight:800}.m-error b{color:#a53e45}.m-muted{margin:10px;color:#73869a;font-size:11px;text-align:center}@keyframes m-spin{to{transform:rotate(1turn)}}
  .m-inline-state{position:relative;z-index:8;display:flex;min-height:32px;margin:8px 14px;padding:6px 10px;align-items:center;justify-content:center;gap:7px;border:0;border-radius:9px;background:transparent;color:#627b91;font-size:12px;box-shadow:none}.m-inline-state i{width:13px;height:13px;border:2px solid #b8c9d7;border-top-color:#2f78ad;border-radius:50%;animation:m-spin .8s linear infinite}.m-inline-state button{height:28px;padding:0 11px;border:1px solid #afc2d3;border-radius:8px;background:#f7fafc;color:#245b83;font-weight:700}.m-inline-error{color:#a53e45}
  body.m-sheet-open{overflow:hidden}
  .m-sheet{position:fixed;z-index:1500;inset:0 0 calc(var(--mobile-nav-h) + env(safe-area-inset-bottom)) 0;display:grid;align-items:end}
  body.m-sheet-open .m-sheet{bottom:calc(var(--mobile-nav-h) + env(safe-area-inset-bottom))!important;max-height:calc(100dvh - var(--mobile-nav-h) - env(safe-area-inset-bottom))}
  body.m-sheet-open .primary-nav.mobile-primary-nav{display:grid!important;z-index:2147483000!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;isolation:isolate}
  .m-sheet-backdrop{position:absolute;inset:0;background:rgba(8,24,40,.42);backdrop-filter:blur(2px)}
  .m-sheet-panel{position:relative;display:flex;width:100%;height:94dvh;max-height:100%;min-height:0;flex-direction:column;border-radius:20px 20px 0 0;background:#f4f7fa;box-shadow:0 -16px 50px rgba(7,25,43,.28);overflow:hidden;animation:m-sheet-up .2s ease-out}
  .m-sheet-panel>header{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:8px;min-height:68px;padding:9px 12px;border-bottom:1px solid #d6e0e8;background:#fff}
  .m-sheet-panel>header>button{width:38px;height:38px;border:0;border-radius:12px;background:#edf2f7;color:#204f76;font-size:28px;line-height:1}
  .m-sheet-panel h2{margin:0;overflow:hidden;color:#17344f;font-size:15px;text-overflow:ellipsis;white-space:nowrap}.m-sheet-panel header small{display:block;margin-top:4px;overflow:hidden;color:#7b8c9e;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
  .m-sheet-tabs{display:flex;flex:0 0 47px;gap:5px;padding:6px 10px;border-bottom:1px solid #d9e2ea;background:#fff;overflow-x:auto;scrollbar-width:none}.m-sheet-tabs::-webkit-scrollbar{display:none}
  .m-sheet-tab-buttons{display:flex;flex:1;min-width:0;gap:5px}
  .m-sheet-tabs button{flex:1 0 72px;border:0;border-radius:9px;background:#f0f4f7;color:#64778b;font-size:11px;font-weight:850}.m-sheet-tabs button.active{background:#245d8c;color:#fff}
  .m-match-detail-sheet .m-sheet-tabs-with-meta{position:relative;align-items:stretch;overflow:hidden}
  .m-match-detail-sheet .m-sheet-tabs-meta{display:grid;min-width:0;flex:1;align-content:center;gap:1px;overflow:hidden;color:#718699;font-size:9px;line-height:1.1;white-space:nowrap}
  .m-match-detail-sheet .m-sheet-tabs-details{display:grid;min-width:0;align-content:center;gap:1px;overflow:hidden}
  .m-match-detail-sheet .m-sheet-tabs-league{display:flex;width:100%;min-width:0;max-width:100%;align-items:center;justify-content:flex-start;gap:0;margin:0;padding:0;overflow:hidden;border:0;background:transparent;color:#274e6e;font:inherit;font-weight:800;text-align:left;cursor:pointer}
  .m-match-detail-sheet .m-sheet-tabs-league>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis}
  .m-match-detail-sheet .m-sheet-tabs-league .m-inline-league-arrow{flex:0 0 auto;transform:translateY(-3px)}
  .m-match-detail-sheet .m-sheet-tabs-subline{display:flex;min-width:0;align-items:center;gap:5px;overflow:hidden}
  .m-match-detail-sheet .m-sheet-tabs-subline span{min-width:0;overflow:hidden;font-weight:800;text-overflow:ellipsis}
  .m-match-detail-sheet .m-sheet-tabs-subline b{flex:0 0 auto;color:#2d6c94;font-size:9px;font-weight:800}
  .m-match-detail-sheet .m-sheet-tab-buttons{flex:0 0 auto;justify-content:flex-end}
  .m-match-detail-sheet .m-sheet-tab-buttons button{width:50px;max-width:50px;min-width:0;flex:0 0 50px}
  .m-match-detail-sheet .m-sheet-tab-buttons button.m-sheet-tab-wide{width:64px;max-width:64px;flex-basis:64px}
  .m-sheet-content{flex:1;min-height:0;padding:12px;overflow-y:auto;overscroll-behavior:contain}
  .m-sheet-content>[hidden]{display:none!important}
  .m-detail-score{display:grid;grid-template-columns:minmax(0,1fr) 76px minmax(0,1fr);align-items:center;gap:8px;min-height:100px;padding:15px 10px;border:1px solid #cbd7e2;border-radius:15px;background:#fff;text-align:center}.m-detail-score b{font-size:15px;overflow-wrap:anywhere}.m-detail-score strong{display:grid;height:46px;place-items:center;border-radius:13px;background:#e8f0f7;color:#163f64;font-size:18px}
  .m-summary-grid,.m-sheet-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
  .m-summary-grid p,.m-sheet-fields p{min-width:0;margin:0;padding:11px;border:1px solid #d2dde7;border-radius:11px;background:#fff}.m-summary-grid span,.m-sheet-fields span{display:block;margin-bottom:4px;color:#8191a2;font-size:9px}.m-summary-grid b,.m-sheet-fields b{display:block;color:#203a52;font-size:11px;line-height:1.4;overflow-wrap:anywhere}
  .m-sheet-odds{overflow:hidden;border:1px solid #ccd8e2;border-radius:13px;background:#fff;padding:5px 10px}
  .m-probability-entry{padding:20px;border:1px solid #cbd8e3;border-radius:15px;background:#fff;text-align:center}.m-probability-entry b{color:#193f62;font-size:16px}.m-probability-entry p{color:#718397;font-size:11px;line-height:1.55}.m-probability-entry button{width:100%;height:42px;margin-top:8px;border:0;border-radius:11px;background:linear-gradient(145deg,#3377ab,#225985);color:#fff;font-weight:900}
  .m-vip-locked{position:relative;display:block;min-height:62dvh;overflow:hidden;border:1px solid #d5e0e8;border-radius:15px;background:#eef3f6}
  .m-vip-blurred{padding:0;filter:blur(1.6px);opacity:.82;pointer-events:none;user-select:none}
  .m-vip-lock-button{position:absolute;z-index:2;top:160px;left:50%;display:grid;width:58px;height:58px;padding:0;place-items:center;transform:translate(-50%,-50%);border:0;border-radius:50%;outline:0;background:#1f5f8f;box-shadow:0 5px 18px rgba(15,48,74,.3);cursor:pointer;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent}
  .m-vip-lock-button:focus,.m-vip-lock-button:focus-visible,.m-vip-lock-button:active{border-radius:50%;outline:0;background:#1f5f8f;box-shadow:0 5px 18px rgba(15,48,74,.3)}
  .m-vip-lock-button svg{display:block;width:27px;height:30px;overflow:visible;fill:none;stroke:#fff;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
  .m-vip-dialog{position:fixed;z-index:10020;inset:0;display:grid;padding:18px;place-items:center}.m-vip-dialog-backdrop{position:absolute;inset:0;border:0;background:rgba(18,39,57,.48)}
  .m-vip-dialog article{position:relative;display:grid;width:min(290px,calc(100vw - 36px));gap:18px;padding:27px 18px 18px;border:1px solid #b9cad8;border-radius:15px;background:#f4f7fa;box-shadow:0 12px 34px rgba(14,39,60,.3);place-items:center;text-align:center}.m-vip-dialog article b{color:#183d5e;font-size:15px}.m-vip-dialog article>button[data-vip-action]{width:6em;height:42px;padding:0;border:0;border-radius:10px;background:#276b9e;color:#fff;font-size:13px;font-weight:900}.m-vip-dialog article>.m-vip-dialog-close{position:absolute;top:8px;right:9px;width:25px;height:25px;padding:0;border:0;border-radius:50%;outline:0;background:transparent;color:#527087;font-size:20px;line-height:25px;box-shadow:none;-webkit-tap-highlight-color:transparent}
  .m-vip-overview-empty{display:grid;min-height:120px;place-items:center;color:#718699;font-size:11px}
  @keyframes m-sheet-up{from{transform:translateY(28px);opacity:.75}to{transform:none;opacity:1}}
}
/* 赔率质量详情使用独立结构，避免被数据库比赛目录的通用 div 弹性布局拉散。 */
.identity-odds-quality-detail{display:block;margin:0;border:1px solid #4d7899;border-radius:7px;background:#20384c;color:#d9e7f2;overflow:hidden}.identity-odds-quality-detail>header{display:grid;gap:4px;padding:12px 14px;border-bottom:1px solid #45657e;background:#29475f}.identity-odds-quality-detail>header strong{color:#82c8f2;font-size:15px}.identity-odds-quality-detail>header small{color:#d8e6f1;font-size:12px}.identity-odds-quality-detail>section{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px}.identity-odds-quality-field{display:grid!important;align-content:start!important;gap:4px!important;min-width:0;padding:9px;border:1px solid #435d72;border-radius:5px;background:#182a39}.identity-odds-quality-field b{color:#75b9e8;font-size:11px}.identity-odds-quality-field span{display:block!important;min-width:0;color:#d8e3ed!important;font-size:12px;line-height:1.45;overflow-wrap:anywhere}.identity-odds-quality-actions{display:grid!important;grid-template-columns:1fr!important;gap:7px!important;padding:0 12px 12px}.identity-odds-quality-actions button{width:100%;padding:9px;border:1px solid #527796;border-radius:5px;background:#29475f;color:#e6f1fa;font-weight:800;cursor:pointer}.identity-odds-quality-actions button:hover{border-color:#75b9e8;background:#356184}@media(max-width:760px){.identity-odds-quality-detail>section{grid-template-columns:1fr}}
.legacy-profile-avatar,.legacy-avatar-choice i{background-size:500% 200%}
.account-shell[data-authenticated="1"] .account-entry i,.account-shell[data-authenticated="1"] .account-dropdown-head>i{background-color:transparent!important;background-image:var(--avatar-sheet)!important;background-size:500% 200%!important;background-position:var(--avatar-x) var(--avatar-y)!important;background-repeat:no-repeat!important}
.legacy-profile-avatar,.legacy-avatar-choice i{background-size:cover;background-position:center}.account-shell[data-authenticated="1"] .account-entry i,.account-shell[data-authenticated="1"] .account-dropdown-head>i{background-size:cover!important;background-position:center!important}
.legacy-profile-avatar,.legacy-avatar-choice i{background-size:116% 116%;background-position:center}.account-shell[data-authenticated="1"] .account-entry i,.account-shell[data-authenticated="1"] .account-dropdown-head>i{background-size:116% 116%!important;background-position:center!important}
.legacy-profile-avatar,.legacy-avatar-choice,.legacy-avatar-choice i{background-color:#f7f7f6}.legacy-profile-avatar,.legacy-avatar-choice i{background-size:100% 100%;background-position:center}.account-shell[data-authenticated="1"] .account-entry i,.account-shell[data-authenticated="1"] .account-dropdown-head>i{background-color:#f7f7f6!important;background-size:100% 100%!important;background-position:center!important}
.mobile-account-summary,.mobile-account-dashboard,.mobile-account-back,.mobile-account-account-logout{display:none}
.api-plug-icon{display:inline-block;position:relative;width:22px;height:22px;flex:0 0 22px;border-radius:50%;background:transparent!important;color:#ff0a59!important;font-size:0!important;transform:rotate(-42deg)}
.export-confirm-row:has([data-export-available]),.export-confirm-row:has([data-export-cost]),.export-confirm-row:has([data-export-remaining]){display:none}
.api-plug-icon:before{position:absolute;top:7px;left:4px;width:11px;height:8px;border-radius:4px 4px 6px 6px;background:#ff0a59;content:""}
.api-plug-icon:after{position:absolute;top:3px;left:7px;width:8px;height:6px;border-top:3px solid #ff0a59;border-right:3px solid #ff0a59;border-radius:2px;content:""}
.api-settings-pane{max-width:860px}.api-settings-pane>header h2{display:flex;align-items:center;gap:8px}.api-intro,.api-endpoint-card,.api-token-list,.api-docs{margin-top:14px;padding:17px;border:1px solid #dce4eb;border-radius:12px;background:#fff}.api-intro b{color:#173b5e;font-size:15px}.api-intro p{margin:8px 0 0;color:#607489;font-size:12px;line-height:1.65}.api-endpoint-card{display:grid;gap:7px;background:#f6f9fb}.api-endpoint-card span,.api-endpoint-card small{color:#718397;font-size:10px}.api-endpoint-card code{color:#173f64;font-size:14px;font-weight:800;overflow-wrap:anywhere}.api-token-toolbar{display:flex;align-items:center;gap:12px;margin-top:15px}.api-token-toolbar button{height:38px;padding:0 16px;border:0;border-radius:9px;background:#245f90;color:#fff;font-weight:800}.api-token-toolbar span{color:#73869a;font-size:10px}.api-token-list article{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid #edf1f4}.api-token-list article:last-child{border-bottom:0}.api-token-list article div{display:grid;gap:4px}.api-token-list small{color:#7d8d9c;font-size:10px}.api-token-list button{height:30px;padding:0 11px;border:1px solid #e0aeb5;border-radius:7px;background:#fff;color:#b13c48}.api-inline-state,.api-empty,.api-error{margin:0;color:#6d8194;font-size:11px}.api-error{color:#b13c48}.api-docs summary{color:#245f90;font-size:12px;font-weight:800;cursor:pointer}.api-docs pre{padding:12px;overflow:auto;border-radius:8px;background:#10283d;color:#eaf4fb;font-size:10px;line-height:1.6}.api-docs p{color:#607489;font-size:10px;line-height:1.6}
@media(max-width:700px){.api-settings-pane{padding:0 12px 28px}.api-settings-pane>header{padding:12px 0}.api-settings-pane>header h2{font-size:20px}.api-token-toolbar{align-items:flex-start;flex-direction:column}.api-intro,.api-endpoint-card,.api-token-list,.api-docs{margin-top:10px;padding:13px}.mobile-account-dashboard .api-plug-icon{width:30px;height:30px;background:#ff0a59!important}.mobile-account-dashboard .api-plug-icon:before{top:10px;left:7px;background:#fff}.mobile-account-dashboard .api-plug-icon:after{top:6px;left:10px;border-color:#fff}}
@media(max-width:700px){
  body:has([data-page="/user-center"]:not([hidden])) #route-root{width:100%;margin:0;padding:0}
  [data-page="/user-center"]{min-height:calc(100dvh - var(--mobile-top-h) - var(--mobile-nav-h));padding:0!important;background:#eef2f6!important}
  .native-account-layout:has(.account-profile-home){display:block;width:100%;min-height:100%;border:0;border-radius:0;box-shadow:none}
  .native-account-layout:has(.account-profile-home) .native-account-sidebar{display:none}
  .native-account-layout:has(.account-profile-home) .native-account-main{padding:0;background:#eef2f6}
  .account-profile-home{width:100%;max-width:none;margin:0}
  .account-profile-home>h2{display:none}
  .account-profile-home>.legacy-profile-card{display:flex;position:relative;min-height:258px;flex-direction:column;align-items:center;padding:19px 16px 16px;border:0;border-radius:0;background:radial-gradient(circle at 84% 8%,rgba(85,154,211,.4),transparent 34%),linear-gradient(145deg,#12385f,#174f7c 64%,#0e2f52);box-shadow:none;color:#fff;overflow:visible}
  .account-profile-home .legacy-settings-row{display:flex;width:100%;min-height:0;justify-content:center;padding:0;border:0}
  .account-profile-home .legacy-avatar-row>span,.account-profile-home .mobile-account-name>span,.account-profile-home .mobile-account-email>span{display:none}
  .account-profile-home .legacy-avatar-row{height:83px;align-items:center}
  .account-profile-home .legacy-profile-avatar{width:76px;height:76px;margin:0;border:3px solid rgba(255,255,255,.92);box-shadow:0 8px 22px rgba(3,23,43,.28)}
  .account-profile-home .legacy-profile-avatar span{font-size:10px}
  .account-profile-home .mobile-account-name{margin-top:9px}
  .account-profile-home .mobile-account-name>b{color:#fff;font-size:18px;font-weight:850;text-align:center}
  .account-profile-home .mobile-account-email{margin-top:4px}
  .account-profile-home .mobile-account-email>b{color:#c8d9e8;font-size:10px;font-weight:500;text-align:center}
  .account-profile-home .legacy-avatar-picker{box-sizing:border-box;position:absolute;top:105px;right:10px;left:10px;z-index:80;width:auto;max-height:270px;margin:0;padding:10px 13px 10px 10px;align-content:start;overflow-x:hidden;overflow-y:auto;border:1px solid rgba(207,220,231,.9);border-radius:14px;background:#f7f9fb;box-shadow:0 13px 30px rgba(7,31,54,.28);scrollbar-width:thin;scrollbar-color:rgba(91,116,137,.58) transparent;scrollbar-gutter:stable;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
  .account-profile-home .legacy-avatar-picker::-webkit-scrollbar{width:3px}.account-profile-home .legacy-avatar-picker::-webkit-scrollbar-track{margin:12px 0;background:transparent}.account-profile-home .legacy-avatar-picker::-webkit-scrollbar-thumb{border-radius:8px;background:rgba(91,116,137,.58)}
  .account-profile-home .mobile-account-summary{display:grid;width:100%;margin-top:auto;grid-template-columns:1fr;gap:0}
  .account-profile-home .mobile-account-summary>div:not(.member-type-only){display:none}
  .mobile-account-summary>div{display:grid;justify-items:center;gap:4px;color:#fff}
  .mobile-account-summary>div+div{border-left:1px solid rgba(255,255,255,.17)}
  .mobile-account-summary b{max-width:100%;overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}
  .mobile-account-summary span{color:#aebfd0;font-size:9px}
  .mobile-account-dashboard{display:grid;gap:10px;padding:12px 10px calc(var(--mobile-nav-h) + 18px)}
  .mobile-account-dashboard section{overflow:hidden;border:1px solid #dde5ec;border-radius:15px;background:#fff;box-shadow:0 3px 11px rgba(29,56,82,.05)}
  .mobile-account-dashboard button,.mobile-account-dashboard a{display:grid;width:100%;height:54px;grid-template-columns:34px minmax(0,1fr) 18px;align-items:center;gap:10px;padding:0 14px;border:0;border-bottom:1px solid #edf0f3;background:#fff;color:#17324e;text-decoration:none;text-align:left;font:700 13px/1 "Microsoft YaHei UI","PingFang SC",sans-serif;cursor:pointer}
  .mobile-account-dashboard section>:last-child{border-bottom:0}
  .mobile-account-dashboard button.active{box-shadow:inset 3px 0 #2775ad;background:#edf4fa;color:#123d61}
  .mobile-account-dashboard i{display:grid;width:30px;height:30px;place-items:center;border-radius:50%;color:#fff;font-size:11px;font-style:normal;font-weight:900}
  .mobile-account-dashboard b{color:#45627b;font-size:24px;font-weight:400;text-align:right}
  .account-menu-profile{background:#315f8c}.account-menu-blue{background:#4388c5}.account-menu-gold{background:#dda83f}.account-menu-green{background:#43b77a}
  .mobile-account-dashboard .mobile-account-logout{color:#bd3945}.mobile-account-dashboard .mobile-account-logout i{background:#d65a63}
  .mobile-account-account-logout{display:block;width:100%;height:44px;margin-top:12px;border:1px solid #e4b5ba;border-radius:10px;background:#fff;color:#bd3945;font-weight:800}
  .native-account-sidebar .native-account-back,.native-account-sidebar .native-account-support{display:none}
}
/* 手机比赛顶栏最终基线：品牌底线一致，标题与头像垂直居中。 */
@media(max-width:700px){
  body.mobile-match-active .topbar{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;padding-top:0;padding-bottom:0}
  body.mobile-match-active .topbar .brand,body.mobile-menu-active .topbar .brand{display:flex;min-width:0;height:48px;align-items:center;align-self:center;gap:6px}
  body.mobile-match-active .brand-title,body.mobile-match-active .brand-domain,body.mobile-menu-active .brand-title,body.mobile-menu-active .brand-domain{display:flex;height:22px;align-items:flex-end;padding:0 0 2px;line-height:1}
  body.mobile-match-active .brand-title,body.mobile-menu-active .brand-title{font-size:18px}body.mobile-match-active .brand-domain,body.mobile-menu-active .brand-domain{font-size:9px}
  body.mobile-match-active .m-merged-match-topbar{display:flex;height:48px;align-items:center;align-self:center;justify-content:center}
  body.mobile-match-active .m-merged-match-topbar b{display:block;line-height:1}
  body.mobile-match-active .account-shell,body.mobile-match-active .account-shell .account-entry,body.mobile-menu-active .account-shell,body.mobile-menu-active .account-shell .account-entry{height:48px;align-items:center;align-self:center}
  body.mobile-match-active .account-shell .account-entry i,body.mobile-menu-active .account-shell .account-entry i{align-self:center;margin-top:0;margin-bottom:0}
  .primary-nav.mobile-primary-nav{position:fixed!important;inset:auto 0 0 0!important;z-index:500000!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;width:100%!important;max-width:100%!important;height:calc(var(--mobile-nav-h) + env(safe-area-inset-bottom))!important;margin:0!important;padding:0 4px env(safe-area-inset-bottom)!important;border:0!important;border-top:1px solid #aebdcb!important;border-radius:0!important;background:rgba(250,252,254,.98)!important;box-shadow:0 -5px 20px rgba(15,46,85,.18)!important;overflow:hidden!important;transform:none!important}
  .primary-nav.mobile-primary-nav>a{min-height:48px!important;gap:1px!important;padding:1px 2px!important}
  .primary-nav.mobile-primary-nav>a{width:100%!important;min-width:0!important;margin:0!important}
  body.mobile-match-active .account-shell:not([data-authenticated="1"]) .account-entry{height:30px;align-self:center;padding:0 10px;border-radius:8px;font-size:12px}
  body.mobile-match-active .account-shell:not([data-authenticated="1"]) .account-register{display:none}
}
/* 足球单项目手机顶栏不再显示页面标题；日期栏压缩为原高度的四分之三并铺满屏幕。 */
@media(max-width:700px){
  body.mobile-match-active .topbar{grid-template-columns:minmax(0,1fr) auto}
  body.mobile-match-active .m-merged-match-topbar{display:none!important}
  [data-mobile-hub="matches"] .m-date-strip{position:sticky;top:var(--mobile-top-h);z-index:85;display:grid;width:100%;min-height:35px;height:35px;padding:0;grid-template-columns:52px repeat(7,minmax(0,1fr));overflow:hidden}
  [data-mobile-hub="matches"] .m-date-strip button{min-width:0;height:35px;gap:2px;padding:0}
  [data-mobile-hub="matches"] .m-date-strip button.active:after{right:18%;left:18%}
  [data-mobile-hub="matches"] .m-date-strip .m-date-tool{position:relative;display:grid;height:35px;margin:0;align-content:center;gap:1px;border:0;color:#315a7d;text-align:center}
  [data-mobile-hub="matches"] .m-date-strip .m-date-tool::before{position:absolute;top:12.5%;right:0;bottom:12.5%;width:1px;background:#dbe2e8;content:""}
  [data-mobile-hub="matches"] .m-date-strip .m-date-tool small{font-size:9px;line-height:11px}
  [data-mobile-hub="matches"] .m-date-strip .m-date-tool b{font-size:10px;line-height:13px}
  .m-source-picker{position:fixed;inset:0;z-index:170}.m-source-picker-backdrop{position:absolute;inset:0;width:100%;border:0;background:rgba(18,42,65,.08)}
  .m-source-picker article{position:absolute;top:calc(var(--mobile-top-h) + 40px);left:6px;width:210px;padding:7px;border:1px solid #cfdae4;border-radius:12px;background:#fff;box-shadow:0 8px 24px rgba(22,53,80,.18)}
  .m-source-picker header{display:flex;height:27px;align-items:center;justify-content:space-between;padding:0 3px 4px}.m-source-picker header>b{color:#173b5e;font-size:11px}.m-source-picker header>button{width:23px;height:23px;border:0;border-radius:50%;background:#edf3f7;color:#315a7d;font-size:15px;line-height:23px}
  .m-source-picker article>div{display:grid;gap:4px}.m-source-picker [data-m-source-choice]{display:flex;align-items:center;justify-content:space-between;height:34px;padding:0 10px;border:1px solid #d7e0e7;border-radius:8px;background:#f8fafc;color:#244f73;text-align:left}.m-source-picker [data-m-source-choice] b{font-size:10px}.m-source-picker [data-m-source-choice] i{font-size:13px;font-style:normal}.m-source-picker [data-m-source-choice].active{border-color:#2c6f9f;background:#eaf3fa;color:#174f7c}
  body.mobile-match-active .account-shell{position:absolute;top:0;right:12px;bottom:auto;left:auto;z-index:110;margin:0}
  .m-match-view-switch{display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:5px;min-height:46px;padding:6px 10px;border-bottom:1px solid #d5dee6;background:#f8fafc}
  .m-match-view-switch button{height:34px;padding:0 13px;border:1px solid #c5d2de;border-radius:9px;background:#fff;color:#64778a;font-size:11px;font-weight:850}
  .m-match-view-switch button.active{border-color:#2e628d;background:#eaf1f7;color:#173f62}
  .m-match-view-switch>span{justify-self:end;color:#7b8c9d;font-size:10px;white-space:nowrap}
  .m-league-directory{display:grid;gap:7px;padding:9px 10px 15px;background:#eef2f6}
  .m-league-directory-row{display:grid;grid-template-columns:18px minmax(0,1fr) 30px 18px;column-gap:7px;align-items:center;min-height:52px;padding:0 13px;border:1px solid #d7e0e7;border-radius:14px;background:#fff;color:#17334c;text-align:left;box-shadow:0 2px 7px rgba(31,61,88,.04)}
  .m-league-directory-row b{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.m-league-directory-row span{color:#8997a5;font-size:10px;text-align:right}.m-league-directory-row em{color:#526c83;font-size:20px;font-style:normal;text-align:right}
  .m-directory-league-badge{display:block;width:18px;height:18px;min-width:18px;object-fit:contain;justify-self:center}
  .m-directory-league-badge.is-empty{visibility:hidden}
  .m-upcoming-list{display:block;padding-top:7px}.m-upcoming-list .m-score-row{background:#fff}
  .m-selected-league{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:7px;min-height:38px;padding:0 10px;background:#e5ebf1;color:#244761}
  .m-selected-league button{height:28px;padding:0 8px;border:0;border-radius:7px;background:#fff;color:#315d80;font-size:10px;font-weight:800}.m-selected-league b{overflow:hidden;font-size:11px;text-align:center;text-overflow:ellipsis;white-space:nowrap}.m-selected-league span{font-size:9px}
  .primary-nav .mobile-view-entry{display:flex!important}
  body.mobile-match-active #route-root,body.mobile-match-active [data-page="/match-center"],body.mobile-match-active [data-mobile-hub="matches"]{width:100%!important;max-width:none!important;margin-right:0!important;margin-left:0!important;padding-right:0!important;padding-left:0!important}
  [data-mobile-hub="matches"] .m-league-directory{gap:5px;padding:10px 8px 15px}
  [data-mobile-hub="matches"] .m-league-directory-row{min-height:39px;border:1px solid #d7e0e7;border-radius:12px;box-shadow:0 2px 7px rgba(31,61,88,.05)}
  [data-mobile-hub="matches"] .m-upcoming-list{padding:10px 8px 15px;background:#eef2f6}
  [data-mobile-hub="matches"] .m-upcoming-list .m-score-row{min-height:54px;margin:0 0 5px;border:1px solid #d7e0e7;border-radius:12px;box-shadow:0 2px 7px rgba(31,61,88,.05)}
  [data-mobile-hub="matches"] .m-upcoming-list .m-selected-league{margin-bottom:5px;border-radius:10px}
}
.mobile-view-entry{display:none!important}
/* 手机统一顶栏：品牌、当前菜单、用户头像三段居中；游客也显示会话内稳定的随机头像。 */
@media(max-width:700px){
  body.mobile-menu-active .topbar,body.mobile-match-active .topbar{display:grid!important;width:100vw!important;max-width:100vw!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;align-items:center!important;height:var(--mobile-top-h)!important;padding:0 12px!important}
  body.mobile-menu-active .topbar .brand{justify-self:start;min-width:0;height:var(--mobile-top-h);align-items:center}
  .m-mobile-menu-title{grid-column:2;justify-self:center;color:#fff;font-size:13.5px;font-weight:900;line-height:1;white-space:nowrap}
  body.mobile-menu-active .account-shell,body.mobile-match-active .account-shell{position:static!important;grid-column:3;justify-self:end!important;height:var(--mobile-top-h)!important;margin:0!important}
  body.mobile-menu-active .account-shell .account-entry,body.mobile-match-active .account-shell .account-entry{min-width:32px;justify-content:flex-end}
  body.mobile-menu-active .account-shell:not([data-authenticated="1"]) .account-entry,body.mobile-match-active .account-shell:not([data-authenticated="1"]) .account-entry{width:32px;height:32px!important;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;font-size:0}
  body.mobile-menu-active .account-shell:not([data-authenticated="1"]) .account-entry>span{display:none!important}
  body.mobile-menu-active .account-shell .account-entry i,body.mobile-match-active .account-shell .account-entry i{display:block!important;width:22px!important;height:22px!important;flex:0 0 22px!important;margin:0!important}
  body.mobile-menu-active .account-shell:not([data-authenticated="1"]) .account-entry i{border:1px solid rgba(255,255,255,.38);box-shadow:0 2px 7px rgba(4,25,48,.25)}
  .account-entry i[data-guest-avatar="0"]{background:linear-gradient(145deg,#f08ca9,#8664cc)}
  .account-entry i[data-guest-avatar="1"]{background:linear-gradient(145deg,#58c5c7,#3977c5)}
  .account-entry i[data-guest-avatar="2"]{background:linear-gradient(145deg,#f2b45f,#df6f75)}
  .account-entry i[data-guest-avatar="3"]{background:linear-gradient(145deg,#8cc96a,#3a9e91)}
  .account-entry i[data-guest-avatar="4"]{background:linear-gradient(145deg,#b985e3,#685bc5)}
  .account-entry i[data-guest-avatar="5"]{background:linear-gradient(145deg,#68b7e8,#5d72d2)}
}
/* 左侧品牌保持原位，仅校准中间菜单文字的可见底边。 */
@media(max-width:700px){.m-mobile-menu-title{transform:translateY(2px)}}
@media(max-width:700px){
  /* 触屏端点击头像直接进入用户后台，禁止桌面 hover/focus 菜单残留遮挡页面。 */
  .account-shell .account-dropdown{display:none!important}
}
/* 手机底栏：线框与实心图标共用同一 25px 定位盒，切换激活态时不发生跳位。 */
@media(max-width:700px){
  .primary-nav.mobile-primary-nav>a::before{content:""!important;display:block!important;width:25px!important;height:25px!important;min-width:25px!important;min-height:25px!important;flex:0 0 25px!important;margin:0!important;border:0!important;border-radius:0!important;background-color:transparent!important;background-repeat:no-repeat!important;background-position:center!important;background-size:25px 25px!important;box-shadow:none!important;transform:none!important}
  .primary-nav.mobile-primary-nav>a[data-mobile-view="leagues"]::before{background-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23526d84' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'><path d='M7 3h10v2h4v2a6 6 0 0 1-5.1 5.93A5.04 5.04 0 0 1 13 15.9V18h3v3H8v-3h3v-2.1a5.04 5.04 0 0 1-2.9-2.97A6 6 0 0 1 3 7V5h4V3Zm0 4H5a4 4 0 0 0 2.3 3.62A8.7 8.7 0 0 1 7 8.3V7Zm10 0v1.3c0 .81-.1 1.59-.3 2.32A4 4 0 0 0 19 7h-2Z'/></svg>")}
  .primary-nav.mobile-primary-nav>a[data-mobile-view="upcoming"]::before{background-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23526d84' stroke-width='1.45' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='8.5'/><path d='M12 7v5l3 2'/></svg>")}
  .primary-nav.mobile-primary-nav>a[data-route="/database"]::before{background-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23526d84' stroke-width='1.45'><ellipse cx='12' cy='5.5' rx='7.5' ry='3'/><path d='M4.5 5.5v6c0 1.7 3.4 3 7.5 3s7.5-1.3 7.5-3v-6M4.5 11.5v6c0 1.7 3.4 3 7.5 3s7.5-1.3 7.5-3v-6'/></svg>")}
  .primary-nav.mobile-primary-nav>a[data-route="/jingcai-data"]::before{background-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23526d84' stroke-width='1.45' stroke-linejoin='round'><path d='M4 20h16'/><rect x='5' y='12' width='3' height='6'/><rect x='10.5' y='8' width='3' height='10'/><rect x='16' y='4' width='3' height='14'/></svg>")}
  .primary-nav.mobile-primary-nav>a[data-mobile-view="leagues"].active::before{background-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%231f6fa8' d='M7 3h10v2h4v2a6 6 0 0 1-5.1 5.93A5.04 5.04 0 0 1 13 15.9V18h3v3H8v-3h3v-2.1a5.04 5.04 0 0 1-2.9-2.97A6 6 0 0 1 3 7V5h4V3Zm0 4H5a4 4 0 0 0 2.3 3.62A8.7 8.7 0 0 1 7 8.3V7Zm10 0v1.3c0 .81-.1 1.59-.3 2.32A4 4 0 0 0 19 7h-2Z'/></svg>")}
  .primary-nav.mobile-primary-nav>a[data-mobile-view="upcoming"].active::before{background-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='9' fill='%231f6fa8'/><path d='M12 6.8V12l3.4 2' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>")}
  .primary-nav.mobile-primary-nav>a[data-route="/database"].active::before{background-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%231f6fa8' d='M12 2.5c4.7 0 8.5 1.4 8.5 3.2v12.6c0 1.8-3.8 3.2-8.5 3.2s-8.5-1.4-8.5-3.2V5.7c0-1.8 3.8-3.2 8.5-3.2Z'/><path d='M4.5 10.1c1.3 1.2 4.1 1.9 7.5 1.9s6.2-.7 7.5-1.9M4.5 16.2c1.3 1.2 4.1 1.9 7.5 1.9s6.2-.7 7.5-1.9' fill='none' stroke='white' stroke-width='1' opacity='.9'/></svg>")}
  .primary-nav.mobile-primary-nav>a[data-route="/jingcai-data"].active::before{background-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%231f6fa8' d='M3 20h18v2H3zM5 11h4v8H5zM10.5 7h4v12h-4zM16 3h4v16h-4z'/></svg>")}
  .primary-nav.mobile-primary-nav>a{-webkit-tap-highlight-color:transparent!important;-webkit-touch-callout:none!important;outline:0;transition:none!important;animation:none!important;touch-action:manipulation}
  .primary-nav.mobile-primary-nav>a:hover,.primary-nav.mobile-primary-nav>a:active,.primary-nav.mobile-primary-nav>a:focus{border:0!important;background:transparent!important;box-shadow:none!important;filter:none!important;transform:none!important}
  .primary-nav.mobile-primary-nav>a::before{transition:none!important;animation:none!important}
}
/* 联赛详情标题紧跟返回箭头；必须置于通用居中规则之后，避免再次被网格居中。 */
@media(max-width:700px){
  body.mobile-league-detail .topbar .m-mobile-league-heading{position:absolute;top:50%;right:54px;left:12px;display:flex;height:24px;align-items:center;gap:6px;overflow:hidden;transform:translateY(-50%)}
  body.mobile-league-detail .topbar .m-mobile-league-heading .m-mobile-league-back{position:static;display:block;width:18px;height:22px;flex:0 0 18px}
  body.mobile-league-detail .m-mobile-league-badge{display:grid;width:22px;height:22px;flex:0 0 22px;place-items:center;border:1px solid rgba(255,255,255,.78);border-radius:50%;background:rgba(255,255,255,.12);color:#fff;font-size:10px;font-weight:850;opacity:var(--m-league-collapse,0);transform:translateY(var(--m-league-shift,9px));transition:opacity .08s linear}
  body.mobile-league-detail .m-mobile-league-heading .m-mobile-menu-title{position:static;max-width:calc(100% - 52px);overflow:hidden;color:#fff;font-size:12px;font-weight:850;line-height:22px;text-overflow:ellipsis;white-space:nowrap;opacity:var(--m-league-collapse,0);transform:translateY(var(--m-league-shift,9px));transition:opacity .08s linear}
  body.mobile-league-detail .topbar .m-mobile-menu-title{position:static!important;display:block!important;min-width:0!important;width:auto!important;height:14px!important;max-width:none!important;margin:0!important;overflow:hidden!important;flex:1 1 auto!important;font-size:14px!important;line-height:14px!important;text-align:left!important;text-overflow:ellipsis!important;white-space:nowrap!important;transform:none!important}
}

/* 手机用户中心为独立全屏流程：不复用桌面侧栏，不保留底部主菜单。 */
@media(max-width:700px){
  body.mobile-account-active{padding-bottom:0!important;background:#eef2f6}
  body.mobile-account-active .topbar{display:flex!important;height:var(--mobile-top-h)!important;align-items:center!important;justify-content:flex-start!important;padding:0 12px!important}
  body.mobile-account-active .topbar .brand,body.mobile-account-active .topbar .account-shell,body.mobile-account-active .topbar .topbar-middle{display:none!important}
  body.mobile-account-active .m-mobile-menu-title.m-user-center-back{position:static!important;display:flex!important;height:var(--mobile-top-h)!important;align-items:center!important;gap:5px!important;margin:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;color:#fff;font-size:14px!important;font-weight:850;line-height:14px!important;cursor:pointer;transform:none!important;-webkit-tap-highlight-color:transparent!important;-webkit-touch-callout:none;user-select:none;transition:none!important}
  body.mobile-account-active .m-mobile-menu-title.m-user-center-back:hover,body.mobile-account-active .m-mobile-menu-title.m-user-center-back:active,body.mobile-account-active .m-mobile-menu-title.m-user-center-back:focus,body.mobile-account-active .m-mobile-menu-title.m-user-center-back:focus-visible{outline:0!important;background:transparent!important;box-shadow:none!important;filter:none!important}
  body.mobile-account-active .m-mobile-menu-title.m-user-center-back::before{display:block;width:9px;height:9px;flex:0 0 9px;margin:0 4px 0 3px;border-bottom:2px solid currentColor;border-left:2px solid currentColor;content:"";transform:rotate(45deg);transform-origin:center}
  body.mobile-account-active .primary-nav.mobile-primary-nav{display:none!important}
  body.mobile-account-active #route-root,body.mobile-account-active [data-page="/user-center"]{width:100%!important;max-width:none!important;min-height:calc(100dvh - var(--mobile-top-h))!important;margin:0!important;padding:0!important;background:#eef2f6!important}
  body.mobile-account-active .native-account-layout{display:block!important;width:100%!important;min-height:calc(100dvh - var(--mobile-top-h))!important;border:0!important;border-radius:0!important;background:#eef2f6!important;box-shadow:none!important}
  body.mobile-account-active .native-account-sidebar{display:none!important}
  body.mobile-account-active .native-account-main{width:100%!important;min-height:calc(100dvh - var(--mobile-top-h))!important;padding:0!important;background:#eef2f6!important}
  .mobile-account-screen{min-height:calc(100dvh - var(--mobile-top-h));padding:0 10px 24px;background:#eef2f6;color:#17334d}
  .mobile-account-screen>header{padding:14px 3px 11px}.mobile-account-screen>header small{color:#8293a4;font-size:9px}.mobile-account-screen>header h2{margin:3px 0 0;font-size:18px}
  .mobile-account-info-card,.mobile-account-password,.mobile-current-plan,.mobile-license-form,.mobile-license-results,.mobile-notification-list,.mobile-plan-list{overflow:hidden;margin-bottom:10px;border:1px solid #d6e0e8;border-radius:14px;background:#fff;box-shadow:0 3px 12px rgba(24,54,80,.05)}
  .mobile-account-info-card p,.mobile-license-results p{display:flex;min-height:47px;align-items:center;justify-content:space-between;margin:0;padding:0 14px;border-bottom:1px solid #edf1f4}.mobile-account-info-card p:last-child,.mobile-license-results p:last-child{border-bottom:0}.mobile-account-info-card span,.mobile-license-results span{color:#75889a;font-size:10px}.mobile-account-info-card b,.mobile-license-results b{max-width:65%;overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
  .mobile-account-password>summary{display:flex;height:48px;align-items:center;justify-content:space-between;padding:0 14px;color:#173a58;font-size:12px;font-weight:850;list-style:none;cursor:pointer;-webkit-tap-highlight-color:transparent}.mobile-account-password>summary::-webkit-details-marker{display:none}.mobile-account-password>summary b{color:#547087;font-size:22px;font-weight:400;transition:transform .15s ease}.mobile-account-password[open]>summary{border-bottom:1px solid #edf1f4}.mobile-account-password[open]>summary b{transform:rotate(90deg)}
  .mobile-account-form{padding:4px 13px 13px}.mobile-license-form,.mobile-license-results{padding:13px}.mobile-account-form h3,.mobile-license-form h3,.mobile-license-results h3{margin:0 0 10px;font-size:13px}.mobile-account-form label{display:grid;gap:5px;margin-top:9px;color:#63798d;font-size:9px}.mobile-account-form input,.mobile-license-form input{box-sizing:border-box;width:100%;height:40px;padding:0 11px;border:1px solid #cfdae4;border-radius:9px;background:#f8fafc;color:#183a58;font-size:11px}.mobile-account-form button,.mobile-license-form button,.mobile-plan-list button{height:38px;border:0;border-radius:9px;background:#246b9f;color:#fff;font-weight:850}.mobile-account-form>button{width:100%;margin-top:12px}.mobile-account-form .account-feedback,.mobile-license-form .account-feedback{min-height:13px;margin:7px 0 0;color:#55718a;font-size:9px}
  .mobile-current-plan{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px;padding:14px}.mobile-current-plan small{grid-column:1/-1;color:#8192a2;font-size:9px}.mobile-current-plan b{font-size:16px}.mobile-current-plan span{align-self:end;color:#55718b;font-size:9px}
  .mobile-plan-list article{display:grid;min-height:62px;grid-template-columns:minmax(0,1fr) 58px;align-items:center;gap:9px;padding:8px 12px;border-bottom:1px solid #edf1f4}.mobile-plan-list article:last-child{border-bottom:0}.mobile-plan-list article div{display:grid;gap:4px}.mobile-plan-list article b{font-size:12px}.mobile-plan-list article small{color:#7c8e9f;font-size:8px}.mobile-plan-list button{height:32px;font-size:10px}
  .mobile-license-form>div{display:grid;grid-template-columns:minmax(0,1fr) 58px;gap:7px}.mobile-license-form button{height:40px;font-size:10px}
  .mobile-notification-list button{display:flex;width:100%;min-height:58px;align-items:center;justify-content:space-between;padding:0 14px;border:0;border-bottom:1px solid #edf1f4;background:#fff;color:#17334d;text-align:left}.mobile-notification-list button:last-child{border-bottom:0}.mobile-notification-list button span{display:grid;gap:4px}.mobile-notification-list b{font-size:12px}.mobile-notification-list small{color:#8495a5;font-size:8px}
}
/* 联赛详情同时展示历史与未来赛程：日期、比分、收盘/最新胜平负赔率。 */
@media(max-width:700px){
  [data-mobile-hub="matches"] .m-upcoming-list .m-score-row{grid-template-columns:48px minmax(0,1fr) 36px 48px 18px;min-height:64px;padding:5px 8px}
  [data-mobile-hub="matches"] .m-score-time{display:grid;position:relative;align-content:center;align-self:stretch;gap:3px;padding-right:8px;text-align:left}.m-score-time small{color:#7a8b9b;font-size:8px}.m-score-time b{color:#526b80;font-size:10px;font-weight:700}
  [data-mobile-hub="matches"] .m-score-teams{grid-template-rows:15px 15px;align-content:center;gap:3px;padding:0 8px}[data-mobile-hub="matches"] .m-team-line{display:grid;grid-template-columns:minmax(0,1fr) 42px;align-items:center;column-gap:8px;min-width:0;line-height:15px}[data-mobile-hub="matches"] .m-team-identity{display:flex;align-items:center;gap:3px;min-width:0}[data-mobile-hub="matches"] .m-team-identity strong{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}[data-mobile-hub="matches"] .m-team-rank,[data-mobile-hub="matches"] .m-team-record{flex:0 0 auto;font-size:9px;font-weight:400;white-space:nowrap}[data-mobile-hub="matches"] .m-team-record{text-align:right;font-variant-numeric:tabular-nums}.m-score-result{font-size:12px}.m-score-result small{font-size:7px}
  [data-mobile-hub="matches"] .m-score-result{position:relative;align-content:center;align-self:stretch;padding:0 4px}.m-score-result.finished{grid-template-rows:15px 15px;gap:3px}.m-score-result.finished b{display:flex;align-items:center;justify-content:center;line-height:15px}
  .m-score-odds{display:grid;position:relative;grid-template-columns:1fr;align-content:center;align-self:stretch;gap:1px;padding:0 8px 0 5px;color:#5f7182;font-size:8px;text-align:right;font-variant-numeric:tabular-nums}.m-score-odds small{margin-bottom:1px;color:#8393a2;font-size:7px}.m-score-odds b{font-size:9px;font-weight:700;line-height:1.05}.m-upcoming-list .m-score-more{justify-self:end}
  [data-mobile-hub="matches"] .m-upcoming-list .m-score-row{grid-template-columns:48px minmax(0,1fr) 56px 34px 68px 18px;padding-right:6px;padding-left:8px}
  [data-mobile-hub="matches"] .m-score-teams{padding:0 3px 0 2px}
  [data-mobile-hub="matches"] .m-team-line{grid-template-columns:minmax(0,1fr) 38px;column-gap:4px}
  .m-score-predxg{display:grid;position:relative;grid-template-columns:29px 18px;grid-template-rows:15px 15px;align-content:center;align-self:stretch;column-gap:0;color:#173b5e;font-variant-numeric:tabular-nums}
  .m-score-predxg>small{display:grid;grid-row:1/3;align-content:center;color:#647b90;font-size:8.5px;font-weight:500;line-height:15px;text-align:left;transform:translateX(-3px)}
  .m-score-predxg>small span{display:block;white-space:nowrap}
  .m-score-predxg>b{padding-left:3px;font-size:8.5px;font-weight:500;line-height:15px;text-align:right}
  .m-score-predxg::before{position:absolute;top:13px;bottom:13px;left:29px;width:1px;border-radius:1px;background:#d2dce5;content:""}
  .m-score-predxg::after{position:absolute;top:13px;right:0;bottom:13px;width:1px;border-radius:1px;background:#d2dce5;content:""}
  .m-score-predxg-placeholder{visibility:hidden}
  .m-score-result.scheduled{display:grid;grid-template-rows:15px 15px;align-content:center;gap:1px}
  [data-mobile-hub="matches"] .m-score-row.scheduled .m-score-result{visibility:hidden}
  [data-mobile-hub="matches"] .m-score-result .m-countdown-hours,[data-mobile-hub="matches"] .m-score-result .m-countdown-minutes{display:block;color:#173b5e;font-size:8.5px;font-weight:800;font-variant-numeric:tabular-nums;text-align:center}
  .m-countdown-hours{justify-self:center;width:18px;border-bottom:1px solid #b8c7d4;font-size:8.5px;line-height:14px}
  .m-countdown-minutes{position:relative;line-height:15px}
  .m-countdown-minutes i{position:absolute;margin-left:1px;font-size:7px;font-style:normal;line-height:8px;animation:m-time-breathe 1.15s ease-in-out infinite}
  @keyframes m-time-breathe{0%,100%{opacity:.18}50%{opacity:1}}
  .m-score-odds{gap:0;padding:0 0 0 11px}
  .m-score-odds>span{display:grid;grid-template-columns:minmax(0,1fr) 27px;align-items:center;min-height:10px;line-height:10px}
  .m-score-odds>span small{align-self:stretch;margin:0;padding-left:4px;border-left:1px solid #d2dce5;color:#778b9d;font-size:8.5px;font-weight:500;line-height:10px;text-align:left}
  .m-score-odds>span b{align-self:stretch;padding-right:3px;font-size:8.5px;line-height:10px;text-align:right}
  [data-mobile-hub="matches"] .m-score-result::after,[data-mobile-hub="matches"] .m-score-odds::after{content:none}
  [data-mobile-hub="matches"] .m-upcoming-list .m-score-row.scheduled{grid-template-columns:42px minmax(72px,1fr) 38px 47px 30px 64px 14px;padding-right:5px;padding-left:5px}
  [data-mobile-hub="matches"] .m-upcoming-list .m-score-row.scheduled.no-vip-xg{grid-template-columns:42px minmax(72px,1fr) 38px 30px 64px 14px}
  [data-mobile-hub="matches"] .m-upcoming-list .m-score-row.finished{grid-template-columns:42px minmax(72px,1fr) 38px 47px 30px 64px 14px;padding-right:5px;padding-left:5px}
  [data-mobile-hub="matches"] .m-upcoming-list .m-score-row.live{grid-template-columns:48px minmax(0,1fr) 34px 68px 18px;padding-right:6px;padding-left:8px}
  [data-mobile-hub="matches"] .m-score-row.finished .m-score-time{padding-right:5px}
  [data-mobile-hub="matches"] .m-score-row.finished .m-score-result{grid-template-rows:15px 15px;align-content:center;gap:3px;padding:0}
  [data-mobile-hub="matches"] .m-score-row.finished .m-score-result b{display:flex;align-items:center;justify-content:center;color:#173b5e;font-size:10px;font-weight:800;line-height:15px}
  [data-mobile-hub="matches"] .m-score-row.finished .m-score-result b:first-of-type{position:relative}
  [data-mobile-hub="matches"] .m-score-row.finished .m-score-result b:first-of-type::after{position:absolute;bottom:0;left:50%;width:12px;height:1px;background:#b8c7d4;content:"";transform:translateX(-50%)}
  [data-mobile-hub="matches"] .m-score-row.finished .m-score-teams{min-width:0;padding-right:0;padding-left:6px;transform:translateX(1px)}
  [data-mobile-hub="matches"] .m-score-row.finished .m-score-time::after{right:7px}
  [data-mobile-hub="matches"] .m-score-row.scheduled .m-team-line{display:flex;grid-template-columns:none;column-gap:0}
  [data-mobile-hub="matches"] .m-score-row.scheduled .m-score-time{padding-right:5px}
  [data-mobile-hub="matches"] .m-score-row.scheduled .m-score-teams{min-width:0;padding-right:0;padding-left:6px;transform:translateX(1px)}
  [data-mobile-hub="matches"] .m-score-row.scheduled .m-team-identity{width:100%;min-width:0}
  [data-mobile-hub="matches"] .m-score-row.scheduled .m-team-identity strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .m-score-records{display:grid;position:relative;grid-template-rows:15px 15px;align-content:center;align-self:stretch;gap:1px;color:#173b5e;font-variant-numeric:tabular-nums}
  .m-score-finished-label{display:flex;align-items:center;justify-content:center;color:#667f94;font-size:9px;font-weight:700;white-space:nowrap;transform:translateX(15px)}
  .m-score-finished-spacer{display:block}
  .m-score-records b{font-size:8.5px;font-weight:500;line-height:15px;text-align:center;white-space:nowrap}
  .m-score-records::after{position:absolute;top:13px;right:0;bottom:13px;width:1px;border-radius:1px;background:#d2dce5;content:""}
  [data-mobile-hub="matches"] .m-score-row.finished .m-team-rank,[data-mobile-hub="matches"] .m-score-row.finished .m-team-record,[data-mobile-hub="matches"] .m-score-row.finished .m-score-predxg,[data-mobile-hub="matches"] .m-score-row.finished .m-score-records,[data-mobile-hub="matches"] .m-score-row.live .m-score-predxg,[data-mobile-hub="matches"] .m-score-row.live .m-score-records{display:none}
  [data-mobile-hub="matches"] .m-score-time::after,[data-mobile-hub="matches"] .m-score-result::after,[data-mobile-hub="matches"] .m-score-odds::after{position:absolute;top:13px;right:0;bottom:13px;width:1px;border-radius:1px;background:#d2dce5;content:""}
  [data-mobile-hub="matches"] .m-score-result::after,[data-mobile-hub="matches"] .m-score-odds::after{display:none!important;content:none!important}
  [data-mobile-hub="matches"] .m-score-row.scheduled .m-score-time::after{right:7px}
  [data-mobile-hub="matches"] .m-score-row.scheduled .m-score-predxg::after,[data-mobile-hub="matches"] .m-score-row.scheduled .m-score-records::after{display:none!important;content:none!important}
  [data-mobile-hub="matches"] .m-score-row.scheduled .m-score-records{transform:translateX(14px)}
  [data-mobile-hub="matches"] .m-score-row.scheduled .m-score-predxg{transform:translateX(20px)}
  [data-mobile-hub="matches"] .m-score-row.scheduled .m-score-result{transform:translateX(6px)}
  [data-mobile-hub="matches"] .m-upcoming-list .m-score-row.scheduled,[data-mobile-hub="matches"] .m-upcoming-list .m-score-row.finished,[data-mobile-hub="matches"] .m-upcoming-list .m-score-row.live{min-height:52px}
  .m-match-date-heading{height:25px;margin:1px 0 5px;color:#2870ad;font-size:10px;line-height:25px;text-align:center}
  .m-match-section-heading{height:27px;margin:2px 0 5px;border-radius:9px;background:#dfe8f0;color:#244f73;font-size:11px;line-height:27px;text-align:center}
  body.mobile-match-active,body.mobile-match-active .app-shell,body.mobile-match-active #route-root,body.mobile-match-active [data-page="/match-center"],body.mobile-match-active [data-mobile-hub="matches"],body.mobile-match-active .m-upcoming-list{background:#eef2f6!important}
  body.mobile-match-active [data-mobile-hub="matches"]{min-height:calc(100dvh - var(--mobile-top-h) - var(--mobile-nav-h))}
  .m-league-history-state{margin:10px 4px;padding:7px 0;border-radius:0;background:transparent;color:#315a7d;font-size:11px;font-weight:800;text-align:center}.m-league-history-state.error{padding:12px;border-radius:10px;background:#f8e9e9;color:#a33b3b}
  .m-load-league-history,.m-league-history-state button{display:block;width:calc(100% - 8px);height:40px;margin:10px 4px;border:1px solid #b9cad8;border-radius:11px;background:#fff;color:#24567e;font-size:12px;font-weight:850}.m-league-history-state button{width:100%;margin:8px 0 0}
  .m-inline-league-heading{height:28px;margin:2px 4px 5px;color:#244f73;font-size:10px;font-weight:850;line-height:28px;text-align:left}
  .m-inline-league-heading button{position:relative;display:block;width:100%;height:100%;margin:0;padding:0 0 0 19px;border:0;border-radius:0;background:transparent;color:inherit;font:inherit;line-height:inherit;text-align:left;box-shadow:none;outline:none;-webkit-tap-highlight-color:transparent}
  .m-inline-league-name{display:inline;font:inherit;line-height:inherit}
  .m-inline-league-badge{position:absolute;left:0;bottom:9px;display:block;width:15px;height:15px;object-fit:contain}
  .m-inline-league-badge.is-empty{visibility:hidden}
  .m-inline-league-arrow{display:inline-block;margin-left:4px;color:#7893a8;font-size:16px;font-weight:500;line-height:inherit;vertical-align:-1px;transition:transform .1s ease,opacity .1s ease}
  .m-inline-league-heading button:is(:hover,:focus){border:0;background:transparent;color:inherit;box-shadow:none;outline:none;transform:none}
  .m-inline-league-heading button,.m-db-league-row,[data-open-match]{touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:transform .1s ease,color .1s ease,box-shadow .1s ease,filter .1s ease}
  .m-db-league-row:active{background:#fff;box-shadow:0 2px 7px rgba(31,61,88,.05)}
  [data-open-match]:active{background:#fff!important;filter:none}
  @media(prefers-reduced-motion:reduce){.m-inline-league-heading button,.m-db-league-row,[data-open-match]{transition:none}.m-inline-league-heading button:active,.m-db-league-row:active,[data-open-match]:active{transform:none}}
  [data-mobile-hub="matches"] .m-match-league-frame{overflow:hidden;margin:0 0 7px;border:1px solid #d7e0e7;border-radius:14px;background:#fff;box-shadow:0 2px 7px rgba(31,61,88,.05)}
  [data-mobile-hub="matches"] .m-match-league-frame .m-score-row{position:relative;margin:0;border:0;border-radius:0;box-shadow:none}
  [data-mobile-hub="matches"] .m-match-league-frame .m-score-row::after{display:none;content:none}
  [data-mobile-hub="matches"] .m-score-time::after{top:50%;bottom:auto;height:30px;transform:translateY(-50%)}
  [data-mobile-hub="matches"] .m-match-league-frame.is-single-league{margin-right:0;margin-left:0}
  body:has([data-page="/database"]:not([hidden]) .m-db-detail){padding-bottom:0}
  body:has([data-page="/database"]:not([hidden]) .m-db-detail) .primary-nav.mobile-primary-nav{display:none!important}
  .m-db-detail-body:has(.m-db-compact-matches){padding:0 8px 14px;background:#e8eff4;scroll-padding-bottom:14px}
  .m-db-compact-matches{padding:0;background:#e8eff4}
  body.mobile-league-detail,body.mobile-db-league-detail{--m-league-collapse:0;--m-league-shift:9px}
  body.mobile-league-detail .topbar,body.mobile-league-detail .m-canonical-league-hero,body.mobile-db-league-detail .topbar,body.mobile-db-league-detail .m-db-detail-hero{background:linear-gradient(90deg,#143d5e 0%,#1b4b6d 62%,#245776 100%)}
  body.mobile-league-detail .topbar,body.mobile-db-league-detail .topbar{border-bottom:0;box-shadow:none}
  body.mobile-db-league-detail .m-db-detail-hero{margin-top:-1px}
  body.mobile-league-detail .m-canonical-league-hero{margin-top:-1px}
  body.mobile-league-detail .m-canonical-league-tabs{position:sticky;z-index:86;top:var(--mobile-top-h)}
}

/* 手机概率分布最终覆盖层，置于既有 PC/手机兼容规则之后。 */
@media(max-width:700px){
  .m-match-odds-sheet [data-sheet-panel="1"]{background:#f3f6f9}
  .m-match-odds-sheet .m-probability-native{padding:9px 8px 20px;background:#f3f6f9}
  .m-match-odds-sheet .m-probability-pc{gap:9px;padding:0}
  .m-match-odds-sheet .m-prob-matrix{overflow:hidden;border:1px solid #d7e1e9;border-radius:14px;background:#fff;box-shadow:0 3px 12px rgba(20,57,88,.055)}
  .m-match-odds-sheet .m-prob-matrix h3{display:flex;height:38px;align-items:center;justify-content:flex-start;gap:8px;padding:0 12px;border-bottom:1px solid #e6edf2;background:#fff;color:#173b59;font-size:12px;line-height:38px;text-align:left}
  .m-match-odds-sheet .m-prob-matrix h3::before{width:3px;height:15px;border-radius:4px;background:#2775ad;content:""}
  .m-match-odds-sheet .m-prob-matrix h3::after{margin-left:auto;color:#91a0ad;font-size:7px;font-weight:600;content:"公平赔率 · 概率"}
  .m-match-odds-sheet .m-prob-matrix>div{box-sizing:border-box;width:100%;padding:7px 8px 9px;overflow:hidden}
  .m-match-odds-sheet .m-prob-matrix table,.m-match-odds-sheet .m-prob-hc,.m-match-odds-sheet .m-prob-ah,.m-match-odds-sheet .m-prob-wide,.m-match-odds-sheet .m-prob-goals{width:100%!important;min-width:0!important;border-collapse:separate;border-spacing:3px;table-layout:fixed}
  .m-match-odds-sheet .m-prob-matrix :is(th,td){height:37px;padding:2px;border:0;border-radius:8px}
  .m-match-odds-sheet .m-prob-matrix th{background:#e9f1f7;color:#315a79;font-size:8px;font-weight:850}
  .m-match-odds-sheet .m-prob-matrix td{background:#fbfcfd;box-shadow:inset 0 0 0 1px #d7e2ea;color:#172e43}
  .m-match-odds-sheet .m-prob-matrix td b{font-size:10px;line-height:13px;font-weight:850}
  .m-match-odds-sheet .m-prob-matrix td span{display:block;width:max-content;max-width:92%;margin:1px auto 0;padding:0 4px;border-radius:8px;background:#edf4f9;color:#2d638d;font-size:7px;line-height:11px}
  .m-match-odds-sheet .m-prob-matrix tbody tr:nth-child(even) :is(td,th),.m-match-odds-sheet .m-prob-hc tbody tr:nth-child(even) :is(td,th),.m-match-odds-sheet .m-prob-ah tbody tr:nth-child(n+3) :is(td,th){background:#f5f8fa}
  .m-match-odds-sheet .m-prob-matrix tbody th:first-child{background:#dce9f3;color:#245477}
  .m-match-odds-sheet .m-prob-hc th:first-child,.m-match-odds-sheet .m-prob-ah th:first-child,.m-match-odds-sheet .m-prob-wide th:first-child{width:34px}
  .m-match-odds-sheet .m-prob-goals :is(th,td){padding-right:0;padding-left:0}.m-match-odds-sheet .m-prob-goals td b{font-size:8.5px}.m-match-odds-sheet .m-prob-goals td span{padding:0 2px;font-size:6px}
  .m-match-odds-sheet .m-prob-scores>div{gap:7px!important;padding:8px!important}
  .m-match-odds-sheet .m-prob-score-group{grid-template-columns:42px minmax(0,1fr);gap:5px}.m-match-odds-sheet .m-prob-score-group h4{border-radius:8px;background:#e3edf5;color:#315c7c;font-size:7.5px}
  .m-match-odds-sheet .m-prob-score-group>div{gap:4px}.m-match-odds-sheet .m-prob-score-group button{min-height:43px;border:1px solid #d6e1e9;border-radius:8px;background:#fbfcfd;box-shadow:none}.m-match-odds-sheet .m-prob-score-group button strong{font-size:9px}.m-match-odds-sheet .m-prob-score-group button b{font-size:8px}.m-match-odds-sheet .m-prob-score-group button span{background:transparent;font-size:6.5px}
  .m-match-odds-sheet .m-prob-score-group button.selected,.m-match-odds-sheet .m-prob-score-group button[aria-pressed="true"]{border-color:#1f6fa8;background:#1f6fa8;color:#fff;box-shadow:0 3px 9px rgba(31,111,168,.22)}
}

/* 舒缓色板最终层：必须位于全部历史兼容样式之后。 */
@media(max-width:700px){
  body.m-sheet-open:has(.m-jingcai-probability-sheet) .primary-nav.mobile-primary-nav{display:none!important}
  body.m-sheet-open:has(.m-jingcai-probability-sheet) .m-sheet{inset:0!important;bottom:0!important;max-height:100dvh!important}
  .m-jingcai-probability-sheet .m-sheet-panel>header{grid-template-columns:38px minmax(0,1fr)}
  .m-jingcai-probability-sheet .m-sheet-panel>header>div{min-width:0}
  .m-jingcai-probability-sheet .m-sheet-panel>header small{font-weight:800}
  .m-jingcai-probability-sheet .m-sheet-panel h2{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:8px}
  .m-jingcai-detail-teams{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .m-jingcai-detail-score{display:flex;flex:0 0 auto;align-items:center;gap:5px;color:#71869a;font-size:11px;font-weight:500;font-variant-numeric:tabular-nums}
  .m-jingcai-detail-score i{color:#a4b2be;font-style:normal;font-weight:400}
  .m-jingcai-detail-score strong{color:#173b5e;font-size:12px;font-weight:900}
  .m-jingcai-probability .m-prob-matrix>h3{display:flex;align-items:center;justify-content:space-between;gap:8px}
  .m-jingcai-play-badges{display:flex;flex:0 0 auto;gap:5px}
  .m-jingcai-play-badges i{padding:3px 7px;border-radius:999px;background:#98a3ac;color:#fff;font-size:9px;font-style:normal;font-weight:900;line-height:1.2}
  .m-jingcai-play-badges i.single{background:#f04444}
  [data-mobile-hub="matches"] .m-score-more.single{color:#f22424!important;font-weight:900!important}
  .m-match-odds-sheet .m-sheet-content,.m-match-odds-sheet [data-sheet-panel],.m-match-odds-sheet .m-probability-native{background:#f1f4f6!important}
  .m-match-odds-sheet .m-odds-market-tabs button{background:#e5eaee;color:#506476}
  .m-match-odds-sheet .m-odds-market-tabs button.active{background:#587a94;color:#f8fbfd}
  .m-match-odds-sheet .m-odds-matrix-hint{color:#71818f}
  .m-match-odds-sheet .m-odds-matrix-hint span:before,.m-match-odds-sheet .m-odds-row-time>span>i{background:#718fa6}
  .m-match-odds-sheet .m-odds-matrix-hint span+span:before,.m-match-odds-sheet .m-odds-row-time>span+span>i{background:#b49367}
  .m-match-odds-sheet .m-odds-matrix-scroll{border-color:#cbd5dc;background:#f8fafb;box-shadow:0 2px 7px rgba(35,55,72,.045)}
  .m-match-odds-sheet .m-odds-matrix-scroll>table>thead th,.m-match-odds-sheet .m-odds-matrix-scroll>table>thead tr:first-child th{border-color:#cbd5dc;background:#dce4e9;color:#40586b}
  .m-match-odds-sheet .m-odds-platform-row>th,.m-match-odds-sheet .m-odds-platform-row>td{border-color:#d6dee4;background:#f8fafb;color:#344b5e}
  .m-match-odds-sheet .m-odds-platform-row:nth-of-type(4n+3)>:is(th,td){background:#eef2f4}
  .m-match-odds-sheet .m-odds-platform-row .m-odds-opening{color:#667d8f}
  .m-match-odds-sheet .m-odds-platform-row .m-odds-latest{color:#344b5e}
  .m-match-odds-sheet .m-odds-platform-row .m-odds-latest.trend-up,.m-match-odds-sheet .m-odds-latest.trend-up .m-odds-trend.up{color:#4f806c}
  .m-match-odds-sheet .m-odds-platform-row .m-odds-latest.trend-down,.m-match-odds-sheet .m-odds-latest.trend-down .m-odds-trend.down{color:#a9625e}
  .m-match-odds-sheet .m-prob-matrix{border-color:#d3dce2;background:#f8fafb;box-shadow:0 3px 10px rgba(35,55,72,.04)}
  .m-match-odds-sheet .m-prob-matrix h3{border-bottom-color:#e0e6ea;background:#f8fafb;color:#344d61}
  .m-match-odds-sheet .m-prob-matrix h3::before{background:#6d8ca3}
  .m-match-odds-sheet .m-prob-matrix h3::after{color:#8997a2}
  .m-match-odds-sheet .m-prob-matrix th{background:#e2e9ed;color:#476176}
  .m-match-odds-sheet .m-prob-matrix td{background:#f6f8f9;box-shadow:inset 0 0 0 1px #d6dee3;color:#263e52}
  .m-match-odds-sheet .m-prob-matrix td span{background:#e9eef1;color:#567188}
  .m-match-odds-sheet .m-prob-matrix tbody tr:nth-child(even) :is(td,th),.m-match-odds-sheet .m-prob-hc tbody tr:nth-child(even) :is(td,th),.m-match-odds-sheet .m-prob-ah tbody tr:nth-child(n+3) :is(td,th){background:#edf1f3}
  .m-match-odds-sheet .m-prob-matrix tbody th:first-child,.m-match-odds-sheet .m-prob-score-group h4{background:#dce5ea;color:#49677d}
  .m-match-odds-sheet .m-prob-score-group button{border-color:#d4dde3;background:#f6f8f9;color:#2e485d}
  .m-match-odds-sheet .m-prob-score-group button.selected,.m-match-odds-sheet .m-prob-score-group button[aria-pressed="true"],.m-match-odds-sheet .m-prob-matrix td.is-selected{border-color:#587a94;background:#587a94;color:#f8fbfd;box-shadow:none}
  /* 所有概率选项统一整格选中，不保留百分比内层胶囊或局部高亮。 */
  .m-match-odds-sheet .m-prob-score-group button.selected,
  .m-match-odds-sheet .m-prob-score-group button[aria-pressed="true"],
  .m-match-odds-sheet .m-prob-matrix td.is-selected{border:1px solid #587a94!important;border-radius:8px!important;background:#587a94!important;box-shadow:none!important;color:#f8fbfd!important}
  .m-match-odds-sheet .m-prob-matrix td.is-selected>button,
  .m-match-odds-sheet .m-prob-matrix td>button.selected,
  .m-match-odds-sheet .m-prob-matrix td>button[aria-pressed="true"]{width:100%;height:100%;border:0!important;border-radius:inherit!important;background:transparent!important;box-shadow:none!important;color:inherit!important}
  .m-match-odds-sheet .m-prob-score-group button.selected :is(strong,b,span),
  .m-match-odds-sheet .m-prob-score-group button[aria-pressed="true"] :is(strong,b,span),
  .m-match-odds-sheet .m-prob-matrix td.is-selected :is(b,span){background:transparent!important;color:#f8fbfd!important;box-shadow:none!important}
  .m-match-odds-sheet .m-prob-matrix h3::after{display:none!important;content:none!important}
  /* 非赔率信息加深：赔率数字本身保持现有层级。 */
  .m-match-odds-sheet .m-prob-matrix th{background:#d5dfe5!important;color:#314e64!important}
  .m-match-odds-sheet .m-prob-matrix tbody th:first-child,
  .m-match-odds-sheet .m-prob-score-group h4{background:#ccd9e0!important;color:#31536b!important}
  .m-match-odds-sheet .m-prob-matrix td span{background:#dde6eb!important;color:#405f75!important;font-weight:700}
  .m-match-odds-sheet .m-prob-score-group button strong,
  .m-match-odds-sheet .m-prob-score-group button span{color:#405f75;font-weight:700}
  .m-match-odds-sheet .m-prob-score-group button.selected :is(strong,b,span),
  .m-match-odds-sheet .m-prob-score-group button[aria-pressed="true"] :is(strong,b,span),
  .m-match-odds-sheet .m-prob-matrix td.is-selected :is(b,span){background:transparent!important;color:#f8fbfd!important}
}

/* 进行中比赛与未开始、已结束共用同一基础列线和内容起点。 */
@media(max-width:700px){
  [data-mobile-hub="matches"] .m-upcoming-list .m-score-row.live{grid-template-columns:42px minmax(0,1fr) 30px 64px 14px;padding-right:5px;padding-left:5px}
  [data-mobile-hub="matches"] .m-score-row.live .m-score-time{padding-right:5px}
  [data-mobile-hub="matches"] .m-score-row.live .m-score-time::after{right:7px}
  [data-mobile-hub="matches"] .m-score-row.live .m-score-teams{min-width:0;padding-right:0;padding-left:6px;transform:translateX(1px)}
  [data-mobile-hub="matches"] .m-score-row.live .m-score-result{grid-template-rows:15px 15px;align-content:center;gap:3px;padding:0}
  [data-mobile-hub="matches"] .m-score-row.live .m-score-result b,
  [data-mobile-hub="matches"] .m-score-row.live .m-score-result small{display:flex;align-items:center;justify-content:center;line-height:15px}
  [data-mobile-hub="matches"] .m-date-strip .m-date-tool{color:#173b5e}
  [data-mobile-hub="matches"] .m-date-strip .m-date-tool b{color:#0f3455;font-weight:850}
}

/* 手机赔率与概率减负：总表隐藏时间，历史弹窗仍保留完整时间。 */
@media(max-width:700px){
  .m-match-odds-sheet .m-odds-matrix-scroll>table>thead th:first-child,
  .m-match-odds-sheet .m-odds-platform-row>th{width:62px}
  .m-match-odds-sheet .m-odds-matrix-scroll>table>thead th:nth-child(2){width:auto}
  .m-match-odds-sheet .m-odds-matrix-scroll>table>thead th{height:35px;font-size:9.5px}
  .m-match-odds-sheet .m-odds-platform-row>th,
  .m-match-odds-sheet .m-odds-platform-row>td{height:68px;border-right-color:#e3e8ec;font-size:10px}
  .m-match-odds-sheet .m-odds-platform-row>td>span{height:33px;line-height:33px}
  .m-match-odds-sheet .m-odds-platform-row .m-odds-opening{color:#7a8b99;font-weight:650}
  .m-match-odds-sheet .m-odds-platform-row .m-odds-latest{font-size:10.5px;font-weight:900}
  .m-match-odds-sheet .m-odds-row-more button{height:67px}
  .m-match-odds-sheet .m-odds-platform-row>td:not(.m-odds-row-more):last-of-type{border-right:0}
  .m-match-odds-sheet .m-probability-pc{gap:12px}
  .m-match-odds-sheet .m-prob-matrix{border-color:#d9e1e6;box-shadow:none}
  .m-match-odds-sheet .m-prob-matrix h3{height:40px;line-height:40px}
  .m-match-odds-sheet .m-prob-matrix :is(th,td){height:41px}
  .m-match-odds-sheet .m-prob-matrix th{font-size:9px}
  .m-match-odds-sheet .m-prob-matrix td>button{min-height:41px}
  .m-match-odds-sheet .m-prob-matrix td b{font-size:11px}
  .m-match-odds-sheet .m-prob-matrix td span{font-size:8px}
  .m-match-odds-sheet .m-prob-score-group button{min-height:46px}
  .m-match-odds-sheet .m-prob-score-group button strong{font-size:10px}
  .m-match-odds-sheet .m-prob-score-group button b{font-size:9px}
  .m-match-odds-sheet .m-prob-score-group button span{font-size:7px}
}

/* 深色低刺激赔率与概率表：避免纯黑纯白，保持柔和层级。 */
@media(max-width:700px){
  .m-match-odds-sheet .m-sheet-content,
  .m-match-odds-sheet [data-sheet-panel],
  .m-match-odds-sheet .m-probability-native{background:#182634!important}
  .m-match-odds-sheet .m-odds-market-tabs button{background:#263746;color:#aebdca}
  .m-match-odds-sheet .m-odds-market-tabs button.active{background:#356f99;color:#f0f5f8;box-shadow:none}
  .m-match-odds-sheet .m-odds-matrix-hint{color:#8fa1af}
  .m-match-odds-sheet .m-odds-matrix-scroll{border-color:#405362;background:#1d2c39;box-shadow:none}
  .m-match-odds-sheet .m-odds-matrix-scroll>table>thead th,
  .m-match-odds-sheet .m-odds-matrix-scroll>table>thead tr:first-child th{border-color:#405362;background:#2b3d4c;color:#c6d2db}
  .m-match-odds-sheet .m-odds-platform-row>th,
  .m-match-odds-sheet .m-odds-platform-row>td{border-color:#394b59;background:#1f2f3c;color:#d4dde4}
  .m-match-odds-sheet .m-odds-platform-row:nth-of-type(4n+3)>:is(th,td){background:#243542}
  .m-match-odds-sheet .m-odds-platform-row .m-odds-opening{color:#8296a6}
  .m-match-odds-sheet .m-odds-platform-row .m-odds-latest{color:#e2e8ec}
  .m-match-odds-sheet .m-odds-row-more button{color:#9fb4c3}
  .m-match-odds-sheet .m-odds-platform-row .m-odds-latest.trend-up,
  .m-match-odds-sheet .m-odds-latest.trend-up .m-odds-trend.up{color:#73b99a}
  .m-match-odds-sheet .m-odds-platform-row .m-odds-latest.trend-down,
  .m-match-odds-sheet .m-odds-latest.trend-down .m-odds-trend.down{color:#dc8580}
  .m-match-odds-sheet .m-prob-matrix{border-color:#405362!important;background:#1d2c39!important}
  .m-match-odds-sheet .m-prob-matrix h3{border-bottom-color:#405362;background:#243542!important;color:#d8e1e7!important}
  .m-match-odds-sheet .m-prob-matrix h3::before{background:#5f94b8}
  .m-match-odds-sheet .m-prob-matrix th{background:#304554!important;color:#c2d0d9!important}
  .m-match-odds-sheet .m-prob-matrix tbody th:first-child,
  .m-match-odds-sheet .m-prob-score-group h4{background:#2b4050!important;color:#bfd0db!important}
  .m-match-odds-sheet .m-prob-matrix td{background:#21313e!important;box-shadow:inset 0 0 0 1px #3b4e5d!important;color:#dce4e9!important}
  .m-match-odds-sheet .m-prob-matrix tbody tr:nth-child(even) :is(td,th),
  .m-match-odds-sheet .m-prob-hc tbody tr:nth-child(even) :is(td,th),
  .m-match-odds-sheet .m-prob-ah tbody tr:nth-child(n+3) :is(td,th){background:#263846!important}
  .m-match-odds-sheet .m-prob-matrix td span{background:#2b4050!important;color:#9fbbcd!important}
  .m-match-odds-sheet .m-prob-score-group button{border-color:#3b4e5d;background:#21313e;color:#dce4e9}
  .m-match-odds-sheet .m-prob-score-group button strong,
  .m-match-odds-sheet .m-prob-score-group button span{color:#a9becc}
  .m-match-odds-sheet .m-prob-score-group button.selected,
  .m-match-odds-sheet .m-prob-score-group button[aria-pressed="true"],
  .m-match-odds-sheet .m-prob-matrix td.is-selected{border-color:#5c9bc5!important;background:#356f99!important;color:#f4f7f9!important}
  .m-odds-history-popover article{border-color:#405362;background:#1d2c39}
  .m-odds-history-popover article>header,
  .m-odds-history-popover thead th{background:#2b3d4c;color:#c6d2db}
  .m-odds-history-popover article>header b,
  .m-odds-history-popover tbody td:not(:first-child){color:#dce4e9}
  .m-odds-history-popover article>header span,
  .m-odds-history-popover tbody td:first-child small{color:#91a5b4}
  .m-odds-history-popover article>div,
  .m-odds-history-popover table{background:#1f2f3c}
  .m-odds-history-popover :is(th,td){border-color:#405362;color:#aebfcb;background:#1f2f3c}
  .m-odds-history-popover article>header button{background:#3a4d5c;color:#d8e2e8}
}

/* 雾灰纸张色最终层：降低明暗反差，以字号和留白代替强色块。 */
@media(max-width:700px){
  .m-match-odds-sheet .m-sheet-content,
  .m-match-odds-sheet [data-sheet-panel],
  .m-match-odds-sheet .m-probability-native{background:#edf1f2!important}
  .m-match-odds-sheet .m-odds-market-tabs button{background:#dfe5e7;color:#506575}
  .m-match-odds-sheet .m-odds-market-tabs button.active{background:#527b98;color:#f7f9fa;box-shadow:none}
  .m-match-odds-sheet .m-odds-matrix-hint{color:#71828d}
  .m-match-odds-sheet .m-odds-matrix-scroll{border-color:#cfd8dc;background:#f5f7f7;box-shadow:none}
  .m-match-odds-sheet .m-odds-matrix-scroll>table>thead th,
  .m-match-odds-sheet .m-odds-matrix-scroll>table>thead tr:first-child th{border-color:#d2dadd;background:#dfe6e8;color:#405968}
  .m-match-odds-sheet .m-odds-platform-row>th,
  .m-match-odds-sheet .m-odds-platform-row>td{border-color:#d9e0e2;background:#f7f8f7;color:#2d4351}
  .m-match-odds-sheet .m-odds-platform-row:nth-of-type(4n+3)>:is(th,td){background:#f0f3f3}
  .m-match-odds-sheet .m-odds-platform-row>th{font-size:10.5px}
  .m-match-odds-sheet .m-odds-platform-row .m-odds-opening{color:#718593;font-size:11px;font-weight:650}
  .m-match-odds-sheet .m-odds-platform-row .m-odds-latest{color:#203b4c;font-size:12px;font-weight:900}
  .m-match-odds-sheet .m-odds-row-more button{color:#547187}
  .m-match-odds-sheet .m-odds-platform-row .m-odds-latest.trend-up,
  .m-match-odds-sheet .m-odds-latest.trend-up .m-odds-trend.up{color:#4d806b}
  .m-match-odds-sheet .m-odds-platform-row .m-odds-latest.trend-down,
  .m-match-odds-sheet .m-odds-latest.trend-down .m-odds-trend.down{color:#a85f5b}
  .m-match-odds-sheet .m-prob-matrix{border-color:#d2dadd!important;background:#f5f7f7!important}
  .m-match-odds-sheet .m-prob-matrix h3{border-bottom-color:#dce2e4;background:#f5f7f7!important;color:#344e5d!important}
  .m-match-odds-sheet .m-prob-matrix h3::before{background:#65879e}
  .m-match-odds-sheet .m-prob-matrix th{background:#dce5e8!important;color:#355466!important;font-size:9.5px}
  .m-match-odds-sheet .m-prob-matrix tbody th:first-child,
  .m-match-odds-sheet .m-prob-score-group h4{background:#d5e0e4!important;color:#35566a!important}
  .m-match-odds-sheet .m-prob-matrix td{background:#f8f9f8!important;box-shadow:inset 0 0 0 1px #d8e0e3!important;color:#253d4c!important}
  .m-match-odds-sheet .m-prob-matrix tbody tr:nth-child(even) :is(td,th),
  .m-match-odds-sheet .m-prob-hc tbody tr:nth-child(even) :is(td,th),
  .m-match-odds-sheet .m-prob-ah tbody tr:nth-child(n+3) :is(td,th){background:#eef2f2!important}
  .m-match-odds-sheet .m-prob-matrix td b{font-size:12px;line-height:15px}
  .m-match-odds-sheet .m-prob-matrix td span{background:#e6ecee!important;color:#4d6c7e!important;font-size:8.5px}
  .m-match-odds-sheet .m-prob-score-group button{border-color:#d6dfe2;background:#f8f9f8;color:#294453}
  .m-match-odds-sheet .m-prob-score-group button strong{font-size:11px}
  .m-match-odds-sheet .m-prob-score-group button b{font-size:10px}
  .m-match-odds-sheet .m-prob-score-group button span{color:#4d6c7e;font-size:8px}
  .m-match-odds-sheet .m-prob-score-group button.selected,
  .m-match-odds-sheet .m-prob-score-group button[aria-pressed="true"],
  .m-match-odds-sheet .m-prob-matrix td.is-selected{border-color:#527b98!important;background:#527b98!important;color:#f7f9fa!important}
  .m-odds-history-popover article{border-color:#cfd8dc;background:#eef2f3}
  .m-odds-history-popover article>header,
  .m-odds-history-popover thead th{background:#dfe6e8;color:#405968}
  .m-odds-history-popover article>header b,
  .m-odds-history-popover tbody td:not(:first-child){color:#294453}
  .m-odds-history-popover article>header span,
  .m-odds-history-popover tbody td:first-child small{color:#718593}
  .m-odds-history-popover article>div,
  .m-odds-history-popover table{background:#f7f8f7}
  .m-odds-history-popover :is(th,td){border-color:#d7dfe2;color:#536d7d;background:#f7f8f7}
  .m-odds-history-popover article>header button{background:#edf1f2;color:#506b7d}
}

/* 赛源入口恢复日期栏统一浅色背景。 */
@media(max-width:700px){
  [data-mobile-hub="matches"] .m-date-strip .m-date-tool{
    background:transparent;
    color:#284b62;
  }
  [data-mobile-hub="matches"] .m-date-strip .m-date-tool b{color:#173b55}
  [data-mobile-hub="matches"] .m-date-strip .m-date-tool::before{background:#dbe2e8}
  [data-mobile-hub="matches"] .m-date-strip .m-date-tool:active{background:transparent}
}

/* 赔率与概率表还原到深色改造前的浅色舒缓版。 */
@media(max-width:700px){
  .m-match-odds-sheet .m-sheet-content,
  .m-match-odds-sheet [data-sheet-panel],
  .m-match-odds-sheet .m-probability-native{background:#f1f4f6!important}
  .m-match-odds-sheet .m-odds-market-tabs button{background:#e5eaee;color:#506476}
  .m-match-odds-sheet .m-odds-market-tabs button.active{background:#587a94;color:#f8fbfd;box-shadow:none}
  .m-match-odds-sheet .m-odds-matrix-hint{color:#71818f}
  .m-match-odds-sheet .m-odds-matrix-scroll{border-color:#cbd5dc;background:#f8fafb;box-shadow:0 2px 7px rgba(35,55,72,.045)}
  .m-match-odds-sheet .m-odds-matrix-scroll>table>thead th,
  .m-match-odds-sheet .m-odds-matrix-scroll>table>thead tr:first-child th{border-color:#cbd5dc;background:#dce4e9;color:#40586b}
  .m-match-odds-sheet .m-odds-platform-row>th,
  .m-match-odds-sheet .m-odds-platform-row>td{border-color:#d6dee4;background:#f8fafb;color:#344b5e;font-size:10px}
  .m-match-odds-sheet .m-odds-platform-row:nth-of-type(4n+3)>:is(th,td){background:#eef2f4}
  .m-match-odds-sheet .m-odds-platform-row>th{font-size:10px}
  .m-match-odds-sheet .m-odds-platform-row .m-odds-opening{color:#7a8b99;font-size:10px;font-weight:650}
  .m-match-odds-sheet .m-odds-platform-row .m-odds-latest{color:#344b5e;font-size:10.5px;font-weight:900}
  .m-match-odds-sheet .m-odds-row-more button{color:#173f60}
  .m-match-odds-sheet .m-odds-platform-row .m-odds-latest.trend-up,
  .m-match-odds-sheet .m-odds-latest.trend-up .m-odds-trend.up{color:#4f806c}
  .m-match-odds-sheet .m-odds-platform-row .m-odds-latest.trend-down,
  .m-match-odds-sheet .m-odds-latest.trend-down .m-odds-trend.down{color:#a9625e}
  .m-match-odds-sheet .m-prob-matrix{border-color:#d9e1e6!important;background:#f8fafb!important;box-shadow:none}
  .m-match-odds-sheet .m-prob-matrix h3{border-bottom-color:#e0e6ea;background:#f8fafb!important;color:#344d61!important}
  .m-match-odds-sheet .m-prob-matrix h3::before{background:#6d8ca3}
  .m-match-odds-sheet .m-prob-matrix th{background:#d5dfe5!important;color:#314e64!important;font-size:9px}
  .m-match-odds-sheet .m-prob-matrix tbody th:first-child,
  .m-match-odds-sheet .m-prob-score-group h4{background:#ccd9e0!important;color:#31536b!important}
  .m-match-odds-sheet .m-prob-matrix td{background:#f6f8f9!important;box-shadow:inset 0 0 0 1px #d6dee3!important;color:#263e52!important}
  .m-match-odds-sheet .m-prob-matrix tbody tr:nth-child(even) :is(td,th),
  .m-match-odds-sheet .m-prob-hc tbody tr:nth-child(even) :is(td,th),
  .m-match-odds-sheet .m-prob-ah tbody tr:nth-child(n+3) :is(td,th){background:#edf1f3!important}
  .m-match-odds-sheet .m-prob-matrix td b{font-size:11px;line-height:13px}
  .m-match-odds-sheet .m-prob-matrix td span{background:#dde6eb!important;color:#405f75!important;font-size:8px;font-weight:700}
  .m-match-odds-sheet .m-prob-score-group button{border-color:#d4dde3;background:#f6f8f9;color:#2e485d}
  .m-match-odds-sheet .m-prob-score-group button strong{font-size:10px;color:#405f75}
  .m-match-odds-sheet .m-prob-score-group button b{font-size:9px}
  .m-match-odds-sheet .m-prob-score-group button span{color:#405f75;font-size:7px}
  .m-match-odds-sheet .m-prob-score-group button.selected,
  .m-match-odds-sheet .m-prob-score-group button[aria-pressed="true"],
  .m-match-odds-sheet .m-prob-matrix td.is-selected{border-color:#587a94!important;background:#587a94!important;color:#f8fbfd!important}
  .m-odds-history-popover article{border-color:#aebfce;background:#f5f8fb}
  .m-odds-history-popover article>header,
  .m-odds-history-popover thead th{background:#dbe7f0;color:#315a79}
  .m-odds-history-popover article>header b,
  .m-odds-history-popover tbody td:not(:first-child){color:#173f60}
  .m-odds-history-popover article>header span,
  .m-odds-history-popover tbody td:first-child small{color:#607991}
  .m-odds-history-popover article>div,
  .m-odds-history-popover table{background:#fff}
  .m-odds-history-popover :is(th,td){border-color:#d4e0e9;color:#315a79;background:#fff}
  .m-odds-history-popover article>header button{background:rgba(255,255,255,.62);color:#315a79}
}

/* 底栏定位门禁：页面横向溢出不得挤压或抬高四项导航。 */
@media(max-width:700px){
  html,body{max-width:100vw;overflow-x:hidden!important}
  .primary-nav.mobile-primary-nav{
    right:0!important;
    bottom:0!important;
    left:0!important;
    width:100vw!important;
    box-sizing:border-box!important;
  }
  .primary-nav.mobile-primary-nav>a{
    min-width:0!important;
    margin:0!important;
    transform:none!important;
  }
}

/* 手机视口滚动槽固定：有无长列表时底栏可用宽度完全一致。 */
@media(max-width:700px){
  html{width:100%;max-width:100%;overflow-x:hidden!important;overflow-y:scroll!important}
  body{width:100%;max-width:100%;overflow-x:hidden!important}
  .primary-nav.mobile-primary-nav{width:100%!important}
}

/* 长列表出现竖向滚动槽时，顶部不得继续按 100vw 制造横向滚动条。 */
@media(max-width:700px){
  html{scrollbar-width:none!important}
  html::-webkit-scrollbar{width:0!important;height:0!important}
  .topbar{
    right:0!important;
    left:0!important;
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
}

/* 手机登录弹窗：模糊层从完整顶部状态栏下方开始，不侵入状态栏。 */
@media(max-width:700px){
  .g2-auth-modal-overlay{inset:var(--mobile-top-h) 0 0}
}

/* 概率分布：胜平负与让球盘取消独立列头，结果名称内嵌在赔率左侧。 */
@media(max-width:700px){
  .m-match-odds-sheet .m-prob-inline-table td>button{
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr)!important;
    grid-template-rows:1fr 1fr!important;
    column-gap:5px!important;
    align-items:center!important;
    padding:3px 7px!important;
  }
  .m-match-odds-sheet .m-prob-inline-label{
    grid-row:1/3;
    align-self:center;
    color:#314e64;
    font-size:14px;
    font-style:normal;
    font-weight:850;
    transform:translateX(11px);
  }
  .m-match-odds-sheet .m-prob-inline-table td>button>b,
  .m-match-odds-sheet .m-prob-inline-table td>button>span{grid-column:2;margin-right:auto!important;margin-left:auto!important}
  .m-match-odds-sheet .m-prob-inline-table td.is-selected .m-prob-inline-label{color:#f8fbfd!important}
}

/* 手机端统一加深页面底色；概率玩法取消独立大框，以横线连续分区。 */
@media(max-width:700px){
  html,body,.app-shell,#route-root,.mobile-hub,
  [data-mobile-hub],body.mobile-match-active,
  body.mobile-match-active .app-shell,
  body.mobile-match-active #route-root,
  body.mobile-match-active [data-mobile-hub="matches"],
  body.mobile-match-active .m-upcoming-list,
  .m-match-odds-sheet .m-sheet-content,
  .m-match-odds-sheet [data-sheet-panel],
  .m-match-odds-sheet .m-probability-native{background:#e4eaee!important}
  .m-match-odds-sheet .m-probability-pc{gap:0!important}
  .m-match-odds-sheet .m-prob-matrix{
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  .m-match-odds-sheet .m-prob-matrix+.m-prob-matrix{
    margin-top:8px!important;
    padding-top:8px;
    border-top:0!important;
    position:relative;
  }
  .m-match-odds-sheet .m-prob-matrix+.m-prob-matrix::before{
    position:absolute;
    top:0;
    left:17.5%;
    width:65%;
    height:1px;
    background:#bcc9d1;
    content:"";
  }
  .m-match-odds-sheet .m-prob-matrix h3{
    border:0!important;
    background:transparent!important;
  }
}

/* 让分盘取消顶部盘口表头，正负盘口直接置于赔率左侧。 */
/* 普通比赛胜平负概率摘要：一根连续横条按胜平负概率分成绿、金、红三段。 */
@media(max-width:700px){
  .m-match-odds-sheet .m-prob-result-summary{box-sizing:border-box;width:100%;padding:12px 12px 7px!important;overflow:hidden}
  .m-match-odds-sheet .m-prob-result-bar{display:flex;width:100%;height:10px;overflow:hidden;border-radius:999px;background:#cfd8de;box-shadow:inset 0 1px 2px rgba(31,55,73,.16)}
  .m-match-odds-sheet .m-prob-result-bar>i{display:block;height:100%;min-width:0}
  .m-match-odds-sheet .m-prob-result-bar>.is-home{background:#2f8b68}
  .m-match-odds-sheet .m-prob-result-bar>.is-draw{background:#d49a32}
  .m-match-odds-sheet .m-prob-result-bar>.is-away{background:#c45d63}
  .m-match-odds-sheet .m-prob-result-labels{display:grid;gap:0;margin-top:7px}
  .m-match-odds-sheet .m-prob-result-labels>span{display:flex;min-width:0;align-items:center;justify-content:center;gap:3px;color:#425f73;font-size:10px;line-height:15px;white-space:nowrap}
  .m-match-odds-sheet .m-prob-result-labels b{font-weight:800}
  .m-match-odds-sheet .m-prob-result-labels em{color:#173b59;font-style:normal;font-weight:900}
}

/* 让分盘取消顶部盘口表头，正负盘口直接置于赔率左侧。 */
@media(max-width:700px){
  .m-match-odds-sheet .m-prob-line-labels td>button{
    grid-template-columns:32px minmax(0,1fr)!important;
    column-gap:4px!important;
    padding:3px 5px!important;
  }
  .m-match-odds-sheet .m-prob-line-labels .m-prob-inline-label{
    width:32px;
    color:#405f75;
    font-size:11px;
    letter-spacing:-.3px;
    transform:none;
  }
}

/* 胜平负、让球盘、让分盘统一标签列与赔率概率列位置。 */
@media(max-width:700px){
  .m-match-odds-sheet .m-prob-inline-table td>button{
    grid-template-columns:32px minmax(0,1fr)!important;
    column-gap:4px!important;
    padding:3px 5px!important;
  }
  .m-match-odds-sheet .m-prob-inline-table .m-prob-inline-label{
    width:32px;
    justify-self:center;
    text-align:center;
    transform:none;
    position:relative;
    align-self:stretch;
    display:grid;
    place-items:center;
  }
  .m-match-odds-sheet .m-prob-inline-table .m-prob-inline-label::after{
    position:absolute;
    top:17.5%;
    right:-2px;
    height:65%;
    width:1px;
    border-radius:1px;
    background:#c5d1d9;
    content:"";
  }
  .m-match-odds-sheet .m-prob-inline-table td.is-selected .m-prob-inline-label::after{
    background:rgba(255,255,255,.35);
  }
}

/* 大小球与准确进球数改为手绘稿所示的竖向盘口小卡。 */
@media(max-width:700px){
  .m-match-odds-sheet .m-prob-tile-grid{
    display:grid;
    gap:4px;
    padding:6px 4px 8px!important;
  }
  .m-match-odds-sheet .m-prob-ou-tiles{grid-template-columns:repeat(5,minmax(0,1fr))}
  .m-match-odds-sheet .m-prob-goal-tiles{grid-template-columns:repeat(7,minmax(0,1fr))}
  .m-match-odds-sheet .m-prob-tile-grid article{
    display:grid;
    min-width:0;
    overflow:hidden;
    border:1px solid #d3dde3;
    border-radius:7px;
    background:#f7f9fa;
  }
  .m-match-odds-sheet .m-prob-tile-grid article>strong{
    display:grid;
    min-height:25px;
    border-bottom:0;
    background:#d5dfe5;
    color:#314e64;
    font-size:9px;
    position:relative;
    place-items:center;
  }
  .m-match-odds-sheet .m-prob-tile-grid article>strong::after{
    position:absolute;
    bottom:0;
    left:17.5%;
    width:65%;
    height:1px;
    background:#ccd8df;
    content:"";
  }
  .m-match-odds-sheet .m-prob-ou-tiles article>strong,
  .m-match-odds-sheet .m-prob-goal-tiles article>strong{
    background:transparent;
  }
  .m-match-odds-sheet .m-prob-tile-grid button{
    display:grid;
    min-width:0;
    min-height:38px;
    padding:3px 1px;
    border:0;
    border-bottom:0;
    background:#f7f9fa;
    color:#263e52;
    position:relative;
    place-items:center;
    -webkit-tap-highlight-color:transparent;
  }
  .m-match-odds-sheet .m-prob-tile-grid button:not(:last-child)::after{
    position:absolute;
    bottom:0;
    left:17.5%;
    width:65%;
    height:1px;
    background:#dce4e8;
    content:"";
  }
  .m-match-odds-sheet .m-prob-tile-grid button i{color:#405f75;font-size:8px;font-style:normal;font-weight:800}
  .m-match-odds-sheet .m-prob-tile-grid button b{font-size:10px;line-height:12px}
  .m-match-odds-sheet .m-prob-tile-grid button span{padding:0 2px;border-radius:6px;background:#e4ebef;color:#405f75;font-size:7px;line-height:10px}
  .m-match-odds-sheet .m-prob-tile-grid button.selected,
  .m-match-odds-sheet .m-prob-tile-grid button[aria-pressed="true"]{background:#587a94;color:#fff}
  .m-match-odds-sheet .m-prob-tile-grid button.selected :is(i,span),
  .m-match-odds-sheet .m-prob-tile-grid button[aria-pressed="true"] :is(i,span){background:transparent;color:#fff}
  .m-match-odds-sheet .m-prob-goal-tiles article:has(>button.selected),
  .m-match-odds-sheet .m-prob-goal-tiles article:has(>button[aria-pressed="true"]){
    border-color:#587a94;
    background:#587a94;
  }
  .m-match-odds-sheet .m-prob-goal-tiles article:has(>button.selected)>strong,
  .m-match-odds-sheet .m-prob-goal-tiles article:has(>button[aria-pressed="true"])>strong{
    background:#587a94;
    color:#fff;
  }
  .m-match-odds-sheet .m-prob-goal-tiles article:has(>button.selected)>strong::after,
  .m-match-odds-sheet .m-prob-goal-tiles article:has(>button[aria-pressed="true"])>strong::after{
    background:rgba(255,255,255,.35);
  }
}

/* 大小球小卡：大/小置于赔率左侧，概率保持在赔率下方。 */
@media(max-width:700px){
  .m-match-odds-sheet .m-prob-ou-tiles button{
    display:grid;
    grid-template-columns:18px minmax(0,1fr);
    grid-template-rows:1fr 1fr;
    column-gap:2px;
    align-items:center;
    padding:3px 4px;
  }
  .m-match-odds-sheet .m-prob-ou-tiles button i{
    grid-row:1/3;
    grid-column:1;
    align-self:center;
    justify-self:center;
  }
  .m-match-odds-sheet .m-prob-ou-tiles button b,
  .m-match-odds-sheet .m-prob-ou-tiles button span{grid-column:2;justify-self:center}
}

/* 手机概率玩法统一左右内容边界，以胜平负、让球盘、让分盘的 8px 基线为准。 */
@media(max-width:700px){
  .m-match-odds-sheet .m-prob-matrix>div,
  .m-match-odds-sheet .m-prob-tile-grid,
  .m-match-odds-sheet .m-prob-scores>div{
    box-sizing:border-box;
    width:100%;
    padding-right:8px!important;
    padding-left:8px!important;
  }
}

/* 概率表非赔率与概率文字统一为 12px。 */
@media(max-width:700px){
  .m-match-odds-sheet .m-prob-matrix h3,
  .m-match-odds-sheet .m-prob-matrix th,
  .m-match-odds-sheet .m-prob-inline-label,
  .m-match-odds-sheet .m-prob-tile-grid article>strong,
  .m-match-odds-sheet .m-prob-tile-grid button i,
  .m-match-odds-sheet .m-prob-score-group h4,
  .m-match-odds-sheet .m-prob-score-group button strong{
    font-size:12px!important;
  }
}

/* 概率选中态稳定显色；大小球使用独立、收窄的圆角选框。 */
@media(max-width:700px){
  .m-match-odds-sheet .m-prob-inline-table td.is-selected{
    background:#587a94!important;
    box-shadow:inset 0 0 0 1px #456f8d!important;
  }
  .m-match-odds-sheet .m-prob-inline-table td.is-selected button,
  .m-match-odds-sheet .m-prob-inline-table td.is-selected :is(i,b,span),
  .m-match-odds-sheet .m-prob-score-group button.selected :is(strong,b,span),
  .m-match-odds-sheet .m-prob-score-group button[aria-pressed="true"] :is(strong,b,span),
  .m-match-odds-sheet .m-prob-tile-grid button.selected :is(i,b,span),
  .m-match-odds-sheet .m-prob-tile-grid button[aria-pressed="true"] :is(i,b,span){
    color:#fff!important;
  }
  .m-match-odds-sheet .m-prob-inline-table td.is-selected span,
  .m-match-odds-sheet .m-prob-score-group button.selected span,
  .m-match-odds-sheet .m-prob-score-group button[aria-pressed="true"] span,
  .m-match-odds-sheet .m-prob-tile-grid button.selected span,
  .m-match-odds-sheet .m-prob-tile-grid button[aria-pressed="true"] span{
    background:transparent!important;
  }
  .m-match-odds-sheet .m-prob-ou-tiles button{
    box-sizing:border-box;
    width:calc(100% - 6px);
    min-height:34px;
    margin:2px 3px;
    border-radius:7px;
    justify-self:center;
  }
  .m-match-odds-sheet .m-prob-ou-tiles button.selected,
  .m-match-odds-sheet .m-prob-ou-tiles button[aria-pressed="true"]{
    background:#587a94!important;
    box-shadow:inset 0 0 0 1px #456f8d;
  }
}

/* 手机赔率表采用概率分布式轻量卡片矩阵，保留平台、双盘与历史入口。 */
@media(max-width:700px){
  .m-match-odds-sheet .m-odds-matrix{
    background:#e4eaee;
  }
  .m-match-odds-sheet .m-odds-matrix-scroll{
    box-sizing:border-box;
    width:100%!important;
    margin:0!important;
    padding:0 8px 8px;
    overflow-x:hidden;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  .m-match-odds-sheet .m-odds-matrix-scroll>table{
    width:100%;
    border-collapse:separate;
    border-spacing:4px 6px;
    table-layout:fixed;
  }
  .m-match-odds-sheet .m-odds-matrix-scroll>table>thead th,
  .m-match-odds-sheet .m-odds-matrix-scroll>table>thead tr:first-child th{
    height:28px;
    padding:0 2px;
    border:0!important;
    border-radius:7px;
    background:#d5dfe5!important;
    color:#314e64!important;
    font-size:12px!important;
  }
  .m-match-odds-sheet .m-odds-platform-row>th,
  .m-match-odds-sheet .m-odds-platform-row>td{
    height:58px;
    padding:0 2px;
    border:0!important;
    border-radius:8px;
    background:#f6f8f9!important;
    box-shadow:inset 0 0 0 1px #d4dde3;
    color:#2e485d!important;
  }
  .m-match-odds-sheet .m-odds-platform-row:nth-of-type(4n+3)>:is(th,td){
    background:#eef2f4!important;
  }
  .m-match-odds-sheet .m-odds-platform-row>th{
    position:static;
    font-size:12px!important;
  }
  .m-match-odds-sheet .m-odds-platform-row>td>span{
    height:28px;
    line-height:28px;
  }
  .m-match-odds-sheet .m-odds-row-more button{
    width:100%;
    height:58px;
    border-radius:8px;
  }
  .m-match-odds-sheet .m-odds-matrix-hint{
    padding-right:12px;
    padding-left:12px;
  }
}

/* 让球盘与让分盘偶数行选中态不得被交替行底色覆盖。 */
@media(max-width:700px){
  .m-match-odds-sheet .m-prob-inline-table tbody tr td.is-selected,
  .m-match-odds-sheet .m-prob-hc tbody tr:nth-child(even) td.is-selected,
  .m-match-odds-sheet .m-prob-ah tbody tr:nth-child(even) td.is-selected,
  .m-match-odds-sheet .m-prob-ah tbody tr:nth-child(n+3) td.is-selected{
    border-color:#456f8d!important;
    background:#587a94!important;
    box-shadow:inset 0 0 0 1px #456f8d!important;
    color:#fff!important;
  }
  .m-match-odds-sheet .m-prob-inline-table tbody tr td.is-selected>button,
  .m-match-odds-sheet .m-prob-inline-table tbody tr td.is-selected>button :is(i,b,span){
    background:transparent!important;
    color:#fff!important;
  }
}

/* 赔率区与概率表共用 8px 边界；色条位于平台列和首个赔率列之间；图例固定在底部。 */
@media(max-width:700px){
  .m-match-odds-sheet .m-odds-market-tabs{box-sizing:border-box;width:calc(100% - 16px);margin:0 8px 8px;padding:1px 0}
  .m-match-odds-sheet .m-odds-matrix>[data-odds-market-panel]{padding:0}
  .m-match-odds-sheet .m-odds-matrix-scroll{width:100%!important;padding-right:8px;padding-left:8px}
  .m-match-odds-sheet .m-odds-platform-row>th+td{position:relative}
  .m-match-odds-sheet .m-odds-platform-row>th+td>.m-odds-opening::before,
  .m-match-odds-sheet .m-odds-platform-row>th+td>.m-odds-latest::before{content:""!important;position:absolute;left:-3px;display:block;width:2px;height:10px;border-radius:2px}
  .m-match-odds-sheet .m-odds-platform-row>th+td>.m-odds-opening::before{top:9px;background:#718fa6}
  .m-match-odds-sheet .m-odds-platform-row>th+td>.m-odds-latest::before{bottom:9px;background:#b49367}
  .m-match-odds-sheet .m-odds-matrix-hint{order:99;flex:0 0 auto;margin-top:0;padding:8px 12px 4px}
}

/* 最终宽度基线以赔率页为准，概率玩法同步扩展到同一左右边界。 */
@media(max-width:700px){
  .m-match-odds-sheet .m-sheet-tabs{padding-right:12px;padding-left:12px}
  .m-match-odds-sheet .m-odds-market-tabs{width:100%;margin:0 0 8px}
  .m-match-odds-sheet .m-odds-market-tabs{padding-right:4px;padding-left:4px}
  .m-match-odds-sheet .m-odds-market-tabs button{flex:1 1 0;min-width:0;padding-right:4px;padding-left:4px}
  .m-match-odds-sheet .m-odds-matrix>[data-odds-market-panel]:not([hidden]){flex:0 0 auto}
  .m-match-odds-sheet .m-odds-matrix-scroll{padding-right:0;padding-left:0}
  .m-match-odds-sheet .m-sheet-content{scrollbar-width:none}
  .m-match-odds-sheet .m-sheet-content::-webkit-scrollbar{width:0;height:0}
  .m-match-odds-sheet .m-sheet-content>[data-sheet-panel="1"]{width:100%;max-width:100%}
  .m-match-odds-sheet .m-probability-native{width:100%;padding:9px 0 20px}
  .m-match-odds-sheet .m-probability-pc{width:100%}
  .m-match-odds-sheet .m-prob-matrix>div,
  .m-match-odds-sheet .m-prob-tile-grid,
  .m-match-odds-sheet .m-prob-scores>div{width:100%;padding-right:0!important;padding-left:0!important}
}

/* 手机赔率表使用显式网格：首列色条缝隙 12px，其余缝隙 4px，总边界保持不变。 */
@media(max-width:700px){
  .m-match-odds-sheet .m-odds-matrix{box-sizing:border-box;width:100%;min-width:100%}
  .m-match-odds-sheet .m-odds-matrix-scroll>table{display:block;box-sizing:border-box;width:100%;margin-left:0;padding:0 4px;border-spacing:0}
  .m-match-odds-sheet .m-odds-matrix-scroll>table>thead,
  .m-match-odds-sheet .m-odds-matrix-scroll>table>tbody{display:block;width:100%}
  .m-match-odds-sheet .m-odds-matrix-scroll>table>thead>tr,
  .m-match-odds-sheet .m-odds-platform-row{display:grid;width:calc(100vw - 24px);margin:0 0 6px}
  .m-match-odds-sheet .m-odds-cols-3>thead>tr,
  .m-match-odds-sheet .m-odds-cols-3 .m-odds-platform-row{grid-template-columns:62px 12px minmax(0,1fr) 4px minmax(0,1fr) 4px minmax(0,1fr) 4px 28px}
  .m-match-odds-sheet .m-odds-cols-4>thead>tr,
  .m-match-odds-sheet .m-odds-cols-4 .m-odds-platform-row{grid-template-columns:62px 12px minmax(0,1fr) 4px minmax(0,1fr) 4px minmax(0,1fr) 4px minmax(0,1fr) 4px 28px}
  .m-match-odds-sheet .m-odds-matrix-scroll>table>thead>tr>*:nth-child(1),
  .m-match-odds-sheet .m-odds-platform-row>*:nth-child(1){grid-column:1}
  .m-match-odds-sheet .m-odds-matrix-scroll>table>thead>tr>*:nth-child(2),
  .m-match-odds-sheet .m-odds-platform-row>*:nth-child(2){grid-column:2}
  .m-match-odds-sheet .m-odds-matrix-scroll>table>thead>tr>*:nth-child(3),
  .m-match-odds-sheet .m-odds-platform-row>*:nth-child(3){grid-column:3}
  .m-match-odds-sheet .m-odds-matrix-scroll>table>thead>tr>*:nth-child(4),
  .m-match-odds-sheet .m-odds-platform-row>*:nth-child(4){grid-column:5}
  .m-match-odds-sheet .m-odds-matrix-scroll>table>thead>tr>*:nth-child(5),
  .m-match-odds-sheet .m-odds-platform-row>*:nth-child(5){grid-column:7}
  .m-match-odds-sheet .m-odds-cols-3>thead>tr>*:nth-child(6),
  .m-match-odds-sheet .m-odds-cols-3 .m-odds-platform-row>*:nth-child(6){grid-column:9}
  .m-match-odds-sheet .m-odds-cols-4>thead>tr>*:nth-child(6),
  .m-match-odds-sheet .m-odds-cols-4 .m-odds-platform-row>*:nth-child(6){grid-column:9}
  .m-match-odds-sheet .m-odds-cols-4>thead>tr>*:nth-child(7),
  .m-match-odds-sheet .m-odds-cols-4 .m-odds-platform-row>*:nth-child(7){grid-column:11}
  .m-match-odds-sheet .m-odds-platform-row>th+td{transform:none}
  .m-match-odds-sheet .m-odds-platform-row>th+td>.m-odds-opening::before,
  .m-match-odds-sheet .m-odds-platform-row>th+td>.m-odds-latest::before{left:-7px;height:15px}
  .m-match-odds-sheet .m-odds-platform-row>th+td>.m-odds-latest::before{top:7px;bottom:auto;background:#b49367}
  .m-match-odds-sheet .m-odds-platform-row>th+td>.m-odds-opening::before{top:auto;bottom:7px;background:#718fa6}
  .m-match-odds-sheet .m-odds-row-time .m-odds-time-latest>i{background:#b49367}
  .m-match-odds-sheet .m-odds-row-time .m-odds-time-opening>i{background:#718fa6}
  .m-match-odds-sheet .m-odds-platform-row>td:not(.m-odds-row-more)>span+span{border-top:1px solid #cbd7e0}
  .m-match-odds-sheet .m-odds-color-rail-head,
  .m-match-odds-sheet .m-odds-platform-row>.m-odds-color-rail{display:grid!important;width:12px!important;height:58px!important;padding:0!important;background:transparent!important;box-shadow:none!important;grid-template-rows:1fr 1fr;place-items:center}
  .m-match-odds-sheet .m-odds-color-rail-head{height:28px!important}
  .m-match-odds-sheet .m-odds-color-rail i{display:block;width:2px;height:15px;border-radius:2px}
  .m-match-odds-sheet .m-odds-color-rail .latest{background:#b49367}
  .m-match-odds-sheet .m-odds-color-rail .opening{background:#718fa6}
  .m-match-odds-sheet .m-odds-platform-row>td:not(.m-odds-color-rail)>.m-odds-opening::before,
  .m-match-odds-sheet .m-odds-platform-row>td:not(.m-odds-color-rail)>.m-odds-latest::before{content:none!important}
  .m-match-odds-sheet .m-odds-platform-row>th{display:grid!important;align-items:center;justify-items:center;padding:0!important;text-align:center;line-height:1.15}
  .m-match-odds-sheet .m-odds-matrix-scroll>table>thead>tr>th{
    display:grid!important;
    box-sizing:border-box;
    width:100%!important;
    min-width:0!important;
    height:35px!important;
    place-items:center;
    padding:0!important;
    text-align:center;
    line-height:1
  }
  .m-match-odds-sheet .m-odds-matrix-scroll>table>thead>tr>.m-odds-color-rail-head{height:35px!important}
  .m-match-odds-sheet .m-odds-matrix-scroll>table>thead>tr>th.m-odds-color-rail-head,
  .m-match-odds-sheet .m-odds-matrix-scroll>table>thead>tr>th:last-child{
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important
  }
  .m-match-odds-sheet .m-odds-platform-row>td.m-odds-color-rail{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
  .m-match-odds-sheet .m-odds-platform-row .m-odds-latest{position:relative;display:flex!important;align-items:center;justify-content:center;text-align:center;line-height:1!important}
  .m-match-odds-sheet .m-odds-platform-row .m-odds-latest .m-odds-trend{
    position:absolute!important;
    top:50%;
    right:5px;
    width:auto!important;
    margin:0!important;
    transform:translateY(-50%);
    line-height:1!important
  }
  .m-match-odds-sheet .m-odds-platform-row .m-odds-opening{border-bottom:0!important}
  .m-match-odds-sheet .m-odds-color-rail .opening,
  .m-match-odds-sheet .m-odds-row-time .m-odds-time-opening>i,
  .m-match-odds-sheet .m-odds-matrix-hint span:first-child:before{background:#1685e0!important}
  .m-match-odds-sheet .m-odds-color-rail .latest,
  .m-match-odds-sheet .m-odds-row-time .m-odds-time-latest>i,
  .m-match-odds-sheet .m-odds-matrix-hint span+span:before{background:#f28a00!important}
  .m-match-odds-sheet .m-odds-platform-row .m-odds-opening{color:#1d76c8!important}
  .m-match-odds-sheet .m-odds-platform-row .m-odds-latest:not(.trend-up):not(.trend-down){color:#df7900!important}
  .m-odds-history-popover article>div{flex:1;min-height:0;overflow:hidden!important;border-radius:0 0 14px 14px}
  .m-odds-history-popover table{display:flex;height:100%;max-height:calc(min(70dvh,560px) - 46px);min-width:0!important;flex-direction:column;table-layout:fixed}
  .m-odds-history-popover thead{display:block;flex:0 0 auto}
  .m-odds-history-popover tbody{display:block;flex:1;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch}
  .m-odds-history-popover :is(thead,tbody)>tr{display:grid;width:100%}
  .m-odds-history-popover .m-odds-history-cols-3 :is(thead,tbody)>tr{grid-template-columns:112px repeat(3,minmax(0,1fr))}
  .m-odds-history-popover .m-odds-history-cols-4 :is(thead,tbody)>tr{grid-template-columns:112px repeat(4,minmax(0,1fr))}
  .m-odds-history-popover :is(th,td){box-sizing:border-box;width:auto!important;height:36px!important;padding:0 4px!important;display:flex;align-items:center;justify-content:center;font-size:10px!important;font-weight:800!important;line-height:1!important}
  .m-odds-history-popover .m-odds-history-time b{display:block!important;color:#173f60;font-size:10px!important;font-weight:800!important;line-height:36px!important;white-space:nowrap}
  .m-odds-history-popover tbody td.m-odds-history-up{color:#087a4f!important}
  .m-odds-history-popover tbody td.m-odds-history-down{color:#c7372f!important}
}

/* 竞彩中奖态最终覆盖层：偶数行不得覆盖总进球高亮，内部线条保持不透明。 */
@media(max-width:700px){
  .m-jingcai-probability .m-prob-inline-table tbody tr td.is-winning,
  .m-jingcai-probability .m-prob-inline-table tbody tr:nth-child(even) td.is-winning{border:1px solid #a96e12!important;background:#efd08a!important;box-shadow:0 2px 6px rgba(94,57,5,.2),inset 0 0 0 1px #d2a64f!important}
  .m-jingcai-probability .m-prob-inline-table td.is-winning>button>span,
  .m-jingcai-probability .m-prob-score-group button.is-winning>span{padding:0 4px!important;border:1px solid #c59a45!important;border-radius:8px!important;background:#f7e2ae!important;color:#3b2a0d!important}
  .m-jingcai-probability .m-prob-inline-table td.is-winning .m-prob-inline-label::after,
  .m-jingcai-probability .m-prob-inline-table td.is-winning.is-selected .m-prob-inline-label::after{
    background:#a96e12!important;
    opacity:1!important;
  }
  .m-jingcai-probability .m-prob-score-group button.is-winning strong::after,
  .m-jingcai-probability .m-prob-score-group button.is-winning.selected strong::after,
  .m-jingcai-probability .m-prob-score-group button.is-winning[aria-pressed="true"] strong::after{
    background:#a96e12!important;
    opacity:1!important;
  }
}

/* 联赛徽章与名称使用同一 DOM 节点，从主视觉区平滑移动到返回箭头右侧。 */
@media(max-width:700px){
  body.mobile-db-league-detail .m-db-detail-hero{display:flex!important;align-items:center;justify-content:space-between}
  body.mobile-db-league-detail .m-db-league-identity{display:grid;min-width:0;flex:1;grid-template-columns:54px minmax(0,1fr);align-items:center;gap:10px;color:#fff;transform:none}
  body.mobile-db-league-detail .m-db-league-mark{overflow:hidden}
  body.mobile-db-league-detail .m-db-league-mark img{display:block;width:100%;height:100%;object-fit:contain}
  body.mobile-db-league-detail .m-db-league-identity h1{overflow:hidden;margin:0 0 7px;font-size:16px;text-overflow:ellipsis;white-space:nowrap}
  body.mobile-db-league-detail .m-db-league-identity p{margin:0;color:#c9d8e3;font-size:9px}
  body.mobile-db-league-detail .topbar>.m-db-league-identity.collapsed{display:flex;min-width:0;max-width:calc(100% - 54px);height:var(--mobile-top-h);flex:1;align-items:center;gap:7px;color:#fff}
  body.mobile-db-league-detail .topbar>.m-db-league-identity.collapsed{visibility:visible!important}
  body.mobile-db-league-detail .topbar>.m-db-league-identity.collapsed .m-db-league-mark{width:22px;height:22px;flex:0 0 22px;border-width:1px;font-size:10px}
  body.mobile-db-league-detail .topbar>.m-db-league-identity.collapsed>div:last-child{min-width:0}
  body.mobile-db-league-detail .topbar>.m-db-league-identity.collapsed h1{overflow:hidden;margin:0;color:#fff;font-size:12px;line-height:22px;text-overflow:ellipsis;white-space:nowrap}
  body.mobile-db-league-detail .topbar>.m-db-league-identity.collapsed p{display:none}
}

/* 联赛主页面不再保留独立顶部栏：主视觉区上扩，并在其左上角承载返回按钮。 */
@media(max-width:700px){
  body.mobile-db-league-detail .topbar.mobile-db-detail-topbar{display:none!important}
  body.mobile-db-league-detail .m-db-detail>.m-db-detail-hero{
    height:calc(112px + var(--mobile-top-h))!important;
    margin-top:0!important;
    padding:calc(var(--mobile-top-h) + 8px) 10px 14px!important;
  }
  body.mobile-db-league-detail .m-db-detail-tabs{top:0!important}
  body.mobile-db-league-detail .m-db-hero-back{
    position:absolute;
    z-index:4;
    top:8px;
    left:12px;
    display:grid;
    width:34px;
    height:34px;
    padding:0;
    border:0;
    background:transparent;
    color:#fff;
    place-items:center;
    font:300 34px/1 Arial,sans-serif;
    cursor:pointer;
    -webkit-tap-highlight-color:transparent;
  }
  body.mobile-db-league-detail .m-db-hero-back:is(:hover,:focus,:active){
    border:0;
    outline:0;
    background:transparent;
    box-shadow:none;
    transform:none;
  }
}

/* “全部比赛 → 联赛”使用与数据库联赛相同的单层主视觉，不再生成独立顶部状态栏。 */
@media(max-width:700px){
  body.mobile-league-detail .topbar{display:none!important}
  body.mobile-league-detail .m-canonical-league-hero{
    position:relative!important;
    height:calc(112px + var(--mobile-top-h))!important;
    margin-top:0!important;
    padding:calc(var(--mobile-top-h) + 8px) 10px 14px!important;
  }
  body.mobile-league-detail .m-canonical-league-tabs{top:0!important}
  body.mobile-league-detail .m-canonical-league-hero .m-db-league-mark{overflow:hidden}
  body.mobile-league-detail .m-canonical-league-hero .m-db-league-mark img{display:block;width:100%;height:100%;object-fit:contain}
  body.mobile-league-detail .m-mobile-league-hero-back{
    position:absolute;
    z-index:4;
    top:8px;
    left:12px;
    display:grid;
    width:34px;
    height:34px;
    padding:0;
    border:0;
    background:transparent;
    color:#fff;
    place-items:center;
    font:300 34px/1 Arial,sans-serif;
    cursor:pointer;
    -webkit-tap-highlight-color:transparent;
  }
  body.mobile-league-detail .m-mobile-league-hero-back:is(:hover,:focus,:active){border:0;outline:0;background:transparent;box-shadow:none;transform:none}
  body.mobile-db-league-detail .primary-nav.mobile-primary-nav,
  body.mobile-league-detail .primary-nav.mobile-primary-nav{display:none!important}
}

/* 普通手机页面必须保留统一顶部状态栏；仅联赛详情主视觉独占顶部。 */
@media(max-width:700px){
  body:not(.mobile-db-league-detail):not(.mobile-league-detail):not(.mobile-account-active)>.app-shell>.topbar{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;
    align-items:center!important;
  }
  body.mobile-db-league-detail:has([data-page="/database"]:not([hidden]) .m-db-detail)>.app-shell>.topbar,
  body.mobile-league-detail:has([data-page="/match-center"]:not([hidden]) .m-canonical-league-hero)>.app-shell>.topbar{
    display:none!important;
  }
}

/* 手机统一比赛表：保持半场比分原有位置，仅将字号缩为原字号的 75%。 */
@media(max-width:700px){
  [data-mobile-hub="matches"] .m-score-row.finished .m-score-result,
  [data-mobile-hub="matches"] .m-score-row.live .m-score-result{transform:translateX(18px)!important}
  [data-mobile-hub="matches"] .m-score-row.finished .m-score-half{position:absolute;top:50%;left:-10px;display:grid;width:18px;grid-template-rows:15px 15px;align-content:center;gap:3px;color:#8b9aaa;font-size:6.75px;font-weight:400;line-height:9px;transform:translate(-50%,-50%)}
  [data-mobile-hub="matches"] .m-score-row.finished .m-score-half i{display:flex;align-items:flex-end;justify-content:center;color:inherit;font:inherit;font-style:normal}
  [data-mobile-hub="matches"] .m-score-row.finished .m-score-half i:first-child{position:relative}
  [data-mobile-hub="matches"] .m-score-row.finished .m-score-half i:first-child::after{position:absolute;bottom:0;left:50%;width:12px;height:1px;background:#c5d0d9;content:"";transform:translateX(-50%)}
  [data-mobile-hub="matches"] .m-score-row.finished .m-score-result b,
  [data-mobile-hub="matches"] .m-score-row.live .m-score-result b{color:#c94742}
  [data-mobile-hub="matches"] .m-score-row.finished .m-score-half,
  [data-mobile-hub="matches"] .m-score-row.finished .m-score-half i{color:#d98b87}
  [data-mobile-hub="matches"] .m-score-row.finished .m-score-half i:first-child::after{background:#e7b8b5}
  [data-mobile-hub="matches"] .m-score-row.finished .m-score-odds>span.won b{color:#173b5e!important;font-weight:900!important}
  [data-mobile-hub="matches"] .m-score-row.finished .m-score-odds>span.won small{color:#315a79!important;font-weight:800!important}
}

/* 各正式比赛入口的全场比分统一为红色；竞彩详情中的半场比分使用淡红色。 */
.m-db-detail-match .m-db-match-score strong,
.m-detail-score strong,
.match-score,
.m-jingcai-detail-score strong{color:#c94742}
.m-jingcai-detail-score>span{color:#d98b87}

/* 联赛主页面最终覆盖：顶部与主视觉连成一个连续色面，三个分页共用折叠标题。 */
@media(max-width:700px){
  body.mobile-db-league-detail .topbar,
  body.mobile-db-league-detail .m-db-detail>.m-db-detail-hero,
  body.mobile-league-detail .topbar,
  body.mobile-league-detail .m-canonical-league-hero{
    border:0!important;
    background:linear-gradient(90deg,#143d5e 0%,#1b4b6d 62%,#245776 100%)!important;
    box-shadow:none!important
  }
  body.mobile-db-league-detail .m-db-detail>.m-db-detail-hero,
  body.mobile-league-detail .m-canonical-league-hero{margin-top:-1px!important}
  body.mobile-db-league-detail .topbar{overflow:hidden}
  body.mobile-db-league-detail .m-db-collapse-heading{
    visibility:visible!important;
    opacity:var(--m-league-collapse,0)!important;
    transform:translateY(var(--m-league-shift,12px));
    will-change:opacity,transform
  }
}

/* 联赛详情折叠最终层（必须位于全部历史覆盖之后）。 */
@media(max-width:700px){
  body.mobile-db-league-detail,
  body.mobile-league-detail{--m-league-hero-h:160px;--m-league-top-pad:48px;--m-league-mark-size:58px;--m-league-identity-x:4px;--m-league-subtitle-opacity:1;--m-league-compact-h:46px}
  body.mobile-db-league-detail.mobile-league-header-collapsed,
  body.mobile-league-detail.mobile-league-header-collapsed{--m-league-hero-h:46px;--m-league-top-pad:8px;--m-league-mark-size:26px;--m-league-identity-x:32px;--m-league-subtitle-opacity:0}
  body.mobile-db-league-detail .m-db-detail{overflow:visible!important}
  body.mobile-db-league-detail .m-db-detail>.m-db-detail-hero,
  body.mobile-league-detail .m-canonical-league-hero{position:sticky!important;z-index:92!important;top:0!important;display:grid!important;height:var(--m-league-hero-h)!important;min-height:46px!important;margin-top:0!important;padding:var(--m-league-top-pad) 12px 8px!important;grid-template-columns:var(--m-league-mark-size) minmax(0,1fr) auto!important;align-items:center!important;column-gap:8px!important;overflow:hidden!important;overflow-anchor:none!important;transition:height .48s cubic-bezier(.16,1,.3,1),padding .48s cubic-bezier(.16,1,.3,1)!important;will-change:height,padding}
  body.mobile-db-league-detail.mobile-league-header-collapsed .m-db-detail>.m-db-detail-hero,
  body.mobile-league-detail.mobile-league-header-collapsed .m-canonical-league-hero{box-shadow:0 2px 8px rgba(10,42,66,.22)!important}
  body.mobile-db-league-detail .m-db-hero-back{z-index:6!important;top:8px!important;left:10px!important;width:30px!important;height:30px!important;font-size:30px!important}
  body.mobile-db-league-detail .m-db-league-identity,
  body.mobile-league-detail .m-db-league-identity{grid-column:1/3!important;display:grid!important;min-width:0!important;padding-right:72px!important;grid-template-columns:var(--m-league-mark-size) minmax(0,1fr)!important;align-items:center!important;gap:8px!important;transform:translateX(var(--m-league-identity-x))!important;transform-origin:left center!important;transition:transform .48s cubic-bezier(.16,1,.3,1)!important;will-change:transform,grid-template-columns}
  body.mobile-db-league-detail .m-db-league-mark,
  body.mobile-league-detail .m-db-league-mark{width:var(--m-league-mark-size)!important;height:var(--m-league-mark-size)!important;min-width:0!important;font-size:12px!important;transition:width .48s cubic-bezier(.16,1,.3,1),height .48s cubic-bezier(.16,1,.3,1)!important;will-change:width,height}
  body.mobile-db-league-detail .m-db-league-identity h1,
  body.mobile-league-detail .m-db-league-identity h1{overflow:hidden!important;margin:0!important;font-size:14px!important;line-height:1.2!important;text-overflow:ellipsis!important;white-space:nowrap!important}
  body.mobile-db-league-detail.mobile-league-header-collapsed .m-db-league-identity h1,
  body.mobile-league-detail.mobile-league-header-collapsed .m-db-league-identity h1{font-size:12px!important}
  body.mobile-db-league-detail .m-db-league-identity p,
  body.mobile-league-detail .m-db-league-identity p{max-height:18px!important;margin:4px 0 0!important;opacity:var(--m-league-subtitle-opacity)!important;overflow:hidden!important;white-space:nowrap!important;transition:opacity .32s ease,max-height .48s cubic-bezier(.16,1,.3,1),margin .48s cubic-bezier(.16,1,.3,1)!important;will-change:opacity}
  body.mobile-db-league-detail.mobile-league-header-collapsed .m-db-league-identity p,
  body.mobile-league-detail.mobile-league-header-collapsed .m-db-league-identity p{max-height:0!important;margin:0!important}
  body.mobile-db-league-detail .m-db-detail-hero>select,
  body.mobile-league-detail .m-canonical-league-hero>select{position:fixed!important;z-index:94!important;top:8px!important;right:12px!important;width:60px!important;height:30px!important;padding:0 22px 0 8px!important;-webkit-appearance:none!important;appearance:none!important;transform:none!important;background-color:#fff!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23173b5b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 8px center!important;background-size:10px 6px!important}
  body.mobile-db-league-detail .m-db-detail-tabs,
  body.mobile-league-detail .m-canonical-league-tabs{position:sticky!important;z-index:91!important;top:46px!important;overflow-anchor:none!important}
}

/* 联赛详情滚动稳定层：禁止浏览器因头部高度动画自动补偿滚动位置。 */
@media(max-width:700px){
  body.mobile-db-league-detail,
  body.mobile-league-detail{overflow-anchor:none!important}
}

/* 联赛分页始终位于可变高度主视觉下方，并以更高层级覆盖边界舍入误差。 */
@media(max-width:700px){
  body.mobile-db-league-detail .m-db-detail-tabs,
  body.mobile-league-detail .m-canonical-league-tabs{
    position:sticky!important;
    z-index:95!important;
    top:46px!important;
    height:42px!important;
    min-height:42px!important;
    margin:0!important;
    isolation:isolate;
    overflow:visible!important;
    background:#fff!important;
  }
}

@media(max-width:700px){
  .m-db-cup-progress{display:flex;min-height:70px;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#315a79}
  .m-db-cup-progress b{color:#123d5d;font-size:17px}
  .m-db-cup-progress span{font-size:12px}
  .m-db-summary-warning{margin:8px 0 0;color:#a65b00;font-size:11px;text-align:center}
  .m-db-bracket{display:grid;gap:12px;padding:10px 12px 24px}
  .m-db-bracket-round{padding:10px 12px;border:1px solid #d8e2e9;border-radius:16px;background:#fff;box-shadow:0 4px 14px rgba(24,61,89,.05)}
  .m-db-bracket-round h2{margin:0 0 8px;color:#123d5d;font-size:16px}
  .m-db-bracket-round .m-db-detail-match{width:100%;border-top:1px solid #edf1f4}
}

/* 手机端赛季选择：使用轻量自定义弹层，避免原生选择框遮挡联赛头部。 */
@media(max-width:700px){
  body.mobile-db-league-detail .m-db-season-picker{position:fixed;z-index:96;top:8px;right:12px;width:64px}
  body.mobile-db-league-detail .m-db-detail:has(.m-db-season-picker.open)>.m-db-detail-hero{z-index:100!important;overflow:visible!important}
  body.mobile-db-league-detail .m-db-season-picker.open{z-index:101}
  body.mobile-db-league-detail .m-db-season-picker>[data-m-db-season-trigger]{display:flex;width:64px;height:28px;padding:0 8px;border:0;border-radius:8px;align-items:center;justify-content:space-between;background:#fff;color:#153d5e;box-shadow:0 2px 7px rgba(7,35,57,.1);font-size:11px;font-weight:850;-webkit-tap-highlight-color:transparent}
  body.mobile-db-league-detail .m-db-season-picker>[data-m-db-season-trigger]:is(:hover,:focus,:active){outline:0;background:#fff;box-shadow:0 2px 8px rgba(7,35,57,.12);transform:none}
  body.mobile-db-league-detail .m-db-season-picker>[data-m-db-season-trigger]>i{width:7px;height:7px;margin:-4px 1px 0 5px;border-right:2px solid #173d5d;border-bottom:2px solid #173d5d;transform:rotate(45deg);transition:transform .16s ease}
  body.mobile-db-league-detail .m-db-season-picker.open>[data-m-db-season-trigger]>i{margin-top:4px;transform:rotate(225deg)}
  body.mobile-db-league-detail .m-db-season-menu{position:absolute;top:33px;right:0;display:grid;box-sizing:border-box;width:64px;max-height:none;padding:4px;overflow:visible;border:1px solid #d5e0e8;border-radius:10px;background:#fff;box-shadow:0 8px 18px rgba(9,41,65,.18)}
  body.mobile-db-league-detail .m-db-season-menu>button{display:flex;min-height:29px;padding:0 8px;align-items:center;justify-content:center;border:0;border-radius:7px;background:transparent;color:#31566f;font-size:11px;font-weight:750;text-align:center;-webkit-tap-highlight-color:transparent}
  body.mobile-db-league-detail .m-db-season-menu>button[aria-selected="true"]{background:#e4eef5;color:#0e527f;font-weight:900}
  body.mobile-db-league-detail .m-db-season-menu>button:is(:hover,:focus,:active){outline:0;box-shadow:none;transform:none}
  body.mobile-db-league-detail .m-db-season-menu>button>i{color:#1e78b2;font-size:12px;font-style:normal;text-align:right}
}

/* 联赛详情顶部微调：名称下移 2px；赛季组件展开前后共用同一固定定位盒。 */
@media(max-width:700px){
  body.mobile-db-league-detail .m-db-league-identity h1{
    position:relative!important;
    top:2px!important
  }
  body.mobile-db-league-detail .m-db-season-picker,
  body.mobile-db-league-detail .m-db-season-picker.open{
    position:fixed!important;
    inset:8px 12px auto auto!important;
    box-sizing:border-box!important;
    width:64px!important;
    height:28px!important;
    margin:0!important;
    padding:0!important;
    transform:none!important
  }
  body.mobile-db-league-detail .m-db-season-picker>[data-m-db-season-trigger],
  body.mobile-db-league-detail .m-db-season-picker.open>[data-m-db-season-trigger]{
    position:absolute!important;
    inset:0!important;
    box-sizing:border-box!important;
    width:64px!important;
    height:28px!important;
    margin:0!important;
    transform:none!important
  }
  body.mobile-db-league-detail .m-db-season-picker>[data-m-db-season-trigger]>i,
  body.mobile-db-league-detail .m-db-season-picker.open>[data-m-db-season-trigger]>i{
    margin:0 1px 0 5px!important;
    transform-origin:center!important
  }
  body.mobile-db-league-detail .m-db-season-picker.open>[data-m-db-season-trigger]>i{
    transform:rotate(225deg)!important
  }
}

/* XG 表兼容保护：旧缓存脚本若仍输出总量列，禁止其换行破坏三列布局。 */
@media(max-width:700px){
  .m-db-xg-head>b:nth-of-type(n+4),
  .m-db-xg-row>i:nth-of-type(n+4){display:none!important}
}

/* 积分榜与预期进球榜共用同一张移动端表格标尺。 */
@media(max-width:700px){
  .m-db-scope-switch{
    display:flex;
    gap:6px;
    margin:0 0 8px;
    padding:2px 3px 4px;
    overflow-x:auto;
    scrollbar-width:none;
    overscroll-behavior-inline:contain;
  }
  .m-db-scope-switch::-webkit-scrollbar{display:none}
  .m-db-scope-switch button{
    flex:0 0 auto;
    min-height:30px;
    padding:0 12px;
    border:1px solid #c7d8e5;
    border-radius:15px;
    background:#fff;
    color:#456984;
    font-size:11px;
    font-weight:700;
  }
  .m-db-scope-switch button.active{
    border-color:#2379ad;
    background:#2379ad;
    color:#fff;
  }
  .m-db-xg-head{
    grid-template-columns:24px minmax(72px,1fr) repeat(3,46px);
    font-size:8px;
  }
  .m-db-standing-head .m-db-range-switch,
  .m-db-xg-head .m-db-range-switch{
    box-sizing:border-box;
    width:132px;
    height:28px;
    margin:0 0 0 2px;
    padding:2px;
    justify-self:start;
  }
  .m-db-standing-head .m-db-range-switch button,
  .m-db-xg-head .m-db-range-switch button{
    height:22px;
    border-radius:6px;
    font-size:9px;
  }
  .m-db-xg-row{
    min-height:43px;
    grid-template-columns:24px minmax(72px,1fr) repeat(3,46px);
    padding:0 3px;
    font-size:9px;
  }
  .m-db-xg-row>b{width:20px;height:20px;font-size:9px}
  .m-db-xg-row>span img,.m-db-xg-row>span>span{
    flex-basis:18px;
    width:18px;
    height:18px;
    font-size:8px;
  }
}

/* 竞彩玩法标题行：玩法名称及单关/过关标识组成一个左对齐信息组。 */
@media(max-width:700px){
  .m-jingcai-probability .m-prob-matrix>h3{
    justify-content:flex-start!important;
  }
.m-jingcai-probability .m-jingcai-play-badges{
    margin-left:4px!important;
    margin-right:0!important;
  }
}

/* 榜单范围筛选与赛季按钮稳定层：最终覆盖，开合前后保持同一坐标盒。 */
@media(max-width:700px){
  .m-db-standing-head .m-db-range-switch,
  .m-db-xg-head .m-db-range-switch{
    position:absolute!important;
    top:4px!important;
    left:5px!important;
    grid-column:auto!important;
    width:132px!important;
    height:28px!important;
    margin:0!important;
    transform:none!important
  }
  .m-db-standing-head>b:nth-of-type(1),.m-db-xg-head>b:nth-of-type(1){grid-column:3}
  .m-db-standing-head>b:nth-of-type(2),.m-db-xg-head>b:nth-of-type(2){grid-column:4}
  .m-db-standing-head>b:nth-of-type(3),.m-db-xg-head>b:nth-of-type(3){grid-column:5}
  .m-db-standing-head>b:nth-of-type(4){grid-column:6}
  .m-db-standing-head>b:nth-of-type(5){grid-column:7}
  .m-db-standing-head>b:nth-of-type(6){grid-column:8}
  .m-db-standing-head>b:nth-of-type(7){grid-column:9}
  .m-db-xg-head,
  .m-db-xg-row{
    padding-right:6px!important;
    padding-left:6px!important
  }
  .m-db-xg-head>b,
  .m-db-xg-row>i{
    width:100%;
    justify-self:stretch;
    text-align:center
  }
  .m-db-standing-row{
    padding-right:3px!important;
    padding-left:6px!important
  }
  body.mobile-db-league-detail .m-db-season-picker,
  body.mobile-db-league-detail .m-db-season-picker.open{
    position:fixed!important;
    top:8px!important;
    right:12px!important;
    bottom:auto!important;
    left:auto!important;
    min-width:64px!important;
    max-width:64px!important;
    min-height:28px!important;
    max-height:28px!important;
    width:64px!important;
    height:28px!important;
    margin:0!important;
    padding:0!important;
    transform:none!important
  }
  body.mobile-db-league-detail .m-db-season-picker>[data-m-db-season-trigger],
  body.mobile-db-league-detail .m-db-season-picker.open>[data-m-db-season-trigger]{
    position:absolute!important;
    top:0!important;
    right:0!important;
    bottom:auto!important;
    left:auto!important;
    min-width:64px!important;
    max-width:64px!important;
    width:64px!important;
    height:28px!important;
    margin:0!important;
    transform:none!important
  }
  body.mobile-db-league-detail .m-db-season-menu,
  body.mobile-db-league-detail .m-db-season-picker.open .m-db-season-menu{
    position:absolute!important;
    top:33px!important;
    right:0!important;
    bottom:auto!important;
    left:auto!important;
    box-sizing:border-box!important;
    min-width:64px!important;
    max-width:64px!important;
    width:64px!important;
    margin:0!important;
    transform:none!important
  }
  body.mobile-db-league-detail .m-db-season-menu[hidden]{display:none!important}
}

/* 联赛详情读取状态：只在固定赛季组件左侧显示，不插入内容行或推动页面。 */
@media(max-width:700px){
  body.mobile-db-league-detail .m-db-season-loading{position:absolute!important;top:7px!important;right:74px!important;display:block;box-sizing:border-box;width:14px;height:14px;border:2px solid rgba(255,255,255,.38);border-top-color:#fff;border-radius:50%;pointer-events:none;animation:m-db-season-loading-spin .72s linear infinite}
  body.mobile-db-league-detail .m-db-season-loading[hidden]{display:none!important}
  .m-global-read-spinner{position:fixed!important;z-index:2147482000!important;top:15px!important;right:86px!important;display:block;box-sizing:border-box;width:14px;height:14px;border:2px solid rgba(255,255,255,.38);border-top-color:#fff;border-radius:50%;pointer-events:none;animation:m-db-season-loading-spin .72s linear infinite}
  .m-global-read-spinner[hidden]{display:none!important}
  @keyframes m-db-season-loading-spin{to{transform:rotate(360deg)}}
  @media(prefers-reduced-motion:reduce){body.mobile-db-league-detail .m-db-season-loading,.m-global-read-spinner{animation-duration:1.5s}}
}

/* 积分榜与预期进球榜：恢复组件内滚动，表头保持在组件顶部。 */
.m-db-standing-card,
.m-db-xg-card{
  position:relative;
  display:flex!important;
  flex-direction:column!important;
  max-height:calc(100vh - 180px);
  overflow:hidden!important
}
.m-db-table-sticky{
  position:relative!important;
  top:auto!important;
  z-index:2!important;
  flex:0 0 auto;
  overflow:hidden;
  border-radius:15px 15px 0 0;
  background:#f4f7f9;
  isolation:auto
}
.m-db-table-sticky::before{display:none!important;content:none!important}
.m-db-table-sticky>.m-db-standing-head,
.m-db-table-sticky>.m-db-xg-head{
  position:relative!important;
  top:auto!important;
  z-index:auto!important;
  flex:0 0 auto;
  margin:0!important;
  box-shadow:0 1px 0 #d8e2e9!important
}
.m-db-standing-body,
.m-db-xg-body{
  flex:1 1 auto;
  min-height:0;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior:contain;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch
}
.m-db-standing-body::-webkit-scrollbar,
.m-db-xg-body::-webkit-scrollbar{display:none;width:0;height:0}
.m-db-standing-body::-webkit-scrollbar-track,
.m-db-xg-body::-webkit-scrollbar-track{
  margin-block:10px;
  border-radius:999px;
  background:rgba(82,109,132,.08)
}
.m-db-standing-body::-webkit-scrollbar-track-piece,
.m-db-xg-body::-webkit-scrollbar-track-piece{border-radius:999px}
.m-db-standing-body::-webkit-scrollbar-thumb,
.m-db-xg-body::-webkit-scrollbar-thumb{
  min-height:36px;
  border:2px solid transparent;
  border-radius:999px;
  background:rgba(76,111,137,.68);
  background-clip:content-box
}
.m-db-standing-body::-webkit-scrollbar-thumb:hover,
.m-db-xg-body::-webkit-scrollbar-thumb:hover{background:rgba(56,91,118,.82);background-clip:content-box}
.m-db-standing-body::-webkit-scrollbar-button,
.m-db-xg-body::-webkit-scrollbar-button{display:none;width:0;height:0}
.m-db-standing-body::-webkit-scrollbar-corner,
.m-db-xg-body::-webkit-scrollbar-corner{background:transparent}
.m-db-scroll-rail{
  position:absolute;
  z-index:5;
  top:46px;
  right:3px;
  bottom:10px;
  width:4px;
  border-radius:999px;
  background:rgba(82,109,132,.10);
  pointer-events:none;
  overflow:hidden
}
.m-db-scroll-rail[hidden]{display:none}
.m-db-scroll-rail>i{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  min-height:30px;
  border-radius:999px;
  background:rgba(76,111,137,.70);
  will-change:transform
}
@media(max-width:700px){
  .m-db-standing-card,
  .m-db-xg-card{max-height:calc(100dvh - 150px)}
}

/* 积分榜与预期进球榜：行分隔线左侧贴边，仅右侧收缩 15px，不改变表格标尺。 */
.m-db-standing-row,
.m-db-xg-row{
  position:relative;
  border-top:0!important
}
.m-db-standing-row::before,
.m-db-xg-row::before{
  position:absolute;
  top:0;
  right:15px;
  left:0;
  height:1px;
  background:#e4ebf0;
  content:"";
  pointer-events:none
}

/* 正式分区联赛同页连续展示：一套全部/主场/客场筛选，不提供射手榜。 */
@media(max-width:700px){
  /* 哥伦比亚春秋季积分榜使用正式阶段选择，不以全年总榜冒充分季数据。 */
  .m-db-colombia-panel{display:grid;gap:8px}
  .m-db-tournament-trigger{
    display:grid;
    width:100%;
    height:36px;
    min-height:36px;
    max-height:36px;
    padding:4px 10px;
    grid-template-columns:22px minmax(0,1fr) 14px;
    gap:8px;
    align-items:center;
    border:1px solid #d9e3ea;
    border-radius:9px;
    background:#f7f9fb;
    color:#153d5d;
    text-align:left
  }
  .m-db-tournament-trigger img,.m-db-tournament-sheet img{width:22px;height:22px;object-fit:contain}
  .m-db-tournament-trigger strong{font-size:12px;font-weight:800}
  .m-db-tournament-trigger>i{width:0;height:0;justify-self:end;border-right:6px solid transparent;border-left:6px solid transparent;border-top:7px solid #111}
  .m-db-tournament-layer{position:fixed;z-index:1200;inset:0}
  .m-db-tournament-backdrop{position:absolute;inset:0;width:100%;border:0;background:rgba(7,20,31,.46)}
  .m-db-tournament-sheet{
    position:absolute;
    right:0;
    bottom:0;
    left:0;
    box-sizing:border-box;
    max-height:78dvh;
    padding:10px 18px max(24px,env(safe-area-inset-bottom));
    overflow-y:auto;
    border-radius:28px 28px 0 0;
    background:#fff;
    box-shadow:0 -10px 34px rgba(9,35,55,.16)
  }
  .m-db-tournament-grabber{display:grid!important;width:100%!important;min-height:24px!important;height:24px!important;margin:0 0 8px!important;padding:0!important;place-items:center!important;border:0!important;background:transparent!important;touch-action:none}
  .m-db-tournament-grabber>i{display:block;width:66px;height:5px;border-radius:4px;background:#dfe3e6}
  .m-db-tournament-sheet h2{margin:0 0 10px 2px;color:#15191d;font-size:14px}
  .m-db-tournament-sheet>button:not(.m-db-tournament-grabber){
    display:grid;
    width:100%;
    min-height:44px;
    padding:5px 4px;
    grid-template-columns:26px 22px minmax(0,1fr) auto;
    gap:8px;
    align-items:center;
    border:0;
    background:#fff;
    color:#171b20;
    text-align:left
  }
  .m-db-tournament-sheet>button:not(.m-db-tournament-grabber)>span{box-sizing:border-box;width:20px;height:20px;border:2px solid #4d4f57;border-radius:50%}
  .m-db-tournament-sheet>button[aria-pressed="true"]>span{border:3px solid #1877ef;box-shadow:inset 0 0 0 3px #fff;background:#1877ef}
  .m-db-tournament-sheet>button:not(.m-db-tournament-grabber) strong{font-size:12px;font-weight:700}
  .m-db-tournament-sheet>button:not(.m-db-tournament-grabber) small{color:#8a98a3;font-size:10px}
  .m-db-tournament-sheet>button:not(.m-db-tournament-grabber):disabled{opacity:.46}
  .m-db-grouped-panel{display:grid;min-width:0;gap:8px}
  .m-db-group-range{
    box-sizing:border-box;
    padding:8px 8px 0;
    border:1px solid #d8e2e9;
    border-bottom:0;
    border-radius:16px 16px 0 0;
    background:#fff
  }
  .m-db-group-range+.m-db-xg-notice{margin:0;padding:0 10px;background:#fff}
  .m-db-group-range .m-db-range-switch{
    width:min(100%,300px);
    height:36px;
    margin:0;
    grid-column:auto;
    justify-self:start;
    border:0;
    gap:8px;
    background:transparent
  }
  .m-db-group-range .m-db-range-switch button{
    height:32px;
    padding:0 16px;
    border-radius:17px;
    background:#f2f4f7;
    font-size:11px
  }
  .m-db-group-range .m-db-range-switch button.active{background:#1678b5;color:#fff}
  .m-db-grouped-card{
    display:block!important;
    margin-top:-8px;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    border-top:0;
    border-radius:0 0 16px 16px;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch
  }
  .m-db-grouped-card::-webkit-scrollbar{display:none}
  .m-db-standing-group,.m-db-xg-group{display:block;min-width:0;background:#fff}
  .m-db-standing-group+.m-db-standing-group,
  .m-db-xg-group+.m-db-xg-group{margin-top:16px;border-top:8px solid #edf2f6}
  .m-db-group-heading{
    display:flex;
    min-height:42px;
    padding:8px 12px;
    gap:8px;
    align-items:center;
    background:#fff;
    color:#143d5e
  }
  .m-db-group-heading img{width:24px;height:24px;object-fit:contain}
  .m-db-group-heading>div{display:grid;gap:1px;text-align:left}
  .m-db-group-heading strong{font-size:12px;font-weight:850}
  .m-db-group-heading small{color:#7b8f9f;font-size:9px}
  .m-db-grouped-card .m-db-standing-head,
  .m-db-grouped-card .m-db-xg-head{
    position:sticky!important;
    top:0!important;
    z-index:2!important;
    border-radius:0;
    box-shadow:0 1px 0 #d8e2e9
  }
  .m-db-grouped-card .m-db-standing-body,
  .m-db-grouped-card .m-db-xg-body{
    display:block;
    min-height:0;
    overflow:visible!important;
    flex:none
  }
  .m-db-grouped-card .m-db-scroll-rail{top:8px}
  .m-historical-match-detail{display:grid;gap:22px;padding:26px 18px;color:#173a57}
  .m-historical-teams{display:grid;grid-template-columns:minmax(0,1fr) 116px minmax(0,1fr);align-items:center;gap:10px}
  .m-historical-teams>article{display:grid;justify-items:center;gap:10px;min-width:0;text-align:center}
  .m-historical-teams>article img,.m-historical-teams>article>span{display:grid;width:72px;height:72px;place-items:center;border:1px solid #cad9e4;border-radius:50%;background:#fff;object-fit:contain;font-size:28px;font-weight:850}
  .m-historical-teams>article b{width:100%;overflow:hidden;text-overflow:ellipsis;font-size:15px;white-space:nowrap}
  .m-historical-score{display:grid;gap:8px}
  .m-historical-score p{display:grid;gap:3px;margin:0;text-align:center}
  .m-historical-score span,.m-historical-xg span{color:#6d8497;font-size:11px}
  .m-historical-score strong{font-size:23px;font-weight:900}
  .m-historical-xg{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;padding:16px;border-radius:16px;background:#f4f7f9;text-align:center}
  .m-historical-xg article{display:grid;gap:5px}
  .m-historical-xg b{font-size:22px}
  .m-historical-xg i{color:#7b8f9f;font-size:11px;font-style:normal}
  .m-odds-history-popover tbody{
    scrollbar-width:none;
    scrollbar-gutter:auto
  }
  .m-odds-history-popover tbody::-webkit-scrollbar{display:none;width:0;height:0}
  .m-odds-history-scroll-rail{position:absolute;right:3px;z-index:5;width:5px;border-radius:999px;background:rgba(139,166,187,.16);pointer-events:none}
  .m-odds-history-scroll-rail[hidden]{display:none}
  .m-odds-history-scroll-rail>i{display:block;width:5px;min-height:34px;border-radius:999px;background:#8ba6bb;box-shadow:0 1px 2px rgba(38,68,92,.22);will-change:height,transform}
}

/* 最终层：移动比赛列表稳定性覆盖必须位于历史兼容规则之后。 */
@media(max-width:700px){
  body.mobile-league-detail,
  body.mobile-league-detail .app-shell,
  body.mobile-league-detail #route-root,
  body.mobile-league-detail [data-page="/match-center"],
  body.mobile-league-detail [data-mobile-hub="matches"],
  body.mobile-league-detail .m-upcoming-list,
  body.mobile-db-league-detail,
  body.mobile-db-league-detail .app-shell,
  body.mobile-db-league-detail #route-root,
  body.mobile-db-league-detail [data-page="/database"],
  body.mobile-db-league-detail [data-mobile-hub="database"],
  body.mobile-db-league-detail .m-db-detail,
  body.mobile-db-league-detail .m-db-detail-body,
  body.mobile-db-league-detail .m-unified-league-matches,
  body.mobile-db-league-detail .m-upcoming-list{background-color:#edf2f6!important;background-image:none!important}
  [data-mobile-hub="matches"] .m-date-strip{
    display:flex!important;width:100%!important;grid-template-columns:none!important;
    overflow-x:auto!important;overflow-y:hidden!important;overscroll-behavior-x:contain;
    touch-action:pan-x;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch
  }
  [data-mobile-hub="matches"] .m-date-strip::-webkit-scrollbar{display:none}
  [data-mobile-hub="matches"] .m-date-strip .m-date-tool,
  [data-mobile-hub="matches"] .m-date-strip [data-m-day-chip]{flex:0 0 52px!important;min-width:52px!important}
  [data-mobile-hub="matches"] .m-date-strip [data-m-day-chip]{scroll-snap-align:center}
  [data-mobile-hub="matches"] .m-upcoming-list,
  [data-mobile-hub="matches"] .m-upcoming-list .m-score-row{box-sizing:border-box;width:100%;max-width:100%}
  [data-mobile-hub="matches"] [data-open-match]{transition:color .1s ease,box-shadow .1s ease,filter .1s ease!important}
  [data-mobile-hub="matches"] [data-open-match]:active{transform:none!important;translate:0!important;scale:1!important}
  .m-db-league-mark{contain:layout paint;aspect-ratio:1/1}
  .m-db-league-mark img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}
}

/* 最终层：所有比赛详情弹窗与竞彩使用同一顶部停靠高度。 */
@media(max-width:700px){
  body.m-sheet-open .m-sheet.m-match-detail-sheet{bottom:0!important;max-height:100dvh!important}
  .m-match-detail-sheet .m-sheet-panel{height:94dvh!important;max-height:94dvh!important}
  .m-match-detail-sheet:not(.m-jingcai-probability-sheet) .m-sheet-panel{padding-bottom:calc(var(--mobile-nav-h) + env(safe-area-inset-bottom))}
}

/* 未登录只显示登录按钮；头像只属于已经登录的账户。 */
@media(max-width:700px){
  body.mobile-menu-active .account-shell:not([data-authenticated="1"]) .account-entry,
  body.mobile-match-active .account-shell:not([data-authenticated="1"]) .account-entry{
    width:auto!important;min-width:46px!important;height:28px!important;padding:0 11px!important;
    border:1px solid rgba(255,255,255,.62)!important;border-radius:7px!important;
    background:#fff!important;color:#17446f!important;font-size:12px!important;font-weight:800!important
  }
  body.mobile-menu-active .account-shell:not([data-authenticated="1"]) .account-entry>span,
  body.mobile-match-active .account-shell:not([data-authenticated="1"]) .account-entry>span{display:inline!important}
  body.mobile-menu-active .account-shell:not([data-authenticated="1"]) .account-entry i,
  body.mobile-match-active .account-shell:not([data-authenticated="1"]) .account-entry i{display:none!important}
}

/* 非竞彩比赛详情也保留后方页面，并使用与竞彩一致的半透明模糊遮罩。 */
@media(max-width:700px){
  .m-match-detail-sheet:not(.m-jingcai-probability-sheet) .m-sheet-backdrop{
    background:rgba(8,24,40,.42)!important;
    backdrop-filter:blur(2px)!important;
    -webkit-backdrop-filter:blur(2px)!important
  }
}

/* 日期栏统一结构：赛源固定，日期独立连续横滑；即将开始与竞彩共用。 */
@media(max-width:700px){
  [data-mobile-hub="matches"] .m-date-bar{
    position:sticky;top:var(--mobile-top-h);z-index:85;display:grid;
    grid-template-columns:52px minmax(0,1fr);box-sizing:border-box;
    width:100%;height:35px;min-height:35px;overflow:hidden;
    border-bottom:1px solid #d5dee6;background:#fff
  }
  [data-mobile-hub="matches"] .m-date-bar>.m-date-tool{
    position:relative;display:grid;box-sizing:border-box;width:52px;min-width:52px;height:35px;
    margin:0;padding:2px 0 1px;align-content:center;gap:0;border:0;border-radius:0;
    background:#fff;color:#173b5e;text-align:center;box-shadow:none
  }
  [data-mobile-hub="matches"] .m-date-bar>.m-date-tool::after{
    position:absolute;top:7px;right:0;width:1px;height:21px;background:#d5dee6;content:""
  }
  [data-mobile-hub="matches"] .m-date-bar>.m-date-tool small{font-size:9px;line-height:12px}
  [data-mobile-hub="matches"] .m-date-bar>.m-date-tool b{color:#0f3455;font-size:11px;font-weight:850;line-height:13px}
  [data-mobile-hub="matches"] .m-date-bar>.m-date-strip{
    position:static!important;display:flex!important;box-sizing:border-box;width:100%!important;
    height:35px!important;min-height:35px!important;margin:0!important;padding:0!important;
    grid-template-columns:none!important;overflow-x:auto!important;overflow-y:hidden!important;
    overscroll-behavior-x:contain;touch-action:pan-x pan-y;scroll-snap-type:x proximity;
    scrollbar-width:none;-webkit-overflow-scrolling:touch;background:#fff
  }
  [data-mobile-hub="matches"] .m-date-bar>.m-date-strip::-webkit-scrollbar{display:none}
  [data-mobile-hub="matches"] .m-date-bar>.m-date-strip>[data-m-day-chip]{
    flex:1 1 0!important;min-width:0!important;width:auto!important;height:35px!important;
    margin:0!important;padding:2px 0 1px!important;scroll-snap-align:center
  }
}
@media (max-width:700px){
  .mobile-match-surface{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;}
  .mobile-match-surface :is(.m-match-card,.m-league-group,.m-league-directory-row,[data-open-match],[data-open-league]){touch-action:pan-y;}
  .mobile-match-surface .m-date-strip{touch-action:pan-x;}
  .mobile-match-surface :is(input,textarea,[contenteditable="true"],.allow-copy){-webkit-user-select:text;user-select:text;-webkit-touch-callout:default;}
}
/* 手机概率表鲜明配色：亮绿胜、亮橙平、亮蓝负，并统一其余玩法的蓝青色视觉。 */
@media(max-width:700px){
  .m-match-odds-sheet .m-prob-result-summary{padding-right:11px!important;padding-left:11px!important}
  .m-match-odds-sheet .m-prob-result-bar{height:11px;background:#cbd8e2;box-shadow:0 2px 5px rgba(24,65,96,.18)}
  .m-match-odds-sheet .m-prob-result-bar>.is-home{background:#13b96f}
  .m-match-odds-sheet .m-prob-result-bar>.is-draw{background:#ff9f1c}
  .m-match-odds-sheet .m-prob-result-bar>.is-away{background:#168bea}
  .m-match-odds-sheet .m-prob-result-labels>span{color:#174466;font-size:10px}
  .m-match-odds-sheet .m-prob-result-labels em{color:#174466;font-size:10px;font-weight:900}
  .m-match-odds-sheet .m-prob-matrix h3{color:#123f63!important}
  .m-match-odds-sheet .m-prob-matrix h3::before{background:#149bd7!important;box-shadow:0 0 0 3px rgba(20,155,215,.12)}
  .m-match-odds-sheet .m-prob-matrix th,.m-match-odds-sheet .m-prob-matrix tbody th:first-child{background:#cce9f6!important;color:#124b70!important}
  .m-match-odds-sheet .m-prob-inline-table td,.m-match-odds-sheet .m-prob-matrix tbody tr:nth-child(even) td{background:#f7fcff!important;box-shadow:inset 0 0 0 1px #b9d9e9!important;color:#123a58!important}
  .m-match-odds-sheet .m-prob-inline-table .m-prob-inline-label{color:#12618d!important;font-weight:850}
  .m-match-odds-sheet .m-prob-inline-table .m-prob-inline-label::after{background:#8bc7df!important}
  .m-match-odds-sheet .m-prob-matrix td b,.m-match-odds-sheet .m-prob-tile-grid button b,.m-match-odds-sheet .m-prob-score-group button b{color:#103c5d}
  .m-match-odds-sheet .m-prob-matrix td span,.m-match-odds-sheet .m-prob-tile-grid button span,.m-match-odds-sheet .m-prob-score-group button span{background:#fff0c7!important;color:#9b5a00!important}
  .m-match-odds-sheet .m-prob-tile-grid article,.m-match-odds-sheet .m-prob-score-group{border-color:#b8d8e8!important;background:#eef9fe!important}
  .m-match-odds-sheet .m-prob-score-group h4{background:#cce9f6!important;color:#124b70!important}
  .m-match-odds-sheet .m-prob-inline-table td.is-selected,.m-match-odds-sheet .m-prob-inline-table tbody tr:nth-child(even) td.is-selected{background:#1976b5!important;box-shadow:inset 0 0 0 1px #0e5f98!important;color:#fff!important}
  .m-match-odds-sheet .m-prob-inline-table td.is-selected :is(i,b,span){background:transparent!important;color:#fff!important}
}
/* 手机概率表低饱和终版：色条严格对齐卡片，准确比分去除整组底板，选中态沿用竞彩赛果金色。 */
@media(max-width:700px){
  .m-match-odds-sheet .m-prob-result-summary{width:calc(100% - 22px)!important;margin-right:11px!important;margin-left:11px!important;padding-right:0!important;padding-left:0!important}
  .m-match-odds-sheet .m-prob-result-bar{height:10px;background:#d4dce2;box-shadow:none}
  .m-match-odds-sheet .m-prob-result-bar>.is-home{background:#5b9b78}
  .m-match-odds-sheet .m-prob-result-bar>.is-draw{background:#d8bc42}
  .m-match-odds-sheet .m-prob-result-bar>.is-away{background:#5b88ad}
  .m-match-odds-sheet .m-prob-matrix h3{color:#344f63!important}
  .m-match-odds-sheet .m-prob-matrix h3::before{background:#7896aa!important;box-shadow:none!important}
  .m-match-odds-sheet .m-prob-matrix th,.m-match-odds-sheet .m-prob-matrix tbody th:first-child{background:#dce6eb!important;color:#3f5e72!important}
  .m-match-odds-sheet .m-prob-inline-table td,.m-match-odds-sheet .m-prob-matrix tbody tr:nth-child(even) td{background:#f7f9fa!important;box-shadow:inset 0 0 0 1px #d2dde3!important;color:#2b4557!important}
  .m-match-odds-sheet .m-prob-inline-table .m-prob-inline-label{color:#476b81!important}
  .m-match-odds-sheet .m-prob-inline-table .m-prob-inline-label::after{background:#c0cfd7!important}
  .m-match-odds-sheet .m-prob-matrix td b,.m-match-odds-sheet .m-prob-tile-grid button b,.m-match-odds-sheet .m-prob-score-group button b{color:#29485d}
  .m-match-odds-sheet .m-prob-matrix td span,.m-match-odds-sheet .m-prob-tile-grid button span,.m-match-odds-sheet .m-prob-score-group button span{background:#e7edf0!important;color:#526f81!important}
  .m-match-odds-sheet .m-prob-tile-grid article{border-color:#d1dce2!important;background:#f2f5f6!important}
  .m-match-odds-sheet .m-prob-scores>div{background:transparent!important}
  .m-match-odds-sheet .m-prob-score-group{border:0!important;background:transparent!important;box-shadow:none!important}
  .m-match-odds-sheet .m-prob-score-group h4{background:#dce6eb!important;color:#3f5e72!important}
  .m-match-odds-sheet .m-prob-inline-table td.is-selected,.m-match-odds-sheet .m-prob-inline-table tbody tr:nth-child(even) td.is-selected,.m-match-odds-sheet .m-prob-score-group button.selected,.m-match-odds-sheet .m-prob-score-group button[aria-pressed="true"],.m-match-odds-sheet .m-prob-tile-grid button.selected,.m-match-odds-sheet .m-prob-tile-grid button[aria-pressed="true"]{border:1px solid #a96e12!important;background:#efd08a!important;box-shadow:0 2px 6px rgba(94,57,5,.2)!important;color:#3b2a0d!important}
  .m-match-odds-sheet .m-prob-inline-table td.is-selected :is(i,b,span),.m-match-odds-sheet .m-prob-score-group button.selected :is(strong,b,span),.m-match-odds-sheet .m-prob-score-group button[aria-pressed="true"] :is(strong,b,span),.m-match-odds-sheet .m-prob-tile-grid button.selected :is(i,b,span),.m-match-odds-sheet .m-prob-tile-grid button[aria-pressed="true"] :is(i,b,span){background:transparent!important;color:#3b2a0d!important}
}
/* 手机概率表细节收口：色条外扩、顶部按钮同色选中态、蓝色玩法标题和加深让球标签。 */
@media(max-width:700px){
  .m-match-odds-sheet .m-prob-result-summary{width:calc(100% - 12px)!important;margin-right:6px!important;margin-left:6px!important}
  .m-match-odds-sheet .m-prob-matrix h3{color:#123f63!important}
  .m-match-odds-sheet .m-prob-matrix h3::before{background:#149bd7!important;box-shadow:0 0 0 3px rgba(20,155,215,.12)!important}
  .m-match-odds-sheet .m-prob-hc th:first-child{background:#c8d6de!important;color:#294c63!important}
  .m-match-odds-sheet .m-prob-inline-table td.is-selected,.m-match-odds-sheet .m-prob-inline-table tbody tr:nth-child(even) td.is-selected,.m-match-odds-sheet .m-prob-score-group button.selected,.m-match-odds-sheet .m-prob-score-group button[aria-pressed="true"],.m-match-odds-sheet .m-prob-tile-grid button.selected,.m-match-odds-sheet .m-prob-tile-grid button[aria-pressed="true"]{border:1px solid #245d8c!important;background:#245d8c!important;box-shadow:none!important;color:#fff!important}
  .m-match-odds-sheet .m-prob-inline-table td.is-selected :is(i,b,span),.m-match-odds-sheet .m-prob-score-group button.selected :is(strong,b,span),.m-match-odds-sheet .m-prob-score-group button[aria-pressed="true"] :is(strong,b,span),.m-match-odds-sheet .m-prob-tile-grid button.selected :is(i,b,span),.m-match-odds-sheet .m-prob-tile-grid button[aria-pressed="true"] :is(i,b,span){background:transparent!important;color:#fff!important}
}
/* 手机概率标签与比赛头部终版：统一标签底色、提亮三色条、恢复初始选中态并固定队徽回退位置。 */
@media(max-width:700px){
  .m-historical-hero-main>article>span[hidden]{display:none!important}
  .m-historical-hero-main>article img{display:block!important;align-self:center;justify-self:center}
  .m-match-odds-sheet .m-prob-result-bar>.is-home{background:#18b86f}
  .m-match-odds-sheet .m-prob-result-bar>.is-draw{background:#f2c313}
  .m-match-odds-sheet .m-prob-result-bar>.is-away{background:#168bea}
  .m-match-odds-sheet .m-prob-hc th:first-child,.m-match-odds-sheet .m-prob-ah th:first-child,.m-match-odds-sheet .m-prob-score-group h4{background:#c8d6de!important;color:#294c63!important}
  .m-match-odds-sheet .m-prob-inline-table td.is-selected,.m-match-odds-sheet .m-prob-inline-table tbody tr:nth-child(even) td.is-selected,.m-match-odds-sheet .m-prob-score-group button.selected,.m-match-odds-sheet .m-prob-score-group button[aria-pressed="true"],.m-match-odds-sheet .m-prob-tile-grid button.selected,.m-match-odds-sheet .m-prob-tile-grid button[aria-pressed="true"]{border:1px solid #587a94!important;background:#587a94!important;box-shadow:none!important;color:#f8fbfd!important}
  .m-match-odds-sheet .m-prob-inline-table td.is-selected :is(i,b,span),.m-match-odds-sheet .m-prob-score-group button.selected :is(strong,b,span),.m-match-odds-sheet .m-prob-score-group button[aria-pressed="true"] :is(strong,b,span),.m-match-odds-sheet .m-prob-tile-grid button.selected :is(i,b,span),.m-match-odds-sheet .m-prob-tile-grid button[aria-pressed="true"] :is(i,b,span){background:transparent!important;color:#f8fbfd!important}
}
/* 普通概率表与竞彩赛果统一：柔和三色条、同色盘口标签及完整金色选中内容。 */
@media(max-width:700px){
  .m-match-odds-sheet .m-prob-result-bar>.is-home{background:#69a98a}
  .m-match-odds-sheet .m-prob-result-bar>.is-draw{background:#dbc75f}
  .m-match-odds-sheet .m-prob-result-bar>.is-away{background:#719abc}
  .m-match-odds-sheet .m-prob-hc th:first-child,.m-match-odds-sheet .m-prob-ah th:first-child,.m-match-odds-sheet .m-prob-score-group h4{background:#c8d6de!important;color:#294c63!important}
  .m-match-odds-sheet .m-prob-inline-table td.is-selected,.m-match-odds-sheet .m-prob-inline-table tbody tr:nth-child(even) td.is-selected,.m-match-odds-sheet .m-prob-score-group button.selected,.m-match-odds-sheet .m-prob-score-group button[aria-pressed="true"],.m-match-odds-sheet .m-prob-tile-grid button.selected,.m-match-odds-sheet .m-prob-tile-grid button[aria-pressed="true"]{border:1px solid #a96e12!important;background:#efd08a!important;box-shadow:0 2px 6px rgba(94,57,5,.2),inset 0 0 0 1px #d2a64f!important;color:#3b2a0d!important}
  .m-match-odds-sheet .m-prob-inline-table td.is-selected :is(i,b),.m-match-odds-sheet .m-prob-score-group button.selected :is(strong,b),.m-match-odds-sheet .m-prob-score-group button[aria-pressed="true"] :is(strong,b),.m-match-odds-sheet .m-prob-tile-grid button.selected :is(i,b),.m-match-odds-sheet .m-prob-tile-grid button[aria-pressed="true"] :is(i,b){background:transparent!important;color:#3b2a0d!important;font-weight:900!important}
  .m-match-odds-sheet .m-prob-inline-table td.is-selected>button>span,.m-match-odds-sheet .m-prob-score-group button.selected>span,.m-match-odds-sheet .m-prob-score-group button[aria-pressed="true"]>span,.m-match-odds-sheet .m-prob-tile-grid button.selected>span,.m-match-odds-sheet .m-prob-tile-grid button[aria-pressed="true"]>span{width:max-content!important;margin-right:auto!important;margin-left:auto!important;padding:0 4px!important;border:1px solid #c59a45!important;border-radius:8px!important;background:#f7e2ae!important;color:#3b2a0d!important;font-weight:900!important}
  .m-match-odds-sheet .m-prob-inline-table td.is-selected .m-prob-inline-label::after,.m-match-odds-sheet .m-prob-score-group button.selected strong::after,.m-match-odds-sheet .m-prob-score-group button[aria-pressed="true"] strong::after{background:#a96e12!important;opacity:1!important}
  .m-match-odds-sheet .m-prob-goal-tiles article:has(>button.selected),.m-match-odds-sheet .m-prob-goal-tiles article:has(>button[aria-pressed="true"]){border-color:#a96e12!important;background:#efd08a!important;box-shadow:0 2px 6px rgba(94,57,5,.2)!important}
  .m-match-odds-sheet .m-prob-goal-tiles article:has(>button.selected)>strong,.m-match-odds-sheet .m-prob-goal-tiles article:has(>button[aria-pressed="true"])>strong{background:#efd08a!important;color:#3b2a0d!important}
}
/* 概率表最终优先级修正：覆盖交替行与旧白字强制规则，所有行完整模拟竞彩赛果。 */
@media(max-width:700px){
  .m-match-odds-sheet .m-prob-hc tbody tr th:first-child,.m-match-odds-sheet .m-prob-hc tbody tr:nth-child(even) th:first-child,.m-match-odds-sheet .m-prob-ah tbody tr th:first-child,.m-match-odds-sheet .m-prob-ah tbody tr:nth-child(even) th:first-child,.m-match-odds-sheet .m-prob-ah tbody tr:nth-child(n+3) th:first-child,.m-match-odds-sheet .m-prob-score-group h4{background:#c8d6de!important;color:#294c63!important}
  .m-match-odds-sheet .m-prob-inline-table tbody tr td.is-selected,.m-match-odds-sheet .m-prob-hc tbody tr:nth-child(even) td.is-selected,.m-match-odds-sheet .m-prob-ah tbody tr:nth-child(even) td.is-selected,.m-match-odds-sheet .m-prob-ah tbody tr:nth-child(n+3) td.is-selected{border:1px solid #a96e12!important;background:#efd08a!important;box-shadow:0 2px 6px rgba(94,57,5,.2),inset 0 0 0 1px #d2a64f!important;color:#3b2a0d!important}
  .m-match-odds-sheet .m-prob-inline-table tbody tr td.is-selected>button,.m-match-odds-sheet .m-prob-inline-table tbody tr td.is-selected>button :is(i,b){background:transparent!important;color:#3b2a0d!important;font-weight:900!important}
  .m-match-odds-sheet .m-prob-inline-table tbody tr td.is-selected>button>span{display:block!important;width:max-content!important;margin-right:auto!important;margin-left:auto!important;padding:0 4px!important;border:1px solid #c59a45!important;border-radius:8px!important;background:#f7e2ae!important;color:#3b2a0d!important;font-weight:900!important}
  .m-match-odds-sheet .m-prob-inline-table tbody tr td.is-selected .m-prob-inline-label::after{background:#a96e12!important;opacity:1!important}
}
/* 金色选中态左侧玩法标签使用竞彩同款深棕字，覆盖历史白字标签规则。 */
@media(max-width:700px){
  .m-match-odds-sheet .m-prob-inline-table tbody tr td.is-selected>button>.m-prob-inline-label{color:#3b2a0d!important;font-weight:900!important}
}
.m-odds-load-earlier{display:block;width:calc(100% - 24px);margin:10px 12px 16px;padding:11px 14px;border:1px solid #d7dee8;border-radius:10px;background:#fff;color:#245b91;font-weight:700}.m-odds-load-earlier:disabled{color:#7b8794;background:#f5f7fa}

/* route584：用户中心会员命名、精简订阅顶部和 API 代码徽标。 */
.membership-hero{min-height:0;padding:.9rem 1rem;margin-bottom:.9rem;border-radius:13px;background:linear-gradient(135deg,#123c61,#236c9f);box-shadow:0 8px 20px rgba(21,59,91,.14)}
.membership-hero:after,.membership-hero-mark{display:none}
.membership-hero h2{margin:.22rem 0 .28rem!important;font-size:1.3rem!important}
.membership-hero p{font-size:.7rem;line-height:1.45}
.membership-section-head{align-items:start}
.membership-section-head>span{display:none}
.api-plug-icon{display:inline-grid;position:relative;width:24px;height:24px;flex:0 0 24px;border:1px solid rgba(255,255,255,.45);border-radius:7px;background:linear-gradient(145deg,#17679f,#103d68)!important;box-shadow:0 3px 8px rgba(19,76,118,.2);color:#fff!important;font-size:0!important;transform:none;place-items:center}
.api-plug-icon:before{position:static;width:auto;height:auto;border:0;border-radius:0;background:transparent;content:"</>";color:#fff;font:900 8px/1 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:-1px}
.api-plug-icon:after{position:absolute;top:-2px;right:-2px;left:auto;width:6px;height:6px;border:2px solid #fff;border-radius:50%;background:#30c889;content:""}
.mobile-account-dashboard .api-plug-icon{width:30px;height:30px;background:linear-gradient(145deg,#1f75ad,#124770)!important}
.mobile-account-dashboard .api-plug-icon:before{position:static;width:auto;height:auto;border:0;background:transparent;color:#fff;font-size:9px}
.mobile-account-dashboard .api-plug-icon:after{top:-2px;right:-2px;left:auto;width:6px;height:6px;border:2px solid #fff;background:#30c889}
@media(max-width:760px){.membership-hero{min-height:0;padding:.78rem .85rem}.membership-hero h2{font-size:1.2rem!important}.membership-section-head{margin-top:.2rem}}

/* route589：手机端套餐横向滑动，授权码组件恢复为单一入口。 */
@media(max-width:760px){
  .legacy-plan-grid{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(300px,84vw);grid-auto-rows:auto;gap:.8rem;overflow-x:auto;overflow-y:hidden;padding:0 0 .55rem;scroll-snap-type:x mandatory;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}
  .legacy-plan-card{width:auto;min-height:26rem;scroll-snap-align:start}
  .membership-license-card{grid-template-columns:1fr;margin-top:.7rem}
}

/* route591：手机订阅组件统一留白。 */
@media(max-width:760px){
  .native-account-main:has(.legacy-subscription){padding:0!important;background:#eef2f6}
  .legacy-subscription{box-sizing:border-box;width:100%;max-width:none;margin:0;padding:10px 10px calc(var(--mobile-nav-h) + 18px)!important}
  .legacy-subscription .legacy-plan-grid{width:100%;box-sizing:border-box;gap:12px;padding:3px 2px 10px}
  .legacy-subscription .legacy-plan-card{margin:0;border-radius:15px}
  .legacy-subscription .membership-license-card{box-sizing:border-box;width:100%;margin:10px 0 0;padding:14px;border-radius:15px}
}

/* route592：手机套餐卡横版，两列两排权益。 */
@media(max-width:760px){
  .legacy-subscription .legacy-plan-grid{grid-auto-columns:calc(100vw - 32px);align-items:start}
  .legacy-subscription .legacy-plan-card{display:grid;height:auto;min-height:0;grid-template-rows:auto auto auto;overflow:hidden}
  .legacy-subscription .legacy-plan-card header{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:10px;padding:13px 14px 11px}
  .legacy-subscription .legacy-plan-card header>b{grid-column:1;grid-row:1;font-size:18px}
  .legacy-subscription .legacy-plan-card header>small{grid-column:1;grid-row:2;max-width:none;margin-top:3px;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .legacy-subscription .legacy-plan-card header>strong{grid-column:2;grid-row:1/3;align-self:center;margin:0;font-size:28px;white-space:nowrap}
  .legacy-subscription .legacy-plan-card>div.legacy-plan-features{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:6px 12px 8px;gap:0 10px}
  .legacy-subscription .legacy-plan-card p{min-height:52px;margin:0;padding:8px 0;grid-template-columns:18px minmax(0,1fr);gap:5px;border-bottom:1px solid #e8edf2}
  .legacy-subscription .legacy-plan-card p:nth-last-child(-n+2){border-bottom:0}
  .legacy-subscription .legacy-plan-card p span{min-width:0;font-size:10px;line-height:1.35}
  .legacy-subscription .legacy-plan-card p span b{font-size:10px;line-height:1.2}
  .legacy-subscription .legacy-plan-buy{display:block;padding:8px 12px 11px}
  .legacy-subscription .legacy-plan-buy-btn{width:100%;min-height:40px}
}

/* route593：手机套餐卡上下排列；PC 保持双列。 */
@media(max-width:760px){
  .legacy-subscription .legacy-plan-grid{display:grid;grid-template-columns:1fr;grid-auto-flow:row;grid-auto-columns:auto;grid-auto-rows:auto;gap:12px;overflow:visible;padding:3px 2px 10px;scroll-snap-type:none}
  .legacy-subscription .legacy-plan-card{width:100%;scroll-snap-align:none}
}

/* route594：手机订阅页整屏紧凑展示。 */
@media(max-width:760px){
  .legacy-subscription{padding:6px 8px calc(var(--mobile-nav-h) + 8px)!important}
  .legacy-subscription .legacy-plan-grid{gap:7px;padding:2px 1px 5px}
  .legacy-subscription .legacy-plan-card{border-radius:12px}
  .legacy-subscription .legacy-plan-card header{column-gap:7px;padding:8px 10px 7px}
  .legacy-subscription .legacy-plan-card header>b{font-size:15px;line-height:1.15}
  .legacy-subscription .legacy-plan-card header>small{margin-top:2px;font-size:9px;line-height:1.2}
  .legacy-subscription .legacy-plan-card header>strong{font-size:23px;line-height:1}
  .legacy-subscription .legacy-plan-card header strong em{font-size:9px}
  .legacy-subscription .legacy-plan-card>div.legacy-plan-features{padding:2px 9px 3px;gap:0 8px}
  .legacy-subscription .legacy-plan-card p{min-height:36px;padding:4px 0;grid-template-columns:14px minmax(0,1fr);gap:4px}
  .legacy-subscription .legacy-plan-card p>i{width:13px;height:13px;margin-top:1px;font-size:8px}
  .legacy-subscription .legacy-plan-card p span,.legacy-subscription .legacy-plan-card p span b{font-size:8.5px;line-height:1.2}
  .legacy-subscription .legacy-plan-buy{padding:5px 9px 7px}
  .legacy-subscription .legacy-plan-buy-btn{min-height:32px;border-radius:7px;font-size:12px}
  .legacy-subscription .membership-license-card{gap:6px;margin:7px 0 0;padding:9px 10px;border-radius:12px}
  .legacy-subscription .membership-license-card b{font-size:13px}
  .legacy-subscription .membership-license-card p{margin:1px 0 0;font-size:9px;line-height:1.2}
  .legacy-subscription .membership-license-card>form>div{gap:7px}
  .legacy-subscription .membership-license-card input{height:34px;padding:0 10px;font-size:11px}
  .legacy-subscription .membership-license-card button{height:34px;padding:0 14px;font-size:11px}
  .legacy-subscription .membership-license-card .account-feedback{margin:2px 0 0}
}

/* route596：手机购买按钮与授权码确认按钮同规格，右下对齐。 */
@media(max-width:760px){
  .legacy-subscription .legacy-plan-buy{display:flex;align-items:center;justify-content:flex-end;padding:5px 9px 7px}
  .legacy-subscription .legacy-plan-buy-btn{box-sizing:border-box;width:auto;min-width:0;height:34px;min-height:34px;padding:0 14px;border-radius:7px;font-size:11px;line-height:34px}
}

/* route597：购买与确认按钮固定为完全相同尺寸。 */
@media(max-width:760px){
  .legacy-subscription .legacy-plan-buy-btn,
  .legacy-subscription .membership-license-card button{box-sizing:border-box;width:73px;min-width:73px;max-width:73px;height:34px;min-height:34px;padding:0}
}

/* route598：购买按钮与确认按钮使用相同尺寸和右侧留白。 */
@media(max-width:760px){
  .legacy-subscription .legacy-plan-buy{padding-right:10px}
}

/* route599：购买与确认按钮使用相同的组件边界间距。 */
@media(max-width:760px){
  .legacy-subscription .legacy-plan-buy{padding-right:10px;padding-bottom:9px}
  .legacy-subscription .membership-license-card>form>div{display:flex;box-sizing:border-box;width:100%;gap:7px}
  .legacy-subscription .membership-license-card input{min-width:0;flex:1 1 auto}
  .legacy-subscription .membership-license-card .account-feedback:empty,
  .legacy-subscription .membership-license-card .legacy-license-results:empty{display:none}
}

/* route601：手机套餐权益标题和说明统一为 11px。 */
@media(max-width:760px){
  .legacy-subscription .legacy-plan-card p span,
  .legacy-subscription .legacy-plan-card p span b{font-size:11px}
}

/* route602：三项权益时，第一排两列都保留下分隔线。 */
@media(max-width:760px){
  .legacy-subscription .legacy-plan-card p:nth-last-child(2){border-bottom:1px solid #e8edf2}
  .legacy-subscription .legacy-plan-card p:last-child{border-bottom:0}
}

/* route605：GolStack API 套餐长说明使用单列布局。 */
@media(max-width:760px){
  .legacy-subscription .legacy-plan-card[data-plan="api_monthly"]>div.legacy-plan-features{grid-template-columns:1fr}
  .legacy-subscription .legacy-plan-card[data-plan="api_monthly"] p{min-height:0;padding:6px 0}
  .legacy-subscription .legacy-plan-card[data-plan="api_monthly"] p:first-child{border-bottom:1px solid #e8edf2}
  .legacy-subscription .legacy-plan-card[data-plan="api_monthly"] p:last-child{border-bottom:0}
}

/* route607：手机订阅页三个组件统一高亮边界。 */
@media(max-width:760px){
  .legacy-subscription .legacy-plan-card,
  .legacy-subscription .membership-license-card{border-color:#4d88b9;box-shadow:0 6px 18px rgba(33,91,141,.12)}
}

.legacy-api-guide{display:inline-block}.legacy-api-guide-link{appearance:none;border:0;background:none;padding:0;color:#1777c8;font:inherit;font-weight:700;cursor:pointer}.legacy-api-guide-link:hover{text-decoration:underline}

.legacy-subscription .legacy-plan-buy-btn.primary,.legacy-subscription .membership-license-card button{border-color:#356fa8!important;background:#356fa8!important;color:#fff}.legacy-subscription .legacy-plan-buy-btn.primary:hover,.legacy-subscription .membership-license-card button:hover{border-color:#2d6498!important;background:#2d6498!important}

@media(max-width:760px){.native-account-main:has(.api-console){padding:0!important}.api-console{box-sizing:border-box;display:grid;width:100%;gap:12px;padding:10px}.api-console>.api-usage-card,.api-console>.api-key-card,.api-console>.api-console-grid{margin-top:0}.api-console-grid{gap:12px}.api-console-grid article{margin-top:0}}

.api-key-card.api-key-panel{padding:0;overflow:hidden}
.api-key-panel .api-key-primary-row,.api-key-panel .api-key-action-row,.api-key-panel .api-key-note-row{display:grid;grid-template-columns:minmax(150px,.42fr) minmax(0,1fr);align-items:center;gap:18px;padding:18px 20px}
.api-key-panel .api-key-action-row,.api-key-panel .api-key-note-row{border-top:1px solid #e1e7ed}
.api-key-panel .api-key-primary-row header{display:block}
.api-key-panel .api-key-primary-row header small{display:block;margin-top:7px;text-align:left}
.api-key-panel .api-key-primary-row code{box-sizing:border-box;width:100%;margin:0}
.api-key-panel .api-key-action-row>b,.api-key-panel .api-key-note-row>b{color:#183b59}
.api-key-panel .api-key-action-row>div{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
.api-key-panel .api-key-action-row button{margin:0}
.api-key-panel .api-key-note-row p{margin:0}
@media(max-width:760px){
  .api-key-panel .api-key-primary-row,.api-key-panel .api-key-action-row,.api-key-panel .api-key-note-row{grid-template-columns:118px minmax(0,1fr);gap:10px;padding:13px}
  .api-key-panel .api-key-primary-row header small{font-size:9px;line-height:1.45}
  .api-key-panel .api-key-action-row>div{justify-content:flex-start}
  .api-key-panel .api-key-action-row button{height:32px;padding:0 10px;font-size:10px}
}

.api-key-card.api-key-reference-panel{padding:0;overflow:hidden}
.api-key-reference-panel .api-reference-row{display:grid;grid-template-columns:minmax(180px,.4fr) minmax(0,1fr);align-items:center;gap:18px;min-height:74px;padding:16px 20px}
.api-key-reference-panel .api-reference-row+.api-reference-row{border-top:1px solid #e1e7ed}
.api-key-reference-panel .api-request-header-row>div{display:grid;gap:4px}
.api-key-reference-panel .api-request-header-row b,.api-key-reference-panel .api-key-value-row>b,.api-key-reference-panel .api-doc-row>b{color:#13283e;font-size:14px}
.api-key-reference-panel .api-request-header-row span{color:#75869a;font-size:11px;line-height:1.45}
.api-key-reference-panel .api-request-header-row>code{box-sizing:border-box;width:100%;margin:0;padding:13px 15px;border:0;border-radius:11px;background:#f3f5f7;color:#14283d}
.api-key-reference-panel .api-key-value-row>div{display:flex;min-width:0;align-items:center;justify-content:flex-end;gap:10px}
.api-key-reference-panel .api-key-value-row code{min-width:0;margin:0;padding:0;border:0;background:transparent;color:#708198;text-align:right;overflow-wrap:anywhere}
.api-key-reference-panel .api-key-regenerate-link{flex:0 0 auto;margin:0;padding:4px 6px;border:0;background:transparent;color:#ad4650;font-size:10px}
.api-key-reference-panel .api-key-copy-icon{display:grid;flex:0 0 auto;width:28px;height:28px;margin:0;padding:4px;border:0;background:transparent;color:#718092;place-items:center}
.api-key-reference-panel .api-key-copy-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}
.api-key-reference-panel .api-doc-row button{justify-self:end;margin:0;padding:6px 0;border:0;background:transparent;color:#1769e0;font-size:13px;font-weight:800}
.api-key-reference-panel .api-doc-row button span{font-size:17px}
@media(max-width:760px){
  .api-key-reference-panel .api-reference-row{grid-template-columns:112px minmax(0,1fr);gap:9px;min-height:62px;padding:11px 13px}
  .api-key-reference-panel .api-request-header-row b,.api-key-reference-panel .api-key-value-row>b,.api-key-reference-panel .api-doc-row>b{font-size:12px}
  .api-key-reference-panel .api-request-header-row span{font-size:9px}
  .api-key-reference-panel .api-request-header-row>code{padding:10px;font-size:9px}
  .api-key-reference-panel .api-key-value-row code{font-size:9px}
  .api-key-reference-panel .api-key-value-row>div{gap:4px}
  .api-key-reference-panel .api-key-regenerate-link{padding:3px;font-size:8px}
  .api-key-reference-panel .api-key-copy-icon{width:25px;height:25px}
  .api-key-reference-panel .api-doc-row button{font-size:11px}
}

.legacy-subscription .legacy-plan-card header>b{font-size:1.7rem;line-height:1}
.legacy-subscription .legacy-plan-check{top:.72rem;right:.78rem;width:2.15rem;height:2.15rem;font-size:1.7rem;line-height:1}
@media(max-width:760px){.legacy-subscription .legacy-plan-card header>b{font-size:23px;line-height:1}}
@media(max-width:760px){.legacy-subscription .legacy-plan-check{top:8px;right:10px;width:30px;height:30px;font-size:23px;line-height:1}}

/* PC 订阅卡压缩留白，购买按钮与授权码确认按钮统一尺寸并靠右。 */
@media(min-width:761px){
  .legacy-subscription .legacy-plan-grid{grid-auto-rows:20rem}
  .legacy-subscription .legacy-plan-card{height:20rem}
  .legacy-subscription .legacy-plan-card.has-payment .legacy-plan-features{padding-bottom:3.5rem}
  .legacy-subscription .legacy-plan-buy{display:flex;align-items:center;justify-content:flex-end;padding:.6rem .95rem}
  .legacy-subscription .legacy-plan-buy-btn{box-sizing:border-box;width:4.2rem;min-width:4.2rem;max-width:4.2rem;height:2rem;min-height:2rem;padding:0}
}

@media(max-width:760px){
  body.mobile-account-active .m-mobile-account-header{display:flex!important;width:100%;height:var(--mobile-top-h);align-items:center}
  body.mobile-account-active .m-mobile-account-back{display:inline-flex;height:var(--mobile-top-h);align-items:center;gap:9px;margin:0;padding:0 3px;border:0;outline:0;background:transparent;color:#fff;font:850 14px/1 "Microsoft YaHei UI","PingFang SC",sans-serif;cursor:pointer;-webkit-tap-highlight-color:transparent}
  body.mobile-account-active .m-mobile-account-back i{display:block;width:10px;height:10px;border-bottom:2px solid currentColor;border-left:2px solid currentColor;transform:rotate(45deg)}
  body.mobile-account-active .m-mobile-account-back:focus-visible{outline:2px solid rgba(255,255,255,.75);outline-offset:3px;border-radius:4px}
}

.api-key-reference-panel .api-key-value-row code{box-sizing:border-box;flex:1 1 auto;min-height:42px;padding:11px 13px!important;border:1px solid #e0e6ec!important;border-radius:10px!important;background:#f3f5f7!important;text-align:left!important}
@media(max-width:760px){.api-key-reference-panel .api-key-value-row code{min-height:38px;padding:9px 10px!important}}

.api-key-reference-panel .api-key-value-row>.api-key-control{display:flex;min-width:0;align-items:center;gap:9px}
.api-key-reference-panel .api-key-refresh-icon{display:grid;flex:0 0 auto;width:30px;height:30px;margin:0;padding:5px;border:0;background:transparent;color:#4f7898;place-items:center}
.api-key-reference-panel .api-key-refresh-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.api-key-reference-panel .api-key-box{display:flex;box-sizing:border-box;min-width:0;min-height:42px;flex:1 1 auto;align-items:center;gap:6px;padding:0 7px 0 12px;border:1px solid #e0e6ec;border-radius:10px;background:#f3f5f7}
.api-key-reference-panel .api-key-box code{min-width:0;min-height:0;flex:1 1 auto;margin:0;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;text-align:left!important}
.api-key-reference-panel .api-key-box .api-key-copy-icon{flex:0 0 auto}
@media(max-width:760px){.api-key-reference-panel .api-key-value-row>.api-key-control{gap:5px}.api-key-reference-panel .api-key-refresh-icon{width:26px;height:26px;padding:4px}.api-key-reference-panel .api-key-box{min-height:38px;padding-left:9px}}

.api-key-reference-panel .api-key-refresh-icon{box-sizing:border-box;width:42px!important;height:42px!important;padding:10px!important;border:1px solid #c6d7e5!important;border-radius:10px!important;background:#edf5fb!important;color:#2b6f9f!important;box-shadow:0 1px 2px rgba(35,82,119,.06)}
.api-key-reference-panel .api-key-refresh-icon:hover{border-color:#84acce!important;background:#e3f0f9!important}
.api-key-reference-panel .api-key-refresh-icon:active{background:#d7e9f6!important;transform:rotate(18deg)}
.api-key-reference-panel .api-key-refresh-icon svg{width:20px!important;height:20px!important}
@media(max-width:760px){.api-key-reference-panel .api-key-refresh-icon{width:38px!important;height:38px!important;padding:9px!important}}

.api-key-reference-panel .api-reference-row{min-height:56px!important;padding-top:12px!important;padding-bottom:12px!important}
.api-key-reference-panel .api-key-refresh-icon{width:32px!important;height:32px!important;padding:7px!important}
.api-key-reference-panel .api-key-refresh-icon svg{width:15px!important;height:15px!important}
.api-key-reference-panel .api-key-box{min-height:32px!important}
@media(max-width:760px){.api-key-reference-panel .api-reference-row{min-height:47px!important;padding-top:8px!important;padding-bottom:8px!important}.api-key-reference-panel .api-key-refresh-icon{width:29px!important;height:29px!important;padding:6px!important}.api-key-reference-panel .api-key-box{min-height:29px!important}}

.api-key-reference-panel .api-doc-row button{display:inline-flex;align-items:center;gap:6px;line-height:1}
.api-key-reference-panel .api-doc-row button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:760px){.api-key-reference-panel .api-doc-row button{gap:4px}.api-key-reference-panel .api-doc-row button svg{width:14px;height:14px}}

.api-key-reference-panel .api-key-refresh-icon{width:24px!important;height:24px!important;padding:5px!important;border-radius:7px!important}
.api-key-reference-panel .api-key-refresh-icon svg{width:12px!important;height:12px!important}
@media(max-width:760px){.api-key-reference-panel .api-key-refresh-icon{width:22px!important;height:22px!important;padding:4px!important}.api-key-reference-panel .api-key-refresh-icon svg{width:11px!important;height:11px!important}}

.api-key-reference-panel .api-key-created-date{flex:0 0 auto;color:#718398;font:700 10px/1 Consolas,"Microsoft YaHei UI",sans-serif;white-space:nowrap}
@media(max-width:760px){.api-key-reference-panel .api-key-created-date{font-size:8px}}

@media(min-width:761px){.api-console-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.api-console .api-console-head{min-height:0;padding:13px 16px}
.api-console .api-console-head h2{margin:3px 0;font-size:1.15rem;line-height:1.15}
.api-console .api-console-head p{font-size:.62rem;line-height:1.35}
.api-console .api-live-dot{font-size:.66rem}
.api-console>.api-usage-card{padding:12px 15px}
.api-console>.api-usage-card .api-usage-track{height:7px;margin:7px 0}
.api-console>.api-usage-card p{margin:4px 0 0;line-height:1.35}
@media(max-width:760px){.api-console .api-console-head{padding:10px 13px}.api-console .api-console-head h2{font-size:17px}.api-console .api-console-head p{font-size:9px}.api-console .api-live-dot{font-size:10px}.api-console>.api-usage-card{padding:9px 12px}.api-console>.api-usage-card>div:first-child{font-size:10px}.api-console>.api-usage-card .api-usage-track{height:6px;margin:6px 0}.api-console>.api-usage-card p{font-size:9px}}

@media(max-width:760px){.api-console .api-console-grid{display:grid;box-sizing:border-box;width:100%;min-width:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;overflow:visible}.api-console .api-console-grid article{box-sizing:border-box;min-width:0;width:100%;padding:9px 10px;overflow:hidden}.api-console .api-console-grid article b{margin-bottom:5px;font-size:12px}.api-console .api-console-grid article p{margin:3px 0;font-size:9px;line-height:1.35;white-space:normal;overflow-wrap:anywhere}}
.identity-provider-actions{display:grid!important;gap:3px;align-content:center;justify-items:center;padding:4px!important}.identity-provider-actions>b{width:100%;overflow:hidden;text-overflow:ellipsis;text-align:center}.identity-provider-actions>[data-dismiss-interception]{display:grid;width:24px;height:20px;padding:0;place-items:center;border:1px solid #a95858;border-radius:4px;background:#572c33;color:#ffd7da;font-size:14px;font-weight:900;line-height:1;cursor:pointer}.identity-provider-actions>[data-dismiss-interception]:hover{border-color:#ef7d83;background:#7a333d;color:#fff}.identity-provider-actions>[data-dismiss-interception]:disabled{opacity:.45;cursor:wait}
.identity-mount-list .identity-mount-pending-card{position:relative}.identity-dismiss-under-provider{position:absolute;z-index:2;top:60px;left:9px;width:34px;height:24px;margin:0}.identity-dismiss-under-provider>[data-dismiss-interception]{display:grid;width:34px;height:24px;padding:0;place-items:center;border:1px solid #a95858;border-radius:5px;background:#572c33;color:#ffd7da;font-size:17px;font-weight:900;line-height:1;cursor:pointer}.identity-dismiss-under-provider>[data-dismiss-interception]:hover{border-color:#ef7d83;background:#7a333d;color:#fff}.identity-dismiss-under-provider>[data-dismiss-interception]:disabled{opacity:.45;cursor:wait}
