:root {
  --pink: #FF6B9D;
  --pink-deep: #D63A6A;
  --orange-pink: #FF8C42;
  --bg: #FFF5F8;
  --white: #FFFFFF;
  --text: #333333;
  --text-light: #777777;
  --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;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; object-fit: cover; }

/* 顶部导航 */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(255, 107, 157, 0.08);
  height: 64px;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.logo-area img {
  height: 32px;
  width: auto;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--pink-deep);
}

.nav-menu {
  display: flex;
  gap: 24px;
  font-size: 15px;
  color: var(--text);
}

.nav-menu a:hover { color: var(--pink); }

.search-box {
  display: flex;
  align-items: center;
  border: 2px solid var(--orange-pink);
  border-radius: 20px;
  overflow: hidden;
  background: var(--white);
  height: 38px;
  width: 260px;
  flex-shrink: 0;
}

.search-box input {
  border: none;
  outline: none;
  padding: 0 12px;
  flex: 1;
  font-size: 14px;
  background: transparent;
  color: var(--text);
}

.search-box button {
  border: none;
  background: var(--orange-pink);
  color: var(--white);
  padding: 0 16px;
  height: 100%;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

/* 拼接 Banner 区 */
.banner-section {
  max-width: 1400px;
  margin: 24px auto;
  padding: 0 20px;
}

.bento-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  height: 420px;
}

.bento-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bento-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.bento-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.bento-item:hover img { transform: scale(1.05); }

.bento-main {
  grid-row: 1 / 3;
  grid-column: 1 / 2;
}

.bento-main .bento-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 20px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.bento-main h1 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.bento-main .dots {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.bento-main .dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
}

.bento-main .dots span.active {
  background: var(--pink);
  width: 20px;
  border-radius: 4px;
}

.bento-sub .bento-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 12px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
}

/* 分类栏 */
.category-bar {
  max-width: 1400px;
  margin: 30px auto 20px;
  padding: 0 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.category-tag {
  padding: 6px 18px;
  border-radius: 20px;
  background: var(--white);
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 2px 6px rgba(255, 107, 157, 0.08);
  border: 1px solid transparent;
}

.category-tag.active {
  background: var(--pink);
  color: var(--white);
  border-color: var(--pink);
}

.category-tag:hover {
  border-color: var(--pink);
  color: var(--pink);
}

.category-tag.active:hover { color: var(--white); }

/* 专题横幅 */
.topic-banner {
  max-width: 1400px;
  margin: 0 auto 30px;
  padding: 0 20px;
}

.topic-inner {
  background: linear-gradient(135deg, #FFF0F5 0%, #FFE4EC 100%);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.topic-badge {
  background: #FF3B5C;
  color: var(--white);
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: 600;
}

.topic-inner h2 {
  font-size: 28px;
  color: var(--pink-deep);
  font-weight: 800;
}

.topic-inner p {
  color: var(--text-light);
  font-size: 15px;
  max-width: 500px;
}

.topic-btn {
  background: linear-gradient(135deg, var(--pink) 0%, var(--orange-pink) 100%);
  color: var(--white);
  padding: 10px 28px;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  margin-top: 8px;
  box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3);
}

.topic-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 107, 157, 0.45);
}

/* 核心双列布局 */
.main-layout {
  max-width: 1400px;
  margin: 0 auto 40px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  align-items: stretch;
}

/* 左侧专区 */
.zone-section {
  margin-bottom: 30px;
}

.zone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.zone-header h2 {
  font-size: 20px;
  color: var(--pink-deep);
  font-weight: 700;
  border-left: 4px solid var(--pink);
  padding-left: 10px;
}

.zone-more {
  font-size: 13px;
  color: var(--text-light);
  cursor: pointer;
}

.zone-more:hover { color: var(--pink); }

.comic-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.comic-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.comic-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.comic-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.comic-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.comic-card:hover .comic-cover img { transform: scale(1.05); }

.comic-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.6);
  color: var(--white);
  font-size: 12px;
  padding: 4px 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.comic-info {
  padding: 10px;
}

.comic-info h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.comic-info p {
  font-size: 12px;
  color: var(--text-light);
}

/* 右侧排行榜 sticky */
.rank-sidebar {
  position: sticky;
  top: 84px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  height: fit-content;
}

.rank-sidebar h2 {
  font-size: 18px;
  color: var(--pink-deep);
  margin-bottom: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.rank-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #FFE8EF;
  font-size: 14px;
  cursor: pointer;
  transition: color 0.3s;
}

.rank-list li:last-child { border-bottom: none; }
.rank-list li:hover { color: var(--pink); }

.rank-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.rank-num.top1 { background: #FF3B5C; }
.rank-num.top2 { background: var(--orange-pink); }
.rank-num.top3 { background: #FFC107; }
.rank-num.normal { background: #CCCCCC; }

.rank-title {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 全站风云榜 */
.full-width-section {
  width: 100%;
  padding: 40px 0;
}

.section-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: 24px;
  color: var(--pink-deep);
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
}

.fengyun-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.fengyun-col {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.fengyun-col h3 {
  font-size: 16px;
  color: var(--pink);
  margin-bottom: 16px;
  font-weight: 600;
  text-align: center;
}

.fengyun-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px dashed #FFE8EF;
}

.fengyun-list li:last-child { border-bottom: none; }

.fengyun-list .rank-num {
  width: 20px;
  height: 20px;
  font-size: 11px;
}

.fengyun-list .cover-thumb {
  width: 32px;
  height: 42px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}

.fengyun-list .cover-thumb img {
  width: 100%;
  height: 100%;
}

.fengyun-list .title-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 原创精品 */
.original-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.original-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.original-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.original-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.original-cover img {
  width: 100%;
  height: 100%;
  transition: transform 0.3s;
}

.original-card:hover .original-cover img { transform: scale(1.05); }

.original-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--pink-deep);
  color: var(--white);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.original-info {
  padding: 12px;
}

.original-info h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.original-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}

.original-tags span {
  font-size: 11px;
  color: var(--pink);
  background: #FFF0F5;
  padding: 2px 6px;
  border-radius: 4px;
}

.original-desc {
  font-size: 12px;
  color: var(--text-light);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

/* 互动投票 */
.vote-section {
  background: linear-gradient(135deg, #FFE4EC 0%, #FFF0F5 100%);
  border-radius: var(--radius);
  padding: 30px;
  max-width: 1400px;
  margin: 0 auto 40px;
}

.vote-section .section-title {
  text-align: left;
  margin-bottom: 20px;
}

.vote-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vote-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 16px;
  cursor: pointer;
  transition: transform 0.3s;
  box-shadow: 0 2px 8px rgba(255, 107, 157, 0.08);
}

.vote-item:hover { transform: translateX(4px); }

.vote-header {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.vote-progress {
  height: 10px;
  background: #FFE8EF;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 6px;
}

.vote-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--pink) 0%, var(--orange-pink) 100%);
  border-radius: 5px;
  transition: width 0.5s ease;
}

.vote-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-light);
}

/* 大家都在说 */
.comments-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.comment-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comment-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 12px;
}

.comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FFE4EC;
  flex-shrink: 0;
  overflow: hidden;
}

.comment-avatar img { width: 100%; height: 100%; }

.comment-body { flex: 1; }

.comment-user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.comment-nick {
  font-size: 14px;
  font-weight: 600;
  color: var(--pink-deep);
}

.stars {
  color: #FFC107;
  font-size: 12px;
}

.comment-content {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 8px;
}

.comment-actions {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--text-light);
}

.comment-actions span { cursor: pointer; }
.comment-actions span:hover { color: var(--pink); }

.comment-sidebar {
  width: 300px;
}

.sidebar-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

.sidebar-box h3 {
  font-size: 16px;
  color: var(--pink-deep);
  margin-bottom: 12px;
  font-weight: 600;
}

.topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.topic-tags span {
  font-size: 12px;
  padding: 4px 12px;
  background: #FFF0F5;
  color: var(--pink);
  border-radius: 16px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.topic-tags span:hover {
  background: var(--pink);
  color: var(--white);
}

.god-comment-list li {
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px dashed #FFE8EF;
  color: var(--text);
  line-height: 1.5;
}

.god-comment-list li:last-child { border-bottom: none; }

/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 1400px;
  margin: 0 auto 40px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}

.faq-icon {
  font-size: 20px;
  color: var(--pink);
  transition: transform 0.3s;
  line-height: 1;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 20px;
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 200px;
}

.faq-answer p { padding-bottom: 16px; }

/* 多端下载 */
.download-section {
  max-width: 1400px;
  margin: 0 auto 40px;
  padding: 0 20px;
  text-align: center;
}

.phones-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.phone-shell {
  background: var(--white);
  border-radius: 20px;
  padding: 8px;
  box-shadow: var(--shadow);
  border: 4px solid #333;
  overflow: hidden;
}

.phone-shell img {
  width: 100%;
  border-radius: 14px;
  display: block;
}

.download-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.dl-btn {
  padding: 10px 24px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid var(--pink);
  color: var(--pink);
  background: var(--white);
  cursor: pointer;
  transition: all 0.3s;
}

.dl-btn:hover {
  background: var(--pink);
  color: var(--white);
}

.dl-btn.filled {
  background: var(--pink);
  color: var(--white);
}

.dl-btn.filled:hover {
  background: var(--pink-deep);
  border-color: var(--pink-deep);
}

/* 合作商 */
.partners-section {
  max-width: 1400px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.partners-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.partner-card {
  background: #FFF0F5;
  border-radius: var(--radius-sm);
  padding: 16px 30px;
  font-size: 14px;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.3s;
  border: 1px solid transparent;
}

.partner-card:hover {
  background: var(--white);
  border-color: var(--pink);
  color: var(--pink-deep);
  box-shadow: var(--shadow);
}

/* 页脚 */
.footer {
  background: #4A1A2E;
  color: #D9B8C6;
  padding: 40px 0 20px;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 15px;
  margin-bottom: 14px;
  font-weight: 600;
}

.footer-col li {
  font-size: 13px;
  margin-bottom: 8px;
  cursor: pointer;
}

.footer-col li:hover { color: var(--pink); }

.footer-bottom {
  max-width: 1400px;
  margin: 30px auto 0;
  padding: 20px 20px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 12px;
  color: #A67C8E;
}

.footer-bottom time { color: #A67C8E; }

/* 弹窗 */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active { display: flex; }

.modal-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  max-width: 500px;
  width: 90%;
  display: flex;
  gap: 20px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 22px;
  color: var(--text-light);
  cursor: pointer;
  line-height: 1;
}

.modal-img {
  width: 120px;
  height: 160px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.modal-img img { width: 100%; height: 100%; }

.modal-content { flex: 1; display: flex; flex-direction: column; gap: 10px; }

.modal-content h3 { font-size: 18px; color: var(--pink-deep); }

.modal-tag {
  display: inline-block;
  font-size: 12px;
  padding: 3px 10px;
  background: #FFF0F5;
  color: var(--pink);
  border-radius: 4px;
  width: fit-content;
}

.modal-tip {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
}

.copy-row {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.copy-row input {
  flex: 1;
  border: 1px solid #FFE8EF;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 13px;
  outline: none;
  background: #FFF5F8;
  color: var(--text);
}

.copy-btn {
  background: var(--pink);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.3s;
}

.copy-btn:hover { background: var(--pink-deep); }

/* 移动端固定悬浮栏 */
.mobile-float {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: var(--white);
  box-shadow: 0 -2px 10px rgba(255, 107, 157, 0.15);
  z-index: 90;
  padding: 0 16px;
  align-items: center;
  justify-content: space-between;
}

.mobile-float-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-float-text .small {
  font-size: 12px;
  color: var(--text-light);
}

.mobile-float-text .big {
  font-size: 15px;
  font-weight: 700;
  color: var(--pink-deep);
}

.mobile-float-btn {
  background: var(--pink);
  color: var(--white);
  border: none;
  border-radius: 20px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

/* 响应式 */
@media (max-width: 1024px) {
  .bento-grid { grid-template-columns: 2fr 1fr; height: 360px; }
  .bento-main { grid-row: 1 / 3; }
  .bento-item:nth-child(4) { display: none; }
  .comic-grid { grid-template-columns: repeat(4, 1fr); }
  .original-grid { grid-template-columns: repeat(3, 1fr); }
  .phones-grid { grid-template-columns: repeat(2, 1fr); }
  .fengyun-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
  .main-layout { grid-template-columns: 1fr 260px; }
  .comments-layout { grid-template-columns: 1fr 260px; }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .search-box { width: 200px; }
  .bento-grid { grid-template-columns: 1fr 1fr; height: auto; }
  .bento-main { grid-column: 1 / 3; grid-row: auto; min-height: 240px; }
  .bento-main h1 { font-size: 22px; }
  .comic-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .original-grid { grid-template-columns: repeat(2, 1fr); }
  .main-layout { grid-template-columns: 1fr; }
  .rank-sidebar { position: static; }
  .faq-layout { grid-template-columns: 1fr; }
  .comments-layout { grid-template-columns: 1fr; }
  .comment-sidebar { width: 100%; }
  .phones-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .modal-box { flex-direction: column; padding: 16px; max-width: 340px; }
  .modal-img { width: 100%; height: 200px; }
}

@media (max-width: 640px) {
  .header-inner { gap: 10px; padding: 0 12px; }
  .logo-text { font-size: 16px; }
  .logo-area img { height: 26px; }
  .search-box { flex: 1; width: auto; height: 34px; }
  .search-box button { padding: 0 12px; }
  .bento-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .bento-main { grid-column: 1 / 3; min-height: 200px; }
  .comic-grid { grid-template-columns: repeat(2, 1fr); }
  .original-grid { grid-template-columns: 1fr 1fr; }
  .section-inner { padding: 0 12px; }
  .main-layout { padding: 0 12px; }
  .banner-section { padding: 0 12px; margin: 16px auto; }
  .category-bar { padding: 0 12px; }
  .topic-banner { padding: 0 12px; }
  .topic-inner { padding: 24px 20px; }
  .topic-inner h2 { font-size: 22px; }
  .vote-section { margin: 0 12px 30px; padding: 20px; }
  .comments-layout { padding: 0 12px; }
  .faq-layout { padding: 0 12px; }
  .download-section { padding: 0 12px; }
  .partners-section { padding: 0 12px; }
  .footer-inner { padding: 0 12px; }
  .mobile-float { display: flex; }
  body { padding-bottom: 64px; }
  .modal-box { flex-direction: column; }
}