.patent-container {
   
}

.patent-container:hover {
}

/* 头部 */
.patent-header {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.8rem;
    padding: 0 0.2rem;
}

.patent-header h1 {
    font-size:18px;
    font-weight: 800;
    color: #0b2b4f;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-top:30px;
}

.patent-header h1 .title-accent {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #3370b0;
    box-shadow: 0 0 0 5px rgba(51, 112, 176, 0.15);
    animation: pulse-dot 2.4s infinite;
    flex-shrink: 0;
}

@keyframes pulse-dot {

    0%,
    100% {
        box-shadow: 0 0 0 5px rgba(51, 112, 176, 0.15);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(51, 112, 176, 0.06);
    }
}

.patent-header .subtitle {
    font-size: 1rem;
    color: #3a5678;
    font-weight: 400;
    letter-spacing: 0.2px;
    line-height: 1.5;
}

.patent-header .subtitle strong {
    color: #0b2b4f;
    font-weight: 700;
}

/* 统计卡片 */
.stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-bottom: 2rem;
    padding: 0 0.2rem;
}

.stat-card {
    flex: 1 1 140px;
    background: #ffffff;
    border-radius: 1.6rem;
    padding: 1.4rem 1.2rem;
    box-shadow:
        0 8px 22px -10px rgba(0, 20, 40, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.7) inset,
        0 0 0 1px rgba(180, 200, 230, 0.25);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 14px 28px -12px rgba(0, 20, 40, 0.18),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset,
        0 0 0 1px rgba(180, 200, 230, 0.4);
}

.stat-card .stat-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0b2b4f;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.stat-card .stat-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: #5e7b9c;
    margin-top: 0.3rem;
    letter-spacing: 0.2px;
}

.stat-card.total .stat-value {
    color: #1a4a7a;
}

.stat-card.invention-auth .stat-value {
    color: #1e6b9c;
}

.stat-card.invention-pub .stat-value {
    color: #2a7a6e;
}

.stat-card.utility .stat-value {
    color: #b36b2c;
}

/* 分类区块 */
.category-section {
    margin-bottom: 2.4rem;
}

.category-section:last-of-type {
    margin-bottom: 0.8rem;
}

.category-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0b2b4f;
    margin-bottom: 1rem;
    padding-left: 0.8rem;
    border-left: 5px solid #3370b0;
    line-height: 1.3;
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.category-title .category-count {
    font-size: 0.8rem;
    font-weight: 500;
    color: #6688aa;
    background: rgba(51, 112, 176, 0.08);
    padding: 0.15rem 0.8rem;
    border-radius: 30px;
    border: 1px solid rgba(51, 112, 176, 0.12);
}

/* 表格容器 — 允许横向滚动 */
.table-wrapper {
    overflow-x: auto;
    border-radius: 1.6rem;
    background: #ffffff;
    box-shadow:
        0 8px 24px -14px rgba(0, 20, 40, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset,
        0 0 0 1px rgba(180, 200, 230, 0.25);
    scrollbar-width: thin;
    scrollbar-color: #b6c9e0 transparent;
    -webkit-overflow-scrolling: touch;
}

.table-wrapper::-webkit-scrollbar {
    height: 6px;
}

.table-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.table-wrapper::-webkit-scrollbar-thumb {
    background: #b6c9e0;
    border-radius: 10px;
}

.table-wrapper::-webkit-scrollbar-thumb:hover {
    background: #8fabc9;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    min-width: 960px;
}

thead {
    background: #f4f8fe;
    border-bottom: 2px solid #d6e2f0;
}

thead th {
    padding: 1rem 0.8rem;
    text-align: left;
    font-weight: 700;
    color: #0b2b4f;
    font-size: 0.78rem;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    white-space: nowrap;
    border-right: 1px solid #e8eff8;
}

thead th:last-child {
    border-right: none;
}

tbody td {
    padding: 0.85rem 0.8rem;
    vertical-align: top;
    color: #2e4b6e;
    line-height: 1.55;
    border-bottom: 1px solid #eef3fa;
    border-right: 1px solid #f2f6fc;
}

tbody td:last-child {
    border-right: none;
}

tbody tr:last-child td {
    border-bottom: none;
}

tbody tr:hover {
    background: #f8fbff;
}

/* 序号列 */
td:first-child {
    font-weight: 600;
    color: #0b2b4f;
    font-size: 0.82rem;
    white-space: nowrap;
    width: 42px;
}

/* 专利名称列 */
td:nth-child(2) {
    font-weight: 600;
    color: #1a3a5e;
    min-width: 200px;
}

/* 专利号列 */
td:nth-child(3) {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.78rem;
    white-space: nowrap;
    color: #4a6a8a;
}

/* 专利类型标签 */
.type-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.18rem 0.65rem;
    border-radius: 30px;
    white-space: nowrap;
    letter-spacing: 0.2px;
    line-height: 1.4;
}

.type-badge.invention-auth {
    background: #e3f0fa;
    color: #1e6b9c;
    border: 1px solid #b8d9f0;
}

.type-badge.invention-pub {
    background: #e6f4f0;
    color: #2a7a6e;
    border: 1px solid #b8ddd4;
}

.type-badge.utility {
    background: #fcf0e4;
    color: #b36b2c;
    border: 1px solid #f0d8bc;
}

/* 方向列 */
td:nth-child(5) {
    font-weight: 500;
    color: #3a5678;
    font-size: 0.82rem;
    white-space: nowrap;
}

/* 简述列 */
td:nth-child(6) {
    font-size: 0.82rem;
    color: #666;
    line-height: 1.6;
    max-width: 340px;
}

/* 页脚注释 */
.notes-footer {
    margin-top: 2rem;
    padding: 1.2rem 1.6rem;
    background: rgba(240, 246, 252, 0.7);
    border-radius: 1.2rem;
    border: 1px solid rgba(180, 200, 230, 0.3);
    font-size: 0.8rem;
    color: #999;
    line-height: 1.7;
}

.notes-footer p {
    margin-bottom: 0.2rem;
    display: flex;
    gap: 0.5rem;
    align-items: baseline;
}

.notes-footer p:last-child {
    margin-bottom: 0;
}

.notes-footer .note-num {
    font-weight: 700;
    color: #0b2b4f;
    flex-shrink: 0;
    font-size: 0.78rem;
}

/* 响应式 */
@media (max-width: 900px) {
    .patent-container {
        padding: 1.6rem 1rem;
        border-radius: 2rem;
    }

    .patent-header h1 {
        font-size: 1.7rem;
    }

    .stat-card .stat-value {
        font-size: 1.8rem;
    }

    .category-title {
        font-size: 1.15rem;
    }

    table {
        font-size: 0.82rem;
        min-width: 860px;
    }

    thead th {
        padding: 0.8rem 0.6rem;
        font-size: 0.72rem;
    }

    tbody td {
        padding: 0.7rem 0.6rem;
    }
}

@media (max-width: 600px) {
    .patent-container {
        padding: 1.2rem 0.7rem;
        border-radius: 1.6rem;
    }

    .patent-header h1 {
        font-size: 1.4rem;
    }

    .patent-header .subtitle {
        font-size: 0.85rem;
    }

    .stats-row {
        gap: 0.7rem;
    }

    .stat-card {
        flex: 1 1 100px;
        padding: 1rem 0.8rem;
        border-radius: 1.2rem;
    }

    .stat-card .stat-value {
        font-size: 1.5rem;
    }

    .stat-card .stat-label {
        font-size: 0.7rem;
    }

    .category-title {
        font-size: 1rem;
        border-left-width: 4px;
    }

    table {
        font-size: 0.78rem;
        min-width: 760px;
    }

    thead th {
        padding: 0.7rem 0.5rem;
        font-size: 0.68rem;
    }

    tbody td {
        padding: 0.6rem 0.5rem;
    }

    .notes-footer {
        padding: 0.9rem 1rem;
        font-size: 0.72rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}