
:root {
    --teal: #99ddcc;
    --light-bg: #f6f6f6;
    --pink: #ffe2e2;
    --blue-gray: #bad7df;
    --white: #ffffff;
    --text-dark: #2c3e50;
    --text-mid: #5a6c7e;
    --text-light: #7d8e9e;
    --shadow-sm: 0 1px 6px rgba(0, 0, 0, 0.05);
    --shadow: 0 2px 14px rgba(0, 0, 0, 0.07);
    --shadow-hover: 0 6px 22px rgba(0, 0, 0, 0.11);
    --radius-lg: 14px;
    --radius: 10px;
    --radius-sm: 7px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 76px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
    min-width: 320px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========== 顶部导航栏 100%宽度 ========== */
.top-nav {
    width: 100%;
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
    border-bottom: 3px solid var(--teal);
    transition: var(--transition);
}
.top-nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px;
    height: 60px;
    gap: 14px;
}
.top-nav .site-brand {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    color: var(--text-dark);
}
.top-nav .site-brand .brand-icon {
    width: 34px;
    height: 34px;
    background: var(--teal);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.1rem;
    color: #fff;
    flex-shrink: 0;
}
.top-nav .site-brand h1 {
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--text-dark);
    white-space: nowrap;
    margin: 0;
    line-height: 1;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
}
.nav-links a {
    color: var(--text-mid);
    text-decoration: none;
    padding: 7px 13px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    transition: var(--transition);
    letter-spacing: 0.02em;
}
.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--text-dark);
    background: rgba(153, 221, 204, 0.3);
    outline: none;
}
.nav-links a.active-link {
    color: #1a7a5a;
    font-weight: 700;
    background: rgba(153, 221, 204, 0.4);
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.btn-nav {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 9px 20px;
    border-radius: 22px;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    border: none;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition);
    letter-spacing: 0.03em;
}
.btn-read-now {
    background: var(--teal);
    color: #1a3d34;
    box-shadow: 0 2px 10px rgba(153, 221, 204, 0.45);
}
.btn-read-now:hover {
    background: #7ecfbc;
    box-shadow: 0 4px 16px rgba(153, 221, 204, 0.6);
    transform: translateY(-1px);
    color: #0f2b24;
}
.btn-read-now:active {
    transform: translateY(0);
    box-shadow: 0 1px 6px rgba(153, 221, 204, 0.3);
}

/* 移动端菜单按钮 */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 7px;
    color: var(--text-dark);
    font-size: 1.4rem;
    line-height: 1;
}

/* ========== 主体布局 ========== */
.main-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 22px;
    padding: 18px 22px 30px;
}
.content-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.sidebar-right {
    width: 330px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: sticky;
    top: 82px;
    align-self: flex-start;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
    padding-right: 2px;
}
.sidebar-right::-webkit-scrollbar {
    width: 5px;
}
.sidebar-right::-webkit-scrollbar-track {
    background: transparent;
}
.sidebar-right::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

/* ========== 通用区块卡片 ========== */
.section-block {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px 22px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #eef3f1;
    transition: var(--transition);
}
.section-block:hover {
    box-shadow: var(--shadow);
}
.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 14px;
    padding-bottom: 9px;
    border-bottom: 3px solid var(--teal);
    display: inline-block;
    letter-spacing: 0.03em;
}
.section-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
    flex-wrap: wrap;
    gap: 8px;
}
.section-title-wrapper .section-title {
    margin-bottom: 0;
    padding-bottom: 9px;
}
.section-subtitle {
    font-size: 0.82rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ========== 热门漫画网格 6条一行 ========== */
.comic-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}
.comic-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid #eef3f1;
    display: flex;
    flex-direction: column;
}
.comic-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--teal);
}
.comic-card-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #eef5f3;
}
.comic-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.comic-card:hover .comic-card-img-wrap img {
    transform: scale(1.05);
}
.comic-card-badge {
    position: absolute;
    top: 7px;
    left: 7px;
    background: var(--pink);
    color: #c0392b;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 10px;
    letter-spacing: 0.04em;
    z-index: 2;
    pointer-events: none;
}
.comic-card-badge.hot {
    background: #ffe2e2;
    color: #b8403c;
}
.comic-card-badge.new {
    background: #d4f5e9;
    color: #1a6b4a;
}
.comic-card-info {
    padding: 9px 11px 11px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}
.comic-card-info .comic-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: 0.02em;
}
.comic-card-info .comic-meta {
    font-size: 0.7rem;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    gap: 1px;
    line-height: 1.4;
}
.comic-card-info .comic-meta span {
    display: block;
}
.comic-card-info .comic-type-tag {
    display: inline-block;
    font-size: 0.68rem;
    background: #eef8f5;
    color: #1a6b4a;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
    align-self: flex-start;
    margin-top: 3px;
    letter-spacing: 0.03em;
}
.comic-site-tag {
    display: inline-block;
    font-size: 0.68rem;
    background: #ffe2e2;
    color: #c0392b;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 700;
    align-self: flex-start;
    margin-top: 3px;
    margin-left: 4px;
    letter-spacing: 0.03em;
}

/* ========== 精品推荐 ========== */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.featured-card {
    display: flex;
    gap: 12px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 15px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--blue-gray);
    transition: var(--transition);
    cursor: pointer;
}
.featured-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--teal);
    transform: translateY(-2px);
}
.featured-card-img {
    width: 95px;
    height: 132px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background: #eef5f3;
}
.featured-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.featured-card-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
}
.featured-card-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 0.02em;
}
.featured-card-info p {
    font-size: 0.75rem;
    color: var(--text-mid);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.featured-card-info .rating-stars {
    color: #e6a817;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

/* ========== 漫画详细介绍 ========== */
.detail-intro {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}
.detail-intro-img {
    width: 190px;
    height: 266px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #eef5f3;
    box-shadow: var(--shadow-sm);
}
.detail-intro-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.detail-intro-text {
    flex: 1;
    min-width: 240px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.detail-intro-text h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 0.03em;
}
.detail-intro-text .detail-tags {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}
.detail-intro-text .detail-tags span {
    background: #eef8f5;
    color: #1a6b4a;
    padding: 4px 11px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}
.detail-intro-text p {
    font-size: 0.87rem;
    color: var(--text-mid);
    line-height: 1.7;
}
.detail-intro-text .detail-stats {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: var(--text-dark);
    font-weight: 500;
}
.detail-intro-text .detail-stats strong {
    color: #c0392b;
}

/* ========== 角色详细介绍 ========== */
.character-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.character-card {
    text-align: center;
    background: var(--white);
    border-radius: var(--radius);
    padding: 15px 10px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #eef3f1;
    transition: var(--transition);
}
.character-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--pink);
}
.character-card-img {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 9px;
    background: #eef5f3;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.07);
}
.character-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.character-card h4 {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-dark);
    letter-spacing: 0.03em;
}
.character-card .role-tag {
    font-size: 0.72rem;
    color: #b8403c;
    font-weight: 600;
    margin-bottom: 3px;
    background: var(--pink);
    display: inline-block;
    padding: 2px 8px;
    border-radius: 8px;
}
.character-card p {
    font-size: 0.73rem;
    color: var(--text-mid);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 3px;
}

/* ========== 右侧面板 ========== */
.sidebar-right .side-panel {
    background: var(--white);
    border-radius: var(--radius);
    padding: 16px 18px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #eef3f1;
}
.side-panel h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    padding-bottom: 7px;
    border-bottom: 2px solid var(--teal);
    letter-spacing: 0.03em;
}
.rank-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.rank-list li {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 9px;
    border-radius: 6px;
    transition: var(--transition);
    cursor: pointer;
    background: #fafcfa;
}
.rank-list li:hover {
    background: #f0faf7;
}
.rank-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    flex-shrink: 0;
    background: #e8eae8;
    color: var(--text-mid);
}
.rank-list li:nth-child(1) .rank-num {
    background: #99ddcc;
    color: #1a3d34;
    box-shadow: 0 2px 8px rgba(153, 221, 204, 0.5);
}
.rank-list li:nth-child(2) .rank-num {
    background: #bad7df;
    color: #1a3d34;
}
.rank-list li:nth-child(3) .rank-num {
    background: #ffe2e2;
    color: #5a2020;
}
.rank-info {
    flex: 1;
    min-width: 0;
}
.rank-info .rank-title {
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.02em;
}
.rank-info .rank-count {
    font-size: 0.68rem;
    color: var(--text-light);
}
.rank-change {
    font-weight: 700;
    font-size: 0.74rem;
    flex-shrink: 0;
}
.rank-change.up {
    color: #27ae60;
}
.rank-change.stable {
    color: #7f8c8d;
}

/* 上升最快 */
.rise-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.rise-list li {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 9px;
    border-radius: 6px;
    background: #fafcfa;
    transition: var(--transition);
    cursor: pointer;
}
.rise-list li:hover {
    background: #fef5f5;
}
.rise-arrow {
    font-size: 1rem;
    flex-shrink: 0;
    color: #27ae60;
    font-weight: 700;
}
.rise-info {
    flex: 1;
    min-width: 0;
}
.rise-info .rise-title {
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.02em;
}
.rise-info .rise-pct {
    font-size: 0.7rem;
    color: #27ae60;
    font-weight: 600;
}

/* 总阅读 */
.total-read-box {
    text-align: center;
    padding: 6px 0;
}
.total-read-number {
    font-size: 2.2rem;
    font-weight: 900;
    color: #1a6b4a;
    letter-spacing: 0.02em;
    line-height: 1;
}
.total-read-label {
    font-size: 0.78rem;
    color: var(--text-light);
    margin-top: 3px;
}
.total-read-update {
    font-size: 0.68rem;
    color: #999;
    margin-top: 2px;
}

/* 数据统计 */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 7px;
    text-align: center;
}
.stat-item {
    background: #fafcfa;
    border-radius: 8px;
    padding: 11px 5px;
}
.stat-number {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--text-dark);
    letter-spacing: 0.02em;
}
.stat-label {
    font-size: 0.68rem;
    color: var(--text-light);
    margin-top: 1px;
}

/* ========== 评论区域 ========== */
.comment-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.comment-item {
    padding: 13px 15px;
    background: #fafcfa;
    border-radius: var(--radius-sm);
    border: 1px solid #eef3f1;
    transition: var(--transition);
}
.comment-item:hover {
    background: #fff;
    box-shadow: var(--shadow);
}
.comment-body .comment-user {
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--text-dark);
    letter-spacing: 0.02em;
}
.comment-body .comment-time {
    font-size: 0.68rem;
    color: #aaa;
    margin-left: 7px;
}
.comment-body p {
    font-size: 0.8rem;
    color: var(--text-mid);
    line-height: 1.6;
    margin-top: 4px;
}
.comment-badge {
    display: inline-block;
    background: #ffe2e2;
    color: #c0392b;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    margin-left: 6px;
    letter-spacing: 0.03em;
}

/* ========== 平台介绍 ========== */
.platform-intro-content {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    flex-wrap: wrap;
}
.platform-intro-content .platform-text {
    flex: 1;
    min-width: 240px;
}
.platform-intro-content .platform-text p {
    font-size: 0.87rem;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 8px;
}
.platform-highlights {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.platform-highlight-item {
    flex: 1;
    min-width: 90px;
    text-align: center;
    background: #f0faf7;
    border-radius: 10px;
    padding: 14px 8px;
    border: 1px solid #d4efe8;
}
.platform-highlight-item .ph-number {
    font-size: 1.4rem;
    font-weight: 900;
    color: #1a6b4a;
}
.platform-highlight-item .ph-label {
    font-size: 0.72rem;
    color: var(--text-light);
    margin-top: 1px;
}

/* ========== APP下载 ========== */
.download-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.download-card {
    text-align: center;
    background: var(--white);
    border-radius: var(--radius);
    padding: 18px 12px;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}
.download-card:hover {
    border-color: var(--teal);
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}
.download-card .dl-platform {
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 6px;
    display: block;
    color: #1a6b4a;
    letter-spacing: 0.04em;
}
.download-card h4 {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-dark);
    letter-spacing: 0.03em;
}
.download-card span {
    font-size: 0.7rem;
    color: var(--text-light);
}
.download-card .dl-badge {
    display: inline-block;
    background: var(--teal);
    color: #1a3d34;
    padding: 3px 9px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.68rem;
    margin-top: 5px;
    letter-spacing: 0.03em;
}

/* ========== 底部导航 100%宽度 ========== */
.bottom-nav {
    width: 100%;
    background: #fff;
    border-top: 3px solid var(--teal);
    padding: 24px 22px 18px;
    margin-top: 6px;
}
.bottom-nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: space-between;
    align-items: flex-start;
}
.bottom-nav .bn-col h4 {
    color: #1a6b4a;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.03em;
    font-size: 0.9rem;
}
.bottom-nav .bn-col a {
    display: block;
    color: #7d8e9e;
    text-decoration: none;
    font-size: 0.8rem;
    padding: 3px 0;
    transition: var(--transition);
    letter-spacing: 0.02em;
}
.bottom-nav .bn-col a:hover {
    color: #1a6b4a;
}
.bottom-nav .bn-col .mobile-highlight {
    display: inline-block;
    background: var(--teal);
    color: #1a3d34;
    padding: 7px 15px;
    border-radius: 18px;
    font-weight: 700;
    font-size: 0.82rem;
    text-decoration: none;
    transition: var(--transition);
    letter-spacing: 0.03em;
    margin-top: 3px;
}
.bottom-nav .bn-col .mobile-highlight:hover {
    background: #7ecfbc;
    color: #0f2b24;
    transform: translateY(-1px);
}
.bottom-copyright {
    text-align: center;
    padding: 12px 22px;
    font-size: 0.75rem;
    color: #9aa8b4;
    border-top: 1px solid #eef3f1;
    max-width: 1400px;
    margin: 14px auto 0;
    letter-spacing: 0.02em;
}

/* ========== Toast提示 ========== */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #2c3e50;
    color: #fff;
    padding: 11px 22px;
    border-radius: 22px;
    font-weight: 600;
    font-size: 0.85rem;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.03em;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}
.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ========== 响应式设计 ========== */
@media (max-width: 1200px) {
    .comic-grid { grid-template-columns: repeat(3, 1fr); }
    .featured-grid { grid-template-columns: repeat(2, 1fr); }
    .character-grid { grid-template-columns: repeat(2, 1fr); }
    .download-grid { grid-template-columns: repeat(2, 1fr); }
    .sidebar-right { width: 280px; }
}
@media (max-width: 900px) {
    .main-container { flex-direction: column; padding: 10px 10px 18px; }
    .sidebar-right { width: 100%; position: static; max-height: none; overflow-y: visible; gap: 12px; }
    .comic-grid { grid-template-columns: repeat(3, 1fr); gap: 9px; }
    .featured-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .character-grid { grid-template-columns: repeat(2, 1fr); gap: 9px; }
    .download-grid { grid-template-columns: repeat(2, 1fr); gap: 9px; }
    .top-nav-inner { padding: 0 10px; height: 50px; }
    .nav-links { display: none; }
    .mobile-menu-toggle { display: block; }
    .top-nav .site-brand h1 { font-size: 1.15rem; }
    .detail-intro { flex-direction: column; align-items: center; }
    .detail-intro-img { width: 150px; height: 210px; }
    .platform-intro-content { flex-direction: column; }
    .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 5px; }
}
@media (max-width: 560px) {
    .comic-grid { grid-template-columns: repeat(2, 1fr); gap: 7px; }
    .featured-grid { grid-template-columns: 1fr; gap: 9px; }
    .character-grid { grid-template-columns: repeat(2, 1fr); gap: 7px; }
    .download-grid { grid-template-columns: 1fr 1fr; gap: 7px; }
    .featured-card { flex-direction: row; gap: 9px; }
    .featured-card-img { width: 65px; height: 91px; }
    .section-block { padding: 12px 10px; }
    .sidebar-right .side-panel { padding: 10px 12px; }
    .btn-nav { padding: 6px 12px; font-size: 0.76rem; }
    .top-nav-inner { gap: 5px; height: 44px; }
    .top-nav .site-brand h1 { font-size: 0.95rem; }
    .bottom-nav-inner { flex-direction: column; gap: 12px; }
    .section-title { font-size: 1.05rem; }
}
