
        :root {
            --primary-color: #1a73e8;
            --border-color: #eee;
            --text-color: #333;
            --light-bg: #f8f9fa;
            --max-content-width: 800px;
            --footer-bg: #f8f9fa;
            --footer-text: #666;
            --footer-link: #1a73e8;
            --footer-title: #333;
        }
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            line-height: 1.6;
            color: var(--text-color);
            margin: 0;
            padding: 0;
            background: var(--light-bg);
        }
        .header {
            background: #fff;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 100;
        }
        .header-inner {
            max-width: var(--max-content-width);
            margin: 0 auto;
            padding: 12px 15px;
            display: flex;
            align-items: center;
            gap: 20px;
        }
        .logo {
            font-size: 20px;
            font-weight: bold;
            color: var(--primary-color);
            text-decoration: none;
            white-space: nowrap;
        }
        .nav-menu {
            display: flex;
            gap: 15px;
            margin-right: auto;
        }
        .nav-menu a {
            color: var(--text-color);
            text-decoration: none;
            padding: 5px 10px;
            font-size: 15px;
        }
        .search-box {
            display: flex;
            gap: 8px;
            max-width: 360px;
            width: 100%;
        }
        .search-input {
            flex: 1;
            padding: 8px 12px;
            border: 1px solid var(--border-color);
            border-radius: 4px;
            font-size: 14px;
            min-width: 0;
        }
        .search-button {
            padding: 8px 15px;
            background: var(--primary-color);
            color: #fff;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            white-space: nowrap;
        }
        .search-icon {
            display: none;
            width: 24px;
            height: 24px;
            fill: var(--primary-color);
            cursor: pointer;
        }
        .sub-nav {
            background: #fff;
            border-bottom: 1px solid var(--border-color);
            padding: 8px 0;
        }
        .sub-nav-inner {
            max-width: var(--max-content-width);
            margin: 0 auto;
            padding: 0 15px;
            display: flex;
            gap: 15px;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
            white-space: nowrap;
        }
        .sub-nav-inner::-webkit-scrollbar {
            display: none;
        }
        .sub-nav a {
            color: #666;
            text-decoration: none;
            padding: 5px 12px;
            border-radius: 4px;
            font-size: 14px;
            transition: all 0.3s;
            white-space: nowrap;
        }
        .sub-nav a.active {
            background: var(--primary-color);
            color: #fff;
        }
        .sub-nav a:hover:not(.active) {
            background: var(--light-bg);
        }
        .main-content {
            max-width: var(--max-content-width);
            margin: 15px auto;
            padding: 0 15px;
        }
        .breadcrumb {
            margin-bottom: 20px;
        }
        .breadcrumb a {
            color: #666;
            text-decoration: none;
        }
        .breadcrumb span {
            margin: 0 5px;
        }
        .word-header {
            background: #fff;
            padding: 25px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
            margin-bottom: 20px;
        }
        .word-info {
            display: flex;
            align-items: flex-start;
            gap: 20px;
            margin-bottom: 20px;
        }
        .word-left {
            flex: 1;
            min-width: 0;
        }
        .word-right {
            width: 200px;
            flex-shrink: 0;
        }
        .word-image {
            width: 200px;
            height: 133px;
            border-radius: 8px;
            object-fit: cover;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }
        .pinyin-block {
            display: flex;
            align-items: center;
            gap: 12px;
            margin: 10px 0;
            font-size: 15px;
            color: #666;
        }
        .word-title {
            font-size: 32px;
            color: var(--text-color);
            margin: 0 0 10px 0;
            line-height: 1.2;
        }
        .voice-btn {
            width: 36px;
            height: 36px;
            cursor: pointer;
            background: var(--primary-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            box-shadow: 0 2px 4px rgba(26,115,232,0.2);
        }
        .voice-btn:hover {
            transform: scale(1.1);
            box-shadow: 0 4px 8px rgba(26,115,232,0.3);
        }
        .voice-icon {
            width: 22px;
            height: 22px;
            fill: #fff;
        }
        @media (max-width: 768px) {
            .header-inner {
                padding: 8px 12px;
                gap: 12px;
                position: relative;
            }
            .logo {
                font-size: 18px;
            }
            .nav-menu {
                gap: 8px;
            }
            .nav-menu a {
                font-size: 13px;
                padding: 4px 6px;
            }
            .search-box {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                padding: 10px;
                background: #fff;
                border-top: 1px solid var(--border-color);
                z-index: 100;
            }
            .search-box.active {
                display: flex;
            }
            .mobile-search-btn {
                display: block;
            }
            .word-info {
                gap: 12px;
            }
            .word-right {
                width: 100px;
            }
            .word-image {
                width: 100px;
                height: 100px;
                object-fit: cover;
            }
            .sub-nav-inner {
                gap: 10px;
                padding: 0 12px;
            }
            .sub-nav a {
                padding: 4px 8px;
                font-size: 13px;
            }
        }
        @media (max-width: 480px) {
            .word-image {
                height: 150px;
            }
            .word-title {
                font-size: 24px;
            }
            .pinyin {
                font-size: 16px;
            }
            .voice-btn {
                width: 32px;
                height: 32px;
            }
            .voice-icon {
                width: 18px;
                height: 18px;
            }
        }
        .nav-tabs {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
            border-bottom: 2px solid #eee;
            padding: 0;
            list-style: none;
        }
        .nav-tabs li a {
            display: block;
            padding: 10px 20px;
            color: #666;
            text-decoration: none;
            border-bottom: 2px solid transparent;
            margin-bottom: -2px;
        }
        .nav-tabs li.active a {
            color: #1a73e8;
            border-bottom-color: #1a73e8;
        }
        .word-header {
            background: #fff;
            padding: 25px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
            margin-bottom: 20px;
        }
        .word-title {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 20px;
        }
        .main-word {
            font-size: 36px;
            color: #333;
            margin: 0;
        }
        .pinyin-block {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .pinyin {
            font-size: 18px;
            color: #666;
        }
        .voice-btn {
            width: 24px;
            height: 24px;
            cursor: pointer;
            background: #1a73e8;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 14px;
        }
        .basic-definition {
            margin-top: 15px;
            padding: 15px;
            background: #f8f9fa;
            border-radius: 4px;
            color: #333;
        }
        .word-section {
            margin-top: 20px;
        }
        .section-title {
            font-size: 16px;
            color: #666;
            margin-bottom: 10px;
        }
        .word-list {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        .word-item {
            background: #f0f4f8;
            padding: 5px 12px;
            border-radius: 4px;
            color: #1a73e8;
            text-decoration: none;
        }
        .example-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .example-item {
            margin-bottom: 10px;
            padding-left: 20px;
            position: relative;
            color: #666;
        }
        .example-item::before {
            content: "◇";
            position: absolute;
            left: 0;
            color: #1a73e8;
        }
        .definition-block {
            margin-bottom: 20px;
            padding-bottom: 20px;
            border-bottom: 1px solid #eee;
        }
        .definition-block:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }
        .definition-content {
            font-size: 16px;
            line-height: 1.8;
            color: #333;
        }
        .word-info {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 20px;
        }
        .word-title {
            font-size: 36px;
            color: #333;
            margin: 0;
        }
        .pinyin-block {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .voice-btn {
            width: 24px;
            height: 24px;
            cursor: pointer;
            background: #1a73e8;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 14px;
        }
        .definition-section {
            margin-top: 20px;
        }
        .definition-item {
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px solid var(--border-color);
        }
        .definition-item:last-child {
            border-bottom: none;
        }
        .definition-content {
            font-size: 16px;
            line-height: 1.8;
            color: var(--text-color);
        }
        .word-list {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 10px;
        }
        .word-tag {
            background: #f0f4f8;
            padding: 5px 12px;
            border-radius: 4px;
            color: #1a73e8;
            text-decoration: none;
            transition: all 0.3s ease;
        }
        .word-tag:hover {
            background: #e3f2fd;
        }
        .example-list {
            margin-top: 15px;
            padding-left: 20px;
        }
        .example-item {
            color: #666;
            margin-bottom: 10px;
            position: relative;
            padding-left: 20px;
        }
        .example-item::before {
            content: "◇";
            position: absolute;
            left: 0;
            color: #1a73e8;
        }
        .cite-list {
            margin-top: 15px;
            padding: 15px;
            background: #f8f9fa;
            border-radius: 4px;
        }
        .cite-item {
            margin-bottom: 15px;
            padding-left: 20px;
            border-left: 3px solid #e3f2fd;
        }
        .cite-text {
            color: #333;
            margin-bottom: 5px;
        }
        .cite-source {
            color: #666;
            font-size: 14px;
        }
        .story-section {
            margin-top: 20px;
            padding: 20px;
            background: #f8f9fa;
            border-radius: 8px;
            color: #666;
            line-height: 1.8;
        }
        .word-formation {
            margin-top: 15px;
            padding: 15px;
            background: #f0f4f8;
            border-radius: 4px;
        }
        .word-formation-item {
            margin-bottom: 10px;
        }
        .word-formation-word {
            font-weight: bold;
            color: #1a73e8;
            margin-right: 10px;
        }
        .mobile-search-btn {
            display: none;
            padding: 8px;
            background: none;
            border: none;
            cursor: pointer;
        }
        .mobile-search-icon {
            width: 24px;
            height: 24px;
            fill: var(--primary-color);
        }
        .section-divider {
            border: none;
            border-top: 1px solid var(--border-color);
            margin: 30px 0;
            opacity: 0.6;
        }
        
        @media (max-width: 768px) {
            .section-divider {
                margin: 20px 0;
            }
        }
        .seo-tags {
            background: #fff;
            padding: 20px;
            margin: 30px 0;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        }
        .seo-tags-list {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin: 0;
            padding: 0;
            list-style: none;
        }
        .seo-tags-list li {
            background: var(--light-bg);
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 14px;
            color: var(--text-color);
            transition: all 0.3s ease;
        }
        .seo-tags-list li:hover {
            background: var(--primary-color);
            color: #fff;
        }
        .site-footer {
            background: var(--footer-bg);
            color: var(--footer-text);
            padding: 40px 0 20px;
            margin-top: 50px;
            border-top: 1px solid var(--border-color);
        }
        .footer-content {
            max-width: var(--max-content-width);
            margin: 0 auto;
            padding: 0 15px;
        }
        .footer-sections {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 40px;
            margin-bottom: 40px;
        }
        .footer-section {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .footer-section h3 {
            color: var(--footer-title);
            font-size: 16px;
            margin: 0 0 15px;
            font-weight: 500;
        }
        .footer-section a {
            color: var(--footer-text);
            text-decoration: none;
            font-size: 14px;
            transition: color 0.3s;
            line-height: 1.6;
        }
        .footer-section a:hover {
            color: var(--footer-link);
        }
        .footer-qrcodes {
            display: flex;
            justify-content: flex-end;
            gap: 30px;
        }
        .qrcode-item {
            text-align: center;
        }
        .qrcode-img {
            width: 120px;
            height: 120px;
            background: #fff;
            padding: 8px;
            border-radius: 8px;
            margin-bottom: 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        }
        .qrcode-text {
            color: var(--footer-text);
            font-size: 13px;
        }
        .footer-bottom {
            border-top: 1px solid var(--border-color);
            padding-top: 20px;
            text-align: center;
            color: var(--footer-text);
            font-size: 13px;
            line-height: 1.8;
        }
        .footer-bottom a {
            color: var(--footer-link);
            text-decoration: none;
        }
        @media (max-width: 768px) {
            .word-image {
                aspect-ratio: 1;
                width: 100px;
                height: 100px;
                object-fit: cover;
            }
            .footer-sections {
                display: none;
            }
            .footer-bottom {
                border-top: none;
                padding-top: 0;
            }
            .site-footer {
                padding: 20px 0;
                margin-top: 30px;
            }
            .seo-tags {
                margin: 20px 0;
                padding: 15px;
            }
            .seo-tags-list {
                gap: 8px;
            }
            .seo-tags-list li {
                padding: 6px 12px;
                font-size: 13px;
            }
        }
        .character-info {
            margin: 20px 0;
            padding: 20px;
            background: #f8f9fa;
            border-radius: 8px;
        }
        
        .info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            gap: 15px;
            margin-bottom: 20px;
        }
        
        .info-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 10px;
            background: white;
            border-radius: 6px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }
        
        .info-item label {
            font-size: 14px;
            color: #666;
            margin-bottom: 5px;
        }
        
        .info-item span {
            font-size: 16px;
            color: #333;
            font-weight: 500;
        }
        
        .stroke-order {
            margin: 20px 0;
            text-align: center;
        }
        
        .stroke-order h3 {
            font-size: 18px;
            color: #333;
            margin-bottom: 15px;
        }
        
        .stroke-order-gif {
            max-width: 300px;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }
        
        .writing-skill {
            margin: 20px 0;
            padding: 15px;
            background: white;
            border-radius: 6px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }
        
        .writing-skill h3 {
            font-size: 18px;
            color: #333;
            margin-bottom: 10px;
        }
        
        .writing-skill p {
            font-size: 15px;
            color: #666;
            line-height: 1.6;
        }
        .word-item {
            margin-bottom: 20px;
            padding: 15px;
            background: #f9f9f9;
            border-radius: 8px;
        }
        .word-header {
            margin-bottom: 10px;
        }
        .word-header h3 {
            margin: 0;
            color: #333;
            font-size: 18px;
        }
        .pinyin {
            color: #666;
            font-size: 14px;
            margin-top: 5px;
        }
        .definition, .english, .example-list, .story {
            margin: 10px 0;
            line-height: 1.6;
        }
        .word-list {
            margin: 10px 0;
        }
        .word-tag {
            display: inline-block;
            padding: 2px 8px;
            margin: 2px;
            background: #e8f0fe;
            border-radius: 4px;
            color: #1a73e8;
            text-decoration: none;
            font-size: 14px;
        }
        .word-tag:hover {
            background: #d2e3fc;
        }
        .recommend-section {
            margin-top: 20px;
            padding-top: 20px;
            border-top: 1px solid #eee;
        }
        .section-divider {
            margin: 20px 0;
            border: none;
            border-top: 1px solid #eee;
        }
        .cite-list {
            margin: 15px 0;
        }
        .cite-item {
            margin-bottom: 20px;
            padding: 15px;
            background: #f9f9f9;
            border-radius: 8px;
        }
        .cite-text {
            font-size: 16px;
            line-height: 1.6;
            color: #333;
            margin-bottom: 10px;
        }
        .cite-source {
            font-size: 14px;
            color: #666;
            font-style: italic;
        }
        .highlight {
            color: #f56c6c;
            font-weight: bold;
        }
        .word-link {
            color: #409eff;
            text-decoration: none;
            margin-right: 10px;
            display: inline-block;
        }
        .word-link:hover {
            color: #66b1ff;
            text-decoration: underline;
        }
        .zuci-list {
            margin: 10px 0;
            line-height: 2;
        }
        /* 百科信息样式 */
        .baike-content {
            font-size: 16px;
            line-height: 1.8;
            color: #333;
            text-align: justify;
            margin: 15px 0;
            padding: 15px;
            background: #f8f9fa;
            border-radius: 8px;
        }
        .baike-source {
            text-align: right;
            margin-top: 10px;
        }
        .baike-source a {
            color: #409eff;
            text-decoration: none;
            font-size: 14px;
        }
        .baike-source a:hover {
            color: #66b1ff;
            text-decoration: underline;
        }
        /* 相关文章样式 */
        .article-list {
            margin: 15px 0;
        }
        .article-item {
            padding: 15px;
            margin-bottom: 15px;
            background: #f8f9fa;
            border-radius: 8px;
            transition: all 0.3s ease;
        }
        .article-item:hover {
            background: #f0f2f5;
            box-shadow: 0 2px 12px 0 rgba(0,0,0,0.1);
        }
        .article-header {
            margin-bottom: 10px;
        }
        .article-title {
            font-size: 18px;
            color: #303133;
            margin: 0 0 8px 0;
        }
        .article-meta {
            color: #909399;
            font-size: 14px;
        }
        .article-meta span {
            margin-right: 15px;
        }
        .article-content {
            color: #606266;
            line-height: 1.8;
            font-size: 15px;
            text-align: justify;
        }
        .article-dynasty {
            color: #67c23a;
        }
        .article-author {
            color: #409eff;
        }
        .article-source {
            color: #909399;
        }
        .pagination {
            text-align: center;
            margin-top: 20px;
            color: #606266;
        }
        .pagination-info {
            font-size: 14px;
        }
        /* 诗词展示样式 */
        .poem-section {
            margin: 30px 0;
        }
        .poem-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
            margin: 20px 0;
        }
        .poem-item {
            background: #fff;
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 2px 12px 0 rgba(0,0,0,0.05);
            transition: all 0.3s ease;
        }
        .poem-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 4px 16px 0 rgba(0,0,0,0.1);
        }
        .poem-header {
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid #eee;
        }
        .poem-title {
            font-size: 18px;
            color: #303133;
            margin: 0 0 8px 0;
            font-weight: bold;
        }
        .poem-meta {
            display: flex;
            align-items: center;
            gap: 10px;
            color: #909399;
            font-size: 14px;
        }
        .poem-dynasty {
            color: #67c23a;
            background: rgba(103, 194, 58, 0.1);
            padding: 2px 8px;
            border-radius: 4px;
        }
        .poem-author {
            color: #409eff;
        }
        .poem-content {
            font-size: 16px;
            line-height: 1.8;
            color: #606266;
            text-align: center;
            margin: 0;
            white-space: pre-wrap;
        }
        .poem-source {
            margin-top: 15px;
            text-align: right;
            color: #909399;
            font-size: 14px;
        }
        /* 百科词条样式 */
        .baike-section {
            margin: 30px 0;
        }
        .baike-card {
            background: #fff;
            border-radius: 12px;
            padding: 25px;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
        }
        .baike-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        }
        .baike-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid #ebeef5;
        }
        .baike-title {
            font-size: 24px;
            color: #303133;
            margin: 0;
            font-weight: 600;
        }
        .baike-audio {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #409eff;
            cursor: pointer;
            padding: 6px 12px;
            border-radius: 6px;
            background: rgba(64, 158, 255, 0.1);
            transition: all 0.3s ease;
        }
        .baike-audio:hover {
            background: rgba(64, 158, 255, 0.2);
        }
        .baike-audio svg {
            width: 20px;
            height: 20px;
            fill: currentColor;
        }
        .baike-content {
            font-size: 16px;
            line-height: 1.8;
            color: #606266;
            text-align: justify;
            margin: 0 0 20px 0;
        }
        .baike-footer {
            display: flex;
            justify-content: flex-end;
        }
        .baike-link {
            color: #409eff;
            text-decoration: none;
            font-size: 14px;
            display: flex;
            align-items: center;
            gap: 4px;
            padding: 8px 16px;
            border-radius: 6px;
            background: rgba(64, 158, 255, 0.1);
            transition: all 0.3s ease;
        }
        .baike-link:hover {
            background: rgba(64, 158, 255, 0.2);
            text-decoration: none;
        }
        .baike-link svg {
            width: 16px;
            height: 16px;
            fill: currentColor;
        }
          /* AI搜索区域样式 */
        .ai-search-section {
            background: #fff;
            padding: 25px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
            margin-bottom: 20px;
            border-left: 4px solid var(--primary-color);
        }
        
        .ai-search-container {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        
        .ai-search-description {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .ai-icon {
            width: 40px;
            height: 40px;
            color: var(--primary-color);
            flex-shrink: 0;
        }
        
        .ai-search-description p {
            margin: 0;
            color: #666;
            font-size: 15px;
        }
        
        .ai-search-form {
            width: 100%;
        }
        
        .ai-search-input-container {
            display: flex;
            gap: 8px;
            width: 100%;
        }
        
        .ai-search-input {
            flex: 1;
            padding: 12px 15px;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            font-size: 15px;
            transition: all 0.3s;
            background-color: var(--light-bg);
        }
        
        .ai-search-input:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 2px rgba(26,115,232,0.2);
        }
        
        .ai-search-button {
            padding: 0 20px;
            background: var(--primary-color);
            color: #fff;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-size: 15px;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: all 0.3s;
        }
        
        .ai-search-button:hover {
            background: #0d62d0;
            box-shadow: 0 2px 4px rgba(0,0,0,0.2);
        }
        
        .ai-search-button svg {
            width: 18px;
            height: 18px;
            fill: #fff;
        }
        
        @media (max-width: 768px) {
            .ai-search-section {
                padding: 15px;
            }
            
            .ai-search-description {
                flex-direction: column;
                align-items: flex-start;
                gap: 8px;
            }
            
            .ai-icon {
                width: 32px;
                height: 32px;
            }
            
            .ai-search-input-container {
                flex-direction: column;
            }
            
            .ai-search-button {
                width: 100%;
                justify-content: center;
                padding: 10px;
            }
        }
        