/* UI WHITE MINIMAL 2025-03：全站白色后台风 */
:root {
    --bg: #ffffff;
    --panel: #ffffff;
    --panel-2: #ffffff;
    --text: #181818;
    --sub: #737373;
    --line: #eeeeee;
    --primary: #111111;
    --primary-soft: #f5f5f5;
    --warm: #7a7a7a;
    --danger: #d85b55;
    --nav: #ffffff;
    --shadow: 0 10px 35px rgba(0,0,0,.04);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; overflow-x: hidden; }
body { margin: 0; background: #fff; color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Microsoft YaHei", sans-serif; line-height: 1.65; }
a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; }

.site-frame { width: auto; margin: 0; padding: 36px 28px; }
body.login-page, body.home-page { min-height: 100vh; }
body.admin-layout-page, body.user-page { height: 100vh; overflow: hidden; }
body.login-page .site-frame { min-height: 100vh; display: flex; align-items: center; justify-content: center; width: 100%; padding: 28px; }
body.login-page .auth-box { width: min(420px, 100%); }
body.home-page { display: flex; flex-direction: column; }
body.home-page .home-frame { flex: 1; width: min(1120px, 100%); min-height: 100vh; margin: 0 auto; padding: 28px; display: flex; flex-direction: column; justify-content: center; }
body.home-page .footnote { flex: 0 0 auto; }

.compact-frame { width: auto; }
.query-panel { margin-top: 5vh; }
.home-frame { width: auto; }
.home-hero { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: end; padding: 42px 0 26px; border-bottom: 1px solid var(--line); }
.home-copy h1 { margin: 14px 0 10px; font-size: clamp(34px, 6vw, 64px); line-height: 1.05; letter-spacing: -.05em; }
.home-copy p { margin: 0; color: var(--sub); max-width: 560px; }
.home-brand-title { width: min(560px, 100%); margin: 0 auto 16px; text-align: center; font-size: 22px; line-height: 1.35; font-weight: 800; color: #111; letter-spacing: -.03em; }
.home-shell { height: 100vh; min-height: 100vh; display: grid; grid-template-columns: 220px minmax(0, 1fr); background: #fff; overflow: hidden; }
.home-shell.sidebar-collapsed { grid-template-columns: 0 minmax(0, 1fr); }
.home-shell.sidebar-collapsed .home-side { overflow: hidden; padding-left: 0; padding-right: 0; border-right: 0; }

.home-side { border-right: 1px solid var(--line); padding: 24px 16px; height: 100vh; background: #fff; overflow-y: auto; overscroll-behavior: contain; }
.home-side-brand { margin-bottom: 24px; }
.home-side-nav { display: grid; gap: 4px; }
.home-side-nav .query-tab { width: 100%; border: 0; border-radius: 10px; background: #fff; color: #555; padding: 10px 12px; display: flex; align-items: center; justify-content: flex-start; gap: 10px; text-align: left; }
.home-nav-icon { width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 20px; font-size: 15px; line-height: 1; }
.home-side-nav .fa { width: 16px; height: 16px; background: currentColor; display: inline-block; font-size: 0; line-height: 1; flex: 0 0 16px; }
.home-side-nav .fa::before { content: ""; }
.home-side-nav .fa-ban { -webkit-mask: url('../fa/svgs/solid/ban.svg') center/contain no-repeat; mask: url('../fa/svgs/solid/ban.svg') center/contain no-repeat; }
.home-side-nav .fa-tags { -webkit-mask: url('../fa/svgs/solid/tags.svg') center/contain no-repeat; mask: url('../fa/svgs/solid/tags.svg') center/contain no-repeat; }
.home-side-nav .fa-list-ul { -webkit-mask: url('../fa/svgs/solid/list-ul.svg') center/contain no-repeat; mask: url('../fa/svgs/solid/list-ul.svg') center/contain no-repeat; }
.home-side-nav .fa-book { -webkit-mask: url('../fa/svgs/solid/book.svg') center/contain no-repeat; mask: url('../fa/svgs/solid/book.svg') center/contain no-repeat; }
.home-side-nav .fa-link { -webkit-mask: url('../fa/svgs/solid/link.svg') center/contain no-repeat; mask: url('../fa/svgs/solid/link.svg') center/contain no-repeat; }



.home-side-nav .query-tab.active, .home-side-nav .query-tab:hover { background: #f5f5f5; color: #111; }
.home-content { min-width: 0; height: 100vh; overflow-y: auto; overscroll-behavior: contain; }

.home-head { height: 64px; display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--line); padding: 0 28px; background: #fff; }
.home-title-row { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.home-title-row strong { font-size: 18px; color: #111; letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-sidebar-btn { display: inline-flex; width: auto; height: auto; border: 0; border-radius: 0; background: transparent; color: #111; padding: 0; align-items: center; justify-content: center; cursor: pointer; font-size: 18px; line-height: 1; font-weight: 800; }
.home-sidebar-mask { display: none; }
body.home-page .home-frame { width: min(680px, 100%); min-height: calc(100vh - 64px); margin: 0 auto; padding: 28px; display: flex; flex-direction: column; justify-content: center; }
body.home-sidebar-open { overflow: hidden; }
.home-stats { width: 100%; margin: 24px 0 0; padding: 0 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.home-stat { position: relative; border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 16px 54px 16px 16px; min-width: 0; overflow: hidden; }
.home-stat span { display: block; color: var(--sub); font-size: 13px; font-weight: 700; }
.home-stat strong { display: block; margin-top: 8px; font-size: 28px; line-height: 1; letter-spacing: -.04em; color: #111; }
.home-stat-icon { position: absolute; right: 16px; top: 50%; width: 28px; height: 28px; transform: translateY(-50%); background: #111; opacity: .16; }
.home-stat-total .home-stat-icon { -webkit-mask: url('../fa/svgs/solid/list-ul.svg') center/contain no-repeat; mask: url('../fa/svgs/solid/list-ul.svg') center/contain no-repeat; }
.home-stat-approved .home-stat-icon { -webkit-mask: url('../fa/svgs/solid/lock.svg') center/contain no-repeat; mask: url('../fa/svgs/solid/lock.svg') center/contain no-repeat; }
.home-stat-pending .home-stat-icon { -webkit-mask: url('../fa/svgs/solid/key.svg') center/contain no-repeat; mask: url('../fa/svgs/solid/key.svg') center/contain no-repeat; }
.home-stat-today .home-stat-icon { -webkit-mask: url('../fa/svgs/solid/book.svg') center/contain no-repeat; mask: url('../fa/svgs/solid/book.svg') center/contain no-repeat; }
.home-stat-groups .home-stat-icon { -webkit-mask: url('../fa/svgs/solid/tags.svg') center/contain no-repeat; mask: url('../fa/svgs/solid/tags.svg') center/contain no-repeat; }
.home-stat-users .home-stat-icon { -webkit-mask: url('../fa/svgs/solid/key.svg') center/contain no-repeat; mask: url('../fa/svgs/solid/key.svg') center/contain no-repeat; }
.home-stat-titles .home-stat-icon { -webkit-mask: url('../fa/svgs/solid/book.svg') center/contain no-repeat; mask: url('../fa/svgs/solid/book.svg') center/contain no-repeat; }




.home-query-shell { width: min(560px, 100%); margin: 0 auto; }
body.user-page .home-frame { width: 100%; min-height: auto; margin: 0; padding: 0; justify-content: flex-start; }
.user-main { width: 100%; padding: 24px 28px 34px; }
.user-query-panel, .user-result-panel { width: 100%; margin: 0 0 18px; }
.user-query-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: end; }
.user-query-actions { display: flex; gap: 10px; align-items: center; justify-content: flex-end; }
.blacklist-hero-panel { width: min(1080px, 100%); margin: 28px auto 28px; padding: 18px 28px 34px; border: 1px solid #d8e7f5; border-radius: 6px; background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%); box-shadow: 0 14px 38px rgba(30, 71, 110, .08); }
.blacklist-hero-title { display: grid; justify-items: center; gap: 6px; margin-bottom: 24px; text-align: center; }
.blacklist-hero-title h1 { margin: 0; color: #051d38; font-size: 25px; line-height: 1.2; font-weight: 900; letter-spacing: 0; }
.blacklist-hero-actions { display: flex; justify-content: center; gap: 28px; }
.blacklist-hero-btn { min-width: 98px; height: 40px; border: 0; border-radius: 6px; color: #fff; display: inline-flex; align-items: center; justify-content: center; padding: 0 16px; font-size: 13px; font-weight: 900; cursor: pointer; }
.blacklist-hero-btn-green { background: #0f7f6d; }
.blacklist-hero-btn-gold { background: #c88414; }
.blacklist-search-form { display: grid; grid-template-columns: minmax(0, 1fr) 160px; gap: 14px; align-items: start; padding-top: 15px; border-top: 1px solid #e5edf5; }
.blacklist-search-input { height: 38px; border-color: #cbd8e8; border-radius: 8px; padding: 0 14px; font-size: 14px; }
.blacklist-search-submit { min-height: 38px; border: 0; border-radius: 8px; background: #0f7f6d; font-weight: 900; }
.blacklist-search-submit:hover { background: #0b6c5d; }
.blacklist-search-submit .btn-text::before { content: ""; width: 14px; height: 14px; margin-right: 7px; display: inline-block; vertical-align: -2px; background: currentColor; -webkit-mask: url('../fa/svgs/solid/key.svg') center/contain no-repeat; mask: url('../fa/svgs/solid/key.svg') center/contain no-repeat; }
.blacklist-search-form p { grid-column: 1 / -1; margin: -8px 0 0; color: #58708e; text-align: center; font-size: 13px; line-height: 1.45; }
.user-stat-panel { width: min(1180px, 100%); margin: 0 auto 16px; padding: 18px 18px; border-color: #cfe0f3; border-radius: 10px; box-shadow: 0 12px 34px rgba(31, 82, 130, .08); }
.blacklist-stat-title { margin-bottom: 14px; }
.blacklist-stat-title div { display: grid; gap: 2px; }
.blacklist-stat-title span { color: #1e7df2; font-size: 12px; line-height: 1.2; font-weight: 900; }
.blacklist-stat-title h1 { font-size: 20px; color: #06182f; }
.blacklist-warehouse-btn { min-height: 36px; padding: 0 16px; border: 0; border-radius: 6px; background: #0f7f6d; color: #fff; font-weight: 900; }
.blacklist-warehouse-btn:hover { background: #0b6c5d; color: #fff; }
.blacklist-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.blacklist-stat-card { position: relative; min-height: 78px; border: 1px solid #cfe0f3; border-radius: 8px; background: #fff; padding: 16px 14px 10px; overflow: hidden; }
.blacklist-stat-card strong { display: block; color: #06182f; font-size: 24px; line-height: 1; font-weight: 900; }
.blacklist-stat-card span { display: block; margin-top: 6px; color: #58708e; font-size: 12px; line-height: 1.2; }
.blacklist-stat-card em { display: block; margin-top: 6px; color: #0f9b44; font-style: normal; font-size: 11px; font-weight: 900; }
.blacklist-stat-card i { position: absolute; right: 14px; top: 14px; width: 30px; height: 30px; border-radius: 8px; background: #edf6ff; }
.blacklist-stat-card i::before { content: ""; position: absolute; inset: 9px; background: #2f8cff; -webkit-mask: url('../fa/svgs/solid/list-ul.svg') center/contain no-repeat; mask: url('../fa/svgs/solid/list-ul.svg') center/contain no-repeat; }
.blacklist-stat-approved i::before { -webkit-mask-image: url('../fa/svgs/solid/tags.svg'); mask-image: url('../fa/svgs/solid/tags.svg'); }
.blacklist-stat-pending i::before { -webkit-mask-image: url('../fa/svgs/solid/lock.svg'); mask-image: url('../fa/svgs/solid/lock.svg'); }
.blacklist-stat-today i::before { -webkit-mask-image: url('../fa/svgs/solid/book.svg'); mask-image: url('../fa/svgs/solid/book.svg'); }
.blacklist-stat-lower { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 14px; }
.blacklist-chart-card { min-height: 145px; border: 1px solid #dbe8f6; border-radius: 9px; background: linear-gradient(180deg, #f8fcff 0%, #eff6ff 100%); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: end; gap: 14px; padding: 20px 24px 18px; }
.blacklist-chart-item { height: 108px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 10px; min-width: 0; }
.blacklist-chart-item span { width: 17px; border-radius: 5px 5px 1px 1px; background: linear-gradient(180deg, #54b2ff 0%, #1f83e8 100%); box-shadow: 0 10px 24px rgba(47, 140, 255, .22); }
.blacklist-chart-item em { color: #58708e; font-size: 12px; line-height: 1.2; font-style: normal; white-space: nowrap; }
.blacklist-side-stats { display: grid; gap: 10px; }
.blacklist-side-stats-full { grid-template-columns: repeat(4, 1fr); width: 100%; }
.blacklist-side-stats div { min-height: 62px; border: 1px solid #cfe0f3; border-radius: 8px; background: #fff; padding: 12px 14px; }
.blacklist-side-stats strong { display: block; color: #06182f; font-size: 22px; line-height: 1; font-weight: 900; }
.blacklist-side-stats span { display: block; margin-top: 7px; color: #58708e; font-size: 12px; }
.blacklist-group-marquee { width: min(1180px, 100%); margin: 12px auto 16px; border: 1px solid #d8e7f5; border-radius: 10px; background: #fff; overflow: hidden; box-shadow: 0 10px 28px rgba(31, 82, 130, .06); }
.blacklist-group-track { width: max-content; min-width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 12px; animation: blacklistGroupScroll 22s linear infinite; }
.blacklist-group-marquee:hover .blacklist-group-track { animation-play-state: paused; }
.blacklist-group-track a { flex: 0 0 auto; min-width: 118px; border: 1px solid #dbe8f6; border-radius: 999px; background: #f8fcff; color: #06182f; padding: 6px 12px; text-align: center; font-size: 13px; line-height: 1.2; font-weight: 800; }
.blacklist-group-track a:hover { border-color: #0f7f6d; color: #0f7f6d; background: #f0fffb; }
.blacklist-group-track span { color: #58708e; }
@keyframes blacklistGroupScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
.title-stat-panel { margin-top: 18px; }
.title-stat-panel .blacklist-chart-card { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.title-query-panel { width: min(1180px, 100%); margin: 28px auto 0; }

.query-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; margin-bottom: 12px; }
.query-tab { border: 0; border-right: 1px solid var(--line); background: #fff; color: #555; padding: 11px 10px; font: 700 14px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Microsoft YaHei", sans-serif; cursor: pointer; }
.ratio-area-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 10px; }
.ratio-area-btn { height: 34px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: #111; font-size: 13px; font-weight: 800; cursor: pointer; transition: background .18s, color .18s, border-color .18s, transform .18s; display: inline-flex; align-items: center; justify-content: center; gap: 5px; }
.ratio-area-icon { width: 13px; height: 13px; flex: 0 0 13px; background: currentColor; display: inline-block; -webkit-mask: url('../fa/svgs/solid/tags.svg') center/contain no-repeat; mask: url('../fa/svgs/solid/tags.svg') center/contain no-repeat; }
.ratio-area-btn:hover { border-color: #111; transform: translateY(-1px); }
.ratio-area-btn.active { background: #111; color: #fff; border-color: #111; }
.ratio-area-btn:disabled { cursor: wait; opacity: .72; }

.query-tab:last-child { border-right: 0; }
.query-tab.active { background: #111; color: #fff; }
.home-query-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; box-shadow: 0 12px 38px rgba(0,0,0,.05); }
.home-card-title { display: grid; gap: 4px; margin-bottom: 16px; }
.home-card-title strong { font-size: 18px; line-height: 1.35; color: #111; }
.home-card-title span { color: var(--sub); font-size: 13px; line-height: 1.6; }
.query-pane { display: none; }
.query-pane.active { display: block; }
.placeholder-box { border: 1px dashed #ddd; border-radius: 12px; background: #fafafa; color: #777; padding: 30px 16px; text-align: center; font-size: 14px; }

.home-search { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: grid; gap: 14px; box-shadow: 0 12px 38px rgba(0,0,0,.05); }
.home-query-card .home-search { border: 0; border-radius: 0; padding: 0; box-shadow: none; }

.home-query-submit { gap: 8px; }
.btn-spinner { display: none; width: 14px; height: 14px; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.home-query-submit.is-loading .btn-spinner { display: inline-block; }
.home-query-submit:disabled { cursor: not-allowed; opacity: .82; }
.home-result-box { padding: 0; overflow: hidden; display: flex; flex-direction: column; max-height: 90vh; }
.home-result-box .modal-body { display: block; }
.result-status { border-radius: 12px; padding: 12px 14px; font-weight: 700; margin-bottom: 14px; }
.result-hit { background: #fff7ed; color: #c2410c; box-shadow: 0 0 0 1px #fdba74 inset; }
.result-ok { background: #ecfdf5; color: #047857; box-shadow: 0 0 0 1px #34d399 inset; }
.api-table-title { margin: 16px 0 8px; font-size: 14px; color: #111; }
.api-param-table { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-bottom: 12px; }
.api-param-table th, .api-param-table td { padding: 9px 12px; font-size: 13px; }
.api-param-table th { background: #fafafa; color: #555; font-weight: 700; }
.api-param-table td:first-child { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #111; font-weight: 700; }

.home-result-modal .modal-actions { justify-content: flex-end; }

.home-tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0; }
.home-tips div { border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: #fff; }
.home-tips strong { display: block; margin-bottom: 4px; }
.home-tips span { color: var(--sub); font-size: 13px; }
.home-result { margin-top: 24px; }
.result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.home-result-box .result-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.result-grid p { margin: 0; border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.result-grid strong, .result-grid span { display: block; }
.result-grid strong { color: var(--sub); font-size: 12px; margin-bottom: 6px; }
.result-grid .full { grid-column: 1 / -1; }

.result-grid, .result-grid p, .result-grid span,
.modal-body, .table-ellipsis {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.modal-box, .modal-body { overflow-x: hidden; }

.home-result-profile { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 14px; margin-bottom: 14px; }
.home-result-avatar { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%; overflow: hidden; background: #f5f5f5; border: 1px solid var(--line); display: block; }
.home-result-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-result-profile-main { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.home-result-profile-id { font-size: 14px; line-height: 1.25; font-weight: 700; color: #111; }
.home-result-profile-qq { font-size: 12px; line-height: 1.25; font-weight: 400; color: #666; overflow-wrap: anywhere; }
.home-result-profile-main { flex: 1 1 auto; }
.home-report-btn { margin-left: auto; flex: 0 0 auto; }

.home-title-list { display: grid; gap: 10px; }
.home-title-card { border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; background: #fff; min-width: 0; min-height: 44px; overflow-wrap: anywhere; word-break: break-word; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.home-title-card-head { display: flex; justify-content: space-between; gap: 10px; align-items: center; width: 100%; }
.home-title-card-head strong { min-width: 0; font-size: 14px; color: #111; overflow-wrap: anywhere; }
.home-title-card-head .title-badge { flex: 0 0 auto; max-width: 50%; min-height: 24px; border-radius: 6px; padding: 4px 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background: #7c3aed; color: #fff; box-shadow: none; }
.home-title-card-time { font-size: 12px; color: #888; white-space: nowrap; }
.home-title-card-body { display: grid; gap: 8px; }
.home-title-entry { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }

.user-feed-panel, .user-link-panel { width: min(1180px, 100%); margin: 12px auto 0; }
.user-feed-panel, .user-link-panel { padding: 8px 12px 10px; }
.user-feed-panel .panel-title, .user-link-panel .panel-title, .user-empty-column-panel .panel-title { min-height: 0; margin-bottom: 6px; }
.user-feed-panel .panel-title h1, .user-link-panel .panel-title h1, .user-empty-column-panel .panel-title h1 { font-size: 18px; line-height: 1.2; }
.user-feed-panel .panel-title .action, .user-link-panel .panel-title .action { min-height: 28px; padding: 0 10px; font-size: 12px; }
.user-feed-panel .user-melon-table th, .user-feed-panel .user-melon-table td { padding: 6px 10px; }
.user-link-panel .user-friend-grid { gap: 8px; }
.user-feed-panel .empty-state, .user-link-panel .empty-state { min-height: 72px; gap: 4px; padding: 8px 0; }
.user-feed-panel .empty-icon, .user-link-panel .empty-icon { width: 30px; height: 30px; font-size: 16px; }
.user-feed-panel .empty-state strong, .user-link-panel .empty-state strong { font-size: 14px; }
.user-feed-panel .empty-state span, .user-link-panel .empty-state span { font-size: 12px; line-height: 1.35; }

.blacklist-bottom-grid { width: min(1180px, 100%); margin: 12px auto 0; display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 12px; align-items: stretch; }
.blacklist-bottom-grid .user-video-column-panel { width: 270px; height: 480px; margin: 0; min-width: 270px; padding: 0; overflow: hidden; border-radius: 12px; position: relative; }
.blacklist-bottom-grid > .panel { margin-top: 0 !important; }
.blacklist-html-middle { min-height: 480px; height: auto; min-width: 0; overflow: hidden; display: flex; flex-direction: column; background: #fff; border: 1px solid #ededed; border-radius: 2px; padding: 12px 14px 10px; box-shadow: none; }
.blacklist-html-top { padding-bottom: 8px; border-bottom: 1px solid #f0f0f0; }
.blacklist-html-title-box { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; min-width: 0; }
.blacklist-html-title { margin: 0; color: #202020; font-size: 22px; line-height: 28px; font-weight: 700; white-space: nowrap; }
.blacklist-html-title font { margin-left: 4px; color: #ff3b30; font-size: 16px; font-weight: 700; vertical-align: 1px; }
.blacklist-html-desc { margin: 0; min-width: 0; color: #8a8a8a; font-size: 13px; line-height: 22px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: right; }
.blacklist-html-news-list { flex: 1 1 auto; min-height: 0; overflow: hidden; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; padding-top: 8px; }
.blacklist-html-news-list ul { list-style: none; padding: 0; margin: 0; min-width: 0; overflow: hidden; }
.blacklist-html-news-list li { position: relative; height: 25px; display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: center; gap: 8px; padding-left: 12px; border-bottom: 1px dashed #eeeeee; }
.blacklist-html-news-list li:before { content: ''; position: absolute; left: 1px; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: #b8b8b8; }
.blacklist-html-news-list .blacklist-html-list-head { height: 25px; padding-left: 0; color: #111; font-weight: 700; border-bottom: 1px solid #eaeaea; }
.blacklist-html-news-list .blacklist-html-list-head:before { display: none; }
.blacklist-html-news-list .blacklist-html-list-head span { font-size: 13px; }
.blacklist-html-news-list .blacklist-html-list-head font { color: #888; font-size: 12px; text-align: right; font-style: normal; }
.blacklist-html-news-list .tit { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border: 0; background: transparent; color: #222; padding: 0; text-align: left; text-decoration: none; line-height: 25px; font: inherit; font-size: 13px; font-weight: 550; cursor: pointer; }
.blacklist-html-news-list .tit:hover { color: #e60012; text-decoration: none; }
.blacklist-html-news-list font { color: #999; font-size: 12px; text-align: right; font-style: normal; }
.blacklist-html-news-list li.new font { color: #e60012; font-weight: 700; }
.blacklist-html-empty { grid-template-columns: minmax(0, 1fr) !important; color: #999; font-size: 13px; }
.blacklist-video-next { position: absolute; right: 10px; top: 10px; z-index: 2; border: 0; border-radius: 999px; background: rgba(0,0,0,.58); color: #fff; padding: 6px 12px; font-size: 12px; font-weight: 800; cursor: pointer; backdrop-filter: blur(8px); }
.blacklist-video-next:hover { background: rgba(0,0,0,.72); }
.blacklist-video-close { position: absolute; left: 10px; top: 10px; z-index: 3; border: 0; border-radius: 999px; background: rgba(0,0,0,.58); color: #fff; padding: 6px 12px; font-size: 12px; line-height: 1; font-weight: 800; cursor: pointer; backdrop-filter: blur(8px); }
.blacklist-video-close:hover { background: rgba(0,0,0,.72); }

.blacklist-bottom-empty { height: 100%; min-height: 280px; display: flex; align-items: center; justify-content: center; color: #999; font-size: 12px; }
.blacklist-bottom-video { width: 100%; height: 100%; display: block; object-fit: cover; background: #000; }
.blacklist-side-column { width: 270px; min-width: 270px; display: grid; gap: 12px; }
.blacklist-widget { background: #fff; border: 1px solid #ededed; border-radius: 4px; padding: 14px; }
.blacklist-widget h2 { margin: 0 0 12px; color: #202020; font-size: 18px; line-height: 1.25; font-weight: 800; }
.blacklist-widget h2 span { color: #2f8cff; margin-right: 4px; }
.blacklist-video-entry { min-height: 120px; }
.blacklist-video-open-btn { width: 100%; height: 42px; border: 0; border-radius: 8px; background: #2f8cff; color: #fff; font-size: 14px; font-weight: 900; cursor: pointer; }
.blacklist-video-open-btn:hover { background: #1f76df; }
.blacklist-side-column .user-video-column-panel { width: 270px; height: 480px; min-width: 270px; margin: 0; }
.blacklist-hot-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.blacklist-hot-list li { min-width: 0; display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: center; gap: 8px; }
.blacklist-hot-list em { width: 22px; height: 22px; border-radius: 6px; background: #eeeeee; color: #555; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; line-height: 1; font-style: normal; font-weight: 900; }
.blacklist-hot-list li:nth-child(1) em { background: #ff4d4f; color: #fff; }
.blacklist-hot-list li:nth-child(2) em { background: #ff8f1f; color: #fff; }
.blacklist-hot-list li:nth-child(3) em { background: #ffc53d; color: #fff; }
.blacklist-hot-list button { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border: 0; background: transparent; padding: 0; color: #222; text-align: left; font: inherit; font-size: 13px; cursor: pointer; }
.blacklist-hot-list button:hover { color: #e60012; }
.blacklist-hot-empty { display: block !important; color: #999; font-size: 13px; }


@media (max-width: 980px) {
    .blacklist-bottom-grid { width: 100%; grid-template-columns: 1fr; gap: 10px; justify-items: center; }
    .blacklist-html-middle { width: 100%; height: auto; min-height: 480px; }
    .blacklist-html-title-box { display: block; }
    .blacklist-html-desc { text-align: left; }
    .blacklist-html-news-list { height: auto; grid-template-columns: 1fr; gap: 8px; }
    .blacklist-bottom-grid .user-video-column-panel { width: 270px; height: 480px; min-width: 270px; }
}


.melon-page-panel { width: min(1180px, 100%); margin-left: auto; margin-right: auto; }
.melon-submit-btn { min-height: 34px; padding: 0 16px; border-radius: 8px; background: #111; color: #fff; border-color: #111; font-size: 13px; font-weight: 900; }
.melon-submit-btn:hover { background: #000; color: #fff; }
.user-melon-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.user-melon-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.user-melon-table th, .user-melon-table td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: middle; }
.user-melon-table th { color: #777; font-size: 13px; font-weight: 700; background: #fff; }
.user-melon-table tr:last-child td { border-bottom: 0; }
.user-melon-table td:nth-child(3) { max-width: 420px; }
.user-melon-table td:nth-child(4) { white-space: nowrap; }
.user-melon-summary { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.user-melon-list.user-melon-mobile-list { display: none; }

.user-melon-list { display: grid; gap: 12px; }
.user-melon-list-compact { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.user-melon-card { width: 100%; display: grid; gap: 6px; min-width: 0; border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 14px; color: #111; overflow: hidden; text-align: left; cursor: pointer; font: inherit; transition: border-color .18s, transform .18s, box-shadow .18s; }
.user-melon-card:hover { border-color: #111; transform: translateY(-1px); box-shadow: 0 10px 28px rgba(0,0,0,.06); }
.user-melon-card-title { font-size: 15px; font-weight: 800; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-melon-card-meta { color: #777; font-size: 12px; line-height: 1.4; }
.user-melon-card-text { color: #555; font-size: 13px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.user-melon-card-full { display: block; }
.user-melon-card-full h2 { margin: 0 0 6px; font-size: 18px; line-height: 1.35; }
.user-melon-card-full:hover { transform: none; }
.user-melon-content { margin-top: 12px; color: #333; line-height: 1.8; overflow-wrap: anywhere; word-break: break-word; }
.user-melon-modal-meta { color: #777; font-size: 13px; margin-bottom: 12px; }
.user-melon-modal-content { color: #333; line-height: 1.8; overflow-wrap: anywhere; word-break: break-word; }
.user-melon-modal-images { margin-top: 12px; }

.user-melon-modal-box { width: min(760px, 100%); }

.worldcup-page { width: min(1180px, 100%); margin: 0 auto; display: grid; gap: 14px; }
.worldcup-hero { border: 1px solid #dbe8d7; border-radius: 14px; padding: 22px; background: linear-gradient(135deg,#f4fff2,#ffffff); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.worldcup-kicker { color: #16803a; font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.worldcup-hero h1 { margin: 6px 0; color: #122015; font-size: 28px; line-height: 1.2; }
.worldcup-hero p { margin: 0; color: #657267; font-size: 14px; }
.worldcup-date-card { min-width: 132px; border-radius: 12px; background: #12351e; color: #fff; padding: 14px; text-align: center; }
.worldcup-date-card strong { display: block; font-size: 18px; }
.worldcup-date-card span { color: rgba(255,255,255,.72); font-size: 12px; }
.worldcup-filter { border: 1px solid #e2eadf; border-radius: 12px; background: #fff; padding: 12px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.worldcup-filter label { display: inline-flex; align-items: center; gap: 8px; color: #536154; font-size: 13px; font-weight: 800; }
.worldcup-date-btn, .worldcup-count { border: 1px solid #dfe8dc; border-radius: 999px; background: #f8fcf7; color: #17351f; padding: 8px 14px; font-size: 13px; font-weight: 900; }
.worldcup-count { margin-left: auto; background: #eef8ea; color: #16803a; }
.worldcup-schedule { display: grid; gap: 14px; }
.worldcup-round-card { border: 1px solid #dfe8dc; border-radius: 14px; background: #fff; overflow: hidden; }
.worldcup-round-head { background: #16341f; color: #fff; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.worldcup-round-head strong { font-size: 18px; }
.worldcup-round-head span { color: rgba(255,255,255,.7); font-size: 13px; }
.worldcup-match-list { display: grid; }
.worldcup-match-row { display: grid; grid-template-columns: 120px minmax(0,1fr) 130px minmax(0,1fr); align-items: center; gap: 18px; padding: 14px 18px; border-top: 1px solid #eef2ed; }
.worldcup-match-row:first-child { border-top: 0; }
.worldcup-match-time strong { display: block; color: #17351f; font-size: 18px; }
.worldcup-match-time span { color: #8a968b; font-size: 12px; }
.worldcup-team { min-width: 0; display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 900; color: #1d2d20; }
.worldcup-team-home { justify-content: flex-end; text-align: right; }
.worldcup-team-away { justify-content: flex-start; }
.worldcup-team img { width: 34px; height: 34px; border-radius: 50%; object-fit: contain; background: #f7faf6; border: 1px solid #e5ece3; }
.worldcup-score { text-align: center; }
.worldcup-score strong { display: block; color: #111; font-size: 24px; line-height: 1.15; }
.worldcup-score span { color: #7b887d; font-size: 12px; }
.home-top-nav-item .fa-trophy { background: none !important; border: 2px solid currentColor; border-top-width: 4px; border-radius: 3px 3px 8px 8px; box-sizing: border-box; -webkit-mask: none !important; mask: none !important; }
@media (max-width: 760px) {
    .worldcup-hero { align-items: flex-start; flex-direction: column; }
    .worldcup-date-card { width: 100%; }
    .worldcup-count { margin-left: 0; }
    .worldcup-match-row { grid-template-columns: 70px minmax(0,1fr) 82px minmax(0,1fr); gap: 8px; padding: 12px 10px; }
    .worldcup-team { font-size: 12px; gap: 5px; }
    .worldcup-team img { width: 26px; height: 26px; }
    .worldcup-score strong { font-size: 18px; }
    .worldcup-match-time strong { font-size: 14px; }
}
.tools-page { width: min(1180px, 100%); margin: 0 auto; display: grid; gap: 14px; }
.tools-hero { border: 1px solid #dbe5f3; border-radius: 14px; padding: 22px; background: linear-gradient(135deg,#f5f9ff,#fff); }
.tools-hero span { color: #2f8cff; font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.tools-hero h1 { margin: 6px 0; color: #142033; font-size: 28px; line-height: 1.2; }
.tools-hero p { margin: 0; color: #667085; font-size: 14px; }
.tools-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(190px, auto)); gap: 14px; }
.tools-card { min-width: 0; border: 1px solid #e4eaf2; border-radius: 14px; background: #fff; padding: 16px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 10px 28px rgba(31,82,130,.05); }
.tools-card:nth-child(1) { grid-column: 1; grid-row: 1; }
.tools-card:nth-child(2) { grid-column: 2; grid-row: 1; }
.tools-card:nth-child(3) { grid-column: 3; grid-row: 1; }
.tools-card:nth-child(4) { grid-column: 1; grid-row: 2; }
.tools-card:nth-child(5) { grid-column: 2; grid-row: 2; }
.tools-card:nth-child(6) { grid-column: 3; grid-row: 2; }
.tools-card-tall { grid-column: 4; grid-row: 1 / span 2; }
.tools-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.tools-card-head strong { color: #111827; font-size: 17px; line-height: 1.3; }
.tools-card-head span { border-radius: 999px; background: #eef5ff; color: #2f8cff; padding: 4px 9px; font-size: 11px; font-weight: 900; }
.tools-input { height: 40px; }
.tools-query-btn { margin-top: auto; width: 100%; }
.tools-card-tall .tools-query-btn { margin-top: 34px; }

.tools-tall-desc { margin-top: auto; border-radius: 12px; background: #f7fbff; color: #667085; padding: 14px; font-size: 13px; line-height: 1.6; }
.tools-tall-desc b { display: block; color: #111827; margin-bottom: 4px; }
.tools-tall-desc p { margin: 0; }
.user-tool-modal-box { width: min(680px, 100%); }
.tool-result-grid { display: grid; gap: 8px; margin-top: 12px; }
.tool-result-line { border: 1px solid #eef0f3; border-radius: 10px; padding: 10px 12px; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 10px; }
.tool-result-line b { color: #344054; }
.tool-result-line span { color: #111827; overflow-wrap: anywhere; }
.tool-result-block { border: 1px solid #e8eef7; border-radius: 12px; padding: 10px; display: grid; gap: 8px; }
.tool-result-block > strong { color: #2f8cff; }
.home-top-nav-item .fa-gear { -webkit-mask: url('../fa/svgs/solid/gear.svg') center/contain no-repeat; mask: url('../fa/svgs/solid/gear.svg') center/contain no-repeat; }
.home-side-nav .fa-gear { -webkit-mask: url('../fa/svgs/solid/gear.svg') center/contain no-repeat; mask: url('../fa/svgs/solid/gear.svg') center/contain no-repeat; }
@media (max-width: 980px) {
    .tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; }
    .tools-card, .tools-card:nth-child(n), .tools-card-tall { grid-column: auto; grid-row: auto; }
}
@media (max-width: 620px) {
    .tools-grid { grid-template-columns: 1fr; }
    .tool-result-line { grid-template-columns: 1fr; }
}


.user-melon-source { display: inline-flex; margin-top: 10px; }
.user-friend-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 220px)); justify-content: start; gap: 26px 18px; width: 100%; }
.user-friend-card { min-width: 0; width: 100%; padding: 8px 4px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 10px; color: #111; text-align: center; transition: transform .18s, opacity .18s; }
.user-friend-card:hover { transform: translateY(-1px); opacity: .86; }
.user-friend-icon { width: min(100%, 168px); aspect-ratio: 1 / 1; height: auto; border-radius: 24px; background: #f7f7f7; color: #111; display: flex; align-items: center; justify-content: center; overflow: hidden; font-weight: 900; font-size: 32px; }
.user-friend-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.user-friend-name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 800; line-height: 1.3; }
.user-empty-lite { min-height: 150px; }

.home-title-card-meta { color: #666; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.home-ratio-result-box { width: min(860px, 100%); }
.ratio-loading-state { min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #111; text-align: center; }
.ratio-loading-state small { color: #666; font-size: 12px; }
.home-ratio-list { display: flex; flex-direction: column; gap: 8px; }
.home-ratio-card { border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 9px 10px; display: grid; gap: 6px; min-width: 0; }
.home-ratio-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.home-ratio-card-top strong { min-width: 0; font-size: 14px; line-height: 1.25; color: #111; overflow-wrap: anywhere; }
.home-ratio-card-top span { flex: 0 0 auto; border-radius: 999px; background: #111; color: #fff; padding: 2px 7px; font-size: 10px; font-weight: 800; }
.home-ratio-price { color: #7c2d12; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 8px; padding: 6px 8px; font-size: 13px; line-height: 1.25; font-weight: 800; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.home-ratio-meta { color: #333; font-size: 12px; line-height: 1.25; font-weight: 700; }
.home-ratio-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; }


.home-ratio-actions { display: flex; justify-content: flex-end; flex: 0 0 auto; }
.home-ratio-actions .action { min-height: 28px; padding: 5px 10px; border-radius: 8px; font-size: 12px; }
.ratio-error-tip { margin: -4px 0 12px; border: 1px solid #fde68a; background: #fffbeb; color: #92400e; border-radius: 10px; padding: 10px 12px; font-size: 13px; }

.home-blacklist-accordion-list { display: grid; gap: 10px; }
.home-blacklist-accordion { margin: 0; }
.home-blacklist-accordion + .home-blacklist-accordion { margin-top: 0; }

.home-blacklist-accordion .api-accordion-body { padding: 12px; }
.home-blacklist-accordion .result-grid { margin-bottom: 12px; }
.home-blacklist-accordion .result-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-blacklist-record-card { border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.home-blacklist-record-card.single-record-card { padding: 14px; }
.home-blacklist-record-head { padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line); color: #111; }
.home-blacklist-record-head strong { font-size: 15px; line-height: 1.35; }
.single-record-card .result-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 12px; }





.split-hero { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 22px; align-items: start; }
.poster, .panel, .doc-block, .auth-box, .data-box { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: none; padding: 24px; }
.panel + .panel, .panel + .data-box, .data-box + .panel, .doc-block + .doc-block { margin-top: 24px; }

.blacklist-bottom-grid > .panel,
.blacklist-bottom-grid .panel + .panel {
    margin-top: 0 !important;
}
.blacklist-bottom-grid > .panel:not(.user-video-column-panel) {
    padding: 8px 12px 10px !important;
    height: 344px;
}
.blacklist-bottom-grid > .user-video-column-panel,
.blacklist-side-column .user-video-column-panel {
    padding: 0 !important;
}

/* 黑名单页：统一为 ces.html 风格方角白底框 */
.blacklist-hero-panel,
.user-stat-panel,
.blacklist-group-marquee,
.blacklist-html-middle,
.blacklist-bottom-grid > .user-video-column-panel,
.blacklist-side-column .user-video-column-panel {
    background: #fff !important;
    border: 1px solid #ededed !important;
    border-radius: 4px !important;
    box-shadow: none !important;
}
.blacklist-hero-panel { width: min(1180px, 100%); margin: 18px auto 12px; padding: 14px 18px 16px; }
.blacklist-hero-title { margin-bottom: 12px; }
.blacklist-hero-title h1 { color: #202020; font-size: 22px; font-weight: 700; }

.blacklist-search-form { width: min(720px, 100%); margin: 0 auto; padding-top: 12px; border-top: 1px solid #f0f0f0; }
.blacklist-search-input { border-color: #e5e5e5; }
.user-stat-panel { padding: 14px 18px 16px !important; margin: 0 auto 12px; }
.blacklist-stat-title { margin-bottom: 12px; }
.blacklist-stat-title span { color: #1e7df2; }
.blacklist-stat-title h1 { color: #06182f; font-size: 22px; font-weight: 700; }
.blacklist-stat-card,
.blacklist-chart-card,
.blacklist-side-stats div,
.blacklist-group-track a { border-color: #ededed !important; box-shadow: none !important; }

.blacklist-bottom-grid > .user-video-column-panel { padding: 8px !important; }
.blacklist-bottom-video { border-radius: 0; }


#blacklistReviewResult { margin-top: 18px; }

.api-accordion { padding: 0; overflow: hidden; }
.api-accordion-head { width: 100%; border: 0; background: #fff; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; font: inherit; color: #111; text-align: left; }
.api-accordion-head span:first-child { font-weight: 700; font-size: 15px; }
.api-accordion-action { border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; color: #555; font-size: 12px; background: #fafafa; }
.api-accordion-body { display: none; padding: 0 16px 16px; border-top: 1px solid var(--line); }
.api-accordion.open .api-accordion-body { display: block; }
.api-accordion.open .api-accordion-action { background: #111; border-color: #111; color: #fff; }
.api-accordion + .api-accordion { margin-top: 10px; }
.api-accordion + .doc-block { margin-top: 12px; }



.poster { min-height: 360px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: none; border-color: #f1f1f1; }
.poster-kicker { color: var(--sub); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.poster h1 { font-size: clamp(32px, 5vw, 50px); line-height: 1.12; margin: 18px 0; letter-spacing: -.04em; }
.poster-note, .hint { color: var(--sub); }
.stamp-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.stamp { display: inline-flex; align-items: center; border-radius: 999px; padding: 5px 10px; background: #f7f7f7; color: #555; font-size: 12px; border: 1px solid var(--line); }
.panel-title { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 18px; }
.panel-title h1, .panel-title h2 { margin: 0; font-size: 24px; letter-spacing: -.03em; }

.stack { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; color: #333; font-size: 14px; font-weight: 600; }
.control, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--text); font: inherit; outline: none; transition: border .18s, box-shadow .18s; }
.control, select { height: 38px; padding: 8px 12px; }
textarea { padding: 10px 12px; }
.control:focus, select:focus, textarea:focus { border-color: #111; box-shadow: 0 0 0 3px rgba(0,0,0,.06); }
textarea { min-height: 116px; resize: vertical; }
.form-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.modal-config-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.modal-config-row.group-hidden { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.is-hidden { display: none !important; }

.inline-form { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.filter-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.filter-search { grid-column: 1 / -1; }
.blacklist-filter-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }


.action { display: inline-flex; justify-content: center; align-items: center; border: 1px solid #111; border-radius: 9px; background: #111; color: #fff; min-height: 34px; padding: 7px 13px; font: 600 13px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Microsoft YaHei", sans-serif; cursor: pointer; }
.action:hover { background: #000; }
.action:focus, .action:active { outline: none; box-shadow: 0 0 0 3px rgba(0,0,0,.06); }
.action-light { background: #fff; color: #111; border-color: var(--line); }
.action-light:hover, .action-light:focus, .action-light:active { background: #f7f7f7; color: #111; border-color: #cfcfcf; }
.action-warn { background: #fff; color: #111; border-color: #bbb; }
.action-danger { background: #fff; color: var(--danger); border-color: #f0c7c4; }
.action-danger:hover, .action-danger:focus, .action-danger:active { background: #fff5f5; color: var(--danger); border-color: #efaaa4; }
.result-strip { border-left: 3px solid #111; }
.gallery { display: flex; gap: 10px; flex-wrap: wrap; }
.home-proof-btn { border: 0; background: transparent; padding: 0; cursor: zoom-in; }
.home-proof-btn img { display: block; }

.gallery img { width: 78px; height: 78px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.footnote { text-align: center; color: var(--sub); padding: 22px; font-size: 13px; }
.alert { border: 1px solid #f0e3d3; border-radius: 12px; background: #fffaf4; color: #805b38; padding: 12px 14px; }

.admin-shell { height: 100vh; min-height: 100vh; display: grid; grid-template-columns: 220px minmax(0, 1fr); background: #fff; overflow: hidden; }
.admin-shell.admin-collapsed { grid-template-columns: 0 minmax(0, 1fr); }
.admin-shell.admin-collapsed .admin-side { overflow: hidden; padding-left: 0; padding-right: 0; border-right: 0; }
.admin-title-row { display: inline-flex; align-items: center; gap: 10px; }
.admin-title-row strong { font-size: 18px; color: #111; letter-spacing: -.02em; }
.sidebar-toggle { width: auto; height: auto; border: 0; border-radius: 0; background: transparent; color: #111; padding: 0; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-size: 18px; line-height: 1; }
.sidebar-toggle:hover { background: transparent; color: #111; }

.admin-side { border-right: 1px solid var(--line); padding: 24px 16px; height: 100vh; background: #fff; overflow-y: auto; overscroll-behavior: contain; }
.admin-sidebar-mask { display: none; }

.admin-content { min-width: 0; height: 100vh; overflow-y: auto; overscroll-behavior: contain; }
.admin-head { height: 64px; display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--line); padding: 0 28px; background: #fff; }
.brand-mark { margin-bottom: 24px; padding: 0 10px; display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-logo { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; flex: 0 0 36px; border: 1px solid var(--line); background: #f7f7f7; }
.brand-logo-link { display: inline-flex; flex: 0 0 36px; border-radius: 10px; }
.brand-logo-link:hover { opacity: .88; }

.brand-logo-fallback { display: inline-flex; align-items: center; justify-content: center; color: #111; font-weight: 800; }
.brand-info { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.brand-info strong { display: block; color: #111; font-size: 15px; line-height: 1.25; font-weight: 800; letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mobile-head-logo, .mobile-title-text { display: none; }

.brand-info span { display: block; color: var(--sub); font-size: 12px; line-height: 1.25; font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-nav { display: grid; gap: 4px; }
.admin-nav a { color: #555; border-radius: 10px; padding: 10px 12px; display: flex; align-items: center; gap: 10px; }
.admin-nav a.active, .admin-nav a:hover { background: #f5f5f5; color: #111; }
.logout-link { display: flex; align-items: center; gap: 10px; margin-top: 10px; color: #555; border-radius: 10px; padding: 10px 12px; }
.admin-nav-group { display: grid; gap: 4px; }
.admin-nav-parent { cursor: default; }
.admin-subnav { display: grid; gap: 3px; padding-left: 26px; }
.admin-nav .admin-subnav-link { padding: 8px 10px; gap: 0; border-radius: 9px; font-size: 13px; }
.nav-badge { margin-left: auto; min-width: 18px; height: 18px; border-radius: 999px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; background: #ef4444; color: #fff; font-size: 11px; line-height: 18px; font-weight: 800; }
.admin-subnav-link .nav-badge { margin-left: 8px; }


.admin-subnav-link { color: #666; border-radius: 9px; padding: 8px 10px; display: flex; align-items: center; font-size: 13px; }
.admin-subnav-link::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #d4d4d4; margin-right: 9px; flex: 0 0 5px; }
.admin-subnav-link.active, .admin-subnav-link:hover { background: #f5f5f5; color: #111; }
.admin-subnav-link.active::before { background: #111; }
.review-placeholder-box { min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; }
.review-placeholder-box strong { color: #111; font-size: 18px; }
.mobile-blacklist-entry { display: none; }

.admin-side, .admin-content, .home-side, .home-content { scrollbar-width: thin; scrollbar-color: #d4d4d4 transparent; }
.admin-side::-webkit-scrollbar, .admin-content::-webkit-scrollbar, .home-side::-webkit-scrollbar, .home-content::-webkit-scrollbar { width: 8px; height: 8px; }
.admin-side::-webkit-scrollbar-thumb, .admin-content::-webkit-scrollbar-thumb, .home-side::-webkit-scrollbar-thumb, .home-content::-webkit-scrollbar-thumb { background: #d4d4d4; border-radius: 999px; border: 2px solid #fff; }
.admin-side::-webkit-scrollbar-track, .admin-content::-webkit-scrollbar-track, .home-side::-webkit-scrollbar-track, .home-content::-webkit-scrollbar-track { background: transparent; }
body.modal-open .admin-content, body.modal-open .home-content { overflow: hidden; }

.review-placeholder-box span { max-width: 520px; color: var(--sub); line-height: 1.7; }

.logout-link:hover { background: #f5f5f5; color: #111; }

.admin-page { width: 100%; margin: 0; padding: 24px 28px 34px; }
.dashboard-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; border: 1px solid var(--line); border-radius: 16px; padding: 24px; background: linear-gradient(135deg,#fff,#fafafa); margin-bottom: 18px; }
.dashboard-kicker { display: inline-flex; color: var(--sub); font-size: 11px; font-weight: 800; letter-spacing: .16em; margin-bottom: 8px; }
.dashboard-hero h1 { margin: 0 0 8px; font-size: 30px; line-height: 1.1; letter-spacing: -.04em; }
.dashboard-hero p { margin: 0; color: var(--sub); }
.dashboard-hero-side { min-width: 180px; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: #fff; display: grid; gap: 4px; }
.dashboard-hero-side strong { font-size: 14px; color: #111; }
.dashboard-hero-side span { color: var(--sub); font-size: 12px; }
.dashboard-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.dashboard-stat { border: 1px solid var(--line); border-radius: 16px; padding: 16px; background: #fff; box-shadow: inset 0 4px 0 #111; min-width: 0; }
.dashboard-stat span { color: var(--sub); font-size: 13px; font-weight: 700; }
.dashboard-stat strong { display: block; margin: 10px 0 6px; font-size: 32px; line-height: 1; letter-spacing: -.04em; color: #111; }
.dashboard-stat em { display: block; font-style: normal; color: var(--sub); font-size: 12px; overflow-wrap: anywhere; }
.dashboard-purple { box-shadow: inset 0 4px 0 #8b5cf6; }
.dashboard-green { box-shadow: inset 0 4px 0 #10b981; }
.dashboard-orange { box-shadow: inset 0 4px 0 #f97316; }
.dashboard-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 18px; }
.dashboard-panel { padding: 18px; margin: 0; }
.dashboard-scope-row { display: flex; justify-content: space-between; gap: 12px; color: #333; font-size: 13px; margin: 12px 0 8px; }
.dashboard-meter { height: 9px; border-radius: 999px; background: #f2f2f2; overflow: hidden; }
.review-table { min-width: 1100px; }
.review-table th:nth-child(2), .review-table td:nth-child(2), .review-table th:nth-child(3), .review-table td:nth-child(3) { display: none; }

.review-status { display: inline-flex; align-items: center; justify-content: center; min-height: 24px; border-radius: 999px; padding: 4px 11px; font-size: 12px; font-weight: 700; line-height: 16px; }
.review-status-0 { background: #fff7ed; color: #c2410c; box-shadow: 0 0 0 1px #fdba74 inset; }
.review-status-1 { background: #ecfdf5; color: #047857; box-shadow: 0 0 0 1px #34d399 inset; }
.review-status-2 { background: #f5f5f5; color: #555; box-shadow: 0 0 0 1px #d4d4d4 inset; }


.dashboard-meter i { display: block; height: 100%; border-radius: inherit; background: #f97316; }
.dashboard-meter-green i { background: #10b981; }
.dashboard-health p { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 12px 0; border-top: 1px solid var(--line); }
.dashboard-health p:first-of-type { border-top: 0; padding-top: 0; }
.dashboard-health strong { color: #333; font-size: 13px; }
.dashboard-health span { color: var(--sub); font-size: 13px; text-align: right; overflow-wrap: anywhere; }
.dashboard-list { display: grid; gap: 8px; }
.dashboard-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; color: #111; background: #fff; }
.dashboard-list a:hover { background: #fafafa; }
.dashboard-list a strong { font-size: 13px; }
.dashboard-list a span { color: var(--sub); font-size: 12px; text-align: right; }
.dashboard-list .title-badge { transform: translateY(-1px); }
.dashboard-empty { min-height: 120px; }

.topline { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.data-box { padding: 0; box-shadow: none; overflow: hidden; }
.data-scroll { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { border-bottom: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: middle; }
.data-table th { color: #777; font-size: 13px; background: #fff; font-weight: 600; }
.mobile-card-col, .mobile-card-head { display: table-cell; }
.blacklist-table th:nth-child(2), .blacklist-table td:nth-child(2), .blacklist-table th:nth-child(3), .blacklist-table td:nth-child(3) { display: none; }
.mobile-card-head .qq-avatar { width: 34px; height: 34px; border-radius: 50%; background: #f5f5f5; position: relative; overflow: hidden; display: inline-block; vertical-align: middle; margin-right: 9px; }
.mobile-card-head .qq-avatar-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .2s; }
.mobile-card-head .qq-avatar-img.loaded { opacity: 1; }
.mobile-card-head .avatar-loading { position: absolute; inset: 8px; border: 2px solid #ddd; border-top-color: #111; border-radius: 50%; animation: spin .8s linear infinite; }
.review-qq-cell { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.review-qq-avatar { width: 34px; height: 34px; border-radius: 50%; background: #f5f5f5; position: relative; overflow: hidden; display: inline-block; flex: 0 0 34px; }
.review-qq-avatar .qq-avatar-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .2s; }
.review-qq-avatar .qq-avatar-img.loaded { opacity: 1; }
.review-qq-avatar .avatar-loading { position: absolute; inset: 8px; border: 2px solid #ddd; border-top-color: #111; border-radius: 50%; animation: spin .8s linear infinite; }


.title-badge { display: inline-flex; align-items: center; justify-content: center; min-height: 24px; border-radius: 999px; padding: 4px 11px; font-size: 12px; font-weight: 700; line-height: 16px; background: #f5f3ff; color: #6d28d9; box-shadow: 0 0 0 1px #c4b5fd inset; }
.title-table { min-width: 1100px; }
.title-table th, .title-table td { white-space: nowrap; }
.title-table th:nth-child(2), .title-table td:nth-child(2), .title-table th:nth-child(3), .title-table td:nth-child(3) { display: none; }

.mobile-card-head .mobile-card-main { display: inline-flex; flex-direction: column; justify-content: center; gap: 2px; vertical-align: middle; }
.mobile-card-head .mobile-card-id { font-size: 13px; line-height: 1.25; font-weight: 700; color: #111; }
.mobile-card-head .mobile-card-qq { font-size: 12px; line-height: 1.25; font-weight: 400; color: #666; }
.scope-badge { display: inline-flex; align-items: center; justify-content: center; min-height: 24px; border-radius: 999px; padding: 4px 11px; font-size: 12px; font-weight: 700; line-height: 16px; box-sizing: border-box; box-shadow: 0 0 0 1px var(--scope-border) inset; }
.scope-1 { --scope-border: #fb923c; background: #fff7ed; color: #c2410c; }
.scope-2 { --scope-border: #34d399; background: #ecfdf5; color: #047857; }
.blacklist-table td, .blacklist-table td > * { min-width: 0; max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }

.ip-card-col, .ip-card-head { display: table-cell; }
.ip-table th:nth-child(2), .ip-table td:nth-child(2), .ip-table th:nth-child(3), .ip-table td:nth-child(3) { display: none; }
.ip-avatar { width: 34px; height: 34px; border-radius: 50%; background: #f5f5f5; color: #111; display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; margin-right: 9px; font-size: 11px; font-weight: 800; border: 1px solid var(--line); }
.ip-card-head .mobile-card-main { display: inline-flex; flex-direction: column; justify-content: center; gap: 2px; vertical-align: middle; }
.ip-search-field { display: grid; width: 100% !important; max-width: none !important; grid-column: 1 / -1; }
.ip-search-field .control { width: 100% !important; max-width: none !important; }
.ip-table th, .ip-table td { padding-top: 7px; padding-bottom: 7px; }
.ip-table .ip-avatar { width: 30px; height: 30px; flex-basis: 30px; }
.ip-card-head .mobile-card-id { font-size: 13px; line-height: 1.25; font-weight: 700; color: #111; }
.ip-card-head .mobile-card-qq { font-size: 12px; line-height: 1.25; font-weight: 400; color: #666; }


.content-avatar { width: 34px; height: 34px; border-radius: 50%; background: #fff7ed; color: #c2410c; display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; margin-right: 9px; font-size: 13px; font-weight: 800; border: 1px solid #fed7aa; }
.link-avatar { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
.content-table .mobile-card-head .content-avatar { flex: 0 0 34px; }
.content-table td, .content-table td > * { min-width: 0; max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
.link-logo-avatar { overflow: hidden; }
.link-logo-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }



.ip-table-section { margin-top: 24px; }




.blacklist-table { min-width: 1280px; }
.blacklist-table th, .blacklist-table td { white-space: nowrap; }
.blacklist-table th:nth-child(7), .blacklist-table td:nth-child(7) { max-width: 320px; overflow: hidden; text-overflow: ellipsis; }
.blacklist-table .gallery { flex-wrap: nowrap; }
.blacklist-table .gallery img { width: 42px; height: 42px; border-radius: 8px; }
.empty-row td { padding: 34px 18px; }
.empty-state { min-height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; color: #666; }
.empty-icon { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #f6f6f6; color: #999; border: 1px solid var(--line); font-size: 22px; font-weight: 700; }
.empty-state strong { color: #111; font-size: 16px; }
.empty-state span { max-width: 420px; font-size: 13px; line-height: 1.6; }


.blacklist-table .row-actions { flex-wrap: nowrap; }
.table-ellipsis { display: inline-block; max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle; }


.data-table tr:last-child td { border-bottom: 0; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 16px 18px; border-top: 1px solid var(--line); background: #fff; flex-wrap: wrap; }
.pagination-meta { display: flex; align-items: center; gap: 10px; color: var(--sub); font-size: 13px; flex-wrap: wrap; }
.pagination-meta strong { color: #111; font-size: 14px; }
.pagination-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pagination-item, .pagination-dot { min-width: 34px; height: 34px; padding: 0 11px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.pagination-item { border: 1px solid var(--line); background: #fff; color: #444; }
.pagination-item:hover { border-color: #111; color: #111; }
.pagination-item.active { background: #111; border-color: #111; color: #fff; font-weight: 700; }
.pagination-item.disabled { opacity: .38; cursor: not-allowed; pointer-events: none; background: #fafafa; }
.pagination-dot { color: var(--sub); min-width: auto; padding: 0 4px; }

.auth-box { max-width: 460px; margin: 9vh auto; }
.code-sample { background: #111; color: #fff; border-radius: 12px; padding: 16px; overflow: auto; }
.api-code-block { position: relative; width: 100%; margin: 12px 0 16px; }
.api-code-block pre { width: 100%; margin: 0; background: #111; color: #fff; border-radius: 12px; padding: 16px 52px 16px 16px; overflow-x: auto; white-space: pre; }
.api-code-block button { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.18); border-radius: 9px; background: rgba(255,255,255,.08); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.api-code-block button:hover { background: rgba(255,255,255,.16); }

.check-line { display: inline-flex; gap: 8px; align-items: center; margin: 8px; }
.check-line input { width: auto; }
.mobile-only { display: none; }
.toast { position: fixed; right: 18px; top: 18px; z-index: 1001; display: inline-flex; align-items: center; gap: 10px; max-width: min(360px, calc(100% - 36px)); background: #fff; color: #222; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; box-shadow: 0 14px 36px rgba(0,0,0,.12); animation: toast-life 3s ease forwards; pointer-events: none; }
.toast-icon { width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 13px; flex: 0 0 20px; }
.toast-success { border-color: #bbf7d0; }
body.admin-sidebar-open { overflow: hidden; }

.toast-success .toast-icon { background: #16a34a; }
.toast-error { border-color: #fecaca; }
.toast-error .toast-icon { background: #dc2626; }
@keyframes toast-life { 0% { opacity: 0; transform: translateY(-8px); } 12%, 78% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(-8px); visibility: hidden; } }
body.modal-open { position: fixed; left: 0; right: 0; width: 100%; overflow: hidden; }

.modal-mask { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,.28); padding: 18px; overscroll-behavior: contain; }
@keyframes spin { to { transform: rotate(360deg); } }

.modal-mask.show { display: flex; }
.modal-box { width: min(720px, 100%); max-height: 90vh; overflow: auto; background: #fff; border-radius: 16px; border: 1px solid var(--line); padding: 24px; position: relative; box-shadow: 0 24px 80px rgba(0,0,0,.16); }
.confirm-box { width: min(420px, 100%); padding: 26px 24px 22px; text-align: center; overflow: hidden; }
.confirm-icon { width: 44px; height: 44px; border-radius: 50%; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; background: #fff7ed; color: #c2410c; box-shadow: 0 0 0 1px #fdba74 inset; font-size: 22px; font-weight: 800; }
.confirm-box h2 { margin: 0; font-size: 20px; line-height: 1.35; color: #111; }
.confirm-text { margin: 10px 0 0; color: #666; font-size: 14px; line-height: 1.7; }
.confirm-actions { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.modal-close { position: absolute; right: 14px; top: 12px; border: 0; background: #f5f5f5; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 20px; }
.blacklist-modal { padding: 0; overflow: hidden; display: flex; flex-direction: column; max-height: 90vh; }
.modal-head { flex: 0 0 auto; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.modal-head h2 { margin: 0; font-size: 20px; line-height: 1.3; }
.blacklist-modal-form { min-height: 0; flex: 1; display: flex; flex-direction: column; }
.modal-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 18px 20px; display: grid; gap: 14px; }
.modal-actions { flex: 0 0 auto; border-top: 1px solid var(--line); padding: 14px 20px; display: flex; justify-content: flex-end; gap: 10px; background: #fff; }
.preview-link { border: 0; background: transparent; color: #2563eb; padding: 0; font: inherit; font-weight: 700; cursor: pointer; }
.preview-link:hover { color: #1d4ed8; text-decoration: underline; }
.proof-preview-box { padding: 0; overflow: hidden; display: flex; flex-direction: column; max-height: 90vh; }
.proof-preview-body { display: flex; flex-direction: column; gap: 12px; }
.proof-preview-body img { width: 100%; max-height: 72vh; object-fit: contain; border-radius: 12px; border: 1px solid var(--line); background: #f7f7f7; cursor: zoom-in; }
.proof-fullscreen { position: fixed; inset: 0; z-index: 9999; display: none; background: rgba(0,0,0,.94); }
.proof-fullscreen.show { display: block; }
.proof-fullscreen-scroll { height: 100vh; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.proof-fullscreen-item { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; scroll-snap-align: start; }
.proof-fullscreen-item img { max-width: 100%; max-height: 96vh; object-fit: contain; cursor: zoom-out; }
.proof-keep-gallery { align-items: flex-start; }
.proof-keep-item { position: relative; display: inline-flex; }
.proof-keep-item img { width: 78px; height: 78px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.proof-remove { position: absolute; top: -7px; right: -7px; width: 22px; height: 22px; border: 0; border-radius: 50%; background: rgba(17,17,17,.88); color: #fff; cursor: pointer; font-size: 16px; line-height: 22px; padding: 0; z-index: 2; }
.proof-remove:hover { background: #dc2626; }
.upload-loading-mask { z-index: 9998; }
.upload-loading-box { width: min(300px, 92vw); border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 80px rgba(0,0,0,.16); padding: 28px 22px; display: flex; flex-direction: column; align-items: center; gap: 14px; color: #111; }
.upload-spinner { width: 34px; height: 34px; border: 3px solid #e5e5e5; border-top-color: #111; border-radius: 50%; animation: spin .8s linear infinite; }






@media (min-width: 981px) {
    body.user-page .user-friend-grid { grid-template-columns: repeat(auto-fill, minmax(88px, 108px)); gap: 12px 10px; }
    body.user-page .user-friend-card { gap: 5px; padding: 4px 2px; }
    body.user-page .user-friend-icon { width: 56px; max-width: 56px; border-radius: 12px; font-size: 18px; }
    body.user-page .user-friend-name { font-size: 12px; }
}

@media (max-width: 980px) {
    .site-frame { width: 100%; padding: 12px 10px; }
    .filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .filter-search { grid-column: 1 / -1; }

    .split-hero, .form-two, .inline-form, .home-hero, .home-tips, .result-grid { grid-template-columns: 1fr; }
    .home-blacklist-accordion .result-grid { grid-template-columns: 1fr; }
    .single-record-card .result-grid { grid-template-columns: 1fr; }


    .poster, .panel, .doc-block, .auth-box { padding: 14px; border-radius: 12px; }
    .modal-mask { padding-left: 8px; padding-right: 8px; }
    .home-ratio-list { grid-template-columns: 1fr; }
    .home-ratio-card-top { align-items: flex-start; }
    .home-stats { width: 100%; margin: 12px 0 0; padding: 0 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .home-stat { padding: 12px 46px 12px 12px; border-radius: 12px; }
    .home-stat-icon { right: 12px; width: 24px; height: 24px; }
    .ratio-area-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 6px; }
    .ratio-area-btn { height: 22px; font-size: 13px; }

    .home-stat strong { font-size: 24px; }


    .modal-head { padding-left: 12px; padding-right: 12px; }
    .home-shell { display: block; min-height: 100vh; }
    .user-melon-table-wrap { display: none; }
    .user-melon-list.user-melon-mobile-list { display: grid; }

    .user-melon-list-compact { grid-template-columns: 1fr; }
    .user-friend-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 8px; }
    .user-friend-card { padding: 6px 0; gap: 5px; }
    .user-friend-icon { width: 48px; max-width: 48px; border-radius: 11px; font-size: 16px; }

    .home-content { min-width: 0; }
    .user-main { padding: 12px 10px 24px; }
    .melon-page-panel { width: 100%; }
    .melon-submit-btn { min-height: 32px; padding: 0 12px; font-size: 12px; }
    .blacklist-hero-panel { margin: 0 auto 12px; padding: 14px 12px 18px; border-radius: 10px; border-top: 1px solid #d8e7f5; }
    .blacklist-hero-title { margin-bottom: 14px; }
    .blacklist-hero-title h1 { font-size: 21px; }
    .blacklist-hero-actions { gap: 10px; }
    .blacklist-hero-btn { min-width: 90px; height: 34px; font-size: 13px; }
    .blacklist-search-form { grid-template-columns: 1fr; gap: 8px; padding-top: 10px; }
    .blacklist-search-input, .blacklist-search-submit { height: 38px; min-height: 38px; }
    .blacklist-search-form p { margin: 0; font-size: 12px; }
    .user-stat-panel { padding: 12px; margin-bottom: 12px; }
    .blacklist-stat-title { align-items: flex-start; }
    .blacklist-stat-title h1 { font-size: 20px; }
    .blacklist-warehouse-btn { min-height: 36px; padding: 0 12px; }
    .blacklist-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .blacklist-stat-card { min-height: 76px; padding: 14px 12px 9px; }
    .blacklist-stat-card strong { font-size: 22px; }
    .blacklist-stat-card i { width: 28px; height: 28px; right: 12px; top: 12px; }
    .blacklist-stat-lower { grid-template-columns: 1fr; gap: 10px; }
    .blacklist-chart-card { min-height: 132px; gap: 8px; padding: 14px 8px; }
    .blacklist-chart-item { height: 96px; gap: 8px; }
    .blacklist-chart-item span { width: 16px; }
    .blacklist-chart-item em { font-size: 11px; }
    .blacklist-side-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .blacklist-side-stats div { min-height: 62px; padding: 12px; }
    .blacklist-group-marquee { margin-bottom: 12px; border-radius: 8px; }
    .blacklist-group-track { gap: 8px; padding: 8px; animation-duration: 18s; }
    .blacklist-group-track a { min-width: 96px; padding: 6px 10px; font-size: 12px; }
    .user-query-form { grid-template-columns: 1fr; }
    .user-query-actions { justify-content: stretch; }
    .user-query-actions .action { flex: 1; }

    .home-head { position: sticky; top: 0; z-index: 30; height: auto; min-height: 56px; padding: 10px; background: #fff; }
    .home-title-row { width: 100%; }
    .home-sidebar-btn { display: inline-flex; flex: 0 0 auto; }
    .home-side { position: fixed; left: 0; top: 0; bottom: 0; z-index: 60; width: 220px; height: 100vh; padding: 24px 16px; transform: translateX(-100%); transition: transform .22s ease; box-shadow: none; overflow-y: auto; }
    .home-shell.sidebar-open .home-side { transform: translateX(0); }
    .home-sidebar-mask { position: fixed; inset: 0; z-index: 55; display: none; background: rgba(0,0,0,.28); }
    .home-shell.sidebar-open .home-sidebar-mask { display: block; }
    body.home-page .home-frame { width: 100%; min-height: calc(100vh - 56px); padding: 12px 10px 24px; }

    .home-result-box .modal-body { padding-left: 2px; padding-right: 2px; }
    .home-result-box .modal-head { padding-left: 10px; padding-right: 10px; }
    .home-result-box .modal-actions { padding-left: 10px; padding-right: 10px; }
    .home-result-profile { padding-left: 10px; padding-right: 10px; }

    .modal-body { padding-left: 12px; padding-right: 12px; }
    .modal-actions { padding-left: 12px; padding-right: 12px; }

    .modal-head { padding: 12px; }
    .modal-head h2 { font-size: 18px; }
    .modal-body { padding: 12px; }
    .modal-actions { padding: 12px; }
    .home-result-modal { padding-left: 4px; padding-right: 4px; }
    .home-result-modal .home-result-box .modal-body { padding-left: 0 !important; padding-right: 0 !important; }


    .data-box { padding: 0; border-radius: 12px; }
    .api-accordion { padding: 0; }
    .api-accordion-head { padding: 11px 12px; }
    .modal-config-row, .modal-config-row.group-hidden { grid-template-columns: 1fr; }

    .api-accordion-body { padding: 0 12px 12px; }

    .admin-shell { display: block; min-height: 100vh; }
    .admin-content { display: block; min-width: 0; }
    .admin-head { position: sticky; top: 0; z-index: 30; height: auto; min-height: 56px; padding: 10px; background: #fff; }
    .admin-side { position: fixed; left: 0; top: 0; bottom: 0; z-index: 60; width: 220px; height: 100vh; border-right: 1px solid var(--line); border-bottom: 0; padding: 24px 16px; white-space: normal; overflow-y: auto; transform: translateX(-100%); transition: transform .22s ease; box-shadow: none; }
    .admin-shell.sidebar-open .admin-side { transform: translateX(0); }
    .admin-sidebar-mask { position: fixed; inset: 0; z-index: 55; display: none; background: rgba(0,0,0,.28); }
    .admin-shell.sidebar-open .admin-sidebar-mask { display: block; }
    .sidebar-toggle { display: none; }
    .admin-shell.admin-collapsed .admin-side { transform: translateX(-100%); padding: 24px 16px; border-right: 1px solid var(--line); }

    .poster { min-height: auto; }
    .ip-search-field { max-width: none; }

    .brand-mark { display: flex; }
    .admin-nav { display: grid; gap: 4px; overflow: visible; padding-bottom: 0; }
    .admin-nav-group { display: grid; gap: 4px; }
    .admin-nav-parent { position: relative; }
    .admin-nav-parent .nav-badge { position: static; margin-left: auto; }
    .admin-subnav { display: grid; }
    .admin-nav .admin-subnav-link { padding: 8px 10px; border: 0; }
    .admin-nav a { flex: initial; }
    .logout-link { display: flex; justify-content: flex-start; width: auto; margin-top: 10px; text-align: left; border: 0; }
    .mobile-blacklist-entry { display: none; }

    .admin-head { align-items: center; flex-direction: row; height: auto; padding: 10px; }
    .topline { align-items: flex-start; flex-direction: column; height: auto; padding: 12px 10px; }
    .admin-page { width: 100%; padding: 12px 10px 24px; }
    .admin-title-row { display: flex; width: 100%; align-items: center; gap: 10px; }
    .mobile-head-logo { display: inline-flex; width: auto; height: auto; flex: 0 0 auto; border: 0; border-radius: 0; overflow: visible; background: transparent; padding: 0; align-items: center; justify-content: center; color: #111; font-size: 18px; line-height: 1; font-weight: 800; cursor: pointer; }
    .mobile-sidebar-btn .fa-bars { width: 18px; height: 18px; background: currentColor; display: inline-block; font-size: 0; line-height: 1; -webkit-mask: url('../fa/svgs/solid/bars.svg') center/contain no-repeat; mask: url('../fa/svgs/solid/bars.svg') center/contain no-repeat; }
    .mobile-sidebar-btn .fa-bars::before { content: ""; }

    .mobile-head-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .desktop-title-text { display: none; }
    .mobile-title-text { display: inline; }
    .admin-title-row strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

    .dashboard-hero { display: grid; gap: 14px; padding: 16px; border-radius: 14px; }
    .dashboard-hero h1 { font-size: 24px; }
    .dashboard-hero-side { min-width: 0; }
    .dashboard-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .dashboard-stat { padding: 13px; border-radius: 14px; }
    .dashboard-stat strong { font-size: 26px; }
    .dashboard-grid { grid-template-columns: 1fr; gap: 12px; }
    .dashboard-panel { padding: 14px; }
    .dashboard-list a { align-items: flex-start; flex-direction: column; }
    .dashboard-list a span { text-align: left; }

    .mobile-only { display: none; }
    .data-table, .data-table thead, .data-table tbody, .data-table tr, .data-table td { display: block; width: 100%; min-width: 0; }
    .data-table thead { display: none; }
    .blacklist-table { min-width: 0; }
    .blacklist-table th, .blacklist-table td { white-space: normal; }
    .blacklist-table th:nth-child(7), .blacklist-table td:nth-child(7) { max-width: none; }
    .blacklist-table .gallery, .blacklist-table .row-actions { flex-wrap: wrap; }

    .table-ellipsis { max-width: none; white-space: normal; }


    .data-table tr { border: 1px solid var(--line); border-radius: 12px; padding: 8px; margin: 8px 0; }
    .data-table td { border: 0; padding: 7px 0; }
    .data-table td::before { content: attr(data-label); display: block; color: var(--sub); font-size: 12px; margin-bottom: 2px; }
    .empty-row td::before { display: none; }

    .api-param-table { padding: 8px; }

    .api-param-table tr { position: relative; padding: 10px 12px; margin: 8px 0; min-height: 74px; }
    .title-table { min-width: 0; }
    .title-table th, .title-table td { white-space: normal; }
    .title-table tr { position: relative; overflow: visible; padding: 12px; margin: 8px 0; }
    .title-table .mobile-card-head { position: relative; display: flex; align-items: center; gap: 10px; padding: 0 92px 12px 0; margin-bottom: 6px; border-bottom: 0; box-shadow: none; }
    .title-table .mobile-card-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: #d8dde5; }
    .title-table .mobile-card-head::before { display: none; }
    .title-table td:nth-child(2), .title-table td:nth-child(3) { display: none; }
    .title-table .mobile-card-head .qq-avatar { width: 38px; height: 38px; display: block; margin-right: 0; flex: 0 0 38px; }
    .title-table td { display: flex; align-items: flex-start; justify-content: flex-start; gap: 0; padding: 4px 0; font-size: 13px; font-weight: 400; line-height: 1.35; }
    .title-table td::before { content: attr(data-label) "："; display: inline; margin: 0; flex: 0 0 auto; color: #333; font-size: 13px; font-weight: 700; }
    .title-table td:nth-child(5) { position: absolute; top: 10px; right: 12px; width: auto; display: block; min-height: 0; padding: 0; overflow: visible; z-index: 3; }
    .title-table td:nth-child(5)::before { display: none; }
    .title-table td:nth-child(8) { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px; gap: 8px; justify-content: flex-end; }
    .title-table td:nth-child(8)::before { display: none; }
    .title-table .row-actions { justify-content: flex-end; }
    .title-table .empty-row { padding: 0; }
    .title-table .empty-row td { display: block; padding: 24px 12px; }
    .title-table .empty-row td::before { display: none; }

    .api-param-table td { display: block; width: auto; padding: 0; border: 0; font-size: 13px; line-height: 1.45; }
    .api-param-table td:nth-child(1) { padding-right: 92px; color: #111; font-weight: 700; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
    .api-param-table td:nth-child(1)::before { display: none; }
    .api-param-table td:nth-child(2) { position: absolute; top: 10px; right: 10px; width: auto; display: inline-flex; align-items: center; justify-content: center; min-height: 22px; border-radius: 999px; padding: 3px 9px; background: #f5f5f5; color: #333; box-shadow: 0 0 0 1px #e5e5e5 inset; font-size: 12px; font-weight: 700; line-height: 16px; }
    .api-param-table td:nth-child(2)::before { display: none; }
    .api-param-table td:nth-child(3) { margin-top: 6px; color: #666; }
    .api-param-table td:nth-child(3)::before { display: none; }

    #titleResult .data-box { padding: 8px; overflow: visible; }
    #titleResult .data-scroll { overflow: visible; }

    #blacklistReviewResult .data-box { padding: 8px; overflow: visible; }
    #blacklistReviewResult .data-scroll { overflow: visible; }

    .review-table { min-width: 0; }
    .review-table tr { position: relative; overflow: visible; padding: 12px; margin: 8px 0; }
    .review-table .mobile-card-head { position: relative; display: flex; align-items: center; gap: 10px; padding: 0 76px 12px 0; margin-bottom: 6px; border-bottom: 0; box-shadow: none; }
    .review-table .mobile-card-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: #d8dde5; }
    .review-table .mobile-card-head::before { display: none; }
    .review-table .mobile-card-head .qq-avatar { width: 38px; height: 38px; display: block; margin-right: 0; flex: 0 0 38px; }
    .review-table td { display: flex; align-items: flex-start; justify-content: flex-start; gap: 0; padding: 4px 0; font-size: 13px; font-weight: 400; line-height: 1.35; }
    .review-table td::before { content: attr(data-label) "："; display: inline; margin: 0; flex: 0 0 auto; color: #333; font-size: 13px; font-weight: 700; }
    .review-table td:nth-child(8) { position: absolute; top: 10px; right: 12px; width: auto; display: block; min-height: 0; padding: 0; overflow: visible; z-index: 3; }
    .review-table td:nth-child(8)::before { display: none; }
    .review-table td:nth-child(10) { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px; gap: 8px; justify-content: flex-end; }
    .review-table td:nth-child(10)::before { display: none; }
    .review-table .row-actions { justify-content: flex-end; }



    #blacklistResult .data-box, #melonResult .data-box, #friendLinkResult .data-box { padding: 8px; overflow: visible; }
    #blacklistResult .data-scroll, #melonResult .data-scroll, #friendLinkResult .data-scroll { overflow: visible; }

    .blacklist-table tr { position: relative; overflow: visible; padding: 12px; margin: 8px 0; }
    .blacklist-table .mobile-card-head { position: relative; display: flex; align-items: center; gap: 10px; padding: 0 76px 12px 0; margin-bottom: 6px; border-bottom: 0; box-shadow: none; }
    .blacklist-table .mobile-card-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: #d8dde5; }
    .blacklist-table .mobile-card-head::before { display: none; }
    .blacklist-table td:nth-child(2), .blacklist-table td:nth-child(3) { display: none; }
    .content-table .mobile-card-head .content-avatar { width: 38px; height: 38px; margin-right: 0; flex: 0 0 38px; }

    .blacklist-table .mobile-card-head .qq-avatar { width: 38px; height: 38px; display: block; margin-right: 0; flex: 0 0 38px; }
    .qq-avatar-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .2s; }
    .qq-avatar-img.loaded { opacity: 1; }
    .avatar-loading { position: absolute; inset: 9px; border: 2px solid #ddd; border-top-color: #111; border-radius: 50%; animation: spin .8s linear infinite; }
    .ip-table-section { padding: 8px; overflow: visible; }
    .ip-table-section .data-scroll { overflow: visible; }

    .mobile-card-main { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-width: 0; }
    .mobile-card-id { font-size: 14px; line-height: 1.25; font-weight: 700; color: #111; }
    .ip-table { min-width: 0; }
    .ip-table tr { position: relative; overflow: visible; padding: 12px; margin: 8px 0; }
    .ip-table .ip-card-head { position: relative; display: flex; align-items: center; gap: 10px; padding: 0 0 12px 0; margin-bottom: 6px; border-bottom: 0; box-shadow: none; }
    .ip-table .ip-card-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: #d8dde5; }
    .ip-table .ip-card-head::before { display: none; }
    .ip-table td:nth-child(2), .ip-table td:nth-child(3) { display: none; }
    .ip-table .ip-avatar { width: 38px; height: 38px; margin-right: 0; flex: 0 0 38px; }
    .ip-table .empty-row { padding: 0; }
    .ip-table .empty-row td { display: block; padding: 24px 12px; }
    .ip-table .empty-row td::before { display: none; content: ""; }
    .ip-table .empty-row .empty-state { min-height: 140px; }

    .ip-table td { display: flex; align-items: flex-start; justify-content: flex-start; gap: 0; padding: 4px 0; font-size: 13px; font-weight: 400; line-height: 1.35; }
    .ip-table td::before { content: attr(data-label) "："; display: inline; margin: 0; flex: 0 0 auto; color: #333; font-size: 13px; font-weight: 700; }
    .ip-table td:nth-child(6) { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px; gap: 8px; justify-content: flex-end; }
    .ip-table td:nth-child(6)::before { display: none; }
    .ip-table .row-actions { justify-content: flex-end; }

    .mobile-card-qq { font-size: 12px; line-height: 1.25; font-weight: 400; color: #666; }
    .blacklist-table .empty-row { padding: 0; }
    .blacklist-table .empty-row td { display: block; padding: 24px 12px; }
    .blacklist-table .empty-row td::before { display: none; }
    .blacklist-table .empty-row .empty-state { min-height: 140px; }

    .blacklist-table td { display: flex; align-items: flex-start; justify-content: flex-start; gap: 0; padding: 4px 0; font-size: 13px; font-weight: 400; line-height: 1.35; }
    .blacklist-table td::before { content: attr(data-label) "："; display: inline; margin: 0; flex: 0 0 auto; color: #333; font-size: 13px; font-weight: 700; }
    .blacklist-table td > *:not(.gallery) { text-align: left; }
    .blacklist-table td:nth-child(5) { position: absolute; top: 10px; right: 12px; width: auto; display: block; min-height: 0; padding: 0; overflow: visible; z-index: 3; transform: translateZ(0); }
    .blacklist-table td:nth-child(5)::before { display: none; }
    .blacklist-table td:nth-child(5) .scope-badge { min-height: 24px; }

    .blacklist-table td:nth-child(7), .blacklist-table td:nth-child(8) { align-items: flex-start; }
    .blacklist-table td:nth-child(10) { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px; gap: 8px; justify-content: flex-end; }
    .blacklist-table td:nth-child(10)::before { display: none; }
    .friend-link-table td:nth-child(9) { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px; gap: 8px; justify-content: flex-end; }
    .friend-link-table td:nth-child(9)::before { display: none; }

    .blacklist-table .gallery { justify-content: flex-start; }
    .blacklist-table .row-actions { justify-content: flex-end; }

    .pagination { align-items: stretch; padding: 14px; }
    .pagination-meta, .pagination-nav { width: 100%; justify-content: center; }
    .pagination-prev, .pagination-next { flex: 1 1 96px; }

}


/* /user 前台：取消侧边栏，统一顶部横向滑动导航 */
body.user-page, body.user-page.home-sidebar-open { overflow-y: auto !important; overflow-x: hidden; }
body.user-page .home-shell { min-height: 100vh; height: auto !important; display: block !important; overflow: visible !important; background: #fff; }
body.user-page .home-side,
body.user-page .home-sidebar-mask,
body.user-page .home-head,
body.user-page .home-sidebar-btn { display: none !important; }
body.user-page .home-content { height: auto !important; min-height: calc(100vh - 96px); overflow: visible !important; }
.home-topbar { position: sticky; top: 0; z-index: 40; width: 100%; background: #fff; border-bottom: 1px solid #ededed; }
.home-top-inner { width: min(1180px, 100%); margin: 0 auto; min-height: 56px; padding: 8px 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.home-top-brand { min-width: 0; display: inline-flex; align-items: center; gap: 10px; color: #111; }
.home-top-brand .brand-logo { width: 34px; height: 34px; border-radius: 2px; object-fit: cover; }
.home-top-brand .brand-info { display: grid; gap: 0; min-width: 0; }
.home-top-brand .brand-info strong { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 18px; line-height: 1.2; }
.home-top-brand .brand-info span { color: #888; font-size: 12px; line-height: 1.2; }
.home-top-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #666; font-size: 13px; text-align: right; }
.home-top-nav { width: min(1180px, 100%); margin: 0 auto; height: 42px; padding: 0 16px; display: flex; align-items: stretch; gap: 0; overflow-x: auto; overflow-y: hidden; white-space: nowrap; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.home-top-nav::-webkit-scrollbar { display: none; }
.home-top-nav-item { position: relative; flex: 0 0 auto; height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 18px; color: #333; font-size: 14px; font-weight: 700; border-bottom: 2px solid transparent; }
.home-top-nav-item:hover,
.home-top-nav-item.active { color: #111; border-bottom-color: #111; background: #fafafa; }
.home-top-nav-item .fa { width: 14px; height: 14px; background: currentColor; display: inline-block; font-size: 0; line-height: 1; flex: 0 0 14px; }
.home-top-nav-item .fa::before { content: ''; }
.home-top-nav-item .fa-ban { -webkit-mask: url('../fa/svgs/solid/ban.svg') center/contain no-repeat; mask: url('../fa/svgs/solid/ban.svg') center/contain no-repeat; }
.home-top-nav-item .fa-tags { -webkit-mask: url('../fa/svgs/solid/tags.svg') center/contain no-repeat; mask: url('../fa/svgs/solid/tags.svg') center/contain no-repeat; }
.home-top-nav-item .fa-list-ul { -webkit-mask: url('../fa/svgs/solid/list-ul.svg') center/contain no-repeat; mask: url('../fa/svgs/solid/list-ul.svg') center/contain no-repeat; }
.home-top-nav-item .fa-book { -webkit-mask: url('../fa/svgs/solid/book.svg') center/contain no-repeat; mask: url('../fa/svgs/solid/book.svg') center/contain no-repeat; }
.home-top-nav-item .fa-link { -webkit-mask: url('../fa/svgs/solid/link.svg') center/contain no-repeat; mask: url('../fa/svgs/solid/link.svg') center/contain no-repeat; }
.home-top-nav-item .fa-book,
.home-side-nav .fa-book { background: none !important; border: 2px solid currentColor; border-left-width: 4px; border-radius: 2px; box-sizing: border-box; -webkit-mask: none !important; mask: none !important; }
.home-top-nav-item .fa-link,
.home-side-nav .fa-link { background: none !important; border: 2px solid currentColor; border-radius: 999px; box-sizing: border-box; transform: rotate(-28deg); -webkit-mask: none !important; mask: none !important; }
.home-top-nav-item .fa-user,
.home-side-nav .fa-user { -webkit-mask: url('../fa/svgs/solid/user.svg') center/contain no-repeat; mask: url('../fa/svgs/solid/user.svg') center/contain no-repeat; }

body.user-page .home-stats { width: min(1180px, 100%); margin: 14px auto 0; padding: 0 16px; }
body.user-page .user-main { width: 100%; padding: 16px 16px 34px; }
@media (max-width: 980px) {
    .home-top-inner { min-height: 52px; padding: 8px 10px; }
    .home-top-brand .brand-logo { width: 30px; height: 30px; }
    .home-top-brand .brand-info strong { max-width: 160px; font-size: 16px; }
    .home-top-title { display: none; }
    .home-top-nav { height: 40px; padding: 0 10px; }
    .home-top-nav-item { height: 40px; padding: 0 14px; font-size: 13px; }
    body.user-page .home-stats { padding: 0 10px; }
    body.user-page .user-main { padding: 12px 10px 24px; }
}


@media (max-width: 980px) {
    .blacklist-bottom-grid .user-video-column-panel { display: none !important; }
    .blacklist-side-column { width: 100%; min-width: 0; }
    .blacklist-video-entry,
    .blacklist-video-player-panel { display: none !important; }
    .blacklist-hot-widget { width: 100%; }

    .blacklist-html-middle { min-height: 0 !important; height: auto !important; padding: 0 !important; background: transparent !important; border: 0 !important; }
    .blacklist-html-top { display: none; }
    .blacklist-html-news-list { display: grid; grid-template-columns: 1fr; gap: 10px; height: auto; padding-top: 0; }
    .blacklist-html-news-list ul { background: #fff; border: 1px solid #ededed; border-radius: 4px; padding: 10px 12px; }
    .blacklist-html-news-list .blacklist-html-list-head { height: 28px; }
    .blacklist-html-news-list li { height: 27px; }
    .blacklist-html-news-list .tit { line-height: 27px; }
}


.blacklist-page-footer { width: 100vw; margin: 16px 0 -34px; margin-left: calc(50% - 50vw); padding-bottom: 34px; background: #252525; color: #d8d8d8; border-radius: 0; overflow: hidden; }
.blacklist-footer-inner { width: min(1180px, 100%); margin: 0 auto; padding: 18px 16px 16px; }
.blacklist-footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 4px; background: rgba(255,255,255,.04); font-size: 13px; line-height: 1.6; }
.blacklist-footer-links strong { color: #fff; font-size: 14px; }
.blacklist-footer-links a { color: #d8d8d8; }
.blacklist-footer-links a:hover { color: #fff; text-decoration: underline; }
.blacklist-footer-links span { color: #aaa; }
.blacklist-footer-copy { margin-top: 12px; color: #aaa; font-size: 12px; text-align: center; }
@media (max-width: 980px) {
    .blacklist-page-footer { width: 100vw; margin-top: 10px; margin-bottom: -24px; margin-left: calc(50% - 50vw); padding-bottom: 24px; border-radius: 0; }
    .blacklist-footer-inner { padding: 14px 10px; }
    .blacklist-footer-links { gap: 6px 12px; padding: 10px 12px; font-size: 12px; }
}


.user-ratio-wrap { width: min(1180px, 100%); margin: 0 auto; }
.user-ratio-wrap .user-query-panel,
.user-ratio-wrap .user-result-panel,
.user-ratio-wrap .user-link-panel { width: 100%; }
@media (max-width: 980px) {
    .user-ratio-wrap { width: 100%; }
}
