/* ===== DOTA1 英雄与出装大全 ===== */
:root {
  --bg: #0b0d12;
  --bg2: #10131a;
  --panel: #151924;
  --panel2: #1a1f2c;
  --border: #262c3a;
  --border-hi: #3a4356;
  --gold: #c8aa6e;
  --gold-hi: #f0e6d2;
  --text: #d7dae0;
  --text-dim: #8b93a3;
  --sentinel: #6cc24a;
  --scourge: #e5484d;
  --neutral: #4cc2c2;
  --shadow: 0 4px 24px rgba(0, 0, 0, .45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(1200px 500px at 70% -10%, rgba(200, 170, 110, .07), transparent 60%),
    radial-gradient(900px 400px at 10% 110%, rgba(76, 194, 194, .05), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  min-height: 100vh;
}

a { color: var(--gold); text-decoration: none; }
img { display: block; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- 顶部 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 13, 18, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  display: flex; align-items: center; gap: 24px;
  padding: 14px 0;
}
.logo {
  display: flex; align-items: baseline; gap: 10px; white-space: nowrap;
}
.logo b {
  font-size: 22px; letter-spacing: 2px;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.logo span { color: var(--text-dim); font-size: 12px; }
.top-nav { display: flex; gap: 4px; }
.top-nav a {
  color: var(--text-dim); padding: 6px 12px; border-radius: 6px; font-size: 14px;
}
.top-nav a:hover { color: var(--gold-hi); background: rgba(200, 170, 110, .08); }
.search-box { margin-left: auto; position: relative; }
.search-box input {
  width: 240px; padding: 8px 12px 8px 34px;
  background: var(--panel); border: 1px solid var(--border); border-radius: 8px;
  color: var(--text); font-size: 14px; outline: none; transition: border-color .2s, width .25s;
}
.search-box input:focus { border-color: var(--gold); width: 300px; }
.search-box::before {
  content: "🔍"; position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  font-size: 13px; opacity: .6;
}

/* ---------- 区块标题 ---------- */
.section { margin: 36px 0 18px; }
.section-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.section-head h2 {
  font-size: 22px; letter-spacing: 1px; color: var(--gold-hi);
  padding-left: 12px; border-left: 4px solid var(--gold);
}
.section-head .count {
  font-size: 12px; color: var(--gold); border: 1px solid var(--border-hi);
  border-radius: 20px; padding: 2px 10px; background: rgba(200, 170, 110, .06);
}
.section-head .note { font-size: 12px; color: var(--text-dim); margin-left: auto; }

/* ---------- 属性分区(力/敏/智) ---------- */
.attr { border-radius: 14px; padding: 14px 14px 12px; margin-bottom: 16px; border: 1px solid; }
.attr.f-str { border-color: rgba(229, 72, 77, .3); background: linear-gradient(180deg, rgba(229, 72, 77, .05), transparent 120px); }
.attr.f-agi { border-color: rgba(108, 194, 74, .3); background: linear-gradient(180deg, rgba(108, 194, 74, .05), transparent 120px); }
.attr.f-int { border-color: rgba(90, 156, 248, .3); background: linear-gradient(180deg, rgba(90, 156, 248, .05), transparent 120px); }
.attr-head {
  display: flex; align-items: center; gap: 12px;
  padding: 4px 6px 12px;
}
.attr-head .ah-icon { width: 44px; height: 44px; filter: drop-shadow(0 0 8px rgba(0, 0, 0, .6)); }
.attr-head .ah-title { font-size: 18px; font-weight: 700; letter-spacing: 3px; }
.f-str .ah-title { color: var(--scourge); }
.f-agi .ah-title { color: var(--sentinel); }
.f-int .ah-title { color: #5a9cf8; }
.attr-head .ah-sub { font-size: 12px; color: var(--text-dim); margin-top: 2px; }

/* ---------- 酒馆卡片(紧凑) ---------- */
.tavern-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 10px; }
.tavern, .shop { scroll-margin-top: 120px; }
.tavern {
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px 12px;
}
.tavern-title {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px dashed var(--border-hi);
}
.tavern-title .t-ico {
  width: 34px; height: 34px; border-radius: 6px; flex: none;
  border: 1px solid rgba(200, 170, 110, .4); background: #1a0f08;
  object-fit: cover;
}
.tavern-title .t-name { font-size: 15px; color: var(--gold-hi); font-weight: 600; flex: 1; }
.tavern-title .t-tag {
  font-size: 11px; padding: 2px 8px; border-radius: 10px; border: 1px solid;
}
.t-tag.sentinel { color: var(--sentinel); border-color: rgba(108, 194, 74, .4); background: rgba(108, 194, 74, .08); }
.t-tag.scourge { color: var(--scourge); border-color: rgba(229, 72, 77, .4); background: rgba(229, 72, 77, .08); }
.t-tag.neutral { color: var(--neutral); border-color: rgba(76, 194, 194, .4); background: rgba(76, 194, 194, .08); }

.hero-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px 6px; }
.hero-cell { position: relative; }
.hero-cell img {
  width: 46px; height: 46px; border-radius: 7px; cursor: pointer;
  border: 1px solid var(--border-hi); transition: transform .15s, border-color .15s, box-shadow .15s;
  object-fit: cover; background: #000;
}
.hero-cell img:hover {
  transform: translateY(-2px) scale(1.06);
  border-color: var(--gold);
  box-shadow: 0 4px 12px rgba(200, 170, 110, .25);
}

/* ---------- 商店卡片(紧凑) ---------- */
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 10px; }
.shop {
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px 12px;
}
.shop-title {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px dashed var(--border-hi);
}
.shop-title .s-icon {
  width: 32px; height: 32px; border-radius: 6px; border: 1px solid rgba(200, 170, 110, .45);
  background: #000; object-fit: contain; flex: none;
}
.shop-title .s-name { font-size: 15px; color: var(--gold-hi); font-weight: 600; flex: 1; }
.shop-title .s-count { font-size: 12px; color: var(--text-dim); }
.item-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px 4px; }
.item-cell { text-align: center; cursor: pointer; }
.item-cell img {
  width: 40px; height: 40px; margin: 0 auto; border-radius: 6px;
  border: 1px solid var(--border-hi); background: #000;
  transition: transform .15s, border-color .15s; object-fit: contain;
}
.item-cell:hover img { transform: translateY(-2px); border-color: var(--gold); }
.item-cell .i-price { font-size: 11px; color: var(--gold); margin-top: 1px; }

/* ---------- 快捷导航 ---------- */
.quick-nav {
  position: sticky; top: 63px; z-index: 40;
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  background: rgba(13, 16, 22, .95); backdrop-filter: blur(8px);
  border: 1px solid var(--border); border-radius: 10px;
  padding: 8px 12px; margin: 14px 0 4px;
}
.quick-nav .qn-label { font-size: 12px; color: var(--text-dim); margin-right: 2px; }
.quick-nav a {
  font-size: 13px; color: var(--text-dim); border: 1px solid var(--border);
  padding: 3px 12px; border-radius: 14px; transition: color .15s, border-color .15s;
}
.quick-nav a:hover { color: var(--gold-hi); border-color: var(--gold); }
.quick-nav a.qn-goto { color: var(--gold); border-color: rgba(200, 170, 110, .5); }

/* ---------- 底部固定条 ---------- */
.bottombar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  text-align: center; padding: 11px 0; font-size: 12.5px; color: var(--text-dim);
  background: rgba(11, 13, 18, .96); border-top: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
body { padding-bottom: 44px; }

/* ---------- 邮件纠错悬浮按钮 ---------- */
.fab {
  position: fixed; right: 18px; bottom: 58px; z-index: 70;
  display: flex; align-items: center; gap: 7px;
  padding: 10px 16px; border-radius: 22px;
  background: linear-gradient(180deg, #d9bd85, #a8834a);
  color: #17120a; font-size: 13px; font-weight: 700;
  border: 1px solid #f0e6d2; box-shadow: 0 4px 18px rgba(200, 170, 110, .35);
  transition: transform .15s, box-shadow .15s;
}
.fab:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(200, 170, 110, .5); }

/* ---------- 评论区 ---------- */
.comments-panel .cmt-form { margin-bottom: 14px; }
.comments-panel .cmt-row { margin-bottom: 8px; }
.comments-panel input, .comments-panel textarea {
  width: 100%; background: var(--bg2); border: 1px solid var(--border); border-radius: 8px;
  color: var(--text); font-size: 13px; padding: 9px 12px; outline: none;
  font-family: inherit; transition: border-color .2s;
}
.comments-panel input:focus, .comments-panel textarea:focus { border-color: var(--gold); }
.comments-panel textarea { resize: vertical; min-height: 64px; max-height: 220px; line-height: 1.6; }
.comments-panel .cmt-actions {
  display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
}
.comments-panel .cmt-hint { color: var(--text-dim); font-size: 11px; flex: 1; }
.comments-panel .cmt-submit {
  background: linear-gradient(180deg, #d9bd85, #a8834a); color: #17120a;
  border: none; border-radius: 8px; padding: 9px 26px; font-size: 13px; font-weight: 700;
  cursor: pointer;
}
.comments-panel .cmt-submit:hover { filter: brightness(1.1); }
.comments-panel .cmt-err { color: var(--scourge); font-size: 12px; margin-top: 6px; }
.cmt {
  background: var(--bg2); border: 1px solid var(--border); border-radius: 8px;
  padding: 10px 12px; margin-bottom: 8px;
}
.cmt .cmt-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.cmt .cmt-id { color: var(--gold); font-weight: 600; font-size: 13px; }
.cmt .cmt-time { color: var(--text-dim); font-size: 11px; }
.cmt .cmt-del {
  margin-left: auto; color: var(--scourge); font-size: 11px; cursor: pointer;
  border: none; background: none; opacity: .7;
}
.cmt .cmt-del:hover { opacity: 1; }
.cmt .cmt-text { font-size: 13px; line-height: 1.7; word-break: break-word; }
.comments-panel .cmt-empty { color: var(--text-dim); font-size: 13px; padding: 10px 0; }
.comments-panel .cmt-hint { color: var(--text-dim); font-size: 11px; margin-top: 6px; }

/* 合成卷轴格(不可购买的虚拟条目) */
.recipe-list .rc.scroll .r-name { color: var(--text-dim); font-style: italic; }

/* ---------- 提示框 ---------- */
[data-tip] { position: relative; }
[data-tip]:hover::after {
  content: attr(data-tip);
  position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%);
  background: #05070b; border: 1px solid var(--gold); color: var(--gold-hi);
  font-size: 12px; padding: 4px 10px; border-radius: 6px; white-space: nowrap;
  z-index: 99; pointer-events: none; box-shadow: var(--shadow);
}

/* ---------- 富信息悬停提示 ---------- */
.rich-tip {
  display: none; position: fixed; z-index: 999; max-width: 360px;
  background: #05070b; border: 1px solid var(--gold); border-radius: 10px;
  padding: 12px 14px; box-shadow: var(--shadow);
  font-size: 12.5px; color: var(--text); line-height: 1.6; pointer-events: none;
}
.rich-tip .rt-title { font-size: 14.5px; color: var(--gold-hi); font-weight: 700; }
.rich-tip .rt-sub { color: var(--text-dim); font-size: 11.5px; font-weight: 400; margin-left: 4px; }
.rich-tip .rt-price { color: var(--gold); font-weight: 600; margin: 4px 0; }
.rich-tip .rt-desc { margin: 4px 0 6px; color: var(--text); }
.rich-tip .rt-row { display: flex; gap: 8px; align-items: flex-start; margin: 5px 0; }
.rich-tip .rt-row img {
  width: 24px; height: 24px; border-radius: 4px; border: 1px solid var(--border-hi);
  background: #000; object-fit: contain; flex: none; margin-top: 1px;
}
.rich-tip .rt-row b { color: var(--gold-hi); }
.rich-tip .rt-key { display: inline-block; font-size: 10.5px; color: var(--gold); border: 1px solid rgba(200, 170, 110, .5); border-radius: 4px; padding: 0 5px; margin-left: 3px; }
.rich-tip .rt-foot { color: var(--text-dim); font-size: 11.5px; border-top: 1px dashed var(--border-hi); margin-top: 8px; padding-top: 6px; }

/* ---------- 英雄详情页 ---------- */
.crumb { padding: 18px 0 0; margin-bottom: 16px; font-size: 13px; color: var(--text-dim); }
.crumb a { color: var(--text-dim); }
.crumb a:hover { color: var(--gold); }

.hero-detail {
  display: grid; grid-template-columns: 300px 1fr; gap: 20px;
  margin: 0 0 40px;
}
.hero-side {
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--border); border-radius: 14px; padding: 20px;
  height: fit-content; box-shadow: var(--shadow);
  position: sticky; top: 76px;
}
.hero-side .portrait {
  width: 180px; height: 180px; margin: 0 auto 14px; border-radius: 12px;
  border: 2px solid var(--gold); object-fit: cover; background: #000;
  box-shadow: 0 0 30px rgba(200, 170, 110, .18);
}
.hero-side h1 { font-size: 24px; color: var(--gold-hi); text-align: center; }
.hero-side .en { text-align: center; color: var(--text-dim); font-size: 13px; margin-top: 2px; }
.hero-side .badges { display: flex; justify-content: center; gap: 8px; margin: 10px 0 16px; flex-wrap: wrap; }
.badge {
  font-size: 12px; padding: 3px 10px; border-radius: 12px; border: 1px solid var(--border-hi);
  color: var(--text-dim); background: var(--bg2);
}
.badge.abbr { color: var(--gold); border-color: rgba(200, 170, 110, .5); font-weight: 700; letter-spacing: 1px; }
.badge.sentinel { color: var(--sentinel); border-color: rgba(108, 194, 74, .4); }
.badge.scourge { color: var(--scourge); border-color: rgba(229, 72, 77, .4); }
.badge.neutral { color: var(--neutral); border-color: rgba(76, 194, 194, .4); }

.idx { margin-top: 6px; }
.idx .row { display: flex; align-items: center; gap: 10px; margin: 9px 0; }
.idx .row .k { width: 62px; font-size: 13px; color: var(--text-dim); }
.idx .row .bar { flex: 1; display: flex; gap: 4px; }
.idx .row .seg {
  height: 8px; flex: 1; border-radius: 3px; background: #232838;
}
.idx .row .seg.on { background: linear-gradient(90deg, #9a7b3f, var(--gold)); box-shadow: 0 0 6px rgba(200, 170, 110, .35); }
.idx .row .v { width: 14px; text-align: right; font-size: 12px; color: var(--gold); }

/* 侧栏初始属性(数据来自 83dota.com) */
.stats { margin-top: 16px; border-top: 1px dashed var(--border-hi); padding-top: 12px; }
.stats h3 { font-size: 13px; color: var(--gold); margin-bottom: 10px; letter-spacing: 2px; }
.stat-attrs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 10px; }
.stat-attr {
  border: 1px solid var(--border-hi); border-radius: 8px; background: var(--bg2);
  padding: 6px 4px 5px; text-align: center; line-height: 1.4;
}
.stat-attr .sa-name { display: block; font-size: 11px; color: var(--text-dim); }
.stat-attr b { font-size: 15px; }
.stat-attr small { display: block; font-size: 10.5px; color: var(--text-dim); }
.stat-attr.main { border-color: rgba(200, 170, 110, .55); box-shadow: 0 0 8px rgba(200, 170, 110, .12); background: rgba(200, 170, 110, .05); }
.stat-attr.a-str b { color: var(--scourge); }
.stat-attr.a-agi b { color: var(--sentinel); }
.stat-attr.a-int b { color: #5a9cf8; }
.stat-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 14px; }
.stat-rows .s-row {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 12px; padding: 4px 0; border-bottom: 1px dashed rgba(58, 67, 86, .5);
}
.stat-rows .s-row span { color: var(--text-dim); }
.stat-rows .s-row b { color: var(--text); font-weight: 600; }

/* 背景故事 / 英雄评析(详情页正文面板) */
.lore-text { font-size: 13.5px; color: var(--text); line-height: 1.9; }
.hero-review p { font-size: 13px; color: var(--text-dim); line-height: 1.9; text-indent: 2em; }

.panel {
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--border); border-radius: 14px; padding: 20px 22px;
  margin-bottom: 20px; box-shadow: var(--shadow);
}
.panel > h2 {
  font-size: 18px; color: var(--gold-hi); margin-bottom: 16px;
  padding-left: 10px; border-left: 3px solid var(--gold); letter-spacing: 1px;
}

/* 技能(紧凑双列) */
.skill-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 10px; }
.skill {
  display: grid; grid-template-columns: 44px 1fr; gap: 10px;
  background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px;
}
.skill .sk-icon {
  width: 44px; height: 44px; border-radius: 7px; border: 1px solid var(--gold);
  object-fit: contain; background: #000;
}
.skill .sk-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.skill .sk-name { font-size: 14.5px; font-weight: 600; color: var(--gold-hi); }
.skill .sk-key {
  font-size: 10.5px; color: var(--gold); border: 1px solid rgba(200, 170, 110, .5);
  border-radius: 5px; padding: 0 6px; font-weight: 700;
}
.skill .sk-desc { font-size: 12.5px; color: var(--text); line-height: 1.6; }
.skill .sk-levels { margin-top: 6px; border-top: 1px dashed var(--border-hi); padding-top: 6px; }
.skill .sk-levels .lv { font-size: 12px; color: var(--text-dim); line-height: 1.7; }
.skill .sk-levels .lv b { color: var(--gold); font-weight: 600; margin-right: 6px; }

/* 加点 */
.build-slots { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.slot { position: relative; }
.slot img {
  width: 42px; height: 42px; border-radius: 7px; border: 1px solid var(--border-hi);
  background: #000; object-fit: contain;
}
.slot .lv-n {
  position: absolute; top: -6px; left: -6px; width: 16px; height: 16px; line-height: 16px;
  border-radius: 50%; background: var(--gold); color: #14100a; font-size: 10px; font-weight: 700;
  text-align: center;
}
.slot.ult img { border-color: #a35fbf; box-shadow: 0 0 8px rgba(163, 95, 191, .35); }
.build-note { font-size: 13px; color: var(--text-dim); line-height: 1.8; }

/* 出装 */
.gear-stage { margin-bottom: 18px; }
.gear-stage:last-child { margin-bottom: 0; }
.gear-stage .g-name {
  font-size: 14px; color: var(--gold); font-weight: 600; margin-bottom: 8px;
  display: flex; align-items: center; gap: 8px;
}
.gear-stage .g-name::before { content: "◆"; font-size: 10px; }
.gear-items { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.gear-items .gi { cursor: pointer; }
.gear-items .gi img {
  width: 44px; height: 44px; border-radius: 7px; border: 1px solid var(--border-hi);
  background: #000; object-fit: contain; transition: border-color .15s, transform .15s;
}
.gear-items .gi:hover img { border-color: var(--gold); transform: translateY(-2px); }
.gear-stage .g-text { font-size: 13px; color: var(--text-dim); line-height: 1.8; }

/* 配合/克制 */
.rel-block { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rel-block .rel h3 { font-size: 14px; margin-bottom: 10px; font-weight: 600; }
.rel.allies h3 { color: var(--sentinel); }
.rel.counters h3 { color: var(--scourge); }
.rel .hero-grid img { width: 42px; height: 42px; }

/* ---------- 物品详情页 ---------- */
.item-detail { margin: 0 0 40px; }
.item-head {
  display: flex; gap: 22px; align-items: center;
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--border); border-radius: 14px; padding: 22px;
  box-shadow: var(--shadow); flex-wrap: wrap; margin-bottom: 18px;
}
.item-head .big-icon {
  width: 96px; height: 96px; border-radius: 12px; border: 2px solid var(--gold);
  background: #000; object-fit: contain; box-shadow: 0 0 24px rgba(200, 170, 110, .2);
}
.item-head h1 { font-size: 26px; color: var(--gold-hi); }
.item-head .en { color: var(--text-dim); font-size: 14px; margin-top: 2px; }
.item-head .price { color: var(--gold); font-size: 18px; font-weight: 700; margin-top: 8px; }
.item-head .price::before { content: "🪙 "; font-size: 14px; }
.shop-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.shop-chips .chip {
  font-size: 12px; color: var(--neutral); border: 1px solid rgba(76, 194, 194, .4);
  background: rgba(76, 194, 194, .07); border-radius: 12px; padding: 2px 10px;
}
.item-desc-text { font-size: 14.5px; line-height: 2; color: var(--text); }
.item-desc-text .eff-tag, .rich-tip .eff-tag {
  color: var(--gold); font-weight: 600; margin-right: 2px;
}

.recipe-list { display: flex; flex-wrap: wrap; gap: 12px; }
.recipe-list .rc { text-align: center; width: 64px; cursor: pointer; }
.recipe-list .rc img {
  width: 46px; height: 46px; margin: 0 auto; border-radius: 7px;
  border: 1px solid var(--border-hi); background: #000; object-fit: contain;
  transition: border-color .15s;
}
.recipe-list .rc:hover img { border-color: var(--gold); }
.recipe-list .rc .r-name { font-size: 11px; margin-top: 3px; color: var(--text); line-height: 1.3; }
.recipe-list .rc .r-price { font-size: 11px; color: var(--gold); }
.recipe-total { margin-top: 14px; font-size: 13px; color: var(--text-dim); }
.recipe-total b { color: var(--gold); font-size: 15px; }
.plus-sep { align-self: center; color: var(--gold); font-size: 20px; padding-bottom: 18px; }

.carried-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.carried-grid img {
  width: 46px; height: 46px; border-radius: 8px; border: 1px solid var(--border-hi);
  cursor: pointer; object-fit: cover; background: #000; transition: border-color .15s, transform .15s;
}
.carried-grid img:hover { border-color: var(--gold); transform: translateY(-2px); }

.empty-tip { color: var(--text-dim); font-size: 13px; padding: 30px 0; text-align: center; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .hero-detail { grid-template-columns: 1fr; }
  .hero-side { position: static; }
  .rel-block { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: repeat(4, 1fr); }
  .item-grid { grid-template-columns: repeat(3, 1fr); }
  .search-box input { width: 150px; }
  .search-box input:focus { width: 190px; }
  .top-nav { display: none; }
}
