/* 知周算力 CAFFZ · 前台视觉增强 */
.ai-canvas-bg {
    position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .55;
}
body.is-app { position: relative; }
body.is-app .topbar,
body.is-app .app-main { position: relative; z-index: 1; }

.ai-glow-orb {
    position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; z-index: 0;
    animation: aiOrbFloat 8s ease-in-out infinite alternate;
}
.ai-glow-orb.a { width: 400px; height: 400px; background: rgba(79,156,249,.15); top: -100px; right: 10%; }
.ai-glow-orb.b { width: 300px; height: 300px; background: rgba(52,211,153,.1); bottom: 20%; left: 5%; animation-delay: -3s; }
.ai-glow-orb.c { width: 250px; height: 250px; background: rgba(139,92,246,.12); top: 40%; right: 30%; animation-delay: -5s; }

@keyframes aiOrbFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(20px, -30px) scale(1.08); }
}

.ai-shimmer {
    background: linear-gradient(90deg, transparent, rgba(79,156,249,.08), transparent);
    background-size: 200% 100%;
    animation: aiShimmer 3s ease-in-out infinite;
}
@keyframes aiShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.ai-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600;
    background: rgba(79,156,249,.12); color: #7eb8ff; border: 1px solid rgba(79,156,249,.25);
}
.ai-chip .dot {
    width: 6px; height: 6px; border-radius: 50%; background: #34d399;
    animation: aiDotBlink 1.5s ease-in-out infinite;
}
@keyframes aiDotBlink {
    0%, 100% { opacity: 1; box-shadow: 0 0 6px #34d399; }
    50% { opacity: .4; box-shadow: none; }
}

.credit-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px; border-radius: 12px;
    background: linear-gradient(135deg, rgba(79,156,249,.15), rgba(52,211,153,.1));
    border: 1px solid rgba(79,156,249,.25);
    font-weight: 700; font-size: 14px;
}

.panel.ai-panel {
    border-color: rgba(79,156,249,.2);
    box-shadow: 0 4px 32px rgba(79,156,249,.08), 0 4px 24px rgba(0,0,0,.2);
    transition: border-color .3s, box-shadow .3s;
}
.panel.ai-panel:hover {
    border-color: rgba(79,156,249,.35);
    box-shadow: 0 8px 40px rgba(79,156,249,.12), 0 4px 24px rgba(0,0,0,.2);
}

.submit-hero {
    position: relative; overflow: hidden;
    border-radius: 20px; padding: 28px 32px; margin-bottom: 24px;
    background: linear-gradient(135deg, rgba(79,156,249,.12), rgba(139,92,246,.08));
    border: 1px solid rgba(79,156,249,.25);
}
.submit-hero::before {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(79,156,249,.06), transparent, rgba(52,211,153,.04), transparent);
    animation: aiConicSpin 12s linear infinite;
    pointer-events: none;
}
@keyframes aiConicSpin { to { transform: rotate(360deg); } }
.submit-hero-inner { position: relative; z-index: 1; }

.submit-form-wrap { position: relative; }
.submit-form-wrap .ai-scan-line {
    position: absolute; left: 0; right: 0; height: 2px; z-index: 2; pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(79,156,249,.8), rgba(52,211,153,.6), transparent);
    animation: aiScanLine 4s ease-in-out infinite;
    opacity: .6;
}
@keyframes aiScanLine {
    0% { top: 0; opacity: 0; }
    10% { opacity: .7; }
    90% { opacity: .7; }
    100% { top: 100%; opacity: 0; }
}

.ai-input-glow:focus {
    border-color: #4f9cf9 !important;
    box-shadow: 0 0 0 3px rgba(79,156,249,.2), 0 0 20px rgba(79,156,249,.15) !important;
}

.credit-preview-box {
    background: linear-gradient(135deg, #0a101c, #0f1729);
    border: 1px solid rgba(79,156,249,.3); border-radius: 16px; padding: 24px;
    position: relative; overflow: hidden;
}
.credit-preview-box .cp-value {
    font-size: clamp(2rem, 5vw, 3rem); font-weight: 800;
    background: linear-gradient(135deg, #4f9cf9, #34d399, #a78bfa);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    animation: aiGradientShift 4s ease infinite;
    background-size: 200% 200%;
}
@keyframes aiGradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.stat-card.ai-stat { position: relative; overflow: hidden; }
.stat-card.ai-stat::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.04), transparent);
    animation: aiShimmer 4s ease-in-out infinite;
}

.steps.ai-steps .step-item {
    transition: transform .2s, border-color .2s, box-shadow .2s;
}
.steps.ai-steps .step-item:hover {
    transform: translateY(-4px);
    border-color: rgba(79,156,249,.3);
    box-shadow: 0 8px 24px rgba(79,156,249,.1);
}

.page-banner.ai-banner { position: relative; overflow: hidden; }
.page-banner.ai-banner::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79,156,249,.5), rgba(52,211,153,.5), transparent);
}

/* 算力计算公式展示 */
.credit-formula-box {
    border: 2px solid rgba(79,156,249,.45);
    border-radius: 18px;
    padding: 24px 28px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, rgba(79,156,249,.14), rgba(52,211,153,.08));
    box-shadow: 0 8px 32px rgba(79,156,249,.12);
}
.credit-formula-box.is-compact { padding: 18px 22px; }
.credit-formula-head {
    display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px;
}
.credit-formula-icon {
    font-size: 2rem; line-height: 1; flex-shrink: 0;
    filter: drop-shadow(0 0 12px rgba(79,156,249,.5));
}
.credit-formula-title {
    margin: 0 0 6px; font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em;
    background: linear-gradient(135deg, #93c5fd, #4f9cf9, #34d399);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.credit-formula-lead { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.credit-formula-equations { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.credit-formula-eq {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
    padding: 12px 16px; border-radius: 12px;
    background: rgba(10,16,28,.55); border: 1px solid rgba(79,156,249,.22);
}
.credit-formula-eq-main {
    border-color: rgba(79,156,249,.45);
    background: linear-gradient(90deg, rgba(79,156,249,.12), rgba(52,211,153,.08));
}
.credit-formula-eq .eq-label {
    font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
    color: #93c5fd; padding: 3px 8px; border-radius: 6px; background: rgba(79,156,249,.15);
}
.credit-formula-eq code {
    font-family: ui-monospace, "Cascadia Code", monospace; font-size: 15px; font-weight: 700;
    color: #e8eef7; word-break: break-word;
}
.credit-formula-rules {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin-bottom: 16px;
}
.credit-formula-rule {
    padding: 12px 14px; border-radius: 10px; background: rgba(0,0,0,.22);
    border: 1px solid rgba(255,255,255,.06); font-size: 13px; line-height: 1.55;
}
.credit-formula-rule strong { display: block; color: #93c5fd; margin-bottom: 4px; font-size: 12px; }
.credit-formula-modules { margin-bottom: 14px; }
.credit-formula-modules-head {
    font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase;
    letter-spacing: .06em; margin-bottom: 10px;
}
.credit-formula-module-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px;
}
.credit-formula-module {
    display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px;
    background: rgba(79,156,249,.08); border: 1px solid rgba(79,156,249,.18);
}
.credit-formula-module .mod-label { font-size: 13px; font-weight: 600; }
.credit-formula-module .mod-val { font-size: 13px; color: #93c5fd; font-weight: 700; font-family: ui-monospace, monospace; }
.credit-formula-example {
    padding: 14px 16px; border-radius: 12px; font-size: 14px; line-height: 1.75;
    background: rgba(52,211,153,.08); border: 1px solid rgba(52,211,153,.25);
}
.credit-formula-example strong { color: #6ee7b7; display: block; margin-bottom: 6px; }
.credit-formula-example p { margin: 0; color: var(--muted); }
.credit-formula-highlight { color: #4f9cf9; font-weight: 800; }

.credit-formula-box.is-admin {
    border-color: rgba(245,158,11,.45);
    background: linear-gradient(135deg, rgba(245,158,11,.16), rgba(239,68,68,.06));
    box-shadow: 0 8px 32px rgba(245,158,11,.12);
}
.credit-formula-box.is-admin .credit-formula-title {
    background: linear-gradient(135deg, #fde68a, #f59e0b, #ef4444);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.credit-formula-box.is-admin .credit-formula-eq { background: rgba(26,20,16,.65); border-color: rgba(245,158,11,.22); }
.credit-formula-box.is-admin .credit-formula-eq-main {
    border-color: rgba(245,158,11,.45);
    background: linear-gradient(90deg, rgba(245,158,11,.14), rgba(239,68,68,.06));
}
.credit-formula-box.is-admin .credit-formula-eq .eq-label { color: #fde68a; background: rgba(245,158,11,.18); }
.credit-formula-box.is-admin .credit-formula-rule strong { color: #fde68a; }
.credit-formula-box.is-admin .credit-formula-module { background: rgba(245,158,11,.08); border-color: rgba(245,158,11,.2); }
.credit-formula-box.is-admin .credit-formula-module .mod-val { color: #fde68a; }
.credit-formula-box.is-admin .credit-formula-example { background: rgba(245,158,11,.1); border-color: rgba(245,158,11,.28); }
.credit-formula-box.is-admin .credit-formula-example strong { color: #fbbf24; }
.credit-formula-box.is-admin .credit-formula-highlight { color: #fde68a; }

/* 算力充值套餐 */
.recharge-intro { margin-bottom: 24px; }
.recharge-packages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}
.recharge-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 20px 24px;
    border-radius: 18px;
    border: 2px solid rgba(79,156,249,.25);
    background: linear-gradient(160deg, rgba(20,30,48,.95), rgba(15,23,41,.9));
    cursor: pointer;
    transition: transform .2s, border-color .2s, box-shadow .2s;
}
.recharge-card:hover { transform: translateY(-4px); border-color: rgba(79,156,249,.45); box-shadow: 0 12px 32px rgba(79,156,249,.15); }
.recharge-card.is-featured {
    border-color: rgba(52,211,153,.5);
    background: linear-gradient(160deg, rgba(79,156,249,.12), rgba(52,211,153,.1));
    box-shadow: 0 8px 28px rgba(52,211,153,.12);
}
.recharge-card input { position: absolute; opacity: 0; pointer-events: none; }
.recharge-card:has(input:checked) {
    border-color: #4f9cf9;
    box-shadow: 0 0 0 3px rgba(79,156,249,.25), 0 12px 32px rgba(79,156,249,.2);
}
.recharge-card.is-featured:has(input:checked) { border-color: #34d399; box-shadow: 0 0 0 3px rgba(52,211,153,.25), 0 12px 32px rgba(52,211,153,.18); }
.recharge-badge {
    position: absolute; top: 14px; right: 14px;
    font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
    background: linear-gradient(135deg, #f59e0b, #ef4444); color: #fff;
}
.recharge-label { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.recharge-price { font-size: 2rem; font-weight: 800; color: var(--text); line-height: 1.1; }
.recharge-credit {
    font-size: 1.35rem; font-weight: 800; margin: 10px 0 8px;
    background: linear-gradient(135deg, #93c5fd, #4f9cf9, #34d399);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.recharge-bonus { font-size: 13px; color: var(--muted); line-height: 1.5; min-height: 40px; }
.recharge-select-mark {
    margin-top: 14px; font-size: 13px; font-weight: 600; color: #93c5fd;
    padding: 8px 16px; border-radius: 999px; background: rgba(79,156,249,.1); border: 1px solid rgba(79,156,249,.2);
}
.recharge-card:has(input:checked) .recharge-select-mark {
    background: rgba(79,156,249,.22); color: #fff;
}
.recharge-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; }
.recharge-card-panel { margin-bottom: 20px; padding: 18px 20px; border-color: rgba(96,165,250,.28); }
.recharge-card-panel.is-promo-highlight {
    border-color: rgba(52,211,153,.45);
    box-shadow: 0 0 0 1px rgba(52,211,153,.2), 0 8px 32px rgba(52,211,153,.12);
}
.recharge-card-label { display: block; font-size: 15px; font-weight: 700; color: #93c5fd; margin-bottom: 8px; }
.recharge-card-hint { margin: 0 0 14px; font-size: 13px; line-height: 1.7; color: var(--muted); }
.recharge-card-hint code { font-size: 12px; color: #bfdbfe; }
.recharge-card-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.recharge-card-row input {
    flex: 1; min-width: 200px; padding: 12px 14px; border-radius: 10px;
    border: 1px solid rgba(96,165,250,.4); background: rgba(0,0,0,.25); color: var(--text); font-size: 15px;
    font-family: ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase;
}
.recharge-card-row input:focus { outline: none; border-color: #60a5fa; box-shadow: 0 0 0 3px rgba(96,165,250,.18); }
.recharge-card-msg { margin: 0 0 12px; font-size: 13px; line-height: 1.6; }
.recharge-card-msg.is-ok { color: var(--ok); }
.recharge-card-msg.is-err { color: var(--err); }
.recharge-section-divider { border: none; border-top: 1px solid var(--border); margin: 28px 0 24px; }
.recharge-section-title { margin: 0 0 16px; font-size: 17px; font-weight: 700; color: var(--text); }
.recharge-coupon-panel { margin-bottom: 20px; padding: 18px 20px; }
.recharge-coupon-label { display: block; font-size: 13px; font-weight: 600; color: #fde68a; margin-bottom: 10px; }
.recharge-coupon-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.recharge-coupon-row input {
    flex: 1; min-width: 200px; padding: 12px 14px; border-radius: 10px;
    border: 1px solid rgba(251,191,36,.35); background: rgba(0,0,0,.25); color: var(--text); font-size: 15px;
    letter-spacing: .06em; text-transform: uppercase;
}
.recharge-coupon-row input:focus { outline: none; border-color: #fbbf24; box-shadow: 0 0 0 3px rgba(251,191,36,.15); }
.recharge-coupon-msg { margin: 10px 0 0; font-size: 13px; line-height: 1.6; }
.recharge-coupon-msg.is-ok { color: var(--ok); }
.recharge-coupon-msg.is-err { color: var(--err); }
.recharge-coupon-extra {
    display: block; font-size: 12px; font-weight: 700; color: #fde68a;
    margin-top: 4px; padding: 4px 8px; border-radius: 6px; background: rgba(251,191,36,.12);
}
.recharge-qr-wrap {
    margin: 20px auto; padding: 12px; background: #fff; border-radius: 12px;
    display: inline-block; border: 1px solid var(--border);
}
.recharge-pay-summary {
    margin-top: 16px; padding: 14px 16px; border-radius: 12px;
    background: rgba(79,156,249,.08); border: 1px solid rgba(79,156,249,.2);
}
.recharge-pay-summary .row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 6px 0; font-size: 14px;
}
@media (max-width: 900px) {
    .recharge-packages { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
}

/* 总算力池（登录页 / 首页） */
.pool-panel {
    margin-bottom: 24px; padding: 20px 22px; border-radius: 16px;
    background: linear-gradient(135deg, rgba(79,156,249,.12), rgba(239,68,68,.08));
    border: 1px solid rgba(248,113,113,.35);
    box-shadow: 0 0 40px rgba(248,113,113,.1);
    animation: poolPulse 2.5s ease-in-out infinite;
}
@keyframes poolPulse {
    0%, 100% { box-shadow: 0 0 24px rgba(248,113,113,.08); border-color: rgba(248,113,113,.28); }
    50% { box-shadow: 0 0 36px rgba(248,113,113,.18); border-color: rgba(251,191,36,.4); }
}
.pool-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.pool-head h3 { margin: 0; font-size: 14px; font-weight: 700; color: #93c5fd; letter-spacing: .04em; }
.pool-busy {
    font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px;
    background: rgba(248,113,113,.18); color: #fca5a5; border: 1px solid rgba(248,113,113,.35);
    animation: poolBlink 1.2s ease-in-out infinite;
}
@keyframes poolBlink { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
.pool-remaining {
    font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; font-family: ui-monospace, monospace;
    color: #fde68a; letter-spacing: -.02em; margin-bottom: 6px;
}
.pool-meta { font-size: 12px; color: var(--muted, #8fa3bf); margin-bottom: 12px; }
.pool-bar { height: 8px; border-radius: 999px; background: rgba(0,0,0,.35); overflow: hidden; margin-bottom: 14px; }
.pool-bar-fill {
    height: 100%; border-radius: 999px;
    background: linear-gradient(90deg, #f87171, #fbbf24, #34d399);
    transition: width .4s ease;
}
.pool-cluster { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.pool-node {
    padding: 10px 12px; border-radius: 10px; font-size: 11px;
    background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.06);
}
.pool-node strong { display: block; font-size: 12px; margin-bottom: 4px; color: var(--text, #e8eef7); }
.pool-node .load { color: #fbbf24; font-weight: 700; margin-top: 4px; }
.pool-node.status-busy, .pool-node.status-full { border-color: rgba(248,113,113,.25); }
.pool-tick { font-size: 10px; color: #64748b; margin-top: 10px; text-align: right; }

/* AI 运算排队（登录页 / 首页） */
.queue-panel {
    margin-bottom: 20px;
    padding: 18px 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(52,211,153,.1), rgba(79,156,249,.1));
    border: 1px solid rgba(79,156,249,.28);
    box-shadow: 0 0 28px rgba(79,156,249,.08);
}
.queue-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.queue-head h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #93c5fd;
    letter-spacing: .04em;
}
.queue-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #6ee7b7;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(52,211,153,.12);
    border: 1px solid rgba(52,211,153,.25);
}
.queue-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 8px rgba(52,211,153,.8);
    animation: queuePulse 1.4s ease-in-out infinite;
}
@keyframes queuePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .45; transform: scale(.85); }
}
.queue-stats {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: clamp(6px, 1.2vw, 10px);
}
.queue-stat {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    padding: clamp(8px, 1.4vw, 12px) clamp(4px, 0.8vw, 8px);
    border-radius: 12px;
    background: rgba(0,0,0,.22);
    border: 1px solid rgba(255,255,255,.06);
}
.queue-stat-val {
    font-size: clamp(1rem, 2.2vw, 1.75rem);
    font-weight: 800;
    font-family: ui-monospace, monospace;
    color: #fde68a;
    line-height: 1.1;
    transition: transform .2s ease, color .2s ease;
    white-space: nowrap;
}
.queue-stat-val.queue-bump { transform: scale(1.06); }
.queue-stat.is-running .queue-stat-val { color: #6ee7b7; }
.queue-stat.is-waiting .queue-stat-val { color: #fbbf24; }
.queue-stat.is-online .queue-stat-val { color: #93c5fd; }
.queue-stat-label {
    margin-top: 6px;
    font-size: clamp(9px, 1.8vw, 11px);
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--muted, #8fa3bf);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.queue-meta {
    margin-top: 12px;
    font-size: 12px;
    color: var(--muted, #8fa3bf);
    line-height: 1.5;
}
.queue-tick {
    font-size: 10px;
    color: #64748b;
    margin-top: 8px;
    text-align: right;
}

/* 工单列表 · 排队中动态徽章 */
.badge.badge-queue-live {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px 6px 10px;
    overflow: hidden;
    vertical-align: middle;
    border: 1px solid rgba(251, 191, 36, .45);
    box-shadow: 0 0 10px rgba(251, 191, 36, .12);
    animation: badgeQueueGlow 2.4s ease-in-out infinite;
}
.badge.badge-queue-live::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 30%, rgba(251, 191, 36, .14) 50%, transparent 70%);
    transform: translateX(-130%);
    animation: badgeQueueShimmer 2.6s ease-in-out infinite;
    pointer-events: none;
}
.badge.badge-queue-live::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, .85), rgba(79, 156, 249, .6), transparent);
    background-size: 200% 100%;
    animation: badgeQueueScan 2s linear infinite;
    opacity: .75;
}
.badge-queue-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fbbf24;
    box-shadow: 0 0 8px rgba(251, 191, 36, .85);
    animation: queuePulse 1.4s ease-in-out infinite;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}
.badge-queue-text {
    position: relative;
    z-index: 1;
    white-space: nowrap;
}
.badge-queue-dots {
    display: inline-flex;
    align-items: flex-end;
    gap: 3px;
    height: 12px;
    margin-left: 1px;
    position: relative;
    z-index: 1;
}
.badge-queue-dots i {
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
    opacity: .35;
    animation: badgeQueueDotBounce 1.15s ease-in-out infinite;
}
.badge-queue-dots i:nth-child(2) { animation-delay: .16s; }
.badge-queue-dots i:nth-child(3) { animation-delay: .32s; }
@keyframes badgeQueueGlow {
    0%, 100% {
        box-shadow: 0 0 8px rgba(251, 191, 36, .1);
        border-color: rgba(251, 191, 36, .32);
    }
    50% {
        box-shadow: 0 0 18px rgba(251, 191, 36, .28), 0 0 6px rgba(79, 156, 249, .15);
        border-color: rgba(251, 191, 36, .58);
    }
}
@keyframes badgeQueueShimmer {
    0% { transform: translateX(-130%); }
    40%, 100% { transform: translateX(130%); }
}
@keyframes badgeQueueScan {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
@keyframes badgeQueueDotBounce {
    0%, 55%, 100% { opacity: .22; transform: translateY(0); }
    28% { opacity: 1; transform: translateY(-3px); }
}
@media (prefers-reduced-motion: reduce) {
    .badge.badge-queue-live,
    .badge.badge-queue-live::before,
    .badge.badge-queue-live::after,
    .badge-queue-dot,
    .badge-queue-dots i {
        animation: none;
    }
    .badge.badge-queue-live {
        box-shadow: 0 0 8px rgba(251, 191, 36, .15);
    }
}

/* 提交成功提示页 */
.submit-success-page { max-width: 920px; margin: 0 auto; }
.submit-success-hero {
    text-align: center;
    padding: 36px 28px 32px;
    margin-bottom: 24px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(79,156,249,.12), rgba(52,211,153,.08));
    border: 1px solid rgba(79,156,249,.28);
    box-shadow: 0 0 40px rgba(79,156,249,.1);
}
.submit-success-hero.is-done {
    background: linear-gradient(135deg, rgba(52,211,153,.12), rgba(79,156,249,.06));
    border-color: rgba(52,211,153,.35);
}
.submit-success-hero h2 {
    margin: 0 0 12px;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 800;
    color: #e8eef7;
}
.submit-success-lead {
    margin: 0 auto;
    max-width: 640px;
    color: var(--muted, #8fa3bf);
    font-size: 15px;
    line-height: 1.85;
}
.submit-success-lead strong { color: #93c5fd; font-weight: 600; }
.submit-success-pulse {
    position: relative;
    width: 88px;
    height: 88px;
    margin: 0 auto 20px;
}
.submit-success-pulse .ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(79,156,249,.45);
    animation: submitSuccessRing 2s ease-out infinite;
}
.submit-success-pulse .core {
    position: absolute;
    inset: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border-radius: 50%;
    background: rgba(0,0,0,.25);
    border: 1px solid rgba(255,255,255,.08);
}
@keyframes submitSuccessRing {
    0% { transform: scale(.85); opacity: 1; }
    100% { transform: scale(1.35); opacity: 0; }
}
.submit-success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: rgba(52,211,153,.15);
    border: 2px solid rgba(52,211,153,.45);
    color: #6ee7b7;
    font-size: 2rem;
    font-weight: 800;
    line-height: 68px;
}
.submit-success-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 24px;
}
.submit-success-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.submit-success-timeline li {
    display: flex;
    gap: 16px;
    padding: 0 0 24px 4px;
    position: relative;
}
.submit-success-timeline li:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 28px;
    bottom: 0;
    width: 2px;
    background: rgba(255,255,255,.08);
}
.submit-success-timeline li.is-done:not(:last-child)::before {
    background: linear-gradient(180deg, rgba(52,211,153,.5), rgba(255,255,255,.08));
}
.submit-success-timeline li.is-active:not(:last-child)::before {
    background: linear-gradient(180deg, rgba(79,156,249,.6), rgba(255,255,255,.08));
}
.submit-success-timeline .step-dot {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-top: 2px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.15);
    background: rgba(0,0,0,.3);
}
.submit-success-timeline li.is-done .step-dot {
    border-color: #34d399;
    background: rgba(52,211,153,.2);
    box-shadow: 0 0 12px rgba(52,211,153,.35);
}
.submit-success-timeline li.is-active .step-dot {
    border-color: #4f9cf9;
    background: rgba(79,156,249,.25);
    box-shadow: 0 0 14px rgba(79,156,249,.45);
    animation: queuePulse 1.4s ease-in-out infinite;
}
.submit-success-timeline .step-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.submit-success-timeline .step-body strong {
    font-size: 15px;
    color: #e8eef7;
}
.submit-success-timeline .step-body span {
    font-size: 13px;
    color: var(--muted, #8fa3bf);
    line-height: 1.6;
}
.submit-success-timeline li.is-active .step-body strong { color: #93c5fd; }
.submit-success-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.submit-success-dl {
    margin: 0 0 16px;
    display: grid;
    gap: 10px;
}
.submit-success-dl > div {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 10px;
    align-items: start;
    font-size: 14px;
}
.submit-success-dl dt { margin: 0; color: var(--muted, #8fa3bf); }
.submit-success-dl dd { margin: 0; }
.submit-success-email {
    margin: 0;
    padding: 12px 16px;
    border-radius: 10px;
    background: rgba(79,156,249,.1);
    border: 1px solid rgba(79,156,249,.25);
    font-family: ui-monospace, monospace;
    font-size: 14px;
    word-break: break-all;
    color: #93c5fd;
}
@media (max-width: 768px) {
    .submit-success-grid { grid-template-columns: 1fr; }
    .submit-success-hero { padding: 28px 18px; }
    .submit-success-dl > div { grid-template-columns: 1fr; gap: 4px; }
}

/* 首页 · 业务入口双卡片 */
.service-entry-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}
.service-entry-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px 22px;
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    background: linear-gradient(135deg, rgba(79,156,249,.1), rgba(15,23,42,.6));
    border: 1px solid rgba(79,156,249,.28);
    transition: border-color .25s, box-shadow .25s, transform .2s;
}
.service-entry-card:hover {
    border-color: rgba(79,156,249,.5);
    box-shadow: 0 8px 32px rgba(79,156,249,.15);
    transform: translateY(-2px);
    text-decoration: none;
}
.service-entry-card.is-solution {
    background: linear-gradient(135deg, rgba(251,191,36,.1), rgba(15,23,42,.6));
    border-color: rgba(251,191,36,.32);
}
.service-entry-card.is-solution:hover {
    border-color: rgba(251,191,36,.55);
    box-shadow: 0 8px 32px rgba(251,191,36,.12);
}
.service-entry-card.is-design {
    background: linear-gradient(135deg, rgba(168,85,247,.1), rgba(15,23,42,.6));
    border-color: rgba(168,85,247,.32);
}
.service-entry-card.is-design:hover {
    border-color: rgba(168,85,247,.55);
    box-shadow: 0 8px 32px rgba(168,85,247,.12);
}
.service-entry-icon { font-size: 28px; line-height: 1; flex-shrink: 0; }
.service-entry-body h3 { margin: 0 0 8px; font-size: 1.05rem; font-weight: 800; color: #e2e8f0; }
.service-entry-body p { margin: 0 0 12px; font-size: 13px; line-height: 1.65; color: #94a3b8; }
.service-entry-cta { font-size: 13px; font-weight: 700; color: #60a5fa; }
.service-entry-card.is-solution .service-entry-cta { color: #fbbf24; }
.service-entry-card.is-design .service-entry-cta { color: #c084fc; }

/* 提交页 · 需求类型切换 */
.req-kind-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}
.req-kind-tab {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(0,0,0,.2);
    text-decoration: none;
    color: inherit;
    transition: border-color .2s, background .2s;
}
.req-kind-tab:hover { border-color: rgba(79,156,249,.4); text-decoration: none; }
.req-kind-tab.is-active {
    border-color: rgba(79,156,249,.55);
    background: rgba(79,156,249,.12);
    box-shadow: inset 0 0 0 1px rgba(79,156,249,.15);
}
.req-kind-tab.is-solution.is-active {
    border-color: rgba(251,191,36,.55);
    background: rgba(251,191,36,.1);
    box-shadow: inset 0 0 0 1px rgba(251,191,36,.12);
}
.req-kind-tab.is-design:hover { border-color: rgba(168,85,247,.45); }
.req-kind-tab.is-design.is-active {
    border-color: rgba(168,85,247,.55);
    background: rgba(168,85,247,.1);
    box-shadow: inset 0 0 0 1px rgba(168,85,247,.12);
}
.req-kind-icon { font-size: 22px; line-height: 1; flex-shrink: 0; }
.req-kind-text strong { display: block; font-size: 14px; margin-bottom: 4px; color: #e2e8f0; }
.req-kind-text small { display: block; font-size: 12px; line-height: 1.5; color: #94a3b8; }

.type-tag-solution {
    border-color: rgba(251,191,36,.45) !important;
    color: #fde68a !important;
    background: rgba(251,191,36,.12) !important;
}

.solution-quote-preview-box {
    padding: 16px 18px;
    background: linear-gradient(135deg, rgba(251,191,36,.08), rgba(245,158,11,.04));
    border: 1px solid rgba(251,191,36,.28);
    border-radius: 12px;
}
.solution-quote-preview-total {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fbbf24;
    letter-spacing: -.02em;
}

.solution-quote-panel {
    padding: 16px 18px;
    background: linear-gradient(135deg, rgba(251,191,36,.07), rgba(15,23,42,.4));
    border: 1px solid rgba(251,191,36,.25);
    border-radius: 12px;
}
.solution-quote-panel.is-formal {
    border-color: rgba(251,191,36,.45);
    box-shadow: inset 0 0 0 1px rgba(251,191,36,.08);
}
.solution-quote-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.solution-quote-label {
    font-size: 13px;
    color: #fde68a;
    font-weight: 600;
}
.solution-quote-badge {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(251,191,36,.2);
    color: #fde68a;
    border: 1px solid rgba(251,191,36,.35);
}
.solution-quote-badge.is-estimate {
    background: rgba(148,163,184,.15);
    color: #94a3b8;
    border-color: rgba(148,163,184,.25);
}
.solution-quote-total {
    font-size: 2rem;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 12px;
}
.solution-quote-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-bottom: 10px;
}
.solution-quote-table th,
.solution-quote-table td {
    padding: 8px 10px;
    border-bottom: 1px solid rgba(251,191,36,.15);
    text-align: left;
}
.solution-quote-table th {
    color: #94a3b8;
    font-weight: 500;
}
.solution-quote-table td:nth-child(2) {
    color: #fbbf24;
    font-weight: 600;
    white-space: nowrap;
}
.solution-quote-note {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.65;
    color: #cbd5e1;
}
.solution-quote-note.is-muted {
    color: #64748b;
    font-size: 12px;
}

.solution-pending-panel {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 18px;
    background: linear-gradient(135deg, rgba(251,191,36,.08), rgba(15,23,42,.35));
    border: 1px solid rgba(251,191,36,.28);
    border-radius: 12px;
}
.solution-pending-icon {
    font-size: 28px;
    line-height: 1;
    flex-shrink: 0;
}
.solution-pending-panel strong {
    display: block;
    color: #fde68a;
    margin-bottom: 6px;
}
.solution-pending-panel p {
    margin: 0;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.65;
}
.solution-analysis-block {
    margin-bottom: 14px;
    padding: 12px 14px;
    background: rgba(15,23,42,.45);
    border: 1px solid rgba(251,191,36,.2);
    border-radius: 10px;
}
.solution-analysis-title {
    display: block;
    font-size: 13px;
    color: #fde68a;
    margin-bottom: 8px;
}
.solution-analysis-body {
    font-size: 14px;
    line-height: 1.75;
    color: #cbd5e1;
    white-space: pre-wrap;
}

.service-entry-grid-3,
.req-kind-tabs-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-entry-grid-4,
.req-kind-tabs-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1200px) {
    .service-entry-grid-4,
    .req-kind-tabs-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .service-entry-grid-3,
    .req-kind-tabs-3,
    .service-entry-grid-4,
    .req-kind-tabs-4 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .service-entry-grid,
    .req-kind-tabs { grid-template-columns: 1fr; }
}

/* 使用指引 */
.guide-toc-links {
    display: flex; flex-wrap: wrap; gap: 10px;
}
.guide-toc-links a {
    display: inline-flex; align-items: center; padding: 8px 16px;
    border-radius: 999px; font-size: 13px; font-weight: 600;
    background: rgba(79,156,249,.12); border: 1px solid rgba(79,156,249,.25);
    color: #93c5fd; text-decoration: none !important;
    transition: background .15s, border-color .15s;
}
.guide-toc-links a:hover {
    background: rgba(79,156,249,.2); border-color: rgba(79,156,249,.4); color: #bfdbfe;
}
.guide-section { scroll-margin-top: 88px; }
.guide-section-title {
    margin: 0 0 8px; font-size: 1.15rem; font-weight: 800; color: #e2e8f0;
}
.guide-lead {
    margin: 0 0 16px; color: #94a3b8; font-size: 15px; line-height: 1.75;
}
.guide-note {
    margin: 16px 0 0; padding: 12px 16px; font-size: 14px; line-height: 1.65;
    color: #cbd5e1; background: rgba(251,191,36,.08);
    border: 1px solid rgba(251,191,36,.22); border-radius: 10px;
}
.guide-steps-5 { margin-top: 8px; }
.guide-list {
    margin: 0; padding-left: 1.25em; color: #cbd5e1; font-size: 15px; line-height: 1.85;
}
.guide-list li { margin-bottom: 8px; }
.guide-list li:last-child { margin-bottom: 0; }
.guide-table-wrap { overflow-x: auto; }
.guide-table td:first-child { font-weight: 700; white-space: nowrap; color: #e2e8f0; }
.guide-service-grid {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
}
.guide-service-card {
    background: var(--card, #141e30); border: 1px solid rgba(79,156,249,.22);
    border-radius: 16px; padding: 24px; display: flex; flex-direction: column;
}
.guide-service-card.is-solution {
    border-color: rgba(251,191,36,.28);
}
.guide-service-head {
    display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
}
.guide-service-icon { font-size: 1.6rem; line-height: 1; }
.guide-service-card h3 { margin: 0; font-size: 1.05rem; font-weight: 800; color: #e2e8f0; }
.guide-service-card > p {
    margin: 0 0 16px; font-size: 14px; line-height: 1.7; color: #94a3b8; flex: 1;
}
.guide-ol {
    margin: 0 0 20px; padding-left: 1.2em; font-size: 14px; line-height: 1.75; color: #cbd5e1;
}
.guide-ol li { margin-bottom: 6px; }
.guide-faq { display: flex; flex-direction: column; gap: 10px; }
.guide-faq-item {
    border: 1px solid rgba(255,255,255,.08); border-radius: 12px;
    background: rgba(255,255,255,.02); overflow: hidden;
}
.guide-faq-item summary {
    padding: 14px 18px; cursor: pointer; font-weight: 700; color: #e2e8f0;
    list-style: none; user-select: none;
}
.guide-faq-item summary::-webkit-details-marker { display: none; }
.guide-faq-item summary::after {
    content: '+'; float: right; color: #64748b; font-weight: 400;
}
.guide-faq-item[open] summary::after { content: '−'; }
.guide-faq-item p {
    margin: 0; padding: 0 18px 16px; font-size: 14px; line-height: 1.75; color: #94a3b8;
}
@media (max-width: 960px) {
    .guide-service-grid { grid-template-columns: 1fr; }
}

.guide-toc-sticky { position: sticky; top: 76px; z-index: 5; }
.guide-toc-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; flex-wrap: wrap; margin-bottom: 16px;
}
.guide-toc-head h2 { margin: 0; font-size: 1.05rem; }
.guide-toc-badge {
    font-size: 12px; font-weight: 800; color: #1e293b;
    background: linear-gradient(135deg, #fbbf24, #fde68a);
    padding: 5px 12px; border-radius: 999px;
}
.guide-learn-progress {
    height: 6px; border-radius: 999px; background: rgba(255,255,255,.08);
    overflow: hidden; margin-top: 16px;
}
.guide-learn-progress-bar {
    height: 100%; width: 0; border-radius: 999px;
    background: linear-gradient(90deg, #4f9cf9, #34d399);
    transition: width .2s ease;
}
.guide-learn-progress-label {
    margin: 8px 0 0; font-size: 12px; color: #64748b;
}
.guide-today-head {
    display: flex; align-items: center; gap: 14px; margin-bottom: 12px;
}
.guide-today-icon { font-size: 2rem; line-height: 1; }
.guide-today-kicker {
    margin: 0 0 4px; font-size: 12px; font-weight: 700;
    letter-spacing: .08em; color: #94a3b8; text-transform: uppercase;
}
.guide-today h2 { margin: 0; font-size: 1.2rem; }
.guide-note.is-ok {
    color: #6ee7b7; background: rgba(52,211,153,.1);
    border-color: rgba(52,211,153,.25);
}
.guide-reward { border-color: rgba(251,191,36,.35) !important; }
.guide-reward-head {
    display: flex; align-items: center; gap: 14px; margin-bottom: 20px;
}
.guide-reward-icon { font-size: 2rem; line-height: 1; }
.guide-reward-hero {
    text-align: center; padding: 24px; margin-bottom: 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(251,191,36,.14), rgba(245,158,11,.06));
    border: 1px solid rgba(251,191,36,.28);
}
.guide-reward-value {
    display: block; font-size: 2.8rem; font-weight: 900; line-height: 1;
    background: linear-gradient(135deg, #fde68a, #fbbf24);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.guide-reward-unit { font-size: 14px; font-weight: 700; color: #fcd34d; }
.guide-reward-tip { margin: 0 0 16px; font-size: 14px; color: #94a3b8; }
.guide-reward-done {
    text-align: center; padding: 20px;
    background: rgba(52,211,153,.08); border-radius: 14px;
    border: 1px solid rgba(52,211,153,.22);
}
.guide-reward-done p { margin: 0 0 16px; font-size: 16px; font-weight: 700; color: #6ee7b7; }
.btn-lg { padding: 14px 28px; font-size: 16px; }

/* 每日使用贴士弹层 */
.daily-tip-overlay {
    position: fixed; inset: 0; z-index: 99999;
    display: flex; align-items: center; justify-content: center;
    padding: 24px var(--pad, 40px);
    opacity: 0; visibility: hidden;
    transition: opacity .32s ease, visibility .32s ease;
}
.daily-tip-overlay.is-visible {
    opacity: 1; visibility: visible;
}
.daily-tip-backdrop {
    position: absolute; inset: 0;
    background: rgba(3, 7, 18, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.daily-tip-shell {
    position: relative; z-index: 1;
    width: min(100%, 560px);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
}
.daily-tip-card {
    position: relative;
    padding: 0;
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.92);
    border: 2px solid rgba(251, 191, 36, 0.45);
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset,
        0 0 48px rgba(251, 191, 36, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: translateY(16px) scale(0.96);
    transition: transform .32s ease;
    overflow: hidden;
}
.daily-tip-overlay.is-visible .daily-tip-card {
    transform: translateY(0) scale(1);
}
.daily-tip-glow {
    position: absolute; top: -40%; left: -20%; width: 140%; height: 60%;
    background: radial-gradient(ellipse at center, rgba(251, 191, 36, 0.18), transparent 70%);
    pointer-events: none;
}
.daily-tip-head {
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: 16px; padding: 28px 28px 0; position: relative;
}
.daily-tip-head-main {
    display: flex; align-items: center; gap: 14px;
}
.daily-tip-icon {
    font-size: 2.4rem; line-height: 1;
    filter: drop-shadow(0 4px 12px rgba(251, 191, 36, 0.35));
}
.daily-tip-kicker {
    margin: 0 0 4px; font-size: 12px; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase; color: #94a3b8;
}
.daily-tip-heading {
    margin: 0; font-size: 1.25rem; font-weight: 800; color: #f8fafc;
}
.daily-tip-tag {
    flex-shrink: 0;
    font-size: 11px; font-weight: 800; letter-spacing: 0.06em;
    color: #1e293b;
    background: linear-gradient(135deg, #fbbf24, #fde68a);
    padding: 6px 12px; border-radius: 999px;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.25);
}
.daily-tip-reward-hero {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    margin: 24px 28px 0; padding: 22px 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.16), rgba(245, 158, 11, 0.08));
    border: 1px solid rgba(251, 191, 36, 0.35);
    text-align: center;
}
.daily-tip-reward-label {
    font-size: 13px; color: #fde68a; font-weight: 600; margin-bottom: 6px;
}
.daily-tip-reward-value {
    font-size: clamp(2.2rem, 6vw, 3rem); font-weight: 900; line-height: 1;
    background: linear-gradient(135deg, #fde68a, #fbbf24, #fff);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.daily-tip-reward-unit {
    margin-top: 6px; font-size: 14px; font-weight: 700; color: #fcd34d;
}
.daily-tip-steps {
    display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
    gap: 8px; margin: 18px 28px 0; font-size: 12px; font-weight: 700;
}
.daily-tip-step {
    padding: 6px 12px; border-radius: 999px;
    background: rgba(255, 255, 255, 0.05); color: #64748b;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.daily-tip-step.is-active {
    color: #fde68a; background: rgba(251, 191, 36, 0.12);
    border-color: rgba(251, 191, 36, 0.28);
}
.daily-tip-step-arrow { color: #475569; font-size: 11px; }
.daily-tip-meta {
    margin: 18px 28px 0; font-size: 13px; color: #64748b;
}
.daily-tip-subtitle {
    margin: 10px 28px 0; font-size: 1.2rem; font-weight: 800;
    color: #e2e8f0; line-height: 1.4;
}
.daily-tip-body {
    margin: 12px 28px 0; font-size: 15px; line-height: 1.85; color: #cbd5e1;
}
.daily-tip-msg {
    margin: 16px 28px 0; padding: 12px 16px; border-radius: 10px;
    font-size: 14px; font-weight: 700; line-height: 1.6;
}
.daily-tip-msg.is-ok {
    color: #6ee7b7; background: rgba(52, 211, 153, 0.12);
    border: 1px solid rgba(52, 211, 153, 0.28);
}
.daily-tip-msg.is-err {
    color: #fca5a5; background: rgba(248, 113, 113, 0.12);
    border: 1px solid rgba(248, 113, 113, 0.28);
}
.daily-tip-actions {
    display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
    padding: 22px 28px 0;
}
.btn-tip-claim {
    background: linear-gradient(135deg, #f59e0b, #fbbf24) !important;
    color: #1e293b !important;
    font-weight: 800 !important;
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.35);
}
.btn-tip-claim:hover:not(:disabled) {
    filter: brightness(1.06);
    transform: translateY(-1px);
}
.daily-tip-foot {
    margin: 0; padding: 16px 28px 24px;
    font-size: 12px; color: #64748b; line-height: 1.65;
}
.daily-tip-fab {
    position: fixed; right: 24px; bottom: 24px; z-index: 9998;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 20px; border: none; border-radius: 999px;
    font-size: 14px; font-weight: 800; cursor: pointer;
    color: #1e293b; text-decoration: none !important;
    background: linear-gradient(135deg, #fbbf24, #fde68a);
    box-shadow: 0 8px 28px rgba(251, 191, 36, 0.45);
    animation: dailyTipFabPulse 2.5s ease-in-out infinite;
}
.daily-tip-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(251, 191, 36, 0.55);
}
@keyframes dailyTipFabPulse {
    0%, 100% { box-shadow: 0 8px 28px rgba(251, 191, 36, 0.45); }
    50% { box-shadow: 0 8px 36px rgba(251, 191, 36, 0.65), 0 0 0 6px rgba(251, 191, 36, 0.12); }
}
.btn-guide-inline {
    border-color: rgba(251, 191, 36, 0.35) !important;
    color: #fde68a !important;
}
.btn-guide-inline:hover {
    background: rgba(251, 191, 36, 0.12) !important;
}
body.daily-tip-open { overflow: hidden; }
#dailyTipClaimBtn:disabled {
    opacity: 0.72; cursor: not-allowed; filter: grayscale(0.15);
}
@media (max-width: 640px) {
    .daily-tip-head, .daily-tip-meta, .daily-tip-subtitle, .daily-tip-body,
    .daily-tip-actions, .daily-tip-foot { padding-left: 20px; padding-right: 20px; }
    .daily-tip-head { padding-top: 22px; }
    .daily-tip-reward-hero { margin-left: 20px; margin-right: 20px; }
    .daily-tip-steps { margin-left: 20px; margin-right: 20px; }
    .daily-tip-actions .btn { flex: 1 1 auto; justify-content: center; min-width: 120px; }
    .daily-tip-fab { right: 16px; bottom: 16px; padding: 12px 16px; font-size: 13px; }
}

.terms-agree-label {
    display: flex; align-items: flex-start; gap: 10px;
    margin: 16px 0 8px; font-size: 14px; line-height: 1.6; color: var(--muted, #94a3b8);
    cursor: pointer;
}
.terms-agree-label input {
    width: auto; margin: 4px 0 0; flex-shrink: 0; accent-color: var(--accent, #4f9cf9);
}
.terms-agree-label a { color: var(--accent, #4f9cf9); font-weight: 600; }
.terms-agree-stack { margin: 8px 0 16px; }
.terms-agree-stack .terms-agree-label { margin: 0 0 10px; }
.terms-agree-stack .terms-agree-label:last-child { margin-bottom: 0; }
