:root {
  --primary: #FF6B9D;
  --secondary: #FF8C42;
  --bg: #FFF5F8;
  --text: #333333;
  --text-light: #666666;
  --text-lighter: #999999;
  --accent: #D63A6A;
  --border: #FFE0EA;
  --shadow: 0 4px 12px rgba(255, 107, 157, 0.12);
  --shadow-hover: 0 8px 24px rgba(255, 107, 157, 0.25);
  --radius: 12px;
  --radius-sm: 8px;
  --max-width: 1200px;
  --header-h: 64px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Section spacing */
section {
  margin-bottom: 48px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(255, 107, 157, 0.1);
  height: var(--header-h);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand img {
  height: 32px;
  width: auto;
  border-radius: 6px;
}
.brand-text {
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 1px;
}
.nav-menu {
  display: flex;
  gap: 8px;
  align-items: center;
}
.nav-menu a {
  padding: 6px 12px;
  font-size: 14px;
  color: var(--text-light);
  border-radius: 20px;
  transition: all 0.25s;
}
.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
  background: rgba(255, 107, 157, 0.1);
}
.search-box {
  display: flex;
  border: 2px solid var(--secondary);
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.25s;
}
.search-box:focus-within {
  box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.2);
}
.search-box input {
  border: none;
  outline: none;
  padding: 6px 16px;
  width: 180px;
  font-size: 14px;
  background: transparent;
}
.search-box button {
  background: var(--secondary);
  color: #fff;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.25s;
}
.search-box button:hover { background: #e67a30; }

/* Bento Banner */
.banner-bento {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  height: 420px;
}
.bento-main {
  grid-row: 1 / 3;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}
.bento-main:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.bento-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.bento-main:hover img { transform: scale(1.05); }
.bento-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  padding: 40px 20px 16px;
  color: #fff;
}
.bento-overlay h1 {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.bento-overlay p {
  font-size: 14px;
  opacity: 0.9;
  margin-top: 4px;
}
.bento-dots {
  position: absolute;
  bottom: 16px;
  right: 20px;
  display: flex;
  gap: 6px;
}
.bento-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
}
.bento-dots span.active {
  background: var(--primary);
  width: 20px;
  border-radius: 4px;
}
.bento-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.bento-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}
.bento-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.bento-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.bento-item:hover img { transform: scale(1.05); }
.bento-item .bento-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  padding: 24px 12px 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

/* Categories */
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cat-tag {
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 14px;
  color: var(--text-light);
  background: #fff;
  border: 1px solid var(--border);
  transition: all 0.25s;
}
.cat-tag:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.cat-tag.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Feature Banner */
.feature-banner {
  width: 100%;
  background: linear-gradient(135deg, #FFE8F0 0%, #FFF5F8 50%, #FFE0D0 100%);
  border-radius: var(--radius);
  padding: 48px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.feature-banner::before {
  content: '';
  position: absolute;
  right: -60px; top: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(255,107,157,0.1);
}
.feature-banner::after {
  content: '';
  position: absolute;
  right: 80px; bottom: -80px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: rgba(255,140,66,0.1);
}
.feature-content { position: relative; z-index: 2; }
.feature-badge {
  display: inline-block;
  background: #fff;
  color: #e53935;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(229,57,53,0.15);
}
.feature-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.3;
}
.feature-sub {
  font-size: 15px;
  color: var(--text-light);
  margin-top: 8px;
}
.feature-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 36px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4);
  transition: transform 0.25s, box-shadow 0.25s;
}
.feature-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(255, 107, 157, 0.5);
}
.feature-visual {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}
.feature-visual img {
  width: 180px;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(214, 58, 106, 0.25);
}

/* Main Layout */
.main-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: stretch;
}

/* Zone Sections */
.zone-section { margin-bottom: 40px; }
.zone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.zone-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.zone-title::before {
  content: '';
  width: 4px;
  height: 20px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
}
.zone-more {
  font-size: 13px;
  color: var(--text-lighter);
  transition: color 0.25s;
}
.zone-more:hover { color: var(--primary); }

/* Comic Grid */
.comic-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.comic-card {
  background: #fff;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}
.comic-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.comic-cover {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #ffe8f0;
}
.comic-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.comic-card:hover .comic-cover img { transform: scale(1.06); }
.comic-chapter-tag {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  padding: 20px 8px 6px;
  color: #fff;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.comic-info { padding: 8px 10px 10px; }
.comic-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.comic-date {
  font-size: 11px;
  color: var(--text-lighter);
  margin-top: 2px;
}

/* Ranking Sidebar */
.ranking-sidebar {
  position: sticky;
  top: 84px;
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  height: fit-content;
}
.ranking-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ranking-title::before {
  content: '🔥';
  font-size: 18px;
}
.rank-list { display: flex; flex-direction: column; gap: 12px; }
.rank-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px;
  border-radius: 8px;
  transition: background 0.25s;
  cursor: pointer;
}
.rank-item:hover { background: var(--bg); }
.rank-num {
  width: 22px;
  text-align: center;
  font-size: 15px;
  font-weight: 800;
  color: var(--text-lighter);
  flex-shrink: 0;
}
.rank-num.top1 { color: #e53935; }
.rank-num.top2 { color: #fb8c00; }
.rank-num.top3 { color: #fdd835; }
.rank-thumb {
  width: 40px;
  height: 52px;
  border-radius: 6px;
  object-fit: cover;
  background: #ffe8f0;
  flex-shrink: 0;
}
.rank-info { flex: 1; min-width: 0; }
.rank-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rank-sub {
  font-size: 11px;
  color: var(--text-lighter);
}

/* Full Width Sections */
.full-section {
  width: 100%;
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  margin-bottom: 48px;
}
.section-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title::before {
  content: '';
  width: 5px;
  height: 24px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
}

/* Cloud Chart */
.cloud-chart {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.chart-col h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  gap: 6px;
}
.chart-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 4px;
  border-radius: 6px;
  transition: background 0.2s;
  cursor: pointer;
}
.chart-item:hover { background: var(--bg); }
.chart-item .num {
  width: 20px;
  font-weight: 800;
  font-size: 14px;
  color: var(--text-lighter);
  text-align: center;
  flex-shrink: 0;
}
.chart-item .num.gold { color: #e53935; }
.chart-item .num.silver { color: #fb8c00; }
.chart-item .num.bronze { color: #fdd835; }
.chart-item .thumb {
  width: 32px;
  height: 42px;
  border-radius: 4px;
  object-fit: cover;
  background: #ffe8f0;
  flex-shrink: 0;
}
.chart-item .name {
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chart-item .text-only {
  font-size: 13px;
  color: var(--text-light);
  padding-left: 4px;
}

/* Original Works */
.original-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.original-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}
.original-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.original-cover {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #ffe8f0;
}
.original-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.original-card:hover .original-cover img { transform: scale(1.05); }
.original-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 10px;
}
.original-info { padding: 14px; }
.original-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.original-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}
.original-tag {
  font-size: 11px;
  color: var(--primary);
  background: rgba(255,107,157,0.1);
  padding: 2px 8px;
  border-radius: 8px;
}
.original-desc {
  font-size: 12px;
  color: var(--text-lighter);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Voting */
.vote-card {
  background: linear-gradient(135deg, #FF6B9D 0%, #FF8C42 100%);
  border-radius: var(--radius);
  padding: 28px 32px;
  color: #fff;
  box-shadow: 0 8px 24px rgba(255,107,157,0.3);
}
.vote-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 20px;
}
.vote-items { display: flex; flex-direction: column; gap: 16px; }
.vote-item {
  cursor: pointer;
  padding: 10px 0;
}
.vote-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
}
.vote-bar-bg {
  height: 12px;
  background: rgba(255,255,255,0.25);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.vote-bar {
  height: 100%;
  border-radius: 6px;
  background: #fff;
  transition: width 0.6s ease, background 0.3s;
  width: 0;
}
.vote-stats {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-top: 4px;
  opacity: 0.9;
}

/* Comments */
.comments-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
}
.comment-list { display: flex; flex-direction: column; gap: 16px; }
.comment-item {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 16px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 12px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.comment-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #ffe8f0;
}
.comment-body { flex: 1; min-width: 0; }
.comment-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.comment-nick {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}
.comment-stars {
  color: #fdd835;
  font-size: 12px;
  letter-spacing: 1px;
}
.comment-tags {
  display: flex;
  gap: 6px;
  margin-left: auto;
}
.comment-tag {
  font-size: 11px;
  color: var(--text-lighter);
  background: var(--bg);
  padding: 2px 8px;
  border-radius: 8px;
}
.comment-text {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 6px;
  line-height: 1.6;
}
.comment-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sidebar-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.sidebar-box h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.topic-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.topic-tag {
  font-size: 12px;
  color: var(--primary);
  background: rgba(255,107,157,0.1);
  padding: 4px 12px;
  border-radius: 12px;
  transition: all 0.25s;
  cursor: pointer;
}
.topic-tag:hover {
  background: var(--primary);
  color: #fff;
}
.god-comment {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border);
}
.god-comment:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.god-rank {
  font-size: 16px;
  font-weight: 800;
  color: var(--secondary);
  flex-shrink: 0;
}
.god-content { font-size: 12px; color: var(--text-light); line-height: 1.5; }

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.faq-item {
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow 0.25s;
}
.faq-item:hover { box-shadow: var(--shadow-hover); }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: color 0.25s;
}
.faq-question:hover { color: var(--primary); }
.faq-icon {
  font-size: 20px;
  font-weight: 400;
  color: var(--primary);
  transition: transform 0.3s;
  line-height: 1;
  flex-shrink: 0;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s;
  padding: 0 20px;
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
}
.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 0 20px 16px;
}

/* Download */
.download-section {
  text-align: center;
  background: linear-gradient(180deg, #FFF5F8, #FFE8F0);
  border-radius: var(--radius);
  padding: 48px 20px;
}
.phone-showcase {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.phone-mock {
  width: 140px;
  height: 280px;
  background: #fff;
  border-radius: 20px;
  border: 6px solid #333;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  position: relative;
  transition: transform 0.3s;
}
.phone-mock:hover { transform: translateY(-6px); }
.phone-mock::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 50px; height: 14px;
  background: #333;
  border-radius: 0 0 10px 10px;
  z-index: 2;
}
.phone-mock img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.download-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.dl-btn {
  padding: 10px 28px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.dl-btn.primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255,107,157,0.3);
}
.dl-btn.primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
}
.dl-btn.outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.dl-btn.outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* Partners */
.partners-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.partner-card {
  background: #fff;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  padding: 16px 32px;
  font-size: 14px;
  color: var(--text-light);
  box-shadow: var(--shadow);
  transition: all 0.25s;
  cursor: pointer;
}
.partner-card:hover {
  background: #fff;
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* Footer */
.site-footer {
  background: #4A1A2E;
  color: rgba(255,255,255,0.75);
  padding: 48px 0 24px;
  margin-top: 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}
.footer-col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 13px;
  padding: 4px 0;
  transition: color 0.25s;
}
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.footer-bottom time { color: rgba(255,255,255,0.4); }

/* Modal */
.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-mask.show { display: flex; }
.modal-box {
  background: #fff;
  border-radius: var(--radius);
  max-width: 560px;
  width: 100%;
  padding: 24px;
  display: flex;
  gap: 20px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: modalIn 0.3s ease;
}
@keyframes modalIn {
  from { transform: scale(0.92); }
  to { transform: scale(1); }
}
.modal-close {
  position: absolute;
  top: 12px; right: 14px;
  font-size: 24px;
  color: var(--text-lighter);
  line-height: 1;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--accent); }
.modal-cover {
  width: 130px;
  height: 174px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: #ffe8f0;
}
.modal-info { flex: 1; min-width: 0; }
.modal-info h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}
.modal-chapter {
  display: inline-block;
  font-size: 12px;
  color: var(--primary);
  background: rgba(255,107,157,0.1);
  padding: 3px 10px;
  border-radius: 8px;
  margin-bottom: 10px;
}
.modal-notice {
  font-size: 12px;
  color: var(--text-lighter);
  margin-bottom: 14px;
}
.copy-row {
  display: flex;
  gap: 8px;
}
.copy-row input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 12px;
  color: var(--text-light);
  outline: none;
}
.copy-btn {
  padding: 8px 18px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.25s;
  white-space: nowrap;
}
.copy-btn:hover { background: var(--accent); }
.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(0,0,0,0.8);
  color: #fff;
  padding: 10px 24px;
  border-radius: 20px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
  z-index: 2000;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Mobile Fixed Bar */
.mobile-dl-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 64px;
  background: #fff;
  box-shadow: 0 -2px 12px rgba(255,107,157,0.15);
  z-index: 200;
  padding: 0 16px;
  align-items: center;
  justify-content: space-between;
}
.mobile-dl-text {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.4;
}
.mobile-dl-text strong {
  display: block;
  color: var(--accent);
  font-size: 13px;
}
.mobile-dl-btn {
  padding: 10px 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(255,107,157,0.35);
}

/* Responsive */
@media (max-width: 1024px) {
  .main-layout { grid-template-columns: 1fr; }
  .ranking-sidebar { position: static; }
  .comic-grid { grid-template-columns: repeat(3, 1fr); }
  .original-grid { grid-template-columns: repeat(3, 1fr); }
  .comments-layout { grid-template-columns: 1fr; }
  .cloud-chart { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .banner-bento { height: 360px; }
  .feature-title { font-size: 26px; }
}
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .search-box { flex: 1; }
  .search-box input { width: 100%; }
  .search-box button { padding: 0 14px; }
  .banner-bento {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    height: auto;
  }
  .bento-main { grid-row: auto; height: 260px; }
  .bento-side { grid-template-columns: 1fr 1fr; }
  .bento-item { height: 140px; }
  .bento-overlay h1 { font-size: 22px; }
  .feature-banner { flex-direction: column; text-align: center; padding: 32px 20px; }
  .feature-visual img { width: 140px; height: 186px; }
  .comic-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .original-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .cloud-chart { grid-template-columns: 1fr; gap: 24px; }
  .faq-grid { grid-template-columns: 1fr; }
  .phone-mock { width: 110px; height: 220px; }
  .modal-box { flex-direction: column; padding: 20px 16px; }
  .modal-cover { width: 100%; height: 200px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mobile-dl-bar { display: flex; }
  body { padding-bottom: 64px; }
  .full-section { padding: 24px 16px; }
  .container { padding: 0 16px; }
}
@media (max-width: 480px) {
  .comic-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-side { grid-template-columns: 1fr 1fr; }
  .phone-showcase { gap: 12px; }
  .phone-mock { width: 80px; height: 160px; border-width: 4px; }
  .download-btns { gap: 8px; }
  .dl-btn { padding: 8px 18px; font-size: 13px; }
}