/* Shared enchanted garden skin; game positions and controls remain unchanged. */
body{background:linear-gradient(#21132fc9,#21132fe8),url('../enchanted-garden.webp') center/cover fixed;color:#fff2e5}
.bar{max-width:1120px;padding:18px}
.chip,.pill{background:#35213fbb;backdrop-filter:blur(12px);border-color:#d4ad7655;box-shadow:0 4px 20px #160e2022}
main{max-width:1120px}
.scene{border:0;border-radius:48% 48% 12% 12% / 14% 14% 8% 8%;padding-top:36px;min-height:480px;background:linear-gradient(#21132f33,#21132f44),url('../enchanted-garden.webp') center/cover;box-shadow:0 0 60px #9b56a222}
.scene h1{color:#ffe9bd;text-shadow:0 3px 18px #21132f;font-style:italic}
.scene .tag,.stage-line{text-shadow:0 2px 8px #21132f;background:#21132f88;width:fit-content;margin:8px auto;padding:4px 16px;border-radius:50%}
.scene .hill{display:none}
.me svg{width:210px;filter:drop-shadow(0 0 16px #e1b4ed88)}
.cabinets{gap:24px;margin:32px 0}
.cab{position:relative;min-height:275px;padding:100px 28px 28px;text-align:center;align-items:center;border:0;border-radius:48% 52% 35% 38% / 38% 42% 20% 22%;background:linear-gradient(0deg,#2d1b39 5%,#2d1b39aa 55%,transparent),url('../butterfly-garden.webp') center top/cover;box-shadow:0 12px 35px #110c1a44}
.cab:nth-child(even){border-radius:52% 48% 35% 32% / 44% 45% 22% 22%;background-image:linear-gradient(0deg,#2d1b39 5%,#2d1b39aa 55%,transparent),url('../mushroom-garden.webp')}
.cab .ico{font-size:1.5rem}.cab h2{color:#ffe5af;font-size:1.45rem}.cab p{line-height:1.6}
.cab:hover:not(.locked){box-shadow:0 0 35px #c9a7ff44;transform:translateY(-6px)}
.panel{border:0;border-radius:45% 55% 40% 42% / 15% 15% 20% 20%;padding:28px;background:radial-gradient(ellipse,#55365ddd, #30203b88);text-align:center}
.tools{justify-content:center;margin:24px 0}
.btn{background:linear-gradient(135deg,#edd393,#eab9dc);box-shadow:0 4px 18px #160b2022}
.btn.ghost{background:#35213faa;border:1px solid #d8bf8b88}
.card,.mcard{border:1px solid #d4b57866;border-radius:36px 55px 40px 48px;background:linear-gradient(145deg,#48304fef,#21132ff5);box-shadow:0 20px 80px #08050dcc}
.opt{border-radius:50% 44% 46% 48% / 35%;border-width:1px}
.wardrobe .preview{background:radial-gradient(ellipse,#ad73c14d,transparent 70%);border-radius:50%}
.trophy{border-radius:40% 45% 30% 35%;border:0;background:radial-gradient(ellipse,#78538466,#35213f44);padding:20px 12px}
.frame{border-radius:46% 44% 25% 30% / 22%;border:1px solid #a9ba8566;padding:20px;background:#35213fbb}
.garden{border:0;border-radius:48% 48% 25% 25% / 8% 8% 12% 12%;background:linear-gradient(#21132f33,#21132f55),url('../enchanted-garden.webp') center/cover;box-shadow:0 10px 45px #0e081f55}
.garden::after{background:linear-gradient(transparent,#31412b99)}
.station{border:1px solid #d1b58688;border-radius:50% 50% 38% 38%;background:radial-gradient(ellipse,#51325bee,#2b1b37ee);padding:14px}
.player svg{width:86px}
.tile{border-radius:48% 45% 42% 38%;border-width:1px;background:radial-gradient(ellipse,#805782,#3d284d)}
#catchCanvas{background:linear-gradient(#38204c77,#38204c99),url('../enchanted-garden.webp') center/cover;border-radius:28px}
@media(max-width:520px){.scene{min-height:460px;background-position:65% center}.scene h1{font-size:2.1rem}.cab{min-height:250px}.cabinets{grid-template-columns:1fr}.card,.mcard{border-radius:28px;padding:16px}.station{padding:8px;min-width:88px}.player svg{width:72px}.panel{border-radius:32px}.card-head{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}


/* Consistent botanical artwork across the arcade and games. */
.woodland-icon{display:inline-block;width:64px;height:64px;background-image:url("woodland-clean.webp");background-size:400% 300%;background-repeat:no-repeat;vertical-align:middle}
.station .big{height:70px}.station{background:radial-gradient(ellipse,#302333df,#211829a8);border-color:#bdab8066;box-shadow:0 5px 22px #130d1e44}
.tile{background:radial-gradient(ellipse,#58415c,#2c2036);border-color:#bca77866;box-shadow:inset 0 0 20px #caaad011,0 5px 14px #100a1833}
.tile.up{background:radial-gradient(ellipse,#62516b,#392a43);border-color:#d3b988}
.tile.done{background:radial-gradient(ellipse,#4c604e,#293c33);border-color:#9bb28c}
.tile .woodland-icon{width:80%;height:80%}
.card-sigil{font:2rem Georgia,serif;color:#d6bd86}
.cake{height:180px;display:grid;place-items:center}.cake .woodland-icon{width:180px;height:180px}
#catchCanvas{background:linear-gradient(#21182c66,#21182cbb),url("../enchanted-garden.webp") center/cover}
.meter{background:#292230;border-color:#ab927466}.zone{background:#657c6088}.zone .core{background:#c7ad77bb}.marker{background:#dfcadf}
#stick{border:1px solid #c3ae7a88!important;background:#281c30aa!important;backdrop-filter:blur(10px)}
#knob{background:radial-gradient(circle at 35% 25%,#d1b3ce,#836385)!important;box-shadow:0 0 18px #b788c044}
#jump{background:radial-gradient(circle at 35% 25%,#d7c29b,#a78d62)!important;border:1px solid #e6d3ac!important;color:#281d30!important;font-family:Georgia,serif!important;font-weight:400!important;box-shadow:0 0 25px #d1b68033}
.hud .pill{font-weight:500;backdrop-filter:blur(14px);border-color:#c4a46d55}
.hud .pill b{color:#e3ca98}
@media(max-width:520px){.woodland-icon{width:48px;height:48px}.station .big{height:50px}.tile .woodland-icon{width:90%;height:90%}.cake .woodland-icon{width:150px;height:150px}}

/* Crystal Grove expansion */
.fairy-view {
  display: block;
  width: min(46vw, 220px);
  aspect-ratio: 1;
  background-size: 400% 200%;
  background-repeat: no-repeat;
}
.player .fairy-view { width: 90px; }
.fairy-wardrobe { grid-template-columns: minmax(115px, 180px) 1fr; align-items: center; }
.fairy-wardrobe .fairy-view { width: 100%; }
.fairy-look { color: var(--gold); }
.flutter-art { display: block; width: 44px; height: 44px; object-fit: contain; }
.frame .flutter-art { margin: auto; }
.bakery-board { text-align: center; }
.bakery-art .woodland-icon { width: 136px; height: 136px; }
.recipe-ticket { width: fit-content; margin: 10px auto; padding: 12px 20px; color: #f6e1be; background: #573e55; border-radius: 20px; }
.flight-canvas {
  display: block;
  width: 100%;
  border: 1px solid #b69a725f;
  border-radius: 24px;
  touch-action: none;
  background: radial-gradient(ellipse at 80% 22%, #6d55756b, transparent 55%), linear-gradient(#181427, #34233f);
}
.flight-steering button { min-width: 64px; }
@media (max-width: 520px) {
  .fairy-wardrobe { grid-template-columns: 1fr; }
  .player .fairy-view { width: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  .fly .flutter-art, .frame .flutter-art { visibility: hidden; }
  .fly, .frame:has(.flutter-art) .big {
    background: url("woodland-clean.webp") 0 50% / 400% 300% no-repeat;
  }
}

/* Petal Patisserie uses separate ingredient cutouts and plated order photos. */
.pastry-ingredient {
  display: block;
  aspect-ratio: 1;
  background: url("patisserie-ingredients.webp") var(--ingredient-x) var(--ingredient-y) / 300% 300% no-repeat;
}
.pastry-build, .pastry-empty {
  width: min(100%, 320px);
  height: 184px;
  margin: 0 auto;
  border-radius: 22px;
  background: radial-gradient(ellipse at 50% 72%, #70506760, transparent 68%);
}
.pastry-empty { display: grid; place-items: center; color: #e4d1df; }
.pastry-build { position: relative; overflow: hidden; }
.pastry-layer {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  filter: drop-shadow(0 5px 5px #150d1880);
}
.pastry-layer-0 { width: 77%; top: -18%; }
.pastry-layer-1 { width: 55%; top: -9%; }
.pastry-layer-2 { width: 32%; top: 6%; }
.pastry-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(5px, 2vw, 12px);
}
.pastry-option {
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 5px 5px 10px;
  border-radius: 18px;
  font-size: clamp(.74rem, 2.4vw, .95rem);
  text-align: center;
}
.pastry-thumbnail { width: min(100%, 78px); }
.pastry-finished {
  width: min(100%, 350px);
  aspect-ratio: 1;
  margin: 0 auto;
  border: 1px solid #b69a7266;
  border-radius: 22px;
  background: url("patisserie-finished.webp") var(--tart-position) 50% / 300% 100% no-repeat;
}

.flight-camera { display: flex; justify-content: flex-end; margin: 0 0 8px; }
.flight-camera .btn { font-size: .85rem; padding: 6px 12px; }
.flight-camera .btn[aria-pressed="true"] { background: #5a3d63; border-color: #e0c287; color: #fff0c5; }

/* Frosting Swirl */
.frost-cupcake{position:relative;width:176px;aspect-ratio:1;isolation:isolate}
.frost-cupcake img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.frost-finished{visibility:hidden}
.frost-piper{display:none;position:absolute;z-index:1;left:50%;top:50%;width:29px;height:58px;transform-origin:50% 100%;transform:translate(-50%,-100%) rotate(22deg);clip-path:polygon(4% 0,96% 0,61% 75%,56% 98%,44% 98%,39% 75%);background:linear-gradient(90deg,#715075,#e4c6ec 47%,#ab7ab6 75%,#674971 75%,#d5b477 90%)}
.is-piping .frost-finished{visibility:visible;animation:frost-reveal .85s ease-out both}
.is-piping .frost-piper{display:block;animation:frost-pipe .92s ease-in-out both}
@keyframes frost-reveal{0%{clip-path:inset(54% 0 0)}35%{clip-path:inset(37% 0 0)}70%{clip-path:inset(19% 0 0)}100%{clip-path:inset(0)}}
@keyframes frost-pipe{0%{top:54%;left:42%;opacity:0}12%{opacity:1}25%{top:45%;left:72%}43%{top:36%;left:34%}61%{top:26%;left:65%}79%{top:16%;left:49%;opacity:1}100%{top:0;left:65%;opacity:0}}
#fBtn[aria-disabled="true"],.equip-outfit:disabled{opacity:.65;cursor:default}
.fairy-wardrobe .outfit-title{margin-top:1rem}
.fairy-wardrobe .equip-outfit{margin-top:.15rem}
@media(max-width:520px){.frost-cupcake{width:150px}}
@media(prefers-reduced-motion:reduce){.is-piping .frost-finished{animation:none}.is-piping .frost-piper{display:none}}
.is-piping .frost-bare{animation:frost-hide-base .85s step-end both}
@keyframes frost-hide-base{to{visibility:hidden}}
@media(prefers-reduced-motion:reduce){.is-piping .frost-bare{animation:none;visibility:hidden}}
@media(max-width:520px){.fairy-wardrobe .preview{width:min(100%,160px);margin-inline:auto}}
