
:root {
    --coral: #ffaaa5;
    --peach: #ffd3b6;
    --cream: #fdffab;
    --mint: #a8e6cf;
    --white: #ffffff;
    --dark: #2c3e50;
    --gray: #6b7280;
    --light-gray: #f5f5f5;
    --border: #e8e8e8;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 6px 24px rgba(0, 0, 0, 0.14);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1320px;
    --nav-height: 60px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif; background: #fafaf9; color: var(--dark); line-height: 1.6; min-height: 100vh; -webkit-font-smoothing: antialiased; }
.top-nav { position: sticky; top: 0; z-index: 1000; width: 100%; background: var(--white); border-bottom: 2px solid var(--coral); box-shadow: 0 1px 8px rgba(255, 170, 165, 0.2); height: var(--nav-height); }
.top-nav-inner { max-width: var(--max-width); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 100%; padding: 0 20px; gap: 16px; }
.nav-left { display: flex; align-items: center; gap: 24px; flex-shrink: 0; }
.nav-left h1 { font-size: 1.4rem; font-weight: 700; color: #e8897f; letter-spacing: 1px; white-space: nowrap; cursor: pointer; transition: var(--transition); }
.nav-left h1:hover { color: #d4706a; }
.nav-links { display: flex; list-style: none; gap: 4px; flex-wrap: wrap; }
.nav-links a { text-decoration: none; color: var(--dark); font-size: 0.9rem; font-weight: 500; padding: 8px 14px; border-radius: 20px; transition: var(--transition); white-space: nowrap; letter-spacing: 0.3px; }
.nav-links a:hover, .nav-links a:focus { background: var(--peach); color: #c0392b; outline: none; }
.nav-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.user-status { display: flex; align-items: center; gap: 8px; background: var(--mint); padding: 7px 16px; border-radius: 22px; font-weight: 600; font-size: 0.88rem; color: #2d6a4f; cursor: pointer; transition: var(--transition); white-space: nowrap; letter-spacing: 0.3px; }
.user-status:hover { background: #8cd7b8; box-shadow: 0 2px 8px rgba(168, 230, 207, 0.5); }
.user-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--coral); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; color: #fff; font-weight: 700; }
.hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; z-index: 1001; }
.hamburger span { display: block; width: 24px; height: 2.5px; background: var(--dark); border-radius: 2px; transition: var(--transition); }
.main-container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.banner-section { margin-top: 20px; border-radius: var(--radius); overflow: hidden; position: relative; background: linear-gradient(135deg, var(--peach) 0%, var(--coral) 50%, #f8c291 100%); min-height: 320px; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); }
.banner-content { text-align: center; padding: 50px 30px; z-index: 1; max-width: 700px; }
.banner-content h2 { font-size: 2.4rem; font-weight: 800; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,0.15); margin-bottom: 12px; letter-spacing: 2px; }
.banner-content p { font-size: 1.15rem; color: #fff; opacity: 0.95; margin-bottom: 20px; letter-spacing: 0.5px; }
.banner-btn { display: inline-block; background: #fff; color: #e8897f; padding: 12px 32px; border-radius: 30px; text-decoration: none; font-weight: 700; font-size: 1rem; letter-spacing: 1px; transition: var(--transition); box-shadow: 0 4px 16px rgba(0,0,0,0.12); }
.banner-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.18); background: var(--cream); }
.banner-img { position: absolute; right: 40px; bottom: -20px; width: 200px; height: 200px; object-fit: contain; opacity: 0.7; z-index: 0; }
.section { margin: 40px 0; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.section-title { font-size: 1.5rem; font-weight: 700; color: #c0392b; position: relative; padding-left: 16px; letter-spacing: 1px; }
.section-title::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 5px; border-radius: 3px; background: var(--coral); }
.section-more { text-decoration: none; color: #e8897f; font-weight: 600; font-size: 0.9rem; transition: var(--transition); letter-spacing: 0.5px; }
.section-more:hover { color: #c0392b; text-decoration: underline; }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); cursor: pointer; border: 1px solid transparent; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--peach); }
.card-img-wrap { position: relative; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; background: var(--light-gray); }
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .card-img-wrap img { transform: scale(1.05); }
.card-badge { position: absolute; top: 10px; left: 10px; background: var(--coral); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 4px 10px; border-radius: 14px; letter-spacing: 0.5px; z-index: 2; }
.card-rating { position: absolute; bottom: 10px; right: 10px; background: rgba(0,0,0,0.7); color: #ffd700; font-size: 0.78rem; font-weight: 700; padding: 3px 8px; border-radius: 10px; z-index: 2; }
.card-body { padding: 12px 14px 14px; }
.card-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; color: var(--dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: 0.3px; }
.card-meta { font-size: 0.78rem; color: var(--gray); line-height: 1.5; }
.card-meta span { display: inline-block; margin-right: 6px; background: var(--cream); padding: 2px 7px; border-radius: 10px; font-size: 0.7rem; margin-bottom: 3px; }
.card-tag { display: inline-block; background: var(--mint); color: #1b4332; padding: 3px 8px; border-radius: 10px; font-size: 0.7rem; font-weight: 600; margin-top: 4px; }
.star-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.star-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-align: center; transition: var(--transition); border: 1px solid transparent; cursor: pointer; }
.star-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--mint); }
.star-card .card-img-wrap { aspect-ratio: 1 / 1; border-radius: 50%; width: 120px; height: 120px; margin: 20px auto 0; overflow: hidden; }
.star-card .card-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.star-card .card-body { padding: 12px 16px 18px; }
.star-card .card-body h3 { margin-bottom: 4px; }
.plot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.plot-card { background: var(--white); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); border-left: 5px solid var(--coral); transition: var(--transition); cursor: pointer; }
.plot-card:hover { box-shadow: var(--shadow-hover); border-left-color: #d4706a; }
.plot-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: #c0392b; letter-spacing: 0.5px; }
.plot-card p { font-size: 0.9rem; color: var(--gray); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.detail-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; gap: 16px; padding: 16px; transition: var(--transition); cursor: pointer; border: 1px solid transparent; }
.detail-card:hover { box-shadow: var(--shadow-hover); border-color: var(--peach); }
.detail-card .detail-img { width: 100px; height: 140px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; background: var(--light-gray); }
.detail-info h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; letter-spacing: 0.3px; }
.detail-info .detail-meta { font-size: 0.78rem; color: var(--gray); line-height: 1.6; }
.detail-info .detail-meta strong { color: var(--dark); }
.two-col-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.sidebar-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; position: sticky; top: calc(var(--nav-height) + 20px); }
.sidebar-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 14px; color: #c0392b; letter-spacing: 0.5px; border-bottom: 2px solid var(--peach); padding-bottom: 8px; }
.reading-stat { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.reading-number { font-size: 2.8rem; font-weight: 800; color: #e8897f; line-height: 1; }
.reading-label { font-size: 0.85rem; color: var(--gray); }
.reading-update { font-size: 0.75rem; color: #999; margin-top: 4px; }
.stat-row { display: flex; gap: 12px; margin-bottom: 16px; }
.stat-item { flex: 1; background: var(--mint); border-radius: var(--radius-sm); padding: 12px; text-align: center; }
.stat-item .stat-val { font-size: 1.4rem; font-weight: 700; color: #1b4332; }
.stat-item .stat-lbl { font-size: 0.7rem; color: #555; }
.comment-list { list-style: none; max-height: 520px; overflow-y: auto; padding-right: 4px; }
.comment-list::-webkit-scrollbar { width: 4px; }
.comment-list::-webkit-scrollbar-thumb { background: var(--peach); border-radius: 2px; }
.comment-item { padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 0.85rem; line-height: 1.7; color: #444; }
.comment-item:last-child { border-bottom: none; }
.comment-user { font-weight: 700; color: #c0392b; font-size: 0.8rem; margin-bottom: 3px; }
.rank-list { list-style: none; counter-reset: rank; }
.rank-list li { counter-increment: rank; display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); cursor: pointer; transition: var(--transition); }
.rank-list li:hover { background: #fdf9f5; border-radius: 6px; padding-left: 6px; }
.rank-list li::before { content: counter(rank); width: 26px; height: 26px; border-radius: 50%; background: var(--coral); color: #fff; font-weight: 700; font-size: 0.78rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rank-list li:nth-child(1)::before { background: #e74c3c; } .rank-list li:nth-child(2)::before { background: #f39c12; } .rank-list li:nth-child(3)::before { background: #e8897f; }
.rank-list .rank-info { flex: 1; min-width: 0; } .rank-list .rank-title { font-weight: 600; font-size: 0.88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .rank-list .rank-meta { font-size: 0.7rem; color: var(--gray); }
.app-download-section { background: linear-gradient(135deg, #fdfcfb 0%, var(--cream) 100%); border-radius: var(--radius); padding: 30px; text-align: center; box-shadow: var(--shadow); border: 2px dashed var(--mint); }
.app-download-section h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 6px; color: #c0392b; letter-spacing: 1px; }
.app-download-section .subtitle { color: var(--gray); font-size: 0.9rem; margin-bottom: 20px; }
.app-btn-group { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.app-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 28px; text-decoration: none; font-weight: 600; font-size: 0.9rem; letter-spacing: 0.5px; transition: var(--transition); border: 2px solid transparent; white-space: nowrap; }
.app-btn.android { background: #3ddc84; color: #fff; } .app-btn.android:hover { background: #2cc06d; box-shadow: 0 4px 16px rgba(61,220,132,0.4); }
.app-btn.ios { background: #000; color: #fff; } .app-btn.ios:hover { background: #1a1a1a; box-shadow: 0 4px 16px rgba(0,0,0,0.35); }
.app-btn.pc { background: #52616b; color: #fff; } .app-btn.pc:hover { background: #3d4f58; box-shadow: 0 4px 16px rgba(82,97,107,0.4); }
.app-btn.mac { background: #6c7a89; color: #fff; } .app-btn.mac:hover { background: #556270; box-shadow: 0 4px 16px rgba(108,122,137,0.4); }
.app-icon { width: 22px; height: 22px; flex-shrink: 0; }
.bottom-nav { width: 100%; background: #2c3e50; color: #ccc; margin-top: 50px; padding: 30px 20px; }
.bottom-nav-inner { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.bottom-nav-inner h4 { color: #fff; font-size: 1rem; margin-bottom: 12px; letter-spacing: 0.5px; }
.bottom-nav-inner a { display: block; color: #bbb; text-decoration: none; font-size: 0.85rem; padding: 4px 0; transition: var(--transition); }
.bottom-nav-inner a:hover { color: var(--peach); }
.bottom-copyright { text-align: center; padding: 16px; color: #888; font-size: 0.78rem; border-top: 1px solid #444; margin-top: 20px; letter-spacing: 0.5px; }
.bottom-mobile-link { text-align: center; padding: 8px; }
.bottom-mobile-link a { color: var(--mint); font-weight: 600; text-decoration: none; font-size: 0.88rem; letter-spacing: 0.5px; }
.bottom-mobile-link a:hover { text-decoration: underline; color: #7dd4a8; }
.intro-card { background: var(--white); border-radius: var(--radius); padding: 24px 28px; box-shadow: var(--shadow); line-height: 1.8; border-left: 6px solid var(--mint); }
.intro-card p { color: #555; font-size: 0.95rem; letter-spacing: 0.3px; }
@media (max-width: 1024px) {
    .card-grid { grid-template-columns: repeat(3, 1fr); } .star-grid { grid-template-columns: repeat(3, 1fr); } .two-col-layout { grid-template-columns: 1fr; } .sidebar-card { position: static; } .detail-grid { grid-template-columns: 1fr; } .bottom-nav-inner { grid-template-columns: repeat(2, 1fr); } .banner-img { width: 140px; height: 140px; right: 10px; bottom: -10px; opacity: 0.5; } .banner-content h2 { font-size: 1.8rem; }
}
@media (max-width: 768px) {
    .card-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .star-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .plot-grid { grid-template-columns: 1fr; } .detail-grid { grid-template-columns: 1fr; } .bottom-nav-inner { grid-template-columns: 1fr 1fr; }
    .nav-links { display: none; position: absolute; top: var(--nav-height); left: 0; width: 100%; background: #fff; flex-direction: column; padding: 16px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); border-bottom: 2px solid var(--coral); gap: 0; }
    .nav-links.active { display: flex; } .nav-links a { padding: 12px 16px; border-radius: 8px; font-size: 0.95rem; } .hamburger { display: flex; } .banner-content h2 { font-size: 1.5rem; } .banner-content p { font-size: 0.9rem; } .banner-img { width: 100px; height: 100px; right: 0; bottom: 0; opacity: 0.4; } .banner-section { min-height: 240px; } .section-title { font-size: 1.2rem; } .app-btn { padding: 10px 14px; font-size: 0.8rem; } .detail-card { flex-direction: column; align-items: center; text-align: center; } .detail-card .detail-img { width: 80px; height: 110px; }
}
@media (max-width: 480px) {
    .card-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } .star-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } .card-body h3 { font-size: 0.85rem; } .card-meta { font-size: 0.7rem; } .banner-content { padding: 30px 16px; } .banner-content h2 { font-size: 1.3rem; } .app-btn-group { gap: 8px; } .app-btn { padding: 8px 10px; font-size: 0.72rem; gap: 4px; } .bottom-nav-inner { grid-template-columns: 1fr; gap: 16px; } .stat-row { flex-direction: column; gap: 8px; }
}
