
:root { --mint: #abedd8; --cyan: #46cdcf; --ocean: #3d84a8; --deep: #48466d; --bg: #f5f7fa; --card-bg: #ffffff; --text: #2c3e50; --text-light: #5a6b7c; --text-muted: #7f8c9b; --border: #e9edf2; --shadow-sm: 0 2px 8px rgba(0,0,0,0.04); --shadow: 0 6px 18px rgba(0,0,0,0.06); --shadow-hover: 0 12px 28px rgba(0,0,0,0.1); --radius: 16px; --radius-sm: 12px; --transition: 0.25s cubic-bezier(0.2,0.0,0,1.0); }
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family:'Inter','PingFang SC','Microsoft YaHei','Segoe UI',system-ui,-apple-system,sans-serif; background:var(--bg); color:var(--text); line-height:1.5; display:flex; flex-direction:column; min-height:100vh; -webkit-font-smoothing:antialiased; }
.top-nav { width:100%; background:var(--deep); padding:0 28px; height:68px; display:flex; align-items:center; justify-content:space-between; position:sticky; top:0; z-index:1000; box-shadow:0 4px 20px rgba(72,70,109,0.3); backdrop-filter:blur(8px); }
.logo-area { display:flex; align-items:center; gap:12px; }
.logo-icon { width:42px; height:42px; border-radius:10px; object-fit:cover; background:var(--cyan); }
.top-nav h1 { font-size:1.6rem; font-weight:700; color:white; letter-spacing:0.3px; white-space:nowrap; }
.nav-actions { display:flex; align-items:center; gap:18px; }
.nav-actions a { color:rgba(255,255,255,0.85); text-decoration:none; font-weight:500; font-size:0.95rem; transition:color 0.2s; padding:6px 12px; border-radius:8px; }
.nav-actions a:hover { color:#fff; background:rgba(255,255,255,0.1); }
.btn-nav-cta { background:var(--cyan); color:#fff !important; padding:10px 22px !important; border-radius:30px !important; font-weight:600; transition:all 0.2s; box-shadow:0 4px 12px rgba(70,205,207,0.4); display:flex; align-items:center; gap:6px; }
.btn-nav-cta:hover { background:#3db8ba; transform:translateY(-1px); box-shadow:0 8px 18px rgba(70,205,207,0.5); }
.main-layout { display:grid; grid-template-columns:1fr 360px; gap:28px; max-width:1400px; width:100%; margin:28px auto 40px; padding:0 20px; flex:1; }
.content-left { display:flex; flex-direction:column; gap:28px; min-width:0; }
.sidebar-right { display:flex; flex-direction:column; gap:22px; }
.card { background:var(--card-bg); border-radius:var(--radius); padding:26px 28px; box-shadow:var(--shadow-sm); border:1px solid var(--border); transition:box-shadow var(--transition); }
.card:hover { box-shadow:var(--shadow); }
.card-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:20px; padding-bottom:14px; border-bottom:2px solid #f0f3f7; }
.card-header h2, .card-header h3 { font-size:1.25rem; font-weight:700; color:var(--deep); position:relative; padding-left:16px; }
.card-header h2::before, .card-header h3::before { content:''; position:absolute; left:0; top:50%; transform:translateY(-50%); width:5px; height:22px; background:var(--cyan); border-radius:3px; }
.badge { font-size:0.8rem; background:#edf6f9; color:var(--ocean); padding:4px 12px; border-radius:20px; font-weight:600; }
.comic-grid { display:grid; grid-template-columns:repeat(6,1fr); gap:18px; }
.comic-card { background:#fff; border-radius:var(--radius-sm); overflow:hidden; border:1px solid var(--border); transition:all var(--transition); cursor:pointer; display:flex; flex-direction:column; }
.comic-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-hover); border-color:var(--cyan); }
.comic-card img { width:100%; height:230px; object-fit:cover; display:block; background:#eef2f5; }
.comic-body { padding:14px 14px 16px; display:flex; flex-direction:column; gap:6px; flex:1; }
.comic-title { font-weight:700; font-size:0.95rem; color:var(--deep); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.comic-meta { font-size:0.72rem; color:var(--text-light); line-height:1.5; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.comic-tag { background:#e9f7f5; color:#1e8e7c; font-size:0.7rem; font-weight:600; padding:3px 10px; border-radius:20px; align-self:flex-start; margin-top:4px; }
.detail-flex { display:flex; gap:28px; flex-wrap:wrap; }
.detail-poster { width:220px; height:310px; border-radius:var(--radius-sm); object-fit:cover; background:#eef2f5; flex-shrink:0; box-shadow:0 8px 24px rgba(0,0,0,0.08); }
.detail-content { flex:1; min-width:280px; }
.detail-content h3 { font-size:1.6rem; font-weight:700; color:var(--deep); margin-bottom:12px; }
.meta-tags { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:18px; }
.meta-tags span { background:#f2f5f9; padding:5px 14px; border-radius:20px; font-size:0.8rem; font-weight:500; color:var(--text-light); }
.detail-desc { color:var(--text-light); font-size:0.95rem; line-height:1.8; margin-bottom:12px; }
.character-row { display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:18px; }
.character-item { background:#fafcfd; border-radius:var(--radius-sm); padding:22px 14px; text-align:center; border:1px solid var(--border); transition:all var(--transition); }
.character-item:hover { border-color:var(--cyan); box-shadow:var(--shadow-sm); transform:translateY(-3px); }
.character-avatar { width:80px; height:80px; border-radius:50%; object-fit:cover; margin:0 auto 12px; border:3px solid var(--mint); background:#eef2f5; display:block; }
.char-name { font-weight:700; font-size:1rem; color:var(--deep); }
.char-role { font-size:0.75rem; color:var(--ocean); font-weight:600; margin:4px 0 8px; }
.char-desc { font-size:0.8rem; color:var(--text-muted); line-height:1.5; }
.platform-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-top:6px; }
.platform-item { background:#f9fbfd; border-radius:var(--radius-sm); padding:20px 22px; border:1px solid #eef1f4; transition:all var(--transition); }
.platform-item:hover { border-color:var(--cyan); box-shadow:var(--shadow-sm); }
.platform-item h4 { font-size:1rem; font-weight:700; color:var(--deep); margin-bottom:10px; display:flex; align-items:center; gap:8px; }
.platform-item h4 .dot { display:inline-block; width:10px; height:10px; background:var(--cyan); border-radius:3px; }
.platform-item p { color:var(--text-light); font-size:0.88rem; line-height:1.7; }
.app-download-card { display:flex; align-items:center; gap:24px; background:linear-gradient(135deg,#f5f9fc 0%,#ffffff 100%); border-radius:var(--radius); padding:24px; border:1px solid var(--border); flex-wrap:wrap; }
.app-qr { width:120px; height:120px; border-radius:16px; object-fit:cover; background:#eef2f5; border:2px solid var(--border); flex-shrink:0; box-shadow:0 4px 12px rgba(0,0,0,0.04); }
.app-info { flex:1; }
.app-info h4 { font-size:1.2rem; font-weight:700; color:var(--deep); margin-bottom:6px; }
.app-features { display:flex; flex-wrap:wrap; gap:12px; margin:12px 0; }
.app-feature-badge { background:#edf6f9; color:var(--ocean); padding:4px 14px; border-radius:20px; font-size:0.8rem; font-weight:500; }
.btn-download { background:var(--deep); color:#fff; padding:12px 28px; border-radius:30px; text-decoration:none; font-weight:600; font-size:0.95rem; transition:all 0.2s; display:inline-block; margin-top:8px; }
.btn-download:hover { background:#3b3561; box-shadow:0 8px 20px rgba(72,70,109,0.4); transform:translateY(-2px); }
.sidebar-card { background:#fff; border-radius:var(--radius); padding:20px 18px; box-shadow:var(--shadow-sm); border:1px solid var(--border); }
.sidebar-card h3 { font-size:1.05rem; font-weight:700; color:var(--deep); margin-bottom:16px; padding-bottom:12px; border-bottom:2px solid #f0f3f7; display:flex; align-items:center; gap:8px; }
.sidebar-card h3::before { content:''; display:inline-block; width:4px; height:18px; background:var(--cyan); border-radius:2px; }
.rank-list { list-style:none; display:flex; flex-direction:column; gap:4px; }
.rank-item { display:flex; align-items:center; gap:10px; padding:8px 6px; border-radius:8px; transition:background 0.2s; cursor:pointer; }
.rank-item:hover { background:#f4f8fa; }
.rank-num { width:28px; height:28px; border-radius:8px; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:0.8rem; color:#fff; flex-shrink:0; }
.rank-1 { background:#e74c3c; } .rank-2 { background:#e67e22; } .rank-3 { background:#f39c12; } .rank-other { background:#b0bec5; }
.rank-cover { width:44px; height:60px; object-fit:cover; border-radius:6px; flex-shrink:0; background:#eef2f5; }
.rank-info { flex:1; min-width:0; }
.rank-name { font-weight:600; font-size:0.85rem; color:var(--deep); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.rank-stat { font-size:0.7rem; color:var(--text-muted); }
.rise-item { display:flex; align-items:center; gap:10px; padding:8px 6px; border-radius:8px; transition:background 0.2s; cursor:pointer; }
.rise-item:hover { background:#f4f8fa; }
.rise-arrow { font-weight:700; color:#27ae60; font-size:0.85rem; min-width:56px; }
.total-reads-box { text-align:center; padding:16px 0; }
.big-number { font-size:2.2rem; font-weight:800; color:var(--ocean); letter-spacing:1px; }
.update-time { font-size:0.7rem; color:#9aa9b7; margin-top:8px; }
.stats-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; text-align:center; }
.stat-box { background:#f8fafb; border-radius:10px; padding:14px 6px; }
.stat-value { font-size:1.3rem; font-weight:700; color:var(--deep); }
.stat-label { font-size:0.7rem; color:var(--text-muted); margin-top:4px; }
.comment-list-side { display:flex; flex-direction:column; gap:14px; max-height:700px; overflow-y:auto; padding-right:4px; }
.comment-item-side { display:flex; gap:10px; padding:10px 10px; background:#fafcfd; border-radius:10px; border:1px solid #eef1f4; transition:all var(--transition); }
.comment-item-side:hover { background:#fff; box-shadow:var(--shadow-sm); }
.comment-body-side { flex:1; min-width:0; }
.comment-user-side { font-weight:700; font-size:0.82rem; color:var(--deep); }
.comment-time-side { font-size:0.68rem; color:#9aa9b7; margin-bottom:4px; }
.comment-text-side { font-size:0.8rem; color:var(--text-light); line-height:1.6; }
.bottom-nav { width:100%; background:var(--deep); color:rgba(255,255,255,0.75); padding:32px 24px 24px; margin-top:auto; }
.footer-grid { max-width:1400px; margin:0 auto; display:flex; flex-wrap:wrap; gap:40px; justify-content:space-between; }
.footer-col h4 { color:#fff; font-weight:600; margin-bottom:12px; font-size:0.95rem; }
.footer-col a { display:block; color:rgba(255,255,255,0.6); text-decoration:none; font-size:0.82rem; margin-bottom:6px; transition:color 0.2s; }
.footer-col a:hover { color:var(--cyan); }
.copyright { max-width:1400px; margin:24px auto 0; padding-top:18px; border-top:1px solid rgba(255,255,255,0.12); text-align:center; font-size:0.75rem; color:rgba(255,255,255,0.45); }
@media (max-width:1200px) { .comic-grid { grid-template-columns:repeat(4,1fr); } .main-layout { grid-template-columns:1fr 320px; } .platform-grid { grid-template-columns:1fr; } }
@media (max-width:900px) { .comic-grid { grid-template-columns:repeat(3,1fr); } .main-layout { grid-template-columns:1fr; gap:24px; } .sidebar-right { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:16px; } .detail-flex { flex-direction:column; align-items:flex-start; } .detail-poster { width:180px; height:250px; } .app-download-card { flex-direction:column; align-items:flex-start; } }
@media (max-width:600px) { .comic-grid { grid-template-columns:repeat(2,1fr); gap:10px; } .top-nav { padding:0 14px; height:60px; } .top-nav h1 { font-size:1.3rem; } .nav-actions a:not(.btn-nav-cta) { display:none; } .comic-card img { height:180px; } .character-row { grid-template-columns:repeat(2,1fr); } .detail-poster { width:100%; height:260px; } .platform-grid { grid-template-columns:1fr; } .footer-grid { flex-direction:column; gap:20px; } .stats-grid { grid-template-columns:1fr 1fr; } }
