* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #8b5cf6;
    --success: #10b981;
    --danger: #ef4444;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-900: #111827;
    --radius: 16px;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: var(--gray-900);
    padding-bottom: 2rem;
}

.app {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* 头部 */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.connect-btn {
    background: white;
    color: var(--primary);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.connect-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.connect-btn.connected {
    background: var(--success);
    color: white;
}

/* 钱包卡片 */
.wallet-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
}

.wallet-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.wallet-label {
    font-size: 0.85rem;
    color: var(--gray-600);
}

.wallet-addr {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-900);
    font-family: monospace;
}

.member-status {
    text-align: center;
    padding-top: 0.5rem;
    border-top: 1px solid var(--gray-200);
}

.status-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--gray-100);
    color: var(--gray-600);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-badge.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

/* 区块 */
.section {
    margin-bottom: 1.5rem;
}

.section-title {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

/* 会员卡片 */
.membership-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.membership-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.membership-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.membership-card.featured {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.card-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
}

.badge {
    padding: 0.3rem 0.6rem;
    background: var(--gray-100);
    color: var(--gray-600);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge.hot {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

.price {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.buy-btn {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--primary);
    background: white;
    color: var(--primary);
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
}

.buy-btn:hover {
    background: var(--primary);
    color: white;
}

.buy-btn.primary {
    background: rgba(255, 255, 255, 0.3);
    border-color: white;
    color: white;
}

.buy-btn.primary:hover {
    background: white;
    color: #f59e0b;
}

/* 标签导航 */
.tab-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin: 1.5rem 0 1rem;
}

.tab-item {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 1rem 0.5rem;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.tab-item:hover {
    background: rgba(255, 255, 255, 0.3);
}

.tab-item.active {
    background: white;
    color: var(--primary);
}

.tab-icon {
    font-size: 1.5rem;
}

/* 内容卡片 */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.content-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.card-desc {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

/* 表单 */
.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-700);
}

.input {
    width: 100%;
    padding: 0.85rem;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s;
    font-family: inherit;
}

.input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.token-quick {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.token-tag {
    padding: 0.4rem 0.8rem;
    background: var(--gray-100);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.3s;
}

.token-tag:hover {
    background: var(--primary);
    color: white;
}

.action-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 0.5rem;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* 锁定卡片 */
.lock-card {
    text-align: center;
    padding: 3rem 1.5rem;
}

.lock-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.lock-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.lock-card p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

/* 统计网格 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.stat-item {
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: 1.5rem 1rem;
    border-radius: 12px;
    text-align: center;
    color: white;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* 邀请赚钱区域 */
.member-code-section {
    margin: 1.5rem 0;
}

.code-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 12px;
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-400);
    margin-right: 0.5rem;
    animation: pulse 2s infinite;
}

.status-dot.active {
    background: #4CAF50;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.expire-info {
    font-size: 0.85rem;
    font-weight: 600;
}

.qr-code-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    margin-bottom: 1rem;
}

.qr-code {
    display: flex;
    justify-content: center;
    align-items: center;
}

#qrCanvas {
    display: block;
    border-radius: 8px;
}

.code-text {
    width: 100%;
    margin-top: 1rem;
}
    flex: 1;
}

.code-text label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.9rem;
}

.discount-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.2rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.discount-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.discount-item:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.discount-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.discount-value {
    font-size: 0.95rem;
    font-weight: 600;
}

.discount-value strong {
    color: #ffd700;
    font-size: 1.1rem;
}

.no-member-hint {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--gray-600);
}

.hint-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.no-member-hint h4 {
    font-size: 1.2rem;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.no-member-hint p {
    font-size: 0.95rem;
    margin: 0.3rem 0;
}

.hint-note {
    color: var(--gray-500);
    font-size: 0.85rem !important;
    margin-top: 1rem !important;
}

/* 邀请区域 */
.invite-section {
    margin: 1.5rem 0;
}

.invite-section label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--gray-700);
}

.invite-code {
    background: var(--gray-50);
    padding: 1.2rem;
    border-radius: 12px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 3px;
    margin-bottom: 1rem;
    border: 2px dashed var(--gray-300);
    font-family: monospace;
}

.invite-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.invite-btn {
    padding: 0.85rem 0.5rem;
    background: var(--gray-100);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.invite-btn.primary {
    background: var(--primary);
    color: white;
}

.invite-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.invite-btn.primary:hover {
    background: var(--primary-dark);
}

.invite-btn span {
    font-size: 1.3rem;
}

/* 规则盒子 */
.rules-box {
    background: var(--gray-50);
    padding: 1.2rem;
    border-radius: 12px;
    margin-top: 1.5rem;
}

.rules-box h4 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    color: var(--gray-900);
}

.rules-list {
    list-style: none;
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.8;
}

.rules-list li {
    padding-left: 0.3rem;
}

/* 消息提示 */
.toast {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: white;
    color: var(--gray-900);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    font-weight: 600;
    z-index: 1000;
    opacity: 0;
    transition: all 0.3s;
    max-width: 90%;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast.success {
    background: var(--success);
    color: white;
}

.toast.error {
    background: var(--danger);
    color: white;
}

/* 响应式 */
@media (max-width: 480px) {
    .app {
        padding: 0 0.75rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .connect-btn {
        padding: 0.65rem 1.2rem;
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1.15rem;
    }

    .membership-grid {
        gap: 0.75rem;
    }

    .membership-card {
        padding: 1.2rem;
    }

    .card-header h3 {
        font-size: 1rem;
    }

    .price {
        font-size: 1.5rem;
    }

    .tab-item {
        padding: 0.85rem 0.3rem;
        font-size: 0.8rem;
    }

    .tab-icon {
        font-size: 1.3rem;
    }

    .content-card {
        padding: 1.2rem;
    }

    .stat-value {
        font-size: 1.3rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .invite-code {
        font-size: 1.3rem;
        padding: 1rem;
    }

    .invite-btn {
        font-size: 0.8rem;
        padding: 0.75rem 0.3rem;
    }
    
    .social-links {
        grid-template-columns: 1fr;
    }
}

/* 流动性切换按钮 */
.liquidity-switch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem;
    border-radius: 12px;
}

.switch-btn {
    padding: 0.75rem;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
}

.switch-btn.active {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow);
}

.switch-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
}

/* 社交链接 */
.social-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.social-link.discord {
    color: #5865F2;
}

.social-link.twitter {
    color: #1DA1F2;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.social-link.discord:hover {
    background: #5865F2;
    color: white;
}

.social-link.twitter:hover {
    background: #1DA1F2;
    color: white;
}

.social-icon {
    font-size: 1.3rem;
}

/* 铸造代币特殊样式 */
.view-record-btn {
    padding: 0.5rem 1rem;
    background: var(--gray-700);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.view-record-btn:hover {
    background: var(--gray-900);
    transform: translateY(-1px);
}

.feature-box {
    background: var(--gray-50);
    padding: 1.2rem;
    border-radius: 12px;
    margin: 1.5rem 0;
}

.feature-list {
    list-style: none;
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.9;
}

.feature-list li {
    padding-left: 0.3rem;
}

.deploy-status {
    text-align: center;
    padding: 2rem;
    background: var(--gray-50);
    border-radius: 12px;
    margin: 1rem 0;
}

.status-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.status-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-700);
}

.deploy-result {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1rem 0;
}

.result-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    padding: 0.8rem;
    background: white;
    border-radius: 8px;
    flex-wrap: wrap;
}

.result-label {
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.9rem;
    min-width: 80px;
}

.result-value {
    flex: 1;
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--primary);
    word-break: break-all;
}

.copy-btn {
    padding: 0.4rem 0.8rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.copy-btn:hover {
    background: var(--primary-dark);
}

.result-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 1rem;
}

.result-btn {
    padding: 0.85rem;
    background: var(--success);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
    display: block;
}

.result-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.result-btn.secondary {
    background: var(--gray-600);
}

.result-btn.secondary:hover {
    background: var(--gray-700);
}

/* 验证信息区域 */
.verify-section {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
}

.verify-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.verify-desc {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.verify-info-box {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.verify-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.verify-info-item:last-child {
    border-bottom: none;
}

.verify-info-item label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
}

.info-value {
    font-size: 0.9rem;
    color: var(--gray-900);
    font-weight: 500;
    word-break: break-all;
    overflow-wrap: break-word;
}

.verify-params-box {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem 0;
}

.verify-params-box h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.verify-param {
    margin-bottom: 1rem;
    position: relative;
}

.verify-param label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.4rem;
}

.param-value {
    font-size: 0.9rem;
    color: var(--gray-900);
    padding: 0.6rem;
    background: var(--gray-50);
    border-radius: 6px;
}

.param-value.code-block {
    font-family: monospace;
    font-size: 0.75rem;
    word-break: break-all;
    max-height: 100px;
    overflow-y: auto;
    line-height: 1.5;
}

.copy-mini-btn {
    position: absolute;
    right: 0;
    top: 0;
    padding: 0.3rem 0.6rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.copy-mini-btn:hover {
    background: var(--primary-dark);
}

.verify-tutorial {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem 0;
}

.verify-tutorial h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.8rem;
}

.tutorial-steps {
    list-style: none;
    counter-reset: step-counter;
    font-size: 0.9rem;
    color: var(--gray-700);
    line-height: 1.8;
}

.tutorial-steps li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.6rem;
}

.tutorial-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 1.5rem;
    height: 1.5rem;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.tutorial-steps strong {
    color: var(--primary);
}

.verify-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-top: 1rem;
}

.verify-action-btn {
    padding: 0.9rem;
    background: var(--gray-700);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.verify-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.verify-action-btn.primary {
    background: var(--success);
}

.verify-action-btn.primary:hover {
    background: #059669;
}

/* 源代码弹窗 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-content {
    background: white;
    border-radius: 16px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.modal-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-900);
}

.modal-close {
    width: 2rem;
    height: 2rem;
    border: none;
    background: var(--gray-100);
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--gray-200);
    color: var(--gray-900);
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.source-code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--gray-900);
    background: var(--gray-50);
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-all;
}

.modal-footer {
    display: flex;
    gap: 0.8rem;
    padding: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.modal-btn {
    flex: 1;
    padding: 0.9rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-btn.primary {
    background: var(--primary);
    color: white;
}

.modal-btn.primary:hover {
    background: var(--primary-dark);
}

.modal-btn:not(.primary) {
    background: var(--gray-200);
    color: var(--gray-700);
}

.modal-btn:not(.primary):hover {
    background: var(--gray-300);
}

/* 响应式调整 */
@media (max-width: 480px) {
    .verify-actions,
    .result-actions {
        grid-template-columns: 1fr;
    }
    
    .tutorial-steps {
        font-size: 0.85rem;
    }
    
    .modal-content {
        max-height: 95vh;
    }
    
    .source-code {
        font-size: 0.75rem;
    }
}



