/* ==================== CSS变量 - 粉色系 ==================== */
:root {
    --primary: #FF7B9C;
    --primary-light: #FFB3C6;
    --primary-dark: #FF5A7E;
    --primary-glow: rgba(255, 123, 156, 0.25);
    --bg-pink: #FFECF2;
    --bg-cream: #FFF1F5;
    --bg-card: #FFF1F5;
    --bg-hover: #FFE0E9;
    --text-dark: #5D3A4A;
    --text-medium: #8B6B7A;
    --text-light: #B89BA8;
    --white: #FFFFFF;
    --pink-gradient: linear-gradient(135deg, #FF7B9C, #FFA8C5);
    --pink-gradient-soft: linear-gradient(135deg, #FFECF2, #FFE0E9, #FFD6E0);
    --shadow-sm: 0 2px 8px rgba(255, 123, 156, 0.10);
    --shadow-md: 0 4px 20px rgba(255, 123, 156, 0.15);
    --shadow-lg: 0 8px 40px rgba(255, 123, 156, 0.20);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-xl: 36px;
    --font-hand: 'Comic Sans MS', 'PingFang SC', cursive;
    --font-body: 'PingFang SC', 'Microsoft YaHei', -apple-system, sans-serif;
    --font-title: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* ==================== 基础重置 ==================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-pink);
    color: var(--text-dark);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    padding: 0 0 40px 0;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255, 123, 156, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(255, 90, 126, 0.04) 0%, transparent 50%);
}

/* ==================== 页面切换 ==================== */
.page {
    display: none;
    animation: fadeUp 0.4s ease;
}

.page.active {
    display: block;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    14% { transform: scale(1.3); }
    28% { transform: scale(1); }
    42% { transform: scale(1.3); }
    56% { transform: scale(1); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes ringPulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 123, 156, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(255, 123, 156, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 123, 156, 0); }
}

.fade-in { animation: fadeIn 0.5s ease; }
.fade-in-delay-1 { animation: fadeIn 0.5s ease 0.1s both; }
.fade-in-delay-2 { animation: fadeIn 0.5s ease 0.2s both; }
.fade-in-delay-3 { animation: fadeIn 0.5s ease 0.3s both; }

/* ==================== 容器 ==================== */
.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }

/* ==================== 顶部导航 ==================== */
.top-nav {
    position: sticky;
    top: 0;
    z-index: 900;
    padding: 12px 20px;
    background: rgba(255, 245, 248, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 123, 156, 0.12);
}

.top-nav-inner {
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    cursor: pointer;
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
}

.nav-brand-icon {
    font-size: 22px;
    animation: heartBeat 2.5s infinite;
}

.nav-brand-text {
    font-family: var(--font-hand);
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 16px;
    font-size: 13px;
}

.nav-link {
    color: var(--text-medium);
    text-decoration: none;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.nav-link:hover {
    background: var(--bg-hover);
    color: var(--primary);
}

/* ==================== 首页 Hero ==================== */
.hero-section {
    padding: 28px 0 16px;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: var(--pink-gradient-soft);
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    border: 1.5px solid rgba(255, 123, 156, 0.15);
    animation: ringPulse 3s infinite;
}

.hero-title {
    font-family: var(--font-hand);
    font-size: 32px;
    color: var(--text-dark);
    line-height: 1.2;
    font-weight: 800;
}

.hero-title span {
    color: var(--primary);
}

.hero-sub {
    font-size: 15px;
    color: var(--text-medium);
    margin-top: 8px;
    line-height: 1.6;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.hero-sub strong {
    color: var(--text-dark);
}

/* ==================== 入口卡片双栏 ==================== */
.entry-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 20px;
}

.entry-card {
    background: var(--bg-cream);
    border-radius: var(--radius-md);
    padding: 24px 18px 20px;
    box-shadow: var(--shadow-sm);
    border: 1.5px solid rgba(255, 123, 156, 0.12);
    transition: all 0.25s ease;
    cursor: pointer;
    text-align: left;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.entry-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.entry-card:active {
    transform: scale(0.97);
}

.entry-card.primary {
    background: linear-gradient(145deg, #FFF1F5, #FFE8F0);
    border-color: var(--primary-light);
}

.entry-card .card-icon {
    font-size: 28px;
    display: block;
    margin-bottom: 6px;
}

.entry-card .card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
}

.entry-card .card-desc {
    font-size: 13px;
    color: var(--text-medium);
    margin: 4px 0 10px;
    line-height: 1.5;
}

.entry-card .card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 12px;
}

.entry-card .card-tag {
    font-size: 10px;
    background: rgba(255, 123, 156, 0.12);
    color: var(--primary-dark);
    padding: 2px 10px;
    border-radius: 50px;
    font-weight: 500;
}

.entry-card .card-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--pink-gradient);
    color: #fff;
    font-family: var(--font-body);
    box-shadow: 0 4px 14px rgba(255, 123, 156, 0.25);
    margin-top: auto;
}

.entry-card .card-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 123, 156, 0.35);
}

.entry-card .card-btn.outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary-light);
    box-shadow: none;
}

.entry-card .card-btn.outline:hover {
    background: var(--bg-hover);
}

.entry-card .card-btn-group {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.entry-card .card-btn-group .card-btn {
    flex: 1;
    padding: 10px 0;
    font-size: 14px;
}

.entry-card .card-badge {
    position: absolute;
    top: -6px;
    right: 12px;
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 12px;
    border-radius: 50px;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(255, 123, 156, 0.3);
}

/* ==================== 数据统计卡片 2×2 ==================== */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 24px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1.5px solid rgba(255, 123, 156, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: default;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255, 123, 156, 0.15);
}

.stat-num {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-title);
    line-height: 1;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-medium);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ==================== 维度介绍区域 ==================== */
.dimension-section {
    margin-top: 36px;
}

.section-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
    text-align: center;
    font-family: var(--font-title);
}

.section-desc {
    font-size: 14px;
    color: var(--text-light);
    text-align: center;
    margin: 6px 0 20px;
    line-height: 1.5;
}

.dimension-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.dimension-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1.5px solid rgba(255, 123, 156, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: default;
}

.dimension-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 123, 156, 0.12);
}

.dimension-card .dimension-icon {
    font-size: 36px;
    display: block;
    margin-bottom: 10px;
    line-height: 1;
}

.dimension-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.dimension-card p {
    font-size: 13px;
    color: var(--text-medium);
    line-height: 1.6;
    margin: 0;
}

/* ==================== 三步流程 ==================== */
.howto-section {
    margin-top: 36px;
}

.howto-list {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.howto-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    box-shadow: var(--shadow-sm);
    border: 1.5px solid rgba(255, 123, 156, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.howto-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 123, 156, 0.12);
}

.howto-step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--pink-gradient);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(255, 123, 156, 0.3);
    font-family: var(--font-title);
}

.howto-content {
    flex: 1;
}

.howto-content h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.howto-content p {
    font-size: 13px;
    color: var(--text-medium);
    line-height: 1.5;
    margin: 0;
}

.howto-arrow {
    font-size: 20px;
    color: var(--primary-light);
    padding: 8px 0;
    font-weight: 300;
    line-height: 1;
}

/* ==================== 隐私政策（首页内嵌） ==================== */
.privacy-section {
    margin-top: 36px;
    text-align: center;
}

.privacy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
}

.privacy-item {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 14px 12px;
    font-size: 13px;
    color: var(--text-dark);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1.5px solid rgba(255, 123, 156, 0.08);
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
}

.privacy-check {
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
}

.privacy-note {
    font-size: 13px;
    color: var(--text-medium);
    margin-top: 16px;
    line-height: 1.8;
}

/* ==================== 典故卡片 ==================== */
.story-card {
    background: linear-gradient(135deg, #FFF1F5, #FFE8F0);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-top: 14px;
    border: 1.5px solid rgba(255, 123, 156, 0.15);
    box-shadow: var(--shadow-sm);
}

.story-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
    line-height: 1.5;
}

.story-content {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.8;
    margin: 0;
}

/* ==================== 赌约结果卡片 ==================== */
.bet-result-card {
    background: linear-gradient(135deg, #FFF1F5, #FFE8F0);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    margin-top: 20px;
    border: 2px solid rgba(255, 123, 156, 0.2);
    box-shadow: var(--shadow-md);
}

.bet-result-icon {
    font-size: 40px;
    margin-bottom: 8px;
}

.bet-result-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.bet-score-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 14px 0;
}

.bet-loser {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: rgba(255, 123, 156, 0.1);
    border-radius: var(--radius-sm);
    padding: 14px 20px;
    border: 2px dashed rgba(255, 123, 156, 0.3);
}

.bet-loser-badge {
    font-size: 11px;
    background: var(--primary);
    color: #fff;
    padding: 2px 10px;
    border-radius: 50px;
    font-weight: 600;
}

.bet-loser-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}

.bet-loser-score {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}

.bet-gap {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 600;
}

.bet-verdict {
    font-size: 16px;
    color: var(--text-dark);
    margin: 10px 0;
}

.bet-punishment {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 14px;
    margin: 12px 0;
    border: 1.5px solid rgba(255, 123, 156, 0.12);
}

.bet-label {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
}

.bet-content {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-dark);
}

.bet-hint {
    font-size: 13px;
    color: var(--text-medium);
    margin-top: 8px;
}

/* ==================== 已有默契码按钮 ==================== */
.home-activation-link {
    margin-top: 16px;
    text-align: center;
}

.home-activation-link button {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 4px;
    font-family: var(--font-body);
}

/* ==================== 底部 Footer ==================== */
.home-footer {
    text-align: center;
    padding: 30px 0 40px;
    font-size: 13px;
    color: var(--text-light);
    line-height: 2.2;
}

.home-footer-links {
    margin-top: 4px;
}

.home-footer a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s;
}

.home-footer a:hover {
    color: var(--primary);
}

.footer-divider {
    margin: 0 8px;
    color: rgba(255, 123, 156, 0.2);
}

/* ==================== 首页状态卡片 ==================== */
.home-status-section {
    margin: 30px 0;
}

.status-card {
    text-align: center;
    padding: 24px;
    background: var(--bg-cream);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1.5px solid rgba(255, 123, 156, 0.1);
    margin-bottom: 16px;
}

.status-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.status-card p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.status-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==================== 赌约页 ==================== */
.bet-header {
    text-align: center;
    padding: 20px 0 8px;
}

.bet-header h1 {
    font-family: var(--font-hand);
    font-size: 28px;
    color: var(--text-dark);
}

.bet-header p {
    color: var(--text-medium);
    font-size: 14px;
}

.bet-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.bet-card {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.bet-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.bet-card.selected {
    border-color: var(--primary);
    background: #FFF1F5;
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.bet-card .bet-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.bet-card .bet-info {
    flex: 1;
}

.bet-card .bet-name {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-dark);
}

.bet-card .bet-sub {
    font-size: 13px;
    color: var(--text-medium);
}

.bet-card .bet-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
    font-size: 12px;
    color: transparent;
}

.bet-card.selected .bet-check {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.bet-custom-input {
    margin-top: 10px;
    display: none;
}

.bet-custom-input.show {
    display: block;
}

.bet-custom-input input {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--primary-light);
    font-size: 15px;
    background: var(--white);
    outline: none;
    transition: border 0.2s;
    font-family: var(--font-body);
    color: var(--text-dark);
}

.bet-custom-input input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.bet-confirm {
    text-align: center;
    margin-top: 30px;
}

.bet-confirm-btn {
    width: 100%;
    padding: 16px 0;
    border-radius: 50px;
    background: var(--pink-gradient);
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    box-shadow: 0 6px 20px rgba(255, 123, 156, 0.35);
    transition: all 0.2s;
}

.bet-confirm-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(255, 123, 156, 0.45);
}

.bet-confirm-btn:active {
    transform: translateY(2px);
}

/* ==================== 答题页 ==================== */
.test-progress-wrap {
    position: sticky;
    top: 56px;
    z-index: 100;
    background: var(--bg-pink);
    padding: 16px 0 12px;
    border-bottom: 1px solid rgba(255, 123, 156, 0.1);
}

.test-progress-bar {
    height: 6px;
    background: rgba(255, 123, 156, 0.15);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.test-progress-bar .fill {
    height: 100%;
    background: var(--pink-gradient);
    border-radius: 3px;
    transition: width 0.4s ease;
}

.test-progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-light);
}

.question-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 22px;
    box-shadow: var(--shadow-md);
    margin-top: 20px;
    border: 1.5px solid rgba(255, 123, 156, 0.08);
    animation: fadeIn 0.4s ease;
}

.question-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.dimension-tag {
    display: inline-block;
    background: rgba(255, 123, 156, 0.12);
    color: var(--primary);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
}

.danger-tag {
    display: inline-block;
    background: rgba(255, 90, 126, 0.12);
    color: #E74C3C;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
}

.question-text {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.options-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    background: var(--bg-cream);
    border: 1.5px solid rgba(255, 123, 156, 0.1);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.15s;
    text-align: left;
    font-family: var(--font-body);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.option-item:hover {
    background: var(--bg-hover);
    transform: translateX(4px);
    border-color: var(--primary-light);
}

.option-item:active {
    transform: translateX(4px) scale(0.98);
}

.option-item.selected {
    border-color: var(--primary);
    background: var(--bg-hover);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.opt-label {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--pink-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.opt-text {
    flex: 1;
    padding-top: 3px;
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.5;
}



/* ==================== 单人结果页 ==================== */
.result-hero {
    text-align: center;
    padding: 28px 0 16px;
}

.result-badge {
    display: inline-block;
    background: var(--pink-gradient-soft);
    color: var(--primary-dark);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    border: 1.5px solid rgba(255, 123, 156, 0.15);
}

.score-card {
    text-align: center;
    background: var(--pink-gradient);
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    box-shadow: 0 10px 40px rgba(255, 123, 156, 0.35);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    animation: ringPulse 3s infinite;
}

.score-card::before {
    content: '✦';
    position: absolute;
    top: 12px;
    right: 20px;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.5);
}

.score-number {
    font-family: var(--font-hand);
    font-size: 64px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.score-suffix {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

.score-bar-wrap {
    margin: 16px 0 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    overflow: hidden;
}

.score-fill {
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 4px;
    transition: width 1s ease;
}

.score-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.tag-stamp {
    display: inline-block;
    background: var(--white);
    color: var(--text-dark);
    padding: 12px 32px;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 700;
    font-family: var(--font-hand);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--primary-light);
    margin-bottom: 20px;
}

.dimension-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.dimension-mini {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: var(--shadow-sm);
    border: 1.5px solid rgba(255, 123, 156, 0.08);
    text-align: center;
}

.dimension-mini-name {
    font-size: 13px;
    color: var(--text-medium);
    font-weight: 600;
    margin-bottom: 8px;
}

.dimension-mini-bar {
    height: 6px;
    background: rgba(255, 123, 156, 0.12);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 6px;
}

.dimension-mini-fill {
    height: 100%;
    background: var(--pink-gradient);
    border-radius: 3px;
    transition: width 1s ease;
}

.dimension-mini-score {
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
}

.suggest-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    box-shadow: var(--shadow-sm);
    border: 1.5px solid rgba(255, 123, 156, 0.08);
    margin-bottom: 20px;
}

.suggest-title {
    font-size: 17px;
    font-weight: 700;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.suggest-item {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-dark);
}

.suggest-item:last-child {
    margin-bottom: 0;
}

.suggest-num {
    flex-shrink: 0;
    font-size: 16px;
    color: var(--primary);
    font-weight: 700;
    margin-top: 2px;
}

.invite-card {
    background: linear-gradient(135deg, var(--bg-cream), var(--bg-hover));
    border-radius: var(--radius-lg);
    border: 2px dashed var(--primary-light);
    padding: 24px 20px;
    text-align: center;
    margin-bottom: 20px;
}

.invite-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.invite-card p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.invite-link-url {
    background: var(--white);
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px dashed var(--primary-light);
    font-size: 12px;
    color: var(--primary);
    word-break: break-all;
    line-height: 1.5;
    margin-bottom: 8px;
}

.invite-link-hint {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.invite-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ==================== CP报告页 ==================== */
.cp-hero {
    text-align: center;
    padding: 28px 0 16px;
}

.cp-badge {
    display: inline-block;
    background: var(--pink-gradient);
    color: #fff;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    box-shadow: 0 4px 14px rgba(255, 123, 156, 0.3);
}

.cp-title {
    font-family: var(--font-hand);
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.cp-sub {
    font-size: 14px;
    color: var(--text-light);
}

.cp-tag-card {
    background: var(--pink-gradient-soft);
    border-radius: var(--radius-xl);
    padding: 24px 24px;
    text-align: center;
    margin-top: 4px;
    margin-bottom: 20px;
    border: 2px solid rgba(255, 123, 156, 0.15);
    box-shadow: var(--shadow-md);
}

.cp-rarity {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.cp-tag-name {
    font-family: var(--font-hand);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.cp-tag-desc {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-dark);
}

.compare-bar {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    box-shadow: var(--shadow-sm);
    border: 1.5px solid rgba(255, 123, 156, 0.08);
    margin-bottom: 20px;
}

.compare-bar h3 {
    font-size: 17px;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 700;
}

.compare-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.compare-row:last-child {
    margin-bottom: 0;
}

.compare-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    width: 56px;
    flex-shrink: 0;
}

.compare-track {
    flex: 1;
    height: 24px;
    background: rgba(255, 123, 156, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.compare-fill {
    height: 100%;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    transition: width 1s ease;
    white-space: nowrap;
}

.compare-fill.me {
    background: linear-gradient(90deg, #FF7B9C, #FFA8C5);
}

.compare-fill.partner {
    background: linear-gradient(90deg, #FF6B8A, #FF5A7E);
}

.compare-score {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    width: 40px;
    flex-shrink: 0;
    text-align: right;
}

.compare-tag {
    font-size: 12px;
    color: var(--text-light);
    display: block;
    margin-top: 4px;
}

.radar-placeholder {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    box-shadow: var(--shadow-sm);
    border: 1.5px solid rgba(255, 123, 156, 0.08);
    margin-bottom: 20px;
    text-align: center;
}

.radar-placeholder h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.radar-placeholder canvas {
    margin: 0 auto;
    display: block;
}

.radar-legend {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 12px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-dark);
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

.review-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    box-shadow: var(--shadow-sm);
    border: 1.5px solid rgba(255, 123, 156, 0.08);
    margin-bottom: 20px;
}

.review-title {
    font-size: 17px;
    font-weight: 700;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.review-group {
    margin-bottom: 20px;
}

.review-group:last-child {
    margin-bottom: 0;
}

.review-group h4 {
    font-size: 15px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px dashed rgba(255, 123, 156, 0.2);
}

.review-good h4 { color: #4CAF50; }
.review-gap h4 { color: var(--primary); }
.review-wrong h4 { color: var(--text-light); }

.review-item {
    margin-bottom: 12px;
}

.review-item:last-child {
    margin-bottom: 0;
}

.review-question {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.review-answers {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    padding-left: 12px;
    border-left: 3px solid rgba(255, 123, 156, 0.2);
}

.review-answer.user { color: var(--primary); }
.review-answer.partner { color: var(--primary-dark); }

.review-gap-score {
    font-size: 12px;
    color: var(--primary);
    margin-top: 4px;
    text-align: right;
}

.summary-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1.5px solid rgba(255, 123, 156, 0.08);
    margin-bottom: 20px;
}

.summary-heart {
    font-size: 36px;
    margin-bottom: 12px;
    animation: heartBeat 2s infinite;
}

.summary-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
}

.share-section {
    margin: 30px 0;
    text-align: center;
}

.share-section h3 {
    font-size: 18px;
    margin-bottom: 16px;
    font-weight: 700;
    color: var(--text-dark);
}

.share-card {
    padding: 24px;
    background: linear-gradient(135deg, var(--bg-cream), var(--bg-hover));
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    border: 1.5px solid rgba(255, 123, 156, 0.1);
}

.share-card-inner {
    text-align: center;
}

.share-title {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.share-cp-label {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.share-scores {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--text-dark);
}

.share-vs {
    font-weight: 700;
    color: var(--primary);
}

.share-synergy {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.share-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    align-items: center;
}

.back-home-section {
    text-align: center;
    padding: 0;
}

/* ==================== 通用按钮 ==================== */
.btn-primary-lg {
    display: block;
    width: 100%;
    background: var(--pink-gradient);
    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: 16px 0;
    font-size: 17px;
    font-weight: 600;
    font-family: var(--font-body);
    box-shadow: 0 6px 20px rgba(255, 123, 156, 0.35);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.btn-primary-lg:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(255, 123, 156, 0.45);
}

.btn-primary-lg:active {
    transform: translateY(2px);
    box-shadow: 0 3px 12px rgba(255, 123, 156, 0.25);
}

.btn-primary {
    display: inline-block;
    background: var(--pink-gradient);
    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: 14px 40px;
    font-size: 17px;
    font-weight: 600;
    font-family: var(--font-body);
    box-shadow: 0 6px 20px rgba(255, 123, 156, 0.35);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(255, 123, 156, 0.45);
}

.btn-primary:active {
    transform: translateY(2px);
    box-shadow: 0 3px 12px rgba(255, 123, 156, 0.25);
}

.btn-secondary {
    display: inline-block;
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary-light);
    border-radius: 50px;
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 500;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.btn-secondary:hover {
    background: var(--bg-hover);
    border-color: var(--primary);
}

.btn-danger {
    display: inline-block;
    background: transparent;
    color: #E74C3C;
    border: 1.5px solid #E74C3C;
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.btn-danger:hover {
    background: #E74C3C;
    color: #fff;
}

.btn-back {
    display: inline-block;
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary-light);
    border-radius: 50px;
    padding: 10px 28px;
    font-size: 15px;
    font-weight: 500;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.btn-back:hover {
    background: var(--bg-hover);
}

.btn-text {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 15px;
    font-family: var(--font-body);
    cursor: pointer;
    padding: 8px 16px;
    transition: opacity 0.2s;
}

.btn-text:hover {
    opacity: 0.7;
}

/* ==================== 模态框 ==================== */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(93, 58, 74, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* ==================== 激活码页面卡片 ==================== */
.activation-card {
    background: var(--bg-cream);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px rgba(255, 123, 156, 0.15);
    padding: 36px 24px 28px;
    max-width: 420px;
    margin: 40px auto;
    text-align: center;
    border: 1.5px solid rgba(255, 123, 156, 0.1);
}

.activation-card-header {
    margin-bottom: 20px;
}

.activation-card-icon {
    font-size: 42px;
    display: block;
    margin-bottom: 10px;
}

.activation-card h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 6px;
    font-family: var(--font-title);
}

.activation-card p {
    font-size: 14px;
    color: var(--text-medium);
    margin: 0;
}

/* ==================== 邀请页 ==================== */
.invite-page-card {
    background: var(--bg-cream);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px rgba(255, 123, 156, 0.15);
    padding: 36px 24px 28px;
    max-width: 420px;
    margin: 40px auto;
    text-align: center;
    border: 1.5px solid rgba(255, 123, 156, 0.1);
}

.invite-page-header {
    margin-bottom: 24px;
}

.invite-page-icon {
    font-size: 42px;
    display: block;
    margin-bottom: 10px;
}

.invite-page-card h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 6px;
    font-family: var(--font-title);
}

.invite-page-card p {
    font-size: 14px;
    color: var(--text-medium);
    margin: 0;
}

.invite-code-display {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    border: 1.5px solid rgba(255, 123, 156, 0.1);
}

.invite-code-label {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 6px;
}

.invite-code-value {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 8px;
    font-family: var(--font-title);
}

.invite-link-box {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    border: 1.5px solid rgba(255, 123, 156, 0.1);
    text-align: left;
}

.invite-link-label {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 6px;
}

.invite-link-text {
    font-size: 12px;
    color: var(--text-dark);
    word-break: break-all;
    line-height: 1.6;
    display: block;
}

.invite-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.invite-actions .btn-primary,
.invite-actions .btn-secondary {
    flex: 1;
    min-width: 120px;
}

.invite-note {
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-light);
}

.invite-note p {
    margin: 0;
}

/* 邀请按钮禁用态 */
.card-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: auto;
}

.card-btn.disabled:hover {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary-light);
    box-shadow: none;
    transform: none;
}

.modal-overlay.show {
    display: flex;
}

.modal-box {
    background: var(--bg-cream);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(255, 90, 126, 0.2);
    padding: 32px 24px;
    max-width: 420px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    animation: bounceIn 0.5s ease;
    border: 1.5px solid rgba(255, 123, 156, 0.12);
    position: relative;
}

.modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.modal-header h2 {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.modal-header p {
    font-size: 14px;
    color: var(--text-light);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-light);
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.modal-close:hover {
    background: var(--bg-hover);
}

/* ==================== 激活码输入 ==================== */
.code-input-group {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 20px 0;
}

.code-input {
    width: 48px;
    height: 56px;
    border: 2px solid var(--primary-light);
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--white);
    text-transform: uppercase;
    outline: none;
    transition: all 0.2s;
}

.code-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

/* ==================== Toast ==================== */
.toast-msg {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--text-dark);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2000;
    white-space: nowrap;
    box-shadow: 0 8px 24px rgba(93, 58, 74, 0.3);
    pointer-events: none;
}

.toast-msg.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ==================== 隐私政策卡片 ==================== */
.privacy-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 28px 24px;
    border: 1.5px solid rgba(255, 123, 156, 0.1);
    margin-bottom: 20px;
}

.privacy-card h1 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 24px;
    font-weight: 700;
    color: var(--text-dark);
}

.privacy-card h2 {
    font-size: 18px;
    margin: 24px 0 12px;
    color: var(--primary);
}

.privacy-card p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.privacy-card ul {
    padding-left: 20px;
    margin-bottom: 12px;
}

.privacy-card li {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-dark);
}

/* ==================== 浮动爱心背景 ==================== */
.floating-hearts {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-hearts .heart {
    position: absolute;
    animation: floatHeart linear infinite;
    opacity: 0.15;
    font-size: 18px;
}

@keyframes floatHeart {
    0% {
        bottom: -10%;
        transform: translateX(0) rotate(0deg);
        opacity: 0.15;
    }
    50% {
        transform: translateX(20px) rotate(180deg);
        opacity: 0.06;
    }
    100% {
        bottom: 105%;
        transform: translateX(-10px) rotate(360deg);
        opacity: 0.15;
    }
}

/* ==================== 响应式 ==================== */
@media (max-width: 400px) {
    .entry-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 28px;
    }

    .score-number {
        font-size: 52px;
    }

    .code-input {
        width: 40px;
        height: 48px;
        font-size: 20px;
    }

    .question-text {
        font-size: 17px;
    }

    .dimension-grid {
        gap: 8px;
    }
}

/* ==================== v15 单人结果页新样式 ==================== */

/* 分数英雄卡片 */
.score-hero-card {
    background: linear-gradient(145deg, #FFF1F5, #FFE8F0);
    border-radius: var(--radius-xl);
    padding: 32px 24px 24px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(255, 123, 156, 0.12);
    border: 1.5px solid rgba(255, 123, 156, 0.1);
}

.score-hero-badge {
    font-size: 14px;
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 8px;
}

.score-hero-number {
    font-family: 'Comic Sans MS', 'PingFang SC', cursive;
    font-size: 72px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
    letter-spacing: -2px;
}

.score-hero-unit {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-medium);
    margin-bottom: 8px;
}

.score-hero-interpretation {
    font-size: 13px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.score-hero-summary {
    font-size: 15px;
    color: var(--text-dark);
    font-weight: 600;
    margin-top: 4px;
}

/* 印章标签 */
.stamp-wrap {
    text-align: center;
    margin-bottom: 10px;
}

.tag-stamp-new {
    display: inline-block;
    background: var(--white);
    color: var(--text-dark);
    padding: 12px 32px;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 700;
    font-family: 'Comic Sans MS', 'PingFang SC', cursive;
    box-shadow: var(--shadow-md);
    border: 3px solid var(--primary-light);
    letter-spacing: 1px;
}

.tag-desc-text {
    text-align: center;
    font-size: 14px;
    color: var(--text-medium);
    margin: 8px 0 16px;
    line-height: 1.5;
}

/* ==================== 图片样式 ==================== */

/* 贴纸图（结果页） */
.sticker-img-wrap {
    text-align: center;
    margin: 8px 0 4px;
}

.sticker-img {
    max-width: 200px;
    width: 100%;
    height: auto;
    -webkit-mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 5%, transparent 100%);
    mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 5%, transparent 100%);
}

/* CP组合图 */
.cp-img-wrap {
    text-align: center;
    margin: 12px 0 8px;
}

.cp-img {
    max-width: 260px;
    width: 100%;
    height: auto;
    -webkit-mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 5%, transparent 100%);
    mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 5%, transparent 100%);
}

/* 装饰图通用 */
.deco-img-wrap,
.test-deco-wrap,
.cp-deco-wrap,
.invite-deco-wrap {
    text-align: center;
    margin: 8px 0 0 0;
}

.deco-img {
    max-width: 320px;
    width: 100%;
    height: auto;
    -webkit-mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 5%, transparent 100%);
    mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 5%, transparent 100%);
}

/* 分隔线 */
.section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 123, 156, 0.2), transparent);
    margin: 24px 0;
}

/* 维度得分新样式 */
.dimension-section-new {
    margin-bottom: 8px;
}

.dimension-section-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    text-align: center;
}

.dimension-row {
    margin-bottom: 14px;
}

.dimension-row-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.dimension-row-icon {
    font-size: 16px;
}

.dimension-row-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    flex: 1;
}

.dimension-row-score {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-dark);
    background: rgba(255, 123, 156, 0.1);
    padding: 2px 10px;
    border-radius: 50px;
}

.dim-indicator {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 50px;
}

.dim-indicator.perfect {
    background: rgba(76, 175, 80, 0.12);
    color: #4CAF50;
}

.dim-indicator.weak {
    background: rgba(255, 152, 0, 0.12);
    color: #FF9800;
}

.dimension-row-bar {
    height: 8px;
    background: rgba(255, 123, 156, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.dimension-row-fill {
    height: 100%;
    border-radius: 4px;
    background: var(--pink-gradient);
    transition: width 1s ease;
}

/* 建议卡片新样式 */
.suggest-card-new {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border: 1.5px solid rgba(255, 123, 156, 0.08);
    margin-bottom: 8px;
}

.suggest-card-new h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    text-align: center;
}

.suggest-item-new {
    display: flex;
    gap: 8px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.6;
    border-bottom: 1px dashed rgba(255, 123, 156, 0.1);
}

.suggest-item-new:last-child {
    border-bottom: none;
}

.suggest-num-new {
    color: var(--primary);
    font-weight: 700;
    flex-shrink: 0;
}

/* 典故卡片新样式 */
.story-card-new {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border: 1.5px solid rgba(255, 123, 156, 0.08);
    margin-bottom: 8px;
}

.story-card-header {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 4px;
    text-align: center;
}

.story-card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 12px;
    font-family: 'Comic Sans MS', 'PingFang SC', cursive;
}

.story-card-content {
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.8;
    margin: 0;
}

.story-card-closing {
    font-size: 15px;
    color: var(--primary-dark);
    font-weight: 600;
    text-align: center;
    margin-top: 12px;
    font-style: italic;
}

/* 白话解释 */
.story-card-explanation {
    background: rgba(255, 123, 156, 0.06);
    border-radius: var(--radius-sm);
    padding: 14px;
    margin-top: 12px;
    border-left: 3px solid var(--primary-light);
}

.story-explanation-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
    display: block;
}

.story-card-explanation p {
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 4px 0 0 0;
}

/* 赌约卡片新样式 */
.bet-card-new {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border: 1.5px solid rgba(255, 123, 156, 0.08);
    text-align: center;
    margin-bottom: 8px;
}

.bet-card-header {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 8px;
}

.bet-card-content {
    margin-bottom: 8px;
}

.bet-card-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}

.bet-card-hint {
    font-size: 13px;
    color: var(--primary);
    margin: 0;
}

/* CP报告空状态 */
.cp-empty-state {
    text-align: center;
    padding: 60px 20px;
}

.cp-empty-icon {
    font-size: 56px;
    margin-bottom: 20px;
    animation: fadeIn 0.5s ease;
}

.cp-empty-text {
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 28px;
}

/* CP报告按钮 */
.cp-report-btn-wrap {
    text-align: center;
    margin-bottom: 8px;
}

.btn-cp-report {
    display: block;
    width: 100%;
    background: var(--pink-gradient);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 16px 0;
    font-size: 17px;
    font-weight: 700;
    font-family: var(--font-body);
    box-shadow: 0 6px 20px rgba(255, 123, 156, 0.35);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cp-report:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255, 123, 156, 0.45);
}

.btn-cp-report.disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
    opacity: 0.7;
}

.btn-cp-report.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* 邀请卡片新样式 */
.invite-card-new {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    box-shadow: var(--shadow-sm);
    border: 1.5px solid rgba(255, 123, 156, 0.08);
    text-align: center;
    margin-bottom: 8px;
}

.invite-card-new h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.invite-card-desc {
    font-size: 13px;
    color: var(--text-medium);
    margin: 0 0 12px;
    line-height: 1.5;
}

.invite-link-box {
    background: var(--bg-pink);
    border-radius: var(--radius-sm);
    padding: 12px;
    margin-bottom: 16px;
    word-break: break-all;
}

.invite-link-text {
    font-size: 12px;
    color: var(--text-medium);
    font-family: monospace;
}

.invite-actions-new {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.invite-actions-new .btn-primary,
.invite-actions-new .btn-secondary {
    flex: 1;
    padding: 12px 0;
    font-size: 14px;
}

/* 隐私声明 */
.privacy-footer-new {
    text-align: center;
    font-size: 12px;
    color: var(--text-light);
    padding: 16px 0;
    margin-bottom: 8px;
}

/* ==================== v15 CP报告维度对比样式 ==================== */

.dim-compare-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    box-shadow: var(--shadow-sm);
    border: 1.5px solid rgba(255, 123, 156, 0.08);
    margin-bottom: 20px;
}

.dim-compare-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 20px;
}

.dim-compare-row {
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px dashed rgba(255, 123, 156, 0.12);
}

.dim-compare-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.dim-compare-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    text-align: center;
    padding: 4px 0;
    background: rgba(255, 123, 156, 0.06);
    border-radius: 8px;
}

.dim-compare-bars {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dim-compare-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dim-compare-who {
    width: 28px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-medium);
    flex-shrink: 0;
    text-align: center;
}

.dim-compare-track {
    flex: 1;
    height: 18px;
    background: rgba(255, 123, 156, 0.08);
    border-radius: 9px;
    overflow: hidden;
}

.dim-compare-fill {
    height: 100%;
    border-radius: 9px;
    transition: width 1s ease;
}

.dim-compare-fill.me {
    background: linear-gradient(90deg, #FF7B9C, #FFA8C5);
}

.dim-compare-fill.partner {
    background: linear-gradient(90deg, #FFB3C6, #FFD1DC);
}

.dim-compare-score {
    width: 48px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    text-align: right;
    flex-shrink: 0;
}

@media (min-width: 600px) {
    .container {
        max-width: 560px;
    }

    .top-nav-inner {
        max-width: 560px;
    }

    .entry-grid {
        gap: 20px;
    }

    .hero-title {
        font-size: 36px;
    }

    .dimension-grid {
        gap: 14px;
    }

    .bet-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .invite-actions {
        flex-direction: row;
        justify-content: center;
    }
}

/* ==================== v35 移动端全面适配 ==================== */
@media (max-width: 480px) {
    html { font-size: 15px; }
    body { padding: 0 0 60px 0; }

    .container { padding: 0 16px; }

    .top-nav {
        padding: 10px 14px;
    }
    .nav-brand { font-size: 15px; }
    .nav-brand-icon { font-size: 20px; }
    .nav-links { gap: 10px; font-size: 12px; }
    .nav-link { padding: 3px 6px; }

    .hero-section { padding: 20px 0 8px; }
    .hero-title { font-size: 24px; line-height: 1.35; }
    .hero-subtitle { font-size: 14px; }
    .hero-badge { font-size: 12px; padding: 5px 12px; }

    .card { padding: 18px 14px; border-radius: 16px; }
    .card-title { font-size: 16px; }
    .card-desc { font-size: 13px; }

    .entry-grid { gap: 12px; }

    .btn-primary, .btn-secondary, .btn-back, .btn-danger,
    .btn-cp-report, .card-btn {
        padding: 12px 20px;
        font-size: 15px;
        min-height: 46px;
    }

    .question-text { font-size: 16px; line-height: 1.5; }
    .option-item { padding: 12px 14px; font-size: 14px; }
    .option-emoji { font-size: 18px; min-width: 28px; }

    .code-input { width: 36px; height: 44px; font-size: 18px; }

    .score-hero-card { padding: 24px 16px 18px; }
    .score-number { font-size: 48px; }
    .score-label { font-size: 13px; }

    .tag-card { padding: 14px 12px; }
    .tag-name { font-size: 18px; }

    .dimension-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .dimension-item { padding: 12px 10px; }
    .dimension-name { font-size: 12px; }
    .dimension-bar { height: 6px; }

    .result-section { padding: 12px 0; }
    .result-section-title { font-size: 16px; }

    .invite-page-card { margin: 24px 12px; padding: 24px 16px; }
    .invite-code-value { font-size: 28px; letter-spacing: 6px; }
    .invite-link-text { font-size: 12px; padding: 10px; }
    .invite-page-icon { font-size: 34px; }

    .status-card { padding: 14px 12px; }
    .status-card h3 { font-size: 15px; }

    .deco-img { max-width: 260px; }
    .cp-img { max-width: 220px; }
    .sticker-img { max-width: 160px; }

    .bet-grid { gap: 10px; }
    .bet-card { padding: 14px 12px; }
    .bet-card .bet-emoji { font-size: 20px; }
    .bet-card .bet-title { font-size: 14px; }

    .cp-report-header { padding: 20px 14px; }
    .cp-report-header h1 { font-size: 20px; }
    .cp-tag-name { font-size: 18px; }

    .share-actions { gap: 10px; }

    .footer { font-size: 11px; padding: 16px 0; }
}

@media (max-width: 360px) {
    html { font-size: 14px; }
    .hero-title { font-size: 21px; }
    .card-title { font-size: 15px; }
    .code-input { width: 32px; height: 40px; font-size: 16px; }
    .score-number { font-size: 42px; }
    .deco-img { max-width: 230px; }
    .cp-img { max-width: 190px; }
    .sticker-img { max-width: 140px; }
    .btn-primary, .btn-secondary, .btn-back, .btn-danger,
    .btn-cp-report, .card-btn { padding: 10px 16px; font-size: 14px; }
}




/* ==================== 成长建议 ==================== */
.growth-advice {
    margin-top: 16px;
    padding: 16px 0 0 0;
    border-top: 1px dashed rgba(255, 123, 156, 0.2);
    text-align: left;
}
.growth-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    text-align: center;
}
.growth-dim-tag {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 14px;
    padding: 6px 14px;
    background: rgba(255, 123, 156, 0.06);
    border-radius: 20px;
    display: block;
    text-align: center;
}
.growth-dim-tag strong { color: var(--primary); }
.growth-item {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
    align-items: flex-start;
    padding: 12px 14px;
    background: #FFF8FA;
    border-radius: 12px;
    border: 1px solid rgba(255, 123, 156, 0.06);
}
.growth-item-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--pink-gradient);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.growth-item-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2px;
}
.growth-item-text {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ==================== 默契地图 ==================== */
.moji-map-section {
    text-align: center;
    margin: 24px 0 10px 0;
}
.moji-map-section h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.moji-map-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 12px;
    
}
.legend-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 4px;
    vertical-align: middle;
}
.legend-dot.me { background: #FF6B93; }
.legend-dot.partner { background: #5AA0DC; }
.moji-map-canvas-wrap {
    display: flex;
    justify-content: center;
    
}
.moji-map-canvas-wrap canvas {
    display: block;
    margin: 0 auto;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(255, 123, 156, 0.08);
    max-width: 280px;
    height: auto !important;
}
.moji-map-hint {
    font-size: 11px;
    color: var(--text-light);
    margin-top: 8px;
    opacity: 0.7;
    
}

/* ==================== 典故剧场 ==================== */
.cp-story-section {
    margin: 10px 0 24px 0;
}
.cp-story-section h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    text-align: center;
}
.cp-story-card {
    background: linear-gradient(135deg, #FFF8F0, #FFF0F5);
    border: 1.5px solid rgba(255, 123, 156, 0.12);
    border-radius: var(--radius-xl);
    padding: 20px 18px;
}
.cp-story-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}
.cp-story-content {
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 14px;
}
.cp-story-divider {
    height: 1px;
    background: rgba(255, 123, 156, 0.15);
    margin: 12px 0;
}
.cp-story-explanation {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 8px;
}
.cp-story-closing {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    font-style: italic;
}

/* ==================== 默契悄悄话（单人页填写） ==================== */
.secret-msg-card {
    background: #FFF8FA;
    border: 1.5px dashed rgba(255, 123, 156, 0.2);
    border-radius: var(--radius-lg);
    padding: 18px 16px;
    margin: 16px 0;
    text-align: center;
}
.secret-msg-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}
.secret-msg-hint {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 12px;
}
.secret-input-wrap {
    display: flex;
    gap: 10px;
    align-items: center;
}
.secret-input {
    flex: 1;
    border: 1px solid rgba(255, 123, 156, 0.15);
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13px;
    font-family: inherit;
    color: var(--text-dark);
    background: #fff;
    outline: none;
    transition: border-color 0.2s;
}
.secret-input:focus { border-color: var(--primary); }
.secret-input::placeholder { color: #D5B8C5; }
.secret-save-btn {
    padding: 10px 18px;
    border: none;
    border-radius: 10px;
    background: var(--pink-gradient);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s;
}
.secret-save-btn:hover { transform: scale(1.03); box-shadow: 0 4px 16px rgba(255, 123, 156, 0.3); }
.secret-edit-btn {
    padding: 6px 14px;
    border: 1px solid rgba(255, 123, 156, 0.3);
    border-radius: 20px;
    background: transparent;
    color: var(--primary);
    font-size: 12px;
    cursor: pointer;
    transition: background 0.2s;
}
.secret-edit-btn:hover { background: rgba(255, 123, 156, 0.08); }
.secret-display {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.6;
    padding: 12px;
    background: rgba(255, 123, 156, 0.05);
    border-radius: 10px;
    word-break: break-word;
    text-align: left;
}

/* ==================== 默契签名墙（CP报告只读展示） ==================== */
.signature-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 14px;
}
.signature-wall {
    margin: 24px 0;
    text-align: center;
}
.signature-wall h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}
.signature-hint {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 16px;
}
.signature-block {
    background: #FFF8FA;
    border: 1.5px dashed rgba(255, 123, 156, 0.2);
    border-radius: var(--radius-lg);
    padding: 16px 14px;
    margin-bottom: 12px;
    text-align: left;
}
.sig-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
    text-align: center;
}
.sig-input-wrap {
    display: flex;
    gap: 10px;
    align-items: center;
}
.sig-input {
    flex: 1;
    border: 1px solid rgba(255, 123, 156, 0.15);
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13px;
    font-family: inherit;
    color: var(--text-dark);
    background: #fff;
    outline: none;
    transition: border-color 0.2s;
}
.sig-input:focus { border-color: var(--primary); }
.sig-input::placeholder { color: #D5B8C5; }
.sig-display-my, .sig-display-ta {
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.6;
    padding: 12px;
    background: rgba(255, 123, 156, 0.05);
    border-radius: 10px;
    word-break: break-word;
}
.sig-placeholder {
    font-size: 13px;
    color: #D5B8C5;
    padding: 12px;
    background: rgba(255, 123, 156, 0.03);
    border-radius: 10px;
    text-align: center;
}
.sig-save-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    background: var(--pink-gradient);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s;
}
.sig-save-btn:hover { transform: scale(1.03); box-shadow: 0 4px 16px rgba(255, 123, 156, 0.3); }

/* ==================== 移动端适配新模块 ==================== */
@media (max-width: 480px) {
    .signature-cols { grid-template-columns: 1fr; gap: 10px; }
    .signature-block { padding: 12px 10px; }
    .secret-msg-card { padding: 14px 12px; }
    .secret-input { font-size: 12px; padding: 8px 10px; }
    .secret-save-btn { padding: 8px 14px; font-size: 12px; }
    .sig-input { font-size: 12px; padding: 8px 10px; }
    .sig-save-btn { padding: 8px 14px; font-size: 12px; }
    .cp-story-card { padding: 16px 14px; }
    .cp-story-content { font-size: 13px; }
    .growth-item-num { width: 22px; height: 22px; font-size: 11px; }
    .growth-item-title { font-size: 13px; }
    .growth-item-text { font-size: 12px; }
    .growth-item { padding: 10px 12px; }
    .moji-map-canvas-wrap canvas { max-width: 240px; width: 100% !important; height: auto !important; display: block; margin: 0 auto; }
    .share-actions { gap: 8px; }
    .share-actions .btn-back { padding: 10px 20px; font-size: 14px; }
}