/* Shared studio finish for the actual overlay and the dashboard preview. */
.tv-pot { padding: 14px 16px 12px; isolation: isolate; }
.tv-pot-jar {
  width: 136px; height: 169px; flex: 0 0 auto;
  filter: drop-shadow(0 12px 12px #0005);
}
.tv-pot-jar::before {
  content: ""; position: absolute; left: 14%; right: 14%; bottom: -6px;
  height: 9px; border-radius: 50%; background: var(--pot-rim);
  opacity: .16; filter: blur(8px); z-index: -1;
}
.tv-pot-glass {
  clip-path: none;
  -webkit-mask: url("/static/img/pots/jar-mask.svg?v=studio") center / 100% 100% no-repeat;
  mask: url("/static/img/pots/jar-mask.svg?v=studio") center / 100% 100% no-repeat;
  background:
    linear-gradient(100deg, #ffffff29 0%, #ffffff05 20%, transparent 55%, #ffffff12 83%, #ffffff35),
    radial-gradient(ellipse at 45% 10%, #ffffff25, transparent 60%), var(--pot-glass);
}
.tv-pot-glass::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, #07132238, transparent 23%, #ffffff0a 50%, transparent 78%, #07132238);
  box-shadow: inset 0 -8px 10px #0003;
}
.tv-pot-outline { z-index: 2; pointer-events: none; }
.tv-pot-body { stroke: url(#pot-edge); stroke-width: 1.35; }
.tv-pot-inner-edge { fill: none; stroke: var(--pot-rim); stroke-width: .5; opacity: .42; }
.tv-pot-gloss { stroke: #fff; stroke-width: 2; opacity: .65; }
.tv-pot-gloss-2 { stroke-width: 1; opacity: .3; }
.tv-pot-band { fill: url(#pot-metal); stroke: var(--pot-rim); stroke-width: .6; }
.tv-pot-rim { fill: url(#pot-metal); stroke: #ffffff70; stroke-width: .6; }
.tv-pot-mouth { fill: #0b152d; fill-opacity: .75; stroke: var(--pot-rim); stroke-width: .5; }
.tv-pot-graduations { fill: none; stroke: #fff; stroke-width: .65; opacity: .4; }
.tv-pot .tv-pot-jar::after { z-index: 3; background-image: var(--pot-decoration, none); }
.tv-pot-liquid {
  background: radial-gradient(ellipse at 30% 5%, #ffffff70, transparent 62%),
    linear-gradient(155deg, var(--pot-liquid-top), var(--pot-liquid-bottom));
  box-shadow: inset 0 -9px 14px #0a10283b;
}
.tv-pot-wave { opacity: .85; animation-duration: 4.5s; }
.tv-pot-wave-2 { opacity: .3; animation-duration: 6s; }
.tv-pot-liquid i { width: 4px; height: 4px; opacity: .55; animation-duration: 5s; }
:is(#goal-widget, .gp-widget):is(.pot-percent-inside, .pot-count-inside) .tv-pot-inside {
  inset: 37% 16% auto; min-height: 40px; padding: 6px 4px; gap: 3px;
  z-index: 4; border-radius: 12px;
  background: linear-gradient(145deg, #0b152ab0, #0b152a70);
  border: 1px solid #ffffff26; box-shadow: 0 3px 12px #0002, inset 0 1px #ffffff0f;
  color: var(--goal-text, var(--gp-text, #fff));
  text-shadow: 0 1px 3px #0007; letter-spacing: -.025em;
}
:is(#goal-widget, .gp-widget).pot-percent-inside .tv-pot-percent { font-size: 25px; font-weight: 750; }
:is(#goal-widget, .gp-widget).pot-count-inside .tv-pot-count { font-size: 11px; font-weight: 600; letter-spacing: 0; }
:is(#goal-widget, .gp-widget).pot-count-inside:not(.pot-percent-inside) .tv-pot-count { font-size: 14px; }
:is(#goal-widget, .gp-widget).pot-no-bg .tv-pot-jar::before { display: none; }
@keyframes tv-pot-bump {
  0%, 100% { transform: rotate(0) translateY(0); }
  30% { transform: rotate(-2deg) translateY(-3px); }
  65% { transform: rotate(1.5deg) translateY(-1px); }
}
@media (prefers-reduced-motion: reduce) {
  .tv-pot-wave, .tv-pot-liquid i, .tv-pot-jar.pot-bump,
  #goal-widget.complete .tv-pot-jar, .tv-pot-gift.dropping { animation: none; }
  .tv-pot-fill { transition: none; }
}
