/* ─── 高级主题变量系统 (Glassmorphism & HSL) ────────────────────────────────────── */
:root {
    --bg-base: #f0f4f2;
    --bg-mesh-1: rgba(108, 141, 113, 0.15); /* #6c8d71 */
    --bg-mesh-2: rgba(47, 73, 56, 0.1);    /* #2f4938 */
    
    --panel: rgba(255, 255, 255, 0.7);
    --panel-border: rgba(255, 255, 255, 0.5);
    
    --text: #17211a;
    --muted: #5b6d62;
    --line: rgba(219, 232, 221, 0.6);
    --soft: rgba(237, 246, 239, 0.6);
    
    --accent: #5e7f64;
    --accent-strong: #273b2d;
    --accent-glow: rgba(94, 127, 100, 0.4);
    
    --shadow-soft: 0 20px 40px rgba(0, 0, 0, 0.03);
    --shadow-hard: 0 12px 24px rgba(39, 59, 45, 0.15);
    --shadow-inner: inset 0 2px 4px rgba(255, 255, 255, 0.8);
    
    --radius-lg: 32px;
    --radius-md: 20px;
    --radius-sm: 12px;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

html {
    scroll-padding-top: 80px; /* 防止锚点定位时被顶部悬浮导航区遮挡 */
}

body {
    /* 极致流体排版字体群 */
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--text);
    min-height: 100vh;
    background-color: var(--bg-base);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    top: -20%; left: -20%; width: 140%; height: 140%;
    z-index: -1;
    pointer-events: none;
    background-image: 
        radial-gradient(at 0% 0%, var(--bg-mesh-1) 0px, transparent 50%),
        radial-gradient(at 100% 0%, var(--bg-mesh-2) 0px, transparent 50%),
        radial-gradient(at 100% 100%, var(--bg-mesh-1) 0px, transparent 50%),
        radial-gradient(at 0% 100%, var(--bg-mesh-2) 0px, transparent 50%);
    background-size: 100% 100%;
    animation: bgBreathe 20s ease-in-out infinite alternate;
}

@keyframes bgBreathe {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-10%, -10%); }
}

.shell {
    max-width: 1000px;
    margin: 0 auto;
    padding: 24px 20px 64px;
    position: relative;
    z-index: 1;
}

/* ─── 毛玻璃卡片核心 ────────────────────────────────────── */
.card {
    background: var(--panel);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft), var(--shadow-inner);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.card:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.06), var(--shadow-inner);
}

.hero {
    padding: 28px;
    margin-top: 20px;
    overflow: hidden;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    right: -10%;
    top: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    pointer-events: none;
    animation: floatOrb 8s ease-in-out infinite alternate;
}

@keyframes floatOrb {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(30px) scale(1.1); }
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-strong);
    border: 1px solid rgba(108, 141, 113, 0.4);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    padding: 8px 16px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(47, 73, 56, 0.05);
}

h1, h2, h3, p {
    margin: 0;
}

.hero h1, .index-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    max-width: 800px;
    background: linear-gradient(135deg, #17211a 0%, #3e5244 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #17211a; /* Fallback for browsers that don't support text-clip */
}

.index-hero-subtitle {
    display: block;
    font-size: 0.5em;
    font-weight: 700;
    letter-spacing: 0.05em;
    background: linear-gradient(90deg, #5e7f64, #273b2d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #5e7f64;
    margin-top: 12px;
    opacity: 1;
}

.hero .sub, .index-hero-sub {
    margin-top: 18px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
    max-width: 720px;
}

.index-hero-sub strong, .highlight-text {
    color: #b85c38;
}

.hero-counter-strip {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}

.counter-num {
    font-size: 20px;
    font-weight: 800;
    color: var(--accent-strong);
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.counter-num.bump {
    transform: scale(1.15);
    color: #b85c38;
}

.counter-label {
    font-size: 14px;
    color: var(--muted);
    font-weight: 600;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 18px;
    align-items: stretch;
    margin-top: 32px;
}

.mini-panel {
    padding: 18px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, #fbfefb, #f3f8f4);
}

.mini-panel h3 {
    font-size: 15px;
    margin-bottom: 10px;
}

.mini-panel ul {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.8;
    font-size: 14px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.hero-minimal {
    min-height: 48vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 42px 20px;
}

.hero-minimal::after {
    display: none;
}

.hero-minimal h1 {
    max-width: none;
    margin: 0;
}

.hero-actions-single {
    justify-content: center;
    margin-top: 28px;
}

button {
    border: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font: inherit;
    position: relative;
    overflow: hidden;
}

button:hover {
    transform: translateY(-2px);
}

button:active {
    transform: translateY(1px);
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
    transform: none;
    box-shadow: none !important;
}

.btn-primary {
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
    color: #fff;
    padding: 14px 24px;
    border-radius: 16px;
    box-shadow: 0 12px 24px rgba(39, 59, 45, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-primary::after {
    content: "";
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(30deg);
    transition: all 0.6s ease;
    opacity: 0;
    pointer-events: none;
}

.btn-primary:hover {
    box-shadow: 0 16px 32px rgba(39, 59, 45, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover::after {
    opacity: 1;
    left: 100%;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    color: var(--accent-strong);
    padding: 14px 24px;
    border-radius: 16px;
    border: 1px solid rgba(108, 141, 113, 0.3);
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.btn-secondary:hover {
    background: #fff;
    border-color: var(--accent);
    box-shadow: 0 8px 16px rgba(108, 141, 113, 0.1);
}

.screen {
    display: none;
}

.screen.active {
    display: block;
}

.test-wrap,
.result-wrap {
    margin-top: 22px;
    padding: 22px;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    position: sticky;
    top: 12px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 18px 24px;
    border-radius: 20px;
    border: 1px solid var(--panel-border);
    box-shadow: 0 8px 24px rgba(47,73,56,0.06), inset 0 1px 2px rgba(255,255,255,0.9);
}

.progress {
    flex: 1;
    min-width: 240px;
    height: 12px;
    background: rgba(237, 246, 239, 0.8);
    border-radius: 999px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}

.progress>span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-strong));
    border-radius: inherit;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(94, 127, 100, 0.4);
}

.progress-text {
    color: var(--muted);
    font-size: 13px;
    white-space: nowrap;
}

.question-list {
    display: grid;
    gap: 24px;
    counter-reset: question-counter;
}

.question {
    border: none;
    border-radius: 24px;
    padding: 32px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(47, 73, 56, 0.04), inset 0 1px 2px rgba(255,255,255,0.8);
    transition: transform 0.4s ease;
    /* 默认无动画：防止滚动时白块闪烁 */
}

.question:not(.hidden-q) {
    counter-increment: question-counter;
}

.num::after {
    content: counter(question-counter);
}

.hidden-q {
    display: none !important;
}

/* 入场动画只通过 JS 添加 .q-enter 类来触发，避免重绘时重播动画 */
.q-enter {
    animation: slideUpFade 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUpFade {
    0% { opacity: 0; transform: translateY(32px) scale(0.98); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.question-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.5));
    border: 1px solid rgba(255,255,255,1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    color: var(--accent-strong);
    font-weight: 700;
}

.question-fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

.question-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 24px;
    color: #1a261e;
    white-space: pre-wrap;
    padding: 0;
}

.options {
    display: grid;
    gap: 12px;
}

.option-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 18px;
    border: 2px solid rgba(108, 141, 113, 0.15);
    background: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

/* 隐藏默认 radio */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.option-card:hover {
    transform: translateY(-2px);
    background: #ffffff;
    border-color: rgba(108, 141, 113, 0.3);
    box-shadow: 0 12px 24px rgba(47, 73, 56, 0.06);
}

.option-card:active {
    transform: scale(0.98);
}

.option-code {
    font-weight: 800;
    font-size: 15px;
    color: var(--muted);
    background: var(--bg-base);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.option-text {
    flex: 1;
    font-size: 15px;
    line-height: 1.6;
    font-weight: 500;
    color: #3b4d41;
}

.radio-indicator {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid rgba(108, 141, 113, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #fff;
}

.radio-indicator::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-strong);
    transform: scale(0);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* 选中状态！CSS原生支持，极速响应 */
.option-card:has(input:checked) {
    border-color: var(--accent-strong);
    background: linear-gradient(135deg, #ffffff 0%, rgba(237, 246, 239, 0.6) 100%);
    box-shadow: 0 8px 32px rgba(94, 127, 100, 0.15), 0 0 0 1px var(--accent-strong);
}

.option-card:has(input:checked) .option-code {
    background: var(--accent-strong);
    color: #fff;
}

.option-card:has(input:checked) .radio-indicator {
    border-color: var(--accent-strong);
}

.option-card:has(input:checked) .radio-indicator::after {
    transform: scale(1);
}

.option-card:has(input:checked) .option-text {
    color: #17211a;
    font-weight: 700;
}

.actions-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
    padding-top: 6px;
}

.hint {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.result-hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 18px;
    align-items: stretch;
}

.type-box,
.score-box,
.dim-box,
.top3-box,
.about-box {
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.type-kicker {
    font-size: 12px;
    color: var(--accent-strong);
    margin-bottom: 8px;
    letter-spacing: .05em;
}

.type-name {
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.type-subname {
    margin-top: 8px;
    color: var(--muted);
    font-size: 15px;
}

.match {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 10px 14px;
    background: var(--soft);
    border: 1px solid var(--line);
    color: var(--accent-strong);
    font-weight: 700;
}

.type-desc {
    margin-top: 18px;
    line-height: 1.85;
    font-size: 15px;
    color: #304034;
}

.score-box h3,
.dim-box h3,
.top3-box h3,
.about-box h3 {
    font-size: 16px;
    margin-bottom: 12px;
}

.score-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.score-item {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px;
    background: #fff;
}

.score-item .k {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 6px;
}

.score-item .v {
    font-size: 20px;
    font-weight: 800;
    color: var(--accent-strong);
}

.dim-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.dim-pill {
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 14px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dim-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.04);
}

.dim-pill .label {
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 6px;
}

.dim-pill .value {
    font-size: 20px;
    font-weight: 800;
    color: var(--accent-strong);
}

.top3-list {
    display: grid;
    gap: 10px;
}

.top3-item {
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 14px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    transition: transform 0.2s ease;
}

.top3-item:hover {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.8);
}

.top3-item strong {
    display: block;
    margin-bottom: 4px;
}

.top3-item span {
    color: var(--muted);
    font-size: 13px;
}

.top3-score {
    color: var(--accent-strong);
    font-weight: 800;
    white-space: nowrap;
}

.about-box p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.footer-note {
    margin-top: 16px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}


.result-layout {
    display: grid;
    gap: 18px;
}

.result-top {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 18px;
    align-items: stretch;
}

.poster-box,
.type-box,
.analysis-box,
.dim-box,
.note-box,
.mbti-cta-box {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    background: linear-gradient(180deg, #ffffff, #fbfdfb);
}

.poster-box {
    display: grid;
    grid-template-rows: 1fr auto;
    min-height: 280px;
    overflow: hidden;
    position: relative;
    background:
        radial-gradient(circle at top right, rgba(127, 165, 134, 0.16), rgba(127, 165, 134, 0) 40%),
        linear-gradient(180deg, #ffffff, #f7fbf8);
}

.poster-box::after {
    content: "";
    position: absolute;
    right: -46px;
    bottom: -46px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(127, 165, 134, 0.12), rgba(127, 165, 134, 0.01));
    pointer-events: none;
}

.poster-image {
    width: 100%;
    min-height: 220px;
    max-height: 460px;
    object-fit: contain;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.75);
    position: relative;
    z-index: 1;
}

.poster-box.no-image .poster-image {
    display: none;
}

.poster-caption {
    margin-top: 14px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.type-kicker {
    font-size: 12px;
    color: var(--accent-strong);
    margin-bottom: 8px;
    letter-spacing: .06em;
}

.type-name {
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.type-subname {
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.match {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 10px 14px;
    background: var(--soft);
    border: 1px solid var(--line);
    color: var(--accent-strong);
    font-weight: 700;
    font-size: 14px;
    line-height: 1.4;
}

.analysis-box h3,
.dim-box h3,
.note-box h3 {
    font-size: 16px;
    margin-bottom: 12px;
}

.result-actions {
    margin-top: 22px;
    display: flex;
    justify-content: flex-end;
}

.analysis-box p {
    margin: 0;
    color: #304034;
    font-size: 15px;
    line-height: 1.9;
    white-space: pre-wrap;
}

.dim-list {
    display: grid;
    gap: 12px;
}

.dim-item {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px;
    background: #fff;
}

.dim-item-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.dim-item-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

.dim-item-score {
    color: var(--accent-strong);
    font-weight: 800;
    font-size: 14px;
    white-space: nowrap;
}

.dim-item p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.note-box p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.mbti-cta-box {
    display: grid;
    gap: 20px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(127, 165, 134, 0.18), rgba(127, 165, 134, 0) 36%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(243, 248, 244, 0.98));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.mbti-cta-box::after {
    content: "";
    position: absolute;
    right: -42px;
    bottom: -42px;
    width: 138px;
    height: 138px;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(127, 165, 134, 0.12), rgba(127, 165, 134, 0.02));
    pointer-events: none;
}

.mbti-cta-box::before {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    top: 0;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(47, 73, 56, 0.96), rgba(94, 127, 100, 0.7), rgba(127, 165, 134, 0.15));
}

.mbti-cta-header,
.mbti-cta-copy,
.mbti-cta-grid,
.mbti-cta-panel {
    position: relative;
    z-index: 1;
}

.mbti-cta-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.mbti-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(47, 73, 56, 0.08);
    color: var(--accent-strong);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid rgba(47, 73, 56, 0.1);
}

.mbti-cta-kicker {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.mbti-cta-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.9fr);
    gap: 18px;
    align-items: stretch;
}

.mbti-cta-box h3 {
    margin-top: 0;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(24px, 3.3vw, 32px);
    line-height: 1.2;
    letter-spacing: -0.03em;
    max-width: 18ch;
}

.mbti-cta-box p {
    margin-top: 12px;
    color: #425248;
    font-size: 15px;
    line-height: 1.9;
    max-width: 60ch;
}

.mbti-cta-points {
    margin-top: 16px;
    display: grid;
    gap: 10px;
}

.mbti-cta-point {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(47, 73, 56, 0.08);
}

.mbti-cta-point strong {
    font-size: 14px;
    color: var(--text);
}

.mbti-cta-point span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.mbti-cta-panel {
    display: grid;
    gap: 14px;
    align-content: start;
    padding: 16px;
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(39, 59, 45, 0.035), rgba(39, 59, 45, 0.075)),
        rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(47, 73, 56, 0.1);
}

.mbti-compare {
    display: grid;
    gap: 10px;
}

.mbti-compare-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(47, 73, 56, 0.08);
}

.mbti-compare-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(94, 127, 100, 0.12);
    color: var(--accent-strong);
    font-size: 12px;
    font-weight: 700;
}

.mbti-compare-value {
    color: #314137;
    font-size: 13px;
    font-weight: 600;
    text-align: right;
    line-height: 1.6;
}

.mbti-cta-btn {
    width: 100%;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 14px 28px rgba(94, 127, 100, 0.24), inset 0 1px 1px rgba(255, 255, 255, 0.22);
}

.mbti-cta-note {
    margin: 0;
    max-width: none;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.author-box {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff, #fbfdfb);
    overflow: hidden;
}

.author-box summary {
    list-style: none;
    cursor: pointer;
    padding: 18px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.author-box summary::-webkit-details-marker {
    display: none;
}

.author-box summary::after {
    content: '展开';
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-strong);
    border: 1px solid var(--line);
    background: var(--soft);
    padding: 6px 10px;
    border-radius: 999px;
    flex-shrink: 0;
}

.author-box[open] summary::after {
    content: '收起';
}

.author-content {
    border-top: 1px solid var(--line);
    padding: 0 18px 18px;
}

.author-content p {
    margin: 14px 0 0;
    color: #304034;
    font-size: 14px;
    line-height: 1.9;
}

.result-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

@media (max-width: 860px) {
    .result-top {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {

    .hero-grid,
    .result-hero {
        grid-template-columns: 1fr;
    }

    .dim-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .shell {
        padding: 12px 10px 42px;
    }

    .hero,
    .test-wrap,
    .result-wrap {
        padding: 14px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .question {
        padding: 20px 16px;
        border-radius: 18px;
    }

    .question-title {
        font-size: 16px;
        margin-bottom: 18px;
    }

    .topbar {
        padding: 12px 16px;
        border-radius: 16px;
        top: 8px;
        margin-bottom: 20px;
    }

    .option-card {
        padding: 14px 16px;
        gap: 12px;
        border-radius: 14px;
    }

    .option-code {
        width: 26px;
        height: 26px;
        font-size: 13px;
        border-radius: 8px;
    }

    .mbti-cta-box {
        gap: 14px;
    }

    .mbti-cta-header {
        align-items: flex-start;
    }

    .mbti-cta-grid {
        grid-template-columns: 1fr;
    }

    .mbti-cta-box h3 {
        font-size: 24px;
        max-width: none;
    }

    .mbti-cta-panel {
        padding: 14px;
    }

    .mbti-compare-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .mbti-cta-btn {
        width: 100%;
        text-align: center;
    }

    .mbti-cta-note {
        max-width: none;
    }

    .option-text {
        font-size: 14px;
    }

    .radio-indicator {
        width: 18px;
        height: 18px;
    }
    
    .radio-indicator::after {
        width: 8px;
        height: 8px;
    }

    .dim-grid,
    .score-grid {
        grid-template-columns: 1fr;
    }
}

/* ─── AI 个性化解读区块 ────────────────────────────────────── */
.ai-analysis-box {
    border: 1px solid rgba(108, 141, 113, 0.35);
    border-radius: 18px;
    padding: 20px 22px;
    background: linear-gradient(135deg, #f0f9f1 0%, #fdfffe 60%, #eef8f0 100%);
    position: relative;
    overflow: hidden;
    transition: opacity 0.3s ease;
}

.featured-ai-box {
    border: 2px solid rgba(108, 141, 113, 0.6);
    background: linear-gradient(135deg, #eefaf0 0%, #ffffff 50%, #e6f5e8 100%);
    box-shadow: 0 12px 32px rgba(47, 73, 56, 0.08), inset 0 2px 4px rgba(255, 255, 255, 0.9);
    padding: 28px 24px;
    margin-bottom: 24px;
    transform: scale(1.01);
}

.btn-ai-featured {
    font-size: 18px;
    padding: 18px 42px;
    box-shadow: 0 12px 28px rgba(77, 106, 83, 0.3), 0 0 0 4px rgba(122, 170, 130, 0.15);
}

/* 顶部光晕装饰 */
.ai-analysis-box::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108, 141, 113, 0.18), transparent 70%);
    pointer-events: none;
}

.ai-hidden {
    display: none;
}

.ai-analysis-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #4d6a53, #6c8d71);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
    letter-spacing: 0.04em;
}

.ai-subtitle {
    color: var(--muted);
    font-size: 12px;
}

/* 骨架屏 */
.ai-skeleton {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.skeleton-line {
    height: 14px;
    background: linear-gradient(90deg, #dff0e3 25%, #edf7ef 50%, #dff0e3 75%);
    background-size: 200% 100%;
    border-radius: 999px;
    animation: shimmer 1.4s infinite linear;
}

@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ── 触发区 ── */
.ai-action-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 18px 0 8px;
    text-align: center;
}

.ai-trigger-warning {
    font-size: 13px;
    font-weight: 600;
    color: #b85c38;
    margin: 0;
    letter-spacing: 0.02em;
    opacity: 0.85;
}

/* 按钮光晕脉冲动画 */
@keyframes ai-pulse {
    0%, 100% { box-shadow: 0 8px 28px rgba(77, 106, 83, 0.28), 0 0 0 0 rgba(122, 170, 130, 0.5); }
    50%       { box-shadow: 0 12px 36px rgba(77, 106, 83, 0.38), 0 0 0 10px rgba(122, 170, 130, 0); }
}

.btn-ai-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    /* 渐变背景 */
    background: linear-gradient(135deg, #3e5e45 0%, #5f9468 50%, #7aaa82 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 15px 36px;
    border-radius: 16px;
    border: none;
    letter-spacing: 0.04em;
    /* 脉冲光晕 */
    animation: ai-pulse 2.4s ease-in-out infinite;
    transition: transform .18s cubic-bezier(.34,1.56,.64,1), box-shadow .18s ease, opacity .18s ease;
    cursor: pointer;
    /* 光泽遮罩 */
    overflow: hidden;
}

/* 顶部高光条 */
.btn-ai-trigger::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 40%;
    background: linear-gradient(180deg, rgba(255,255,255,0.22) 0%, transparent 100%);
    border-radius: 0 0 50% 50%;
    pointer-events: none;
}

.btn-ai-trigger:hover {
    transform: translateY(-3px) scale(1.03);
    animation-play-state: paused;
    box-shadow: 0 18px 44px rgba(77, 106, 83, 0.4), 0 0 0 4px rgba(122, 170, 130, 0.18);
}

.btn-ai-trigger:active {
    transform: translateY(0) scale(0.97);
    box-shadow: 0 4px 12px rgba(77, 106, 83, 0.25);
}

.btn-ai-trigger:disabled {
    opacity: 0.6;
    transform: none;
    cursor: not-allowed;
    animation: none;
    box-shadow: 0 4px 12px rgba(77, 106, 83, 0.15);
}

/* 正文打印文字 */
.ai-text {
    margin: 0;
    color: #2c3e30;
    font-size: 15px;
    line-height: 1.95;
    white-space: pre-wrap;
    letter-spacing: 0.01em;
}

/* ─── 全局头部导航 (官网感) ────────────────────────────────────── */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 16px 24px;
    border-radius: 999px;
    margin-bottom: 32px;
    box-shadow: 0 4px 24px rgba(47, 73, 56, 0.04), inset 0 2px 4px rgba(255, 255, 255, 0.4);
    position: relative;
    z-index: 10;
}

.main-header .logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 18px;
    color: var(--accent-strong);
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

.header-ai-badge {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #fff;
    padding: 6px 14px;
    border-radius: 999px;
    letter-spacing: 0.06em;
    box-shadow: 0 4px 12px rgba(94, 127, 100, 0.3);
    text-transform: uppercase;
}

/* ─── 底部声明区 (官网感) ────────────────────────────────────── */
.main-footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px dashed var(--line);
    text-align: center;
}

.main-footer .credits {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.8;
}

.main-footer .credits p {
    margin-bottom: 6px;
}

.main-footer a {
    color: var(--accent-strong);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(108, 141, 113, 0.3);
    transition: all 0.2s ease;
}

.main-footer a:hover {
    color: #2f4937;
    border-bottom-color: #2f4937;
}

.main-footer .hosting-info {
    margin-top: 12px;
    font-size: 12px;
    opacity: 0.7;
}

@media (max-width: 600px) {
    .main-header {
        flex-direction: column;
        gap: 12px;
        border-radius: 20px;
        padding: 16px;
    }
}

/* ─── SEO FAQ 区块样式 ────────────────────────────────────── */
.seo-faq {
    margin-top: 32px;
    padding: 24px;
    background: linear-gradient(180deg, #f9fbf9, #ffffff);
    border-radius: 18px;
    border: 1px solid var(--line);
}

.seo-faq h2 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--accent-strong);
    text-align: center;
}

.seo-faq details {
    margin-bottom: 12px;
    border-bottom: 1px dashed var(--line);
    padding-bottom: 12px;
}

.seo-faq details:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.seo-faq summary {
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    color: var(--text);
    padding: 8px 0;
    outline: none;
}

.seo-faq p {
    margin-top: 8px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.8;
}

/* ═══════════════════════════════════════════════════════════
   全局导航栏（所有页面共用）
   ═══════════════════════════════════════════════════════════ */
.global-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(240, 244, 242, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(219, 232, 221, 0.7);
    box-shadow: 0 4px 24px rgba(39, 59, 45, 0.06);
}

.nav-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    height: 60px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 18px;
    color: var(--accent-strong);
    text-decoration: none;
    white-space: nowrap;
    margin-right: 8px;
}

.nav-logo img {
    height: 32px;
    width: auto;
    border-radius: 8px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.nav-link {
    padding: 7px 13px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-link:hover {
    background: rgba(94, 127, 100, 0.1);
    color: var(--accent-strong);
}

.nav-link--active {
    background: rgba(94, 127, 100, 0.15);
    color: var(--accent-strong);
}

.nav-cta {
    margin-left: auto;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #fff !important;
    border-radius: 12px;
    padding: 8px 16px;
    font-size: 13px;
    box-shadow: 0 4px 12px rgba(39, 59, 45, 0.2);
    transition: all 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(39, 59, 45, 0.3);
    background: rgba(0,0,0,0) !important;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong)) !important;
}

.nav-hamburger {
    display: none;
    margin-left: auto;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--accent-strong);
    padding: 4px 8px;
    border-radius: 8px;
}

.nav-mobile-menu {
    display: none;
    flex-direction: column;
    padding: 12px 20px;
    gap: 4px;
    border-top: 1px solid var(--line);
    background: rgba(240, 244, 242, 0.98);
}

.nav-mobile-menu.active {
    display: flex;
}

.nav-mobile-link {
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    color: var(--muted);
    text-decoration: none;
    transition: all 0.2s ease;
}

.nav-mobile-link:hover {
    background: rgba(94, 127, 100, 0.1);
    color: var(--accent-strong);
}

.nav-mobile-cta {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #fff !important;
    text-align: center;
    margin-top: 4px;
    border-radius: 14px;
}

@media (max-width: 720px) {
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }
}

/* ═══════════════════════════════════════════════════════════
   多页面通用 Shell / Layout
   ═══════════════════════════════════════════════════════════ */
.page-shell {
    max-width: 1000px;
    margin: 0 auto;
    padding: 28px 20px 80px;
}

.page-hero {
    padding: 36px 32px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: "";
    position: absolute;
    right: -8%;
    top: -30%;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    pointer-events: none;
    animation: floatOrb 8s ease-in-out infinite alternate;
}

.page-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(28px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #17211a 0%, #3e5244 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 16px;
    margin-bottom: 12px;
}

.page-hero-sub {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.8;
    max-width: 700px;
    margin-bottom: 20px;
}

.page-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.stat-pill {
    background: rgba(255,255,255,0.7);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 7px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-strong);
    backdrop-filter: blur(8px);
}

/* ═══════════════════════════════════════════════════════════
   AI差异化横幅
   ═══════════════════════════════════════════════════════════ */
.ai-exclusive-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, rgba(39,59,45,0.06), rgba(94,127,100,0.08));
    border: 1px solid rgba(94,127,100,0.25);
    border-radius: 18px;
    padding: 18px 22px;
    margin-bottom: 20px;
}

.ai-exclusive-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.ai-exclusive-banner strong {
    font-size: 15px;
    color: var(--accent-strong);
}

.ai-exclusive-banner p {
    font-size: 13px;
    color: var(--muted);
    margin-top: 4px;
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   人格类型总览页
   ═══════════════════════════════════════════════════════════ */
.rarity-banner {
    padding: 24px;
    margin-bottom: 20px;
}

.rarity-banner h2 {
    font-size: 17px;
    margin-bottom: 16px;
    color: var(--accent-strong);
}

.rarity-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.rarity-item {
    border-radius: 14px;
    padding: 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.rarity-legendary { background: linear-gradient(135deg, #fff8e0, #fef3c0); border: 1px solid #f5c842; }
.rarity-epic      { background: linear-gradient(135deg, #f5f0ff, #ede9fe); border: 1px solid #a78bfa; }
.rarity-rare      { background: linear-gradient(135deg, #eff6ff, #dbeafe); border: 1px solid #60a5fa; }
.rarity-hidden    { background: linear-gradient(135deg, #fdf4ff, #f3e8ff); border: 1px solid #c084fc; }

.rarity-icon { font-size: 20px; }
.rarity-label { font-weight: 800; font-size: 13px; }
.rarity-types { font-size: 11px; color: var(--muted); line-height: 1.5; }
.rarity-desc { font-size: 11px; color: var(--muted); }

.types-section { margin-bottom: 32px; }

.section-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--accent-strong);
    margin-bottom: 8px;
}

.section-sub {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 20px;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.types-grid--hidden {
    grid-template-columns: repeat(2, 1fr);
}

.type-card {
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(16px);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s ease;
}

.type-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(39,59,45,0.12);
}

.type-card--hidden {
    background: linear-gradient(135deg, rgba(240,230,255,0.6), rgba(255,255,255,0.8));
    border-color: rgba(160,100,220,0.3);
}

.type-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.type-card-code {
    font-family: 'Outfit', monospace;
    font-weight: 800;
    font-size: 18px;
    color: var(--accent-strong);
    letter-spacing: -0.02em;
}

.type-rarity-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(255,255,255,0.7);
    border: 1px solid var(--line);
    color: var(--muted);
}

.legend-badge { background: #fff8e0; border-color: #f5c842; color: #b45309; }
.epic-badge   { background: #ede9fe; border-color: #a78bfa; color: #7c3aed; }
.rare-badge   { background: #dbeafe; border-color: #60a5fa; color: #1d4ed8; }
.hidden-badge { background: #f3e8ff; border-color: #c084fc; color: #7e22ce; }

.type-card-cn {
    font-weight: 800;
    font-size: 16px;
    color: var(--text);
}

.type-card-intro {
    font-size: 13px;
    color: var(--muted);
    font-style: italic;
    margin: 0;
    line-height: 1.5;
}

.type-card-desc {
    font-size: 13px;
    color: #4a5e51;
    line-height: 1.7;
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.type-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.type-card-tags span {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(94,127,100,0.1);
    color: var(--accent-strong);
    border: 1px solid rgba(94,127,100,0.2);
}

.type-card-btn {
    display: block;
    text-align: center;
    padding: 10px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    margin-top: 4px;
    transition: all 0.3s ease;
}

.type-card-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(39,59,45,0.25);
}

.unlock-hint {
    font-size: 12px;
    color: #7e22ce;
    background: rgba(243,232,255,0.7);
    border: 1px solid rgba(192,132,252,0.4);
    border-radius: 10px;
    padding: 8px 12px;
    line-height: 1.6;
}

.hidden-section {
    background: linear-gradient(135deg, rgba(243,232,255,0.2), transparent);
    border-radius: 20px;
    padding: 20px;
    border: 1px dashed rgba(192,132,252,0.4);
}

/* ═══════════════════════════════════════════════════════════
   排行榜页
   ═══════════════════════════════════════════════════════════ */
.rank-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.rank-stat-big {
    background: rgba(255,255,255,0.6);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
    text-align: center;
    backdrop-filter: blur(8px);
}

.rank-stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 900;
    color: var(--accent-strong);
    letter-spacing: -0.04em;
    transition: transform 0.2s ease;
}

.rank-stat-number.count-bump {
    transform: scale(1.08);
    color: #2e7d32;
}

.rank-stat-label {
    font-size: 12px;
    color: var(--muted);
    margin-top: 4px;
    line-height: 1.4;
}

.rank-table {
    padding: 0;
    overflow: hidden;
    margin-bottom: 20px;
}

.rank-table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 24px 16px;
    border-bottom: 1px solid var(--line);
    flex-wrap: wrap;
    gap: 8px;
}

.rank-table-header h2 {
    font-size: 17px;
    color: var(--accent-strong);
}

.rank-update-time {
    font-size: 12px;
    color: var(--muted);
}

.rank-list {
    padding: 8px 0;
}

.rank-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 24px;
    border-bottom: 1px solid rgba(219,232,221,0.4);
    transition: background 0.2s ease;
}

.rank-item:hover { background: rgba(255,255,255,0.5); }
.rank-item:last-child { border-bottom: none; }

.rank-medal {
    font-size: 18px;
    width: 36px;
    text-align: center;
    flex-shrink: 0;
    font-weight: 700;
    color: var(--muted);
    font-size: 13px;
}

.rank-info {
    flex: 1;
    min-width: 0;
}

.rank-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.rank-code {
    font-family: 'Outfit', monospace;
    font-weight: 800;
    font-size: 15px;
    color: var(--accent-strong);
}

.rank-cn {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.rank-rarity-tag {
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(94,127,100,0.1);
    color: var(--muted);
    border: 1px solid var(--line);
}

.rank-bar-wrap {
    height: 6px;
    background: rgba(237,246,239,0.8);
    border-radius: 999px;
    overflow: hidden;
}

.rank-bar {
    height: 100%;
    border-radius: 999px;
    transition: width 0.8s cubic-bezier(0.16,1,0.3,1);
}

.rank-nums {
    text-align: right;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.rank-count {
    font-family: 'Outfit', monospace;
    font-weight: 800;
    font-size: 15px;
    color: var(--accent-strong);
}

.rank-pct {
    font-size: 12px;
    color: var(--muted);
}

.rank-trend {
    font-size: 11px;
    font-weight: 600;
}

.trend-up   { color: #16a34a; }
.trend-down { color: #dc2626; }

.rank-insight {
    padding: 24px;
    margin-bottom: 20px;
}

.rank-insight h2 {
    font-size: 17px;
    color: var(--accent-strong);
    margin-bottom: 16px;
}

.insight-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.insight-item {
    background: rgba(255,255,255,0.6);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px;
    text-align: center;
}

.insight-icon { font-size: 24px; margin-bottom: 6px; }
.insight-title { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.insight-value { font-size: 15px; font-weight: 800; color: var(--accent-strong); margin-bottom: 6px; }
.insight-desc  { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* ═══════════════════════════════════════════════════════════
   关于测试页
   ═══════════════════════════════════════════════════════════ */
.about-card {
    padding: 32px;
    margin-bottom: 20px;
}

.about-card h2 {
    font-size: 20px;
    color: var(--accent-strong);
    margin-bottom: 16px;
}

.about-card p {
    font-size: 15px;
    color: #4a5e51;
    line-height: 1.85;
}

.dim-model-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.dim-model-group {
    background: rgba(255,255,255,0.6);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px;
}

.dim-model-group:last-child {
    grid-column: 1 / -1;
}

.dim-model-title {
    font-weight: 800;
    font-size: 14px;
    color: var(--accent-strong);
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
}

.dim-model-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dim-model-item {
    display: grid;
    grid-template-columns: 36px 100px 1fr;
    gap: 8px;
    align-items: center;
    font-size: 13px;
}

.dim-model-item span:first-child {
    font-weight: 800;
    color: var(--accent);
}

.dim-model-item span:nth-child(2) {
    font-weight: 600;
    color: var(--text);
}

.dim-model-item span:last-child {
    color: var(--muted);
    line-height: 1.4;
}

.about-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin-top: 12px;
}

.about-table th {
    background: rgba(94,127,100,0.1);
    padding: 10px 14px;
    text-align: left;
    font-weight: 700;
    color: var(--accent-strong);
    border-bottom: 2px solid var(--line);
}

.about-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--line);
    color: #4a5e51;
    vertical-align: top;
}

.about-table tr:last-child td { border-bottom: none; }
.about-table tr:nth-child(even) td { background: rgba(255,255,255,0.4); }
.about-table td:nth-child(2) { color: var(--accent-strong); font-weight: 700; }

.ai-about-card {
    background: linear-gradient(135deg, rgba(39,59,45,0.04), rgba(240,244,242,0.9));
    border-color: rgba(94,127,100,0.3);
}

.ai-flow {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.ai-flow-step {
    flex: 1;
    min-width: 140px;
    background: rgba(255,255,255,0.7);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px;
}

.ai-flow-num {
    font-weight: 900;
    font-size: 20px;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}

.ai-flow-step strong {
    font-size: 13px;
    color: var(--text);
    display: block;
    margin-bottom: 4px;
}

.ai-flow-step p {
    font-size: 12px !important;
    color: var(--muted) !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

.ai-flow-arrow {
    font-size: 20px;
    color: var(--accent);
    align-self: center;
    flex-shrink: 0;
    font-weight: 700;
}

.ai-about-note {
    margin-top: 16px;
    background: rgba(94,127,100,0.08);
    border: 1px solid rgba(94,127,100,0.2);
    border-radius: 12px;
    padding: 14px;
    font-size: 14px;
    color: var(--accent-strong);
    line-height: 1.7;
}

.author-quote {
    margin: 0;
    border-left: 4px solid var(--accent);
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.author-quote p {
    font-size: 14px !important;
    color: var(--muted) !important;
    font-style: italic;
    line-height: 1.8;
    margin: 0;
}

.author-quote footer {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-strong);
}

.author-quote a {
    color: inherit;
}

/* ═══════════════════════════════════════════════════════════
   公共底部 CTA + Footer
   ═══════════════════════════════════════════════════════════ */
.cta-block {
    text-align: center;
    padding: 40px 24px;
    background: linear-gradient(135deg, rgba(39,59,45,0.06), rgba(94,127,100,0.06));
    border-radius: 24px;
    border: 1px solid rgba(94,127,100,0.2);
    margin-bottom: 32px;
    margin-top: 20px;
}

.cta-block h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(20px, 4vw, 32px);
    font-weight: 800;
    color: var(--accent-strong);
    margin-bottom: 8px;
}

.cta-block p {
    font-size: 15px;
    color: var(--muted);
    margin-bottom: 20px;
}

.page-footer {
    background: rgba(39,59,45,0.04);
    border-top: 1px solid var(--line);
    padding: 24px 20px;
}

.footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-nav a {
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-nav a:hover { color: var(--accent-strong); }

.footer-copy {
    font-size: 13px;
    color: var(--muted);
}

.footer-copy a {
    color: var(--accent);
    text-decoration: underline;
}

.footer-kw {
    font-size: 11px;
    color: var(--muted);
    opacity: 0.6;
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   主页新增：计数器 + 跳转卡片 + 导航增补
   ═══════════════════════════════════════════════════════════ */
.counter-strip {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 10px 16px;
    background: rgba(255,255,255,0.6);
    border: 1px solid var(--line);
    border-radius: 999px;
    width: fit-content;
    backdrop-filter: blur(8px);
}

.counter-fire { font-size: 16px; }

.counter-num {
    font-family: 'Outfit', monospace;
    font-weight: 900;
    font-size: 18px;
    color: var(--accent-strong);
    transition: transform 0.2s ease;
    letter-spacing: -0.02em;
}

.counter-num.bump { transform: scale(1.12); }

.counter-label {
    font-size: 13px;
    color: var(--muted);
    font-weight: 500;
}

.nav-shortcut-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 24px;
}

.nav-shortcut-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 16px 18px;
    background: rgba(255,255,255,0.65);
    border: 1px solid var(--line);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.nav-shortcut-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(39,59,45,0.1);
    border-color: rgba(94,127,100,0.4);
}

.nav-shortcut-icon { font-size: 22px; }

.nav-shortcut-title {
    font-weight: 800;
    font-size: 14px;
    color: var(--accent-strong);
}

.nav-shortcut-desc {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════
   Bento Box (便当盒网格)
   ═══════════════════════════════════════════════════════════ */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 16px;
    margin-bottom: 24px;
}

.bento-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255,255,255, 0.8);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 4px 24px rgba(39, 59, 45, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.8), rgba(255,255,255,0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.bento-card.hoverable:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(39, 59, 45, 0.1);
    background: rgba(255, 255, 255, 0.9);
}

.bento-card.span-2 {
    grid-column: span 2;
}

.bento-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.bento-icon.types-icon { text-shadow: 0 8px 16px rgba(16, 185, 129, 0.3); }
.bento-icon.rank-icon { text-shadow: 0 8px 16px rgba(245, 158, 11, 0.3); }
.bento-icon.about-icon { text-shadow: 0 8px 16px rgba(59, 130, 246, 0.3); }

.bento-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--accent-strong);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.bento-desc {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
}

.bento-disclaimer {
    background: transparent;
    border: 1px solid rgba(94, 127, 100, 0.2);
    border-radius: 16px;
    padding: 16px;
    font-size: 12px;
    color: #7a867e;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 40px;
}

.feature-panel {
    justify-content: center;
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.feature-header h3 {
    font-size: 20px;
    color: var(--accent-strong);
}

.feature-icon {
    font-size: 28px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-list li {
    font-size: 14px;
    color: #4a5e51;
    line-height: 1.6;
    position: relative;
    padding-left: 16px;
}

.feature-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.feature-list li strong {
    color: var(--accent-strong);
}

.ai-panel {
    background: linear-gradient(to bottom right, rgba(255,255,255,0.8), rgba(230, 246, 238, 0.6));
}

.vs-panel {
    grid-column: span 1; /* 虽然叫做 span-2，在默认 3 列我们要改一下网格结构 */
}

/* ═══════════════════════════════════════════════════════════
   全新首屏结构与排版 (Home Hero)
   ═══════════════════════════════════════════════════════════ */
.page-shell {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 20px 64px;
    position: relative;
    z-index: 1;
}

.index-hero-banner {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft), var(--shadow-inner);
    padding: 72px 40px;
    position: relative;
    overflow: hidden;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 32px;
}

.hero-glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(94, 127, 100, 0.2);
    top: -100px;
    left: -100px;
    animation: floatOrb1 10s ease-in-out infinite alternate;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: rgba(47, 73, 56, 0.15);
    bottom: -80px;
    right: -80px;
    animation: floatOrb2 8s ease-in-out infinite alternate;
}

@keyframes floatOrb1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, 40px) scale(1.1); }
}

@keyframes floatOrb2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-30px, -30px) scale(1.05); }
}

.index-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-strong);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(108, 141, 113, 0.3);
    border-radius: 999px;
    padding: 8px 16px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(47, 73, 56, 0.05);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #ef4444;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    animation: pulseRed 2s cubic-bezier(0.66, 0, 0, 1) infinite;
}

@keyframes pulseRed {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.index-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(36px, 5.5vw, 68px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: #17211a;
    background: linear-gradient(135deg, #17211a 0%, #3e5244 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 24px;
}

.index-hero-sub {
    font-size: clamp(16px, 2vw, 18px);
    color: var(--muted);
    line-height: 1.8;
    max-width: 720px;
    margin-bottom: 32px;
}

.index-hero-sub strong {
    color: var(--accent-strong);
    font-weight: 800;
}

.highlight-text {
    color: var(--accent-strong);
    background: linear-gradient(120deg, rgba(94, 127, 100, 0.2) 0%, rgba(94, 127, 100, 0.2) 100%);
    background-repeat: no-repeat;
    background-size: 100% 30%;
    background-position: 0 88%;
}

.index-hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
    color: #fff;
    padding: 16px 32px;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(39, 59, 45, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-btn-primary span {
    font-size: 14px;
    opacity: 0.8;
    font-weight: 500;
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(39, 59, 45, 0.35);
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    color: var(--accent-strong);
    padding: 16px 32px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    border: 1px solid rgba(108, 141, 113, 0.3);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.hero-btn-secondary:hover {
    background: #fff;
    border-color: var(--accent);
    transform: translateY(-2px);
}

.hero-counter-strip {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 999px;
    padding: 10px 24px;
    box-shadow: inset 0 2px 4px rgba(255,255,255,0.5);
}

.fire-icon {
    font-size: 20px;
}

.counter-text {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.counter-num {
    font-size: 24px;
    font-weight: 900;
    color: var(--accent-strong);
    font-variant-numeric: tabular-nums;
    transition: transform 0.1s ease;
}

.counter-num.bump {
    transform: scale(1.1);
    color: var(--accent-strong);
}

.counter-label {
    font-size: 13px;
    color: var(--muted);
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════
   人格详情页 (Type Detail Pages)
   ═══════════════════════════════════════════════════════════ */
/* ─── 人格详情页 (Type Detail Pages - Premium Revamp) ────────────────────────── */
.type-detail-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
}

.type-header-hero {
    text-align: center;
    padding: 100px 40px 80px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 0 0 48px 48px;
    margin-bottom: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    margin-top: -20px; /* 抵消 nav 的粘性落差，使背景衔接 */
}

.type-header-hero::before {
    content: "";
    position: absolute;
    top: -150px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(94, 127, 100, 0.15) 0%, transparent 70%);
    z-index: 0;
}

.type-code-pill {
    position: relative;
    z-index: 1;
    display: inline-block;
    padding: 8px 24px;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: white;
    font-weight: 800;
    border-radius: 999px;
    font-size: 14px;
    letter-spacing: 4px;
    margin-bottom: 24px;
    box-shadow: 0 8px 20px rgba(94, 127, 100, 0.3);
    text-transform: uppercase;
}

.type-main-title {
    position: relative;
    z-index: 1;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(48px, 10vw, 84px);
    font-weight: 900;
    margin: 0;
    letter-spacing: -4px;
    line-height: 0.9;
    background: linear-gradient(135deg, #17211a 0%, #3e5244 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.type-golden-phrase {
    position: relative;
    z-index: 1;
    margin: 32px auto 0;
    font-size: 1.4rem;
    color: var(--muted);
    font-style: italic;
    max-width: 600px;
    line-height: 1.6;
    font-family: "PingFang SC", "Microsoft YaHei", serif;
}

.type-golden-phrase::before,
.type-golden-phrase::after {
    content: '"';
    font-size: 3rem;
    color: var(--accent);
    opacity: 0.3;
    position: absolute;
    line-height: 1;
}

.type-golden-phrase::before { top: -20px; left: -30px; }
.type-golden-phrase::after { bottom: -40px; right: -30px; }

.detail-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 32px;
    padding: 56px 48px;
    box-shadow: 0 20px 50px rgba(108,141,113,0.08);
    margin-bottom: 60px;
}

.detail-section-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent-strong);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--soft);
}

.detail-content {
    line-height: 2.1;
    font-size: 1.15rem;
    color: #2c3e30;
    text-align: justify;
}

.detail-content p {
    margin-bottom: 24px;
    position: relative;
}

.detail-content p:first-of-type::first-letter {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent);
    float: left;
    margin-right: 12px;
    line-height: 1;
    margin-top: 8px;
}

.back-action-bar {
    margin-top: 56px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* 移动端专属微调 */
@media (max-width: 768px) {
    .type-header-hero {
        padding: 80px 24px 60px;
        border-radius: 0 0 32px 32px;
    }
    .detail-card {
        padding: 32px 24px;
        margin: 0 10px 40px;
        border-radius: 24px;
    }
    .type-golden-phrase {
        font-size: 1.1rem;
        padding: 0 20px;
    }
    .type-golden-phrase::before { left: -10px; }
    .type-golden-phrase::after { right: -10px; }
}


/* ═══════════════════════════════════════════════════════════
   响应式适配
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    /* 移动端性能优化：移除沉重的由于滚动导致的滤镜重绘毛玻璃效果，解决白屏和闪烁 */
    .card, .question, .hero-counter-strip {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(255, 255, 255, 0.95);
    }
    .topbar {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
    
    .types-grid { grid-template-columns: repeat(2, 1fr); }
    .types-grid--hidden { grid-template-columns: 1fr; }
    .rarity-grid { grid-template-columns: repeat(2, 1fr); }
    .rank-hero-stats { grid-template-columns: repeat(3, 1fr); }
    .insight-grid { grid-template-columns: repeat(2, 1fr); }
    .dim-model-grid { grid-template-columns: 1fr; }
    .dim-model-group:last-child { grid-column: auto; }
    .ai-flow { flex-direction: column; }
    .ai-flow-arrow { display: none; }
    
    .bento-grid { grid-template-columns: 1fr; }
    .bento-card.span-2, .vs-panel { grid-column: span 1; }
    .index-hero-banner { padding: 40px 20px; }
    .index-hero-actions { flex-direction: column; width: 100%; }
    .hero-btn-primary, .hero-btn-secondary { width: 100%; }
}

@media (max-width: 480px) {
    .types-grid { grid-template-columns: 1fr; }
    .rank-hero-stats { grid-template-columns: 1fr; }
    .insight-grid { grid-template-columns: 1fr; }
    .page-hero { padding: 24px 20px; }
    .about-card { padding: 20px; }
    .nav-shortcut-grid { grid-template-columns: 1fr; }
}
