@charset "utf-8";

/* 词语解释/诗歌大全 通用样式 */

/* 搜索区域 */
.ciyu-search-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    color: #fff;
    margin-bottom: 15px;
}

.ciyu-search-box h1 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 600;
}

.ciyu-desc {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.ciyu-frm {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.ciyu-input-wrap {
    display: flex;
    max-width: 600px;
    width: 100%;
}

.ciyu-ipt {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
    outline: none;
}

.ciyu-btn {
    background: #ff6b6b;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 0 4px 4px 0;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.ciyu-btn:hover {
    background: #ee5a5a;
}

.ciyu-hot-words {
    font-size: 13px;
    margin-top: 15px;
}

.ciyu-hot-words span {
    opacity: 0.8;
}

.ciyu-hot-words a {
    color: #fff;
    margin: 0 8px;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.ciyu-hot-words a:hover {
    opacity: 1;
    text-decoration: underline;
}

.ciyu-tag-link {
    background: rgba(255,255,255,0.2);
    padding: 2px 8px;
    border-radius: 3px;
}

/* 结果区域 */
.ciyu-result-box {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 20px;
}

.ciyu-result-header {
    border-bottom: 2px solid #667eea;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.ciyu-result-header h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 5px;
}

.ciyu-pinyin {
    font-size: 16px;
    color: #666;
}

.ciyu-result-content {
    padding: 10px 0;
}

.ciyu-item {
    margin-bottom: 20px;
    line-height: 1.8;
}

.ciyu-item strong {
    color: #667eea;
    font-size: 14px;
    display: block;
    margin-bottom: 5px;
}

.ciyu-item p {
    color: #555;
    font-size: 14px;
    text-indent: 2em;
}

.ciyu-tags a {
    display: inline-block;
    background: #f0f4ff;
    color: #667eea;
    padding: 3px 10px;
    border-radius: 4px;
    margin: 3px;
    font-size: 13px;
    transition: all 0.3s;
}

.ciyu-tags a:hover {
    background: #667eea;
    color: #fff;
    text-decoration: none;
}

/* 错误提示 */
.ciyu-error {
    text-align: center;
    padding: 40px 20px;
}

.ciyu-error .error-msg {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.ciyu-error .error-msg em {
    color: #ff6b6b;
    font-style: normal;
}

.ciyu-error .error-tips {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
}

.ciyu-error ul {
    text-align: left;
    display: inline-block;
    color: #888;
    font-size: 13px;
    line-height: 1.8;
}

/* 首页展示 */
.ciyu-home-box {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 20px;
}

/* 功能模块 */
.ciyu-features {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 15px;
}

.ciyu-feature-item {
    flex: 1;
    text-align: center;
    padding: 25px 15px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
}

.ciyu-feature-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.ciyu-feature-item h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
}

.ciyu-feature-item p {
    font-size: 13px;
    color: #888;
}

/* 热门分类标题 */
.ciyu-cate-title {
    border-left: 4px solid #667eea;
    padding-left: 12px;
    margin-bottom: 15px;
}

.ciyu-cate-title h3 {
    font-size: 16px;
    color: #333;
}

/* 热门分类标签 */
.ciyu-cate-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.ciyu-cate-tags a {
    background: #667eea;
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    transition: all 0.3s;
}

.ciyu-cate-tags a:hover {
    background: #5a6fd6;
    text-decoration: none;
    transform: translateY(-2px);
}

/* 分类列表 */
.ciyu-list-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.ciyu-list-col {
    background: #f8fafc;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #e8e8e8;
}

.ciyu-list-col h4 {
    font-size: 15px;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 1px dashed #e0e0e0;
    margin-bottom: 10px;
}

.ciyu-list-col ul {
    margin-bottom: 10px;
}

.ciyu-list-col li {
    padding: 6px 0;
    border-bottom: 1px dashed #e8e8e8;
}

.ciyu-list-col li:last-child {
    border-bottom: none;
}

.ciyu-list-col li a {
    color: #006699;
    font-size: 13px;
    transition: color 0.3s;
}

.ciyu-list-col li a:hover {
    color: #667eea;
    text-decoration: underline;
}

.ciyu-view-all {
    display: block;
    text-align: center;
    background: #f0f0f0;
    color: #666;
    padding: 8px;
    border-radius: 4px;
    font-size: 13px;
    transition: all 0.3s;
}

.ciyu-view-all:hover {
    background: #667eea;
    color: #fff;
    text-decoration: none;
}

/* 相关推荐 */
.ciyu-recommend {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 15px;
}

.ciyu-recommend h3 {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e8e8e8;
}

.ciyu-recommend-links a {
    display: inline-block;
    background: #f5f5f5;
    color: #666;
    padding: 6px 15px;
    border-radius: 4px;
    margin: 3px;
    font-size: 13px;
    transition: all 0.3s;
}

.ciyu-recommend-links a:hover {
    background: #667eea;
    color: #fff;
    text-decoration: none;
}

/* 诗歌大全特殊样式 */
.shige-search-box {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.shige-result-box {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 20px;
}

.shige-result-header {
    border-bottom: 2px solid #11998e;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.shige-result-header h2 {
    font-size: 20px;
    color: #333;
}

.shige-result-header span {
    font-size: 14px;
    color: #888;
    font-weight: normal;
}

.shige-list {
    
}

.shige-item {
    border-bottom: 1px dashed #e8e8e8;
    padding: 20px 0;
}

.shige-item:last-child {
    border-bottom: none;
}

.shige-title {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.shige-title h3 {
    font-size: 18px;
    color: #11998e;
    margin-right: 15px;
}

.shige-author {
    font-size: 13px;
    color: #888;
}

.shige-tag {
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
}

.shige-content {
    background: #f8fafc;
    padding: 15px;
    border-radius: 6px;
    font-size: 15px;
    line-height: 2;
    color: #333;
    white-space: pre-line;
    margin-bottom: 10px;
}

.shige-trans,
.shige-bg,
.shige-appreciate {
    margin-top: 10px;
    padding: 10px;
    background: #fffbe6;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.8;
}

.shige-appreciate {
    background: #e6f7ff;
}

.shige-trans strong,
.shige-bg strong,
.shige-appreciate strong {
    color: #11998e;
    display: block;
    margin-bottom: 5px;
}

.shige-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 20px;
}

.shige-page-btn {
    background: #11998e;
    color: #fff;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
}

.shige-page-btn:hover {
    background: #0d7d73;
    text-decoration: none;
}

.shige-page-info {
    color: #666;
    font-size: 14px;
}

/* 相关工具 */
.ciyu-tools {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 15px;
}

.ciyu-tools h3 {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e8e8e8;
}

.ciyu-tools .ciyu-recommend-links a {
    background: #e8f5e9;
    color: #2e7d32;
}

.ciyu-tools .ciyu-recommend-links a:hover {
    background: #2e7d32;
    color: #fff;
}

/* 响应式 */
@media (max-width: 768px) {
    .ciyu-features {
        flex-direction: column;
    }
    
    .ciyu-list-wrap {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ciyu-search-box h1 {
        font-size: 22px;
    }
    
    .ciyu-input-wrap {
        flex-direction: column;
    }
    
    .ciyu-ipt {
        border-radius: 4px;
        margin-bottom: 10px;
    }
    
    .ciyu-btn {
        border-radius: 4px;
    }
}

@media (max-width: 480px) {
    .ciyu-list-wrap {
        grid-template-columns: 1fr;
    }
}

/* 汉字解析样式 */
.ciyu-char-info {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.ciyu-char-item {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    padding: 12px 16px;
    min-width: 100px;
    text-align: center;
    color: #fff;
    transition: transform 0.3s;
}

.ciyu-char-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.ciyu-char-word {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 6px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.ciyu-char-detail {
    font-size: 12px;
    opacity: 0.9;
    line-height: 1.6;
}

.ciyu-char-pinyin {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
}

.ciyu-char-radical,
.ciyu-char-strokes {
    display: inline-block;
    margin: 2px 4px;
    background: rgba(255,255,255,0.2);
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 11px;
}
