/* 页面基础样式 */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* 性能优化 */
* {
    box-sizing: border-box;
}

/* 图片优化 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 触控设备优化 */
@media (hover: none) {

    .nav-link::before,
    .mobile-nav-link::before,
    button::before {
        display: none;
    }
}

/* 导航栏毛玻璃效果 */
.navbar-glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.05),
        0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

/* Logo容器 */
.logo-container {
    position: relative;
    padding: 8px;
    background: linear-gradient(135deg,
            rgba(102, 126, 234, 0.1) 0%,
            rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.logo-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    transition: left 0.6s ease;
}

.logo-container:hover::before {
    left: 100%;
}

.logo-container:hover {
    transform: translateY(-2px);
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow:
        0 8px 25px rgba(102, 126, 234, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.1);
}

.logo-image {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.logo-container:hover .logo-image {
    transform: scale(1.05);
}

/* 品牌文字 */
.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.2;
    margin: 0;
    background: linear-gradient(135deg, #1f2937 0%, #4f46e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-subtitle {
    font-size: 0.6875rem;
    font-weight: 500;
    color: #6b7280;
    line-height: 1;
    margin: 0;
    margin-top: 1px;
}

/* 导航链接容器 */
.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 桌面导航显示控制 */
.desktop-nav {
    display: flex;
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background-color: #374151;
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

/* 汉堡菜单动画 */
.mobile-menu-btn.menu-open .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.menu-open .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.menu-open .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* 移动端导航菜单 */
.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 40;
}

.mobile-nav.mobile-nav-open {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    color: #374151;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s ease;
}

.mobile-nav-link:hover::before {
    left: 100%;
}

.mobile-nav-link:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mobile-nav-link i {
    font-size: 1.125rem;
    width: 20px;
    text-align: center;
}

/* 防止背景滚动 */
body.menu-open {
    overflow: hidden;
}

/* 导航链接基础样式 */
.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.nav-link:hover i {
    transform: scale(1.1);
}

.nav-link:hover {
    transform: translateY(-1px) scale(1.02);
}

/* 导航链接变体 */
.nav-link-primary {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(249, 115, 22, 0.1));
    border-color: rgba(239, 68, 68, 0.2);
    color: #dc2626;
}

.nav-link-primary:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(249, 115, 22, 0.15));
    border-color: rgba(239, 68, 68, 0.3);
}

.nav-link-secondary {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(147, 51, 234, 0.1));
    border-color: rgba(59, 130, 246, 0.2);
    color: #2563eb;
}

.nav-link-secondary:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(147, 51, 234, 0.15));
    border-color: rgba(59, 130, 246, 0.3);
}

.nav-link-accent {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
    border-color: rgba(16, 185, 129, 0.2);
    color: #059669;
}

.nav-link-accent:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.15));
    border-color: rgba(16, 185, 129, 0.3);
}

.nav-link-special {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(236, 72, 153, 0.1));
    border-color: rgba(168, 85, 247, 0.2);
    color: #7c3aed;
}

.nav-link-special:hover {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(236, 72, 153, 0.15));
    border-color: rgba(168, 85, 247, 0.3);
}

/* 导航滚动效果 */
.navbar-glass.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.08),
        0 12px 40px rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* 导航入场动画 */
.navbar-glass {
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Logo脉冲效果 */
.logo-container::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 16px;
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0;
    }
}

/* 输入框统一样式 */
.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    outline: none;
    background-color: #F9FAFB;
    transition: all 0.3s ease;
    font-size: 15px;
    color: #1F2937;
}

.form-input:focus {
    border-color: #667eea;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-input[readonly] {
    background-color: #F3F4F6;
    border-color: #D1D5DB;
}

/* 占位符样式 */
::placeholder {
    font-weight: 500;
    opacity: 0.7;
    color: #6B7280;
}

:-ms-input-placeholder {
    font-weight: 500;
    color: #6B7280;
}

::-ms-input-placeholder {
    font-weight: 500;
    color: #6B7280;
}

/* 状态标签样式 */
.status-tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    letter-spacing: 0.3px;
}

.bg-primary {
    background-color: #3B82F6;
}

.bg-red-500 {
    background-color: #EF4444;
}

.bg-gray-400 {
    background-color: #9CA3AF;
}

/* 基础工具类 */
.hidden {
    display: none !important;
}

.block {
    display: block !important;
}

.flex {
    display: flex !important;
}

label {
    font-weight: 600;
    color: #1F2937;
    font-size: 15px;
    letter-spacing: -0.2px;
}

/* 照片轮播容器 */
.carousel {
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.carousel-item {
    scroll-snap-align: start;
}

/* 图片预览模态框 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    margin-top: 5vh;
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}

/* 通用模态框样式 */
.contact-modal,
.summary-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.summary-modal-content {
    background: linear-gradient(135deg, #fff5f7 0%, #ffffff 100%);
    padding: 32px;
    border-radius: 16px;
    text-align: left;
    max-width: 800px;
    width: 95%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 2px solid #fed7e2;
    position: relative;
    display: flex;
    flex-direction: column;
}

.summary-modal-content .title {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #b91c1c;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #fecdd3;
}

.contact-modal-content {
    background: #fff;
    padding: 0;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
}

.summary-modal-content p {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 10px 0;
    line-height: 1.6;
    white-space: normal;
    word-break: break-word;
}

/* 关闭按钮样式 */
.close-button-container {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

.contact-modal-close {
    background: linear-gradient(90deg, #4CAF50, #66BB6A);
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-modal-close:hover {
    background: linear-gradient(90deg, #388E3C, #4CAF50);
    transform: scale(1.05);
}

/* 联系模态框特定样式 */
.contact-modal-header {
    padding: 16px 24px;
    border-bottom: 1px solid #e5e7eb;
}

.contact-modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    text-align: center;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-modal-title i {
    color: #2563eb;
    margin-right: 10px;
}

.contact-modal-body {
    padding: 16px 24px;
}

.contact-section {
    margin-bottom: 16px;
}

.contact-section:last-child {
    margin-bottom: 0;
}

.contact-section-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: #374151;
    margin: 8px 0;
    line-height: 1.5;
    word-break: break-all;
}

.contact-item .contact-icon {
    width: 20px;
    margin-right: 12px;
    text-align: center;
    color: #9ca3af;
}

.contact-item .contact-icon.telegram {
    color: #229ED9;
}

.contact-item .contact-icon.web {
    color: #4f46e5;
}

.contact-item strong {
    font-weight: 500;
    margin-right: 8px;
    color: #1f2937;
}

.contact-item a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.contact-item a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.contact-address {
    background-color: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 8px;
}

.address-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin: 0 0 4px 0;
}

.address-string {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
    color: #1f2937;
    word-break: break-all;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
}

.address-highlight {
    color: #ef4444;
    font-weight: bold;
}

/* 防复制样式 */
.no-copy {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* 状态控制类 */
.modal-show {
    display: flex !important;
}

.modal-hide {
    display: none !important;
}

.default-state-show {
    display: block !important;
}

.default-state-hide {
    display: none !important;
}

.carousel-overflow-hidden {
    overflow: hidden !important;
}

/* 注册日期样式 */
.reg-date-old {
    font-weight: bold !important;
    color: #ff0000 !important;
}

.reg-date-very-old {
    font-weight: bold !important;
    color: #ff4500 !important;
}

.reg-date-old-medium {
    font-weight: bold !important;
    color: #ffa500 !important;
}

.reg-date-medium {
    font-weight: bold !important;
    color: #008000 !important;
}

.reg-date-recent {
    font-weight: bold !important;
    color: #0000ff !important;
}

.reg-date-normal {
    font-weight: normal !important;
    color: inherit !important;
}

/* 按钮组件样式 */
.btn-primary {
    border-radius: 12px;
    background: linear-gradient(to right, #9333ea, #2563eb);
    color: white;
    padding: 12px 0;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
    letter-spacing: 0.025em;
    transform: scale(1);
}

.btn-primary:hover {
    background: linear-gradient(to right, #7c3aed, #1d4ed8);
    transform: scale(1.05);
}

.btn-secondary {
    border-radius: 12px;
    background-color: #6b7280;
    color: white;
    padding: 12px 0;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
    letter-spacing: 0.025em;
    grid-column: span 2;
}

.btn-secondary:hover {
    background-color: #4b5563;
}

.btn-info {
    border-radius: 12px;
    background-color: #3b82f6;
    color: white;
    padding: 10px 0;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 0.875rem;
}

.btn-info:hover {
    background-color: #2563eb;
}

.btn-accent {
    width: 100%;
    border-radius: 12px;
    background: linear-gradient(to right, #f97316, #ec4899);
    color: white;
    padding: 12px 0;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 0.875rem;
}

.btn-accent:hover {
    background: linear-gradient(to right, #ea580c, #db2777);
}

.btn-full-span {
    grid-column: span 2;
}

/* 卡片组件样式 */
.card-purple {
    background: linear-gradient(to bottom right, #faf5ff, #eff6ff);
    border-radius: 16px;
}

.card-white {
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 20px 24px;
}

.card-status-blue {
    background: linear-gradient(to bottom right, #eff6ff, #e0e7ff);
    border-radius: 12px;
    padding: 18px 24px;
}

.card-status-green {
    background: linear-gradient(to bottom right, #f0fdf4, #dcfce7);
    border-radius: 12px;
    padding: 18px 24px;
}

/* 图标装饰样式 */
.icon-container-purple {
    width: 56px;
    height: 56px;
    background-color: #f3e8ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
}

.icon-container-gray {
    width: 96px;
    height: 96px;
    background-color: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

/* 标题样式 */
.section-title {
    text-align: center;
    margin-bottom: 20px;
}

.section-title h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
}

.section-title p {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 42rem;
    margin: 0 auto;
}

.form-section-title,
.detail-section-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

/* 状态标签样式 */
.status-normal {
    font-size: 0.875rem;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 8px;
    background-color: #dcfce7;
    color: #166534;
}

.status-banned {
    font-size: 0.875rem;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 8px;
    background-color: #fecaca;
    color: #991b1b;
}

.status-default {
    font-size: 0.875rem;
    font-weight: 500;
    padding: 12px 16px;
    border-radius: 8px;
    background-color: #f3f4f6;
    color: #6b7280;
}

/* 查询区域布局样式 */
.query-main-container {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    padding: 32px;
    margin-bottom: 32px;
}

.query-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 40px;
    align-items: start;
}

.query-form-section {
    position: sticky;
    top: 120px;
}

.query-form-card {
    padding: 32px 24px 40px;
}

.query-results-section {
    min-height: 300px;
}

.query-button-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.status-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.detail-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

/* 布局工具类 */
.grid-2-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.grid-md-2-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.space-y-4>*+* {
    margin-top: 18px;
}

.space-y-6>*+* {
    margin-top: 24px;
}

/* 查询表单元素间距 */
.query-form-card .space-y-4>*+* {
    margin-top: 22px;
}

/* 增加查询按钮高度 */
.query-form-card .btn-primary {
    padding: 14px 0;
}

/* 默认状态样式 */
.default-state {
    text-align: center;
    padding: 64px 0;
}

.default-state h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.default-state p {
    color: #6b7280;
}

/* 照片轮播样式 */
.photo-carousel {
    display: flex;
    overflow: hidden;
    gap: 16px;
    position: relative;
    scroll-snap-type: x mandatory;
    border-radius: 8px;
    background-color: #f9fafb;
    padding: 16px;
    min-height: 120px;
}

/* 照片横幅样式 */
.photo-banner-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-banner-image {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: contain;
    background-color: #f3f4f6;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s ease;
    border: 1px solid #e5e7eb;
}

.main-banner-image:hover {
    transform: scale(1.02);
}

.thumbnail-strip {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    scrollbar-width: thin;
    scrollbar-color: #d1d5db #f9fafb;
}

.thumbnail-strip::-webkit-scrollbar {
    height: 6px;
}

.thumbnail-strip::-webkit-scrollbar-track {
    background: #f9fafb;
    border-radius: 3px;
}

.thumbnail-strip::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.thumbnail-strip::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

.thumbnail-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.thumbnail-image:hover {
    transform: scale(1.05);
    border-color: #3b82f6;
}

.thumbnail-image.active {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.no-photos {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 1rem;
    font-weight: 500;
    width: 100%;
    min-height: 80px;
}

/* 状态卡片标题样式 */
.status-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

/* 响应式设计 - 桌面优先策略 */
/* 三个主要断点：平板、大屏手机、小屏手机 */

/* 平板 (768px - 1023px) */
@media (max-width: 1023px) {
    .query-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .query-form-section {
        position: static;
    }

    .section-title h2 {
        font-size: 1.875rem;
    }

    .section-title p {
        font-size: 1.125rem;
    }
}

/* 状态卡片适配 */
@media (max-width: 640px) {
    .status-overview-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* 大屏手机 (480px - 767px) - 开始显示汉堡菜单 */

/* 导航适配 - 显示汉堡菜单 */
@media (max-width: 767px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .brand-title {
        font-size: 1rem;
    }

    .brand-subtitle {
        font-size: 0.625rem;
    }

    .logo-image {
        width: 32px;
        height: 32px;
    }

    .logo-container {
        padding: 6px;
    }
}

/* 查询区域适配 */
@media (max-width: 767px) {
    .query-main-container {
        padding: 20px;
        margin-bottom: 20px;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .section-title p {
        font-size: 1rem;
    }
}

/* 按钮适配 */
@media (max-width: 767px) {
    .query-button-grid {
        grid-template-columns: 1fr;
    }
}

/* 表单适配 */
.form-input {
    font-size: 16px;
    /* 防止iOS缩放 */
}

/* 小屏手机 (320px - 479px) */

/* 导航适配 */
@media (max-width: 479px) {
    .navbar-glass {
        padding: 0 16px;
    }

    .brand-text {
        display: none;
        /* 在小屏幕上隐藏品牌文字 */
    }
}

/* 查询区域适配 */
@media (max-width: 479px) {
    .query-main-container {
        padding: 16px;
        border-radius: 16px;
    }

    .query-form-card {
        padding: 20px 16px 24px;
    }

    .section-title {
        margin-bottom: 16px;
    }

    .section-title h2 {
        font-size: 1.25rem;
    }

    .section-title p {
        font-size: 0.875rem;
    }
}

/* 按钮适配 */
@media (max-width: 479px) {

    .btn-primary,
    .btn-secondary,
    .btn-info {
        padding: 12px 0;
        font-size: 0.875rem;
    }
}

/* 卡片适配 */
@media (max-width: 479px) {
    .card-white {
        padding: 16px;
    }
}

/* 状态标签适配 */
@media (max-width: 479px) {
    .status-tag {
        font-size: 0.75rem;
        padding: 4px 8px;
    }
}

/* 首屏表单适配 */
@media (max-width: 479px) {
    .form-section-title {
        font-size: 1rem;
    }

    .detail-section-title {
        font-size: 1rem;
    }

    .form-input {
        padding: 10px 12px;
        font-size: 14px;
    }

    label {
        font-size: 14px;
    }
}

/* 移动端菜单适配 */
@media (max-width: 479px) {
    .mobile-nav-content {
        padding: 16px;
    }

    .mobile-nav-link {
        padding: 12px 16px;
        font-size: 0.875rem;
    }
}

/* 滚动指示器适配 */
@media (max-width: 479px) {
    .thumbnail-strip {
        gap: 0.5rem;
    }

    .thumbnail-image {
        width: 60px;
        height: 60px;
    }

    .main-banner-image {
        max-height: 300px;
    }
}

/* 移动端模态框适配 */
@media (max-width: 479px) {
    .contact-modal-content {
        width: 95%;
        margin: 20px;
    }

    .contact-modal-header {
        padding: 12px 16px;
    }

    .contact-modal-body {
        padding: 12px 16px;
    }

    .contact-modal-title {
        font-size: 1.125rem;
    }

    .contact-item {
        font-size: 0.875rem;
    }

    .summary-modal-content {
        width: 95%;
        padding: 20px;
        margin: 20px;
    }
}

/* 照片显示响应式适配 */
@media (max-width: 767px) {
    .photo-banner-container {
        gap: 0.75rem;
    }

    .main-banner-image {
        max-height: 350px;
    }

    .thumbnail-image {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 479px) {
    .photo-carousel {
        padding: 12px;
        gap: 12px;
    }

    .no-photos {
        font-size: 0.875rem;
        min-height: 60px;
    }
}

/* 触控优化 */

/* 移动设备触控优化 */
@media (hover: none) and (pointer: coarse) {

    .btn-primary,
    .btn-secondary,
    .btn-info,
    .btn-accent {
        min-height: 44px;
        /* iOS推荐的最小触控区域 */
    }

    .contact-modal-close {
        min-height: 44px;
        padding: 12px 24px;
    }

    .thumbnail-image {
        min-width: 44px;
        min-height: 44px;
    }
}

/* 移除悬停效果以避免触控设备上的粘滞问题 */
@media (hover: none) {

    .nav-link:hover,
    .mobile-nav-link:hover,
    .btn-primary:hover,
    .btn-secondary:hover {
        transform: none;
    }
}

/* 横屏移动端适配 */
@media (max-width: 767px) and (orientation: landscape) {
    .query-main-container {
        padding: 16px;
    }

    .section-title {
        margin-bottom: 16px;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .main-banner-image {
        max-height: 250px;
    }
}

/* 高分辨率屏幕优化 */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .logo-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* 减少动画用户偏好设置 */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .logo-container::after {
        animation: none;
    }

    .navbar-glass {
        animation: none;
    }
}

/* 自定义按钮样式 */
.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

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

.show {
    display: block !important;
}

.result-content-reset {
    display: block;
}

.overall-status {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding: 12px;
    border-radius: 8px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
}

.table-wrapper {
    overflow-x: auto;
    margin-bottom: 20px;
}

/* 汇总模态框表格样式 */
#summaryTable {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 14px;
}

#summaryTable th,
#summaryTable td {
    padding: 8px 12px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
    word-break: break-word;
}

#summaryTable th {
    background-color: #f9fafb;
    font-weight: 600;
    color: #374151;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

#summaryTable tr:hover {
    background-color: #f8fafc;
}

#summaryTable td {
    color: #1f2937;
}

/* 响应式表格适配 */
@media (max-width: 767px) {
    #summaryTable {
        font-size: 12px;
    }

    #summaryTable th,
    #summaryTable td {
        padding: 6px 8px;
    }

    #summaryTable th {
        font-size: 11px;
    }
}

/* 加载动画样式 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* 模态框响应式适配 */
@media (max-width: 479px) {
    .modal-content {
        max-width: 95%;
        margin-top: 10vh;
    }

    .modal-close {
        right: 10px;
        top: 10px;
        font-size: 24px;
    }
}

/* 详细信息垂直布局样式 */
.detail-info-vertical {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* 水平布局行 */
.info-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* 半宽项目 */
.info-item-half {
    flex: 1;
}

/* 响应式调整 */
@media (max-width: 640px) {
    .info-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

/* 注册日期输入优化 */
.reg-date-old,
.reg-date-very-old,
.reg-date-old-medium,
.reg-date-medium,
.reg-date-recent {
    position: relative;
}

/* 注册日期悬停展开效果 */
.reg-date-old:hover,
.reg-date-very-old:hover,
.reg-date-old-medium:hover,
.reg-date-medium:hover,
.reg-date-recent:hover {
    z-index: 10;
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

/* 注册日期字体移动端适配 */
@media (max-width: 479px) {

    .reg-date-old,
    .reg-date-very-old,
    .reg-date-old-medium,
    .reg-date-medium,
    .reg-date-recent,
    .reg-date-normal {
        font-size: 13px;
    }
}