/* ===== 公共变量 ===== */
:root {
    --bg: #f8fafc;
    --card-bg: #ffffff;
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --text: #1e293b;
    --text-secondary: #64748b;
    --border: #e2e8f0;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --radius: 12px;
    --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.08);
}

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

html, body { height: 100%; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: var(--bg);
    color: var(--text);
    height: 100%;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
}

/* ===== 导航栏 ===== */
.navbar {
    background: var(--card-bg);
    border-bottom: 1px solid var(--border);
    padding: 0 24px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    flex-shrink: 0;
    gap: 16px;
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}
.navbar-brand .icon { font-size: 24px; }
.navbar-brand .navbar-logo {
    width: 32px;
    height: 32px;
    display: block;
}

/* ===== 汉堡菜单按钮（默认隐藏） ===== */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    padding: 6px;
    transition: background 0.2s;
    flex-shrink: 0;
}
.nav-hamburger:hover {
    background: #f1f5f9;
}
.hamburger-line {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: all 0.3s ease;
}
.hamburger-active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger-active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.hamburger-active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== 导航链接 ===== */
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    flex: 1;
    justify-content: flex-start;
    margin: 0 8px;
}
.nav-link {
    display: inline-block;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 6px;
    white-space: nowrap;
    transition: all 0.2s ease;
    line-height: 1.4;
}
.nav-link:hover {
    color: var(--primary);
    background: rgba(59, 130, 246, 0.08);
}
.nav-link:active {
    background: rgba(59, 130, 246, 0.15);
}
.nav-link-more {
    color: #94a3b8;
}

/* ===== "更多…" 下拉菜单 ===== */
.nav-dropdown-wrapper {
    position: relative;
    display: inline-block;
}
.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 140px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    padding: 4px 0;
    z-index: 300;
    animation: dropdownIn 0.18s ease;
}
.nav-dropdown-wrapper:hover .nav-dropdown-menu {
    display: block;
}
.nav-dropdown-item {
    display: flex;
    align-items: center;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.15s ease;
}
.nav-dropdown-item:hover {
    color: var(--primary);
    background: rgba(59, 130, 246, 0.06);
}
.nav-dropdown-item:active {
    background: rgba(59, 130, 246, 0.12);
}

/* 响应式：小屏幕下拉菜单 */
@media (max-width: 640px) {
    .nav-dropdown-menu {
        left: auto;
        right: 0;
        min-width: 130px;
        border-radius: 8px;
    }
    .nav-dropdown-item {
        padding: 8px 14px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .nav-dropdown-menu {
        min-width: 120px;
    }
    .nav-dropdown-item {
        padding: 7px 12px;
        font-size: 11px;
    }
}

/* 响应式：中等屏幕下减小间距和字号 */
@media (max-width: 900px) {
    .nav-links {
        gap: 2px;
        margin: 0 4px;
    }
    .nav-link {
        padding: 5px 8px;
        font-size: 12px;
    }
}

/* 响应式：小屏幕下启用汉堡菜单 */
@media (max-width: 640px) {
    .nav-hamburger {
        display: flex;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--card-bg);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
        flex-direction: column;
        padding: 8px 16px 12px;
        gap: 2px;
        z-index: 200;
    }
    .nav-links-open {
        display: flex;
        animation: slideDown 0.25s ease;
    }
    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-8px); }
        to { opacity: 1; transform: translateY(0); }
    }
    .nav-link {
        padding: 10px 12px;
        font-size: 14px;
        border-radius: 8px;
        white-space: nowrap;
    }
    .nav-link:hover {
        background: rgba(59, 130, 246, 0.08);
    }
    .nav-dropdown-wrapper {
        position: static;
    }
    .nav-dropdown-wrapper .nav-dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0 0 0 16px;
        min-width: auto;
        animation: none;
    }
    .nav-dropdown-wrapper:hover .nav-dropdown-menu {
        display: none;
    }
    .nav-dropdown-wrapper.nav-dropdown-mobile-open .nav-dropdown-menu {
        display: block;
    }
    .nav-dropdown-item {
        padding: 8px 12px;
        font-size: 13px;
    }
}

/* 超小屏幕进一步优化 */
@media (max-width: 480px) {
    .nav-links {
        padding: 6px 12px 10px;
    }
    .nav-link {
        padding: 9px 10px;
        font-size: 13px;
    }
}

/* ===== 导航栏内搜索框 ===== */
.navbar-search {
    flex: 0 0 auto;
    width: 300px;
    max-width: 100%;
    position: relative;
    flex-shrink: 1;
    min-width: 200px;
}
.navbar-search .search-box-wrapper {
    position: relative;
    /* 确保 .search-dropdown 的 absolute 定位相对于 wrapper，避免与 .navbar-search 的其他子元素冲突 */
}
.navbar-search .search-box {
    display: flex;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.navbar-search .search-box:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(59,130,246,0.15);
}
.navbar-search .search-box input {
    flex: 1;
    padding: 7px 14px;
    font-size: 14px;
    font-weight: 500;
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', 'JetBrains Mono', Consolas, 'Courier New', monospace;
    letter-spacing: 0.5px;
    color: var(--text);
    border: none;
    outline: none;
    background: #f8fafc;
    min-width: 0;
}
.navbar-search .search-box input::placeholder {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0;
    color: #94a3b8;
}
.navbar-search .search-box button {
    padding: 7px 18px;
    font-size: 13px;
    font-weight: 600;
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}
.navbar-search .search-box button:hover { background: var(--primary-dark); }
.navbar-search .search-box button:disabled { opacity: 0.6; cursor: not-allowed; }
.navbar-search .search-box-wrapper.dropdown-open .search-box {
    border-radius: 8px 8px 0 0;
}
.navbar-search .search-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-top: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
    overflow: visible;
    z-index: 200;
    padding: 4px 0 8px;
}
.navbar-search .search-dropdown.show {
    display: block;
    animation: dropdownIn 0.18s ease;
}
.navbar-search .search-dropdown-item {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.12s;
    gap: 12px;
}
.navbar-search .search-dropdown-item:hover { background: #f3f4f6; }
.navbar-search .search-dropdown-item:active { background: #e5e7eb; }
.navbar-search .search-dropdown-item.keyboard-active { background: #eff6ff; }
.navbar-search .search-dropdown-item:last-child { border-radius: 0 0 10px 10px; }
.navbar-search .dropdown-match-highlight {
    color: #2563eb; font-weight: 600;
}

/* 下拉列表：标题、列表容器、缓存标签 */
.navbar-search .dropdown-header {
    padding: 8px 16px 6px;
    font-size: 11px;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #f3f4f6;
}
.navbar-search .dropdown-list {
    padding: 4px 0;
}
.navbar-search .dropdown-cache-tag {
    font-size: 10px;
    font-weight: 500;
    color: #d97706;
    background: #fef3c7;
    padding: 1px 6px;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}

.navbar-search .dropdown-icon {
    width: 18px; height: 18px;
    display: flex; align-items: center; justify-content: center;
    color: #9ca3af; font-size: 14px; flex-shrink: 0;
}
.navbar-search .dropdown-body {
    flex: 1; min-width: 0;
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.navbar-search .dropdown-domain {
    font-size: 14px; color: #374151; font-weight: 400;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.navbar-search .dropdown-meta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.navbar-search .dropdown-score {
    font-size: 11px; font-weight: 500; padding: 1px 7px; border-radius: 8px; line-height: 1.5;
}
.navbar-search .dropdown-score.grade-excellent { background: #d1fae5; color: #065f46; }
.navbar-search .dropdown-score.grade-good { background: #dbeafe; color: #1e40af; }
.navbar-search .dropdown-score.grade-warning { background: #fef3c7; color: #92400e; }
.navbar-search .dropdown-score.grade-danger { background: #fee2e2; color: #991b1b; }
.navbar-search .dropdown-time { font-size: 11px; color: #9ca3af; white-space: nowrap; }
.navbar-search .search-dropdown-empty {
    padding: 24px 16px; text-align: center; color: #9ca3af; font-size: 13px;
}
.navbar-search .dropdown-delete {
    flex-shrink: 0;
    width: 24px; height: 24px;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; color: #d1d5db; cursor: pointer;
    border-radius: 4px; transition: all 0.15s;
    line-height: 1;
    margin-left: 4px;
}
.navbar-search .dropdown-delete:hover {
    color: #ef4444; background: #fef2f2;
}
.navbar-search .dropdown-clear {
    padding: 10px 16px;
    text-align: center;
    font-size: 12px;
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.15s;
    border-top: 1px solid #f3f4f6;
}
.navbar-search .dropdown-clear:hover {
    color: #ef4444;
}
@keyframes dropdownIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== 页脚 ===== */
.site-footer {
    text-align: center;
    padding: 16px 20px;
    color: #94a3b8;
    font-size: 12px;
    margin-top: auto;
    flex-shrink: 0;
    border-top: 1px solid var(--border);
    background: var(--card-bg);
}
.site-footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    line-height: 1.8;
}
.site-footer-inner a {
    color: #94a3b8;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
}
.site-footer-inner a:hover {
    color: var(--primary);
    text-decoration: underline;
}
.site-footer-inner .footer-sep {
    margin: 0 6px;
    opacity: 0.5;
}

/* ===== 弹窗 ===== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    justify-content: flex-start;
    align-items: center;
    padding: 20px;
}
.modal-overlay.show { display: flex; }
.modal-dialog {
    background: var(--card-bg);
    border-radius: var(--radius);
    max-width: 640px;
    width: 100%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}
.modal-header h2 { font-size: 18px; font-weight: 700; }
.modal-close {
    background: none; border: none;
    font-size: 24px; cursor: pointer;
    color: var(--text-secondary);
    padding: 0 4px;
    line-height: 1;
}
.modal-close:hover { color: var(--text); }
.modal-body {
    padding: 24px;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text);
    flex: 1;
}
.modal-body h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 16px 0 8px;
    color: var(--text);
}
.modal-body h3:first-child { margin-top: 0; }
.modal-body ul {
    padding-left: 20px;
    margin: 4px 0 12px;
}
.modal-body ul li { margin-bottom: 4px; }
.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    text-align: right;
    flex-shrink: 0;
}
.btn-agree {
    padding: 10px 28px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.btn-agree:hover { background: var(--primary-dark); }

/* ===== 导航用户区域 ===== */
.nav-user { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; position: relative; }
.nav-loading { font-size: 12px; color: #94a3b8; }

.nav-link-limited-free {
    padding: 5px 12px; font-size: 12px; font-weight: 600;
    color: #fff; background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 14px; text-decoration: none; white-space: nowrap;
    transition: all 0.2s; box-shadow: 0 2px 8px rgba(16,185,129,0.25);
    animation: freePulse 2s ease-in-out infinite;
}
.nav-link-limited-free:hover {
    background: linear-gradient(135deg, #059669, #047857);
    box-shadow: 0 4px 12px rgba(16,185,129,0.35);
    transform: translateY(-1px);
}
@keyframes freePulse {
    0%, 100% { box-shadow: 0 2px 8px rgba(16,185,129,0.25); }
    50% { box-shadow: 0 2px 14px rgba(16,185,129,0.4); }
}

.btn-login {
    padding: 6px 16px; font-size: 13px; font-weight: 500;
    color: var(--primary); background: transparent;
    border: 1px solid var(--primary); border-radius: 6px;
    cursor: pointer; transition: all 0.2s; text-decoration: none;
}
.btn-login:hover { background: var(--primary); color: #fff; }
.btn-login:active { transform: scale(0.96); }
.btn-login:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.btn-register {
    padding: 6px 16px; font-size: 13px; font-weight: 500;
    color: #fff; background: var(--primary);
    border: 1px solid var(--primary); border-radius: 6px;
    cursor: pointer; transition: all 0.2s; text-decoration: none;
}
.btn-register:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-register:active { transform: scale(0.96); }
.btn-register:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* 导航栏响应式 - 小屏幕下按钮缩小 */
@media (max-width: 480px) {
    .nav-user { gap: 6px; }
    .btn-login, .btn-register {
        padding: 5px 10px; font-size: 12px;
    }
    .nav-link-limited-free {
        padding: 4px 8px; font-size: 11px; letter-spacing: 0;
    }
}

/* 导航栏搜索框 - 窄屏适配 */
@media (max-width: 600px) {
    .navbar {
        padding: 0 12px;
        gap: 8px;
    }
    .navbar-search {
        width: 200px;
        min-width: 160px;
    }
    .navbar-search .search-box input {
        font-size: 13px;
        padding: 7px 10px;
    }
    .navbar-search .search-box button {
        padding: 7px 12px;
        font-size: 12px;
    }
    .navbar-search .search-dropdown {
        z-index: 300;
        border-radius: 0 0 10px 10px;
    }
    .navbar-search .search-dropdown-item {
        padding: 10px 12px;
    }
    .navbar-search .dropdown-domain {
        font-size: 13px;
    }
}

.user-menu-trigger {
    display: flex; align-items: center; gap: 8px; cursor: pointer;
    padding: 4px 8px; border-radius: 6px; transition: background 0.15s;
}
.user-menu-trigger:hover { background: #f1f5f9; }

.user-avatar {
    width: 30px; height: 30px; border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 600; flex-shrink: 0;
}

.user-name {
    font-size: 13px; font-weight: 500; color: var(--text);
    max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.user-tier-badge {
    font-size: 10px; font-weight: 600; padding: 1px 6px;
    border-radius: 8px; white-space: nowrap;
}
.tier-free { background: #f1f5f9; color: #64748b; }
.tier-pro { background: #dbeafe; color: #1e40af; }
.tier-enterprise { background: #fef3c7; color: #92400e; }

.user-menu-arrow {
    font-size: 10px; color: #94a3b8; transition: transform 0.2s;
}

.user-dropdown {
    display: none; position: absolute; top: 100%; right: 0;
    background: #fff; border: 1px solid #e2e8f0; border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1); min-width: 180px;
    padding: 6px 0; z-index: 200;
}
.user-dropdown.show { display: block; }

.dropdown-item {
    display: flex; align-items: center; gap: 8px;
    padding: 9px 16px; font-size: 13px; color: var(--text);
    text-decoration: none; cursor: pointer; transition: background 0.12s;
}
.dropdown-item:hover { background: #f8fafc; }
.logout-item { color: #ef4444; }
.dropdown-divider { height: 1px; background: #f1f5f9; margin: 4px 0; }

/* ===== 认证弹窗 ===== */
.auth-modal-dialog { max-width: 420px; }
.auth-form { padding: 0; }
.auth-form .form-group { margin-bottom: 14px; }
.auth-form .form-group label {
    display: block; font-size: 13px; font-weight: 500;
    margin-bottom: 4px; color: #374151;
}
.auth-form .form-group input {
    width: 100%; padding: 9px 12px; border: 1px solid #e2e8f0;
    border-radius: 6px; font-size: 14px; outline: none;
    transition: border-color 0.2s;
}
.auth-form .form-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(59,130,246,0.15);
}
.auth-error { color: #ef4444; font-size: 13px; margin-bottom: 8px; min-height: 18px; }
.btn-auth-submit {
    width: 100%; padding: 10px; background: var(--primary);
    color: #fff; border: none; border-radius: 6px;
    font-size: 15px; font-weight: 600; cursor: pointer;
    transition: background 0.2s;
}
.btn-auth-submit:hover { background: var(--primary-dark); }
.btn-auth-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.auth-switch {
    text-align: center; font-size: 13px; color: #94a3b8; margin-top: 16px;
}
.auth-switch a { color: var(--primary); text-decoration: none; font-weight: 500; }
.auth-switch a:hover { text-decoration: underline; }
.auth-loading { text-align: center; padding: 20px; color: #94a3b8; font-size: 14px; }
.auth-empty { text-align: center; padding: 24px; color: #94a3b8; font-size: 14px; }

.order-list { display: flex; flex-direction: column; gap: 10px; }
.order-item {
    padding: 12px; background: #f8fafc; border-radius: 8px;
    border: 1px solid #e8ecf1;
}
.order-header { display: flex; justify-content: space-between; margin-bottom: 4px; }
.order-no { font-family: monospace; font-size: 12px; color: #64748b; }
.order-status { font-size: 12px; font-weight: 600; }
.order-body { display: flex; justify-content: space-between; font-size: 13px; }
.order-amount { font-weight: 700; color: var(--text); }
.order-time { font-size: 11px; color: #94a3b8; margin-top: 4px; }

/* ===== 广告位 ===== */
.ad-container {
    margin: 16px 0; border-radius: 10px; overflow: hidden;
    border: 1px solid #e2e8f0; background: #fafbfd;
}
.ad-container a { display: block; text-decoration: none; color: inherit; }
.ad-container img { width: 100%; display: block; }
.ad-container .ad-text-link {
    padding: 10px 16px; font-size: 13px; color: var(--primary);
    font-weight: 500; display: flex; align-items: center; gap: 6px;
}
.ad-container .ad-text-link:hover { text-decoration: underline; }
.ad-label {
    font-size: 10px; color: #94a3b8; padding: 2px 8px;
    display: block; text-align: right;
}

/* ===== 域名估值模块 ===== */
.valuation-overview { margin-bottom: 16px; }
.valuation-price-card {
    background: linear-gradient(135deg, #faf5ff 0%, #f0fdf4 100%);
    border: 1px solid #e8e0f0; border-radius: 14px; padding: 20px;
}
.valuation-price-header {
    font-size: 15px; font-weight: 700; color: #4c1d95;
    margin-bottom: 16px; padding-bottom: 10px;
    border-bottom: 1px solid rgba(124,58,237,0.15);
}
.valuation-price-body {
    display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.valuation-price-ring-wrap {
    position: relative; width: 120px; height: 120px; flex-shrink: 0;
}
.valuation-price-ring { width: 120px; height: 120px; }
.valuation-price-ring-text {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    display: flex; flex-direction: column; align-items: center;
}
.valuation-score-num { font-size: 28px; font-weight: 800; color: #1e293b; line-height: 1; }
.valuation-score-unit { font-size: 12px; color: #64748b; margin-top: 2px; }
.valuation-price-info { flex: 1; min-width: 180px; }
.valuation-price-estimate {
    display: flex; flex-direction: column; margin-bottom: 12px;
}
.valuation-price-label { font-size: 13px; color: #64748b; margin-bottom: 4px; }
.valuation-price-value {
    font-size: 32px; font-weight: 800; font-family: 'Georgia', serif;
    letter-spacing: -1px;
}
.valuation-price-meta {
    display: flex; flex-direction: column; gap: 3px;
    font-size: 12px; color: #94a3b8;
}
.valuation-price-meta strong { color: #475569; font-weight: 600; }

/* 趣味评价 */
.valuation-fun-rating {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 16px 20px; border-radius: 12px; margin-bottom: 20px;
}
.valuation-fun-icon { font-size: 40px; flex-shrink: 0; line-height: 1; }
.valuation-fun-content { flex: 1; }
.valuation-fun-name { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.valuation-fun-desc { font-size: 14px; color: #475569; margin-bottom: 4px; }
.valuation-fun-range { font-size: 12px; color: #94a3b8; }

/* 六维度 */
.valuation-dimensions { margin-bottom: 20px; }
.valuation-section-title {
    font-size: 15px; font-weight: 700; color: #1e293b;
    margin-bottom: 14px; padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
}
.valuation-dim-item { margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px dashed #f1f5f9; }
.valuation-dim-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.valuation-dim-header {
    display: flex; align-items: center; gap: 8px; margin-bottom: 6px;
}
.valuation-dim-icon { font-size: 16px; }
.valuation-dim-name { font-size: 13px; font-weight: 600; color: #334155; flex: 1; }
.valuation-dim-score { font-size: 13px; font-weight: 700; }
.valuation-dim-bar-track {
    height: 6px; background: #f1f5f9; border-radius: 3px;
    margin-bottom: 6px; overflow: hidden;
}
.valuation-dim-bar-fill {
    height: 100%; border-radius: 3px; transition: width 0.8s ease;
    min-width: 2px;
}
.valuation-dim-remark { font-size: 12px; color: #94a3b8; }
.valuation-kw-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.valuation-kw-tag {
    display: inline-block; padding: 2px 8px; background: #ede9fe;
    color: #6d28d9; border-radius: 10px; font-size: 11px; font-weight: 500;
}

/* 市场趋势 */
.valuation-trend-section { margin-bottom: 20px; }
.valuation-trend-summary {
    font-size: 14px; font-weight: 600; margin-bottom: 12px;
    display: flex; align-items: center; gap: 6px;
}
.valuation-trend-chart {
    background: #fafbfc; border: 1px solid #e2e8f0;
    border-radius: 10px; padding: 16px; overflow-x: auto;
}
.valuation-trend-svg { width: 100%; height: auto; display: block; }
.valuation-trend-note {
    font-size: 11px; color: #94a3b8; margin-top: 8px; font-style: italic;
}

/* 亮点与建议 */
.valuation-insights { display: flex; gap: 16px; flex-wrap: wrap; }
.valuation-insight-block {
    flex: 1; min-width: 260px;
    background: #f8fafc; border: 1px solid #e2e8f0;
    border-radius: 10px; padding: 14px 16px;
}
.valuation-insight-list {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 6px;
}
.valuation-insight-list li { font-size: 13px; color: #475569; line-height: 1.5; }
.valuation-insight-list.highlights li { color: #059669; }
.valuation-insight-list.suggestions li { color: #d97706; }

/* 估值错误/空状态 */
.valuation-error {
    text-align: center; padding: 32px 16px; color: #ef4444;
    font-size: 14px;
}
.valuation-error-icon { font-size: 32px; margin-bottom: 8px; }
.valuation-empty {
    text-align: center; padding: 32px 16px; color: #94a3b8;
    font-size: 14px;
}
.valuation-empty-icon { font-size: 32px; margin-bottom: 8px; }

/* ===== 估值彩蛋（难以估量）===== */
.valuation-easter-egg { margin-bottom: 16px; }
.valuation-egg-banner {
    text-align: center; padding: 32px 20px 24px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 30%, #fbbf24 70%, #d97706 100%);
    border-radius: 16px; margin-bottom: 20px;
    position: relative; overflow: hidden;
}
.valuation-egg-banner::before {
    content: ''; position: absolute; top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 60%);
    animation: valuation-egg-glow 3s ease-in-out infinite;
}
@keyframes valuation-egg-glow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10px, -10px); }
}
.valuation-egg-icon { font-size: 56px; margin-bottom: 12px; position: relative; z-index: 1; animation: valuation-egg-bounce 2s ease-in-out infinite; }
@keyframes valuation-egg-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.valuation-egg-title { font-size: 28px; font-weight: 800; color: #78350f; margin-bottom: 6px; position: relative; z-index: 1; }
.valuation-egg-subtitle { font-size: 15px; color: #92400e; font-weight: 500; position: relative; z-index: 1; }
.valuation-egg-tag {
    display: inline-block; margin-top: 12px; padding: 4px 16px;
    background: rgba(120,53,15,0.1); color: #78350f;
    border-radius: 20px; font-size: 12px; font-weight: 600;
    position: relative; z-index: 1;
}

.valuation-egg-message {
    display: flex; gap: 14px; padding: 20px 24px;
    background: #fffbeb; border: 1px solid #fde68a;
    border-radius: 14px; margin-bottom: 20px;
}
.valuation-egg-msg-icon { font-size: 32px; flex-shrink: 0; line-height: 1.2; }
.valuation-egg-msg-text { font-size: 14px; color: #78350f; line-height: 1.7; }

.valuation-egg-section {
    background: #fafbfc; border: 1px solid #e5e7eb;
    border-radius: 12px; padding: 18px 20px; margin-bottom: 16px;
}
.valuation-egg-section-title { font-size: 15px; font-weight: 700; color: #1e293b; margin-bottom: 14px; }
.valuation-egg-info-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px; margin-bottom: 14px;
}
.valuation-egg-info-item {
    background: #fff; border: 1px solid #f1f5f9;
    border-radius: 8px; padding: 12px;
}
.valuation-egg-info-label { font-size: 11px; color: #94a3b8; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.valuation-egg-info-value { font-size: 14px; font-weight: 600; color: #1e293b; }
.valuation-egg-info-value.scarcity-tier { color: #b45309; font-size: 16px; }
.valuation-egg-info-value.price-ref { color: #92400e; }
.valuation-egg-info-value.brand-name { color: #1d4ed8; }
.valuation-egg-info-value.market-scale { color: #059669; }
.valuation-egg-scarcity-desc { font-size: 13px; color: #475569; line-height: 1.6; }

.valuation-egg-verdict {
    display: flex; gap: 12px; padding: 14px 16px;
    background: #fffbeb; border-left: 4px solid #f59e0b;
    border-radius: 8px;
}
.valuation-egg-verdict-icon { font-size: 20px; flex-shrink: 0; }
.valuation-egg-verdict-text { font-size: 13px; color: #78350f; line-height: 1.6; }

.valuation-egg-fun-tag {
    display: flex; align-items: center; gap: 10px;
    padding: 16px 20px; background: #fef3c7; border: 2px dashed #f59e0b;
    border-radius: 14px; margin-bottom: 20px;
}
.valuation-egg-fun-icon { font-size: 32px; }
.valuation-egg-fun-name { font-size: 20px; font-weight: 700; }
.valuation-egg-fun-desc { font-size: 14px; color: #78350f; flex: 1; }

.valuation-egg-footer {
    font-size: 12px; color: #94a3b8; text-align: center;
    line-height: 1.7; padding: 0 10px;
}

/* ===== 稀缺性提示条 ===== */
.valuation-scarcity-notice {
    display: flex; gap: 14px; padding: 16px 20px;
    background: linear-gradient(135deg, #fef3c7 0%, #fffbeb 100%);
    border: 1px solid #fbbf24; border-left: 4px solid #d97706;
    border-radius: 12px; margin-bottom: 20px;
}
.valuation-scarcity-icon { font-size: 28px; flex-shrink: 0; line-height: 1; }
.valuation-scarcity-content { flex: 1; }
.valuation-scarcity-title { font-size: 15px; font-weight: 700; color: #92400e; margin-bottom: 6px; }
.valuation-scarcity-desc { font-size: 13px; color: #78350f; line-height: 1.5; margin-bottom: 4px; }
.valuation-scarcity-ref { font-size: 12px; color: #b45309; font-weight: 500; margin-bottom: 8px; }
.valuation-scarcity-note { font-size: 12px; color: #a16207; font-style: italic; line-height: 1.5; background: rgba(245,158,11,0.08); padding: 8px 12px; border-radius: 6px; }

@media (max-width: 600px) {
    .valuation-price-body { flex-direction: column; align-items: center; text-align: center; }
    .valuation-price-info { text-align: center; }
    .valuation-price-meta { align-items: center; }
    .valuation-insights { flex-direction: column; }
}
