/* ============================================
   栖灵社 · 墨夜金
============================================ */
:root {
    --bg: #0a0a0f;
    --card: #111119;
    --card-hover: #15151f;
    --text: #e8e2d5;
    --muted: #847d6d;
    --faint: #514a3d;
    --accent: #c9aa6e;
    --line: rgba(201, 170, 110, 0.20);
    --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
    --kaiti: "Kaiti SC", "STKaiti", "KaiTi", serif;
    --sans: "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background:
        radial-gradient(ellipse 80% 50% at 50% 40%, rgba(201,170,110,0.06), transparent 70%),
        radial-gradient(ellipse 60% 40% at 85% 10%, rgba(125,105,165,0.05), transparent),
        var(--bg);
    color: var(--text);
    font-family: var(--sans);
    line-height: 1.9;
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    z-index: 300;
}

a { color: var(--accent); text-decoration: none; }

/* ============ 预载动画（只首页显示） ============ */
.preloader {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 9999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: preloaderOut 0.9s ease 1.7s forwards;
}
.home .preloader {
    display: flex;
}
.preloader-symbol {
    font-family: var(--serif);
    font-size: 76px;
    color: var(--accent);
    animation: symbolIn 1.2s ease both;
}
.preloader-name {
    font-family: var(--serif);
    font-size: 22px;
    letter-spacing: 14px;
    margin-top: 10px;
    animation: fadeUp 1s ease 0.2s both;
}
.preloader-line {
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    margin-top: 22px;
    animation: lineGrow 1.1s ease 0.4s both;
}
.preloader-sub {
    font-family: var(--kaiti);
    font-size: 13px;
    color: var(--muted);
    letter-spacing: 6px;
    margin-top: 14px;
    animation: fadeUp 1s ease 0.6s both;
}
@keyframes preloaderOut { to { opacity: 0; visibility: hidden; } }
@keyframes symbolIn {
    from { opacity: 0; transform: scale(0.82); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes lineGrow {
    from { width: 0; }
    to { width: 80px; }
}

/* 首页内容入场 */
.home .hero-content { animation: pageIn 1.3s ease 2.0s both; }
@keyframes pageIn {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============ 导航 ============ */
nav {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    background: rgba(10, 10, 15, 0.80);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(201, 170, 110, 0.12);
    z-index: 200;
}
.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    font-family: var(--serif);
    font-size: 19px;
    letter-spacing: 10px;
    color: var(--text);
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 34px; list-style: none; }
.nav-links a {
    color: var(--muted);
    font-size: 13px;
    letter-spacing: 5px;
    padding-bottom: 6px;
    position: relative;
    transition: color 0.4s;
}
.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 1px;
    background: var(--accent);
    transition: width 0.4s;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--accent); }
.nav-links a.active::after { width: 100%; }

/* ============ 装饰分隔 ============ */
.ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--accent);
    font-size: 10px;
    margin: 22px 0;
}
.ornament::before,
.ornament::after {
    content: "";
    width: 56px;
    height: 1px;
}
.ornament::before { background: linear-gradient(90deg, transparent, var(--line)); }
.ornament::after { background: linear-gradient(90deg, var(--line), transparent); }

.group-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 0 0 44px;
    color: var(--faint);
    font-size: 12px;
    letter-spacing: 8px;
}
.group-divider::before,
.group-divider::after {
    content: "";
    width: 64px;
    height: 1px;
    background: var(--line);
}

/* ============ 首页首屏 ============ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 32px 90px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: "栖";
    position: absolute;
    font-family: var(--serif);
    font-size: 520px;
    color: rgba(201, 170, 110, 0.028);
    pointer-events: none;
    user-select: none;
    animation: breathe 9s ease-in-out infinite;
}
@keyframes breathe {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}
.hero-side {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    font-family: var(--serif);
    font-size: 14px;
    letter-spacing: 12px;
    color: rgba(132, 125, 109, 0.55);
    user-select: none;
}
.hero-side.left { left: 56px; }
.hero-side.right { right: 56px; }
.hero-content { position: relative; z-index: 1; }
.hero-en {
    font-size: 12px;
    letter-spacing: 10px;
    color: var(--faint);
    margin-bottom: 14px;
}
.hero h1 {
    font-family: var(--serif);
    font-size: 76px;
    font-weight: normal;
    letter-spacing: 28px;
    text-indent: 28px;
    margin-bottom: 6px;
}
.hero h1 span { color: var(--accent); }
.hero-tagline {
    font-family: var(--kaiti);
    font-size: 17px;
    color: var(--muted);
    letter-spacing: 6px;
    margin-bottom: 36px;
}
.hero-poem {
    font-family: var(--kaiti);
    font-size: 15px;
    color: var(--muted);
    line-height: 2.6;
    letter-spacing: 3px;
    text-indent: 3px;
}
.scroll-hint {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--faint);
    font-size: 11px;
    letter-spacing: 4px;
}
.scroll-line {
    width: 1px;
    height: 44px;
    position: relative;
    overflow: hidden;
}
.scroll-line::after {
    content: "";
    position: absolute;
    top: -10px; left: 0;
    width: 1px; height: 10px;
    background: var(--accent);
    animation: scrollDot 2.4s ease-in-out infinite;
}
@keyframes scrollDot {
    0% { top: -10px; }
    100% { top: 44px; }
}

/* ============ 子页面标题区 ============ */
.page-hero {
    padding: 170px 32px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 60% at 50% 40%, rgba(201,170,110,0.05), transparent 70%);
    pointer-events: none;
}
.page-hero h1 {
    font-family: var(--serif);
    font-size: 46px;
    font-weight: normal;
    letter-spacing: 18px;
    position: relative;
}
.page-hero h1 span { color: var(--accent); }
.page-hero .sub {
    color: var(--faint);
    font-size: 12px;
    letter-spacing: 8px;
    margin-top: 16px;
    position: relative;
}

/* ============ 内容区 ============ */
.section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 32px 110px;
}
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .en {
    font-size: 11px;
    letter-spacing: 8px;
    color: var(--faint);
    margin-bottom: 10px;
}
.section-head h2 {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: normal;
    letter-spacing: 10px;
}
.section-head h2 span { color: var(--accent); }

.back-link { text-align: center; margin-bottom: 40px; }
.back-link a {
    font-size: 13px;
    letter-spacing: 3px;
    color: var(--muted);
    transition: color 0.3s;
}
.back-link a:hover { color: var(--accent); }

/* ============ 角框卡片 ============ */
.frame {
    position: relative;
    background: var(--card);
    border: 1px solid rgba(201, 170, 110, 0.12);
    border-radius: 4px;
    transition: transform 0.4s, background 0.4s, border-color 0.4s;
}
.frame::before,
.frame::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    pointer-events: none;
}
.frame::before {
    top: -1px; left: -1px;
    border-top: 1px solid var(--accent);
    border-left: 1px solid var(--accent);
}
.frame::after {
    bottom: -1px; right: -1px;
    border-bottom: 1px solid var(--accent);
    border-right: 1px solid var(--accent);
}
.frame:hover {
    transform: translateY(-5px);
    background: var(--card-hover);
    border-color: rgba(201, 170, 110, 0.28);
}

/* ============ 成员通用：头像 / 名字 / 职务 ============ */
.member-avatar {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #24242f, #111119);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-family: var(--serif);
    font-size: 34px;
    color: var(--accent);
    position: relative;
}
.member-avatar::after {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    border: 1px dashed rgba(201, 170, 110, 0.25);
}
.member-name {
    font-family: var(--serif);
    font-size: 19px;
    letter-spacing: 4px;
    margin-bottom: 6px;
}
.member-role {
    font-size: 12px;
    color: var(--accent);
    letter-spacing: 3px;
    margin-bottom: 16px;
}
.member-role::before,
.member-role::after {
    content: "·";
    margin: 0 8px;
    color: var(--faint);
}
.member-desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.9;
    letter-spacing: 1px;
}

/* ============ 核心成员（主催/副催）固定两列 ============ */
.core-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
    margin-bottom: 80px;
}
@media (max-width: 720px) { .core-grid { grid-template-columns: 1fr; } }
.core-card {
    display: block;
    padding: 46px 30px 38px;
    text-align: center;
    color: var(--text);
}
.core-card:hover { color: var(--text); }
.core-tag {
    position: absolute;
    top: 18px;
    right: 20px;
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--accent);
    border: 1px solid var(--line);
    padding: 3px 12px;
    border-radius: 20px;
}
.core-enter {
    margin-top: 16px;
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--accent);
    opacity: 0.7;
    transition: opacity 0.3s, letter-spacing 0.3s;
}
.core-card:hover .core-enter { opacity: 1; letter-spacing: 4px; }

/* ============ 组长卡（固定3列） ============ */
.leader-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
@media (max-width: 960px) { .leader-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .leader-grid { grid-template-columns: 1fr; } }

.leader-card {
    display: block;
    padding: 38px 24px 30px;
    text-align: center;
    color: var(--text);
}
.leader-card:hover { color: var(--text); }
.leader-count { font-size: 12px; color: var(--faint); letter-spacing: 2px; }
.leader-enter {
    margin-top: 16px;
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--accent);
    opacity: 0.7;
    transition: opacity 0.3s, letter-spacing 0.3s;
}
.leader-card:hover .leader-enter { opacity: 1; letter-spacing: 4px; }

/* ============ 详情大卡（组页/主催副催页顶部） ============ */
.leader-featured {
    max-width: 480px;
    margin: 0 auto 80px;
    padding: 50px 30px 42px;
    text-align: center;
}
.leader-featured .member-avatar {
    width: 108px;
    height: 108px;
    font-size: 40px;
}
.leader-featured .member-name { font-size: 22px; letter-spacing: 6px; }

/* ============ 组员卡（方框+头像+名字，无介绍） ============ */
.member-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}
.member-card { padding: 40px 20px 32px; text-align: center; }
.member-card .member-role { margin-bottom: 0; }

/* ============ 产品 ============ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 34px;
}
.product-img {
    height: 190px;
    background: linear-gradient(150deg, #1a1a24, #0f0f17);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-size: 44px;
    color: rgba(201, 170, 110, 0.4);
    border-bottom: 1px solid rgba(201, 170, 110, 0.1);
}
.product-info { padding: 24px 22px 26px; }
.product-name {
    font-family: var(--serif);
    font-size: 18px;
    letter-spacing: 3px;
    margin-bottom: 6px;
}
.product-type {
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 4px;
    margin-bottom: 14px;
}
.product-desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.9;
    letter-spacing: 1px;
}

/* ============ 规划时间线 ============ */
.timeline {
    max-width: 660px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
}
.timeline::before {
    content: "";
    position: absolute;
    left: 9px; top: 4px; bottom: 4px;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--line), transparent);
}
.timeline-item { position: relative; margin-bottom: 48px; }
.timeline-item::before {
    content: "◆";
    position: absolute;
    left: -40px; top: 4px;
    font-size: 20px;
    color: var(--accent);
}
.timeline-time {
    font-size: 12px;
    color: var(--accent);
    letter-spacing: 5px;
    margin-bottom: 8px;
}
.timeline-title {
    font-family: var(--serif);
    font-size: 20px;
    letter-spacing: 3px;
    margin-bottom: 8px;
}
.timeline-desc {
    font-size: 14px;
    color: var(--muted);
    line-height: 2;
    letter-spacing: 1px;
}

/* ============ 招募 ============ */
.recruit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}
.recruit-card { padding: 32px 26px; }
.recruit-role {
    font-family: var(--serif);
    font-size: 19px;
    letter-spacing: 3px;
    margin-bottom: 10px;
}
.recruit-tag {
    display: inline-block;
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 3px;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 3px 14px;
    margin-bottom: 16px;
}
.recruit-desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 2;
    letter-spacing: 1px;
}
.recruit-contact {
    text-align: center;
    padding: 40px 24px;
}
.recruit-contact p {
    color: var(--muted);
    font-size: 14px;
    letter-spacing: 3px;
    line-height: 2.6;
}

/* ============ 页脚 ============ */
footer {
    border-top: 1px solid rgba(201, 170, 110, 0.12);
    padding: 48px 24px;
    text-align: center;
    color: var(--faint);
    font-size: 12px;
    letter-spacing: 4px;
}
.footer-logo {
    font-family: var(--serif);
    font-size: 18px;
    letter-spacing: 10px;
    color: var(--text);
    margin-bottom: 10px;
}

/* ============ 移动端 ============ */
@media (max-width: 720px) {
    .nav-links { gap: 16px; }
    .nav-links a { font-size: 12px; letter-spacing: 2px; }
    .hero h1 { font-size: 48px; letter-spacing: 16px; }
    .hero::before { font-size: 300px; }
    .hero-side { display: none; }
    .page-hero h1 { font-size: 32px; letter-spacing: 10px; }
}
/* ============ 主催/副催 详情大页面 ============ */
.profile {
    max-width: 900px;
    margin: 0 auto;
}

.profile-hero {
    display: flex;
    align-items: center;
    gap: 48px;
    padding: 60px 50px;
    background: var(--card);
    border: 1px solid rgba(201,170,110,0.12);
    border-radius: 6px;
    position: relative;
}
.profile-hero::before,
.profile-hero::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
}
.profile-hero::before {
    top: -1px; left: -1px;
    border-top: 1px solid var(--accent);
    border-left: 1px solid var(--accent);
}
.profile-hero::after {
    bottom: -1px; right: -1px;
    border-bottom: 1px solid var(--accent);
    border-right: 1px solid var(--accent);
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #24242f, #111119);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-size: 64px;
    color: var(--accent);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}
.profile-avatar::after {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    border: 1px dashed rgba(201,170,110,0.25);
}
.profile-avatar img {
    width: 120%;
    height: 120%;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 1;
}
.profile-avatar:has(img)::after { display: none; }

.profile-info { flex: 1; }
.profile-tag {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--accent);
    border: 1px solid var(--line);
    padding: 3px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}
.profile-name {
    font-family: var(--serif);
    font-size: 40px;
    font-weight: normal;
    letter-spacing: 12px;
    margin-bottom: 8px;
    color: var(--accent);
}
.profile-role {
    font-size: 14px;
    color: var(--muted);
    letter-spacing: 4px;
}

.profile-signature {
    margin: 36px auto;
    text-align: center;
    font-family: var(--kaiti);
    font-size: 30px;
    letter-spacing: 4px;
    color: var(--text);
    padding: 0 20px;
}
.profile-signature::before,
.profile-signature::after {
    content: "";
    display: block;
    width: 40px;
    height: 1px;
    background: var(--line);
    margin: 0 auto;
}
.profile-signature::before { margin-bottom: 18px; }
.profile-signature::after { margin-top: 18px; }

.profile-section {
    background: var(--card);
    border: 1px solid rgba(201,170,110,0.12);
    border-radius: 6px;
    padding: 40px 44px;
    margin-top: 36px;
    position: relative;
}
.profile-section-title {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: normal;
    letter-spacing: 6px;
    color: var(--accent);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.profile-section-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}

/* 职务履历 */
.history { position: relative; padding-left: 24px; }
.history::before {
    content: "";
    position: absolute;
    left: 5px; top: 6px; bottom: 6px;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--line), transparent);
}
.history-item { position: relative; margin-bottom: 52px; }
.history-item::before {
    content: "◆";
    position: absolute;
    left: -24px;
    top: 2px;
    font-size: 9px;
    color: var(--accent);
}
.history-time {
    font-size: 20px;
    color: var(--accent);
    letter-spacing: 3px;
    margin-bottom: 6px;
}
.history-text {
    font-size: 14px;
    color: var(--muted);
    letter-spacing: 2px;
}

/* 个人详情 */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 40px;
    margin-bottom: 24px;
}
.detail-item { display: flex; gap: 12px; }
.detail-label {
    font-size: 13px;
    color: var(--accent);
    letter-spacing: 2px;
    flex-shrink: 0;
    min-width: 72px;
}
.detail-value {
    font-size: 14px;
    color: var(--muted);
    letter-spacing: 1px;
}
.profile-note {
    font-size: 23px;
    color: var(--muted);
    line-height: 2;
    letter-spacing: 1px;
    border-top: 1px solid rgba(201,170,110,0.1);
    padding-top: 24px;
}

@media (max-width: 720px) {
    .profile-hero { flex-direction: column; text-align: center; padding: 40px 24px; }
    .profile-avatar { width: 140px; height: 140px; font-size: 48px; }
    .profile-name { font-size: 30px; letter-spacing: 6px; }
    .detail-grid { grid-template-columns: 1fr; }
}
/* 头像图片 */
.member-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}
.member-avatar:has(img)::after {
    display: none;
}
/* ============ 页面进入过渡：柔和淡入 ============ */
body {
    animation: pageFadeIn .5s ease both;
}
@keyframes pageFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* 组长详情卡可点击 */
a.leader-featured {
    display: block;
    text-decoration: none;
    color: var(--text);
}
a.leader-featured:hover {
    color: var(--text);
}
a.leader-featured .member-desc { color: var(--muted); }

/* 产品图图片 */
.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ============================================
   移动端适配（屏幕宽度 760px 以下生效）
============================================ */
@media (max-width: 760px) {

    /* 导航：收缩间距，防止挤爆 */
    .nav-inner { padding: 14px 16px; }
    .nav-logo { font-size: 16px; letter-spacing: 6px; }
    .nav-links { gap: 12px; }
    .nav-links a { font-size: 11px; letter-spacing: 1px; }

    /* 首页首屏 */
    .hero { padding: 120px 20px 70px; }
    .hero h1 { font-size: 44px !important; letter-spacing: 12px; }
    .hero-en { letter-spacing: 5px; font-size: 10px; }
    .hero-tagline { font-size: 14px; letter-spacing: 3px; }
    .hero-poem { font-size: 13px; line-height: 2.2; letter-spacing: 2px; }
    .hero-side { display: none; }              /* 两侧竖排字去掉 */
    .scroll-hint { display: none; }            /* 滚动提示去掉 */

    /* 首页背景 LOGO 水印缩小 */
    .hero-logo-bg {
        width: 300px !important;
        height: 300px !important;
    }

    /* 子页面标题 */
    .page-hero { padding: 130px 20px 40px; }
    .page-hero h1 { font-size: 30px !important; letter-spacing: 8px; }
    .page-hero .sub { letter-spacing: 4px; font-size: 10px; }

    /* 内容区边距收紧 */
    .section { padding: 10px 16px 70px; }

    /* 标题 */
    .section-head h2 { font-size: 24px; letter-spacing: 6px; }

    /* 主催/副催 核心成员：单列 */
    .core-grid { grid-template-columns: 1fr; gap: 24px; }

    /* 组长卡：单列（已在更早的媒体查询处理，这里保险再压一次） */
    .leader-grid { grid-template-columns: 1fr; gap: 20px; }

    /* 成员卡、产品卡、招募卡：单列 */
    .member-grid, .product-grid, .recruit-grid { grid-template-columns: 1fr; gap: 20px; }

    /* 产品图高度缩小 */
    .product-img { height: 200px; }

    /* 详情页大头像+名字：竖排居中 */
    .profile-hero { flex-direction: column; text-align: center; padding: 36px 20px; gap: 20px; }
    .profile-avatar { width: 130px !important; height: 130px !important; font-size: 44px !important; }
    .profile-name { font-size: 34px !important; letter-spacing: 6px; }
    .profile-role { font-size: 12px; letter-spacing: 2px; }
    .profile-signature { font-size: 15px; letter-spacing: 2px; }
    .profile-section { padding: 28px 20px; }
    .profile-section-title { font-size: 17px; letter-spacing: 4px; }

    /* 履历 */
    .history-text { font-size: 16px !important; }
    .history-time { font-size: 14px !important; }

    /* 组长详情大卡 */
    .leader-featured { padding: 36px 18px 30px; }
    .leader-featured .member-avatar { width: 90px; height: 90px; font-size: 32px; }

    /* 制作者页 */
    .maker-hero { padding: 120px 20px 70px; }
    .maker-avatar { width: 150px !important; height: 150px !important; font-size: 50px !important; }
    .maker-name { font-size: 32px !important; letter-spacing: 8px; }
    .maker-words { font-size: 14px; }

    /* LOGO 预载动画缩小 */
    .logo-box, .logo-svg { width: 300px !important; height: 300px !important; }

    /* 页脚 */
    footer { padding: 32px 16px; letter-spacing: 2px; }
    .footer-logo { letter-spacing: 6px; font-size: 16px; }
}

/* ============================================
   移动端修复 v2（追加在最后，强制生效）
============================================ */
@media (max-width: 760px) {

    /* ===== 1. 首页文字真正居中 =====
       手机端 letter-spacing 变小了，text-indent 也要跟着变小，
       否则桌面版那个补偿值会把文字推歪。 */
    .hero-content { width: 100%; text-align: center !important; }
    .hero h1 {
        text-indent: 10px !important;   /* 对应 letter-spacing 10px */
    }
    .hero-tagline { text-indent: 3px !important; }
    .hero-poem { text-indent: 1px !important; }
    .hero-en { text-indent: 4px !important; }

    /* ===== 2. 主催/副催详情页：不重叠 ===== */
    .profile-hero {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 16px !important;
        padding: 32px 16px !important;
    }
    .profile-info {
        width: 100% !important;
        text-align: center !important;
    }
    .profile-avatar {
        width: 120px !important;
        height: 120px !important;
        font-size: 40px !important;
        margin: 0 auto !important;
        flex-shrink: 0;
    }
    .profile-name {
        font-size: 28px !important;
        letter-spacing: 4px !important;
        text-indent: 4px;
        line-height: 1.4;
    }
    .profile-role {
        font-size: 12px !important;
        letter-spacing: 2px !important;
    }
    .profile-signature { font-size: 14px; line-height: 1.6; }
    .profile-section { padding: 24px 16px; }
    .profile-section-title { font-size: 16px; letter-spacing: 3px; }
    .history-text { font-size: 15px !important; }
    .history-time { font-size: 13px !important; }
    .history-item { margin-bottom: 28px; }
    .profile-note { font-size: 14px; }
}