@charset "utf-8";
@import url("reset.css");

/* Base Styles */
body, td, th, input, select, textarea {
    color: #666; 
    font: 12px/1.5 "微软雅黑";
}

a {
    color: #666; 
    text-decoration: none;
}

a:hover {
    color: #f30; 
    text-decoration: none;
}

.blank10 {
    display: block; 
    height: 10px; 
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

/* Layout */
#wrapper {
    margin: 0 auto; 
    width: 1200px;
    max-width: 100%;
}

#mainbox {
    margin-top: 10px;
}

#mainbox-left {
    float: left; 
    width: 880px;
}

#mainbox-right {
    float: right; 
    width: 300px;
}

/* Website Header */
.website-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.website-header img {
    margin-right: 10px;
}

.wtitle {
    font-size: 24px;
    margin: 0;
    flex-grow: 1;
}

.visit-button {
    padding: 6px 12px;
    background: #65bc0b;
    color: white;
    border-radius: 4px;
    font-weight: bold;
    display: inline-block;
}

/* Website Data */
.wdata {
    background: #fcfcfc;
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 12px;
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    grid-gap: 10px;
    text-align: center;
}

.wdata li {
    padding: 8px 0;
}

.value {
    display: block;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 5px;
}

.value.highlight {
    color: #f60;
}

.rank-image {
    display: block;
    margin: 0 auto;
}

/* Params Section */
.params {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.qrcode-box {
    flex: 0 0 180px;
    text-align: center;
    padding: 10px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 5px;
    margin-right: 20px;
}

.qrcode {
    max-width: 100%;
    height: auto;
}

.qrcode-text {
    margin-top: 8px;
    font-size: 13px;
    color: #666;
}

.siteitem {
    flex: 1;
    min-width: 300px;
}

.siteitem li {
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
    display: flex;
    flex-wrap: wrap;
}

.siteitem li strong {
    width: 80px;
    flex-shrink: 0;
}

.search-box {
    display: block;
}

.search-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    grid-gap: 8px;
    margin-top: 8px;
}

.search-links a {
    display: block;
    font-size: 13px;
    padding: 3px 6px;
    background: #f5f8fa;
    border-radius: 3px;
    text-align: center;
}

.claim-button {
    background: #08F;
    color: #fff;
    padding: 3px 10px;
    border-radius: 1em;
    font-size: 14px;
    margin-left: 10px;
}

/* Website Intro */
.website-intro {
    margin-bottom: 20px;
}

.section-title {
    background: #008CFF;
    color: #fff;
    padding: 6px 15px;
    border-radius: 1em 0;
    display: inline-block;
    margin-bottom: 15px;
    font-weight: bold;
}

.intro-content {
    font-size: 14px;
    line-height: 1.8;
    padding: 0 10px;
    text-indent: 2em;
}

/* Website Screenshot */
.website-screenshot {
    margin: 25px 0;
    text-align: center;
}

.website-screenshot img {
    max-width: 90%;
    height: auto;
    border: 1px solid #eee;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Copyright Section */
.copyright-notice {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    border-left: 3px solid #008CFF;
    margin: 20px 0;
}

.copyright-info {
    margin-top: 20px;
    padding: 15px;
    background: #f5f9ff;
    border: 1px dashed #008CFF;
    border-radius: 8px;
}

.copyright-info h4 {
    text-align: center;
    background: #008CFF;
    color: white;
    padding: 6px;
    border-radius: 5px;
    font-size: 14px;
    margin-bottom: 12px;
}

.copyright-info ul {
    padding-left: 15px;
}

.copyright-info li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.report-button {
    color: #FF6600;
    font-weight: bold;
}

/* Related Sites */
#relsite {
    background: #fff;
    padding: 15px;
    border: 1px solid #e8e8e8;
    border-radius: 5px;
    margin-top: 20px;
}

.rellist {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    grid-gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.rellist li {
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.rellist li:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.rellist img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.rellist p {
    margin: 0;
    padding: 8px;
    text-align: center;
    background: #f8f8f8;
}

/* Recommended Sites */
#recommended-sites {
    border: 1px solid #e8e8e8;
    border-radius: 5px;
    margin-top: 20px;
    padding: 15px;
    background: #fff;
}

.weblist_b {
    list-style: none;
    padding: 0;
}

.weblist_b li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.weblist_b li:last-child {
    border-bottom: none;
}

.weblist_b img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 8px;
}

.weblist_b strong {
    display: block;
    font-size: 14px;
    color: #06c;
}

.weblist_b p {
    font-size: 13px;
    color: #666;
    margin: 8px 0;
    line-height: 1.5;
    height: 40px;
    overflow: hidden;
}

.visit-link a {
    display: inline-block;
    background: #08c;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 13px;
}

/* Latest Sites */
#inbox {
    border: solid 1px #e8e8e8;
    padding: 15px;
    border-radius: 5px;
    background: #fff;
    margin: 20px 0;
}

.inlist {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-gap: 12px;
}

.inlist li {
    padding: 6px 0;
    border-bottom: 1px dashed #eee;
}

/* Responsive */
@media (max-width: 1024px) {
    #mainbox-left {
        width: 68%;
    }
    
    #mainbox-right {
        width: 30%;
    }
}

@media (max-width: 768px) {
    #mainbox {
        flex-direction: column;
    }
    
    #mainbox-left,
    #mainbox-right {
        width: 100%;
        float: none;
    }
    
    .website-header {
        flex-wrap: wrap;
    }
    
    .wtitle {
        font-size: 20px;
    }
    
    .params {
        flex-direction: column;
    }
    
    .qrcode-box {
        margin: 0 auto 20px;
    }
    
    .wdata {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .rellist {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .inlist {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .wdata {
        grid-template-columns: 1fr;
    }
    
    .siteitem li {
        flex-direction: column;
    }
    
    .siteitem li strong {
        width: 100%;
        margin-bottom: 5px;
    }
    
    .search-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .rellist {
        grid-template-columns: 1fr;
    }
    
    .inlist {
        grid-template-columns: repeat(2, 1fr);
    }
}