:root{color-scheme:light;--bg:#edf5ff;--surface:#ffffffed;--ink:#091c46;--muted:#526788;--blue:#0667e9;--cyan:#2dd4f5;--line:#c6dbef;--soft:#edf5fe;--good:#087868;--bad:#b32850;--radius:18px;--small:11px;--shadow:0 8px 32px #2255a015,inset 0 1px 0 #fff;--font:"PingFang SC","Microsoft YaHei",system-ui,sans-serif;font-family:var(--font);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;color:var(--ink);background:radial-gradient(ellipse at 0 30%,#d8f3ff 0,transparent 40%),radial-gradient(ellipse at 100% 0,#e5dfff 0,transparent 45%),var(--bg);min-width:320px;font-size:14px;line-height:1.55}body:before{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;background:linear-gradient(125deg,transparent 30%,#ffffffa8 30.2%,transparent 30.7%,transparent 70%,#b7dafd55 70.3%,transparent 71%);background-size:900px 100vh}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #0758bb;outline-offset:4px}input,textarea,select{max-width:100%;color:var(--ink);background:#fff;border:1px solid #b3cbe6;border-radius:10px;padding:12px;min-height:44px}textarea{width:100%;resize:vertical;min-height:110px}h1,h2,h3,p{margin:0}h1{font-size:32px;line-height:1.2;letter-spacing:-1px}h2{font-size:21px;line-height:1.3}h3{font-size:16px}p{line-height:1.75}small,.muted{color:var(--muted)}[hidden]{display:none!important}.icon{width:21px;height:21px;vertical-align:middle;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.skip-link{position:fixed;top:-70px;left:20px;background:white;padding:15px;z-index:100}.skip-link:focus{top:0}.boot{text-align:center;padding:20vh 16px}.boot-mark{font-size:70px;font-weight:900;color:var(--blue);font-style:italic}
.topbar{height:86px;display:flex;align-items:center;gap:32px;padding:0 30px;background:linear-gradient(115deg,#fffffff0,#e4f1ffe8,#f8fafff0);border-bottom:1px solid #fff;box-shadow:0 4px 0 #b5d4f51f;position:sticky;top:0;z-index:20;backdrop-filter:blur(18px)}.brand{display:flex;align-items:center;gap:18px;flex-shrink:0}.wordmark{line-height:1;display:grid;gap:5px}.wordmark b{font-size:26px;letter-spacing:-1.5px;font-weight:950;font-style:italic;transform:skew(-6deg)}.wordmark small{font-size:9px;font-weight:800;letter-spacing:3px;color:var(--ink)}.brand-sub{border-left:1px solid var(--line);padding-left:18px;font-weight:650;font-size:13px}.nav{display:flex;gap:7px;flex:1;justify-content:center}.nav a{display:flex;gap:10px;align-items:center;padding:12px 18px;border:1px solid transparent;border-radius:11px;font-weight:650;white-space:nowrap}.nav a:hover{background:#e0edff}.nav a.active{color:white;background:linear-gradient(125deg,#09baff,#0863ec 65%,#155ada);border:1px solid #45c8ff;box-shadow:inset 0 0 0 2px #ffffff3b,0 3px 12px #1273ef35}.top-actions{display:flex;align-items:center;gap:10px}.avatar{width:38px;height:38px;display:grid;place-items:center;border:1px solid #b6cde8;background:linear-gradient(140deg,white,#c7e3ff);color:#146cdb;font-weight:850;border-radius:12px}.mode-switch{font-size:12px;white-space:nowrap;color:var(--muted);padding:8px 12px;border:1px solid #bdd8f2;background:#ffffff9c;border-radius:30px}.statusbar{max-width:1496px;margin:16px auto 14px;padding:0 24px;display:flex;justify-content:space-between;gap:16px;color:var(--muted);font-size:12px}.statusbar span{display:flex;align-items:center;gap:8px}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#11a48e;box-shadow:0 0 0 4px #11a48e15}.demo-dot{background:#7761c6;box-shadow:0 0 0 4px #7761c615}.shell{max-width:1496px;margin:0 auto;padding:0 24px 28px;min-height:75vh}.home-grid{display:grid;grid-template-columns:minmax(0,2.18fr) minmax(310px,1fr);gap:18px}.panel{background:linear-gradient(125deg,#ffffffec,#eff7ffed);border:1px solid white;border-radius:var(--radius);box-shadow:var(--shadow);position:relative;min-width:0}.panel:before{content:"";pointer-events:none;position:absolute;inset:-2px;border:1px solid #afd0f1;border-radius:calc(var(--radius) + 2px);mask-image:linear-gradient(140deg,black,transparent 35%,transparent 65%,black)}.panel-head{padding:22px 24px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-head h2{display:flex;align-items:center;gap:10px}.panel-head h2>.icon{color:var(--blue)}.panel-body{padding:24px}.panel-body>.panel-head{padding:0 0 20px}.text-link{border:0;background:none;color:var(--blue);padding:8px 0;font-size:13px;display:inline-flex;align-items:center;gap:5px}.text-link:hover{text-decoration:underline}.hero{height:250px;padding:22px 26px 16px;background:linear-gradient(90deg,#f5faff 0%,#f0f7ff55 50%,transparent 75%),url('/assets/silver-stadium.png') right 47%/cover no-repeat;border-radius:var(--radius) var(--radius) 0 0;position:relative;overflow:hidden}.hero:after{content:"";width:85px;height:2px;background:linear-gradient(90deg,var(--cyan),#aeabff);position:absolute;bottom:17px;right:25px;box-shadow:0 0 9px #6fe4ff}.hero h1{font-size:43px;font-weight:900;font-style:italic;letter-spacing:-2px;margin:24px 0 7px}.hero p{font-size:13px;color:#4b6590;letter-spacing:1px}.segment{display:inline-flex;gap:3px;padding:4px;border:1px solid #d0e2f5;border-radius:12px;background:#ffffffbd;max-width:100%;flex-wrap:wrap}.segment button,.segment a{border:0;background:none;color:var(--muted);padding:9px 20px;min-height:40px;border-radius:8px;display:flex;align-items:center;justify-content:center;gap:9px;font-weight:600;white-space:nowrap}.segment .active{color:var(--blue);background:linear-gradient(125deg,#e0faff,#cfe4ff);box-shadow:inset 0 0 0 1px #8bc7ff}.segment.primary .active{color:white;background:linear-gradient(130deg,#18c6ff,#0870fa 70%);box-shadow:inset 0 0 0 1px #4bd8ff,0 2px 9px #188afa35}.segment.compact button,.segment.compact a{padding:7px 16px;min-height:34px;font-size:13px}.hero .segment.compact{margin-top:18px}.match-stack{padding:0 16px 14px}.match-row{display:grid;grid-template-columns:116px minmax(0,1fr) 102px 94px 20px;gap:16px;align-items:center;padding:18px 20px;background:#fffffff0;border:1px solid #e3edf8;border-radius:12px;margin-bottom:9px;min-height:91px}.match-meta{font-size:12px;color:var(--muted);display:grid;gap:5px}.match-meta strong{color:#254c82;font-weight:500}.teams{display:flex;gap:12px;align-items:center;justify-content:center;min-width:0;font-size:16px;font-weight:750}.team{display:flex;align-items:center;gap:9px;min-width:0;flex:1;justify-content:center}.team>span:last-child{overflow-wrap:anywhere}.vs{font-size:10px;font-weight:500;color:#7284a3}.crest{width:37px;height:43px;flex-shrink:0;display:grid;place-items:center;clip-path:polygon(50% 0,95% 16%,90% 74%,50% 100%,10% 74%,5% 16%);background:linear-gradient(145deg,#102958,#2a72b8);box-shadow:inset 0 0 0 3px #ffffffa1;color:white;font-size:17px;font-weight:800}.crest.c1{background:linear-gradient(145deg,#bc3159,#732346)}.crest.c2{background:linear-gradient(145deg,#157e83,#07514e)}.crest.c3{background:linear-gradient(145deg,#7763c3,#262a70)}.selection{display:grid;gap:5px;text-align:center}.selection>b{padding:5px 18px;background:linear-gradient(130deg,#d8faff,#cce7ff);border:1px solid #85ccf6;border-radius:7px;color:#075ccc;font-size:19px;box-shadow:inset 0 0 0 2px #ffffff86}.selection>small{font-size:10px;white-space:nowrap}.sp{font-size:12px;color:var(--muted);white-space:nowrap}.sp b{font-size:22px;font-weight:760;letter-spacing:-.5px;font-variant-numeric:tabular-nums;color:var(--ink);margin-left:4px}.chevron{color:#6f90ba;display:grid;place-items:center;width:30px;min-height:40px;border-radius:7px}.chevron:hover{background:#e0eeff}.combo-summary{display:flex;align-items:center;gap:22px;padding:17px 20px;background:#ffffffc9;border:1px solid #dfedfa;border-radius:12px}.combo-number{font-size:31px;font-weight:850;line-height:1.1;font-variant-numeric:tabular-nums}.mini-label{font-size:11px;color:var(--muted);margin-bottom:5px}.summary-reason{flex:1;border-left:1px solid var(--line);padding-left:20px;display:grid;gap:6px}.tags{display:flex;gap:6px;flex-wrap:wrap}.tag{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;color:#2367ae;border:1px solid #c2ddfa;background:#f2f8ff;border-radius:6px;font-size:11px;white-space:nowrap}.tag.green{color:#077b66;border-color:#aae6d7;background:#effcf8}
/* 「待开奖」专用橙：与奖金金额同色（#b8700f），全站只有一个橙 */
/* 未中奖＝亏损口径：字体用亏红 #c0272d，和盈亏 -1000.00 同色。
   边框/底色只做浅红托底，别和「已中奖」的绿混淆。 */
.tag.lost{color:#c0272d;border-color:#f0c7c9;background:#fff3f3;font-weight:700}
.tag.orange{color:#b8700f;border-color:#f2d9b8;background:#fff6e9}.tag.purple{color:#6950ad;border-color:#dacdf3;background:#f6f1ff}.tag.warn{color:#9d5f0e;background:#fff7e4;border-color:#f0dcaf}.tag.live{background:#e81d63;color:white;border:0;font-weight:750}.btn{min-height:44px;display:inline-flex;justify-content:center;align-items:center;gap:9px;border:1px solid #bdd5ef;border-radius:10px;background:white;padding:11px 20px;color:#27527f;font-weight:650;transition:box-shadow .18s,background .18s;white-space:nowrap}.btn:hover{box-shadow:0 3px 14px #438adb25;background:#f1f8ff}.btn.primary{color:white;border-color:#219eff;background:linear-gradient(135deg,#079fdf,#0868df 65%,#095dcd);box-shadow:inset 0 0 0 2px #ffffff35,0 4px 15px #2084ed25}.btn.primary:hover{background:linear-gradient(135deg,#048dc9,#045ccb)}.btn.small{min-height:36px;padding:7px 12px;font-size:12px}.btn.danger{color:var(--bad);border-color:#dfb5c1}
.btn.danger:hover{border-color:var(--bad);background:#fff2f6}
/* 删除确认：危险动作不用蓝色主按钮，免得顺手就点过去；实心红只用在"确认删除"这一处 */
.btn.danger-solid{color:#fff;font-weight:750;border-color:#a8203f;background:linear-gradient(135deg,#d8455f,#b32850);box-shadow:inset 0 0 0 2px #ffffff30,0 4px 12px #b3285029}
.btn.danger-solid:hover{background:linear-gradient(135deg,#e25a72,#c02a52);box-shadow:inset 0 0 0 2px #ffffff30,0 5px 15px #b3285038}.icon-button{border:1px solid var(--line);background:#fff;border-radius:9px;min-width:40px;min-height:40px;font-size:22px;display:grid;place-items:center}.row-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.intro-note{font-size:11px;padding:0 4px 5px;color:var(--muted);display:flex;justify-content:space-between;gap:12px}.live-card{padding:0 18px 16px;display:flex;flex-direction:column}.live-inner{border:1px solid #fff;background:linear-gradient(150deg,#ffffffec,#eff8ffaf);border-radius:12px;padding:17px;flex:1}.live-meta{display:flex;gap:9px;align-items:center;font-size:12px;color:var(--muted)}.live-meta>span:last-child{margin-left:auto}.scoreboard{display:flex;justify-content:space-between;align-items:center;text-align:center;gap:10px;margin:25px 0 17px}.score-team{display:grid;justify-items:center;gap:8px;font-weight:700;font-size:15px}.score-team .crest{width:47px;height:55px;font-size:21px}.score{font-size:43px;font-weight:850;letter-spacing:3px;white-space:nowrap;font-variant-numeric:tabular-nums}.pitch{height:100px;background:linear-gradient(145deg,#36c6f155,#0d8ad739);border:1px solid #59c9f1;transform:perspective(440px) rotateX(23deg);margin:10px 12px 18px;position:relative;box-shadow:0 5px 0 #c6effa,inset 0 0 18px #fff;border-radius:3px}.pitch:before{content:"";position:absolute;left:50%;height:100%;border-left:1px solid white}.pitch:after{content:"";position:absolute;left:calc(50% - 23px);top:calc(50% - 23px);width:44px;height:44px;border:1px solid white;border-radius:50%}.pitch i{position:absolute;top:21%;height:58%;width:17%;border:1px solid white;left:0}.pitch i:last-child{left:auto;right:0}.event-mini{padding:10px 12px;border:1px solid #e0edfb;background:#ffffffa8;display:flex;gap:9px;border-radius:8px;font-size:12px}.switches{display:flex;justify-content:space-around;gap:12px;padding-top:16px}.switch-label{display:flex;align-items:center;gap:8px;font-size:12px;color:#3b5981}.toggle{appearance:none;width:35px;height:21px;min-height:21px;padding:0;border:0;background:#adbdd0;position:relative;cursor:pointer;border-radius:20px;flex-shrink:0}.toggle:before{content:"";position:absolute;left:3px;top:3px;width:15px;height:15px;border-radius:50%;background:white;transition:transform .15s}.toggle:checked{background:var(--blue)}.toggle:checked:before{transform:translateX(14px)}.saved-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;padding:0 20px 20px}.saved-card{background:#ffffffd9;border:1px solid #e2ecf7;border-radius:12px;padding:16px}.saved-card h3{margin-bottom:9px}.saved-card p{font-size:12px;color:var(--muted)}.tool-stack{display:grid;gap:12px}.tool-card{display:flex;align-items:center;gap:18px;padding:20px 24px;background:linear-gradient(125deg,#ffffffed,#e9f3ffe0);border:1px solid white;border-radius:var(--radius);box-shadow:var(--shadow)}.tool-card>.icon{width:36px;height:36px;color:#167cef}.tool-card:first-child>.icon{color:#b58926}.tool-card>div{flex:1}.tool-card p{font-size:12px;color:var(--muted);margin-top:3px}.filters{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.subhead{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:25px 0 16px}.search{width:min(330px,100%);background:#ffffffcc}.empty{padding:35px 20px;text-align:center;color:var(--muted)}.empty>.icon{width:35px;height:35px;color:#779ac3;margin-bottom:9px}.empty h3{color:#244872;margin-bottom:6px}.empty p{font-size:13px;max-width:520px;margin:auto}.empty .btn{margin-top:16px}.empty.small{padding:20px}.empty.small h3{font-size:14px}.empty.small p{font-size:12px}.error{color:var(--bad);background:#fff3f7;padding:13px 16px;border:1px solid #f1d2dd;border-radius:9px;font-size:13px}.notice{color:#36597f;background:#eaf4ff;border:1px solid #c8ddf3;padding:13px 16px;border-radius:10px;font-size:12px;line-height:1.7}.notice.warn{color:#81581d;background:#fffaef;border-color:#eadcbc}.notice+.panel{margin-top:18px}.footer{max-width:1448px;margin:10px auto 0;padding:22px 0 6px;border-top:1px solid #c7d9ef;display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;font-size:11px;color:#617596}.footer>div{display:flex;gap:16px;flex-wrap:wrap}.footer a:hover{color:var(--blue)}.bottom-nav{display:none}.breadcrumbs{display:flex;align-items:center;gap:8px;color:#617794;font-size:12px;margin:20px 0;flex-wrap:wrap}.breadcrumbs a{color:var(--blue)}.page-title{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin:24px 0}.page-title p{margin-top:9px;color:var(--muted);font-size:13px}.columns{display:grid;grid-template-columns:minmax(0,2fr) minmax(270px,1fr);gap:20px}.stack{display:grid;gap:18px;align-content:start}.section{padding:24px;border-bottom:1px solid #dfebf8}.section:last-child{border-bottom:0}.section h3{margin-bottom:12px}.section p{color:#405b7c;margin:7px 0;font-size:13px}.factor-grid,.tile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.factor{padding:18px;border:1px solid #d8e7f6;border-radius:11px;background:#ffffffcd;display:grid;gap:9px}.factor:hover{border-color:#6faefa}.factor p{color:var(--muted);font-size:12px}.facts{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.fact{padding:18px;background:#fff;border:1px solid #dce9f6;border-radius:11px}.fact strong{font-size:28px;font-weight:800;display:block;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.fact>span{font-size:12px;color:var(--muted)}.fact small{font-size:11px}.timeline{padding:5px 22px 24px}.event{display:grid;grid-template-columns:45px 1fr;gap:18px;position:relative;padding:16px 0 16px 17px;border-left:1px solid #c2d9f0}.event:before{content:"";position:absolute;left:-4px;top:22px;width:7px;height:7px;background:var(--blue);border-radius:50%}.event p{font-size:12px;color:var(--muted)}.profile{display:flex;align-items:center;gap:18px}.profile .avatar{width:65px;height:65px;font-size:25px}.list-row{display:flex;gap:14px;align-items:center;padding:17px 0;border-bottom:1px solid #e0ebf6}.list-row:last-child{border-bottom:0}.list-row>div{flex:1;min-width:0}.list-row p{font-size:12px;color:var(--muted);margin-top:4px}.account-menu{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.menu-tile{display:flex;align-items:center;gap:15px;padding:25px 20px}.menu-tile>.icon{color:var(--blue);width:27px;height:27px}.menu-tile h3{font-size:15px}.menu-tile p{font-size:12px;margin-top:4px;color:var(--muted)}.price-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.price-card{padding:27px}.price-card.featured{border:1px solid #60bcff;box-shadow:0 5px 35px #0f85f91c,inset 0 0 0 3px #fff}.price-card .eyebrow{font-size:10px;letter-spacing:2px;color:var(--blue);font-weight:700}.price-card h2{margin:14px 0 8px}.price{font-size:40px;font-weight:850;margin:22px 0}.price small{font-size:13px;font-weight:400}.price-card ul{padding:0;list-style:none;min-height:140px}.price-card li{padding:8px 0;color:#45617e;font-size:13px;display:flex;gap:10px}.price-card li .icon{width:16px;color:#127aab}.price-card .btn{width:100%}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field{display:grid;gap:8px;font-size:13px}.field small{font-size:11px}.field.full{grid-column:1/-1}.check-row{display:flex;align-items:center;gap:9px;font-size:13px;padding:9px 0}.check-row input{min-height:20px;width:18px;height:18px;accent-color:var(--blue)}.choice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.choice{border:1px solid #bfd6ef;background:#fff;border-radius:11px;padding:19px;font-size:17px;font-weight:700;color:#174d8b}.choice:hover{border-color:var(--blue);background:#eef7ff}.table-wrap{overflow:auto;width:100%}table{border-collapse:collapse;width:100%;font-size:13px;text-align:left;white-space:nowrap}th{background:#edf5fe;color:#557093;font-weight:500;font-size:12px;padding:13px 16px}td{padding:16px;border-bottom:1px solid #e2edf8}td small{display:block}.positive{color:var(--good)}.negative{color:var(--bad)}.formula{padding:16px;border:1px dashed #bfd6ef;border-radius:10px;background:white;color:#3d5c7f;font-size:13px}.history-bar{display:flex;gap:8px;flex-wrap:wrap}.history-bar a{padding:8px 14px;background:#fff;border:1px solid var(--line);border-radius:8px;font-size:12px}.history-bar a.active{color:var(--blue);border-color:var(--blue)}.mini-chart{height:180px;width:100%;color:var(--blue)}.mini-chart text{font-size:11px;fill:#557093}.work-shell{display:grid;grid-template-columns:224px minmax(0,1fr);gap:22px;margin-top:18px}.work-nav{align-self:start;padding:18px 12px;position:sticky;top:110px}.work-nav>a{display:flex;gap:12px;padding:12px 16px;margin-bottom:5px;border-radius:9px;color:#4b6588}.work-nav>a.active{background:#dbedff;color:var(--blue);font-weight:700}.work-nav label{display:grid;gap:10px;padding:10px 8px 20px;font-size:12px}.work-content{min-width:0}.work-content>.page-title{margin-top:4px}.org-tree{display:grid;gap:10px}.org-node{border-left:2px solid #b3d5f6;padding:12px 17px;margin-left:16px;background:#f6faff;border-radius:0 10px 10px 0}.org-node p{color:var(--muted);font-size:12px}.status-check{display:flex;gap:15px;align-items:center;justify-content:space-between;padding:15px 0;border-bottom:1px solid #e2edf7}.status-check p{font-size:12px;color:var(--muted)}dialog{color:var(--ink);border:1px solid #a9d0f4;border-radius:21px;padding:0;width:min(560px,calc(100% - 32px));background:linear-gradient(135deg,#ffffff,#f1f8ff);box-shadow:0 20px 90px #001f5b44;max-height:88dvh;overflow:auto}dialog::backdrop{background:#102b555c;backdrop-filter:blur(6px)}.modal-top{padding:18px 22px 0;display:flex;align-items:center;justify-content:space-between}.modal-top .eyebrow{font-size:10px;letter-spacing:2px;color:#6384aa}.modal-body{padding:14px 26px 28px}.modal-body h2{margin-bottom:14px}.modal-body p{margin:9px 0 18px;color:#4e6787;font-size:13px}.modal-body .field{margin:16px 0}.modal-body .row-actions{justify-content:flex-end;margin-top:22px}/* 提示卡栈（客户 2026-11-14：多场进球每场一张卡）：#toast 是容器（纵向叠放），
   .toast-item 是卡片本体，各自停满 hold 后 0.5 秒渐隐再移除，不是瞬间消失 */
#toast{position:fixed;top:76px;left:50%;transform:translateX(-50%);z-index:100;pointer-events:none;display:flex;flex-direction:column;align-items:center;gap:10px;width:max-content;max-width:90vw}
.toast-item{max-width:min(600px,90vw);padding:13px 22px;background:#102958;color:white;border:1px solid #5c86bc;border-radius:12px;box-shadow:0 6px 30px #10295833;font-size:13px;transition:opacity .5s ease}
.toast-item.toast-fade{opacity:0}.loading{height:80px;margin:10px;border-radius:10px;background:linear-gradient(100deg,#e4effb,#f8fcff,#e4effb);background-size:200%;animation:loading 1.5s ease infinite}@keyframes loading{to{background-position:-200%}}.reveal{animation:reveal .25s ease-out}@keyframes reveal{from{opacity:.4;transform:translateY(4px)}to{opacity:1;transform:none}}
@media(min-width:1500px){.hero{height:275px}.hero h1{font-size:47px}.match-row{min-height:102px}.live-inner{padding:22px}.scoreboard{margin:30px 0 22px}.pitch{height:116px}}
@media(max-width:1200px){.topbar{gap:18px;padding:0 22px}.brand-sub{display:none}.nav a{padding:11px 14px}.wordmark b{font-size:23px}.home-grid{grid-template-columns:minmax(0,2fr) minmax(280px,1fr)}.match-row{grid-template-columns:80px minmax(0,1fr) 78px 69px 15px;gap:10px;padding:17px 13px}.teams{font-size:14px;gap:7px}.team{gap:5px}.crest{width:29px;height:34px;font-size:14px}.selection>b{font-size:17px;padding:4px 10px}.sp b{font-size:19px}.summary-reason{padding-left:13px}.combo-summary{gap:13px;padding:15px}.hero h1{font-size:38px}.score{font-size:33px}.score-team .crest{width:38px;height:46px}.combo-summary .btn{padding:11px 14px}.summary-validation{display:none}}
@media(max-width:960px){.topbar{height:72px}.nav{gap:2px}.nav a{padding:10px;font-size:12px;gap:6px}.top-actions .avatar{display:none}.mode-switch{padding:7px;font-size:10px}.home-grid{grid-template-columns:1fr}.hero{height:255px}.live-panel{grid-column:1/-1}.live-card{display:grid;grid-template-columns:1fr}.live-inner .pitch{display:none}.scoreboard{justify-content:center;gap:50px;margin:18px 0}.live-inner{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-items:center}.live-meta{grid-column:1/-1}.scoreboard{grid-row:2}.live-inner .event-mini{grid-column:2}.saved-grid{grid-template-columns:1fr 1fr}.tool-stack{grid-template-columns:1fr 1fr}.columns{grid-template-columns:1fr}.price-grid{gap:12px}.price-card{padding:20px}.work-shell{grid-template-columns:180px minmax(0,1fr)}.account-menu{grid-template-columns:repeat(2,1fr)}.footer{padding:18px 5px}.factor-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:1000px){.tile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){body{font-size:13px}.topbar{height:66px;padding:0 17px;justify-content:space-between;gap:8px}.wordmark b{font-size:22px}.wordmark small{font-size:8px}.nav{display:none}.top-actions{gap:8px}.mode-switch{font-size:11px;padding:6px 9px}.statusbar{margin:12px auto;padding:0 16px;font-size:10px;gap:8px;align-items:flex-start}.statusbar>span:last-child{display:none}.shell{padding:0 14px 105px}.home-grid{gap:15px}.panel{border-radius:15px}.hero{height:239px;padding:18px 18px 12px;background-position:right center;background-size:auto 100%}.hero h1{font-size:33px;margin-top:25px}.hero p{font-size:11px;letter-spacing:0;max-width:220px}.hero .segment.primary button,.hero .segment.primary a{padding:8px 14px;font-size:12px;min-height:35px}.hero .segment.primary .icon{width:16px}.segment.compact button,.segment.compact a{padding:7px 14px;min-height:36px}.match-stack{padding:0 10px 10px}.match-row{grid-template-columns:minmax(0,1fr) 66px;gap:10px 12px;padding:14px;min-height:116px;position:relative}.match-meta{display:flex;gap:8px;grid-column:1/-1;font-size:10px}.teams{grid-column:1;grid-row:2;font-size:13px;gap:5px;justify-content:flex-start}.crest{width:25px;height:30px;font-size:12px}.team{gap:5px;justify-content:flex-start}.team>span:last-child{white-space:normal}.selection{grid-column:2;grid-row:2;gap:4px}.selection>b{font-size:15px}.selection small{font-size:8px}.sp{grid-column:1;grid-row:3;font-size:11px}.sp b{font-size:17px}.match-row>.chevron{position:absolute;right:14px;bottom:8px}.combo-summary{flex-wrap:wrap;gap:10px;padding:14px}.combo-number{font-size:27px}.combo-summary .btn{width:100%;min-height:42px}.summary-reason{min-width:130px}.intro-note{display:block;font-size:10px;padding-top:5px}.panel-head{padding:18px}.panel-head h2{font-size:18px}.live-inner{display:block}.live-inner .pitch{display:block;height:75px;margin:6px 12px 18px}.scoreboard{justify-content:space-between;gap:12px}.score{font-size:40px}.live-inner .event-mini{margin-top:10px}.switches{padding-top:14px}.saved-grid{grid-template-columns:1fr;padding:0 14px 14px;gap:10px}.tool-stack{gap:12px}.tool-card{padding:15px 13px;gap:10px;align-items:flex-start}.tool-card>.icon{width:26px;height:26px}.tool-card>.chevron{display:none}.tool-card h3{font-size:14px}.tool-card p{font-size:11px}.subhead{margin:22px 0 12px;flex-wrap:wrap}.subhead h2{font-size:18px}.filters{gap:8px}.filters input,.filters select{font-size:12px;min-height:40px}.footer{font-size:10px;margin-top:22px}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:30;background:#f8fbfff5;backdrop-filter:blur(20px);border-top:1px solid #c6ddf4;padding:8px 8px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -3px 20px #507ba510}.bottom-nav a{flex:1;display:grid;justify-items:center;gap:4px;font-size:10px;padding:5px;color:#687f9c}.bottom-nav a.active{color:var(--blue);background:#eaf4ff;border-radius:9px}.page-title{margin:18px 0;flex-wrap:wrap}.page-title h1{font-size:27px}.page-title p{font-size:12px}.page-title .btn{min-height:38px;font-size:12px;padding:9px 13px}.panel-body,.section{padding:19px}.factor-grid,.tile-grid{grid-template-columns:1fr 1fr;gap:10px}.factor{padding:13px}.factor h3{font-size:14px}.facts{grid-template-columns:repeat(2,1fr);gap:10px}.fact{padding:15px}.fact strong{font-size:23px}.account-menu{gap:10px}.menu-tile{padding:17px 12px;gap:10px}.menu-tile h3{font-size:13px}.menu-tile p{font-size:10px}.price-grid{grid-template-columns:1fr}.price-card ul{min-height:auto}.price{margin:17px 0;font-size:34px}.form-grid{grid-template-columns:1fr}.choice-grid{grid-template-columns:repeat(3,1fr);gap:8px}.choice{padding:15px 7px;font-size:15px}.work-shell{display:block}.work-nav{position:static;padding:10px;margin-bottom:20px;display:flex;overflow:auto;gap:4px;align-items:center}.work-nav>a{white-space:nowrap;padding:10px;font-size:12px;margin:0}.work-nav>a .icon{display:none}.work-nav label{min-width:140px;display:block;padding:0 8px}.work-nav label>span{display:none}.work-nav select{padding:8px;min-height:40px;width:140px}.table-wrap{font-size:12px}#toast{top:76px;max-width:90vw}.modal-body{padding:14px 20px 23px}.modal-body .row-actions>.btn{flex:1}.breadcrumbs{font-size:11px;gap:5px}.notice{font-size:11px}.history-bar{margin-bottom:15px}}
.shell.reveal{animation:none}.live-panel{display:flex;flex-direction:column}.live-panel>.live-card{flex:1}.saved-grid>.empty:only-child{grid-column:1/-1}.price-card{display:flex;flex-direction:column}.price-card .btn{margin-top:auto}
@media(max-width:640px){.tile-grid{grid-template-columns:1fr}.work-nav{position:relative;max-width:100%;contain:inline-size}.work-nav label{flex-shrink:0}.topbar .brand{min-width:0}.wordmark{white-space:nowrap}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* One visual layer. Artwork comes from the supplied reference; content remains live HTML. */
:root{--ink:#090f42;--muted:#6175a8;--blue:#0068ff;--line:#bedbff;--radius:20px;--font:"PingFang SC","Microsoft YaHei",system-ui,sans-serif}
body{color:var(--ink);background:radial-gradient(ellipse at 50% 0,#fff9,transparent 60%),linear-gradient(115deg,#e2f5ff,#e5efff 52%,#e7f7ff);font-size:16px}
body:before{z-index:0;opacity:1;background:url('/assets/reference-silver.png') center top/100% auto no-repeat;mask-image:linear-gradient(90deg,#000 0 1.7%,transparent 2.8% 97.2%,#000 98.3%);pointer-events:none}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.reference-art{display:block;overflow:hidden;flex:none;pointer-events:none}
.shell{position:relative;z-index:1;max-width:1760px;padding:0 32px 30px;margin:auto}
.panel{border:1px solid #fff;border-radius:20px;background:linear-gradient(135deg,#f7fcffea,#e6f3ffed);box-shadow:0 0 0 1px #87c9ff,0 0 0 3px #ffffffa6,inset 0 0 28px #fff8,0 4px 16px #367bbb1a;backdrop-filter:none}
.panel:before{inset:5px;border:1px solid #ffffffc2;border-radius:15px;opacity:.85;mask-image:linear-gradient(135deg,#000,transparent 25%,transparent 75%,#000)}
.topbar{height:104px;padding:0 clamp(24px,4.4vw,70px);gap:24px;background:linear-gradient(105deg,#ffffffdb,#edf7fff0 70%,#f1faffbd);border-bottom:2px solid #fff;box-shadow:0 2px 0 #87c3ff,0 8px 20px #7aa6e83b;position:relative}
.topbar:after{content:"";height:3px;position:absolute;bottom:-4px;left:0;right:0;background:linear-gradient(90deg,#00c7ff,#e2a1ff 14%,#fff 32%,#46c6ff 60%,#fff 86%,#d99fff);pointer-events:none}
.brand{width:320px;flex:none;gap:37px;padding:0;position:relative}
.brand:after{content:"";position:absolute;left:164px;top:-1px;width:3px;height:55px;transform:skew(-30deg);background:#fff;box-shadow:3px 0 #05b9ff,7px 0 #a6cfff}
.wordmark{display:block;width:150px;height:53px;position:relative}.wordmark-art{width:100%;height:100%;mix-blend-mode:multiply}
.brand-sub{font-size:20px;font-weight:700;letter-spacing:.02em;border:0;padding:0;white-space:nowrap}
.nav{max-width:694px;min-width:0;gap:6px;padding:5px;background:#ffffff8c;border-radius:13px;justify-content:space-between}
.nav a{flex:1;min-width:0;justify-content:center;gap:12px;min-height:50px;font-size:19px;font-weight:650;padding:10px 16px;border-radius:10px;position:relative}
.nav a:not(:last-child):after{content:"";height:22px;border-right:1px solid #c8def8;position:absolute;right:-4px}
.nav .icon{width:26px;height:26px;stroke-width:2}
.nav a.active,.mode-tabs .active,.combo-tabs .active,.dashboard-heading .segment .active{color:#fff;background:linear-gradient(145deg,#11dcff,#0588ff 36%,#0055f8 68%,#0ac7ff);border:1px solid #15c5ff;box-shadow:inset 0 0 0 2px #ffffffb5,inset 0 0 12px #83eaff,0 0 0 1px #9cecff,0 3px 6px #0069d52e}
.top-actions{margin-left:auto;flex:none}.header-meta{display:flex;align-items:center;gap:24px}.concept-chip,.edition-chip{display:block;padding:7px 14px;white-space:nowrap;border:1px solid #fff;border-radius:999px;background:#eff8ff91;box-shadow:0 0 0 1px #c4deff;color:#5b72a2;font-size:14px}.edition-chip{color:#151c48}.edition-chip b{font-weight:600}.mode-switch{font-size:12px}
body[data-page="home"] .statusbar{display:none}body[data-page="home"] .shell{padding-top:20px}
.statusbar{position:relative;z-index:1;max-width:1760px;margin:18px auto;padding:0 32px;font-size:12px}
.dashboard-grid{display:grid;grid-template-columns:minmax(0,2.456fr) 26px minmax(0,1fr);grid-template-areas:"analysis score score" "saved saved tools";gap:14px 12px;align-items:stretch}
.panel-chrome{position:absolute;inset:-6px;z-index:3;pointer-events:none;padding:12px;mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);mask-composite:exclude}.chrome-image{position:absolute;inset:0;width:100%;height:100%}
.analysis-panel{grid-area:analysis;min-width:0;position:relative}
.analysis-panel:after,.dashboard-live:after,.dashboard-saved:after{content:"";position:absolute;inset:-6px;pointer-events:none;border:2px solid #eaffff;clip-path:polygon(0 0,8% 0,8% 2%,2% 2%,2% 8%,0 8%,0 92%,2% 92%,2% 98%,8% 98%,8% 100%,0 100%,100% 100%,92% 100%,92% 98%,98% 98%,98% 92%,100% 92%,100% 8%,98% 8%,98% 2%,92% 2%,92% 0,100% 0);filter:drop-shadow(0 0 2px #149aff)}
.dashboard-hero{height:254px;padding:24px 38px 12px;position:relative;overflow:hidden;border-radius:20px 20px 0 0;background:linear-gradient(105deg,#e9f6ff,#f7fbff 50%,#dbf0ff)}
.hero-art{position:absolute;right:0;top:0;width:53%;height:100%;mask-image:linear-gradient(90deg,transparent,#000 13%);object-fit:cover}
.dashboard-hero>*:not(.hero-art){position:relative;z-index:1}
.mode-tabs{display:grid;grid-template-columns:1fr 1fr;width:418px;max-width:65%;height:52px;background:#ffffffc9;border:1px solid #fff;border-radius:18px;box-shadow:0 1px 0 #bcd8f7;overflow:visible}
.mode-tabs a{display:flex;align-items:center;justify-content:center;gap:12px;color:#5b74aa;font-size:21px;font-weight:700;border-radius:12px}.mode-tabs .icon{width:30px;height:30px;stroke-width:2.2}
.dashboard-hero h1{font-size:52px;line-height:1.15;font-weight:900;font-synthesis:weight style;letter-spacing:-1px;font-style:italic;transform:skewX(-5deg);transform-origin:left;margin:22px 0 4px;-webkit-text-stroke:.7px currentColor}
.dashboard-hero p{font-size:18px;line-height:1.35;font-weight:450;letter-spacing:.14em;color:#4b66a4;white-space:nowrap}
.combo-tabs{margin-top:14px;width:460px;max-width:68%}.combo-tabs .segment{display:grid;grid-template-columns:repeat(4,1fr);padding:0;border-radius:11px;border-color:#b7dfff;background:#f8fcffb8;gap:0;overflow:visible}
.combo-tabs .segment button{font-size:18px;font-weight:500;height:40px;min-height:40px;padding:4px;border-radius:10px;position:relative}
.combo-tabs button:not(:last-child):after{content:"";position:absolute;right:0;height:20px;border-right:1px solid #c9ddfb}
.recommendation-list{padding:0 14px 16px 26px;display:grid;gap:8px}
.fixture-row{display:grid;grid-template-columns:156px minmax(0,1fr) 154px 142px 20px;gap:18px;align-items:center;min-width:0;min-height:100px;padding:17px 20px;margin:0;background:linear-gradient(110deg,#fff,#f7fcff);border:1px solid #fff;border-radius:16px;box-shadow:none;position:relative}
.fixture-meta{display:flex;flex-direction:column;gap:2px;min-width:0;border-right:1px solid #c6dcfc;font-size:16px;color:#5a73aa;padding-right:10px;line-height:1.35}
.fixture-meta time{font-size:18px;color:#102774;white-space:nowrap;font-variant-numeric:tabular-nums}.fixture-meta small{font-size:10px;line-height:1.25;color:#7183a8}
.fixture-teams{display:grid;grid-template-columns:minmax(0,1fr) 26px minmax(0,1fr);gap:14px;align-items:center;min-width:0}
.fixture-team{display:flex;align-items:center;gap:28px;min-width:0}.fixture-team strong{font-size:24px;line-height:1.3;font-weight:800;min-width:0;overflow-wrap:anywhere}.away-team{justify-content:flex-end;text-align:right}.fixture-vs{justify-self:center;display:grid;place-items:center;width:46px;height:32px;border-radius:10px;background:linear-gradient(104deg,transparent 50%,#ffffff3d 52.5%,#ffffff16 66%,transparent 68%),linear-gradient(152deg,#3574d4,#0b2a6e 82%);box-shadow:inset 0 0 0 1px #ffffff33,inset 0 -1px 0 #00000040,0 3px 8px #123a9238;font-size:16px;font-weight:900;letter-spacing:.02em;line-height:1;text-align:center;color:#fff;text-shadow:0 1px 2px #001b4d80;padding:0 0 1px}
.fixture-row .crest{width:54px;height:65px;flex:none;font-size:24px}.crest.crest-art{display:block;background:none;clip-path:polygon(50% 0,97% 15%,97% 70%,82% 89%,50% 100%,18% 89%,3% 70%,3% 15%);box-shadow:none;mix-blend-mode:multiply}
.fixture-pick{display:grid;gap:4px;justify-items:center;position:relative}.fixture-pick:before{content:"";position:absolute;left:-12px;top:0;bottom:0;border-left:1px solid #c9defd}
.fixture-pick b{display:block;text-align:center;width:122px;max-width:100%;padding:5px 8px;line-height:1.35;font-size:24px;font-weight:800;color:#0065f2;border:1px solid #54cfff;border-radius:9px;background:linear-gradient(125deg,#d9fbff,#a6e5ff 45%,#e5f7ff);box-shadow:inset 0 0 0 2px #fff,0 0 0 3px #e3f9ff,0 2px 5px #4bb6e540}
.fixture-pick small{font-size:11px;text-align:center;color:#55709b;line-height:1.2}
.fixture-sp{display:flex;align-items:baseline;justify-content:center;gap:9px;white-space:nowrap;border-left:1px solid #d2e2fc;font-size:20px;color:#3f58a5}.fixture-sp b{font-family:Arial,var(--font);font-size:31px;font-weight:800;color:#080e40;font-variant-numeric:tabular-nums}
.fixture-details{display:flex;align-items:center;justify-content:center;font-size:35px;line-height:1;min-height:44px;min-width:24px;color:#31509b;border-radius:6px}.fixture-details:hover{background:#deefff}
.selection-summary{display:grid;grid-template-columns:132px 286px minmax(0,1fr) 210px;gap:12px;align-items:center;background:linear-gradient(110deg,#fff,#f2faff);padding:12px 20px;border-radius:15px;min-height:93px}
.summary-sp{display:grid;gap:1px;line-height:1.1}.summary-sp>span,.summary-factors>span{font-size:18px;font-weight:500}.summary-sp strong{font-family:Arial,var(--font);font-size:46px;font-weight:800;letter-spacing:-1px}
.summary-factors{border-left:1px solid #c1d9ff;padding-left:20px;display:grid;gap:5px}.summary-factors .tags{gap:9px;flex-wrap:nowrap}.summary-factors .tag{font-size:16px;padding:5px 11px;border-radius:7px;background:#edf8ff;color:#0067f7;border-color:#a4d1ff;font-weight:550}
.summary-confidence{border-left:1px solid #c1d9ff;padding-left:26px;font-size:20px;white-space:nowrap}.summary-confidence b{font-weight:650}
.btn.primary{color:white;border:1px solid #03b8ff;border-radius:11px;background:linear-gradient(140deg,#19d9ff,#008cff 35%,#0054fb 68%,#00c9ff);box-shadow:inset 0 0 0 2px #c7faff,inset 0 0 15px #63ddff,0 0 0 2px #e4fbff,0 4px 7px #1f92d52e}
.selection-summary .btn{font-size:26px;font-weight:800;min-height:64px;padding:9px 14px;gap:12px}.selection-summary .icon{width:26px;height:26px}
/* 实时比分卡整块高度恒定（--live-box-h 按断点给足）：换场时下面整排不再被推动。 */
.dashboard-live{grid-area:score;min-width:0;display:flex;flex-direction:column;--live-box-h:610px;min-height:var(--live-box-h)}
.dashboard-heading{display:flex;align-items:center;gap:24px;padding:25px 26px 16px;min-width:0}.dashboard-heading h2{display:flex;align-items:center;gap:16px;font-size:27px;font-weight:800;white-space:nowrap}.dashboard-heading h2>.icon{width:28px;height:28px;color:#009dff;stroke-width:2.4}.dashboard-heading>a{margin-left:auto;white-space:nowrap;color:#4b64a1;font-size:17px}
.score-card{padding:0 16px 12px;display:flex;flex-direction:column;flex:1;min-width:0;container-type:inline-size}
.score-inner{display:block;background:linear-gradient(145deg,#ffffffec,#eff8ffcb);border:1px solid #fff;border-radius:18px;padding:12px 18px 11px;min-width:0;flex:1;position:relative}
.score-caption{font-size:15px;line-height:1.4;color:#6179af;margin-bottom:10px;overflow-wrap:anywhere}
.score-meta{display:flex;align-items:center;gap:18px;font-size:18px;color:#5470a4;white-space:nowrap}.score-meta .tag.live{font-family:Arial,var(--font);font-size:21px;padding:2px 14px;border-radius:5px;background:linear-gradient(#ff568c,#f00054);box-shadow:inset 0 1px #ff9bbe}.score-meta>b{margin-left:auto;padding:2px 12px;color:#009a7e;background:#dcfff5;border:1px solid #7eedd5;border-radius:7px;font-size:21px;font-style:italic}.score-meta>span{min-width:0;overflow:hidden;text-overflow:ellipsis}
.score-matchup{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px;margin:20px 8px 12px;text-align:center}
.score-side{display:grid;justify-items:center;gap:7px;min-width:0}.score-side .crest{width:clamp(38px,17cqw,79px);height:clamp(49px,22cqw,102px)}.score-side strong{font-size:clamp(13px,5.6cqw,23px);line-height:1.3;font-weight:800;max-width:100%;white-space:normal;overflow-wrap:anywhere;text-wrap:balance}
.score-number{font-family:Arial,var(--font);font-size:clamp(32px,14.5cqw,67px);font-weight:800;line-height:1;letter-spacing:0;white-space:nowrap;align-self:start;margin-top:24px}
.score-pitch-art{width:calc(100% + 24px);height:auto;aspect-ratio:418/116;margin:5px -12px 7px;mix-blend-mode:multiply}
.score-event{display:flex;align-items:center;justify-content:center;gap:11px;min-height:42px;font-size:18px;background:#ffffffb5;border:1px solid #fff;border-radius:11px;white-space:nowrap;overflow:hidden}.score-event .icon{width:27px;height:27px}.score-event strong{font-weight:750;min-width:0;overflow:hidden;text-overflow:ellipsis}
.score-switches{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:0;margin-top:8px;background:#f6fbffae;border:1px solid #fff;border-radius:14px;padding:11px 8px}.score-switches label{display:flex;align-items:center;justify-content:center;gap:10px;min-width:0;color:#455e99;font-size:14px}.score-switches label>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.score-switches label+label{border-left:1px solid #bcd5fb}.score-switches .icon{width:27px;height:27px;color:#101741}.score-switches .toggle{width:45px;height:27px;min-height:27px;background:#99abc4}.score-switches .toggle:before{width:21px;height:21px}.score-switches .toggle:checked{background:#0065ff;box-shadow:inset 0 0 4px #01deff}.score-switches .toggle:checked:before{transform:translateX(18px)}
.score-unavailable .empty{flex:1}.holo-pitch{height:105px;background:#65d9f48c;border:1px solid #6ddfff;margin:20px;transform:perspective(500px) rotateX(25deg);position:relative}.holo-pitch:before{content:"";position:absolute;left:50%;height:100%;border-left:1px solid white}.holo-pitch b{position:absolute;width:40px;height:40px;left:calc(50% - 20px);top:calc(50% - 20px);border:1px solid white;border-radius:50%}
.dashboard-saved{grid-area:saved;min-width:0}.dashboard-saved .dashboard-heading{padding:16px 28px 12px;min-height:69px;gap:24px}.dashboard-heading .segment{padding:0;flex:none;border-color:#fff;background:#f7fbffcc}.dashboard-heading .segment button{font-size:18px;font-weight:500;padding:7px 27px;min-height:42px;border-radius:10px}.dashboard-heading .segment .active{background:linear-gradient(140deg,#12d7ff,#0679ff 50%,#0870ff)}
.dashboard-plans{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0 26px 19px}.dashboard-plans>.empty:only-child{grid-column:1/-1;padding:12px}.dashboard-plan{min-width:0;position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;padding:18px 24px 14px;background:linear-gradient(135deg,#fff,#f3fbff);border:1px solid #d1e7ff;border-radius:13px;min-height:123px}
.dashboard-plan h3{font-size:22px;line-height:1.5;font-weight:800;overflow-wrap:anywhere}.dashboard-plan .tags{align-self:start;gap:8px}.dashboard-plan .tag{font-size:13px;padding:5px 13px}.dashboard-plan p{grid-column:1/-1;font-size:17px;color:#6b7fae;line-height:1.35;padding-right:24px}.dashboard-plan small{grid-column:1/-1;font-size:14px;color:#7c91ba;line-height:1.4;padding-right:24px}.plan-arrow{position:absolute;right:20px;bottom:35px;font-size:34px;line-height:1;color:#183e9f}
.dashboard-tools{grid-area:tools;display:grid;grid-template-rows:1fr 1fr;gap:10px;min-width:0}.dashboard-tool{display:grid;grid-template-columns:75px minmax(0,1fr) 20px;align-items:center;gap:20px;border:1px solid #fff;border-radius:18px;padding:12px 25px 12px 22px;background:linear-gradient(130deg,#ffffffea,#e9f5ffe6);box-shadow:0 0 0 1px #91cbff,0 0 0 3px #ffffffa8}
.tool-art{width:65px;height:66px;mix-blend-mode:multiply}.dashboard-tool>div{border-left:1px solid #c5deff;padding-left:21px}.dashboard-tool h3{font-size:24px;font-weight:800;line-height:1.3}.dashboard-tool p{font-size:16px;color:#7288b8;line-height:1.35}.dashboard-tool>span{font-size:35px;color:#2442a2}
.dashboard-caption{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-top:17px;color:#627eac;font-size:14px}.dashboard-caption>span:last-child{font-family:Arial,var(--font);font-size:11px}.dashboard-caption b{margin-left:18px;color:#6078ac;font-size:16px}.events-section{padding-top:26px}.events-section .fixture-row{margin-bottom:10px}
.page-title h1{font-weight:800;color:#101948}.segment.primary .active{background:linear-gradient(130deg,#0bbdff,#0065ef);color:#fff}.panel-body,.section{position:relative}.breadcrumbs{color:#506fa5}.fixture-row:hover,.dashboard-plan:hover,.dashboard-tool:hover{border-color:#65cbff;box-shadow:0 0 0 1px #cff7ff,0 4px 14px #5aacdc22}
@container(max-width:370px){.score-meta{font-size:14px;gap:8px}.score-meta .tag.live{font-size:17px;padding:3px 10px}.score-meta>b{font-size:17px;padding:3px 9px}.score-matchup{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:6px;margin-left:0;margin-right:0}.score-event{font-size:15px;gap:7px}.score-switches label{font-size:12px;gap:6px}.score-switches .icon{width:22px;height:22px}}
@media(min-width:1600px){.dashboard-hero{height:270px}.dashboard-hero h1{font-size:56px}.fixture-row{min-height:105px}.selection-summary{min-height:99px}}
@media(min-width:1200px) and (max-width:1450px){
 .topbar{padding:0 30px;gap:18px}.brand{width:277px;gap:28px}.brand-sub{font-size:17px}.brand:after{left:151px}.wordmark{width:140px}.nav a{font-size:17px;padding:10px 12px;gap:8px}.header-meta{gap:10px}.concept-chip,.edition-chip{font-size:11px;padding:6px 9px}
 .shell{padding-left:26px;padding-right:26px}.dashboard-hero{padding-left:28px;height:250px}.dashboard-hero h1{font-size:47px}.dashboard-hero p{font-size:15px}.mode-tabs{width:375px}.mode-tabs a{font-size:19px}.combo-tabs{width:400px}
 .recommendation-list{padding:0 18px 15px}.fixture-row{grid-template-columns:113px minmax(0,1fr) 108px 97px 18px;gap:13px;padding:14px 15px;min-height:100px}.fixture-meta{font-size:14px}.fixture-meta time{font-size:15px}.fixture-team{gap:9px}.fixture-team strong{font-size:21px}.fixture-row .crest{width:42px;height:54px}.fixture-teams{gap:8px;grid-template-columns:minmax(0,1fr) 23px minmax(0,1fr)}.fixture-vs{font-size:14px;width:36px;height:29px}.fixture-pick b{width:100px;font-size:21px}.fixture-sp{font-size:17px;gap:6px}.fixture-sp b{font-size:27px}
 .selection-summary{grid-template-columns:107px minmax(165px,1fr) 132px 173px;gap:12px;padding:12px 15px}.summary-factors{padding-left:15px}.summary-sp strong{font-size:42px}.summary-sp>span,.summary-factors>span{font-size:16px}.summary-factors .tag{font-size:13px;padding:5px 8px}.summary-factors .tags{gap:6px}.summary-confidence{font-size:16px;padding-left:12px}.selection-summary .btn{font-size:22px;min-height:59px}
 .dashboard-heading{padding:24px 19px 16px}.dashboard-heading h2{font-size:24px;gap:12px}.dashboard-heading>a{font-size:14px}.dashboard-heading .segment button{font-size:15px;padding:7px 18px}.dashboard-saved .dashboard-heading{gap:18px;padding-left:22px;padding-right:22px}.dashboard-plans{padding-left:18px;padding-right:18px}.dashboard-plan{padding:17px 17px 13px;gap:4px 8px}.dashboard-plan h3{font-size:19px}.dashboard-plan .tag{font-size:11px;padding:5px 8px}.dashboard-plan p{font-size:15px}.dashboard-plan small{font-size:12px}.dashboard-tool{grid-template-columns:60px minmax(0,1fr) 14px;gap:13px;padding:12px 19px}.tool-art{width:58px;height:60px}.dashboard-tool h3{font-size:22px}.dashboard-tool p{font-size:13px}
}
@media(max-width:1199px){
 .topbar{height:88px;padding:0 26px;gap:18px}.brand{width:auto;gap:20px}.brand-sub{display:none}.brand:after{left:auto;right:-12px;top:3px;height:43px}.wordmark{width:135px;height:48px}.nav a{font-size:15px;padding:10px 12px;gap:8px;min-height:46px}.nav .icon{width:23px;height:23px}.header-meta{gap:0}.edition-chip{display:none}.concept-chip{font-size:11px;padding:7px 10px}
 .dashboard-grid{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);grid-template-areas:"analysis analysis" "score tools" "saved saved";gap:18px}.dashboard-hero{height:254px}.dashboard-live{--live-box-h:600px}.dashboard-live .dashboard-heading{padding-top:20px}.dashboard-live .score-matchup{margin-top:16px}.dashboard-live .score-pitch-art{max-height:120px}.dashboard-live .score-stage{width:min(550px,100%);align-self:center}.dashboard-tools{align-content:start;grid-template-rows:1fr 1fr}.dashboard-tool{grid-template-columns:60px minmax(0,1fr) 18px;padding:22px 18px;gap:14px}.tool-art{width:58px;height:62px}.dashboard-tool>div{padding-left:16px}.dashboard-tool h3{font-size:23px}.dashboard-tool p{font-size:14px}.dashboard-caption>span:last-child{display:none}.score-card{max-width:550px;width:100%;margin:auto}.score-matchup{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}.score-card .score-inner{flex:1}
 .fixture-row{grid-template-columns:127px minmax(0,1fr) 113px 110px 20px;gap:14px;padding:16px}.fixture-meta time{font-size:16px}.fixture-team{gap:12px}.fixture-team strong{font-size:22px}.fixture-row .crest{width:47px;height:57px}.fixture-sp b{font-size:28px}.fixture-pick b{width:105px;font-size:22px}.fixture-teams{gap:10px}
 .selection-summary{grid-template-columns:120px minmax(180px,1fr) 157px 185px;gap:17px;padding:13px 16px}.summary-factors{padding-left:18px}.summary-factors .tag{font-size:14px;padding:5px 8px}.summary-confidence{font-size:17px;padding-left:17px}.selection-summary .btn{font-size:23px}
}
@media(max-width:900px) and (min-width:768px){.shell{padding-left:24px;padding-right:24px}.dashboard-hero{padding-left:26px}.fixture-row{grid-template-columns:105px minmax(0,1fr) 94px 87px 18px;gap:10px;padding:14px}.fixture-meta time{font-size:14px}.fixture-meta{font-size:13px}.fixture-team{gap:8px}.fixture-team strong{font-size:19px}.fixture-row .crest{width:38px;height:49px}.fixture-teams{gap:6px;grid-template-columns:minmax(0,1fr) 22px minmax(0,1fr)}.fixture-vs{font-size:13px;width:30px;height:26px}.fixture-pick b{font-size:20px;width:88px}.fixture-sp{font-size:16px;gap:5px}.fixture-sp b{font-size:25px}.selection-summary{grid-template-columns:95px minmax(175px,1fr) 150px;gap:13px}.summary-confidence{grid-column:2;grid-row:2;border:0;padding-left:15px;font-size:14px}.summary-sp{grid-row:1/3}.summary-factors{padding-left:15px}.selection-summary .btn{grid-column:3;grid-row:1/3;font-size:20px}.dashboard-heading .segment button{font-size:15px;padding:8px 15px}.dashboard-heading{gap:15px}.dashboard-heading h2{font-size:24px}.dashboard-heading>a{font-size:14px}.dashboard-plan{grid-template-columns:1fr}.dashboard-plan .tags{grid-row:2}.dashboard-plan h3{font-size:21px}.dashboard-tools{gap:18px}.dashboard-tool{grid-template-columns:50px minmax(0,1fr);gap:9px;padding:18px 14px}.tool-art{width:48px}.dashboard-tool h3{font-size:20px}.dashboard-tool p{font-size:13px}.dashboard-tool>span{display:none}}
@media(max-width:767px){
 body{font-size:14px}body:before{mask-image:linear-gradient(90deg,#000 0 1%,transparent 2% 98%,#000 99%);background-size:auto 992px}
 .topbar{height:72px;padding:0 18px;gap:12px;justify-content:space-between}.wordmark{width:128px;height:46px}.brand:after{height:42px;right:-10px}.nav{display:none}.top-actions{display:flex}.header-meta{display:flex}.concept-chip{font-size:10px;padding:7px 10px}.edition-chip{display:none}.brand-sub{display:none}
 .shell{padding:0 16px 110px}body[data-page="home"] .shell{padding-top:16px}.statusbar{padding:0 16px;font-size:10px}.statusbar>span:last-child{display:none}
 .dashboard-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"analysis" "score" "saved" "tools";gap:17px}.dashboard-live{--live-box-h:570px}
 .dashboard-hero{height:233px;padding:18px 19px 14px}.hero-art{width:64%;height:100%;opacity:.7;mask-image:linear-gradient(90deg,transparent,#000 48%)}.mode-tabs{height:44px;width:320px;max-width:100%;position:relative;background:#f8fcffed}.mode-tabs a{font-size:16px;gap:9px}.mode-tabs .icon{width:24px;height:24px}
 .dashboard-hero h1{font-size:40px;margin-top:23px;line-height:1.15;letter-spacing:-1px;-webkit-text-stroke:.4px currentColor}.dashboard-hero p{font-size:12px;letter-spacing:.03em;white-space:normal;max-width:285px;margin-top:6px;text-shadow:0 1px #fff}.combo-tabs{margin-top:18px;width:100%;max-width:100%}.combo-tabs .segment button{font-size:16px;height:38px;min-height:38px}
 .recommendation-list{padding:0 12px 12px;gap:10px}.fixture-row{display:grid;grid-template-columns:minmax(0,1fr) 95px 24px;grid-template-areas:"meta meta detail" "teams teams teams" "pick sp sp";gap:12px 10px;padding:14px 16px;min-height:165px;border-radius:13px}
 .fixture-meta{grid-area:meta;display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:4px 8px;border:0;padding:0;font-size:12px;line-height:1.3}.fixture-meta time{font-size:13px}.fixture-meta small{font-size:10px}.fixture-teams{grid-area:teams;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);gap:10px}.fixture-team{gap:10px}.fixture-team strong{font-size:19px;line-height:1.25}.fixture-row .crest{width:35px;height:45px}.fixture-vs{font-size:13px;width:34px;height:27px}
 .away-team{justify-content:flex-end}.fixture-pick{grid-area:pick;justify-items:start;gap:5px}.fixture-pick:before{display:none}.fixture-pick b{width:98px;padding:5px 8px;font-size:20px;line-height:1.2}.fixture-pick small{text-align:left;font-size:10px}.fixture-sp{grid-area:sp;border:0;justify-self:end;font-size:16px;gap:8px}.fixture-sp b{font-size:27px}.fixture-details{grid-area:detail;position:static;min-height:30px;font-size:30px}
 .selection-summary{grid-template-columns:85px minmax(0,1fr);gap:12px;padding:15px;min-height:0}.summary-sp{grid-row:1/3}.summary-sp>span,.summary-factors>span{font-size:14px}.summary-sp strong{font-size:38px}.summary-factors{padding-left:15px;gap:6px}.summary-factors .tags{gap:5px;flex-wrap:wrap}.summary-factors .tag{font-size:12px;padding:4px 6px}.summary-confidence{grid-column:2;font-size:13px;padding-left:15px;border-left:1px solid #c1d9ff}.selection-summary .btn{grid-column:1/-1;min-height:50px;font-size:22px;padding:10px}
 .dashboard-heading,.dashboard-live .dashboard-heading{padding:20px 20px 14px;gap:14px}.dashboard-heading h2{font-size:24px;gap:11px}.dashboard-heading h2>.icon{width:25px;height:25px}.dashboard-heading>a{font-size:14px}.score-card{padding:0 12px 12px;max-width:none}.score-inner{padding:14px;border-radius:14px}.score-caption{font-size:12px;margin-bottom:10px}.score-meta{font-size:15px;gap:10px}.score-meta .tag.live{font-size:18px;padding:3px 11px}.score-meta>b{font-size:18px;padding:2px 10px}.score-matchup,.dashboard-live .score-matchup{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:8px;margin:22px 0 10px}.score-pitch-art,.dashboard-live .score-pitch-art{max-height:none;margin-top:5px}.score-event{font-size:15px;gap:8px}.score-switches{padding:12px 4px}.score-switches label{font-size:12px;gap:7px}.score-switches .icon{width:24px;height:24px}
 .dashboard-saved .dashboard-heading{padding:18px 17px 13px;display:flex;flex-wrap:wrap;gap:10px}.dashboard-saved .dashboard-heading h2{flex:1}.dashboard-saved .dashboard-heading>a{order:1}.dashboard-saved .dashboard-heading>.segment{order:2;width:100%;display:grid;grid-template-columns:1fr 1fr}.dashboard-heading .segment button{font-size:15px;padding:7px 8px;min-height:40px}.dashboard-plans{grid-template-columns:1fr;gap:10px;padding:0 12px 14px}.dashboard-plan{padding:17px 18px;min-height:125px;grid-template-columns:minmax(0,1fr) auto;gap:6px 8px}.dashboard-plan h3{font-size:19px}.dashboard-plan .tag{font-size:11px;padding:4px 7px}.dashboard-plan p{font-size:14px}.dashboard-plan small{font-size:12px}
 .dashboard-tools{grid-template-columns:1fr;grid-template-rows:auto;gap:12px}.dashboard-tool{grid-template-columns:56px minmax(0,1fr) 20px;padding:16px 20px;gap:16px;min-height:96px}.tool-art{width:56px;height:59px}.dashboard-tool h3{font-size:22px}.dashboard-tool p{font-size:14px}.dashboard-tool>div{padding-left:16px}.dashboard-tool>span{display:block;font-size:30px}
 .dashboard-caption{margin-top:17px;font-size:11px}.dashboard-caption>span:last-child{display:none}.events-section{padding-top:16px}.events-section .filters{flex-wrap:wrap}.source-filter{width:100%;order:3}.source-filter .segment{display:grid;grid-template-columns:repeat(3,1fr);width:100%}.source-filter .segment button{font-size:12px;padding:8px 5px}.events-section .filters .search{width:100%}
 .bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:30;background:#f7fbfff5;backdrop-filter:blur(16px);border-top:1px solid #c6ddf4;padding:8px 8px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -3px 20px #507ba510}.bottom-nav a{flex:1;display:grid;justify-items:center;gap:4px;font-size:11px;padding:5px;color:#687f9c}.bottom-nav a.active{color:#0073ff;background:#eaf4ff;border-radius:9px}
}
@media(max-width:370px){.shell{padding-left:12px;padding-right:12px}.dashboard-live{--live-box-h:600px}.dashboard-hero{padding-left:15px;padding-right:15px}.fixture-row{padding:13px 12px}.fixture-team{gap:7px}.fixture-team strong{font-size:17px}.fixture-row .crest{width:31px;height:40px}.fixture-teams{gap:7px}.fixture-vs{font-size:12px;width:30px;height:24px}.score-matchup,.dashboard-live .score-matchup{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:6px;margin:18px 0 10px}.score-number{margin-top:17px}.score-meta{font-size:12px;gap:6px}.score-meta .tag.live{font-size:15px;padding:3px 8px}.score-meta>b{font-size:15px;padding:3px 7px}.score-event{font-size:13px;gap:5px}.score-event .icon{width:21px;height:21px}.score-switches label{font-size:10px;gap:5px}.score-switches .icon{width:20px;height:20px}.score-switches .toggle{width:37px;height:23px;min-height:23px}.score-switches .toggle:before{width:17px;height:17px}.score-switches .toggle:checked:before{transform:translateX(14px)}.dashboard-plan{grid-template-columns:1fr}.dashboard-plan .tags{grid-row:2}.concept-chip{font-size:9px}.summary-factors .tag{font-size:11px}}
.recommendation-list,.columns>.panel,.events-section>.panel{container-name:fixtures;container-type:inline-size}
@container fixtures (max-width:710px){
 .fixture-row{grid-template-columns:minmax(0,1fr) 95px 24px;grid-template-areas:"meta meta detail" "teams teams teams" "pick sp sp";gap:12px 10px;padding:14px 16px;min-height:165px}
 .fixture-meta{grid-area:meta;flex-direction:row;align-items:center;flex-wrap:wrap;gap:4px 8px;border:0;padding:0;font-size:12px}.fixture-meta time{font-size:13px}.fixture-meta small{font-size:10px}
 .fixture-teams{grid-area:teams;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);gap:10px}.fixture-team{gap:10px}.fixture-team strong{font-size:19px;line-height:1.25}.fixture-row .crest{width:35px;height:45px}.fixture-vs{font-size:13px;width:34px;height:27px}.away-team{justify-content:flex-end}
 .fixture-pick{grid-area:pick;justify-items:start;gap:5px}.fixture-pick:before{display:none}.fixture-pick b{width:98px;padding:5px 8px;font-size:20px;line-height:1.2}.fixture-pick small{text-align:left;font-size:10px}
 .fixture-sp{grid-area:sp;border:0;justify-self:end;font-size:16px;gap:8px}.fixture-sp b{font-size:27px}.fixture-details{grid-area:detail;position:static;min-height:30px;font-size:30px}
}
@container fixtures (max-width:280px){.fixture-row{padding:13px 12px}.fixture-team{gap:7px}.fixture-team strong{font-size:17px}.fixture-row .crest{width:31px;height:40px}.fixture-teams{gap:7px}.fixture-vs{font-size:12px;width:30px;height:24px}}
/* Keep the recommendation footer focused on combo price and the detail action. */
.selection-summary{grid-template-columns:minmax(150px,.8fr) minmax(130px,1fr) 210px}
.summary-threshold{border-left:1px solid #c1d9ff;padding-left:24px;display:grid;gap:3px;color:#506ca2}.summary-threshold span{font-size:14px}.summary-threshold b{font-size:20px;color:#0878f9;font-variant-numeric:tabular-nums}
@media(max-width:900px){.selection-summary{grid-template-columns:minmax(130px,.8fr) minmax(120px,1fr) 185px;gap:14px}.summary-threshold{padding-left:17px}}
@media(max-width:767px){.selection-summary{grid-template-columns:1fr 1fr;gap:12px;padding:15px;min-height:0}.summary-sp>span{font-size:14px}.summary-sp strong{font-size:38px}.summary-threshold{padding-left:14px}.summary-threshold b{font-size:18px}.selection-summary .btn{grid-column:1/-1;min-height:50px;font-size:19px;padding:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
.market-panels{display:grid;gap:12px;margin:18px 0}
.market-panel{min-width:0;border:1px solid #b9dbff;border-radius:14px;background:linear-gradient(135deg,#ffffffed,#e5f4ffdc);box-shadow:inset 0 1px 0 #fff}
.market-panel summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 20px;cursor:pointer;color:#071343;list-style:none}
.market-panel summary::after{content:'＋';color:#0676ff;font-size:22px}
.market-panel[open] summary::after{content:'−'}
.market-panel summary span{margin-left:auto;color:#53699a;font-size:13px}
.market-panel summary:focus-visible{outline:3px solid #007bff;outline-offset:2px;border-radius:12px}
.market-content{padding:0 20px 18px}
.market-content>p{font-size:14px;line-height:1.7}
.odds-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(85px,1fr));gap:8px;margin:14px 0}
.odds-cell{display:flex;flex-direction:column;align-items:center;gap:7px;padding:12px 6px;border:1px solid #cae2ff;border-radius:9px;background:#ffffffc9}
.odds-cell span{font-size:13px;color:#53699a}
.odds-cell strong{font-size:20px;color:#061343;font-variant-numeric:tabular-nums}
.market-time{color:#627ca7;font-size:12px!important}
@media(max-width:600px){.market-panel summary{padding:14px 12px;gap:8px}.market-panel summary strong{font-size:15px}.market-content{padding:0 12px 14px}.odds-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.market-panel summary span{font-size:11px}}

/* ===== SP 组合计算器（方案账户内） ===== */
.calc-panel{padding:14px 14px 18px}
.calc-clock{white-space:nowrap;font-size:13px}
/* 窄屏（360 一档）这行时间字会比内容区宽 4px，把整页顶出横向滚动条：
   小屏允许折行，宁可两行也不让页面能左右拖。 */
@media (max-width:560px){.calc-clock{white-space:normal;overflow-wrap:anywhere}}
.calc-table th,.calc-table td{padding:9px 6px;text-align:center;vertical-align:middle}
.calc-table thead th{font-size:12px;font-weight:500}
.calc-table tbody th{background:none;font-weight:400;text-align:left;padding:9px 10px;border-bottom:1px solid #e2edf8}
.calc-fixture{display:grid;gap:2px;min-width:136px}
.calc-fixture time{font-size:15px;color:#102774;font-variant-numeric:tabular-nums}
.calc-fixture span{font-size:12px;color:#5a73aa}
.calc-fixture small{font-size:11px;color:#5b6f99}
/* 赛事编号（周一-002）加粗：一行里最先被找的就是它，得比联赛名更实。
   颜色继承 small，完赛绿 / 开赛黄 / 进行中粉三套状态色照旧穿透下来。 */
.calc-fixture .calc-no{font-weight:800;color:inherit;letter-spacing:.01em}
.calc-closed{opacity:.62}
/* 完赛不等于作废：整行保持正常对比度，只把状态字样换成"已完赛" */
.calc-finished{background:#fbfcff}
.calc-finished .calc-fixture small{color:#2f7a5a;font-weight:600}
.calc-finished .calc-team{color:#3d5680}
/* 已开赛但还没拿到官方终盘：同样保留数据，只标记"已开赛、不能再拼" */
.calc-kicked{background:#fffdf6}
.calc-kicked .calc-fixture small{color:#9a7213;font-weight:600}
/* 正在进行：左侧一道竖条，比整行染色安静 */
.calc-live{background:#fff8fb;box-shadow:inset 3px 0 0 #e81d63}
.calc-live .calc-fixture small{color:#c2185b;font-weight:700}
/* 封盘 SP：数字照旧清楚，用虚线边和淡底说明"这是停盘价，不能再下" */
.sp-chip.settled:disabled{opacity:1;background:#f4f8ff;color:#2c4a86;border-style:dashed;border-color:#b9d2f5;cursor:default}
.calc-result{white-space:nowrap}
.calc-result .calc-result-score{display:block;font-family:Arial,var(--font);font-size:16px;font-weight:800;color:#061343;font-variant-numeric:tabular-nums;letter-spacing:.02em}
/* 实时比分（第三方公开数据源）：比分和官方一样醒目，但用"进行时间 + 脉冲点"说明这是活的；
   已打完的用同一套红/蓝/绿标签，官方开奖一收录就整格替换，不需要额外解释。 */
/* 比赛日选择器：收成一个按钮，点开才是列表。横向标签会随比赛日数量一直往右长，
   日期一多就换行、把状态筛选挤走；列表限高 + 滚动，再多也只是变长。
   列表只列有实时数据的比赛日，按月分组。 */
.live-date-bar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:14px}
.live-date-label{font-size:11px;font-weight:700;letter-spacing:.14em;color:#5b7bab}
.live-date-picker{position:relative}
.live-date-trigger{display:inline-flex;align-items:center;gap:9px;min-height:42px;padding:5px 14px 5px 10px;border:1px solid #b7dfff;border-radius:10px;background:#f8fcff;color:#16305c;font-family:inherit;font-size:14px;font-weight:700;cursor:pointer}
.live-date-trigger .icon{width:19px;height:19px;color:#167cef}
.live-date-trigger:hover{border-color:#65cbff;box-shadow:0 0 0 1px #cff7ff}
.live-date-value b{color:#0863cd;font-variant-numeric:tabular-nums}
.live-date-caret{width:0;height:0;margin-left:2px;border-left:4.5px solid transparent;border-right:4.5px solid transparent;border-top:6px solid #5b7bab}
.live-date-picker.open .live-date-trigger{border-color:#65cbff;background:#fff;box-shadow:0 0 0 1px #cff7ff}
.live-date-picker.open .live-date-caret{border-top:0;border-bottom:6px solid #0863cd}
.live-date-pop{position:absolute;z-index:30;left:0;top:calc(100% + 8px);width:262px;max-width:calc(100vw - 40px);max-height:min(58vh,360px);overflow-y:auto;overscroll-behavior:contain;padding:6px;border:1px solid #b7dfff;border-radius:12px;background:#fff;box-shadow:0 14px 34px #3f6ea029;scrollbar-width:thin;scrollbar-color:#9dc4e8 transparent;animation:liveDateIn .16s ease-out}
.live-date-pop::-webkit-scrollbar{width:8px}
.live-date-pop::-webkit-scrollbar-thumb{border:2px solid #fff;border-radius:999px;background:#9dc4e8}
@keyframes liveDateIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
.live-date-option{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:40px;padding:7px 11px;border:0;border-radius:8px;background:transparent;color:#1b3b6b;font-family:inherit;font-size:14px;font-weight:600;text-align:left;cursor:pointer}
.live-date-option:hover{background:#f1f8ff}
.live-date-option.active{background:linear-gradient(130deg,#0bbdff,#0065ef);color:#fff}
.live-date-main{display:inline-flex;align-items:baseline;gap:6px}
.live-date-main i{font-style:normal;font-size:12px;font-weight:600;color:#7d9ac0}
.live-date-option.active .live-date-main i{color:#dceeff}
.live-date-count{flex:none;padding:1px 8px;border-radius:999px;background:#eff6ff;color:#3f6ea0;font-size:12px;font-weight:700;font-variant-numeric:tabular-nums}
.live-date-option.active .live-date-count{background:#ffffff2e;color:#eaf6ff}
.live-date-month{margin:6px 0 2px;padding:0 11px;font-size:11px;font-weight:700;letter-spacing:.1em;color:#7d9ac0}
.live-date-hint{margin:7px 11px 2px;font-size:11px;line-height:1.5;color:#8aa4c4}
/* 同一套下拉在首页 / SP 计算器里是嵌在筛选行中的，去掉它自带的顶部间距才跟旁边控件齐平 */
.filters .live-date-bar{margin-top:0}
.filters .live-date-label{display:none}
.filters .live-date-trigger{min-height:38px;font-size:13px}
.calc-result-live .calc-result-score{color:#b3124f}
.calc-result-live .calc-result-clock{display:inline-flex;align-items:center;gap:4px;margin-top:2px;font-size:12px;font-weight:800;color:#e81d63;font-variant-numeric:tabular-nums}
/* 进行中的结果只是当下倾向，用虚线描边标「暂」，不与终场结论混为一谈。 */
.calc-result-live .calc-result-flag{color:#b3124f;background:transparent;border:1px dashed #f0a8c4}
.calc-pulse{width:7px;height:7px;border-radius:50%;background:#e81d63;box-shadow:0 0 0 3px #e81d6322;animation:calcPulse 1.5s ease-in-out infinite}
@keyframes calcPulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.35;transform:scale(.7)}}
.calc-result .calc-result-flag,.calc-result .calc-result-hhad{display:inline-block;margin-top:3px;padding:1px 6px;border-radius:5px;font-size:11px;font-weight:600}
.calc-result .calc-result-flag[data-flag="H"]{color:#c62828;background:#fdecea}
.calc-result .calc-result-flag[data-flag="D"]{color:#5a73aa;background:#eef3fb}
.calc-result .calc-result-flag[data-flag="A"]{color:#2e7d32;background:#e8f5e9}
/* 让球结论跟着让球方向着色：让球胜与主胜同红、让球负与客胜同绿，一眼看出这一场两个口径是否一致。 */
.calc-result .calc-result-hhad{color:#43619a;background:#f1f6ff;border:1px solid #dbe8fb}
.calc-result .calc-result-hhad[data-flag="H"]{color:#c62828;background:#fdecea;border-color:#f6d5d1}
.calc-result .calc-result-hhad[data-flag="A"]{color:#2e7d32;background:#e8f5e9;border-color:#d2ebd6}
.calc-result-none{color:#a8b7d0}
.calc-result-pending{color:#a8b7d0}
.calc-table{min-width:1180px}
.calc-table thead th.calc-team-h{font-size:11px;color:#8296b8;font-weight:500}
.calc-team{font-size:13.5px;font-weight:600;color:#102774;line-height:1.28;vertical-align:middle}
.calc-team span{display:inline-block;max-width:118px;overflow-wrap:anywhere}
.calc-team-home{text-align:right;padding-right:2px}
.calc-team-away{text-align:left;padding-left:2px}
.calc-gap{border-left:1px dashed #c9defd}
.calc-handicap{font-style:normal;font-size:12px;color:#43619a;background:#eef5ff;border:1px solid #cfe2fb;border-radius:6px;padding:2px 7px;white-space:nowrap}
.sp-chip{display:inline-flex;align-items:center;justify-content:center;min-width:64px;min-height:38px;padding:5px 9px;border:1px solid #cae2ff;border-radius:9px;background:#fff;color:#061343;font-family:Arial,var(--font);font-size:17px;font-weight:800;font-variant-numeric:tabular-nums;transition:background .15s,border-color .15s,box-shadow .15s}
.sp-chip:hover:not(:disabled):not(.active){border-color:#0a86ff;background:#f2f9ff}
/* 悬停只能作用在「还没选」的格子上。已选的是白字 + 蓝渐变，hover 的浅底一盖就成白字浅底，
   点下去那一瞬间数字直接消失（客户截图）。选中的保持渐变，用提亮做悬停反馈。 */
.sp-chip.active{color:#fff;border-color:#03b8ff;background:linear-gradient(140deg,#19d9ff,#008cff 40%,#0054fb);box-shadow:inset 0 0 0 2px #c7faff,0 3px 10px #0d7ee033}
.sp-chip.active:hover:not(:disabled){border-color:#03b8ff;background:linear-gradient(140deg,#19d9ff,#008cff 40%,#0054fb);filter:brightness(1.07)}

.sp-chip:disabled{opacity:.42;cursor:not-allowed;background:#f6f9fd;color:#7b8db0}
.calc-link{display:inline-grid;place-items:center;min-width:34px;min-height:38px;font-size:30px;line-height:1;color:#31509b;border-radius:8px}
.calc-link:hover{background:#deefff}
/* ---- 行内展开：比分 / 总进球 / 半全场（客户 2026-11-15，对照 500 彩票网样式） ---- */
.calc-xh{width:44px}
.calc-xcell{text-align:center}
.calc-x{display:inline-grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid #c9defd;border-radius:8px;background:#fff;color:#31509b;cursor:pointer}
.calc-x:hover{background:#deefff;border-color:#9cc6f5}
.calc-x i{width:9px;height:9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-135deg) translateY(-2px);transition:transform .22s ease}
.calc-x.open i{transform:rotate(45deg) translateY(-1px)}
.calc-expand-row>td{padding:0 10px 12px;background:#f7fbff}
.calc-expand-row>td>div{border:1px solid #d7e8fb;border-radius:12px;background:#fff;padding:12px 14px 10px}
.calc-mkt{margin-bottom:12px}
.calc-mkt:last-of-type{margin-bottom:8px}
.calc-mkt-head{display:flex;align-items:baseline;gap:10px;margin-bottom:7px}
.calc-mkt-head b{font-size:13.5px;color:#0a1c4e}
.calc-mkt-head small{font-size:12px;color:#7b8db0}
.calc-mkt-row{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:7px}
/* 展开面板里的格子比主表小一号：比分有 31 项，用大格子一屏放不下。
   格子是两行：上面写买的是什么（1:0 / 3球 / 胜胜），下面才是 SP —— 这一区没有列头，
   只摆一排数字等于让人猜哪个赔率对应哪个比分（客户 2026-11-15）。 */
.calc-mkt .sp-chip{min-width:58px;min-height:32px;font-size:14.5px;padding:3px 8px;border-radius:8px}
.calc-mkt .sp-chip.has-label{flex-direction:column;gap:2px;min-width:62px;min-height:47px;padding:4px 7px 5px;line-height:1.05}
.sp-chip-label{font-family:var(--font);font-size:11px;font-weight:700;color:#5b7099;letter-spacing:.2px;white-space:nowrap}
.sp-chip.active .sp-chip-label{color:#e8f7ff}
.sp-chip:disabled .sp-chip-label{color:#93a5c2}
/* 比分三行分别是主胜 / 平局 / 客胜，行首挂个小标签，扫一眼就知道这一行是哪一类 */
.calc-band-tag{flex:0 0 auto;align-self:center;min-width:28px;font-size:11px;font-weight:700;color:#7d8fb3;letter-spacing:.4px}
.calc-mkt-note{margin:2px 0 0;font-size:12px;color:#8296b8}
/* 展开行不参与行类同步：syncCalcLiveCells 只按 data-match 找比赛行 */
.calc-tip{margin-top:12px;font-size:12px}
.calc-bar{position:fixed;left:0;right:0;bottom:0;z-index:25;margin:18px auto 0;max-width:1448px;padding:9px 16px;background:linear-gradient(120deg,#fffffffa,#e9f4fffa);border:1px solid #fff;border-bottom:0;border-radius:18px 18px 0 0;box-shadow:0 -6px 28px #2b6fd51f,0 0 0 1px #87c9ff,0 0 0 3px #ffffffa6;backdrop-filter:blur(16px)}
.calc-standoff{height:0}
/* 底栏压成一行（照拉澳那条）：已选 / 状态 / 过关 / 倍数 / 金额+最高奖金 / 保存。
   原来这里是"标题 + 已选清单 + 表单 + 三格数字"四行，屏幕矮一点的机器上盖掉半张表。
   清单和过关方式不删，只是收进浮层，点「查看」「过关」才展开。 */
.calcbar{display:flex;align-items:center;gap:16px}
.calcbar-pick{display:flex;align-items:baseline;gap:10px;flex:0 0 auto;padding-right:16px;border-right:1px solid #cfe4f7}
.calcbar-pick strong{font-size:15px;color:#0a1c4e;white-space:nowrap}
.calcbar-links{display:flex;align-items:center;gap:8px}
.calcbar-link{border:0;background:none;padding:0;font:inherit;font-size:12.5px;color:#4a6b96;cursor:pointer;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.calcbar-link:hover{color:#0068ff}
.calcbar-link[aria-expanded="true"]{color:#0068ff;font-weight:700}
.calcbar-note{flex:1 1 auto;min-width:0;margin:0;font-size:13px;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.calcbar-hint{color:#8aa0b8}
.calcbar-sum{color:#2b4a78}
.calcbar-error{color:var(--bad)}
/* 过关方式照拉澳摆在外面：一排方框 + 文字，勾几个就是打几档。
   以前收在浮层里，得先点一下才看得见有哪些档，多打一档还要再点两下。 */
.calcbar-sizes{display:flex;align-items:center;gap:9px;flex:0 0 auto;padding-right:16px;border-right:1px solid #cfe4f7}
.calcbar-checks{display:flex;align-items:center;gap:13px}
.calcbar-check{display:inline-flex;align-items:center;gap:5px;font-size:12.5px;color:#22386e;cursor:pointer;white-space:nowrap}
.calcbar-check input{width:15px;height:15px;min-height:0;margin:0;accent-color:#0068ff;cursor:pointer}
.calcbar-check:hover{color:#0068ff}
.calcbar-checks-empty{font-size:12.5px;color:#8aa0b8;white-space:nowrap}
.calcbar-mul{display:flex;align-items:center;gap:5px;flex:0 0 auto}
.calcbar-label{font-size:12.5px;color:#3d5c7f;white-space:nowrap}
.calcbar-mul input{flex:0 0 62px;width:62px;min-width:0;height:38px;padding:0 4px;text-align:center;border-radius:9px;border:1px solid #b3cbe6;background:#fff;font-family:Arial,var(--font);font-size:14px;font-weight:700;color:#0a1c4e;font-variant-numeric:tabular-nums}
.calcbar-mul input:focus{outline:none;border-color:#0068ff;box-shadow:0 0 0 3px #0068ff22}
/* .btn 全局是 min-height:44px，这里必须显式压回 38 —— 否则两个步进键把整条栏撑高 6px。
   右下角那道小斜杠是全局按钮的装饰，34px 宽的步进键上只剩糊成一坨，本地关掉。 */
.btn.calcbar-step{min-width:34px;min-height:0;height:38px;padding:0;font-size:16px;line-height:1}
.btn.calcbar-step:after{display:none}
.calcbar-money{display:grid;gap:1px;flex:0 0 auto;font-size:12px;color:#5a73aa;line-height:1.5}
.calcbar-money span{white-space:nowrap}
.calcbar-money b{font-family:Arial,var(--font);font-size:15px;font-weight:800;color:#0a1c4e;font-variant-numeric:tabular-nums}
/* 最高奖金用橙：与「我的方案」里奖金那一档同色。红在这套界面里只表示亏损，不能拿来说奖金。 */
.calcbar-money .calcbar-prize{color:#b8700f}
.btn.calcbar-save{min-height:0;height:40px;padding:0 18px;font-size:13px;white-space:nowrap}
/* 「拆分优化」是拉澳底栏右边那股蓝字，不是主按钮 —— 保存才是。 */
.calcbar-split{flex:0 0 auto;font-size:12.5px;color:#0b62c9;white-space:nowrap}
.calcbar-split:disabled{color:#a9bcd4;cursor:not-allowed;text-decoration:none}
/* 「查看」展开的已选清单：浮在底栏上方，不改变底栏高度 */
/* 展开时底栏会长高（清单在栏内、贴着底边向上长），点「查看」再点一次收起 */
.calc-legs{display:flex;flex-wrap:wrap;gap:9px;margin:9px 0 2px;padding:10px 0 2px;border-top:1px dashed #cfe4f7;align-items:center}
.calc-legs[hidden]{display:none}
.calc-leg{display:inline-flex;align-items:center;gap:9px;padding:6px 8px 6px 12px;background:#fff;border:1px solid #bfdcff;border-radius:10px;box-shadow:0 1px 4px #2b6fd518}
.calc-leg-team{font-size:13px;color:#22386e;font-weight:600}
.calc-leg-team i{font-style:normal;font-size:10px;color:#8296b8}
.calc-leg b{font-family:Arial,var(--font);font-size:14px;color:#0068ff;white-space:nowrap}
/* 复式：一场多选时同一块里并排几个赛果，各带一个自己的 × */
.calc-leg-picks{display:inline-flex;align-items:center;gap:4px 10px;flex-wrap:wrap;min-width:0}
.calc-leg-pick{display:inline-flex;align-items:center;gap:6px}
.calc-remove{border:0;background:#eef5ff;color:#5b78a6;width:22px;height:22px;min-height:22px;border-radius:50%;font-size:14px;line-height:1;display:grid;place-items:center;padding:0}
.calc-remove:hover{background:#ffe3ec;color:#c81f52}
/* 竞彩最大 8 串 1 → 最多 7 个方框（2串1…8串1）。一行塞不下时**过关整组换到第二行**，
   不是把「保存方案」挤出屏幕：实测 1180 以下整页会被撑出横向滚动条（doc 1082 > 视口 1024）。 */
@media(max-width:1240px){
 .calcbar{flex-wrap:wrap;row-gap:8px}
 .calcbar-pick{order:1}
 .calcbar-note{order:2}
 .calcbar-mul{order:3}
 .calcbar-money{order:4}
 .calcbar-split{order:5}
 .btn.calcbar-save{order:6}
 /* 750px 宽的一排方框独占一行；再窄就自己换行，不挤旁边任何东西 */
 .calcbar-sizes{order:7;flex:1 1 100%;padding-right:0;border-right:0;flex-wrap:wrap;gap:4px 9px}
 .calcbar-checks{flex-wrap:wrap;gap:4px 12px}
}
@media(max-width:1100px){
 .calcbar{gap:11px}
 .calcbar-pick{padding-right:11px}
 .calcbar-note{font-size:12px}
 /* 一行放不下时先让「N 场 · N 注」让位：注数在金额旁边、档位在方框里都能看到，
   真正不能少的是方框本身和金额。 */
 .calcbar-note{display:none}
}
/* 窄屏不硬塞一行：折成两行 —— 上一行「已选 / 查看全删 / 状态」，下一行「过关 / 倍数 / 金额 / 保存」 */
@media(max-width:640px){
 .calc-bar{bottom:64px;padding:8px 11px calc(8px + env(safe-area-inset-bottom));border-radius:14px 14px 0 0}
 .calcbar{flex-wrap:wrap;gap:8px 10px}
 .calcbar-pick{order:1;border-right:0;padding-right:0}
 .calcbar-note{order:2;flex:1 1 100%;font-size:12px;white-space:normal}
 /* 窄屏折三行：① 已选 + 金额/奖金（一左一右） ② 过关方式（独占一行） ③ 倍数 + 拆分 + 保存 */
 .calcbar-money{order:2;margin-left:auto;text-align:right}
 .calcbar-sizes{order:3;flex:1 1 100%;padding-right:0;border-right:0;flex-wrap:wrap;gap:4px 8px}
 /* 7 个方框在 390 上必然占两行；让「过关方式」和方框挤同一行，别让标签独占一行白吃 26px */
 .calcbar-checks{flex:1 1 0;min-width:0;flex-wrap:wrap;gap:4px 11px}
 .calcbar-mul{order:4}
 .calcbar-split{order:5}
 .btn.calcbar-save{order:6;min-height:0;height:38px;padding:0 14px;font-size:12.5px}
 .calcbar-mul input,.btn.calcbar-step{height:36px;min-height:0}
 .calc-legs{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px}
 .calc-leg{flex:0 0 auto;padding:5px 7px 5px 10px}
 .calc-leg-team,.calc-leg b{font-size:12px}
}
/* 表格本身是 1180（窄屏 960）宽、靠 .table-wrap 自己滚。但 Chromium 会把这张表的 min-width
   一路算到 .calc-panel 的 scrollWidth 上（table-wrap 的 overflow:auto 没兜住），
   整页就多出一条横向滚动 —— 1024 的笔记本上实测 doc 1082 > 视口 1024。
   给 panel 关掉横向溢出即可，表格照样在框里滑。 */
@media(max-width:1180px){.calc-panel{overflow-x:hidden}}
@media(max-width:640px){.calc-table{min-width:960px}.calc-team{font-size:12px}.calc-team span{max-width:86px}.calc-fixture{min-width:112px}.calc-fixture time{font-size:13px}.calc-result .calc-result-score{font-size:14px}.calc-result .calc-result-hhad{display:none}}
/* 保存弹窗里的「票面」：这张卡是给用户截图转发的，所以自成一个完整信息单元 ——
   谁打谁、几点打、选了什么、押多少、能中多少、组合 SP 多少，都在卡上一眼看全。 */
.ticket{margin:6px 0 2px;border:1px solid #cfe2f7;border-radius:16px;background:linear-gradient(160deg,#fff,#f4f9ff);box-shadow:0 6px 24px #2b6fd51a,inset 0 0 0 2px #fff;overflow:hidden}
.ticket-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:13px 18px;background:linear-gradient(120deg,#eaf5ff,#dcecff);border-bottom:1px solid #dbe9f9}
.ticket-head strong{font-size:17px;font-weight:900;font-style:italic;letter-spacing:-.5px;color:#0b4f9e}
.ticket-head span{font-size:11px;color:#5b7799;white-space:nowrap}
.ticket-legs{list-style:none;margin:0;padding:4px 18px}
.ticket-leg{display:grid;grid-template-columns:22px 124px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 0;border-bottom:1px dashed #e0ecf9}
.ticket-leg:last-child{border-bottom:0}
.ticket-index{width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(140deg,#18c6ff,#0868df);color:#fff;font-size:11px;font-weight:800}
.ticket-fixture{display:grid;gap:2px;min-width:0}
.ticket-time{font-size:12px;color:#254c82;font-variant-numeric:tabular-nums;white-space:nowrap}
.ticket-meta{font-size:10px;color:#7b92b3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ticket-teams{display:flex;align-items:center;gap:7px;min-width:0;font-size:14px;font-weight:750;color:#12294d}
.ticket-teams b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ticket-teams i{font-style:normal;font-size:9px;font-weight:600;color:#8296b8;flex:0 0 auto}
.ticket-pick{display:grid;justify-items:end;gap:2px}
.ticket-pick span{font-size:10px;color:#5b7799;white-space:nowrap}
.ticket-pick b{font-family:Arial,var(--font);font-size:18px;font-weight:800;color:#0068ff;font-variant-numeric:tabular-nums}
/* 一场两个赛果：左边选项、右边 SP 一行一组，别把两对拆成四行 */
.ticket-pick.multi{grid-template-columns:auto auto;justify-content:end;align-items:baseline;column-gap:9px;row-gap:1px}
.ticket-figures{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:12px 18px 0}
.ticket-figure{display:grid;gap:3px;padding:10px 12px;border:1px solid #d9e8f8;border-radius:11px;background:#ffffffd9}
.ticket-figure>span{font-size:10px;color:#6b83a4}
.ticket-figure strong{font-family:Arial,var(--font);font-size:19px;font-weight:850;letter-spacing:-.5px;color:#0d2a53;font-variant-numeric:tabular-nums}
.ticket-figure:nth-child(2) strong{color:#0b4f9e}
.ticket-figure:nth-child(3) strong{color:#0068ff}
.ticket-figure small{font-size:10px;color:#8397b4;line-height:1.45}
.modal-body .ticket-note{margin:12px 0 0;padding:11px 18px 14px;border-top:1px solid #e3eefa;font-size:11px;line-height:1.6;color:#6b83a4}
/* 方案记录详情「全部子组合」：一注一场一行，队名后面跟赛果标签，倍数单列 */
.sub-legs{display:grid;grid-template-columns:max-content 1fr;gap:4px 10px;justify-items:start;white-space:normal}
.sub-leg{display:contents}
.sub-leg b{font-weight:600;color:#244872;white-space:nowrap}
.sub-leg i{font-style:normal;font-size:11px;font-weight:700;line-height:1.7;color:#0b4f9e;background:#e8f2ff;border:1px solid #cfe2fb;border-radius:5px;padding:0 6px;white-space:nowrap}
.sub-x{font-variant-numeric:tabular-nums;font-weight:700;color:#244872}
/* 「全部子组合」第一列＝赛事编号（客户 2026-11-14 定）：table 默认 nowrap，
   这里必须允许换行并限宽，否则 4~8 场的编号串会把窄屏整页撑出横向滚动。 */
.sub-no{white-space:normal;min-width:74px;max-width:132px}
.sub-no b{display:block;font-size:12px;line-height:1.55;font-weight:700;color:#244872;font-variant-numeric:tabular-nums;word-break:break-word}
.sub-no small{display:block;margin-top:2px;font-size:10px;color:#8397b4;white-space:nowrap}
/* 已结算的注直接标在行上：哪一注中了、哪一注没中，不用再回方案记录里逐注核对 */
.sub-row-hit td{background:#f3fbf6}
.sub-row-miss td{background:#fdf6f6}
.sub-flag{display:inline-block;font-size:11px;font-weight:700;border-radius:5px;padding:1px 6px;white-space:nowrap}
.sub-flag-hit{color:#0a7d63;background:#e5f7ef;border:1px solid #bde6d5}
.sub-flag-miss{color:#c0272d;background:#fdeaea;border:1px solid #f4cfd0}
@media(max-width:640px){.ticket-leg{grid-template-columns:20px minmax(0,1fr) auto;gap:8px}
.ticket-fixture{grid-column:2;grid-row:1}
.ticket-teams{grid-column:2;grid-row:2;font-size:13px}
.ticket-pick{grid-column:3;grid-row:1/3;align-items:center}
.ticket-index{grid-row:1/3}
.ticket-figures{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:10px 12px 0}
.ticket-figure{padding:8px 9px}
.ticket-figure strong{font-size:15px}
.ticket-figure small{font-size:9px}
.ticket-head{padding:11px 14px}
.ticket-head strong{font-size:15px}
.ticket-legs{padding:2px 14px}
.modal-body .ticket-note{padding:10px 14px 12px}}

/* 自动结算：赛果、命中标识与结算面板。
   赛果跟 SP 同格换行显示——用户要的是"这场打成几比几、我押的中没中"一眼可见；
   中奖用绿色整条 + 绿色徽章，未中保持平静的灰蓝，不用红色喊人。 */
.fixture-sp{flex-wrap:wrap}
.fixture-verdict{flex-basis:100%;display:flex;align-items:baseline;justify-content:center;gap:6px;margin-top:5px;font-size:13px;font-weight:700;color:#5a73aa;font-variant-numeric:tabular-nums}
.fixture-verdict b{font-family:Arial,var(--font);font-size:17px;color:#0d2a6b}
.fixture-verdict[data-flag="hit"]{color:#0f8a4d}
.fixture-verdict[data-flag="hit"] b{color:#0b6b3a}
.fixture-verdict[data-flag="miss"]{color:#8a94ab}
.fixture-verdict[data-flag="miss"] b{color:#6a7590}
.fixture-row.fixture-hit{border-color:#a8e3c4;background:linear-gradient(110deg,#fff,#f1fff8)}
.settle-banner{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:10px 0 12px;padding:12px 16px;border-radius:12px;border:1px solid #cfe0fb;background:linear-gradient(120deg,#f6fbff,#eaf4ff)}
.settle-banner span{font-size:19px;font-weight:800;color:#12235c}
.settle-banner b{font-family:Arial,var(--font);font-size:20px;color:#12235c}
.settle-banner.won{border-color:#8fd9b3;background:linear-gradient(120deg,#f1fff8,#dcf7e8)}
.settle-banner.won span,.settle-banner.won b{color:#0b6b3a}
.settle-banner.lost{border-color:#e2e7f1;background:linear-gradient(120deg,#fafbfe,#f1f3f8)}
.settle-banner.lost span,.settle-banner.lost b{color:#5f6a84}
.settle-banner.pending{border-color:#f2dcae;background:linear-gradient(120deg,#fffaf0,#fdf3df)}
.settle-banner.pending span,.settle-banner.pending b{color:#8a6212}
.settle-legs{list-style:none;margin:0;padding:0;display:grid;gap:7px}
.settle-leg{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;padding:10px 12px;border:1px solid #dbe7fb;border-radius:11px;background:#fbfdff}
.settle-leg-teams{font-size:15px;font-weight:700;color:#12235c}
.settle-leg-teams i{font-style:normal;font-size:11px;color:#7b8db3;margin:0 2px}
.settle-leg-meta{grid-column:1;font-size:12px;color:#5f78a6;font-variant-numeric:tabular-nums}
.settle-leg-flag{grid-column:2;grid-row:1/3;align-self:center;font-size:14px;font-weight:800;color:#5f6a84;white-space:nowrap}
.settle-leg.hit{border-color:#a8e3c4;background:linear-gradient(105deg,#f4fff9,#e6fbef)}
.settle-leg.hit .settle-leg-flag{color:#0b6b3a}
.settle-leg.miss .settle-leg-flag{color:#98a2b8}
/* 结算面板在窄侧栏里，三栏 .facts 会把「1000.00」挤断行，改成一行一项。 */
.settle-facts{grid-template-columns:minmax(0,1fr);gap:6px;margin:12px 0 6px}
.settle-facts .fact{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:10px 14px}
.settle-facts .fact strong{font-size:22px;overflow-wrap:normal;white-space:nowrap}
.settle-manual{margin-top:12px;border-top:1px dashed #cfddf4;padding-top:10px}
.settle-manual summary{cursor:pointer;font-size:13px;color:#3f5fa8}
.settle-manual .field{margin-top:10px}
.settle-manual .btn{margin-top:10px}
@media(max-width:640px){.settle-banner{flex-direction:column;align-items:flex-start;gap:4px}.settle-leg{grid-template-columns:minmax(0,1fr)}.settle-leg-flag{grid-column:1;grid-row:auto;justify-self:start}}

/* 返回上一级。每一级页面都有，位置固定在内容顶部，不依赖各页自己的标题结构
   （页标题有的用 title()、有的自带 hero，塞进标题里会出现有的页有、有的页没有）。 */
.back-nav{margin:16px 0 -4px;display:flex}
.back-link{display:inline-flex;align-items:center;gap:8px;padding:8px 16px 8px 13px;border:1px solid #bdd5ef;border-radius:30px;background:#ffffffd9;color:#27527f;font-size:13px;font-weight:650;box-shadow:0 2px 9px #438adb14;transition:background .18s,border-color .18s,color .18s}
.back-link:hover{background:#f1f8ff;border-color:#8bc7ff;color:var(--blue);box-shadow:0 3px 13px #438adb25}
.back-link .icon{width:15px;height:15px;color:inherit}
@media(max-width:640px){.back-nav{margin:12px 0 -6px}.back-link{font-size:12px;padding:7px 13px 7px 11px;min-height:36px}.back-link .icon{width:14px;height:14px}}

/* ===== 3D 事件重现（web/pitch3d.mjs）=======================================
   画面没有一个像素来自真实机位：数据只有文字事件，球路与站位是程序生成的。
   所以这一块必须**自带说明**（水印 + 图例 + 面板角标），不能让用户误当成直播。 */
/* ⚠️ 选择器前缀必须是 DOM 里**真实存在**的类。
   这里曾经写成 `.live3d`，而前端生成的容器是 `.live3d-inline` + 宿主 `.live3d-stage`，
   根本没有 `.live3d` —— 于是下面 40 多条规则**一条都不生效**：`.p3d-stage` 丢掉
   aspect-ratio 与高度约束、`.p3d-hud` 丢掉 position:absolute 退化成普通流，
   容器被 HUD 文本撑到 5000+ 像素高，画面被挤到视口外，看上去就是"一片空白"。
   现在统一用宿主类 `.live3d-stage`（它就是 `.p3d-*` 的祖先），改名前先确认前端类名。 */
/* 外层 #live-3d-stage 只是个容器：舞台有固定比例，控件与图例要排在它下面，
   所以比例/裁切只能加在模块自己的 .p3d-stage 上，不能加在外层。 */
.live3d-stage{display:block}
.live3d-stage .p3d-stage{position:relative;width:100%;aspect-ratio:21/9;max-height:min(54vh,470px);min-height:190px;border:1px solid #223d68;border-radius:12px;overflow:hidden;background:#0b1630;contain:content;box-shadow:inset 0 1px #ffffff1a,0 8px 26px #12365c1a}
.live3d-stage .p3d-canvas{display:block;width:100%;height:100%}
.live3d-stage .p3d-hud{position:absolute;inset:0;pointer-events:none}
.live3d-stage .p3d-scorebar{position:absolute;left:12px;top:12px;display:flex;align-items:center;gap:11px;padding:6px 13px;border:1px solid #ffffff26;border-radius:10px;background:#08152ee8;box-shadow:0 6px 20px #00000055}
.live3d-stage .p3d-side{display:inline-flex;align-items:center;gap:6px;max-width:124px;font-size:12px;font-weight:700;color:#dce9fb;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.live3d-stage .p3d-side i{flex:none;width:9px;height:9px;border-radius:3px}
.live3d-stage .p3d-side.home i{background:#e8384f}
.live3d-stage .p3d-side.away i{background:#2f86f6}
.live3d-stage .p3d-score{font-size:20px;font-weight:800;color:#fff;font-variant-numeric:tabular-nums;letter-spacing:.02em}
.live3d-stage .p3d-clock{position:absolute;right:12px;top:12px;display:flex;align-items:center;gap:8px}
.live3d-stage .p3d-min{font-size:16px;font-weight:800;color:#fff;font-variant-numeric:tabular-nums;padding:3px 11px;border:1px solid #ffffff26;border-radius:9px;background:#08152ee8}
.live3d-stage .p3d-live{font-size:11px;font-weight:700;color:#bcd4f2;padding:4px 9px;border-radius:8px;background:#12233fee}
.live3d-stage .p3d-live[data-live="1"]{color:#ff9ec0;background:#3a1226e8}
.live3d-stage .p3d-live[data-live="1"]:before{content:"";display:inline-block;width:6px;height:6px;margin-right:5px;border-radius:50%;background:#e81d63;box-shadow:0 0 0 3px #e81d6322;animation:calcPulse 1.5s ease-in-out infinite}
.live3d-stage .p3d-banner{position:absolute;left:50%;top:calc(12px + 46px);transform:translateX(-50%);max-width:min(92%,560px);padding:7px 15px;border:1px solid #ffffff2b;border-radius:10px;background:#08152ef0;color:#eaf3ff;font-size:13px;font-weight:600;box-shadow:0 8px 24px #00000070;animation:p3dBanner .3s ease-out}
.live3d-stage .p3d-banner b{color:#7fc4ff;font-weight:800;margin-right:4px}
.live3d-stage .p3d-banner i{font-style:normal;margin-left:7px;color:#9ab2d0;font-size:12px}
.live3d-stage .p3d-banner[data-tone="goal"]{background:#3a1226f0;border-color:#c8547d}
.live3d-stage .p3d-banner[data-tone="goal"] b{color:#ff9ec0}
.live3d-stage .p3d-banner[data-tone="card"]{background:#3a2c0af0;border-color:#d8ac4a}
.live3d-stage .p3d-banner[data-tone="card"] b{color:#ffd875}
@keyframes p3dBanner{from{opacity:0;transform:translate(-50%,-8px)}to{opacity:1;transform:translate(-50%,0)}}
.live3d-stage .p3d-watermark{position:absolute;right:12px;bottom:10px;font-size:11px;font-weight:600;letter-spacing:.04em;color:#c7dcf5;padding:3px 9px;border:1px solid #ffffff1f;border-radius:8px;background:#08152ecc}
.live3d-stage .p3d-bar{display:flex;align-items:center;gap:10px;margin-top:12px}
.live3d-stage .p3d-btn{flex:none;min-width:58px;min-height:36px;padding:0 13px;border:1px solid #b7dfff;border-radius:9px;background:#f8fcff;color:#16305c;font-family:inherit;font-size:13px;font-weight:700;cursor:pointer}
.live3d-stage .p3d-btn:hover{border-color:#65cbff;background:#f1f8ff}
.live3d-stage .p3d-btn:disabled{opacity:.45;cursor:default}
.live3d-stage .p3d-track{position:relative;flex:1;height:26px;cursor:pointer;border-radius:8px;background:linear-gradient(#eef6ff,#e2eefb);border:1px solid #d7e7f8;overflow:hidden}
.live3d-stage .p3d-fill{position:absolute;left:0;top:0;bottom:0;background:linear-gradient(90deg,#0bbdff33,#0065ef33);border-right:2px solid #0863cd}
.live3d-stage .p3d-ticks{position:absolute;inset:0;pointer-events:none}
.live3d-stage .p3d-ticks i{position:absolute;top:50%;width:2px;height:9px;margin-left:-1px;border-radius:2px;background:#8fb6df;transform:translateY(-50%)}
.live3d-stage .p3d-ticks i.card{height:12px;background:#f0b429}
.live3d-stage .p3d-ticks i.goal{height:14px;width:3px;background:#e8384f}
.live3d-stage .p3d-legend{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-top:10px;font-size:12px;color:#5b7bab}
.live3d-stage .p3d-legend span{display:inline-flex;align-items:center;gap:6px}
.live3d-stage .p3d-dot{width:10px;height:10px;border-radius:3px}
.live3d-stage .p3d-dot.home{background:#e8384f}
.live3d-stage .p3d-dot.away{background:#2f86f6}
.live3d-stage .p3d-src{color:#8aa4c4}
/* 球场下方的真实技术统计对比条：与雷速同样「左右数值 + 中间比例」，
   但数值只取自 /api/v1/live/<id> 的 stats，画面本身不产生任何数字。 */
.live3d-stage .p3d-stats{margin-top:12px;padding:12px 14px;border:1px solid #cfe4fb;border-radius:12px;background:#fff;box-shadow:0 3px 14px #2f6bb012}
.live3d-stage .p3d-stats-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;font-size:13px}
.live3d-stage .p3d-stats-head b{color:#122e63;font-weight:800}
.live3d-stage .p3d-stats-head span{font-size:11px;color:#7d9ac0}
.live3d-stage .p3d-stats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 22px}
.live3d-stage .p3d-stat{min-width:0}
.live3d-stage .p3d-stat-vals{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;font-size:12px}
.live3d-stage .p3d-stat-h{color:#e8384f;text-align:left;font-weight:800;font-variant-numeric:tabular-nums}
.live3d-stage .p3d-stat-a{color:#2f86f6;text-align:right;font-weight:800;font-variant-numeric:tabular-nums}
.live3d-stage .p3d-stat-label{color:#5b7bab;font-size:11px;white-space:nowrap}
/* 左段主队红 = home_pct，右段客队蓝 = 剩余部分，一眼看出谁占优 */
.live3d-stage .p3d-stat-bar{position:relative;height:6px;margin-top:5px;border-radius:4px;background:#b9d3f5;overflow:hidden}
.live3d-stage .p3d-stat-bar i{position:absolute;left:0;top:0;bottom:0;background:linear-gradient(90deg,#e8384f,#f27686);border-right:2px solid #fff}
.live3d-stage .p3d-stats-empty{margin:0;font-size:12px;color:#7d9ac0}
@media(max-width:640px){
 .live3d-stage .p3d-stats-grid{grid-template-columns:1fr}
 .live3d-stage .p3d-stage{aspect-ratio:4/3;max-height:46vh;min-height:190px}
 /* 340px 宽的舞台上，比分条(左) 与 时钟(右) 会撞在一起。
    队名页面标题里已经写了，这里只留色块，把宽度让给比分和时钟。 */
 .live3d-stage .p3d-scorebar{left:10px;top:10px;gap:8px;padding:5px 10px}
 .live3d-stage .p3d-side{max-width:9px;gap:0;font-size:0}
 .live3d-stage .p3d-score{font-size:16px}
 .live3d-stage .p3d-clock{gap:6px;right:10px;top:10px}
 .live3d-stage .p3d-min{font-size:14px;padding:2px 8px}
 .live3d-stage .p3d-live{font-size:10px;padding:3px 7px;white-space:nowrap}
 /* 横幅占两行就会盖住中圈，窄屏压到单行（长名字用省略号兜底，不撑高） */
 .live3d-stage .p3d-banner{top:calc(10px + 36px);font-size:11px;padding:5px 10px;max-width:94%;
   white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .live3d-stage .p3d-banner i{font-size:11px;margin-left:5px}
 .live3d-stage .p3d-watermark{font-size:10px;right:10px;bottom:8px}
 .live3d-stage .p3d-btn{min-width:50px;padding:0 10px;font-size:12px}
}

.dot.stale-dot{background:#e0952a;box-shadow:0 0 0 4px #e0952a1f}
.statusbar.attn{color:#8a5306}
.statusbar.attn>span:first-child{font-weight:700}

/* ==========================================================================
   实时详情页（布局对齐雷速详情页）
   比分头 + 8 Tab + 事件左右分列 + 技术统计对比条
   配色沿用全站：主队 #e8384f / 客队 #2f86f6（与 3D 重现里的两侧标记一致，
   同一场在两个模块里不能是两种颜色）
   ========================================================================== */
.live-hero{padding:0;overflow:hidden}
.live-hero-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;
  padding:14px 22px;border-bottom:1px solid #dbe9fb;background:linear-gradient(105deg,#f4fbff,#e9f4ffe0)}
.live-hero-comp{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0}
.live-hero-league{font-size:15px;font-weight:800;color:#122e63}
.live-hero-no{padding:2px 9px;border:1px solid #b7dfff;border-radius:8px;background:#fff;
  font-size:12px;font-weight:700;color:#3f6ea0}
.live-hero-main{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;
  gap:18px;padding:26px 22px 22px}
.live-hero-side{display:flex;align-items:center;gap:14px;min-width:0}
.live-hero-side:last-child{flex-direction:row-reverse}
.live-hero-side strong{font-size:26px;font-weight:800;line-height:1.25;overflow-wrap:anywhere}
.live-hero-side .crest{flex:none}
.live-hero-score{display:grid;justify-items:center;gap:4px;min-width:190px;text-align:center}
.live-hero-number{font-family:Arial,var(--font);font-size:52px;font-weight:800;line-height:1;
  color:#0a1240;font-variant-numeric:tabular-nums;letter-spacing:-1px}
.live-hero-half{font-size:13px;font-weight:700;color:#5b7bab}
.live-hero-status{font-size:12px;color:#6c86ad}
.live3d-inline{margin:0 22px 22px;padding-top:16px;border-top:1px dashed #c9defd}
.live3d-inline .panel-head{padding:0 0 12px}

.live-tabs{display:flex;gap:4px;margin:16px 0 0;padding:5px;overflow-x:auto;
  border:1px solid #d6e7f9;border-radius:14px;background:#ffffffc4;scrollbar-width:none}
.live-tabs::-webkit-scrollbar{display:none}
.live-tab{flex:1 0 auto;min-width:78px;min-height:44px;padding:8px 20px;border:0;border-radius:10px;
  background:transparent;color:#5b74a4;font-family:inherit;font-size:15px;font-weight:700;white-space:nowrap}
.live-tab:hover{background:#eaf4ff;color:#0e60c8}
.live-tab.active{color:#fff;background:linear-gradient(145deg,#11dcff,#0588ff 36%,#0055f8 68%,#0ac7ff);
  box-shadow:inset 0 0 0 2px #ffffffb5,0 3px 6px #0069d52e}
.live-tab-body{margin-top:14px;display:grid;gap:14px}

/* —— 比赛事件：左主队 / 中分钟 / 右客队 —— */
.ev-list{display:grid;gap:2px}
.ev-row{display:grid;grid-template-columns:minmax(0,1fr) 64px minmax(0,1fr);align-items:center;gap:8px;
  min-height:44px;padding:5px 0;border-bottom:1px solid #edf4fd}
.ev-row:last-child{border-bottom:0}
.ev-cell{display:flex;align-items:center;gap:9px;min-width:0}
.ev-home{justify-content:flex-end;text-align:right}
.ev-away{justify-content:flex-start;text-align:left}
.ev-row-neutral{grid-template-columns:1fr}
.ev-neutral{justify-content:center;text-align:center;background:#f5faff;border-radius:9px;padding:5px 12px}
.ev-minute{display:block;text-align:center;font-size:13px;font-weight:800;color:#26528f;
  font-variant-numeric:tabular-nums}
.ev-text{display:flex;flex-direction:column;gap:1px;min-width:0}
.ev-text b{font-size:14px;font-weight:700;color:#122e63}
.ev-text i{font-style:normal;font-size:12px;color:#5b7bab;overflow-wrap:anywhere}
.ev-icon{flex:none;width:14px;height:14px;border-radius:4px;background:#7d9ac0;box-shadow:inset 0 0 0 1px #ffffff8c}
.ev-goal{background:#e8384f}
.ev-yellow_card{background:#f0b91e}
.ev-red_card{background:#cf1f4a}
.ev-substitution{background:#2f86f6}
.ev-woodwork{background:#9b62d8}
.ev-penalty_miss{background:#e07a2c}
.ev-goal_disallowed{background:#8a93ad}
.ev-legend{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:16px;padding-top:14px;
  border-top:1px dashed #d6e7f9}
.ev-legend-item{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:#5b7bab}

/* —— 技术统计：对比条 —— */
.stat-filters{display:inline-flex;gap:3px;padding:3px;border:1px solid #d0e2f5;border-radius:10px;background:#ffffffbd}
.stat-filter{min-height:34px;padding:3px 14px;border:0;border-radius:8px;background:transparent;
  color:#5b74a4;font-family:inherit;font-size:13px;font-weight:700;white-space:nowrap}
.stat-filter:hover{background:#eaf4ff}
.stat-filter.active{color:#fff;background:linear-gradient(130deg,#18c6ff,#0870fa 70%)}
.stat-group{margin-top:18px}
.stat-group:first-of-type{margin-top:8px}
.stat-cat{margin:0 0 8px;padding:6px 12px;border-radius:8px;background:#edf5fe;color:#3f6ea0;
  font-size:12px;font-weight:700;letter-spacing:.1em}
.stat-row{display:grid;grid-template-columns:88px minmax(0,1fr) 88px;align-items:center;gap:12px;
  padding:7px 2px;border-bottom:1px solid #f1f7fd}
.stat-row:last-child{border-bottom:0}
.stat-top .stat-name{font-weight:800;color:#0d2450}
.stat-val{font-family:Arial,var(--font);font-size:15px;font-weight:800;color:#0a1240;
  font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.stat-left{text-align:right}
.stat-right{text-align:left}
.stat-mid{display:grid;gap:5px;min-width:0}
.stat-name{font-size:13px;font-weight:600;color:#3f5e8e;text-align:center}
.stat-bar{display:flex;gap:2px;height:7px}
.stat-bar .sb{flex:1;display:flex;border-radius:4px;background:#e7f0fb;overflow:hidden}
.stat-bar .sb-home{justify-content:flex-end}
.stat-bar .sb-away{justify-content:flex-start}
.stat-bar .sb i{height:100%;border-radius:4px;transition:width .3s ease}
.stat-bar .sb-home i{background:#e8384f}
.stat-bar .sb-away i{background:#2f86f6}

/* —— 阵容 —— */
.squad-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:22px}
.squad-side{min-width:0}
.squad-side>h3{display:flex;align-items:baseline;gap:10px;font-size:17px;font-weight:800;color:#122e63}
.squad-side>h3 em{font-style:normal;font-size:12px;font-weight:700;padding:2px 8px;border-radius:7px;
  background:#eaf4ff;color:#0e60c8}
.squad-group{margin-top:14px}
.squad-group h4{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700;
  letter-spacing:.1em;color:#3f6ea0;margin-bottom:6px}
.squad-group h4 i{font-style:normal;padding:1px 7px;border-radius:999px;background:#edf5fe;font-size:11px}
.squad-list{margin:0;padding:0;list-style:none;display:grid;gap:2px}
.squad-list li{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:9px;
  padding:6px 8px;border-radius:8px;background:#f8fcff}
.squad-no{font-family:Arial,var(--font);font-size:12px;font-weight:800;color:#5b7bab;text-align:center}
.squad-name{font-size:14px;font-weight:600;color:#122e63;overflow-wrap:anywhere}
.squad-pos{font-size:11px;color:#8aa4c4;white-space:nowrap}
/* 阵型站位图（player.mjs: squadPitch）。坐标全部来自上游 yardFormation，
   不是按位置名猜的。这里只负责画，不参与任何站位计算。 */
/* 阵型站位图（player.mjs: squadPitch）。坐标全部来自上游 yardFormation，
   不是按位置名猜的。这里只负责画，不参与任何站位计算。
   2026-10-15：缩小比例（原占满整列、两图并排几乎撑满视口），改草皮背景 ——
   底色从平淡色换成 SVG 割草条纹（squadPitch 的 defs 里生成），
   球场线与球员名同步改成白色，否则深色底上看不清。 */
.squad-pitch{display:block;width:100%;max-width:320px;height:auto;margin:0 auto 14px;border-radius:10px}
.squad-pitch .sp-line{fill:none;stroke:#ffffff8c;stroke-width:1.5}
.squad-pitch .sp-dot{fill:#e8384f;stroke:#fff;stroke-width:2}
.squad-pitch.is-away .sp-dot{fill:#2f86f6}
.squad-pitch .sp-num{fill:#fff;font-size:14px;font-weight:800;text-anchor:middle;
  font-family:Arial,var(--font);font-variant-numeric:tabular-nums}
.squad-pitch .sp-name{fill:#fff;font-size:11px;font-weight:700;text-anchor:middle;
  paint-order:stroke;stroke:#00000059;stroke-width:2.5px}

@media(max-width:960px){
  .live-hero-side strong{font-size:20px}
  .live-hero-number{font-size:40px}
  .live-hero-score{min-width:130px}
}
@media(max-width:640px){
  .live-hero-main{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:8px;padding:18px 14px}
  .live-hero-side{flex-direction:column;gap:6px;text-align:center}
  .live-hero-side:last-child{flex-direction:column}
  .live-hero-side strong{font-size:14px}
  .live-hero-side .crest{width:34px;height:41px}
  .live-hero-number{font-size:32px}
  .live-hero-score{min-width:96px}
  .live-tab{min-width:62px;padding:8px 13px;font-size:13px}
  .ev-row{grid-template-columns:minmax(0,1fr) 46px minmax(0,1fr);gap:5px}
  .ev-text b{font-size:12px}
  .ev-text i{font-size:11px}
  .stat-row{grid-template-columns:62px minmax(0,1fr) 62px;gap:8px}
  .stat-val{font-size:13px}
  .stat-name{font-size:12px}
}

/* ------------------------------------------------------------------
   分析档：历史交锋 / 近期战绩 / 未来三场（对照雷速的比赛分析页）

   颜色规则只有一条：**该队**高亮成主色，其余中性 —— 不用红绿区分胜负。
   比分列自己就说明了胜负，再叠一层颜色会和"比分方向"打架。
   ------------------------------------------------------------------ */
.an-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 14px}
.an-switch,.an-filter{display:inline-flex;gap:4px;padding:4px;border:1px solid #d5e6f8;border-radius:11px;background:#ffffffc4;flex-wrap:wrap}
.an-chip{border:0;background:none;color:var(--muted);font-weight:650;font-size:12px;padding:8px 15px;border-radius:8px;white-space:nowrap;min-height:36px}
.an-chip:hover{background:#eaf4ff;color:var(--blue)}
.an-chip.active{color:#fff;background:linear-gradient(135deg,#11baff,#0559e8);box-shadow:0 2px 8px #0f7ae030}
.an-sub{font-size:14px;font-weight:750;color:#12376e;margin:18px 0 10px;padding-left:10px;border-left:3px solid var(--blue)}
.analysis-table{font-size:13px}
.analysis-table th{background:#f2f8ff;font-size:11px;font-weight:600;color:#5f7ba3;padding:11px 14px}
.analysis-table td{padding:12px 14px;vertical-align:middle}
.analysis-table tr:hover td{background:#f7fbff}
.an-when{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px}
.an-comp{display:block;font-size:10px;color:#8fa3c0;margin-top:2px}
.an-team{color:#2c4a78}
.an-team.is-self{color:var(--blue);font-weight:750}
.an-score{font-weight:800;font-variant-numeric:tabular-nums;color:var(--ink);letter-spacing:.3px}
.an-half,.an-gap{color:var(--muted);font-variant-numeric:tabular-nums}
/* 结论条：每张战绩表下方的总结。整条居中 + 字号放大 + 胜/平/负三色区分。
   容器（.an-foot）不设底色、只做居中排布；真正的"卡片"是 .an-stat，
   它按内容收窄 —— 这样居中的是**卡片本身**，而不是让整行浅蓝底铺满、
   只在里面居中几个字（后者在宽屏上看着还是左对齐的）。
   颜色只给数字：一屏最多 4 条结论，量词也上色就成了噪声。 */
.an-foot{display:flex;justify-content:center;align-items:stretch;flex-wrap:wrap;gap:12px;padding:0;background:none}
/* 交锋结论条：主客各一条，**上下排列、主队在上**，与比分头（左主右客）同序。
   左右并排时两条卡片一宽一窄，还得先分辨哪条是谁；改为纵向后顺序本身就说明了身份。
   宽度用 max-content 收成"最宽那张"的尺寸，再让两条一起 stretch —— 于是两条卡片
   等宽、左右边缘对齐（不是各自居中导致边缘参差）；整块仍然水平居中（margin:auto）。 */
.an-foot-stack{flex-direction:column;align-items:stretch;gap:8px;width:max-content;max-width:100%;margin:0 auto}
/* 近期战绩：左列=本场主队、右列=本场客队，与比分头（左主右客）同序。
   两列等宽；**列宽由容器自己决定，不设视口断点** —— auto-fit 在放不下两列时
   自动折成一列，所以侧栏变窄、窗口缩放都不用再单独维护一套 media query。
   最小值 460px 是按实测定的：全库最宽队名（「雅罗斯拉夫尔辛尼克」9 字、
   「Orlando City SC」15 字符）在收紧内边距后仍要 ~420px，留 40px 余量。
   min() 对不支持的浏览器会让整条声明失效 → 退化成单列堆叠，也是安全的。
   （断点只在这里判一次，JS 不重复判。） */
.an-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(460px,100%),1fr));gap:4px 26px;align-items:start}
.an-col{min-width:0}
.an-col>.an-sub:first-child{margin-top:0}
/* 并排时表格要收紧：这张表 5 列（日期·赛事/主场/比分/客场/半场），列宽减半后
   每格 28px 的内边距占比过高，会先撞上"横向滚动条"。左右各减 4px 省下约 40px，
   再让赛事名（日期下面那行）折行 —— 它折行不影响任何对齐。 */
.an-cols .analysis-table th,.an-cols .analysis-table td{padding-left:10px;padding-right:10px}
.an-cols .an-comp{white-space:normal}
.an-stat{display:flex;align-items:baseline;justify-content:center;flex-wrap:wrap;gap:2px 18px;
  padding:13px 24px;border:1px solid #d7e8fb;border-radius:12px;
  background:linear-gradient(180deg,#f9fcff,#edf5ff);box-shadow:0 1px 3px #0f7ae014}
.an-stat-who{font-size:13px;font-weight:750;color:#2c4a78;white-space:nowrap}
.an-stat-item{display:inline-flex;align-items:baseline;gap:1px;font-size:12px;font-weight:700;white-space:nowrap}
.an-stat-item b{font-size:22px;font-weight:850;line-height:1;letter-spacing:-.5px;font-variant-numeric:tabular-nums}
.an-stat-item.an-w,.an-stat-item.an-w b{color:#e5484d}
.an-stat-item.an-d,.an-stat-item.an-d b{color:#d98400}
.an-stat-item.an-l,.an-stat-item.an-l b{color:#0f9d6f}
.an-stat-rate{display:inline-flex;align-items:baseline;gap:3px;font-size:12px;font-weight:700;color:#5f7ba3;
  white-space:nowrap;padding-left:18px;border-left:1px solid #d7e8fb}
.an-stat-rate b{font-size:19px;font-weight:850;line-height:1;color:#12376e;font-variant-numeric:tabular-nums}
.an-empty{padding:18px 4px}
/* 筛选后的计数与说明：让"筛掉多少 / 为什么空"直接写在标题旁，
   用户不用去猜数字为什么变少了。 */
.an-count{font-style:normal;font-weight:600;font-size:12px;color:var(--muted);margin-left:10px}
.an-why{display:block;font-size:11px;color:#8fa3c0;margin-top:6px;line-height:1.6}
.an-note{margin-top:12px;font-size:11px;line-height:1.7}
/* 近端（手机）把两列收紧的表格再压一点：5 列在 ~330px 里本来就横向滚动，
   这是既有限制，不是本次改动引入的。 */
@media(max-width:640px){
  .an-toolbar{gap:8px}
  .an-chip{padding:7px 11px;font-size:11px}
  .analysis-table th,.analysis-table td{padding:9px 10px}
  .an-foot{gap:8px}
  .an-stat{padding:11px 15px;gap:2px 12px}
  .an-stat-who,.an-stat-item{font-size:11px}
  .an-stat-item b{font-size:19px}
  .an-stat-rate{font-size:11px;padding-left:12px}
  .an-stat-rate b{font-size:16px}
}

/* ------------------------------------------------------------------
   实时比分 · 列表视图（2026-10-15：由「一屏三张对战大卡」改为逐行列表）

   原因：卡片形态一屏只放 6 场，扫盘要不停滚；队徽 + 球场底图占满行高
   却不承载判断信息。列表每场一行 = 赛事 / 对阵比分 / 时间状态 / 关注。
   球场底图与事件明细留在详情页，列表里只给进行中的比赛挂一行事件摘要。

   注意：类名全部走 .live-* 前缀，**不覆盖 .score-*** ——
   详情页与首页的比分卡（liveScoreCard）保持原形态，两处互不影响。
   折行判据只用容器宽度 900px，不按设备堆断点。
   ------------------------------------------------------------------ */
.live-list{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
.panel.live-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding:10px 16px}
.live-row-main{display:grid;grid-template-columns:150px minmax(0,1fr) 176px;
  grid-template-areas:"league matchup when";align-items:center;gap:18px;
  min-width:0;color:inherit;text-decoration:none;border-radius:12px}
.live-cell{min-width:0}
.live-cell.league{grid-area:league;display:grid;gap:2px;min-width:0}
.live-cell.league strong{font-size:15px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.live-cell.league em{font-style:normal;font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.live-cell.matchup{grid-area:matchup;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px}
.live-side{display:flex;align-items:center;gap:8px;min-width:0}
.live-side.home{justify-content:flex-end;text-align:right}
.live-side.away{justify-content:flex-start}
.live-side strong{font-size:14px;font-weight:750;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.live-side .crest{width:26px;height:30px;font-size:12px}
.live-mid{display:grid;justify-items:center;gap:3px;min-width:66px}
.live-mid b{font-family:Arial,var(--font);font-size:21px;font-weight:800;line-height:1;white-space:nowrap}
.live-mid small{font-size:11px;color:var(--muted);white-space:nowrap}
.live-cell.when{grid-area:when;display:flex;align-items:center;justify-content:flex-end;gap:8px}
.live-cell.when>span{font-size:12px;color:var(--muted);white-space:nowrap}
.live-cell.act{display:flex;align-items:center}
@media(max-width:900px){
  .panel.live-row{gap:10px;padding:10px 12px}
  .live-row-main{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"league when" "matchup matchup";gap:8px 12px}
}

/* ---- 模型 / 动态 两档 ----
   这两档都是表格为主，样式沿用分析档的小标题与表格，只补一个分组标题。 */
.mv-side{font-size:13px;font-weight:750;color:#12376e;margin:16px 0 8px;padding-left:9px;border-left:3px solid var(--blue)}
.mv-side:first-child{margin-top:0}

/* ---- 指数档：初盘/即时对照 ---- */
.ov-row{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
.ov-chip{border:1px solid var(--line,#dde6f3);border-radius:8px;padding:5px 10px;font-size:13px;background:#fff}
.o-up{color:#e5484d;font-weight:700}
.o-down{color:#0f9d6f;font-weight:700}
.odds-init{display:block;font-size:11px;color:#6b7a90;margin-top:2px}
.odds-init.o-up{color:#e5484d}
.odds-init.o-down{color:#0f9d6f}

/* 成绩复盘：收益率与奖金统一橙（奖金是收入不是盈亏，不许绿）；
   结果行右对齐不用 inline style —— CSP 的 style-src 'self' 会拦。 */
.fact strong.accent,.fact strong.gold{color:#b8700f}
/* 成绩复盘的盈亏/状态与「我的方案」同配色：盈绿 #0a7d63、亏红 #c0272d、奖金与收益率橙 #b8700f。 */
.fact strong.positive{color:#0a7d63}
.fact strong.negative{color:#c0272d}
.fact strong.dim{color:#8aa0b8}
.perf-row-right{text-align:right}
/* ---- 主页实时比分卡轮换（客户 2026-11-14 / 2026-11-15 修联动抖动） ---- */
/* 舞台尺寸恒定：卡片绝对定位铺满舞台，队名换行 / 事件文字长短都不参与
   网格行高计算，所以第一行行高恒定，下面「我的方案 / 会员 / 方案账户」
   整排不会跟着上下抖。之前的临时 minHeight 锁只挡缩、挡不住涨，已撤。 */
.dashboard-live .score-stage{position:relative;flex:1;min-height:0;perspective:1600px;perspective-origin:62% 50%;overflow:hidden}
/* 卡片宽度交给 left/right 决定：旧规则里的 width:100%/max-width/margin:auto
   会和绝对定位的 left+right 冲突（over-constrained），窄屏下会把卡片压成竖条。 */
.dashboard-live .score-stage>.score-card{position:absolute;top:0;bottom:0;left:0;right:0;width:auto;max-width:none;margin:0;backface-visibility:hidden;-webkit-backface-visibility:hidden}
.dashboard-live .score-stage>.score-card .score-inner{flex:1}
/* ---- 翻书式换场（客户 2026-11-15 定案：这是唯一的切换方式） ----
   旧页以左边缘当书脊翻起，越过 90° 后由 backface 隐去，下层新页静止显露；
   纸面暗部跟着翻页由无到有，收尾随父页一起淡出。只动 transform / opacity，
   不参与布局，所以下面整排的位置在整段动画里都固定不动。
   不设「减少动效降级为淡出」等第二条路径：transition 带 !important 是为了
   压过全局 @media(prefers-reduced-motion:reduce) 里的 transition:none!important，
   保证任何系统动效偏好下都只翻页，不退化成瞬切。 */
.dashboard-live .score-stage:before{content:"";position:absolute;left:0;top:0;bottom:0;width:12px;z-index:3;pointer-events:none;background:linear-gradient(90deg,#0b306414,transparent)}
.dashboard-live .score-stage>.score-card.p3d-page-incoming{z-index:1}
/* 卡片本身是玻璃拟态（.score-inner / .score-switches 都是半透明底），
   两层直接叠会透字糊成一团。翻起的旧页垫一层不透明纸底，才是真纸页；
   纸底用 .18s 快速建立，配合开头慢的缓动，开场不会突然变色。
   等到快翻到侧立（.6s 后）才用很短的淡出收尾，配合 backface 隐去更顺。 */
.dashboard-live .score-stage>.score-card.p3d-page-leaving{z-index:2;transform-origin:left center;pointer-events:none;background-color:transparent;border-radius:18px;transition:transform .78s cubic-bezier(.36,.02,.2,1),background-color .18s ease,opacity .16s ease .6s!important}
.dashboard-live .score-stage>.score-card.p3d-page-leaving.p3d-flipping{transform:rotateY(-102deg);background-color:#f7fbff;opacity:0}
.dashboard-live .score-stage>.score-card::after{content:"";position:absolute;inset:0;border-radius:18px;pointer-events:none;background:linear-gradient(90deg,#0b2e5c42,transparent 60%);opacity:0;transition:opacity .7s ease!important}
.dashboard-live .score-stage>.score-card.p3d-page-leaving.p3d-flipping::after{opacity:1}
/* 轮换指示点：进行中 ≥2 场时显示，实心点是当前展示的场次 */
.score-dots{display:inline-flex;gap:5px;margin-left:10px;vertical-align:1px}
.score-dots i{width:6px;height:6px;border-radius:50%;background:#c7d2e4;transition:background .3s}
.score-dots i.on{background:#2f6fd6}
.score-dots-num{margin-left:8px;font-size:12px;font-variant-numeric:tabular-nums;color:#6179af;letter-spacing:.3px}
/* ---- 我的方案：紧凑卡片（不改全局 .tile-grid / .panel-body） ---- */
/* 状态栏文字撤掉后，靠这层容器给筛选栏与统计/卡片之间留一道间距。 */
.saved-body{margin-top:16px}
.plan-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:10px}
.saved-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:2px 0 12px}
.saved-page-info{font-size:12.5px;color:var(--muted)}
.saved-page-info b{color:var(--ink);font-weight:700}
.saved-page-btns{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.saved-page-btn{min-width:36px;min-height:34px;padding:0 12px;border:1px solid #bdd5ef;border-radius:10px;background:#fff;color:#27527f;font-weight:650;font-size:13px;transition:border-color .18s,color .18s,background .18s}
.saved-page-btn:hover:not(:disabled){border-color:#219eff;color:#0b64d6}
.saved-page-btn.active{color:#fff;border-color:#219eff;background:linear-gradient(135deg,#079fdf,#0868df 65%,#095dcd)}
.saved-page-gap{padding:0 4px;color:var(--muted);user-select:none}
@media(max-width:640px){.saved-pager{justify-content:center}.saved-page-info{width:100%;text-align:center}}
.plan-card{padding:12px 14px 11px;border-radius:13px;display:grid;gap:8px;align-content:start}
/* 头部：比赛日期 + 方案保存时间 + 状态。信息层级照参考图，底色仍是浅色卡片。 */
.pl-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.pl-when{min-width:0;display:grid;gap:1px}
.pl-when b{font-size:14.5px;font-weight:850;color:#12376e;font-variant-numeric:tabular-nums;letter-spacing:.2px}
.pl-when small{font-size:11px;color:#7b8ca6;font-variant-numeric:tabular-nums;line-height:1.45}
.pl-badges{display:flex;gap:4px;flex-wrap:wrap;justify-content:flex-end;flex-shrink:0}
.pl-badges .tag{padding:2px 6px;font-size:10.5px;line-height:1.45;border-radius:5px}
.plan-title{font-size:13px;font-weight:750;line-height:1.4;margin:0;color:#1b4c86;overflow-wrap:anywhere}
/* 逐场：编号 / 队名 / 开赛时间 / 选择 */
.pl-legs{list-style:none;margin:0;padding:7px 0 0;border-top:1px solid #e4eef9;display:grid;gap:1px}
.pl-leg{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:7px;padding:3px 0}
.pl-no{min-width:44px;font-size:11px;color:#5b7392;font-variant-numeric:tabular-nums;white-space:nowrap}
.pl-teams{min-width:0;font-size:12.5px;font-weight:750;color:#12376e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pl-teams i{font-style:normal;font-size:9.5px;font-weight:600;color:#8aa0b8;margin:0 4px}
.pl-time{font-size:11px;color:#7b8ca6;font-variant-numeric:tabular-nums;white-space:nowrap}
.pl-pick{padding:1px 6px;border-radius:5px;border:1px solid #cfe3f8;background:#eef5ff;color:#1c5fae;font-size:11px;font-weight:750;white-space:nowrap}
.pl-more{font-size:10.5px;color:#8aa0b8;padding-top:2px}
/* 金额三项：投入 / 奖金 / 盈亏，顺序与参考图一致 */
.pl-pay{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;border-top:1px solid #e4eef9;padding-top:8px}
.pl-pay span{display:block;font-size:10.5px;color:#7b8ca6;line-height:1.4}
.pl-pay b{display:block;font-size:15px;font-weight:800;line-height:1.35;color:#0d2b5c;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.pl-pay b.positive{color:#0a7d63}
.pl-pay b.negative{color:#c0272d}
.pl-pay b.gold{color:#b8700f}
.pl-pay b.dim{color:#8aa0b8;font-size:13px;font-weight:700}
.pl-pay-empty{display:block;font-size:11px;color:#8aa0b8}
.plan-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:2px;padding-top:8px;border-top:1px solid #e4eef9;flex-wrap:wrap}
.plan-when{font-size:11px;color:#7b8ca6;font-variant-numeric:tabular-nums}
/* 卡片操作区最多三个按钮（查看详情 / 查看方案记录 / 加入方案），窄屏允许换行，不压字。 */
.plan-actions{display:flex;gap:6px;align-items:center;margin-left:auto;flex-wrap:wrap}
.plan-actions .btn{min-height:28px;padding:3px 10px;font-size:11.5px;border-radius:8px;line-height:1.4}
@media(max-width:640px){.plan-grid{grid-template-columns:1fr;gap:8px}.plan-card{padding:11px 12px 10px}.pl-leg{gap:6px}.pl-no{min-width:40px}.pl-pay b{font-size:14px}.plan-actions{width:100%;margin-left:0}.plan-actions .btn{flex:1 1 30%;min-height:34px;padding:5px 10px;font-size:12px;white-space:nowrap}}

/* 我的方案 · 收支汇总：客户 11-15 要求「格局与下面对齐统一」。
   与下方 .capital-strip 用**同一套 5 列网格**（同列数、同 gap、同无内边距容器），
   第 1 格月份选择，后 4 格依次对齐 总流水 / 总奖金 / 总剩余 / 收益率。
   卡片样式也统一：白底、浅蓝边框、10px 圆角、居中文字。 */
.plan-stats{margin:0 0 14px;padding:14px 16px;display:grid;gap:10px}
/* 放进 .saved-foot 时去掉 panel 外壳，否则 1px 边框 + 内边距会让列线整体右移。 */
.saved-foot .plan-stats{margin:0;padding:0;gap:10px;background:transparent;border:0;box-shadow:none}
.stat-line{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;align-items:stretch;margin:0}
.stat-cell{background:#fff;border:1px solid #dce9f6;border-radius:10px;padding:9px 11px 8px;min-width:0;text-align:center}
.stat-cell>span{display:block;font-size:11px;color:#5b7392;line-height:1.5}
.stat-cell>b{display:block;margin-top:3px;font-size:18px;font-weight:800;font-variant-numeric:tabular-nums;line-height:1.35;overflow-wrap:anywhere;color:#0d2b5c}
.stat-cell>b.dim{color:#8aa0b8;font-size:14px}
.stat-cell>b.positive{color:#0a7d63}
.stat-cell>b.negative{color:#c0272d}
.stat-cell>b.accent{color:#b8700f}
.stat-tag strong{display:block;font-size:13px;color:#12376e;line-height:1.3}
.stat-tag small{font-size:10px;color:#7b8ca6;display:block;margin-top:3px}
.stat-cell.stat-tag{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:8px}
/* 月份下拉：客户 12:56 要求「11 月（本月）」文字居中（原来靠左）。
   text-align-last 管选中项，option 规则管展开后的列表项。 */
.stat-month{width:100%;font-size:12px;font-weight:750;line-height:1.4;padding:5px 7px;border:1px solid #bdd5ef;border-radius:8px;background:#fff;color:#12376e;text-align:center;text-align-last:center}
.stat-month option{text-align:center}
/* 收益率格下面的中奖率：与本金卡 small 同一层级的小字，不抢大数字。 */
.stat-cell>small.stat-hit{display:block;margin-top:2px;font-size:10px;line-height:1.5;color:#7b8ca6;font-variant-numeric:tabular-nums}
.stat-note{font-size:11px;line-height:1.7;margin:2px 0 0;padding:0 2px}
/* 断点与 .capital-strip 逐条对应，保证窄屏也逐格对齐。 */
@media(max-width:900px){.stat-line{grid-template-columns:repeat(3,minmax(0,1fr))}.stat-cell>b{font-size:17px}}
@media(max-width:640px){.plan-stats{padding:12px 13px;gap:9px}.saved-foot .plan-stats{padding:0}.stat-line{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.stat-line>.stat-cell:last-child{grid-column:1/-1}.stat-cell{padding:7px 10px}.stat-cell>b{font-size:16px}}

/* 「我的方案」页脚统计区：月度收支条移到方案列表下方，下面再接本金卡。
   客户要求「颜色统一、不要黑色」：五格与上方 .stat-cell 同一套浅色面板，
   数字沿用全站语义：盈绿／亏红、奖金与收益率橙，收益率不跟盈亏变色。 */
.saved-foot{display:grid;gap:12px;margin-top:14px}
.saved-foot .plan-stats{margin:0}
.capital-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}
.capital-cell{background:#fff;border:1px solid #dce9f6;border-radius:10px;padding:9px 11px 8px;min-width:0;text-align:center}
.capital-cell>span{display:block;font-size:11px;color:#5b7392;line-height:1.5}
.capital-cell>b{display:block;margin-top:3px;font-size:18px;font-weight:800;line-height:1.35;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;color:#0d2b5c}
.capital-cell>b.dim{color:#8aa0b8;font-size:14px}
.capital-cell>b.gold,.capital-cell>b.rate{color:#b8700f}
.capital-cell>b.positive{color:#0a7d63}
.capital-cell>b.negative{color:#c0272d}
.capital-cell>small{display:block;margin-top:2px;font-size:10px;line-height:1.5;color:#8aa0b8}
.capital-cell>small.capital-caveat{color:#7b8ca6}
@media(max-width:900px){.capital-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.capital-cell>b{font-size:17px}}
@media(max-width:640px){.capital-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.capital-cell{padding:10px 8px}.capital-cell>b{font-size:16px}.capital-cell:last-child{grid-column:1/-1}}

/* 拆分优化弹窗：钱怎么摊在注上，一张表算清楚。
   总投入一栏必须和底栏一模一样 —— 这个功能只改分配，不加钱。 */
.split-lead{margin:0 0 10px;font-size:12.5px;line-height:1.7;color:#3d5c7f}
.split-lead b{color:#0a1c4e}
.split-legend{display:flex;flex-wrap:wrap;gap:6px 13px;margin:0 0 12px;font-size:11.5px;color:#41597c}
.split-leg{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.split-leg b{display:grid;place-items:center;width:17px;height:17px;border-radius:5px;background:#e8f2ff;color:#0b4f9e;font-size:10.5px}
.split-leg i{font-style:normal;color:#7a8fae}
.split-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;padding:10px 12px;margin-bottom:12px;background:#f4f9ff;border:1px solid #d9e9fb;border-radius:12px}
.split-opt{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:#22386e;cursor:pointer}
.split-opt input{width:15px;height:15px;min-height:0;margin:0;accent-color:#0068ff;cursor:pointer}
.split-cap{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#41597c}
.split-cap input{width:78px;height:32px;min-height:0;padding:0 7px;text-align:right;border:1px solid #b3cbe6;border-radius:8px;background:#fff;font-family:Arial,var(--font);font-size:13px;font-weight:700;color:#0a1c4e;font-variant-numeric:tabular-nums}
.split-cap input:disabled{background:#f2f7fd;color:#9db0c9}
.split-figures{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:0 0 12px}
.split-figure{padding:9px 11px;background:#fff;border:1px solid #dce9f6;border-radius:10px;min-width:0}
.split-figure span{display:block;font-size:11px;color:#5b7392}
.split-figure strong{display:block;font-size:17px;font-weight:800;line-height:1.35;color:#0d2b5c;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.split-figure small{display:block;font-size:10px;color:#8aa0b8;line-height:1.5}
.split-figure .split-prize{color:#b8700f}
.split-table{max-height:244px;overflow-y:auto;border:1px solid #e2edf8;border-radius:10px}
.split-table table{font-size:12px}
.split-table th{padding:9px 10px;position:sticky;top:0;z-index:1}
.split-table td{padding:8px 10px;font-variant-numeric:tabular-nums}
/* 合计行钉在滚动区底部：票多的时候不该为了看总数再滚到底 */
.split-table tfoot td{padding:9px 10px;font-weight:800;color:#0d2b5c;background:#eef6ff;border-bottom:0;position:sticky;bottom:0;box-shadow:inset 0 1px 0 #cfe4f7}
.split-note{margin:10px 0 0;font-size:11px;line-height:1.7}
@media(max-width:640px){.split-figures{grid-template-columns:1fr}.split-table{max-height:260px}}

/* 主客队名在各半区居中（客户 2026-11-13：名字贴着队徽、右边空一大块，看着不齐）。
   队徽留在外侧不动，名字在「队徽与 VS 之间」的那块空间里居中：
   半区等宽 + 同一个 gap，两侧名字到 VS 的距离就对称，全列表排下来是一条整齐的中轴。 */
.fixture-team>strong{flex:1;min-width:0;text-align:center}

/* ---- 账号：登录 / 注册 / 邀请码（2026-11-13） -----------------------------
   追加在文件末尾（所有 @media 之后）：登录页是新增的独立版面，
   不需要跟着赛事行的断点走；写在中段会被后面的主题块盖掉。 */
.auth-chip{display:inline-flex;align-items:center;gap:6px;padding:0 11px;height:28px;border-radius:999px;border:1px solid #cfe2fb;background:#eef6ff;color:#0b3f86;font-size:12px;font-weight:700;text-decoration:none;max-width:160px}
.auth-chip .icon{width:14px;height:14px}
.auth-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.auth-chip:hover{background:#e2efff;border-color:#b7d6f7}
.auth-page{max-width:440px;margin:26px auto 40px;display:flex;flex-direction:column;gap:14px}
.auth-card{padding:26px 26px 22px}
.auth-head h1{margin:0 0 6px;font-size:22px;color:#12314f}
.auth-head p{margin:0 0 16px;font-size:12.5px;color:#6b83a4;line-height:1.6}
.auth-form{display:flex;flex-direction:column;gap:4px}
.auth-form .field{margin:8px 0}
.auth-form .field>span{font-size:12px;font-weight:700;color:#33557d;letter-spacing:.02em}
.auth-form .field input{height:42px;padding:0 12px;border-radius:9px;border:1px solid #d3e3f5;background:#fbfdff;color:#15314f;font-size:14px;font-family:inherit;width:100%;box-sizing:border-box}
.auth-form .field input:focus{outline:2px solid #9cc6f5;outline-offset:1px;border-color:#7fb0e8;background:#fff}
.auth-form .field input::placeholder{color:#9db2c9}
.auth-submit{height:44px;font-size:15px;font-weight:800;margin-top:14px}
.auth-alt{margin:16px 0 0;font-size:12.5px;color:#6b83a4;text-align:center}
.auth-alt a{color:#0b4f9e;font-weight:700}
.auth-foot{margin:0;font-size:11.5px;line-height:1.7;color:#7b90ab;text-align:center}
.auth-page .notice{margin:8px 0 0}
.auth-hint{display:flex;gap:14px;align-items:flex-start;padding:20px 22px;border:1px solid #d9e8f8;border-radius:12px;background:#f7fbff}
.auth-hint .icon{width:26px;height:26px;color:#2d6cb5;flex:none}
.auth-hint h3{margin:0 0 6px;font-size:15px;color:#12314f}
.auth-hint p{margin:0 0 12px;font-size:12.5px;line-height:1.7;color:#5c7594}
.invite-list{display:flex;flex-direction:column;gap:8px;margin-top:12px}
.invite-row{display:grid;grid-template-columns:auto 1fr auto;gap:4px 12px;align-items:center;padding:10px 12px;border:1px solid #e2eefb;border-radius:10px;background:#fbfdff}
.invite-row code{font-size:14px;font-weight:800;letter-spacing:.08em;color:#0b3f86}
.invite-row span{font-size:12px;color:#5c7594}
.invite-row small{grid-column:1/-1;font-size:11px;color:#8aa0ba}
/* 一码一机：设备绑定行（左边设备名，右边解绑按钮） */
.invite-device{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.invite-device .btn{font-size:12px;padding:3px 10px;min-height:0;line-height:1.5}
/* 邀请码行的操作区（2026-11-16）：停用 / 启用 / 删除 并排靠右。
   行是 3 列 grid（码 / 用量 / 状态），操作区单独占一整行，
   不挤第三列，窄屏也不会把状态词顶掉。 */
.invite-ops{grid-column:1/-1;display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap;margin-top:2px}
@media (max-width:640px){
 .auth-page{margin:14px auto 28px}
 .auth-card{padding:20px 16px 18px}
 .auth-chip{max-width:96px}
 .invite-row{grid-template-columns:auto 1fr}
}

/* ---- 方案卡片「已加入方案」-------------------------------------------- */
/* 已经记进方案账户就用完成态（绿系），别继续拿蓝色主按钮催一次 ——
   客户会以为刚才那一下没生效。按钮仍可点，点一下是再记一条，文案里不再重复解释。 */
.btn.joined{color:var(--good);border-color:#a6d8ce;background:#f1fbf8;font-weight:700}
.btn.joined:hover{background:#e5f7f1;box-shadow:0 3px 14px #0878681f}
.plan-actions .btn.joined{color:var(--good)}

/* 进球提示音状态（2026-11-14）：写在「实时比分」副标题右侧。
   浏览器要求先有用户交互才允许出声，所以未解锁时必须说清楚"点一下页面"，
   否则客户会以为提示音坏了。窄屏换行，不要挤成一条。 */
.goal-hint{white-space:nowrap;font-size:12px;color:#41618a;font-weight:600;margin:0 4px 0 0}
.goal-hint::before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;
 background:#c8871c;margin-right:6px;vertical-align:middle;position:relative;top:-1px}
@media(max-width:640px){.goal-hint{white-space:normal;font-size:12px;text-align:left}}

/* 进球提示音开关（2026-11-14，客户：把「试听提示音」改成开启/关闭）。
   文案写"点了会怎样"：关着时是实心蓝的「开启」，开着时是白底「关闭」——
   需要客户动手的那个状态才醒目，已经在工作的不用抢眼。 */
.btn.off{color:#fff;border-color:#167cef;background:linear-gradient(135deg,#2b9bf4,#167cef);
 box-shadow:inset 0 0 0 2px #ffffff30,0 4px 14px #2084ed2e}
.btn.off .icon{color:#fff}
.btn.off:hover{background:linear-gradient(135deg,#1c8ee6,#0f6fd4)}
.btn.on{color:#41618a;border-color:#c2d7ec;background:#fff}
.btn.on .icon{color:#7c9ab9}
