/* Homecraft III, a house you design yourself (M16, track AU; expansions-round3.md 2.5) (public/js/homecraft3.ts). */

/* The bar over the farm while drawing the plans: big enough for a thumb, out of the stick's corner. */
.hc3-bar { position: fixed; z-index: 6; left: 50%; transform: translateX(-50%); top: calc(64px + var(--safe-t, 0px)); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: center; padding: 6px 10px; max-width: min(96vw, 880px); width: max-content; }
.hc3-bar .hc3-hint { flex-basis: 100%; order: 9; }
body.pf-held .hc3-bar { top: calc(64px + var(--pf-hold, 0px) + var(--safe-t, 0px)); }
.hc3-tools { display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; }
.hc3-tool { display: flex; flex-direction: column; align-items: center; min-width: 52px; min-height: 44px; padding: 4px 6px; line-height: 1.1; }
.hc3-tool .ic { font-size: 18px; }
.hc3-tool .lb { font-size: 11px; }
.hc3-tool.on { outline: 2px solid #f2d070; background: rgba(242, 208, 112, 0.25); }
.hc3-kind { display: flex; align-items: center; gap: 6px; justify-content: center; min-height: 36px; font-size: 13px; }
.hc3-kind .sw { display: inline-block; width: 14px; height: 14px; border-radius: 3px; border: 1px solid rgba(0, 0, 0, 0.4); }
.hc3-hint { font-size: 12px; text-align: center; opacity: 0.95; }
.hc3-warn { color: #ffb0a0; font-weight: 600; margin-top: 2px; }
.hc3-ok { color: #b8f0a0; margin-top: 2px; }
.hc3-acts { display: flex; gap: 6px; justify-content: center; }
.hc3-acts .btn { min-height: 40px; min-width: 64px; }

/* The panels. */
.hc3-review .hc3-warn, .hc3-review p { margin: 6px 0; }
.hc3-name { font: inherit; padding: 4px 6px; border-radius: 6px; border: 1px solid rgba(0, 0, 0, 0.3); max-width: 100%; min-width: 0; width: 14em; }
.hc3-room { padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.hc3-pick { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.hc3-pick .pt-swatches { flex: 1; min-width: 0; }

@media (max-width: 520px) {
  .hc3-bar { top: calc(56px + var(--safe-t, 0px)); padding: 6px; }
  .hc3-tool { min-width: 46px; }
  .hc3-tool .lb { font-size: 10px; }
}
