/* Theme Name: 游戏大全 Typecho
 * Description: 将静态游戏推荐模板转换为 Typecho 主题。
 * Version: 1.0.0
 * Author: Custom
 */

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
            background: #f5f5f5;
            color: #333;
            line-height: 1.8;
            font-size: 16px;
        }
        .header {
            background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
            color: #fff;
            padding: 20px 15px;
            text-align: center;
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 2px 10px rgba(0,0,0,0.3);
        }
        .header h1 {
            font-size: 22px;
            margin-bottom: 8px;
            text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
        }
        .header p {
            font-size: 13px;
            opacity: 0.9;
        }
        .nav {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 8px;
            padding: 12px 15px;
            background: #fff;
            border-bottom: 1px solid #eee;
            position: sticky;
            top: 70px;
            z-index: 99;
        }
        .nav a {
            font-size: 13px;
            color: #0f3460;
            text-decoration: none;
            padding: 6px 12px;
            border-radius: 20px;
            background: #e8f0fe;
            border: 1px solid #c5d9f7;
        }
        .container {
            max-width: 750px;
            margin: 0 auto;
            padding: 15px;
        }
        .section {
            background: #fff;
            border-radius: 12px;
            margin-bottom: 15px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        }
        .section-title {
            background: linear-gradient(90deg, #0f3460, #e94560);
            color: #fff;
            padding: 12px 18px;
            font-size: 18px;
            font-weight: bold;
            display: flex;
            align-items: center;
        }
        .section-title::before {
            content: "🎮";
            margin-right: 8px;
            font-size: 20px;
        }
        .section-body {
            padding: 15px;
        }
        .game-card {
            display: flex;
            gap: 12px;
            padding: 15px 0;
            border-bottom: 1px solid #f0f0f0;
        }
        .game-card:last-child {
            border-bottom: none;
        }
        .game-img {
            width: 100px;
            height: 100px;
            border-radius: 10px;
            object-fit: cover;
            flex-shrink: 0;
            background: #e0e0e0;
        }
        .game-info h3 {
            font-size: 16px;
            color: #1a1a2e;
            margin-bottom: 6px;
        }
        .game-info .tag {
            display: inline-block;
            font-size: 11px;
            padding: 2px 8px;
            border-radius: 10px;
            margin-right: 5px;
            margin-bottom: 5px;
        }
        .tag-rpg { background: #ffe0e0; color: #c0392b; }
        .tag-action { background: #e0f7fa; color: #00838f; }
        .tag-strategy { background: #fff3e0; color: #e65100; }
        .tag-sim { background: #e8f5e9; color: #2e7d32; }
        .tag-adventure { background: #f3e5f5; color: #7b1fa2; }
        .game-info p {
            font-size: 13px;
            color: #666;
            line-height: 1.6;
        }
        .game-info .rating {
            color: #f39c12;
            font-size: 13px;
            margin-top: 4px;
        }
        .intro-text {
            font-size: 14px;
            color: #555;
            line-height: 2;
            text-indent: 2em;
            margin-bottom: 10px;
        }
        .highlight-box {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: #fff;
            border-radius: 10px;
            padding: 15px;
            margin: 10px 0;
        }
        .highlight-box h4 {
            margin-bottom: 8px;
            font-size: 15px;
        }
        .highlight-box p {
            font-size: 13px;
            opacity: 0.95;
        }
        .qa-item {
            padding: 12px 0;
            border-bottom: 1px dashed #e0e0e0;
        }
        .qa-item:last-child {
            border-bottom: none;
        }
        .qa-q {
            font-weight: bold;
            color: #0f3460;
            font-size: 15px;
            margin-bottom: 6px;
            display: flex;
            align-items: flex-start;
        }
        .qa-q::before {
            content: "Q:";
            background: #e94560;
            color: #fff;
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 12px;
            margin-right: 8px;
            flex-shrink: 0;
        }
        .qa-a {
            font-size: 14px;
            color: #555;
            padding-left: 30px;
            line-height: 1.8;
        }
        .qa-a::before {
            content: "A:";
            color: #27ae60;
            font-weight: bold;
            margin-right: 5px;
        }
        .tips-list {
            list-style: none;
            padding: 0;
        }
        .tips-list li {
            padding: 8px 0;
            padding-left: 25px;
            position: relative;
            font-size: 14px;
            border-bottom: 1px solid #f5f5f5;
        }
        .tips-list li:last-child {
            border-bottom: none;
        }
        .tips-list li::before {
            content: "✅";
            position: absolute;
            left: 0;
        }
        .category-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
        }
        .category-item {
            background: #f8f9fa;
            border-radius: 10px;
            padding: 15px 10px;
            text-align: center;
            border: 1px solid #e9ecef;
        }
        .category-item .icon {
            font-size: 30px;
            margin-bottom: 8px;
        }
        .category-item h4 {
            font-size: 14px;
            color: #333;
            margin-bottom: 4px;
        }
        .category-item p {
            font-size: 12px;
            color: #888;
        }
        .footer {
            text-align: center;
            padding: 20px;
            color: #999;
            font-size: 12px;
            background: #fff;
            margin-top: 10px;
        }
        .back-top {
            position: fixed;
            bottom: 30px;
            right: 15px;
            width: 45px;
            height: 45px;
            background: linear-gradient(135deg, #e94560, #0f3460);
            color: #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.3);
            text-decoration: none;
            z-index: 999;
        }
        .banner-img {
            width: 100%;
            height: 180px;
            object-fit: cover;
            display: block;
            background: #ddd;
        }
        .summary-table {
            width: 100%;
            border-collapse: collapse;
            font-size: 13px;
            margin: 10px 0;
        }
        .summary-table th {
            background: #0f3460;
            color: #fff;
            padding: 10px 8px;
            text-align: center;
        }
        .summary-table td {
            padding: 10px 8px;
            text-align: center;
            border-bottom: 1px solid #eee;
        }
        .summary-table tr:nth-child(even) {
            background: #f8f9fa;
        }
        .trend-bar {
            display: flex;
            align-items: center;
            gap: 8px;
            margin: 8px 0;
        }
        .trend-bar .bar-bg {
            flex: 1;
            height: 8px;
            background: #eee;
            border-radius: 4px;
            overflow: hidden;
        }
        .trend-bar .bar-fill {
            height: 100%;
            background: linear-gradient(90deg, #667eea, #764ba2);
            border-radius: 4px;
        }
        .trend-bar .bar-label {
            font-size: 12px;
            color: #666;
            min-width: 60px;
        }
    .post-content{font-size:15px;line-height:2;color:#444;overflow-wrap:anywhere}.post-content img{max-width:100%;height:auto}.post-content a{color:#0f3460}.post-content h2,.post-content h3{margin:18px 0 8px}.page-navigator{display:flex;gap:10px;justify-content:center;list-style:none;padding:0}.page-navigator a,.page-navigator span{padding:5px 10px;background:#e8f0fe;border-radius:6px;text-decoration:none;color:#0f3460}
