/* LND-176 / WIZ-105: catch the paint drops (static/pip-catch.js). Shared by
   the home page (which doesn't load theme.css) and /new, so it carries its
   own fallbacks. Loaded after owls.css: it reuses the cast's flapL/flapR
   keyframes and never changes a locked rule. */
.pc{position:absolute;inset:0;z-index:2;container-type:size;overflow:hidden;touch-action:pan-y;outline:none;cursor:default;
  -webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;transition:opacity .6s}
.pc:focus-visible{box-shadow:inset 0 0 0 3px #B4C979}
.pc.out{opacity:0}
.pc-splats{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.pc-fading{position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none;transition:opacity .9s}
.pc-drops{position:absolute;inset:0;pointer-events:none}
.pc-drop{position:absolute;left:0;top:0;border-radius:50% 50% 50% 50%/60% 60% 40% 40%;will-change:transform;transition:opacity .35s}
.pc-drop.star{border-radius:0;background:#F5A524;clip-path:polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%)}
.pc-drop.gone{opacity:0}
.pc-floor{position:absolute;bottom:2px;width:20px;height:5px;margin-left:-10px;border-radius:50%;background:rgba(65,78,38,.22);transition:opacity .7s}
.pc-floor.gone{opacity:0}
.pc-pip{position:absolute;left:0;top:0;z-index:1;will-change:transform}
.pc-pip .owl{display:block}
.pc-pip .o-prop{display:none}                 /* his book, while he holds the pail */
.pc-pip .owl-svg{animation:none}              /* he hovers; the flapping is the motion */
.pc-pip .owl-tilt{position:relative}
.pc-pail{position:absolute;left:0;top:0;width:100%;height:auto;overflow:visible;pointer-events:none}
.pc-pip.fly .o-wing-l{animation:flapL .15s ease-in-out infinite alternate}
.pc-pip.fly .o-wing-r{animation:flapR .15s ease-in-out infinite alternate}
.pc-count,.pc-say{position:absolute;margin:0;font:600 13px/18px 'Inter Tight',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  color:#414E26;background:rgba(255,255,255,.93);border-radius:999px;pointer-events:none;z-index:3}
/* LND-178: what is happening, on the box: a band across the top says Pip is
   painting (a dabbing brush, the time left, its own bar) and a line along
   the bottom says the game is for the wait. Both stay until it ends. */
.pc-band{position:absolute;left:0;right:0;top:0;z-index:4;padding:8px 11px 9px;display:grid;gap:5px;
  background:linear-gradient(rgba(255,255,255,.96),rgba(255,255,255,.88));box-shadow:0 2px 10px rgba(65,78,38,.1);transition:opacity .4s}
.pc-row{display:flex;flex-wrap:wrap;align-items:center;column-gap:7px;row-gap:1px;min-width:0;
  font:700 14px/18px 'Inter Tight',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;color:#414E26}
.pc-what{flex:1 1 0;min-width:0}
.pc-left{margin-left:auto;font-weight:500;font-size:12px;color:#5F6455;font-variant-numeric:tabular-nums;white-space:nowrap}
.pc-left:empty{display:none}
.pc-brush{width:17px;height:17px;flex:none;transform-origin:20% 80%;animation:pcDab 1s ease-in-out infinite alternate}
@keyframes pcDab{from{transform:rotate(-14deg)}to{transform:rotate(10deg) translateY(-1px)}}
.pc-bar{height:4px;border-radius:999px;background:rgba(65,78,38,.15);overflow:hidden}
.pc-bar i{display:block;height:100%;width:0;background:#677E32;border-radius:inherit;transition:width .4s linear}
.pc-wait{position:absolute;left:0;right:0;bottom:0;z-index:4;margin:0;padding:5px 10px;text-align:center;text-wrap:balance;
  font:600 12px/16px 'Inter Tight',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;color:#414E26;background:rgba(237,241,222,.94);transition:opacity .4s}
.pc-band.gone,.pc-wait.gone{opacity:0}
.pc-count{right:8px;bottom:calc(var(--pc-wait,26px) + 6px);padding:3px 10px;font-variant-numeric:tabular-nums}
.pc-say{left:50%;top:40%;transform:translate(-50%,-50%);padding:7px 13px;border-radius:14px;color:#1F2418;background:#fff;
  box-shadow:0 6px 18px rgba(65,78,38,.18);max-width:88%;width:max-content;text-align:center;text-wrap:balance}
.pc-count[hidden],.pc-say[hidden]{display:none}
@media (max-width:420px){.pc-count,.pc-say{font-size:12px;line-height:16px}.pc-row{font-size:13px;line-height:16px}
  .pc-wait{font-size:11px;line-height:14px;padding:4px 8px}.pc-band{padding:6px 9px 7px}}
@media (prefers-reduced-motion:reduce){.pc-brush{animation:none}}
/* IMG-146: Stop painting, at the band's right end. 44px tall under a coarse
   pointer; away from the play area, so a drag there never reaches it */
.pc-stop{display:inline-flex;align-items:center;gap:6px;flex:none;height:30px;padding:0 11px;border-radius:999px;
  border:1.5px solid #B9BFA8;background:#fff;color:#1F2418;cursor:pointer;
  font:600 12.5px/1 'Inter Tight',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif}
.pc-stop i{width:8px;height:8px;border-radius:2px;background:#C8390D;flex:none}
.pc-stop:hover{border-color:#8E957D}
.pc-stop:focus-visible{outline:3px solid #B4C979;outline-offset:1px}
.pc-stop:disabled{opacity:.55;cursor:default}
@media (pointer:coarse){.pc-stop{height:44px;padding:0 14px;font-size:13.5px}}
/* a small box (the editor's picture above Pip's sheet on a phone, /new's
   boxes): the band keeps the brush, the words and the bar; the time left is
   on the line beside it already (the page's own line, or Pip's card) */
@container (max-width:280px){
  .pc-band{padding:5px 8px 6px;gap:4px}.pc-row{font-size:12px;line-height:15px}.pc-brush{width:14px;height:14px}
  .pc-left{display:none}.pc-bar{height:3px}
  .pc-wait{font-size:10.5px;line-height:13px;padding:3px 6px}
}
