
/* ========== 全局样式 v2.0.0 ========== */
:root {
    --primary: rgb(255, 80, 0);
    --primary-dark: rgb(230, 69, 0);
    --primary-light: rgb(255, 122, 38);
    --primary-bg: rgb(255, 245, 240);
    --primary-glow: rgba(255, 80, 0, 0.15);
    --success: rgb(16, 185, 129);
    --success-bg: rgb(236, 253, 245);
    --success-border: rgb(167, 243, 208);
    --error: rgb(239, 68, 68);
    --error-bg: rgb(254, 242, 242);
    --error-border: rgb(254, 202, 202);
    --text-primary: rgb(31, 41, 55);
    --text-secondary: rgb(107, 114, 128);
    --text-tertiary: rgb(156, 163, 175);
    --bg-primary: rgb(255, 255, 255);
    --bg-secondary: rgb(249, 250, 251);
    --bg-tertiary: rgb(243, 244, 246);
    --border: rgb(229, 231, 235);
    --border-light: rgb(243, 244, 246);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.04);
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: rgb(245, 245, 247);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 560px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ========== 顶部导航 ========== */
.header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
}

.header-stats-bar {
    background: rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
}

.stats-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 6px 0;
    text-align: center;
}

.stats-bar-item {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
}

.stats-bar-item strong {
    color: rgb(255, 255, 255);
    font-weight: 700;
}

.stats-bar-dot {
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.logo-text {
    font-size: 17px;
    font-weight: 700;
    color: white;
    letter-spacing: 0.3px;
}

.header-stats {
    display: flex;
    gap: 16px;
    align-items: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
}

.stat-value {
    font-size: 18px;
    font-weight: 800;
    color: white;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.25);
}

/* ========== 主内容 ========== */
.main {
    padding: 16px 0 100px;
}

/* ========== 信息卡片 ========== */
.info-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 14px 16px;
    margin-bottom: 12px;
    border: 1px solid var(--border);
}

.info-details {
    cursor: pointer;
}

.info-details summary {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    list-style: none;
    user-select: none;
}

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

.info-icon {
    width: 16px;
    height: 16px;
    color: var(--primary);
    flex-shrink: 0;
}

.info-content {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border-light);
}

.info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.info-list li {
    font-size: 12px;
    color: var(--text-secondary);
    padding-left: 14px;
    position: relative;
    line-height: 1.5;
}

.info-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* ========== 提交卡片 ========== */
.submit-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid var(--border);
}

.submit-card--compact {
    padding: 12px 14px;
}

.submit-form {
    display: flex;
    gap: 10px;
    position: relative;
}

.code-input {
    flex: 1;
    height: 42px;
    padding: 0 12px;
    font-size: 15px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

.code-input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.code-input.error {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.code-input.success {
    border-color: var(--success);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.input-hint {
    font-size: 11px;
    margin-top: 6px;
    min-height: 0;
    transition: var(--transition);
    padding-left: 2px;
}

.input-hint.error {
    color: var(--error);
}

.input-hint.success {
    color: var(--success);
}

.submit-btn {
    height: 42px;
    padding: 0 18px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(255, 80, 0, 0.25);
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 80, 0, 0.35);
}

.submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(255, 80, 0, 0.2);
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ========== 列表卡片 ========== */
.list-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 16px;
    border: 1px solid var(--border);
    margin-bottom: 12px;
}

.list-card:last-of-type {
    margin-bottom: 0;
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.list-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

.list-filter {
    display: flex;
    gap: 6px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    padding: 3px;
}

.filter-btn {
    padding: 5px 14px;
    background: transparent;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    color: var(--text-primary);
}

.filter-btn.active {
    background: var(--bg-primary);
    color: var(--primary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.list-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ========== 列表项（横排布局） ========== */
.code-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: 1px solid transparent;
    gap: 12px;
}

.code-item.available {
    background: var(--success-bg);
    border-color: var(--success-border);
}

.code-item.used {
    background: var(--bg-secondary);
    border-color: var(--border-light);
    opacity: 0.6;
}

.code-item:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.code-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.code-number {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 1.5px;
    font-family: 'SF Mono', 'Courier New', monospace;
    white-space: nowrap;
}

.code-time {
    font-size: 11px;
    color: var(--text-tertiary);
    white-space: nowrap;
}

.code-ip {
    font-size: 10px;
    color: var(--text-tertiary);
    white-space: nowrap;
}

.code-meta-group {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.code-right {
    flex-shrink: 0;
    display: flex;
    gap: 6px;
}

.used-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: var(--bg-tertiary);
    color: var(--text-tertiary);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
}

.help-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 7px 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 6px rgba(255, 80, 0, 0.2);
    white-space: nowrap;
}

.help-btn--go {
    background: linear-gradient(135deg, var(--success), rgb(5, 160, 110));
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25);
}

.help-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(255, 80, 0, 0.3);
}

.help-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(255, 80, 0, 0.15);
}

/* ========== 加载状态 ========== */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
    color: var(--text-secondary);
}

.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

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

.loading-state p {
    margin-top: 12px;
    font-size: 13px;
}

/* ========== 空状态 ========== */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
    color: var(--text-secondary);
}

.empty-state svg {
    width: 48px;
    height: 48px;
    color: var(--text-tertiary);
    margin-bottom: 12px;
}

.empty-state p {
    font-size: 13px;
}

/* ========== 加载更多 ========== */
.load-more {
    text-align: center;
    padding: 14px;
    color: var(--text-tertiary);
    font-size: 12px;
}

/* ========== Toast 提示 ========== */
.toast {
    position: fixed;
    top: 70px;
    left: 50%;
    transform: translateX(-50%) translateY(-16px);
    padding: 10px 20px;
    background: var(--text-primary);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 1000;
    max-width: 90%;
    word-break: break-word;
}

.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.toast.success {
    background: var(--success);
}

.toast.error {
    background: var(--error);
}

/* ========== 分享浮动按钮 ========== */
.share-fab {
    position: fixed;
    bottom: 24px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(255, 80, 0, 0.35);
    transition: var(--transition);
    z-index: 500;
}

.share-fab:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(255, 80, 0, 0.4);
}

.share-fab:active {
    transform: scale(0.95);
}

/* ========== 分享弹窗 ========== */
.share-modal-card {
    max-width: 400px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.share-modal-body {
    padding: 16px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.share-modal-body canvas {
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    display: block;
}

.share-actions {
    margin-top: 12px;
    text-align: center;
}

.share-download-btn {
    padding: 10px 32px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(255, 80, 0, 0.25);
}

.share-download-btn:hover {
    transform: translateY(-1px);
}

.share-tip {
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
}

/* ========== 公众号引流卡片 ========== */
.gzh-banner {
    padding: 12px 0 0;
}

.gzh-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.gzh-card:active {
    transform: scale(0.98);
}

.gzh-card-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.gzh-wechat-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, rgb(7, 193, 96), rgb(6, 173, 86));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gzh-card-text {
    min-width: 0;
}

.gzh-card-title {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gzh-card-desc {
    color: var(--text-secondary);
    font-size: 11px;
    margin-top: 2px;
}

.gzh-highlight {
    color: rgb(7, 193, 96);
    font-weight: 700;
}

.gzh-card-action {
    background: rgba(7, 193, 96, 0.1);
    color: rgb(6, 173, 86);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: 12px;
}

/* 公众号弹窗 */
.gzh-modal-card {
    max-width: 400px;
    width: 100%;
}

.gzh-modal-header {
    background: linear-gradient(135deg, rgb(7, 193, 96), rgb(6, 173, 86));
}

.gzh-modal-body {
    text-align: center;
    padding: 24px 20px 28px;
}

.gzh-modal-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgb(7, 193, 96), rgb(6, 173, 86));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    box-shadow: 0 4px 14px rgba(7, 193, 96, 0.25);
}

.gzh-modal-name {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.gzh-modal-copied {
    font-size: 13px;
    color: var(--success);
    margin-bottom: 20px;
}

.gzh-modal-steps {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 16px 14px;
    margin-bottom: 20px;
}

.gzh-step {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
}

.gzh-step:last-child {
    border-bottom: none;
}

.gzh-step-num {
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, rgb(7, 193, 96), rgb(6, 173, 86));
    color: white;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

.gzh-step-text {
    font-size: 13px;
    color: var(--text-primary);
    line-height: 1.5;
    text-align: left;
}

.gzh-step-text strong {
    color: rgb(7, 193, 96);
}

.gzh-modal-actions {
    display: flex;
    gap: 10px;
}

.gzh-btn-copy {
    flex: 1;
    height: 44px;
    border: 1.5px solid rgb(7, 193, 96);
    background: var(--bg-primary);
    color: rgb(7, 193, 96);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
}

.gzh-btn-copy:active {
    background: rgba(7, 193, 96, 0.05);
}

.gzh-btn-open {
    flex: 1;
    height: 44px;
    border: none;
    background: linear-gradient(135deg, rgb(7, 193, 96), rgb(6, 173, 86));
    color: white;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 3px 12px rgba(7, 193, 96, 0.25);
    transition: var(--transition);
}

.gzh-btn-open:active {
    transform: scale(0.98);
}

/* ========== 本地记录（复用 list-card 布局） ========== */
.history-details summary {
    list-style: none;
}

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

.history-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}

.history-summary-left {
    display: flex;
    align-items: center;
    gap: 6px;
}

.history-details[open] .history-summary {
    margin-bottom: 10px;
}

.history-body {
    /* 内容区域 */
}

.history-tabs {
    display: flex;
    gap: 6px;
}

.history-tab--active {
    background: var(--bg-primary) !important;
    color: var(--primary) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

.history-panel {
    max-height: min(35vh, 260px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.history-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 6px;
    gap: 10px;
}

.history-row:last-child {
    margin-bottom: 0;
}

.history-row-code {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    font-family: 'SF Mono', 'Courier New', monospace;
    font-variant-numeric: tabular-nums;
    letter-spacing: 1px;
}

.history-row-time {
    font-size: 11px;
    color: var(--text-tertiary);
    flex-shrink: 0;
}

.history-empty {
    font-size: 13px;
    color: var(--text-tertiary);
    text-align: center;
    padding: 24px 10px;
}

.history-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    margin-top: 6px;
    border-top: 1px solid var(--border-light);
}

.history-meta {
    font-size: 10px;
    color: var(--text-tertiary);
}

.history-clear-btn {
    font-size: 11px;
    color: var(--text-tertiary);
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px 6px;
}

.history-clear-btn:hover {
    color: var(--error);
}

/* ========== 底部信息 ========== */
.footer {
    text-align: center;
    padding: 24px 16px 16px;
    color: var(--text-tertiary);
    font-size: 11px;
    line-height: 1.8;
}

.footer a {
    color: var(--text-secondary);
    text-decoration: none;
}

/* ========== 响应式 ========== */
@media (max-width: 640px) {
    .header .container {
        padding: 12px 16px;
    }

    .logo-text {
        font-size: 15px;
    }

    .stat-value {
        font-size: 16px;
    }

    .stat-label {
        font-size: 9px;
    }

    .main {
        padding: 12px 0 90px;
    }

    .submit-card,
    .list-card,
    .info-card,
    .history-card {
        padding: 14px;
        border-radius: var(--radius-lg);
    }

    .submit-form {
        flex-direction: row;
    }

    .code-input {
        flex: 1;
        min-width: 0;
    }

    .submit-btn {
        width: auto;
        flex-shrink: 0;
        padding: 0 20px;
    }

    .list-header {
        flex-direction: row;
        align-items: center;
    }

    .code-number {
        font-size: 16px;
    }

    .filter-btn {
        font-size: 11px;
        padding: 4px 10px;
    }
}

/* ========== 复制弹窗 ========== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    padding: 20px;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 340px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: scale(0.92) translateY(10px);
    transition: transform 0.25s ease;
}

.modal-overlay.show .modal-card {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.modal-title {
    font-size: 16px;
    font-weight: 700;
    color: white;
}

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.modal-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.3);
}

.modal-body {
    padding: 20px 18px;
    text-align: center;
}

.modal-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.modal-desc {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.modal-steps {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.modal-step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
}

.step-num {
    width: 22px;
    height: 22px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.step-text {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 500;
}

.modal-code {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 4px;
    font-family: 'SF Mono', 'Courier New', monospace;
    padding: 14px;
    background: var(--primary-bg);
    border: 2px dashed var(--primary);
    border-radius: var(--radius-md);
    margin-bottom: 10px;
}

.modal-copied {
    font-size: 12px;
    color: var(--success);
    font-weight: 600;
}

/* ─── 淘宝618引流横幅 ─── */

