/* 아이템 도감(dex.html 페이지 · 미니게임 안 도감 창 공통) — .dex-view 안에서만 */
.dex-view .tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; position: sticky; top: 0; z-index: 2; background: var(--bg, #fff8f3); padding: 6px 0; }
.dex-view .tabs .chip[aria-pressed="true"] { background: #ff6b8a; color: #fff; border-color: #ff6b8a; }
.dex-view .grid { display: grid; gap: 8px; }
.dex-view .it { display: grid; grid-template-columns: 64px 1fr; gap: 4px 10px; background: #fff; border: 2px solid #f0e4ea; border-radius: 16px; padding: 10px; }
.dex-view .it.r-rare { border-color: #5aa8ff; background: #f6faff; } .dex-view .it.r-epic { border-color: #b061ff; background: #fbf6ff; }
.dex-view .it .pic { grid-row: span 3; width: 64px; height: 64px; border-radius: 12px; background: #fff6fb; display: grid; place-items: center; font-size: 34px; overflow: hidden; }
.dex-view .it .pic img { width: 100%; height: 100%; object-fit: contain; }
.dex-view .it b { font-size: 15px; } .dex-view .it .desc { font-size: 12.5px; color: #6b5a52; font-weight: 700; }
.dex-view .tag { display: inline-block; font-size: 10.5px; font-weight: 900; border-radius: 8px; padding: 1px 7px; background: #eee6ea; color: #6b5a52; margin-left: 4px; vertical-align: 2px; }
.dex-view .tag.r-rare { background: #e3f0ff; color: #2a78d8; } .dex-view .tag.r-epic { background: #f1e4ff; color: #8a3ad8; } .dex-view .tag.lock { background: #fff1d6; color: #b06a00; }
.dex-view .lv { grid-column: 1 / -1; list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 2px; font-size: 12px; }
.dex-view .lv li { display: grid; grid-template-columns: 44px 1fr; gap: 6px; } .dex-view .lv li span { font-weight: 900; color: #ff6b8a; }
.dex-view .rar { grid-column: 1 / -1; display: grid; gap: 3px; font-size: 12px; margin-top: 4px; }
.dex-view .tip { font-size: 12px; color: #8a7a72; }
.dex-view .rule { background: #fff; border: 2px solid #f0e4ea; border-radius: 14px; padding: 10px 12px; font-size: 13px; }
.dex-view .rule li { margin: 3px 0; }
.dex-view .pas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.dex-view .pas div { background: #fff; border: 2px solid #f0e4ea; border-radius: 14px; padding: 8px 10px; font-size: 12.5px; } .dex-view .pas b { display: block; font-size: 14px; }
/* 레어·에픽 고유 효과 칩(카드·도감·일시정지 공통): 속성 색 계열 둥근 칩 — 에픽은 더 진하게 + 빛 */
.fx-row { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 6px; text-align: left; }
.fx-row small { font-size: 11px; color: #6b5a52; line-height: 1.35; font-weight: 700; flex: 1 1 150px; }
.fx-chip { --el: #b061ff; display: inline-flex; align-items: center; gap: 3px; border-radius: 999px; padding: 2px 9px; font-size: 11px; font-weight: 900; white-space: nowrap; color: color-mix(in srgb, var(--el) 55%, #2b1d18); background: color-mix(in srgb, var(--el) 16%, #fff); border: 1.5px solid color-mix(in srgb, var(--el) 55%, #fff); }
.fx-chip.r-epic { color: #fff; background: linear-gradient(100deg, color-mix(in srgb, var(--el) 85%, #2b1d18), color-mix(in srgb, var(--el) 55%, #b061ff)); border-color: color-mix(in srgb, var(--el) 70%, #fff); box-shadow: 0 0 0 2px color-mix(in srgb, var(--el) 22%, transparent), 0 2px 10px color-mix(in srgb, var(--el) 50%, transparent); text-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
/* ✨ 속성 스킬 탭: 단계별 기술·숫자(새 기술 ✨, 궁극기 강조) */
.dex-view .it.skill { display: block; border-color: color-mix(in srgb, var(--el) 45%, #f0e4ea); border-left: 5px solid var(--el); }
.dex-view .sk-head { margin-bottom: 4px; } .dex-view .sk-head .desc { margin-top: 1px; }
.dex-view .stages { list-style: none; margin: 4px 0 6px; padding: 0; display: grid; gap: 5px; }
.dex-view .stages li { display: grid; grid-template-columns: 46px 1fr; gap: 6px; align-items: start; }
.dex-view .stages .st { font-size: 11px; font-weight: 900; color: #fff; background: color-mix(in srgb, var(--el) 80%, #3b302b); border-radius: 999px; text-align: center; padding: 2px 0; margin-top: 1px; }
.dex-view .stages b { display: block; font-size: 13px; }
.dex-view .stages small { display: block; font-size: 11.5px; color: #6b5a52; line-height: 1.45; } .dex-view .stages small em { font-style: normal; font-weight: 900; color: #3b302b; }
.dex-view .stages small.new em { color: color-mix(in srgb, var(--el) 70%, #2b1d18); } .dex-view .stages small.ult { color: #8a3ad8; } .dex-view .stages small.ult em { color: #8a3ad8; }
.dex-view h2 small { font-size: 11px; color: #8a7a72; font-weight: 700; margin-left: 4px; }
