/* 肉鸽资产页副本：源自 2026-11-30 showcase_hd2d.css，不改原文件 */
/* 深渊一万层 · 高清资产预览 — dark-gold slate, never pixelate HD art */
:root {
  --bg: #0b0a0e;
  --bg-2: #141219;
  --bg-3: #1c1824;
  --bg-4: #251f2c;
  --line: #3a3120;
  --line-gold: #6a5428;
  --gold: #c9a255;
  --gold-bright: #e8c878;
  --gold-dim: #8a6d32;
  --crimson: #9e2a2b;
  --crimson-bright: #c4453a;
  --text: #d8cbb8;
  --text-dim: #8a8074;
  --muted: #5c564e;
  --ink: #1a1410;
  --rare: #4aa3ff;
  --epic: #c086ff;
  --legendary: #ff9a3c;
  --font-ui: "Noto Sans CJK SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: "Noto Serif CJK SC", "Noto Serif SC", "Songti SC", Georgia, serif;
  --radius: 8px;
  --topbar-h: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; background: var(--bg); color: var(--text); font-family: var(--font-ui); overflow: hidden; }
body {
  background-image:
    radial-gradient(1100px 480px at 50% -8%, rgba(201,162,85,.08), transparent 55%),
    radial-gradient(800px 520px at 100% 100%, rgba(158,42,43,.08), transparent 50%);
}
img, canvas { image-rendering: auto; display: block; }
button, input { font-family: inherit; }
.shell { display: flex; flex-direction: column; height: 100vh; min-height: 0; }

.topbar {
  height: var(--topbar-h); flex: 0 0 var(--topbar-h);
  display: flex; align-items: center; gap: 18px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #16131c 0%, #100e14 100%);
}
.brand { display: flex; flex-direction: column; min-width: 168px; }
.brand .title { font-family: var(--font-display); color: var(--gold-bright); text-decoration: none; font-size: 18px; letter-spacing: .08em; font-weight: 600; }
.brand .subtitle { color: var(--text-dim); font-size: 11px; letter-spacing: .12em; }
.tabs { display: flex; gap: 6px; flex: 1; justify-content: center; }
.tab {
  background: transparent; border: 1px solid transparent; color: var(--text-dim);
  padding: 8px 14px; border-radius: 4px; cursor: pointer; font-size: 13px; letter-spacing: .06em;
}
.tab:hover { color: var(--text); border-color: var(--line); }
.tab.is-on { color: var(--ink); background: linear-gradient(180deg, var(--gold-bright), var(--gold)); border-color: var(--gold-dim); font-weight: 600; }
.top-links { display: flex; gap: 8px; }
.btn {
  background: #241c14; color: var(--gold); border: 1px solid var(--line-gold);
  padding: 7px 12px; border-radius: 4px; cursor: pointer; font-size: 12px;
  text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.btn:hover { background: #322818; color: var(--gold-bright); }
.btn.ghost { background: transparent; color: var(--text-dim); border-color: var(--line); }
.btn.icon { width: 32px; padding: 7px 0; font-size: 16px; }
.btn.mode.is-on, .btn.is-on { background: linear-gradient(180deg, var(--gold-bright), var(--gold)); color: var(--ink); border-color: var(--gold-dim); font-weight: 600; }

main { flex: 1; min-height: 0; position: relative; }
.pane { display: none; height: 100%; min-height: 0; }
.pane.is-on { display: flex; }

/* Map / Skills split */
#pane-map, #pane-skills { flex-direction: row; }
.side {
  width: 300px; flex: 0 0 300px;
  padding: 18px 16px 16px;
  border-right: 1px solid var(--line);
  background: rgba(12,10,14,.72);
  overflow: auto;
}
.kicker { margin: 0 0 4px; color: var(--gold); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
h2 { margin: 0 0 8px; font-family: var(--font-display); font-size: 20px; color: var(--gold-bright); font-weight: 600; }
.lead, .note, .hint { margin: 0 0 14px; color: var(--text-dim); font-size: 12px; line-height: 1.65; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--text-dim); margin-bottom: 8px; }
.floor-row { display: flex; gap: 6px; align-items: center; }
#floor-num {
  flex: 1; height: 34px; text-align: center;
  background: var(--bg); color: var(--gold-bright); border: 1px solid var(--line-gold);
  border-radius: 4px; font-size: 18px; font-family: var(--font-display);
}
#floor-range { width: 100%; accent-color: var(--gold); margin-bottom: 10px; }
.quick { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.quick .btn { padding: 5px 8px; font-size: 11px; }
.meta { margin: 0 0 10px; }
.meta > div { display: flex; gap: 8px; padding: 5px 0; border-bottom: 1px solid rgba(58,49,32,.45); font-size: 12px; }
.meta dt { width: 42px; color: var(--muted); flex: 0 0 42px; }
.meta dd { margin: 0; color: var(--text); }
.mode-row { display: flex; gap: 8px; margin: 12px 0 8px; }
.mode-row .btn { flex: 1; }
#walk-hint { margin: 0; }

.stage-wrap { flex: 1; min-width: 0; min-height: 0; position: relative; background: #07060a; }
.stage-wrap canvas#map-canvas,
.stage-wrap canvas#skill-canvas { width: 100%; height: 100%; }
#mini-canvas {
  position: absolute; right: 14px; top: 14px;
  width: 220px; height: 154px;
  border: 1px solid var(--line-gold);
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,.45);
  background: #000;
  pointer-events: none;
}
.stage-caption {
  position: absolute; left: 14px; bottom: 12px;
  font-family: var(--font-display); color: var(--gold-bright);
  font-size: 14px; letter-spacing: .08em;
  text-shadow: 0 2px 8px #000;
  pointer-events: none;
}

/* Class / monster pane */
#pane-classes, #pane-monsters { flex-direction: column; padding: 14px 18px 12px; }
.pane-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 12px; flex: 0 0 auto; }
.pane-head .lead { margin: 0; max-width: 640px; }
.head-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.toggle { display: inline-flex; align-items: center; gap: 8px; color: var(--text-dim); font-size: 12px; user-select: none; cursor: pointer; }
.toggle.tight { margin-right: 8px; }
.toggle input { accent-color: var(--gold); }

.class-grid {
  flex: 1; min-height: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
  align-items: stretch;
}
.class-card, .mob-card {
  background: linear-gradient(180deg, #1a1620, #121018);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  min-width: 0;
}
.class-card:hover, .mob-card:hover { border-color: var(--gold-dim); }
.class-card .art-box { flex: 1 1 auto; min-height: 260px; height: auto; }
.class-card .body { flex: 0 0 auto; }
.art-box {
  position: relative; height: 250px;
  background:
    radial-gradient(ellipse at 50% 80%, rgba(201,162,85,.12), transparent 60%),
    linear-gradient(180deg, #1c1826 0%, #0e0c12 100%);
  cursor: zoom-in;
  display: flex; align-items: flex-end; justify-content: center;
}
.art-box.checker {
  background-color: #1a1a1a;
  background-image:
    linear-gradient(45deg, #2a2a2a 25%, transparent 25%),
    linear-gradient(-45deg, #2a2a2a 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #2a2a2a 75%),
    linear-gradient(-45deg, transparent 75%, #2a2a2a 75%);
  background-size: 24px 24px;
  background-position: 0 0, 0 12px, 12px -12px, -12px 0;
}
.art-box img { height: 96%; width: auto; max-width: 100%; object-fit: contain; pointer-events: none; }
.class-card .body, .mob-card .body { padding: 10px 12px 12px; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.class-card h3, .mob-card h3 { margin: 0; font-family: var(--font-display); font-size: 16px; color: var(--gold-bright); }
.tagline { margin: 0; color: var(--gold-dim); font-size: 11px; line-height: 1.45; }
.blurb { margin: 4px 0 0; color: var(--text-dim); font-size: 11px; line-height: 1.55; }
.stat-line { margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 4px; }
.chip { font-size: 10px; letter-spacing: .04em; padding: 2px 6px; border-radius: 3px; border: 1px solid var(--line); color: var(--text-dim); background: #151218; }
.chip.gold { color: var(--gold); border-color: var(--line-gold); }
.chip.boss { color: #ffd08a; border-color: #8a4a20; background: #2a140c; }
.chip.elite { color: var(--epic); border-color: #5a3a7a; }
.chip.mob { color: #b8c4c0; }
.skill-mini { margin: 6px 0 0; padding: 0; list-style: none; font-size: 11px; color: var(--text); line-height: 1.5; }
.skill-mini b { color: var(--gold); font-weight: 600; }

/* Monsters */
.filters { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.filters .btn { padding: 5px 9px; font-size: 11px; }
.mob-scroll { flex: 1; min-height: 0; overflow: auto; padding-bottom: 8px; }
.mob-group { margin-bottom: 12px; }
.mob-group h3 {
  margin: 0 0 8px; font-family: var(--font-display); font-size: 14px; color: var(--gold);
  letter-spacing: .08em; border-bottom: 1px solid var(--line); padding-bottom: 4px;
}
.mob-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.mob-grid.bosses { grid-template-columns: repeat(5, 1fr); }
.mob-card .art-box { height: 200px; }
.mob-card.boss .art-box { height: 220px; }
.mob-card .blurb { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Skills side */
.class-picks { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.class-picks .btn { padding: 6px 9px; font-size: 11px; }
.skill-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.skill-btn {
  text-align: left; background: #16131c; border: 1px solid var(--line);
  color: var(--text); border-radius: 6px; padding: 8px 10px; cursor: pointer;
}
.skill-btn:hover { border-color: var(--gold-dim); }
.skill-btn.is-on { border-color: var(--gold); background: #241c14; }
.skill-btn .name { display: block; color: var(--gold-bright); font-family: var(--font-display); font-size: 14px; }
.skill-btn .kind { color: var(--gold-dim); font-size: 10px; margin-left: 6px; }
.skill-btn .desc { display: block; color: var(--text-dim); font-size: 11px; margin-top: 3px; line-height: 1.45; }
.fx-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(6,5,8,.86);
  display: flex; align-items: center; justify-content: center; gap: 28px;
  padding: 40px;
}
.lightbox[hidden] { display: none !important; }
.lb-close {
  position: absolute; top: 16px; right: 20px;
  background: transparent; border: 0; color: var(--gold); font-size: 32px; cursor: pointer;
}
.lb-art {
  width: min(52vw, 560px); height: min(80vh, 720px);
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(ellipse at 50% 80%, rgba(201,162,85,.12), transparent 60%),
    #100e14;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.lb-art.checker {
  background-color: #1a1a1a;
  background-image:
    linear-gradient(45deg, #2a2a2a 25%, transparent 25%),
    linear-gradient(-45deg, #2a2a2a 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #2a2a2a 75%),
    linear-gradient(-45deg, transparent 75%, #2a2a2a 75%);
  background-size: 28px 28px;
  background-position: 0 0, 0 14px, 14px -14px, -14px 0;
}
.lb-art img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-info { width: min(36vw, 420px); color: var(--text); }
.lb-info h2 { margin-bottom: 6px; }
.lb-info p { color: var(--text-dim); font-size: 13px; line-height: 1.7; }

@media (max-width: 1200px) {
  .class-grid, .mob-grid, .mob-grid.bosses { grid-template-columns: repeat(3, 1fr); }
  .side { width: 260px; flex-basis: 260px; }
}


/* v2: volume, chips, tiers, slots, draft, nowrap titles */
.vol { display:inline-flex; align-items:center; }
.vol input { width:72px; accent-color:#c9a255; }
.quick { display:flex; flex-wrap:wrap; gap:6px; margin:8px 0 12px; }
.quick .btn { padding:6px 8px; font-size:11px; white-space:nowrap; }
.class-grid { display:grid; grid-template-columns:repeat(5, minmax(180px,1fr)); gap:12px; padding:16px; overflow:auto; }
.class-card h3, .class-card .tagline, .skill-mini li, .chip { white-space:nowrap; }
.class-card h3 { overflow:hidden; text-overflow:ellipsis; }
.stat-line { display:flex; flex-wrap:wrap; gap:6px; margin:8px 0; }
.chip { border:1px solid var(--line-gold); color:var(--gold); padding:2px 8px; border-radius:3px; font-size:11px; }
.chip.stat { border-color:var(--line); color:var(--text); }
.chip.stat b { color:var(--text-dim); margin-right:4px; font-weight:500; }
.chip.stat.tank { border-color:#c9a255; color:#e8c878; }
.chip.stat.squish { border-color:#9e2a2b; color:#e08a7a; }
.chip.stat.range { border-color:#4aa3ff; color:#9cc9ff; }
.chip.stat.melee { border-color:#c4453a; color:#f0b090; }
.chip.stat.mid { border-color:#8a6d32; }
.tier-switch { display:flex; gap:4px; margin:8px 0 0; }
.tier-switch button { flex:1; font-size:11px; padding:4px 0; white-space:nowrap; }
.art-box { position:relative; background:linear-gradient(180deg,#1a1610,#0e0c10); min-height:280px; display:flex; align-items:flex-end; justify-content:center; overflow:hidden; }
.art-box img { max-height:320px; width:auto; }
.art-box.checker { background-image:linear-gradient(45deg,#2a2430 25%,transparent 25%),linear-gradient(-45deg,#2a2430 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#2a2430 75%),linear-gradient(-45deg,transparent 75%,#2a2430 75%); background-size:24px 24px; background-position:0 0,0 12px,12px -12px,-12px 0; }
.art-box.tier-white { box-shadow:inset 0 0 0 2px #c9c0b1; }
.art-box.tier-blue { box-shadow:inset 0 0 0 2px #4aa3ff, 0 0 28px rgba(74,163,255,.35); }
.art-box.tier-purple { box-shadow:inset 0 0 0 2px #c086ff, 0 0 32px rgba(192,134,255,.4); }
.art-box.tier-orange { box-shadow:inset 0 0 0 2px #ff9a3c, 0 0 36px rgba(255,154,60,.5); }
.art-box.tier-blue img, .art-box.tier-purple img, .art-box.tier-orange img { filter:drop-shadow(0 0 10px rgba(200,180,120,.15)); }
.tier-glow { pointer-events:none; position:absolute; inset:0; }
.filters { display:flex; flex-wrap:wrap; gap:6px; }
.drop-pools { display:flex; flex-direction:column; gap:8px; margin:12px 0; }
.pool-card { border:1px solid var(--line); padding:8px 10px; background:rgba(20,16,22,.7); }
.pool-card h3 { margin:0 0 4px; font-size:13px; color:var(--gold-bright); }
.pool-card .rate { color:var(--legendary); font-size:12px; }
.slots-stage { padding:18px; overflow:auto; }
.slot-board { display:grid; grid-template-columns:1fr 1fr 1fr; gap:14px; width:100%; }
.slot-machine { background:linear-gradient(180deg,#1c1610,#100e12); border:1px solid var(--line-gold); padding:12px; border-radius:6px; }
.slot-machine h3 { margin:0 0 8px; font-family:var(--font-display); color:var(--gold-bright); font-size:16px; }
.reels { display:flex; gap:6px; height:120px; overflow:hidden; background:#08070a; border:1px solid #3a3120; }
.reel { flex:1; position:relative; overflow:hidden; }
.reel .strip { position:absolute; left:0; right:0; text-align:center; }
.reel .cell { height:40px; line-height:40px; color:#e8c878; font-size:13px; border-bottom:1px solid #2a2418; white-space:nowrap; overflow:hidden; }
.slot-machine .btn { width:100%; margin-top:8px; }
.slot-locked { outline:1px solid #4aa3ff; }
.log { font-size:11px; color:var(--text-dim); max-height:220px; overflow:auto; padding-left:18px; }
#draft-modal { display:flex; align-items:center; justify-content:center; }
#draft-modal[hidden] { display:none !important; }
.draft-panel { background:#16131c; border:1px solid var(--line-gold); padding:20px; width:min(900px,94vw); }
.draft-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin:16px 0; }
.draft-card { border:1px solid var(--line); padding:12px; cursor:pointer; background:#120f16; min-height:160px; }
.draft-card:hover { border-color:var(--gold); }
.draft-card h3 { margin:0 0 6px; color:var(--gold-bright); }
@media (max-width: 1200px) { .class-grid { grid-template-columns:repeat(3,minmax(180px,1fr)); } }
