/**
 * 文章详情弹框组件样式
 */

.article-detail-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    animation: modalFadeIn 0.3s ease;
}

.article-detail-modal.active {
    display: block;
}

.article-detail-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

.article-detail-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* 弹框头部 */
.article-detail-modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e9ecef;
    gap: 12px;
}

.article-detail-modal .modal-header-left {
    flex-shrink: 0;
}

.article-detail-modal .modal-header-right {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-detail-modal .modal-back-btn {
    padding: 6px 12px;
    border: none;
    background: #f3f4f6;
    border-radius: 6px;
    color: #374151;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.article-detail-modal .modal-back-btn:hover {
    background: #e5e7eb;
    color: #1f2937;
}

.article-detail-modal .modal-action-btn {
    padding: 6px 12px;
    border: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.article-detail-modal .modal-action-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.article-detail-modal .modal-title-group {
    flex: 1;
    min-width: 0;
    text-align: center;
}

.article-detail-modal .modal-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-detail-modal .modal-subtitle {
    margin: 4px 0 0 0;
    font-size: 13px;
    font-weight: normal;
    color: #667eea;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-detail-modal .modal-close-btn {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border: none;
    background: #f8f9fa;
    border-radius: 6px;
    color: #666;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-detail-modal .modal-close-btn:hover {
    background: #e9ecef;
    color: #333;
}

.article-detail-body {
    max-height: 60vh;
    overflow-y: auto;
    padding: 20px;
}

/* Tab 切换 */
.detail-tabs {
    display: flex;
    gap: 8px;
    padding: 0 0 16px 0;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 20px;
}

.detail-tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: #f8f9fa;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    color: #666;
}

.detail-tab-btn:hover {
    background: #e9ecef;
    color: #333;
}

.detail-tab-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.detail-tab-btn .tab-icon {
    font-size: 18px;
}

.detail-tab-btn .tab-text {
    font-weight: 600;
}

.detail-tab-btn .tab-count {
    background: rgba(255, 255, 255, 0.3);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.detail-tab-btn.active .tab-count {
    background: rgba(255, 255, 255, 0.3);
}

/* Tab 内容 */
.detail-tab-content {
    display: none;
}

.detail-tab-content.active {
    display: block;
}

/* 列表样式 */
.detail-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* 单词列表两列布局 */
.detail-list.words-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
}

.detail-item {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    transition: all 0.2s ease;
}

.detail-item:hover {
    background: #e9ecef;
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.detail-item .item-index {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #667eea;
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
}

.detail-item .item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-item .item-main {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* 单词项 */
.detail-item .item-word {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.detail-item .item-pos {
    padding: 3px 10px;
    background: #28a745;
    color: white;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.detail-item .item-phonetic {
    font-size: 14px;
    color: #667eea;
    font-style: italic;
}

.detail-item .item-meaning {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 6px;
}

.detail-item .item-meaning .item-pos {
    margin: 0;
    flex-shrink: 0;
}

/* 短语项 */
.detail-item .item-phrase {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.detail-item .item-phrase-type {
    padding: 3px 10px;
    background: #17a2b8;
    color: white;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.detail-item .item-usage {
    font-size: 13px;
    color: #666;
    padding: 6px 12px;
    background: rgba(23, 162, 184, 0.1);
    border-left: 3px solid #17a2b8;
    border-radius: 4px;
    line-height: 1.5;
}

.detail-item .item-example {
    font-size: 13px;
    color: #888;
    padding: 8px 12px;
    background: white;
    border-radius: 6px;
    line-height: 1.6;
}

/* 语法项 */
.detail-item .item-grammar-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.detail-item .item-category {
    padding: 3px 10px;
    background: #667eea;
    color: white;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.detail-item .item-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 句子分组样式 */
.detail-sentence-group {
    margin-bottom: 20px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.sentence-group-header {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e9ecef;
}

.sentence-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 600;
}

.sentence-content {
    flex: 1;
}

.sentence-english {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    line-height: 1.6;
    margin-bottom: 6px;
}

.sentence-chinese {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.sentence-group-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-left: 44px;
}

/* 短语子项 */
.phrase-subitem {
    padding: 12px;
    background: white;
    border-radius: 6px;
    border-left: 3px solid #17a2b8;
}

.subitem-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.subitem-number {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #17a2b8;
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
}

.subitem-phrase {
    font-size: 15px;
    font-weight: 600;
    color: #17a2b8;
}

.subitem-meaning {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 6px;
}

.subitem-usage {
    font-size: 13px;
    color: #888;
    padding: 6px 10px;
    background: rgba(23, 162, 184, 0.1);
    border-radius: 4px;
    line-height: 1.5;
}

/* 语法子项 */
.grammar-subitem {
    padding: 12px;
    background: white;
    border-radius: 6px;
    border-left: 3px solid #667eea;
}

.subitem-grammar-name {
    font-size: 15px;
    font-weight: 600;
    color: #667eea;
}

.subitem-description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 6px;
}

.subitem-example {
    font-size: 13px;
    color: #888;
    padding: 6px 10px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 4px;
    line-height: 1.5;
}

/* 加载状态 */
.detail-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 16px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f0f0f0;
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.detail-loading p {
    font-size: 14px;
    color: #999;
}

/* 空状态 */
.detail-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 12px;
}

.detail-empty .empty-icon {
    font-size: 48px;
    opacity: 0.5;
}

.detail-empty .empty-text {
    font-size: 14px;
    color: #999;
}

/* 错误状态 */
.detail-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 12px;
}

.detail-error .error-icon {
    font-size: 48px;
    opacity: 0.5;
}

.detail-error .error-text {
    font-size: 14px;
    color: #dc3545;
}

/* Modal 按钮样式 */
.modal-footer {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding: 20px;
    border-top: 1px solid #f0f0f0;
}

.modal-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-btn .btn-icon {
    font-size: 16px;
}

.modal-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.modal-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.modal-btn-secondary {
    background: #f8f9fa;
    color: #666;
    border: 1px solid #dee2e6;
}

.modal-btn-secondary:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .article-detail-content {
        width: 95%;
        max-width: none;
        max-height: 90vh;
    }

    .article-detail-body {
        max-height: 70vh;
        padding: 16px;
    }

    .detail-tabs {
        gap: 4px;
    }

    .detail-tab-btn {
        padding: 10px 12px;
        font-size: 13px;
        flex-direction: column;
        gap: 4px;
    }

    .detail-tab-btn .tab-icon {
        font-size: 16px;
    }

    /* 小屏幕单词列表改为单列 */
    .detail-list.words-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .detail-item {
        padding: 12px;
    }

    .detail-item .item-word,
    .detail-item .item-phrase,
    .detail-item .item-grammar-name {
        font-size: 16px;
    }

    .modal-footer {
        flex-direction: column;
        gap: 8px;
    }

    .modal-btn {
        width: 100%;
        justify-content: center;
    }

    .sentence-group-content {
        padding-left: 0;
    }

    .sentence-english {
        font-size: 14px;
    }

    .sentence-chinese {
        font-size: 13px;
    }

    .subitem-phrase,
    .subitem-grammar-name {
        font-size: 14px;
    }
}

/* 动画 */
@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes modalSlideIn {
    from {
        transform: translate(-50%, -48%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

/* ======================
   分享功能样式
   ====================== */

/* 加载提示 */
.share-image-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20000;
    backdrop-filter: blur(4px);
}

.share-image-loading-content {
    background: white;
    padding: 40px 60px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.share-image-loading-content .loading-spinner {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
}

.share-image-loading-content p {
    margin: 10px 0;
    font-size: 18px;
    color: #333;
    font-weight: 500;
}

.share-image-loading-content .loading-tip {
    font-size: 14px;
    color: #666;
    font-weight: normal;
    margin-top: 5px;
}

/* 图片预览界面 */
.share-images-preview-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 15000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.share-images-preview-content {
    width: 90%;
    max-width: 1200px;
    height: 90vh;
    background: #1a1a1a;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: #2a2a2a;
    border-bottom: 1px solid #3a3a3a;
}

.preview-header h3 {
    margin: 0;
    font-size: 24px;
    color: #fff;
    font-weight: 600;
}

.preview-close-btn {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.preview-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: rotate(90deg);
}

.preview-body {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
}

.preview-images-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.preview-image-item {
    background: #2a2a2a;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.preview-image-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.preview-image-item img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 2px solid #3a3a3a;
}

.preview-image-actions {
    padding: 15px;
}

.preview-footer {
    display: flex;
    gap: 15px;
    padding: 20px 30px;
    background: #2a2a2a;
    border-top: 1px solid #3a3a3a;
}

.preview-btn {
    flex: 1;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.preview-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.preview-btn-primary:hover {
    background: linear-gradient(135deg, #5568d3 0%, #66428c 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.preview-btn-secondary {
    background: #3a3a3a;
    color: #fff;
}

.preview-btn-secondary:hover {
    background: #4a4a4a;
}

.preview-btn-download {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 20px;
    font-size: 14px;
}

.preview-btn-download:hover {
    background: linear-gradient(135deg, #5568d3 0%, #66428c 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* 分享按钮样式 */
.modal-btn-success {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
}

.modal-btn-success:hover {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(72, 187, 120, 0.4);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .share-images-preview-content {
        width: 95%;
        height: 95vh;
    }

    .preview-images-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .preview-footer {
        flex-direction: column;
    }

    .preview-btn {
        width: 100%;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ======================
   幻灯片预览界面
   ====================== */

.slides-preview-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.slides-preview-content {
    width: 95%;
    max-width: 600px;
    height: 95vh;
    background: #1a1a1a;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.slides-preview-content .preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: #2a2a2a;
    border-bottom: 1px solid #3a3a3a;
}

.slides-preview-content .preview-header h3 {
    margin: 0;
    font-size: 24px;
    color: #fff;
    font-weight: 600;
}

.preview-header-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.preview-page-indicator {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.preview-page-indicator #currentSlideNumber {
    color: #667eea;
    font-weight: bold;
    font-size: 20px;
}

.slides-preview-content .preview-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 20px 80px;
}

.slides-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* 覆盖share-slide的固定定位，在预览时使用相对定位 */
.slides-container .share-slide {
    position: relative !important;
    left: 0 !important;
    top: 0 !important;
    transform: scale(0.28) !important; /* 1080x1920 缩放到约300x540 */
    transform-origin: center center !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    z-index: 1 !important;
}

.slide-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.slide-nav-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.slide-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.slide-nav-prev {
    left: 20px;
}

.slide-nav-next {
    right: 20px;
}

.slides-preview-content .preview-footer {
    display: flex;
    gap: 15px;
    padding: 20px 30px;
    background: #2a2a2a;
    border-top: 1px solid #3a3a3a;
}

/* 进度显示 */
.share-image-loading-content .loading-tip #generateProgress {
    color: #667eea;
    font-weight: bold;
    font-size: 18px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .slides-preview-content {
        width: 100%;
        height: 100vh;
        border-radius: 0;
    }

    .slides-preview-content .preview-body {
        padding: 20px 60px;
    }

    .slide-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .slide-nav-prev {
        left: 10px;
    }

    .slide-nav-next {
        right: 10px;
    }

    .slides-container .share-slide {
        transform: scale(0.25) !important;
    }
}

@media (max-width: 480px) {
    .slides-container .share-slide {
        transform: scale(0.2) !important;
    }
}

/* 句子翻译和段落翻译样式 */
.sentence-item,
.paragraph-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 8px;
    border-left: 4px solid #667eea;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.sentence-item:hover,
.paragraph-item:hover {
    background: #e9ecef;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.sentence-item .item-index,
.paragraph-item .item-index {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #667eea;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
}

.sentence-item .item-content,
.paragraph-item .item-content {
    flex: 1;
    min-width: 0;
}

.sentence-item .item-english,
.paragraph-item .item-english {
    font-size: 15px;
    line-height: 1.5;
    color: #222;
    margin-bottom: 6px;
    padding: 8px 10px;
    background: rgba(102, 126, 234, 0.08);
    border-radius: 6px;
    font-weight: 500;
}

.sentence-item .item-chinese,
.paragraph-item .item-chinese {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    padding: 8px 10px;
    background: rgba(255, 193, 7, 0.1);
    border-radius: 6px;
}

/* 段落翻译特殊样式 */
.paragraph-item .item-english,
.paragraph-item .item-chinese {
    text-align: justify;
    text-justify: inter-word;
}

