:root {
  --primary: #ff5a4d;
  --primary-dark: #e8463a;
  --accent: #ffc93c;
  --ink: #1e1b2e;
  --muted: #6b6880;
  --bg: #fdf7f4;
  --surface: #ffffff;
  --border: #efe7e2;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(30, 27, 46, 0.08);
  --shadow-hover: 0 18px 44px rgba(255, 90, 77, 0.22);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { font-family: "Noto Sans SC", "Baloo 2", system-ui, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.btn { font-family: inherit; font-weight: 700; border: none; border-radius: 999px; padding: 10px 22px; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; font-size: 15px; }
.btn:active { transform: scale(.96); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.16); color: #fff; border: 2px solid rgba(255,255,255,.55); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.28); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2c2842; transform: translateY(-2px); }
.btn-lg { padding: 14px 30px; font-size: 16px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(253, 247, 244, .82); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .25s ease, border-color .25s ease; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(30,27,46,.07); border-color: var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 6px; text-decoration: none; }
.logo-mark { font-family: "Baloo 2", sans-serif; background: var(--primary); color: #fff; font-weight: 800; font-size: 18px; padding: 4px 10px; border-radius: 12px; transform: rotate(-4deg); }
.logo-text { font-weight: 900; font-size: 22px; color: var(--ink); }
.main-nav { display: flex; gap: 6px; }
.nav-link { text-decoration: none; color: var(--muted); font-weight: 700; font-size: 15px; padding: 8px 14px; border-radius: 999px; transition: color .15s ease, background .15s ease; }
.nav-link:hover { color: var(--ink); background: rgba(255,90,77,.08); }
.nav-link.active { color: var(--primary); background: rgba(255,90,77,.12); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.search-box { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 8px 14px; color: var(--muted); transition: border-color .15s ease, box-shadow .15s ease; }
.search-box:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(255,90,77,.12); }
.search-box input { border: none; outline: none; background: transparent; font-family: inherit; font-size: 14px; width: 180px; color: var(--ink); }
.search-box input::placeholder { color: var(--muted); }
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.menu-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.hero { position: relative; min-height: 560px; display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 28%; transform: scale(1.05); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,27,46,.15) 0%, rgba(30,27,46,.55) 55%, rgba(253,247,244,.98) 100%); }
.hero-content { position: relative; padding-bottom: 56px; padding-top: 120px; max-width: 640px; }
.hero-tag { display: inline-block; background: var(--accent); color: var(--ink); font-weight: 700; font-size: 13px; padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }
.hero-title { font-size: clamp(38px, 6vw, 64px); font-weight: 900; color: #fff; line-height: 1.1; text-shadow: 0 4px 24px rgba(0,0,0,.35); text-wrap: balance; }
.hero-desc { color: rgba(255,255,255,.92); font-size: 17px; margin: 16px 0 20px; max-width: 520px; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.hero-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.pill { background: rgba(255,255,255,.2); color: #fff; border: 1px solid rgba(255,255,255,.4); padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; backdrop-filter: blur(4px); }
.rating { color: var(--accent); font-weight: 800; font-size: 16px; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.section { padding: 44px 0; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.section-title { font-size: 26px; font-weight: 900; letter-spacing: -.5px; }
.fire { font-size: 20px; }
.see-all { text-decoration: none; color: var(--primary); font-weight: 700; font-size: 15px; }
.see-all:hover { color: var(--primary-dark); }
.chip-row { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { font-family: inherit; font-weight: 700; font-size: 14px; background: var(--surface); color: var(--muted); border: 1.5px solid var(--border); border-radius: 999px; padding: 9px 18px; cursor: pointer; transition: all .15s ease; }
.chip:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.chip-active { background: var(--primary); color: #fff; border-color: var(--primary); }
.chip-active:hover { color: #fff; }
.comic-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.comic-card { cursor: pointer; }
.comic-cover { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; box-shadow: var(--shadow); background: var(--border); transition: transform .22s ease, box-shadow .22s ease; }
.comic-card:hover .comic-cover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.comic-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.badge { position: absolute; top: 10px; left: 10px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.badge.new { background: var(--accent); color: var(--ink); }
.cover-fade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.6)); opacity: 0; transition: opacity .2s ease; display: flex; align-items: flex-end; padding: 12px; }
.comic-card:hover .cover-fade { opacity: 1; }
.cover-fade span { color: #fff; font-size: 13px; font-weight: 600; }
.comic-info { padding: 10px 2px 0; }
.comic-name { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.comic-sub { color: var(--muted); font-size: 13px; margin-top: 2px; }
.ranking-section .container { background: var(--surface); border: 1px solid var(--border); border-radius: 26px; padding: 30px; box-shadow: var(--shadow); }
.ranking-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 40px; }
.rank-item { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 14px; cursor: pointer; transition: background .15s ease; }
.rank-item:hover { background: var(--bg); }
.rank-num { font-family: "Baloo 2", sans-serif; font-size: 26px; font-weight: 800; width: 38px; text-align: center; color: var(--muted); }
.rank-item:nth-child(1) .rank-num, .rank-item:nth-child(2) .rank-num, .rank-item:nth-child(3) .rank-num { color: var(--primary); }
.rank-thumb { width: 52px; height: 68px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.rank-meta { min-width: 0; }
.rank-name { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-tag { color: var(--muted); font-size: 13px; }
.rank-heat { margin-left: auto; color: var(--primary); font-weight: 700; font-size: 13px; white-space: nowrap; }
.cta { padding: 40px 0 60px; }
.cta-inner { background: linear-gradient(120deg, var(--primary), #ff8367); border-radius: 28px; padding: 40px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; box-shadow: var(--shadow-hover); }
.cta-title { font-size: 28px; font-weight: 900; }
.cta-desc { opacity: .95; margin-top: 6px; }
.cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.site-footer { background: var(--ink); color: #cfc9dd; padding: 48px 0 24px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand { max-width: 300px; }
.footer-brand .logo-text { color: #fff; }
.footer-brand p { margin-top: 12px; font-size: 14px; color: #9a94ad; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.footer-col a { display: block; text-decoration: none; color: #9a94ad; font-size: 14px; margin-bottom: 8px; transition: color .15s ease; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; color: #7c7690; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.pixel-only { display: none !important; }
.back-top { display: none; }
@media (max-width: 980px) { .comic-grid { grid-template-columns: repeat(4, 1fr); } .search-box input { width: 120px; } }
@media (max-width: 820px) { .main-nav { position: fixed; top: 68px; left: 0; right: 0; flex-direction: column; gap: 4px; background: var(--surface); padding: 16px 20px; border-bottom: 1px solid var(--border); transform: translateY(-140%); transition: transform .3s ease; box-shadow: var(--shadow); } .main-nav.open { transform: translateY(0); } .menu-toggle { display: flex; } .search-box { display: none; } .btn-login { display: none; } .comic-grid { grid-template-columns: repeat(3, 1fr); } .ranking-list { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .comic-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } .hero { min-height: 480px; } .hero-content { padding-bottom: 40px; } .section-title { font-size: 22px; } .cta-inner { padding: 28px; } }

body.pixel-front {
  --bg: #0f0f23;
  --surface: #1b1b38;
  --surface-2: #24244a;
  --ink: #f2eeda;
  --muted: #8f8cb0;
  --primary: #8cf24c;
  --primary-dark: #68d62e;
  --primary-ink: #0f0f23;
  --accent: #ff4fa3;
  --warning: #ffd84d;
  --border: #34345c;
  --line: #34345c;
  --radius: 0;
  --px-shadow: 4px 4px 0 #000;
  --shadow: var(--px-shadow);
  --shadow-hover: 7px 7px 0 #000, 0 0 0 3px var(--primary);
  min-width: 320px;
  font-family: "DotGothic16", "PingFang SC", "Microsoft YaHei", monospace;
  color: var(--ink);
  background: var(--bg);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px;
  background-attachment: fixed;
}

body.pixel-front::after { content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; background: repeating-linear-gradient(to bottom, transparent 0, transparent 3px, rgba(0,0,0,.14) 3px, rgba(0,0,0,.14) 4px); }
body.pixel-front img { image-rendering: pixelated; }
body.pixel-front .legacy-only { display: none !important; }
body.pixel-front .pixel-only { display: inline !important; }
body.pixel-front a.pixel-only { display: inline-flex !important; }
body.pixel-front .container { max-width: 1200px; }

body.pixel-front .btn,
body.pixel-front .btn-primary,
body.pixel-front .btn-ghost,
body.pixel-front .btn-dark,
body.pixel-front .wallet-btn,
body.pixel-front .channel-btn,
body.pixel-front .btnphonecodeget {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 3px solid #000 !important;
  border-radius: 0 !important;
  padding: 10px 18px;
  font-family: "Press Start 2P", "DotGothic16", monospace;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  box-shadow: var(--px-shadow);
  transition: transform .08s steps(2), box-shadow .08s steps(2), background .1s steps(2), color .1s steps(2);
}
body.pixel-front .btn:active,
body.pixel-front .btn-primary:active,
body.pixel-front .btn-ghost:active,
body.pixel-front .btn-dark:active,
body.pixel-front .wallet-btn:active,
body.pixel-front .channel-btn:active,
body.pixel-front .btnphonecodeget:active { transform: translate(4px, 4px); box-shadow: 0 0 0 #000; }
body.pixel-front .btn-primary,
body.pixel-front .wallet-btn,
body.pixel-front .channel-btn { background: var(--primary) !important; color: var(--primary-ink) !important; }
body.pixel-front .btn-primary:hover,
body.pixel-front .wallet-btn:hover,
body.pixel-front .channel-btn:hover { background: var(--accent) !important; color: #fff !important; }
body.pixel-front .btn-dark { background: var(--accent) !important; color: #fff !important; }
body.pixel-front .btn-dark:hover { background: var(--primary) !important; color: var(--primary-ink) !important; }
body.pixel-front .btn-ghost,
body.pixel-front .btnphonecodeget { background: transparent !important; color: var(--ink) !important; border-color: var(--ink) !important; }
body.pixel-front .btn-ghost:hover,
body.pixel-front .btnphonecodeget:hover { color: var(--primary) !important; border-color: var(--primary) !important; }
body.pixel-front .btn-lg { padding: 14px 26px; font-size: 13px; }

body.pixel-front .site-header { background: var(--bg); border-bottom: 3px solid #000; backdrop-filter: none; }
body.pixel-front .site-header.scrolled { box-shadow: 0 4px 0 #000; }
body.pixel-front .header-inner { min-height: 72px; height: auto; }
body.pixel-front .logo { gap: 10px; min-width: 0; }
body.pixel-front .logo-mark { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; flex-shrink: 0; background: var(--primary); color: var(--primary-ink); border: 3px solid #000; border-radius: 0; box-shadow: 3px 3px 0 var(--accent); transform: none; font-family: "Press Start 2P", "DotGothic16", monospace; font-size: 13px; line-height: 1; }
body.pixel-front .logo-text { color: var(--ink); font-family: "Press Start 2P", "DotGothic16", monospace; font-size: 13px; font-weight: 400; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.pixel-front .logo-text em { color: var(--primary); font-style: normal; font-size: .72em; vertical-align: super; }
body.pixel-front .main-nav { align-items: center; gap: 4px; margin-inline: auto; }
body.pixel-front .nav-link { display: inline-flex; align-items: center; padding: 8px 12px; border: 2px solid transparent; border-radius: 0; color: var(--muted); font-family: "Press Start 2P", "DotGothic16", monospace; font-size: 10px; font-weight: 400; transition: color .1s steps(2), border-color .1s steps(2), background .1s steps(2); }
body.pixel-front .nav-link:hover { color: var(--primary); border-color: var(--primary); background: transparent; }
body.pixel-front .nav-link.active { color: var(--primary-ink); background: var(--primary); border-color: #000; box-shadow: 2px 2px 0 #000; }
body.pixel-front .search-box { border: 3px solid var(--line); border-radius: 0; background: var(--surface); box-shadow: none; color: var(--muted); padding: 7px 12px; }
body.pixel-front .search-box:focus-within { border-color: var(--primary); box-shadow: none; }
body.pixel-front .search-box input { background: transparent !important; border: 0 !important; color: var(--ink) !important; font-family: inherit; font-size: 15px; }
body.pixel-front .menu-toggle span { height: 3px; border-radius: 0; background: var(--ink); }

body.pixel-front .hero { min-height: 76vh; border-bottom: 3px solid #000; color: var(--ink); }
body.pixel-front .home-hero { min-height: clamp(420px, 52vh, 560px); }
body.pixel-front .hero-bg { background-position: center; transform: none; }
body.pixel-front .home-hero .hero-bg { background-position: top; }
body.pixel-front .hero-bg::after,
body.pixel-front .hero-overlay { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,15,35,.94) 0%, rgba(15,15,35,.48) 56%, rgba(15,15,35,.12) 100%); }
body.pixel-front .hero-content { width: 100%; max-width: 1200px; padding-top: 130px; padding-bottom: 86px; }
body.pixel-front .home-hero .hero-content { padding-top: 96px; padding-bottom: 64px; }
body.pixel-front .hero-tag,
body.pixel-front .badge,
body.pixel-front .card-tag { display: inline-flex; align-items: center; width: max-content; background: var(--accent); color: #fff; border: 2px solid #000; border-radius: 0; padding: 7px 10px; font-family: "Press Start 2P", "DotGothic16", monospace; font-size: 9px; font-weight: 400; line-height: 1.2; box-shadow: 2px 2px 0 #000; }
body.pixel-front .badge.new,
body.pixel-front .card-tag.tag-new { background: var(--primary); color: var(--primary-ink); }
body.pixel-front .hero-title { margin-top: 18px; max-width: 760px; color: var(--ink); font-family: "Press Start 2P", "DotGothic16", monospace; font-size: clamp(28px, 5.4vw, 58px); font-weight: 400; line-height: 1.35; letter-spacing: .02em; text-shadow: 4px 4px 0 #000; }
body.pixel-front .hero-title::after { content: "_"; color: var(--primary); animation: pixelBlink 1s steps(2) infinite; }
body.pixel-front .hero-desc { margin-top: 18px; max-width: 620px; color: rgba(242,238,218,.88); font-size: 18px; text-shadow: none; }
body.pixel-front .hero-meta { margin-top: 18px; margin-bottom: 24px; }
body.pixel-front .pill { background: var(--surface); color: var(--ink); border: 2px solid var(--line); border-radius: 0; padding: 5px 10px; font-size: 14px; backdrop-filter: none; }
body.pixel-front .rating { color: var(--primary); font-family: "Press Start 2P", "DotGothic16", monospace; font-size: 11px; }

body.pixel-front .pixel-marquee { overflow: hidden; background: var(--primary); color: var(--primary-ink); border-top: 3px solid #000; border-bottom: 3px solid #000; padding: 10px 0; }
body.pixel-front .pixel-marquee-track { display: flex; width: max-content; gap: 30px; font-family: "Press Start 2P", "DotGothic16", monospace; font-size: 11px; white-space: nowrap; animation: pixelScroll 26s steps(240) infinite; }
@keyframes pixelBlink { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@keyframes pixelScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

body.pixel-front .section { padding: 58px 0 18px; }
body.pixel-front .section-head { align-items: flex-end; gap: 18px; margin-bottom: 26px; }
body.pixel-front .section-title,
body.pixel-front .section-head h2,
body.pixel-front .cta-title,
body.pixel-front .neo-page-title,
body.pixel-front .vip-box-title { color: var(--ink); font-family: "Press Start 2P", "DotGothic16", monospace; font-size: clamp(18px, 2.6vw, 26px); font-weight: 400; line-height: 1.5; }
body.pixel-front .section-title::before,
body.pixel-front .section-head h2::before,
body.pixel-front .vip-box-title::before { content: "▶ "; color: var(--accent); }
body.pixel-front .section-sub,
body.pixel-front .cta-desc,
body.pixel-front .see-all,
body.pixel-front .neo-page-kicker { color: var(--muted); }
body.pixel-front .see-all:hover { color: var(--primary); }
body.pixel-front .fire { color: var(--primary); }
body.pixel-front .chip-row,
body.pixel-front .chips { display: flex; flex-wrap: wrap; gap: 12px; }
body.pixel-front .chip { border: 3px solid var(--line); border-radius: 0; background: var(--surface); color: var(--muted); padding: 8px 14px; font-family: "Press Start 2P", "DotGothic16", monospace; font-size: 10px; font-weight: 400; transition: color .1s steps(2), border-color .1s steps(2), background .1s steps(2), transform .1s steps(2); }
body.pixel-front .chip:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
body.pixel-front .chip-active,
body.pixel-front .chip.active { background: var(--primary); color: var(--primary-ink); border-color: #000; box-shadow: 3px 3px 0 #000; }

body.pixel-front .comic-grid,
body.pixel-front .grid { grid-template-columns: repeat(5, 1fr); gap: 24px; }
body.pixel-front .comic-card,
body.pixel-front .card { display: block; background: var(--surface); border: 3px solid #000; box-shadow: var(--px-shadow); overflow: hidden; transition: transform .1s steps(2), box-shadow .1s steps(2); }
body.pixel-front .comic-card:hover,
body.pixel-front .card:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-hover); }
body.pixel-front .comic-cover,
body.pixel-front .card-cover { border-radius: 0; border-bottom: 3px solid #000; box-shadow: none; background: var(--surface-2); }
body.pixel-front .comic-card:hover .comic-cover { transform: none; box-shadow: none; }
body.pixel-front .comic-cover .badge,
body.pixel-front .card-cover .badge,
body.pixel-front .card-cover .card-tag { position: absolute; top: 10px; left: 10px; z-index: 2; }
body.pixel-front .cover-fade { background: linear-gradient(to top, rgba(15,15,35,.88), transparent 58%); transition: opacity .1s steps(2); }
body.pixel-front .cover-fade span { color: var(--primary); font-family: "Press Start 2P", "DotGothic16", monospace; font-size: 10px; }
body.pixel-front .comic-info,
body.pixel-front .card-body { padding: 14px 14px 16px; }
body.pixel-front .comic-name,
body.pixel-front .card-title { color: var(--ink); font-size: 18px; font-weight: 700; line-height: 1.35; }
body.pixel-front .comic-sub,
body.pixel-front .card-meta { margin-top: 6px; color: var(--muted); font-size: 14px; }
body.pixel-front .home-comic-grid { align-items: stretch; }
body.pixel-front .home-empty-card { display: none; }
body.pixel-front .home-comic-grid .comic-card:first-child:nth-last-child(2) { display: grid; grid-template-columns: 220px minmax(0, 1fr); grid-column: span 3; min-height: 310px; }
body.pixel-front .home-comic-grid .comic-card:first-child:nth-last-child(2) .comic-cover { aspect-ratio: auto; border-right: 3px solid #000; border-bottom: 0; }
body.pixel-front .home-comic-grid .comic-card:first-child:nth-last-child(2) .comic-info { display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; }
body.pixel-front .home-comic-grid .comic-card:first-child:nth-last-child(2) .comic-name { font-family: "Press Start 2P", "DotGothic16", monospace; font-size: 24px; font-weight: 400; line-height: 1.5; white-space: normal; }
body.pixel-front .home-empty-card,
body.pixel-front .rank-empty-card { position: relative; overflow: hidden; background: var(--surface); border: 3px solid #000; box-shadow: var(--px-shadow); color: var(--ink); }
body.pixel-front .home-comic-grid .comic-card:first-child:nth-last-child(2) + .home-empty-card { grid-column: span 2; min-height: 310px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; }
body.pixel-front .home-empty-card::before { content: ""; position: absolute; inset: 18px; border: 3px dashed var(--line); opacity: .9; }
body.pixel-front .home-empty-card::after { content: "READY?"; position: absolute; right: -12px; bottom: 18px; color: var(--primary); font-family: "Press Start 2P", "DotGothic16", monospace; font-size: 44px; opacity: .12; transform: rotate(-8deg); }
body.pixel-front .home-empty-kicker { position: relative; z-index: 1; width: max-content; background: var(--primary); color: var(--primary-ink); border: 2px solid #000; padding: 6px 9px; box-shadow: 2px 2px 0 #000; font-family: "Press Start 2P", "DotGothic16", monospace; font-size: 9px; }
body.pixel-front .home-empty-card h3 { position: relative; z-index: 1; font-family: "Press Start 2P", "DotGothic16", monospace; font-size: 22px; font-weight: 400; line-height: 1.6; }
body.pixel-front .home-empty-card p { position: relative; z-index: 1; color: var(--muted); font-size: 16px; max-width: 320px; }
body.pixel-front .home-empty-pixels { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(6, 18px); gap: 8px; }
body.pixel-front .home-empty-pixels i { display: block; width: 18px; height: 18px; background: var(--line); border: 2px solid #000; }
body.pixel-front .home-empty-pixels i:nth-child(2),
body.pixel-front .home-empty-pixels i:nth-child(5) { background: var(--accent); }
body.pixel-front .home-empty-pixels i:nth-child(3) { background: var(--primary); }

body.pixel-front .ranking-section .container,
body.pixel-front .pixel-card,
body.pixel-front .neo-panel,
body.pixel-front .box,
body.pixel-front .news-info,
body.pixel-front .news-list,
body.pixel-front .hot-news,
body.pixel-front .new-book,
body.pixel-front .legal-card,
body.pixel-front .auth-card { background: var(--surface) !important; border: 3px solid #000 !important; border-radius: 0 !important; box-shadow: var(--px-shadow) !important; }
body.pixel-front .ranking-section .container { padding: 30px; }
body.pixel-front .ranking-list,
body.pixel-front .rank-list { grid-template-columns: repeat(2, 1fr); gap: 16px; }
body.pixel-front .rank-item { border: 3px solid var(--line); border-radius: 0; background: var(--surface); color: var(--ink); padding: 12px; transition: transform .1s steps(2), border-color .1s steps(2); }
body.pixel-front .rank-item:hover { transform: translateX(6px); border-color: var(--primary); background: var(--surface); }
body.pixel-front .rank-num { width: 42px; color: var(--muted); font-family: "Press Start 2P", "DotGothic16", monospace; font-size: 15px; font-weight: 400; }
body.pixel-front .rank-item:nth-child(1) .rank-num { color: var(--primary); }
body.pixel-front .rank-item:nth-child(2) .rank-num { color: var(--accent); }
body.pixel-front .rank-item:nth-child(3) .rank-num { color: var(--warning); }
body.pixel-front .rank-thumb { width: 54px; height: 70px; border: 2px solid #000; border-radius: 0; }
body.pixel-front .rank-name,
body.pixel-front .rank-info h3 { color: var(--ink); font-size: 17px; }
body.pixel-front .rank-tag,
body.pixel-front .rank-info p { color: var(--muted); font-size: 14px; }
body.pixel-front .rank-heat { color: var(--accent); font-family: "Press Start 2P", "DotGothic16", monospace; font-size: 10px; font-weight: 400; }
body.pixel-front .home-rank-list .rank-item:first-child:nth-last-child(2) { min-height: 96px; }
body.pixel-front .rank-empty-card { display: none; }
body.pixel-front .home-rank-list .rank-item:first-child:nth-last-child(2) + .rank-empty-card { display: grid; }
body.pixel-front .rank-empty-card { padding: 18px 22px; grid-template-columns: max-content minmax(0, 1fr); align-items: center; gap: 10px 18px; border-color: var(--line); }
body.pixel-front .rank-empty-card span { grid-row: span 2; width: 56px; height: 56px; display: grid; place-items: center; background: var(--accent); color: #fff; border: 3px solid #000; box-shadow: 3px 3px 0 #000; font-family: "Press Start 2P", "DotGothic16", monospace; font-size: 8px; line-height: 1.5; text-align: center; }
body.pixel-front .rank-empty-card strong { color: var(--primary); font-family: "Press Start 2P", "DotGothic16", monospace; font-size: 12px; font-weight: 400; }
body.pixel-front .rank-empty-card p { color: var(--muted); font-size: 14px; }

body.pixel-front .cta-inner,
body.pixel-front .cta-banner { position: relative; overflow: hidden; background: var(--surface); border: 3px solid #000; border-radius: 0; box-shadow: 6px 6px 0 var(--accent); padding: 42px; }
body.pixel-front .cta-inner::before,
body.pixel-front .cta-banner::before { content: "►"; position: absolute; right: -16px; top: -42px; color: var(--primary); font-size: 130px; opacity: .16; line-height: 1; }
body.pixel-front .site-footer { margin-top: 64px; background: var(--surface); color: var(--ink); border-top: 3px solid #000; padding: 0; }
body.pixel-front .footer-inner { padding-top: 44px; padding-bottom: 26px; }
body.pixel-front .footer-brand .logo-text { color: var(--ink); }
body.pixel-front .footer-brand p { color: var(--muted); }
body.pixel-front .footer-col h4 { color: var(--primary); font-family: "Press Start 2P", "DotGothic16", monospace; font-size: 11px; font-weight: 400; }
body.pixel-front .footer-col a { color: var(--muted); }
body.pixel-front .footer-col a:hover { color: var(--primary); }
body.pixel-front .footer-bottom { margin-top: 0; padding: 18px 20px 26px; border-top: 3px solid #000; color: var(--muted); }
body.pixel-front .footer-bottom a { color: var(--muted) !important; }
body.pixel-front .back-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: block; width: 48px; height: 48px; border: 3px solid #000; background: var(--primary); color: var(--primary-ink); box-shadow: var(--px-shadow); font-family: "Press Start 2P", "DotGothic16", monospace; }
body.pixel-front .back-top[hidden] { display: none; }

body.pixel-front input[type="text"],
body.pixel-front input[type="password"],
body.pixel-front input[type="search"],
body.pixel-front input[type="email"],
body.pixel-front input[type="number"],
body.pixel-front textarea,
body.pixel-front select { border: 3px solid var(--line) !important; border-radius: 0 !important; background: var(--bg) !important; color: var(--ink) !important; outline: 0 !important; }
body.pixel-front input:focus,
body.pixel-front textarea:focus,
body.pixel-front select:focus { border-color: var(--primary) !important; }
body.pixel-front input::placeholder,
body.pixel-front textarea::placeholder { color: var(--muted); }
body.pixel-front .auth-card { padding: 34px !important; }
body.pixel-front .auth-card p { color: var(--muted) !important; }
body.pixel-front .auth-card a { color: var(--primary) !important; }
body.pixel-front .auth-card form { display: flex; flex-direction: column; gap: 16px; }
body.pixel-front .legal-card { padding: 34px !important; color: var(--ink); }
body.pixel-front .legal-card p,
body.pixel-front .legal-card span { background: transparent !important; color: var(--ink) !important; font-family: "DotGothic16", "PingFang SC", "Microsoft YaHei", monospace !important; font-size: 15px !important; line-height: 1.9 !important; }
body.pixel-front .legal-card img { border: 3px solid #000; border-radius: 0 !important; box-shadow: var(--px-shadow); }

body.pixel-front .pixel-layout { padding-top: 46px; }
body.pixel-front .pixel-columns { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 30px; }
body.pixel-front .pixel-stack { display: flex; flex-direction: column; gap: 24px; }
body.pixel-front .pixel-card { padding: 24px; }
body.pixel-front .pixel-card-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
body.pixel-front .chapter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; list-style: none; }
body.pixel-front .chapter-grid li { min-width: 0; display: flex; align-items: center; gap: 6px; }
body.pixel-front .chapter-grid a { display: block; min-width: 0; width: 100%; padding: 10px 12px; border: 3px solid var(--line); background: var(--bg); color: var(--ink); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.pixel-front .chapter-grid a:hover { border-color: var(--primary); color: var(--primary); }
body.pixel-front .comment-list,
body.pixel-front .side-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
body.pixel-front .comment-item { display: flex; gap: 12px; }
body.pixel-front .comment-avatar { width: 42px; height: 42px; flex-shrink: 0; border: 3px solid #000; object-fit: cover; }
body.pixel-front .comment-input { width: 100%; min-height: 96px; padding: 12px; resize: vertical; }
body.pixel-front .side-list a { display: flex; gap: 12px; min-width: 0; }
body.pixel-front .side-list img { width: 48px; height: 62px; flex-shrink: 0; border: 2px solid #000; object-fit: cover; }
body.pixel-front .side-list-title { color: var(--ink); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.pixel-front .side-list-desc { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

body.pixel-front .article,
body.pixel-front .neo-article-layout { background: transparent !important; padding: 44px 0 !important; }
body.pixel-front .bread,
body.pixel-front .wrap { width: 100% !important; max-width: 1200px; margin: 0 auto !important; padding-left: 20px !important; padding-right: 20px !important; }
body.pixel-front .bread { height: auto !important; color: var(--muted) !important; text-indent: 0 !important; }
body.pixel-front .bread a { color: var(--primary) !important; }
body.pixel-front .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; }
body.pixel-front .news-info,
body.pixel-front .news-list,
body.pixel-front .side-bar { float: none !important; width: auto !important; margin-left: 0 !important; }
body.pixel-front .news-info,
body.pixel-front .news-list { padding: 30px !important; }
body.pixel-front .news-info .title h1,
body.pixel-front .news-list h2,
body.pixel-front .side-bar h3 { color: var(--ink) !important; font-family: "Press Start 2P", "DotGothic16", monospace; font-size: 18px !important; line-height: 1.6 !important; }
body.pixel-front .news-info .title p,
body.pixel-front .news-list .info,
body.pixel-front .news-list .text,
body.pixel-front .side-bar p { color: var(--muted) !important; }
body.pixel-front .news-info .description,
body.pixel-front .news-info .book { background: var(--bg) !important; border: 3px solid var(--line) !important; color: var(--ink) !important; }
body.pixel-front .news-info .description { padding: 18px; margin-top: 22px; }
body.pixel-front .news-info .content { color: var(--ink) !important; }
body.pixel-front .news-info .book { margin-top: 28px; padding: 18px; }
body.pixel-front .news-info .book dl { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 18px; align-items: center; }
body.pixel-front .news-info .book dt,
body.pixel-front .news-info .book dd { float: none !important; width: auto !important; height: auto !important; margin: 0 !important; padding: 0 !important; border: 0 !important; }
body.pixel-front .news-info .book dt img { width: 110px; height: 146px; border: 3px solid #000; object-fit: cover; }
body.pixel-front .news-info .book dd h4 { font-size: 20px; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.pixel-front .news-info .book dd .info,
body.pixel-front .news-info .book dd .intro { color: var(--muted); margin-top: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.pixel-front .news-info .book dd .star { display: none !important; }
body.pixel-front .news-info a,
body.pixel-front .news-list a,
body.pixel-front .side-bar a { color: var(--ink) !important; }
body.pixel-front .news-info a:hover,
body.pixel-front .news-list a:hover,
body.pixel-front .side-bar a:hover { color: var(--primary) !important; }
body.pixel-front .news-info .book dd .view { background: var(--primary) !important; color: var(--primary-ink) !important; border: 3px solid #000; box-shadow: var(--px-shadow); }
body.pixel-front .news-info .book dd .view { position: static !important; display: inline-flex !important; width: auto !important; height: auto !important; line-height: 1.2 !important; margin-top: 14px; padding: 10px 18px; font-family: "Press Start 2P", "DotGothic16", monospace; font-size: 11px !important; }
body.pixel-front .side-bar { display: flex; flex-direction: column; gap: 20px; }
body.pixel-front .hot-news,
body.pixel-front .new-book { padding: 22px !important; }
body.pixel-front .hot-news ul,
body.pixel-front .new-book ul,
body.pixel-front .news-list ul { list-style: none; }
body.pixel-front .news-list li { border-top: 3px solid var(--line); padding: 18px 0; }
body.pixel-front .news-list .tit { font-size: 18px; line-height: 1.5; }
body.pixel-front .news-list .text { margin-top: 8px; }
body.pixel-front .hot-news li { border-top: 2px solid var(--line); padding: 10px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.pixel-front .new-book li { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 12px; align-items: center; border-top: 2px solid var(--line); padding: 12px 0; }
body.pixel-front .new-book .pic { grid-row: span 2; }
body.pixel-front .new-book .pic img { width: 60px; height: 80px; border: 2px solid #000; object-fit: cover; }
body.pixel-front .new-book h5,
body.pixel-front .new-book p { min-width: 0; margin: 0 !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.pixel-front .pagination,
body.pixel-front .page-pagination ul { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; list-style: none; }
body.pixel-front .pagination a,
body.pixel-front .page-pagination a { display: inline-flex; min-width: 34px; min-height: 34px; align-items: center; justify-content: center; border: 3px solid var(--line); background: var(--surface); color: var(--ink); padding: 4px 10px; }
body.pixel-front .pagination a.active,
body.pixel-front .page-pagination a.active { background: var(--primary); color: var(--primary-ink); border-color: #000; }

@media (max-width: 1080px) { body.pixel-front .comic-grid, body.pixel-front .grid { grid-template-columns: repeat(4, 1fr); } body.pixel-front .home-comic-grid .comic-card:first-child:nth-last-child(2), body.pixel-front .home-empty-card { grid-column: span 2; } body.pixel-front .pixel-columns, body.pixel-front .wrap { grid-template-columns: 1fr; } }
@media (max-width: 860px) { body.pixel-front .header-inner { min-height: 68px; } body.pixel-front .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 14px 20px; background: var(--surface); border-bottom: 3px solid #000; flex-direction: column; align-items: stretch; transform: none; } body.pixel-front .main-nav.open { display: flex; } body.pixel-front .menu-toggle { display: flex; } body.pixel-front .search-box { display: none; } body.pixel-front .btn-login { display: none; } body.pixel-front .comic-grid, body.pixel-front .grid { grid-template-columns: repeat(3, 1fr); } body.pixel-front .chapter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } body.pixel-front .ranking-list, body.pixel-front .rank-list { grid-template-columns: 1fr; } }
@media (max-width: 860px) { body.pixel-front .home-comic-grid .comic-card:first-child:nth-last-child(2), body.pixel-front .home-empty-card { grid-column: 1 / -1; } }
@media (max-width: 560px) { body.pixel-front .container { padding: 0 14px; } body.pixel-front .logo-text { font-size: 11px; } body.pixel-front .hero { min-height: 66vh; } body.pixel-front .hero-content { padding-bottom: 60px; } body.pixel-front .hero-desc { font-size: 16px; } body.pixel-front .comic-grid, body.pixel-front .grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } body.pixel-front .home-comic-grid .comic-card:first-child:nth-last-child(2) { grid-template-columns: 1fr; } body.pixel-front .home-comic-grid .comic-card:first-child:nth-last-child(2) .comic-cover { aspect-ratio: 3 / 4; border-right: 0; border-bottom: 3px solid #000; } body.pixel-front .home-empty-card { min-height: 260px; } body.pixel-front .chapter-grid { grid-template-columns: 1fr; } body.pixel-front .section { padding-top: 42px; } body.pixel-front .section-head { align-items: flex-start; flex-direction: column; } body.pixel-front .cta-inner, body.pixel-front .cta-banner { padding: 28px; } body.pixel-front .footer-cols { gap: 28px; } }
@media (max-width: 560px) { body.pixel-front .news-info .book dl { grid-template-columns: 1fr; } body.pixel-front .news-info .book dt img { width: 120px; height: 160px; } }
@media (prefers-reduced-motion: reduce) { body.pixel-front *, body.pixel-front *::before, body.pixel-front *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
