/* Stable tray geometry: the heart is a separate accessible control, never a nested button. */
#tray .hold-toggle[hidden]{display:none}
#missions .mission .objective-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;gap:0}
#missions .mission.multi-color .objective-icon{width:50px;flex-wrap:wrap}
#missions .mission.multi-color .objective-icon .orb-art{position:static;width:26px;height:26px;margin:0 -2px}
#missions .objective-colors{display:block;font-size:10px;line-height:1.3;color:#fff1bc;font-weight:600;white-space:normal}
#missions .objective-colors:empty{display:none}
#tray .piece.hold-wait{opacity:.68}
.hold-wait-label{position:absolute;right:5px;top:5px;font-size:11px;line-height:1.3;border-radius:8px;padding:2px 5px;background:#272b46;color:#ffe3ad}
.hold-help-diagram{display:flex;align-items:center;justify-content:center;gap:15px;padding:16px;background:#26344999;border-radius:18px;color:#ffb4d7}
.hold-help-diagram span{display:flex;align-items:center;justify-content:center;min-width:40px;height:44px;font-size:24px}.hold-help-diagram .orb-art{width:40px;height:40px}.hold-help p{font-size:13px;line-height:1.65}
#share-dialog{border:1px solid #ffddbfbd;border-radius:30px;background:radial-gradient(ellipse at 0 0,#85f0e236,transparent 60%),radial-gradient(ellipse at 100% 100%,#ee84c038,transparent 60%),linear-gradient(145deg,#33465bf5,#353050fa);box-shadow:inset 0 0 0 4px #f4d9f112,0 18px 55px #100d2d80}
#share-dialog .retention-header{background:linear-gradient(110deg,#a6edea20,#e2a1d92b);border-bottom:1px solid #f8d7e73b;border-radius:28px 28px 0 0;color:#fff0b9}
#share-dialog .retention-heading-icon{background:url('art/loading-orb-5.svg') center/contain no-repeat;border:0;box-shadow:none}
#share-dialog .retention-heading-icon svg{visibility:hidden}
#share-dialog .retention-header button{background:linear-gradient(#f6d4e9,#bc8ab7);border:1px solid #ffe5f1;color:#49344f;box-shadow:0 3px 0 #805d87}
#share-dialog .share-card-preview{border:1px solid #ffe2beaa;border-radius:22px;box-shadow:0 0 0 5px #e8d5ee12,0 10px 28px #100d2d70}
#share-dialog #share-card-send{background:linear-gradient(#ffe4f1,#ee91c1 75%,#db75af);border:1px solid #fff2df;color:#48244f;box-shadow:inset 0 2px 0 #fff7,0 4px 0 #ad6393;border-radius:22px}
#tray .hand-slot{flex:1;min-width:0;position:relative;height:100%}
#tray .hand-slot .piece{width:100%;height:100%;padding:7px 4px 3px}
#tray .hold-toggle{position:absolute;top:-9px;left:-5px;width:36px;height:36px;display:grid;place-items:center;padding:7px;border:0;border-radius:50%;background:#26334deb;color:#c9d8ee;box-shadow:inset 0 0 0 1px #c5d9ff55;z-index:3;touch-action:manipulation}
.hold-toggle svg{width:21px;height:21px;fill:#26334d;stroke:currentColor;stroke-width:1.7}
#tray .hold-toggle[aria-pressed=true]{color:#ffe3ee;background:#a1396b;box-shadow:0 0 0 2px #ffd1e480}
.hold-toggle[aria-pressed=true] svg{fill:#ff83b6;stroke:#ffe2ed}
#tray .piece.held{border:2px solid #ff9fc7;background:#67355780;box-shadow:inset 0 -3px #ffaad888}
#tray .piece.held .mini{opacity:.85}
#burst{background:#202b49;color:#fff}
#burst #energy{background:linear-gradient(90deg,#007e91,#14bdc3 65%,#61e6cf);box-shadow:inset -3px 0 #bcfff0;opacity:1}
#burst>span{position:relative;text-shadow:0 1px 3px #10243d,0 0 6px #10243d}
#burst.ready{background:linear-gradient(120deg,#ffcd65,#ff9a8c,#f47dbe);color:#44203b;border:2px solid #ffe5a2;animation:blast-beacon 1.25s ease-in-out infinite}
#burst.ready #energy{background:linear-gradient(110deg,#ffc85f,#ff87b4);box-shadow:none}
#burst.ready>span{text-shadow:none}
#burst.ready:after{background:linear-gradient(90deg,transparent,#fff2ca99,transparent);animation:blast-shine 2s ease-in-out infinite}
#burst.active{animation:none;border-color:#fff1aa}
#energy-label{font-weight:900!important}
@keyframes blast-beacon{0%,100%{box-shadow:0 3px 0 #84354f,0 0 0 2px #ffd68699,0 0 12px #ffb26b66}50%{box-shadow:0 3px 0 #84354f,0 0 0 4px #ffd68622,0 0 23px #ffb26baa}}
.scene-paused #burst.ready,.scene-paused #burst.ready:after,.intro-open #burst.ready,.intro-open #burst.ready:after{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){#burst.ready,#burst.ready:after{animation:none}#burst.ready{outline:2px solid #ffd686;outline-offset:2px}}
