﻿/* 懂球帝体育资讯主题 style.css */
/* 日历模块 */
.dqd-widget-box .calendar{width:100%}
.dqd-widget-box .calendar table{width:100%;border-collapse:collapse;text-align:center;font-size:13px}
.dqd-widget-box .calendar table caption{padding:8px 0;font-weight:600;font-size:14px;margin-bottom:6px}
.dqd-widget-box .calendar table caption a{color:var(--brand-red);padding:0 6px;text-decoration:none}
.dqd-widget-box .calendar table caption a:hover{text-decoration:underline}
.dqd-widget-box .calendar table th{padding:6px 0;font-weight:600;color:var(--text-muted);font-size:12px;border-bottom:2px solid var(--border-color)}
.dqd-widget-box .calendar table td{padding:5px 0;border-bottom:1px solid var(--bg-light)}
.dqd-widget-box .calendar table td a{display:block;width:100%;padding:4px 0;color:var(--brand-red);font-weight:600;border-radius:var(--radius-sm);text-decoration:none;transition:all .15s}
.dqd-widget-box .calendar table td a:hover{background:var(--brand-red);color:#fff}
.dqd-widget-box .calendar table td.dayother{color:var(--text-muted);opacity:.4}
.dqd-widget-box .calendar table td.today a{background:var(--brand-red);color:#fff}
/* 分页手机端优化 */
@media(max-width:680px){
#pagenavi{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}
#pagenavi a,#pagenavi span{padding:6px 12px;margin:0;font-size:13px;min-width:36px;text-align:center}
#pagenavi .now-page,#pagenavi .page.now-page{padding:6px 14px}
}
:root{--brand-red:#e63946;--brand-red-dark:#c1121f;--text-primary:#1a1a2e;--text-secondary:#555566;--text-muted:#9999aa;--bg-white:#fff;--bg-light:#f5f6fa;--border-color:#e8e8ef;--shadow-sm:0 1px 3px rgba(0,0,0,.06);--shadow-md:0 4px 12px rgba(0,0,0,.08);--radius-sm:6px;--radius-md:10px;--nav-height:56px}
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:14px;line-height:1.6;color:var(--text-primary);background:var(--bg-light);-webkit-font-smoothing:antialiased}
a{color:var(--text-primary);text-decoration:none;transition:color .2s}
a:hover{color:var(--brand-red)}
img{max-width:100%;height:auto;border:0;vertical-align:middle}
ul,ol{list-style:none}
h1,h2,h3,h4,h5,h6{font-weight:700;line-height:1.3}
.nmp{margin:0;padding:0}
.clear{clear:both}
.mt{margin-top:16px}
#header{position:sticky;top:0;z-index:1000;background:var(--brand-red);box-shadow:0 2px 8px rgba(230,57,70,.3)}
#header.sticky{box-shadow:0 4px 16px rgba(230,57,70,.4)}
#header .inner{max-width:1200px;margin:0 auto;padding:0 20px;display:flex;align-items:center;height:var(--nav-height);gap:20px}
#dqd-logo{flex-shrink:0}
#dqd-logo .name a{display:flex;align-items:center;gap:8px;color:#fff;font-size:20px;font-weight:800;letter-spacing:1px}
#dqd-logo .name a img{height:32px;width:auto}
#dqd-logo .name a i{font-style:normal}
#dqd-nav{flex:1;overflow:hidden}
#dqd-nav .nav ul{display:flex;align-items:center;gap:4px}
#dqd-nav .nav ul li a{display:block;padding:8px 16px;color:rgba(255,255,255,.9);font-size:15px;font-weight:500;border-radius:var(--radius-sm);transition:all .2s}
#dqd-nav .nav ul li a:hover,#dqd-nav .nav ul li a.current{background:rgba(255,255,255,.2);color:#fff}
#dqd-search{flex-shrink:0}
#dqd-search .form .input{display:flex;align-items:center;background:rgba(255,255,255,.15);border-radius:20px;padding:0 4px 0 14px;transition:background .2s}
#dqd-search .form .input:focus-within{background:rgba(255,255,255,.25)}
#dqd-search .form .input .text{background:transparent;border:none;outline:none;color:#fff;font-size:13px;width:140px;padding:6px 0}
#dqd-search .form .input .text::placeholder{color:rgba(255,255,255,.6)}
#dqd-search .form .input .submit{background:transparent;border:none;cursor:pointer;color:#fff;font-size:16px;padding:4px 8px}
#navBtn{display:none;flex-direction:column;justify-content:center;gap:5px;width:36px;height:36px;cursor:pointer;flex-shrink:0}
#navBtn i{display:block;width:22px;height:2px;background:#fff;border-radius:2px;transition:all .3s}
.dqd-gg{background:var(--bg-white);border-radius:var(--radius-md);padding:16px;margin-bottom:16px;box-shadow:var(--shadow-sm);text-align:center;overflow:hidden}
.dqd-gg .inner{max-width:100%}
.dqd-gg img{max-width:100%;border-radius:var(--radius-sm)}
#wrapper{padding:20px 0}
#wrapper .inner{max-width:1200px;margin:0 auto;padding:0 20px;display:flex;gap:20px;align-items:flex-start}
#main{flex:1;min-width:0}
#main.auto{width:100%}
#sidebar{width:300px;flex-shrink:0}
#breadcrumb{background:var(--bg-white);padding:12px 20px;border-radius:var(--radius-md);margin-bottom:16px;font-size:13px;color:var(--text-muted);box-shadow:var(--shadow-sm)}
#breadcrumb a{color:var(--text-secondary)}
#breadcrumb a:hover{color:var(--brand-red)}
#breadcrumb i{margin:0 8px;font-style:normal;color:var(--text-muted)}
#dqd-featured{background:var(--bg-white);border-radius:var(--radius-md);padding:20px;margin-bottom:16px;box-shadow:var(--shadow-sm)}
#dqd-featured .dqd-name{font-size:18px;font-weight:700;margin-bottom:16px;padding-left:10px;border-left:4px solid var(--brand-red)}
#dqd-featured .slick-load{display:flex;gap:16px;overflow:hidden}
#dqd-featured .item{flex:1;min-width:0}
#dqd-featured .item a{display:block}
#dqd-featured .item .image{width:100%;height:160px;background-size:cover;background-position:center;border-radius:var(--radius-md);margin-bottom:10px}
#dqd-featured .item .title{font-size:15px;font-weight:600;margin-bottom:6px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#dqd-featured .item .excerpt{font-size:12px;color:var(--text-muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#blogList{display:flex;flex-direction:column;gap:16px}
.dqd-post{background:var(--bg-white);border-radius:var(--radius-md);padding:20px;box-shadow:var(--shadow-sm);transition:all .2s;position:relative}
.dqd-post:hover{box-shadow:var(--shadow-md);transform:translateY(-2px)}
.dqd-post .top{position:absolute;top:0;left:0;width:0;height:0;border-style:solid;border-width:36px 36px 0 0;border-color:var(--brand-red) transparent transparent transparent}
.dqd-post .top::after{content:"置顶";position:absolute;top:-32px;left:4px;color:#fff;font-size:11px;font-weight:600;transform:rotate(-45deg)}
.dqd-post .tags{margin-bottom:10px;font-size:12px}
.dqd-post .tags a{color:var(--brand-red);margin-right:8px}
.dqd-post .info{display:flex;gap:20px}
.dqd-post .thumbnail{flex-shrink:0;width:220px;height:150px;border-radius:var(--radius-md);overflow:hidden}
.dqd-post .thumbnail a{display:block;width:100%;height:100%}
.dqd-post .thumbnail img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.dqd-post:hover .thumbnail img{transform:scale(1.05)}
.dqd-post .text{flex:1;min-width:0;display:flex;flex-direction:column}
.dqd-post .title{font-size:18px;font-weight:700;margin-bottom:10px;line-height:1.4}
.dqd-post .title a{color:var(--text-primary)}
.dqd-post .title a:hover{color:var(--brand-red)}
.dqd-post .excerpt{font-size:14px;color:var(--text-secondary);line-height:1.6;margin-bottom:12px;flex:1;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.dqd-post .meta{display:flex;align-items:center;gap:20px;font-size:12px;color:var(--text-muted)}
.dqd-post .meta span{display:flex;align-items:center;gap:4px}
.dqd-post .meta a{color:var(--text-muted)}
.dqd-post .meta a:hover{color:var(--brand-red)}
.dqd-post .meta i{font-size:13px}
#pagenavi{margin-top:24px;text-align:center}
#pagenavi a,#pagenavi span{display:inline-block;padding:8px 16px;margin:0 4px;border-radius:var(--radius-sm);font-size:14px;background:var(--bg-white);border:1px solid var(--border-color);color:var(--text-secondary);transition:all .2s}
#pagenavi a:hover{border-color:var(--brand-red);color:var(--brand-red)}
#pagenavi .now-page,#pagenavi .page.now-page{background:var(--brand-red);border-color:var(--brand-red);color:#fff;font-weight:600}
.dqd-widget-box{background:var(--bg-white);border-radius:var(--radius-md);padding:16px;margin-bottom:16px;box-shadow:var(--shadow-sm)}
.dqd-widget-box .dqd-name{font-size:16px;font-weight:700;margin-bottom:14px;padding-left:10px;border-left:4px solid var(--brand-red)}
.dqd-widget-box .textwidget{font-size:13px;color:var(--text-secondary);line-height:1.7}
.dqd-widget-box ul li{padding:10px 0;border-bottom:1px solid var(--bg-light)}
.dqd-widget-box ul li:last-child{border-bottom:none}
#searchpanel .dqd-widget-box{padding:16px}
#searchpanel form{display:flex;gap:8px}
#searchpanel input[type=text]{flex:1;padding:10px 14px;border:1px solid var(--border-color);border-radius:var(--radius-sm);font-size:14px;outline:none;transition:border-color .2s}
#searchpanel input[type=text]:focus{border-color:var(--brand-red)}
#searchpanel input[type=submit]{padding:10px 20px;background:var(--brand-red);color:#fff;border:none;border-radius:var(--radius-sm);font-size:14px;font-weight:600;cursor:pointer;transition:background .2s}
#searchpanel input[type=submit]:hover{background:var(--brand-red-dark)}
.dqd-widget-box ul li .thumbnail{float:left;width:80px;height:60px;border-radius:var(--radius-sm);overflow:hidden;margin-right:12px}
.dqd-widget-box ul li .thumbnail img{width:100%;height:100%;object-fit:cover}
.dqd-widget-box ul li .text{overflow:hidden}
.dqd-widget-box ul li h4{font-size:13px;font-weight:600;margin-bottom:6px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.dqd-widget-box ul li h4 a{color:var(--text-primary)}
.dqd-widget-box ul li h4 a:hover{color:var(--brand-red)}
.dqd-widget-box ul li .meta{font-size:11px;color:var(--text-muted);display:flex;align-items:center;gap:4px}
.dqd-widget-box ul li .excerpt{font-size:12px;color:var(--text-muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.dqd-widget-box ul li .date{font-size:11px;color:var(--text-muted);margin-bottom:4px}
.dqd-widget-box .item{display:flex;gap:12px;padding:10px 0;border-bottom:1px solid var(--bg-light)}
.dqd-widget-box .item:last-child{border-bottom:none}
.dqd-widget-box .item .thumbnail{flex-shrink:0;width:100px;height:75px;border-radius:var(--radius-sm);overflow:hidden}
.dqd-widget-box .item .thumbnail img{width:100%;height:100%;object-fit:cover}
.dqd-widget-box .item .text{flex:1;min-width:0}
.dqd-widget-box .item h4{font-size:13px;font-weight:600;margin-bottom:6px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.dqd-widget-box .item h4 a{color:var(--text-primary)}
.dqd-widget-box .item h4 a:hover{color:var(--brand-red)}
.dqd-widget-box .item .meta{display:flex;gap:12px;font-size:11px;color:var(--text-muted)}
#divTags .dqd-widget-box .textwidget a,.dqd-widget-box .tag a{display:inline-block;padding:4px 10px;margin:4px;background:var(--bg-light);border-radius:20px;font-size:12px;color:var(--text-secondary);transition:all .2s}
.dqd-widget-box .tag a:hover{background:var(--brand-red);color:#fff}
#divComments .dqd-widget-box ul li{display:flex;gap:10px;padding:10px 0}
#divComments .dqd-widget-box ul li .avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;overflow:hidden}
#divComments .dqd-widget-box ul li .avatar img{width:100%;height:100%;object-fit:cover}
#divComments .dqd-widget-box ul li .text{flex:1;min-width:0}
#divComments .dqd-widget-box ul li .name{font-size:13px;font-weight:600;margin-bottom:4px}
#divComments .dqd-widget-box ul li .cont{font-size:12px;color:var(--text-muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#article{background:var(--bg-white);border-radius:var(--radius-md);padding:30px;box-shadow:var(--shadow-sm)}
#postTitle{font-size:26px;font-weight:800;line-height:1.4;margin-bottom:16px;color:var(--text-primary)}
#postmeta{display:flex;align-items:center;flex-wrap:wrap;gap:20px;padding-bottom:16px;margin-bottom:24px;border-bottom:1px solid var(--border-color);font-size:13px;color:var(--text-muted)}
#postmeta span{display:flex;align-items:center;gap:4px}
#postmeta a{color:var(--text-muted)}
#postmeta a:hover{color:var(--brand-red)}
#postmeta i{font-size:14px}
.entry{font-size:16px;line-height:1.8;color:var(--text-primary)}
.entry p{margin-bottom:16px}
.entry h1,.entry h2,.entry h3,.entry h4,.entry h5,.entry h6{margin:24px 0 12px;font-weight:700}
.entry h2{font-size:22px}
.entry h3{font-size:19px}
.entry img{max-width:100%;height:auto;border-radius:var(--radius-md);margin:16px 0}
.entry blockquote{border-left:4px solid var(--brand-red);background:var(--bg-light);padding:12px 20px;margin:16px 0;border-radius:0 var(--radius-sm) var(--radius-sm) 0;color:var(--text-secondary)}
.entry ul,.entry ol{margin:12px 0;padding-left:24px}
.entry ul li,.entry ol li{margin-bottom:8px}
.entry a{color:var(--brand-red);text-decoration:underline}
.entry table{width:100%;border-collapse:collapse;margin:16px 0}
.entry table th,.entry table td{border:1px solid var(--border-color);padding:10px 14px;text-align:left}
.entry table th{background:var(--bg-light);font-weight:600}
.entry pre{background:var(--text-primary);color:#fff;padding:16px;border-radius:var(--radius-md);overflow-x:auto;margin:16px 0;font-size:13px}
.entry code{background:var(--bg-light);padding:2px 6px;border-radius:4px;font-size:13px;font-family:Consolas,Monaco,monospace}
#dqd-tags{margin-top:24px;padding-top:20px;border-top:1px solid var(--border-color);font-size:14px}
#dqd-tags a{display:inline-block;padding:4px 12px;margin:4px 6px 4px 0;background:var(--bg-light);border-radius:20px;font-size:13px;color:var(--text-secondary);transition:all .2s}
#dqd-tags a:hover{background:var(--brand-red);color:#fff}
#postnavi{display:flex;justify-content:space-between;gap:20px;margin-top:24px;padding-top:20px;border-top:1px solid var(--border-color)}
#postnavi .prev,#postnavi .next{flex:1;font-size:14px}
#postnavi .next{text-align:right}
#postnavi a{color:var(--text-secondary);display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#postnavi a:hover{color:var(--brand-red)}
#recommend{margin-top:30px;padding-top:24px;border-top:1px solid var(--border-color)}
#recommend .dqd-title{font-size:18px;font-weight:700;margin-bottom:16px;padding-left:10px;border-left:4px solid var(--brand-red)}
#recommend ul{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
#recommend ul li{padding:0;border:none}
#recommend ul li .thumbnail{float:none;width:100%;height:120px;margin-right:0;margin-bottom:10px}
#recommend ul li h4{font-size:13px;line-height:1.4}
#comments{background:var(--bg-white);border-radius:var(--radius-md);padding:24px;margin-top:20px;box-shadow:var(--shadow-sm)}
#comments .msghead{font-size:18px;font-weight:700;margin-bottom:20px;padding-bottom:12px;border-bottom:1px solid var(--border-color)}
#comments .msg{padding:16px 0;border-bottom:1px solid var(--bg-light)}
#comments .msg:last-child{border-bottom:none}
#comments .msgname{display:flex;align-items:center;gap:10px;margin-bottom:8px}
#comments .msgname img.avatar{width:36px;height:36px;border-radius:50%}
#comments .msgname .commentname a{font-weight:600;font-size:14px;color:var(--text-primary)}
#comments .msgname small{font-size:12px;color:var(--text-muted)}
#comments .msgname .revertcomment a{font-size:12px;color:var(--brand-red)}
#comments .msgarticle{font-size:14px;line-height:1.7;color:var(--text-secondary);padding-left:46px}
#comments .msgarticle .msg{padding:12px 0;margin-top:12px;border-top:1px dashed var(--border-color);border-bottom:none}
#divCommentPost{margin-top:24px;padding-top:20px;border-top:1px solid var(--border-color)}
#divCommentPost .posttop{font-size:16px;font-weight:600;margin-bottom:16px}
#divCommentPost .posttop a{color:var(--text-primary)}
#divCommentPost #cancel-reply{font-size:12px;color:var(--brand-red);margin-left:10px}
#divCommentPost p{margin-bottom:12px}
#divCommentPost input[type=text].text{width:100%;padding:10px 14px;border:1px solid var(--border-color);border-radius:var(--radius-sm);font-size:14px;outline:none;transition:border-color .2s}
#divCommentPost input[type=text].text:focus{border-color:var(--brand-red)}
#divCommentPost textarea.text{width:100%;padding:12px 14px;border:1px solid var(--border-color);border-radius:var(--radius-sm);font-size:14px;outline:none;resize:vertical;min-height:100px;font-family:inherit;transition:border-color .2s}
#divCommentPost textarea.text:focus{border-color:var(--brand-red)}
#divCommentPost label{font-size:13px;color:var(--text-muted);margin-left:8px}
#divCommentPost input[type=submit].button{padding:10px 28px;background:var(--brand-red);color:#fff;border:none;border-radius:var(--radius-sm);font-size:14px;font-weight:600;cursor:pointer;transition:background .2s}
#divCommentPost input[type=submit].button:hover{background:var(--brand-red-dark)}
#divCommentPost .postbottom{font-size:12px;color:var(--text-muted);margin-top:12px}
#footer{background:var(--text-primary);color:rgba(255,255,255,.7);padding:40px 0 20px;margin-top:40px}
#dqd-icon{text-align:center;margin-bottom:20px}
#dqd-icon .icon img{width:60px;height:60px;border-radius:50%}
#dqd-copyright{text-align:center;font-size:13px;line-height:1.8;margin-bottom:20px}
#dqd-copyright a{color:rgba(255,255,255,.7)}
#dqd-copyright a:hover{color:#ff6b6b}
#dqd-copyright img{height:16px;vertical-align:middle;margin-right:4px}
#dqd-social{text-align:center;margin-bottom:20px}
#dqd-social ul{display:flex;justify-content:center;gap:16px}
#dqd-social ul li{position:relative}
#dqd-social ul li a{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.1);color:rgba(255,255,255,.8);font-size:18px;transition:all .2s}
#dqd-social ul li a:hover{background:var(--brand-red);color:#fff}
#dqd-social ul li .qr{display:none;position:absolute;bottom:50px;left:50%;transform:translateX(-50%);background:#fff;padding:8px;border-radius:var(--radius-sm);box-shadow:0 8px 24px rgba(0,0,0,.12);z-index:100}
#dqd-social ul li:hover .qr{display:block}
#dqd-social ul li .qr img{width:120px;height:120px;display:block}
#dqdback{position:fixed;right:30px;bottom:30px;width:44px;height:44px;background:var(--brand-red);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:18px;cursor:pointer;box-shadow:var(--shadow-md);transition:all .3s;opacity:0;visibility:hidden;z-index:999}
#dqdback.show{opacity:1;visibility:visible}
#dqdback:hover{background:var(--brand-red-dark);transform:translateY(-3px)}
.error-page{text-align:center;padding:80px 20px}
.error-page .error-code{font-size:120px;font-weight:800;background:linear-gradient(135deg,var(--brand-red),var(--brand-red-dark));-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;line-height:1;margin-bottom:16px}
.error-page h1{font-size:24px;margin-bottom:12px}
.error-page p{color:var(--text-muted);margin-bottom:28px}
.error-page a{display:inline-block;padding:12px 32px;background:var(--brand-red);color:#fff;border-radius:var(--radius-sm);font-weight:600;transition:background .2s}
.error-page a:hover{background:var(--brand-red-dark);color:#fff}
.search-header{background:var(--bg-white);padding:20px;border-radius:var(--radius-md);margin-bottom:16px;box-shadow:var(--shadow-sm)}
.search-header h1{font-size:20px;font-weight:700;margin-bottom:8px}
.search-header p{font-size:14px;color:var(--text-muted)}
@media(max-width:960px){#wrapper .inner{flex-direction:column}#sidebar{width:100%}#recommend ul{grid-template-columns:repeat(2,1fr)}#dqd-nav{display:none}#navBtn{display:flex}#dqd-search .form .input .text{width:100px}}
@media(max-width:680px){#header .inner{padding:0 14px;gap:10px}#dqd-logo .name a{font-size:17px}#dqd-search{display:none}#wrapper{padding:12px 0}#wrapper .inner{padding:0 14px;gap:12px}.dqd-post{padding:14px}.dqd-post .info{flex-direction:column;gap:12px}.dqd-post .thumbnail{width:100%;height:180px}.dqd-post .title{font-size:16px}.dqd-post .excerpt{-webkit-line-clamp:2}#article{padding:18px}#postTitle{font-size:20px}#postmeta{gap:12px;font-size:12px}.entry{font-size:15px}#recommend ul{grid-template-columns:1fr}#postnavi{flex-direction:column;gap:10px}#postnavi .next{text-align:left}#comments{padding:16px}#dqd-featured{padding:14px}#dqd-featured .slick-load{flex-direction:column}#dqd-featured .item .image{height:180px}#dqdback{right:16px;bottom:16px;width:40px;height:40px}}
@media(max-width:960px){#dqd-nav.active{display:block;position:fixed;top:var(--nav-height);left:0;right:0;background:var(--brand-red);padding:12px 20px;box-shadow:var(--shadow-md);z-index:998;max-height:calc(100vh - var(--nav-height));overflow-y:auto}#dqd-nav.active .nav ul{flex-direction:column;align-items:stretch;gap:4px}#dqd-nav.active .nav ul li a{padding:12px 16px;border-radius:var(--radius-sm)}}