/* ==========================================================================
   seobole.com 站点详情页样式
   主色：#1296db
   ========================================================================== */

.main-left { width: 778px; }
.main-right { width: 302px; margin-left: 20px; }

.list-crumb { padding: 12px 0 10px; font-size: 13px; color: #999; }
.list-crumb a { color: #999; transition: color .2s; }
.list-crumb a:hover { color: #1296db; }
.list-crumb span { margin: 0 6px; color: #ccc; }
.list-crumb .cur { color: #666; margin: 0; }

/* ---------- 站点档案卡 ---------- */
.site-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 8px;
    padding: 24px 28px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .03);
}
.site-card-head {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f2f3f5;
}
.sc-logo {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    background: #f7f8fa;
    border: 1px solid #eef0f2;
}
.sc-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sc-headmain { flex: 1 1 auto; min-width: 0; }
.sc-title {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    word-wrap: break-word;
}
.sc-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 9px;
    font-size: 13px;
    color: #9099a2;
}
.sc-meta em { font-style: normal; color: #1296db; font-weight: 600; }
.sc-robot {
    padding: 3px 12px;
    font-size: 12px;
    color: #1296db;
    background: #f2f9fe;
    border: 1px solid #cfe7f8;
    border-radius: 12px;
    transition: background .2s;
}
.sc-robot:hover { background: #e5f4fd; }

.site-card-body { padding-top: 18px; }
.sc-status {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 18px;
    font-size: 13px;
}
.sc-ok { background: #f0faf1; }
.sc-warn { background: #fff8f0; }
.sc-warn em { font-style: normal; color: #c9752a; line-height: 1.7; }
.sc-badge {
    flex: 0 0 auto;
    padding: 3px 11px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    color: #fff;
}
.sc-ok .sc-badge { background: #3fa64c; }
.sc-warn .sc-badge { background: #e8722a; }
.sc-visit {
    flex: 0 0 auto;
    margin-left: auto;
    padding: 6px 18px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #1296db, #0d7fbb);
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(18, 150, 219, .26);
    transition: transform .2s;
}
.sc-visit:hover { transform: translateY(-1px); }

.sc-desc { display: flex; gap: 14px; margin-bottom: 16px; }
.sc-label {
    flex: 0 0 auto;
    display: inline-block;
    height: 22px;
    line-height: 22px;
    padding: 0 10px;
    font-size: 12px;
    color: #1296db;
    background: #f2f9fe;
    border-radius: 4px;
    margin-top: 2px;
}
.sc-desc p {
    flex: 1 1 auto;
    font-size: 14px;
    line-height: 1.85;
    color: #555;
    word-wrap: break-word;
}
.sc-tags { display: flex; gap: 14px; }
.sc-taglist { flex: 1 1 auto; }
.sc-taglist a {
    display: inline-block;
    padding: 3px 11px;
    margin: 0 8px 7px 0;
    font-size: 13px;
    color: #777;
    background: #f7f8fa;
    border-radius: 4px;
    transition: background .2s, color .2s;
}
.sc-taglist a:hover { background: #f2f9fe; color: #1296db; }

/* ---------- 通用区块 ---------- */
.site-sec {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 8px;
    padding: 20px 26px 22px;
    margin-top: 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .03);
}
.sec-title {
    position: relative;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    padding-left: 12px;
    margin-bottom: 18px;
    line-height: 1.4;
}
.sec-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 4px;
    height: 15px;
    border-radius: 2px;
    background: #1296db;
}

/* ---------- 评分 ---------- */
.score-row { display: flex; align-items: center; gap: 30px; }
.score-ring { position: relative; flex: 0 0 120px; width: 120px; height: 120px; }
.score-ring svg { display: block; }
.score-num {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1px;
}
.score-num strong {
    font-size: 30px;
    font-weight: 700;
    color: #1296db;
    line-height: 1;
}
.score-num span { font-size: 13px; color: #1296db; }
.score-list { flex: 1 1 auto; min-width: 0; }
.score-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px dashed #f0f1f3;
    font-size: 13px;
}
.score-list li:last-child { border-bottom: none; }
.sl-name { flex: 0 0 78px; color: #9099a2; }
.sl-val {
    flex: 0 0 auto;
    color: #1a1a1a;
    font-weight: 600;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sl-tip { color: #b6bec6; font-size: 12px; }

/* ---------- 收录情况 ---------- */
.rank-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}
.rank-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 8px;
    background: #fafbfc;
    border: 1px solid #eef0f2;
    border-radius: 8px;
}
.rk-name { font-size: 12px; color: #9099a2; }
.rank-item img { height: 22px; }
.rk-num {
    font-size: 20px;
    font-weight: 700;
    color: #1296db;
    line-height: 1.3;
}
.rank-refresh {
    display: flex;
    align-items: center;
    gap: 12px;
}
.rank-btn {
    display: inline-block;
    padding: 7px 18px;
    font-size: 13px;
    color: #1296db;
    background: #f2f9fe;
    border: 1px solid #cfe7f8;
    border-radius: 16px;
    cursor: pointer;
    transition: background .2s;
    user-select: none;
}
.rank-btn:hover { background: #e5f4fd; }
.rank-tip { font-size: 12px; color: #b6bec6; }

/* ---------- AI 建议 ---------- */
.ai-advice {
    font-size: 14px;
    line-height: 1.9;
    color: #555;
    word-wrap: break-word;
}

/* ---------- 上下篇 ---------- */
.prev-next {
    display: flex;
    gap: 14px;
    margin-top: 14px;
}
.pn-item {
    flex: 1 1 50%;
    min-width: 0;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 8px;
    padding: 14px 18px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .03);
    transition: border-color .2s, box-shadow .2s;
}
.pn-item:hover { border-color: #cfe7f8; box-shadow: 0 3px 10px rgba(18, 150, 219, .08); }
.pn-label {
    display: block;
    font-size: 12px;
    color: #a5adb6;
    margin-bottom: 6px;
}
.pn-item a {
    display: block;
    font-size: 14px;
    color: #2b2b2b;
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color .2s;
}
.pn-item a:hover { color: #1296db; }
.pn-none { font-size: 14px; color: #c5ccd3; }

/* ---------- 类似网站 ---------- */
.like-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.like-item {
    display: block;
    padding: 11px 16px;
    font-size: 14px;
    color: #444;
    background: #fafbfc;
    border: 1px solid #eef0f2;
    border-radius: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: background .2s, color .2s, border-color .2s;
}
.like-item:hover {
    background: #f2f9fe;
    color: #1296db;
    border-color: #cfe7f8;
}

/* ---------- 右侧栏 ---------- */
.lside {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .03);
}
.lside-title {
    position: relative;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    padding: 14px 16px 12px 28px;
    border-bottom: 1px solid #f0f0f0;
}
.lside-title::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 18px;
    width: 4px;
    height: 14px;
    border-radius: 2px;
    background: #1296db;
}
.lside-list { padding: 6px 6px 10px; }
.lside-list li { overflow: hidden; margin: 1px 0; }
.lside-list li a {
    display: block;
    padding: 0 12px;
    font-size: 14px;
    color: #444;
    line-height: 38px;
    border-radius: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: background .2s, color .2s;
}
.lside-list li a:hover { background: #f2f9fe; color: #1296db; }

/* ---------- 友情链接 ---------- */
.flink {
    padding: 16px 22px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 8px;
    margin-bottom: 10px;
}
.flink h3 {
    position: relative;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    padding-left: 12px;
    line-height: 1.5;
    margin-bottom: 12px;
}
.flink h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 4px;
    height: 14px;
    border-radius: 2px;
    background: #1296db;
}
.flink .links a {
    display: inline-block;
    padding: 3px 10px;
    margin: 0 8px 6px 0;
    font-size: 13px;
    color: #777;
    background: #f7f8fa;
    border-radius: 4px;
    transition: background .2s, color .2s;
}
.flink .links a:hover { background: #f2f9fe; color: #1296db; }

/* ---------- 响应式 ---------- */
@media screen and (max-width: 1200px) {
    .container { width: 100%; padding: 0 10px; box-sizing: border-box; }
    .main-left  { width: calc(100% - 320px); }
    .main-right { width: 300px; margin-left: 20px; }
}
@media screen and (max-width: 900px) {
    .main-left, .main-right { width: 100%; float: none; margin-left: 0; }
    .main-right { margin-top: 14px; }
    .site-card { padding: 18px 16px; }
    .site-card-head { gap: 12px; }
    .sc-title { font-size: 18px; }
    .score-row { flex-direction: column; gap: 18px; }
    .score-list { width: 100%; }
    .sl-name { flex: 0 0 66px; }
    .rank-grid { grid-template-columns: repeat(2, 1fr); }
    .prev-next { flex-direction: column; }
    .like-grid { grid-template-columns: 1fr; }
    .site-sec { padding: 16px 14px 18px; }
}
