:root{
  --ink:#102235;--ink-2:#24374a;--navy:#071b2d;--navy-2:#0c2b43;--blue:#0b6b79;
  --teal:#18a39a;--teal-soft:#dff5f1;--gold:#e7ad42;--gold-soft:#fff3d8;
  --paper:#f5f7f8;--white:#fff;--line:#dce4e8;--muted:#6d7b88;--green:#237b58;
  --red:#a64848;--shadow:0 18px 48px rgba(18,42,61,.09);--shadow-sm:0 8px 24px rgba(18,42,61,.07);
}

/* 2026-08-07 fidelity pass: unique 1488 x 1058 visual target */
.rail-settings{display:none}
@media(min-width:961px){
  html:has(body.detail-view){scrollbar-width:none}
  html:has(body.detail-view)::-webkit-scrollbar{width:0;height:0}
  body.detail-view{--detail-rail:138px;overflow-x:hidden;background:#eef7fc}
  .detail-view .topbar{width:138px;padding:29px 12px 20px;background-image:url("assets/celestial-rail-fidelity-v2.png?v=20260807fidelity6");background-size:138px 100%;background-position:center top;box-shadow:5px 0 18px rgba(24,92,142,.12)}
  .detail-view .brand{width:100%;justify-content:flex-start}
  .detail-view .brand-copy strong{font-family:"Noto Serif SC","Songti SC","SimSun",serif;font-size:26px;font-weight:800;letter-spacing:1px;line-height:1.2;text-shadow:0 2px 10px rgba(1,55,108,.24)}
  .detail-view main{margin-left:138px;padding:0 0 70px}
  .detail-view footer{margin-left:138px}

  .detail-view .detail-mode-tabs{left:16px;top:249px;width:106px;gap:18px}
  .detail-view .detail-mode-tabs button{min-height:82px;gap:4px;padding:9px 6px;border:1px solid transparent;border-radius:18px;background:transparent;box-shadow:none;backdrop-filter:none}
  .detail-view .detail-mode-tabs button:before{width:42px;height:42px;border-radius:0;background-position:center;background-size:contain;background-repeat:no-repeat}
  .detail-view .detail-mode-tabs button[data-detail-view="pre"]:before{background-image:url("assets/rail-pre-target.png?v=20260807fidelity1")}
  .detail-view .detail-mode-tabs button[data-detail-view="battle"]:before{background-image:url("assets/rail-battle-target.png?v=20260807fidelity1")}
  .detail-view .detail-mode-tabs button b{color:#f6fbff;font-family:"Noto Serif SC","Songti SC","SimSun",serif;font-size:16px;font-weight:700;line-height:1.2;text-shadow:0 1px 5px rgba(0,55,100,.22)}
  .detail-view .detail-mode-tabs button[aria-selected="true"]{min-height:92px;border-color:#e8c86f;background:#fffdf5;box-shadow:0 8px 18px rgba(3,71,120,.18),0 0 13px rgba(240,205,112,.22),inset 0 0 0 2px rgba(255,255,255,.72)}
  .detail-view .detail-mode-tabs button[aria-selected="true"] b{color:#176b86;text-shadow:none}
  .detail-view .detail-mode-tabs button[data-detail-view="pre"][aria-selected="false"]:before{filter:brightness(0) invert(1);opacity:.92}
  .detail-view .detail-mode-tabs button[data-detail-view="battle"][aria-selected="true"]:before{filter:brightness(0) saturate(100%) invert(38%) sepia(38%) saturate(938%) hue-rotate(146deg) brightness(88%) contrast(91%)}

  .detail-view .rail-settings{position:absolute;left:50%;bottom:25px;display:grid;width:78px;grid-template-rows:61px auto;justify-items:center;gap:2px;padding:0;transform:translateX(-50%);border:0;background:transparent;color:#2b6987;cursor:pointer}
  .detail-view .rail-settings-icon{display:block;width:61px;height:61px;background:url("assets/rail-settings-target.png?v=20260807fidelity1") center/61px 61px no-repeat}
  .detail-view .rail-settings b{font-family:"Noto Serif SC","Songti SC","SimSun",serif;font-size:14px;font-weight:600;line-height:1.2;text-shadow:0 1px 5px rgba(255,255,255,.58)}

  .detail-top-stage{height:383px;background-position:center 22%}
  .detail-top-stage:after{top:339px}
  .detail-top-stage .detail-hero{height:297px;min-height:297px}
  .detail-top-stage .detail-title{left:78px;top:52px}
  .detail-top-stage .detail-title h1{margin-top:9px;font-size:50px}
  .detail-top-stage .detail-title p{margin-top:11px;font-size:13px}
  .detail-top-stage .detail-rank{right:20px;top:62px;width:170px;height:170px;min-width:170px;background-size:170px 170px}
  .detail-top-stage .detail-rank small{top:49px;font-size:12px}
  .detail-top-stage .detail-rank strong{top:75px;font-size:30px}
  .detail-top-stage .detail-stats{left:78px;top:199px;grid-template-columns:153px 135px 150px}
  .detail-top-stage .detail-mode-overview{left:67px;right:55px;top:297px;height:84px;grid-template-columns:45% 55%}

  .detail-view #battleIntelView{margin-right:26px;margin-left:34px}
  .battle-intel-shell{margin-top:14px;border-radius:16px;box-shadow:0 12px 32px rgba(45,108,153,.08)}
  .battle-intel-head{height:82px;min-height:82px;padding:10px 23px}
  .battle-intel-head h2{font-family:"Noto Serif SC","Songti SC","SimSun",serif;font-size:23px;font-weight:800}
  .battle-builder-grid{grid-template-columns:36% 1fr;gap:12px;padding:0}
  .battle-pool-panel,.battle-lineup-panel{padding:12px 18px;border-radius:13px;box-shadow:none}
  .battle-pool-panel{height:320px}.battle-lineup-panel{height:490px}
  .battle-panel-title{margin-bottom:12px}.battle-panel-title h3{font-size:15px}
  .battle-roster-pool{column-gap:8px;row-gap:6px}
  .battle-player-choice{height:58px;min-height:58px;border-radius:10px}
  .battle-player-choice:before{width:35px;height:35px}
  .battle-lineup-slots{height:345px;min-height:345px}
  .battle-lineup-slot{height:115px;min-height:115px}
  .formation-drop-wrap{display:grid;height:74px;grid-template-columns:280px minmax(0,1fr);align-items:stretch;margin-top:5px;padding:0;overflow:hidden;border:1px solid #d3e3ec;border-radius:10px;background:rgba(255,255,255,.72)}
  .formation-drop-zone{height:72px;padding:8px 12px;border:0;border-right:1px solid #e1ebf1;border-radius:0;background:transparent}
  .formation-drop-zone.selected{border-color:#e1ebf1;background:transparent}
  .battle-formation-pool{position:relative;display:flex;align-content:center;align-items:center;gap:4px;margin:0;padding:22px 8px 6px;overflow:hidden}
  .formation-pool-title{position:absolute;left:10px;top:5px;color:#6f8799;font-size:9px}
  .battle-formation-pool button{flex:0 0 auto;padding:3px 7px;font-size:9px}

  .battle-next-round-fab{right:42px;bottom:32px;isolation:isolate;display:flex;width:186px;height:56px;min-width:186px;align-items:center;justify-content:center;gap:7px;padding:0 18px;border:1px solid rgba(255,255,255,.72);border-radius:28px;background:#168fd0;box-shadow:0 12px 28px rgba(18,139,208,.28),inset 0 0 0 2px rgba(255,255,255,.18);font-size:16px}
  .battle-next-round-fab:before{content:"";display:block;width:21px;height:21px;margin:0;background:url("assets/next-round-icon-target.png?v=20260807fidelity1") center/21px 21px no-repeat}
  .battle-next-round-fab:after{content:"";position:absolute;left:50%;top:50%;z-index:-1;width:269px;height:120px;transform:translate(-50%,-50%);background:url("assets/next-round-cloud-target.png?v=20260807fidelity1") center/269px 120px no-repeat;pointer-events:none}
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:"Microsoft YaHei","PingFang SC","Noto Sans CJK SC",system-ui,sans-serif;line-height:1.55}
button,input,select{font:inherit}
button{color:inherit}
.topbar{position:sticky;top:0;z-index:50;height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(20px,4vw,64px);background:rgba(7,27,45,.96);backdrop-filter:blur(18px);border-bottom:1px solid rgba(255,255,255,.08);box-shadow:0 8px 28px rgba(0,13,24,.18)}
.brand{border:0;background:transparent;color:#fff;display:flex;align-items:center;gap:12px;font-weight:800;font-size:19px;letter-spacing:.4px;cursor:pointer;padding:0}
.brand-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,var(--gold),#f7d67b);color:var(--navy);font-family:KaiTi,"STKaiti",serif;font-size:23px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.38),0 8px 20px rgba(231,173,66,.22)}
.auth-nav{display:flex;align-items:center;gap:9px}
.auth-nav button{height:39px;padding:0 20px;border-radius:10px;cursor:pointer;font-weight:700;transition:.18s ease}
.auth-link{border:1px solid rgba(255,255,255,.24);background:transparent;color:#e8eef2}
.auth-link:hover{background:rgba(255,255,255,.08)}
.auth-primary{border:1px solid var(--gold);background:var(--gold);color:var(--navy);box-shadow:0 8px 18px rgba(231,173,66,.18)}
.auth-primary:hover{background:#f2c05d;transform:translateY(-1px)}
main{max-width:1440px;margin:0 auto;padding:30px clamp(18px,3.6vw,54px) 70px}
footer{display:flex;justify-content:center;align-items:center;gap:16px;padding:30px 20px;color:#84909a;font-size:12px;border-top:1px solid var(--line)}
footer strong{color:var(--ink-2)}
.home-hero{position:relative;min-height:320px;overflow:hidden;display:grid;grid-template-columns:1.25fr 1fr;align-items:center;gap:50px;padding:54px clamp(28px,5vw,72px);border-radius:28px;background:radial-gradient(circle at 80% 18%,rgba(26,167,157,.22),transparent 30%),linear-gradient(128deg,#071a2c 0%,#0c3049 70%,#0b3e4d 100%);color:#fff;box-shadow:0 24px 60px rgba(7,27,45,.2)}
.home-hero:after{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.024) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.024) 1px,transparent 1px);background-size:34px 34px;mask-image:linear-gradient(90deg,black,transparent 86%);pointer-events:none}
.hero-orb{position:absolute;border:1px solid rgba(255,255,255,.14);border-radius:50%;pointer-events:none}
.orb-one{width:250px;height:250px;right:-60px;top:-90px;box-shadow:0 0 80px rgba(24,163,154,.16)}
.orb-two{width:110px;height:110px;right:340px;bottom:-58px}
.hero-copy,.hero-kpis{position:relative;z-index:2}
.overline{display:block;color:#75d7d0;font-size:11px;font-weight:800;letter-spacing:2.2px;text-transform:uppercase;margin-bottom:9px}
.overline.dark{color:var(--blue)}
.hero-copy h1{font-size:clamp(36px,4.5vw,62px);line-height:1.08;letter-spacing:-2px;margin:0 0 20px;font-weight:900}
.hero-copy h1 em{color:#f2c762;font-style:normal}
.hero-copy p{max-width:620px;margin:0;color:#c4d1da;font-size:16px;line-height:1.9}
.hero-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.hero-kpis article{min-width:0;padding:20px 16px;border:1px solid rgba(255,255,255,.12);border-radius:17px;background:rgba(255,255,255,.075);backdrop-filter:blur(14px);display:flex;align-items:center;gap:13px}
.hero-kpis article>span{flex:0 0 auto;width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:rgba(231,173,66,.16);color:#f4cf76;font-family:KaiTi,"STKaiti",serif;font-size:18px}
.hero-kpis small{display:block;color:#9eb2bf;font-size:11px;white-space:nowrap}
.hero-kpis strong{display:block;font-size:24px;letter-spacing:.3px;margin-top:2px}
.search-shell{position:relative;z-index:3;width:min(1080px,calc(100% - 40px));margin:-34px auto 34px;padding:22px 24px 18px;background:rgba(255,255,255,.97);border:1px solid rgba(255,255,255,.8);border-radius:20px;box-shadow:0 22px 50px rgba(18,42,61,.14)}
.search-box{position:relative;display:flex;align-items:center}
.search-box input{width:100%;height:58px;border:1px solid #cfdadd;border-radius:14px;background:#fbfcfc;padding:0 58px 0 55px;font-size:17px;font-weight:600;color:var(--ink);transition:.18s ease}
.search-box input::placeholder{color:#9aa7b1;font-weight:400}
.search-box input:focus{outline:0;border-color:var(--teal);box-shadow:0 0 0 4px rgba(24,163,154,.12);background:#fff}
.search-icon{position:absolute;left:21px;width:18px;height:18px;border:2px solid var(--teal);border-radius:50%;z-index:2}
.search-icon:after{content:"";position:absolute;width:7px;height:2px;right:-5px;bottom:-3px;background:var(--teal);transform:rotate(45deg);border-radius:3px}
#clearSearch{position:absolute;right:13px;width:34px;height:34px;border:0;border-radius:10px;background:transparent;color:#91a0aa;font-size:22px;cursor:pointer}
#clearSearch:hover{background:#eef3f4;color:var(--ink)}
.stage-row{display:flex;align-items:flex-start;gap:15px;margin-top:16px}
.stage-row>span{flex:0 0 auto;padding-top:7px;color:var(--muted);font-size:12px;font-weight:700}
.stage-tabs{display:flex;flex-wrap:wrap;gap:7px}
.stage-tabs button{border:1px solid #dae4e7;background:#f7f9fa;color:#536473;border-radius:999px;padding:7px 12px;cursor:pointer;font-size:13px;transition:.16s ease;display:flex;align-items:center;gap:6px}
.stage-tabs button small{display:grid;place-items:center;min-width:21px;height:21px;padding:0 5px;background:#e9eef0;border-radius:10px;font-size:11px}
.stage-tabs button:hover{border-color:#8dcfc8;color:var(--blue)}
.stage-tabs button.active{background:var(--navy);border-color:var(--navy);color:#fff;box-shadow:0 5px 14px rgba(7,27,45,.16)}
.stage-tabs button.active small{background:rgba(255,255,255,.15)}
.stage-note{margin:10px 0 0 75px;color:#74838e;font-size:12px}
.results-head{display:flex;align-items:flex-end;justify-content:space-between;margin:12px 2px 17px}
.results-head h2{margin:0;color:var(--ink);font-size:25px;letter-spacing:-.4px}
.results-head p{margin:0;color:var(--muted);font-size:12px}
.results-head p strong{color:var(--ink);font-size:15px}
.teams{display:grid;grid-template-columns:repeat(3,minmax(280px,1fr));gap:16px}
.team-card{position:relative;overflow:hidden;display:flex;flex-direction:column;min-height:365px;background:#fff;border:1px solid var(--line);border-radius:19px;padding:22px;box-shadow:var(--shadow-sm);transition:.2s ease}
.team-card:hover{transform:translateY(-4px);border-color:#b8d7d5;box-shadow:0 20px 42px rgba(18,42,61,.13)}
.card-accent{position:absolute;left:0;top:0;width:5px;height:100%;background:linear-gradient(180deg,var(--teal),#0e6175)}
.stage-art{height:74px;margin:-22px -22px 17px;padding:9px 16px 9px 20px;display:flex;align-items:center;justify-content:space-between;overflow:hidden;background:linear-gradient(115deg,#0d3349,#176676);color:rgba(255,255,255,.86);font-size:11px;font-weight:800;letter-spacing:1.35px;text-transform:uppercase}
.stage-art img{width:66px;height:66px;object-fit:contain;filter:drop-shadow(0 8px 12px rgba(0,0,0,.24))}
.team-card.stage-hall8 .stage-art{background:radial-gradient(circle at 15% 20%,rgba(255,229,140,.34),transparent 27%),linear-gradient(115deg,#38260b,#966b16)}
.team-card.stage-top16 .stage-art{background:radial-gradient(circle at 18% 10%,rgba(210,232,255,.28),transparent 28%),linear-gradient(115deg,#1b294a,#416d9f)}
.team-card.stage-top32 .stage-art{background:radial-gradient(circle at 18% 10%,rgba(225,199,169,.3),transparent 28%),linear-gradient(115deg,#3c251d,#8a5841)}
.team-card.stage-top80 .stage-art{background:radial-gradient(circle at 18% 10%,rgba(161,241,225,.25),transparent 28%),linear-gradient(115deg,#123c3b,#2d867a)}
.team-card.stage-other .stage-art{background:linear-gradient(115deg,#42515d,#768791)}
.team-card.stage-hall8 .card-accent{background:linear-gradient(180deg,#f2c762,#a86e09)}
.team-card.stage-top16 .card-accent{background:linear-gradient(180deg,#8fc0ed,#2e6598)}
.team-card.stage-top32 .card-accent{background:linear-gradient(180deg,#d9a77e,#875038)}
.team-card.stage-top80 .card-accent{background:linear-gradient(180deg,#63d2bf,#1b766d)}
.team-card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.card-kicker{font-size:11px;color:#657783;letter-spacing:1.15px;font-weight:700}
.team-card h3{margin:3px 0 0;font-size:21px;letter-spacing:-.2px;color:var(--ink)}
.rank-badge{white-space:nowrap;padding:6px 9px;border-radius:9px;background:var(--gold-soft);color:#856018;font-size:11px;font-weight:800}
.stage-top16 .rank-badge{background:#e6f1fb;color:#315f89}.stage-top32 .rank-badge{background:#f4e8df;color:#865038}.stage-top80 .rank-badge{background:#e3f4f0;color:#246f67}
.rank-badge.muted{background:#eef2f3;color:#75838d}
.team-metrics{display:grid;grid-template-columns:repeat(3,1fr);margin:20px 0 17px;padding:13px 0;border-top:1px solid #edf1f3;border-bottom:1px solid #edf1f3}
.team-metrics div+div{border-left:1px solid #edf1f3;padding-left:14px}
.team-metrics small{display:block;color:#71808b;font-size:11px}
.team-metrics strong{display:block;margin-top:3px;font-size:17px}
.team-metrics .win-rate{color:var(--green)}
.team-brief{display:grid;gap:13px;margin:0 0 20px}
.team-brief div{display:grid;grid-template-columns:50px 1fr;gap:8px}
.team-brief dt{color:#71808b;font-size:12px}
.team-brief dd{margin:0;color:#344959;font-size:13px;line-height:1.65;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.team-brief dd span{margin-left:7px;color:var(--teal);font-weight:800}
.intel-button{width:100%;height:44px;margin-top:auto;border:1px solid #cbd9dc;background:#f7faf9;border-radius:12px;display:flex;justify-content:space-between;align-items:center;padding:0 14px;color:var(--blue);font-weight:800;cursor:pointer;transition:.18s ease}
.intel-button b{font-size:19px}
.intel-button:hover{background:var(--navy);border-color:var(--navy);color:#fff;padding-left:17px}
.pager{display:flex;justify-content:center;align-items:center;gap:12px;margin:30px 0}
.pager button{height:40px;border:1px solid var(--line);background:#fff;border-radius:10px;padding:0 15px;cursor:pointer;box-shadow:var(--shadow-sm)}
.pager button:disabled{opacity:.4;cursor:not-allowed}
.pager span{color:var(--muted);font-size:12px}
.empty-state{grid-column:1/-1;min-height:210px;display:grid;place-items:center;align-content:center;gap:5px;border:1px dashed #cbd7db;border-radius:18px;color:var(--muted);background:#fff}
.empty-state b{color:var(--ink);font-size:18px}
.back-button{margin:2px 0 15px;border:0;background:transparent;color:#587080;font-weight:700;cursor:pointer;padding:7px 0}
.back-button:hover{color:var(--teal)}
.detail-hero{position:relative;overflow:hidden;min-height:225px;border-radius:25px;padding:38px 42px;color:#fff;background:radial-gradient(circle at 90% 15%,rgba(34,188,176,.25),transparent 27%),linear-gradient(125deg,var(--navy),#0d3853);box-shadow:0 22px 54px rgba(7,27,45,.2);display:grid;grid-template-columns:1fr auto;gap:25px;align-items:start}
.detail-hero:after{content:"";position:absolute;width:330px;height:330px;border:1px solid rgba(255,255,255,.08);border-radius:50%;right:-100px;bottom:-220px}
.detail-title{position:relative;z-index:2}
.detail-title h1{margin:0;font-size:38px;letter-spacing:-1px}
.detail-title p{margin:8px 0 0;color:#b9c9d4;font-size:12px}
.confidence{display:inline-flex;align-items:center;border-radius:999px;padding:3px 8px;font-size:10px;font-weight:800}
.confidence.high{background:#dff4e8;color:#277650}.confidence.medium{background:#fff1cf;color:#7c5b13}.confidence.low{background:#f9e0e0;color:#994545}
.detail-rank{position:relative;z-index:2;min-width:115px;padding:15px 18px;text-align:right;border-left:1px solid rgba(255,255,255,.12)}
.detail-rank small{display:block;color:#9eb3c0;font-size:10px}.detail-rank strong{display:block;color:#f2cc75;font-size:33px;line-height:1.1;margin-top:4px}
.detail-stats{position:relative;z-index:2;grid-column:1/-1;display:grid;grid-template-columns:repeat(3,150px);gap:10px;margin-top:8px}
.detail-stats article{padding:13px 15px;border:1px solid rgba(255,255,255,.11);border-radius:13px;background:rgba(255,255,255,.07)}
.detail-stats small{display:block;color:#9eb3c0;font-size:10px}.detail-stats strong{display:block;font-size:22px;margin-top:2px}
.intel-summary-grid{display:grid;grid-template-columns:1.55fr 1fr;gap:16px;margin-top:17px}
.summary-card{display:flex;gap:16px;align-items:center;min-height:116px;padding:22px 24px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow-sm)}
.summary-icon{flex:0 0 auto;width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:var(--teal-soft);color:var(--blue);font-family:KaiTi,"STKaiti",serif;font-size:26px}
.primary-formation .summary-icon{background:var(--gold-soft);color:#8b6213}
.summary-card small{color:#6f7f8a;font-size:12px}.summary-card h2{margin:2px 0 3px;font-size:20px;line-height:1.45}.summary-card p{margin:0;color:#5f707c;font-size:12px}
.composition-cluster-panel{margin-top:17px}
.achievement-heading{display:flex;align-items:center;gap:8px;padding:8px 11px;border-radius:11px;background:var(--tier-soft,#edf3f4);color:var(--tier,#405765);font-size:12px;font-weight:900;white-space:nowrap}.achievement-heading b{padding-left:8px;border-left:1px solid color-mix(in srgb,var(--tier,#405765) 25%,transparent);font-size:11px}
.achievement-note{margin:-6px 0 16px;padding:9px 12px;border-left:3px solid var(--teal);border-radius:0 9px 9px 0;background:#f3f7f7;color:#5a6d79;font-size:11px;line-height:1.7}
.achievement-hall{--tier:#966b16;--tier-soft:#fff2cf}.achievement-top16{--tier:#315f89;--tier-soft:#e6f1fb}.achievement-top32{--tier:#865038;--tier-soft:#f4e8df}.achievement-top64{--tier:#66509b;--tier-soft:#eee9f8}.achievement-top80{--tier:#246f67;--tier-soft:#e3f4f0}.achievement-other{--tier:#596c78;--tier-soft:#edf1f3}
.composition-clusters{display:grid;gap:10px}
.composition-cluster{display:grid;grid-template-columns:48px 1fr;gap:14px;padding:14px;border:1px solid #e1e8ea;border-left:4px solid var(--tier,#173c50);border-radius:14px;background:linear-gradient(105deg,var(--tier-soft,#f9fbfb),#fff 42%)}
.cluster-index{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:var(--tier,var(--navy));color:#fff;font-size:15px;font-weight:900;letter-spacing:.5px;box-shadow:0 7px 16px color-mix(in srgb,var(--tier,var(--navy)) 22%,transparent)}
.cluster-body{min-width:0}.cluster-topline{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.cluster-topline>strong{flex:0 0 auto;color:var(--blue);font-size:13px}
.cluster-stage-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.cluster-stage-row>strong{flex:0 0 auto;color:var(--tier,var(--blue));font-size:13px}.cluster-stage-badge{padding:4px 8px;border-radius:7px;background:var(--tier-soft,#edf3f4);color:var(--tier,#405765);font-size:11px;font-weight:900}
.composition-cluster.result-loss{border-left-color:#b34c4c}.composition-cluster.result-loss .cluster-stage-badge{background:#fbe8e7;color:#9b3434}.composition-cluster.result-loss .cluster-stage-row>strong{color:#9b3434}
.school-chips{display:flex;flex-wrap:wrap;gap:6px}.school-chips span{padding:5px 9px;border-radius:8px;background:#e8f4f2;color:#205e5b;font-size:12px;font-weight:700}
.cluster-meta{display:flex;gap:20px;flex-wrap:wrap;margin-top:10px;color:#5f707c;font-size:12px}.cluster-meta b{color:var(--ink)}.cluster-main-formation{padding-left:18px;border-left:1px solid #dfe6e8}.cluster-main-formation b{color:#845b0f}
.cluster-formations{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}.cluster-formations span{padding:4px 8px;border-radius:7px;background:#f0f3f4;color:#536875;font-size:11px}
.cluster-subheading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:24px 0 10px;padding-top:20px;border-top:1px solid #e2e9eb}.cluster-subheading span{color:var(--teal);font-size:10px;font-weight:900;letter-spacing:1.6px}.cluster-subheading h3{margin:2px 0 0;font-size:17px}.cluster-subheading p{margin:0;color:var(--muted);font-size:12px}.secondary-clusters .composition-cluster{opacity:.94}
.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:17px}
.content-panel{background:#fff;border:1px solid var(--line);border-radius:19px;padding:23px;box-shadow:var(--shadow-sm);margin-top:17px}
.detail-grid .content-panel{margin-top:0}
.section-title{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:18px}
.section-title h2{margin:0;font-size:22px;letter-spacing:-.25px}.section-title p{margin:0;color:#60717d;font-size:12px;text-align:right}
.starter-list{display:grid;gap:7px}
.starter-list article{display:grid;grid-template-columns:36px 1fr auto;align-items:center;gap:11px;padding:10px;border-radius:12px;background:#f8fafb;border:1px solid #edf1f3}
.starter-number{display:grid;place-items:center;width:31px;height:31px;border-radius:10px;background:var(--navy);color:#f3cd75;font-weight:900}
.starter-list h3{margin:0;font-size:15px}.starter-list p{margin:1px 0 0;color:#657783;font-size:12px}.starter-list article>strong{color:var(--blue);font-size:13px}
.substitute-note{margin:12px 3px 0;color:#60717d;font-size:12px;line-height:1.8}.substitute-note b{color:var(--ink)}
.formation-list{display:grid;gap:12px}
.formation-list article{display:grid;grid-template-columns:145px 1fr 48px;align-items:center;gap:11px}
.formation-name{display:grid;grid-template-columns:24px 1fr auto;align-items:center;gap:7px;min-width:0}
.formation-name>span{display:grid;place-items:center;width:23px;height:23px;border-radius:8px;background:#edf5f4;color:var(--blue);font-size:10px;font-weight:800}
.formation-name strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.formation-name small{color:var(--muted);font-size:9px}
.formation-bar{height:9px;background:#edf1f2;border-radius:20px;overflow:hidden}.formation-bar i{display:block;height:100%;background:linear-gradient(90deg,var(--teal),#5ec7bc);border-radius:20px}
.formation-list article>b{text-align:right;font-size:11px;color:var(--blue)}
.speed-panel{padding-bottom:17px}
.speed-track{display:grid;grid-template-columns:repeat(4,minmax(180px,1fr));gap:11px;position:relative}
.speed-track:before{display:none}
.speed-track article{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;text-align:center;padding:14px 10px 15px;border:1px solid #e0e8ea;border-radius:14px;background:#f9fbfb}
.order-medal{display:grid;place-items:center;width:56px;height:56px;border-radius:18px;background:linear-gradient(145deg,var(--navy),#164e69);color:#f2cb70;font-size:22px;font-weight:900;border:5px solid #fff;box-shadow:0 7px 18px rgba(7,27,45,.18)}
.speed-person h3{margin:10px 0 2px;font-size:15px}.speed-person p{margin:0;color:#627480;font-size:11px}
.speed-value{margin-top:9px;padding:10px 14px;background:#eef4f4;border-radius:11px;min-width:135px}.speed-value small{display:block;color:#6f808b;font-size:10px}.speed-value strong{display:block;color:var(--blue);font-size:22px;line-height:1.2;margin-top:2px}
.sample-chip{margin-top:7px;color:#657783;font-size:11px}
.scope-note{margin:13px 0 0;color:#657783;font-size:11px;line-height:1.75}
.overall-order-panel{padding-bottom:19px}
.overall-order-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;max-height:none;overflow:visible;padding-right:0}
.overall-order-row{display:grid;grid-template-columns:34px 55px 1fr auto;grid-template-rows:auto auto;align-items:center;gap:1px 10px;padding:10px 12px;border-radius:12px;border:1px solid #e3e9eb;background:#fafcfc}
.overall-order-row.summon{background:#f4faf8;border-color:#dcebe7}.overall-rank{grid-row:1/3;display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:var(--navy);color:#f2cb70;font-size:12px;font-weight:900}.summon .overall-rank{background:#24746d;color:#fff}
.actor-type{grid-row:1/3;padding:5px 7px;border-radius:7px;background:#e9eef0;color:#4d616e;text-align:center;font-size:10px;font-weight:800}.summon .actor-type{background:#dff2ed;color:#21675f}
.overall-order-row h3{margin:0;font-size:14px}.overall-order-row p{margin:2px 0 0;color:#647581;font-size:10px}.overall-order-row>strong{grid-column:4;grid-row:1;color:var(--blue);font-size:17px;text-align:right}.overall-order-row>small{grid-column:4;grid-row:2;color:#71818c;font-size:10px;text-align:right}
.player-intel{overflow:hidden;margin-top:17px;border-radius:23px;background:linear-gradient(135deg,#082238,#0c3b52);color:#fff;box-shadow:0 24px 54px rgba(7,27,45,.18)}
.player-intel-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;padding:30px 32px 22px;border-bottom:1px solid rgba(255,255,255,.1)}
.player-intel-head h2{margin:0;font-size:26px}.player-intel-head p{margin:5px 0 0;color:#c1d0d8;font-size:13px}
.player-intel-head label{display:grid;gap:6px;color:#bdd0da;font-size:12px;min-width:310px}
.player-intel-head select{height:43px;border:1px solid rgba(255,255,255,.18);border-radius:11px;background:#fff;color:var(--ink);padding:0 13px;font-weight:700}
#playerBoard{padding:23px 27px 29px}
.player-profile{display:flex;align-items:center;gap:13px;margin-bottom:17px}.avatar{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;background:linear-gradient(145deg,#f3ca70,var(--gold));color:var(--navy);font-size:21px;font-weight:900}
.player-profile h3{margin:0;font-size:20px}.player-profile p{margin:2px 0 0;color:#c0d0d8;font-size:12px}.player-profile>span{margin-left:auto}
.player-dashboard{display:grid;grid-template-columns:1.15fr .85fr;gap:14px}
.dossier-card{background:#fff;color:var(--ink);border-radius:17px;padding:20px;min-width:0}
.dossier-title{display:flex;align-items:center;gap:11px;margin-bottom:16px}.dossier-title>span:first-child{width:39px;height:39px;display:grid;place-items:center;border-radius:12px;background:var(--teal-soft);color:var(--blue);font-family:KaiTi,"STKaiti",serif;font-size:21px}.dossier-title small{display:block;color:#83919b;font-size:9px}.dossier-title h3{margin:1px 0 0;font-size:20px}.dossier-title .confidence{margin-left:auto}
.hp-range{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.hp-range div{padding:10px;border-radius:11px;background:#f4f7f8}.hp-range small{display:block;color:#84929b;font-size:9px}.hp-range strong{display:block;font-size:15px;margin-top:2px}
.method-note{margin:10px 0 0;color:var(--muted);font-size:10px}
.exact-row{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:12px;font-size:10px}.exact-row span{color:var(--muted)}.exact-row b{padding:4px 8px;border-radius:8px;background:#e7f5ed;color:var(--green)}
.scheme-list{margin-top:13px;border-top:1px solid #e8edef;padding-top:11px}.scheme-list>span{color:var(--muted);font-size:9px}.scheme-list article{display:grid;grid-template-columns:70px 70px 1fr;align-items:center;gap:8px;margin-top:6px;padding:8px 10px;border-radius:10px;background:var(--gold-soft)}
.scheme-list article b{font-size:10px;color:#7a5915}.scheme-list article strong{font-size:15px}.scheme-list article small{font-size:9px;color:#7f6a3b}
.single-mode{margin:12px 0 0;padding:8px 10px;border-radius:9px;background:#f5f7f8;color:#75838c;font-size:9px}
.special-list{display:grid;gap:7px;max-height:255px;overflow:auto}.special-list article{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:9px;padding:8px 9px;border-radius:10px;background:#f6f8f9}.special-list article strong{display:block;font-size:12px}.special-list article small{display:block;color:var(--muted);font-size:8px}.special-list article>b{color:var(--blue);font-size:11px}.special-list article>span{color:var(--muted);font-size:9px}
.dossier-empty{display:grid;place-items:center;min-height:85px;color:var(--muted);font-size:11px}.dossier-empty.wide{grid-column:1/-1;background:#fff;border-radius:13px}
.summon-section{margin-top:15px;padding:20px;background:#f4f7f7;color:var(--ink);border-radius:17px}.summon-section .section-title{margin-bottom:13px}.summon-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;max-height:none;overflow:visible;padding-right:0}
body.capture-mode .special-list{max-height:none;overflow:visible}
.summon-card{padding:15px;border-radius:13px;background:#fff;border:1px solid #dfe7e9}.summon-head{display:flex;gap:10px;align-items:center}.summon-head>span{width:35px;height:35px;display:grid;place-items:center;border-radius:10px;background:#e7f3f2;color:var(--blue);font-size:11px;font-weight:900}.summon-head h3{margin:0;font-size:15px}.summon-head p{margin:2px 0 0;color:#60717d;font-size:10px;line-height:1.55}.skill-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:11px}.skill-chips span{padding:5px 8px;border-radius:7px;background:#edf2f3;color:#405663;font-size:11px}.skill-chips em{color:#75848e;font-size:11px;font-style:normal}
.summon-attributes{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:11px;padding:9px;border-radius:9px;background:#fff8e8;border:1px solid #ecd69f}.summon-attributes b{margin-right:2px;color:#795812;font-size:11px}.summon-attributes span{padding:4px 8px;border-radius:7px;background:#edc45c;color:#3d2e0c;font-size:11px;font-weight:800}.summon-attributes em{color:#7f6e4d;font-size:11px;font-style:normal}
.summon-attributes span.shiyao-attribute{background:#dff3e9;color:#17694c;box-shadow:inset 0 0 0 1px #afd8c4}
.shiyao-evidence{display:flex;align-items:center;gap:7px;margin:7px 0 0;padding:6px 8px;border-left:2px solid #4d9f7d;border-radius:0 7px 7px 0;background:#f1faf6;color:#55746a;font-size:9px;line-height:1.35}
.shiyao-evidence b{color:#237356;font-size:9px}.shiyao-evidence span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.evidence-strip{display:flex;align-items:center;gap:25px;margin-top:17px;padding:18px 23px;border:1px solid var(--line);border-radius:16px;background:#fff;color:var(--ink);box-shadow:var(--shadow-sm)}
.evidence-strip>div{flex:0 0 auto}.evidence-strip span{display:block;color:var(--muted);font-size:9px}.evidence-strip strong{display:block;font-size:12px;margin-top:2px}.evidence-strip details{margin-left:auto;max-width:65%;font-size:10px}.evidence-strip summary{cursor:pointer;color:var(--blue);font-weight:800}.evidence-strip p{word-break:break-all;color:var(--muted);line-height:1.8}
.loading{display:grid;place-items:center;align-content:center;min-height:65vh;color:var(--muted);gap:13px}.spinner{width:40px;height:40px;border:4px solid #dce7e9;border-top-color:var(--teal);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.state-card{min-height:55vh;display:grid;place-items:center;align-content:center;text-align:center;gap:8px;background:#fff;border-radius:22px;border:1px solid var(--line)}.state-card h1{margin:0}.state-card p{margin:0;color:var(--muted)}.state-card pre{white-space:pre-wrap}.state-card button{margin-top:9px;border:0;border-radius:10px;background:var(--navy);color:#fff;padding:10px 16px;cursor:pointer}.state-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:#fce6e6;color:var(--red);font-size:24px;font-weight:900}
.modal-backdrop{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:20px;background:rgba(2,14,24,.64);backdrop-filter:blur(7px)}
.auth-modal{position:relative;width:min(430px,100%);padding:30px;background:#fff;border-radius:22px;box-shadow:0 30px 80px rgba(0,13,24,.34)}
.modal-close{position:absolute;right:15px;top:14px;width:34px;height:34px;border:0;border-radius:10px;background:#f1f4f5;color:#71808a;font-size:21px;cursor:pointer}.modal-close:hover{background:#e7ecee}
.auth-modal h2{margin:0;font-size:25px}.auth-modal>p{margin:6px 0 20px;color:var(--muted);font-size:11px}.auth-modal form{display:grid;gap:12px}.auth-modal label{display:grid;gap:6px;font-size:11px;font-weight:700}.auth-modal input{height:44px;border:1px solid #d4dfe2;border-radius:10px;padding:0 12px}.auth-modal input:focus{outline:0;border-color:var(--teal);box-shadow:0 0 0 3px rgba(24,163,154,.12)}.auth-field-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:-2px}.auth-field-hint{color:#7c8b94;font-size:9px;font-weight:500}.invite-help{border:0;padding:0;background:transparent;color:#0873b9;font-size:10px;font-weight:700;cursor:pointer}.invite-help:hover{text-decoration:underline}.auth-modal form>button{height:45px;border:0;border-radius:11px;background:var(--navy);color:#fff;font-weight:800;cursor:pointer;margin-top:3px}.auth-modal>small{display:block;margin-top:14px;color:#8d99a1;font-size:9px;text-align:center}.invite-qr-layer{position:absolute;inset:0;z-index:3;display:grid;place-items:center;padding:24px;border-radius:22px;background:rgba(5,31,54,.58);backdrop-filter:blur(4px)}.invite-qr-dialog{position:relative;width:min(350px,100%);padding:24px;text-align:center;border:1px solid rgba(104,173,220,.48);border-radius:18px;background:linear-gradient(180deg,#fafdff,#eef8ff);box-shadow:0 22px 52px rgba(3,31,54,.28)}.invite-qr-close{position:absolute;right:10px;top:10px;width:30px;height:30px;border:0;border-radius:9px;background:#e7f2f8;color:#547184;font-size:20px;cursor:pointer}.invite-qr-dialog h3{margin:3px 0 15px;color:#123f68;font-family:"Noto Serif SC","Songti SC",SimSun,serif;font-size:20px}.invite-qr-frame{width:260px;max-width:100%;margin:0 auto 12px;padding:8px;border:1px solid #bfdbea;border-radius:14px;background:#fff;box-shadow:0 9px 22px rgba(13,91,142,.12)}.invite-qr-frame img{display:block;width:100%;height:auto;max-height:420px;object-fit:contain}.invite-qr-dialog>b{display:block;color:#ae6d16;font-size:12px}.invite-qr-dialog p{margin:5px 0 0;color:#71828d;font-size:10px}
.battle-settings-backdrop{z-index:120;padding:24px}
.battle-settings-modal{position:relative;width:min(1080px,100%);max-height:calc(100vh - 48px);overflow:hidden;border:1px solid rgba(160,201,226,.9);border-radius:22px;background:#f7fbfe;box-shadow:0 32px 90px rgba(3,38,66,.38)}
.battle-settings-modal>header{padding:24px 28px 17px;border-bottom:1px solid #d7e7f1;background:linear-gradient(115deg,rgba(255,255,255,.98),rgba(230,245,253,.96))}
.battle-settings-modal>header h2{margin:2px 0 3px;color:#123f68;font-family:"Noto Serif SC","Songti SC",SimSun,serif;font-size:25px}.battle-settings-modal>header p{margin:0;color:#668198;font-size:11px}
.battle-settings-legend{display:flex;flex-wrap:wrap;gap:7px 18px;padding:11px 28px;border-bottom:1px solid #dceaf2;background:#edf8fd;color:#47728f;font-size:10px}.battle-settings-legend span:before{content:"";display:inline-block;width:5px;height:5px;margin:0 6px 1px 0;border-radius:50%;background:#20a6aa}
.battle-settings-modal form{display:grid;grid-template-rows:auto minmax(0,1fr) auto;max-height:calc(100vh - 180px)}
.battle-settings-table-head,.battle-setting-row{display:grid;grid-template-columns:minmax(190px,1.2fr) minmax(210px,1.35fr) minmax(155px,.9fr) minmax(145px,.82fr) 78px;gap:10px;align-items:center}
.battle-settings-table-head{padding:9px 28px;color:#7890a2;font-size:9px;font-weight:800;letter-spacing:.5px}
.battle-settings-rows{overflow:auto;padding:0 18px 6px}
.battle-setting-row{min-height:88px;padding:10px;border-top:1px solid #dbe9f1;background:rgba(255,255,255,.72)}.battle-setting-row:first-child{border-top:0;border-radius:13px 13px 0 0}.battle-setting-row:last-child{border-radius:0 0 13px 13px}
.battle-setting-player{display:flex;min-width:0;align-items:center;gap:9px}.battle-setting-player>span{display:grid;flex:none;width:34px;height:34px;place-items:center;border:1px solid #a8d2e5;border-radius:50%;background:#e7f6fc;color:#1477aa;font-family:"Noto Serif SC","Songti SC",SimSun,serif;font-weight:900}.battle-setting-player>div{min-width:0}.battle-setting-player b{display:block;overflow:hidden;color:#17496f;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.battle-setting-player small{display:block;margin-top:2px;color:#7890a2;font-size:8px}.battle-setting-player em{flex:none;padding:3px 6px;border-radius:999px;background:#fff1df;color:#a96816;font-size:8px;font-style:normal;font-weight:800}.battle-setting-player em.business{background:#e8f7f3;color:#187d69}
.battle-setting-row label{display:grid;min-width:0;gap:4px}.battle-setting-row label>span{color:#607e94;font-size:9px;font-weight:800}.battle-setting-row select,.battle-setting-row input{width:100%;height:35px;min-width:0;padding:0 9px;border:1px solid #cadeea;border-radius:9px;background:#f9fcfe;color:#17496f;font-size:10px;font-weight:700}.battle-setting-row select:focus,.battle-setting-row input:focus{border-color:#2b98c9;outline:0;box-shadow:0 0 0 3px rgba(43,152,201,.12)}.battle-setting-row label small,.battle-setting-static small{display:block;overflow:hidden;color:#8598a6;font-size:7px;text-overflow:ellipsis;white-space:nowrap}.battle-setting-static{display:grid;align-content:center;height:35px;padding:0 9px;border:1px solid #d8e6ee;border-radius:9px;background:#f3f8fb}.battle-setting-static strong{color:#255b7e;font-size:10px}
.battle-setting-row-reset{height:31px;padding:0 8px;border:1px solid #d1e0e8;border-radius:8px;background:#fff;color:#668399;font-size:9px;font-weight:700;cursor:pointer}.battle-setting-row-reset:hover{border-color:#76b5d4;color:#176d9b}
.battle-settings-modal footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 28px 18px;border-top:1px solid #d7e7f0;background:#fff}.battle-settings-modal footer>div{display:flex;gap:9px}.battle-settings-modal footer button{height:38px;padding:0 18px;border-radius:10px;font-size:10px;font-weight:800;cursor:pointer}.battle-settings-reset-all,.battle-settings-cancel{border:1px solid #cddfe9;background:#f8fcfe;color:#55758c}.battle-settings-save{border:1px solid #087ab9;background:#087ab9;color:#fff;box-shadow:0 8px 18px rgba(8,122,185,.2)}
@media(max-width:900px){.battle-settings-table-head{display:none}.battle-settings-modal form{max-height:calc(100vh - 165px)}.battle-setting-row{grid-template-columns:1fr 1fr;gap:9px}.battle-setting-player{grid-column:1/3}.battle-setting-row-reset{justify-self:end}.battle-settings-modal footer{padding-left:18px;padding-right:18px}}
@media(max-width:560px){.battle-settings-backdrop{padding:8px}.battle-settings-modal{max-height:calc(100vh - 16px);border-radius:16px}.battle-settings-modal>header{padding:19px 18px 13px}.battle-settings-modal>header h2{font-size:21px}.battle-settings-legend{padding:9px 18px}.battle-setting-row{grid-template-columns:1fr}.battle-setting-player{grid-column:1}.battle-setting-row-reset{justify-self:stretch}.battle-settings-modal footer{align-items:stretch;flex-direction:column}.battle-settings-modal footer>div{display:grid;grid-template-columns:1fr 1fr}.battle-settings-reset-all{width:100%}}
.register-modal{width:min(470px,100%)}.auth-modal [data-auth-body]>p{margin:6px 0 18px;color:var(--muted);font-size:11px}.auth-modal [data-auth-body]>p b{color:#176d9a}
.register-progress{display:flex;align-items:center;margin:0 0 18px;padding:10px 13px;border:1px solid #d8e7ef;border-radius:11px;background:#f5fafc}.register-progress>span{display:flex;align-items:center;gap:6px;color:#8093a0;font-size:10px;font-weight:900}.register-progress>span:before{content:attr(data-step);display:grid;width:21px;height:21px;place-items:center;border:1px solid #cbdde7;border-radius:50%;background:#fff;color:#718b9d}.register-progress>span:first-child:before{content:"1"}.register-progress>span:last-child:before{content:"2"}.register-progress>span b{font-size:9px}.register-progress>i{flex:1;height:1px;margin:0 10px;background:#cfe0e9}.register-progress>span.active{color:#1479ad}.register-progress>span.active:before{border-color:#1687c2;background:#1687c2;color:#fff;box-shadow:0 0 0 4px rgba(22,135,194,.1)}.register-progress>span.done{color:#188271}.register-progress>span.done:before{content:"✓";border-color:#35a58d;background:#e9f8f4;color:#16806c}
.sms-code-field{display:grid;grid-template-columns:1fr 112px;gap:8px}.sms-code-field button{height:44px;border:1px solid #abd0e3;border-radius:10px;background:#edf8fd;color:#126f9f;font-size:10px;font-weight:800;cursor:pointer}.sms-code-field button:hover{border-color:#55a5ca;background:#e2f4fc}.sms-code-field button:disabled{border-color:#d7e4ea;background:#f4f7f8;color:#98a7af;cursor:not-allowed}.sms-status{color:#87959d!important;font-size:8px!important;font-weight:500!important}.sms-status.active{color:#347b9e!important}.sms-status.error{color:#bb3f46!important}
.register-form-actions{display:grid;grid-template-columns:120px 1fr;gap:9px;margin-top:3px}.register-form-actions button{height:45px;border-radius:11px;font-weight:800;cursor:pointer}.register-form-actions .register-back{border:1px solid #cedde5;background:#f7fafb;color:#617b8c}.register-form-actions button[type="submit"]{border:0;background:var(--navy);color:#fff}.auth-inline-error{color:#bd3741!important;font-size:9px!important}.auth-complete-note{min-height:220px;align-content:center}.auth-complete-note b{color:#187760}.auth-complete-note span{line-height:1.7}
@media(max-width:520px){.register-modal{padding:25px 20px}.sms-code-field{grid-template-columns:1fr 100px}.register-form-actions{grid-template-columns:105px 1fr}}
.auth-admin{height:38px;padding:0 13px;border:1px solid #f2d486;border-radius:10px;background:#fff6dd;color:#7f5d1c;font-size:10px;font-weight:800;cursor:pointer}.auth-user{display:grid;align-content:center;min-width:70px;text-align:right}.auth-user small{color:#a8d9f1;font-size:8px}.auth-user b{overflow:hidden;max-width:110px;color:#fff;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.preview-detail-shell{min-height:720px;padding-bottom:45px}.preview-detail-hero{min-height:330px;padding:80px 62px 45px;border:1px solid #c9e3f3;border-radius:0 0 25px 25px;background:#e7f5ff url("assets/celestial-hero.png") center 54%/cover no-repeat;box-shadow:0 20px 52px rgba(49,116,165,.14)}.preview-detail-hero h1{margin:7px 0 4px;color:#123e68;font-family:KaiTi,"STKaiti","Microsoft YaHei",sans-serif;font-size:48px}.preview-detail-hero>p{color:#426c8c;font-size:12px;font-weight:700}.preview-detail-stats{display:grid;grid-template-columns:repeat(3,145px);gap:9px;margin-top:24px}.preview-detail-stats article{padding:11px 14px;border:1px solid rgba(174,207,228,.8);border-radius:10px;background:rgba(255,255,255,.82)}.preview-detail-stats small{display:block;color:#66849b;font-size:9px}.preview-detail-stats strong{display:block;margin-top:2px;color:#155b8e;font-size:22px}.preview-access-card{display:grid;grid-template-columns:1fr 1.05fr;gap:18px;margin:20px auto 0;padding:25px;max-width:1180px;border:1px solid #cfe3ef;border-radius:20px;background:#fafdff;box-shadow:0 16px 42px rgba(49,107,148,.1)}.preview-access-copy{grid-column:1/3}.preview-access-copy>span{color:#1686c2;font-size:8px;font-weight:900;letter-spacing:1.5px}.preview-access-copy h2{margin:2px 0 4px;color:#164b73;font-family:"Noto Serif SC","Songti SC",SimSun,serif}.preview-access-copy p{margin:0;color:#688398;font-size:10px}.preview-public-grid{display:grid;gap:8px}.preview-public-grid article{padding:15px;border:1px solid #d8e7f0;border-radius:12px;background:#f3f9fc}.preview-public-grid small{display:block;color:#738b9c;font-size:8px}.preview-public-grid strong{display:block;margin-top:3px;color:#184f76;font-size:13px}.preview-lock{display:grid;place-items:center;padding:24px;border:1px solid #d7e5ec;border-radius:16px;background:linear-gradient(145deg,#edf8fd,#fff9e8);text-align:center}.preview-lock>span{display:block;width:42px;height:42px;border:2px solid #2b88b8;border-radius:50%;box-shadow:inset 0 0 0 8px rgba(43,136,184,.08)}.preview-lock h3{margin:9px 0 3px;color:#174c73}.preview-lock p{margin:0;color:#718795;font-size:9px}.preview-lock>div{display:flex;gap:8px;margin-top:14px}.preview-lock button{height:36px;padding:0 15px;border:1px solid #1783bc;border-radius:9px;background:#1783bc;color:#fff;font-size:10px;font-weight:800;cursor:pointer}.preview-lock button+button{border-color:#d9b154;background:#fff8e7;color:#8f681e}
.admin-backdrop{z-index:140;padding:18px}.admin-modal{position:relative;width:min(1240px,100%);height:min(900px,calc(100vh - 36px));display:grid;grid-template-rows:auto auto auto minmax(0,1fr);overflow:hidden;border:1px solid #a9cfe3;border-radius:22px;background:#eef7fc;box-shadow:0 35px 100px rgba(3,30,53,.46)}.admin-modal>header{padding:22px 28px 16px;border-bottom:1px solid #d4e6f0;background:linear-gradient(110deg,#fff,#eaf7fd)}.admin-modal>header h2{margin:2px 0;color:#123f68;font-family:"Noto Serif SC","Songti SC",SimSun,serif;font-size:25px}.admin-modal>header p{margin:0;color:#6f8799;font-size:10px}.admin-tabs{display:flex;gap:4px;padding:10px 28px;border-bottom:1px solid #d6e6ef;background:#f9fcfe}.admin-tabs button{height:34px;padding:0 16px;border:1px solid transparent;border-radius:9px;background:transparent;color:#55768d;font-size:10px;font-weight:800;cursor:pointer}.admin-tabs button.active{border-color:#acd3e6;background:#e5f5fc;color:#1478ac}.admin-notice{margin:10px 28px 0;padding:10px 13px;border:1px solid #a8d7ca;border-radius:10px;background:#eaf8f3;color:#18735f;font-size:10px}.admin-notice.error{border-color:#e2b4b8;background:#fff0f1;color:#af343d}.admin-notice span{margin-left:8px}.admin-notice small{display:block;margin-top:3px}.admin-modal>main{overflow:auto;padding:16px 28px 28px}.admin-loading{display:grid;min-height:400px;place-items:center}.admin-kpis{display:grid;grid-template-columns:repeat(6,1fr);gap:9px;margin-bottom:14px}.admin-kpis article{padding:15px;border:1px solid #d4e5ef;border-radius:12px;background:#fff;box-shadow:0 6px 16px rgba(46,103,144,.06)}.admin-kpis small{display:block;color:#748b9d;font-size:8px}.admin-kpis strong{display:block;margin-top:3px;color:#155b88;font-size:22px}.admin-panel{margin-bottom:14px;border:1px solid #d2e4ee;border-radius:15px;background:#fff;box-shadow:0 7px 22px rgba(45,101,141,.06)}.admin-panel-title{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 17px;border-bottom:1px solid #e0ebf2}.admin-panel-title span{color:#1685bd;font-size:7px;font-weight:900;letter-spacing:1.2px}.admin-panel-title h3{margin:2px 0 0;color:#174d74;font-size:15px}.admin-panel-title>small{color:#7f94a3;font-size:8px}.admin-table-wrap{overflow:auto}.admin-table-wrap table{width:100%;border-collapse:collapse;white-space:nowrap}.admin-table-wrap th{padding:9px 12px;background:#f1f7fa;color:#71899a;font-size:8px;text-align:left}.admin-table-wrap td{padding:10px 12px;border-top:1px solid #e2ecf2;color:#315b77;font-size:9px}.admin-table-wrap td b{display:block;color:#174b70;font-size:10px}.admin-table-wrap td small{display:block;margin-top:2px;color:#8195a3;font-size:7px}.admin-table-wrap select{height:30px;border:1px solid #cadae5;border-radius:7px;background:#f9fcfe;color:#285b79;font-size:9px}.admin-status{display:inline-block;padding:4px 7px;border-radius:999px;font-size:8px;font-weight:800}.admin-status.active{background:#e7f7f1;color:#187a66}.admin-status.muted{background:#eef2f4;color:#78858d}.invite-generator{display:grid;grid-template-columns:repeat(4,1fr) 1.5fr auto;gap:9px;padding:15px 17px}.invite-generator label{display:grid;gap:4px;color:#637f92;font-size:8px;font-weight:800}.invite-generator input{height:34px;min-width:0;padding:0 9px;border:1px solid #ccdee8;border-radius:8px}.invite-generator label small{font-size:7px;font-weight:500}.invite-generator button{align-self:end;height:34px;padding:0 16px;border:0;border-radius:8px;background:#087db8;color:#fff;font-size:9px;font-weight:800;cursor:pointer}.invite-code-copy{border:0;padding:0;background:transparent;color:#0875ae;font-size:9px;font-weight:800;cursor:pointer}.admin-row-action,.admin-row-actions button{height:27px;padding:0 8px;border:1px solid #cbdde7;border-radius:7px;background:#f8fcfe;color:#4d7188;font-size:8px;cursor:pointer}.admin-row-actions{display:flex;gap:5px}.admin-search{display:flex;align-items:center;gap:6px;color:#6a8395;font-size:8px}.admin-search input{height:31px;width:210px;padding:0 9px;border:1px solid #cbdde8;border-radius:8px}.admin-error{display:grid;min-height:300px;place-items:center;color:#b33b43}.admin-error b,.admin-error span{display:block}
.auth-form-error{display:block;padding:8px 10px;border:1px solid #e7bec1;border-radius:8px;background:#fff2f3;color:#b53942!important;font-size:9px!important}.auth-modal button:disabled{opacity:.62;cursor:not-allowed}
@media(max-width:960px){.preview-access-card{grid-template-columns:1fr}.preview-access-copy{grid-column:1}.admin-kpis{grid-template-columns:repeat(3,1fr)}.invite-generator{grid-template-columns:repeat(2,1fr)}.invite-generator button{height:38px}.admin-modal{height:calc(100vh - 20px)}.admin-backdrop{padding:10px}}
@media(max-width:680px){.preview-detail-hero{padding:70px 20px 28px}.preview-detail-stats{grid-template-columns:repeat(3,1fr)}.preview-access-card{margin:12px 10px 0;padding:15px}.preview-lock>div{flex-direction:column;width:100%}.admin-modal>main{padding:12px}.admin-modal>header{padding:18px}.admin-tabs{overflow:auto;padding:8px 13px}.admin-tabs button{flex:none}.admin-kpis{grid-template-columns:repeat(2,1fr)}.invite-generator{grid-template-columns:1fr}.admin-notice{margin-left:12px;margin-right:12px}}
.prototype-note{min-height:205px;display:grid;place-items:center;align-content:center;text-align:center;gap:7px;padding:20px;background:#f5f8f8;border-radius:14px}.prototype-note b{font-size:18px}.prototype-note span{color:var(--muted);font-size:11px}.prototype-note button{margin-top:8px;border:0;border-radius:10px;background:var(--navy);color:#fff;padding:9px 18px;cursor:pointer}
.detail-mode-tabs{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:17px 0 0;padding:7px;border:1px solid #d9e3e6;border-radius:18px;background:#eaf0f1;box-shadow:var(--shadow-sm)}.detail-mode-tabs button{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:13px;align-items:center;min-height:77px;padding:14px 18px;border:0;border-radius:13px;background:transparent;color:#60727d;text-align:left;cursor:pointer;transition:.2s}.detail-mode-tabs button span{grid-row:1/3;display:grid;place-items:center;width:72px;height:45px;border-radius:11px;background:#dbe5e7;color:#506773;font-size:9px;font-weight:900;letter-spacing:1px}.detail-mode-tabs button b{align-self:end;color:#314b59;font-size:17px}.detail-mode-tabs button small{align-self:start;font-size:11px}.detail-mode-tabs button[aria-selected="true"]{background:#fff;color:#576d77;box-shadow:0 7px 18px rgba(20,48,61,.09)}.detail-mode-tabs button[aria-selected="true"] span{background:linear-gradient(135deg,var(--navy),#0c5968);color:#fff}.detail-mode-tabs button[aria-selected="true"] b{color:var(--ink)}
.detail-mode-panel{display:none}.detail-mode-panel.active{display:block}
.battle-intel-shell{margin-top:17px;padding:25px;border:1px solid #cadbde;border-radius:22px;background:linear-gradient(180deg,#f7faf9 0,#eef4f4 100%);box-shadow:var(--shadow-sm)}.battle-intel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:24px 26px;border-radius:18px;background:linear-gradient(120deg,#071e30,#0b4c5b);color:#fff;box-shadow:0 15px 35px rgba(7,30,48,.18)}.battle-intel-head h2{margin:5px 0 6px;font-size:27px}.battle-intel-head p{margin:0;color:#c4d8de;font-size:12px}.battle-save-state{display:flex;align-items:center;gap:8px;white-space:nowrap;color:#c7d9de;font-size:11px}.battle-save-state i{width:8px;height:8px;border-radius:50%;background:#5ed2a6;box-shadow:0 0 0 5px rgba(94,210,166,.13)}.battle-save-state button{margin-left:10px;padding:8px 12px;border:1px solid rgba(255,255,255,.24);border-radius:9px;background:rgba(255,255,255,.08);color:#fff;font-weight:800;cursor:pointer}.battle-assumption-note{display:flex;align-items:flex-start;gap:10px;margin:13px 4px 18px;padding:11px 14px;border-left:3px solid #d19a35;border-radius:0 10px 10px 0;background:#fff8e9;color:#665b45;font-size:11px;line-height:1.7}.battle-assumption-note b{flex:0 0 auto;color:#8b641b}
.battle-builder-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:15px}.battle-pool-panel,.battle-lineup-panel{padding:20px;border:1px solid #dbe5e7;border-radius:17px;background:#fff}.battle-panel-title{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:14px}.battle-panel-title span,.battle-simulation-title span{color:var(--teal);font-size:9px;font-weight:900;letter-spacing:1.4px}.battle-panel-title h3{margin:3px 0 0;font-size:17px}.battle-panel-title small{color:var(--muted);font-size:11px}.battle-roster-pool{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.battle-player-choice{display:grid;grid-template-columns:1fr auto;gap:2px 8px;padding:11px 12px;border:1px solid #dfe8ea;border-radius:12px;background:#f8faf9;color:var(--ink);text-align:left;cursor:grab}.battle-player-choice span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:900}.battle-player-choice b{padding:2px 5px;border-radius:5px;background:#e7f3f1;color:#27706b;font-size:10px}.battle-player-choice small{grid-column:1/-1;color:#71818a;font-size:10px}.battle-player-choice.selected{border-color:#2b8079;background:#e9f6f3;box-shadow:inset 0 0 0 1px #2b8079}.battle-player-choice:active,.battle-lineup-slot:active{cursor:grabbing}
.battle-lineup-slots{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.battle-lineup-slot{position:relative;display:grid;align-content:center;min-height:104px;padding:11px 8px;border:1px solid #cddde0;border-radius:13px;background:linear-gradient(160deg,#f5faf9,#fff);cursor:grab}.battle-lineup-slot>span{position:absolute;left:7px;top:7px;display:grid;place-items:center;width:20px;height:20px;border-radius:6px;background:var(--navy);color:#fff;font-size:9px;font-weight:900}.battle-lineup-slot div{min-width:0;text-align:center}.battle-lineup-slot strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.battle-lineup-slot small{display:block;margin-top:5px;color:#657984;font-size:9px;line-height:1.4}.battle-lineup-slot button{position:absolute;right:5px;top:5px;width:22px;height:22px;border:0;border-radius:6px;background:#eef2f3;color:#75858d;cursor:pointer}.battle-lineup-slot.empty{place-items:center;border-style:dashed;background:#f7f9f9;color:#86949b;cursor:default}.battle-lineup-slot.empty p{margin:13px 0 0;font-size:10px}.formation-drop-wrap{margin-top:12px;padding-top:12px;border-top:1px solid #e3eaec}.formation-drop-zone{display:flex;align-items:center;gap:11px;padding:10px 12px;border:1px dashed #b9cdd1;border-radius:12px;background:#f6f9f9}.formation-drop-zone>span{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#e9f2f2;color:#376d70;font-family:KaiTi,"STKaiti",serif;font-size:20px}.formation-drop-zone small{display:block;color:#798b94;font-size:9px}.formation-drop-zone strong{font-size:13px}.formation-drop-zone.selected{border-style:solid;border-color:#d3a544;background:#fff9ea}.formation-drop-zone.selected>span{background:#ffedc3;color:#8a6212}.battle-formation-pool{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}.battle-formation-pool button{padding:6px 9px;border:1px solid #dce5e7;border-radius:8px;background:#fff;color:#536a76;font-size:10px;font-weight:800;cursor:grab}.battle-formation-pool button.selected{border-color:#bf8b25;background:#fff1cf;color:#805b15}
.battle-simulation-title{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:25px 2px 12px}.battle-simulation-title h2{margin:3px 0 0;font-size:22px}.battle-simulation-title p{margin:0;color:var(--muted);font-size:11px}.battle-simulation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.fighter-sim-card{min-width:0;padding:18px;border:1px solid #d9e4e6;border-radius:17px;background:#fff;box-shadow:0 8px 22px rgba(17,53,66,.06)}.fighter-sim-card.knocked-out{border-color:#e2bcbc;background:#fffafa}.fighter-head{display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:10px}.fighter-head>span{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:var(--navy);color:#fff;font-weight:900}.fighter-head h3{margin:0;font-size:15px}.fighter-head p{margin:3px 0 0;color:#70818a;font-size:10px}.fighter-head>b{padding:4px 7px;border-radius:7px;background:#e8f4ee;color:#297458;font-size:10px}.knocked-out .fighter-head>b{background:#f7e5e5;color:#9a4141}.fighter-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:14px}.fighter-controls label{min-width:0;padding:7px 8px;border-radius:9px;background:#f3f6f6}.fighter-controls label>span{display:block;margin-bottom:4px;color:#788a93;font-size:9px}.fighter-controls input,.fighter-controls select{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--ink);font-size:11px;font-weight:800}.fighter-controls .static-control strong{font-size:12px}.resource-block{margin-top:15px}.resource-label{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px}.resource-label span{color:#647883;font-size:10px;font-weight:800}.resource-label strong{font-size:16px}.resource-label small{color:#87969d;font-size:10px}.resource-track,.fury-track{position:relative;height:10px;border-radius:999px;background:#e7edef}.resource-track i,.fury-track>i{display:block;height:100%;border-radius:inherit;transition:width .2s}.hp-resource .resource-track i{background:linear-gradient(90deg,#bf4949,#e68850 42%,#3fa776)}.resource-block>p{margin:6px 0 0;color:#819098;font-size:9px}.hp-stat-trio{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-bottom:8px}.hp-stat-trio div{padding:7px 8px;border-radius:9px;background:#f4f7f7}.hp-stat-trio span{display:block;color:#73858e;font-size:8px}.hp-stat-trio strong{display:block;margin-top:2px;font-size:14px}.hp-stat-trio div:first-child strong{color:#b04444}.hp-stat-trio div:nth-child(2) strong{color:#a56b1c}.hp-stat-trio div:last-child strong{color:#326d68}.hp-three-track{height:12px;overflow:hidden;background:#dfe8e8}.hp-three-track .hp-limit-fill{position:absolute;inset:0 auto 0 0;border-radius:inherit;background:#e7b65a}.hp-three-track .hp-current-fill{position:absolute;inset:2px auto 2px 0;z-index:2;border-radius:999px;background:linear-gradient(90deg,#bd4545,#de7551);transition:width .2s}.hp-track-legend{display:flex;justify-content:space-between;margin-top:4px;color:#7b898f;font-size:7px}.hp-track-legend span:first-child{color:#b04444}.hp-track-legend span:nth-child(2){color:#9a6d21}.hp-track-legend span:last-child{color:#326d68}.fury-resource{padding-bottom:2px}.fury-track{margin-bottom:37px;background:#eee7d8}.fury-track>i{background:linear-gradient(90deg,#d58d28,#f1c34f)}.fury-marker{position:absolute;top:-3px;width:2px;height:16px;background:#8f8270;transform:translateX(-50%)}.fury-marker>b{position:absolute;left:50%;top:-16px;transform:translateX(-50%);color:#88745b;font-size:8px}.fury-marker em{position:absolute;left:50%;top:19px;max-width:86px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;transform:translateX(-50%);color:#83745e;font-size:8px;font-style:normal}.fury-marker.ready{background:#228465}.fury-marker.ready>b,.fury-marker.ready em{color:#167054;font-weight:900}.fury-marker.confirmed{background:#d02727}.fury-marker.confirmed>b,.fury-marker.confirmed em{color:#c52222;font-weight:900}.available-specials{display:flex;align-items:flex-start;gap:8px;padding:8px 10px;border-radius:9px;background:#f3f5f5;color:#657780;font-size:10px}.available-specials span{flex:0 0 auto;font-weight:900}.available-specials strong{color:#445b66;line-height:1.4}.available-specials strong i{font-style:normal}.available-specials strong .confirmed-special-text{color:#c52222;font-weight:900}.available-specials.ready{background:#e8f6ee;color:#247455}.available-specials.ready strong{color:#176c4d}
.damage-entry{display:grid;grid-template-columns:1fr auto auto;gap:6px;margin-top:12px}.damage-entry label{display:flex;align-items:center;gap:7px;min-width:0;padding:8px 9px;border:1px solid #dce4e6;border-radius:9px}.damage-entry label span{flex:0 0 auto;color:#74858e;font-size:9px}.damage-entry input{min-width:0;width:100%;border:0;outline:0;font-size:12px;font-weight:800}.damage-entry button{border:0;border-radius:9px;background:var(--navy);color:#fff;padding:0 11px;font-size:10px;font-weight:900;cursor:pointer}.damage-entry button.ghost{border:1px solid #dce4e6;background:#fff;color:#61747e}.damage-entry button:disabled{opacity:.42;cursor:not-allowed}.damage-log{display:flex;flex-wrap:wrap;gap:5px;min-height:24px;margin-top:8px}.damage-log span{padding:4px 6px;border-radius:6px;background:#faeeee;color:#9b4646;font-size:9px}.damage-log span b{margin-left:4px;color:#9a6d19}.damage-log small{color:#8a989f;font-size:9px}.observed-special-list{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin-top:10px;padding-top:10px;border-top:1px solid #e6ecee}.observed-special-list>span{margin-right:3px;color:#75878f;font-size:9px;font-weight:900}.observed-special-list b{padding:4px 6px;border-radius:6px;background:#f1f3f4;color:#5b6e77;font-size:9px}.observed-special-list b i{margin-left:3px;color:#9a772f;font-style:normal}.observed-special-list b.ready{background:#e8f6ee;color:#1e7253}.observed-special-list small{color:#8c999f;font-size:9px}.battle-kb-note{display:flex;align-items:flex-start;gap:10px;margin-top:14px;padding:11px 13px;border-radius:10px;background:#e8f0f1;color:#62747d;font-size:10px;line-height:1.6}.battle-kb-note b{flex:0 0 auto;color:#334f5d}
.fury-rule-note span{display:flex;flex-wrap:wrap;gap:5px}.fury-rule-note span i{padding:2px 7px;border:1px solid #ecd8aa;border-radius:999px;background:#fffdf6;color:#745d2f;font-style:normal;font-weight:800}.fury-rule-note span em{flex-basis:100%;color:#776b53;font-style:normal}.infer-lineup-button{padding:7px 10px;border:1px solid #b7d2cf;border-radius:8px;background:#edf8f6;color:#226d67;font-size:10px;font-weight:900;cursor:pointer}.battle-lineup-slot{min-height:132px}.battle-lineup-slot .position-effect{display:block;margin-top:8px;padding:5px 4px;border-radius:6px;background:#edf5f4;color:#2f6f6b;font-size:8px;line-height:1.35;white-space:normal}.battle-lineup-slot.empty .position-effect{max-width:100%;margin-top:5px}.formation-drop-zone em{display:block;margin-top:3px;color:#8a6a27;font-size:9px;font-style:normal}.initial-fury-control small{display:block;margin-top:3px;color:#a06f19;font-size:8px;line-height:1.25}.special-carry-block{margin-top:12px;padding:10px;border:1px solid #e3e6df;border-radius:11px;background:#fbfbf7}.special-carry-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.special-carry-title>span{color:#5b6e68;font-size:10px;font-weight:900}.special-carry-title small{color:#7f8983;font-size:8px}.special-carry-title small b{color:#bb3030}.special-carry-chips{display:flex;flex-wrap:wrap;gap:5px;min-height:25px;margin-top:7px}.special-carry-chip{padding:4px 7px;border:1px solid #d7ddda;border-radius:999px;background:#fff;color:#566862;font-family:inherit;font-size:9px;font-weight:400;cursor:pointer}.special-carry-chip i{margin-left:2px;color:#94722e;font-style:normal}.special-carry-chip.confirmed{border-color:#dc9898;background:#fff0f0;color:#c52222;font-weight:900}.special-carry-chip.confirmed i{color:#c52222}.special-carry-chips>small{align-self:center;color:#929c97;font-size:8px}.special-confirm-row{display:grid;grid-template-columns:1fr auto;gap:6px;margin-top:7px}.special-confirm-row select{min-width:0;padding:6px 7px;border:1px solid #dce3e0;border-radius:7px;background:#fff;color:#52635e;font-size:9px}.special-confirm-row button{border:0;border-radius:7px;background:#8f2424;color:#fff;padding:0 9px;font-size:9px;font-weight:900;cursor:pointer}.battle-action-grid{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:12px;padding-right:74px}.battle-action-grid .damage-entry{grid-template-columns:1fr auto;margin:0}.drink-entry{display:grid;grid-template-columns:1fr auto;gap:6px}.fixed-drink>span{display:flex;align-items:center;padding:8px 9px;border:1px solid #d8e4dc;border-radius:9px;background:#f7fcf8;color:#5f7e69;font-size:9px;font-weight:800}.drink-entry button{border:0;border-radius:9px;background:#28724d;color:#fff;padding:0 10px;font-size:10px;font-weight:900;cursor:pointer}.battle-action-grid button:disabled{opacity:.42;cursor:not-allowed}.undo-event{position:absolute;right:0;top:0;bottom:0;width:67px;border:1px solid #dce4e6;border-radius:9px;background:#fff;color:#61747e;font-size:9px;font-weight:900;cursor:pointer}.damage-log span i{margin-left:4px;color:#a17878;font-style:normal}.damage-log .drink-log{background:#edf7ef;color:#347252}.damage-log .drink-log b{color:#24734b}
.fury-track{margin-bottom:61px}.fury-marker em{top:calc(19px + var(--marker-level,0)*12px)}
.fighter-sim-card{position:relative;z-index:1}.fighter-sim-card:focus-within{z-index:20}.fighter-controls{position:relative;z-index:5}.fighter-controls select{position:relative;z-index:6}.special-carry-chip em{margin-left:4px;color:inherit;font-size:8px;font-style:normal}.special-carry-chip:disabled{cursor:not-allowed;opacity:.48}.special-carry-chip.confirmed:disabled{opacity:.78}.special-confirm-row button:disabled{cursor:not-allowed;opacity:.45}.battle-action-grid>.damage-entry,.drink-entry,.medicine-entry{grid-column:1/-1}.heal-entry button{background:#25775f}.medicine-entry{display:grid;grid-template-columns:minmax(0,1fr) 92px auto;gap:6px}.medicine-entry label{display:flex;align-items:center;gap:7px;min-width:0;padding:8px 9px;border:1px solid #d8e4dc;border-radius:9px;background:#f8fcf9}.medicine-entry label span{flex:0 0 auto;color:#5f7e69;font-size:9px}.medicine-entry input,.medicine-entry select{min-width:0;width:100%;border:0;outline:0;background:transparent;color:#335f4a;font-size:10px;font-weight:800}.medicine-entry button{border:0;border-radius:9px;background:#25775f;color:#fff;padding:0 11px;font-size:10px;font-weight:900;cursor:pointer}.medicine-entry button:disabled{cursor:not-allowed;opacity:.42}.medicine-entry small{grid-column:1/-1;color:#6e8277;font-size:8px;line-height:1.45}.revive-entry{grid-template-columns:minmax(0,1fr) auto}.revive-entry button{background:#8e4d25}.damage-log .heal-log,.damage-log .medicine-log{background:#eaf7f0;color:#287357}.damage-log .heal-log b,.damage-log .medicine-log b{color:#1d7451}.damage-log .revive-log{background:#fff3e7;color:#945426}.damage-log .revive-log b{color:#894315}.damage-log .special-log{background:#fff0f0;color:#ad3030}.damage-log .special-log b{color:#c52222}
.hp-three-track{height:26px;background:#d9dde0}.hp-resource .hp-three-track .hp-limit-fill{background:#5c646c}.hp-three-track .hp-current-fill{inset:3px auto 3px 0;background:linear-gradient(90deg,#b83e46,#df6d51)}.hp-track-value{position:absolute;left:50%;top:50%;z-index:3;transform:translate(-50%,-50%);padding:3px 7px;border-radius:6px;background:rgba(255,255,255,.86);box-shadow:0 1px 4px rgba(18,37,48,.18);color:#253c48;font-size:10px;white-space:nowrap}.battle-round-status{padding:7px 11px;border:1px solid #d5e2e1;border-radius:999px;background:#f3f8f7;color:#60777c!important;font-size:10px!important;font-weight:800;white-space:nowrap}.battle-next-round-fab{position:fixed;right:24px;bottom:24px;z-index:120;min-width:142px;padding:13px 19px;border:1px solid rgba(255,255,255,.34);border-radius:999px;background:linear-gradient(135deg,#174c58,#237b71);box-shadow:0 12px 30px rgba(16,55,65,.28),0 3px 8px rgba(16,55,65,.18);color:#fff;font-size:12px;font-weight:900;letter-spacing:.2px;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}.battle-next-round-fab:before{content:"↻";display:inline-block;margin-right:7px;font-size:15px;line-height:1;vertical-align:-1px}.battle-next-round-fab:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(16,55,65,.32),0 4px 10px rgba(16,55,65,.2);filter:saturate(1.08)}.battle-next-round-fab:active{transform:translateY(0);box-shadow:0 7px 18px rgba(16,55,65,.24)}.battle-next-round-fab:focus-visible{outline:3px solid rgba(66,177,161,.34);outline-offset:3px}.damage-log .round-log{background:#eef1f4;color:#586672}.damage-log .round-log b{color:#3d4d59}
@media(max-width:1150px){.home-hero{grid-template-columns:1fr;gap:28px}.hero-kpis{max-width:700px}.teams{grid-template-columns:repeat(2,1fr)}.speed-track{grid-template-columns:repeat(2,minmax(180px,1fr))}.summon-grid{grid-template-columns:repeat(2,1fr)}.battle-builder-grid{grid-template-columns:1fr}.battle-simulation-grid{grid-template-columns:1fr}}
@media(max-width:900px){.detail-grid,.intel-summary-grid,.player-dashboard{grid-template-columns:1fr}.speed-track{grid-template-columns:1fr}.speed-track:before{left:27px;right:auto;top:20px;bottom:20px;width:2px;height:auto}.speed-track article{display:grid;grid-template-columns:56px 1fr 140px auto;text-align:left;align-items:center;gap:12px;padding:5px}.speed-person h3{margin-top:0}.speed-value{margin:0;text-align:center}.sample-chip{margin:0}.overall-order-list{grid-template-columns:1fr}.player-intel-head{align-items:stretch;flex-direction:column}.player-intel-head label{min-width:0}.summon-grid{grid-template-columns:1fr}.detail-stats{grid-template-columns:repeat(3,1fr)}}
@media(max-width:680px){.topbar{height:64px;padding:0 14px}.brand{font-size:15px;gap:8px}.brand-mark{width:34px;height:34px}.auth-nav button{height:35px;padding:0 12px;font-size:12px}main{padding:15px 12px 45px}.home-hero{min-height:auto;padding:36px 22px 68px;border-radius:20px}.hero-copy h1{font-size:37px}.hero-copy p{font-size:13px}.hero-kpis{grid-template-columns:1fr}.hero-kpis article{padding:13px 15px}.search-shell{width:calc(100% - 20px);margin-top:-45px;padding:15px;border-radius:16px}.stage-row{display:block}.stage-row>span{display:block;margin-bottom:8px}.stage-note{margin-left:0}.results-head{align-items:flex-start;gap:10px}.results-head h2{font-size:21px}.results-head p{text-align:right}.teams{grid-template-columns:1fr}.team-card{min-height:345px}.detail-hero{padding:29px 22px;grid-template-columns:1fr}.detail-title h1{font-size:31px}.detail-rank{position:absolute;right:18px;top:25px;border:0}.detail-stats{grid-template-columns:repeat(3,1fr);gap:6px}.detail-stats article{padding:10px}.detail-stats strong{font-size:18px}.intel-summary-grid{grid-template-columns:1fr}.summary-card{align-items:flex-start}.content-panel{padding:17px}.cluster-topline{display:block}.cluster-topline>strong{display:block;margin-top:7px}.cluster-meta{display:grid;gap:5px}.cluster-main-formation{padding-left:0;border-left:0}.detail-grid{grid-template-columns:1fr}.formation-list article{grid-template-columns:120px 1fr 42px}.formation-name{grid-template-columns:22px 1fr}.formation-name small{display:none}.speed-track article{grid-template-columns:48px 1fr 105px}.order-medal{width:46px;height:46px;border-radius:14px}.sample-chip{display:none}.overall-order-row{grid-template-columns:32px 49px 1fr auto}.overall-order-row>small{display:none}.player-intel-head{padding:24px 20px 18px}#playerBoard{padding:18px}.hp-range{grid-template-columns:1fr}.scheme-list article{grid-template-columns:65px 60px 1fr}.evidence-strip{align-items:flex-start;flex-wrap:wrap}.evidence-strip details{margin:0;max-width:100%;width:100%}footer{display:grid;text-align:center;gap:2px}}
@media(max-width:680px){.composition-cluster-panel .section-title{align-items:flex-start;flex-direction:column}.achievement-heading{white-space:normal}.cluster-stage-row{align-items:flex-start;flex-direction:column}.cluster-stage-row>strong{align-self:flex-end}}
@media(max-width:900px){.battle-intel-head{align-items:stretch;flex-direction:column}.battle-save-state{justify-content:flex-end}.battle-lineup-slots{grid-template-columns:repeat(3,minmax(0,1fr))}.detail-mode-tabs button{grid-template-columns:auto 1fr}.fighter-controls{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.detail-mode-tabs{grid-template-columns:1fr;padding:5px}.detail-mode-tabs button{min-height:67px;padding:10px 12px}.detail-mode-tabs button span{width:62px;height:39px}.battle-intel-shell{padding:12px;border-radius:17px}.battle-intel-head{padding:19px}.battle-intel-head h2{font-size:23px}.battle-save-state{align-items:flex-start;justify-content:space-between;white-space:normal}.battle-assumption-note{display:block}.battle-assumption-note b{display:block;margin-bottom:3px}.battle-pool-panel,.battle-lineup-panel{padding:14px}.battle-roster-pool{grid-template-columns:1fr 1fr}.battle-lineup-slots{grid-template-columns:repeat(2,minmax(0,1fr))}.battle-lineup-slot{min-height:91px}.battle-simulation-title{align-items:flex-start;flex-direction:column}.fighter-sim-card{padding:14px}.fighter-controls{grid-template-columns:1fr 1fr}.damage-entry{grid-template-columns:1fr auto}.damage-entry button.ghost{grid-column:2}.fury-marker em{max-width:58px}.battle-kb-note{display:block}.battle-kb-note b{display:block;margin-bottom:3px}}
@media(max-width:680px){.battle-lineup-slot{min-height:132px}.battle-panel-title{align-items:flex-start}.infer-lineup-button{max-width:105px}.fury-rule-note span{margin-top:6px}.special-carry-title{align-items:flex-start;flex-direction:column}.battle-action-grid{grid-template-columns:1fr;padding-right:0;padding-bottom:38px}.medicine-entry{grid-template-columns:1fr}.medicine-entry small{grid-column:1}.medicine-entry button{min-height:32px}.undo-event{top:auto;left:0;right:0;bottom:0;width:100%;height:31px}.special-confirm-row{grid-template-columns:1fr}.special-confirm-row button{min-height:30px}.battle-next-round-fab{right:12px;bottom:max(14px,env(safe-area-inset-bottom));min-width:132px;padding:12px 16px}.battle-round-status{align-self:flex-start}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* 2026-08-07 · 灵兽星盘视觉系统 */
:root{
  --ink:#12385f;--ink-2:#24527a;--navy:#075a9d;--navy-2:#0878b9;--blue:#168ed0;
  --teal:#19a6af;--teal-soft:#e6f8f8;--gold:#d7a33d;--gold-soft:#fff6dd;
  --paper:#edf6fb;--white:#fff;--line:#cfe2ef;--muted:#68829a;--green:#188e75;
  --red:#c4454c;--shadow:0 20px 52px rgba(48,112,157,.12);--shadow-sm:0 9px 26px rgba(48,112,157,.09);
}
html{background:#eaf4fb}
body{overflow-x:hidden;background:#edf6fb;color:var(--ink)}
button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid rgba(22,142,208,.28);outline-offset:3px}
.brand-copy{display:grid;gap:0;text-align:left;line-height:1.1}
.brand-copy small{color:#9fd9f6;font-size:9px;font-weight:700;letter-spacing:2px}
.brand-copy strong{font-size:18px;font-weight:900;letter-spacing:.3px}
.topbar{background:#075a9d;border-bottom-color:rgba(255,255,255,.15);box-shadow:0 8px 28px rgba(4,69,122,.18)}
.brand-mark{background:#fff6dd;color:#94681a;box-shadow:inset 0 0 0 1px rgba(215,163,61,.36),0 8px 20px rgba(4,58,105,.18)}
.auth-primary{border-color:#ffe6a5;background:#fff3d5;color:#845e17}
.auth-primary:hover{background:#fff8e9}
main{max-width:1480px}

/* 队伍库 */
.home-hero{min-height:360px;color:var(--ink);background-color:#e9f6ff;background-image:url("assets/celestial-hero.png");background-size:cover;background-position:center 53%;box-shadow:0 24px 58px rgba(45,112,162,.17)}
.home-hero:after,.hero-orb{display:none}
.home-hero .overline{color:#147ab4}
.hero-copy{padding:8px 0}
.hero-copy h1{max-width:680px;color:#123e68;text-shadow:0 1px 0 rgba(255,255,255,.7)}
.hero-copy h1 em{color:#bc811e}
.hero-copy p{max-width:690px;color:#416887;font-weight:600;text-shadow:0 1px 0 rgba(255,255,255,.8)}
.hero-kpis article{border-color:rgba(169,205,229,.8);background:rgba(255,255,255,.8);box-shadow:0 8px 25px rgba(58,124,169,.08);backdrop-filter:blur(14px)}
.hero-kpis article>span{background:#e5f3fb;color:#187bb3}
.hero-kpis small{color:#69869e}.hero-kpis strong{color:#164f7d}
.search-shell{border-color:#d2e7f3;box-shadow:0 20px 48px rgba(45,112,162,.13)}
.search-box input{border-color:#c8deeb;background:#fafdff}.search-box input:focus{border-color:#168ed0;box-shadow:0 0 0 4px rgba(22,142,208,.12)}
.search-icon{border-color:#168ed0}.search-icon:after{background:#168ed0}
.stage-tabs button.active{border-color:#168ed0;background:#e7f5fc;color:#126da0}
.team-card{border-color:#d5e5ef;box-shadow:0 9px 26px rgba(47,105,145,.08)}
.team-card:hover{border-color:#9dcae3;box-shadow:0 20px 42px rgba(38,103,150,.14)}
.intel-button{background:#0c73b6;box-shadow:0 8px 18px rgba(12,115,182,.18)}

/* 桌面详情页：左侧星盘轨道 */
body.detail-view{--detail-rail:146px;background:#eef7fc}
.detail-view .topbar{position:fixed;inset:0 auto 0 0;z-index:65;width:var(--detail-rail);height:100vh;padding:28px 14px 22px;display:flex;flex-direction:column;justify-content:space-between;background-color:#0762a9;background-image:url("assets/celestial-rail.png");background-size:100% 100%;background-position:center;border:0;box-shadow:8px 0 28px rgba(22,89,139,.16)}
.detail-view .brand{width:100%;flex-direction:column;gap:11px;text-align:center}
.detail-view .brand-mark{width:50px;height:50px;border-radius:50%;font-size:26px}
.detail-view .brand-copy{text-align:center}.detail-view .brand-copy small{color:#d2efff}.detail-view .brand-copy strong{font-family:KaiTi,"STKaiti","Microsoft YaHei",sans-serif;font-size:20px;line-height:1.25}
.detail-view .auth-nav{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:5px}
.detail-view .auth-nav button{height:32px;padding:0 5px;border-radius:9px;font-size:10px}
.detail-view main{max-width:none;margin-left:var(--detail-rail);padding:0 30px 70px}
.detail-view footer{margin-left:var(--detail-rail);background:#eef7fc;border-color:#d6e8f2}
.detail-view .back-button{position:absolute;z-index:8;margin:16px 0 0 24px;padding:7px 11px;border:1px solid rgba(116,166,200,.45);border-radius:999px;background:rgba(255,255,255,.72);color:#2f6a95;font-size:11px;backdrop-filter:blur(8px)}
.detail-hero{min-height:258px;grid-template-columns:minmax(0,680px) 1fr;grid-template-rows:1fr auto;align-items:end;gap:20px 36px;padding:46px 54px 22px;color:var(--ink);border:1px solid #c9e3f3;border-radius:0 0 25px 25px;background-color:#e7f5ff;background-image:url("assets/celestial-hero.png");background-size:cover;background-position:center 54%;box-shadow:0 20px 52px rgba(49,116,165,.14)}
.detail-hero:after{display:none}
.detail-title{align-self:end}.detail-title .overline{display:inline-block;margin:0 0 9px;padding:5px 11px;border:1px solid #a8cde4;border-radius:999px;background:rgba(255,255,255,.62);color:#176f9f;letter-spacing:1.3px}
.detail-title h1{color:#123e68;font-family:KaiTi,"STKaiti","Microsoft YaHei",sans-serif;font-size:46px;font-weight:900;letter-spacing:1px;text-shadow:0 1px 0 #fff}
.detail-title p{margin-top:7px;color:#426c8c;font-size:12px;font-weight:700}
.detail-title .confidence{border-color:#8ccdc6;background:#e7faf6;color:#177a6c}
.detail-rank{grid-column:2;grid-row:1/3;align-self:center;justify-self:end;display:grid;place-items:center;width:128px;height:128px;min-width:0;padding:18px;border:1px solid rgba(215,163,61,.55);border-radius:50%;background:rgba(255,255,255,.74);text-align:center;box-shadow:inset 0 0 0 7px rgba(255,255,255,.44),0 10px 28px rgba(58,117,158,.09);backdrop-filter:blur(8px)}
.detail-rank small{color:#54738c;font-size:9px}.detail-rank strong{margin:0;color:#c48b21;font-family:KaiTi,"STKaiti",serif;font-size:34px}
.detail-stats{grid-column:1;grid-row:2;grid-template-columns:repeat(3,145px);gap:9px;margin:0}
.detail-stats article{padding:10px 14px;border-color:rgba(174,207,228,.78);background:rgba(255,255,255,.78);box-shadow:0 6px 18px rgba(52,111,153,.06);backdrop-filter:blur(10px)}
.detail-stats small{color:#65839a}.detail-stats strong{color:#155b8e;font-size:21px}

/* 左侧模式切换 */
.detail-view .detail-mode-tabs{position:fixed;left:10px;top:218px;z-index:75;width:126px;display:grid;grid-template-columns:1fr;gap:16px;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.detail-view .detail-mode-tabs button{display:grid;grid-template-columns:1fr;grid-template-rows:auto auto;justify-items:center;gap:4px;min-height:82px;padding:12px 8px;border:1px solid transparent;border-radius:17px;background:rgba(4,89,151,.2);color:#e8f8ff;text-align:center;box-shadow:none;backdrop-filter:blur(5px)}
.detail-view .detail-mode-tabs button span{grid-row:auto;width:auto;height:auto;padding:0;border-radius:0;background:transparent;color:#bfe8fb;font-size:8px;letter-spacing:1px}
.detail-view .detail-mode-tabs button b{align-self:auto;color:#fff;font-size:15px}.detail-view .detail-mode-tabs button small{display:none}
.detail-view .detail-mode-tabs button[aria-selected="true"]{border-color:#e8ca7a;background:#fffdf6;color:#8b651c;box-shadow:0 9px 24px rgba(2,64,114,.2)}
.detail-view .detail-mode-tabs button[aria-selected="true"] span{background:transparent;color:#b27c1f}.detail-view .detail-mode-tabs button[aria-selected="true"] b{color:#176b9f}
.detail-mode-overview{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:14px 0 0;overflow:hidden;border:1px solid #d2e5f0;border-radius:17px;background:rgba(255,255,255,.75);box-shadow:0 9px 26px rgba(45,103,144,.07);backdrop-filter:blur(10px)}
.detail-mode-overview button{position:relative;display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;align-items:center;gap:0 15px;min-height:78px;padding:13px 26px;border:0;background:transparent;color:#527088;text-align:left;cursor:pointer}
.detail-mode-overview button+button{border-left:1px solid #dbe9f1}.detail-mode-overview button span{grid-row:1/3;padding:6px 9px;border-radius:8px;background:#eaf4f9;color:#6c91a8;font-size:8px;font-weight:900;letter-spacing:1px}.detail-mode-overview button b{align-self:end;color:#315b79;font-size:16px}.detail-mode-overview button small{align-self:start;color:#7a91a2;font-size:10px}
.detail-mode-overview button[aria-selected="true"]{background:rgba(255,255,255,.92)}.detail-mode-overview button[aria-selected="true"]:after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:#168ed0}.detail-mode-overview button[aria-selected="true"] span{background:#e3f3fb;color:#127cb7}.detail-mode-overview button[aria-selected="true"] b{color:#174e76}

/* 详情内容通用表面 */
.intel-summary-grid{margin-top:18px}.summary-card,.content-panel,.player-intel,.evidence-strip{border-color:#d4e5ef;box-shadow:0 9px 26px rgba(45,103,144,.075)}
.summary-card{background:rgba(255,255,255,.92)}
.summary-icon{background:#e6f4fb;color:#1577ad}
.primary-formation .summary-icon{background:#fff5dc;color:#ad781c}
.content-panel{background:rgba(255,255,255,.94)}
.section-title .overline,.battle-panel-title span,.battle-simulation-title span{color:#1686c2}
.evidence-strip{background:#f8fcff}

/* 战斗页：连贯的计算台 */
.battle-intel-shell{margin-top:18px;padding:0 0 28px;overflow:hidden;border:1px solid #cce2ef;border-radius:22px;background:rgba(247,252,255,.94);box-shadow:0 18px 48px rgba(45,108,153,.12)}
.battle-intel-head{align-items:center;padding:20px 25px;border-radius:0;border-bottom:1px solid #d6e7f1;background:rgba(255,255,255,.76);color:var(--ink);box-shadow:none;backdrop-filter:blur(12px)}
.battle-intel-head .overline{color:#1686c2}.battle-intel-head h2{margin:2px 0 2px;color:#123f68;font-family:KaiTi,"STKaiti","Microsoft YaHei",sans-serif;font-size:26px;letter-spacing:.5px}
.battle-intel-head p{color:#5d7b93;font-size:11px}.battle-save-state{color:#58758b}.battle-save-state i{background:#20aeb0;box-shadow:0 0 0 5px rgba(32,174,176,.12)}
.battle-save-state button{border-color:#bed7e7;background:#f7fcff;color:#2d6d98}.battle-save-state button:hover{border-color:#5aa6d1;background:#eaf6fd}
.battle-builder-grid{grid-template-columns:.82fr 1.18fr;gap:13px;padding:17px 18px 0}
.battle-pool-panel,.battle-lineup-panel{border-color:#d4e6f0;border-radius:16px;background:rgba(255,255,255,.82);box-shadow:0 7px 20px rgba(55,115,157,.06)}
.battle-panel-title{margin-bottom:12px}.battle-panel-title h3{color:#174f7b}.battle-panel-title small{color:#6c879c}
.battle-roster-pool{gap:7px}.battle-player-choice{min-height:58px;border-color:#d7e7f0;background:#f8fcff;color:#174a72;box-shadow:0 3px 10px rgba(56,109,147,.04)}
.battle-player-choice:hover{border-color:#7ab8da;background:#eef9ff}.battle-player-choice b{background:#e2f5f3;color:#178277}.battle-player-choice small{color:#7890a3}
.battle-player-choice.selected{border-color:#20a0b3;background:#e8f8f8;box-shadow:inset 0 0 0 1px #20a0b3}
.battle-lineup-slots{position:relative;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;padding:9px 3px 4px}
.battle-lineup-slots:before{content:"";position:absolute;left:7%;right:7%;top:29px;height:1px;background:#c0dded;box-shadow:0 0 8px rgba(36,143,197,.2)}
.battle-lineup-slot{z-index:1;min-height:145px;padding:39px 5px 9px;border:0;border-radius:15px;background:transparent;cursor:grab}
.battle-lineup-slot:hover{background:#f5fbff}.battle-lineup-slot>span{left:50%;top:0;width:26px;height:26px;transform:translateX(-50%);border:2px solid #fff;border-radius:50%;background:#157bbb;box-shadow:0 0 0 1px #77b7dc,0 4px 11px rgba(21,123,187,.22);font-size:10px}
.battle-lineup-slot strong{color:#164a72;font-size:13px}.battle-lineup-slot small{color:#6f899e}.battle-lineup-slot .position-effect{margin-top:7px;background:#e9f8f6;color:#207e77;font-size:8px}
.battle-lineup-slot button{right:3px;top:35px;background:#edf5f9;color:#6f899b}.battle-lineup-slot.empty{border:1px dashed #cbdfea;background:#f9fcfe}
.battle-lineup-slot.empty p{color:#7890a1}.battle-lineup-slot.empty .position-effect{background:#eef6fa;color:#6f8798}
.formation-drop-wrap{border-top-color:#deebf2}.formation-drop-zone{border-color:#bcd8e7;background:#f5fbfe}.formation-drop-zone>span{background:#e2f2fa;color:#1577ad}
.formation-drop-zone.selected{border-color:#d6ad52;background:#fff9e9}.formation-drop-zone.selected>span{background:#ffefc9;color:#a87318}
.battle-formation-pool button{border-color:#d6e6ef;background:#fff;color:#4c718d}.battle-formation-pool button:hover{border-color:#81b9d8;background:#eef8fe}.battle-formation-pool button.selected{border-color:#d09b35;background:#fff3d2;color:#8a6117}
.infer-lineup-button{border-color:#a9d4d5;background:#edfafa;color:#167d7d}.infer-lineup-button:hover{background:#dff6f6}
.battle-simulation-title{margin:22px 24px 11px;padding-top:17px;border-top:1px solid #d9e8f1}.battle-simulation-title h2{color:#174f7a;font-family:KaiTi,"STKaiti","Microsoft YaHei",sans-serif;font-size:24px}
.battle-round-status{border-color:#c8dfee;background:#edf8fe;color:#36749e!important}
.fury-rule-note{margin:10px 24px 16px;border-left-color:#d5a33f;background:#fff9e9;color:#6b613f}.fury-rule-note span i{border-color:#ead7a7;background:#fffdf6;color:#765b27}
.battle-simulation-grid{padding:0 24px}.fighter-sim-card{border-color:#d5e5ef;border-radius:15px;box-shadow:0 7px 20px rgba(49,105,145,.065)}
.fighter-head>span{border-radius:50%;background:#177bb8}.fighter-head h3{color:#194c72}.fighter-head>b{background:#e5f7f2;color:#1c8068}
.fighter-controls label,.hp-stat-trio div{background:#f1f7fa}.fighter-controls label>span,.hp-stat-trio span{color:#71899b}
.hp-resource .hp-three-track{background:#d8e0e6}.hp-resource .hp-three-track .hp-limit-fill{background:#758493}.hp-three-track .hp-current-fill{background:#d55056}
.hp-track-value{color:#244865}.fury-track{background:#eee8d8}.fury-track>i{background:#e8b541}
.available-specials{background:#eef4f7}.available-specials.ready{background:#e6f7ef}
.special-carry-block{border-color:#d8e5ea;background:#fbfdfe}.special-carry-chip{border-color:#d4e2e9}.special-carry-chip.confirmed{border-color:#de9499;background:#fff0f1;color:#c12e39}
.battle-kb-note{margin:15px 24px 0;background:#eaf4f9;color:#587287}.battle-kb-note b{color:#245b81}
.battle-next-round-fab{right:26px;bottom:24px;min-width:154px;padding:14px 21px;border-color:rgba(255,255,255,.55);background:#128bd0;box-shadow:0 14px 34px rgba(18,139,208,.34),inset 0 0 0 1px rgba(255,255,255,.2);font-size:13px;letter-spacing:.3px}
.battle-next-round-fab:before{display:none;content:""}.battle-next-round-fab:hover{background:#087ec4;box-shadow:0 17px 38px rgba(18,139,208,.38)}

@media(max-width:1180px){
  body.detail-view{--detail-rail:132px}
  .detail-view .detail-mode-tabs{left:8px;width:116px}
  .detail-view main{padding-left:22px;padding-right:22px}
  .detail-hero{grid-template-columns:minmax(0,620px) 1fr;padding-left:40px;padding-right:38px}
  .battle-builder-grid{grid-template-columns:1fr}.battle-lineup-slots{max-width:790px;margin:0 auto}
}
@media(max-width:960px){
  body.detail-view{--detail-rail:0}
  .detail-view .topbar{position:sticky;inset:auto;width:auto;height:68px;padding:0 18px;flex-direction:row;background:#075fa7;border-bottom:1px solid rgba(255,255,255,.15);box-shadow:0 8px 28px rgba(4,69,122,.18)}
  .detail-view .brand{width:auto;flex-direction:row;gap:10px;text-align:left}.detail-view .brand-mark{width:40px;height:40px}.detail-view .brand-copy{text-align:left}.detail-view .brand-copy small{display:none}.detail-view .brand-copy strong{font-family:inherit;font-size:17px}
  .detail-view .auth-nav{width:auto;display:flex;grid-template-columns:none;gap:7px}.detail-view .auth-nav button{height:35px;padding:0 13px;font-size:11px}
  .detail-view main{margin-left:0;padding:16px 18px 58px}.detail-view footer{margin-left:0}
  .detail-view .back-button{position:absolute;margin:13px 0 0 18px}
  .detail-view .detail-mode-tabs{position:static;width:auto;grid-template-columns:1fr 1fr;gap:9px;margin:14px 0 0;padding:6px;border:1px solid #d2e4ee;border-radius:17px;background:#e9f2f7}
  .detail-view .detail-mode-tabs button{grid-template-columns:auto 1fr;grid-template-rows:auto auto;justify-items:start;gap:0 10px;min-height:67px;padding:10px 13px;border-radius:12px;background:transparent;text-align:left;backdrop-filter:none}
  .detail-view .detail-mode-tabs button span{grid-row:1/3;align-self:center;padding:6px;border-radius:8px;background:#d9edf7;color:#2779a5}
  .detail-view .detail-mode-tabs button b{align-self:end;color:#35637f;font-size:14px}.detail-view .detail-mode-tabs button small{display:block;align-self:start;color:#6c8598;font-size:9px}
  .detail-view .detail-mode-tabs button[aria-selected="true"]{border-color:#b5d7e8;background:#fff;box-shadow:0 6px 18px rgba(47,107,149,.1)}
  .detail-view .detail-mode-tabs button[aria-selected="true"] span{background:#1687c7;color:#fff}.detail-view .detail-mode-tabs button[aria-selected="true"] b{color:#174d74}
  .detail-mode-overview{display:none}
  .detail-hero{grid-template-columns:1fr auto;padding:54px 31px 25px;border-radius:25px}.detail-rank{width:112px;height:112px}.detail-title h1{font-size:40px}
  .battle-intel-head{align-items:flex-start;gap:12px;padding:18px 22px}.battle-save-state{justify-content:flex-start}
  .battle-builder-grid{padding-left:14px;padding-right:14px}.battle-simulation-grid{grid-template-columns:1fr;padding:0 16px}.fury-rule-note{margin-left:16px;margin-right:16px}.battle-kb-note{margin-left:16px;margin-right:16px}
}
@media(max-width:680px){
  .brand-copy strong{font-size:15px}.topbar .brand-mark{border-radius:50%}
  .home-hero{padding:38px 23px 86px;background-position:61% center}.hero-copy h1{font-size:37px}.hero-copy p{font-size:13px}
  .detail-view main{padding:12px 10px 48px}.detail-view .back-button{margin:11px 0 0 13px;font-size:10px}
  .detail-hero{min-height:310px;grid-template-columns:1fr;grid-template-rows:auto auto auto;padding:55px 20px 20px;background-position:58% center}.detail-title{grid-column:1;grid-row:1}.detail-title h1{font-size:35px}.detail-title p{max-width:250px}.detail-rank{grid-column:1;grid-row:1;justify-self:end;align-self:start;width:90px;height:90px;padding:10px}.detail-rank small{max-width:65px}.detail-rank strong{font-size:27px}.detail-stats{grid-column:1;grid-row:3;grid-template-columns:repeat(3,1fr);width:100%;gap:6px}.detail-stats article{padding:9px 8px}.detail-stats strong{font-size:18px}
  .detail-view .detail-mode-tabs{grid-template-columns:1fr}.detail-view .detail-mode-tabs button{min-height:61px}
  .battle-intel-shell{border-radius:17px}.battle-intel-head{padding:19px 17px}.battle-intel-head h2{font-size:23px}
  .battle-builder-grid{padding:12px 10px 0}.battle-pool-panel,.battle-lineup-panel{padding:13px}.battle-roster-pool{grid-template-columns:1fr 1fr}.battle-player-choice{padding:9px}
  .battle-lineup-slots{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.battle-lineup-slots:before{display:none}.battle-lineup-slot{min-height:128px;border:1px solid #d8e7ef;background:#f9fcfe}.battle-lineup-slot.empty{min-height:108px}
  .battle-simulation-title{margin:18px 13px 10px}.fury-rule-note{margin:8px 11px 13px}.battle-simulation-grid{padding:0 10px}.battle-kb-note{margin:12px 11px 0}
  .battle-next-round-fab{right:12px;min-width:138px;padding:12px 16px}
}

/* 2026-08-07e · 第 3 稿原比例与素材母版 */
.home-hero,.detail-hero{background-image:url("assets/celestial-hero-v3.png")}
.detail-view .topbar{background-image:url("assets/celestial-rail-v3.png")}

@media(min-width:961px){
  body.detail-view{--detail-rail:clamp(138px,9.28vw,178px)}
  .detail-view .topbar{padding:27px 13px 20px;background-size:100% 100%;background-position:center top}
  .detail-view .brand{justify-content:flex-start}.detail-view .brand-mark{display:none}.detail-view .brand-copy small{display:none}.detail-view .brand-copy strong{font-size:20px;text-shadow:0 2px 10px rgba(1,55,108,.25)}
  .detail-view .auth-nav{display:none}
  .detail-view main{padding:0 0 70px}
  .detail-hero{height:300px;min-height:300px;padding:46px clamp(54px,5.1vw,98px) 22px;border-radius:0;background-size:cover;background-position:center 52%}
  .detail-mode-overview{margin:0 clamp(55px,4.4vw,84px);border-radius:0 0 17px 17px}
  #preBattleView,#battleIntelView{margin-right:clamp(28px,2.3vw,44px);margin-left:clamp(28px,2.3vw,44px)}
  .detail-view .detail-mode-tabs{left:10px;top:250px;width:calc(var(--detail-rail) - 20px);gap:20px}
  .detail-view .detail-mode-tabs button{grid-template-columns:1fr;grid-template-rows:auto auto;gap:5px;min-height:86px;padding:11px 8px}
  .detail-view .detail-mode-tabs button:before{content:"";width:31px;height:31px;border-radius:50%;background-position:center;background-size:cover;background-repeat:no-repeat}
  .detail-view .detail-mode-tabs button[data-detail-view="pre"]:before{background-image:url("assets/mode-prebattle.png")}
  .detail-view .detail-mode-tabs button[data-detail-view="battle"]:before{background-image:url("assets/mode-battle.png")}
  .detail-view .detail-mode-tabs button span{display:none}.detail-view .detail-mode-tabs button b{font-size:15px}
}

.detail-mode-overview button{grid-template-columns:48px 1fr;column-gap:15px}
.detail-mode-overview button:before{content:"";grid-row:1/3;width:43px;height:43px;border-radius:50%;background-position:center;background-size:cover;background-repeat:no-repeat}
.detail-mode-overview button[data-detail-view="pre"]:before{background-image:url("assets/mode-prebattle.png")}
.detail-mode-overview button[data-detail-view="battle"]:before{background-image:url("assets/mode-battle.png")}
.detail-mode-overview button span{display:none}

.battle-intel-head{min-height:82px;padding:10px 24px}
.battle-intel-head .overline{margin-bottom:1px;font-size:9px}.battle-intel-head h2{margin:1px 0;font-size:24px;line-height:1.2}.battle-intel-head p{font-size:10px;line-height:1.55}
.battle-builder-grid{grid-template-columns:.74fr 1.26fr;gap:13px;padding:0}
.battle-pool-panel,.battle-lineup-panel{height:322px;padding:12px 14px}
.battle-panel-title{margin-bottom:6px}.battle-panel-title h3{margin-top:1px;font-size:15px}.battle-panel-title small{font-size:9px}
.battle-roster-pool{gap:7px}
.battle-player-choice{height:56px;min-height:56px;grid-template-columns:37px minmax(0,1fr) auto;grid-template-rows:auto auto;gap:0 8px;padding:6px 9px;border-color:#d8e7ef;background:#fbfdff;box-shadow:none}
.battle-player-choice:before{content:"";grid-row:1/3;width:35px;height:35px;align-self:center;border-radius:50%;background-position:center;background-size:cover;background-repeat:no-repeat}
.battle-player-choice:nth-child(1):before{background-image:url("assets/roster-medallion-1.png")}.battle-player-choice:nth-child(2):before{background-image:url("assets/roster-medallion-2.png")}.battle-player-choice:nth-child(3):before{background-image:url("assets/roster-medallion-3.png")}.battle-player-choice:nth-child(4):before{background-image:url("assets/roster-medallion-4.png")}.battle-player-choice:nth-child(5):before{background-image:url("assets/roster-medallion-5.png")}.battle-player-choice:nth-child(6):before{background-image:url("assets/roster-medallion-6.png")}.battle-player-choice:nth-child(7):before{background-image:url("assets/roster-medallion-7.png")}.battle-player-choice:nth-child(8):before{background-image:url("assets/roster-medallion-8.png")}
.battle-player-choice span{grid-column:2;align-self:end}.battle-player-choice b{grid-column:3;align-self:center}.battle-player-choice small{grid-column:2/4;align-self:start;margin-top:1px}
.battle-player-choice.selected{border-color:#86c9cd;background:#f1fbfb;box-shadow:none}
.battle-player-choice.selected{border-color:#bfdde9;background:#fff;box-shadow:inset 3px 0 0 #57b7c4}
.battle-lineup-slots{min-height:135px;padding:4px 2px 0;background-color:#fbfdff;background-image:url("assets/formation-ribbon.png");background-repeat:no-repeat;background-position:center 30px;background-size:calc(100% - 8px) auto}
.battle-lineup-slots:before{display:none}
.battle-lineup-slot{min-height:129px;padding:29px 4px 2px}
.battle-lineup-slot div:before{content:"";display:block;width:38px;height:38px;margin:0 auto 2px;border-radius:50%;background-position:center;background-size:cover;background-repeat:no-repeat}
.battle-lineup-slot:nth-child(1) div:before{background-image:url("assets/lineup-medallion-1.png")}.battle-lineup-slot:nth-child(2) div:before{background-image:url("assets/lineup-medallion-2.png")}.battle-lineup-slot:nth-child(3) div:before{background-image:url("assets/lineup-medallion-3.png")}.battle-lineup-slot:nth-child(4) div:before{background-image:url("assets/lineup-medallion-4.png")}.battle-lineup-slot:nth-child(5) div:before{background-image:url("assets/lineup-medallion-5.png")}
.battle-lineup-slot>span{top:0}.battle-lineup-slot button{top:30px;right:2px;opacity:0;transition:opacity .16s ease}.battle-lineup-slot:hover button,.battle-lineup-slot button:focus-visible{opacity:1}
.battle-lineup-slot .position-effect{margin-top:4px;padding:3px 3px}
.formation-drop-wrap{margin-top:5px;padding-top:6px}.formation-drop-zone{padding:6px 9px}.formation-drop-zone>span{width:34px;height:34px}.battle-formation-pool{gap:4px;margin-top:5px}.battle-formation-pool button{padding:3px 6px}
.formation-drop-zone.selected{border-color:#dbc994;background:#fbfdff}.formation-drop-zone.selected>span{background:#fff5d9}

@media(max-width:960px){
  .detail-mode-overview button{grid-template-columns:auto 1fr}.detail-mode-overview button:before{display:none}.detail-mode-overview button span{display:block}
  .battle-intel-head{min-height:0;padding:18px 22px}
  .battle-builder-grid{grid-template-columns:1fr;padding:12px 10px 0}
  .battle-pool-panel,.battle-lineup-panel{height:auto;padding:13px}
  .battle-lineup-slots{background-image:none}
  .battle-lineup-slot button{opacity:1}
}

@media(min-width:961px){
  .detail-rank{transform:translateY(-16px)}
  .battle-intel-head .overline,.battle-panel-title span{display:none}
  .battle-panel-title h3{margin:0;font-size:16px}
  .battle-simulation-title{margin:5px 24px 8px;padding-top:4px}
}

/* 2026-08-07j · 1347×397 顶部区域按选定截图实测还原 */
.detail-top-stage{display:contents}
@media(min-width:961px){
  .detail-top-stage{position:relative;display:block;height:432px;overflow:hidden;border-radius:0 9px 0 0;background:#eef8ff url("assets/celestial-hero-v2.png") center 22%/cover no-repeat}
  .detail-top-stage:before{content:"";position:absolute;inset:0;z-index:0;background:rgba(244,250,255,.20);pointer-events:none}
  .detail-top-stage:after{content:"";position:absolute;left:0;right:0;top:372px;bottom:0;z-index:1;background:#eef8ff;pointer-events:none}
  .detail-view .back-button{display:none}

  .detail-top-stage .detail-hero{position:absolute;inset:0 0 auto;height:330px;min-height:330px;display:block;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
  .detail-top-stage .detail-title{position:absolute;left:70px;top:46px;z-index:2;display:block;align-self:auto}
  .detail-top-stage .detail-title .overline{position:relative;display:inline-flex;width:auto;height:28px;align-items:center;margin:0;padding:2px 11px 2px 34px;border:1px solid #a8cde4;border-radius:14px;background:rgba(255,255,255,.57);color:#1c6492;font-family:"Noto Serif SC","SimSun",serif;font-size:14px;font-weight:600;line-height:1;letter-spacing:0;box-shadow:none}
  .detail-top-stage .detail-title .overline:before{content:"";position:absolute;left:2px;top:50%;width:30px;height:28px;transform:translateY(-50%);background:url("assets/top-loaded-icon.png") center/30px 28px no-repeat}
  .detail-top-stage .detail-title h1{margin:10px 0 0 1px;color:#113f68;font-family:"Noto Serif SC","SimSun",serif;font-size:53px;font-weight:800;line-height:1.06;letter-spacing:0;text-shadow:none}
  .detail-top-stage .detail-title p{margin:13px 0 0;color:#365e80;font-family:"Noto Serif SC","SimSun",serif;font-size:13px;font-weight:500;line-height:1.5}
  .detail-top-stage .detail-title .confidence{margin:0 11px 0 7px;padding:2px 9px;border-color:#a6d6d1;border-radius:9px;background:#e6f6f2;color:#277f76;font-family:"Microsoft YaHei",sans-serif;font-size:12px;font-weight:700}

  .detail-top-stage .detail-rank{position:absolute;right:24px;top:59px;z-index:2;width:190px;height:190px;min-width:190px;display:block;padding:0;transform:none;overflow:visible;border:0;border-radius:0;background:url("assets/top-rank-ring-transparent.png?v=20260807y") center/190px 190px no-repeat;box-shadow:none;backdrop-filter:none}
  .detail-top-stage .detail-rank:before{display:none}
  .detail-top-stage .detail-rank small{position:absolute;left:0;right:0;top:51px;z-index:2;color:#345a79;font-family:"Noto Serif SC","SimSun",serif;font-size:13px;line-height:1.2;text-align:center}
  .detail-top-stage .detail-rank strong{position:absolute;left:0;right:0;top:78px;z-index:2;margin:0;color:#c5891b;font-family:"Noto Serif SC","SimSun",serif;font-size:31px;font-weight:800;line-height:1;text-align:center}
  .detail-top-stage .detail-rank:after{display:none}

  .detail-top-stage .detail-stats{position:absolute;left:70px;top:196px;z-index:2;display:grid;width:auto;grid-template-columns:153px 135px 148px;gap:9px;margin:0}
  .detail-top-stage .detail-stats article{position:relative;display:grid;height:70px;grid-template-columns:39px 1fr;grid-template-rows:23px 28px;gap:0 3px;align-content:center;padding:8px 11px;border:1px solid rgba(167,199,222,.63);border-radius:10px;background:rgba(255,255,255,.79);box-shadow:0 5px 13px rgba(75,121,155,.05);backdrop-filter:blur(8px)}
  .detail-top-stage .detail-stats article:before{content:"";grid-row:1/3;align-self:center;width:35px;height:45px;background-position:center;background-size:35px 45px;background-repeat:no-repeat}
  .detail-top-stage .detail-stats article[data-stat-kind="matches"]:before{background-image:url("assets/top-stat-matches.png")}.detail-top-stage .detail-stats article[data-stat-kind="wins"]:before{background-image:url("assets/top-stat-wins.png")}.detail-top-stage .detail-stats article[data-stat-kind="rounds"]:before{background-image:url("assets/top-stat-rounds.png")}
  .detail-top-stage .detail-stats small{align-self:end;color:#50718e;font-family:"Noto Serif SC","SimSun",serif;font-size:12px;font-weight:500;line-height:1.1}
  .detail-top-stage .detail-stats strong{align-self:start;margin:0;color:#174f7e;font-family:"Noto Serif SC","SimSun",serif;font-size:25px;font-weight:700;line-height:1.08}

  .detail-top-stage .detail-mode-overview{position:absolute;left:59px;right:59px;top:330px;z-index:3;display:grid;height:84px;grid-template-columns:45% 55%;align-items:stretch;gap:0;margin:0;overflow:visible;border:1px solid rgba(185,211,228,.56);border-radius:14px;background:rgba(255,255,255,.75);box-shadow:0 8px 23px rgba(75,126,161,.04);backdrop-filter:blur(12px)}
  .detail-top-stage .detail-mode-overview button{position:relative;display:grid;height:82px;min-height:82px;grid-template-columns:64px 1fr;grid-template-rows:29px 23px;align-content:center;column-gap:16px;padding:7px 28px 6px 31px;border:0;background:transparent;text-align:left}
  .detail-top-stage .detail-mode-overview button+button{grid-template-columns:69px 1fr;padding-left:55px;border-left:1px solid rgba(193,215,229,.52)}
  .detail-top-stage .detail-mode-overview button:before{content:"";grid-row:1/3;align-self:center;width:64px;height:62px;border-radius:0;background-position:center;background-size:64px 62px;background-repeat:no-repeat}
  .detail-top-stage .detail-mode-overview button[data-detail-view="pre"]:before{background-image:url("assets/top-mode-pre.png")}.detail-top-stage .detail-mode-overview button[data-detail-view="battle"]:before{width:69px;height:70px;background-image:url("assets/top-mode-battle.png");background-size:69px 70px}
  .detail-top-stage .detail-mode-overview button span{display:none}
  .detail-top-stage .detail-mode-overview button b{align-self:end;transform:translateY(-2px) scaleX(.94);transform-origin:left center;color:#173f64;font-family:"Noto Serif SC","SimSun",serif;font-size:18px;font-weight:700;line-height:1.2}
  .detail-top-stage .detail-mode-overview button small{align-self:start;transform:translateY(-2px);color:#57728b;font-family:"Noto Serif SC","SimSun",serif;font-size:11px;font-weight:400;line-height:1.4}
  .detail-top-stage .detail-mode-overview button[aria-selected="true"]{background:rgba(255,255,255,.22);box-shadow:inset 0 -2px #56aee0}
  .detail-top-stage .detail-mode-overview button[aria-selected="true"]:after{content:"";position:absolute;left:26%;right:auto;bottom:-9px;width:28px;height:18px;background:transparent url("assets/top-mode-diamond.png") center/28px 18px no-repeat}
  .detail-top-stage .detail-mode-overview button[aria-selected="true"] b{color:#173f64}

}

/* 2026-08-07 fidelity overrides: keep last so the measured target wins the cascade */
@media(min-width:961px){
  body.detail-view{--detail-rail:138px;overflow-x:hidden;background:#eef7fc}
  .detail-view .topbar{width:138px;padding:29px 12px 20px;background-image:url("assets/celestial-rail-fidelity-v2.png?v=20260807fidelity6");background-size:138px 100%;background-position:center top;box-shadow:5px 0 18px rgba(24,92,142,.12)}
  .detail-view .brand{width:100%;justify-content:flex-start}
  .detail-view .brand-copy strong{font-family:"Noto Serif SC","Songti SC","SimSun",serif;font-size:20px;font-weight:800;letter-spacing:.3px;line-height:1.2;text-shadow:0 2px 10px rgba(1,55,108,.24)}
  .detail-view main{margin-left:138px;padding:0 0 70px}
  .detail-view footer{margin-left:138px}
  .detail-view .detail-mode-tabs{left:16px;top:249px;width:106px;gap:18px}
  .detail-view .detail-mode-tabs button{min-height:82px;gap:4px;padding:9px 6px;border:1px solid transparent;border-radius:18px;background:transparent;box-shadow:none;backdrop-filter:none}
  .detail-view .detail-mode-tabs button:before{width:42px;height:42px;border-radius:0;background-position:center;background-size:contain;background-repeat:no-repeat}
  .detail-view .detail-mode-tabs button[data-detail-view="pre"]:before{background-image:url("assets/rail-pre-target.png?v=20260807fidelity2")}
  .detail-view .detail-mode-tabs button[data-detail-view="battle"]:before{background-image:url("assets/rail-battle-target.png?v=20260807fidelity2")}
  .detail-view .detail-mode-tabs button b{color:#f6fbff;font-family:"Noto Serif SC","Songti SC","SimSun",serif;font-size:16px;font-weight:700;line-height:1.2;text-shadow:0 1px 5px rgba(0,55,100,.22)}
  .detail-view .detail-mode-tabs button[aria-selected="true"]{min-height:92px;border-color:#e8c86f;background:#fffdf5;box-shadow:0 8px 18px rgba(3,71,120,.18),0 0 13px rgba(240,205,112,.22),inset 0 0 0 2px rgba(255,255,255,.72)}
  .detail-view .detail-mode-tabs button[aria-selected="true"] b{color:#176b86;text-shadow:none}
  .detail-view .detail-mode-tabs button[data-detail-view="pre"][aria-selected="false"]:before{filter:brightness(0) invert(1);opacity:.92}
  .detail-view .detail-mode-tabs button[data-detail-view="battle"][aria-selected="true"]:before{filter:brightness(0) saturate(100%) invert(38%) sepia(38%) saturate(938%) hue-rotate(146deg) brightness(88%) contrast(91%)}
  .detail-view .rail-settings{position:absolute;left:50%;bottom:25px;display:grid;width:78px;grid-template-rows:61px auto;justify-items:center;gap:2px;padding:0;transform:translateX(-50%);border:0;background:transparent;color:#2b6987;cursor:pointer}
  .detail-view .rail-settings-icon{display:block;width:61px;height:61px;background:url("assets/rail-settings-target.png?v=20260807fidelity2") center/61px 61px no-repeat}
  .detail-view .rail-settings b{font-family:"Noto Serif SC","Songti SC","SimSun",serif;font-size:14px;font-weight:600;line-height:1.2;text-shadow:0 1px 5px rgba(255,255,255,.58)}
  .detail-top-stage{height:383px;background-position:center 22%}
  .detail-top-stage:after{top:339px}
  .detail-top-stage .detail-hero{height:297px;min-height:297px}
  .detail-top-stage .detail-title{left:78px;top:52px}
  .detail-top-stage .detail-title h1{margin-top:9px;font-size:50px}
  .detail-top-stage .detail-title p{margin-top:11px;font-size:13px}
  .detail-top-stage .detail-rank{right:20px;top:62px;width:170px;height:170px;min-width:170px;background-size:170px 170px}
  .detail-top-stage .detail-rank small{top:49px;font-size:12px}
  .detail-top-stage .detail-rank strong{top:75px;font-size:30px}
  .detail-top-stage .detail-stats{left:78px;top:199px;grid-template-columns:153px 135px 150px}
  .detail-top-stage .detail-mode-overview{left:67px;right:55px;top:297px;height:84px;grid-template-columns:45% 55%}
  .detail-view #battleIntelView{margin-right:26px;margin-left:34px}
  .battle-intel-shell{margin-top:14px;border-radius:16px;box-shadow:0 12px 32px rgba(45,108,153,.08)}
  .battle-intel-head{height:82px;min-height:82px;padding:10px 23px}
  .battle-intel-head h2{font-family:"Noto Serif SC","Songti SC","SimSun",serif;font-size:23px;font-weight:800}
  .battle-builder-grid{grid-template-columns:36% 1fr;gap:12px;padding:0}
  .battle-pool-panel,.battle-lineup-panel{padding:12px 18px;border-radius:13px;box-shadow:none}
  .battle-pool-panel{height:320px}.battle-lineup-panel{height:490px}
  .battle-panel-title{margin-bottom:12px}.battle-panel-title h3{font-size:15px}
  .battle-roster-pool{column-gap:8px;row-gap:6px}
  .battle-player-choice{height:58px;min-height:58px;border-radius:10px}
  .battle-lineup-slots{height:175px;min-height:175px}
  .battle-lineup-slot{height:171px;min-height:171px}
  .formation-drop-wrap{display:grid;height:74px;grid-template-columns:280px minmax(0,1fr);align-items:stretch;margin-top:5px;padding:0;overflow:hidden;border:1px solid #d3e3ec;border-radius:10px;background:rgba(255,255,255,.72)}
  .formation-drop-zone{height:72px;padding:8px 12px;border:0;border-right:1px solid #e1ebf1;border-radius:0;background:transparent}
  .formation-drop-zone.selected{border-color:#e1ebf1;background:transparent}
  .battle-formation-pool{position:relative;display:flex;align-content:center;align-items:center;gap:4px;margin:0;padding:22px 8px 6px;overflow:hidden}
  .formation-pool-title{position:absolute;left:10px;top:5px;color:#6f8799;font-size:9px}
  .battle-formation-pool button{flex:0 0 auto;padding:3px 7px;font-size:9px}
  .infer-lineup-button{display:inline-flex;align-items:center;gap:5px;border-color:#bed7e7;background:#f8fcff;color:#2d6d98;box-shadow:none}
  .infer-lineup-button:before,.battle-save-state button:before{content:"";display:inline-block;width:12px;height:12px;background:url("assets/next-round-icon-target.png?v=20260807fidelity2") center/12px 12px no-repeat;filter:brightness(0) saturate(100%) invert(42%) sepia(46%) saturate(761%) hue-rotate(158deg) brightness(86%) contrast(87%)}
  .battle-save-state button{display:inline-flex;align-items:center;gap:4px}
  .battle-simulation-title{height:40px;margin:17px 24px 8px;padding:0;align-items:center}
  .battle-next-round-fab{right:42px;bottom:32px;isolation:isolate;display:flex;width:186px;height:56px;min-width:186px;align-items:center;justify-content:center;gap:7px;padding:0 18px;border:1px solid rgba(255,255,255,.72);border-radius:28px;background:#168fd0;box-shadow:0 12px 28px rgba(18,139,208,.28),inset 0 0 0 2px rgba(255,255,255,.18);font-size:16px}
  .battle-next-round-fab:before{content:"";display:block;width:21px;height:21px;margin:0;background:url("assets/next-round-icon-target.png?v=20260807fidelity2") center/21px 21px no-repeat}
  .battle-next-round-fab:after{content:"";position:absolute;left:50%;top:50%;z-index:-1;width:269px;height:120px;transform:translate(-50%,-50%);background:url("assets/next-round-cloud-target.png?v=20260807fidelity2") center/269px 120px no-repeat;pointer-events:none}
}

/* 2026-08-07 · 十一阵法的五人站位画布 */
@media(min-width:961px){
  .battle-lineup-slots{
    position:relative;
    display:block;
    height:352px;
    min-height:352px;
    padding:0;
    overflow:hidden;
    background-color:#fbfdff;
    background-image:radial-gradient(circle at 50% 50%,rgba(118,198,228,.10),transparent 48%);
    background-repeat:no-repeat;
    background-position:center;
    background-size:auto;
  }
  .battle-lineup-slot{
    position:absolute;
    left:var(--formation-x,50%);
    top:var(--formation-y,115px);
    z-index:1;
    width:18.5%;
    height:122px;
    min-height:122px;
    padding:29px 4px 2px;
    transform:translateX(-50%);
    transition:left .28s ease,top .28s ease,background-color .18s ease,box-shadow .18s ease;
  }
  .battle-lineup-slot:hover{
    z-index:4;
    background:rgba(245,251,255,.94);
    box-shadow:0 6px 18px rgba(36,116,164,.09);
  }
  .battle-lineup-slot:before{
    content:"";
    position:absolute;
    left:0;
    top:4px;
    z-index:0;
    width:100%;
    height:92px;
    background-image:url("assets/formation-ribbon-transparent.png");
    background-repeat:no-repeat;
    background-size:500% auto;
    pointer-events:none;
  }
  .battle-lineup-slot:nth-child(1):before{background-position:0 0}
  .battle-lineup-slot:nth-child(2):before{background-position:25% 0}
  .battle-lineup-slot:nth-child(3):before{background-position:50% 0}
  .battle-lineup-slot:nth-child(4):before{background-position:75% 0}
  .battle-lineup-slot:nth-child(5):before{background-position:100% 0}
  .battle-lineup-slot>span,.battle-lineup-slot>div,.battle-lineup-slot>button,.battle-lineup-slot>p,.battle-lineup-slot>small{z-index:1}
  .battle-lineup-slot>div,.battle-lineup-slot>p,.battle-lineup-slot>small{position:relative}
  .battle-lineup-slot>div:before{display:block;width:38px;height:38px;margin:0 auto 2px}
  .battle-lineup-slot strong{font-size:13px;line-height:1.05}
  .battle-lineup-slot small:not(.position-effect){margin-top:2px;font-size:9px;line-height:1.25}
  .battle-lineup-slot.empty{height:115px;min-height:115px;padding-top:35px}
  .battle-lineup-slot.empty p{margin:13px 0 0;font-size:10px;line-height:normal}
  .battle-lineup-slot>span{top:0}
  .battle-lineup-slot button{top:30px;width:22px;height:22px}
  .battle-lineup-slot .position-effect{margin-top:1px;padding:1px 3px;overflow:visible;font-size:8px;line-height:1.2;white-space:normal;text-overflow:clip}
  .battle-lineup-slot .lineup-live-stats{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:4px;
    margin-top:1px;
    color:#335f79;
    line-height:1;
    white-space:nowrap;
  }
  .battle-lineup-slot .lineup-live-stats i,.battle-lineup-slot .lineup-live-stats b{
    padding:1px 5px;
    border:1px solid #d5e6ee;
    border-radius:999px;
    background:rgba(248,253,255,.94);
    font-size:8px;
    font-style:normal;
    font-weight:800;
  }
  .battle-lineup-slot .lineup-live-stats i:first-child{color:#b33f48}
  .battle-lineup-slot .lineup-live-stats i:nth-child(2){color:#aa7618}
  .battle-lineup-slot .lineup-live-stats b{border-color:#cfe7dc;background:#eef8f3;color:#267152}
  .battle-lineup-slot.is-knocked-out .lineup-live-stats b{border-color:#e5b8bc;background:#fff0f1;color:#b22531}
  .battle-lineup-slot.is-knocked-out strong{color:#9d3943}
  .battle-lineup-slot.is-knocked-out:before{filter:grayscale(.72);opacity:.62}
}

@media(max-width:960px){
  .battle-lineup-slot .lineup-live-stats{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    align-items:center;
    gap:3px;
    margin-top:4px;
    line-height:1;
  }
  .battle-lineup-slot .lineup-live-stats i,.battle-lineup-slot .lineup-live-stats b{
    padding:3px 5px;
    border:1px solid #d5e6ee;
    border-radius:999px;
    background:#f8fdff;
    font-size:8px;
    font-style:normal;
    font-weight:800;
  }
  .battle-lineup-slot .lineup-live-stats i:first-child{color:#b33f48}
  .battle-lineup-slot .lineup-live-stats i:nth-child(2){color:#aa7618}
  .battle-lineup-slot .lineup-live-stats b{border-color:#cfe7dc;background:#eef8f3;color:#267152}
  .battle-lineup-slot.is-knocked-out .lineup-live-stats b{border-color:#e5b8bc;background:#fff0f1;color:#b22531}
  .battle-lineup-slot.is-knocked-out strong{color:#9d3943}
}

/* 2026-08-07 · 八人队员池与站位区等高，完整利用左侧空间 */
@media(min-width:961px){
  .battle-pool-panel{
    display:flex;
    height:490px;
    flex-direction:column;
  }
  .battle-pool-panel .battle-panel-title{
    flex:0 0 auto;
  }
  .battle-roster-pool{
    flex:1 1 auto;
    min-height:0;
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-template-rows:repeat(4,minmax(0,1fr));
    column-gap:8px;
    row-gap:8px;
  }
  .battle-player-choice{
    height:auto;
    min-height:0;
    grid-template-columns:48px minmax(0,1fr) auto;
    padding:10px 11px;
  }
  .battle-player-choice:before{
    width:44px;
    height:44px;
  }
  .battle-player-choice span{font-size:13px}
  .battle-player-choice b{font-size:9px}
  .battle-player-choice small{font-size:9px}
}

/* 2026-08-07 · 队员池在上、实际阵容与站位在下；保留既有卡片与阵位样式 */
@media(min-width:961px){
  .battle-builder-grid{grid-template-columns:1fr;gap:12px}
  .battle-pool-panel{height:250px}
  .battle-roster-pool{
    grid-template-columns:repeat(4,minmax(0,1fr));
    grid-template-rows:repeat(2,minmax(0,1fr));
  }
  .battle-lineup-panel{height:590px}
}

/* 2026-08-07 · 云卷战报：五人全宽计算卷宗 */
.battle-simulation-grid{
  grid-template-columns:1fr;
  gap:12px;
  padding:0 24px 24px;
}
.fighter-sim-card{
  min-width:0;
  padding:0;
  overflow:hidden;
  scroll-margin-top:18px;
  border:1px solid #cfe2ee;
  border-radius:14px;
  background:rgba(255,255,255,.92);
  box-shadow:0 7px 20px rgba(45,108,153,.055);
  transition:border-color .2s ease,box-shadow .2s ease;
}
.fighter-sim-card.is-jump-highlight{
  border-color:#3b9bd0;
  box-shadow:0 0 0 3px rgba(54,157,211,.18),0 12px 28px rgba(45,108,153,.13);
}
.fighter-sim-card.knocked-out{border-color:#e3c4c4;background:#fffafa}
.fighter-head{
  min-height:56px;
  grid-template-columns:38px minmax(0,1fr) minmax(155px,auto) auto;
  gap:10px;
  padding:8px 16px;
  border-bottom:1px solid #d7e7f0;
  background:rgba(248,252,255,.82);
}
.fighter-head>span{
  width:34px;
  height:34px;
  border:2px solid #fff;
  border-radius:50%;
  background:#177fba;
  box-shadow:0 0 0 1px #7bb8d8,0 4px 10px rgba(23,127,186,.16);
  font-size:13px;
}
.fighter-head h3{
  color:#173f65;
  font-family:"Noto Serif SC","Songti SC","SimSun",serif;
  font-size:17px;
  font-weight:800;
}
.fighter-head p{margin-top:2px;color:#728a9c;font-size:9px}
.fighter-head>b{border-radius:7px;background:#e6f7f1;color:#20816a}
.drug-resistance-field{display:grid;justify-items:end;gap:2px;padding:5px 8px;border:1px solid #d8e7df;border-radius:8px;background:#f4faf6;color:#2b7458;line-height:1.15}
.drug-resistance-field strong{font-size:10px}
.drug-resistance-field small{color:#678377;font-size:8px;white-space:nowrap}
.drug-resistance-field.level-20{border-color:#ead9af;background:#fff9e9;color:#8b6519}
.drug-resistance-field.level-35{border-color:#e8c49d;background:#fff4e8;color:#95501d}
.drug-resistance-field.level-50{border-color:#e4b5b5;background:#fff0f0;color:#a83333}
@media(max-width:680px){.fighter-head{grid-template-columns:38px minmax(0,1fr) auto}.drug-resistance-field{grid-column:2/-1;grid-row:2;justify-items:start}.drug-resistance-field small{white-space:normal}}
.small-return-entry label{border-color:#e4dcc6!important;background:#fffdf7!important}.small-return-entry label span,.small-return-entry select{color:#775e2d!important}.small-return-entry button{background:#8b692b!important}.medicine-auto-note{grid-column:1/-1;margin-top:-2px;color:#6e8277;font-size:7px;line-height:1.4}

.medicine-reference{margin:0 24px 16px;overflow:hidden;border:1px solid #d4e5ee;border-radius:12px;background:rgba(251,254,255,.94);box-shadow:0 5px 16px rgba(38,98,132,.045)}
.medicine-reference summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:52px;padding:0 16px;cursor:pointer;list-style:none;color:#244f6c;user-select:none}
.medicine-reference summary::-webkit-details-marker{display:none}
.medicine-reference summary span{display:flex;align-items:baseline;gap:10px}
.medicine-reference summary b{font-family:"STSong","SimSun",serif;font-size:15px}
.medicine-reference summary small{color:#7b929f;font-size:9px;font-weight:700}
.medicine-reference summary em{display:flex;align-items:center;gap:8px;color:#327599;font-size:9px;font-style:normal;font-weight:900}
.medicine-reference summary em:after{content:"";width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .18s ease}
.medicine-reference[open] summary{border-bottom:1px solid #dce9f0;background:linear-gradient(90deg,#f4fbff,#fbfdfd)}
.medicine-reference[open] summary em:after{transform:rotate(225deg) translate(-1px,-1px)}
.medicine-reference-legend{display:flex;flex-wrap:wrap;gap:7px;padding:11px 14px 8px}
.medicine-reference-legend span{padding:4px 8px;border:1px solid #d8e7ee;border-radius:999px;background:#f5fafc;color:#527286;font-size:8px;font-weight:800}
.medicine-reference-table-wrap{overflow-x:auto;padding:0 14px 10px}
.medicine-reference table{width:100%;min-width:900px;border-spacing:0;border-collapse:separate;table-layout:fixed;border-top:1px solid #d9e7ed;border-left:1px solid #d9e7ed;color:#2a536b}
.medicine-reference th,.medicine-reference td{border-right:1px solid #d9e7ed;border-bottom:1px solid #d9e7ed}
.medicine-reference thead th{padding:8px 6px;background:#edf7fb;color:#37677f;font-size:9px;font-weight:900;text-align:center}
.medicine-reference thead th:first-child{width:122px}.medicine-reference thead th:nth-child(2){width:54px}
.medicine-reference thead small{display:block;margin-top:2px;color:#7793a1;font-size:7px}
.medicine-reference tbody>tr>th{padding:7px 9px;background:#f8fbfc;text-align:left;vertical-align:middle}
.medicine-reference tbody>tr>th b{display:block;color:#244f69;font-size:10px}
.medicine-reference tbody>tr>th small{display:block;margin-top:3px;color:#7d919b;font-size:7px;line-height:1.35}
.medicine-reference td{padding:6px 7px;background:#fff;vertical-align:middle}
.medicine-reference tbody tr:hover td{background:#fbfdf5}
.medicine-reference .medicine-quality{background:#fbfdfe;color:#456f85;font-size:9px;font-weight:900;text-align:center}
.medicine-reference .medicine-quality small{display:block;margin:2px 0 0;color:#7192a3;font-size:6px;font-weight:700;white-space:nowrap}
.medicine-reference td strong{display:flex;align-items:baseline;gap:4px;color:#1d607e;font-size:10px;line-height:1.25;white-space:nowrap}
.medicine-reference td strong+strong{margin-top:5px;padding-top:4px;border-top:1px dashed #e2ebef;color:#8a6622}
.medicine-reference td strong i{min-width:27px;color:#6d8794;font-size:7px;font-style:normal;font-weight:800}
.medicine-reference td strong span{color:#9babb2;font-weight:500}
.medicine-reference td small{display:block;margin:2px 0 0 31px;color:#8a9aa2;font-size:6px;white-space:nowrap}
.medicine-reference>div>p{margin:0;padding:0 14px 13px;color:#71858f;font-size:8px;line-height:1.6}
@media(max-width:680px){.medicine-reference{margin:0 0 14px}.medicine-reference summary{align-items:flex-start;min-height:0;padding:12px}.medicine-reference summary span{display:grid;gap:3px}.medicine-reference summary em{flex:0 0 auto;margin-top:4px}.medicine-reference-legend{padding:9px 10px 7px}.medicine-reference-table-wrap{padding:0 10px 9px}.medicine-reference>div>p{padding:0 10px 11px}}

/* 2026-08-07 · 愤怒 / 暴怒腰带情报 */
.belt-team-summary{grid-column:auto;min-height:0;padding:17px 22px;background:linear-gradient(100deg,rgba(255,251,238,.96),rgba(247,252,255,.95))}
.belt-team-summary .summary-icon{background:linear-gradient(145deg,#f8e7b8,#fff8e5);color:#9c6a13;box-shadow:inset 0 0 0 1px #ecd69b}
.belt-team-copy{min-width:0;flex:1}.belt-team-copy h2{margin-top:3px;font-size:18px}.belt-team-copy>p{margin-top:8px;color:#70818a;font-size:10px}
.belt-team-players{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}
.belt-player-chip{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border:1px solid #e4d6b4;border-radius:8px;background:rgba(255,255,255,.82);color:#5a6870;font-size:10px}
.belt-player-chip b{color:#304f62}.belt-player-chip i{padding:2px 5px;border-radius:5px;background:#fff1cc;color:#946313;font-style:normal;font-weight:900}.belt-player-chip.rage i{background:#ffe4e4;color:#a62c35}.belt-player-chip em{color:#a36f25;font-size:8px;font-style:normal}
.belt-empty-note{color:#768892;font-size:11px}.roster-belt{font-style:normal;font-weight:900}.roster-belt.anger{color:#9b6a15}.roster-belt.rage{color:#a9313a}
.belt-dossier-card{grid-column:auto;border:1px solid #eadfbe;background:linear-gradient(100deg,#fffdf7,#fff)}
.belt-dossier-card.rage{border-color:#eccdcd;background:linear-gradient(100deg,#fff8f8,#fff)}.belt-dossier-card.none{border-color:#dfe8eb;background:#fbfdfd}
.belt-dossier-card .dossier-title>span:first-child{background:#fff0c7;color:#976511}.belt-dossier-card.rage .dossier-title>span:first-child{background:#ffe4e4;color:#a32832}.belt-dossier-card.none .dossier-title>span:first-child{background:#eaf1f3;color:#627680}
.belt-confidence{margin-left:auto;padding:4px 7px;border-radius:7px;background:#fff2cf;color:#8c6419;font-size:9px;font-weight:900}.belt-dossier-card.rage .belt-confidence{background:#ffe7e7;color:#a42b34}.belt-dossier-card.none .belt-confidence{background:#edf2f4;color:#617680}
.belt-evidence-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:14px}.belt-evidence-grid>div{min-width:0;padding:10px 11px;border:1px solid #e6ecee;border-radius:10px;background:rgba(255,255,255,.82)}.belt-evidence-grid small{display:block;color:#7a8b94;font-size:9px}.belt-evidence-grid strong{display:block;margin-top:3px;color:#254d64;font-size:15px}.belt-evidence-grid span{display:block;margin-top:3px;color:#74868f;font-size:8px;line-height:1.4}
.belt-config-control>span{display:flex!important;align-items:center;justify-content:space-between;gap:5px}.belt-config-control>span i{padding:2px 4px;border-radius:4px;background:#e6eef2;color:#5f7785;font-size:7px;font-style:normal;font-weight:900}.belt-config-control.anger>span i{background:#fff0c8;color:#936113}.belt-config-control.rage>span i{background:#ffe2e2;color:#a52b34}.belt-config-control>small{display:block;margin-top:4px;overflow:hidden;color:#718792;font-size:7px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:900px){.belt-evidence-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.belt-team-summary{padding:15px}.belt-team-summary .summary-icon{width:42px;height:42px}.belt-player-chip{width:100%;justify-content:flex-start}.belt-evidence-grid{grid-template-columns:1fr 1fr}.belt-evidence-grid>div:last-child{grid-column:1/-1}}

/* 2026-08-08 · 神农候选在队伍与个人腰带情报右侧 */
.shennong-team-summary{grid-column:auto;align-items:flex-start;min-height:0;padding:17px 22px;background:linear-gradient(105deg,rgba(239,251,246,.97),rgba(249,253,255,.96))}
.shennong-team-summary .summary-icon{margin-top:2px;background:linear-gradient(145deg,#d8f1e5,#f4fff9);color:#287657;box-shadow:inset 0 0 0 1px #b9decb}
.shennong-team-copy{min-width:0;flex:1}.shennong-team-copy h2{display:inline-block;margin:3px 8px 0 0;font-size:18px}.shennong-team-copy>p{margin-top:8px;color:#688078;font-size:10px;line-height:1.55}
.shennong-confidence-summary{display:inline-block;color:#4f7466;font-size:9px;font-weight:800}
.shennong-team-players{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}
.shennong-player-chip{display:inline-flex;align-items:center;gap:5px;min-width:0;padding:4px 7px;border:1px solid #cce5d8;border-radius:8px;background:rgba(255,255,255,.86);font-size:9px;line-height:1.2}.shennong-player-chip b{overflow:hidden;max-width:92px;color:#285c48;text-overflow:ellipsis;white-space:nowrap}.shennong-player-chip i{padding:2px 4px;border-radius:5px;background:#e2f4ea;color:#237352;font-style:normal;font-weight:900}.shennong-player-chip em{color:#789085;font-size:8px;font-style:normal;white-space:nowrap}
.shennong-player-chip.confidence-高{border-color:#a9d6bd}.shennong-player-chip.confidence-中{border-color:#e5d19d;background:#fffcf2}.shennong-player-chip.confidence-中 i{background:#fff0c7;color:#856219}.shennong-player-chip.confidence-低,.shennong-player-chip.confidence-观察{border-color:#dbe5e1;background:#fbfdfc}.shennong-player-chip.confidence-低 i,.shennong-player-chip.confidence-观察 i{background:#eef3f1;color:#62766e}
.shennong-empty-note{color:#71857d;font-size:10px}
.shennong-dossier-card{grid-column:auto;border:1px solid #cfe6da;background:linear-gradient(105deg,#f7fdf9,#fff)}.shennong-dossier-card.none{border-color:#dfe8e5;background:#fbfdfc}
.shennong-dossier-card .dossier-title>span:first-child{background:#e0f3e9;color:#287657}.shennong-dossier-card.none .dossier-title>span:first-child{background:#edf2f0;color:#687c74}
.shennong-confidence{margin-left:auto;padding:4px 7px;border-radius:7px;background:#e2f4ea;color:#267653;font-size:9px;font-weight:900}.shennong-dossier-card.none .shennong-confidence{background:#edf2f0;color:#687a73}
.shennong-evidence-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px}.shennong-evidence-grid>div{min-width:0;padding:10px 11px;border:1px solid #dfebe5;border-radius:10px;background:rgba(255,255,255,.84)}.shennong-evidence-grid small{display:block;color:#788d84;font-size:9px}.shennong-evidence-grid strong{display:block;margin-top:3px;color:#285d49;font-size:15px}.shennong-evidence-grid span{display:block;margin-top:3px;color:#748981;font-size:8px;line-height:1.4}
@media(max-width:900px){.belt-team-summary,.shennong-team-summary,.belt-dossier-card,.shennong-dossier-card{grid-column:1/-1}}
@media(max-width:680px){.shennong-team-summary{padding:15px}.shennong-team-summary .summary-icon{width:42px;height:42px}.shennong-player-chip{width:100%}.shennong-evidence-grid{grid-template-columns:1fr 1fr}}
.fighter-dossier-grid{
  display:grid;
  grid-template-columns:minmax(220px,22%) minmax(380px,1fr) minmax(350px,34%);
  grid-template-areas:
    "config resources actions"
    "special special actions"
    "log log log";
  align-items:stretch;
}
.fighter-config-panel{
  grid-area:config;
  padding:16px 18px 14px;
  border-right:1px solid #dce9f1;
}
.fighter-resource-panel{
  grid-area:resources;
  min-width:0;
  padding:16px 22px 12px;
}
.fighter-action-panel{
  grid-area:actions;
  min-width:0;
  padding:14px 16px 13px;
  border-left:1px solid #dce9f1;
  background:rgba(250,253,255,.68);
}
.fighter-controls{
  display:grid;
  grid-template-columns:1fr;
  gap:9px;
  margin:0;
}
.fighter-controls label{
  min-height:58px;
  padding:9px 11px;
  border:1px solid #dce9f1;
  border-radius:8px;
  background:#f2f8fb;
}
.fighter-controls label>span{margin-bottom:6px;color:#6f8799;font-size:9px}
.fighter-controls input,.fighter-controls select{font-size:12px}
.fighter-controls .static-control strong{color:#174f7b;font-size:15px}
.initial-fury-control small{margin-top:5px;color:#9b761f}
.hp-recovery-flat-control small,.shennong-config-control small{display:block;margin-top:5px;overflow:hidden;color:#567a70;font-size:7px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}
.shennong-config-control>span{display:flex!important;align-items:center;justify-content:space-between;gap:5px}
.shennong-config-control>span i{padding:2px 4px;border-radius:4px;background:#e8f1ed;color:#4e7467;font-size:7px;font-style:normal;font-weight:900}
.fighter-resource-panel .resource-block{margin:0}
.fighter-resource-panel .resource-block+.resource-block{margin-top:22px}
.fighter-resource-panel .resource-label{margin-bottom:8px}
.fighter-resource-panel .resource-label span{color:#355f7f;font-size:10px}
.fighter-resource-panel .resource-label strong{color:#164b78;font-size:17px}
.fighter-resource-panel .hp-three-track{height:24px;background:#dfe4e7}
.fighter-resource-panel .hp-three-track .hp-limit-fill{background:#6d747b}
.fighter-resource-panel .hp-three-track .hp-current-fill{inset:3px auto 3px 0;background:#d74c51}
.fighter-resource-panel .hp-track-value{font-size:10px}
.fighter-resource-panel .fury-track{height:10px;background:#eee8da}
.fighter-resource-panel .fury-track>i{background:#efb42e}
.fighter-resource-panel .available-specials{margin-top:2px;border-radius:7px}
.fighter-action-heading,.action-group-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.fighter-action-heading{
  min-height:25px;
  margin-bottom:6px;
  color:#244f70;
}
.fighter-action-heading b{font-size:11px}
.fighter-action-heading small,.action-group-title small{color:#8396a3;font-size:8px}
.battle-action-grid{
  position:static;
  display:flex;
  flex-direction:column;
  gap:7px;
  margin:0;
  padding:0;
}
.action-group-title{
  margin-top:2px;
  padding-top:7px;
  border-top:1px solid #e2edf3;
  color:#42657e;
}
.action-group-title:first-child{padding-top:0;border-top:0}
.action-group-title b{font-size:9px}
.battle-action-grid .damage-entry{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:7px;
  margin:0;
}
.battle-action-grid .damage-entry label{
  min-height:34px;
  padding:7px 9px;
  border-color:#d5e4ed;
  border-radius:7px;
  background:#fff;
}
.battle-action-grid .damage-entry button{
  min-width:76px;
  border-radius:7px;
  background:#167fbd;
}
.battle-action-grid .heal-entry button{background:#218d76}
.heal-preset-groups{display:grid;gap:5px;margin:1px 0 2px}
.heal-preset-row{
  display:grid;
  grid-template-columns:34px repeat(6,minmax(0,1fr));
  align-items:center;
  gap:3px;
}
.heal-preset-row>span{color:#496d86;font-size:9px;font-weight:800}
.heal-preset-row button{
  min-width:0;
  padding:5px 1px;
  border:1px solid #d6e5ee;
  border-radius:6px;
  background:#fff;
  color:#285979;
  font-family:inherit;
  font-size:9px;
  font-weight:700;
  cursor:pointer;
}
.heal-preset-row button:hover,.heal-preset-row button:focus-visible{border-color:#62aecf;background:#eef9fd;color:#126b97}
.heal-preset-row button:disabled{cursor:not-allowed;opacity:.4}
.heal-preset-row[data-preset-group="倍愈"] button:nth-of-type(3){grid-column:6}
.revive-preset-groups{grid-column:1/-1;display:grid;gap:5px;margin-top:1px}
.revive-preset-row{display:grid;grid-template-columns:34px repeat(2,minmax(0,1fr));align-items:center;gap:3px}
.revive-preset-row>span{color:#8a5a32;font-size:9px;font-weight:800}
.revive-preset-row button{min-width:0;padding:5px 1px;border:1px solid #ead5bf;border-radius:6px;background:#fffaf5;color:#8b4e20;font-family:inherit;font-size:9px;font-weight:800;cursor:pointer}
.revive-preset-row button:hover,.revive-preset-row button:focus-visible{border-color:#d89b60;background:#fff1df;color:#793a0d}
.fighter-action-panel .medicine-entry .revive-input-error{grid-column:1/-1;margin:0;padding:5px 7px;border:1px solid #efc7c2;border-radius:6px;background:#fff3f1;color:#a83a32;font-size:8px;font-weight:700}
.fighter-action-panel .medicine-entry{
  grid-template-columns:minmax(0,1fr) 78px;
  gap:6px;
  padding-top:2px;
}
.fighter-action-panel .medicine-entry label{min-height:33px;padding:6px 8px;border-radius:7px}
.fighter-action-panel .medicine-entry button{min-height:33px;border-radius:7px}
.fighter-action-panel .medicine-entry small{font-size:7px;line-height:1.4}
.fighter-action-panel .revive-entry{grid-template-columns:minmax(0,1fr) auto}
.fighter-action-panel .drink-entry{grid-template-columns:minmax(0,1fr) auto}
.fighter-action-panel .fixed-drink>span{min-height:34px;padding:7px 9px;border-radius:7px}
.fighter-action-panel .drink-entry button{min-width:92px;border-radius:7px;background:#238267}
.fighter-action-panel .undo-event{
  position:static;
  width:100%;
  height:31px;
  min-height:31px;
  border-radius:7px;
  background:#f8fbfd;
  color:#537289;
}
.fighter-sim-card .special-carry-block{
  grid-area:special;
  margin:0;
  padding:11px 16px 12px;
  border:0;
  border-top:1px solid #dce9f1;
  border-right:1px solid #dce9f1;
  border-radius:0;
  background:rgba(250,253,255,.62);
}
.fighter-sim-card .special-carry-title>span{color:#305a78}
.fighter-sim-card .special-carry-chips{min-height:24px;margin-top:6px}
.fighter-sim-card .special-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;margin-top:7px}
.fighter-sim-card .special-search-row input{min-width:0;padding:7px 9px;border:1px solid #d4e3eb;border-radius:7px;outline:0;background:#fff;color:#274f6a;font-family:inherit;font-size:9px}
.fighter-sim-card .special-search-row input:focus{border-color:#69aecd;box-shadow:0 0 0 2px rgba(72,154,193,.12)}
.fighter-sim-card .special-search-row button{border:0;border-radius:7px;background:#8f2424;color:#fff;padding:0 10px;font-size:9px;font-weight:900;cursor:pointer}
.fighter-sim-card .special-recommendations{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin-top:6px}
.fighter-sim-card .special-recommendations>span{color:#6b7f8c;font-size:8px;font-weight:900}
.fighter-sim-card .special-recommendations button{padding:4px 7px;border:1px solid #d3e2ea;border-radius:999px;background:#f7fbfd;color:#315e78;font-family:inherit;font-size:8px;cursor:pointer}
.fighter-sim-card .special-recommendations button:hover,.fighter-sim-card .special-recommendations button:focus-visible{border-color:#75b1cc;background:#eef8fc;color:#126a92}
.fighter-sim-card .special-recommendations button i{margin-left:2px;color:#9a7228;font-style:normal}
.fighter-sim-card .special-recommendations button[hidden]{display:none}
.fighter-sim-card .special-recommendations small{color:#8a989f;font-size:8px}
.fighter-sim-card .damage-log{
  grid-area:log;
  display:flex;
  min-height:43px;
  align-items:center;
  gap:6px;
  margin:0;
  padding:8px 16px;
  border-top:1px solid #d7e7f0;
  background:#f5faff;
}
.fighter-sim-card .event-log-title{
  flex:0 0 auto;
  margin-right:4px;
  color:#27729f;
  font-size:9px;
}
.fighter-sim-card .damage-log span{padding:4px 7px}
.battle-lineup-slot[data-scroll-fighter]{cursor:pointer}
.battle-lineup-slot[data-scroll-fighter]:focus-visible{outline:2px solid #2b94c9;outline-offset:3px}
.battle-lineup-slot.is-entry-highlight{z-index:5;background:rgba(244,251,255,.96);box-shadow:0 0 0 3px rgba(45,151,207,.16),0 8px 22px rgba(31,120,170,.12)}

/* 2026-08-07 · 藏神护盾 */
.hp-three-track .hp-shield-fill{position:absolute;top:2px;bottom:2px;z-index:2;display:block;min-width:0;border:1px solid rgba(255,255,255,.8);border-radius:999px;background:repeating-linear-gradient(135deg,#49b8cf 0,#49b8cf 5px,#86d9e7 5px,#86d9e7 9px);box-shadow:0 0 7px rgba(46,166,194,.42);pointer-events:none}
.hp-track-legend span:first-child{color:#167c9b}.lineup-live-stats i:first-child{border-color:#c5e5ed!important;background:#f1fbfd!important;color:#147997!important}

/* 2026-08-08 · 站位施药归属与人物携药计数 */
.lineup-panel-actions{display:flex;align-items:center;gap:10px}
.lineup-panel-actions>small{max-width:260px;color:#557b91;font-size:9px;font-weight:700;text-align:right}
.battle-lineup-slot .lineup-player-body{position:relative}
.battle-lineup-slot .lineup-name-row{display:flex;align-items:baseline;justify-content:center;gap:5px;min-width:0;white-space:nowrap}
.battle-lineup-slot .lineup-name-row strong{overflow:hidden;max-width:62%;text-overflow:ellipsis;white-space:nowrap}
.battle-lineup-slot .lineup-name-row small{margin:0!important;color:#5e7d8e;font-size:9px!important;font-weight:700;white-space:nowrap}
.lineup-medicine-ledger{position:absolute;left:-28px;top:1px;z-index:4;display:flex;flex-direction:column;gap:1px;pointer-events:none}
.lineup-medicine-ledger i{display:flex;min-width:25px;height:13px;align-items:center;justify-content:center;padding:0 2px;border:1px solid #d6e4ec;border-radius:5px;background:rgba(249,253,255,.96);box-shadow:0 1px 3px rgba(34,102,139,.04);color:#506c7d;font-size:7px;font-style:normal;font-weight:800;line-height:1}
.lineup-medicine-ledger i b{margin-right:1px;color:#164e73;font-size:8px}
.lineup-medicine-ledger i:first-child{border-color:#ead0d2;background:#fff6f6;color:#a23e46}.lineup-medicine-ledger i:first-child b{color:#b42e3a}
.lineup-medicine-ledger i.remaining{border-color:#c9dfd4;background:#f1faf5;color:#287052}.lineup-medicine-ledger i.remaining b{margin-right:0;margin-left:1px;color:#176844}
.lineup-medicine-ledger i.remaining.over{border-color:#e3a8ac;background:#fff0f1;color:#ad2531}.lineup-medicine-ledger i.remaining.over b{color:#ad2531}
.battle-lineup-slot.is-medicine-actor{z-index:6!important;background:rgba(255,250,236,.97)!important;box-shadow:0 0 0 3px rgba(218,159,48,.25),0 9px 24px rgba(154,104,25,.14)!important}
.battle-lineup-slot.is-medicine-target{z-index:7!important;background:rgba(239,252,250,.97)!important;box-shadow:0 0 0 3px rgba(35,157,139,.24),0 9px 24px rgba(28,128,116,.14)!important}
.battle-lineup-slot.is-medicine-actor:after,.battle-lineup-slot.is-medicine-target:after{position:absolute;right:4px;top:4px;z-index:7;padding:2px 5px;border-radius:999px;font-size:7px;font-weight:900;line-height:1.2}
.battle-lineup-slot.is-medicine-actor:after{content:"施药";background:#fff0c9;color:#966315}
.battle-lineup-slot.is-medicine-target:after{content:"受药";background:#daf5ef;color:#147665}
@media(max-width:760px){.lineup-panel-actions{align-items:flex-end;flex-direction:column;gap:4px}.lineup-panel-actions>small{max-width:170px}.lineup-medicine-ledger{left:2px;top:2px}.lineup-medicine-ledger i{min-width:25px}}
.battle-summon-slots{position:absolute;left:0;right:0;bottom:0;display:grid;height:74px;grid-template-columns:repeat(5,minmax(0,1fr));align-items:start;gap:8px;margin:0;padding:4px 28px 20px;border:0;background:transparent}
.battle-summon-caption{position:absolute;left:9px;bottom:3px;color:#5f8499;font-size:8px!important;font-weight:800;letter-spacing:.2px}
.battle-lineup-guide{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:7px 8px 9px;padding:8px 10px;border:1px solid #dceaf1;border-radius:10px;background:linear-gradient(100deg,rgba(243,250,254,.92),rgba(255,252,242,.7));color:#456b80}
.battle-lineup-guide p{min-width:0;margin:0;padding-left:8px;border-left:2px solid #75b9d7;font-size:9px;font-weight:700;line-height:1.55}
.battle-lineup-guide p:nth-child(2){border-left-color:#d7ad52}.battle-lineup-guide p:nth-child(3){border-left-color:#62b9a6}
.battle-collaboration-tip{margin:10px 14px 12px;padding:9px 13px;border-left:3px solid #55add2;border-radius:0 9px 9px 0;background:linear-gradient(90deg,rgba(230,246,253,.9),rgba(247,252,255,.62));color:#466d82;font-size:10px;font-weight:700;line-height:1.65}
.battle-summon-slot{position:relative;display:grid;min-width:0;height:45px;grid-template-columns:31px minmax(0,1fr);align-items:center;gap:5px;padding:4px 7px;border:1px solid #d5e7f0;border-radius:11px;background:rgba(250,253,255,.96);box-shadow:0 3px 9px rgba(39,107,146,.045);color:#315f79;text-align:left;cursor:context-menu;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,transform .16s ease}
.battle-summon-slot:hover:not(:disabled){border-color:#9bcadf;background:#f3fbff;box-shadow:0 5px 13px rgba(36,119,163,.09);transform:translateY(-1px)}
.battle-summon-slot i{display:grid;width:29px;height:29px;place-items:center;border-radius:50%;background-position:center;background-size:cover;color:#fff;font-size:7px;font-style:normal;font-weight:900;text-shadow:0 1px 3px rgba(20,66,95,.55)}
.battle-summon-slot:nth-of-type(1) i{background-image:url("assets/lineup-medallion-5.png")}.battle-summon-slot:nth-of-type(2) i{background-image:url("assets/lineup-medallion-4.png")}.battle-summon-slot:nth-of-type(3) i{background-image:url("assets/lineup-medallion-3.png")}.battle-summon-slot:nth-of-type(4) i{background-image:url("assets/lineup-medallion-2.png")}.battle-summon-slot:nth-of-type(5) i{background-image:url("assets/lineup-medallion-1.png")}
.battle-summon-slot span{display:grid;min-width:0;gap:1px}.battle-summon-slot strong{overflow:hidden;color:#245470;font-size:9px;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}.battle-summon-slot small{overflow:hidden;margin:0!important;color:#718c9b;font-size:7px!important;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}
.battle-summon-slot.is-medicine-actor{border-color:#dfbd68;background:#fff9e9;box-shadow:0 0 0 2px rgba(220,166,50,.18),0 6px 14px rgba(151,105,25,.12)}
.battle-summon-slot.is-medicine-actor:after{content:"施药";position:absolute;right:3px;top:-7px;padding:1px 4px;border-radius:999px;background:#e5ad3b;color:#fff;font-size:7px;font-weight:900;line-height:1.2}
.battle-summon-slot.empty{opacity:.48;cursor:not-allowed}.battle-summon-slot.empty i{filter:grayscale(1)}
@media(min-width:961px){.battle-lineup-slots{height:426px;min-height:426px}}
@media(max-width:960px){.battle-summon-slots{position:relative;grid-column:1/-1;height:72px;gap:4px;margin-top:3px;padding:3px 3px 20px}.battle-summon-slot{height:44px;grid-template-columns:24px minmax(0,1fr);gap:3px;padding:3px}.battle-summon-slot i{width:23px;height:23px}.battle-summon-slot strong{font-size:8px}.battle-summon-slot small{font-size:6px!important}.battle-lineup-guide{grid-template-columns:1fr;gap:3px;margin:5px 3px 8px;padding:7px 9px}.battle-lineup-guide p{font-size:9px;line-height:1.45}.battle-collaboration-tip{margin:7px 12px 10px;padding:8px 10px;font-size:9px;line-height:1.7}}
.medicine-action-buttons{display:grid;grid-template-columns:repeat(2,minmax(48px,1fr));gap:4px;min-width:112px}
.fighter-action-panel .medicine-entry{grid-template-columns:minmax(0,1fr) minmax(112px,auto)}
.fighter-action-panel .medicine-entry .medicine-action-buttons button{min-width:0;padding:0 7px}
.fighter-action-panel .medicine-entry .hidden-spirit-button,.fighter-action-panel .heal-entry .hidden-spirit-button{border:1px solid #79b9c7;background:linear-gradient(135deg,#27869b,#42a8b7);color:#fff;box-shadow:0 3px 8px rgba(30,128,151,.14)}
.fighter-action-panel .medicine-entry .hidden-spirit-button:hover,.fighter-action-panel .heal-entry .hidden-spirit-button:hover{filter:brightness(1.06)}
.battle-action-grid .heal-entry{grid-template-columns:minmax(0,1fr) minmax(112px,auto)}
.fighter-action-panel .heal-entry .medicine-action-buttons button{min-height:33px;padding:0 7px;border-radius:7px}
.fighter-action-panel .heal-input-error{grid-column:1/-1;margin:0;padding:5px 7px;border:1px solid #efc7c2;border-radius:6px;background:#fff3f1;color:#a83a32;font-size:8px;font-weight:700}
@media(max-width:720px){.fighter-action-panel .medicine-entry,.battle-action-grid .heal-entry{grid-template-columns:1fr}.medicine-action-buttons{min-height:34px}.fighter-action-panel .medicine-entry small{grid-column:1}}

@media(max-width:1180px){
  .fighter-dossier-grid{
    grid-template-columns:minmax(220px,30%) minmax(0,1fr);
    grid-template-areas:
      "config resources"
      "special special"
      "actions actions"
      "log log";
  }
  .fighter-action-panel{border-top:1px solid #dce9f1;border-left:0}
  .fighter-sim-card .special-carry-block{border-right:0}
}
@media(max-width:720px){
  .battle-simulation-grid{padding:0 10px 18px}
  .fighter-dossier-grid{
    grid-template-columns:1fr;
    grid-template-areas:"config" "resources" "special" "actions" "log";
  }
  .fighter-config-panel{border-right:0;border-bottom:1px solid #dce9f1}
  .fighter-sim-card .special-carry-title{align-items:flex-start;flex-direction:column}
  .fighter-sim-card .special-search-row{grid-template-columns:1fr}
  .fighter-sim-card .special-search-row button{min-height:32px}
  .fighter-sim-card .damage-log{align-items:flex-start;flex-wrap:wrap}
  .heal-preset-row{grid-template-columns:34px repeat(6,minmax(0,1fr))}
}

/* 2026-08-07 · 计算卷宗快速返回完整站位面板 */
.battle-return-lineup-fab{position:fixed;right:42px;top:73%;bottom:auto;z-index:119;display:flex;min-width:132px;height:44px;align-items:center;justify-content:center;gap:7px;padding:0 17px;border:1px solid rgba(255,255,255,.82);border-radius:24px;background:rgba(246,252,255,.96);box-shadow:0 10px 26px rgba(26,103,157,.2),inset 0 0 0 1px rgba(107,184,226,.24);color:#17699c;font-family:inherit;font-size:13px;font-weight:900;letter-spacing:.2px;cursor:pointer;transform:translateY(-50%);transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
.battle-return-lineup-fab:before{content:"";width:22px;height:22px;background:url("assets/lineup-medallion-1.png") center/contain no-repeat}
.battle-return-lineup-fab:hover{transform:translateY(calc(-50% - 2px));background:#fff;box-shadow:0 14px 30px rgba(26,103,157,.25),inset 0 0 0 1px rgba(107,184,226,.3)}
.battle-return-lineup-fab:focus-visible{outline:3px solid rgba(65,165,218,.28);outline-offset:3px}
.battle-lineup-panel.is-return-highlight{border-color:#57a9d4;box-shadow:0 0 0 3px rgba(61,158,210,.16),0 14px 30px rgba(38,112,158,.1)}

/* 2026-08-08 · 战前情报统一为战斗情报的冰白卷宗视觉 */
#preBattleView{color:#173f60}
.prebattle-intel-shell{margin-top:14px;padding:0 18px 18px;border:1px solid #cfe2ee;border-radius:16px;background:rgba(248,253,255,.82);box-shadow:0 12px 32px rgba(45,108,153,.08)}
.prebattle-intel-head{display:flex;min-height:82px;align-items:center;justify-content:space-between;gap:24px;margin:0 -18px;padding:10px 23px;border-bottom:1px solid #d3e5ef;background:linear-gradient(105deg,rgba(247,252,255,.98),rgba(239,249,253,.92));border-radius:16px 16px 0 0}
.prebattle-intel-head .overline{color:#1680b3;font-size:8px;font-weight:900;letter-spacing:1.3px}.prebattle-intel-head h2{margin:1px 0;color:#17466f;font-family:"Noto Serif SC","Songti SC","SimSun",serif;font-size:23px;font-weight:800;line-height:1.2}.prebattle-intel-head p{margin:3px 0 0;color:#698397;font-size:10px}
.prebattle-snapshot{display:grid;min-width:270px;justify-items:end;gap:1px;padding:8px 12px;border-left:2px solid #77badb;color:#5c7b90}.prebattle-snapshot span{font-size:8px;font-weight:800}.prebattle-snapshot strong{color:#225778;font-size:12px}.prebattle-snapshot small{color:#7b91a0;font-size:8px}
#preBattleView .intel-summary-grid{grid-template-columns:1.35fr .85fr;gap:12px;margin-top:14px}
#preBattleView .summary-card{min-height:98px;align-items:flex-start;gap:13px;padding:15px 18px;border-color:#d4e5ef;border-radius:13px;background:rgba(255,255,255,.9);box-shadow:0 5px 16px rgba(45,103,144,.045)}
#preBattleView .summary-icon{width:44px;height:44px;border-radius:11px;background:#e8f5fb;color:#2779a5;font-size:22px;box-shadow:inset 0 0 0 1px #d1e8f2}
#preBattleView .primary-formation .summary-icon{background:#fff5dc;color:#9a6a18;box-shadow:inset 0 0 0 1px #eedca8}
#preBattleView .summary-card small{color:#71899a;font-size:9px}#preBattleView .summary-card h2{margin:2px 0;color:#17466f;font-family:"Noto Serif SC","Songti SC","SimSun",serif;font-size:18px;font-weight:800;line-height:1.4}#preBattleView .summary-card p{color:#708695;font-size:9px;line-height:1.55}
#preBattleView .belt-team-summary{background:linear-gradient(105deg,rgba(255,251,239,.96),rgba(249,253,255,.94))}#preBattleView .shennong-team-summary{background:linear-gradient(105deg,rgba(241,251,246,.97),rgba(249,253,255,.95))}
#preBattleView .belt-team-copy h2,#preBattleView .shennong-team-copy h2{font-size:16px}#preBattleView .belt-team-copy>p,#preBattleView .shennong-team-copy>p{margin-top:6px;font-size:8px}
#preBattleView .belt-player-chip,#preBattleView .shennong-player-chip{padding:3px 6px;border-radius:7px;font-size:8px}
#preBattleView .content-panel{margin-top:12px;padding:18px 20px;border-color:#d4e5ef;border-radius:13px;background:rgba(255,255,255,.9);box-shadow:0 5px 16px rgba(45,103,144,.045)}
#preBattleView .section-title{align-items:center;margin-bottom:13px;padding-bottom:10px;border-bottom:1px solid #dceaf2}#preBattleView .section-title .overline{color:#1883b7;font-size:8px;letter-spacing:1.2px}#preBattleView .section-title h2{color:#17466f;font-family:"Noto Serif SC","Songti SC","SimSun",serif;font-size:19px;font-weight:800}#preBattleView .section-title p{color:#758c9b;font-size:9px}
#preBattleView .composition-cluster-panel{margin-top:12px}#preBattleView .achievement-heading{padding:6px 9px;border-radius:8px;font-size:10px}#preBattleView .achievement-note{margin:-3px 0 12px;padding:7px 10px;border-left-width:2px;border-radius:0 7px 7px 0;background:#f1f8fb;font-size:9px}
#preBattleView .composition-clusters{gap:8px}#preBattleView .composition-cluster{grid-template-columns:42px minmax(0,1fr);gap:11px;padding:11px 12px;border-color:#dbe8ee;border-left-width:3px;border-radius:10px;background:linear-gradient(105deg,var(--tier-soft,#f5fafc),rgba(255,255,255,.96) 45%)}#preBattleView .cluster-index{width:40px;height:40px;border-radius:9px;box-shadow:0 4px 10px color-mix(in srgb,var(--tier,var(--navy)) 16%,transparent);font-size:11px}#preBattleView .cluster-stage-row{margin-bottom:6px}#preBattleView .cluster-stage-badge{padding:3px 6px;border-radius:6px;font-size:9px}#preBattleView .school-chips{gap:4px}#preBattleView .school-chips span{padding:3px 7px;border-radius:6px;font-size:9px}#preBattleView .cluster-meta{gap:14px;margin-top:7px;font-size:9px}#preBattleView .cluster-formations{gap:4px;margin-top:6px}#preBattleView .cluster-formations span{padding:3px 6px;border-radius:6px;font-size:8px}#preBattleView .cluster-subheading{margin:17px 0 8px;padding-top:13px}#preBattleView .cluster-subheading h3{color:#1a547a;font-family:"Noto Serif SC","Songti SC","SimSun",serif;font-size:15px}#preBattleView .cluster-subheading p{font-size:9px}
#preBattleView .detail-grid{gap:12px;margin-top:12px}#preBattleView .detail-grid .content-panel{margin-top:0}
#preBattleView .starter-list{gap:5px}#preBattleView .starter-list article{grid-template-columns:30px minmax(0,1fr) auto;gap:9px;padding:7px 9px;border-color:#e1ebf0;border-radius:9px;background:#f8fcfe}#preBattleView .starter-number{width:27px;height:27px;border-radius:8px;background:#177fba;color:#fff;font-size:10px}#preBattleView .starter-list h3{color:#234f6b;font-size:12px}#preBattleView .starter-list p,#preBattleView .substitute-note{font-size:9px}
#preBattleView .formation-list{gap:9px}#preBattleView .formation-list article{grid-template-columns:125px minmax(0,1fr) 40px;gap:9px}#preBattleView .formation-name>span{width:20px;height:20px;border-radius:6px;background:#e8f5fa;color:#2279a3;font-size:8px}#preBattleView .formation-name strong{font-size:10px}#preBattleView .formation-name small{font-size:8px}#preBattleView .formation-bar{height:7px;background:#eaf1f4}#preBattleView .formation-bar i{background:linear-gradient(90deg,#1688bb,#54b9c4)}
#preBattleView .speed-track{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}#preBattleView .speed-track article{padding:10px 8px 11px;border-color:#dce9ef;border-radius:10px;background:#f9fcfe}#preBattleView .order-medal{width:39px;height:39px;border:3px solid #fff;border-radius:50%;background:#177fba;color:#fff;box-shadow:0 0 0 1px #7bb8d8,0 4px 10px rgba(23,127,186,.15);font-size:13px}#preBattleView .speed-person h3{margin:7px 0 1px;color:#234f6b;font-size:11px}#preBattleView .speed-person p{font-size:8px}#preBattleView .speed-value{min-width:104px;margin-top:6px;padding:7px 9px;border-radius:8px;background:#edf7fb}#preBattleView .speed-value small{font-size:8px}#preBattleView .speed-value strong{font-size:17px}#preBattleView .sample-chip{margin-top:5px;font-size:8px}
#preBattleView .overall-order-list{gap:7px}#preBattleView .overall-order-row{grid-template-columns:29px 46px minmax(0,1fr) auto;gap:1px 8px;padding:8px 10px;border-color:#dfeaf0;border-radius:9px;background:#f9fcfe}#preBattleView .overall-order-row.summon{background:#f2faf7}#preBattleView .overall-rank{width:27px;height:27px;border-radius:8px;background:#177fba;color:#fff;font-size:9px}#preBattleView .summon .overall-rank{background:#2b8b79}#preBattleView .actor-type{padding:4px 5px;border-radius:6px;font-size:8px}#preBattleView .overall-order-row h3{color:#234f6b;font-size:11px}#preBattleView .overall-order-row p,#preBattleView .overall-order-row>small{font-size:8px}#preBattleView .overall-order-row>strong{font-size:14px}
#preBattleView .scope-note{margin-top:9px;color:#6f8593;font-size:8px;line-height:1.65}
#preBattleView .summon-search-panel{overflow:hidden;background:linear-gradient(135deg,rgba(249,253,255,.96),rgba(239,248,252,.92))}
#preBattleView .summon-search-bar{display:flex;align-items:end;gap:8px}
#preBattleView .summon-search-bar label{display:grid;flex:1;gap:5px;color:#52778e;font-size:9px}
#preBattleView .summon-search-bar input{width:100%;height:40px;padding:0 14px;border:1px solid #bad8e7;border-radius:9px;outline:0;background:rgba(255,255,255,.96);color:#183f5d;font:600 11px/1.4 inherit;box-shadow:inset 0 1px 2px rgba(41,95,129,.04);transition:border-color .16s ease,box-shadow .16s ease}
#preBattleView .summon-search-bar input::placeholder{color:#91a6b3;font-weight:400}
#preBattleView .summon-search-bar input:focus{border-color:#2b91be;box-shadow:0 0 0 3px rgba(43,145,190,.12)}
#preBattleView .summon-search-bar button{height:40px;padding:0 15px;border:1px solid #c7dce7;border-radius:9px;background:#fff;color:#24678e;font-size:10px;font-weight:800;cursor:pointer}
#preBattleView .summon-search-hint{margin:7px 0 0;color:#8195a2;font-size:8px}
#preBattleView .summon-search-status{margin:12px 0 8px;padding-top:9px;border-top:1px solid #dceaf2;color:#416b82;font-size:9px;font-weight:700}
#preBattleView .summon-search-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
#preBattleView .summon-search-result{min-width:0;padding:12px;border-color:#cfe2eb;background:rgba(255,255,255,.98);box-shadow:0 5px 13px rgba(46,105,143,.05)}
#preBattleView .summon-search-result .summon-search-meta{margin:7px 0 0;color:#708795;font-size:8px;line-height:1.55}
#preBattleView .summon-search-result .summon-head-copy{min-width:0}
#preBattleView .summon-search-result .summon-name-line h3{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#preBattleView .summon-search-empty{grid-column:1/-1;display:grid;justify-items:center;gap:4px;padding:24px;border:1px dashed #c7dce7;border-radius:9px;background:rgba(255,255,255,.68);color:#6d8797;font-size:9px}
#preBattleView .summon-search-empty b{color:#285d7c;font-size:11px}
#preBattleView .player-intel{margin-top:12px;border:1px solid #cfe2ee;border-radius:14px;background:rgba(248,253,255,.9);color:#173f60;box-shadow:0 6px 18px rgba(45,103,144,.05)}
#preBattleView .player-intel-head{align-items:center;padding:17px 20px 14px;border-bottom:1px solid #d7e8f1;background:linear-gradient(105deg,#f6fbfe,#eaf6fb)}#preBattleView .player-intel-head .overline{color:#1680b3;font-size:8px}#preBattleView .player-intel-head h2{color:#17466f;font-family:"Noto Serif SC","Songti SC","SimSun",serif;font-size:20px;font-weight:800}#preBattleView .player-intel-head p{margin-top:3px;color:#6c8596;font-size:9px}#preBattleView .player-intel-head label{min-width:285px;gap:4px;color:#52778e;font-size:9px}#preBattleView .player-intel-head select{height:36px;border-color:#bed9e7;border-radius:8px;background:#fff;color:#234e69;font-size:10px}
#preBattleView #playerBoard{padding:15px 18px 18px}#preBattleView .player-profile{margin-bottom:12px;padding:9px 11px;border:1px solid #dceaf1;border-radius:10px;background:#f8fcfe}#preBattleView .avatar{width:38px;height:38px;border-radius:50%;background:#e3f3f8;color:#25759b;font-size:15px;box-shadow:inset 0 0 0 1px #c8e4ef}#preBattleView .player-profile h3{color:#1e4f70;font-family:"Noto Serif SC","Songti SC","SimSun",serif;font-size:16px}#preBattleView .player-profile p{color:#718796;font-size:9px}
#preBattleView .player-dashboard{grid-template-columns:1.1fr .9fr;gap:10px}#preBattleView .dossier-card{padding:15px;border:1px solid #d8e7ee;border-radius:11px;background:rgba(255,255,255,.94);box-shadow:none}#preBattleView .dossier-title{gap:9px;margin-bottom:11px}#preBattleView .dossier-title>span:first-child{width:34px;height:34px;border-radius:9px;font-size:17px}#preBattleView .dossier-title h3{color:#17466f;font-family:"Noto Serif SC","Songti SC","SimSun",serif;font-size:16px}#preBattleView .dossier-title small{font-size:8px}#preBattleView .hp-range{gap:6px}#preBattleView .hp-range div{padding:8px;border-radius:8px;background:#f2f7fa}#preBattleView .hp-range small{font-size:8px}#preBattleView .hp-range strong{font-size:13px}#preBattleView .exact-row{margin-top:8px;font-size:8px}#preBattleView .scheme-list{margin-top:9px;padding-top:8px}#preBattleView .scheme-list article{margin-top:4px;padding:6px 8px;border-radius:7px}#preBattleView .special-list{gap:5px}#preBattleView .special-list article{padding:6px 8px;border-radius:7px;background:#f4f8fa}
#preBattleView .belt-dossier-card{border-color:#e5d9b7;background:linear-gradient(105deg,#fffdf6,#fff)}#preBattleView .shennong-dossier-card{border-color:#cfe6da;background:linear-gradient(105deg,#f6fcf8,#fff)}#preBattleView .belt-evidence-grid,#preBattleView .shennong-evidence-grid{gap:6px;margin-top:10px}#preBattleView .belt-evidence-grid>div,#preBattleView .shennong-evidence-grid>div{padding:7px 8px;border-radius:8px}#preBattleView .belt-evidence-grid strong,#preBattleView .shennong-evidence-grid strong{font-size:12px}
#preBattleView .summon-section{margin-top:10px;padding:15px;border:1px solid #d8e8ef;border-radius:11px;background:#f1f8fb}#preBattleView .summon-grid{gap:8px}#preBattleView .summon-card{padding:11px;border-color:#dce9ef;border-radius:9px;background:#fff}#preBattleView .summon-head{gap:8px}#preBattleView .summon-head>span{width:29px;height:29px;border-radius:8px;background:#e3f3f8;color:#2479a2;font-size:9px}#preBattleView .summon-head h3{color:#234f6b;font-size:12px}#preBattleView .summon-head p{font-size:8px}#preBattleView .summon-attributes{gap:4px;margin-top:8px;padding:6px;border-color:#ead8a5;border-radius:7px}#preBattleView .summon-attributes b,#preBattleView .summon-attributes span{font-size:8px}#preBattleView .summon-attributes span{padding:3px 6px;border-radius:5px}#preBattleView .skill-chips{gap:4px;margin-top:8px}#preBattleView .skill-chips span{padding:3px 6px;border-radius:5px;font-size:8px}
.summon-head-copy{min-width:0;flex:1}.summon-name-line{display:flex;min-width:0;align-items:baseline;gap:7px}.summon-name-line h3{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.summon-hp-inline{display:inline-flex;flex:none;align-items:baseline;gap:3px;color:#2c718f;font-size:8px;white-space:nowrap}.summon-hp-inline b{color:#52859b;font-size:8px}.summon-hp-inline strong{color:#155f7f;font-family:"Noto Serif SC","Songti SC",SimSun,serif;font-size:10px}.summon-hp-inline.exact strong{color:#197055}
#preBattleView .evidence-strip{gap:20px;margin-top:12px;padding:12px 16px;border-color:#d4e5ef;border-radius:10px;background:#f7fbfd;box-shadow:none}#preBattleView .evidence-strip span{font-size:8px}#preBattleView .evidence-strip strong{font-size:10px}#preBattleView .evidence-strip details{font-size:8px}
@media(max-width:960px){.prebattle-intel-shell{padding:0 12px 14px}.prebattle-intel-head{margin:0 -12px}.prebattle-snapshot{min-width:220px}#preBattleView .intel-summary-grid,#preBattleView .player-dashboard{grid-template-columns:1fr}#preBattleView .belt-team-summary,#preBattleView .shennong-team-summary,#preBattleView .belt-dossier-card,#preBattleView .shennong-dossier-card{grid-column:1}#preBattleView .summon-search-results{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.prebattle-intel-head{align-items:flex-start;flex-direction:column;padding:15px}.prebattle-snapshot{width:100%;min-width:0;justify-items:start;padding:7px 0 0;border-top:1px solid #d7e8f1;border-left:0}#preBattleView .speed-track{grid-template-columns:1fr}#preBattleView .player-intel-head{align-items:stretch}#preBattleView .player-intel-head label{min-width:0}#preBattleView .overall-order-row{grid-template-columns:27px 42px minmax(0,1fr)}#preBattleView .overall-order-row>strong,#preBattleView .overall-order-row>small{grid-column:3;text-align:left}#preBattleView .summon-search-bar{align-items:stretch;flex-direction:column}#preBattleView .summon-search-bar button{width:100%}#preBattleView .summon-search-results{grid-template-columns:1fr}}
@media(max-width:680px){.battle-return-lineup-fab{right:12px;top:auto;bottom:76px;min-width:118px;height:40px;padding:0 13px;font-size:12px;transform:none}.battle-return-lineup-fab:hover{transform:translateY(-2px)}.battle-return-lineup-fab:before{width:19px;height:19px}}

/* 2026-08-08 · 左侧栏返回战队库入口 */
@media(min-width:961px){
  .detail-view .detail-mode-tabs .team-library-link{min-height:70px;margin-bottom:2px;border-color:rgba(184,221,239,.48);border-radius:15px;background:rgba(7,91,153,.24);box-shadow:inset 0 0 0 1px rgba(255,255,255,.05)}
  .detail-view .detail-mode-tabs .team-library-link:before{width:32px;height:32px;background-image:url("assets/next-round-icon-target.png");background-size:32px 32px;filter:none;opacity:.92}
  .detail-view .detail-mode-tabs .team-library-link b{font-size:14px;color:#f3fbff;text-shadow:0 1px 5px rgba(0,55,100,.25)}
  .detail-view .detail-mode-tabs .team-library-link:hover,.detail-view .detail-mode-tabs .team-library-link:focus-visible{border-color:#efd486;background:rgba(255,253,245,.96);box-shadow:0 7px 17px rgba(3,71,120,.16),0 0 11px rgba(240,205,112,.18);outline:0}
  .detail-view .detail-mode-tabs .team-library-link:hover:before,.detail-view .detail-mode-tabs .team-library-link:focus-visible:before{filter:brightness(0) saturate(100%) invert(38%) sepia(38%) saturate(938%) hue-rotate(146deg) brightness(88%) contrast(91%);opacity:1}
  .detail-view .detail-mode-tabs .team-library-link:hover b,.detail-view .detail-mode-tabs .team-library-link:focus-visible b{color:#176b86;text-shadow:none}
}
@media(max-width:960px){.detail-view .detail-mode-tabs .team-library-link{display:none}}

/* 2026-08-08 · 战队库与情报详情统一为冰白仙侠卷宗视觉 */
body:not(.detail-view) .topbar{height:70px;padding:0 clamp(24px,4vw,62px);background:linear-gradient(90deg,#075b9f,#0b70b5);border-bottom:1px solid rgba(255,255,255,.22);box-shadow:0 7px 22px rgba(17,85,137,.16)}
body:not(.detail-view) .brand-copy small{color:#b7e5f8;font-size:8px;letter-spacing:2.2px}
body:not(.detail-view) .brand-copy strong{font-family:"Noto Serif SC","Songti SC","SimSun",serif;font-size:24px;letter-spacing:.8px}
body:not(.detail-view) main{max-width:1500px;padding:24px clamp(18px,3.6vw,54px) 64px}
body:not(.detail-view) .home-hero{min-height:346px;grid-template-columns:minmax(0,1fr) auto;gap:36px;padding:46px 58px 70px;overflow:hidden;border:1px solid rgba(168,204,228,.68);border-radius:15px;background-color:#eaf7ff;background-image:url("assets/celestial-hero-v2.png");background-position:center 28%;box-shadow:0 14px 34px rgba(45,112,162,.11)}
body:not(.detail-view) .hero-copy{max-width:720px;padding:0}
body:not(.detail-view) .home-hero .overline{margin-bottom:8px;color:#147bb2;font-size:10px;letter-spacing:1.8px}
body:not(.detail-view) .hero-copy h1{margin:0 0 14px;color:#123f68;font-family:"Noto Serif SC","Songti SC","SimSun",serif;font-size:52px;font-weight:800;letter-spacing:-1px;line-height:1.08;text-shadow:0 1px 0 rgba(255,255,255,.8)}
body:not(.detail-view) .hero-copy h1 em{color:#bc811e}
body:not(.detail-view) .hero-copy p{max-width:650px;color:#496c88;font-size:14px;font-weight:500;line-height:1.8}
.hero-scope{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:16px;color:#547790;font-size:10px}.hero-scope span{padding:5px 9px;border:1px solid rgba(166,201,222,.72);border-radius:7px;background:rgba(255,255,255,.56)}.hero-scope b{margin-left:5px;color:#225779;font-weight:800}
body:not(.detail-view) .hero-kpis{grid-template-columns:repeat(3,148px);gap:9px;align-self:end}
body:not(.detail-view) .hero-kpis article{height:72px;gap:9px;padding:10px 12px;border-color:rgba(163,197,219,.76);border-radius:10px;background:rgba(255,255,255,.82);box-shadow:0 5px 13px rgba(75,121,155,.055);backdrop-filter:blur(9px)}
body:not(.detail-view) .hero-kpis article>span{width:34px;height:42px;border-radius:8px;background:#e6f3fa;color:#247ca9;font-size:17px;box-shadow:inset 0 0 0 1px rgba(183,214,230,.6)}
body:not(.detail-view) .hero-kpis small{color:#668399;font-size:9px}
body:not(.detail-view) .hero-kpis strong{margin-top:0;color:#174f7e;font-family:"Noto Serif SC","Songti SC","SimSun",serif;font-size:22px;line-height:1.1}
body:not(.detail-view) .search-shell{width:calc(100% - 104px);max-width:none;margin:-48px 52px 20px;padding:16px 18px 14px;border:1px solid #cfe3ef;border-radius:14px;background:rgba(255,255,255,.94);box-shadow:0 11px 28px rgba(45,103,144,.1);backdrop-filter:blur(14px)}
.search-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:0 2px 10px}.search-heading .overline{margin:0 0 1px;color:#1680b3;font-size:7px;letter-spacing:1.3px}.search-heading h2{margin:0;color:#17466f;font-family:"Noto Serif SC","Songti SC","SimSun",serif;font-size:18px;line-height:1.25}.search-heading p{margin:0;color:#71899a;font-size:9px}
body:not(.detail-view) .search-box input{height:50px;padding-left:50px;border-color:#c9dfea;border-radius:10px;background:#fafdff;color:#234e69;font-size:14px;font-weight:600}
body:not(.detail-view) .search-icon{left:19px}
body:not(.detail-view) .stage-row{align-items:center;margin-top:12px}
body:not(.detail-view) .stage-row>span{padding-top:0;color:#54778e;font-size:10px}
body:not(.detail-view) .stage-tabs{gap:6px}
body:not(.detail-view) .stage-tabs button{min-height:31px;padding:5px 10px;border-color:#d6e6ee;border-radius:8px;background:#f6fafc;color:#557286;font-size:10px}
body:not(.detail-view) .stage-tabs button small{height:18px;min-width:18px;border-radius:6px;background:#e9f2f6;font-size:8px}
body:not(.detail-view) .stage-tabs button.active{border-color:#8cc6df;background:#eaf6fb;color:#176d98;box-shadow:inset 0 0 0 1px rgba(255,255,255,.75)}
body:not(.detail-view) .stage-tabs button.active small{background:#fff;color:#176d98}
body:not(.detail-view) .stage-note{margin:7px 0 0 69px;color:#7a909f;font-size:9px}
.team-library-shell{padding:18px;border:1px solid #cfe3ef;border-radius:14px;background:rgba(248,253,255,.9);box-shadow:0 7px 21px rgba(45,103,144,.05)}
body:not(.detail-view) .results-head{align-items:center;margin:0 2px 14px;padding-bottom:12px;border-bottom:1px solid #dbeaf2}
body:not(.detail-view) .results-head .overline{margin:0 0 2px;color:#1680b3;font-size:7px;letter-spacing:1.25px}
body:not(.detail-view) .results-head h2{color:#17466f;font-family:"Noto Serif SC","Songti SC","SimSun",serif;font-size:22px;font-weight:800;line-height:1.25}
body:not(.detail-view) .results-head div>small{display:block;margin-top:3px;color:#738b9c;font-size:9px}
body:not(.detail-view) .results-head p{color:#6c8596;font-size:10px}
body:not(.detail-view) .results-head p strong{color:#17547d;font-family:"Noto Serif SC","Songti SC","SimSun",serif;font-size:16px}
body:not(.detail-view) .teams{gap:12px}
body:not(.detail-view) .team-card{min-height:337px;padding:16px;border-color:#d5e6ef;border-radius:12px;background:rgba(255,255,255,.96);box-shadow:0 5px 15px rgba(45,103,144,.045)}
body:not(.detail-view) .team-card:hover{transform:translateY(-2px);border-color:#a8cfe2;box-shadow:0 13px 28px rgba(45,103,144,.11)}
body:not(.detail-view) .card-accent{width:3px}
body:not(.detail-view) .stage-art{height:66px;margin:-16px -16px 13px;padding:7px 13px 7px 16px;border-bottom:1px solid rgba(169,199,217,.48);background:linear-gradient(105deg,#edf7fb,#c8e4ef);color:#245a79;font-family:"Noto Serif SC","Songti SC","SimSun",serif;font-size:10px;letter-spacing:.4px;text-transform:none}
body:not(.detail-view) .stage-art img{width:54px;height:54px;filter:drop-shadow(0 5px 8px rgba(53,103,137,.15))}
body:not(.detail-view) .team-card.stage-hall8 .stage-art{background:linear-gradient(105deg,#fff9e9,#efd38d);color:#7f5817}
body:not(.detail-view) .team-card.stage-top16 .stage-art{background:linear-gradient(105deg,#f0f7fd,#bdd8ee);color:#315f89}
body:not(.detail-view) .team-card.stage-top32 .stage-art{background:linear-gradient(105deg,#fbf4ef,#dfbea6);color:#865038}
body:not(.detail-view) .team-card.stage-top80 .stage-art{background:linear-gradient(105deg,#eef9f7,#a9d9d0);color:#246f67}
body:not(.detail-view) .team-card.stage-other .stage-art{background:linear-gradient(105deg,#f0f5f8,#c7d5dc);color:#536b79}
body:not(.detail-view) .team-card-head{gap:10px}
body:not(.detail-view) .card-kicker{color:#728a99;font-size:8px;letter-spacing:1px}
body:not(.detail-view) .team-card h3{margin-top:2px;color:#17466f;font-family:"Noto Serif SC","Songti SC","SimSun",serif;font-size:18px;font-weight:800}
body:not(.detail-view) .rank-badge{padding:4px 7px;border:1px solid rgba(222,191,108,.5);border-radius:7px;font-size:9px}
body:not(.detail-view) .team-metrics{margin:13px 0 12px;padding:10px 0;border-color:#e3edf2}
body:not(.detail-view) .team-metrics div+div{border-color:#e3edf2;padding-left:11px}
body:not(.detail-view) .team-metrics small{color:#748b9a;font-size:9px}
body:not(.detail-view) .team-metrics strong{margin-top:1px;color:#234f6b;font-size:15px}
body:not(.detail-view) .team-metrics .win-rate{color:#188e75}
body:not(.detail-view) .team-brief{gap:8px;margin-bottom:10px}
body:not(.detail-view) .team-brief div{grid-template-columns:46px 1fr;gap:7px}
body:not(.detail-view) .team-brief dt{color:#738a99;font-size:9px}
body:not(.detail-view) .team-brief dd{color:#36566b;font-size:10px;line-height:1.55}
body:not(.detail-view) .team-brief dd span{color:#1884ae}
.team-card-meta{display:flex;flex-wrap:wrap;gap:5px;margin:0 0 11px}.team-card-meta span{padding:3px 6px;border-radius:6px;background:#eef6f9;color:#668194;font-size:8px}
body:not(.detail-view) .intel-button{height:39px;border-color:#9fcce1;border-radius:8px;background:#eaf6fb;color:#176d98;box-shadow:none;font-size:11px}
body:not(.detail-view) .intel-button:hover{border-color:#1688c4;background:#1688c4;color:#fff}
body:not(.detail-view) .pager button{border-color:#cfe1eb;border-radius:8px;color:#27617f;box-shadow:none}
body:not(.detail-view) .empty-state{border-color:#c9dfe9;border-radius:10px;background:#f8fcfe}
@media(max-width:1150px){body:not(.detail-view) .home-hero{grid-template-columns:1fr;gap:20px;padding-bottom:78px}body:not(.detail-view) .hero-kpis{grid-template-columns:repeat(3,minmax(0,148px));max-width:none;justify-content:start}body:not(.detail-view) .search-shell{width:calc(100% - 64px);margin-left:32px;margin-right:32px}}
@media(max-width:680px){body:not(.detail-view) .topbar{height:64px;padding:0 14px}body:not(.detail-view) main{padding:12px 10px 42px}body:not(.detail-view) .home-hero{min-height:auto;gap:18px;padding:28px 20px 64px;border-radius:13px;background-position:center 24%}body:not(.detail-view) .hero-copy h1{font-size:36px;letter-spacing:-.5px}body:not(.detail-view) .hero-copy p{font-size:12px;line-height:1.7}.hero-scope{gap:6px;margin-top:12px}.hero-scope span{width:100%;font-size:9px}body:not(.detail-view) .hero-kpis{grid-template-columns:repeat(3,1fr);gap:5px}body:not(.detail-view) .hero-kpis article{height:auto;display:grid;justify-items:center;gap:2px;padding:8px 4px;text-align:center}body:not(.detail-view) .hero-kpis article>span{width:28px;height:28px;border-radius:7px;font-size:13px}body:not(.detail-view) .hero-kpis small{font-size:7px}body:not(.detail-view) .hero-kpis strong{font-size:15px}body:not(.detail-view) .search-shell{width:calc(100% - 16px);margin:-38px 8px 14px;padding:13px 12px;border-radius:12px}.search-heading{align-items:flex-start;flex-direction:column;gap:3px;margin-bottom:8px}.search-heading h2{font-size:16px}.search-heading p{font-size:8px}body:not(.detail-view) .search-box input{height:46px;padding-left:45px;font-size:12px}body:not(.detail-view) .stage-row{display:block}body:not(.detail-view) .stage-row>span{margin-bottom:7px}body:not(.detail-view) .stage-note{margin-left:0}.team-library-shell{padding:10px;border-radius:12px}body:not(.detail-view) .results-head{align-items:flex-start}body:not(.detail-view) .results-head h2{font-size:19px}body:not(.detail-view) .results-head div>small{max-width:220px}body:not(.detail-view) .team-card{min-height:330px}body:not(.detail-view) .stage-art{height:62px}}
.admin-modal>main,.detail-view .admin-modal>main{width:auto;max-width:none;margin:0!important;padding:16px 28px 28px!important}.admin-modal .admin-panel{margin-left:0;margin-right:0}@media(max-width:680px){.admin-modal>main,.detail-view .admin-modal>main{padding:12px!important}}

/* 未登录情报安全预览：保持正式页面的信息层级，但不向浏览器下发真实敏感数据。 */
.secure-preview-shell{padding-bottom:56px;background:linear-gradient(180deg,#edf8fd 0,#f7fbfd 42%,#edf6fa 100%)}
.secure-preview-shell .preview-detail-hero{min-height:360px;padding-bottom:74px;border-radius:0;background-position:center 57%}
.secure-preview-tabs{position:relative;z-index:3;display:grid;grid-template-columns:1fr 1fr;width:calc(100% - 70px);max-width:1220px;margin:-52px auto 18px;border:1px solid rgba(178,210,228,.9);border-radius:16px;background:rgba(248,252,255,.86);box-shadow:0 13px 34px rgba(43,104,148,.14);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);overflow:hidden}
.secure-preview-tabs button{position:relative;display:grid;min-height:82px;align-content:center;gap:3px;padding:15px 30px;border:0;background:transparent;color:#56788f;text-align:left;cursor:pointer}
.secure-preview-tabs button+button{border-left:1px solid rgba(183,211,226,.75)}
.secure-preview-tabs button b{color:#174d75;font-family:"Noto Serif SC","Songti SC",SimSun,serif;font-size:17px}
.secure-preview-tabs button small{font-size:9px}
.secure-preview-tabs button[aria-selected="true"]{background:rgba(255,255,255,.78);box-shadow:inset 0 -3px #2b9bd3}
.secure-preview-tabs button[aria-selected="true"]:after{content:"";position:absolute;left:50%;bottom:-1px;width:9px;height:9px;border:2px solid #4ab0e3;background:#eaf8ff;transform:translate(-50%,50%) rotate(45deg)}
.secure-preview-content{width:calc(100% - 70px);max-width:1220px;margin:0 auto}
.secure-preview-public-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:13px;padding:14px;border:1px solid #cfE4ef;border-radius:14px;background:rgba(255,255,255,.82)}
.secure-preview-public-strip article{padding:10px 13px;border-radius:9px;background:#eef7fb}.secure-preview-public-strip small{display:block;color:#7891a1;font-size:8px}.secure-preview-public-strip strong{display:block;margin-top:3px;color:#15557f;font-size:13px}.secure-preview-public-strip p{grid-column:1/-1;margin:1px 3px 0;color:#708998;font-size:9px}
.secure-preview-module,.secure-preview-player-board,.secure-preview-fighters{margin-top:13px;border:1px solid #d2e4ed;border-radius:16px;background:rgba(255,255,255,.9);box-shadow:0 8px 24px rgba(47,105,144,.07);overflow:hidden}
.secure-preview-module>header,.secure-preview-player-board>header,.secure-preview-fighters>header{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:15px 18px 12px;border-bottom:1px solid #deebf2}
.secure-preview-module>header span,.secure-preview-player-board>header span,.secure-preview-fighters>header span,.secure-preview-battle-head span{color:#1493c4;font-size:7px;font-weight:900;letter-spacing:1.4px}
.secure-preview-module>header h2,.secure-preview-player-board>header h2,.secure-preview-fighters>header h2{margin:2px 0 0;color:#174d74;font-family:"Noto Serif SC","Songti SC",SimSun,serif;font-size:17px}.secure-preview-module>header>small,.secure-preview-player-board>header>small,.secure-preview-fighters>header>small{color:#8297a5;font-size:8px}
.secure-preview-region,.secure-preview-card,.secure-preview-fighter{position:relative;isolation:isolate}
.secure-preview-region{min-height:170px;padding:14px}
.secure-preview-order-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;filter:blur(4.5px);opacity:.72;user-select:none}
.secure-preview-order-grid article{display:grid;justify-items:center;min-height:132px;padding:10px;border:1px solid #cae0eb;border-radius:10px;background:#f8fcfe;text-align:center}.secure-preview-order-grid article>span{display:grid;width:27px;height:27px;place-items:center;border-radius:50%;background:#1687bd;color:#fff;font-size:10px;font-weight:900}.secure-preview-order-grid b{margin-top:5px;color:#1a5074;font-size:10px}.secure-preview-order-grid small,.secure-preview-order-grid em{color:#7e929f;font-size:7px;font-style:normal}.secure-preview-order-grid strong{margin-top:6px;padding:5px 17px;border-radius:6px;background:#eaf6fb;color:#0784be;font-size:14px}
.secure-preview-overall{min-height:272px}.secure-preview-order-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;filter:blur(4.5px);opacity:.7;user-select:none}.secure-preview-order-list article{display:grid;grid-template-columns:28px 1fr auto;grid-template-rows:auto auto;align-items:center;gap:1px 8px;padding:9px;border:1px solid #d3e3eb;border-radius:9px;background:#f3f9fc}.secure-preview-order-list article>span{grid-row:1/3;display:grid;width:24px;height:24px;place-items:center;border-radius:7px;background:#167fb1;color:#fff;font-size:8px;font-weight:900}.secure-preview-order-list b{color:#1d536f;font-size:9px}.secure-preview-order-list small,.secure-preview-order-list em{color:#83939d;font-size:7px;font-style:normal}.secure-preview-order-list strong{grid-column:3;grid-row:1;color:#1485bb;font-size:12px}
.secure-preview-gate{position:absolute;z-index:4;inset:0;display:grid;place-items:center;border-radius:inherit;background:rgba(236,247,252,.32);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
.secure-preview-gate button{display:grid;grid-template-columns:34px auto;grid-template-rows:auto auto;align-items:center;column-gap:9px;min-width:166px;padding:11px 16px;border:1px solid rgba(89,167,204,.58);border-radius:12px;background:rgba(255,255,255,.92);box-shadow:0 10px 30px rgba(25,91,133,.16),inset 0 0 0 1px rgba(255,255,255,.8);color:#17628d;text-align:left;cursor:pointer}
.secure-preview-gate button i{grid-row:1/3;display:block;width:30px;height:27px;border:2px solid #2384b5;border-radius:7px;position:relative}.secure-preview-gate button i:before{content:"";position:absolute;left:7px;top:-11px;width:12px;height:13px;border:2px solid #2384b5;border-bottom:0;border-radius:9px 9px 0 0}.secure-preview-gate button b{font-size:11px}.secure-preview-gate button small{color:#7a909f;font-size:7px}.secure-preview-gate button:hover{border-color:#1687c2;background:#fff;transform:translateY(-1px)}
.secure-preview-dossier-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:10px;padding:12px}.secure-preview-card{min-height:185px;padding:15px;border:1px solid #d6e5ed;border-radius:12px;background:#fbfdfe}.secure-preview-card h3{margin:0 0 13px;color:#174d72;font-size:13px}.secure-preview-private{filter:blur(4px);opacity:.67;user-select:none}.secure-preview-hp-kpi strong{display:block;color:#145a87;font-size:26px}.secure-preview-hp-kpi span{color:#8194a0;font-size:8px}.secure-preview-stat-row{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:14px}.secure-preview-stat-row p{margin:0;padding:9px;border-radius:8px;background:#edf5f9}.secure-preview-stat-row small{display:block;color:#7c909d;font-size:7px}.secure-preview-stat-row b{display:block;margin-top:3px;color:#174c71;font-size:12px}.secure-preview-specials{display:grid;gap:7px}.secure-preview-specials span{padding:12px;border-radius:8px;background:#eef5f8;color:#315f79;font-size:9px}.secure-preview-summons{grid-column:1/-1;min-height:210px}.secure-preview-summon-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.secure-preview-summon-grid>div{display:grid;grid-template-columns:35px 1fr;gap:2px 8px;padding:12px;border:1px solid #cfe0e8;border-radius:10px;background:#f5fafc}.secure-preview-summon-grid span{grid-row:1/4;display:grid;width:33px;height:33px;place-items:center;border-radius:9px;background:#dceff8;color:#137aa9;font-size:8px;font-weight:900}.secure-preview-summon-grid b{color:#194e70;font-size:10px}.secure-preview-summon-grid small{color:#78909e;font-size:7px}.secure-preview-summon-grid em{margin-top:3px;color:#8c6c29;font-size:7px;font-style:normal}
.secure-preview-battle-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 23px;border-radius:16px;background:linear-gradient(118deg,#123f69,#1683a8);color:#fff;box-shadow:0 13px 28px rgba(22,72,107,.17)}.secure-preview-battle-head h2{margin:3px 0;color:#fff;font-family:"Noto Serif SC","Songti SC",SimSun,serif;font-size:23px}.secure-preview-battle-head p{margin:0;color:#d5e9f3;font-size:9px}.secure-preview-battle-head>b{color:#d8f1ed;font-size:8px}
.secure-preview-builder{display:grid;grid-template-columns:.8fr 1.2fr;gap:12px}.secure-preview-roster{min-height:260px}.secure-preview-roster-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;filter:blur(4px);opacity:.68;user-select:none}.secure-preview-roster-grid article{display:grid;grid-template-columns:1fr auto;gap:2px 8px;padding:11px;border:1px solid #d3e4ec;border-radius:9px;background:#f7fbfd}.secure-preview-roster-grid span{color:#174d70;font-size:10px;font-weight:900}.secure-preview-roster-grid b{padding:2px 5px;border-radius:5px;background:#e5f4f0;color:#267567;font-size:7px}.secure-preview-roster-grid small{grid-column:1/-1;color:#7a909e;font-size:7px}
.secure-preview-lineup{min-height:260px}.secure-preview-lineup-map{display:grid;grid-template-columns:repeat(5,1fr);align-items:end;gap:5px;min-height:180px;filter:blur(4px);opacity:.66;user-select:none}.secure-preview-lineup-map article{display:grid;justify-items:center;align-content:center;min-height:115px;padding:7px;border-radius:48% 48% 14px 14px;background:radial-gradient(circle at 50% 30%,#edf8ff,#fff 65%);border:1px solid #cfe3ef;text-align:center}.secure-preview-lineup-map article:nth-child(1),.secure-preview-lineup-map article:nth-child(5){transform:translateY(24px)}.secure-preview-lineup-map article:nth-child(3){transform:translateY(-18px)}.secure-preview-lineup-map span{display:grid;width:22px;height:22px;place-items:center;border-radius:50%;background:#177fb5;color:#fff;font-size:8px;font-weight:900}.secure-preview-lineup-map i{display:grid;width:26px;height:26px;margin:6px 0 3px;place-items:center;border-radius:50%;background:#cfe4f5;color:#fff;font-style:normal}.secure-preview-lineup-map b{color:#174d72;font-size:8px}.secure-preview-lineup-map small{color:#7c909c;font-size:6px}.secure-preview-bb-row{margin-top:8px;padding:9px;border-radius:8px;background:#eef6fa;color:#668399;font-size:8px;text-align:center;filter:blur(4px);opacity:.7}
.secure-preview-fighter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px}.secure-preview-fighter{min-height:230px;padding:14px;border:1px solid #d6e5ec;border-radius:12px;background:#fbfdfe;overflow:hidden}.secure-preview-fighter>header{display:flex;align-items:center;gap:9px}.secure-preview-fighter>header>span{display:grid;width:30px;height:30px;place-items:center;border-radius:50%;background:#1684ba;color:#fff;font-size:9px;font-weight:900}.secure-preview-fighter>header b{display:block;color:#174c71;font-size:11px}.secure-preview-fighter>header small{display:block;margin-top:2px;color:#80939f;font-size:7px}.secure-preview-fighter-body{display:grid;grid-template-columns:.42fr 1fr;gap:9px;margin-top:12px;filter:blur(4px);opacity:.7;user-select:none}.secure-preview-fighter-body label{padding:11px;border-radius:9px;background:#edf5f9}.secure-preview-fighter-body label span{display:block;color:#78909e;font-size:7px}.secure-preview-fighter-body label strong{display:block;margin-top:7px;color:#174d73;font-size:15px}.secure-preview-fighter-body section{padding:10px;border-radius:9px;background:#f5f8fa}.secure-preview-resource-title{display:flex;justify-content:space-between;color:#688394;font-size:7px}.secure-preview-hp-track{height:12px;margin:14px 0 7px;border-radius:99px;background:#d8e3e8}.secure-preview-hp-track i{display:block;width:75%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#d44b4f,#e37d56)}.secure-preview-fighter-body section>strong{display:block;color:#174f76;font-size:10px;text-align:center}.secure-preview-fighter-body section>small{display:block;margin-top:5px;color:#83939c;font-size:6px;text-align:center}.secure-preview-fighter>.secure-preview-gate{inset:48px 0 0}.secure-preview-fighter:last-child{grid-column:1/-1;width:calc(50% - 5px)}
@media(max-width:960px){.secure-preview-tabs,.secure-preview-content{width:calc(100% - 28px)}.secure-preview-builder{grid-template-columns:1fr}.secure-preview-order-grid{grid-template-columns:repeat(3,1fr)}.secure-preview-dossier-grid,.secure-preview-fighter-grid{grid-template-columns:1fr}.secure-preview-fighter:last-child{grid-column:auto;width:auto}}
@media(max-width:680px){.secure-preview-shell .preview-detail-hero{min-height:310px;padding-bottom:62px}.secure-preview-tabs{grid-template-columns:1fr;margin-top:-43px}.secure-preview-tabs button{min-height:62px;padding:10px 16px}.secure-preview-tabs button+button{border-left:0;border-top:1px solid #dce9f0}.secure-preview-content{width:calc(100% - 18px)}.secure-preview-public-strip{grid-template-columns:1fr}.secure-preview-public-strip p{grid-column:1}.secure-preview-order-grid{grid-template-columns:repeat(2,1fr)}.secure-preview-order-list,.secure-preview-summon-grid,.secure-preview-roster-grid{grid-template-columns:1fr}.secure-preview-lineup-map{gap:1px}.secure-preview-lineup-map article{min-height:100px;padding:3px}.secure-preview-fighter-body{grid-template-columns:1fr}.secure-preview-battle-head{align-items:flex-start;flex-direction:column}.secure-preview-module>header,.secure-preview-player-board>header,.secure-preview-fighters>header{align-items:flex-start;flex-direction:column;gap:3px}}

/* 精确遮罩：只覆盖用户标注的数据子框，不覆盖标题或整张业务卡片。 */
.secure-preview-gate button{grid-template-columns:28px auto;column-gap:8px;min-width:142px;padding:8px 12px;border-radius:10px;box-shadow:0 8px 24px rgba(25,91,133,.14),inset 0 0 0 1px rgba(255,255,255,.8)}
.secure-preview-gate button i{width:24px;height:22px;border-radius:6px}.secure-preview-gate button i:before{left:5px;top:-9px;width:10px;height:11px}.secure-preview-gate button b{font-size:10px}.secure-preview-gate button small{font-size:6px}
.secure-preview-field-lock{position:relative;isolation:isolate;overflow:hidden;border-radius:9px}
.secure-preview-field-lock>button{position:absolute;z-index:3;left:50%;top:50%;min-width:78px;height:26px;padding:0 9px;border:1px solid rgba(74,158,198,.58);border-radius:7px;background:rgba(255,255,255,.9);box-shadow:0 5px 15px rgba(28,91,128,.12);color:#176b97;font-size:7px;font-weight:900;white-space:nowrap;cursor:pointer;transform:translate(-50%,-50%)}
.secure-preview-field-lock>button:hover{border-color:#1687c2;background:#fff}
.secure-preview-hp-kpi{min-height:50px}.secure-preview-hp-kpi>.secure-preview-private{padding:2px 4px}
.secure-preview-stat-row>.secure-preview-field-lock{background:#edf5f9}.secure-preview-stat-row>.secure-preview-field-lock p{background:transparent}
.secure-preview-specials{min-height:132px}
.secure-preview-summon-grid>.secure-preview-field-lock{display:block;padding:0;overflow:hidden;border:1px solid #cfe0e8;background:#f5fafc}
.secure-preview-summon-grid>.secure-preview-field-lock>article{display:grid;grid-template-columns:35px 1fr;gap:2px 8px;margin:0;padding:12px;border:0;background:transparent}
.secure-preview-fighter-body{filter:none;opacity:1;user-select:auto}
.secure-preview-fighter-body>.secure-preview-field-lock{min-height:126px}
.secure-preview-fighter-body>.secure-preview-field-lock>label{display:block;height:100%}
.secure-preview-fighter-body>.secure-preview-field-lock>section{height:100%}
.secure-preview-fighter-body>.secure-preview-field-lock>.secure-preview-private{filter:blur(4px);opacity:.68;user-select:none}

/* 33 个逐项锁定容器：不扩大遮罩范围，整块均可触发登录。 */
.secure-preview-clickable{cursor:pointer;transition:border-color .18s,box-shadow .18s,transform .18s}
.secure-preview-clickable:hover{border-color:#62b2d8!important;box-shadow:0 7px 19px rgba(31,112,158,.14)}
.secure-preview-clickable:focus-visible{outline:3px solid rgba(36,148,202,.28);outline-offset:2px}
.secure-preview-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:13px 0}
.secure-preview-summary-grid>article{min-width:0;padding:14px;border:1px solid #d3e5ee;border-radius:12px;background:rgba(255,255,255,.92)}
.secure-preview-summary-grid>article>small{display:block;color:#7891a1;font-size:7px}.secure-preview-summary-grid>article>h3{margin:4px 0 3px;color:#174d73;font-size:13px}.secure-preview-summary-grid>article>p{margin:0;color:#8194a1;font-size:7px}
.secure-preview-chip-row{display:flex;flex-wrap:wrap;gap:4px;padding:8px}.secure-preview-chip-row span,.secure-preview-shennong-chip{display:inline-block;padding:5px 7px;border:1px solid #d8c48c;border-radius:7px;background:#fff8e7;color:#7d641f;font-size:7px}
.secure-preview-belt-lock,.secure-preview-shennong-lock{min-height:50px;margin-top:7px;border:1px solid #d9e7ee;background:#f3f8fb}.secure-preview-shennong-lock>.secure-preview-private{display:grid;height:100%;place-items:center}
.secure-preview-strategy-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:13px}.secure-preview-strategy-grid>.secure-preview-module{margin-top:0}
.secure-preview-starter-list,.secure-preview-formation-list{display:grid;gap:7px;padding:12px}
.secure-preview-starter-lock,.secure-preview-formation-lock{border:1px solid #d2e4ec;background:#f7fbfd}
.secure-preview-starter-lock>.secure-preview-private>article{display:grid;grid-template-columns:28px 1fr auto;align-items:center;gap:8px;padding:10px}.secure-preview-starter-lock article>span{display:grid;width:25px;height:25px;place-items:center;border-radius:7px;background:#1684b9;color:#fff;font-size:8px;font-weight:900}.secure-preview-starter-lock article b{display:block;color:#164c71;font-size:9px}.secure-preview-starter-lock article small{display:block;color:#7a909e;font-size:7px}.secure-preview-starter-lock article strong{color:#0788c2;font-size:12px}
.secure-preview-formation-lock>.secure-preview-private>article{display:grid;grid-template-columns:22px 90px 70px 1fr 48px;align-items:center;gap:7px;padding:11px}.secure-preview-formation-lock article span{color:#1681b6;font-size:9px;font-weight:900}.secure-preview-formation-lock article b{color:#174d70;font-size:10px}.secure-preview-formation-lock article small{color:#79909e;font-size:7px}.secure-preview-formation-lock article i{height:7px;border-radius:99px;background:linear-gradient(90deg,#1598ca,#54c7c9)}.secure-preview-formation-lock article strong{color:#1687bd;font-size:10px;text-align:right}
.secure-preview-order-grid,.secure-preview-order-list{filter:none;opacity:1;user-select:auto}
.secure-preview-order-lock{height:100%;border:1px solid #d3e4ec;background:#f8fcfe}.secure-preview-order-lock>.secure-preview-private{height:100%}.secure-preview-order-grid .secure-preview-order-lock article{border:0;background:transparent}.secure-preview-order-list .secure-preview-order-lock article{border:0;background:transparent}
.secure-preview-hp-selected{display:grid;gap:8px}.secure-preview-hp-title-lock{min-height:62px;border:1px solid #d5e5ed;background:#f7fbfd}.secure-preview-hp-title-lock .secure-preview-hp-kpi{padding:9px}
.secure-preview-hp-range{display:grid;grid-template-columns:repeat(2,1fr);gap:7px}.secure-preview-hp-range-lock{border:1px solid #d5e5ed;background:#edf5f9}.secure-preview-hp-range-lock p{margin:0;padding:10px}.secure-preview-hp-range-lock small{display:block;color:#78909e;font-size:7px}.secure-preview-hp-range-lock b{display:block;margin-top:3px;color:#174d72;font-size:12px}
.secure-preview-scheme-list{display:grid;gap:6px}.secure-preview-scheme-lock{border:1px solid #eadca9;background:#fff9e8}.secure-preview-scheme-lock article{display:grid;grid-template-columns:90px 1fr auto;align-items:center;gap:8px;padding:9px}.secure-preview-scheme-lock span{color:#806521;font-size:7px}.secure-preview-scheme-lock strong{color:#174c70;font-size:11px}.secure-preview-scheme-lock small{color:#9a884f;font-size:7px}
.secure-preview-special-list{display:grid;gap:7px}.secure-preview-special-lock{min-height:53px;border:1px solid #d7e5ec;background:#f3f7f9}.secure-preview-special-lock article{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px}.secure-preview-special-lock strong{color:#174e72;font-size:9px}.secure-preview-special-lock span{color:#1685bb;font-size:7px}
.secure-preview-summon-grid>.secure-preview-summon-lock{min-height:82px}
@media(max-width:960px){.secure-preview-summary-grid{grid-template-columns:repeat(2,1fr)}.secure-preview-strategy-grid{grid-template-columns:1fr}}
@media(max-width:680px){.secure-preview-summary-grid{grid-template-columns:1fr}.secure-preview-hp-range{grid-template-columns:1fr}.secure-preview-formation-lock>.secure-preview-private>article{grid-template-columns:22px 70px 1fr 44px}.secure-preview-formation-lock article small{display:none}}

/* 编号 19–25 的选区是文字本身：只锁定数值/名称，不再遮住所在整行。 */
.secure-preview-inline-lock{position:relative;display:inline-grid;vertical-align:middle;overflow:hidden;border:1px solid rgba(119,178,207,.52);border-radius:5px;background:rgba(233,246,252,.86);cursor:pointer;isolation:isolate}
.secure-preview-inline-lock>.secure-preview-private{display:block;padding:2px 5px;filter:blur(3.5px);opacity:.72;user-select:none}
.secure-preview-inline-lock:after{content:"";position:absolute;z-index:2;inset:0;background:rgba(241,249,253,.24);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);pointer-events:none}
.secure-preview-inline-lock:hover{border-color:#43a8d5;box-shadow:0 3px 10px rgba(29,114,159,.14)}
.secure-preview-hp-title-row{display:grid;justify-items:start;gap:3px;padding:4px}.secure-preview-hp-title-row>small{color:#7d919e;font-size:7px}
.secure-preview-inline-lock.secure-preview-hp-title-lock{min-width:65px;min-height:0;border-radius:4px;background:transparent}.secure-preview-hp-title-lock strong{color:#14557f;font-size:21px}
.secure-preview-hp-range>p{margin:0;padding:10px;border-radius:8px;background:#edf5f9}.secure-preview-hp-range>p>small{display:block;color:#78909e;font-size:7px}.secure-preview-inline-lock.secure-preview-hp-range-lock{min-width:54px;min-height:0;margin-top:3px;border-radius:4px;background:transparent}.secure-preview-hp-range-lock b{color:#174d72;font-size:12px}
.secure-preview-scheme-list>article{display:grid;grid-template-columns:90px 1fr auto;align-items:center;gap:8px;padding:9px;border:1px solid #eadca9;border-radius:7px;background:#fff9e8}.secure-preview-scheme-list>article>span{color:#806521;font-size:7px}.secure-preview-scheme-list>article>small{color:#9a884f;font-size:7px}.secure-preview-inline-lock.secure-preview-scheme-lock{justify-self:start;min-width:54px;min-height:0;border-color:rgba(207,181,97,.5);background:rgba(255,249,232,.8)}.secure-preview-scheme-lock strong{color:#174c70;font-size:11px}
.secure-preview-special-list>article{display:flex;min-height:49px;align-items:center;justify-content:space-between;gap:10px;padding:10px;border:1px solid #d7e5ec;border-radius:8px;background:#f3f7f9}.secure-preview-special-list>article>span{color:#1685bb;font-size:7px}.secure-preview-inline-lock.secure-preview-special-lock{min-width:92px;min-height:0;border-color:rgba(126,174,199,.48);background:transparent}.secure-preview-special-lock strong{color:#174e72;font-size:9px}
.access-limit-card{max-width:680px;margin:120px auto 0;text-align:center}.access-limit-card>small{display:block;margin:10px auto 0;color:#668196;line-height:1.8}.state-card-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:22px}.state-card-actions button{min-width:130px}.state-card-actions button+button{border-color:#2287b9;background:#177fb4;color:#fff}
