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

/* 设计变量 */
:root {
    --primary: #667eea;
    --primary-2: #764ba2;
    --text: #0f172a;
    --text-muted: #475569;
    --border: #e2e8f0;
    --bg-soft: #f8fafc;
    --radius-lg: 15px;
    --radius-md: 10px;
    --radius-sm: 8px;
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-md: 0 8px 25px rgba(79,70,229,0.12);
    --shadow-sm: 0 2px 8px rgba(102, 126, 234, 0.1);
    
    /* 新增动画变量 */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* 新增颜色变量 */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
    /* 启用硬件加速 */
    transform: translateZ(0);
    will-change: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.search-section {
    background: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin-bottom: 30px;
    /* 启用硬件加速 */
    transform: translateZ(0);
    will-change: transform;
}

.search-history {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

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

.search-history h3 {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 0;
    font-weight: 500;
}

.btn-clear-history {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
    opacity: 0.6;
}

.btn-clear-history:hover {
    opacity: 1;
    background: #f3f4f6;
    transform: scale(1.1);
}

.history-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.history-tag {
    background: #f3f4f6;
    color: #374151;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #e5e7eb;
    user-select: none;
}

.history-tag:hover {
    background: #e5e7eb;
    color: #1f2937;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.history-tag:active {
    transform: translateY(0);
}

.search-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.search-main {
    display: flex;
    gap: 15px;
    align-items: center;
}

.search-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.option-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.option-group label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px;
}

/* XToken 区域内联操作按钮 */
.inline-actions { margin-top: 6px; }
.btn-inline {
    display: inline-block;
    padding: 6px 10px;
    font-size: 12px;
    line-height: 1;
    color: #fff;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
    border-radius: 999px;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
}
.btn-inline:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-inline:active { transform: translateY(0); }

#searchInput {
    flex: 1;
    min-width: 300px;
    padding: 15px 20px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
}

#xtokenInput {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
}

#xtokenInput:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

#searchInput:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

#searchType {
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

#searchType:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

#perPageSelect {
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

#perPageSelect:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

#perPageSelect:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

#searchBtn {
    padding: 15px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    /* 启用硬件加速 */
    transform: translateZ(0);
    will-change: transform;
}

#searchBtn:hover {
    transform: translateY(-2px) translateZ(0);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

#searchBtn:active {
    transform: translateY(0) translateZ(0);
}

.results-section {
    background: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin-bottom: 30px;
    min-height: 200px;
}

.results-summary { display: none; }

.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tab-item {
    padding: 8px 14px;
    background: #f7f8fb;
    color: #334155;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
    user-select: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.tab-item:hover {
    background: #eef2ff;
    border-color: #c7d2fe;
}

.tab-item.active {
    background: #eef2ff;
    color: #4f46e5;
    border-color: #c7d2fe;
    box-shadow: 0 2px 8px rgba(79,70,229,0.12);
}

.loading {
    text-align: center;
    padding: 40px;
    font-size: 18px;
    color: #667eea;
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    /* 启用硬件加速 */
    transform: translateZ(0);
    will-change: transform;
}

@keyframes spin {
    0% { transform: rotate(0deg) translateZ(0); }
    100% { transform: rotate(360deg) translateZ(0); }
}

.loading-text {
    font-size: 18px;
    font-weight: 600;
    color: #667eea;
}

.loading-tips {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}

.loading-tips p {
    margin: 5px 0;
}

.hidden {
    display: none;
}

.platform-section {
    background: transparent;
    border-radius: 0;
    padding: 0;
    margin-bottom: 16px;
    border-left: none;
}

.platform-section:last-child {
    margin-bottom: 0; /* 最后一个平台区域不添加底部边距 */
}

.platform-title {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0;
    line-height: 1.4;
    padding: 10px 14px;
    display: block;
}

.platform-resources {
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 20px;
    padding: 0;
}

/* 修复全部资源显示时的布局，确保一行两个排列，连续排列 */
.platform-resources.all-resources {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    /* 确保资源连续排列，不按平台分类分行 */
    grid-auto-flow: row;
}

/* 单个平台的资源布局 */
.platform-resources:not(.all-resources) {
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 20px;
}

/* 中等屏幕下的全部资源布局 */
@media (max-width: 1200px) and (min-width: 769px) {
    .platform-resources.all-resources {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        grid-auto-flow: row;
    }
}

/* 小屏幕下的全部资源布局 */
@media (max-width: 768px) {
    .platform-resources.all-resources {
        grid-template-columns: 1fr;
        gap: 15px;
        grid-auto-flow: row;
    }
    
    .platform-resources:not(.all-resources) {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* 超小屏幕下的布局 */
@media (max-width: 480px) {
    .platform-resources.all-resources,
    .platform-resources:not(.all-resources) {
        grid-template-columns: 1fr;
        gap: 12px;
        grid-auto-flow: row;
    }
}

/* 确保资源项之间没有多余空白 */
.resource-item {
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e6e8eb;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: fit-content; /* 确保高度适应内容 */
    margin: 0; /* 移除默认边距 */
    /* 启用硬件加速 */
    transform: translateZ(0);
    will-change: transform;
}

.resource-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    /* 启用硬件加速 */
    transform: scaleX(0) translateZ(0);
    will-change: transform;
}

.resource-item:hover {
    border-color: #c7d2fe;
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.12);
    transform: translateY(-2px) translateZ(0);
}

.resource-item:hover::before {
    transform: scaleX(1) translateZ(0);
}

.resource-name {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
    line-height: 1.4;
    padding-right: 80px; /* 为平台标签留出空间 */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    letter-spacing: -0.025em;
}

.resource-meta {
    margin-bottom: 12px;
    color: #6b7280;
    font-size: 13px;
    font-style: italic;
}

.extract-code {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    color: #0c4a6e;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 15px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #bae6fd;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.code-text {
    font-weight: 700;
    color: #0369a1;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
}

.resource-actions {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
}

.resource-actions::-webkit-scrollbar {
    height: 4px;
}

.resource-actions::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.resource-actions::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 2px;
}

.resource-actions::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.btn-copy {
    padding: 6px 12px;
    font-size: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #ffffff;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 70px;
    text-align: center;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    /* 启用硬件加速 */
    transform: translateZ(0);
    will-change: transform;
}

.btn-copy:hover {
    border-color: #667eea;
    color: #667eea;
    background: #f8fafc;
    transform: translateY(-1px) translateZ(0);
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.15);
}

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

.badge-platform {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.link-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e1e5e9;
    transition: all 0.3s ease;
}

.link-item:hover {
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.link-platform {
    font-weight: 600;
    color: #667eea;
    margin-bottom: 8px;
    font-size: 14px;
}

.link-url {
    color: #2c3e50;
    text-decoration: none;
    word-break: break-all;
    line-height: 1.4;
}

.link-url:hover {
    color: #667eea;
}

.extract-code {
    background: #e8f4fd;
    color: #2980b9;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-top: 8px;
    display: inline-block;
}

.api-info {
    background: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.api-info h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.api-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #0f172a;
    font-size: 12px;
}

.api-list {
    margin-top: 6px;
    padding: 12px;
    border: 1px solid #eef2f6;
    border-radius: 10px;
    background: #fbfdff;
    margin-bottom: 20px;
}

.api-item {
    background: #f8f9fa;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    border-left: 3px solid #667eea;
}

.api-item strong {
    color: #667eea;
}

.api-info p {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* 过滤无效链接选项卡片与徽章（替代行内样式） */
.toggle-card { padding: 10px 12px; border: 1px solid #eaeaea; border-radius: 10px; background: #fafafa; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.toggle-label { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.badge-optional { display: inline-block; padding: 2px 8px; border-radius: 999px; background: #edf2ff; color: #3b5bdb; font-size: 12px; }
.toggle-hint { display: flex; align-items: center; gap: 8px; cursor: pointer; color: #666; font-size: 12px; }
.toggle-desc { margin-top: 6px; color: #888; font-size: 12px; line-height: 1.6; }

/* 代码块自动换行并滚动 */
.api-info pre,
.api-info code,
pre code { white-space: pre-wrap; word-break: break-word; }
.api-info pre { overflow: auto; background: #0f172a; color: #e2e8f0; padding: 12px; border-radius: 8px; }



.no-results {
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
}

.no-results-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.6;
}

.no-results h3 {
    font-size: 20px;
    color: #374151;
    margin-bottom: 12px;
}

.no-results p {
    font-size: 16px;
    margin-bottom: 24px;
    line-height: 1.6;
}

.no-results-suggestions {
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
    background: #f9fafb;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.no-results-suggestions p {
    margin-bottom: 12px;
    font-weight: 600;
    color: #374151;
}

.no-results-suggestions ul {
    list-style: none;
    padding: 0;
}

.no-results-suggestions li {
    padding: 6px 0;
    color: #6b7280;
    position: relative;
    padding-left: 20px;
}

.no-results-suggestions li::before {
    content: '💡';
    position: absolute;
    left: 0;
    top: 6px;
}

.pagination {
    margin-top: 30px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.pagination-info {
    text-align: center;
    margin-bottom: 20px;
    color: #64748b;
    font-size: 14px;
}

.pagination-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-page {
    padding: 8px 16px;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    color: #374151;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    min-width: 40px;
    /* 启用硬件加速 */
    transform: translateZ(0);
    will-change: transform;
}

.btn-page:hover:not(:disabled) {
    background: #f3f4f6;
    border-color: #9ca3af;
    transform: translateY(-1px) translateZ(0);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-page:active:not(:disabled) {
    transform: translateY(0) translateZ(0);
}

.btn-page.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

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

.page-numbers {
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-ellipsis {
    color: #9ca3af;
    font-weight: 600;
    padding: 0 8px;
}

.error-message {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    color: #dc2626;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #fecaca;
    margin-bottom: 20px;
    text-align: center;
}

.error-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.error-content strong {
    display: block;
    font-size: 18px;
    margin-bottom: 12px;
    color: #dc2626;
}

.error-content p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-retry {
    padding: 10px 20px;
    background: #dc2626;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    /* 启用硬件加速 */
    transform: translateZ(0);
    will-change: transform;
}

.btn-retry:hover {
    background: #b91c1c;
    transform: translateY(-1px) translateZ(0);
}

/* 搜索摘要样式 */
.search-summary {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.search-header {
    margin-bottom: 15px;
}

.summary-keyword {
    font-size: 18px;
    font-weight: bold;
    color: #495057;
}

.search-results {
    font-size: 16px;
    color: #6c757d;
}

.summary-platforms {
    color: #6c757d;
    font-size: 14px;
    margin-left: 10px;
}

@media (max-width: 768px) {
    .search-box {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .search-main {
        flex-direction: column;
        align-items: stretch;
    }
    
    #searchInput {
        min-width: auto;
    }
    
    .search-options {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
    }
    
    #searchType, #perPageSelect {
        min-width: auto;
    }
    
    .result-links {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 10px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-retry {
        width: 100%;
        max-width: 200px;
    }
    
    .no-results-suggestions {
        margin: 0 10px;
        padding: 16px;
    }
    
    .loading-content {
        padding: 20px;
    }
    
    .loading-spinner {
        width: 32px;
        height: 32px;
        border-width: 3px;
    }
    
    .search-history {
        margin-top: 15px;
        padding-top: 15px;
    }
    
    .history-tags {
        gap: 6px;
    }
    
    .history-tag {
        padding: 8px 14px;
        font-size: 14px;
    }
    
    .search-section {
        padding: 20px;
    }
    
    .results-section {
        padding: 20px;
    }
    
    .api-info {
        padding: 20px;
    }
    
    .tabs {
        gap: 8px;
    }
    
    .tab-item {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .pagination {
        margin-top: 16px;
        padding: 16px;
    }
    
    .pagination-controls {
        gap: 10px;
    }
    
    .btn-page {
        padding: 6px 12px;
        font-size: 13px;
        min-width: 36px;
    }
    
    .page-numbers {
        gap: 6px;
    }
    
    /* 移动端全部资源布局 */
    .platform-resources.all-resources {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .platform-resources:not(.all-resources) {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .resource-item {
        padding: 16px;
    }
    
    .resource-name {
        font-size: 16px;
        padding-right: 70px;
    }
    
    .badge-platform {
        font-size: 10px;
        padding: 3px 8px;
        top: 12px;
        right: 12px;
    }
    
    .resource-actions {
        gap: 4px;
    }
    
    .btn-copy {
        padding: 5px 10px;
        font-size: 11px;
        min-width: 60px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 8px;
    }
    
    header h1 {
        font-size: 1.8rem;
    }
    
    header p {
        font-size: 1rem;
    }
    
    .search-section {
        padding: 16px;
    }
    
    .results-section {
        padding: 16px;
    }
    
    .api-info {
        padding: 16px;
    }
    
    .pagination {
        margin-top: 16px;
        padding: 12px;
    }
    
    .pagination-info {
        font-size: 13px;
        margin-bottom: 16px;
    }
    
    .pagination-controls {
        gap: 8px;
    }
    
    .btn-page {
        padding: 5px 10px;
        font-size: 12px;
        min-width: 32px;
    }
    
    .page-numbers {
        gap: 4px;
    }
    
    .resource-item {
        padding: 16px;
    }
    
    .resource-name {
        font-size: 16px;
        padding-right: 70px;
    }
    
    .badge-platform {
        font-size: 10px;
        padding: 3px 8px;
        top: 12px;
        right: 12px;
    }
    
    .resource-actions {
        gap: 4px;
    }
    
    .btn-copy {
        padding: 5px 10px;
        font-size: 11px;
        min-width: 60px;
    }
}
