/* Feed Huck: DRAFT. Uses site vars from style.css, with fallbacks. Pair with js/feedhuck.js */
.feedhuck{--f-ink:var(--ink,#151515);--f-sun:var(--sun,#ffc21a);--f-cream:var(--cream,#fff8e6);
  position:relative;overflow:hidden;padding:74px 0 36px;text-align:center;
  background:linear-gradient(180deg,#ffd58a 0%,#ffe9b0 34%,#d8f0c0 72%,var(--grass,#5bb535) 100%);
  font-family:ui-rounded,"Nunito","Trebuchet MS",system-ui,sans-serif;color:var(--f-ink);
  touch-action:manipulation;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none}
.feedhuck *{box-sizing:border-box}
.feedhuck__head{position:relative;z-index:3;padding:0 10px 8px}
.feedhuck__kicker,.feedhuck__title,.feedhuck__num,.feedhuck__done h3{font-family:"Freckle Face","Comic Sans MS",cursive;font-weight:400}
.feedhuck__kicker{margin:0;color:#fff;font-size:1.1rem;text-transform:uppercase;letter-spacing:.08em;text-shadow:2px 2px 0 var(--f-ink)}
.feedhuck__title{margin:.05em 0 .1em;color:#fff;font-size:clamp(2rem,9vw,3.4rem);line-height:1.05;
  text-shadow:3px 3px 0 var(--f-ink),-2px -2px 0 var(--f-ink),2px -2px 0 var(--f-ink),-2px 2px 0 var(--f-ink)}
.feedhuck__sound{position:absolute;top:10px;right:10px;z-index:6}
.feedhuck__ask{margin:.55em 0 0;font-size:clamp(1.05rem,4.4vw,1.3rem);font-weight:800}

.feedhuck__stats{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;margin:12px auto 0;max-width:560px;padding:0 12px}
.feedhuck__chip{display:inline-flex;align-items:center;gap:8px;background:var(--f-sun);border:4px solid var(--f-ink);min-height:56px;padding:2px 16px 2px 10px;
  border-radius:22px 28px 20px 30px/28px 20px 30px 22px;box-shadow:4px 4px 0 var(--f-ink)}
.feedhuck__chip img{width:40px;height:40px}
.feedhuck__num{font-size:1.9rem;line-height:1}
.feedhuck__stars{display:flex;gap:3px}
.feedhuck__stars svg{width:24px;height:24px}
.feedhuck__meter{display:flex;gap:4px;align-items:center;justify-content:center;background:var(--f-cream);border:4px solid var(--f-ink);min-height:56px;padding:4px 12px;width:100%;max-width:420px;
  border-radius:22px 28px 20px 30px/28px 20px 30px 22px;box-shadow:4px 4px 0 var(--f-ink)}
.feedhuck__meter svg{width:clamp(24px,8vw,34px);height:auto;flex:1 1 0;max-width:36px}
.feedhuck__meter .is-daily{filter:none}

.feedhuck__wrap{position:relative;z-index:2;margin:14px auto 0;padding:0 12px;max-width:560px}
.feedhuck__board{position:relative;width:100%;aspect-ratio:1/1;overflow:hidden;background:#cde;
  border:4px solid var(--f-ink);border-radius:22px 28px 20px 30px/28px 20px 30px 22px;box-shadow:6px 6px 0 var(--f-ink);touch-action:manipulation}
.feedhuck__board img{position:absolute;display:block;max-width:none;height:auto;pointer-events:none;user-select:none;-webkit-user-select:none;-webkit-user-drag:none}
.feedhuck__bg{left:0;top:0;width:100%;z-index:1}
.feedhuck__huck{z-index:20}
.feedhuck__huck.is-hop{animation:fd-hop .7s ease-in-out}
.feedhuck__huck.is-cheer{animation:fd-hop .9s ease-in-out 2}
.feedhuck__zone{position:absolute;z-index:30;border-radius:50%;border:5px dashed transparent;pointer-events:none;transition:border-color .15s,background .15s}
.feedhuck__zone.is-over{border-color:#fff;background:rgba(255,255,255,.35)}
.feedhuck__zone.is-hint{border-color:rgba(255,255,255,.9);animation:fd-pulse 1.3s ease-in-out infinite}
.feedhuck__heart{position:absolute;z-index:40;width:30px;height:30px;margin:-15px 0 0 -15px;pointer-events:none;animation:fd-heart 1.2s ease-out forwards}
.feedhuck__zone--q{display:none}

.feedhuck__tray{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:16px auto 0;min-height:92px;padding:10px;
  background:rgba(255,248,230,.85);border:4px solid var(--f-ink);border-radius:22px 28px 20px 30px/28px 20px 30px 22px;box-shadow:4px 4px 0 var(--f-ink)}
.feedhuck__tray[data-empty="1"]{display:none}
.feedhuck__item{position:relative;width:76px;height:76px;padding:6px;background:#fff;border:4px solid var(--f-ink);border-radius:50%;box-shadow:3px 3px 0 var(--f-ink);cursor:grab;touch-action:none}
.feedhuck__item img{width:100%;height:100%;pointer-events:none;-webkit-user-drag:none}
.feedhuck__item.is-daily{background:var(--f-sun);box-shadow:3px 3px 0 var(--f-ink),0 0 0 4px #fff,0 0 14px 6px rgba(255,194,26,.9);animation:fd-bob 1.6s ease-in-out infinite}
.feedhuck__item.is-lifted{opacity:.3}
.feedhuck__item.is-full{opacity:.45;cursor:default}
.feedhuck__item:focus-visible,.feedhuck__btn:focus-visible{outline:3px dashed var(--f-ink);outline-offset:3px}
.feedhuck__ghost{position:fixed;z-index:2000;width:84px;height:84px;margin:-42px 0 0 -42px;pointer-events:none;filter:drop-shadow(3px 4px 0 rgba(21,21,21,.5))}
.feedhuck__ghost.is-fly{transition:left .38s cubic-bezier(.4,.1,.3,1),top .38s cubic-bezier(.4,.1,.3,1),transform .38s ease-in,opacity .38s}
.feedhuck__ghost.is-eaten{transform:scale(.15);opacity:0}

.feedhuck__done{margin:16px auto 0;padding:10px 14px 14px;max-width:420px;background:var(--f-cream);border:4px solid var(--f-ink);
  border-radius:22px 28px 20px 30px/28px 20px 30px 22px;box-shadow:5px 5px 0 var(--f-ink)}
.feedhuck__done[hidden]{display:none}
.feedhuck__done h3{margin:0 0 .1em;font-size:clamp(1.7rem,7.5vw,2.4rem);line-height:1.05;color:var(--huck,#16a3f5);
  text-shadow:2px 2px 0 var(--f-ink),-1px -1px 0 var(--f-ink),1px -1px 0 var(--f-ink),-1px 1px 0 var(--f-ink)}
.feedhuck__done p{margin:.15em 0;font-weight:800}
.feedhuck__done p.feedhuck__more{display:flex;gap:6px;align-items:center;justify-content:center;font-size:.95rem}
.feedhuck__done p.feedhuck__more img{width:28px;height:28px}

.feedhuck-toast{white-space:nowrap;width:max-content;position:fixed;left:50%;bottom:18px;z-index:5000;transform:translate(-50%,140%);display:flex;align-items:center;gap:10px;
  background:var(--sun,#ffc21a);color:#151515;border:4px solid #151515;border-radius:22px 28px 20px 30px/28px 20px 30px 22px;box-shadow:4px 4px 0 #151515;
  padding:6px 18px 6px 10px;font:400 1.25rem/1.1 "Freckle Face","Comic Sans MS",cursive;text-decoration:none;transition:transform .35s cubic-bezier(.3,1.4,.5,1);pointer-events:none;max-width:92vw}
.feedhuck-toast.is-on{transform:translate(-50%,0);pointer-events:auto}
.feedhuck-toast img{width:40px;height:40px}

@keyframes fd-hop{0%,100%{transform:translateY(0) scale(var(--fx,1),1)}25%{transform:translateY(-16px) scale(calc(var(--fx,1)*1.03),1.03)}50%{transform:translateY(0) scale(var(--fx,1),1)}75%{transform:translateY(-9px) scale(calc(var(--fx,1)*1.02),1.02)}}
@keyframes fd-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@keyframes fd-pulse{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(1.1);opacity:.7}}
@keyframes fd-heart{0%{transform:translate(0,0) scale(.4);opacity:1}100%{transform:translate(var(--dx,0px),-90px) scale(1.15);opacity:0}}
@media (min-width:700px){.feedhuck__wrap{padding:0 20px}}
@media (prefers-reduced-motion:reduce){.feedhuck__item.is-daily,.feedhuck__huck.is-hop,.feedhuck__huck.is-cheer,.feedhuck__zone.is-hint{animation:none}.feedhuck__heart{display:none}.feedhuck-toast{transition:none}}
.feedhuck__streak{background:var(--f-cream)}
