/* In-game style item / skill tooltip (EssenceInterface ToolTip.uc colours). Used with gametip.js. */
.gt {
  position: fixed;
  z-index: 10050;
  min-width: 230px;
  max-width: 330px;
  padding: 8px 10px 9px;
  background: rgba(10, 9, 9, 0.95);
  border: 1px solid rgba(150, 128, 94, 0.55);
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.8), 0 12px 32px rgba(0, 0, 0, 0.6);
  font: 12px/1.42 Tahoma, Verdana, 'Segoe UI', sans-serif;
  color: #c8c8c8;
  text-shadow: 1px 1px 0 #000;
  pointer-events: none;
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 0.08s, transform 0.08s;
}
.gt.is-on { opacity: 1; transform: none; }
.gt.is-pinned { pointer-events: auto; }
/* pinned open with Shift: let the pointer in and mark it with a brighter border */
.gt.is-locked { pointer-events: auto; border-color: rgba(238, 170, 34, 0.85); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.8), 0 0 12px rgba(238, 170, 34, 0.25), 0 12px 32px rgba(0, 0, 0, 0.6); }
.gt-hint { margin-top: 7px; padding-top: 6px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 10.5px; color: #7d7265; text-align: center; text-shadow: none; }
.gt.is-locked .gt-hint { color: #eeaa22; }
.gt-head { display: flex; gap: 8px; align-items: flex-start; }
.gt-icon {
  position: relative;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border: 1px solid #3d3a35;
  background: #000;
}
.gt-icon img { position: absolute; inset: 0; width: 32px; height: 32px; image-rendering: auto; }
.gt-title { min-width: 0; padding-top: 1px; }
.gt-name { font-size: 13px; line-height: 1.25; }
.gt-add { color: #ffd969; }
.gt-ench { color: #aa6ee6; }
.gt-grade {
  display: inline-block;
  margin-left: 6px;
  padding: 0 3px;
  font: bold 10px/13px Tahoma, sans-serif;
  color: #e9d8b0;
  border: 1px solid #8d7a55;
  border-radius: 2px;
  vertical-align: 1px;
}
.gt-lv { color: #eeaa22; }
.gt-sub { color: #b09b79; font-size: 11px; }
.gt-line { height: 1px; margin: 6px 0; background: rgba(255, 255, 255, 0.13); }
.gt-row { display: flex; gap: 4px; font-size: 11.5px; }
.gt-row b { font-weight: normal; color: #a3a3a3; }
.gt-row span { color: #b09b79; }
.gt-row.main { font-size: 13px; }
.gt-row.main b { color: #e6e6e6; }
.gt-row.main span { color: #ffdd66; }
.gt-desc { color: #b2becf; font-size: 11.5px; }
.gt-ctrl { color: #ffcc00; font-size: 11.5px; }
.gt-auto { color: #77ff99; font-size: 11.5px; }
.gt-auto::before { content: "\27F3  "; }
.gt-unable {
  height: 5px;
  margin: 7px -10px 4px;
  background: linear-gradient(90deg, transparent, rgba(158, 127, 87, 0.45) 20%, rgba(158, 127, 87, 0.45) 80%, transparent);
  -webkit-mask: linear-gradient(transparent 2px, #000 2px, #000 3px, transparent 3px);
          mask: linear-gradient(transparent 2px, #000 2px, #000 3px, transparent 3px);
}
.gt-can { color: #9e7f57; font-size: 11.5px; }
.gt-cannot { color: rgba(176, 96, 52, 0.95); font-size: 11.5px; }
.gt-enchant-title { color: #a3a3a3; }
.gt-enchant-title span { color: #ffd969; }

/* box contents (BoxCreateInfosLikeTooltip) */
.gt-box-title {
  margin: 6px -4px 2px;
  padding: 3px 6px;
  color: #eeaa22;
  font-size: 12px;
  background: linear-gradient(90deg, rgba(120, 90, 40, 0.35), rgba(120, 90, 40, 0.05));
  border-left: 2px solid rgba(238, 170, 34, 0.6);
}
.gt-box-row { display: flex; justify-content: space-between; gap: 10px; padding: 1px 2px; font-size: 11.5px; }
.gt-box-row .p { color: #ebcd00; }
.gt-box-row .s { color: #ffd969; }
.gt-box-row .x { color: #c8c8c8; white-space: nowrap; }
.gt-box-row .c { color: #c8c8c8; white-space: nowrap; }
.gt-loading { color: #8d8d8d; font-size: 11px; }

/* inline item / skill chips that open the tooltip */
[data-item], [data-skill] { cursor: help; }
.gt-chip { display: inline-flex; align-items: center; gap: 6px; }
.gt-chip img { width: 22px; height: 22px; border: 1px solid #3d3a35; background: #000; }

/* inline tooltip (item page) */
.gt.gt-static { position: relative; z-index: auto; max-width: 360px; opacity: 1; transform: none; pointer-events: auto; min-height: 60px; }
