/*
Theme Name: JU88 Next
Description: JU88 本次全新模板；正文与配图在后台编辑，管理功能由独立插件提供。
Version: 2.0.0
Text Domain: ju88-next
*/
@font-face{font-family:fl-icons;src:url(assets/fl-icons.woff2) format('woff2');font-display:block}
body.tm-site{font-family:Roboto,Arial,sans-serif;color:#222;background:#fff;font-weight:400}
.tm-wordmark{display:block;font:900 italic 64px/.95 Roboto,Arial,sans-serif;color:#214790;letter-spacing:-4px;text-shadow:1px 2px 0 #dbe9ff}.tm-wordmark b{color:#bf0413}.tm-logo-caption{display:block;color:#214790;font:700 10px/1.6 Roboto,Arial,sans-serif;letter-spacing:2px;margin-top:6px}.tm-footer-wordmark{font-size:55px;color:#fff;margin:0 0 18px}.tm-footer-wordmark b{color:#fa6d72}
#logo .custom-logo-link img{width:auto;max-width:200px;height:auto}#logo a{display:inline-block}.header-main{background:#fff}.header-nav a[aria-current=page]{background:#bf0413!important;color:#fff!important}.tm-scrolled .header-wrapper{position:fixed;top:0;left:0;right:0;z-index:100;box-shadow:0 2px 8px #0002}.admin-bar .tm-scrolled .header-wrapper{top:32px}.tm-scrolled{min-height:150px}
.wp-block-group{margin-top:0;margin-bottom:0}.wp-block-group:where(.is-layout-flow)>*{margin-block-start:0}.wp-block-image{margin:0 0 1.3em}.wp-block-image img{max-width:100%;height:auto}.wp-block-table{max-width:100%;overflow:auto}.wp-block-table table{margin-bottom:0}html{scroll-behavior:smooth;scroll-padding-top:160px}.tm-site h2,.tm-site h3{scroll-margin-top:160px}
.tm-toc{display:table;max-width:100%;min-width:220px;background:#f5f5f5;border:1px solid #aaa;border-radius:4px;box-shadow:0 1px 2px #0001;padding:12px 16px;margin:20px 0;color:#333;text-align:left;font-size:15px}.tm-toc summary{font-size:18px;font-weight:700;cursor:pointer;list-style-position:inside}.tm-toc ol{margin:12px 0 0 20px}.tm-toc li{margin-bottom:5px}.tm-toc a{color:#214790;text-decoration:none}.tm-toc a:hover{text-decoration:underline}.tm-toc-level-3{margin-left:18px;font-size:14px}
.tm-site #main p a,.tm-site #main li a{color:#174a92;text-decoration:underline;text-underline-offset:3px}.tm-site #main a:hover{color:#bf0413}.tm-site #main .post-item a{color:inherit;text-decoration:none}
.tm-news-list .box-image img{width:100%;aspect-ratio:16/10;object-fit:cover}.tm-news-list .post-title{line-height:1.4}.tm-category-list>.tm-news-list{display:block}.tm-category-list .post-item{max-width:100%;flex-basis:100%;padding-bottom:22px}.tm-category-list .box{display:flex;border-bottom:1px solid #ddd;padding-bottom:20px}.tm-category-list .box-image{width:35%;flex:0 0 35%;margin-right:20px}.tm-category-list .box-text{flex:1}
.tm-recent-posts{list-style:none;padding:0}.tm-recent-posts li{border-bottom:1px solid #eee;padding:12px 0;margin:0}.tm-recent-posts a{display:flex;gap:12px;color:#222;line-height:1.4;text-decoration:none}.tm-recent-posts img{width:35%;height:auto;aspect-ratio:4/3;object-fit:cover;align-self:flex-start}.tm-recent-posts span{flex:1}.widget-title{font-size:16px;font-weight:700}.widget{margin-bottom:28px}.tm-empty-list{color:#666;padding:18px 0}.tm-odds-embed{width:100%;overflow:hidden}.tm-odds-embed iframe{border:0;max-width:100%}
.tm-odds-embed{overflow:auto;overscroll-behavior-x:contain}.tm-odds-embed iframe{display:block;min-width:640px;max-width:none}
.tm-mobile-menu[hidden]{display:none!important}.tm-mobile-menu{position:fixed;inset:0;z-index:100000;display:flex}.tm-menu-overlay{position:absolute;inset:0;background:#0008}.tm-menu-panel{position:relative;width:290px;max-width:88vw;height:100%;overflow:auto;background:#214790;color:#fff;padding:50px 22px 24px;box-shadow:6px 0 20px #0003}.tm-menu-panel .tm-wordmark{font-size:48px;color:white}.tm-menu-panel .tm-logo-caption{color:white}.tm-menu-panel .nav-sidebar a{color:white!important}.tm-menu-panel .nav-sidebar{margin-top:24px}.tm-menu-panel li{border-color:#ffffff30}.tm-menu-close{position:absolute;top:8px;right:10px;color:#fff;background:none;border:0;font-size:32px;line-height:1;margin:0;padding:3px 10px;min-height:0}.tm-menu-open{overflow:hidden}
.accordion-title{cursor:pointer}.accordion-title[aria-expanded=true]{background:#f4f7fb;color:#214790}.accordion-inner[hidden]{display:none!important}.tm-not-found{min-height:50vh;padding-block:50px}.back-to-top{opacity:0;pointer-events:none}.back-to-top.tm-show{opacity:1;pointer-events:auto}.footer-banner .close-banner{cursor:pointer}.footer-banner img{height:auto;max-width:100%}
.tm-site :focus-visible{outline:3px solid #f2b74a;outline-offset:3px}.tm-site .screen-reader-text:focus{position:fixed;top:4px;left:8px;padding:8px 12px;background:#fff;z-index:100001;color:#214790}
@media(max-width:849px){.tm-wordmark{font-size:52px}.tm-scrolled{min-height:130px}.tm-logo-caption{font-size:8px;letter-spacing:1px}.header-main .header-inner{padding-inline:16px}.post-sidebar{margin-top:20px}}
@media(max-width:549px){.tm-wordmark{font-size:46px}.tm-scrolled{min-height:100px}.tm-toc{width:100%;min-width:0;padding:12px}.tm-toc summary{font-size:17px}.tm-category-list .box-image{width:40%;flex-basis:40%;margin-right:12px}.tm-category-list .box-text{padding:0}.tm-category-list .post-title{font-size:15px}.tm-category-list .from_the_blog_excerpt,.tm-category-list .is-divider{display:none}.tm-site .entry-content table{font-size:14px}.tm-site .entry-content td,.tm-site .entry-content th{min-width:85px}.tm-site .row.row-large{margin-inline:auto}.admin-bar .tm-scrolled .header-wrapper{top:46px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}
.has-dropdown:hover>.nav-dropdown,.has-dropdown:focus-within>.nav-dropdown{opacity:1;visibility:visible;max-height:none;left:0;z-index:101}
.tm-carousel{position:relative}.tm-carousel-track{flex-wrap:nowrap;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}.tm-carousel-track::-webkit-scrollbar{display:none}.tm-carousel-track>.post-item{scroll-snap-align:start;flex-shrink:0}.tm-carousel-prev,.tm-carousel-next{position:absolute;top:27%;z-index:2;min-height:0;width:34px;height:34px;padding:0;margin:0;border:1px solid #214790;border-radius:50%;background:#fff;color:#214790;font-size:28px;line-height:1}.tm-carousel-prev{left:-12px}.tm-carousel-next{right:-12px}.tm-carousel button[hidden]{display:none}.tm-carousel button:disabled{opacity:.4}
.img-inner>.wp-block-image,.logo-brand>.wp-block-image{margin:0;width:100%}#wide-nav .header-bottom-nav>li>a[aria-current=page]{line-height:50px;padding:0 20px}
.tm-site #main a{overflow-wrap:anywhere}.tm-site .tm-recent-posts>li>a{display:flex;gap:12px}.tm-site .tm-recent-posts>li>a>img{flex:0 0 35%;width:35%}
.footer-banner .close-banner{z-index:2;width:28px;height:28px;line-height:28px;top:-14px}
.jsb-toplists .jsb-toplist{background:#000;color:#eee;margin:20px auto -4%}.jsb-toplists .jsb-toplist br{display:none}.jsb-toplists .jsb-brand-caption{display:block;text-align:center;color:#214790;font-size:12px;margin-top:5px}.jsb-toplists .gift-text{white-space:normal}.jsb-toplists .gift-text br{display:block}
.jsb-toplists .jsb-brand-placeholder{display:flex;align-items:center;justify-content:center;aspect-ratio:1;border-radius:50%;background:#fff;color:#214790;font:900 italic 23px/1 Arial,sans-serif;overflow-wrap:anywhere}
.tm-side-banners{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:1120px;margin:16px auto 0;padding:0 15px}.tm-side-banner{position:relative;min-width:0;padding-top:24px;align-self:start}.tm-side-banner[hidden]{display:none!important}.tm-side-banner a,.tm-side-banner img{display:block;width:100%;height:auto}.tm-side-banner a+a{margin-top:8px}.tm-side-banner-close{position:absolute;top:0;right:0;z-index:2;width:26px;height:26px;min-height:0;margin:0;padding:0;border:1px solid #fff;border-radius:50%;background:#172b4d;color:#fff;font:22px/24px Arial,sans-serif;cursor:pointer;box-shadow:0 1px 4px #0003}
@media(min-width:1400px){.tm-side-banners{display:block;margin:0;padding:0;max-width:none}.tm-side-banner{position:fixed;top:50%;transform:translateY(-50%);width:min(280px,calc((100vw - 1120px)/2 - 24px));z-index:90}.tm-side-banner-left{left:max(12px,calc((100vw - 1120px)/4 - 140px))}.tm-side-banner-right{right:max(12px,calc((100vw - 1120px)/4 - 140px))}}
.tm-ad-vertical{display:none}
.jsb-managed-table th,.jsb-managed-table td{text-align:center;vertical-align:middle}.jsb-managed-table th{background:#edf3fc;color:#214790}.jsb-managed-details .jsb-managed-detail{margin:28px 0 40px}.jsb-managed-details .jsb-detail-prose{padding:0 15px}.jsb-managed-details .jsb-detail-prose h3{scroll-margin-top:180px}.jsb-managed-details .jsb-detail-prose:after{content:"";display:table;clear:both}.jsb-managed-details .jsb-toplists{margin-bottom:25px}
.jsb-toplists .jsb-brand-placeholder{white-space:nowrap;letter-spacing:-1px}.jsb-managed-traffic th,.jsb-managed-traffic td{text-align:center;width:50%}.jsb-managed-traffic th{background:#214790;color:white}
@media(min-width:1400px){.tm-site .gif-qua-tang{bottom:12px}.tm-site .gif-qua-tang a img{max-width:70px}}
@media(min-width:1400px){.tm-side-banner{width:min(200px,calc((100vw - 1120px)/2 - 24px));max-height:calc(100dvh - 180px);overflow-y:auto;scrollbar-width:thin;padding-right:2px}.tm-side-banner-left{left:max(12px,calc((100vw - 1120px)/4 - 100px))}.tm-side-banner-right{right:max(12px,calc((100vw - 1120px)/4 - 100px))}.tm-side-banner .tm-ad-horizontal{display:none}.tm-side-banner .tm-ad-card{padding:8px;background:var(--ad-color);border:1px solid #ffffff55;border-radius:9px;box-shadow:0 3px 12px #18345126;overflow:hidden}.tm-side-banner .tm-ad-card+.tm-ad-card{margin-top:12px}.tm-ad-vertical{display:flex;flex-direction:column;align-items:center;gap:7px}.tm-ad-slice{position:relative;display:block;width:100%;aspect-ratio:var(--crop-width)/90;overflow:hidden}.tm-ad-slice.tm-ad-logo{width:72%}.tm-side-banner .tm-ad-slice img{position:absolute;top:0;left:calc(-100% * var(--crop-left) / var(--crop-width));width:calc(72800% / var(--crop-width));max-width:none;height:auto;margin:0}.tm-ad-cta{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;padding:6px 3px;border:1px solid #ffffff55;border-radius:5px;background:#ffffffee;color:#183b71;font-size:13px;font-weight:700;line-height:1.3}.tm-ad-cta span{font-size:21px;line-height:.8}}
@media(max-width:549px){.jsb-toplists .jsb-toplist{margin-bottom:-12%}}
@media(max-width:549px){.jsb-toplists .list-content{display:grid;grid-template-columns:65px minmax(0,1fr) 96px;gap:0 10px;height:auto;min-height:165px}.jsb-toplists .logo-brand{grid-row:1;grid-column:1;width:65px;margin-right:0}.jsb-toplists .top-info{grid-row:1;grid-column:2;width:auto;margin-right:0}.jsb-toplists .top-action{grid-row:1;grid-column:3;width:96px;margin-left:0}.jsb-toplists .gift-text{grid-row:2;grid-column:1/-1;position:static;top:auto;bottom:auto;width:100%!important;padding:10px 0 0;margin-top:10px}}
.bst-header-banner{display:block}.bst-header-banner img{display:block;width:100%;max-width:728px;height:auto;max-height:110px;object-fit:contain}.tm-side-banner .bst-banner-whole{display:block;width:100%;height:auto}.bst-banner-whole+.tm-ad-cta{margin-top:8px}.bst-banner-whole .tm-ad-cta{display:flex;justify-content:center;align-items:center;gap:8px;background:#ffffffee;color:#183b71;border-radius:5px;padding:7px;font-size:13px;font-weight:700;line-height:1.4}
@media(max-width:849px){#masthead.header-main{height:60px}#masthead #logo .tm-wordmark{font-size:40px;letter-spacing:-2px}#masthead #logo .tm-logo-caption{font-size:7px;line-height:1.3;letter-spacing:.7px;margin-top:2px}#masthead #logo .custom-logo-link img{max-height:44px;max-width:150px;width:auto}#masthead .nav-icon>a{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;line-height:1}}
@media(max-width:549px){#masthead.header-main{height:54px}#masthead #logo .tm-wordmark{font-size:36px}#masthead #logo .custom-logo-link img{max-height:40px;max-width:140px}}

.tm-pagination{display:flex;gap:8px;flex-wrap:wrap;margin:24px 0;justify-content:center}.tm-pagination .page-numbers{padding:8px 14px;border:1px solid #244785;border-radius:4px;color:#244785;background:#fff}.tm-pagination a:hover,.tm-pagination .current{background:#244785;color:#fff}.entry-content .wp-block-table{overflow-x:auto;max-width:100%}.entry-content .wp-block-image img{max-width:100%;height:auto}
@media(max-width:849px){#wide-nav{display:none}}

