/**
 * ReleaseCheck 前台样式
 *
 * 复用 style.css 的 TMDB 设计令牌，为本模块提供版式与组件。
 */

/* ===== 导航链接（TMDB 水平菜单风格） ===== */
.rc-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  margin-left: 0;
  flex-shrink: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.rc-nav-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
}
.rc-nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.92);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.navbar.is-nav-open .rc-nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar.is-nav-open .rc-nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
.navbar.is-nav-open .rc-nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
/** ReleaseCheck 顶栏单行：品牌 · Home/分类靠左 · 版权/举报靠右 · 语言切换 */
.navbar-inner:has(.rc-nav) {
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 12px;
}
.navbar-inner:has(.rc-nav) .brand {
  flex-shrink: 0;
}
/* 移动端默认收起；桌面端见 @media (min-width: 721px) */
.navbar-inner:has(.rc-nav) .rc-nav {
  display: none;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  min-width: 0;
}
.navbar-inner:has(.rc-nav) .rc-lang {
  flex-shrink: 0;
  margin-left: 0;
}
.rc-nav__start,
.rc-nav__end {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}
.rc-nav__end {
  margin-left: auto;
}
.rc-nav {
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
}
.rc-nav a {
  padding: 8px 12px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.15s, background 0.15s;
}
.rc-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.rc-nav a.rc-nav-cta {
  color: #fff;
  background: var(--tmdb-blue);
  border: 1px solid var(--tmdb-blue);
  border-radius: var(--radius);
  font-weight: 700;
}
.rc-nav a.rc-nav-cta:hover {
  background: var(--tmdb-blue-hover);
  border-color: var(--tmdb-blue-hover);
  color: #fff;
}
/* 导航内醒目举报入口 */
.rc-nav a.rc-nav-report {
  color: #fff;
  background: #c62828;
  border: 1px solid #c62828;
  font-weight: 700;
  border-radius: var(--radius);
}
.rc-nav a.rc-nav-report:hover {
  background: #b71c1c;
  border-color: #b71c1c;
  color: #fff;
}
/* 顶栏「分类」下拉（七大类枢纽） */
.rc-nav-dropdown {
  position: relative;
}
.rc-nav-dropdown__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: none;
  border-radius: var(--radius);
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}
.rc-nav-dropdown__toggle:hover,
.rc-nav-dropdown.is-open .rc-nav-dropdown__toggle {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.rc-nav-dropdown__chevron {
  display: inline-block;
  width: 0;
  height: 0;
  margin-top: 2px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.75;
  transition: transform 0.15s ease;
}
.rc-nav-dropdown.is-open .rc-nav-dropdown__chevron {
  transform: rotate(180deg);
}
.rc-nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 120;
  display: none;
  flex-direction: column;
  min-width: 148px;
  padding: 6px;
  border-radius: var(--radius);
  background: #1a2230;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}
.rc-nav-dropdown.is-open .rc-nav-dropdown__menu {
  display: flex;
}
.rc-nav-dropdown__menu[hidden] {
  display: none !important;
}
.rc-nav-dropdown.is-open .rc-nav-dropdown__menu[hidden] {
  display: flex !important;
}
.rc-nav-dropdown__item {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.rc-nav-dropdown__item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.rc-nav-dropdown__item.is-active {
  color: #fff;
  background: rgba(1, 180, 228, 0.22);
}
/* 语言切换（顶栏右侧，与左侧品牌对称） */
.rc-lang {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-left: 0;
  padding: 2px;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
}
.rc-lang__btn {
  padding: 5px 10px !important;
  border-radius: 6px !important;
  font-size: 12px !important;
  font-weight: 700;
  color: var(--text-dim) !important;
}
.rc-lang__btn.is-active {
  background: var(--tmdb-blue) !important;
  color: #fff !important;
}
.rc-catalog-link {
  margin: 0 0 12px;
  font-size: 13px;
}
.rc-catalog-link a {
  color: var(--tmdb-blue);
  text-decoration: none;
  font-weight: 600;
}
.rc-catalog-link a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 顶栏举报提示条（仅决策页 /s|/v|/m|/g|/u；仅文案） */
.rc-report-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 18px;
  background: linear-gradient(90deg, rgba(198, 40, 40, 0.18), rgba(198, 40, 40, 0.06));
  border-bottom: 1px solid rgba(198, 40, 40, 0.35);
  font-size: 13px;
}
.rc-report-bar__text {
  color: var(--text);
  flex: 1;
  min-width: 180px;
}

/* 右下角悬浮举报按钮 */
.rc-report-fab {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 80;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #c62828;
  color: #fff !important;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 6px 20px rgba(198, 40, 40, 0.45);
  text-decoration: none;
}
.rc-report-fab:hover {
  background: #b71c1c;
}

/* 快速举报点击反馈（复制草稿 / 无邮件客户端时的兜底提示） */
.rc-report-toast {
  position: fixed;
  left: 50%;
  bottom: 88px;
  z-index: 90;
  max-width: min(520px, calc(100vw - 32px));
  padding: 12px 16px;
  border-radius: 10px;
  background: #1e1e2a;
  border: 1px solid rgba(198, 40, 40, 0.55);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
  transform: translateX(-50%) translateY(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.rc-report-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== 页脚补充 ===== */
.footer .rc-footer-links {
  margin-top: 10px;
  font-size: 12px;
}
.footer .rc-footer-links a {
  color: var(--text-dim);
  margin: 0 6px;
}
.footer .rc-footer-links a:hover {
  color: var(--tmdb-blue);
}

/* ===== 通用面板 ===== */
.rc-shell {
  max-width: 760px;
  margin: 0 auto;
}
.rc-shell--wide {
  max-width: 920px;
}

.rc-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 28px 32px;
}

.rc-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tmdb-blue);
  margin-bottom: 10px;
}

.rc-title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

/** 首页 Magnet 检测标题居中 */
.rc-title.rc-title--center {
  text-align: center;
}

.rc-site-intro {
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: rgba(1, 180, 228, 0.08);
  border: 1px solid rgba(1, 180, 228, 0.22);
}
.rc-site-intro a {
  color: var(--tmdb-blue);
  font-weight: 600;
  text-decoration: none;
}
.rc-site-intro a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rc-lead {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 22px;
}

.rc-lead a {
  color: var(--tmdb-blue);
  text-decoration: none;
  font-weight: 600;
}
.rc-lead a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rc-muted,
.muted {
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.55;
}
.rc-muted a,
.muted a {
  color: var(--tmdb-blue);
  font-weight: 600;
}
.rc-muted a:hover,
.muted a:hover {
  color: #4dcfef;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rc-section {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.rc-section h2 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.rc-section p,
.rc-section li {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-dim);
}

.rc-section ol,
.rc-section ul {
  padding-left: 1.2em;
  margin: 8px 0 0;
}

.rc-section li + li {
  margin-top: 6px;
}

.rc-section a {
  color: var(--tmdb-blue);
  font-weight: 600;
}
.rc-section a:hover {
  color: #4dcfef;
}

.rc-section code,
.rc-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
  background: var(--bg-soft);
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid var(--border);
}

/* ===== 按钮组 ===== */
.rc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.rc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--tmdb-blue);
  background: var(--tmdb-blue);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}
.rc-btn:hover {
  background: var(--tmdb-blue-hover);
  border-color: var(--tmdb-blue-hover);
  color: #fff;
}
.rc-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.rc-btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text);
}
.rc-btn--ghost:hover {
  border-color: var(--tmdb-blue);
  color: var(--tmdb-blue);
  background: rgba(1, 180, 228, 0.08);
}
.rc-btn--block {
  width: 100%;
}

/**
 * Actions 区磁力三按钮：主操作（打开）/ 复制磁力 / 复制 infohash
 * 配色沿用 TMDB 亮蓝与评分绿，层级由实色 → 蓝描边 → 绿描边区分。
 */
.rc-btn--magnet-open {
  background: var(--tmdb-blue);
  border-color: var(--tmdb-blue);
  color: #fff;
}
.rc-btn--magnet-open:hover {
  background: var(--tmdb-blue-hover);
  border-color: var(--tmdb-blue-hover);
  color: #fff;
}
.rc-btn--magnet-copy {
  background: rgba(1, 180, 228, 0.14);
  border-color: rgba(1, 180, 228, 0.55);
  color: #7ee8ff;
}
.rc-btn--magnet-copy:hover {
  background: rgba(1, 180, 228, 0.24);
  border-color: var(--tmdb-blue);
  color: #fff;
}
.rc-btn--hash-copy {
  background: rgba(33, 208, 122, 0.1);
  border-color: rgba(33, 208, 122, 0.5);
  color: var(--tmdb-rating);
}
.rc-btn--hash-copy:hover {
  background: rgba(33, 208, 122, 0.2);
  border-color: var(--tmdb-rating);
  color: #fff;
}

/** /check 页：操作按钮居中 */
.rc-check-actions {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

/** 检测结果区内：刷新按钮紧贴进度条下方 */
.rc-result .rc-check-actions {
  margin-top: 12px;
  margin-bottom: 4px;
}

/** 合一页分区：分割线与说明 */
.rc-section-divider {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 28px 0 12px;
}
.rc-section-hint {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-dim);
  text-align: center;
}

/* ===== 检测表单 ===== */
.rc-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.rc-textarea {
  width: 100%;
  min-height: 110px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text);
  font-size: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  line-height: 1.5;
  resize: vertical;
  outline: none;
  transition: border-color 0.15s;
}
.rc-textarea:focus {
  border-color: var(--tmdb-blue);
  box-shadow: 0 0 0 2px rgba(1, 180, 228, 0.2);
}

.rc-form-hint {
  margin: 10px 0 16px;
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
}

.rc-captcha {
  margin: 16px 0;
}

/* ===== 任务结果面板 ===== */
.rc-result {
  margin-top: 20px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 16px 18px;
}
.rc-result[hidden] {
  display: none;
}
.rc-result--ok {
  border-color: rgba(46, 204, 113, 0.35);
}
.rc-result--err {
  border-color: rgba(229, 9, 20, 0.45);
}
.rc-result__title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}
.rc-result__meta {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--text-dim);
}
.rc-result__meta strong {
  color: var(--text);
  font-weight: 600;
}
.rc-progress {
  margin-top: 12px;
  height: 6px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
}
.rc-progress > span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--tmdb-blue), var(--tmdb-green));
  transition: width 0.35s ease;
}

/* ===== 决策页 ===== */
.rc-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 6px;
}

.rc-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text-dim);
}
.rc-chip--ok {
  color: var(--tmdb-rating);
  border-color: rgba(33, 208, 122, 0.45);
}
.rc-chip--warn {
  color: #ffd166;
  border-color: rgba(255, 209, 102, 0.35);
}
.rc-chip--danger {
  color: #ff8a8a;
  border-color: rgba(229, 9, 20, 0.4);
}

.rc-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 8px;
}
.rc-stat {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
}
.rc-stat__label {
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.rc-stat__value {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.rc-stat__sub {
  margin-top: 4px;
  font-size: 11px;
  color: var(--text-dim);
}

/* 影视规格条：一眼读分辨率/片源/编码 */
.rc-spec-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 4px;
  margin: 14px 0 4px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.02)
  );
}
.rc-spec-bar__item {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text);
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
}
.rc-spec-bar__sep {
  color: var(--text-dim);
  opacity: 0.55;
  font-size: 12px;
  user-select: none;
}
.rc-original-name {
  margin-top: 8px;
  word-break: break-word;
}
.rc-hint-list {
  margin: 0;
  padding-left: 1.2em;
}
.rc-hint-list li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dim);
}
.rc-hint-list li + li {
  margin-top: 6px;
}
.rc-release--video .rc-title {
  letter-spacing: -0.02em;
}

/* 使用场景列表 */
.rc-scenario-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.rc-scenario-item {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
}
.rc-scenario-item__title {
  display: block;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 4px;
}
.rc-scenario-item--primary {
  border-color: rgba(255, 255, 255, 0.22);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.07),
    rgba(255, 255, 255, 0.02)
  );
}
.rc-scenario-item--risk {
  border-color: rgba(198, 40, 40, 0.45);
  background: rgba(198, 40, 40, 0.08);
}
.rc-scenario-item__meta,
.rc-scenario-item__action {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-dim);
}
.rc-scenario-item__meta span,
.rc-scenario-item__action span {
  color: var(--text);
  font-weight: 600;
  margin-right: 4px;
}
.rc-scenario-more summary {
  cursor: pointer;
  font-size: 13px;
  color: var(--tmdb-blue);
  font-weight: 600;
  list-style: none;
}
.rc-scenario-more summary::-webkit-details-marker {
  display: none;
}

/* 教程列表 */
.rc-tutorial-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.rc-tutorial-list li {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
}
.rc-tutorial-list a {
  color: var(--tmdb-blue);
  text-decoration: none;
  font-weight: 600;
}
.rc-tutorial-list a:hover {
  text-decoration: underline;
}
.rc-tutorial-list p {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-dim);
}

.rc-dl {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 8px 12px;
  font-size: 14px;
}
.rc-dl dt {
  color: var(--text-dim);
}
.rc-dl dd {
  color: var(--text);
  word-break: break-word;
}

.rc-cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.rc-cat-list li {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}
.rc-cat-list .rc-cat-name {
  color: var(--text);
  font-weight: 600;
}
.rc-cat-bar {
  height: 6px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
}
.rc-cat-bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--tmdb-blue), var(--tmdb-green));
}
.rc-cat-meta {
  color: var(--text-dim);
  white-space: nowrap;
  font-size: 12px;
}

.rc-callout {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: rgba(1, 180, 228, 0.08);
  border: 1px solid rgba(1, 180, 228, 0.25);
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-dim);
}

/* Info Gain：校验说明 / 破解横幅 / flags */
.rc-explain {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-dim);
}
.rc-alert {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
}
.rc-alert strong {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--text);
}
.rc-alert p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-dim);
  margin: 0;
}
.rc-alert--warn {
  border-color: rgba(255, 209, 102, 0.4);
  background: rgba(255, 209, 102, 0.08);
}
.rc-alert--danger {
  border-color: rgba(229, 9, 20, 0.45);
  background: rgba(229, 9, 20, 0.1);
}
/* 疑似破解：更大字号 + 更醒目边框 */
.rc-alert--crack {
  margin-top: 14px;
  padding: 16px 18px;
}
.rc-alert--crack strong {
  font-size: 18px;
  letter-spacing: 0.02em;
}

/* 文件清单过滤条 */
.rc-file-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.rc-file-filter__input {
  flex: 1;
  min-width: 160px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text);
  font-size: 13px;
}
.rc-file-filter__input:focus {
  outline: none;
  border-color: var(--accent, #4fc3f7);
  box-shadow: 0 0 0 2px rgba(79, 195, 247, 0.2);
}
.rc-file-filter__clear {
  padding: 6px 12px;
  font-size: 12px;
}
.rc-file-filter__count {
  font-size: 12px;
  color: var(--text-dim);
  white-space: nowrap;
}
.rc-file-filter__empty {
  margin: 0 0 10px;
}

/* 磁力文件清单表 */
.rc-file-table-wrap {
  max-height: 420px;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-soft);
}
.rc-file-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.rc-file-table th,
.rc-file-table td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.rc-file-table th {
  position: sticky;
  top: 0;
  background: var(--card);
  z-index: 1;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}
.rc-file-path .rc-mono {
  word-break: break-all;
  font-size: 11px;
}
.rc-file-cat {
  white-space: nowrap;
  color: var(--text-dim);
}
.rc-file-size {
  white-space: nowrap;
  text-align: right !important;
  font-variant-numeric: tabular-nums;
}
.rc-file-row--risk td {
  background: rgba(229, 9, 20, 0.06);
}
.rc-file-row--risk .rc-file-cat {
  color: #ff8a80;
  font-weight: 600;
}
.rc-flag-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.rc-flag-list li {
  margin: 0;
}
.rc-chip-row {
  margin-top: 4px;
}

.rc-magnet-box {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
}
/** magnet 区链接按钮：覆盖 .rc-section a 强调色，保持按钮自身配色 */
.rc-section .rc-magnet-box a.rc-btn,
.rc-section .rc-magnet-box a.rc-btn:visited {
  color: inherit;
}
.rc-section .rc-magnet-box a.rc-btn--magnet-open,
.rc-section .rc-magnet-box a.rc-btn--magnet-open:visited,
.rc-section .rc-magnet-box a.rc-btn--magnet-open:hover {
  color: #fff;
}
.rc-section .rc-magnet-box a.rc-btn--magnet-copy,
.rc-section .rc-magnet-box a.rc-btn--magnet-copy:visited {
  color: #7ee8ff;
}
.rc-section .rc-magnet-box a.rc-btn--magnet-copy:hover {
  color: #fff;
}
.rc-hash {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  word-break: break-all;
  color: var(--text-dim);
}

/* ===== 枢纽 / 空状态 ===== */
.rc-hero-actions {
  margin-top: 8px;
}

/* ===== Magnet 工具 Tab / 链接解析 ===== */
.rc-tool-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.rc-tool-tabs__tab {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.rc-tool-tabs__tab:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.22);
}
.rc-tool-tabs__tab.is-active {
  color: #fff;
  border-color: var(--tmdb-blue);
  background: rgba(1, 180, 228, 0.18);
}
.rc-chip--ghost {
  background: transparent;
  border: 1px dashed var(--border);
  color: var(--text-dim);
}
.rc-decoder-privacy {
  margin: 0 0 16px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 13px;
}
.rc-decoder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.rc-decoder-input {
  min-height: 120px;
}
.rc-decoder-result {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.rc-decoder-status-wrap {
  margin-bottom: 14px;
}
.rc-decoder-status {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  color: var(--text-dim);
}
.rc-decoder-status.is-valid {
  color: #7dffb2;
  border-color: rgba(125, 255, 178, 0.35);
  background: rgba(125, 255, 178, 0.08);
}
.rc-decoder-status.is-invalid {
  color: #ff8a80;
  border-color: rgba(255, 138, 128, 0.35);
  background: rgba(255, 138, 128, 0.08);
}
.rc-decoder-section {
  margin-top: 18px;
}
.rc-decoder-section__title {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
}
.rc-decoder-dl dt {
  color: var(--text-dim);
}
.rc-decoder-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.rc-decoder-list li {
  margin: 0;
  word-break: break-all;
}
.rc-decoder-pre {
  margin: 0;
  padding: 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-all;
  overflow-x: auto;
}
.rc-decoder-pre--inline {
  display: inline-block;
  max-width: 100%;
}
.rc-decoder-warnings {
  margin: 0;
  padding-left: 18px;
  color: #ffcc80;
}
.rc-decoder-warnings li {
  margin: 4px 0;
}
.rc-decoder-copy-norm {
  margin-top: 8px;
}
.rc-decoder-check-link {
  margin-top: 18px;
}

/* ===== 桌面顶栏（≥721px 菜单常显） ===== */
@media (min-width: 721px) {
  .navbar-inner:has(.rc-nav) .rc-nav {
    display: flex;
    flex: 1 1 auto;
  }
}

/* ===== 响应式 ===== */
@media (max-width: 720px) {
  .rc-panel {
    padding: 22px 18px 26px;
  }
  .rc-title {
    font-size: 24px;
  }
  .rc-stats {
    grid-template-columns: 1fr;
  }
  .rc-dl {
    grid-template-columns: 1fr;
    gap: 2px 0;
  }
  .rc-dl dt {
    margin-top: 8px;
    font-size: 12px;
  }
  .rc-cat-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .rc-nav-toggle {
    display: inline-flex;
    order: 3;
    margin-left: 8px;
    flex-shrink: 0;
  }
  .navbar-inner:has(.rc-nav) .rc-lang {
    order: 2;
    margin-left: auto;
  }
  .navbar-inner:has(.rc-nav) {
    flex-wrap: nowrap;
  }
  .navbar-inner:has(.rc-nav) .brand {
    order: 1;
    min-width: 0;
  }
  .navbar-inner:has(.rc-nav) .brand span {
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .navbar-inner:has(.rc-nav) .rc-nav {
    order: 4;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px 20px 12px;
    background: var(--tmdb-navy-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-nav);
  }
  .navbar-inner:has(.rc-nav) {
    position: relative;
  }
  .navbar.is-nav-open .navbar-inner:has(.rc-nav) .rc-nav {
    display: flex;
  }
  .rc-nav__start,
  .rc-nav__end {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }
  .rc-nav__end {
    margin-left: 0;
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .rc-nav-dropdown {
    flex-basis: 100%;
  }
  .rc-nav-dropdown__menu {
    position: static;
    top: auto;
    left: auto;
    min-width: 0;
    margin-top: 4px;
    padding: 4px 0 4px 8px;
    background: transparent;
    border: none;
    box-shadow: none;
  }
  .rc-nav-dropdown__item {
    padding-left: 8px;
  }
}

/* ===== 大类枢纽：最近检测列表 ===== */
.rc-hub-recent {
  margin-top: 28px;
}
.rc-hub-recent .rc-section-title {
  margin-bottom: 12px;
  font-size: 1.15rem;
}
.rc-hub-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.rc-hub-table th,
.rc-hub-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.rc-hub-table th {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.rc-hub-table__name a {
  color: var(--tmdb-blue);
  font-weight: 600;
  word-break: break-word;
}
.rc-hub-table__name a:hover {
  text-decoration: underline;
}
.rc-hub-table__time {
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.72);
  font-variant-numeric: tabular-nums;
}
.rc-hub-empty {
  margin-top: 18px;
}
.rc-hub-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 22px;
  padding-top: 8px;
}
.rc-hub-pager__link {
  color: var(--tmdb-blue);
  font-weight: 600;
  text-decoration: none;
}
.rc-hub-pager__link:hover {
  text-decoration: underline;
}
.rc-hub-pager__link.is-disabled {
  color: rgba(255, 255, 255, 0.35);
  font-weight: 500;
  pointer-events: none;
}
.rc-hub-pager__status {
  color: rgba(255, 255, 255, 0.75);
  font-variant-numeric: tabular-nums;
  font-size: 14px;
}
