body {
    background: #f7f4ee;
    color: #26323f;
}

a {
    color: #235f68;
}

.header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #eadfce;
    box-shadow: 0 8px 28px rgba(57, 45, 30, 0.06);
}

.logo .name a {
    color: #f04c16;
    font-weight: 800;
}

.menu ul li a {
    color: #27313b;
    font-weight: 600;
}

.menu ul li.on a,
.menu ul li a:hover {
    color: #f04c16;
}

.duanzi-home-hero {
    padding: 28px 0 18px;
}

.duanzi-home-hero .wrap {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
    gap: 28px;
    align-items: center;
    padding: 28px 32px;
    background: #fffaf2;
    border: 1px solid #eadcc8;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(82, 62, 35, 0.06);
}

.duanzi-daily span,
.duanzi-section-title h2,
.duanzi-msn-panel h2 {
    position: relative;
    padding-left: 14px;
}

.duanzi-daily span:before,
.duanzi-section-title h2:before,
.duanzi-msn-panel h2:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 20px;
    background: #ff5a1f;
    border-radius: 4px;
    transform: translateY(-50%);
}

.duanzi-daily span {
    display: block;
    margin-bottom: 12px;
    color: #202b35;
    font-size: 16px;
    font-weight: 700;
}

.duanzi-daily strong {
    display: block;
    color: #1e2a37;
    font-size: 28px;
    line-height: 1.55;
    font-weight: 800;
}

.duanzi-daily em {
    display: block;
    margin-top: 10px;
    color: #7f8b96;
    font-style: normal;
    text-align: right;
}

.duanzi-hero-search form {
    display: flex;
    height: 44px;
}

.duanzi-hero-search input {
    flex: 1;
    min-width: 0;
    padding: 0 16px;
    border: 1px solid #d8e0e5;
    border-right: 0;
    border-radius: 6px 0 0 6px;
    background: #fff;
    color: #27313b;
    font-size: 14px;
}

.duanzi-hero-search button,
.duanzi-primary-link {
    border: 0;
    border-radius: 6px;
    background: #ff5a1f;
    color: #fff !important;
    font-weight: 700;
    cursor: pointer;
}

.duanzi-hero-search button {
    width: 88px;
    border-radius: 0 6px 6px 0;
}

.duanzi-hero-search p {
    margin: 14px 0 0;
    color: #7a8792;
}

.duanzi-hero-search p a {
    display: inline-block;
    margin: 0 8px 6px 0;
    color: #20757b;
    font-weight: 600;
}

.duanzi-msn-panel,
.duanzi-section-title,
.block.custom .post.item,
.sidebar .function,
.sidebar dl,
.sidebar .sidebox {
    background: #fff;
    border: 1px solid #e8edf0;
    border-radius: 8px;
    box-shadow: 0 10px 26px rgba(49, 61, 71, 0.05);
}

.duanzi-msn-panel {
    margin-bottom: 16px;
    padding: 22px;
}

.duanzi-panel-head {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
}

.duanzi-msn-panel h2,
.duanzi-section-title h2 {
    margin: 0;
    color: #1f2b38;
    font-size: 22px;
}

.duanzi-msn-panel p {
    margin: 8px 0 0;
    color: #66727e;
}

.duanzi-primary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    height: 40px;
    padding: 0 18px;
}

.duanzi-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 16px;
}

.duanzi-feature-grid a {
    padding: 14px 16px;
    background: #fff7ee;
    border: 1px solid #f2e3d4;
    border-radius: 6px;
}

.duanzi-feature-grid strong,
.duanzi-feature-grid span {
    display: block;
}

.duanzi-feature-grid strong {
    color: #26323f;
}

.duanzi-feature-grid span {
    margin-top: 4px;
    color: #73808a;
    font-size: 13px;
}

.duanzi-ad {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70px;
    margin-bottom: 16px;
    background: #eef2f5;
    border: 1px dashed #ccd6dd;
    color: #7d8a95;
    border-radius: 4px;
}

.duanzi-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 14px 18px;
}

.duanzi-section-title div a {
    display: inline-flex;
    align-items: center;
    height: 30px;
    margin-left: 8px;
    padding: 0 14px;
    background: #f6f8f9;
    border: 1px solid #e4eaee;
    border-radius: 16px;
    color: #53606b;
}

.duanzi-section-title div a:first-child {
    background: #ff5a1f;
    border-color: #ff5a1f;
    color: #fff;
}

.block.custom {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    padding: 0 !important;
}

.block.custom .post.item {
    position: relative;
    margin-bottom: 14px;
    padding: 20px 22px;
}

.block.custom .post.item h2 {
    margin-bottom: 10px;
    font-size: 21px;
    line-height: 1.35;
}

.block.custom .post.item h2 a {
    color: #1f2b38;
}

.block.custom .post.item .intro {
    color: #3f4f5d;
    font-size: 15px;
    line-height: 1.75;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.info {
    color: #7c8994;
}

.duanzi-card-actions,
.duanzi-single-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 14px;
}

.duanzi-copy,
.duanzi-plain-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 14px;
    border: 1px solid #dce5ea;
    border-radius: 6px;
    background: #fff;
    color: #44515c;
    font-size: 14px;
    cursor: pointer;
}

.duanzi-random {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 14px;
    border: 1px solid #ffd7c7;
    border-radius: 6px;
    background: #fff6f1;
    color: #e24b14 !important;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.duanzi-random:before {
    content: "↻";
    margin-right: 5px;
    font-size: 15px;
    line-height: 1;
}

.duanzi-random:hover {
    background: #ff5a1f;
    border-color: #ff5a1f;
    color: #fff !important;
}

.content > .block > .post {
    border-radius: 8px;
}

.single {
    color: #26323f;
    font-size: 17px;
    line-height: 1.95;
}

.single p {
    margin: 0 0 1em;
}

.duanzi-cmt-tip {
    margin-top: 8px;
    color: #7d8a95;
    font-size: 14px;
    line-height: 1.6;
}

.sidebar {
    color: #35424f;
}

.sidebar .function,
.sidebar dl,
.sidebar .sidebox {
    margin-bottom: 16px;
    padding: 16px;
}

.footer {
    background: #25313b;
}

@media (max-width: 900px) {
    .duanzi-home-hero {
        padding: 16px 0 10px;
    }

    .duanzi-home-hero .wrap {
        display: block;
        padding: 20px 16px;
    }

    .duanzi-daily strong {
        font-size: 21px;
    }

    .duanzi-hero-search {
        margin-top: 18px;
    }

    .duanzi-panel-head,
    .duanzi-section-title {
        display: block;
    }

    .duanzi-primary-link {
        margin-top: 14px;
        width: 100%;
    }

    .duanzi-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .duanzi-section-title div {
        margin-top: 12px;
    }

    .duanzi-section-title div a {
        margin: 0 6px 8px 0;
    }

    .block.custom .post.item {
        padding: 18px 16px;
    }

    .duanzi-card-actions,
    .duanzi-single-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

@media (max-width: 520px) {
    .duanzi-feature-grid {
        grid-template-columns: 1fr;
    }

    .duanzi-hero-search form {
        height: 42px;
    }

    .duanzi-hero-search button {
        width: 70px;
    }
}
