/* Kitty Goes Fishing: tension gauge, hold button, row buttons and the tackle shop (shared HUD: /fishing-games/_shared/fish2d.css) */
.kf-tension { position: absolute; left: 50%; top: 52px; transform: translateX(-50%); width: min(340px, 70%); text-align: center; font: 900 11px system-ui, sans-serif; letter-spacing: .14em; text-shadow: 0 1px 3px #000; }
.kf-tension[hidden] { display: none; }
.kf-tension div { position: relative; height: 16px; margin-top: 3px; border-radius: 9px; border: 2px solid rgba(255, 255, 255, .8); background: linear-gradient(90deg, #22c55e 0 55%, #facc15 55% 76%, #ef4444 76% 100%); }
.kf-tension i { position: absolute; top: -6px; width: 6px; height: 24px; margin-left: -3px; border-radius: 3px; background: #fff; box-shadow: 0 0 6px rgba(0, 0, 0, .7); left: 0; transition: left .05s linear; }
.kf-tension.is-red div { animation: kf-shake .12s linear infinite; }
@keyframes kf-shake { 50% { transform: translateX(2px); } }
.kf-hint { position: absolute; left: 50%; bottom: 74px; transform: translateX(-50%); font: 800 14px system-ui, sans-serif; text-shadow: 0 1px 4px rgba(0, 0, 0, .8); white-space: nowrap; pointer-events: none; }
.kf-pad { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; gap: 8px; justify-content: center; align-items: stretch; }
.kf-act { min-width: 220px; min-height: 52px; border: 0; border-radius: 14px; color: #fff; font: 900 19px system-ui, sans-serif; cursor: pointer; touch-action: none; user-select: none; -webkit-user-select: none;
  background: linear-gradient(180deg, #22c55e, #15803d); box-shadow: 0 5px 0 #14532d, 0 8px 16px rgba(0, 0, 0, .35); }
.kf-act:active { transform: translateY(3px); box-shadow: 0 2px 0 #14532d; }
.kf-act.is-alert { background: linear-gradient(180deg, #facc15, #ea580c); box-shadow: 0 5px 0 #9a3412; animation: kf-pulse .4s ease-in-out infinite; }
@keyframes kf-pulse { 50% { transform: scale(1.06); } }
.kf-move { width: 56px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 14px; background: rgba(8, 16, 28, .6); color: #fff; font-size: 20px; cursor: pointer; touch-action: none; }
.kf-act:focus-visible, .kf-move:focus-visible, .kf-item:focus-visible { outline: 3px solid #fde047; outline-offset: 2px; }
.kf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.kf-item { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; padding: 8px 10px; border-radius: 12px; border: 2px solid rgba(255, 255, 255, .15); background: rgba(255, 255, 255, .06); color: #e2e8f0; cursor: pointer; font-family: inherit; }
.kf-item b { color: #fff; font-size: 14px; } .kf-item small { font-size: 11px; opacity: .8; } .kf-item em { font-style: normal; font-weight: 900; color: #86efac; font-size: 13px; }
.kf-item.is-sel { border-color: #22c55e; background: rgba(34, 197, 94, .12); }
.kf-item:disabled { opacity: .5; cursor: default; } .kf-item:disabled em { color: #fca5a5; }
@container (max-width: 480px) {
  .kf-act { min-width: 0; flex: 1; font-size: 16px; min-height: 48px; }
  .kf-move { width: 48px; }
  .kf-hint { bottom: 66px; font-size: 12px; }
  .kf-tension { top: 74px; }
}
@media (prefers-reduced-motion: reduce) { .kf-act.is-alert, .kf-tension.is-red div { animation: none; } }
