/* ============================================
   Draw My Life v2 - 新样式文件
   包含：动态边框、雷达图、毛玻璃效果、步骤化布局
   ============================================ */

/* CSS 变量定义 */
:root {
    /* 新色彩系统 */
    --color-primary: #6366F1;
    --color-primary-dark: #4F46E5;
    --color-secondary: #F59E0B;
    --color-accent: #10B981;
    --color-purple: #8B5CF6;
    
    /* 圆角系统 */
    --radius-large: 24px;
    --radius-medium: 12px;
    --radius-small: 8px;
    
    /* 阴影系统 */
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3);
    
    /* 动画时间 */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Fixed top layout */
    --app-nav-height: 64px;
    --step-indicator-height: 48px;
    /* Reason: 导航高度由 .glass-nav min-height 统一锁定为 --app-nav-height，
       步骤条紧贴导航底部，主内容只避让 nav + step 两段，不再额外留固定空隙（白带根因）。 */
    --fixed-controls-gap: 0px;
}

/* ============================================
   基础样式
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #374151;
    background: #f9fafb;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}

/* growth.html / compare.html 顶部 nav 容器 */
.page-nav {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 12px 24px;
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 16px;
}

.page-nav .nav-logo {
    font-weight: 700;
    color: #1f2937;
    font-size: 1rem;
    text-decoration: none;
    margin-right: 8px;
    white-space: nowrap;
}


.step-section {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   上传区域 - Demo 对齐优化
   ============================================ */
@keyframes uploadBorderFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes uploadFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.upload-card-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
}

.upload-flow-border {
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-accent), var(--color-primary));
    background-size: 300% 300%;
    animation: uploadBorderFlow 4.8s ease infinite;
    padding: 3px;
    border-radius: 28px;
    box-shadow: 0 18px 36px rgba(79, 70, 229, 0.14);
}

.upload-area {
    position: relative;
    background: white;
    border-radius: 25px;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), background-color var(--transition-normal);
}

.upload-area:hover {
    transform: translateY(-2px) scale(1.005);
    box-shadow: 0 20px 34px rgba(79, 70, 229, 0.16);
}

.upload-area.dragover {
    background: #f0fdf4;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2), 0 24px 36px rgba(16, 185, 129, 0.16);
}

.upload-floating-icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-icon {
    position: absolute;
    width: 1.65rem;
    height: 1.65rem;
    opacity: 0.36;
    animation: uploadFloat 3s ease-in-out infinite;
}

.floating-shape::before,
.floating-shape::after {
    content: "";
    position: absolute;
    display: block;
}

.floating-shape-dot::before {
    inset: 0.38rem;
    border-radius: 9999px;
    background: rgba(99, 102, 241, 0.18);
    box-shadow:
        -0.34rem -0.18rem 0 rgba(16, 185, 129, 0.16),
        0.34rem 0.18rem 0 rgba(245, 158, 11, 0.16);
}

.floating-shape-dash::before {
    top: 0.72rem;
    left: 0.12rem;
    width: 1.42rem;
    height: 0.22rem;
    border-radius: 9999px;
    background: rgba(99, 102, 241, 0.18);
    transform: rotate(-18deg);
}

.floating-shape-ring::before {
    inset: 0.26rem;
    border: 0.18rem solid rgba(16, 185, 129, 0.16);
    border-radius: 9999px;
}

.floating-shape-ring::after {
    right: 0.2rem;
    bottom: 0.2rem;
    width: 0.34rem;
    height: 0.34rem;
    border-radius: 9999px;
    background: rgba(245, 158, 11, 0.18);
}

.icon-top-left {
    top: 22px;
    left: 24px;
}

.icon-top-right {
    top: 32px;
    right: 30px;
    animation-delay: 0.5s;
}

.icon-bottom-left {
    bottom: 20px;
    left: 40px;
    animation-delay: 1s;
}

.upload-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 3.25rem 2.5rem;
    width: 100%;
    max-width: 700px;
}

.upload-icon-wrapper {
    width: 96px;
    height: 96px;
    background: linear-gradient(135deg, #e0e7ff 0%, #ede9fe 100%);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.15rem;
    color: var(--color-primary);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.upload-area:hover .upload-icon-wrapper {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 24px rgba(99, 102, 241, 0.24);
}

.upload-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.upload-subtitle {
    color: #6b7280;
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.upload-safe-hint {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #9ca3af;
}

/* ============================================
   页面内反馈组件（替代alert）
   ============================================ */
.upload-feedback-container {
    position: fixed;
    top: 100px;
    right: 24px;
    z-index: 100;
    max-width: 400px;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.upload-feedback-content {
    position: relative;
    background: white;
    border-radius: var(--radius-medium);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    border-left: 4px solid var(--color-primary);
}

.upload-feedback-content.error {
    border-left-color: #ef4444;
}

.upload-feedback-content.success {
    border-left-color: var(--color-accent);
}

.feedback-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.upload-feedback-content.error .feedback-icon {
    color: #ef4444;
}

.upload-feedback-content.success .feedback-icon {
    color: var(--color-accent);
}

.feedback-message {
    flex: 1;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #4b5563;
}

.feedback-close {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border: none;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
    border-radius: var(--radius-small);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.feedback-close:hover {
    background: #f3f4f6;
    color: #4b5563;
}

/* 按钮样式 */
.btn-gradient-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-purple) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-medium);
    padding: 0.875rem 2rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-gradient-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-gradient-secondary {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #f97316 100%);
    color: white;
    border: none;
    border-radius: var(--radius-medium);
    padding: 0.875rem 2rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-gradient-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.btn-outline {
    background: white;
    color: #4b5563;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-medium);
    padding: 0.875rem 2rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.125rem;
}

.upload-btn-primary {
    position: relative;
    margin-top: 0.5rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-purple) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(99, 102, 241, 0.3);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
}

.upload-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(99, 102, 241, 0.34);
    filter: brightness(1.02);
}

.upload-btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 8px 16px rgba(99, 102, 241, 0.26);
}

/* 文件信息卡片 */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   上传区选中态（覆盖式预览，替代旧 #fileInfoCard）
   ============================================ */
.upload-area.has-file {
    padding: 0;
    overflow: hidden;
    cursor: default;
    /* 固定高度，与选中态一致，避免大图把上传区撑开 */
    height: clamp(360px, 42vw, 456px);
}

.upload-area.has-file .upload-content,
.upload-area.has-file .upload-floating-icons {
    display: none;
}

.upload-area.has-file:hover {
    transform: none;
}

.upload-selected-state {
    position: relative;
    width: 100%;
    /* 固定高度，不随图片原始比例撑开上传区（覆盖而非展开） */
    height: clamp(360px, 42vw, 456px);
}

.upload-selected-image {
    width: 100%;
    height: 100%;
    /* 大图（如竖图 2400×3600）在固定容器内 contain 留白，不撑高容器 */
    object-fit: contain;
    background: #f8fafc;
    display: block;
}

/* 底部渐变：提升覆盖文字可读性，不挡画作、不拦截点击 */
.upload-selected-state::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 62%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.34), rgba(15, 23, 42, 0));
    pointer-events: none;
}

.upload-selected-topbar {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    z-index: 2;
}

.upload-selected-badge {
    background: rgba(99, 102, 241, 0.95);
    color: white;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.upload-selected-file {
    background: rgba(17, 24, 39, 0.55);
    color: white;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    max-width: 60%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.upload-selected-footer {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.72);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.24);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.upload-selected-hint {
    color: white;
    font-size: 0.95rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.upload-selected-actions {
    display: flex;
    gap: 0.75rem;
}

.upload-selected-secondary,
.upload-selected-primary {
    cursor: pointer;
    border-radius: var(--radius-medium);
    padding: 0.7rem 1.25rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.upload-selected-secondary {
    background: rgba(255, 255, 255, 0.92);
    color: #374151;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.upload-selected-secondary:hover {
    background: white;
}

.upload-selected-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

.upload-selected-primary:hover {
    opacity: 0.92;
}

.upload-action-area {
    text-align: center;
    margin-top: 2rem;
}

/* 年龄段选择区域 */
.age-group-section {
    background: white;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-card);
    padding: 1.5rem;
    margin: 1.5rem 0;
    animation: slideUp 0.3s ease;
}

.age-group-label {
    display: block;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

/* 年龄段卡片网格 */
.age-group-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
    .age-group-cards {
        grid-template-columns: repeat(5, 1fr);
    }
}

.age-group-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.75rem 0.5rem;
    /* 边框加深，明确是可交互控件而非禁用占位 */
    border: 2px solid #cbd5e1;
    border-radius: var(--radius-medium);
    background: #fff;
    cursor: pointer;
    transition: var(--transition-fast);
    text-align: center;
    min-height: 64px;
}

.age-group-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.12);
    transform: translateY(-2px);
}

.age-group-card.selected {
    border-color: var(--color-primary);
    background: rgba(99, 102, 241, 0.06);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.age-group-card-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.3;
}

.age-group-card.selected .age-group-card-title {
    color: var(--color-primary);
}

.age-group-card-subtitle {
    font-size: 0.7rem;
    color: #6b7280;
    line-height: 1.2;
}

.age-group-hint {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
}

/* 功能亮点 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-card);
    transition: var(--transition-normal);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.feature-icon.blue {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.feature-icon.purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

.feature-icon.green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.feature-item h4 {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.feature-item p {
    font-size: 0.875rem;
    color: #6b7280;
}

/* ============================================
   处理中状态 - 沉浸式体验
   ============================================ */
.processing-container {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-large);
    overflow: hidden;
}

.processing-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.05) 0%, 
        rgba(139, 92, 246, 0.05) 25%,
        rgba(245, 158, 11, 0.05) 50%,
        rgba(16, 185, 129, 0.05) 75%,
        rgba(99, 102, 241, 0.05) 100%);
    background-size: 400% 400%;
    animation: gradient-shift 8s ease infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.processing-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
}

.processing-animation {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 2rem;
}

.processing-ring {
    position: absolute;
    border-radius: 50%;
    border: 3px solid transparent;
}

.ring-1 {
    width: 100%;
    height: 100%;
    border-top-color: var(--color-primary);
    animation: spin 2s linear infinite;
}

.ring-2 {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    border-right-color: var(--color-secondary);
    animation: spin 1.5s linear infinite reverse;
}

.ring-3 {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    border-bottom-color: var(--color-accent);
    animation: spin 1s linear infinite;
}

.processing-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-purple) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.processing-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.processing-step {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

/* 步骤进度条 */
.step-progress-container {
    max-width: 400px;
    margin: 0 auto 2rem;
}

.step-progress-bar {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.step-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    border-radius: 4px;
    transition: width 0.5s ease;
}

.step-progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #9ca3af;
}

.step-progress-labels span.active {
    color: var(--color-primary);
    font-weight: 600;
}

/* 详细进度 */
.detail-progress {
    max-width: 400px;
    margin: 0 auto 2rem;
    background: white;
    padding: 1rem;
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-card);
}

.detail-progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.detail-progress-header span:first-child {
    color: #6b7280;
}

.detail-progress-header span:last-child {
    color: var(--color-primary);
    font-weight: 600;
}

.detail-progress-bar {
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
}

.detail-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* 可恢复错误区域 */
.recoverable-error-container {
    text-align: center;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.error-message-text {
    color: #ef4444;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.error-action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* 趣味提示 */
.fun-tip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.875rem;
    max-width: 400px;
    margin: 0 auto;
}

.fun-tip i {
    color: var(--color-secondary);
}

/* ============================================
   结果页面
   ============================================ */
.result-header {
    padding: 2rem;
    background: white;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-card);
    margin-bottom: 1.5rem;
}

.score-badge-large {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
    animation: scale-in 0.5s ease;
}

@keyframes scale-in {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.score-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.score-unit {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
}

.score-label-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.score-description {
    color: #6b7280;
    max-width: 400px;
    margin: 0 auto;
}

/* 结果内容区 */
.result-first-screen {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.result-second-screen {
    padding-top: 1rem;
}

.result-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 1.5rem;
    align-items: stretch;
    margin-bottom: 1.5rem;
}

.result-image-compact {
    max-width: 500px;
    margin: 0 auto 1.5rem;
}

.result-overview-grid .result-image-compact {
    max-width: none;
    margin: 0;
}

.feedback-section-compact {
    margin-bottom: 1.5rem;
}

.result-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .result-content {
        grid-template-columns: 1fr 1fr;
    }
}

.result-image-section,
.result-chart-section {
    background: white;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-card);
    padding: 1.5rem;
}

.section-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

/* 图片对比容器 */
.image-compare-container {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: var(--radius-medium);
    overflow: hidden;
    background: #f9fafb;
}

/* ============================================
   图片对比组件布局（clip-path 遮罩模型：图片固定，遮罩移动）
   关键布局全部由类控制；运行时唯一可变值为 CSS 变量 --compare-position（inline 注入）。
   before / after 两层用完全一致的展示规则，相对完整容器铺满，不随遮罩缩放。
   ============================================ */
.image-compare-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: #f9fafb;
    /* 滑块/遮罩位置（运行时由 JS setProperty 覆盖），默认居中 */
    --compare-position: 50%;
}

/* before / after 两层：完全一致的展示规则，相对完整容器铺满（不随遮罩缩放） */
.image-compare-after,
.image-compare-before {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    background: #f9fafb;
}

/* 原图遮罩层（上层）：固定满容器，仅用 clip-path 控制可见区域，不再用 width 裁剪 */
.image-compare-before-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
    clip-path: inset(0 calc(100% - var(--compare-position)) 0 0);
}

.image-compare-slider {
    position: absolute;
    top: 0;
    left: var(--compare-position);
    width: 4px;
    height: 100%;
    background: white;
    cursor: ew-resize;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

.image-compare-slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.image-compare-label {
    position: absolute;
    top: 16px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.image-compare-label-before {
    left: 16px;
}

.image-compare-label-after {
    right: 16px;
}

/* ============================================
   图片区状态浮层（pending / loading / unavailable / failed）
   ============================================ */
.image-state-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: #f9fafb;
}

.image-state-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #f9fafb;
}

.image-state-img-dim {
    filter: brightness(0.98);
}

.image-state-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    color: white;
    text-align: center;
}

.image-state-overlay-light {
    inset: auto 1rem 1rem;
    flex-direction: row;
    justify-content: flex-start;
    width: auto;
    max-width: calc(100% - 2rem);
    padding: 0.6rem 0.8rem;
    border-radius: 9999px;
    border: 1px solid rgba(99, 102, 241, 0.18);
    background: rgba(255, 255, 255, 0.9);
    color: #1f2937;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.image-state-overlay-dark {
    inset: auto 1rem 1rem;
    flex-direction: row;
    justify-content: flex-start;
    width: auto;
    max-width: calc(100% - 2rem);
    padding: 0.65rem 0.85rem;
    border-radius: 12px;
    background: rgba(17, 24, 39, 0.84);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.image-state-icon {
    flex: 0 0 auto;
    font-size: 1rem;
}

.image-state-overlay-light .image-state-icon {
    color: var(--color-primary);
}

.image-state-icon-pulse {
    animation: pulse 1.5s infinite;
}

.image-state-text {
    min-width: 0;
    font-size: 0.88rem;
    font-weight: 650;
    line-height: 1.35;
}

.image-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.75rem;
}

.image-label {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-weight: 500;
}

.image-label.original {
    background: #f3f4f6;
    color: #4b5563;
}

.image-label.enhanced {
    background: rgba(99, 102, 241, 0.1);
    color: var(--color-primary);
}

/* 雷达图容器 */
.radar-chart-container {
    position: relative;
    width: min(100%, 340px);
    height: 320px;
    margin: 0 auto;
    overflow: hidden;
}

.radar-chart-container canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.result-chart-compact {
    display: flex;
    flex-direction: column;
}

.result-chart-compact .radar-chart-container {
    flex: 0 0 auto;
    margin: auto;
    min-height: 320px;
}

/* 反馈区域 */
.feedback-section {
    background: white;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-card);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.feedback-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-left: 4px solid var(--color-primary);
    padding: 1rem 1.25rem;
    border-radius: 0 var(--radius-small) var(--radius-small) 0;
}

.feedback-text {
    color: #4b5563;
    line-height: 1.7;
}

/* 详细评分 */
.detail-scores-section {
    background: white;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-card);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

/* 可解释性模块（评分依据、同龄参考、家长建议） */
.explainability-section {
    background: white;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-card);
    margin-bottom: 1rem;
    overflow: hidden;
}

.explainability-details {
    width: 100%;
}

.explainability-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    cursor: pointer;
    list-style: none;
    transition: background-color var(--transition-fast);
}

.explainability-summary:hover {
    background-color: #f9fafb;
}

.explainability-summary::-webkit-details-marker {
    display: none;
}

.explainability-summary .section-title {
    margin-bottom: 0;
}

.details-chevron {
    color: #9ca3af;
    transition: transform var(--transition-fast);
}

.explainability-details[open] .details-chevron {
    transform: rotate(180deg);
}

.explainability-content {
    padding: 0 1.5rem 1.5rem;
    border-top: 1px solid #f3f4f6;
}

/* 评分依据列表 */
.scoring-basis-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.scoring-basis-item {
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: var(--radius-small);
    border-left: 3px solid var(--color-primary);
}

.scoring-basis-dimension {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.scoring-basis-text {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
}

/* 同龄参考表格 */
.age-reference-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.age-reference-table th,
.age-reference-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.age-reference-table th {
    font-weight: 600;
    color: #374151;
    background: #f9fafb;
}

.age-reference-table td {
    color: #4b5563;
}

.age-reference-table tr:last-child td {
    border-bottom: none;
}

/* 家长建议列表 */
.parent-guidance-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.parent-guidance-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f0fdf4;
    border-radius: var(--radius-small);
    border-left: 3px solid var(--color-accent);
}

.parent-guidance-number {
    width: 24px;
    height: 24px;
    background: var(--color-accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
}

.parent-guidance-text {
    font-size: 0.875rem;
    color: #374151;
    line-height: 1.5;
}

/* 空状态提示 */
.explainability-empty {
    text-align: center;
    padding: 1.5rem;
    color: #9ca3af;
    font-size: 0.875rem;
}

.detail-scores-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.detail-score-item {
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-medium);
    background: #fff;
    overflow: hidden;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.detail-score-accordion {
    display: block;
}

.detail-score-item[open] {
    border-color: rgba(99, 102, 241, 0.24);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.detail-score-summary {
    display: grid;
    grid-template-columns: minmax(120px, 0.9fr) minmax(140px, 2fr) 56px 20px;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
    cursor: pointer;
    list-style: none;
}

.detail-score-summary::-webkit-details-marker {
    display: none;
}

.detail-score-summary:hover {
    background: #f9fafb;
}

.detail-score-label {
    min-width: 0;
    font-weight: 700;
    color: #1f2937;
    font-size: 0.95rem;
    line-height: 1.3;
}

.detail-score-bar {
    display: block;
    min-width: 0;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.detail-score-fill {
    display: block;
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.detail-score-fill.excellent {
    background: linear-gradient(90deg, #10b981, #059669);
}

.detail-score-fill.good {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

.detail-score-fill.fair {
    background: linear-gradient(90deg, #ef4444, #dc2626);
}

.detail-score-value {
    text-align: right;
    font-weight: 700;
    color: #1f2937;
    font-size: 1rem;
}

.detail-score-chevron {
    color: #64748b;
    font-size: 0.78rem;
    transition: transform var(--transition-fast);
}

.detail-score-item[open] .detail-score-chevron {
    transform: rotate(180deg);
}

.detail-score-explainability {
    margin: 0 1rem 1rem;
    padding: 1rem 1rem 0.95rem;
    border-top: 1px solid #eef0f4;
    background: #f8fafc;
    border-radius: var(--radius-small);
}

.detail-score-explainability-block + .detail-score-explainability-block {
    margin-top: 0.95rem;
    padding-top: 0.95rem;
    border-top: 1px solid #e5e7eb;
}

.detail-score-explainability-title {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 0.45rem;
    color: #1f2937;
    font-size: 0.92rem;
    font-weight: 700;
}

.detail-score-explainability-title i {
    width: 1.55rem;
    height: 1.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    font-size: 0.78rem;
}

.detail-score-explainability-text,
.detail-score-age-reference-range,
.detail-score-explainability-empty {
    margin: 0;
    color: #4b5563;
    font-size: 0.875rem;
    line-height: 1.65;
}

.detail-score-age-reference {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.detail-score-age-reference-range {
    font-weight: 600;
    color: #374151;
}

.detail-score-explainability-empty {
    color: #9ca3af;
}

/* 结果操作按钮 */
.result-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
}

/* 桌面端两按钮等高不换行；移动端由下方 @media 改为各占满宽度堆叠 */
.result-actions button {
    flex: 0 1 auto;
}

/* 图片占位样式 */
.img-placeholder {
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    position: relative;
}

.img-placeholder::after {
    content: '图片暂不可用';
    position: absolute;
    color: #9ca3af;
    font-size: 0.75rem;
    text-align: center;
}

/* CSS 庆祝动效 */
@keyframes confetti-fall {
    0% { transform: translateY(-20px) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

.celebrate-active {
    position: relative;
    overflow: hidden;
}

.confetti-piece {
    position: absolute;
    top: 0;
    border-radius: 2px;
    animation: confetti-fall 2.5s ease-in-out forwards;
    pointer-events: none;
    z-index: 100;
}

.score-badge-large {
    transition: transform 0.3s ease;
}

.celebrate-active .score-badge-large {
    animation: score-pop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes score-pop {
    0% { transform: scale(0.8); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .celebrate-active .confetti-piece,
    .celebrate-active .score-badge-large {
        animation: none;
    }
}

@media (max-width: 900px) {
    .result-overview-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   模态框
   ============================================ */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: var(--radius-large);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    animation: modal-in 0.3s ease;
}

@keyframes modal-in {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes modal-exit {
    from {
        transform: scale(1);
        opacity: 1;
    }
    to {
        transform: scale(0.9);
        opacity: 0;
    }
}

.modal-exit {
    animation: modal-exit 180ms ease forwards;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f3f4f6;
}

.modal-header h3 {
    font-weight: 600;
    color: #1f2937;
}

.modal-close {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-small);
    border: none;
    background: #f3f4f6;
    color: #6b7280;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: #e5e7eb;
    color: #1f2937;
}

.modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    max-height: 60vh;
}

.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #f3f4f6;
    display: flex;
    justify-content: center;
}

/* 分享卡片预览 */
.share-card-preview {
    background: white;
    border-radius: var(--radius-medium);
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* ============================================
   页脚
   ============================================ */
.footer {
    background: white;
    border-top: 1px solid #f3f4f6;
    flex-shrink: 0;
    padding: 1.5rem 0;
    margin-top: 0;
}

.footer p {
    color: #9ca3af;
    font-size: 0.875rem;
}

/* ============================================
   工具类
   ============================================ */
.hidden {
    display: none !important;
}

/* ============================================
   响应式设计
   ============================================ */
@media (max-width: 640px) {
    .upload-flow-border {
        border-radius: 22px;
    }

    .upload-area {
        min-height: 360px;
        border-radius: 19px;
    }
    
    .upload-content {
        padding: 2rem 1.25rem;
    }

    .upload-icon-wrapper {
        width: 82px;
        height: 82px;
        font-size: 1.95rem;
    }

    .upload-title {
        font-size: 1.25rem;
    }

    .upload-subtitle {
        font-size: 0.95rem;
    }

    .floating-icon {
        width: 1.35rem;
        height: 1.35rem;
        opacity: 0.28;
    }

    .icon-top-left {
        top: 18px;
        left: 16px;
    }

    .icon-top-right {
        top: 22px;
        right: 16px;
    }

    .icon-bottom-left {
        bottom: 18px;
        left: 24px;
    }

    /* 选中态移动端：固定高度对齐 .upload-area，大图不撑开，按钮纵向堆叠不溢出 */
    .upload-area.has-file,
    .upload-selected-state,
    .upload-selected-image {
        height: 360px;
        max-height: 360px;
        min-height: 360px;
    }

    .upload-selected-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .upload-selected-file {
        max-width: 50%;
    }

    .upload-selected-topbar {
        top: 10px;
        left: 10px;
        right: 10px;
        gap: 0.5rem;
    }

    .upload-selected-badge,
    .upload-selected-file {
        padding: 0.28rem 0.65rem;
        font-size: 0.72rem;
    }

    .upload-selected-footer {
        left: 10px;
        right: 10px;
        bottom: 10px;
        gap: 0.5rem;
        padding: 0.68rem;
        border-radius: 12px;
    }

    .upload-selected-hint {
        font-size: 0.85rem;
        line-height: 1.35;
    }

    .upload-selected-secondary,
    .upload-selected-primary {
        min-height: 42px;
        padding: 0.58rem 0.9rem;
        font-size: 0.88rem;
    }

    .processing-container {
        min-height: 400px;
    }
    
    .processing-animation {
        width: 120px;
        height: 120px;
    }
    
    .processing-title {
        font-size: 1.5rem;
    }
    
    .score-badge-large {
        width: 100px;
        height: 100px;
    }
    
    .score-value {
        font-size: 2rem;
    }
    
    .result-actions {
        flex-direction: column;
    }
    
    .result-actions button {
        width: 100%;
    }

    .detail-score-summary {
        grid-template-columns: minmax(0, 1fr) auto 18px;
        gap: 0.65rem;
        padding: 0.85rem;
    }

    .detail-score-summary .detail-score-bar {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .detail-score-label {
        font-size: 0.9rem;
    }

    .detail-score-value {
        font-size: 0.95rem;
    }

    .detail-score-explainability {
        margin: 0 0.85rem 0.85rem;
        padding: 0.85rem;
    }
}

/* 触摸设备优化 */
@media (hover: none) {
    .upload-area:hover {
        transform: none;
        box-shadow: none;
    }

    .upload-area:hover .upload-icon-wrapper {
        transform: none;
        box-shadow: none;
    }

    .feature-item:hover {
        transform: none;
    }
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .upload-flow-border,
    .floating-icon {
        animation: none !important;
    }
}

/* 高对比度模式 */
@media (prefers-contrast: high) {
    .upload-flow-border {
        padding: 4px;
    }

    .btn-gradient-primary,
    .btn-gradient-secondary,
    .upload-btn-primary {
        border: 2px solid currentColor;
    }
}

/* ============================================
   游客额度耗尽：登录引导区块
   ============================================ */
/* ============================================
   游客额度耗尽：上传区域局部锁定浮层
   覆盖在 .upload-card-wrapper 内，遮住上传图标与入口
   ============================================ */
.guest-quota-overlay {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.guest-quota-overlay.hidden {
    display: none;
}

.guest-quota-overlay__panel {
    width: min(760px, calc(100% - 48px));
    max-width: 100%;
    padding: 40px 48px;
    border-radius: 24px;
    text-align: center;
    background: rgba(245, 243, 255, 0.92);
    border: 1px solid rgba(124, 58, 237, 0.24);
    box-shadow: 0 24px 60px rgba(99, 102, 241, 0.22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.guest-quota-overlay__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    transform: rotate(45deg);
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.32);
    margin-bottom: 0.25rem;
}

.guest-quota-overlay__icon i {
    transform: rotate(-45deg);
    color: #ffffff;
    font-size: 1.4rem;
}

.guest-quota-overlay__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.guest-quota-overlay__subtitle {
    font-size: 1rem;
    color: #4b5563;
    margin: 0;
}

.guest-quota-overlay__actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    max-width: 420px;
    margin-top: 0.75rem;
}

.guest-quota-overlay__btn {
    width: 100%;
}

/* 占位按钮（本阶段未接登录）禁用态 */
.guest-quota-overlay__btn:disabled,
.guest-quota-overlay__btn[aria-disabled="true"] {
    opacity: 0.6;
    cursor: not-allowed;
}

.guest-quota-overlay__hint {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0.5rem 0 0;
}

@media (min-width: 640px) {
    .guest-quota-overlay__actions {
        flex-direction: row;
        justify-content: center;
    }

    .guest-quota-overlay__btn {
        width: auto;
    }
}

@media (max-width: 639px) {
    .guest-quota-overlay__panel {
        padding: 24px 20px;
    }

    .guest-quota-overlay__title {
        font-size: 1.25rem;
    }
}
