/* poet-comparison 页面样式 */

/* ======== 从 poet-comparison.html 抽取的内联样式（2026-07-18） ======== */
/* 原 <style> 块 1 */
:root {
            --primary-color: #8B4513;
            --secondary-color: #DAA520;
            --text-dark: #333;
            --text-gray: #666;
            --bg-light: #f8f9fa;
            --card-bg: white;
        }
        
        * { margin: 0; padding: 0; box-sizing: border-box; }
        
        body {
            font-family: 'Noto Serif SC', 'KaiTi', 'STKaiti', serif;
            background: var(--bg-light);
            color: var(--text-dark);
            line-height: 1.8;
        }
        
        header {
            background: linear-gradient(135deg, var(--primary-color), #5D4037);
            padding: 35px 20px;
            color: white;
            text-align: center;
        }
        
        .header-title {
            font-size: 36px;
            font-weight: bold;
            letter-spacing: 8px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
            margin-bottom: 10px;
        }
        
        .header-subtitle {
            font-size: 16px;
            opacity: 0.9;
        }
        
        .cross-links {
            display: flex;
            justify-content: center;
            gap: 15px;
            padding: 20px;
            background: white;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            flex-wrap: wrap;
            margin-bottom: 20px;
        }
        
        .cross-link-btn {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 10px 20px;
            background: linear-gradient(135deg, var(--primary-color), #A0522D);
            color: white;
            text-decoration: none;
            border-radius: 20px;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.3s;
        }
        
        .cross-link-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
        }
        
        .direct-answer {
            background: white;
            padding: 25px;
            margin: 20px auto;
            max-width: 1000px;
            border-radius: 15px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.08);
            border-left: 4px solid var(--primary-color);
        }
        
        .direct-answer h3 {
            color: var(--primary-color);
            margin-bottom: 10px;
            font-size: 18px;
        }
        
        .direct-answer p {
            font-size: 16px;
            color: #444;
            line-height: 2.0;
        }
        
        .container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 20px;
        }
        
        .section {
            background: white;
            border-radius: 15px;
            padding: 30px;
            margin-bottom: 30px;
            box-shadow: 0 2px 12px rgba(0,0,0,0.06);
        }
        
        .section-title {
            font-size: 24px;
            font-weight: bold;
            color: var(--primary-color);
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 2px solid var(--secondary-color);
            position: relative;
        }
        
        .section-title::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 60px;
            height: 2px;
            background: var(--primary-color);
        }
        
        .comparison-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
        }
        
        .comparison-table th, .comparison-table td {
            padding: 15px;
            text-align: left;
            border-bottom: 1px solid #eee;
        }
        
        .comparison-table th {
            background: linear-gradient(135deg, rgba(139, 69, 19, 0.1), rgba(139, 69, 19, 0.05));
            font-weight: bold;
            color: var(--primary-color);
        }
        
        .comparison-table tr:hover {
            background: #f9f9f9;
        }
        
        .poet-card {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin-top: 20px;
        }
        
        .poet-card-item {
            background: linear-gradient(135deg, rgba(139, 69, 19, 0.05), rgba(139, 69, 19, 0.02));
            border-radius: 12px;
            padding: 20px;
            border-left: 4px solid var(--primary-color);
            transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
            position: relative;
            overflow: hidden;
        }
        
        .poet-card-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(139,69,19,0.05), transparent);
            transition: left 0.6s;
        }
        
        .poet-card-item:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 12px 30px rgba(139, 69, 19, 0.15);
            border-left-color: var(--secondary-color);
        }
        
        .poet-card-item:hover::before {
            left: 100%;
        }
        
        .poet-card-item h4 {
            font-size: 18px;
            color: var(--primary-color);
            margin-bottom: 10px;
            transition: color 0.3s;
        }
        
        .poet-card-item:hover h4 {
            color: var(--secondary-color);
        }
        
        .poet-card-item p {
            font-size: 14px;
            color: var(--text-gray);
            line-height: 1.9;
            opacity: 0;
            animation: fadeInUp 0.5s ease-out forwards;
        }
        
        .poet-card-item p:nth-child(2) { animation-delay: 0.1s; }
        .poet-card-item p:nth-child(3) { animation-delay: 0.2s; }
        .poet-card-item p:nth-child(4) { animation-delay: 0.3s; }
        .poet-card-item p:nth-child(5) { animation-delay: 0.4s; }
        
        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .school-card {
            margin-top: 20px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            perspective: 1000px;
        }
        
        .school-item {
            background: white;
            border-radius: 12px;
            padding: 25px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.06);
            border-top: 4px solid var(--secondary-color);
            transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
            position: relative;
            transform-style: preserve-3d;
        }
        
        .school-item::after {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 0;
            height: 0;
            border-top: 50px solid var(--secondary-color);
            border-left: 50px solid transparent;
            opacity: 0.1;
            transition: opacity 0.3s;
        }
        
        .school-item:hover {
            transform: rotateX(5deg) translateY(-10px);
            box-shadow: 0 20px 40px rgba(139, 69, 19, 0.15);
        }
        
        .school-item:hover::after {
            opacity: 0.3;
        }
        
        .school-item h4 {
            font-size: 18px;
            color: var(--primary-color);
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: transform 0.3s;
        }
        
        .school-item:hover h4 {
            transform: scale(1.05);
        }
        
        .school-item ul {
            list-style: none;
            padding-left: 0;
        }
        
        .school-item li {
            font-size: 14px;
            color: var(--text-gray);
            padding: 8px 0;
            border-bottom: 1px solid #eee;
            position: relative;
            padding-left: 20px;
        }
        
        .school-item li:last-child { border-bottom: none; }
        
        .school-item li::before {
            content: '📜';
            position: absolute;
            left: 0;
        }
        
        .quote-box {
            background: linear-gradient(135deg, rgba(218, 165, 32, 0.1), rgba(218, 165, 32, 0.05));
            border-left: 4px solid var(--secondary-color);
            padding: 20px 25px;
            margin: 20px 0;
            border-radius: 0 10px 10px 0;
        }
        
        .quote-box p {
            font-size: 16px;
            font-style: italic;
            color: #555;
            line-height: 2.0;
        }
        
        .quote-box .author {
            text-align: right;
            font-size: 14px;
            color: var(--primary-color);
            margin-top: 10px;
        }
        
        .feature-list {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 15px;
            margin-top: 20px;
        }
        
        .feature-item {
            background: #f9f9f9;
            border-radius: 10px;
            padding: 20px;
            text-align: center;
            transition: all 0.3s;
        }
        
        .feature-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }
        
        .feature-item .icon {
            font-size: 36px;
            margin-bottom: 10px;
        }
        
        .feature-item h5 {
            font-size: 16px;
            color: var(--primary-color);
            margin-bottom: 8px;
        }
        
        .feature-item p {
            font-size: 13px;
            color: var(--text-gray);
        }
        
        .credibility-footer {
            background: #f5f5f5;
            padding: 30px;
            margin-top: 40px;
            border-top: 1px solid #ddd;
        }
        
        .credibility-footer h3 {
            color: var(--primary-color);
            margin-bottom: 15px;
            font-size: 18px;
        }
        
        .credibility-footer p {
            font-size: 14px;
            color: #666;
            margin-bottom: 10px;
        }
        
        /* 对比滑块 */
        .comparison-slider-container {
            position: relative;
            width: 100%;
            height: 300px;
            margin: 20px 0;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 8px 30px rgba(0,0,0,0.15);
        }
        
        .comparison-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
        }
        
        .comparison-image.left {
            background: linear-gradient(135deg, rgba(139,69,19,0.9), rgba(139,69,19,0.8));
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            z-index: 2;
        }
        
        .comparison-image.right {
            background: linear-gradient(135deg, rgba(218,165,32,0.9), rgba(218,165,32,0.8));
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            z-index: 1;
        }
        
        .comparison-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 50%;
            height: 100%;
            background: rgba(139,69,19,0.95);
            z-index: 3;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }
        
        .comparison-handle {
            position: absolute;
            top: 0;
            left: 50%;
            width: 40px;
            height: 100%;
            background: white;
            z-index: 10;
            cursor: ew-resize;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 15px rgba(0,0,0,0.3);
            transform: translateX(-50%);
        }
        
        .comparison-handle::before {
            content: '◀▶';
            font-size: 20px;
            color: var(--primary-color);
        }
        
        .comparison-content {
            text-align: center;
            padding: 20px;
        }
        
        .comparison-content h3 {
            font-size: 36px;
            margin-bottom: 15px;
            font-family: 'KaiTi', serif;
        }
        
        .comparison-content p {
            font-size: 18px;
            opacity: 0.9;
            line-height: 1.8;
        }
        
        /* 雷达图 */
        .radar-chart {
            display: flex;
            justify-content: center;
            margin: 30px 0;
            gap: 40px;
            flex-wrap: wrap;
        }
        
        .radar-container {
            width: 280px;
            height: 280px;
            position: relative;
        }
        
        .radar-svg {
            width: 100%;
            height: 100%;
        }
        
        .radar-bg {
            fill: none;
            stroke: #ddd;
            stroke-width: 1;
        }
        
        .radar-axis {
            stroke: #ddd;
            stroke-width: 1;
        }
        
        .radar-polygon {
            fill: rgba(139,69,19,0.3);
            stroke: var(--primary-color);
            stroke-width: 2;
            transition: all 0.5s ease;
        }
        
        .radar-polygon:hover {
            fill: rgba(139,69,19,0.5);
            stroke-width: 3;
        }
        
        .radar-polygon.secondary {
            fill: rgba(218,165,32,0.3);
            stroke: var(--secondary-color);
        }
        
        .radar-polygon.secondary:hover {
            fill: rgba(218,165,32,0.5);
        }
        
        .radar-label {
            text-anchor: middle;
            font-size: 12px;
            fill: var(--text-gray);
        }
        
        .radar-center-text {
            text-anchor: middle;
            font-size: 16px;
            font-weight: bold;
            fill: var(--primary-color);
        }
        
        /* 属性条 */
        .attribute-bar {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            gap: 15px;
        }
        
        .attribute-label {
            width: 100px;
            font-size: 14px;
            color: var(--text-dark);
            font-weight: 500;
        }
        
        .attribute-track {
            flex: 1;
            height: 12px;
            background: #eee;
            border-radius: 6px;
            overflow: hidden;
            position: relative;
        }
        
        .attribute-fill-left {
            height: 100%;
            background: linear-gradient(90deg, var(--primary-color), #A0522D);
            border-radius: 6px;
            transition: width 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
        }
        
        .attribute-fill-right {
            height: 100%;
            background: linear-gradient(90deg, var(--secondary-color), #FFD700);
            border-radius: 6px;
            transition: width 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
        }
        
        .attribute-value {
            width: 40px;
            text-align: right;
            font-size: 14px;
            font-weight: bold;
            color: var(--primary-color);
        }
        
        /* 学校切换动画 */
        .school-tabs {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }
        
        .school-tab {
            padding: 10px 25px;
            border: 2px solid var(--secondary-color);
            border-radius: 25px;
            background: white;
            color: var(--primary-color);
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            font-weight: 500;
        }
        
        .school-tab.active {
            background: linear-gradient(135deg, var(--primary-color), #A0522D);
            color: white;
            border-color: var(--primary-color);
            transform: scale(1.05);
        }
        
        .school-tab:hover:not(.active) {
            background: rgba(139,69,19,0.1);
            transform: translateY(-2px);
        }
        
        @media (max-width: 768px) {
            .header-title { font-size: 24px; letter-spacing: 4px; }
            .poet-card { grid-template-columns: 1fr; }
            .school-card { grid-template-columns: 1fr; }
            .comparison-table th, .comparison-table td { padding: 10px; font-size: 13px; }
            .radar-chart { gap: 20px; }
            .radar-container { width: 240px; height: 240px; }
        }

/* 原 <style> 块 2 */
.compare-slider-section {
            margin-top: 30px;
        }
        
        .compare-slider-tabs {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }
        
        .compare-tab {
            padding: 10px 20px;
            background: rgba(139,69,19,0.1);
            border: 2px solid transparent;
            border-radius: 25px;
            cursor: pointer;
            font-size: 14px;
            color: #8B4513;
            transition: all 0.3s;
        }
        
        .compare-tab.active {
            background: linear-gradient(135deg, #8B4513, #DAA520);
            color: white;
            border-color: #DAA520;
            box-shadow: 0 4px 15px rgba(139,69,19,0.3);
        }
        
        .compare-tab:hover {
            transform: translateY(-2px);
        }
        
        .slider-container {
            position: relative;
            height: 200px;
            background: rgba(139,69,19,0.03);
            border-radius: 12px;
            overflow: hidden;
            margin-bottom: 20px;
        }
        
        .slider-content {
            position: absolute;
            top: 0;
            left: 0;
            width: 300%;
            height: 100%;
            display: flex;
            transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
        }
        
        .slider-slide {
            width: 33.33%;
            padding: 25px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .slide-card {
            background: white;
            padding: 30px;
            border-radius: 15px;
            text-align: center;
            box-shadow: 0 8px 25px rgba(139,69,19,0.1);
            max-width: 400px;
        }
        
        .slide-card h4 {
            font-size: 24px;
            color: #8B4513;
            margin-bottom: 15px;
        }
        
        .slide-card .slide-icon {
            font-size: 48px;
            margin-bottom: 15px;
        }
        
        .slide-card p {
            font-size: 14px;
            color: #666;
            line-height: 1.8;
        }
        
        .slider-indicators {
            display: flex;
            justify-content: center;
            gap: 8px;
        }
        
        .indicator-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(139,69,19,0.2);
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .indicator-dot.active {
            background: #8B4513;
            width: 24px;
            border-radius: 6px;
        }

/* 原内联 style 属性（已转为 class） */
.ih-1y4owk6 {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 15px;
}
