/* ============================================================
   石榴萌格 · 潮玩 IP 官网（憋笑果 × 16 籽）
   ============================================================ */
:root {
  --pink: #ff6b9d;
  --pink-deep: #e04a7a;
  --pink-100: #ffe9f1;
  --purple: #b06ab3;
  --ink: #3d2b35;
  --text-main: #3d2b35;
  --text-sub: #8a7fa0;
  --white: #ffffff;
  --radius: 22px;
  --shadow-soft: 0 6px 24px rgba(224, 74, 122, .10);
  --shadow-hover: 0 16px 44px rgba(224, 74, 122, .22);
  --grad-pink: linear-gradient(120deg, #ff9eb5, #ff6b9d, #b06ab3);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: linear-gradient(180deg, #fff5f8 0%, #ffeef4 40%, #fdf3f7 100%);
  color: var(--ink);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block; padding: 12px 26px; border: none; border-radius: 999px;
  font-size: 15px; font-weight: 700; cursor: pointer; font-family: inherit;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-pink { background: var(--grad-pink); color: #fff; box-shadow: 0 8px 22px rgba(224,74,122,.32); }
.btn-pink:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(224,74,122,.42); }
.btn-ghost { background: #fff; color: var(--pink-deep); border: 2px solid var(--pink); }
.btn-ghost:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.btn-lg { padding: 15px 34px; font-size: 16px; }

/* ---------- 导航 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(224, 74, 122, .12);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; gap: 20px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; color: var(--ink); }
.nav-logo-img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.logo-accent { color: var(--pink-deep); }
.nav-links { list-style: none; display: flex; gap: 6px; margin-left: auto; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--text-main); transition: background .2s;
}
.nav-links a:hover { background: var(--pink-100); color: var(--pink-deep); }
.nav-cta { margin-left: 6px; padding: 10px 20px; font-size: 14px; }
.nav-toggle {
  display: none; border: none; background: var(--pink-100); color: var(--pink-deep);
  width: 40px; height: 40px; border-radius: 12px; font-size: 18px; cursor: pointer;
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 130px; overflow: hidden; }
.hero-glow {
  position: absolute; top: -180px; right: -120px; width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(255, 155, 190, .35), transparent 65%);
  border-radius: 50%; pointer-events: none;
}
.hero-glow::after {
  content: ""; position: absolute; left: -320px; top: 120px; width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(176, 106, 179, .22), transparent 65%);
  border-radius: 50%;
}
.hero-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 48px; position: relative; z-index: 2;
}
.hero-text { flex: 1.15; }
.hero-tag {
  display: inline-block; padding: 6px 16px; border-radius: 999px;
  background: var(--pink-100); color: var(--pink-deep); font-size: 13px; font-weight: 700;
  margin-bottom: 18px;
}
.hero h1 { font-size: 62px; line-height: 1.12; font-weight: 900; letter-spacing: 2px; }
.hero-en {
  display: block; font-size: 26px; font-weight: 800; letter-spacing: 6px;
  background: var(--grad-pink); -webkit-background-clip: text; background-clip: text;
  color: transparent; margin-top: 8px;
}
.hero-slogan { margin: 20px 0 30px; font-size: 17px; line-height: 2; color: var(--text-sub); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; margin-top: 44px; }
.hero-stat b { font-size: 34px; font-weight: 900; color: var(--pink-deep); display: block; }
.hero-stat span { font-size: 13px; color: var(--text-sub); }
.hero-art { flex: 1; position: relative; display: flex; justify-content: center; }
.hero-mascot {
  width: min(360px, 86%); aspect-ratio: 3/4; object-fit: cover;
  border-radius: 32px; border: 6px solid #fff;
  box-shadow: 0 24px 56px rgba(224, 74, 122, .30);
  animation: float 5s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.hero-art-bubble {
  position: absolute; top: 14%; left: -12%;
  background: #fff; border: 2px solid var(--pink); color: var(--pink-deep);
  padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 700;
  box-shadow: var(--shadow-soft); animation: float 4s ease-in-out infinite;
  white-space: nowrap; z-index: 2;
}
.hero-art-bubble.b2 { top: auto; bottom: 12%; right: -12%; left: auto; animation-delay: 1.2s; font-size: 12px; z-index: 2; }
.hero-wave {
  position: absolute; bottom: -2px; left: 0; right: 0; height: 90px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 90' preserveAspectRatio='none'%3E%3Cpath d='M0 50 Q 150 10 300 45 T 600 45 T 900 45 T 1200 45 L 1200 90 L 0 90 Z' fill='%23fff5f8'/%3E%3C/svg%3E") bottom / cover no-repeat;
  pointer-events: none;
}

/* ---------- Section 通用 ---------- */
.section { padding: 96px 0; position: relative; }
.section-alt { background: rgba(255, 255, 255, .55); }
.section-head { text-align: center; margin-bottom: 52px; }
.section-emoji { font-size: 42px; display: block; margin-bottom: 10px; }
.section-head h2 { font-size: 36px; font-weight: 900; letter-spacing: 1px; }
.section-sub { color: var(--text-sub); margin-top: 10px; font-size: 14px; letter-spacing: 1px; }

/* ---------- 角色天团 ---------- */
.group-tabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 34px; }
.group-tab {
  padding: 9px 22px; border-radius: 999px; border: 2px solid transparent;
  background: #fff; font-size: 14px; font-weight: 700; cursor: pointer;
  box-shadow: var(--shadow-soft); transition: all .2s; font-family: inherit;
}
.group-tab:hover { transform: translateY(-2px); }
.group-tab.active { color: #fff; border-color: #fff; box-shadow: var(--shadow-hover); }
.cast-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cast-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-soft); border: 1px solid var(--pink-100);
  cursor: pointer; transition: transform .3s, box-shadow .3s; position: relative;
}
.cast-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.cast-img {
  aspect-ratio: 3/4; display: flex; align-items: center; justify-content: center;
  padding: 14px; background: linear-gradient(160deg, #fff5f8, #ffe9f1);
}
.cast-img img { max-height: 100%; width: auto; object-fit: contain; }
.cast-info { padding: 14px 16px; }
.cast-code { font-size: 12px; font-weight: 800; letter-spacing: 1px; opacity: .75; }
.cast-nick { font-size: 17px; font-weight: 800; margin: 4px 0 2px; }
.cast-name { font-size: 12px; color: var(--text-sub); }

/* ---------- 周边橱窗 ---------- */
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.shop-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-soft); border: 1px solid var(--pink-100);
  cursor: pointer; transition: transform .3s, box-shadow .3s;
}
.shop-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.shop-img {
  aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center;
  padding: 16px; background: linear-gradient(160deg, #fff5f8, #ffe9f1);
}
.shop-img img { max-height: 100%; max-width: 100%; object-fit: contain; border-radius: 12px; }
.shop-img-fallback { display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; height: 100%; font-size: 26px; font-weight: 700; color: #e0417d; line-height: 1.5; }
.shop-name { padding: 12px 14px 4px; font-size: 14px; font-weight: 700; text-align: center; }
.shop-desc { padding: 0 14px 14px; font-size: 12px; color: var(--text-sub); text-align: center; }

/* ---------- 作品动态 ---------- */
.works-grid { display: block; }
.work-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-soft); border: 1px solid var(--pink-100);
  cursor: zoom-in; transition: transform .3s, box-shadow .3s;
}
.work-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.work-img { aspect-ratio: 3/4; }
.work-img img { width: 100%; height: 100%; object-fit: cover; }
.work-name { padding: 12px 14px; font-size: 13px; font-weight: 700; }

/* ---------- MBTI 小测试（保留原样式） ---------- */
.quiz-box {
  max-width: 620px; margin: 0 auto; background: var(--white);
  border-radius: 26px; padding: 44px 36px; box-shadow: var(--shadow-hover);
  border: 1px solid var(--pink-100); text-align: center; position: relative; overflow: hidden;
}
.quiz-box::before {
  content: ""; position: absolute; top: -60px; right: -60px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(255, 155, 190, 0.25), transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.quiz-icon { font-size: 52px; margin-bottom: 14px; }
.quiz-start h3 { font-size: 22px; font-weight: 800; margin-bottom: 12px; }
.quiz-start p { color: var(--text-sub); font-size: 15px; margin-bottom: 28px; line-height: 1.9; }
.quiz-progress { height: 8px; background: var(--pink-100); border-radius: 999px; overflow: hidden; margin-bottom: 14px; }
.quiz-progress-bar { height: 100%; width: 0; background: var(--grad-pink); border-radius: 999px; transition: width .4s; }
.quiz-count { color: var(--text-sub); font-size: 13px; margin-bottom: 18px; }
.quiz-q { font-size: 18px; font-weight: 800; margin-bottom: 26px; line-height: 1.7; }
.quiz-options { display: flex; flex-direction: column; gap: 14px; }
.quiz-option {
  padding: 16px 20px; border-radius: 16px; border: 2px solid var(--pink-100);
  background: #fff; font-size: 15px; color: var(--text-main); cursor: pointer;
  transition: all .2s; text-align: left; font-family: inherit; line-height: 1.6;
}
.quiz-option::before { content: "•"; color: var(--pink); font-weight: 900; margin-right: 10px; }
.quiz-option:hover { border-color: var(--pink); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.quiz-option.picked { border-color: var(--pink); background: var(--pink-100); }
.quiz-option.picked::before { color: var(--pink-deep); }
.quiz-result { animation: pop-in 0.4s ease; }
@keyframes pop-in { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: scale(1); } }
.quiz-result-label { color: var(--text-sub); font-size: 14px; }
.quiz-result-code {
  font-size: 56px; font-weight: 900; letter-spacing: 6px; margin: 6px 0;
  background: var(--grad-pink); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.quiz-result-name { font-size: 22px; font-weight: 800; margin-top: 2px; }
.quiz-result-group {
  display: inline-block; margin-top: 10px; padding: 4px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 700; color: #fff;
}
.quiz-result-desc { color: var(--text-sub); font-size: 15px; margin: 18px auto 20px; line-height: 1.9; max-width: 460px; }
.quiz-result-tags { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.quiz-result-tags span {
  background: var(--pink-100); color: var(--pink-deep); padding: 6px 14px;
  border-radius: 999px; font-size: 13px; font-weight: 600;
}
.quiz-result-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.quiz-cursor { display: inline-block; font-weight: 900; animation: blink 1s step-start infinite; }
@keyframes blink { 50% { opacity: 0; } }
.quiz-related { margin-top: 30px; padding-top: 22px; border-top: 1px dashed var(--pink-100); }
.quiz-related-title { font-size: 14px; font-weight: 700; color: var(--text-sub); margin-bottom: 12px; }
.quiz-related-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quiz-related-item {
  display: block; padding: 10px 14px; background: var(--pink-100);
  border-radius: 12px; font-size: 13px; font-weight: 600; color: var(--pink-deep);
  transition: transform .2s;
}
.quiz-related-item:hover { transform: translateY(-2px); }

/* ---------- 粉丝入口 ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card {
  background: #fff; border-radius: var(--radius); padding: 28px 26px;
  box-shadow: var(--shadow-soft); border: 1px solid var(--pink-100); text-align: center;
}
.contact-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 14px; }
.contact-handle { font-size: 15px; font-weight: 700; margin: 10px 0; }
.contact-tip { color: var(--text-sub); font-size: 13px; line-height: 1.8; }
.copy-text { color: var(--pink-deep); }
.copy-btn {
  margin-left: 8px; padding: 4px 12px; border: none; border-radius: 999px;
  background: var(--pink-100); color: var(--pink-deep); font-size: 12px;
  font-weight: 700; cursor: pointer; font-family: inherit;
}
.copy-btn.ok { background: #3aa87a; color: #fff; }
.qr-placeholder {
  width: 132px; height: 132px; margin: 6px auto; border-radius: 16px;
  background: linear-gradient(160deg, var(--pink-100), #fff);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--text-sub); text-align: center; line-height: 1.6;
  border: 2px dashed var(--pink);
}

/* ---------- Footer ---------- */
.footer {
  text-align: center; padding: 40px 20px 48px; color: var(--text-sub);
  border-top: 1px solid rgba(224, 74, 122, .12); font-size: 14px;
}
.footer-sub { margin-top: 8px; font-size: 13px; opacity: .8; }

/* ---------- 弹窗（角色详情） ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal-mask { position: absolute; inset: 0; background: rgba(28, 16, 24, .6); backdrop-filter: blur(4px); }
.modal-box {
  position: relative; background: #fff; border-radius: 24px; max-width: 720px; width: 100%;
  max-height: 86vh; overflow: auto; padding: 0; box-shadow: 0 24px 80px rgba(0,0,0,.4);
  display: flex; animation: pop-in .3s ease;
}
.modal-close {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 36px; height: 36px;
  border: none; border-radius: 50%; background: var(--pink-100); color: var(--pink-deep);
  font-size: 15px; cursor: pointer;
}
.modal-img { width: 42%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, #fff5f8, #ffe9f1); padding: 24px; }
.modal-img img { max-height: 100%; width: 100%; object-fit: contain; }
.modal-body { flex: 1; padding: 32px 30px; min-width: 0; }
.modal-body .cast-code { font-size: 13px; font-weight: 800; letter-spacing: 2px; }
.modal-body h3 { font-size: 26px; font-weight: 900; margin: 6px 0 2px; }
.modal-body .cast-name { font-size: 14px; color: var(--text-sub); margin-bottom: 14px; }
.modal-body .cast-desc { font-size: 15px; line-height: 1.9; color: var(--text-main); margin-bottom: 18px; }
.modal-body .meme-title { font-size: 13px; font-weight: 700; color: var(--pink-deep); margin-bottom: 8px; }
.modal-body .meme { background: var(--pink-100); border-radius: 12px; padding: 12px 14px; font-size: 14px; line-height: 1.8; margin-bottom: 8px; }
.modal-group { display: inline-block; margin-top: 6px; padding: 4px 14px; border-radius: 999px; color: #fff; font-size: 12px; font-weight: 700; }

/* ---------- 灯箱 ---------- */
.lightbox { position: fixed; inset: 0; z-index: 95; display: flex; align-items: center; justify-content: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox-mask { position: absolute; inset: 0; background: rgba(28, 16, 24, .9); }
.lightbox-box { position: relative; max-width: min(520px, 92vw); text-align: center; }
.lightbox-box img { max-width: 100%; max-height: 82vh; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,.5); background: #fff; }
.lightbox-box p { color: #fff; margin-top: 14px; font-size: 14px; opacity: .9; }
.lightbox-close {
  position: absolute; top: -14px; right: -14px; width: 38px; height: 38px;
  border: none; border-radius: 50%; background: #fff; color: var(--pink-deep);
  font-size: 15px; cursor: pointer; box-shadow: 0 4px 16px rgba(0,0,0,.3); z-index: 2;
}

/* ---------- 进场动画 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero-inner { flex-direction: column-reverse; text-align: center; }
  .hero h1 { font-size: 46px; }
  .hero-cta, .hero-stats { justify-content: center; }
  .cast-grid, .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}
@media (max-width: 700px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 12px 20px;
    box-shadow: 0 12px 30px rgba(0,0,0,.12); border-radius: 0 0 18px 18px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-cta { display: none; }
  .hero { padding: 120px 0 100px; }
  .hero h1 { font-size: 38px; }
  .hero-stats { gap: 20px; }
  .hero-stat b { font-size: 26px; }
  .cast-grid, .shop-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .section { padding: 72px 0; }
  .section-head h2 { font-size: 28px; }
  .quiz-box { padding: 32px 22px; }
  .modal-box { flex-direction: column; }
  .modal-img { width: 100%; aspect-ratio: 1/1; }
}

/* ---------- 彩蛋：爱心雨 ---------- */
.heart-fall {
  position: fixed; top: -40px; z-index: 999; pointer-events: none;
  animation: fall linear forwards;
}
@keyframes fall { to { transform: translateY(110vh) rotate(360deg); opacity: 0; } }


/* ---------- 盲盒角色卡 ---------- */
.cast-card { border: 1px solid rgba(0,0,0,.06); position: relative; }
.cast-card::after {
  content: "点击查看详情 →"; position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.55));
  color: #fff; text-align: center; padding: 22px 0 10px;
  font-size: 12px; font-weight: 700; opacity: 0; transition: opacity .25s;
  pointer-events: none;
}
.cast-card:hover::after { opacity: 1; }
.cast-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: #fff; border-radius: 999px; padding: 4px 12px;
  font-size: 11px; font-weight: 800; letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
}
.cast-ring {
  width: 168px; height: 168px; border-radius: 50%; border: 4px solid #fff;
  box-shadow: 0 8px 24px rgba(224,74,122,.18);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: #fff;
}
.cast-ring img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.cast-img { flex-direction: column; gap: 12px; }
.cast-tag {
  display: inline-block; padding: 3px 12px; border-radius: 999px;
  color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 2px;
}
.cast-info { text-align: center; position: relative; }
.cast-nick { font-size: 19px; }
.cast-stamp {
  display: inline-block; margin-top: 6px; padding: 2px 12px;
  border: 2px solid currentColor; border-radius: 6px; transform: rotate(-3deg);
  font-size: 11px; font-weight: 800; letter-spacing: 2px;
}

/* ---------- Footer 品牌落款 ---------- */
.footer-logo {
  width: 96px; height: 96px; margin: 0 auto 14px; border-radius: 24px;
  box-shadow: 0 10px 30px rgba(224, 74, 122, .22);
}
.footer-brand { font-size: 18px; font-weight: 900; color: var(--ink); letter-spacing: 2px; }
.footer-sub { margin-top: 8px; font-size: 13px; opacity: .8; }
.footer-copy { margin-top: 12px; font-size: 12px; opacity: .6; }
.footer-tools { margin-top: 10px; font-size: 12px; opacity: .55; }
.footer-tools a { color: inherit; text-decoration: none; margin: 0 8px; }
.footer-tools a:hover { opacity: 1; text-decoration: underline; }

/* ---------- IP 主角横幅 ---------- */
.ip-banner {
  display: flex; gap: 34px; align-items: center;
  background: #fff; border-radius: 28px; padding: 30px 34px; margin: 0 auto 44px;
  box-shadow: var(--shadow-soft); border: 1px solid var(--pink-100);
  max-width: 860px;
}
.ip-banner-img { width: 190px; flex-shrink: 0; }
.ip-banner-img img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 20px;
  border: 5px solid #fff; box-shadow: 0 12px 30px rgba(224, 74, 122, .25);
}
.ip-banner-tag {
  display: inline-block; background: var(--grad-pink); color: #fff;
  padding: 4px 14px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: 2px;
}
.ip-banner-text h3 { font-size: 24px; font-weight: 900; margin: 10px 0 8px; }
.ip-banner-text p { color: var(--text-sub); font-size: 14px; line-height: 1.9; }
.ip-banner-sub { margin-top: 8px; font-size: 13px; }
@media (max-width: 700px) {
  .ip-banner { flex-direction: column; text-align: center; padding: 24px 20px; }
  .ip-banner-img { width: 160px; }
}

/* ---------- 表情包区底部入口 ---------- */
.emote-more { text-align: center; margin-top: 30px; }
.emote-tip { margin-top: 12px; font-size: 12px; color: #9a8a92; line-height: 1.7; }

/* ---------- 作品分组 ---------- */
.work-group { margin-bottom: 34px; }
.work-group-title {
  font-size: 17px; font-weight: 800; color: var(--pink-deep);
  padding-left: 12px; border-left: 4px solid var(--pink); margin-bottom: 14px;
}
.work-group-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 980px) { .work-group-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .work-group-grid { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; } }

/* ---------- 表情 Tab 筛选 ---------- */
.emote-tabs { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; }
.emote-tab { flex-shrink: 0; }

/* ========== 移动端精细适配 ========== */
@media (max-width: 700px) {
  .container, .nav-inner { padding-left: 16px; padding-right: 16px; }
  .nav-logo { font-size: 17px; gap: 8px; }
  .nav-links { z-index: 60; }
  .hero { padding: 104px 0 72px; }
  .hero h1 { font-size: 34px; }
  .hero-en { font-size: 14px; letter-spacing: 2px; }
  .hero-slogan { font-size: 14px; margin: 16px 0 24px; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 12px; max-width: 300px; margin: 0 auto; }
  .hero-cta .btn { width: 100%; text-align: center; }
  .hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 6px; max-width: 300px; margin: 26px auto 0; }
  .hero-stat { padding: 4px 0; }
  .hero-stat b { font-size: 24px; }
  .hero-stat span { font-size: 12px; }
  .hero-art { max-width: 280px; margin: 0 auto; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
  .section-head h2 { font-size: 26px; }
  .section-head p { font-size: 13px; }
  .cast-grid { gap: 14px; }
  .cast-ring { width: 136px; height: 136px; }
  .cast-nick { font-size: 17px; }
  .shop-grid { gap: 14px; max-width: 400px; margin: 0 auto; }
  .quiz-box { padding: 28px 18px; border-radius: 20px; }
  .quiz-icon { font-size: 44px; }
  .quiz-start h3 { font-size: 20px; }
  .quiz-options { gap: 12px; }
  .quiz-option { padding: 12px 14px; font-size: 14px; }
  .quiz-result-name { font-size: 19px; }
  .quiz-result-desc { font-size: 14px; }
  .quiz-related-list { gap: 10px; }
  .work-group-grid { max-width: 300px; }
  .work-group-title { font-size: 15px; }
  .work-name { font-size: 12px; padding: 10px 12px; }
  .emote-tabs { gap: 8px; }
  .group-tab, .emote-tab { padding: 8px 14px; font-size: 13px; }
  .contact-grid { gap: 14px; }
  .contact-card { padding: 18px; }
  .contact-card h3 { font-size: 16px; }
  .contact-handle { font-size: 14px; }
  .contact-tip { font-size: 12px; }
  .ip-banner { gap: 16px; padding: 22px 18px; border-radius: 22px; }
  .ip-banner-img { width: 140px; }
  .ip-banner-text h3 { font-size: 20px; }
  .ip-banner-text p { font-size: 13px; }
  .modal-img { padding: 14px; }
  .modal-body { padding: 22px 18px; }
  .modal-body h3 { font-size: 20px; }
  .footer-brand { font-size: 16px; }
  .footer-tools { line-height: 2.1; }
  .btn-lg { padding: 13px 26px; font-size: 15px; }
}
@media (max-width: 430px) {
  .hero h1 { font-size: 30px; }
  .hero-stat b { font-size: 21px; }
  .hero-stat span { font-size: 11px; }
  .section-head h2 { font-size: 24px; }
  .work-group-grid { max-width: 280px; }
  .cast-ring { width: 120px; height: 120px; }
  .hero-art { max-width: 240px; }
  .quiz-box { padding: 24px 14px; }
}
