/* style.ts — plain CSS despite the extension (goes into the STYLE tab).
   Styles the two DOM overlays (palette dock, HUD) plus small shell tweaks. */

/* NOTE: do NOT hide .sky-step-bar in this app! That rule (boilerplate in the shipped single-tab
   examples) turned out to hide the TAB NAVIGATION — with it active, the Export tab was
   unreachable (live-diagnosed 2026-07-13). */

/* ---- palette dock (bottom center) ---- */
#kfx-dock {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 30;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #d7dade;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
  padding: 8px 10px 10px 10px;
  font-family: inherit;
}

.kfx-dock-title {
  font-size: 11px;
  color: #6a7076;
  text-align: center;
  margin-bottom: 6px;
}

.kfx-dock-row {
  display: flex;
  gap: 8px;
}

.kfx-card {
  width: 92px;
  border: 1px solid #d7dade;
  border-radius: 8px;
  background: #ffffff;
  padding: 6px 4px;
  text-align: center;
  cursor: pointer;
  user-select: none;
  transition: transform 0.08s ease, border-color 0.08s ease, box-shadow 0.08s ease;
}

.kfx-card:hover {
  transform: translateY(-2px);
  border-color: #2f7fe8;
  box-shadow: 0 3px 10px rgba(47, 127, 232, 0.25);
}

.kfx-card-active {
  border-color: #27ae60;
  box-shadow: 0 0 0 2px rgba(39, 174, 96, 0.35);
}

.kfx-card-icon {
  height: 40px;
}

.kfx-card-label {
  font-size: 11px;
  font-weight: 600;
  color: #2b3035;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kfx-card-price {
  font-size: 10px;
  color: #6a7076;
}

/* ---- stats HUD (top right) ---- */
#kfx-hud {
  position: absolute;
  top: 64px;
  right: 16px;
  z-index: 30;
  background: rgba(43, 48, 53, 0.85);
  color: #ffffff;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  pointer-events: none;
}

/* ---- placement / selection hint bar (top center) ---- */
#kfx-hint {
  display: none;
  position: absolute;
  top: 64px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  background: rgba(39, 174, 96, 0.92);
  color: #ffffff;
  border-radius: 8px;
  padding: 7px 16px;
  font-size: 13px;
  pointer-events: none;
}

/* ---- shell tweaks ---- */
.kfx-cta {
  background-color: #27ae60;
  border-color: #1f8f4e;
}
