* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: #f5f7fa;
    color: #333;
    -webkit-font-smoothing: antialiased;
}

/* 导航 */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: #fff; border-bottom: 1px solid #eee;
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 16px;
}
.nav-brand { font-size: 1rem; font-weight: 700; color: #1a1a2e; }
.nav-links { display: flex; gap: 16px; }
.nav-link { font-size: 0.85rem; color: #666; cursor: pointer; padding: 4px 8px; }
.nav-link.active { color: #6c5ce7; font-weight: 600; }

/* 页面 */
.page { display: none; min-height: 100vh; padding-top: 56px; }
.page.active { display: block; }

/* Hero */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff; padding: 50px 20px 60px; text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    font-size: 0.75rem;
    margin-bottom: 16px;
    backdrop-filter: blur(10px);
}
.hero h1 { font-size: 1.9rem; line-height: 1.3; margin-bottom: 12px; font-weight: 800; }
.hero-sub { font-size: 0.9rem; opacity: 0.9; margin-bottom: 24px; }

/* Hero 输入框 */
.hero-input-box {
    display: flex;
    max-width: 480px;
    margin: 0 auto 16px;
    background: #fff;
    border-radius: 50px;
    padding: 6px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}
.hero-input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 50px;
    font-size: 0.9rem;
    outline: none;
    background: transparent;
}
.hero-input::placeholder { color: #aaa; }
.hero-input-btn {
    padding: 12px 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s;
}
.hero-input-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(102,126,234,0.4); }

/* 示例标签 */
.hero-examples {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 16px;
}
.hero-example-tag {
    padding: 6px 14px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    font-size: 0.75rem;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
    backdrop-filter: blur(10px);
}
.hero-example-tag:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-1px);
}

/* 快速链接 */
.hero-quick-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
    align-items: center;
}
.hero-quick-links span {
    cursor: pointer;
    transition: color 0.2s;
}
.hero-quick-links span:hover { color: #fff; }
.hero-quick-links .dot {
    cursor: default;
    opacity: 0.5;
}

/* 通用 section */
.section {
    padding: 48px 20px;
    background: #fff;
}
.section-gray {
    background: #f8f9fc;
}
.section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a2e;
    text-align: center;
    margin-bottom: 8px;
}
.section-sub {
    font-size: 0.85rem;
    color: #888;
    text-align: center;
    margin-bottom: 32px;
}

/* 三步流程 */
.steps-row {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 560px;
    margin: 0 auto;
}
.step-card {
    text-align: center;
    flex: 1;
    min-width: 90px;
}
.step-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 12px;
    box-shadow: 0 4px 15px rgba(102,126,234,0.3);
}
.step-card h4 {
    font-size: 0.95rem;
    margin-bottom: 6px;
    color: #1a1a2e;
    font-weight: 600;
}
.step-card p {
    font-size: 0.75rem;
    color: #888;
    line-height: 1.5;
}
.step-connector {
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    margin-top: 28px;
    flex-shrink: 0;
    opacity: 0.4;
}

/* 核心优势 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 600px;
    margin: 0 auto;
}
.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: transform 0.2s;
}
.feature-card:hover {
    transform: translateY(-4px);
}
.feature-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}
.feature-card h3 {
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: #1a1a2e;
}
.feature-card p {
    font-size: 0.75rem;
    color: #888;
    line-height: 1.6;
}

/* 页脚 */
.footer {
    background: #1a1a2e;
    color: #fff;
    padding: 32px 20px;
    text-align: center;
}
.footer p {
    font-size: 0.85rem;
    margin-bottom: 6px;
    opacity: 0.9;
}
.footer-sub {
    font-size: 0.75rem !important;
    opacity: 0.5 !important;
}
.btn-large { padding: 12px 32px; font-size: 1rem; margin: 6px; border-radius: 25px; }

/* 按钮 */
.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff; border: none; border-radius: 8px;
    padding: 10px 20px; font-size: 0.9rem; cursor: pointer;
    font-weight: 600; transition: opacity 0.2s;
}
.btn-primary:active { opacity: 0.8; }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-secondary {
    background: rgba(255,255,255,0.2); color: #fff;
    border: 1px solid rgba(255,255,255,0.5); border-radius: 8px;
    padding: 10px 20px; font-size: 0.9rem; cursor: pointer;
}

/* 域名查询 */
.domain-search-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 16px;
    position: relative;
    overflow: hidden;
}
.domain-search-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}
.domain-search-section h2 {
    color: #fff !important;
    text-align: center;
    font-size: 1.4rem !important;
    margin-bottom: 8px !important;
    position: relative;
    z-index: 1;
}
.domain-search-section > .container > p {
    color: rgba(255,255,255,0.85) !important;
    text-align: center;
    margin-bottom: 24px !important;
    font-size: 0.85rem !important;
    position: relative;
    z-index: 1;
}
.domain-search-tip {
    color: rgba(255,255,255,0.8);
    text-align: center;
    font-size: 0.8rem;
    margin-top: 12px;
    position: relative;
    z-index: 1;
}
.domain-search-box {
    display: flex;
    gap: 0;
    max-width: 480px;
    margin: 0 auto;
    background: #fff;
    border-radius: 50px;
    padding: 6px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
}
.domain-search-input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    outline: none;
    background: transparent;
}
.domain-search-input::placeholder {
    color: #aaa;
}
.domain-search-btn {
    padding: 12px 28px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.4);
}
.domain-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.5);
}
.domain-search-btn:active {
    transform: translateY(0);
}
.domain-search-result {
    max-width: 480px;
    margin: 20px auto 0;
    position: relative;
    z-index: 1;
}
.domain-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}
.domain-result-item:hover {
    transform: translateY(-2px);
}
.domain-result-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #1a1a2e;
}
.domain-result-price {
    color: #e74c3c;
    font-weight: 700;
    margin: 0 12px;
    font-size: 0.9rem;
}
.domain-result-btn {
    padding: 8px 18px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}
.domain-result-btn:hover {
    transform: scale(1.05);
}
.domain-result-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}
.domain-result-unavailable {
    color: #999;
    font-size: 0.8rem;
    padding: 6px 12px;
    background: #f5f5f5;
    border-radius: 12px;
}

/* 产品卡片 */
.product-list { display: flex; flex-direction: column; gap: 16px; max-width: 500px; margin: 0 auto; }
.product-card {
    background: #fff; border-radius: 16px; padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 2px solid transparent; transition: all 0.2s;
}
.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.product-card.hot { border-color: #667eea; position: relative; }
.product-card.hot::before {
    content: '推荐'; position: absolute; top: -1px; right: 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff; font-size: 0.7rem; padding: 4px 12px;
    border-radius: 0 0 8px 8px; font-weight: 600;
}
.product-name { font-size: 1.1rem; font-weight: 700; color: #1a1a2e; margin-bottom: 6px; }
.product-desc { font-size: 0.8rem; color: #888; margin-bottom: 16px; line-height: 1.6; }
.product-features { list-style: none; margin-bottom: 20px; }
.product-features li {
    font-size: 0.8rem; color: #555; padding: 5px 0;
    padding-left: 24px; position: relative;
}
.product-features li::before {
    content: '✓'; position: absolute; left: 0; color: #27ae60; font-weight: 700;
}
.product-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 16px; }
.price-symbol { font-size: 1rem; color: #e74c3c; font-weight: 600; }
.price-value { font-size: 2.2rem; color: #e74c3c; font-weight: 800; }
.price-unit { font-size: 0.8rem; color: #999; }
.product-card .btn-primary {
    width: 100%; padding: 14px; font-size: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none; border-radius: 12px; color: #fff; font-weight: 600;
    cursor: pointer; transition: all 0.2s;
}
.product-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102,126,234,0.4);
}

/* 聊天页 */
.chat-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: #fff; border-bottom: 1px solid #eee;
    display: flex; align-items: center; padding: 12px 16px; gap: 10px;
}
.back-btn { font-size: 1.3rem; cursor: pointer; color: #666; padding: 4px; }
.chat-avatar { font-size: 1.8rem; }
.chat-info { flex: 1; }
.chat-name { font-size: 1rem; font-weight: 600; color: #1a1a2e; }
.chat-status { font-size: 0.75rem; color: #27ae60; display: flex; align-items: center; gap: 4px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #27ae60; }

.chat-messages {
    padding: 70px 16px 120px; min-height: 100vh;
}
.msg { margin-bottom: 16px; display: flex; gap: 8px; }
.msg-ai { justify-content: flex-start; }
.msg-user { justify-content: flex-end; }
.msg-avatar { font-size: 1.5rem; flex-shrink: 0; }
.msg-bubble {
    max-width: 75%; padding: 12px 16px; border-radius: 16px;
    font-size: 0.9rem; line-height: 1.6; word-break: break-word;
}
.msg-ai .msg-bubble { background: #fff; border-bottom-left-radius: 4px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.msg-user .msg-bubble { background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; border-bottom-right-radius: 4px; }

.quick-replies {
    position: fixed; bottom: 60px; left: 0; right: 0;
    display: flex; gap: 8px; padding: 8px 16px;
    background: transparent; overflow-x: auto; z-index: 50;
}
.quick-reply {
    background: #fff; border: 1px solid #ddd; border-radius: 20px;
    padding: 6px 14px; font-size: 0.8rem; color: #666;
    white-space: nowrap; cursor: pointer; flex-shrink: 0;
}
.chat-input-area {
    position: fixed; bottom: 0; left: 0; right: 0;
    display: flex; gap: 8px; padding: 10px 16px;
    background: #fff; border-top: 1px solid #eee; z-index: 50;
}
#chat-input {
    flex: 1; padding: 10px 14px; border: 1px solid #ddd;
    border-radius: 20px; font-size: 0.9rem; outline: none;
}
#chat-input:focus { border-color: #6c5ce7; }
.btn-send {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff; border: none; border-radius: 20px;
    padding: 10px 20px; font-size: 0.9rem; cursor: pointer;
}

/* 下单按钮在聊天中 */
.order-btn-wrap { text-align: center; padding: 12px; }
.order-btn-wrap .btn-primary { max-width: 220px; width: 100%; padding: 12px; font-size: 1rem; }

/* 需求确认页 */
.requirement-container { padding: 70px 16px 30px; max-width: 500px; margin: 0 auto; }
.selected-plan-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}
.selected-plan-card .plan-name { font-size: 1.1rem; font-weight: 600; }
.selected-plan-card .plan-price { font-size: 1.5rem; font-weight: 700; }
.selected-plan-card .plan-price span { font-size: 0.8rem; font-weight: 400; opacity: 0.8; }
.requirement-card { background: #fff; border-radius: 16px; padding: 20px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.requirement-tip { font-size: 0.8rem; color: #888; margin-bottom: 20px; line-height: 1.5; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.85rem; color: #333; margin-bottom: 6px; font-weight: 500; }
.form-group .required { color: #e74c3c; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 10px 12px; border: 1px solid #ddd; border-radius: 8px;
    font-size: 0.9rem; outline: none; font-family: inherit;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: #6c5ce7; }
.form-hint { font-size: 0.7rem; color: #999; margin-top: 4px; }

/* 支付页 */
.payment-container { padding: 70px 16px 30px; }
.payment-card {
    background: #fff; border-radius: 16px; padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06); text-align: center;
}
.payment-amount { margin-bottom: 20px; }
.amount-label { display: block; font-size: 0.85rem; color: #888; margin-bottom: 8px; }
.amount-value { font-size: 2.5rem; color: #e74c3c; font-weight: 700; }
.order-details {
    background: #f8f9fa; border-radius: 8px; padding: 12px;
    margin-bottom: 20px; text-align: left;
}
.order-details p { font-size: 0.8rem; color: #555; margin-bottom: 4px; }
.qrcode-section { margin-bottom: 10px; }
.qrcode-img {
    width: 200px; height: 200px; margin: 0 auto 12px;
    border: 1px solid #eee; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.qrcode-img img { width: 100%; height: 100%; object-fit: contain; }
.qrcode-tip { font-size: 0.85rem; color: #333; margin-bottom: 4px; }
.qrcode-tip-small { font-size: 0.7rem; color: #999; }

/* 交付页 */
.delivery-container { padding: 70px 16px 30px; }
.timeline { background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.timeline-loading { text-align: center; color: #999; padding: 20px; }
.timeline-item {
    display: flex; gap: 12px; padding-bottom: 20px;
    position: relative;
}
.timeline-item:not(:last-child)::after {
    content: ''; position: absolute; left: 15px; top: 32px; bottom: 0;
    width: 2px; background: #eee;
}
.timeline-item.done:not(:last-child)::after { background: #27ae60; }
.timeline-dot {
    width: 32px; height: 32px; border-radius: 50%;
    background: #eee; display: flex; align-items: center;
    justify-content: center; font-size: 0.8rem; flex-shrink: 0;
    z-index: 1;
}
.timeline-item.done .timeline-dot { background: #27ae60; color: #fff; }
.timeline-item.active .timeline-dot { background: #6c5ce7; color: #fff; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.1); } }
.timeline-content { flex: 1; }
.timeline-title { font-size: 0.9rem; font-weight: 600; color: #333; margin-bottom: 2px; }
.timeline-desc { font-size: 0.75rem; color: #999; }
.timeline-item.done .timeline-title { color: #27ae60; }

.delivery-result {
    margin-top: 16px; background: #fff; border-radius: 16px;
    padding: 20px; box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.delivery-result h4 { font-size: 0.95rem; margin-bottom: 10px; color: #1a1a2e; }
.delivery-result p { font-size: 0.8rem; color: #555; margin-bottom: 6px; word-break: break-all; }
.delivery-result a { color: #6c5ce7; text-decoration: none; }

/* 订单页 */
.orders-container { padding: 70px 16px 30px; }
.orders-list { display: flex; flex-direction: column; gap: 12px; }
.order-item {
    background: #fff; border-radius: 12px; padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04); cursor: pointer;
}
.order-item-top { display: flex; justify-content: space-between; margin-bottom: 8px; }
.order-no { font-size: 0.8rem; color: #888; }
.order-status { font-size: 0.8rem; font-weight: 600; }
.order-status.pending { color: #f39c12; }
.order-status.paid { color: #27ae60; }
.order-status.delivering { color: #6c5ce7; }
.order-status.delivered { color: #27ae60; }
.order-product { font-size: 0.9rem; color: #333; margin-bottom: 4px; }
.order-amount { font-size: 1rem; color: #e74c3c; font-weight: 600; }
.empty-state { text-align: center; color: #999; padding: 60px 0; font-size: 0.9rem; }

/* 浮动AI按钮 */
.float-ai-btn {
    position: fixed; bottom: 24px; right: 16px; z-index: 90;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff; border-radius: 25px; padding: 12px 18px;
    font-size: 0.9rem; font-weight: 600; cursor: pointer;
    box-shadow: 0 4px 16px rgba(102,126,234,0.4);
    transition: transform 0.2s;
}
.float-ai-btn:hover { transform: translateY(-2px); }

/* 模板选择 */
.template-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 8px;
}
.template-option {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
}
.template-option:hover {
    border-color: #6c5ce7;
    transform: translateY(-2px);
}
.template-option.active {
    border-color: #6c5ce7;
    box-shadow: 0 0 0 3px rgba(108,92,231,0.15);
}
.template-preview {
    height: 80px;
    padding: 10px;
    position: relative;
    overflow: hidden;
}
.tp-bar {
    height: 6px;
    width: 40%;
    border-radius: 3px;
    margin-bottom: 8px;
}
.tp-line {
    height: 4px;
    width: 80%;
    border-radius: 2px;
    margin-bottom: 6px;
}
.tp-line.short {
    width: 50%;
}
.template-name {
    padding: 8px 10px 2px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}
.template-desc {
    padding: 0 10px 10px;
    font-size: 0.75rem;
    color: #999;
}

/* 交付成功卡片 */
.delivery-success-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-top: 20px;
}
.ds-icon { font-size: 3rem; margin-bottom: 12px; }
.delivery-success-card h3 {
    font-size: 1.4rem;
    color: #1a1a2e;
    margin-bottom: 8px;
}
.ds-desc {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
}
.ds-url-box {
    background: #f8fafc;
    border-radius: 10px;
    padding: 16px;
    margin: 16px 0;
}
.ds-url-label {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 6px;
}
.ds-url {
    color: #6c5ce7;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    word-break: break-all;
}
.ds-info {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}
.ds-info-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.9rem;
    color: #555;
}
.ds-tip {
    margin-top: 16px;
    font-size: 0.8rem;
    color: #888;
    line-height: 1.6;
}

/* 弹窗 */
.modal-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5); z-index: 2000;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
}
.modal-content {
    background: #fff; border-radius: 16px; width: 100%; max-width: 420px;
    max-height: 90vh; overflow-y: auto;
}
.modal-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 24px; border-bottom: 1px solid #f0f0f0;
}
.modal-header h3 { margin: 0; font-size: 1.2rem; color: #1a1a2e; }
.modal-close { font-size: 1.5rem; color: #999; cursor: pointer; line-height: 1; }
.modal-body { padding: 20px 24px; }
.revision-free-info {
    background: #f0fdf4; border-radius: 10px; padding: 14px;
    text-align: center; margin-bottom: 8px; font-size: 0.95rem;
}
.revision-tip {
    font-size: 0.8rem; color: #888; text-align: center; margin-bottom: 20px;
}
.revision-btn {
    display: block; width: 100%; text-align: center;
    background: #f8fafc; color: #6c5ce7; border: 1px solid #6c5ce7;
    padding: 12px; border-radius: 10px; margin-top: 16px;
    text-decoration: none; font-weight: 600; cursor: pointer;
}
.revision-btn:hover { background: #6c5ce7; color: #fff; }
.revision-list { margin-top: 16px; }
.revision-item {
    background: #f8fafc; border-radius: 10px; padding: 14px; margin-bottom: 10px;
}
.revision-item-top { display: flex; justify-content: space-between; margin-bottom: 6px; }
.revision-type { font-size: 0.85rem; font-weight: 600; color: #333; }
.revision-status { font-size: 0.75rem; padding: 2px 8px; border-radius: 10px; }
.revision-status.pending { background: #fef3c7; color: #92400e; }
.revision-status.processing { background: #dbeafe; color: #1e40af; }
.revision-status.completed { background: #d1fae5; color: #065f46; }
.revision-status.rejected { background: #fee2e2; color: #991b1b; }
.revision-desc { font-size: 0.85rem; color: #666; line-height: 1.5; }
.revision-date { font-size: 0.75rem; color: #999; margin-top: 6px; }
    font-size: 0.85rem; font-weight: 600; cursor: pointer;
    box-shadow: 0 4px 16px rgba(102,126,234,0.4);
    display: flex; align-items: center; gap: 6px;
}
.float-ai-btn.hidden { display: none; }

/* Toast */
#toast-message {
    position: fixed; top: 70px; left: 50%; transform: translateX(-50%);
    padding: 12px 24px; border-radius: 8px; font-size: 0.85rem;
    z-index: 9999; max-width: 90%; text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2); color: #fff;
}

/* 上传组件 */
.upload-badge {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 6px;
    font-weight: 500;
}
.upload-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.upload-item {
    position: relative;
    width: 100%;
    padding-top: 100%;
    border-radius: 10px;
    overflow: hidden;
}
.upload-item img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.upload-item .upload-remove {
    position: absolute;
    top: 2px; right: 2px;
    width: 20px; height: 20px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    cursor: pointer;
}
.upload-add {
    background: #f5f7fa;
    border: 2px dashed #ddd;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.upload-add:hover {
    border-color: #667eea;
    background: #f0f2ff;
}
.upload-add-icon {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -70%);
    font-size: 1.5rem;
    color: #999;
}
.upload-add-text {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, 30%);
    font-size: 0.65rem;
    color: #999;
}
