/* v3.23 more games: Egg Hunt, Coop Run, Rooster Crow-Off, Feather Solitaire, Scratch Card */
.fwgpanel{display:flex;flex-direction:column;gap:12px}
.fwgstat{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;font-size:14px}
.fwgstat.col{flex-direction:column;gap:6px;align-items:flex-start;justify-content:center}
.fwgresult{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;padding:12px;border-radius:14px;background:var(--accent-soft,rgba(242,193,78,.15))}
.fwgresult b{font-size:17px}
.fwgprize{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}
.fwgprize>span{display:inline-flex;align-items:center;gap:4px;font-size:14px}
.fwgprize img,.fwgprize svg,.fwgprize canvas{width:20px;height:20px}
.fwgrow{display:flex;justify-content:center}
.fwgpanel small.note{display:block;text-align:center;margin-top:-4px}

/* Egg Hunt */
.fwhuntgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;max-width:380px;margin:0 auto;width:100%}
.fwhcell{all:unset;box-sizing:border-box;aspect-ratio:1/1.05;border-radius:14px;display:flex;align-items:center;justify-content:center;cursor:pointer;background:linear-gradient(160deg,#e9cf7a,#c99b3f);box-shadow:inset 0 -4px 0 rgba(0,0,0,.15),0 3px 8px rgba(0,0,0,.18);transition:transform .2s}
.fwhcell:focus-visible{outline:3px solid var(--accent)}
.fwhcell i.straw{width:70%;height:55%;background:repeating-linear-gradient(115deg,rgba(255,244,200,.7) 0 3px,transparent 3px 7px),repeating-linear-gradient(65deg,rgba(150,100,30,.45) 0 2px,transparent 2px 6px);border-radius:40% 40% 30% 30%}
.fwhcell.up{background:linear-gradient(160deg,#fbf3dd,#e9d8ae);transform:rotateY(0)}
.fwhcell.done{background:linear-gradient(160deg,#e6f4dc,#bfe0a8);box-shadow:inset 0 0 0 2px #7cb55e}
.fwhcell .eggico{width:30px;height:auto;filter:drop-shadow(0 2px 2px rgba(0,0,0,.2))}
.fwhuntgrid.idle .fwhcell{cursor:default;opacity:.85}

/* Coop Run */
.fwrunwrap{display:flex;justify-content:center}
#fwruncv{border-radius:16px;touch-action:none;box-shadow:0 4px 14px rgba(0,0,0,.2);max-width:100%}

/* Crow-Off */
.fwcrowvs{display:grid;grid-template-columns:1fr auto 1fr;gap:6px;align-items:center;text-align:center}
.fwcrowvs>div{display:flex;flex-direction:column;align-items:center;gap:2px}
.fwcrowvs .birdart,.fwcrowvs img{width:110px!important;max-width:110px!important;height:auto}
.fwcrowvs .vs{font-weight:900;font-size:20px;opacity:.6}
.fwcrowpic.none{width:90px;height:90px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:40px;background:var(--surface)}
#fwcrowcv{display:block;max-width:100%}
.fwcrowrounds{display:flex;gap:6px;justify-content:center}
.fwcrowrounds span{min-width:42px;padding:4px 0;border-radius:10px;text-align:center;font-weight:800;background:rgba(127,127,127,.15)}
.fwcrowrounds span.w{background:rgba(76,175,80,.25)}
.fwcrowrounds span.l{background:rgba(229,83,75,.22)}
.fwcrowbtn{font-size:20px!important;min-height:58px}

/* Feather Solitaire */
.fwsolcols{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;align-items:start}
.fwsolcol{display:flex;flex-direction:column;align-items:center;min-height:70px}
.fwsolcol>*+*{margin-top:-38px}
.fwsolcol .pcard.sm{width:100%!important;max-width:52px;min-width:0}
.fwsolunder{width:100%;display:flex;justify-content:center;filter:brightness(.92)}
.fwsoltop{all:unset;box-sizing:border-box;width:100%;display:flex;justify-content:center;cursor:pointer;border-radius:8px}
.fwsoltop.ok .pcard{box-shadow:0 0 0 2px var(--accent),0 0 10px rgba(242,193,78,.6)}
.fwsoltop.nope{animation:fwnope .3s}
@keyframes fwnope{25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}
.fwsolempty{width:100%;max-width:52px;aspect-ratio:5/7;border:2px dashed var(--line);border-radius:8px;opacity:.5}
.fwsolbottom{display:flex;align-items:center;gap:14px;justify-content:center;margin-top:6px}
.fwsolstock{all:unset;box-sizing:border-box;position:relative;cursor:pointer;display:flex;align-items:center;justify-content:center;width:62px}
.fwsolstock[disabled]{cursor:default;opacity:.6}
.fwsolstock b{position:absolute;bottom:-8px;right:-6px;background:var(--accent);color:#2b2a3a;border-radius:10px;font-size:12px;padding:1px 6px}
.fwsolwaste .pcard.sm,.fwsolstock .pcard.sm{width:62px!important}
.pcard.back{background:repeating-linear-gradient(45deg,#3f6f8f 0 6px,#36607c 6px 12px)!important;border:3px solid #f3ead8!important;aspect-ratio:5/7}
.fwsolidle{display:flex;gap:8px;justify-content:center}
.fwsolidle .pcard.sm{width:54px!important}

/* Scratch Card */
.fwscard{max-width:330px;margin:0 auto;width:100%;border-radius:18px;padding:12px;background:linear-gradient(150deg,#f7d774,#e7a83a);box-shadow:0 8px 20px rgba(0,0,0,.25);color:#3a2a12}
.fwsctitle{font-weight:900;font-size:20px;text-align:center;margin-bottom:8px;letter-spacing:.02em}
.fwsctitle small{display:block;font-size:12px;font-weight:700;opacity:.75}
.fwscgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;user-select:none;-webkit-user-select:none}
.fwsccell{all:unset;box-sizing:border-box;position:relative;aspect-ratio:1/1;border-radius:12px;background:#fff8e6;display:flex;align-items:center;justify-content:center;overflow:hidden;cursor:pointer}
.fwsccell>i{position:absolute;inset:0;background:linear-gradient(135deg,#c9ccd3,#a8acb5 45%,#d7dae0 55%,#9fa3ad);transition:opacity .35s,transform .35s;border-radius:12px}
.fwsccell>i:after{content:'\2605';position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.55);font-size:22px}
.fwsccell.open>i{opacity:0;transform:scale(1.15)}
.fwsccell.hit{box-shadow:0 0 0 3px #d9534f inset}
.fwscsym{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:13px}
.fwscsym b{font-size:15px}
.fwscsym img,.fwscsym svg,.fwscsym canvas{width:26px;height:26px}
.fwscard.idle .fwsccell{cursor:default}
