*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#080808;color:#f5f5f5;font:16px/1.85 system-ui,-apple-system,"Microsoft YaHei",sans-serif}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}a:hover,button:hover{color:#fff}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #f0343b;outline-offset:3px}.wrap{width:min(1220px,calc(100% - 32px));margin:auto}.fixed-head{position:sticky;top:0;z-index:20}.fire{height:16px;background:#d71920;font-size:10px;line-height:16px}.fire-in{display:flex;justify-content:space-between}.fire button{background:none;border:0;color:#fff;font-size:10px;line-height:16px;padding:0 12px}.mast{height:50px;background:#050505;border-bottom:1px solid #8f1017}.mast-in{height:100%;display:flex;justify-content:space-between;align-items:center}.brand{font-weight:900;font-size:21px;color:#fff}.brand small{font-size:10px;letter-spacing:1px}.head-actions{display:flex;align-items:center;gap:12px}.head-actions a,.head-actions button{min-height:44px;display:flex;align-items:center;padding:0 12px;border:1px solid #8f1017;background:#121212;color:white;border-radius:7px}.desk-nav{height:42px;background:#121212}.desk-nav .wrap{display:flex;height:100%;gap:8px}.desk-nav a{border-left:3px solid #d71920;padding:5px 18px}.active,.desk-nav a:hover{background:#d71920!important;color:white!important}.content{padding:26px 0 70px;min-height:70vh}h1{font-size:clamp(28px,3vw,32px);line-height:1.4;margin:12px 0 22px;color:white}h2{font-size:23px;color:white;line-height:1.4}h3{font-size:19px;color:white}p{margin:10px 0 18px}.lead{font-size:18px;color:#d9d9d9;max-width:850px}.kicker{color:#f0343b;font-weight:700;letter-spacing:.08em}.card,.section{background:#121212;border:1px solid rgba(255,255,255,.13);border-radius:9px;padding:22px;margin:18px 0}.card{background:#191919}.card:hover{background:#222}.card h2,.card h3{margin-top:0}.card p,.section p{color:#f5f5f5}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.hero{display:grid;grid-template-columns:42% 58%;align-items:center;gap:0;margin:20px 0}.hero>div{min-width:0;padding:20px}.hero .art{background:#121212;border:1px solid #8f1017;display:flex;align-items:center;justify-content:center;min-height:160px;max-height:240px;overflow:visible}.hero .art img{max-height:240px}.art-fallback{font-size:clamp(22px,4vw,46px);font-weight:900;color:#fff;text-align:center}.btn{display:inline-flex;align-items:center;min-height:44px;background:#d71920;color:#fff;padding:8px 18px;border-radius:7px;margin:5px 8px 5px 0}.btn.secondary{background:#080808;border:1px solid #d71920}.card img,.section img,.hero img{object-fit:contain;object-position:center;max-width:100%;height:auto;display:block;margin:12px auto;max-height:180px}.section .app-img{max-height:420px}.ticker{border-left:5px solid #d71920;padding:10px 15px;background:#121212}.section{border-top:2px solid #d71920}.article{max-width:920px}.article section{margin:25px 0;padding:12px 22px;border-left:3px solid #8f1017;background:#121212}.article section p{line-height:2.05}.footer{background:#050505;border-top:3px solid #d71920;padding:30px 0 80px}.footer-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.footer-grid a{display:block;color:#d9d9d9;padding:5px 0}.footer small{font-size:12px}.overlay{position:fixed;inset:0;background:#000b;z-index:29;opacity:0;pointer-events:none;transition:opacity .15s}.overlay.show{opacity:1;pointer-events:auto}.drawer,.search-panel{position:fixed;z-index:30;top:66px;right:16px;width:min(340px,calc(100vw - 32px));max-height:calc(100dvh - 82px);overflow-y:auto;background:#121212;border:1px solid #d71920;padding:16px;box-shadow:0 14px 38px #0006;display:none}.drawer.show,.search-panel.show{display:block}.drawer section{margin:12px 0}.drawer h2{font-size:16px;color:#fff;border-bottom:1px solid #8f1017}.drawer-grid{display:grid;grid-template-columns:1fr 1fr;gap:5px}.drawer-grid a{padding:8px;border:1px solid #333;font-size:14px}.drawer-grid small{display:block;font-size:11px;color:#bdbdbd}.panel-head{display:flex;justify-content:space-between;align-items:center}.panel-head button{background:#d71920;color:#fff;border:0;min-height:44px;padding:0 12px}.search-panel input{width:100%;background:#191919;border:1px solid #aaa;color:white;padding:12px;margin:10px 0}.search-panel a{display:inline-block;padding:8px 12px;border:1px solid #444;margin:4px}.search-panel a[hidden]{display:none}.locked{overflow:hidden}.mobile-nav{display:none}@media(max-width:900px){.grid.four{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.desk-nav{display:none}.brand small{display:none}.head-actions{gap:5px}.head-actions a,.head-actions button{padding:0 8px;font-size:13px}.hero,.grid,.grid.four{grid-template-columns:1fr}.hero>div{padding:12px}.hero .art{max-height:240px}.card,.section{padding:16px}.article section{padding:10px 15px}.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mobile-nav{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;bottom:0;left:0;right:0;background:#050505;border-top:1px solid #d71920;z-index:21;padding-bottom:env(safe-area-inset-bottom)}.mobile-nav a{min-height:50px;display:flex;align-items:center;justify-content:center;font-size:13px}.content{padding-bottom:90px}.footer{padding-bottom:100px}}

/* Responsive layout and media safety corrections */
html,body{width:100%;max-width:100%;overflow-x:clip}
*,*::before,*::after{box-sizing:border-box}
img,svg,video{max-width:100%;height:auto}
img{object-fit:contain;object-position:center}
.fixedhead,.site-header,header{max-width:100vw}
.brand,.brandbar,.brandname,.logo,.brand a,.brandbar a{min-width:0}
.brandname img,.brand .logo img,.brandbar img,.logo img,.brand img,header img[src*="51baoliao-logo.webp"]{display:block!important;width:auto!important;height:auto!important;max-height:28px!important;max-width:min(190px,42vw)!important;object-fit:contain!important;object-position:left center!important;margin:0!important}
.brandname,.logo{display:inline-flex;align-items:center;max-width:48%;flex-shrink:1}
.brandactions,.brand-actions,.header-actions{flex-shrink:0;min-width:0}
.hero,.split,.cards,.detailgrid,.grid,.card,.section,.article,.article-section{min-width:0;max-width:100%}
.hero>*,.split>*,.cards>*,.detailgrid>*,.grid>*{min-width:0}
.hero img[src*="51baoliao-banner.webp"],.heroimage img,.hero-media img,.hero .art img{display:block;width:auto!important;height:auto!important;max-width:100%!important;max-height:240px!important;object-fit:contain!important;object-position:center!important;margin:0 auto!important}
.heroimage,.hero-media,.hero .art{min-width:0;max-width:100%;max-height:none;overflow:visible}
img[src*="51baoliao-quanwang.webp"]{display:block;width:auto!important;height:auto!important;max-width:100%!important;max-height:180px!important;object-fit:contain!important;object-position:center!important;margin:12px auto!important}
.card img,.section img,.article img,.article-section img{width:auto;max-width:100%;height:auto;max-height:180px;object-fit:contain;object-position:center}
.appimg,img[src*="51baoliao-app.webp"]{max-height:420px!important;width:auto!important;height:auto!important}
@media(max-width:700px){
 .container,main,main.container{width:100%;max-width:100%;min-width:0;padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}
 .hero,.split{display:grid!important;grid-template-columns:minmax(0,1fr)!important;max-width:100%;gap:12px}
 .hero>*,.split>*{width:100%;min-width:0;max-width:100%}
 .hero h1,.hero p,.section p,.card p{overflow-wrap:anywhere}
 .heroimage,.hero-media,.hero .art{min-height:0!important;height:auto!important;padding:12px!important}
 .brandname img,.brand .logo img,.brandbar img,.logo img,.brand img,header img[src*="51baoliao-logo.webp"]{max-width:min(148px,37vw)!important;max-height:26px!important}
 .brandactions,.brand-actions{gap:5px}
 .cards,.detailgrid{grid-template-columns:minmax(0,1fr)!important}
 .bottomnav{padding-bottom:env(safe-area-inset-bottom)}
 .footer,footer{padding-bottom:max(72px,calc(58px + env(safe-area-inset-bottom)))}
}
