/* officer tools home — a launcher: compact tiles, every tool visible at once.
   Chrome (bar, header, band, footer) comes from site.css. */

a { color: inherit; text-decoration: none }

/* group label: gold caps with a rule running off to the right (same as the hub) */
.grp {
  margin: 30px 0 14px;
  font-size: 14px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent);
  display: flex; align-items: center; gap: 14px;
}
.grp::before { content: ""; width: 4px; height: 16px; border-radius: 2px; background: var(--accent) }
.grp::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-warm), transparent) }
.phead + .grp { margin-top: 4px }

/* three across at every desktop width, so a group of three always fills the row */
.tgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px }
/* a group of two shares the row instead of leaving a gap */
.tgrid.two { grid-template-columns: repeat(2, minmax(0, 1fr)) }
@media (max-width: 1000px) { .tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (max-width: 640px) { .tgrid, .tgrid.two { grid-template-columns: minmax(0, 1fr) } }

/* a tool: name + one line on the left, the tool's art filling the right of the tile */
.tool {
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  min-height: 150px; padding: 20px 22px;
  background: #120f0c; border: 1px solid var(--line-warm); border-radius: var(--radius-lg);
  transition: border-color .15s, transform .15s;
}
.tool:hover { border-color: var(--accent); transform: translateY(-2px) }
.tool > .bg {
  position: absolute; top: 0; right: 0; bottom: 0; width: 75%; height: 100%;
  object-fit: cover; object-position: center 40%;
  filter: saturate(1.25) contrast(1.05);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
  transition: filter .2s, transform .3s;
}
.tool:hover > .bg { filter: saturate(1.4) contrast(1.08) brightness(1.08); transform: scale(1.04) }
/* keep the words readable over the art */
.tool::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, #120f0c 24%, rgba(18, 15, 12, .7) 48%, rgba(18, 15, 12, 0) 78%);
}
.tool > .t-body { position: relative; z-index: 1 }
.t-body { text-shadow: 0 1px 8px rgba(0, 0, 0, .8) }

.t-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; max-width: 30ch }
.t-body b { font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.2; color: var(--heading) }
.tool:hover .t-body b { color: var(--accent-hi) }
.t-body .d { font-size: 14.5px; line-height: 1.45; color: var(--text-dim) }
/* live line from this browser's cached data (roster import, last saved raid) */
.t-body .meta { font-size: 12.5px; font-weight: 600; color: var(--text-faint) }
.t-body .meta[hidden] { display: none }
.t-body .meta b { font-family: var(--body); font-size: 12.5px; font-weight: 700; color: var(--accent) }
