/* Goblin Gains, Cogwhistle's gym (js/arena/town/gym/): the rep meter over the machines (gym-meter.js), a workshop plate
   (ART_STYLE.md section 9) with a track, the green stretch to hit and the brass needle; the trainer's shift chip under
   the stars (gym-trainer.js); and the mirror card's size readout (gym-workout.js), on the lock-up's card (lockup.css) */
#gymrep { position: absolute; left: 50%; top: 50%; transform: translateX(-50%); box-sizing: border-box; width: min(340px, calc(100% - 32px));
  padding: 10px 14px 10px; border-radius: 10px; border: 3px solid var(--wk-ink, #0a0612); background: var(--wk-plate, linear-gradient(170deg, #3a4048, #2a2e36));
  box-shadow: var(--wk-drop-sm, 0 4px 0 #0a0612); color: var(--wk-paper, #f0ece0); font: 600 14px var(--f-ui, system-ui, sans-serif); text-align: center;
  cursor: pointer; touch-action: none; user-select: none; display: none; }
#gymrep.show { display: block; }
#gymrep.good { border-color: var(--wk-potion, #7aff2a); }
#gymrep.bad { border-color: #ff3a1a; animation: gymrepshake 0.3s; }
@keyframes gymrepshake { 25% { transform: translateX(calc(-50% - 6px)); } 75% { transform: translateX(calc(-50% + 6px)); } }
.gymreptitle { font: 400 17px var(--f-head, serif); color: var(--wk-brass, #f2b632); text-shadow: 2px 2px 0 var(--wk-ink, #0a0612); margin-bottom: 8px; }
.gymreptrack { position: relative; height: 22px; border-radius: 6px; border: 2px solid var(--wk-ink, #0a0612); background: #18141e; overflow: hidden; }
.gymrepzone { position: absolute; top: 0; bottom: 0; background: rgba(122, 255, 42, 0.55); box-shadow: inset 0 0 8px rgba(122, 255, 42, 0.9); }
.gymrepneedle { position: absolute; top: -2px; bottom: -2px; width: 6px; margin-left: -3px; border-radius: 3px; background: #c8902a; border: 1px solid #0a0612; }
.gymrepsub { margin-top: 7px; font-size: 13px; opacity: 0.9; }
#gymshift { position: absolute; top: 54px; left: 50%; transform: translateX(-50%); padding: 4px 14px; border-radius: 99px; background: var(--wk-plate, #2a2e36);
  border: 2px solid var(--wk-ink, #0a0612); color: #9ef0ff; font: bold 13px var(--f-ui, system-ui, sans-serif); white-space: nowrap; max-width: calc(100% - 24px);
  overflow: hidden; text-overflow: ellipsis; pointer-events: none; display: none; }
#gymshift.show { display: block; }
.gymsize { margin: 0 4px 10px; }
.gymsizebar { height: 14px; border-radius: 7px; border: 2px solid var(--wk-ink, #0a0612); background: linear-gradient(90deg, #2ae0ff var(--g, 0%), #18141e var(--g, 0%)); }
.gymsizeword { margin-top: 6px; text-align: center; font: 400 20px var(--f-head, serif); color: var(--wk-brass, #f2b632); text-shadow: 2px 2px 0 var(--wk-ink, #0a0612); }
@media (max-width: 600px) {
  #gymrep { top: 42%; padding: 8px 10px; }
  #gymshift { top: 92px; font-size: 12px; }
}
