@import url("./battlezone-decor.css");
@import url("./hud-details.css");

.tool-intro { margin-bottom: 26px; }
.tool-summary { margin: 0; color: #b7c1b4; font-size: 1.02rem; }
.tool-actions,
.tool-footer-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.tool-download {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid #66814e;
  background: linear-gradient(180deg, #26361f, #162016);
  color: #e6f7aa;
  text-decoration: none;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.tool-download:hover { border-color: var(--accent); color: #f4ffbd; background: #26391d; }
.tool-screenshot-panel { margin-bottom: 26px; padding: 12px; overflow: hidden; }
.tool-screenshot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tool-screenshot-grid.single { grid-template-columns: 1fr; }
.tool-screenshot { margin: 0; min-width: 0; }
.tool-screenshot a {
  display: block;
  border: 1px solid #314233;
  background: #050806;
  line-height: 0;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(125, 166, 91, .06);
}
.tool-screenshot a:hover { border-color: var(--accent); }
.tool-screenshot img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 760px;
  object-fit: contain;
  object-position: top center;
  background: #050806;
}
.tool-screenshot figcaption {
  padding: 9px 3px 2px;
  color: #829183;
  font: .7rem/1.35 Consolas, "Courier New", monospace;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.tool-section .section-rule { margin-top: 10px; }
.tool-list { margin: 0; padding: 0; list-style: none; border: 1px solid #28352b; background: #0a0f0b; }
.tool-list li { position: relative; padding: 10px 13px 10px 28px; border-bottom: 1px solid #1f2a21; color: #aab6aa; }
.tool-list li:last-child { border-bottom: 0; }
.tool-list li::before { content: ">"; position: absolute; left: 12px; color: var(--accent); font-family: Consolas, monospace; }
.tool-code-panel p { margin-top: 0; }
.tool-code-panel pre {
  margin: 15px 0 0;
  padding: 15px 16px;
  overflow-x: auto;
  border: 1px solid #28372b;
  background: #050806;
  color: #c8d8b7;
  font: .78rem/1.65 Consolas, "Courier New", monospace;
}
.tool-workflows { display: grid; gap: 14px; }
.tool-workflow { min-height: 0; }
.tool-workflow h3 { margin-top: 0; }
.tool-steps { margin: 0; padding-left: 25px; color: #aab6aa; }
.tool-steps li { padding: 6px 0 6px 4px; border-bottom: 1px solid #1f2a21; }
.tool-steps li:last-child { border-bottom: 0; }
.tool-steps li::marker { color: var(--accent); font-family: Consolas, monospace; }
.tool-footer-actions { justify-content: space-between; align-items: center; margin-top: 28px; padding-top: 18px; border-top: 1px solid #253027; }
@media (max-width: 760px) {
  .tool-screenshot-grid { grid-template-columns: 1fr; }
  .tool-screenshot-panel { padding: 8px; }
  .tool-screenshot img { max-height: none; }
}
@media (max-width: 660px) {
  .tool-grid { grid-template-columns: 1fr; }
  .tool-actions a, .tool-footer-actions a { width: 100%; text-align: center; }
}