/* roulang page: index */
:root {
            --primary-red: #ff3b30;
            --primary-orange: #fd5332;
            --page-bg: #fbf7f4;
            --card-bg: #ffffff;
            --text-main: #1f1d1d;
            --text-sub: #8d8b8a;
            --tag-bg: #f3ece6;
            --border-color: #efe8e2;
            --shadow-subtle: 0 4px 16px rgba(0, 0, 0, 0.04);
            --shadow-hover: 0 10px 24px rgba(253, 83, 50, 0.12);
            --radius-md: 14px;
            --radius-lg: 20px;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            -webkit-tap-highlight-color: transparent;
        }

        body {
            font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            background-color: var(--page-bg);
            color: var(--text-main);
            line-height: 1.5;
            -webkit-font-smoothing: antialiased;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        .container {
            max-width: 1440px;
            margin: 0 auto;
            padding: 0 28px;
        }

        /* 顶部导航分类 (严格按参考图1药丸按钮风格) */
        .site-header {
            padding: 24px 0 12px;
            background: transparent;
        }

        .category-nav-bar {
            display: flex;
            align-items: center;
            gap: 12px;
            overflow-x: auto;
            scrollbar-width: none;
            padding-bottom: 6px;
        }
        .category-nav-bar::-webkit-scrollbar {
            display: none;
        }

        .cat-pill {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 9px 24px;
            border-radius: 999px;
            font-size: 15px;
            font-weight: 500;
            color: #555250;
            background: transparent;
            transition: all 0.25s ease;
            white-space: nowrap;
        }

        .cat-pill:hover {
            color: var(--primary-orange);
            background: rgba(253, 83, 50, 0.06);
        }

        .cat-pill.active {
            background: linear-gradient(135deg, #ff4e3a, #ff2c24);
            color: #ffffff;
            box-shadow: 0 4px 14px rgba(255, 59, 48, 0.35);
            font-weight: 600;
        }

        /* 板块标题区 (严格按参考图：西瓜热榜 · 今日必看) */
        .section-header-row {
            display: flex;
            align-items: baseline;
            gap: 10px;
            margin: 28px 0 20px;
        }

        .section-title {
            font-size: 26px;
            font-weight: 700;
            letter-spacing: -0.5px;
            color: #1a1818;
        }

        .section-subtext {
            font-size: 14px;
            color: #8c8987;
            font-weight: 400;
        }

        /* 视频/影视海报卡片网格 (严格跟图 6列与响应式) */
        .poster-grid {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 22px;
            margin-bottom: 36px;
        }

        .poster-card {
            background: var(--card-bg);
            border-radius: var(--radius-md);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            box-shadow: var(--shadow-subtle);
            transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
            border: 1px solid rgba(0, 0, 0, 0.02);
            text-decoration: none;
        }

        .poster-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-hover);
        }

        .poster-thumb-wrapper {
            position: relative;
            width: 100%;
            padding-top: 142%; /* 典型竖版影视海报 1:1.42 */
            background-color: #eee7e1;
            overflow: hidden;
        }

        .poster-thumb-wrapper img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .poster-card:hover .poster-thumb-wrapper img {
            transform: scale(1.05);
        }

        /* 参考图胶囊角标 (电影/电视剧/短剧) */
        .badge-type {
            position: absolute;
            top: 10px;
            left: 10px;
            background: rgba(230, 48, 34, 0.92);
            backdrop-filter: blur(4px);
            color: #ffffff;
            font-size: 11px;
            padding: 3px 8px;
            border-radius: 999px;
            font-weight: 500;
            letter-spacing: 0.5px;
            z-index: 2;
        }

        .badge-type.blue {
            background: rgba(30, 136, 229, 0.9);
        }
        .badge-type.gold {
            background: rgba(224, 138, 22, 0.92);
        }

        /* 评分角标 (参考图右下角 ★ 9.2) */
        .badge-score {
            position: absolute;
            bottom: 8px;
            right: 8px;
            background: rgba(0, 0, 0, 0.65);
            backdrop-filter: blur(4px);
            color: #ff9800;
            font-size: 12px;
            font-weight: 700;
            padding: 2px 7px;
            border-radius: 6px;
            display: inline-flex;
            align-items: center;
            gap: 2px;
            z-index: 2;
        }

        .poster-info {
            padding: 12px 14px 16px;
            display: flex;
            flex-direction: column;
            gap: 6px;
            flex-grow: 1;
        }

        .poster-title {
            font-size: 15px;
            font-weight: 600;
            color: #1f1d1d;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            line-height: 1.35;
        }

        .poster-meta {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 12px;
            color: var(--text-sub);
        }

        .poster-genre-tag {
            background: var(--tag-bg);
            color: #7a7674;
            padding: 1px 7px;
            border-radius: 4px;
            font-size: 11px;
        }

        /* 瓜友热评板块 (严格按参考图4还原) */
        .comment-section-wrapper {
            margin: 48px 0 60px;
        }

        .comment-box {
            background: var(--card-bg);
            border-radius: var(--radius-lg);
            padding: 32px 36px;
            box-shadow: var(--shadow-subtle);
            border: 1px solid var(--border-color);
        }

        .comment-header {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 24px;
        }

        .comment-header-icon {
            display: inline-flex;
            color: #222;
            font-size: 20px;
        }

        .comment-title {
            font-size: 22px;
            font-weight: 700;
            color: #1f1d1d;
        }

        .comment-sub {
            font-size: 13px;
            color: #928f8d;
        }

        /* 评论列表项（带左侧橙红装饰条、头像与身份胶囊） */
        .comment-list {
            display: flex;
            flex-direction: column;
            gap: 18px;
            margin-bottom: 30px;
        }

        .comment-item {
            background: #ffffff;
            border: 1px solid #f0e9e4;
            border-radius: 14px;
            padding: 16px 20px;
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            gap: 10px;
            transition: box-shadow 0.2s ease;
        }

        .comment-item:hover {
            box-shadow: 0 4px 12px rgba(0,0,0,0.03);
        }

        /* 橙色左指示边条 */
        .comment-item::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 4px;
            background: linear-gradient(to bottom, #fd5332, #ff7e5f);
        }

        .comment-user-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .user-left {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .user-avatar {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            object-fit: cover;
            border: 1.5px solid #f1eae4;
        }

        .user-name {
            font-size: 14px;
            font-weight: 600;
            color: #2b2928;
        }

        .user-role-badge {
            font-size: 11px;
            padding: 1px 7px;
            border-radius: 4px;
            background: #eee8e2;
            color: #7e7a77;
            font-weight: 400;
        }

        .comment-time {
            font-size: 12px;
            color: #a4a09e;
        }

        .comment-body {
            font-size: 14px;
            line-height: 1.6;
            color: #44413f;
            padding-left: 2px;
        }

        .comment-body span.highlight {
            color: #fd5332;
            font-weight: 500;
        }

        /* 发表评论交互区 */
        .comment-form {
            margin-top: 24px;
            display: flex;
            flex-direction: column;
            gap: 14px;
        }

        .comment-inputs-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
        }

        .form-input {
            width: 100%;
            padding: 12px 18px;
            border: 1px solid #e8e0d9;
            border-radius: 10px;
            font-size: 14px;
            background: #fdfcfb;
            color: #333;
            outline: none;
            transition: border-color 0.2s;
        }

        .form-input:focus {
            border-color: var(--primary-orange);
            background: #fff;
        }

        .form-textarea {
            width: 100%;
            padding: 14px 18px;
            border: 1px solid #e8e0d9;
            border-radius: 10px;
            font-size: 14px;
            min-height: 90px;
            resize: vertical;
            background: #fdfcfb;
            color: #333;
            outline: none;
            transition: border-color 0.2s;
            font-family: inherit;
        }

        .form-textarea:focus {
            border-color: var(--primary-orange);
            background: #fff;
        }

        .submit-btn-row {
            display: flex;
            justify-content: flex-start;
        }

        .comment-submit-btn {
            background: linear-gradient(135deg, #fd5e37, #eb4a20);
            color: #ffffff;
            border: none;
            padding: 11px 28px;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            box-shadow: 0 4px 12px rgba(235, 74, 32, 0.28);
            transition: all 0.25s ease;
        }

        .comment-submit-btn:hover {
            opacity: 0.94;
            transform: translateY(-1px);
            box-shadow: 0 6px 16px rgba(235, 74, 32, 0.35);
        }

        /* 统一品质页脚 */
        .site-footer {
            border-top: 1px solid var(--border-color);
            background: #f6f0ea;
            padding: 44px 0 36px;
            margin-top: 50px;
            font-size: 13px;
            color: #8c8885;
        }

        .footer-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 14px;
            text-align: center;
        }

        .footer-brand {
            font-size: 18px;
            font-weight: 700;
            color: #33302f;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .footer-links {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
            justify-content: center;
        }

        .footer-links a:hover {
            color: var(--primary-orange);
        }

        .empty-fallback {
            padding: 50px 20px;
            text-align: center;
            color: var(--text-sub);
            grid-column: 1 / -1;
            font-size: 15px;
        }

        /* 响应式调整 */
        @media (max-width: 1200px) {
            .poster-grid {
                grid-template-columns: repeat(4, 1fr);
                gap: 18px;
            }
        }

        @media (max-width: 860px) {
            .poster-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 14px;
            }
            .comment-box {
                padding: 24px 20px;
            }
            .comment-inputs-row {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 540px) {
            .container {
                padding: 0 16px;
            }
            .poster-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 12px;
            }
            .section-title {
                font-size: 20px;
            }
            .cat-pill {
                padding: 7px 18px;
                font-size: 14px;
            }
            .comment-user-row {
                flex-direction: column;
                align-items: flex-start;
                gap: 6px;
            }
        }

/* roulang page: article */
:root {
            --primary-red: #ff3b30;
            --primary-orange: #fd5332;
            --page-bg: #fbf7f4;
            --card-bg: #ffffff;
            --text-main: #1f1d1d;
            --text-sub: #8d8b8a;
            --tag-bg: #f3ece6;
            --border-color: #efe8e2;
            --shadow-subtle: 0 4px 16px rgba(0, 0, 0, 0.04);
            --shadow-hover: 0 10px 24px rgba(253, 83, 50, 0.12);
            --radius-md: 14px;
            --radius-lg: 20px;
        }
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        body {
            font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            background-color: var(--page-bg);
            color: var(--text-main);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
        }
        a {
            text-decoration: none;
            color: inherit;
        }
        .container {
            max-width: 1440px;
            margin: 0 auto;
            padding: 0 28px;
        }
        .site-header {
            padding: 24px 0 12px;
            background: transparent;
        }
        .category-nav-bar {
            display: flex;
            align-items: center;
            gap: 12px;
            overflow-x: auto;
            scrollbar-width: none;
            padding-bottom: 6px;
        }
        .category-nav-bar::-webkit-scrollbar {
            display: none;
        }
        .cat-pill {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 9px 24px;
            border-radius: 999px;
            font-size: 15px;
            font-weight: 500;
            color: #555250;
            background: transparent;
            transition: all 0.25s ease;
            white-space: nowrap;
        }
        .cat-pill:hover {
            color: var(--primary-orange);
            background: rgba(253, 83, 50, 0.06);
        }
        .cat-pill.active {
            background: linear-gradient(135deg, #ff4e3a, #ff2c24);
            color: #ffffff;
            box-shadow: 0 4px 14px rgba(255, 59, 48, 0.35);
            font-weight: 600;
        }
        .breadcrumb-bar {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            color: var(--text-sub);
            margin: 16px 0 24px;
        }
        .breadcrumb-bar a:hover {
            color: var(--primary-orange);
        }
        .breadcrumb-sep {
            color: #c7c3bf;
        }
        .article-layout {
            display: grid;
            grid-template-columns: minmax(0, 1fr) 340px;
            gap: 32px;
            margin-bottom: 60px;
        }
        .article-main-card {
            background: #ffffff;
            border-radius: var(--radius-lg);
            border: 1px solid var(--border-color);
            padding: 36px 40px;
            box-shadow: var(--shadow-subtle);
        }
        .article-header {
            border-bottom: 1px solid #f3ece6;
            padding-bottom: 24px;
            margin-bottom: 28px;
        }
        .article-category-badge {
            display: inline-block;
            background: rgba(255, 59, 48, 0.1);
            color: var(--primary-red);
            font-size: 13px;
            font-weight: 600;
            padding: 4px 12px;
            border-radius: 999px;
            margin-bottom: 14px;
        }
        .article-title {
            font-size: 30px;
            font-weight: 700;
            color: #1a1818;
            line-height: 1.35;
            margin-bottom: 16px;
            letter-spacing: -0.5px;
        }
        .article-meta-row {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 18px;
            font-size: 13px;
            color: var(--text-sub);
        }
        .article-meta-item {
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }
        .article-content {
            font-size: 17px;
            line-height: 1.85;
            color: #333130;
            overflow-wrap: break-word;
        }
        .article-content p {
            margin-bottom: 20px;
        }
        .article-content h2 {
            font-size: 22px;
            font-weight: 700;
            color: #1f1d1d;
            margin: 32px 0 16px;
            padding-left: 12px;
            border-left: 4px solid var(--primary-red);
        }
        .article-content h3 {
            font-size: 18px;
            font-weight: 600;
            margin: 24px 0 12px;
            color: #1f1d1d;
        }
        .article-content img {
            max-width: 100%;
            height: auto;
            border-radius: var(--radius-md);
            margin: 20px 0;
            box-shadow: var(--shadow-subtle);
        }
        .article-content blockquote {
            margin: 24px 0;
            padding: 18px 24px;
            background: #fbf7f4;
            border-left: 4px solid var(--primary-orange);
            border-radius: 0 var(--radius-md) var(--radius-md) 0;
            color: #5d5956;
            font-style: normal;
        }
        .article-tags-wrap {
            margin-top: 36px;
            padding-top: 24px;
            border-top: 1px solid #f3ece6;
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 10px;
        }
        .article-tag-label {
            font-size: 14px;
            color: var(--text-sub);
        }
        .article-tag-item {
            background: var(--tag-bg);
            color: #6d6966;
            padding: 4px 12px;
            border-radius: 999px;
            font-size: 13px;
            transition: all 0.2s ease;
        }
        .article-tag-item:hover {
            background: #ede3dc;
            color: var(--primary-red);
        }
        .empty-article-box {
            text-align: center;
            padding: 60px 20px;
        }
        .empty-article-box h2 {
            font-size: 24px;
            color: #1f1d1d;
            margin-bottom: 12px;
        }
        .empty-article-box p {
            color: var(--text-sub);
            margin-bottom: 24px;
        }
        .empty-back-btn {
            display: inline-flex;
            align-items: center;
            padding: 10px 24px;
            border-radius: 999px;
            background: linear-gradient(135deg, #ff4e3a, #ff2c24);
            color: #ffffff;
            font-weight: 500;
        }
        .sidebar-card {
            background: #ffffff;
            border-radius: var(--radius-lg);
            border: 1px solid var(--border-color);
            padding: 24px;
            box-shadow: var(--shadow-subtle);
            margin-bottom: 24px;
        }
        .sidebar-title {
            font-size: 18px;
            font-weight: 700;
            color: #1a1818;
            margin-bottom: 18px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .sidebar-title::before {
            content: "";
            display: inline-block;
            width: 4px;
            height: 16px;
            background: var(--primary-red);
            border-radius: 2px;
        }
        .sidebar-post-list {
            display: flex;
            flex-direction: column;
            gap: 14px;
        }
        .sidebar-post-item {
            display: flex;
            gap: 12px;
            align-items: center;
            text-decoration: none;
            padding-bottom: 12px;
            border-bottom: 1px dashed #f0e9e4;
        }
        .sidebar-post-item:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }
        .sidebar-post-rank {
            width: 24px;
            height: 24px;
            background: #f3ece6;
            color: #7a7674;
            font-weight: 700;
            font-size: 13px;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }
        .sidebar-post-item:nth-child(1) .sidebar-post-rank {
            background: #ff3b30;
            color: #fff;
        }
        .sidebar-post-item:nth-child(2) .sidebar-post-rank {
            background: #fd5332;
            color: #fff;
        }
        .sidebar-post-item:nth-child(3) .sidebar-post-rank {
            background: #ff9800;
            color: #fff;
        }
        .sidebar-post-info {
            flex: 1;
            min-width: 0;
        }
        .sidebar-post-name {
            font-size: 14px;
            font-weight: 500;
            color: #1f1d1d;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            line-height: 1.4;
            transition: color 0.2s;
        }
        .sidebar-post-item:hover .sidebar-post-name {
            color: var(--primary-red);
        }
        .sidebar-post-meta {
            font-size: 12px;
            color: var(--text-sub);
            margin-top: 2px;
        }
        .comment-section-wrapper {
            margin: 48px 0 60px;
        }
        .comment-header {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 24px;
        }
        .comment-header-icon {
            display: inline-flex;
            color: #222;
            font-size: 20px;
        }
        .comment-title {
            font-size: 22px;
            font-weight: 700;
            color: #1f1d1d;
        }
        .comment-subtext {
            font-size: 13px;
            color: var(--text-sub);
        }
        .comment-list {
            display: flex;
            flex-direction: column;
            gap: 18px;
            margin-bottom: 30px;
        }
        .comment-item {
            background: #ffffff;
            border: 1px solid #f0e9e4;
            border-radius: 14px;
            padding: 16px 20px;
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            gap: 10px;
            box-shadow: var(--shadow-subtle);
        }
        .comment-item::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 4px;
            background: linear-gradient(180deg, #fd5332, #ff7a45);
        }
        .comment-top-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .comment-user-box {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .user-avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background-color: #eedcd0;
            object-fit: cover;
        }
        .user-name {
            font-size: 14px;
            font-weight: 600;
            color: #242221;
        }
        .user-badge {
            font-size: 11px;
            padding: 2px 8px;
            border-radius: 4px;
            background: #eee8e2;
            color: #726e6b;
        }
        .user-badge.member {
            background: #fae7e4;
            color: #e04434;
        }
        .comment-time {
            font-size: 12px;
            color: #a4a09c;
        }
        .comment-body {
            font-size: 14px;
            color: #4a4745;
            line-height: 1.6;
            padding-left: 2px;
        }
        .comment-body strong {
            color: #e54335;
            font-weight: 600;
        }
        .comment-form-card {
            background: #ffffff;
            border: 1px solid #efe8e2;
            border-radius: 16px;
            padding: 24px;
            box-shadow: var(--shadow-subtle);
        }
        .form-row-inputs {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
            margin-bottom: 16px;
        }
        .comment-input-text {
            width: 100%;
            height: 44px;
            background: #faf6f3;
            border: 1px solid #ebdcd3;
            border-radius: 10px;
            padding: 0 16px;
            font-size: 14px;
            color: #333;
            outline: none;
            transition: all 0.2s;
        }
        .comment-input-text:focus {
            background: #ffffff;
            border-color: var(--primary-orange);
            box-shadow: 0 0 0 3px rgba(253, 83, 50, 0.15);
        }
        .comment-textarea {
            width: 100%;
            height: 100px;
            background: #faf6f3;
            border: 1px solid #ebdcd3;
            border-radius: 10px;
            padding: 12px 16px;
            font-size: 14px;
            color: #333;
            outline: none;
            resize: vertical;
            margin-bottom: 16px;
            font-family: inherit;
            transition: all 0.2s;
        }
        .comment-textarea:focus {
            background: #ffffff;
            border-color: var(--primary-orange);
            box-shadow: 0 0 0 3px rgba(253, 83, 50, 0.15);
        }
        .btn-submit-comment {
            background: linear-gradient(135deg, #f58220, #e65100);
            border: none;
            color: #ffffff;
            font-size: 15px;
            font-weight: 600;
            padding: 10px 24px;
            border-radius: 8px;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            box-shadow: 0 4px 12px rgba(230, 81, 0, 0.25);
            transition: all 0.25s ease;
        }
        .btn-submit-comment:hover {
            opacity: 0.92;
            transform: translateY(-1px);
        }
        .site-footer {
            background: #f1ebe5;
            padding: 44px 0 36px;
            margin-top: 40px;
            border-top: 1px solid #e7ded6;
        }
        .footer-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            gap: 18px;
        }
        .footer-brand span {
            font-size: 20px;
            font-weight: 700;
            color: var(--primary-red);
            letter-spacing: -0.5px;
        }
        .footer-links {
            display: flex;
            gap: 22px;
            flex-wrap: wrap;
            justify-content: center;
        }
        .footer-links a {
            color: #6d6966;
            font-size: 14px;
            transition: color 0.2s;
        }
        .footer-links a:hover {
            color: var(--primary-orange);
        }
        .site-footer p {
            color: #9f9b97;
            font-size: 13px;
        }
        @media (max-width: 1024px) {
            .article-layout {
                grid-template-columns: 1fr;
            }
            .sidebar-card {
                margin-top: 24px;
            }
        }
        @media (max-width: 768px) {
            .container {
                padding: 0 16px;
            }
            .article-main-card {
                padding: 24px 18px;
            }
            .article-title {
                font-size: 22px;
            }
            .form-row-inputs {
                grid-template-columns: 1fr;
            }
        }

/* roulang page: category1 */
:root {
            --primary-red: #ff3b30;
            --primary-orange: #fd5332;
            --page-bg: #fbf7f4;
            --card-bg: #ffffff;
            --text-main: #1f1d1d;
            --text-sub: #8d8b8a;
            --tag-bg: #f3ece6;
            --border-color: #efe8e2;
            --shadow-subtle: 0 4px 16px rgba(0, 0, 0, 0.04);
            --shadow-hover: 0 10px 24px rgba(253, 83, 50, 0.12);
            --radius-md: 14px;
            --radius-lg: 20px;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            background-color: var(--page-bg);
            color: var(--text-main);
            line-height: 1.5;
            -webkit-font-smoothing: antialiased;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        .container {
            max-width: 1440px;
            margin: 0 auto;
            padding: 0 28px;
        }

        /* 顶部导航分类 */
        .site-header {
            padding: 24px 0 12px;
            background: transparent;
        }

        .category-nav-bar {
            display: flex;
            align-items: center;
            gap: 12px;
            overflow-x: auto;
            scrollbar-width: none;
            padding-bottom: 6px;
        }

        .category-nav-bar::-webkit-scrollbar {
            display: none;
        }

        .cat-pill {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 9px 24px;
            border-radius: 999px;
            font-size: 15px;
            font-weight: 500;
            color: #555250;
            background: transparent;
            transition: all 0.25s ease;
            white-space: nowrap;
        }

        .cat-pill:hover {
            color: var(--primary-orange);
            background: rgba(253, 83, 50, 0.06);
        }

        .cat-pill.active {
            background: linear-gradient(135deg, #ff4e3a, #ff2c24);
            color: #ffffff;
            box-shadow: 0 4px 14px rgba(255, 59, 48, 0.35);
            font-weight: 600;
        }

        /* 电影专区精选 Hero 焦点横幅 */
        .cinema-spotlight {
            margin: 20px 0 36px;
            position: relative;
            border-radius: var(--radius-lg);
            overflow: hidden;
            background: #110e0d;
            box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
        }

        .spotlight-inner {
            display: grid;
            grid-template-columns: 1fr 1fr;
            min-height: 380px;
            align-items: center;
            position: relative;
        }

        .spotlight-content {
            padding: 48px;
            z-index: 2;
            color: #ffffff;
        }

        .spotlight-tag {
            display: inline-flex;
            align-items: center;
            padding: 4px 12px;
            background: linear-gradient(90deg, #ff3b30, #fd5332);
            color: #ffffff;
            font-size: 13px;
            font-weight: 600;
            border-radius: 999px;
            margin-bottom: 16px;
        }

        .spotlight-title {
            font-size: 36px;
            font-weight: 700;
            line-height: 1.25;
            margin-bottom: 16px;
            color: #ffffff;
        }

        .spotlight-desc {
            font-size: 15px;
            color: #d1cbc7;
            line-height: 1.7;
            margin-bottom: 28px;
            max-width: 520px;
        }

        .spotlight-actions {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .btn-cinema-play {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 12px 32px;
            background: linear-gradient(135deg, #ff4e3a, #ff2c24);
            color: #ffffff;
            font-weight: 600;
            font-size: 15px;
            border-radius: 999px;
            box-shadow: 0 6px 20px rgba(255, 59, 48, 0.4);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .btn-cinema-play:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(255, 59, 48, 0.5);
        }

        .btn-cinema-sub {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 12px 28px;
            background: rgba(255, 255, 255, 0.12);
            backdrop-filter: blur(8px);
            color: #ffffff;
            font-weight: 500;
            font-size: 15px;
            border-radius: 999px;
            transition: background 0.2s ease;
        }

        .btn-cinema-sub:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        .spotlight-visual {
            position: absolute;
            top: 0;
            right: 0;
            width: 60%;
            height: 100%;
            z-index: 1;
        }

        .spotlight-visual img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            mask-image: linear-gradient(to left, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
            -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
        }

        /* 影片子分类快筛标签 */
        .genre-subnav {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 28px;
            flex-wrap: wrap;
        }

        .genre-item {
            font-size: 14px;
            color: #635f5c;
            padding: 6px 16px;
            border-radius: 8px;
            background: #f1eae3;
            transition: all 0.2s ease;
        }

        .genre-item:hover, .genre-item.active {
            background: #e6ddd4;
            color: var(--primary-orange);
            font-weight: 600;
        }

        /* 标题区 */
        .section-header-row {
            display: flex;
            align-items: baseline;
            justify-content: space-between;
            margin: 36px 0 20px;
        }

        .title-left {
            display: flex;
            align-items: baseline;
            gap: 12px;
        }

        .section-title {
            font-size: 24px;
            font-weight: 700;
            color: #1a1818;
        }

        .section-subtext {
            font-size: 14px;
            color: #8c8987;
        }

        /* 视频/海报 6列网格 */
        .poster-grid {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 22px;
            margin-bottom: 40px;
        }

        .poster-card {
            background: var(--card-bg);
            border-radius: var(--radius-md);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            box-shadow: var(--shadow-subtle);
            transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
            border: 1px solid rgba(0, 0, 0, 0.02);
            text-decoration: none;
        }

        .poster-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-hover);
        }

        .poster-thumb-wrapper {
            position: relative;
            width: 100%;
            padding-top: 142%;
            background-color: #eee7e1;
            overflow: hidden;
        }

        .poster-thumb-wrapper img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .poster-card:hover .poster-thumb-wrapper img {
            transform: scale(1.05);
        }

        .badge-type {
            position: absolute;
            top: 10px;
            left: 10px;
            background: rgba(230, 48, 34, 0.92);
            backdrop-filter: blur(4px);
            color: #ffffff;
            font-size: 11px;
            padding: 3px 8px;
            border-radius: 999px;
            font-weight: 500;
            z-index: 2;
        }

        .badge-score {
            position: absolute;
            bottom: 8px;
            right: 8px;
            background: rgba(0, 0, 0, 0.65);
            backdrop-filter: blur(4px);
            color: #ff9800;
            font-size: 12px;
            font-weight: 700;
            padding: 2px 7px;
            border-radius: 6px;
            z-index: 2;
        }

        .poster-info {
            padding: 12px 14px 14px;
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .poster-title {
            font-size: 15px;
            font-weight: 600;
            color: #1f1d1d;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .poster-meta {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 12px;
            color: var(--text-sub);
        }

        .poster-genre-tag {
            background: var(--tag-bg);
            color: #7a7674;
            padding: 1px 7px;
            border-radius: 4px;
            font-size: 11px;
        }

        /* 视听特色优势网格 */
        .features-panel {
            background: #ffffff;
            border-radius: var(--radius-lg);
            padding: 36px 40px;
            margin: 40px 0;
            border: 1px solid var(--border-color);
            box-shadow: var(--shadow-subtle);
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 32px;
        }

        .feature-box h3 {
            font-size: 18px;
            font-weight: 700;
            color: #1f1d1d;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .feature-box h3::before {
            content: '';
            display: inline-block;
            width: 4px;
            height: 16px;
            background: var(--primary-orange);
            border-radius: 2px;
        }

        .feature-box p {
            font-size: 14px;
            color: #736f6d;
            line-height: 1.6;
        }

        /* 影迷观影问答 (FAQ) */
        .cinema-faq-section {
            background: #ffffff;
            border-radius: var(--radius-lg);
            padding: 40px;
            margin: 40px 0;
            border: 1px solid var(--border-color);
        }

        .faq-title {
            font-size: 22px;
            font-weight: 700;
            margin-bottom: 24px;
            color: #1a1818;
        }

        .faq-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 24px;
        }

        .faq-card {
            background: var(--page-bg);
            padding: 20px 24px;
            border-radius: 12px;
        }

        .faq-question {
            font-size: 16px;
            font-weight: 600;
            color: #211e1e;
            margin-bottom: 10px;
        }

        .faq-answer {
            font-size: 14px;
            color: #696562;
            line-height: 1.65;
        }

        /* 瓜友热评 (严格按图4结构复用) */
        .comment-section-wrapper {
            margin: 48px 0 60px;
        }

        .comment-header {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 24px;
        }

        .comment-title {
            font-size: 22px;
            font-weight: 700;
            color: #1f1d1d;
        }

        .comment-subtitle {
            font-size: 14px;
            color: #8c8987;
        }

        .comment-list {
            display: flex;
            flex-direction: column;
            gap: 16px;
            margin-bottom: 30px;
        }

        .comment-item {
            background: #ffffff;
            border: 1px solid #f0e9e4;
            border-radius: 14px;
            padding: 16px 20px;
            position: relative;
            box-shadow: var(--shadow-subtle);
        }

        .comment-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            bottom: 0;
            width: 4px;
            background: linear-gradient(to bottom, #ff4e3a, #fd7443);
            border-top-left-radius: 14px;
            border-bottom-left-radius: 14px;
        }

        .comment-item-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 8px;
        }

        .comment-user-wrap {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .comment-avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: #fde8e4;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 13px;
            font-weight: 600;
            color: var(--primary-orange);
        }

        .comment-username {
            font-size: 14px;
            font-weight: 600;
            color: #242221;
        }

        .comment-badge {
            font-size: 11px;
            padding: 1px 7px;
            border-radius: 4px;
            background: #f2ede8;
            color: #7a7674;
        }

        .comment-time {
            font-size: 12px;
            color: #a8a4a1;
        }

        .comment-body {
            font-size: 14px;
            color: #44403e;
            line-height: 1.6;
            padding-left: 42px;
        }

        .comment-body strong {
            color: #fd5332;
        }

        /* 页脚统一规范 */
        .site-footer {
            background: #ffffff;
            border-top: 1px solid var(--border-color);
            padding: 40px 0;
            text-align: center;
            margin-top: 60px;
        }

        .footer-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 16px;
        }

        .footer-brand span {
            font-size: 22px;
            font-weight: 800;
            color: var(--primary-red);
            letter-spacing: -0.5px;
        }

        .footer-links {
            display: flex;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
            justify-content: center;
        }

        .footer-links a {
            font-size: 14px;
            color: #635f5c;
            transition: color 0.2s ease;
        }

        .footer-links a:hover {
            color: var(--primary-orange);
        }

        .site-footer p {
            font-size: 13px;
            color: #9c9794;
        }

        /* 移动端与平板响应式适配 */
        @media (max-width: 1200px) {
            .poster-grid {
                grid-template-columns: repeat(4, 1fr);
                gap: 16px;
            }
            .features-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 900px) {
            .spotlight-inner {
                grid-template-columns: 1fr;
                min-height: auto;
            }
            .spotlight-visual {
                position: relative;
                width: 100%;
                height: 240px;
                order: -1;
            }
            .spotlight-visual img {
                mask-image: none;
                -webkit-mask-image: none;
            }
            .spotlight-content {
                padding: 24px;
            }
            .spotlight-title {
                font-size: 26px;
            }
            .poster-grid {
                grid-template-columns: repeat(3, 1fr);
            }
            .faq-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 600px) {
            .container {
                padding: 0 16px;
            }
            .poster-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 12px;
            }
            .features-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            .features-panel, .cinema-faq-section {
                padding: 24px 18px;
            }
            .comment-body {
                padding-left: 0;
            }
        }
