.site-hero-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 20px;
    border-radius: var(--radius);
    background: var(--card);
    border: 1px solid var(--border);
    margin-bottom: 16px;
}
.site-hero-logo {
    width: 92px;
    height: 92px;
    border-radius: 16px;
    object-fit: cover;
    flex: 0 0 92px;
    background: var(--inner-bg);
}
.site-hero-body { min-width: 0; flex: 1; }
.site-hero-body h1 {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.site-hero-body h1 .badge {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
}
.site-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.site-tags a, .site-tags span {
    font-size: 11px;
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--inner-bg);
    color: var(--muted);
}
.site-weight-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}
.weight-badge {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 18px;
    border-radius: 4px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    text-decoration: none;
    overflow: hidden;
    transition: filter .15s ease;
}
.weight-badge b {
    position: absolute;
    top: 0;
    right: 0;
    width: 26px;
    line-height: 18px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    font-variant-numeric: tabular-nums;
}
.weight-badge--baidu { background-image: url("../images/weight/baidupc.png"); }
.weight-badge--mobile { background-image: url("../images/weight/baidumobile.png"); }
.weight-badge--haosou { background-image: url("../images/weight/360.png"); }
.weight-badge--shenma { background-image: url("../images/weight/sm.png"); }
.weight-badge--toutiao { background-image: url("../images/weight/toutiao.png"); }
.weight-badge:hover { filter: brightness(1.06); }
.weight-badge.is-loading {
    background-image: none;
    background: linear-gradient(115deg, var(--chip-bg) 25%, var(--inner-bg) 37%, var(--chip-bg) 63%);
    background-size: 400% 100%;
    animation: weightShimmer 1.4s ease infinite;
}
.weight-badge.is-loading b { opacity: 0; }
@keyframes weightShimmer {
    0% { background-position: 100% 50%; }
    100% { background-position: 0 50%; }
}
.site-qr { position: relative; display: inline-flex; }

/* 触屏设备不显示「手机查看」：用自己手机扫自己屏幕没有意义。
   宽度 <=820px 或设备本身没有悬停能力（手机 / 平板）都隐藏。
   这条规则原来写在已删除的 site.css 里，等于从没生效过。 */
@media (max-width: 820px), (hover: none) {
    .site-qr { display: none !important; }
}
.site-qr__panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 60;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s;
    pointer-events: none;
}
.site-qr:hover .site-qr__panel,
.site-qr:focus-within .site-qr__panel,
.site-qr.is-open .site-qr__panel {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
}
.site-qr-code {
    width: 148px;
    height: 148px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 6px;
}
.site-qr-placeholder { font-size: 12px; color: var(--muted2); text-align: center; }
.site-qr-code canvas { width: 148px !important; height: 148px !important; display: block !important; }
.site-qr-code img { display: none !important; }
.site-qr-tip { font-size: 11px; color: var(--muted2); max-width: 148px; text-align: center; line-height: 1.5; }
.site-hero-actions .site-report-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    width: 32px;
    min-height: 32px;
    height: auto;
    padding: 0;
    border-radius: 8px;
    background: #ef4444;
    border-color: #ef4444;
    color: #fff;
    font-size: 17px;
    line-height: 1;
}
.site-hero-actions .site-report-btn:hover { background: #dc2626; border-color: #dc2626; opacity: 1; }
.site-hero-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; margin-top: 14px; }
.site-hero-actions a, .site-hero-actions button {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    padding: 7px 13px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--muted);
    cursor: pointer;
}
.site-hero-actions .primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.site-hero-actions a:hover, .site-hero-actions button:hover { opacity: .9; }
.site-intro-text {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.95;
    color: var(--text);
    word-break: break-word;
}
.site-intro-text a { color: var(--primary); }
.site-intro-empty { color: var(--muted2); }
.site-intro-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px dashed var(--border);
    font-size: 12px;
    color: var(--muted2);
}
.site-intro-meta span { display: inline-flex; align-items: center; gap: 4px; }
.site-intro-meta i { font-size: 14px; }
.site-eval-p {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.95;
    color: var(--muted);
    word-break: break-word;
}
.site-eval-p:last-of-type { margin-bottom: 0; }
.site-eval-p strong { color: var(--text); font-weight: 600; }
.site-eval-p a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px dashed rgba(37, 99, 235, .38);
}
.site-eval-p a:hover { border-bottom-style: solid; }
.site-eval-declare {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px dashed var(--border);
}
.site-eval-declare-title {
    margin-bottom: 10px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: .5px;
}
.site-eval-declare p {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.85;
    color: var(--muted2);
    word-break: break-word;
}
.site-eval-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px dashed var(--border);
    font-size: 12px;
    color: var(--muted2);
}
.site-eval-foot a { color: var(--muted); word-break: break-all; }
.site-eval-foot a:hover { color: var(--primary); }
.site-feedback {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
.site-feedback a {
    flex: 1 1 160px;
    text-align: center;
    font-size: 12px;
    padding: 9px 12px;
    border-radius: 8px;
    border: 1px solid var(--border);
    color: var(--muted);
    background: var(--inner-bg);
}
.site-feedback a:hover { color: var(--primary); border-color: var(--primary); }

@media (max-width: 820px) {
    .site-hero-card { flex-direction: column; align-items: center; text-align: center; }
    .site-hero-body h1 { justify-content: center; }
    .site-meta, .site-hero-actions { justify-content: center; }
    /* 手机端只剩「打开网站 + 反馈」两个按钮，8px 挤在一起容易点错，拉开一点 */
    .site-hero-actions { gap: 14px; }
}

/* ===== 疑似版权风险站点：谨慎访问提示 =====
   影视 / 音乐 / 小说 / 动漫这类资源站，内容多为网络转载，详情页要挂免责提示。
   判定在 isj_config.php 的 isj_site_copyright_risk()，这里只管样式：
   顶部一条橙色警示（点「打开网站」前就能看到），底部特别声明里放完整条款。 */
.warn-bar--risk {
    background: #fff4e5;
    border-color: #ffc069;
    color: #9c4a00;
}
.warn-bar--risk strong { color: #d4380d; }
html[data-theme="dark"] .warn-bar--risk {
    background: #38250f;
    border-color: #6b4315;
    color: #f0b574;
}
html[data-theme="dark"] .warn-bar--risk strong { color: #ff9f6e; }

.site-risk-note {
    margin: 0 0 12px;
    padding: 12px 14px;
    border-radius: 8px;
    background: #fff4e5;
    border: 1px solid #ffc069;
    color: #8a4b0f;
}
.site-risk-note .srn-head {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #b03a00;
}
.site-risk-note .srn-head i { font-size: 16px; }
.site-risk-note p {
    margin: 0 0 6px;
    font-size: 12.5px;
    line-height: 1.85;
}
.site-risk-note p:last-child { margin-bottom: 0; }
.site-risk-note strong { color: #c0392b; }
html[data-theme="dark"] .site-risk-note {
    background: #38250f;
    border-color: #6b4315;
    color: #e8b787;
}
html[data-theme="dark"] .site-risk-note .srn-head { color: #ffb37a; }
html[data-theme="dark"] .site-risk-note strong { color: #ff9b78; }
