/* A small test label and readable enemy traits. The existing integrated UI,
   camera, geometry and all 44px interaction targets remain in charge. */
body[data-td-v1] #build-version { color:#795534; font-weight:700; }
body[data-td-v1] .prototype-label { color:#835829; }
/* Dense V1 routes leave less unused terrain than the GB21 layouts. The dock
   caption and explicit touch Preview / Build instructions already teach this
   action; a second floating helper must not cover a road or the resource HUD. */
body[data-td-v1] #first-build-help { display:none!important; }
body[data-td-v1] .settings-card .v1-test-note {
  display:block; margin:0; padding:6px 0; color:#6a573e; font-size:11px; line-height:1.4;
  overflow-wrap:anywhere;
}
body[data-td-v1] .forecast-enemy { overflow-wrap:anywhere; }
body[data-td-v1] .forecast-enemy[data-enemy='bastion'] { border-left:3px solid #c4a55f; padding-left:7px; }
body[data-td-v1] .forecast-enemy[data-enemy='wing'] { border-left:3px solid #a983c4; padding-left:7px; }
body[data-td-v1] .forecast-enemy[data-enemy='boss'] { border-left:3px solid #d17559; padding-left:7px; }
body[data-td-v1] .enemy-card[data-enemy='boss'] .enemy-count { color:#a14732; font-weight:800; }
body[data-td-v1] .forecast-details { max-width:calc(100% - 12px); }
body[data-td-v1] .forecast-heading { align-items:flex-start; }
body[data-td-v1] .forecast-heading>strong { min-width:0; overflow-wrap:anywhere; }
body[data-td-v1] #close-forecast { flex:none; min-width:44px; min-height:44px; }
@media (prefers-reduced-motion:reduce) {
  body[data-td-v1] #start-wave[data-ready='true'] { animation:none; }
}

/* V1 camera switch stays outside the crowded build/upgrade action rows. */
body[data-td-v1] .v1-view-toggle {
  position:absolute; z-index:6; top:4px; right:4px; width:80px; height:44px;
  min-width:80px; min-height:44px; padding:3px 6px; font-size:12px; line-height:14px;
}
