* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: 14px;
    color: #444;
    background: #f5f5f5;
    line-height: 1.6;
}

a {
    color: #333;
    text-decoration: none;
    transition: color .2s;
}

a:hover {
    color: #1d8bd5;
}

img {
    max-width: 100%;
    display: block;
}

ul, li {
    list-style: none;
}

.douhao-page {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 15px;
}

.douhao-header-wrap {
    background: #f5f5f5;
    padding: 12px 0 0;
    position: relative;
    z-index: 100;
}

.douhao-header-top {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 60px;
}

.douhao-logo {
    flex-shrink: 0;
}

.douhao-logo img {
    height: 46px;
    width: auto;
}

.douhao-logo span {
    font-size: 26px !important;
}

.douhao-header-banner {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.douhao-header-banner .header-banner {
    padding: 0;
    background: transparent;
    border: none;
    max-width: 100%;
}

.douhao-header-banner img {
    max-height: 56px;
    width: auto;
    display: inline-block;
}

.douhao-menu-toggle {
    display: none;
    width: 38px;
    height: 38px;
    border: none;
    background: #1d8bd5;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    flex-shrink: 0;
}

.douhao-nav-wrap {
    max-width: 1160px;
    margin: 10px auto 0;
    padding: 0 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.douhao-nav {
    flex: 1;
    background: linear-gradient(to right, #2c3e50, #4a6491);
    border-radius: 16px;
    padding: 0 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.douhao-nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.douhao-nav li {
    position: relative;
}

.douhao-nav li > a {
    display: inline-flex;
    align-items: center;
    height: 38px;
    padding: 0 20px;
    margin: 15px 0;
    font-size: 16px;
    font-weight: 500;
    color: #ecf0f1;
    border-radius: 25px;
    transition: all .3s;
}

.douhao-nav li > a:hover {
    background: #3182CE;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(49,130,206,0.3);
}

.douhao-nav li.douhao-nav-active > a {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(66,153,225,0.3);
}

.douhao-nav-drawer-head {
    display: none;
}

.douhao-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9998;
}

.douhao-searchbar {
    background: #f5f5f5;
    padding: 10px 0;
    margin-top: 0;
}

.douhao-searchbar-box {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.douhao-searchbar-box form {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(102,102,102,0.1);
    position: relative;
    flex: 1;
    max-width: 560px;
}

.douhao-searchbar-icon {
    position: absolute;
    left: 16px;
    color: #999;
    font-size: 15px;
    pointer-events: none;
}

.douhao-searchbar-box input {
    flex: 1;
    border: none;
    padding: 12px 16px 12px 44px;
    font-size: 15px;
    outline: none;
    background: transparent;
    color: #333;
}

.douhao-searchbar-box input::placeholder {
    color: #999;
}

.douhao-searchbar-box button {
    border: none;
    background: linear-gradient(135deg, #2780c7 0%, #3486d1 100%);
    color: #fff;
    padding: 0 28px;
    height: 44px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all .3s;
}

.douhao-searchbar-box button:hover {
    background: linear-gradient(135deg, #1f6fb0 0%, #2a76bd 100%);
}

.douhao-searchbar-hot {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13px;
    flex-shrink: 0;
}

.douhao-searchbar-hot strong {
    color: #555;
    font-weight: 600;
    white-space: nowrap;
}

.douhao-searchbar-hot a {
    padding: 4px 10px;
    background: rgba(74,108,247,0.1);
    color: #1d8bd5;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    transition: all .2s;
}

.douhao-searchbar-hot a:hover {
    background: rgba(74,108,247,0.2);
    color: #1d8bd5;
    transform: translateY(-1px);
}

.douhao-top-row {
    display: grid;
    grid-template-columns: 360px 1fr 305px;
    gap: 15px;
    margin-top: 15px;
}

.douhao-top-left,
.douhao-top-mid,
.douhao-top-right {
    min-width: 0;
}

.douhao-slider {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    background: #eef2f7;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.douhao-slider-track {
    display: flex;
    height: 100%;
    transition: transform .5s ease;
}

.douhao-slide {
    flex: 0 0 100%;
    height: 100%;
    position: relative;
}

.douhao-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.douhao-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.douhao-slide-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px 15px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.douhao-slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    background: rgba(0,0,0,0.26);
    padding: 8px 15px;
    border-radius: 30px;
}

.douhao-slider-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all .3s;
}

.douhao-slider-dots span.douhao-active {
    background: #fff;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.douhao-forum {
    margin-top: 15px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.douhao-forum-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 14px;
}

.douhao-forum-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #f9fafc;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    transition: all .3s;
}

.douhao-forum-item:hover {
    background: #f5f8ff;
    border-color: #d6e4ff;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(85,110,230,0.12);
}

.douhao-forum-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #e8f2fd;
    color: #1d8bd5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.douhao-forum-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.douhao-forum-info {
    flex: 1;
    min-width: 0;
}

.douhao-forum-name {
    font-size: 14px;
    font-weight: 500;
    color: #2d3748;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.douhao-forum-meta {
    font-size: 12px;
    color: #718096;
    margin-top: 2px;
}

.douhao-forum-meta span {
    color: #f44336;
}

.douhao-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px 12px 15px;
    background: #fff;
    border-bottom: 1px solid #efefef;
}

.douhao-panel-head h3 {
    font-size: 18px;
    font-weight: 500;
    color: #1d8bd5;
    display: flex;
    align-items: center;
    position: relative;
}

.douhao-panel-head h3::before {
    content: "//";
    margin-right: 8px;
    color: #0da7ec;
    font-size: 14px;
    font-weight: 600;
}

.douhao-panel-head h3 a {
    color: #1d8bd5;
}

.douhao-panel-head h3 a:hover {
    color: #0d47a1;
}

.douhao-panel-more {
    color: #5c7cfa;
    font-size: 14px;
}

.douhao-panel-more:hover {
    transform: translateX(3px);
}

.douhao-top-mid {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.douhao-headline {
    padding: 10px 15px 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.douhao-headline-main {
    background: #f8faff;
    border-radius: 10px;
    padding: 15px 18px;
    margin-bottom: 8px;
    transition: all .3s;
}

.douhao-headline-main:hover {
    box-shadow: 0 8px 24px rgba(25,118,210,0.1);
    transform: translateY(-2px);
}

.douhao-headline-main h2 {
    margin-bottom: 8px;
}

.douhao-headline-main h2 a {
    font-size: 16px;
    font-weight: 500;
    color: #1a1a2e;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.douhao-headline-main h2 a:hover {
    color: #0d47a1;
}

.douhao-headline-main p {
    color: #999;
    font-size: 14px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.douhao-headline-list {
    flex: 1;
}

.douhao-headline-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 5px;
    border-bottom: 1px dashed #ededed;
    transition: all .25s;
}

.douhao-headline-list li:last-child {
    border-bottom: none;
}

.douhao-headline-list li:hover {
    transform: translateX(5px);
}

.douhao-headline-list li a {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: #495057;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    padding-left: 32px;
}

.douhao-headline-list li a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    background: #e3f2fd;
    border-radius: 50%;
}

.douhao-headline-list li:nth-child(1) a::before { content: "1"; color: #388e3c; background: #e8f5e9; }
.douhao-headline-list li:nth-child(2) a::before { content: "2"; color: #f57c00; background: #fff3e0; }
.douhao-headline-list li:nth-child(3) a::before { content: "3"; color: #1976d2; background: #e3f2fd; }
.douhao-headline-list li:nth-child(4) a::before { content: "4"; color: #757575; background: #f5f5f5; }
.douhao-headline-list li:nth-child(5) a::before { content: "5"; color: #757575; background: #f5f5f5; }
.douhao-headline-list li:nth-child(6) a::before { content: "6"; color: #757575; background: #f5f5f5; }
.douhao-headline-list li:nth-child(7) a::before { content: "7"; color: #757575; background: #f5f5f5; }
.douhao-headline-list li:nth-child(8) a::before { content: "8"; color: #757575; background: #f5f5f5; }

.douhao-headline-list li:hover a {
    color: #1976d2;
}

.douhao-headline-author {
    color: #8a9bc8;
    font-size: 13px;
    font-weight: 500;
    margin-left: 10px;
    flex-shrink: 0;
}

.douhao-top-right {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.douhao-featured {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.douhao-featured-head {
    padding: 12px 20px;
    background: linear-gradient(to right, #2563EB, #1D4ED8);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.douhao-featured-head h3 {
    font-size: 16px;
    font-weight: 600;
}

.douhao-featured-head i {
    font-size: 14px;
    opacity: .9;
}

.douhao-featured-list {
    flex: 1;
    overflow: hidden;
}

.douhao-featured-item {
    border-bottom: 1px solid #f3f4f6;
}

.douhao-featured-item a {
    display: flex;
    gap: 12px;
    padding: 12px;
    transition: all .2s;
}

.douhao-featured-item a:hover {
    background: #f9fafc;
}

.douhao-featured-item a:hover h3 {
    color: #1976d2;
}

.douhao-featured-thumb {
    flex-shrink: 0;
    width: 96px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: #f0f0f0;
}

.douhao-featured-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.douhao-featured-noimg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 24px;
}

.douhao-featured-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.douhao-featured-info h3 {
    font-size: 14px;
    font-weight: 500;
    color: #1E293B;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s;
}

.douhao-featured-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #94A3B8;
    margin-top: 6px;
}

.douhao-featured-foot {
    padding: 10px 15px;
    background: #f9fafb;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.douhao-featured-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    background: #EFF6FF;
    border: 1px solid #DBEAFE;
    border-radius: 6px;
    color: #1d8bdc;
    font-size: 12px;
    font-weight: 500;
    transition: all .2s;
}

.douhao-featured-more:hover {
    color: #1D4ED8;
    background: #DBEAFE;
}

.douhao-featured-nav {
    display: flex;
    gap: 8px;
}

.douhao-featured-nav button {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #94A3B8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    transition: all .2s;
}

.douhao-featured-nav button:hover:not(:disabled) {
    background: #2563EB;
    color: #fff;
    border-color: #2563EB;
}

.douhao-featured-nav button:disabled {
    opacity: .4;
    cursor: not-allowed;
}

.douhao-ad-row {
    margin-top: 15px;
}

.douhao-ad-row .banner {
    margin-bottom: 0;
}

.douhao-cat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
}

.douhao-cat-block {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.douhao-cat-list {
    padding: 5px 10px;
}

.douhao-cat-list li {
    display: flex;
    align-items: center;
    padding: 0 10px;
    height: 50px;
    border-bottom: 1px dashed #ededed;
    transition: all .2s;
}

.douhao-cat-list li:last-child {
    border-bottom: none;
}

.douhao-cat-list li:hover {
    background: #f8f9fa;
}

.douhao-cat-list li a {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: #686868;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    padding-left: 15px;
}

.douhao-cat-list li a::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #b5b5b5;
    font-size: 15px;
}

.douhao-cat-list li:hover a {
    color: #1976d2;
}

.douhao-cat-list li span {
    font-size: 14px;
    color: #868e96;
    font-weight: 500;
    flex-shrink: 0;
    margin-left: 10px;
}

.douhao-friendlinks-wrap {
    max-width: 1160px;
    margin: 15px auto 0;
    padding: 0 15px;
}

.douhao-friendlinks {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 13px;
}

.douhao-friendlinks-label {
    font-weight: 700;
    color: #333;
}

.douhao-friendlinks-label i {
    color: #1d8bd5;
    margin-right: 4px;
}

.douhao-friendlinks a {
    color: #888;
    font-size: 13px;
}

.douhao-friendlinks a:hover {
    color: #1d8bd5;
}

.douhao-footer {
    margin-top: 15px;
    background: linear-gradient(to right, #2c3e50, #4a6491);
    border-top: 4px solid #3498db;
    color: #ecf0f1;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
}

.douhao-footer a {
    color: #ecf0f1;
    margin: 0 4px;
}

.douhao-footer a:hover {
    color: #3498db;
}

.douhao-backtop {
    position: fixed;
    right: 25px;
    bottom: 80px;
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(33,150,243,0.4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all .3s;
    z-index: 999;
}

.douhao-backtop.douhao-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.douhao-backtop:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(33,150,243,0.6);
}

.douhao-empty {
    text-align: center;
    padding: 80px 20px;
    color: #999;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.douhao-empty i {
    font-size: 48px;
    display: block;
    margin-bottom: 16px;
    color: #ddd;
}

.douhao-empty h2 {
    font-size: 20px;
    font-weight: 500;
    color: #666;
    margin-bottom: 16px;
}

.douhao-empty p {
    font-size: 15px;
    color: #999;
    margin-bottom: 16px;
}

.douhao-empty-btn {
    display: inline-block;
    padding: 10px 28px;
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    color: #fff;
    border-radius: 20px;
    font-size: 14px;
    transition: all .3s;
}

.douhao-empty-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(66,153,225,0.4);
}

.douhao-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 500;
    margin-left: 6px;
    vertical-align: middle;
}

.douhao-badge-recommend {
    background: #fff3e0;
    color: #FF6B35;
}

.douhao-badge-hot {
    background: #fce4ec;
    color: #e74c3c;
}

.douhao-search-hit {
    font-style: normal;
    color: #FF6B35;
    font-weight: 700;
    background: #FFF5F0;
    padding: 0 2px;
    border-radius: 2px;
}

.douhao-side-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 15px;
}

.douhao-side-card-head {
    padding: 12px 18px;
    border-bottom: 1px solid #efefef;
}

.douhao-side-card-head h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 6px;
}

.douhao-side-card-head h3 i {
    color: #1d8bd5;
    font-size: 15px;
}

.douhao-side-list {
    padding: 6px 15px 10px;
}

.douhao-side-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px dashed #f0f0f0;
}

.douhao-side-list li:last-child {
    border-bottom: none;
}

.douhao-side-list li a {
    flex: 1;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.douhao-side-list li a:hover {
    color: #1d8bd5;
}

.douhao-side-rank {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #999;
    background: #f5f5f5;
}

.douhao-side-rank-top {
    color: #fff;
}

.douhao-side-list li:nth-child(1) .douhao-side-rank-top { background: #e74c3c; }
.douhao-side-list li:nth-child(2) .douhao-side-rank-top { background: #ff9800; }
.douhao-side-list li:nth-child(3) .douhao-side-rank-top { background: #4caf50; }

.douhao-article-page {
    display: grid;
    grid-template-columns: 1fr 305px;
    gap: 15px;
    margin-top: 15px;
}

.douhao-article-main {
    min-width: 0;
}

.douhao-article-side {
    min-width: 0;
}

.douhao-article-detail {
    background: #fff;
    border-radius: 8px;
    padding: 25px 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.douhao-article-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.4;
    margin-bottom: 15px;
}

.douhao-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 13px;
    color: #999;
    padding-bottom: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.douhao-article-meta i {
    margin-right: 4px;
    color: #bbb;
}

.douhao-article-content {
    font-size: 15px;
    color: #333;
    line-height: 1.9;
    word-break: break-word;
}

.douhao-article-content p {
    margin-bottom: 12px;
    text-indent: 2em;
}

.douhao-article-content p img,
.douhao-article-content p:has(img) {
    text-indent: 0;
}

.douhao-article-content img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px auto;
}

.douhao-article-content h2,
.douhao-article-content h3,
.douhao-article-content h4 {
    margin: 20px 0 10px;
    color: #1a1a2e;
    text-indent: 0;
}

.douhao-article-content ul,
.douhao-article-content ol {
    margin: 10px 0 12px 22px;
}

.douhao-article-content li {
    text-indent: 0;
}

.douhao-article-content blockquote {
    border-left: 3px solid #1d8bd5;
    padding: 10px 15px;
    margin: 15px 0;
    background: #f8fafc;
    border-radius: 0 6px 6px 0;
    color: #666;
    text-indent: 0;
}

.douhao-article-content code {
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
    color: #d43a2a;
}

.douhao-article-content pre {
    background: #2d2d3a;
    color: #e0e0e0;
    padding: 14px 18px;
    border-radius: 8px;
    overflow-x: auto;
    font-size: 13px;
    line-height: 1.7;
    text-indent: 0;
}

.douhao-readmore-preview {
    position: relative;
}

.douhao-readmore-overlay {
    position: relative;
    margin-top: -150px;
    padding-top: 80px;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.92) 50%, rgba(255,255,255,0.98) 80%, #fff 100%);
    text-align: center;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.douhao-readmore-overlay a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.douhao-readmore-arrow {
    animation: douhaoArrowBounce 1.5s ease-in-out infinite;
    font-size: 32px;
    color: #1d8bd5;
    display: block;
    margin-bottom: 8px;
}

@keyframes douhaoArrowBounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.6;
    }
    50% {
        transform: translateY(10px);
        opacity: 1;
    }
}

.douhao-readmore-hint {
    font-size: 14px;
    color: #999;
    letter-spacing: 2px;
}

.douhao-readmore-wrapper {
    text-align: center;
    padding: 20px 0 10px;
    margin-top: 10px;
}

.douhao-readmore-btn {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    color: #fff;
    border: none;
    padding: 12px 40px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all .3s;
    box-shadow: 0 4px 15px rgba(66,153,225,0.3);
}

.douhao-readmore-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(66,153,225,0.45);
}

.douhao-readmore-btn i {
    margin-right: 8px;
}

.douhao-readmore-ad {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.douhao-readmore-ad.douhao-show {
    display: flex;
}

.douhao-readmore-ad-box {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    max-width: 520px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.douhao-readmore-ad-tip {
    text-align: center;
    font-size: 15px;
    color: #555;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.douhao-readmore-countdown {
    display: inline-block;
    font-size: 22px;
    font-weight: 700;
    color: #FF6B35;
    min-width: 30px;
    text-align: center;
    background: #fff3e0;
    padding: 0 10px;
    border-radius: 6px;
    line-height: 1.4;
}

.douhao-readmore-ad-body {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}

.douhao-readmore-ad-body img {
    max-width: 100%;
    height: auto;
}

.douhao-article-tags {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.douhao-article-tags > span {
    color: #666;
    font-size: 13px;
}

.douhao-tag {
    display: inline-block;
    padding: 5px 14px;
    background: #f0f7ff;
    color: #1d8bd5;
    border-radius: 15px;
    font-size: 12px;
    transition: all .3s;
}

.douhao-tag:hover {
    background: #1d8bd5;
    color: #fff;
}

.douhao-article-nav {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 20px;
}

.douhao-article-nav-item {
    flex: 1;
    padding: 12px 16px;
    background: #f9f9f9;
    border-radius: 8px;
    font-size: 13px;
    transition: all .3s;
    min-width: 0;
}

.douhao-article-nav-item:hover {
    background: #f0f7ff;
}

.douhao-article-nav-item.douhao-article-nav-empty {
    visibility: hidden;
}

.douhao-article-nav-next {
    text-align: right;
}

.douhao-article-nav-label {
    display: block;
    font-size: 11px;
    color: #999;
    margin-bottom: 4px;
}

.douhao-article-nav-title {
    display: block;
    color: #333;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.douhao-article-nav-item:hover .douhao-article-nav-title {
    color: #1d8bd5;
}

.douhao-article-related {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-top: 15px;
}

.douhao-related-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 15px 20px 20px;
}

.douhao-related-list li a {
    display: flex;
    gap: 12px;
    align-items: center;
}

.douhao-related-thumb {
    flex-shrink: 0;
    width: 90px;
    height: 68px;
    border-radius: 6px;
    overflow: hidden;
    background: #f0f0f0;
}

.douhao-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.douhao-related-noimg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 22px;
}

.douhao-related-info {
    flex: 1;
    min-width: 0;
}

.douhao-related-info h4 {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 6px;
}

.douhao-related-list li a:hover h4 {
    color: #1d8bd5;
}

.douhao-related-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #999;
}

.douhao-list-page {
    display: grid;
    grid-template-columns: 1fr 305px;
    gap: 15px;
    margin-top: 15px;
}

.douhao-list-main {
    min-width: 0;
}

.douhao-list-side {
    min-width: 0;
}

.douhao-list-header {
    background: #fff;
    border-radius: 8px;
    padding: 18px 22px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.douhao-list-header h1 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.douhao-list-header h1 i {
    color: #1d8bd5;
    font-size: 18px;
}

.douhao-list-header p {
    color: #999;
    font-size: 13px;
}

.douhao-search-header {
    background: #fff;
    border-radius: 8px;
    padding: 18px 22px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.douhao-search-header h2 {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
}

.douhao-search-header h2 i {
    color: #1d8bd5;
    margin-right: 6px;
}

.douhao-search-header h2 span {
    color: #1d8bd5;
}

.douhao-search-header p {
    color: #999;
    font-size: 13px;
}

.douhao-search-words {
    margin-left: 10px;
    color: #bbb;
}

.douhao-search-words em {
    font-style: normal;
    background: #f0f7ff;
    color: #1d8bd5;
    padding: 2px 10px;
    border-radius: 8px;
    font-size: 12px;
    margin-right: 4px;
    display: inline-block;
}

.douhao-category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 15px;
}

.douhao-category-tabs::-webkit-scrollbar {
    display: none;
}

.douhao-cat-tab {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    background: #f5f5f5;
    color: #666;
    border-radius: 20px;
    font-size: 14px;
    transition: all .3s;
}

.douhao-cat-tab i {
    font-size: 12px;
}

.douhao-cat-tab:hover {
    background: #1d8bd5;
    color: #fff;
}

.douhao-cat-tab.douhao-cat-tab-active {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    color: #fff;
    font-weight: 500;
    box-shadow: 0 3px 10px rgba(66,153,225,0.3);
}

.douhao-cat-tab-count {
    font-size: 11px;
    opacity: 0.8;
    margin-left: 2px;
}

.douhao-list-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.douhao-list-item {
    display: flex;
    gap: 16px;
    background: #fff;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all .2s;
}

.douhao-list-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.douhao-list-thumb {
    flex-shrink: 0;
    width: 200px;
    height: 140px;
    border-radius: 6px;
    overflow: hidden;
    background: #f0f0f0;
}

.douhao-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.douhao-list-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.douhao-list-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.5;
    margin-bottom: 8px;
}

.douhao-list-title a {
    color: #1a1a2e;
}

.douhao-list-title a:hover {
    color: #1d8bd5;
}

.douhao-list-desc {
    color: #999;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.douhao-list-meta {
    color: #bbb;
    font-size: 12px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.douhao-list-meta i {
    margin-right: 3px;
}

.douhao-list-main .pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 25px 0 0;
    flex-wrap: wrap;
}

.douhao-list-main .pagination a,
.douhao-list-main .pagination span {
    padding: 8px 15px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 13px;
    color: #666;
}

.douhao-list-main .pagination a:hover {
    border-color: #1d8bd5;
    color: #1d8bd5;
}

.douhao-list-main .pagination .current {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    color: #fff;
    border-color: transparent;
}

.douhao-rs-page {
    background: #fff;
    border-radius: 8px;
    padding: 28px 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-top: 15px;
}

.douhao-rs-header {
    text-align: center;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.douhao-rs-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.douhao-rs-header h1 i {
    color: #e74c3c;
}

.douhao-rs-header p {
    color: #999;
    font-size: 15px;
}

.douhao-rs-count {
    color: #bbb;
    font-size: 13px;
    margin-top: 8px;
}

.douhao-rs-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.douhao-rs-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 20px;
    text-decoration: none;
    transition: all .25s;
    font-weight: 600;
    border: 1px solid transparent;
}

.douhao-rs-size-sm {
    font-size: 14px;
    background: #f5f5f5;
    color: #666;
    border-color: #e0e0e0;
}

.douhao-rs-size-md {
    font-size: 15px;
    background: #fff3e0;
    color: #e65100;
    border-color: #ffcc80;
}

.douhao-rs-size-lg {
    font-size: 17px;
    background: linear-gradient(135deg, #ff9a6c, #ff7a4d);
    color: #fff;
    box-shadow: 0 3px 10px rgba(255,122,77,0.25);
}

.douhao-rs-size-xl {
    font-size: 20px;
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255,107,53,0.3);
}

.douhao-rs-tag.douhao-rs-top {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(244,67,54,0.4);
}

.douhao-rs-tag:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 18px rgba(255,107,53,0.35);
    color: inherit;
}

.douhao-rs-tag.douhao-rs-size-sm:hover {
    color: #1d8bd5;
}

.douhao-rs-size-md:hover {
    color: #e65100;
}

.douhao-rs-size-lg:hover,
.douhao-rs-size-xl:hover,
.douhao-rs-tag.douhao-rs-top:hover {
    color: #fff;
}

.douhao-rs-tag-name {
    line-height: 1.2;
}

.douhao-rs-tag-count {
    font-size: 11px;
    opacity: 0.75;
    background: rgba(0,0,0,0.1);
    padding: 1px 6px;
    border-radius: 8px;
    font-weight: 500;
}

.douhao-rs-size-lg .douhao-rs-tag-count,
.douhao-rs-size-xl .douhao-rs-tag-count,
.douhao-rs-tag.douhao-rs-top .douhao-rs-tag-count {
    background: rgba(255,255,255,0.25);
}

@media (max-width: 992px) {
    .douhao-top-row {
        grid-template-columns: 1fr 1fr;
    }

    .douhao-top-mid {
        grid-column: 1 / -1;
        order: 3;
    }

    .douhao-cat-grid {
        grid-template-columns: 1fr;
    }

    .douhao-article-page,
    .douhao-list-page {
        grid-template-columns: 1fr;
    }

    .douhao-article-side,
    .douhao-list-side {
        order: 2;
    }

    .douhao-related-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .douhao-header-wrap {
        padding: 0;
    }

    .douhao-header-top {
        max-width: 100%;
        min-height: auto;
        flex-wrap: wrap;
        gap: 10px;
        background: #fff;
        padding: 12px 15px;
        margin: 0;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }

    .douhao-logo img {
        height: 36px;
    }

    .douhao-logo span {
        font-size: 20px !important;
    }

    .douhao-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .douhao-header-banner {
        width: 100%;
        flex-basis: 100%;
        justify-content: center;
        order: 3;
    }

    .douhao-header-banner img {
        max-height: 44px;
    }

    .douhao-nav-wrap {
        max-width: 100%;
        margin-top: 10px;
        padding: 0 15px;
        gap: 8px;
        display: block;
    }

    .douhao-nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        padding: 0;
        background: linear-gradient(135deg, #2c3e50 0%, #4a6491 100%);
        box-shadow: -4px 0 24px rgba(0,0,0,0.2);
        z-index: 9999;
        overflow-y: auto;
        transition: right .3s ease;
        display: block;
    }

    .douhao-nav.douhao-nav-open {
        right: 0;
    }

    .douhao-nav-drawer-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        color: #fff;
        font-size: 16px;
        font-weight: 600;
        border-bottom: 1px solid rgba(255,255,255,0.12);
    }

    .douhao-nav-drawer-close {
        width: 32px;
        height: 32px;
        border: none;
        background: rgba(255,255,255,0.12);
        color: #fff;
        border-radius: 50%;
        cursor: pointer;
        font-size: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .douhao-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 10px;
    }

    .douhao-nav li > a {
        display: flex;
        width: 100%;
        height: 46px;
        margin: 0;
        padding: 0 16px;
        border-radius: 8px;
        font-size: 15px;
        justify-content: flex-start;
        color: #ecf0f1;
    }

    .douhao-nav li > a:hover {
        transform: none;
        box-shadow: none;
        background: rgba(49,130,206,0.6);
    }

    .douhao-nav li.douhao-nav-active > a {
        background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    }

    .douhao-nav-overlay.douhao-nav-overlay-show {
        display: block;
    }

    .douhao-searchbar {
        padding: 10px 0;
    }

    .douhao-searchbar-box {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 0 15px;
    }

    .douhao-searchbar-box form {
        max-width: 100%;
    }

    .douhao-searchbar-hot {
        display: none;
    }

    .douhao-page {
        padding: 0 15px;
    }

    .douhao-top-row {
        grid-template-columns: 1fr;
    }

    .douhao-slider {
        height: 220px;
    }

    .douhao-featured-list {
        max-height: 400px;
        overflow-y: auto;
    }

    .douhao-cat-list li {
        height: 46px;
    }

    .douhao-backtop {
        right: 15px;
        bottom: 70px;
        width: 40px;
        height: 40px;
        font-size: 15px;
    }

    .douhao-article-detail {
        padding: 18px 18px;
    }

    .douhao-article-title {
        font-size: 19px;
    }

    .douhao-article-meta {
        gap: 12px;
        font-size: 12px;
    }

    .douhao-article-content {
        font-size: 15px;
    }

    .douhao-readmore-overlay {
        margin-top: -120px;
        padding-top: 60px;
        min-height: 100px;
    }

    .douhao-readmore-arrow {
        font-size: 26px;
    }

    .douhao-readmore-btn {
        padding: 10px 30px;
        font-size: 14px;
    }

    .douhao-readmore-ad-box {
        padding: 20px;
    }

    .douhao-readmore-countdown {
        font-size: 18px;
        min-width: 24px;
    }

    .douhao-article-nav {
        flex-direction: column;
        gap: 10px;
    }

    .douhao-related-list {
        padding: 12px 15px 15px;
    }

    .douhao-list-item {
        gap: 12px;
        padding: 12px;
        align-items: flex-start;
    }

    .douhao-list-thumb {
        width: 110px;
        height: 82px;
    }

    .douhao-list-title {
        font-size: 14px;
        margin-bottom: 4px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .douhao-list-desc {
        font-size: 12px;
        margin-bottom: 6px;
        -webkit-line-clamp: 2;
    }

    .douhao-list-meta {
        font-size: 11px;
        gap: 10px;
    }

    .douhao-search-header,
    .douhao-list-header {
        padding: 14px 16px;
    }

    .douhao-search-header h2 {
        font-size: 15px;
    }

    .douhao-list-header h1 {
        font-size: 17px;
    }

    .douhao-rs-page {
        padding: 20px 16px;
    }

    .douhao-rs-header h1 {
        font-size: 22px;
    }

    .douhao-rs-header p {
        font-size: 13px;
    }

    .douhao-rs-cloud {
        gap: 8px;
    }

    .douhao-rs-tag {
        padding: 6px 14px;
    }

    .douhao-rs-size-xl {
        font-size: 17px;
    }

    .douhao-rs-size-lg {
        font-size: 15px;
    }

    .douhao-rs-size-md {
        font-size: 14px;
    }

    .douhao-rs-size-sm {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .douhao-header-banner img {
        max-height: 36px;
    }

    .douhao-searchbar-box button {
        padding: 0 20px;
        font-size: 14px;
    }

    .douhao-forum-grid {
        grid-template-columns: 1fr 1fr;
    }

    .douhao-featured-thumb {
        width: 80px;
        height: 66px;
    }

    .douhao-featured-info h3 {
        font-size: 13px;
    }

    .douhao-featured-meta {
        font-size: 11px;
    }

    .douhao-panel-head h3 {
        font-size: 16px;
    }

    .douhao-cat-list li a {
        font-size: 14px;
    }

    .douhao-article-title {
        font-size: 17px;
    }

    .douhao-article-detail {
        padding: 15px 14px;
    }

    .douhao-list-thumb {
        width: 90px;
        height: 68px;
    }

    .douhao-related-thumb {
        width: 70px;
        height: 54px;
    }

    .douhao-related-info h4 {
        font-size: 13px;
    }

    .douhao-rs-tag {
        padding: 5px 12px;
    }

    .douhao-rs-size-xl {
        font-size: 15px;
    }

    .douhao-rs-size-lg {
        font-size: 14px;
    }

    .douhao-rs-size-md,
    .douhao-rs-size-sm {
        font-size: 13px;
    }

    .douhao-rs-tag-count {
        font-size: 10px;
        padding: 1px 5px;
    }

}