/* 던전의 펼친 카드와 공통 미리보기가 같은 카드 스타일을 쓴다. */
.dg-item-name{font-weight:600}
.dg-q0{color:#9d9d9d}.dg-q1{color:#f3f0e8}.dg-q2{color:#3fe03f}.dg-q3{color:#5aa9ff}.dg-q4{color:#c88bff}.dg-q5{color:#ff9a3c}.dg-q6{color:#e6cc80}
.dg-tooltip{padding:12px 14px;background:#0d1212;color:#f3f0e8;overflow-wrap:anywhere}
.dg-item-head{display:flex;gap:12px;align-items:flex-start;margin:0 0 8px}
.dg-item-head>div{min-width:0;padding-top:2px}
.dg-item-head .dg-en{display:block;margin:2px 0 0;color:#b4bbb9}
.dg-item-icon{display:block;flex:none;box-sizing:border-box;width:48px;height:48px;border:2px solid currentColor;border-radius:4px;background:#0d1212;overflow:hidden}
.dg-item-icon img{display:block;width:100%;height:100%;object-fit:cover;border-radius:0}
.dg-tip-row{display:flex;justify-content:space-between;flex-wrap:wrap;gap:0 12px;min-width:0}
.dg-tip-row>span{min-width:0}
.dg-tip-row>span+span{margin-left:auto;font-variant-numeric:tabular-nums}
.dg-tip-row[data-tip=stat]>span,.dg-tip-row[data-tip=resist]>span{white-space:normal}
.dg-tip-row[data-tip=effect]{color:#3fe03f}
.dg-tip-row[data-tip=ilvl],.dg-tip-row[data-tip=flavor],.dg-tip-row[data-tip=random],.dg-tip-row.is-set-name{color:#e6cc80}
.dg-tip-row[data-tip=sell],.dg-tip-row[data-tip=set]:not(.is-set-name){color:#b4bbb9}
.dg-tip-row[data-tip=req],.dg-tip-row[data-tip=effect],.dg-tip-row[data-tip=flavor],.dg-tip-row.is-set-name{margin-top:4px}

.item-tip-name{cursor:help;text-decoration-line:underline;text-decoration-style:dotted;text-decoration-color:currentColor;text-underline-offset:3px;text-decoration-thickness:1px}
.item-tip-name:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.item-tip-popover{position:fixed;z-index:80;box-sizing:border-box;width:360px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain;border:1px solid var(--line);border-radius:6px;background:#0d1212;color:var(--ink);box-shadow:0 8px 30px #0008;font:15px/1.55 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;overflow-wrap:anywhere}
.item-tip-popover[hidden]{display:none}
.item-tip-popover .dg-item-name{font-size:15px}.item-tip-popover .dg-en{font-size:14px}
.item-tip-source,.item-tip-status{margin:0;padding:8px 14px;color:var(--muted);font-size:13px;line-height:1.5}
.item-tip-status{font-size:14px}.item-tip-source{border-top:1px solid var(--line)}
.item-tip-close{display:block;margin:4px 4px 0 auto;min-width:44px;min-height:44px;padding:8px;border:1px solid var(--line);border-radius:4px;background:#172020;color:var(--ink);font:inherit;cursor:pointer}
.item-tip-close:focus-visible{outline:2px solid var(--gold);outline-offset:-3px}
@media(max-width:600px){.item-tip-popover{left:12px!important;right:12px;top:auto!important;bottom:calc(12px + env(safe-area-inset-bottom));width:auto;max-height:70dvh}.has-reading-bar .item-tip-popover{bottom:calc(84px + env(safe-area-inset-bottom));max-height:calc(80dvh - 84px)}}
@media(prefers-reduced-motion:reduce){.item-tip-popover{animation:none;transition:none;scroll-behavior:auto}}

.dg-item-icon img[hidden]{display:none}
