/* ========== 每日一句插件 - 基础样式 ========== */
.daily-quote {
    font-family: inherit;
    font-size: inherit;
    line-height: 1.6;
    color: inherit;
    margin-bottom: 0;
}
.quote-author {
    margin-top: 0.5rem;
    text-align: right;
    font-size: 0.85rem;
    color: #8a8a8a;
}

/* ========== 样式1：简约风格（无背景框，左侧细线） ========== */
.daily-quote.quote-style-simple {
    background: transparent;
    padding: 0.75rem 0 0.75rem 1rem;
    border-left: 3px solid #e2dcd5;
}
.daily-quote.quote-style-simple .quote-content {
    font-size: 0.95rem;
    color: #5a5a5a;
}
.daily-quote.quote-style-simple .quote-author {
    color: #9e9e9e;
}
/* 深色模式 */
.dark .daily-quote.quote-style-simple {
    border-left-color: #4a3e36;
}
.dark .daily-quote.quote-style-simple .quote-content {
    color: #c1c4c9;
}

/* ========== 样式2：卡片风格（无背景色，仅靠边框/阴影区分） ========== */
.daily-quote.quote-style-card {
    background: transparent;  /* 去掉背景色 */
    border-radius: 0.5rem;
    padding: 1.2rem 1rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02), 0 1px 1px rgba(0, 0, 0, 0.01);
    border-bottom: 1px solid #f0ede8;
    transition: all 0.2s ease;
}
.daily-quote.quote-style-card:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}
.daily-quote.quote-style-card .quote-content {
    font-size: 1rem;
    font-weight: 450;
    color: #4a4a4a;
}
.daily-quote.quote-style-card .quote-author {
    color: #a0a0a0;
    border-top: 1px solid #efede8;
    padding-top: 0.5rem;
    margin-top: 0.5rem;
}
/* 深色模式 */
.dark .daily-quote.quote-style-card {
    border-bottom-color: #3a3a3a;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.dark .daily-quote.quote-style-card:hover {
    background: rgba(255, 255, 255, 0.02);
}
.dark .daily-quote.quote-style-card .quote-content {
    color: #d0d0d0;
}
.dark .daily-quote.quote-style-card .quote-author {
    color: #8a8e94;
    border-top-color: #3a3e44;
}

/* ========== 样式3：无出处风格（隐藏作者，优雅无框，无引号） ========== */
.daily-quote.quote-style-no-author .quote-author {
    display: none;
}

.daily-quote.quote-style-no-author {
    background: rgba(250, 250, 245, 0.7);
    border-radius: 1rem;
    padding: 1.4rem 1.2rem;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
    border: 0.5px solid rgba(210, 200, 190, 0.3);
}
.daily-quote.quote-style-no-author:hover {
    background: rgba(252, 252, 248, 0.85);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.04);
}
.daily-quote.quote-style-no-author .quote-content {
    font-size: 1.05rem;
    font-weight: 460;
    line-height: 1.65;
    color: #3e3e3e;
    font-family: inherit;
}
.daily-quote.quote-style-no-author::after {
    content: "";
    display: block;
    width: 28px;
    height: 1px;
    background: #d0c0b0;
    margin: 0.8rem auto 0;
    opacity: 0.35;
}
/* 深色模式 */
.dark .daily-quote.quote-style-no-author {
    background: rgba(35, 35, 40, 0.6);
    border-color: rgba(80, 70, 60, 0.3);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.dark .daily-quote.quote-style-no-author:hover {
    background: rgba(45, 45, 50, 0.8);
}
.dark .daily-quote.quote-style-no-author .quote-content {
    color: #e0e0e0;
}
.dark .daily-quote.quote-style-no-author::after {
    background: #7a6a5a;
}

/* 移动端适配 */
@media (max-width: 640px) {
    .daily-quote.quote-style-no-author {
        padding: 1rem;
    }
    .daily-quote.quote-style-no-author .quote-content {
        font-size: 0.95rem;
    }
}