/* Native reference artwork remains the complete desktop layout. */
.peacock-choice-scene{box-sizing:border-box;position:relative;isolation:isolate;width:100%;height:100%;min-height:0;padding:0;overflow:hidden;container-type:inline-size;background:#122e20;font-family:var(--game-font);color:#ffe9ad}
.peacock-choice-scene *{box-sizing:border-box}
.peacock-choice-art{position:absolute;z-index:0;inset:0;width:100%;height:100%;object-fit:fill;pointer-events:none;user-select:none}
.peacock-choice-sr-only{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;margin:-1px!important;border:0!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}
.peacock-choice-mobile-scenery,.peacock-choice-mobile-title,.peacock-choice-mobile-stake-art,.peacock-choice-mobile-pedestal{display:none;pointer-events:none;user-select:none}
.peacock-choice-confetti{position:absolute;z-index:1;inset:0;width:100%;height:100%;pointer-events:none}
.peacock-choice-options{position:absolute;z-index:3;inset:0;pointer-events:none}
.peacock-choice-scene .peacock-choice-bird{all:unset;box-sizing:border-box;position:absolute;display:block;left:var(--peacock-left);top:var(--peacock-top);width:var(--peacock-width);height:var(--peacock-height);min-height:0;padding:0;margin:0;border:0;background:none;box-shadow:none;outline:none;transform:none;filter:none;opacity:1;cursor:pointer;pointer-events:auto;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.peacock-choice-scene .peacock-choice-bird::before,.peacock-choice-scene .peacock-choice-bird::after{content:none}
.peacock-choice-scene .peacock-choice-bird:not(:disabled):hover,.peacock-choice-scene .peacock-choice-bird:focus-visible,.peacock-choice-scene .peacock-choice-bird:disabled{background:none;box-shadow:none;transform:none;filter:none;opacity:1;outline:none}
.peacock-choice-scene .peacock-choice-bird:disabled{cursor:default}
.peacock-choice-sprite,.peacock-choice-flash{position:absolute;left:0;top:0;width:100%;height:56.842105%;object-fit:contain;object-position:center bottom;pointer-events:none;user-select:none}
.peacock-choice-sprite{filter:drop-shadow(0 .2cqw .15cqw #1428149c)}
.peacock-choice-flash{opacity:0;background:linear-gradient(125deg,#ffebac,#fff 48%,#ffedbd 74%,#e5a839);mask-image:var(--peacock-sprite);mask-size:contain;mask-position:center bottom;mask-repeat:no-repeat;-webkit-mask-image:var(--peacock-sprite);-webkit-mask-size:contain;-webkit-mask-position:center bottom;-webkit-mask-repeat:no-repeat}
.peacock-choice-bird.is-flashing .peacock-choice-flash{animation:peacock-choice-glint 220ms ease-out 1}
.peacock-choice-bird.is-highlighted .peacock-choice-sprite,.peacock-choice-bird:focus-visible .peacock-choice-sprite{filter:drop-shadow(0 0 .2cqw #fff5cf) drop-shadow(0 0 .65cqw var(--peacock-tone))}
.peacock-choice-bird:focus-visible .peacock-choice-flash{opacity:.12}
.peacock-choice-bird.is-selected .peacock-choice-sprite,.peacock-choice-bird.peacock-picked .peacock-choice-sprite{filter:drop-shadow(0 0 .3cqw #fff1a0) drop-shadow(0 0 1cqw var(--peacock-tone))}
.peacock-choice-committed .peacock-choice-bird:not(.is-selected):not(.peacock-picked){opacity:.64;filter:brightness(.72) saturate(.6)}
.peacock-choice-stake{position:absolute;z-index:4;left:var(--peacock-left);top:var(--peacock-top);width:var(--peacock-width);height:var(--peacock-height);margin:0;pointer-events:none}
.peacock-choice-stake-value{position:absolute;left:var(--peacock-left);top:var(--peacock-top);width:var(--peacock-width);height:var(--peacock-height);display:flex;align-items:center;justify-content:center;font-size:min(2.25cqw,calc(18cqw / var(--peacock-stake-length)));font-weight:400;line-height:1;white-space:nowrap;color:#fff0b7;text-shadow:0 .12cqw .08cqw #42280b,0 0 .3cqw #171609;font-variant-numeric:tabular-nums}
.peacock-choice-boost{position:absolute;top:110%;left:0;width:100%;text-align:center;white-space:nowrap;color:#fff0a7;font-size:1cqw;line-height:1.35;text-shadow:0 2px 3px #17200a}
.peacock-choice-reduced .peacock-choice-confetti{visibility:hidden}
.peacock-choice-reduced .peacock-choice-flash{animation:none!important;opacity:0}
.peacock-choice-reduced .peacock-choice-bird.is-highlighted .peacock-choice-flash,.peacock-choice-reduced .peacock-choice-bird:focus-visible .peacock-choice-flash{opacity:.12}
@keyframes peacock-choice-glint{0%{opacity:0}28%{opacity:.68}100%{opacity:0}}
@media(max-width:900px){
  #game.bonus-mode>#bonus-scene.peacock-choice-host{position:relative;inset:auto;width:100%;height:auto;min-height:100svh;margin:0;padding:0}
  #game.bonus-mode:has(>#bonus-scene.peacock-choice-host)>.topbar{position:absolute;inset:0 0 auto auto;width:max-content;height:44px;padding:8px 12px;background:none;border:0;box-shadow:none}
  .peacock-choice-scene{height:auto;min-height:100svh;display:flex;flex-direction:column;align-items:center;gap:0;padding:30px 12px max(20px,env(safe-area-inset-bottom));background:#183d2a}
  .peacock-choice-art{display:none}
  .peacock-choice-mobile-scenery{position:absolute;display:block;z-index:0;inset:0;width:100%;height:100%;opacity:.6}
  .peacock-choice-mobile-title{position:relative;display:block;z-index:2;width:min(100%,600px);height:auto;aspect-ratio:910/275;flex:none}
  .peacock-choice-scene .peacock-choice-instruction{position:relative!important;width:min(100%,400px)!important;height:auto!important;min-height:0!important;margin:5px 0 10px!important;padding:0 6px!important;clip-path:none!important;white-space:normal!important;overflow:visible!important;z-index:2;text-align:center;font-size:10px;line-height:1.5;text-shadow:0 2px 3px #092919}
  .peacock-choice-mobile-title{order:-2}
  .peacock-choice-instruction{order:-1}
  .peacock-choice-stake{position:relative;left:auto;top:auto;display:block;width:220px;height:auto;aspect-ratio:275/149;margin:2px 0 28px;flex:none}
  .peacock-choice-mobile-stake-art{display:block;position:absolute;inset:0;width:100%;height:100%}
  .peacock-choice-stake-value{font-size:min(27px,calc(230px / var(--peacock-stake-length)))}
  .peacock-choice-boost{top:103%;font-size:11px}
  .peacock-choice-options{position:relative;inset:auto;width:min(100%,620px);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 4px;align-items:start;flex:none}
  .peacock-choice-scene .peacock-choice-bird{position:relative;inset:auto;display:block;width:100%;height:auto;aspect-ratio:300/520;min-width:0}
  .peacock-choice-scene .peacock-choice-bird:last-child{grid-column:1/-1;width:calc((100% - 4px)/2);justify-self:center}
  .peacock-choice-mobile-pedestal{display:block;position:absolute;z-index:0;left:0;bottom:0;width:100%;height:53.846154%}
  .peacock-choice-sprite,.peacock-choice-flash{z-index:1;left:3.333333%;top:0;width:93.333333%;height:51.923077%}
  .peacock-choice-sprite{filter:drop-shadow(0 3px 3px #1428149c)}
  .peacock-choice-bird.is-highlighted .peacock-choice-sprite,.peacock-choice-bird:focus-visible .peacock-choice-sprite{filter:drop-shadow(0 0 2px #fff5cf) drop-shadow(0 0 7px var(--peacock-tone))}
}
#game.bonus-mode:has(>#bonus-scene.peacock-choice-host)>.topbar{background:none;border:0;box-shadow:none;z-index:30}
#game.bonus-mode:has(>#bonus-scene.peacock-choice-host) #dev-mode-indicator{display:none}
body:has(#game.bonus-mode>#bonus-scene.peacock-choice-host)>.dev-tools{display:none}

.peacock-choice-scene .peacock-choice-bird{transition:opacity 320ms ease,filter 320ms ease}
.peacock-choice-video-layer{left:0;top:0;width:100%;height:56.842105%;filter:drop-shadow(0 0 .4cqw #fff0a077)}
.peacock-choice-video-layer[hidden]{display:none}
.peacock-choice-bird.is-animating .peacock-choice-sprite,.peacock-choice-bird.is-animating .peacock-choice-flash{opacity:0}
@media(max-width:900px){.peacock-choice-video-layer{left:3.333333%;top:0;width:93.333333%;height:51.923077%}}
@media(prefers-reduced-motion:reduce){.peacock-choice-scene .peacock-choice-bird{transition:none}}

.peacock-choice-sprite{transition:opacity 200ms ease}
.peacock-choice-video-layer:not([hidden]){animation:peacock-action-appear 200ms ease both}
@keyframes peacock-action-appear{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.peacock-choice-sprite{transition:none}.peacock-choice-video-layer:not([hidden]){animation:none}}

/* Keep the selected full-size fan above neighboring birds and registered at the scene edges. */
.peacock-choice-scene .peacock-choice-bird.is-selected{z-index:4}
.peacock-choice-bird.is-animating .peacock-choice-sprite,.peacock-choice-bird.is-animating .peacock-choice-flash{transform:translateX(var(--peacock-action-inset,0px))}
