* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background-color: #f5f5f5; color: #333; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; border-radius: 8px; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 16px; }
header { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; text-align: center; padding: 20px 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
header h1 { font-size: 20px; font-weight: 700; letter-spacing: 2px; margin-bottom: 4px; }
header p { font-size: 13px; opacity: 0.9; }
.detail-wrap { background: #fff; border-radius: 12px; margin: 20px 0; padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.detail-top { overflow: hidden; }
.detail-cover { float: right; width: 100px; margin: 0 0 12px 16px; }
.detail-cover img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 8px; }
.detail-text h2 { font-size: 20px; font-weight: 700; color: #222; margin-bottom: 12px; line-height: 1.4; }
.detail-text .desc { font-size: 14px; color: #555; line-height: 1.8; }
.read-btn-wrap { text-align: center; margin: 0 0 24px 0; clear: both; }
.read-btn { display: inline-block; padding: 8px 36px; font-size: 15px; font-weight: 700; color: #fff; border-radius: 50px; background: linear-gradient(90deg, #ff0080, #ff8c00, #40e0d0, #8a2be2, #ff0080); background-size: 300% 300%; animation: rainbow 3s ease infinite; box-shadow: 0 4px 20px rgba(255,0,128,0.4), 0 0 40px rgba(138,43,226,0.3); border: 2px solid rgba(255,255,255,0.3); cursor: pointer; transition: transform 0.2s; }
.read-btn:hover { transform: scale(1.05); }
@keyframes rainbow { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.section { margin: 30px 0; }
.section-title { font-size: 20px; font-weight: 700; color: #333; margin-bottom: 20px; padding-left: 12px; border-left: 4px solid #667eea; }
.comic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.comic-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.08); transition: transform 0.2s, box-shadow 0.2s; }
.comic-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.12); }
.comic-card .cover { width: 100%; aspect-ratio: 3/4; object-fit: cover; background: #e0e0e0; }
.comic-card .info { padding: 12px; }
.comic-card .title { font-size: 15px; font-weight: 600; color: #222; margin-bottom: 6px; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.comic-card .time { font-size: 12px; color: #999; margin-bottom: 8px; }
.comic-card .desc { font-size: 13px; color: #666; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
footer { background: #fff; border-top: 1px solid #eee; padding: 20px 0; margin-top: 40px; text-align: center; }
footer a { display: inline-block; margin: 0 15px; font-size: 14px; color: #667eea; }
footer a:hover { text-decoration: underline; }
@media (min-width: 768px) {
    .detail-cover { width: 120px; margin: 0 0 16px 20px; }
    .detail-text h2 { font-size: 24px; }
    .detail-text .desc { font-size: 15px; }
    .read-btn { padding: 10px 48px; font-size: 16px; }
    .comic-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
    header { padding: 24px 20px; }
    header h1 { font-size: 24px; }
    .section { margin: 40px 0; }
    .section-title { font-size: 24px; }
}
@media (min-width: 1024px) {
    .comic-grid { grid-template-columns: repeat(6, 1fr); gap: 24px; }
    .comic-card .title { font-size: 16px; }
    .comic-card .time { font-size: 13px; }
    .comic-card .desc { font-size: 14px; }
    .detail-cover { width: 140px; }
}
@media (min-width: 1400px) {
    .comic-grid { grid-template-columns: repeat(8, 1fr); }
}