/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: #f0f3f1;
    min-height: 100vh;
    padding: 0;
    color: #333;
    line-height: 1.6;
}

/* 顶部导航 */
.header {
    background: transparent;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    border-bottom: none;
    position: static;
}

.header-brand {
    font-size: 1.3rem;
    font-weight: 700;
    color: #4a7c6f;
    letter-spacing: 1px;
}

.header-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #4a7c6f;
    background: rgba(74, 124, 111, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
}

.tag-dot {
    width: 6px;
    height: 6px;
    background: #4a7c6f;
    border-radius: 50%;
}

.header-lang {
    display: none;
}

/* 容器 */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* ========== 首页样式 ========== */
.home-page {
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.home-card {
    background: #fff;
    border-radius: 24px;
    padding: 0 0 32px 0;
    box-shadow: 0 8px 32px rgba(74, 124, 111, 0.08);
    text-align: center;
    max-width: 380px;
    width: 100%;
    position: relative;
    overflow: visible;
}

/* 背景图和logo区域 */
.home-banner {
    position: relative;
    width: 100%;
    margin-bottom: 40px;
}

.banner-bg {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px 24px 0 0;
}

.banner-logo {
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 10;
    background: #fff;
}

/* 隐藏渐变遮罩，让背景图完整显示 */
.home-banner::after {
    display: none;
}

/* 隐藏旧的logo样式 */
.home-logo,
.logo-circle,
.logo-icon {
    display: none;
}

.home-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 6px;
    text-align: center;
    margin-top: 0;
}

.home-subtitle-en {
    font-size: 0.65rem;
    color: #888;
    letter-spacing: 2px;
    margin-bottom: 16px;
    text-align: center;
}

.home-divider {
    width: 32px;
    height: 2px;
    background: #e8ece9;
    margin: 0 auto 16px;
}

.home-desc {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 24px;
    text-align: center;
    padding: 0 24px;
}

.start-btn {
    width: calc(100% - 48px);
    padding: 14px 28px;
    background: #4a7c6f;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0 auto 20px;
}

.start-btn:hover {
    background: #3d6a5e;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 124, 111, 0.3);
}

.btn-arrow {
    font-size: 1rem;
}

/* 首页底部 */
.home-footer {
    margin-top: 4px;
}

.footer-links {
    font-size: 0.65rem;
    color: #999;
    margin-bottom: 4px;
}

.footer-brand {
    font-size: 0.6rem;
    color: #bbb;
    letter-spacing: 1px;
}

/* 页面底部说明 */
.page-footer {
    margin-top: 20px;
    font-size: 0.65rem;
    color: #aaa;
    text-align: center;
    line-height: 1.6;
}

/* 隐藏旧的维度网格和副标题 */
.dimension-grid,
.home-subtitle {
    display: none;
}

.home-tip {
    display: none;
}

/* ========== 答题页面 ========== */
.quiz-page {
    display: none;
    padding: 40px 20px 20px;
    min-height: 100vh;
}

.quiz-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    max-width: 680px;
    margin: 0 auto;
    width: 100%;
}

.progress-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: #e8ece9;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #4a7c6f;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-num {
    font-size: 0.8rem;
    color: #888;
    font-weight: 500;
    min-width: 50px;
    text-align: right;
}

.question-header {
    margin-bottom: 20px;
}

.question-badge {
    display: inline-block;
    background: #f0f7f4;
    color: #4a7c6f;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.question-content {
    margin-bottom: 20px;
    flex: 1;
    display: flex;
    align-items: center;
}

.question-content h2 {
    font-size: 1.25rem;
    color: #333;
    line-height: 1.6;
    font-weight: 500;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.option-btn {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: #f8faf9;
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    width: 100%;
}

.option-btn:hover {
    background: #f0f7f4;
    border-color: #4a7c6f;
}

.option-btn.selected {
    background: #e8f5f0;
    border-color: #4a7c6f;
    border-width: 2px;
}

.option-btn.selected .option-letter {
    background: #4a7c6f;
    color: #fff;
}

.option-btn.selected .option-text {
    color: #333;
    font-weight: 500;
}

.option-letter {
    width: 28px;
    height: 28px;
    background: #4a7c6f;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    flex-shrink: 0;
}

.option-text {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.5;
    flex: 1;
    padding-top: 2px;
}

/* 答题页底部 */
.quiz-footer {
    display: flex;
    gap: 12px;
    padding-top: 8px;
}

.footer-btn {
    flex: 1;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.footer-btn.btn-outline {
    background: #f8faf9;
    color: #666;
    border: 1px solid #e8ece9;
}

.footer-btn.btn-outline:hover:not(:disabled) {
    background: #e8ece9;
}

.footer-btn.btn-primary {
    background: #4a7c6f;
    color: #fff;
}

.footer-btn.btn-primary:hover:not(:disabled) {
    background: #3d6a5e;
}

.footer-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.nav-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.nav-btn {
    flex: 1;
    padding: 10px 16px;
    background: #f8faf9;
    border: 1px solid #e8ece9;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}

.nav-btn:hover:not(:disabled) {
    background: #e8ece9;
}

.nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* 隐藏旧的答题页面样式 */
.quiz-page:not(#quizPage),
.quiz-card:not(.quiz-card) {
    display: none;
}

.start-btn:active {
    transform: tra4652222222222222222222223·2·2·nslateY(0);
}

.home-tip {
    text-align: center;
    color: #999;
    font-size: 0.85rem;
    margin-top: 15px;
}
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 8px;
}

.question-badge {
    background: #e8f5ef;
    color: #4a9f7e;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.question-hint {
    color: #999;
    font-size: 0.8rem;
}

/* 题目内容 */
.question-content {
    margin-bottom: 24px;
    flex: 1;
    display: flex;
    align-items: center;
}

.question-content h2 {
    font-size: 1.5rem;
    color: #333;
    line-height: 1.6;
    font-weight: 700;
}

/* 选项 */
.options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.option-btn {
    background: #f8faf9;
    border: 2px solid #e8ece9;
    border-radius: 12px;
    padding: 16px 20px;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    -webkit-tap-highlight-color: transparent;
}

.option-btn:hover {
    border-color: #4a9f7e;
    background: #f0f7f4;
}

.option-btn:active {
    transform: scale(0.99);
}

.option-btn.selected {
    border-color: #4a9f7e;
    background: #e8f5ef;
    color: #2d5a4a;
}

.option-letter {
    width: 28px;
    height: 28px;
    background: #e8ece9;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: #666;
    flex-shrink: 0;
}

.option-btn.selected .option-letter {
    background: #4a9f7e;
    color: #fff;
}

.option-text {
    flex: 1;
}

/* 导航按钮 */
.nav-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.nav-btn {
    background: #fff;
    border: 1px solid #ddd;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}

.nav-btn:hover {
    border-color: #4a9f7e;
    color: #4a9f7e;
}

.nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* 底部操作 */
.quiz-footer {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.footer-btn {
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-outline {
    background: #fff;
    color: #666;
    border: 1px solid #ddd;
}

.btn-outline:hover {
    border-color: #4a9f7e;
    color: #4a9f7e;
}

.btn-primary {
    background: #4a9f7e;
    color: #fff;
}

.btn-primary:hover {
    background: #3d8a6c;
}

/* ========== 分享图片样式 ========== */
.share-image {
    display: none;
    width: 375px;
    margin: 0 auto;
    background: linear-gradient(135deg, #f0f7f4 0%, #e8f5f0 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.share-header {
    background: #4a7c6f;
    padding: 20px 24px;
    text-align: center;
}

.share-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
}

.share-subtitle {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
    margin-top: 4px;
}

.share-content {
    padding: 24px;
    background: #fff;
    margin: 16px;
    border-radius: 16px;
}

.share-label {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    margin-bottom: 8px;
}

.share-type {
    text-align: center;
    margin-bottom: 16px;
}

.share-type-name {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
}

.share-type-code {
    font-size: 1.2rem;
    color: #4a7c6f;
    font-weight: 600;
    letter-spacing: 2px;
}

.share-image-wrapper {
    width: 200px;
    height: 200px;
    margin: 0 auto 16px;
    border-radius: 16px;
    overflow: hidden;
    background: #f8faf9;
}

.share-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.share-match {
    text-align: center;
    margin-bottom: 12px;
}

.share-match-badge {
    display: inline-block;
    background: #e8f5f0;
    color: #4a7c6f;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.share-match-text {
    display: block;
    font-size: 0.85rem;
    color: #888;
    margin-top: 6px;
}

.share-desc {
    font-size: 0.9rem;
    color: #666;
    text-align: left;
    line-height: 1.6;
    margin-bottom: 20px;
    padding: 0 8px;
}

.share-section {
    margin-bottom: 20px;
}

.share-section h4 {
    font-size: 1rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.share-section p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.7;
}

.share-dimensions {
    margin-bottom: 20px;
}

.share-dimensions h4 {
    font-size: 1rem;
    color: #333;
    margin-bottom: 12px;
    font-weight: 600;
}

.share-dimension-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.share-dimension-item {
    background: #f8faf9;
    padding: 10px 12px;
    border-radius: 8px;
    text-align: center;
}

.share-dimension-name {
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 4px;
}

.share-dimension-value {
    font-size: 0.9rem;
    color: #4a7c6f;
    font-weight: 600;
}

.share-qr {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #f8faf9;
    border-radius: 12px;
}

.share-qr img {
    width: 70px;
    height: 70px;
    border-radius: 8px;
}

.share-qr-text {
    flex: 1;
}

.share-qr-text p {
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
    margin-bottom: 4px;
}

.share-url {
    font-size: 0.75rem !important;
    color: #888 !important;
}

.share-footer {
    text-align: center;
    padding: 16px;
    font-size: 0.75rem;
    color: #999;
}

/* 生成的分享图片显示区域 */
.share-image-display {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    margin: 16px 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.share-image-wrapper-display {
    width: 100%;
    max-width: 375px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.generated-share-image {
    width: 100%;
    height: auto;
    display: block;
}

.share-image-tip {
    text-align: center;
    font-size: 0.85rem;
    color: #888;
    margin-top: 12px;
}

.result-page {
    display: none;
    padding: 40px 20px;
    min-height: 100vh;
    overflow: visible;
}

.result-card {
    background: #fff;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    overflow: visible;
    max-width: 900px;
    margin: 0 auto;
}

/* 顶部区域 */
.result-top {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 32px;
    padding: 40px;
    background: linear-gradient(135deg, #f8faf9 0%, #fff 100%);
    border-bottom: 1px solid #e8ece9;
    align-items: center;
}

/* 左侧图片区 */
.result-left {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.result-type-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 16px;
}

.result-image-wrapper {
    width: 300px;
    height: 300px;
    margin: 0 auto 20px;
    border-radius: 20px;
    overflow: hidden;
    background: #f0f7f4;
    box-shadow: 0 8px 24px rgba(74, 159, 126, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.result-quote {
    font-size: 0.95rem;
    color: #666;
    font-style: italic;
    line-height: 1.6;
    max-width: 280px;
}

/* 右侧信息区 */
.result-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.result-title {
    font-size: 1.2rem;
    color: #888;
    font-weight: 400;
    margin-bottom: 12px;
}

.result-title span {
    display: block;
}

.result-title .result-name {
    font-size: 2rem;
    color: #333;
    font-weight: 700;
    margin-top: 4px;
}

.result-match {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.match-badge {
    background: #e8f5ef;
    color: #4a9f7e;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.match-desc {
    color: #888;
    font-size: 0.85rem;
}

.result-judge {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: left;
}

.save-btn {
    background: #fff;
    border: 1px solid #ddd;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
    align-self: flex-start;
}

.save-btn:hover {
    border-color: #4a9f7e;
    color: #4a9f7e;
}

/* 解读区 */
.result-section {
    padding: 24px 30px;
    border-bottom: 1px solid #f0f2f1;
}

.section-title {
    font-size: 1rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-content {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.8;
    text-align: justify;
}

/* 维度评分卡片 */
.score-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.score-card {
    background: #f8faf9;
    border: 1px solid #e8ece9;
    border-radius: 12px;
    padding: 16px;
}

.score-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.score-card-name {
    font-size: 0.95rem;
    color: #333;
    font-weight: 600;
}

.score-card-value {
    background: #4a9f7e;
    color: #fff;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.score-card-value.low {
    background: #e8a838;
}

.score-card-value.mid {
    background: #5c9fd4;
}

.score-card-desc {
    font-size: 0.8rem;
    color: #888;
    line-height: 1.5;
}

/* 经历标签 */
.experience-card {
    background: linear-gradient(135deg, #e8f5ef 0%, #f8faf9 100%);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.experience-card .exp-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.experience-card .exp-text {
    font-size: 1.1rem;
    color: #4a9f7e;
    font-weight: 600;
}

/* 二维码区域 */
.qr-section {
    text-align: center;
}

.qr-container {
    display: inline-block;
}

.qr-wrapper {
    width: 160px;
    height: 160px;
    margin: 0 auto;
    padding: 10px;
    background: #fff;
    border: 2px solid #e8ece9;
    border-radius: 12px;
}

.qr-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qr-tip {
    margin-top: 12px;
    font-size: 0.9rem;
    color: #888;
}

/* 每题评分明细 */
.question-scores {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.qs-item {
    background: #f8faf9;
    border: 1px solid #e8ece9;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.qs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.qs-num {
    font-size: 0.8rem;
    color: #888;
    font-weight: 600;
}

.qs-score {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
}

.score-high {
    background: #4a9f7e;
}

.score-low {
    background: #e8a838;
}

.score-mid {
    background: #5c9fd4;
}

.qs-content {
    flex: 1;
}

.qs-question {
    font-size: 0.75rem;
    color: #555;
    line-height: 1.4;
    margin-bottom: 4px;
}

.qs-option {
    font-size: 0.7rem;
    color: #888;
}

.qs-impact {
    font-size: 0.7rem;
    color: #4a9f7e;
    font-weight: 600;
    text-align: right;
}

/* 底部操作 */
.result-footer {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 16px;
}

/* 隐藏 */
.hidden {
    display: none !important;
}

/* ========== Web端样式 (大于600px) ========== */
@media (min-width: 601px) {
    html, body {
        overflow: hidden !important;
        height: 100vh;
    }
    
    ::-webkit-scrollbar {
        display: none;
    }
    
    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 100;
        background: #f0f3f1;
    }
    
    .container {
        height: 100vh;
        overflow: hidden;
    }
    
    .home-page {
        padding: 70px 20px 20px;
        height: 100vh;
        overflow: hidden;
    }
    
    .home-card {
        max-width: 480px;
        height: calc(100vh - 90px);
        overflow: hidden;
    }
    
    .quiz-page {
        padding: 70px 20px 20px;
        height: 100vh;
        overflow: hidden;
    }
    
    .quiz-card {
        max-width: 600px;
        height: calc(100vh - 90px);
        overflow: hidden;
    }
    
    .options {
        overflow: hidden;
    }
    
    .option-btn {
        padding: 18px 20px;
    }
    
    .option-text {
        font-size: 1.05rem;
    }
    
    .result-top {
        grid-template-columns: 340px 1fr;
        gap: 40px;
        padding: 48px;
    }
    
    .result-card {
        max-width: 900px;
    }
    
    /* 结果页可以滚动 */
    .result-page {
        display: none;
        padding: 80px 20px 40px;
        height: auto;
        min-height: 100vh;
        overflow-y: scroll;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 50;
        background: #f0f3f1;
    }
    
    .result-page::-webkit-scrollbar {
        width: 8px;
    }
    
    .result-page::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 4px;
    }
    
    .result-page.active {
        display: block;
    }
}

/* ========== 响应式 - 手机端 ========== */
@media (max-width: 600px) {
    html, body {
        overflow: auto;
        height: auto;
    }
    
    body.has-scroll {
        overflow: auto;
        height: auto;
    }
    
    .header {
        padding: 8px 16px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 100;
        background: #f0f3f1;
    }
    
    .container {
        padding: 0;
        height: auto;
        overflow: visible;
    }
    
    /* 首页一屏 */
    .home-page {
        padding: 60px 16px 20px;
        height: 100vh;
        justify-content: flex-start;
        overflow: hidden;
    }
    
    .home-card {
        padding: 0 0 20px 0;
        max-width: 100%;
        width: 100%;
        height: calc(100vh - 80px);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        overflow: hidden;
    }
    
    .home-banner {
        margin-bottom: 16px;
        flex-shrink: 0;
    }
    
    .banner-bg {
        max-height: 25vh;
        object-fit: cover;
        object-position: top;
    }
    
    .banner-logo {
        width: 48px;
        height: 48px;
        bottom: -24px;
    }
    
    .home-title {
        font-size: 1.4rem;
        margin-bottom: 4px;
    }
    
    .home-subtitle-en {
        font-size: 0.6rem;
        margin-bottom: 8px;
    }
    
    .home-divider {
        margin-bottom: 8px;
    }
    
    .home-desc {
        font-size: 0.8rem;
        margin-bottom: 12px;
        padding: 0 20px;
    }
    
    .start-btn {
        width: calc(100% - 40px);
        padding: 12px 24px;
        font-size: 0.9rem;
        margin-bottom: 12px;
        flex-shrink: 0;
    }
    
    .home-footer {
        flex-shrink: 0;
    }
    
    .footer-links {
        font-size: 0.6rem;
    }
    
    .footer-brand {
        font-size: 0.55rem;
    }
    
    .page-footer {
        margin-top: 8px;
        font-size: 0.55rem;
    }
    
    /* 答题页一屏 */
    .quiz-page {
        padding: 50px 12px 12px;
        height: 100vh;
        overflow: hidden;
    }
    
    .quiz-card {
        padding: 16px;
        height: calc(100vh - 70px);
        max-width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .progress-wrapper {
        margin-bottom: 8px;
        flex-shrink: 0;
    }
    
    .progress-bar {
        height: 4px;
    }
    
    .progress-num {
        font-size: 0.7rem;
    }
    
    .question-header {
        margin-bottom: 8px;
        flex-shrink: 0;
    }
    
    .question-badge {
        padding: 4px 10px;
        font-size: 0.7rem;
    }
    
    .question-content {
        margin-bottom: 12px;
        flex: 1;
        display: flex;
        align-items: center;
        min-height: 60px;
    }
    
    .question-content h2 {
        font-size: 1.1rem;
        line-height: 1.5;
        font-weight: 700;
    }
    
    .options {
        gap: 8px;
        margin-bottom: 12px;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .option-btn {
        padding: 10px 12px;
        min-height: 44px;
    }
    
    .option-letter {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
    }
    
    .option-text {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .quiz-footer {
        flex-direction: row;
        gap: 8px;
        padding-top: 0;
        flex-shrink: 0;
    }
    
    .footer-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    /* 结果页可以滚动 */
    .result-page {
        padding: 60px 16px 20px;
        height: auto;
        min-height: 100vh;
        overflow: visible;
    }
    
    .result-card {
        max-width: 100%;
        height: auto;
        overflow: visible;
    }
    .result-top {
        grid-template-columns: 1fr;
        padding: 24px 20px;
        text-align: center;
    }
    
    .result-image-wrapper {
        width: 240px;
        height: 240px;
    }
    
    .result-left {
        margin-bottom: 24px;
    }
    
    .result-right {
        align-items: center;
        text-align: center;
    }
    
    .result-title span {
        display: inline;
    }
    
    .result-title .result-name {
        font-size: 1.6rem;
        display: block;
        margin-top: 4px;
    }
    
    .result-match {
        justify-content: center;
    }
    
    .save-btn {
        align-self: center;
    }
    
    .result-section {
        padding: 20px;
    }
    
    .score-cards {
        grid-template-columns: 1fr;
    }
    
    .question-scores {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .result-footer {
        flex-direction: column;
    }
}

/* ========== 响应式 - 平板端 ========== */
@media (min-width: 601px) and (max-width: 900px) {
    .container {
        padding: 24px;
    }
}

/* ========== 响应式 - 大屏PC ========== */
@media (min-width: 1200px) {
    .container {
        max-width: 900px;
    }
}
