/* Transformer Fix | the meter, the needle and the big red button. Builds on the shared game styles. */
.tf-box { max-width: 560px; margin: 8px auto 4px; }
.tf-meter { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--sans); user-select: none; -webkit-user-select: none; }
.tf-body { fill: #fff; stroke: #121212; stroke-width: 2.4; stroke-linejoin: round; }
.tf-part { stroke: none; }
.tf-part.tf-low { fill: #fde9a8; }
.tf-part.tf-high { fill: #f6c3bd; }
.tf-part:nth-of-type(even) { fill-opacity: .72; }
.tf-div { stroke: #121212; stroke-width: 1.1; }
.tf-tick { stroke: #121212; stroke-width: .8; opacity: .55; }
.tf-div.tf-target { stroke: #1c6b3a; stroke-width: 3.2; }
.tf-num { font-size: 11px; font-weight: 700; fill: #121212; font-variant-numeric: tabular-nums; }
.tf-num.tf-num-t { font-size: 14px; font-weight: 800; fill: #1c6b3a; }
.tf-perfect circle { fill: #1c6b3a; }
.tf-perfect path { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tf-volt { font-size: 8px; font-weight: 700; letter-spacing: .3em; fill: #8a8a8a; }
.tf-cap { font-size: 7.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; fill: #6b6b6b; }
.tf-needle[hidden] { display: none; }
.tf-needle-l { stroke: #d4141c; stroke-width: 3.4; stroke-linecap: round; filter: drop-shadow(0 0 2px rgba(212,20,28,.55)); }
.tf-needle-h { fill: #d4141c; stroke: #7a0009; stroke-width: 1; stroke-linejoin: round; }
.tf-frozen .tf-needle-l { stroke: #7a0009; filter: none; }
.tf-note { margin-top: 6px; }

/* the stop button: big, red and impossible to miss */
.tf-stop { appearance: none; display: block; margin: 14px auto 6px; width: min(380px, 100%); height: 124px; cursor: pointer; border: 6px solid #7a0009; border-radius: 62px;
  background: radial-gradient(circle at 50% 30%, #ff4a3f 0%, #d4141c 55%, #a30010 100%); color: #fff; box-shadow: 0 10px 0 #7a0009, 0 14px 22px rgba(0,0,0,.25);
  font-family: var(--sans); font-weight: 900; font-size: clamp(44px, 12vw, 64px); letter-spacing: .14em; text-shadow: 0 3px 0 rgba(0,0,0,.35);
  touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; transition: transform .04s, box-shadow .04s; }
.tf-stop:active:not(:disabled) { transform: translateY(8px); box-shadow: 0 2px 0 #7a0009, 0 4px 8px rgba(0,0,0,.25); }
.tf-stop:disabled { filter: grayscale(.7) brightness(.85); cursor: not-allowed; }
.tf-stop:focus-visible { outline: 4px solid #1b4fd0; outline-offset: 4px; }
.tf-stop[hidden] { display: none !important; }
