/* ============================================================
   自适应 PC 前台
   断点：1600 / 1440 / 1280 / 1024 / 768 / 560 / 375
   策略：桌面三栏 → 平板双栏 → 手机单栏（降级到 H5 布局）
   ============================================================ */

/* ---------- 布局容器 ---------- */
.web {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  background: var(--canvas);
}

/* ---------- 顶栏 ---------- */
.hd {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 17, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.hd__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
}
.hd__brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.hd__logo {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  background: var(--cyan);
  border-radius: 8px;
  flex-shrink: 0;
}
.hd__logo::after { content: ""; width: 10px; height: 10px; background: #04141a; border-radius: 50%; }
.hd__brand span { font-family: var(--font-mono); font-size: 14px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }

.hd__nav { display: flex; gap: 4px; }
.hd__nav a {
  padding: 7px 14px;
  border-radius: 8px;
  color: var(--text-2);
  font-family: var(--font-cn);
  font-size: 13px;
  transition: all .15s;
  white-space: nowrap;
}
.hd__nav a:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
.hd__nav a.is-on { background: rgba(0, 229, 255, .12); color: var(--cyan); font-weight: 600; }

.hd__search {
  flex: 1;
  max-width: 340px;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 13px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--hairline);
  border-radius: 18px;
}
.hd__search input { flex: 1; font-size: 12px; min-width: 0; }
.hd__search input::placeholder { color: var(--text-3); }

.hd__right { display: flex; align-items: center; gap: 10px; margin-left: auto; flex-shrink: 0; }
.hd__user { display: flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border-radius: 18px; background: rgba(255,255,255,.04); cursor: pointer; }
.hd__user:hover { background: rgba(255,255,255,.08); }
.hd__user b { font-size: 12px; font-weight: 600; }

.hd__burger { display: none; }

/* ---------- 页脚 ---------- */
.ft { margin-top: 48px; padding: 32px 24px; border-top: 1px solid var(--hairline); background: #0B0B11; }
.ft__inner { max-width: 1440px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.ft__col { display: flex; flex-direction: column; gap: 9px; }
.ft__col h4 { font-size: 12px; font-weight: 600; color: var(--text-2); margin-bottom: 2px; }
.ft__col a { font-size: 12px; color: var(--text-3); }
.ft__col a:hover { color: var(--cyan); }
.ft__note { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(33,38,41,.6); color: var(--text-3); font-size: 11px; line-height: 1.7; }

/* ---------- 主区 ---------- */
.wrap {
  flex: 1;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px;
}
.wrap--narrow { max-width: 1080px; }

/* 首页 Hero */
.hero {
  position: relative;
  padding: 34px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, rgba(0, 229, 255, .11), rgba(0, 229, 255, .02));
  border: 1px solid rgba(0, 229, 255, .26);
  border-radius: 16px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 280px; height: 280px;
  border: 1px solid rgba(0, 229, 255, .18);
  border-radius: 50%;
  pointer-events: none;
}
.hero h1 { font-family: var(--font-cn); font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.hero p { color: var(--text-2); font-size: 13px; max-width: 620px; line-height: 1.7; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hero .btn { width: auto; padding: 0 24px; height: 42px; font-size: 13px; }

/* 统计条 */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 24px; }
.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  background: var(--surface-elevated);
  border: 1px solid var(--hairline);
  border-radius: 12px;
}
.stat__label { font-size: 11px; color: var(--text-3); }
.stat__value { font-family: var(--font-mono); font-size: 24px; font-weight: 700; line-height: 1; color: var(--cyan); }
.stat__value small { font-size: 11px; color: var(--text-3); margin-left: 4px; font-weight: 400; }

/* 主体三栏 */
.cols3 { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }

.sec { margin-bottom: 32px; }
.sec__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.sec__head h2 { font-family: var(--font-cn); font-size: 17px; font-weight: 700; }
.sec__head .line { flex: 1; height: 1px; background: var(--hairline); }
.sec__more { font-size: 12px; color: var(--text-3); }
.sec__more:hover { color: var(--cyan); }

/* 情报卡片网格 */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.grid-cards--wide { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }

/* 情报卡（PC 版） */
.icard {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  background: var(--surface-elevated);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .15s, transform .15s;
}
.icard:hover { border-color: rgba(0, 229, 255, .4); transform: translateY(-2px); }
.icard__top { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.icard h3 {
  font-family: var(--font-cn);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  flex: 1;
  min-height: 44px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.icard__foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(33, 38, 41, .6);
}
.icard__price { font-family: var(--font-mono); font-size: 16px; font-weight: 700; color: var(--cyan); }
.icard__price small { font-size: 10px; color: var(--text-3); font-weight: 400; }
.icard__seller { display: flex; align-items: center; gap: 6px; margin-left: auto; }

/* 悬赏卡（PC 版） */
.bcard {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  background: var(--surface-elevated);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .15s;
}
.bcard:hover { border-color: rgba(0, 229, 255, .4); }
.bcard h3 {
  font-family: var(--font-cn);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bcard__amount { display: flex; align-items: baseline; gap: 6px; }
.bcard__amount b { font-family: var(--font-mono); font-size: 20px; font-weight: 700; }
.bcard__amount span { font-size: 11px; color: var(--text-3); }

/* 侧栏 */
.side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 84px; }
.side__card { background: var(--surface-elevated); border: 1px solid var(--hairline); border-radius: 12px; overflow: hidden; }
.side__hd {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--font-cn);
  font-size: 13px;
  font-weight: 700;
}
.side__bd { padding: 12px 14px; }

/* 分类列表 */
.cat-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(33, 38, 41, .5);
  cursor: pointer;
  font-size: 13px;
  transition: color .15s;
}
.cat-row:last-child { border-bottom: none; }
.cat-row:hover { color: var(--cyan); }
.cat-row__ico {
  display: grid; place-items: center;
  width: 22px; height: 22px;
  background: rgba(0, 229, 255, .1);
  border-radius: 6px;
  color: var(--cyan);
  font-size: 11px;
  flex-shrink: 0;
}
.cat-row--empty { opacity: .5; }
.cat-row--empty .cat-row__ico { background: rgba(255,255,255,.04); color: var(--text-3); }
.cat-row--empty:hover { opacity: .85; }
.cat-row__name { flex: 1; }
.cat-row__n { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); }
.cat-row__price { font-family: var(--font-mono); font-size: 10px; color: var(--text-3); }

/* 主题列表 */
.trow { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(33,38,41,.5); cursor: pointer; }
.trow:last-child { border-bottom: none; }
.trow:hover h4 { color: var(--cyan); }
.trow__main { flex: 1; min-width: 0; }
.trow__main h4 {
  font-family: var(--font-cn);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 5px;
  transition: color .15s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.trow__meta { display: flex; align-items: center; gap: 7px; color: var(--text-3); font-size: 10px; }

/* 平台特性 */
.feat { display: flex; gap: 11px; padding: 11px 0; border-bottom: 1px solid rgba(33,38,41,.5); }
.feat:last-child { border-bottom: none; }
.feat__icon {
  display: grid; place-items: center;
  width: 32px; height: 32px;
  background: rgba(0, 229, 255, .12);
  border-radius: 9px;
  color: var(--cyan);
  font-size: 14px;
  flex-shrink: 0;
}
.feat__txt b { display: block; font-size: 12px; font-weight: 600; margin-bottom: 2px; }
.feat__txt span { font-size: 11px; color: var(--text-3); line-height: 1.5; }

/* ---------- 列表页筛选条 ---------- */
.filterbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px 16px;
  margin-bottom: 18px;
  background: var(--surface-elevated);
  border: 1px solid var(--hairline);
  border-radius: 12px;
}
.filterbar__label { font-size: 12px; color: var(--text-3); flex-shrink: 0; }
.filterbar select {
  height: 32px;
  padding: 0 10px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  font-size: 12px;
  cursor: pointer;
}
.filterbar select option { background: var(--surface-elevated); }
.filterbar__n { margin-left: auto; font-family: var(--font-mono); font-size: 12px; color: var(--text-3); }

/* ---------- 详情页 ---------- */
.dhead { margin-bottom: 22px; }
.dhead h1 { font-family: var(--font-cn); font-size: 24px; font-weight: 700; line-height: 1.5; margin-bottom: 12px; }
.dhead__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.dcols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.dmain { display: flex; flex-direction: column; gap: 16px; }

.price-box {
  padding: 22px;
  background: linear-gradient(135deg, rgba(0, 229, 255, .1), rgba(0, 229, 255, .02));
  border: 1px solid rgba(0, 229, 255, .28);
  border-radius: 14px;
}
.price-box__label { font-size: 12px; color: var(--text-2); margin-bottom: 8px; }
.price-box__amount { display: flex; align-items: baseline; gap: 8px; margin-bottom: 16px; }
.price-box__amount b { font-family: var(--font-mono); font-size: 40px; font-weight: 700; line-height: 1; color: var(--cyan); }
.price-box__amount span { font-size: 14px; color: var(--text-2); }
.price-box .btn { height: 46px; font-size: 15px; }

/* 文件列表 */
.frow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  transition: border-color .15s;
}
.frow:hover { border-color: rgba(0, 229, 255, .35); }
.frow__ico { color: var(--cyan); font-family: var(--font-mono); flex-shrink: 0; }
.frow__name { flex: 1; min-width: 0; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.frow__size { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); }

/* 卖家卡 */
.seller { display: flex; align-items: center; gap: 13px; }
.seller__info { flex: 1; min-width: 0; }
.seller__info b { display: block; font-size: 14px; font-weight: 600; margin-bottom: 3px; }
.seller__info span { font-size: 11px; color: var(--text-3); }

/* 正文 */
.prose { font-family: var(--font-cn); font-size: 14px; line-height: 1.85; color: var(--text-2); }

/* 分页 */
.pager { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 24px; }
.pager button {
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  background: var(--surface-elevated);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  cursor: pointer;
  transition: all .15s;
}
.pager button:hover:not(:disabled) { border-color: rgba(0, 229, 255, .4); color: var(--cyan); }
.pager button.is-on { background: var(--cyan); border-color: var(--cyan); color: #04141a; font-weight: 700; }
.pager button:disabled { opacity: .35; cursor: not-allowed; }

/* 登录页 */
.auth { display: grid; place-items: center; min-height: calc(100dvh - 60px); padding: 40px 24px; }
.auth__card {
  width: 100%;
  max-width: 420px;
  padding: 34px;
  background: var(--surface-elevated);
  border: 1px solid var(--hairline);
  border-radius: 16px;
}

/* 钱包页 */
.wgrid { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 24px; align-items: start; }
.wallet-hero {
  padding: 24px;
  background: linear-gradient(135deg, rgba(0, 229, 255, .12), rgba(0, 229, 255, .02));
  border: 1px solid rgba(0, 229, 255, .28);
  border-radius: 14px;
}
.wallet-hero__label { font-size: 12px; color: var(--text-2); margin-bottom: 10px; }
.wallet-hero__amount { display: flex; align-items: baseline; gap: 8px; margin-bottom: 20px; }
.wallet-hero__amount b { font-family: var(--font-mono); font-size: 36px; font-weight: 700; line-height: 1; }
.wallet-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); border-radius: 10px; overflow: hidden; }
.wallet-hero__grid > div { display: flex; flex-direction: column; gap: 3px; padding: 12px; background: rgba(8, 10, 10, .55); }
.wallet-hero__grid b { font-family: var(--font-mono); font-size: 14px; }
.wallet-hero__grid span { font-size: 10px; color: var(--text-3); }
.wallet-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; }
.wallet-actions button {
  height: 40px;
  background: rgba(255, 255, 255, .06);
  border-radius: 9px;
  font-size: 12px;
  cursor: pointer;
  transition: background .15s;
}
.wallet-actions button:hover { background: rgba(0, 229, 255, .14); }
.wallet-actions button:first-child { background: var(--cyan); color: #04141a; font-weight: 700; }

/* 表格（钱包流水 / 订单） */
.tbl { width: 100%; border-collapse: collapse; }
.tbl th {
  height: 36px;
  padding: 0 14px;
  background: rgba(255, 255, 255, .04);
  color: var(--text-3);
  font-size: 11px;
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
}
.tbl td { height: 48px; padding: 0 14px; border-bottom: 1px solid var(--hairline); font-size: 12px; }
.tbl tbody tr:hover { background: rgba(255, 255, 255, .02); }
.tbl tbody tr:last-child td { border-bottom: none; }
.tbl .amt-in  { color: var(--success); font-family: var(--font-mono); font-weight: 700; }
.tbl .amt-out { color: var(--danger);  font-family: var(--font-mono); font-weight: 700; }

/* 空态 */
.blank { display: grid; place-items: center; gap: 10px; padding: 60px 20px; color: var(--text-3); text-align: center; }
.blank__icon { font-size: 40px; opacity: .4; }
.blank p { font-size: 13px; }

/* ============================================================
   响应式
   ============================================================ */

/* 大桌面：内容更宽松 */
@media (min-width: 1600px) {
  .wrap { max-width: 1560px; }
  .cols3, .dcols { grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; }
  .grid-cards { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1280px) {
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .cols3, .dcols, .wgrid { grid-template-columns: 1fr; }
  .side { position: static; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .dhead h1 { font-size: 21px; }
  .hero h1 { font-size: 24px; }
  .price-box__amount b { font-size: 34px; }
  /* 顶栏：搜索框让位给右侧操作，避免挤压溢出 */
  .hd__inner { gap: 12px; padding: 0 16px; }
  .hd__nav a { padding: 7px 10px; font-size: 12px; }
  .hd__search { max-width: 200px; }
  .hd__right { gap: 6px; }
}

@media (max-width: 900px) {
  .hd__nav { display: none; }
  .hd__burger {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--hairline);
    border-radius: 9px;
    color: var(--cyan);
    font-size: 16px;
  }
  .hd__search { max-width: none; }
  .grid-cards { grid-template-columns: 1fr; }
  .wrap { padding: 16px; }
}

@media (max-width: 640px) {
  .hd__inner { padding: 0 14px; gap: 10px; height: 54px; }
  .hd__brand span { font-size: 12px; }
  .hd__search { display: none; }
  .hero { padding: 22px; }
  .hero h1 { font-size: 20px; }
  .hero p { font-size: 12px; }
  .hero .btn { flex: 1; padding: 0 16px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .stat { padding: 13px; }
  .stat__value { font-size: 19px; }
  .sec__head h2 { font-size: 15px; }
  .dhead h1 { font-size: 18px; }
  .price-box { padding: 18px; }
  .price-box__amount b { font-size: 28px; }
  .wallet-hero { padding: 18px; }
  .wallet-hero__amount b { font-size: 26px; }
  .wallet-actions { grid-template-columns: repeat(2, 1fr); }
  .filterbar { padding: 12px; gap: 8px; }
  .tbl th, .tbl td { padding: 0 10px; }
  /* 表格转卡片模式 */
  .tbl thead { display: none; }
  .tbl, .tbl tbody, .tbl tr, .tbl td { display: block; width: 100%; }
  .tbl tr { padding: 12px 0; border-bottom: 1px solid var(--hairline); }
  .tbl td { height: auto; padding: 4px 14px; border: none; display: flex; justify-content: space-between; gap: 12px; }
  .tbl td::before {
    content: attr(data-label);
    color: var(--text-3);
    font-size: 11px;
    flex-shrink: 0;
  }
  .ft { padding: 24px 16px; }
  .ft__inner { gap: 22px; }
}

/* 移动端下拉导航 */
.mnav {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px 16px;
  border-top: 1px solid var(--hairline);
}
.mnav--open { display: flex; }
.mnav a {
  padding: 11px 12px;
  border-radius: 9px;
  color: var(--text-2);
  font-family: var(--font-cn);
  font-size: 14px;
}
.mnav a.is-on { background: rgba(0, 229, 255, .12); color: var(--cyan); font-weight: 600; }

/* ---------- 极窄屏：顶栏精简，避免溢出 ---------- */
@media (max-width: 420px) {
  .hd__inner { gap: 8px; padding: 0 12px; }
  .hd__logo { width: 26px; height: 26px; }
  .hd__logo::after { width: 8px; height: 8px; }
  .hd__brand span { font-size: 11px; letter-spacing: 0; }
  .hd__right { gap: 6px; }
  /* 登录按钮与 APP 按钮改图标化 */
  .hd__right > a.btn { padding: 0 11px !important; font-size: 12px; }
  .hd__user { padding: 3px; }
  .hd__user b { display: none; }
  .wallet-hero__grid { grid-template-columns: 1fr; }
  .wallet-actions { grid-template-columns: repeat(2, 1fr); }
  .hero__cta .btn { width: 100%; }
  .filterbar select { flex: 1; min-width: 0; }
  .stats { gap: 6px; }
  .stat__value { font-size: 17px; }
}

@media (max-width: 360px) {
  .hd__brand span { display: none; }
  .hd__right > a.btn:last-of-type { display: none; }
}
/* ---------- 极窄桌面（900–1100）：顶栏进一步压缩 ---------- */
@media (max-width: 1100px) and (min-width: 901px) {
  .hd__inner { gap: 10px; padding: 0 14px; }
  .hd__nav a { padding: 6px 8px; font-size: 12px; }
  .hd__search { max-width: 150px; }
  .hd__brand span { font-size: 12px; }
  .hd__right > a.btn { padding: 0 10px !important; font-size: 11px; }
}

/* ============================================================
   客户端下载区块（PC 前台）
   ============================================================ */
.dl-section { margin-bottom: 40px; }
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

.dl-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  background: var(--surface-elevated);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  transition: border-color .15s, transform .15s;
}
.dl-card:hover { border-color: rgba(0, 229, 255, .4); transform: translateY(-2px); }

.dl-card__head { display: flex; align-items: center; gap: 12px; }
.dl-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: rgba(0, 229, 255, .12);
  border-radius: 12px;
  font-size: 22px;
  flex-shrink: 0;
}
.dl-card__name { font-family: var(--font-cn); font-size: 15px; font-weight: 700; }
.dl-card__meta { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); margin-top: 2px; }

.dl-card__qr {
  display: grid;
  place-items: center;
  padding: 12px;
  background: #fff;
  border-radius: 10px;
  min-height: 160px;
}
.dl-card__qr svg { display: block; border-radius: 6px; }

.dl-card__btn {
  display: grid;
  place-items: center;
  height: 42px;
  background: var(--cyan);
  border-radius: 10px;
  color: #04141a;
  font-family: var(--font-cn);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: filter .15s;
}
.dl-card__btn:hover { filter: brightness(1.08); }
.dl-card__btn--ghost {
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--hairline);
  color: var(--text-2);
  font-weight: 400;
}

.dl-card__log {
  font-size: 11px;
  line-height: 1.7;
  color: var(--text-3);
  white-space: pre-line;
  padding-top: 10px;
  border-top: 1px solid var(--hairline);
  max-height: 96px;
  overflow-y: auto;
}

.dl-card__mirrors { display: flex; flex-direction: column; gap: 4px; }
.dl-card__mirrors a {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dl-card__mirrors a:hover { color: var(--cyan); }

@media (max-width: 1024px) { .dl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .dl-grid { grid-template-columns: 1fr; } }

/* ---------- 下载卡片响应式修正 ---------- */
.dl-card { min-width: 0; }
.dl-card__head { min-width: 0; }
.dl-card__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-card__qr { min-width: 0; max-width: 100%; overflow: hidden; }
.dl-card__qr svg,
.dl-card__qr img {
  width: 100% !important;
  max-width: 160px;
  height: auto !important;
  max-height: 160px;
  aspect-ratio: 1 / 1;
}
.dl-card__log { overflow-x: auto; white-space: pre-wrap; word-break: break-all; }
.dl-card__mirrors a { max-width: 100%; }

@media (max-width: 640px) {
  .dl-card { padding: 18px; }
  .dl-card__qr svg, .dl-card__qr img { max-width: 200px; }
}
