*{margin:0;padding:0;box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;}
body{background:#f5f7fa;color:#333;line-height:1.6;min-height:100vh;}
.container{max-width:900px;margin:0 auto;padding:0 15px;}
.top-nav{background:#fff;border-bottom:1px solid #eaeaea;padding:15px 0;margin-bottom:0;box-shadow:0 2px 8px rgba(0,0,0,0.04);}
.nav-content{max-width:900px;margin:0 auto;padding:0 15px;display:flex;justify-content:space-between;align-items:center;gap:15px;}
.logo-wrap{flex:1;}
.logo-link{text-decoration:none;display:block;}
.logo{font-size:20px;font-weight:600;color:#0080ff;margin-bottom:3px;}
.tagline{color:#888;font-size:12px;}
.nav-actions{display:flex;align-items:center;gap:12px;}
.user-menu{display:flex;align-items:center;gap:12px;}
.user-name{font-size:13px;color:#333;font-weight:500;}
.user-link{padding:6px 14px;background:#0080ff;color:#fff;border-radius:4px;text-decoration:none;font-size:12px;transition:background 0.3s;}
.user-link:hover{background:#0066cc;}
.logout-link{padding:6px 14px;background:#f5f5f5;color:#666;border-radius:4px;text-decoration:none;font-size:12px;transition:all 0.3s;}
.logout-link:hover{background:#e8e8e8;}
.login-link{padding:6px 14px;background:#f5f5f5;color:#666;border-radius:4px;text-decoration:none;font-size:12px;transition:all 0.3s;}
.login-link:hover{background:#e8e8e8;}
.register-link{padding:6px 14px;background:#0080ff;color:#fff;border-radius:4px;text-decoration:none;font-size:12px;transition:background 0.3s;}
.register-link:hover{background:#0066cc;}
.home-search-bar{background:#fff;border-top:1px solid #eaeaea;padding:15px 0;margin-bottom:25px;}
.header{padding:30px 0;text-align:center;margin-bottom:30px;background:linear-gradient(135deg,#0080ff 0%,#00aaff 100%);color:#fff;}
.header .logo{color:#fff;font-size:28px;margin-bottom:8px;}
.header .tagline{color:rgba(255,255,255,0.8);font-size:14px;}
.search-box{background:#fff;border-radius:12px;padding:35px;box-shadow:0 4px 20px rgba(0,0,0,0.08);margin-bottom:25px;position:relative;z-index:10;}
.search-form{display:flex;gap:12px;max-width:450px;margin:0 auto;}
.search-input{flex:1;padding:14px 18px;font-size:15px;border:2px solid #e0e0e0;border-radius:8px;outline:none;transition:border-color 0.3s;background:#fafafa;}
.search-input:focus{border-color:#0080ff;box-shadow:0 0 0 3px rgba(0,128,255,0.1);background:#fff;}
.search-btn{padding:14px 30px;background:linear-gradient(135deg,#0080ff 0%,#00aaff 100%);color:#fff;border:none;border-radius:8px;font-size:15px;font-weight:600;cursor:pointer;transition:all 0.2s;box-shadow:0 2px 8px rgba(0,128,255,0.3);}
.search-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,128,255,0.4);}
.features{margin-bottom:25px;}
.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;}
.feature-item{background:#fff;border-radius:8px;padding:18px;text-align:center;box-shadow:0 2px 6px rgba(0,0,0,0.04);border-top:3px solid #0080ff;}
.feature-icon{font-size:24px;margin-bottom:8px;}
.feature-text{font-size:12px;color:#666;}
.recent-searches{background:#fff;border-radius:12px;padding:20px;box-shadow:0 4px 12px rgba(0,0,0,0.06);margin-bottom:25px;}
.recent-title{color:#333;margin-bottom:15px;font-weight:500;font-size:16px;}
.recent-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;}
.footer{background:#fff;border-top:1px solid #eaeaea;padding:25px 0;margin-top:30px;}
.footer-content{max-width:900px;margin:0 auto;padding:0 15px;}
.footer-links{display:flex;justify-content:center;gap:20px;margin-bottom:15px;}
.footer-links a{color:#666;text-decoration:none;font-size:12px;}
.footer-info{text-align:center;color:#999;font-size:12px;line-height:1.6;}
.top-header{padding:15px 0;border-bottom:1px solid #eaeaea;margin-bottom:20px;background:#fff;}
.header-content{display:flex;justify-content:center;align-items:center;gap:15px;max-width:900px;margin:0 auto;padding:0 15px;}
.top-search{flex:1;max-width:450px;}
.top-search .search-form{max-width:100%;}
.domain-header{background:#fff;border-radius:10px;padding:20px;margin-bottom:20px;box-shadow:0 4px 12px rgba(0,0,0,0.06);}
.domain-title-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:0;flex-wrap:nowrap;gap:15px;}
.domain-info{flex:1;min-width:200px;}
.domain-name{font-size:22px;font-weight:600;color:#333;margin-bottom:6px;}
.domain-site-name{color:#0080ff;font-size:14px;margin-bottom:8px;}
.domain-ip-row{display:flex;align-items:center;gap:10px;}
.domain-ip-label{color:#666;font-size:12px;}
.domain-ip-value{color:#333;font-size:12px;font-weight:500;}
.domain-thumbnail{width:100px;height:75px;flex-shrink:0;}
.screenshot-wrapper{width:100px;height:75px;border-radius:4px;overflow:hidden;box-shadow:0 1px 4px rgba(0,0,0,0.1);position:relative;border:1px solid #eaeaea;}
.site-screenshot{width:100%;height:100%;object-fit:cover;display:none;}
.screenshot-fallback{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:#f8f9fa;color:#999;font-size:11px;}
.domain-actions{display:flex;flex-direction:column;gap:6px;align-items:flex-end;min-width:120px;height:75px;}
.action-btn{height:21px;padding:0 14px;background:#fff;border:1px solid #0080ff;color:#0080ff;border-radius:6px;cursor:pointer;font-size:12px;transition:all 0.3s;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;}
.action-btn:hover{background:#f0f7ff;}
.cache-info{color:#faad14;font-size:11px;text-align:right;}
.data-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:15px;margin:20px 0;}
.data-card{background:#fff;border-radius:8px;padding:20px;box-shadow:0 2px 6px rgba(0,0,0,0.06);text-align:center;border-top:4px solid #0080ff;}
.data-label{color:#888;font-size:12px;margin-bottom:10px;}
.data-value{font-size:26px;font-weight:700;color:#333;margin-bottom:5px;}
.data-desc{color:#666;font-size:11px;}
.info-section{background:#fff;border-radius:10px;padding:20px;margin:20px 0;box-shadow:0 4px 12px rgba(0,0,0,0.06);}
.section-title{font-size:14px;color:#333;margin-bottom:12px;font-weight:600;}
.info-section .section-title{font-size:14px;color:#333;margin-bottom:12px;font-weight:600;}
.meta-grid{display:grid;gap:12px;}
.meta-item{border-left:3px solid #0080ff;padding-left:12px;}
.meta-label{color:#666;font-size:12px;margin-bottom:5px;}
.meta-content{color:#333;font-size:13px;line-height:1.5;}
.loading-box{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);background:rgba(0,0,0,0.75);padding:25px;border-radius:10px;text-align:center;z-index:9999;display:none;}
.loading-spinner{width:35px;height:35px;border:3px solid #f3f3f3;border-top:3px solid #0080ff;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 12px;}
@keyframes spin{0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}}
.loading-text{color:#fff;font-size:14px;}
.seo-section{background:#fff;border-radius:10px;padding:20px;margin:20px 0;box-shadow:0 4px 12px rgba(0,0,0,0.06);border-left:4px solid #52c41a;}
.seo-section h4{color:#333;margin-bottom:15px;font-weight:500;font-size:16px;border-bottom:1px solid #f0f0f0;padding-bottom:8px;}
.seo-content{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:15px;}
.seo-item{background:#fafafa;border-radius:6px;padding:12px;}
.seo-label{color:#666;font-size:12px;margin-bottom:5px;}
.seo-value{color:#333;font-size:13px;font-weight:500;}
.weight-image{max-height:30px;width:auto;margin:10px 0;}
.back-to-top{position:fixed;bottom:30px;right:30px;width:44px;height:44px;background:#0080ff;color:#fff;border-radius:50%;display:none;align-items:center;justify-content:center;font-size:24px;cursor:pointer;z-index:1000;box-shadow:0 4px 12px rgba(0,128,255,0.3);line-height:1;transition:transform 0.2s;}
.back-to-top:hover{transform:scale(1.1);}
.ip-value-small{font-size:18px !important;}
.home-link{display:inline-block;padding:8px 16px;background:#52c41a;color:#fff;border-radius:4px;text-decoration:none;font-size:12px;transition:background 0.3s;}
.home-link:hover{background:#389e0d;}
.domain-info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:15px;margin:20px 0;}
.domain-info-item{background:#fff;border-radius:8px;padding:18px;box-shadow:0 2px 6px rgba(0,0,0,0.06);}
.domain-info-item h4{color:#0080ff;font-size:14px;margin-bottom:12px;}
.domain-info-item p{margin:6px 0;font-size:12px;}
.domain-status{display:inline-block;padding:3px 10px;border-radius:15px;font-size:11px;font-weight:500;}
.domain-status-active{background:#f6ffed;color:#52c41a;}
.domain-status-expired{background:#fff2e8;color:#fa541c;}
.domain-status-unknown{background:#f0f0f0;color:#8c8c8c;}
.dns-servers-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px;}
.dns-server-tag{background:#e6f7ff;color:#0080ff;padding:3px 10px;border-radius:12px;font-size:11px;}
.registrar-info{font-size:11px;color:#666;margin-top:10px;}
.time-info{font-size:11px;color:#666;margin-top:10px;}
.email-info{font-size:11px;color:#666;margin-top:10px;}
.tool-section{background:#fff;border:1px solid #0080ff;margin-top:25px;padding-bottom:15px;border-radius:10px;overflow:hidden;}
.tool-section h2{margin:0 0 15px 0;padding:0 0 0 15px;line-height:40px;font-size:16px;font-weight:bold;color:#fff;background:linear-gradient(135deg,#0080ff 0%,#00aaff 100%);text-align:left;}
.tool-links{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;padding:0 15px;}
.tool-links a{background:#f8fafc;border-radius:10px;padding:15px 10px;text-decoration:none;display:flex;flex-direction:column;align-items:center;transition:all 0.3s ease;border:1px solid #e8e8e8;}
.tool-links a:hover{background:#f0f7ff;border-color:#0080ff;}
.tool-icon-box{width:45px;height:45px;border-radius:10px;display:flex;align-items:center;justify-content:center;margin-bottom:8px;box-shadow:0 2px 6px rgba(0,0,0,0.12);}
.tool-icon-box.blue{background:linear-gradient(135deg,#4facfe 0%,#00f2fe 100%);}
.tool-icon-box.purple{background:linear-gradient(135deg,#fa709a 0%,#fee140 100%);}
.tool-icon-box.orange{background:linear-gradient(135deg,#ff9a56 0%,#ff6b6b 100%);}
.tool-icon-box.green{background:linear-gradient(135deg,#43e97b 0%,#38f9d7 100%);}
.tool-icon-box img{width:24px;height:24px;}
.tool-t{font-size:13px;color:#333;font-weight:500;text-align:center;}
.friend-link{max-width:900px;margin:0 auto 20px;padding:0 15px;}
.link-title{font-size:16px;font-weight:600;color:#333;margin-bottom:12px;}
.link-list{display:flex;flex-wrap:wrap;gap:10px;}
.seo-table{width:100%;border-collapse:collapse;background:#fff;border:1px solid #e8e8e8;margin-bottom:20px;border-radius:8px;overflow:hidden;}
.seo-table td{padding:12px 15px;text-align:left;border-bottom:1px solid #e8e8e8;font-size:13px;min-height:40px;}
.seo-table tr:nth-child(even){background:#fafafa;}
.seo-table tr:hover{background:#f0f7ff;}
.info-label-cell{width:110px;white-space:nowrap;color:#666;font-weight:500;background:#f5f5f5;border-right:1px solid #e8e8e8;vertical-align:top;}
.weight-row{display:flex;flex-wrap:wrap;gap:20px;align-items:flex-end;}
.weight-row .weight-item{display:flex;flex-direction:column;align-items:center;gap:4px;}
.weight-row .weight-label{font-size:12px;color:#666;text-align:center;}
.weight-row .weight-img{display:block;max-height:40px;width:auto;cursor:pointer;}
.weight-row .weight-item a{display:inline-block;}
.traffic-value{color:#f5576c !important;font-weight:bold;font-size:14px;}
.sub-traffic{color:#999;font-size:12px;margin-left:10px;}
.info-card{margin-top:10px;}
.info-card.sl-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}
.sl-labels {
    display: flex;
    justify-content: space-around;
    gap: 10px;
}
.sl-labels span {
    flex: 1;
    text-align: center;
    font-size: 12px;
    color: #666;
    padding: 8px 0;
    background: #fff;
    border-radius: 6px;
}
.sl-values {
    display: flex;
    justify-content: space-around;
    gap: 10px;
}
.sl-values span {
    flex: 1;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    padding: 12px 0;
    background: linear-gradient(135deg, #0080ff 0%, #00aaff 100%);
    color: #fff;
    border-radius: 6px;
}
.sl-values span a {
    color: #fff;
    text-decoration: none;
}
.sl-values span a:hover {
    color: #fff;
    text-decoration: underline;
}
.info-subtitle{font-size:14px;font-weight:600;color:#666;margin-bottom:12px;padding:10px 15px;background:#f8f9fa;border-left:4px solid #0080ff;}
.info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:15px;padding:0 10px 15px;border-bottom:1px dashed #e8e8e8;margin-bottom:12px;}
.info-grid:last-child{border-bottom:none;margin-bottom:0;}
.info-item{padding:10px;background:#fafafa;border-radius:6px;}
.info-label{font-size:11px;color:#999;margin-bottom:5px;}
.info-value{font-size:12px;font-weight:500;color:#333;line-height:1.6;}
.keywords-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px;}
.keyword-tag{display:inline-block;padding:5px 12px;background:linear-gradient(135deg,#0080ff 0%,#00aaff 100%);color:#fff;border-radius:16px;font-size:11px;transition:all 0.3s;}
.keyword-tag:hover{transform:translateY(-1px);box-shadow:0 3px 8px rgba(0,128,255,0.3);}
.tool-desc{font-size:14px;color:#666;line-height:1.6;margin-bottom:15px;}
.quick-info{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:12px;}
.quick-item{display:flex;padding:12px;background:#fafafa;border-radius:6px;}
.quick-label{font-size:13px;color:#999;width:100px;flex-shrink:0;}
.quick-value{font-size:13px;color:#333;font-weight:500;}
.keywords-container {max-width:1000px;margin:0 auto;padding:20px;}
.keywords-header {display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;flex-wrap:wrap;gap:15px;}
.header-actions {display:flex;align-items:center;gap:15px;flex-wrap:wrap;}
.type-tabs {display:flex;gap:8px;}
.type-tab {padding:8px 20px;border:2px solid #e0e0e0;border-radius:25px;background:white;font-size:14px;font-weight:500;color:#666;cursor:pointer;transition:all 0.3s;text-decoration:none;}
.type-tab:hover {border-color:#1a73e8;color:#1a73e8;}
.type-tab.active {background:#1a73e8;border-color:#1a73e8;color:white;}
.refresh-btn {padding:8px 16px;border:1px solid #1a73e8;border-radius:20px;background:#1a73e8;color:white;font-size:13px;cursor:pointer;transition:all 0.3s;}
.refresh-btn:hover {background:#1557b0;}
.download-btn {padding:8px 16px;border:1px solid #34a853;border-radius:20px;background:#34a853;color:white;font-size:13px;cursor:pointer;transition:all 0.3s;}
.download-btn:hover {background:#2d8e47;}
.download-tip-modal {position:fixed;top:0;left:0;width:100%;height:100%;z-index:9999;display:flex;align-items:center;justify-content:center;}
.download-tip-modal .tip-overlay {position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.5);}
.download-tip-modal .tip-content {position:relative;background:white;border-radius:12px;padding:30px;max-width:400px;width:90%;text-align:center;box-shadow:0 10px 40px rgba(0,0,0,0.2);animation:tipFadeIn 0.3s ease;}
@keyframes tipFadeIn {from{opacity:0;transform:scale(0.9);}to{opacity:1;transform:scale(1);}}
.download-tip-modal .tip-icon {font-size:48px;margin-bottom:15px;}
.download-tip-modal .tip-title {font-size:20px;font-weight:600;color:#333;margin-bottom:10px;}
.download-tip-modal .tip-message {font-size:14px;color:#666;line-height:1.6;margin-bottom:25px;}
.download-tip-modal .tip-buttons {display:flex;gap:10px;justify-content:center;flex-wrap:wrap;}
.download-tip-modal .tip-btn {padding:10px 20px;border-radius:8px;font-size:14px;text-decoration:none;cursor:pointer;transition:all 0.3s;border:none;}
.download-tip-modal .tip-btn.register {background:linear-gradient(135deg, #667eea 0%, #764ba2 100%);color:white;}
.download-tip-modal .tip-btn.register:hover {transform:translateY(-2px);box-shadow:0 4px 12px rgba(102,126,234,0.4);}
.download-tip-modal .tip-btn.download {background:#34a853;color:white;}
.download-tip-modal .tip-btn.download:hover {background:#2d8e47;}
.download-tip-modal .tip-btn.close {background:#f5f5f5;color:#666;}
.download-tip-modal .tip-btn.close:hover {background:#e0e0e0;}
.keywords-stats {display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:15px;margin-bottom:20px;}
.weight-summary {background:white;border-radius:12px;padding:20px;margin-bottom:20px;box-shadow:0 4px 12px rgba(0,0,0,0.06);}
.weight-summary .weight-cards {display:grid;grid-template-columns:repeat(3, 1fr);gap:20px;}
.weight-summary .weight-card {background:linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);border-radius:10px;padding:18px 20px;text-align:center;}
.weight-summary .weight-card-title {font-size:13px;color:#666;font-weight:500;margin-bottom:10px;}
.weight-summary .weight-card-value {font-size:20px;font-weight:700;color:#1a73e8;margin-bottom:8px;line-height:1.2;word-break:break-all;}
.weight-summary .weight-card-value.total {color:#f5576c;}
.weight-summary .weight-card-img {margin-top:10px;}
.weight-summary .weight-card-img img {max-height:28px;width:auto;}
.stat-card {background:white;border-radius:12px;padding:20px;text-align:center;box-shadow:0 4px 12px rgba(0,0,0,0.06);border-top:4px solid #1a73e8;}
.stat-label {font-size:12px;color:#999;margin-bottom:8px;}
.stat-value {font-size:28px;font-weight:700;color:#1a73e8;}
.keywords-table {background:white;border-radius:12px;box-shadow:0 4px 12px rgba(0,0,0,0.06);overflow:hidden;border:1px solid #e8e8e8;}
.table-header {background:linear-gradient(135deg,#1a73e8 0%,#4285f4 100%);color:white;padding:7px 20px;font-weight:600;font-size:15px;display:flex;justify-content:space-between;align-items:center;}
.table-title {flex:1;}
.table-stats {display:flex;align-items:center;gap:15px;font-size:13px;font-weight:400;opacity:0.95;background:rgba(255,255,255,0.95);padding:3px 10px;border-radius:20px;color:#333;}
.table-stats .stat-item {display:flex;align-items:center;gap:5px;}
.table-stats .stat-num {font-weight:700;color:#0080ff;font-size:16px;}
.table-stats .stat-divider {color:#ccc;}
.table-content {overflow-x:auto;}
.keywords-table table {width:100%;border-collapse:collapse;}
.keywords-table th {padding:12px 15px;text-align:center;font-weight:600;color:#333;background:#f8f9fa;border-bottom:2px solid #e8e8e8;border-right:1px solid #e8e8e8;font-size:13px;}
.keywords-table th:last-child {border-right:none;}
.keywords-table td {padding:12px 15px;text-align:center;border-bottom:1px solid #e8e8e8;border-right:1px solid #e8e8e8;font-size:13px;}
.keywords-table td:last-child {border-right:none;}
.keywords-table tr:hover td {background:#f8f9fa;}
.keywords-table tr:last-child td {border-bottom:none;}
.rank-num {color:#1a73e8;font-weight:600;font-size:14px;}
.keyword-cell {text-align:left;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.keyword-cell a {color:#333;text-decoration:none;font-weight:500;transition:all 0.3s;position:relative;}
.keyword-cell a:hover {color:#0080ff;}
.keyword-cell a:hover::after {content:'';position:absolute;bottom:-2px;left:0;width:100%;height:2px;background:linear-gradient(90deg,#0080ff,#00aaff);border-radius:2px;}
.keyword-cell a:visited {color:#333;}
.keyword-cell a:visited:hover {color:#0080ff;}
.title-cell {text-align:left;max-width:250px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.title-cell a {color:#333;text-decoration:none;transition:all 0.3s;}
.title-cell a:hover {color:#0080ff;}
.title-cell a:visited {color:#333;}
.title-cell a:visited:hover {color:#0080ff;}
.rank-badge {display:inline-block;width:32px;height:32px;line-height:32px;text-align:center;border-radius:8px;font-weight:700;font-size:14px;}
.rank-badge.rank-1 {background:linear-gradient(135deg,#ffd700 0%,#ffb800 100%);color:#fff;box-shadow:0 2px 8px rgba(255,215,0,0.4);}
.rank-badge.rank-2 {background:linear-gradient(135deg,#c0c0c0 0%,#a0a0a0 100%);color:#fff;box-shadow:0 2px 8px rgba(192,192,192,0.4);}
.rank-badge.rank-3 {background:linear-gradient(135deg,#cd7f32 0%,#b87333 100%);color:#fff;box-shadow:0 2px 8px rgba(205,127,50,0.4);}
.rank-badge.rank-top {background:linear-gradient(135deg,#1a73e8 0%,#4285f4 100%);color:#fff;box-shadow:0 2px 8px rgba(26,115,232,0.3);}
.rank-badge.rank-normal {background:#f5f7fa;color:#333;}
.zs-value {color:#f5576c;font-weight:500;}
.empty-state {text-align:center;padding:80px 20px;background:white;border-radius:12px;box-shadow:0 4px 12px rgba(0,0,0,0.06);}
.empty-icon {font-size:56px;margin-bottom:20px;opacity:0.5;}
.empty-title {font-size:20px;color:#333;margin-bottom:10px;}
.empty-desc {font-size:14px;color:#999;}
.loading-container {text-align:center;padding:60px 20px;background:white;border-radius:12px;box-shadow:0 4px 12px rgba(0,0,0,0.06);}
.loading-spinner {width:48px;height:48px;border:4px solid #f3f3f3;border-top:4px solid #1a73e8;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 20px;}
@keyframes spin {0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}}
.loading-text {font-size:16px;color:#666;}
.content-wrapper {display:none;}
.content-wrapper.loaded {display:block;}
.history-title {font-size:24px;font-weight:600;color:#333;}
.pagination-container {margin-top:20px;display:flex;justify-content:center;}
.pagination {display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:center;}
.page-info {font-size:14px;color:#666;margin-right:10px;}
.page-nav {display:flex;gap:5px;flex-wrap:wrap;}
.page-item {padding:6px 12px;border:1px solid #e0e0e0;border-radius:6px;background:white;color:#666;text-decoration:none;font-size:13px;transition:all 0.3s;}
.page-item:hover {border-color:#1a73e8;color:#1a73e8;}
.page-item.active {background:#1a73e8;border-color:#1a73e8;color:white;}
@media (max-width:768px) {
    .keywords-table th,.keywords-table td {padding:8px 5px;font-size:12px;}
    .keywords-header {flex-direction:column;align-items:flex-start;}
    .header-actions {width:100%;}
    .weight-summary .weight-cards {grid-template-columns:1fr;gap:15px;}
    .weight-summary .weight-card {padding:15px;}
    .weight-summary .weight-card-value {font-size:16px;}
    .table-header {flex-direction:column;gap:10px;align-items:flex-start;}
    .table-stats {font-size:12px;}
    .table-stats .stat-num {font-size:14px;}
}
.code-box{background:#2d2d2d;padding:18px;border-radius:6px;margin-bottom:12px;}
.code-box pre{color:#ccc;font-size:13px;margin:0;overflow-x:auto;}
.code-desc{font-size:13px;color:#999;}
.recent-searches{display:flex;flex-wrap:wrap;gap:8px;}
.recent-item{padding:7px 14px;background:#f0f7ff;color:#0080ff;text-decoration:none;font-size:13px;border-radius:20px;transition:all 0.3s;border:1px solid #e0e7ff;}
.recent-item:hover{background:#0080ff;color:#fff;border-color:#0080ff;}
.weight-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:15px;margin:20px 0;}
.weight-card{background:#fff;border-radius:10px;padding:18px;box-shadow:0 2px 8px rgba(0,0,0,0.06);position:relative;overflow:hidden;}
.weight-card::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:var(--card-color);}
.weight-card.baidu{--card-color:#0080ff;}
.weight-card.sogou{--card-color:#f5576c;}
.weight-card.so{--card-color:#00c853;}
.weight-card.toutiao{--card-color:#ff6034;}
.weight-header{display:flex;align-items:center;gap:12px;margin-bottom:15px;}
.weight-icon-box{width:38px;height:38px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:600;color:white;}
.weight-card.baidu .weight-icon-box{background:#0080ff;}
.weight-card.sogou .weight-icon-box{background:#f5576c;}
.weight-card.so .weight-icon-box{background:#00c853;}
.weight-card.toutiao .weight-icon-box{background:#ff6034;}
.weight-title{font-size:14px;font-weight:600;color:#333;}
.weight-subtitle{font-size:11px;color:#999;}
.weight-body{display:flex;justify-content:space-around;align-items:center;padding:12px 0;border-top:1px solid #f0f0f0;border-bottom:1px solid #f0f0f0;margin-bottom:12px;}
.weight-item{text-align:center;}
.weight-label{font-size:11px;color:#999;margin-bottom:6px;}
.weight-value{font-size:34px;font-weight:700;}
.weight-card.baidu .weight-value{color:#0080ff;}
.weight-card.sogou .weight-value{color:#f5576c;}
.weight-card.so .weight-value{color:#00c853;}
.weight-card.toutiao .weight-value{color:#ff6034;}
.weight-traffic{display:flex;justify-content:space-between;align-items:center;}
.traffic-label{font-size:11px;color:#999;}
.traffic-value{font-size:13px;font-weight:500;color:#333;}

.pagination-container{margin-top:20px;padding:15px;background:#fff;border-radius:10px;box-shadow:0 2px 8px rgba(0,0,0,0.06);}
.pagination{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:15px;}
.page-info{color:#666;font-size:14px;}
.page-nav{display:flex;align-items:center;gap:6px;flex-wrap:wrap;}
.page-item{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;padding:0 12px;border:1px solid #e0e0e0;border-radius:6px;background:#fff;color:#666;text-decoration:none;font-size:14px;transition:all 0.3s;}
.page-item:hover:not(.disabled):not(.active){border-color:#0080ff;color:#0080ff;background:#f0f7ff;}
.page-item.active{background:#0080ff;border-color:#0080ff;color:#fff;}
.page-item.disabled{opacity:0.4;cursor:not-allowed;pointer-events:none;}
.link-list a{padding:8px 18px;background:#fff;border:1px solid #e0e0e0;border-radius:6px;color:#666;text-decoration:none;font-size:14px;transition:all 0.3s;}
.link-list a:hover{border-color:#0080ff;color:#0080ff;background:#f0f7ff;}
@media (max-width:768px){
    .logo{font-size:14px;margin-bottom:2px;}
    .tagline{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:150px;}
    .search-form{flex-direction:column;}
    .search-btn{width:100%;}
    .feature-grid{grid-template-columns:repeat(2,1fr);}
    .recent-list{grid-template-columns:1fr;}
    .footer-links{flex-wrap:wrap;gap:15px;}
    .header-content{flex-direction:column;}
    .top-search{max-width:100%;}
    .domain-title-row{flex-direction:row;flex-wrap:wrap;align-items:center;}
    .domain-thumbnail{width:80px;height:60px;margin:10px 0 0 0;}
    .domain-actions{display:flex;flex-direction:row;gap:8px;align-items:center;margin-top:15px;width:100%;flex-wrap:wrap;}
    .action-btn{padding:8px 12px;font-size:11px;white-space:nowrap;}
    .data-grid{grid-template-columns:repeat(2,1fr);}
    .domain-info-grid{grid-template-columns:1fr;}
    .seo-content{grid-template-columns:1fr;}
    .back-to-top{bottom:20px;right:20px;width:40px;height:40px;font-size:20px;}
    .tool-links{grid-template-columns:repeat(2,1fr);gap:12px;padding:0 10px;}
    .tool-links a{padding:12px 8px;}
    .tool-icon-box{width:40px;height:40px;}
    .tool-icon-box img{width:20px;height:20px;}
    .tool-t{font-size:12px;}
    .weight-grid{grid-template-columns:1fr;}
    .weight-value{font-size:28px;}
    .weight-row{gap:12px;}
    .weight-item{flex:1;min-width:70px;}
    .weight-img{max-height:30px;}
    .weight-label{font-size:11px;}
    .info-label-cell{width:80px;font-size:12px;}
    .quick-info{grid-template-columns:1fr;}
    .pagination{flex-direction:column;text-align:center;}
    .page-info{order:2;}
    .page-nav{order:1;}
    .page-item{min-width:32px;height:32px;font-size:13px;}
    .nav-actions{gap:6px;flex-shrink:0;}
    .nav-content{gap:10px;flex-wrap:nowrap;}
    .logo-wrap{flex:0 0 auto;min-width:0;}
    .user-link,.logout-link,.login-link,.register-link{padding:5px 8px;font-size:10px;white-space:nowrap;}
    .user-name{font-size:11px;max-width:60px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
    .top-nav{padding:10px 0;}
    .search-input{padding:12px 15px;font-size:14px;}
    .search-btn{padding:12px 20px;font-size:14px;}
    .header{padding:20px 0;}
    .header .logo{font-size:22px;}
    .header-content{flex-direction:column;gap:15px;}
    .nav-actions{width:100%;justify-content:center;}
    .search-form{max-width:100%;}
}
