.walk-card{min-width:0;margin:22px 0;padding:24px;border:1px solid #d9d2c0;border-radius:30px;background:linear-gradient(160deg,#fffcf4ee,#f3efdfe8);box-shadow:0 15px 45px #7d6f4a12}
.walk-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.walk-heading h2{font:clamp(24px,3vw,32px)/1.2 Georgia,serif;margin:5px 0;color:#5a4a3a}.walk-heading .eyebrow{font-size:10px;color:#8a6d4c;margin-bottom:0}
.walk-steps{white-space:nowrap;background:#f0e2c8;color:#6a5236;font-size:13px;padding:6px 14px;border-radius:20px}
.walk-picker{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.walk-pick{display:flex;align-items:center;gap:8px;padding:6px 14px 6px 8px;min-height:44px;border-radius:24px;border:1px solid #d9cdb4;background:#fffaf0;color:#5a4a3a;font-size:14px;text-align:left}.walk-pick img,.walk-pick .monster-art{width:38px;height:38px;object-fit:contain}.walk-pick>span{display:flex;flex-direction:column;line-height:1.25}.walk-pick-note{font-size:11px;color:#8a6d4c}.walk-pick[aria-pressed=true]{background:#e6d8b8;border-color:#b79b6a;box-shadow:inset 0 0 0 1px #b79b6a}
.walk-stage{position:relative;max-width:360px;margin:0 auto}
.walk-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:5px;padding:8px;border-radius:22px;background:linear-gradient(#dcd4b8,#cfc6a5);border:1px solid #bfb494}
.walk-tile{position:relative;aspect-ratio:1;min-height:0;padding:0;margin:0;border-radius:12px;border:1px solid #b8ad8a;background:radial-gradient(circle at 40% 35%,#ece6cf,#cfc7a6 80%);box-shadow:inset 0 -3px 0 #b3a883;display:grid;place-items:center;transition:transform .35s ease,background .35s ease}
.walk-tile:enabled{cursor:pointer;background:radial-gradient(circle at 40% 35%,#fff8df,#e6dcb7 80%);box-shadow:inset 0 -3px 0 #c9b98a,0 0 0 2px #f6ecc7}.walk-tile:enabled:hover{transform:translateY(-2px)}
.walk-tile:disabled{cursor:default;opacity:1}
/* Tiles the monster can step onto wear a wiggling gold ring, so the next move reads at a glance on every biome.
   The ring is a pseudo-element: the per-biome tile colours below can't paint over it, and the button itself
   holds still, so the wiggle never moves the target out from under a finger. */
.walk-tile.is-open:after{content:'';position:absolute;inset:-4px;border-radius:15px;border:2px solid #f6c65e;box-shadow:0 0 0 1px #4a3c2a55,0 0 10px #f6c65e70;pointer-events:none;animation:walk-nudge 1.9s ease-in-out infinite;animation-delay:var(--nudge-delay,0ms)}
.walk-tile.is-revealed{background:radial-gradient(circle at 50% 40%,#d5e6b6,#b9d29a 80%);border-color:#96b07a;box-shadow:inset 0 -3px 0 #8fa96f;animation:walk-flip .45s ease-out both}
.walk-tile.is-revealed img{width:72%;height:72%;object-fit:contain;filter:drop-shadow(0 3px 2px #4c5b3230)}
.walk-tile.is-found img{animation:walk-pop .8s cubic-bezier(.2,1.4,.5,1) both}
.walk-tile.is-monster{box-shadow:inset 0 0 0 3px #f5dc9a,inset 0 -3px 0 #8fa96f}
.walk-biome{margin:0 0 10px}
.walk-monster{position:absolute;width:20%;height:20%;display:block;padding:2px;pointer-events:none;left:40%;top:40%;transform:translate(0,-12%) scale(1.15);transform-origin:50% 90%;transition:left .45s cubic-bezier(.3,.9,.4,1.1),top .45s cubic-bezier(.3,.9,.4,1.1);animation:walk-idle 5s ease-in-out infinite;will-change:transform}
/* A soft ground ellipse stands in for a drop-shadow filter, which repainted every hop. */
.walk-monster:before{content:'';position:absolute;left:20%;right:20%;bottom:0;height:16%;border-radius:50%;background:radial-gradient(closest-side,#3f4a2a45,#3f4a2a00)}
.walk-monster .monster-art{position:relative;width:100%;height:100%;display:block}.walk-monster.is-hopping{animation:walk-hop .45s ease-out both}.walk-monster.is-happy{animation:walk-happy .7s ease-out both}
.walk-find{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:3;display:flex;flex-direction:column;align-items:center;gap:4px;padding:16px 22px 14px;border-radius:22px;background:#fffaf0f2;border:2px solid #f0c86e;box-shadow:0 18px 40px #5a4a3a40;text-align:center;color:#5a4a3a;cursor:pointer;min-width:190px}.walk-find img{width:72px;height:72px;object-fit:contain}.walk-find strong{font:22px/1.2 Georgia,serif;color:#b64f43}.walk-find span:last-child{font-size:13px;color:#76637f}.walk-find-sparkle{position:absolute;top:-14px;right:-8px;font-size:30px;color:#f0b64e}.walk-find.is-showing{animation:walk-find-pop .55s cubic-bezier(.2,1.4,.5,1) both}.walk-find.is-showing .walk-find-sparkle{animation:walk-sparkle 1.2s ease-in-out infinite}
@keyframes walk-find-pop{0%{transform:translate(-50%,-30%) scale(.4);opacity:0}100%{transform:translate(-50%,-50%) scale(1);opacity:1}}@keyframes walk-sparkle{0%,100%{transform:scale(1) rotate(0)}50%{transform:scale(1.4) rotate(20deg)}}
.walk-caption{margin:14px 0 4px;min-height:24px;color:#5a4a3a}.walk-caption button{margin-left:4px}
.walk-reset{margin:0}
.walk-done{display:flex;gap:12px;align-items:center;max-width:360px;margin:0 auto 12px;padding:12px 16px;border-radius:18px;background:linear-gradient(135deg,#e9e4f6,#dfe8f6);border:1px solid #cbc3e4;color:#4a4270}.walk-done-icon{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:50%;background:#fffaf0cc;font-size:22px;color:#7a6bb5}.walk-done-text{display:flex;flex-direction:column;gap:2px;min-width:0}.walk-done-title{font:18px/1.25 Georgia,serif}.walk-done .small{margin:0}.walk-done .walk-reset{color:#6a6290}
.walk-steps.is-out{background:#e3def3;color:#4f4580;font-weight:600}
.walk-grid .walk-tile.is-missed{opacity:.55;filter:saturate(.55);border-style:dashed;animation:walk-flip .45s ease-out both}
.walk-grid .walk-tile.is-missed img{width:62%;height:62%;object-fit:contain}
.walk-grid .walk-tile.is-missed.has-treasure{opacity:.85;filter:none;box-shadow:inset 0 0 0 2px #a99ce0}
.walk-basket{margin-top:18px;padding-top:14px;border-top:1px dashed #cdbf9d}.walk-basket h3{font-size:20px;margin-bottom:8px;color:#5a4a3a}
.walk-basket-hint{margin:0 0 12px}
.walk-items{list-style:none;padding:0;margin:0;display:grid;gap:8px}.walk-items li{display:grid;grid-template-columns:44px 1fr auto;align-items:center;gap:12px;padding:10px 12px;border-radius:16px;background:#fffaf0cc}.walk-items li img{width:44px;height:44px;object-fit:contain}.walk-item-text{display:flex;flex-direction:column;gap:2px;min-width:0}.walk-item-name{font-weight:600;color:#5a4a3a}.walk-item-count{color:#8a6d4c;font-size:13px;font-weight:400}.walk-items li .small{margin:0;line-height:1.4}.walk-items li button{justify-self:end;white-space:nowrap}
.walk-feed{display:grid;gap:10px;margin-top:6px}.walk-feed-item{display:grid;grid-template-columns:52px 1fr;gap:12px;align-items:center;padding:10px 12px;border-radius:16px;background:#f4ead4}.walk-feed-item img{width:52px;height:52px;object-fit:contain}.walk-feed-item>span{display:flex;flex-direction:column;gap:3px}.walk-feed-result{margin:0;padding:10px 12px;border-radius:14px;background:#e6f0d4;color:#475e43;font-weight:600}.walk-feed-title{margin:0;font-weight:600;color:#5a4a3a}.walk-feed .small{margin:0}.walk-feed-row{display:grid;grid-template-columns:44px 1fr auto;gap:10px;align-items:center;padding:8px 10px;border-radius:14px;background:#fffaf0aa}.walk-feed-row>span{display:flex;flex-direction:column;gap:3px;min-width:0}.walk-feed-bar{display:block;height:8px;border-radius:6px;background:#e3d5b8;overflow:hidden}.walk-feed-bar span{display:block;width:100%;height:100%;border-radius:6px;background:linear-gradient(90deg,#e8705f,#f0a45b);transform-origin:left center;transition:transform .9s cubic-bezier(.3,1.4,.5,1)}.walk-feed-row img,.walk-feed-row .monster-art{width:44px;height:44px;object-fit:contain}.walk-feed-row .small{margin:0}
.level-bar{position:relative;display:grid;gap:4px;margin:6px 0}.level-bar .walk-feed-bar{height:14px;border-radius:9px;background:#e7e1f1;box-shadow:inset 0 1px 2px #6a5a8a26}.level-bar .walk-feed-bar span{background:linear-gradient(90deg,#b49ad8,#8fa9df)}.level-bar-label{margin:0;color:#5f5080;font-weight:600;font-variant-numeric:tabular-nums}.level-bar.is-full .walk-feed-bar span{background:linear-gradient(90deg,#9f8fdc,#9cc4ea,#9f8fdc);background-size:200% 100%;animation:level-shimmer 2.4s linear infinite}.level-bar.is-gaining .walk-feed-bar{animation:level-glow 1.1s ease-out}.level-bar-gain{position:absolute;right:4px;top:-6px;padding:1px 8px;border-radius:10px;background:#8d7cc8;color:#fffaf0;font-weight:700;font-size:13px;pointer-events:none;animation:level-gain 1.6s ease-out forwards}.level-gain-pill{background:#e6e3f6;color:#584a8c;font-weight:700;white-space:nowrap}
@keyframes level-gain{0%{transform:translateY(8px) scale(.6);opacity:0}20%{transform:translateY(-4px) scale(1.2);opacity:1}70%{transform:translateY(-10px);opacity:1}100%{transform:translateY(-18px);opacity:0}}
@keyframes level-glow{0%,100%{box-shadow:inset 0 1px 2px #6a5a8a26}40%{box-shadow:inset 0 1px 2px #6a5a8a26,0 0 0 5px #a99ce055}}
@keyframes level-shimmer{to{background-position:-200% 0}}
.gift-tag{display:flex;align-items:center;gap:10px;margin:10px 0;padding:8px 12px;border-radius:16px;background:#f4ead4;color:#5a4a3a;font-size:14px}.gift-tag img{width:36px;height:36px;object-fit:contain}
.gift-controls{margin:4px 0 18px}.gift-controls .field-label{margin-bottom:8px}
.gift-tray{display:flex;gap:10px;overflow-x:auto;padding:4px 2px 10px;margin:0 0 4px;scrollbar-width:thin}
.gift-tile{flex:0 0 auto;display:grid;justify-items:center;gap:2px;width:96px;min-height:104px;padding:10px 6px;border:1px solid #e3d5bd;border-radius:18px;background:#fffaf0;color:#5a4a3a;font-size:13px;line-height:1.2;touch-action:none;user-select:none;-webkit-user-select:none;cursor:grab;transition:transform .15s,background .15s,opacity .15s}
.gift-tile:hover{transform:translateY(-2px)}.gift-tile:active{cursor:grabbing}
.gift-tile img{width:44px;height:44px;object-fit:contain;pointer-events:none}
.gift-tile[aria-pressed=true]{border:2px solid #c9a86a;background:#f4ead4;padding:9px 5px}
.gift-count{color:#8a7560;font-size:12px}
.gift-tile.gift-used{opacity:.55;cursor:pointer}.gift-tile.gift-used:hover{transform:none}
.gift-ghost{position:fixed;left:0;top:0;z-index:20;pointer-events:none;will-change:transform}
.gift-ghost img{display:block;width:56px;height:56px;margin:-28px 0 0 -28px;object-fit:contain;filter:drop-shadow(0 6px 10px #6a4a3a40);transform:rotate(-8deg) scale(1.1)}
.gift-ghost.gift-return{transition:transform .25s ease-in,opacity .25s;opacity:0}
.paper.gift-drop-ready{outline:3px dashed #c9a86a;outline-offset:4px;box-shadow:0 0 0 8px #f4ead480,0 8px 24px #b4a0dc18}
.paper-gift{position:relative;z-index:1}.paper-gift:empty{display:none}
.paper-gift .gift-tag{width:fit-content;max-width:100%;margin:4px 0 0}
.gift-remove{border:0;background:transparent;color:#7a6250;font-size:20px;line-height:1;min-width:32px;min-height:32px;border-radius:50%;margin-left:2px}.gift-remove:hover{background:#e9dcc2}
.gift-pop{animation:gift-pop .35s ease-out}
@keyframes gift-pop{0%{transform:scale(.6);opacity:0}60%{transform:scale(1.08);opacity:1}100%{transform:scale(1)}}
@keyframes walk-idle{0%,100%{transform:translate(0,-12%) scale(1.15)}50%{transform:translate(0,-16%) scale(1.15)}}
@keyframes walk-hop{0%{transform:translate(0,-12%) scale(1.15)}45%{transform:translate(0,-42%) scale(1.2,1.08)}75%{transform:translate(0,-8%) scale(1.22,1.02)}100%{transform:translate(0,-12%) scale(1.15)}}
@keyframes walk-happy{0%,100%{transform:translate(0,-12%) scale(1.15)}30%{transform:translate(0,-30%) scale(1.25,1.05) rotate(-6deg)}60%{transform:translate(0,-26%) scale(1.25,1.05) rotate(6deg)}}
@keyframes walk-flip{0%{transform:rotateY(90deg);opacity:.4}100%{transform:rotateY(0);opacity:1}}
@keyframes walk-nudge{0%,100%{transform:rotate(0) scale(1)}25%{transform:rotate(-3.5deg) scale(1.04)}60%{transform:rotate(3.5deg) scale(1.04)}}
@keyframes walk-pop{0%{transform:scale(.2) translateY(30%);opacity:0}60%{transform:scale(1.35) translateY(-10%);opacity:1}100%{transform:scale(1) translateY(0)}}
@media(max-width:760px){.walk-card{padding:18px}.walk-heading{flex-direction:column;align-items:flex-start}.walk-items li{grid-template-columns:40px 1fr;gap:6px 12px}.walk-items li img{grid-row:span 2}.walk-items li button,.walk-items li .pill{grid-column:2;justify-self:start;margin-top:2px}.walk-feed-row{grid-template-columns:40px 1fr}.walk-feed-row button{grid-column:2;justify-self:start}}
@media(prefers-reduced-motion:reduce){.walk-monster,.walk-monster.is-hopping,.walk-monster.is-happy,.walk-tile.is-revealed,.walk-tile.is-missed,.walk-tile.is-open:after,.walk-tile.is-found img,.walk-find.is-showing,.walk-find.is-showing .walk-find-sparkle,.walk-feed-bar span,.level-bar .walk-feed-bar,.level-bar-gain{animation:none!important;transition:none!important}.level-bar-gain{opacity:1;transform:none}}
[data-message-effects=off] .walk-monster,[data-message-effects=off] .walk-tile.is-revealed,[data-message-effects=off] .walk-tile.is-open:after,[data-message-effects=off] .walk-tile.is-found img{animation:none!important}
/* Without the wiggle the ring carries the whole hint, so it gets thicker and brighter. */
@media(prefers-reduced-motion:reduce){.walk-tile.is-open:after{inset:-5px;border-radius:16px;border-width:3px;box-shadow:0 0 0 1px #4a3c2a88,0 0 12px #f6c65e88}}
[data-message-effects=off] .walk-tile.is-open:after{inset:-5px;border-radius:16px;border-width:3px;box-shadow:0 0 0 1px #4a3c2a88,0 0 12px #f6c65e88}

.walk-stage[data-biome=forest] .walk-grid{background:linear-gradient(#b7c7a0,#93aa7f);border-color:#7f9469}.walk-stage[data-biome=forest] .walk-tile{background:radial-gradient(circle at 40% 35%,#cfd9b8,#a9ba92 80%);border-color:#8fa377;box-shadow:inset 0 -3px 0 #8a9d73}.walk-stage[data-biome=forest] .walk-tile:enabled{background:radial-gradient(circle at 40% 35%,#eaf1d6,#c6d5ad 80%);box-shadow:inset 0 -3px 0 #9fb386,0 0 0 2px #e3ecce}.walk-stage[data-biome=forest] .walk-tile.is-revealed{background:radial-gradient(circle at 50% 40%,#a9c48f,#7fa16a 80%);border-color:#67875a;box-shadow:inset 0 -3px 0 #62804f}
.walk-stage[data-biome=ember] .walk-grid{background:linear-gradient(#8a7470,#6b5754);border-color:#57453f}.walk-stage[data-biome=ember] .walk-tile{background:radial-gradient(circle at 40% 35%,#a08d86,#7d6a65 80%);border-color:#6a5652;box-shadow:inset 0 -3px 0 #5c4a46}.walk-stage[data-biome=ember] .walk-tile:enabled{background:radial-gradient(circle at 40% 35%,#e2b892,#c08f6b 80%);box-shadow:inset 0 -3px 0 #a3714f,0 0 0 2px #f2c9a2}.walk-stage[data-biome=ember] .walk-tile.is-revealed{background:radial-gradient(circle at 50% 40%,#c9a28c,#a67c66 80%);border-color:#8a614e;box-shadow:inset 0 -3px 0 #7d5645}
