/* ============================================================
   同人图hub · 全站视觉升级层 (skin.css)
   只做视觉增强：颜色、层次、光影、动效、排版细节
   不改变原有尺寸与布局，删掉本文件引用即可整体回滚
   ============================================================ */

:root {
  --sk-shadow-1: 0 2px 10px rgba(0, 0, 0, .32);
  --sk-shadow-2: 0 12px 32px rgba(0, 0, 0, .48);
  --sk-shadow-3: 0 26px 60px rgba(0, 0, 0, .58);
  --sk-hi: inset 0 1px 0 rgba(255, 255, 255, .07);
  --sk-ring: 0 0 0 1px rgba(var(--accent-rgb), .22);
  --sk-glow: 0 0 26px rgba(var(--accent-rgb), .22);
  --sk-panel: linear-gradient(167deg, rgba(32, 34, 40, .80) 0%, rgba(15, 16, 20, .88) 58%, rgba(11, 12, 15, .92) 100%);
  --sk-line: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), .55), transparent);
  --sk-ease: cubic-bezier(.22, .78, .24, 1);
  --sk-radius: 16px;
  --sk-radius-sm: 11px;
}

/* ---------- 背景：加噪点与暗角，消除死板 ---------- */
.bg-layer {
  filter: saturate(1.06) contrast(1.02) brightness(.96);
  transform: scale(1.04);
}

.bg-overlay {
  background:
    radial-gradient(1000px 560px at 8% -10%, rgba(var(--accent-rgb), .20) 0%, transparent 62%),
    radial-gradient(820px 520px at 94% 4%, rgba(255, 78, 60, .13) 0%, transparent 58%),
    radial-gradient(900px 640px at 50% 112%, rgba(var(--accent-rgb), .11) 0%, transparent 64%),
    radial-gradient(120% 100% at 50% 50%, transparent 42%, rgba(0, 0, 0, .58) 100%),
    linear-gradient(180deg, rgba(4, 5, 7, .34) 0%, rgba(4, 5, 7, .52) 100%);
}

/* 极细颗粒，让大面积深色有质感 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .16;
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'>\
<filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/>\
</filter><rect width='140' height='140' filter='url(%23n)' opacity='.55'/></svg>");
  mix-blend-mode: overlay;
}

/* ---------- 排版基线 ---------- */
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC",
    "Helvetica Neue", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.62;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body, .post-card, .btn, .tag, .input, .textarea, .nav-ico {
  font-variant-numeric: tabular-nums;
}

.section-title,
.page-head h1,
.pg-now,
.wb-num,
.rc-pay-amount,
.mg-entry-title {
  letter-spacing: -.022em;
  font-weight: 800;
}

::selection { background: rgba(var(--accent-rgb), .34); color: #fff; }

/* ---------- 顶栏 / 底栏 ---------- */
.topbar {
  background: linear-gradient(180deg, rgba(6, 7, 9, .86) 0%, rgba(6, 7, 9, .58) 100%);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border-bottom: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .05), 0 10px 30px rgba(0, 0, 0, .35);
}

.topbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--sk-line);
  opacity: .75;
  pointer-events: none;
}

.brand {
  letter-spacing: .035em;
  text-shadow: 0 0 22px rgba(var(--accent-rgb), .30);
}

.nav-ico {
  border-radius: 10px;
  transition: background .22s var(--sk-ease), transform .22s var(--sk-ease), color .22s var(--sk-ease);
}

.nav-ico:hover, .nav-ico:focus-visible {
  background: rgba(var(--accent-rgb), .12);
  color: var(--accent);
  transform: translateY(-1px);
}

.bottom-nav {
  background: linear-gradient(180deg, rgba(10, 11, 14, .60) 0%, rgba(6, 7, 9, .92) 100%);
  backdrop-filter: blur(26px) saturate(1.7);
  -webkit-backdrop-filter: blur(26px) saturate(1.7);
  border-top: 1px solid rgba(255, 255, 255, .07);
  box-shadow: 0 -14px 40px rgba(0, 0, 0, .48);
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 2px);
}

.bottom-nav a {
  transition: color .2s var(--sk-ease), transform .2s var(--sk-ease);
  position: relative;
}

.bottom-nav a:active { transform: scale(.94); }

.bottom-nav a.active::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(var(--accent-rgb), .85);
}

.bottom-nav a.active .ico { filter: drop-shadow(0 0 10px rgba(var(--accent-rgb), .45)); }

/* ---------- 卡片：统一三级光影 ---------- */
.post-card,
.video-card,
.me-profile-card,
.benefit-card,
.guide-card,
.wallet-balance-card,
.rc-pay-card,
.rc-plan,
.author-card,
.mg-entry,
.related-grid > *,
.cmp-table,
.kv-row,
.gc-dl,
.comment {
  background: var(--sk-panel);
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: var(--sk-radius);
  box-shadow: var(--sk-hi), var(--sk-shadow-2);
  transition: transform .26s var(--sk-ease), box-shadow .26s var(--sk-ease),
    border-color .26s var(--sk-ease), filter .26s var(--sk-ease);
}

.post-card:hover,
.video-card:hover,
.author-card:hover,
.guide-card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--accent-rgb), .30);
  box-shadow: var(--sk-hi), var(--sk-shadow-3), 0 0 0 1px rgba(var(--accent-rgb), .12);
}

.post-card:active,
.video-card:active { transform: scale(.985); }

/* 卡片顶部一道柔光，模拟环境光 */
.post-card::after,
.video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(120% 70% at 50% -20%, rgba(255, 255, 255, .09), transparent 58%);
}

.post-card, .video-card { position: relative; }

/* ---------- 图片与封面 ---------- */
.cover, .post-media, .video-thumb { position: relative; overflow: hidden; }

.cover img, .post-media img, .video-thumb img {
  transition: transform .5s var(--sk-ease), filter .5s var(--sk-ease);
  will-change: transform;
}

.post-card:hover .cover img,
.video-card:hover .video-thumb img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.03);
}

/* 封面底部渐隐，文字压图更清楚 */
.post-card .cover::after,
.post-media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(6, 7, 9, .55));
}

.cover-placeholder {
  background:
    linear-gradient(135deg, rgba(var(--accent-rgb), .10), rgba(255, 255, 255, .015) 60%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .03) 0 8px, transparent 8px 16px);
}

/* ---------- 按钮 ---------- */
.btn {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .10);
  font-weight: 700;
  letter-spacing: .02em;
  transition: transform .18s var(--sk-ease), box-shadow .24s var(--sk-ease),
    filter .24s var(--sk-ease), background .24s var(--sk-ease);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 42%;
  height: 100%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22), transparent);
  opacity: 0;
  transition: opacity .3s var(--sk-ease);
  pointer-events: none;
}

.btn:hover::after { opacity: 1; animation: sk-sheen .9s var(--sk-ease) forwards; }

@keyframes sk-sheen {
  from { left: -60%; }
  to { left: 130%; }
}

.btn-primary {
  background: linear-gradient(135deg, #ffc078 0%, var(--accent) 42%, #ff4d3d 100%);
  border-color: rgba(255, 255, 255, .22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .38), inset 0 -1px 0 rgba(0, 0, 0, .18),
    0 10px 26px rgba(var(--accent-rgb), .40);
  color: #fff;
}

.btn-primary:hover {
  filter: brightness(1.06) saturate(1.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .46), 0 14px 34px rgba(var(--accent-rgb), .52);
}

.btn-primary:active,
.btn:active { transform: scale(.972); }

.btn-ghost {
  background: rgba(255, 255, 255, .045);
  border-color: rgba(255, 255, 255, .12);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover { background: rgba(var(--accent-rgb), .10); border-color: rgba(var(--accent-rgb), .34); }

.btn:focus-visible,
.input:focus-visible,
.textarea:focus-visible,
.nav-ico:focus-visible,
a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .28), var(--sk-glow);
}

/* ---------- 输入控件 ---------- */
.input, .textarea, select, input[type="text"], input[type="password"],
input[type="number"], input[type="search"], input[type="email"] {
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: var(--sk-radius-sm);
  color: var(--text);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, .28);
  transition: border-color .22s var(--sk-ease), box-shadow .22s var(--sk-ease),
    background .22s var(--sk-ease);
}

.input:focus, .textarea:focus, input:focus, select:focus {
  background: rgba(255, 255, 255, .055);
  border-color: rgba(var(--accent-rgb), .52);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, .22), 0 0 0 3px rgba(var(--accent-rgb), .16);
  outline: none;
}

.input::placeholder, .textarea::placeholder, input::placeholder {
  color: rgba(255, 255, 255, .34);
}

.search-box, .hero-search {
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 14px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, .26);
}

/* ---------- 标签 / 徽章 ---------- */
.tag, .tag-chip, .status-badge, .rc-badge, .gc-tag {
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: .01em;
  transition: transform .2s var(--sk-ease), box-shadow .2s var(--sk-ease),
    background .2s var(--sk-ease);
}

.tag:hover, .tag-chip:hover {
  transform: translateY(-1px);
  background: rgba(var(--accent-rgb), .16);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), .34), 0 6px 16px rgba(var(--accent-rgb), .18);
}

.tag.active, .tag-chip.active {
  background: rgba(var(--accent-rgb), .18);
  border-color: rgba(var(--accent-rgb), .5);
  box-shadow: 0 0 18px rgba(var(--accent-rgb), .26);
}

.tag-filter-title { letter-spacing: .04em; }

/* ---------- 分区标题 ---------- */
.section-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title::before {
  content: "";
  width: 3px;
  height: 14px;
  border-radius: 3px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(var(--accent-rgb), .7);
}

/* ---------- 详情页 ---------- */
.post-detail {
  border-radius: var(--sk-radius);
  background: var(--sk-panel);
  border: 1px solid rgba(255, 255, 255, .075);
  box-shadow: var(--sk-hi), var(--sk-shadow-2);
  overflow: hidden;
}

.post-author {
  border-radius: 12px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .07);
}

.post-stats { letter-spacing: .02em; }

.fav-btn { transition: transform .2s var(--sk-ease), filter .2s var(--sk-ease); }
.fav-btn:active { transform: scale(.92); }

/* 付费遮挡条 */
.pay-lock-bar, .pay-lock-overlay {
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), .14), rgba(10, 11, 14, .92));
  border: 1px solid rgba(var(--accent-rgb), .30);
  box-shadow: var(--sk-hi), 0 16px 40px rgba(0, 0, 0, .55), var(--sk-glow);
  backdrop-filter: blur(14px);
}

/* ---------- 评论 ---------- */
.comment {
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: var(--sk-hi), 0 6px 18px rgba(0, 0, 0, .28);
}

.comment-list { display: flex; flex-direction: column; gap: 10px; }

/* ---------- 空态 / 提示 ---------- */
.empty {
  border-radius: var(--sk-radius);
  background: rgba(255, 255, 255, .022);
  border: 1px dashed rgba(255, 255, 255, .10);
  color: var(--muted);
  letter-spacing: .02em;
}

/* 消息提示条（限定在 flash-wrap 内，避免命中同名全屏特效层 .flash） */
.flash-wrap .flash,
.notice-bar,
.alert-bar {
  border-radius: 12px;
  box-shadow: var(--sk-hi), 0 10px 26px rgba(0, 0, 0, .38);
  border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(12px);
  animation: sk-flash-in .34s var(--sk-ease) both;
}

.flash-wrap .flash.ok,
.flash-wrap .flash.success {
  border-color: rgba(46, 204, 113, .32);
  background: rgba(46, 204, 113, .12);
}

.flash-wrap .flash.err,
.flash-wrap .flash.error,
.flash-wrap .flash.danger {
  border-color: rgba(255, 90, 90, .34);
  background: rgba(255, 70, 70, .12);
}

@keyframes sk-flash-in {
  from { opacity: 0; transform: translateY(-8px) scale(.98); }
  to { opacity: 1; transform: none; }
}

/* ---------- 分页 ---------- */
.pg-btn, .pager > *, .pager a {
  border-radius: 10px;
  transition: transform .18s var(--sk-ease), background .2s var(--sk-ease);
}

.pg-btn:active, .pager a:active { transform: scale(.94); }

.pager a.active, .pg-now {
  background: rgba(var(--accent-rgb), .16);
  border-color: rgba(var(--accent-rgb), .42);
  box-shadow: 0 0 16px rgba(var(--accent-rgb), .22);
}

/* ---------- 弹窗 / 遮罩 ---------- */
.modal, .modal > div, .modal-card {
  border-radius: 20px;
  background: linear-gradient(168deg, rgba(32, 34, 40, .96), rgba(12, 13, 17, .98));
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow: var(--sk-hi), 0 30px 70px rgba(0, 0, 0, .7), 0 0 0 1px rgba(var(--accent-rgb), .10);
}

.modal-bg {
  background: rgba(3, 4, 6, .72);
  backdrop-filter: blur(8px) saturate(.9);
}

/* ---------- 表格（后台） ---------- */
.table-wrap {
  border-radius: var(--sk-radius);
  background: rgba(255, 255, 255, .025);
  border: 1px solid rgba(255, 255, 255, .07);
  box-shadow: var(--sk-hi), var(--sk-shadow-1);
  overflow: hidden;
}

table th {
  background: rgba(255, 255, 255, .03);
  letter-spacing: .03em;
  font-weight: 700;
}

table tr { transition: background .2s var(--sk-ease); }
table tbody tr:hover { background: rgba(var(--accent-rgb), .06); }

/* 后台标签页 */
.admin-tabs a, .admin-tabs .tab {
  border-radius: 10px;
  transition: background .2s var(--sk-ease), color .2s var(--sk-ease);
}

.admin-tabs a.active { background: rgba(var(--accent-rgb), .14); box-shadow: 0 0 16px rgba(var(--accent-rgb), .18); }

/* ---------- 视频卡 ---------- */
.video-card .video-thumb::before,
.post-card .cover::before {
  content: "";
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), .9);
  box-shadow: 0 0 10px rgba(var(--accent-rgb), .9);
  opacity: .0;
  transition: opacity .3s var(--sk-ease);
}

.video-card:hover .video-thumb::before { opacity: 1; }

/* ---------- 钱包 / 会员 ---------- */
.wallet-balance-card {
  background:
    radial-gradient(120% 120% at 8% 0%, rgba(var(--accent-rgb), .28), transparent 58%),
    linear-gradient(160deg, rgba(38, 30, 22, .92), rgba(12, 13, 17, .96));
  border-color: rgba(var(--accent-rgb), .26);
  box-shadow: var(--sk-hi), 0 20px 46px rgba(0, 0, 0, .55), 0 0 40px rgba(var(--accent-rgb), .12);
}

.wallet-balance-card .wb-num { text-shadow: 0 0 24px rgba(var(--accent-rgb), .45); }

/* ---------- 细节打磨 ---------- */
a { transition: color .2s var(--sk-ease), opacity .2s var(--sk-ease); }

a:hover { opacity: .96; }

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, .06);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .35));
}

.sf-links a { border-bottom: 1px solid transparent; transition: border-color .2s var(--sk-ease); }
.sf-links a:hover { border-color: rgba(var(--accent-rgb), .55); }

/* 滚动条 */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(var(--accent-rgb), .22);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(var(--accent-rgb), .38); }

/* 骨架屏微光 */
.skeleton, .sk-line {
  background: linear-gradient(90deg, rgba(255, 255, 255, .045) 25%, rgba(255, 255, 255, .09) 37%, rgba(255, 255, 255, .045) 63%);
  background-size: 400% 100%;
  animation: sk-shimmer 1.4s ease-in-out infinite;
  border-radius: 8px;
}

@keyframes sk-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* 尊重减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* 小屏更紧致 */
@media (max-width: 380px) {
  :root { --sk-radius: 14px; }
  body { letter-spacing: 0; }
}

/* ============================================================
   后台（.admin-ui）统一深色
   ============================================================ */
.admin-ui {
  background: #08090c;
  color: var(--text);
}

.admin-ui .bg-layer,
.admin-ui .bg-overlay { display: none; }

.admin-ui .app-wrap { background: transparent; }

.admin-ui .admin-bar {
  background: linear-gradient(180deg, rgba(10, 11, 15, .96) 0%, rgba(9, 10, 13, .78) 100%);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .4);
}

.admin-ui .admin-bar .title { color: #f2f2f2; letter-spacing: .02em; }
.admin-ui .admin-bar .back { color: #b8b8b8; }

.admin-ui .admin-maint-pill {
  background: rgba(255, 255, 255, .08) !important;
  color: #d8d8d8 !important;
  border: 1px solid rgba(255, 255, 255, .12);
}

.admin-ui .admin-maint-pill.on {
  background: rgba(255, 45, 45, .16) !important;
  color: #ff8a8a !important;
  border-color: rgba(255, 45, 45, .38);
}

.admin-ui .admin-maint-pill .dot {
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

/* 标签条：改为横向滑动胶囊，不再 18 项平分宽度挤成竖排 */
.admin-ui .admin-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 7px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 9px 12px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  background: rgba(8, 9, 12, .86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  max-width: none;
}

.admin-ui .admin-tabs::-webkit-scrollbar { display: none; }

.admin-ui .admin-tabs a {
  flex: 0 0 auto;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 13px;
  border-radius: 11px;
  font-size: 12.5px;
  font-weight: 600;
  color: #9e9e9e;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .07);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  transition: color .2s var(--sk-ease), background .2s var(--sk-ease),
    box-shadow .2s var(--sk-ease), transform .2s var(--sk-ease);
}

.admin-ui .admin-tabs a:hover { color: #eaeaea; background: rgba(255, 255, 255, .085); }

.admin-ui .admin-tabs a.active {
  color: #fff;
  background: linear-gradient(135deg, #ffc078 0%, var(--accent) 46%, #ff4d3d 100%);
  border-color: rgba(255, 255, 255, .22);
  box-shadow: 0 8px 22px rgba(var(--accent-rgb), .34), inset 0 1px 0 rgba(255, 255, 255, .3);
}

.admin-ui .risk-badge {
  background: #ff2d55;
  color: #fff;
  border-radius: 9px;
  padding: 0 5px;
  font-size: 10px;
}

/* 表格：实底、斑马纹、可横向滚动 */
.admin-ui .table-wrap {
  background: rgba(255, 255, 255, .025);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.admin-ui table.data { width: 100%; border-collapse: collapse; }

.admin-ui table.data th {
  background: rgba(255, 255, 255, .055);
  color: #ececec;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .03em;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  white-space: nowrap;
}

.admin-ui table.data td {
  color: #c8c8c8;
  font-size: 12.5px;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  vertical-align: middle;
}

.admin-ui table.data tbody tr:nth-child(even) td { background: rgba(255, 255, 255, .018); }
.admin-ui table.data tbody tr:hover td { background: rgba(var(--accent-rgb), .075); }
.admin-ui table.data tbody tr:last-child td { border-bottom: none; }

/* 输入与筛选：深底 */
.admin-ui .adm-input,
.admin-ui .adm-select,
.admin-ui .inline-form .input,
.admin-ui input[type="text"],
.admin-ui input[type="search"],
.admin-ui input[type="number"],
.admin-ui input[type="password"],
.admin-ui input[type="file"],
.admin-ui select,
.admin-ui textarea {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #f2f2f2;
  border-radius: 10px;
  font-family: inherit;
}

.admin-ui .adm-input::placeholder,
.admin-ui input::placeholder,
.admin-ui textarea::placeholder { color: rgba(255, 255, 255, .38); }

.admin-ui select option { background: #14161b; color: #eee; }

.admin-ui .adm-input:focus,
.admin-ui .adm-select:focus,
.admin-ui input:focus,
.admin-ui select:focus,
.admin-ui textarea:focus {
  border-color: rgba(var(--accent-rgb), .55);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .16);
  outline: none;
}

/* 后台里的浅色遗留兜底 */
.admin-ui .section-title { color: #f4f4f4; }
.admin-ui .section-title::before { background: var(--accent); }

.admin-ui .kv-row { background: rgba(255, 255, 255, .035); border-color: rgba(255, 255, 255, .08); }
.admin-ui .kv-row .k { color: #9e9e9e; }
.admin-ui .kv-row .v { color: #e2e2e2; }

.admin-ui .status-badge { color: #fff; }
.admin-ui .device-tag { background: rgba(255, 255, 255, .07); color: #cfcfcf; border-color: rgba(255, 255, 255, .12); }

.admin-ui .empty {
  background: rgba(255, 255, 255, .03);
  border: 1px dashed rgba(255, 255, 255, .12);
  color: #9a9a9a;
}

.admin-ui .row-actions .btn { font-size: 12px; }

/* 后台表单页（发布稿件/视频） */
.admin-ui .field label { color: #b6b6b6; }
.admin-ui .page-pad { color: #d0d0d0; }

/* 表格列宽与链接：11 列在手机上横滚，标题改主色 */
.admin-ui table.data { min-width: 760px; }

.admin-ui table.data a,
.admin-ui .table-wrap a {
  color: #ececec;
  text-decoration: none;
  transition: color .18s var(--sk-ease);
}

.admin-ui table.data a:hover,
.admin-ui .table-wrap a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* 后台遗留浅色：搜索栏与各类小徽章统一深色 */
.admin-ui .user-search {
  background: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  padding-bottom: 10px;
}

.admin-ui .user-search .input,
.admin-ui .input {
  background: rgba(255, 255, 255, .06) !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  color: #f2f2f2 !important;
}

.admin-ui .user-search-count { color: #8e8e8e; }

.admin-ui .qq-chip {
  background: rgba(56, 160, 220, .16) !important;
  border-color: rgba(56, 160, 220, .40) !important;
  color: #8fd0f5 !important;
}

.admin-ui .qq-openid {
  background: rgba(255, 255, 255, .06) !important;
  border-color: rgba(255, 255, 255, .12) !important;
  color: #9aa4b0 !important;
}

.admin-ui .btn-qq-unbind {
  background: rgba(255, 90, 90, .13) !important;
  border-color: rgba(255, 90, 90, .38) !important;
  color: #ff9090 !important;
}

.admin-ui .btn-qq-unbind:hover { background: rgba(255, 90, 90, .24) !important; }

.admin-ui .device-tag,
.admin-ui .status-badge { white-space: nowrap; }

.admin-ui .device-tag.dev-admin {
  color: #ffd08a !important;
  background: rgba(255, 172, 60, .15) !important;
  border-color: rgba(255, 172, 60, .36) !important;
}

.admin-ui .device-tag.dev-none {
  color: #9a9a9a !important;
  background: rgba(255, 255, 255, .05) !important;
  border-color: rgba(255, 255, 255, .10) !important;
}

.admin-ui .batch-bar {
  background: rgba(255, 70, 70, .10);
  border: 1px solid rgba(255, 70, 70, .30);
  color: #f0c8c8;
}

.admin-ui .batch-bar select,
.admin-ui .batch-bar input {
  background: rgba(255, 255, 255, .07) !important;
  border: 1px solid rgba(255, 255, 255, .13) !important;
  color: #f0f0f0 !important;
}


/* ---------- 封面底部渐隐修正 ----------
   卡片文字本就在图片下方，再加底部黑色渐隐会在浅色封面上形成一条明显的黑带，
   与深色底也不构成层次，故对列表型封面统一关闭；详情页大图（.post-media）保留。 */
.post-card .cover::after,
.video-card .vc-cover::after,
.video-card .video-thumb::after { display: none !important; content: none; }
