/* DeepRoute H15.2 - boss loot + item detail tooltips */
.dr-h14-dungeon-bosses ol>li,
#dr-atlas-panel .dr-h142-atlas-result[data-h142-type="boss"]{cursor:help}
.dr-h14-dungeon-bosses ol>li.dr-h15-loot-active,
#dr-atlas-panel .dr-h142-atlas-result[data-h142-type="boss"].dr-h15-loot-active{
  outline:1px solid rgba(134,196,92,.75);outline-offset:2px
}
.dr-h15-loot-tooltip{
  position:fixed;z-index:10060;width:min(470px,calc(100vw - 24px));max-height:min(72vh,660px);
  overflow:auto;box-sizing:border-box;padding:12px;border:1px solid rgba(142,170,120,.42);
  border-radius:10px;background:rgba(17,22,18,.98);color:#e9efe8;
  box-shadow:0 16px 46px rgba(0,0,0,.5);font:13px/1.35 system-ui,-apple-system,"Segoe UI",sans-serif
}
.dr-h15-loot-tooltip[hidden],.dr-h152-item-tooltip[hidden]{display:none!important}
.dr-h15-loot-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:1px 2px 9px;border-bottom:1px solid rgba(255,255,255,.1)}
.dr-h15-loot-title strong{font-size:14px;color:#f4f7f2}
.dr-h15-loot-title small{color:#aeb9ab;text-align:right}
.dr-h15-loot-list{display:grid;gap:7px;padding-top:9px}
.dr-h15-loot-item{
  appearance:none;width:100%;display:grid;grid-template-columns:44px minmax(0,1fr);gap:10px;
  padding:8px;border:1px solid rgba(255,255,255,.08);border-radius:8px;
  background:rgba(255,255,255,.025);color:inherit;text-align:left;font:inherit;cursor:pointer
}
.dr-h15-loot-item:hover,.dr-h15-loot-item:focus-visible,.dr-h15-loot-item.dr-h152-item-active{
  border-color:rgba(205,167,82,.62);background:rgba(205,167,82,.065);outline:none
}
.dr-h15-loot-icon{width:42px;height:42px;border-radius:6px;overflow:hidden;display:grid;place-items:center;background:#0d110e;border:1px solid rgba(255,255,255,.12);font-weight:700;color:#8c9689}
.dr-h15-loot-icon img{display:block;width:42px;height:42px;image-rendering:auto}
.dr-h15-loot-icon.is-missing{border-style:dashed}
.dr-h15-loot-item-body{display:block;min-width:0}
.dr-h15-loot-item-name{display:block;overflow-wrap:anywhere;font-size:13px;line-height:1.25;color:#f1f1f1}
.dr-h15-loot-facts,.dr-h152-detail-meta,.dr-h152-secondary-line{display:flex;flex-wrap:wrap;gap:4px 7px;margin-top:5px;color:#c6cec3;font-size:11px}
.dr-h15-loot-fact{white-space:nowrap}
.dr-h15-loot-fact:not(:last-child)::after{content:" ·";color:#657064;margin-left:7px}
.dr-h15-loot-fact.is-quality{font-weight:650}
.dr-h15-loot-fact.is-chance{color:#d8e4d4}
.dr-h15-loot-empty{margin:10px 2px 2px;color:#b9c2b6}

.dr-h152-item-tooltip{
  position:fixed;z-index:10080;width:min(390px,calc(100vw - 24px));max-height:min(70vh,620px);
  overflow:auto;box-sizing:border-box;padding:12px 13px;border:1px solid rgba(204,165,81,.62);
  border-radius:9px;background:rgba(10,13,11,.985);color:#e9efe8;
  box-shadow:0 18px 52px rgba(0,0,0,.58);font:13px/1.38 system-ui,-apple-system,"Segoe UI",sans-serif
}
.dr-h152-detail-head{display:grid;grid-template-columns:50px minmax(0,1fr);gap:10px;align-items:center}
.dr-h152-detail-icon{width:48px;height:48px;display:grid;place-items:center;overflow:hidden;border-radius:6px;background:#0a0d0b;border:1px solid rgba(255,255,255,.16)}
.dr-h152-detail-icon img{display:block;width:48px;height:48px}
.dr-h152-detail-icon.is-missing{border-style:dashed;color:#899286}
.dr-h152-detail-headtext{min-width:0}
.dr-h152-detail-name{display:block;font-size:14px;line-height:1.25;color:#f4f4f4;overflow-wrap:anywhere}
.dr-h152-detail-meta{margin-top:4px}
.dr-h152-detail-section{margin-top:10px;padding-top:9px;border-top:1px solid rgba(255,255,255,.09)}
.dr-h152-primary-line{font-size:13px;font-weight:650;color:#f2f5ef}
.dr-h152-secondary-line{margin-top:3px}
.dr-h152-stats{display:grid;gap:3px}
.dr-h152-stat{color:#d8eee0;font-weight:550}
.dr-h152-effects{display:grid;gap:5px}
.dr-h152-effect{display:grid;grid-template-columns:auto minmax(0,1fr);gap:7px}
.dr-h152-effect-trigger{color:#d7b96f;font-size:11px;white-space:nowrap}
.dr-h152-effect-name{color:#dfe8da;overflow-wrap:anywhere}
.dr-h152-detail-description{margin-top:10px;padding-top:9px;border-top:1px solid rgba(255,255,255,.09);color:#aeb9aa;font-size:11px;font-style:italic}
.dr-h152-detail-foot{margin-top:10px;padding-top:8px;border-top:1px solid rgba(255,255,255,.09);color:#99a594;font-size:10.5px}

.dr-h15-loot-item.q0 .dr-h15-loot-item-name,.dr-h15-loot-item.q0 .is-quality,.dr-h152-item-tooltip.q0 .dr-h152-detail-name,.dr-h152-item-tooltip.q0 .is-quality{color:#9d9d9d}
.dr-h15-loot-item.q1 .dr-h15-loot-item-name,.dr-h15-loot-item.q1 .is-quality,.dr-h152-item-tooltip.q1 .dr-h152-detail-name,.dr-h152-item-tooltip.q1 .is-quality{color:#fff}
.dr-h15-loot-item.q2 .dr-h15-loot-item-name,.dr-h15-loot-item.q2 .is-quality,.dr-h152-item-tooltip.q2 .dr-h152-detail-name,.dr-h152-item-tooltip.q2 .is-quality{color:#1eff00}
.dr-h15-loot-item.q3 .dr-h15-loot-item-name,.dr-h15-loot-item.q3 .is-quality,.dr-h152-item-tooltip.q3 .dr-h152-detail-name,.dr-h152-item-tooltip.q3 .is-quality{color:#4da3ff}
.dr-h15-loot-item.q4 .dr-h15-loot-item-name,.dr-h15-loot-item.q4 .is-quality,.dr-h152-item-tooltip.q4 .dr-h152-detail-name,.dr-h152-item-tooltip.q4 .is-quality{color:#c46cff}
.dr-h15-loot-item.q5 .dr-h15-loot-item-name,.dr-h15-loot-item.q5 .is-quality,.dr-h152-item-tooltip.q5 .dr-h152-detail-name,.dr-h152-item-tooltip.q5 .is-quality{color:#ff9a33}
.dr-h15-loot-item.q6 .dr-h15-loot-item-name,.dr-h15-loot-item.q6 .is-quality,.dr-h152-item-tooltip.q6 .dr-h152-detail-name,.dr-h152-item-tooltip.q6 .is-quality{color:#e6cc80}
.dr-h15-loot-item.q7 .dr-h15-loot-item-name,.dr-h15-loot-item.q7 .is-quality,.dr-h152-item-tooltip.q7 .dr-h152-detail-name,.dr-h152-item-tooltip.q7 .is-quality{color:#00ccff}
@media(max-width:719px){
  .dr-h15-loot-tooltip{max-height:54vh;width:auto}
  .dr-h152-item-tooltip{max-height:48vh;width:auto}
}
