
/* B 定稿品牌牌組圖形：現階段的可縮放 UI 圖標，不作爲正式高清 PNG 素材。 */
.b-seal,.b-mini-seal{position:relative;isolation:isolate;overflow:hidden;font-size:0!important}
.b-seal::before,.b-seal::after,.b-mini-seal::before,.b-mini-seal::after{
  content:"♠";position:absolute;display:grid;place-items:center;
  background:#fff8f0;color:#75242a;border:1px solid #f6e8db;
  box-shadow:0 1px 3px #4b1b1966;line-height:1;font-family:Georgia,serif
}
.b-seal::before{width:27px;height:42px;left:13px;top:13px;border-radius:4px;font-size:18px;transform:rotate(-17deg)}
.b-seal::after{content:"♥";width:29px;height:43px;left:29px;top:12px;border-radius:4px;font-size:20px;transform:rotate(11deg)}
.b-mini-seal::before{width:13px;height:19px;left:5px;top:6px;border-radius:2px;font-size:9px;transform:rotate(-15deg)}
.b-mini-seal::after{content:"♥";width:13px;height:19px;left:13px;top:5px;border-radius:2px;font-size:9px;transform:rotate(11deg)}
@media(max-width:600px){
 .b-seal::before{left:6px;top:7px;width:22px;height:30px;font-size:12px}
 .b-seal::after{left:20px;top:7px;width:21px;height:31px;font-size:12px}
 .b-mini-seal::before{left:3px;top:4px;width:10px;height:14px;font-size:7px}
 .b-mini-seal::after{left:10px;top:3px;width:10px;height:15px;font-size:7px}
}

/* B 牌路研究所 — 定稿 b-pattern.png
 * 米白宣紙、硃紅印章、精細紙張邊界與山水書卷式層級。
 * 本文件只是 UI 樣式，不包含可複用 PNG 圖片素材；獨立裝飾素材仍需專項驗收。
 */
:root{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}button,select,input{font:inherit}button{cursor:pointer}a{text-decoration:none;color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #a3423b;outline-offset:2px}
.b-theme{--brown:#4c2622;--red:#8f2728;--deep-red:#691c1e;--pink:#aa4b46;--ink:#332b28;--muted:#927e74;--edge:#decfc0;--paper:#fffaf1;--panel:#fffdf8;--shadow:0 4px 13px #65442b19;color:var(--ink);background:#efe6da}
.b-page{max-width:1600px;margin:auto;min-height:100vh;padding:0 18px 14px;background:radial-gradient(ellipse at 25% -20%,#fffaf1 0%,transparent 46%),radial-gradient(ellipse at 92% 20%,#d9c6aa4a,transparent 28%),repeating-linear-gradient(85deg,#6e493407 0px,#6e493407 1px,transparent 1px,transparent 5px),#f3ece1}
.b-masthead{min-height:120px;display:flex;align-items:center;justify-content:space-between;gap:18px;position:relative;padding:14px 24px;border-bottom:2px solid #c8b6a3;background:linear-gradient(105deg,#f6eae0,transparent 60%)}
.b-masthead:after{content:"";pointer-events:none;position:absolute;inset:25px 12px 10px 55%;opacity:.15;background:radial-gradient(ellipse at 50% 100%,#816b52 0%,transparent 53%),linear-gradient(160deg,transparent 40%,#977d6a77 45%,transparent 48%),linear-gradient(20deg,transparent 52%,#977d6a88 57%,transparent 60%)}
.b-head-brand{display:flex;align-items:center;gap:16px;position:relative;z-index:1}.b-head-brand h1{font:900 clamp(33px,3.6vw,53px)/1.1 "STKaiti","KaiTi","Songti SC",serif;color:#662224;letter-spacing:2px;margin:0;white-space:nowrap;text-shadow:0 2px 0 #fff8}.b-head-brand small{display:block;font-size:13px;letter-spacing:3px;color:#7e584a;margin-top:7px}
.b-seal{display:grid;place-items:center;width:71px;height:71px;border-radius:15px;color:#fff8f1;font-size:43px;background:linear-gradient(135deg,#a54543,#69191d);border:4px double #e7bba9;box-shadow:inset 0 1px 4px #ffd7c4,0 4px 10px #4c211c50}
.b-masthead>p{position:relative;z-index:1;margin:0;font:22px "STKaiti","Songti SC",serif;color:#552c27;white-space:nowrap;letter-spacing:2px}
.b-script{position:relative;z-index:1;font:italic 20px/1.5 "STKaiti","KaiTi",serif;color:#734e40;transform:rotate(-6deg);min-width:230px;text-align:center}
.b-script:after{content:"";display:block;width:70%;height:1px;background:#9c4546;margin:3px auto}
.b-workbench{background:#fff9ef;border:3px solid #dbcfc0;border-radius:22px;padding:8px;box-shadow:0 14px 26px #5f453821,0 0 0 2px #fff9ed inset}
.b-toolbar{min-height:55px;display:flex;align-items:center;gap:10px;padding:3px 15px 8px;background:linear-gradient(#fefbf5,#f5ecdf);border-bottom:1px solid #d6c7b6;border-radius:12px 12px 0 0}
.b-toolbar-brand{display:flex;align-items:center;gap:9px;min-width:206px;white-space:nowrap;font:800 19px "STKaiti","Songti SC",serif;color:#5f2423}
.b-mini-seal{width:32px;height:32px;display:grid;place-items:center;border-radius:6px;background:#88272a;color:white;font-size:23px}
.b-toolbar nav{display:flex;gap:4px;align-items:center;min-width:0;flex:1}.b-toolbar nav a{padding:10px 12px;color:#684d3d;white-space:nowrap;font-size:13px;border-radius:6px;font-weight:650}.b-toolbar nav a.selected,.b-toolbar nav a:hover{color:#fff;background:linear-gradient(#a9433f,#762023);box-shadow:0 2px 7px #6a252033}
.b-tools{display:flex;align-items:center;gap:13px;color:#65473b;font-size:12px;white-space:nowrap}.b-tools a{color:#9b3934;text-decoration:underline;text-underline-offset:3px}
.b-main{padding:12px 14px 14px;background:linear-gradient(#fbf6efeb,#fffdf9 180px)}
.b-page-title{min-height:86px;display:flex;align-items:center;justify-content:space-between;gap:15px;position:relative;overflow:hidden;padding:0 16px}
.b-page-title:before{content:"";position:absolute;right:8%;top:4px;width:39%;height:95px;opacity:.13;background:radial-gradient(ellipse at 55% 100%,#94826e 10%,transparent 64%),radial-gradient(ellipse at 15% 80%,#9e8b75 6%,transparent 47%)}
.b-page-title h2{position:relative;color:#782a2c;font:900 29px "STKaiti","Songti SC",serif;letter-spacing:2px;margin:0}
.b-page-title p{position:relative;color:#705b51;font-size:12px;line-height:1.65;margin:6px 0}.b-ink-accent{font:24px "STKaiti",serif;color:#a07d6c;opacity:.45;letter-spacing:8px}
.b-panel{min-width:0;border:1px solid #dfcfc1;border-radius:10px;background:linear-gradient(150deg,#fffcf6,#fbf3e8 94%);box-shadow:var(--shadow),inset 0 1px 0 #fff;padding:13px}
.b-panel-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px;min-width:0}
.b-panel h3{margin:0;font:800 18px "STKaiti","Songti SC",serif;color:#6e2d27;white-space:nowrap}.b-panel h3 small{font:12px -apple-system,sans-serif}.b-panel-head>span{font-size:11px;color:#88766c;white-space:nowrap}
.b-panel-head select,.b-search select{border:1px solid #dac8b7;background:#fffaf4;border-radius:5px;color:#6d5147;padding:6px 8px;font-size:11px}
.b-top-grid{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(330px,.89fr);gap:11px}
.b-road-panel{padding:12px;display:flex;flex-direction:column}.b-road-panel .b-panel-head{gap:14px}.b-road-panel .b-panel-head h3{margin-right:auto}
.b-road-frame{flex:1;min-height:196px;max-height:270px}.suite-road{position:relative;overflow:hidden;--step:20px;--grid:#dfd8cc;background:linear-gradient(90deg,var(--grid) 1px,transparent 1px),linear-gradient(var(--grid) 1px,transparent 1px),#fffefa;background-size:var(--step) var(--step);border:1px solid #e2d1c5}
.b-road-large{height:206px;border-radius:4px}.suite-road .road-item{position:absolute;width:calc(var(--step) - 5px);height:calc(var(--step) - 5px);border:2px solid #c9373c;left:0;top:0;border-radius:50%;background:#fff9ef;box-shadow:0 0 2px #a1343540}.suite-road .road-item.P{border-color:#2f77cd}.suite-road .road-item.T{border-color:#3caa62}.suite-road .road-item.fill{background:#b5363b}.suite-road .road-item.P.fill{background:#2f77cd}.suite-road .road-item.T.fill{background:#3e9d60}
.b-road-selection{position:absolute;left:31%;width:17%;top:0;bottom:0;border:2px dashed #b34339;border-radius:6px;background:#e8ab7040;z-index:2;pointer-events:none}
.b-road-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:10px;padding-top:8px;border-top:1px solid #e3d5c7}.b-legend{display:flex;gap:9px;font-size:11px;color:#6c5a52}.dot{display:inline-block;width:11px;height:11px;border:2px solid #be3c40;border-radius:50%;vertical-align:-2px}.dot.blue{border-color:#287dd1}.dot.green{border-color:#51a977}.b-sequence-label{font-size:11px;color:#695047}.suite-sequence{display:flex;align-items:center;gap:4px;min-height:26px}.suite-sequence span{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;font-size:12px;font-weight:900;color:#fff;background:linear-gradient(#d85657,#aa3036);box-shadow:inset 0 1px 0 #fff8}.suite-sequence span.P{background:linear-gradient(#669fe8,#2863bb)}.suite-sequence span.T{background:linear-gradient(#6abe88,#389365)}.suite-sequence.compact span{height:16px;width:16px;font-size:9px}.b-road-tools button,.b-input-row button{background:#fbf7f0;border:1px solid #dac7b7;color:#65463b;padding:6px 8px;border-radius:5px;font-size:11px}
.b-table{width:100%;border-collapse:collapse;font-size:11px}.b-table td,.b-table th{border-bottom:1px solid #e7d8ca;padding:8px 4px;text-align:center}.b-table th{background:#faf0e4;color:#65473d;font-weight:750;white-space:nowrap}.b-table tr.active{background:#faeee4}.b-table td:first-child{text-align:left}.b-muted{color:#88766c}.b-red{color:#b33438!important}.b-blue{color:#2d6cc5!important}.b-green{color:#328c63!important}.b-caption{font-size:10px;color:#947f71;line-height:1.5;margin:9px 0 0}
.b-bottom-grid{display:grid;grid-template-columns:minmax(210px,.83fr) minmax(0,1.68fr) minmax(245px,.92fr);gap:10px;margin-top:10px;align-items:start}.b-side-stack{display:flex;flex-direction:column;gap:10px;min-width:0}.b-search label{display:block;font-size:11px;color:#685146;font-weight:650;margin:11px 0 4px}.b-paired-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;background:#eee0d4;border-radius:6px;padding:3px}.b-paired-tabs button{border:0;border-radius:5px;color:#735f54;background:transparent;padding:8px 3px;font-size:12px}.b-paired-tabs button.active{background:#fffaf3;color:#802b2c;box-shadow:0 2px 4px #76401a18;font-weight:800}.b-input-row{display:flex;border:1px solid #dcc8b8;border-radius:6px;overflow:hidden;background:#fffaf4}.b-input-row input{flex:1;min-width:0;background:transparent;border:0;padding:9px;color:#603a31;font-size:12px}.b-input-row button{border:0;border-radius:0}.b-search select{width:100%;padding:10px}.b-button-primary{display:block;width:100%;border:1px solid #af4a42;border-radius:7px;padding:12px 10px;background:linear-gradient(180deg,#b54e48,#7e2527);color:#fff;font-size:13px;font-weight:750;margin-top:14px;box-shadow:0 4px 7px #8d392c25}.b-button-primary:hover{filter:brightness(1.08)}
.b-precision p{font-size:11px;line-height:1.8}.b-small-table{display:grid;grid-template-columns:1.4fr .8fr .8fr;gap:0;font-size:11px;border:1px solid #dbc8b9;text-align:center}.b-small-table>*{padding:6px 4px;border-bottom:1px solid #e5d6c7}
.b-result{padding:12px 15px;border:2px ridge #a1774a;box-shadow:0 0 0 3px #f5e6d2 inset,0 3px 13px #7a4c2a25}
.b-title-wreath{display:flex;align-items:center;justify-content:center;gap:15px;font:900 23px "STKaiti","Songti SC",serif;color:#862b2d;border-bottom:1px solid #ddc8b0;padding:0 0 9px}.b-title-wreath h3{font-size:24px}.b-title-wreath span{color:#ac8153}
.b-result-summary{display:grid;grid-template-columns:1.7fr .8fr .8fr;gap:7px;margin:10px 0}.b-result-summary>div{background:#fff7eb;border:1px solid #efdfce;border-radius:7px;padding:9px;min-width:0}.b-result-summary small{font-size:11px;display:block;color:#5f504a;margin-bottom:6px}.b-result-summary strong{display:block;text-align:center;font:700 28px "Songti SC",serif;color:#842a2f;white-space:nowrap}.b-result-summary em{font-size:12px;font-style:normal}.b-result-summary .suite-sequence span{height:24px;width:24px}
.b-result-lower{display:grid;grid-template-columns:1fr 1fr;gap:8px}.b-result-lower>div{border:1px solid #efe1ce;padding:9px;border-radius:6px;background:#fffbf5}.b-result-lower h4{font-size:13px;color:#772f2c;margin:0 0 6px}.b-result-lower p{margin:0;font-size:11px;line-height:1.65}.b-bar-row{display:grid;grid-template-columns:15px minmax(0,1fr) 42px;gap:5px;align-items:center;margin:7px 0;font-size:11px}.b-bar-row>div{height:9px;border-radius:6px;background:#f0e8e0;overflow:hidden}.b-bar-row>div i{display:block;height:100%;border-radius:4px}.b-bar-row b{font-size:10px}
.b-research-conclusion{margin:10px 0 0;padding:9px;display:flex;align-items:center;justify-content:space-between;gap:4px;background:linear-gradient(90deg,#f3e3d1,#fff8ed);border-radius:6px;border:1px solid #dfc7ae}.b-research-conclusion b{font-size:12px;color:#fff;background:#973432;padding:7px;border-radius:5px;white-space:nowrap}.b-research-conclusion strong{font-size:15px;white-space:nowrap;color:#782c2b}.b-research-conclusion strong em{color:#2465bd;font:900 22px sans-serif}.b-research-conclusion span{font-size:10px}.b-warning,.b-research-tip{font-size:11px;line-height:1.7;color:#895c3b;background:#fff1df;border:1px solid #e7c89d;border-radius:7px;padding:8px;margin:9px 0 0}.b-sample-note p{font-size:11px;line-height:1.8;margin:10px 0 0}.b-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;color:#724c47;padding:14px 10px;font-size:12px}.b-footer a{color:#8a2b2c;text-decoration:underline}.b-footer small{font-size:10px;max-width:38%}
.suite-toast{position:fixed;z-index:80;bottom:18px;right:18px;max-width:300px;border:1px solid #a74440;border-radius:8px;padding:11px 15px;background:#fff6e8;color:#722b2d;box-shadow:0 10px 24px #532e2b4d;font-size:12px}.suite-toast[hidden],[hidden]{display:none!important}
@media(max-width:1280px){.b-masthead>p{font-size:16px}.b-script{font-size:15px;min-width:180px}.b-toolbar-brand{min-width:150px;font-size:17px}.b-toolbar nav a{font-size:11px;padding:9px 6px}.b-tools{gap:6px;font-size:10px}.b-top-grid{grid-template-columns:minmax(0,1.9fr) minmax(285px,1fr)}.b-bottom-grid{grid-template-columns:minmax(175px,.85fr) minmax(0,1.55fr) minmax(205px,.9fr)}.b-result-summary{grid-template-columns:1.6fr .8fr .8fr}.b-result-summary strong{font-size:22px}.b-title-wreath h3{font-size:21px}.suite-sequence span{width:21px;height:21px;font-size:10px}.b-result-lower{grid-template-columns:1fr}.b-research-conclusion strong{font-size:12px}.b-research-conclusion strong em{font-size:17px}}
@media(max-width:950px){.b-page{padding:0 8px}.b-head-brand h1{font-size:32px}.b-masthead{min-height:90px}.b-masthead>p,.b-script{display:none}.b-tools{display:none}.b-workbench{border-radius:13px}.b-toolbar nav{overflow:auto}.b-toolbar-brand{min-width:130px}.b-top-grid{grid-template-columns:1fr}.b-bottom-grid{grid-template-columns:1fr 1fr}.b-bottom-grid>.b-result{grid-column:1/-1;grid-row:1}.b-page-title h2{font-size:26px}.b-footer{flex-wrap:wrap}}
@media(max-width:600px){.b-masthead{padding:12px}.b-head-brand h1{font-size:25px}.b-head-brand small{font-size:10px;letter-spacing:1px}.b-seal{width:49px;height:49px;font-size:28px}.b-toolbar{padding:6px}.b-toolbar-brand{min-width:0;font-size:14px}.b-mini-seal{height:24px;width:24px}.b-toolbar nav a{padding:7px 5px;font-size:10px}.b-page-title{padding:6px;min-height:72px}.b-page-title h2{font-size:22px}.b-ink-accent{display:none}.b-main{padding:8px}.b-panel{padding:10px}.b-panel-head{flex-wrap:wrap}.b-road-large{height:156px;--step:18px}.b-road-panel .b-panel-head>span{font-size:9px}.b-bottom-grid{grid-template-columns:1fr}.b-bottom-grid>.b-result{grid-column:auto}.b-result-summary{grid-template-columns:1fr 1fr}.b-result-summary>div:first-child{grid-column:1/-1}.b-footer small{max-width:none}.b-research-conclusion{flex-wrap:wrap}}
/* 獨立 App 使用相同色彩與圓點，不是 Web 雙機展示頁。 */
.b-app{background:#f9f2e8;color:#4d302a;min-height:100dvh}
.b-app .b-phone{width:min(100%,480px);min-height:100dvh;margin:auto;background:linear-gradient(#fffbf4,#f8e9d9);position:relative;padding-bottom:20px;box-shadow:0 0 18px #5b352625}
.b-app-head{display:flex;align-items:center;justify-content:space-between;min-height:70px;padding:12px 17px;background:#fffdf8;border-bottom:1px solid #e0cdbc}
.b-app-head strong{font:800 22px "STKaiti","Songti SC",serif;color:#772b2b}.b-app-head button{border:0;background:transparent;font-size:21px;color:#7a463d}.b-app-head .b-mini-seal{margin-right:8px;display:inline-grid;vertical-align:middle}
.b-app-intro{padding:16px 20px 13px;background:linear-gradient(110deg,#fff9ed,#eee0ca)}.b-app-intro h1{font:900 26px "STKaiti",serif;margin:0 0 5px;color:#7b2c29}.b-app-intro p{font-size:11px;line-height:1.7;margin:0;color:#69564b}
.b-app-content{padding:12px;display:flex;flex-direction:column;gap:12px}.b-app .b-panel{padding:14px;border-radius:10px}.b-step-title{font:800 18px "STKaiti","Songti SC",serif;color:#7b2928;margin:0 0 8px}.b-step-title b{display:inline-grid;place-items:center;height:24px;width:24px;border-radius:50%;background:#8d2c2b;color:#fff;font:700 12px sans-serif;margin-right:7px}.b-step-sub{font-size:11px;color:#806c61;margin:0 0 10px;line-height:1.65}.b-app .suite-sequence span{width:28px;height:28px;font-size:12px}.b-app .suite-sequence{justify-content:space-around}.b-app .b-search-row{display:grid;grid-template-columns:1fr 1fr;gap:9px}.b-app .b-search-row button{padding:12px 5px;border-radius:7px;border:1px solid #e0c7b1;background:#fff8ee;color:#7c322e;font-weight:700;font-size:12px}.b-app .b-search-row button.active{color:#fff;background:linear-gradient(#b4524d,#80292c);border-color:#9e3436}.b-app .b-button-primary{margin-top:9px}.b-app .b-title-wreath h3{font-size:20px}.b-app .b-result-summary{grid-template-columns:1fr 1fr}.b-app .b-result-summary>div:first-child{display:block;grid-column:auto}.b-app .b-research-conclusion{display:block;text-align:center}.b-app .b-research-conclusion strong{display:block;margin:8px 0;font-size:16px}.b-app .b-bar-row{grid-template-columns:20px 1fr 44px}.b-app .b-warning{font-size:11px}.b-app-results{display:flex;flex-direction:column;gap:8px}.b-app-results button{background:#fff9f1;border:1px solid #e2d1c2;border-radius:8px;padding:12px;display:flex;align-items:center;justify-content:space-between;text-align:left;font-size:12px;color:#624c43}.b-app-results button b{font-size:15px;color:#832c2e}
.b-app-bottom{position:relative;display:flex;justify-content:space-around;width:100%;margin:12px 0 0;background:#fffaf2ee;border-top:1px solid #e0c8b3;border-bottom:1px solid #e0c8b3;padding:10px 10px 12px}.b-app-bottom a{font-size:11px;color:#8b7068;display:flex;flex-direction:column;gap:3px;align-items:center}.b-app-bottom a.active{color:#8a2c2d;font-weight:800}.b-app-bottom b{font-size:19px}
.b-app .suite-toast{left:20px;right:20px;bottom:16px;max-width:none}

/* 手機獨立界面：按鎖定 B 定稿提高首屏信息密度，保留文字可讀性與點擊熱區。
 * 這些都是頁面排版，不新增或縮小 PNG 素材。
 */
.b-app-head{min-height:59px;padding:8px 14px}
.b-app-head strong{font-size:20px}
.b-app-intro{padding:10px 17px 9px}
.b-app-intro h1{font-size:23px;margin-bottom:3px}
.b-app-intro p{font-size:10px;line-height:1.5}
.b-app-content{padding:9px 10px 3px;gap:8px}
.b-app .b-panel{padding:10px 12px;border-radius:10px}
.b-app .b-step-title{font-size:17px;margin-bottom:6px}
.b-app .b-step-title b{width:22px;height:22px;font-size:11px}
.b-app .b-step-sub{margin:0 0 6px;font-size:10px;line-height:1.5}
.b-app .suite-sequence{min-height:25px}
.b-app .suite-sequence span{height:26px;width:26px;font-size:11px}
.b-app .b-search-row{gap:7px}
.b-app .b-search-row button{min-height:38px;padding:8px 5px;font-size:11px}
.b-app .b-button-primary{min-height:41px;margin-top:6px;padding:9px 8px}
.b-app .b-caption{margin-top:5px;font-size:9px}
.b-app .b-title-wreath{gap:9px;padding-bottom:5px}
.b-app .b-title-wreath h3{font-size:19px}
.b-app .b-result-summary{gap:6px;margin:6px 0}
.b-app .b-result-summary>div{padding:7px}
.b-app .b-result-summary small{font-size:10px;margin-bottom:3px}
.b-app .b-result-summary strong{font-size:23px}
.b-app .b-research-conclusion{display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left;margin:5px 0 7px;padding:7px}
.b-app .b-research-conclusion b{font-size:10px;padding:5px}
.b-app .b-research-conclusion strong{font-size:12px;margin:0;white-space:normal;text-align:right;line-height:1.4}
.b-app .b-research-conclusion strong em{font-size:18px}
.b-app .b-bar-row{margin:5px 0}
.b-app .b-warning{font-size:10px;line-height:1.5;margin-top:7px;padding:7px}
.b-app-results{gap:6px}
.b-app-results button{min-height:42px;padding:9px 10px;font-size:11px}
.b-app-results button b{font-size:12px;white-space:nowrap}
.b-app-bottom a{min-height:37px}
@media(max-width:355px){
 .b-app-head{padding:7px 10px}
 .b-app-head strong{font-size:18px}
 .b-app .b-panel{padding:9px 10px}
 .b-app .suite-sequence span{height:24px;width:24px;font-size:10px}
 .b-app .b-result-summary strong{font-size:21px}
 .b-app .b-research-conclusion strong{font-size:11px}
}

/* 底部導航爲不透底的閱讀操作層，避免下方相似記錄文字透出。 */
.b-app-bottom{background:#fffaf2;box-shadow:0 3px 12px #5a302410}
.b-app-bottom a.active{color:#8a2c2d;font-weight:800}

/* B 靜態相似形態的選擇反饋：只操作演示樣本，不提供真實檢索。 */
.b-table tr[data-b-sample-row]{cursor:pointer}
.b-table tr[data-b-sample-row]:hover{background:#f8e7d9}
.b-table tr[data-b-sample-row]:focus-visible{outline:2px solid #a3423b;outline-offset:-2px}
.b-table tr[data-b-sample-row].active{background:#f6e2d4;box-shadow:inset 3px 0 0 #a53a32}
.b-app-results button.active{border-color:#a9423c;background:#fcece0;box-shadow:inset 3px 0 0 #a9423c}

/* B 已限定用途驗收宣紙底紋：原生 3072×2048 PNG，程序獨立繪製，非母版切片。
 * 僅作爲紙面材質疊加，Web/App 的文字、表格使用暖白遮罩保持對比度。
 */
.b-web .b-page{
 background-image:
   radial-gradient(ellipse at 20% -10%,rgba(255,254,246,.53),transparent 51%),
   var(--b-texture-warm-xuan-paper-3072x2048, none);
 background-size:auto,1536px 1024px;
 background-position:center top,center top;
 background-repeat:no-repeat,repeat;
}
.b-web .b-masthead{
 background-image:linear-gradient(105deg,rgba(255,249,241,.62),rgba(255,251,243,.32));
}
.b-web .b-panel{
 background-image:
   linear-gradient(145deg,rgba(255,253,248,.91),rgba(251,243,232,.89)),
   var(--b-texture-warm-xuan-paper-3072x2048, none);
 background-size:auto,900px 600px;
}
.b-app .b-phone{
 background-image:
   linear-gradient(180deg,rgba(255,251,244,.82),rgba(249,237,224,.83)),
   var(--b-texture-warm-xuan-paper-3072x2048, none);
 background-size:auto,1024px auto;
}

/* B 已驗收淡墨遠山透明 PNG：僅用於 Web 研究標題右側背景。
 * 不包含古籍書卷；標題、正文和按鈕在上層。
 */
.b-web .b-page-title::before{
 content:"";position:absolute;inset:0 0 0 auto;width:72%;height:100%;
 opacity:.23;pointer-events:none;
 background:var(--b-texture-soft-ink-mountain-ridges-3072x960, none)
   right 70% / 100% auto no-repeat;
}

/* B 正式硃紅疊牌 PNG：獨立原生 2048×2048、透明底，替代字符疊牌。
 * 在 Web 頁眉 71px/工具欄 32px 和 App 頂欄 24px 已完成實景檢查。
 */
.b-theme .b-seal,.b-theme .b-mini-seal{
  background:transparent var(--b-texture-oxblood-two-cards-seal-2048, none) center/120% 120% no-repeat;
  border:0;box-shadow:none;border-radius:0;
}
.b-theme .b-seal::before,.b-theme .b-seal::after,
.b-theme .b-mini-seal::before,.b-theme .b-mini-seal::after{display:none}

/* B 已驗收古籍書卷有限用途：只在 Web 標題右側低對比顯示，背景/操作區不放置。 */
.b-web .b-page-title::after{
 content:"";position:absolute;pointer-events:none;z-index:0;
 right:12px;top:-22px;width:320px;height:144px;
 background:var(--b-texture-antique-books-parchment-2400x1200, none) right center/contain no-repeat;
 opacity:.68;
}
.b-web .b-page-title>.b-ink-accent{position:relative;z-index:1;opacity:.22}
@media(max-width:1150px){.b-web .b-page-title::after{right:5px;width:250px;height:115px;top:-12px;opacity:.48}}

/* B 母版底部四項研究能力帶：與頁腳免責聲明分離，保留完整文字。
 * 僅靜態說明，不新增業務入口；小寬度改爲兩列或單列，頁面高度可滾動。
 */
.b-web .b-feature-band{
 display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;
 margin:12px 8px 0;padding:12px 0 9px;
 border-top:1px solid rgba(170,122,90,.22);
 border-bottom:1px solid rgba(170,122,90,.17);
}
.b-web .b-feature{
 display:flex;align-items:flex-start;gap:13px;min-width:0;
 padding:10px 17px 12px;
 color:#754838;
}
.b-web .b-feature:not(:first-child){border-left:1px solid rgba(150,103,83,.29)}
.b-web .b-feature-icon{
 display:grid;flex:0 0 45px;width:45px;height:45px;place-items:center;
 font-size:29px;font-weight:500;line-height:1;color:#994540;
 border:1px solid rgba(169,92,79,.22);border-radius:50%;
 background:radial-gradient(circle at 30% 25%,#fffaf4,#f0dfd2);
 box-shadow:0 3px 9px #8d5b3410;
}
.b-web .b-feature h3{margin:0 0 6px;font-size:16px;line-height:1.3;color:#77332d;letter-spacing:.06em}
.b-web .b-feature p{margin:0;font-size:11px;line-height:1.65;color:#795d4e}
.b-web .b-footer{padding:11px 16px;justify-content:space-between}
.b-web .b-footer small{max-width:none}
@media(max-width:1150px){
 .b-web .b-feature-band{grid-template-columns:repeat(2,minmax(0,1fr))}
 .b-web .b-feature:nth-child(3){border-left:0}
 .b-web .b-feature:nth-child(n+3){border-top:1px solid rgba(150,103,83,.17)}
}
@media(max-width:660px){
 .b-web .b-feature-band{grid-template-columns:1fr;margin:10px 0 0}
 .b-web .b-feature{padding:10px 12px}
 .b-web .b-feature:not(:first-child){border-left:0;border-top:1px solid rgba(150,103,83,.17)}
 .b-web .b-feature-icon{flex-basis:38px;width:38px;height:38px;font-size:24px}
}

/* B 窄屏時古籍擺件會擠壓標題說明：僅隱藏裝飾，不隱藏正文或操作。 */
@media(max-width:850px){.b-web .b-page-title::after{display:none}}

/* B 母版品牌與工作臺標題採用厚重宋體字形；右側手寫標語仍保留楷體。 */
.b-web .b-head-brand h1{
 font-family:"Songti SC","Noto Serif CJK SC","SimSun",serif;
 font-weight:900;letter-spacing:.7px;text-shadow:0 1px 0 #fff8;
}
.b-web .b-page-title h2{
 font-family:"Songti SC","Noto Serif CJK SC","SimSun",serif;
 font-weight:900;letter-spacing:.7px;
}
.b-web .b-masthead>p{
 font-family:"Songti SC","Noto Serif CJK SC","SimSun",serif;
 font-weight:600;letter-spacing:1px;
}

/* B 獨立 Web 最小工作臺寬度 Gate：1024px 停止縮小，避免將桌面研究圖和三欄結果堆成手機佈局。
 * 低於 1024px 允許橫向查看，不隱藏文字、研究菜單與主搜索按鈕。
 * 原有 B 獨立 App 始終保留 390/320 的原生移動佈局。
 */
@media(max-width:1023px){
 .b-web .b-page{min-width:1024px}
 .b-web .b-masthead{min-height:100px;padding:14px 22px}
 .b-web .b-head-brand h1{font-size:37px}
 .b-web .b-head-brand small{font-size:11px;letter-spacing:2px}
 .b-web .b-seal{width:71px;height:71px}
 .b-web .b-masthead>p{display:block;font-size:16px}
 .b-web .b-script{display:block;font-size:15px;min-width:180px}
 .b-web .b-toolbar{padding:3px 15px 8px}
 .b-web .b-toolbar-brand{min-width:150px;font-size:16px}
 .b-web .b-mini-seal{width:30px;height:30px}
 .b-web .b-toolbar nav{overflow:visible}
 .b-web .b-toolbar nav a{font-size:11px;padding:9px 7px}
 .b-web .b-tools{display:flex;gap:8px;font-size:10px}
 .b-web .b-main{padding:12px 14px 14px}
 .b-web .b-panel{padding:13px}
 .b-web .b-page-title{min-height:86px;padding:0 16px}
 .b-web .b-page-title h2{font-size:26px}
 .b-web .b-top-grid{grid-template-columns:minmax(0,2.2fr) minmax(330px,.89fr)}
 .b-web .b-bottom-grid{grid-template-columns:minmax(210px,.83fr) minmax(0,1.68fr) minmax(245px,.92fr)}
 .b-web .b-bottom-grid>.b-result{grid-column:auto;grid-row:auto}
 .b-web .b-panel-head{flex-wrap:nowrap}
 .b-web .b-road-large{height:206px;--step:20px}
 .b-web .b-result-summary{grid-template-columns:1.7fr .8fr .8fr}
 .b-web .b-result-summary>div:first-child{grid-column:auto}
 .b-web .b-research-conclusion{flex-wrap:nowrap}
 .b-web .b-feature-band{grid-template-columns:repeat(2,minmax(0,1fr));margin:12px 8px 0}
 .b-web .b-feature{padding:10px 17px 12px}
 .b-web .b-feature:nth-child(2),.b-web .b-feature:nth-child(4){border-left:1px solid rgba(150,103,83,.29)}
 .b-web .b-feature:nth-child(n+3){border-top:1px solid rgba(150,103,83,.17)}
 .b-web .b-footer{flex-wrap:nowrap}
}

/* 舊精準匹配卡的括號說明原被 h3 nowrap 撐出窄欄：只允許該標題內換行。 */
.b-web .b-precision h3{white-space:normal;line-height:1.45}
.b-web .b-precision h3 small{white-space:normal;font-size:11px}

/* B App Top3 與母版對齊：獨立名次、紅藍牌路圓點、示例樣本信息。
 * 仍復用原 data-b-pick 交互，不把展示數據冒充真實歷史檢索。
 */
.b-app .b-app-results button{
 display:grid;grid-template-columns:22px minmax(0,1fr) 12px;
 gap:8px;align-items:center;min-height:69px;padding:8px 9px;
}
.b-app .b-result-rank{
 display:grid;place-items:center;width:21px;height:24px;
 border-radius:5px;border:1px solid #e1bca3;
 background:linear-gradient(#f8e7cf,#dfc09b);color:#855035;
 font-family:Georgia,serif;font-size:13px;font-weight:700;
}
.b-app .b-result-content{display:flex;flex-direction:column;gap:6px;min-width:0}
.b-app .b-result-pips{display:flex;gap:3px;align-items:center;min-width:0}
.b-app .b-result-pip{
 display:grid;place-items:center;flex:0 0 18px;width:18px;height:18px;
 border-radius:50%;font-size:10px;font-style:normal;font-weight:800;line-height:1;
 color:#fff;text-shadow:0 1px 1px #0003;
}
.b-app .b-result-pip.banker{background:linear-gradient(#ed6664,#bd3038);border:1px solid #a92732}
.b-app .b-result-pip.player{background:linear-gradient(#649eec,#2463bf);border:1px solid #245ab1}
.b-app .b-result-meta{display:flex;justify-content:space-between;align-items:center;gap:5px;min-width:0;white-space:nowrap;color:#7a6154;font-size:10px}
.b-app .b-result-meta strong{color:#832c2e;font-size:11px;font-weight:800}
.b-app .b-result-meta em{font-size:11px;font-weight:800;font-style:normal}
.b-app .b-result-chevron{font-size:19px;color:#8b6252;justify-self:end}
@media(max-width:365px){
 .b-app .b-app-results button{grid-template-columns:19px minmax(0,1fr) 10px;gap:5px;padding:8px 7px}
 .b-app .b-result-rank{width:19px;height:22px}
 .b-app .b-result-pips{gap:2px}
 .b-app .b-result-pip{flex-basis:16px;width:16px;height:16px;font-size:9px}
 .b-app .b-result-meta{font-size:9px;gap:3px}
 .b-app .b-result-meta strong,.b-app .b-result-meta em{font-size:10px}
}

/* B App 頂部研究題簽：複用正式宣紙及帶右側竹葉的淡墨遠山 PNG。
 * 限於手機題簽，不引入新的疊牌/書卷或整頁截圖；文字保持在裝飾之上。
 */
.b-app .b-app-intro{
 position:relative;isolation:isolate;overflow:hidden;
 background:
   linear-gradient(110deg,rgba(255,249,238,.88),rgba(244,229,206,.78)),
   var(--b-texture-warm-xuan-paper-3072x2048, none) center 27%/580px auto;
 border-bottom:1px solid rgba(158,111,83,.16);
}
.b-app .b-app-intro::before{
 content:"";position:absolute;inset:0 0 0 auto;width:55%;
 background:var(--b-texture-soft-ink-mountain-ridges-3072x960, none) right -2px top -55px/620px auto no-repeat;
 opacity:.40;pointer-events:none;z-index:-1;
}
.b-app .b-app-intro h1,.b-app .b-app-intro p{position:relative;z-index:1}

/* B Web 三欄比例：收緊左側搜索/精準結果的空白，不改變字段、按鈕和數據。
 * 解決 1440 下左欄比中央推薦卡多出約 105px、1024 下多出約 68px 的問題。
 * 僅限 Web；App 390/320 沿用原排版。
 */
.b-web .b-bottom-grid .b-search{padding:10px 11px}
.b-web .b-bottom-grid .b-search .b-panel-head{margin-bottom:6px}
.b-web .b-bottom-grid .b-search label{margin:6px 0 3px}
.b-web .b-bottom-grid .b-search .b-paired-tabs button{padding:6px 3px}
.b-web .b-bottom-grid .b-search .b-input-row input{padding:7px}
.b-web .b-bottom-grid .b-search select{padding:7px 8px}
.b-web .b-bottom-grid .b-search .b-button-primary{margin-top:8px;padding:9px 7px;min-height:36px}
.b-web .b-bottom-grid .b-search .b-caption{margin-top:5px}
.b-web .b-bottom-grid .b-precision{padding:10px 11px}
.b-web .b-bottom-grid .b-precision h3{font-size:16px;line-height:1.35}
.b-web .b-bottom-grid .b-precision p{margin:7px 0;font-size:11px;line-height:1.5}
.b-web .b-bottom-grid .b-precision .b-small-table>*{padding:4px 3px}

/* B 母版底部硃紅免責聲明條：信息優先、完整可讀、不懸浮蓋住內容。
 * 仍保留可點擊 App 入口；僅作用於 B Web，不改獨立 B App。
 */
.b-web .b-footer{
 display:flex;align-items:center;gap:11px;
 margin:12px 8px 10px;padding:11px 15px;min-height:42px;
 border:1px solid #893b3c;border-radius:11px;
 color:#fff4e8;
 background:linear-gradient(105deg,#7c292d 0%,#95363b 48%,#70282f 100%);
 box-shadow:inset 0 1px 0 #ffebd629,0 4px 12px #632d321c;
}
.b-web .b-footer-icon{
 display:grid;place-items:center;flex:none;width:23px;height:23px;
 border:1px solid #ffe8d6b0;border-radius:50%;
 color:#fff7ec;font-size:17px;line-height:1;
}
.b-web .b-footer small{
 flex:1;min-width:0;max-width:none;margin:0;
 color:#fff0e0;font-size:11px;line-height:1.65;letter-spacing:.01em;
}
.b-web .b-footer small strong{font-weight:800;color:#fff;}
.b-web .b-footer a{
 flex:none;white-space:nowrap;color:#fff0e2;
 font-size:11px;font-weight:750;
 text-decoration:underline;text-underline-offset:3px;
}
.b-web .b-footer a:hover{color:#fff}
.b-web .b-footer a:focus-visible{outline:2px solid #fff;outline-offset:3px;border-radius:3px}

/* B 本地形態計算結果：只在執行搜索後呈現，默認不改變已驗收母版結構。
 * 單獨展示計算值，不覆寫原設計稿中預置的歷史佔比/樣本數字。
 */
.b-theme .b-local-results{
 margin:12px 8px;padding:14px 16px;border:1px solid #dfc7ae;
 background:linear-gradient(135deg,#fffaf3,#f8efe2);border-radius:13px;
 color:#70473a;box-shadow:0 4px 15px #7040200d;
}
.b-theme .b-local-results h3{margin:0 0 6px;font-size:17px;color:#813433}
.b-theme .b-local-note,.b-theme .b-local-summary{margin:5px 0;font-size:11px;line-height:1.65}
.b-theme .b-local-note{color:#86675a}
.b-theme .b-local-summary{font-weight:700}
.b-theme .b-local-match-list{
 display:grid;grid-template-columns:repeat(auto-fit,minmax(255px,1fr));gap:8px;
 padding:0;margin:12px 0 0;list-style:none;
}
.b-theme .b-local-match-list li{
 display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;
 gap:5px;padding:8px 10px;border:1px solid #e8d1ba;border-radius:9px;
 background:#fffdf9;min-width:0;
}
.b-theme .b-local-rank{font-size:12px;font-weight:800;color:#8c4b35}
.b-theme .b-local-sequence{display:flex;align-items:center;gap:2px;min-width:0}
.b-theme .b-local-sequence i{
 display:grid;place-items:center;flex:0 0 17px;width:17px;height:17px;
 border-radius:50%;font-style:normal;font-size:10px;font-weight:700;color:#fff;
}
.b-theme .b-local-sequence i.B{background:#c84042}
.b-theme .b-local-sequence i.P{background:#437cc5}
.b-theme .b-local-sequence i.T{background:#2eaa76}
.b-theme .b-local-match-list strong{font-size:12px;color:#9b3438}
.b-theme .b-local-distance{grid-column:2/-1;font-size:10px;color:#876a5f}
.b-theme .b-local-empty{margin:8px 0 0;font-size:12px;line-height:1.6}
.b-app .b-local-results{margin:0;padding:12px}
.b-app .b-local-match-list{grid-template-columns:1fr}
@media(max-width:365px){
 .b-theme .b-local-sequence i{flex-basis:15px;width:15px;height:15px;font-size:9px}
 .b-app .b-local-match-list li{padding:7px 6px;gap:3px}
}
