.party-stage [hidden], .pizza-kitchen [hidden] { display: none; }
.stage-show { position: relative; isolation: isolate; height: 172px; overflow: hidden; border: 2px solid #a072a3; background: radial-gradient(ellipse at 50% 58%,#61365e,#1c1739 75%); }
.stage-bulbs { position: absolute; display: flex; justify-content: space-around; inset: 0 0 auto; height: 19px; background: #342341; border-bottom: 2px solid #936082; z-index: 5; }
.stage-bulbs i { align-self: center; width: 5px; height: 5px; background: #ffdd8c; box-shadow: 0 0 7px #ffd873; animation: party-bulb 2.8s ease-in-out infinite alternate; }
.stage-bulbs i:nth-child(3n) { animation-delay: -.8s; background: #ce9cfa; }
.stage-bulbs i:nth-child(3n + 1) { animation-delay: -1.8s; }
.stage-curtain { position: absolute; top: 18px; bottom: 13px; width: 23%; background: repeating-linear-gradient(90deg,#69365f 0 8px,#91456d 8px 14px,#753558 14px 20px); box-shadow: 0 6px #c79168; z-index: 4; }
.stage-curtain-left { left: 0; clip-path: polygon(0 0,100% 0,72% 18%,37% 50%,44% 100%,0 100%); }
.stage-curtain-right { right: 0; clip-path: polygon(0 0,100% 0,100% 100%,56% 100%,63% 50%,28% 18%); }
.stage-beam { position: absolute; top: 18px; width: 48%; height: 145px; opacity: .17; background: linear-gradient(#f9d68e88,#f9d68e); clip-path: polygon(48% 0,52% 0,100% 100%,0 100%); transform-origin: 50% 0; animation: stage-sweep 6s ease-in-out infinite alternate; }
.beam-left { left: 2%; transform: rotate(-13deg); }
.beam-right { right: 2%; animation-delay: -3s; background: linear-gradient(#74e6db88,#74e6db); }
.stage-floor { position: absolute; inset: auto 0 0; height: 20px; background: repeating-linear-gradient(90deg,#a86d72 0 40px,#8a5867 40px 42px); box-shadow: 0 -4px #c18c84; }
.stage-stars { position: absolute; left: 28%; top: 34px; width: 44%; text-align: center; color: #ffe6a6; font: 900 28px/1 monospace; letter-spacing: 4px; text-shadow: 0 0 15px #ffe38a6b; animation: star-drift 4s ease-in-out infinite alternate; }
.party-balloons { position: absolute; bottom: 20px; left: 18%; width: 62px; height: 100px; animation: balloon-breeze 3.7s ease-in-out infinite alternate; transform-origin: bottom center; }
.party-balloons i { position: absolute; top: 22px; width: 28px; height: 37px; border-radius: 48%; background: radial-gradient(circle at 30% 28%,#c8fff1 0 4px,#70d3c6 5px 18px,#47a6b6); box-shadow: inset -4px -3px #28779166; }
.party-balloons i::after { content: ''; position: absolute; top: 36px; left: 13px; width: 1px; height: 48px; background: #d9b5b0; }
.party-balloons i:nth-child(2) { left: 21px; top: 4px; background: radial-gradient(circle at 30% 28%,#fff0c1 0 4px,#f1bd73 5px 18px,#b87c6d); }
.party-balloons i:nth-child(3) { left: 34px; top: 30px; background: radial-gradient(circle at 30% 28%,#f7d6ff 0 4px,#b87dc6 5px 18px,#7a5c9c); }
.stage-microphone { position: absolute; bottom: 20px; left: calc(63% - 2px); width: 4px; height: 63px; background: #ad9dab; transform: rotate(6deg); }
.stage-microphone::before { content: ''; position: absolute; top: -12px; left: -4px; width: 13px; height: 23px; border: 2px solid #c2becb; border-radius: 6px; background: repeating-linear-gradient(#514a66 0 2px,#312c49 2px 4px); transform: rotate(25deg); }
.stage-microphone::after { content: ''; position: absolute; bottom: 0; left: -14px; width: 32px; height: 4px; background: #9f8fa3; }
.party-stage[data-lights="estrellas"] .stage-show { background: radial-gradient(ellipse at 50% 60%,#3b507b,#141832 75%); }
.party-stage[data-lights="estrellas"] .stage-beam { background: linear-gradient(#b7c6f588,#badcfb); }
.stage-light-controls { display: flex; flex-wrap: wrap; gap: 5px; margin: 8px 0 10px; }
.stage-light-controls .action { font-size: .8rem; }
.stage-light-controls .action[aria-pressed="true"] { background: #4c3d5c; border-color: #e8bc7b; color: #ffe3aa; }
.stage-confetti { position: absolute; z-index: 6; inset: 0; overflow: hidden; pointer-events: none; }
.stage-confetti i { position: absolute; top: -15px; left: calc(var(--piece) * 4.6%); width: 6px; height: 10px; background: var(--confetti-color); opacity: 0; }
.party-stage[data-celebration="a"] .stage-confetti i { animation: party-confetti 1.8s calc(var(--piece) * .017s) ease-out both; }
.party-stage[data-celebration="b"] .stage-confetti i { animation: party-confetti-repeat 1.8s calc(var(--piece) * .017s) ease-out both; }
.birthday-cake { position: relative; height: 130px; margin: 8px 0; background: radial-gradient(ellipse at 50% 78%,#70405c,#34243f 73%); }
.cake-layers { position: absolute; bottom: 11px; left: 17%; width: 66%; height: 54px; border-radius: 4px 4px 30% 30%; background: repeating-linear-gradient(#eea3aa 0 14px,#9f597d 14px 19px); box-shadow: 0 5px #d7b2b6,0 8px #886b8f; }
.cake-layers::before { content: ''; position: absolute; top: -8px; left: 0; right: 0; height: 18px; border-radius: 50%; background: #ffd3b5; box-shadow: inset 0 -3px #e59d9d; }
.cake-layers i { position: absolute; width: 5px; height: 12px; background: #ffcbb7; border-radius: 0 0 3px 3px; top: 4px; left: 15%; }
.cake-layers i:nth-child(2) { left: 46%; height: 17px; }.cake-layers i:nth-child(3) { left: 78%; height: 9px; }
.cake-candles { position: absolute; bottom: 61px; left: 0; right: 0; display: flex; justify-content: center; }
.birthday-cake .stage-candle { position: relative; width: 44px; min-height: 55px; padding: 0; }
.birthday-cake .stage-candle span::before { animation: candle-flicker 1.25s ease-in-out infinite alternate; transform-origin: bottom; }
.birthday-cake .stage-candle:nth-child(2) span::before { animation-delay: -.7s; }
.candle-smoke { position: absolute; left: calc(50% - 2px); top: 8px; width: 4px; height: 13px; background: #d6cbd3; opacity: 0; border-radius: 50%; }
.stage-candle[data-out] .candle-smoke { animation: candle-smoke 1.1s ease-out both; }
.birthday-present { position: relative; height: 130px; margin: 8px 0; background: radial-gradient(ellipse at 50% 78%,#70405c,#34243f 73%); perspective: 300px; }
.gift-box { position: absolute; bottom: 12px; left: 25%; width: 50%; height: 59px; background: linear-gradient(90deg,#9d63b6 0 17%,#b578c4 17% 85%,#805296 85%); box-shadow: 0 5px #1b172e; border: 2px solid #da9bcf; }
.gift-lid { position: absolute; bottom: 70px; left: 23%; width: 54%; height: 14px; background: #d195cf; box-shadow: inset 0 -4px #89508f; transform-origin: 15% 80%; transition: transform .65s cubic-bezier(.2,.7,.2,1); }
.gift-lid i { position: absolute; left: calc(50% - 20px); top: -16px; width: 21px; height: 19px; border: 5px solid #f5ca7b; border-radius: 70% 20%; transform: rotate(18deg); }
.gift-lid i + i { left: calc(50% - 1px); transform: scaleX(-1) rotate(18deg); }
.gift-ribbon-top { position: absolute; bottom: 12px; left: calc(50% - 7px); width: 14px; height: 72px; background: #f0bd6e; transition: transform .4s ease,opacity .4s ease; }
.gift-ribbon-side { position: absolute; bottom: 31px; left: 25%; width: 50%; height: 11px; background: #f8d48b; transition: transform .4s ease,opacity .4s ease; }
.birthday-present[data-top-removed] .gift-ribbon-top { transform: translateY(-48px) rotate(23deg); opacity: 0; }
.birthday-present[data-side-removed] .gift-ribbon-side { transform: translateX(55px) rotate(-15deg); opacity: 0; }
.birthday-present[data-top-removed] .gift-lid i { opacity: 0; }
.birthday-present[data-open] .gift-lid { transform: translate(-9px,-34px) rotate(-20deg); }
.gift-surprise { position: absolute; bottom: 36px; left: calc(50% - 18px); font-size: 36px; color: #ffe596; opacity: 0; transition: transform .65s ease,opacity .3s ease; }
.gift-light { position: absolute; bottom: 12px; left: 15%; width: 70%; height: 110px; background: radial-gradient(ellipse at 50% 95%,#ffd59188,transparent 70%); opacity: 0; transition: opacity .5s ease; }
.birthday-present[data-open] .gift-surprise { opacity: 1; transform: translateY(-42px); }.birthday-present[data-open] .gift-light { opacity: 1; }
.gift-controls { display: flex; flex-wrap: wrap; gap: 5px; }.gift-controls .action { font-size: .78rem; }.gift-controls [data-removed] { opacity: .6; text-decoration: line-through; }
.party-stage .stage-task > [role="status"] { font-size: .83rem; color: #ffe2ab; }

.pizza-kitchen { border: 1px solid #926780; background: #2b203d; }
.kitchen-scene { position: relative; min-height: 224px; background: linear-gradient(#4f334d 0 72%,#a17367 72% 77%,#684b55 77%); overflow: hidden; }
.kitchen-tiles { position: absolute; inset: 0 0 27%; background: repeating-linear-gradient(0deg,transparent 0 27px,#76515f 27px 29px),repeating-linear-gradient(90deg,#4c344d 0 27px,#76515f 27px 29px); }
.kitchen-tiles span { position: absolute; top: 14px; left: 14px; padding: 6px 10px; border: 2px solid #e5b37d; background: #322442; color: #ffe3a7; font: 800 .75rem/1.2 var(--mono); letter-spacing: .08em; }
.kitchen-tiles i { position: absolute; top: 0; right: 17%; width: 3px; height: 35px; background: #af8d8c; }.kitchen-tiles i::after { content: ''; position: absolute; top: 32px; left: -8px; width: 19px; height: 24px; border: 3px solid #c5a4a0; border-radius: 50%; background: #3d2c43; }.kitchen-tiles i + i { right: 26%; height: 27px; }
.pizza-worktop { position: absolute; width: 48%; left: 1%; bottom: 16px; height: 162px; }
.pizza-worktop .pizza-plate { position: absolute; inset: 0; display: grid; place-items: center; background: none; min-height: 0; box-shadow: none; z-index: 2; }
.pizza-worktop .pizza-plate::after { display: none; }
.pizza-worktop .pizza-plate svg { width: min(100%,180px); transition: opacity .3s ease,transform .6s ease; }
.pizza-board-edge { position: absolute; bottom: 20px; left: 3%; width: 94%; height: 72px; border: 3px solid #bc8b62; background: repeating-linear-gradient(90deg,#936843 0 12px,#9e7451 12px 14px); border-radius: 50%; box-shadow: 0 5px #6e4a3e; transform: rotate(-5deg); }
.pizza-steam { position: absolute; top: -4px; left: 20%; width: 60%; height: 65px; z-index: 3; opacity: 0; pointer-events: none; }
.pizza-steam i { position: absolute; left: 18%; bottom: 0; width: 4px; height: 28px; border-radius: 50%; background: #f4e7d59e; animation: food-steam 2.2s ease-out infinite; }.pizza-steam i:nth-child(2) { left: 51%; animation-delay: -.8s; }.pizza-steam i:nth-child(3) { left: 78%; animation-delay: -1.4s; }
.pizza-oven { position: absolute; right: 4%; bottom: 22px; width: 44%; height: 143px; border: 3px solid #bd8793; background: #493449; box-shadow: 5px 5px #322537; }
.oven-controls { display: flex; gap: 9px; align-items: center; height: 28px; padding: 4px 10px; background: #b87c84; border-bottom: 3px solid #724655; }.oven-controls i { width: 13px; height: 13px; border-radius: 50%; border: 3px solid #624253; background: #eed0b0; }.oven-controls span { margin-left: auto; width: 20px; height: 5px; background: #4a384b; }
.oven-cavity { position: absolute; inset: 34px 8px 10px; background: #23192b; overflow: hidden; perspective: 200px; }.oven-cavity::after { content: ''; position: absolute; bottom: 12px; left: 4px; right: 4px; height: 3px; background: #bc9f94; }
.oven-door { position: absolute; inset: 0; background: #775663; border: 4px solid #a07b82; transform-origin: bottom; transition: transform .5s ease; z-index: 3; }.oven-door::before { content: ''; position: absolute; inset: 12px 10px 8px; border: 2px solid #8c6b75; background: #16121b88; }.oven-door b { position: absolute; top: 2px; left: 15%; width: 70%; height: 5px; background: #dfb8a2; }
.oven-pizza { position: absolute; width: 80%; left: 10%; bottom: 5px; opacity: 0; }.oven-pizza svg { display: block; width: 100%; height: 72px; transform: scaleY(.56); }
.oven-flame { position: absolute; inset: auto 6px 8px; height: 65px; background: radial-gradient(ellipse at 50% 100%,#ffc66e88,#e7774e33 50%,transparent 72%); opacity: 0; }
.oven-feet { position: absolute; inset: auto 0 -10px; display: flex; justify-content: space-between; padding: 0 12px; }.oven-feet i { width: 14px; height: 8px; background: #292030; }
.pizza-kitchen[data-phase="baking"] .pizza-worktop .pizza-plate svg { transform: translateX(90%) scale(.45); opacity: 0; }
.pizza-kitchen:is([data-phase="baking"],[data-phase="ready"]) .oven-pizza { opacity: 1; }
.pizza-kitchen[data-phase="baking"] .oven-flame { opacity: 1; animation: oven-heat 1.6s ease-in-out infinite alternate; }
.pizza-kitchen[data-phase="baking"] .oven-controls span { background: #ffb774; box-shadow: 0 0 7px #ffb774; }
.pizza-kitchen:is([data-phase="ready"],[data-phase="served"]) .oven-door { transform: rotateX(-75deg); }
.pizza-kitchen[data-phase="ready"] .pizza-worktop .pizza-plate svg { opacity: 0; transform: translateX(90%) scale(.45); }
.pizza-kitchen[data-phase="served"] .pizza-steam { opacity: 1; }.pizza-kitchen[data-phase="served"] .pizza-plate svg { animation: serve-pizza .7s ease-out both; }
.kitchen-order { padding: 14px; }.kitchen-order .eyebrow { margin-bottom: 5px; color: #ebbd8a; }.kitchen-order h3 { margin: 0 0 7px; font: 900 1.18rem var(--mono); color: #ffe2a6; }.kitchen-order p { font-size: .86rem; color: #e4cde0; }
.topping-tray .action { display: flex; align-items: center; gap: 6px; }.topping-swatch { display: inline-block; width: 13px; height: 13px; background: var(--ingredient); border: 2px solid #f5dcac77; border-radius: 50%; }
.baking-meter { margin: 10px 0; color: #ffddaa; font-size: .85rem; }.baking-meter label { display: flex; justify-content: space-between; gap: 10px; }.baking-meter progress { width: 100%; height: 12px; accent-color: #eeb875; }
.kitchen-mode{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}
.kitchen-mode .action{flex:1;min-width:120px;font-size:.8rem}
.kitchen-mode [aria-pressed=true]{border-color:#f2ce8f;background:#674650;color:#ffe9b7;box-shadow:inset 0 -3px #cc976c}
.kitchen-ticket{padding:14px;background:repeating-linear-gradient(#f5e2b9 0 24px,#d8c8a2 24px 25px);color:#463147;border:1px solid #dfbb8f;border-bottom:5px dotted #6c4a54;margin:12px 0;box-shadow:3px 4px #1d162c}
.kitchen-ticket-top{display:flex;justify-content:space-between;gap:7px;flex-wrap:wrap;font:800 .85rem var(--mono)}
.kitchen-ticket p{color:#4d3546;font-size:.95rem;font-weight:700;margin:10px 0}.kitchen-ticket small{font-size:.75rem;line-height:1.4;display:block;margin-top:7px}
.kitchen-stamps{display:flex;gap:9px;margin:8px 0}.kitchen-stamps span{border:1px dashed #9f7d77;padding:4px 9px;font:800 .8rem var(--mono)}.kitchen-stamps .stamped{border:2px solid #427a67;color:#2b6d51;transform:rotate(-4deg)}
.oven-meter-track{position:relative;height:22px;margin-top:5px;display:flex;align-items:center}.oven-meter-track progress{height:16px;margin:0}.oven-meter-track span{position:absolute;left:68%;width:22%;top:0;bottom:0;border:2px solid #b6e3aa;background:#a3d19722;pointer-events:none}
.baking-meter [data-oven-hint]{font-size:.77rem;color:#f5dfb2;line-height:1.45;margin:6px 0}.pizza-quality{font:800 .78rem var(--mono);color:#c8e3bb!important;min-height:1em}.pizza-quality:empty{display:none}
.pizza-kitchen[data-bake-paused] .oven-flame{animation-play-state:paused}

.booth-viewfinder { overflow: hidden; }.booth-viewfinder::after { content: ''; position: absolute; inset: 0; background: #fff2d8; pointer-events: none; opacity: 0; z-index: 4; }
.booth-room[data-flash="a"] .booth-viewfinder::after { animation: booth-flash .5s ease-out both; }.booth-room[data-flash="b"] .booth-viewfinder::after { animation: booth-flash-repeat .5s ease-out both; }
.booth-viewfinder::before { content: ''; position: absolute; inset: 0; border: 8px solid transparent; border-left-color: #694374; border-right-color: #694374; pointer-events: none; z-index: 2; }
.booth-filter-label { display: grid; gap: 4px; margin-bottom: 8px; color: #efd1e1; font-size: .82rem; }.booth-filter-label select { width: 100%; min-height: 44px; border: 1px solid #9778a3; color: #fff1d1; background: #221931; padding: 5px 8px; }
.booth-print { position: relative; overflow: hidden; }.booth-print::before { content: ''; display: block; height: 9px; background: #171220; border: 2px solid #9f7992; border-bottom-color: #4b3854; margin: -2px -2px 6px; position: relative; z-index: 3; }
.booth-room[data-print="a"] .booth-print canvas { animation: booth-print 1.1s ease-out both; }.booth-room[data-print="b"] .booth-print canvas { animation: booth-print-repeat 1.1s ease-out both; }
.booth-header .arcade-object { animation: camera-idle 4.5s ease-in-out infinite; transform-origin: 50% 80%; }

@keyframes party-bulb { from { opacity: .55; box-shadow: 0 0 3px #ffd873; } to { opacity: 1; box-shadow: 0 0 9px #ffd873; } }
@keyframes stage-sweep { from { transform: rotate(-14deg); } to { transform: rotate(15deg); } }
@keyframes balloon-breeze { from { transform: rotate(-3deg) translateY(0); } to { transform: rotate(3deg) translateY(-3px); } }
@keyframes star-drift { from { opacity: .65; transform: translateY(0); } to { opacity: 1; transform: translateY(-3px); } }
@keyframes party-confetti { 0% { transform: translate(0,-5px) rotate(0); opacity: 0; } 8% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translate(13px,205px) rotate(410deg); opacity: 0; } }
@keyframes party-confetti-repeat { 0% { transform: translate(0,-5px) rotate(0); opacity: 0; } 8% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translate(13px,205px) rotate(410deg); opacity: 0; } }
@keyframes candle-flicker { from { transform: scaleX(.88) rotate(-4deg); opacity: .8; } to { transform: scaleX(1.05) rotate(5deg); opacity: 1; } }
@keyframes candle-smoke { from { transform: translateY(0) scaleX(.7); opacity: .6; } to { transform: translate(6px,-20px) scaleX(1.8); opacity: 0; } }
@keyframes food-steam { from { transform: translateY(10px) scaleX(.7); opacity: 0; } 30% { opacity: .5; } to { transform: translate(8px,-25px) scaleX(1.8); opacity: 0; } }
@keyframes oven-heat { from { opacity: .65; transform: scaleY(.8); } to { opacity: 1; transform: scaleY(1.1); } }
@keyframes serve-pizza { from { transform: translateX(75%) scale(.5); opacity: .35; } to { transform: none; opacity: 1; } }
@keyframes booth-flash { from { opacity: .7; } to { opacity: 0; } }@keyframes booth-flash-repeat { from { opacity: .7; } to { opacity: 0; } }
@keyframes booth-print { from { transform: translateY(-70%); opacity: .25; } to { transform: none; opacity: 1; } }@keyframes booth-print-repeat { from { transform: translateY(-70%); opacity: .25; } to { transform: none; opacity: 1; } }
@keyframes camera-idle { 0%,70%,100% { transform: rotate(0); } 78% { transform: rotate(-3deg); } 87% { transform: rotate(3deg); } }
@media (max-width: 380px) { .stage-show { height: 145px; }.kitchen-scene { min-height: 202px; }.pizza-worktop { width: 49%; bottom: 12px; }.pizza-oven { right: 3%; width: 45%; height: 124px; }.kitchen-tiles span { top: 10px; left: 8px; padding: 5px 6px; font-size: .66rem; }.kitchen-tiles i { display: none; }.kitchen-order { padding: 10px; } }
@media (prefers-reduced-motion: reduce) { .party-stage[data-celebration] .stage-show { box-shadow: inset 0 0 35px #fbd08844; } }
.reduce-motion .party-stage[data-celebration] .stage-show { box-shadow: inset 0 0 35px #fbd08844; }
.party-stage .stage-show{height:230px}
.party-stage .stage-stars{top:26px;font-size:20px}
.party-stage .party-balloons{left:10%}.party-stage .stage-microphone{left:80%}
.stage-frog{position:absolute;width:185px;height:185px;left:calc(50% - 92px);bottom:13px;background-image:url('ranita-bateria.webp');background-size:300% 200%;background-position:0 0;z-index:3;image-rendering:pixelated;filter:drop-shadow(0 4px 3px #120d29aa)}
.party-stage:not([data-beat]) .stage-frog{animation:band-blink 5.5s steps(1) infinite}
.stage-band{padding:12px;border:1px solid #8b6a85;background:#30223e;margin:9px 0}
.stage-band>p{font-size:.82rem;color:#e7d3e5;line-height:1.4;margin:0 0 9px}.band-pads{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:9px}
.band-pads .action{padding:9px 4px;min-height:54px;font-size:.8rem;box-shadow:0 4px #170f28;border-color:#bb849b;background:#71475d;color:#ffdfaa}
.band-pads [data-drum=snare]{background:#465c6d;border-color:#8fced3}.band-pads [data-drum=hat]{background:#766044;border-color:#efcc8c}
.party-stage[data-beat=kick] [data-drum=kick],.party-stage[data-beat=snare] [data-drum=snare],.party-stage[data-beat=hat] [data-drum=hat]{transform:translateY(3px);box-shadow:0 1px #170f28;filter:brightness(1.25)}
.party-stage[data-beat] .stage-show{box-shadow:inset 0 0 32px #c1ebba27}
.stage-band .band-feedback{font-size:.76rem;min-height:1.5em;margin:10px 0 0;color:#e9ca97}
@keyframes band-blink{0%,91%,98%,100%{background-position:0 0}94%,97%{background-position:50% 100%}}
@media(max-width:380px){.party-stage .stage-show{height:210px}.stage-frog{width:165px;height:165px;left:calc(50% - 82px)}.band-pads .action{font-size:.7rem}}
.stage-composer{margin:18px 0;border:1px solid #8c70a5;border-radius:12px;background:#20172f;overflow:hidden}.stage-composer>summary{padding:16px;min-height:48px;cursor:pointer;color:#ffe1a0;font-weight:700}.stage-composer>section{padding:0 16px 18px}.rhythm-presets,.rhythm-controls{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.rhythm-presets button,.rhythm-controls button{min-height:44px;padding:10px 14px;border:1px solid #9c7eb4;border-radius:8px;background:#372646;color:#fff1dc;cursor:pointer}.rhythm-controls button[aria-pressed=true]{background:#664377;border-color:#f5d174}.rhythm-scroll{overflow-x:auto;overscroll-behavior-x:contain;padding:8px 2px 14px}.rhythm-grid{display:grid;grid-template-columns:76px repeat(8,minmax(44px,1fr));gap:7px;min-width:485px;align-items:center}.rhythm-number{color:#c6bad3;text-align:center;font-size:13px}.rhythm-grid>b{font-size:13px;color:#ead5f4}.rhythm-grid button{width:100%;min-width:44px;height:48px;border:2px solid #78648e;border-radius:8px;background:#30283d;cursor:pointer;display:grid;place-items:center}.rhythm-grid button>span{width:10px;height:10px;border-radius:50%;background:#6f607c}.rhythm-grid button[aria-pressed=true]{background:#4e3c6c;border-color:#c8a5ee}.rhythm-grid button[aria-pressed=true]>span{background:#e5bcff;box-shadow:0 0 8px #e5bcff77}.rhythm-grid button.is-current{border-color:#ffe07e;outline:2px solid #b88836;outline-offset:1px}.rhythm-grid button.is-current[aria-pressed=true]{background:#79602e}.rhythm-grid button.is-current[aria-pressed=true]>span{background:#fff2b1}.rhythm-tempo{display:grid;grid-template-columns:1fr auto;gap:12px;max-width:440px;margin:12px 0;font-size:14px}.rhythm-tempo input{grid-column:1/-1;width:100%;min-height:44px;accent-color:#d2acf0}.rhythm-tempo output{color:#ffdfa0}
.pizza-party{grid-column:1/-1;margin:20px 0 0;padding:20px;border:1px solid #b28b8a;border-radius:15px;background:#322035}.pizza-party h3{color:#ffe1a4;margin:5px 0}.pizza-party p{line-height:1.6}.pizza-party-layout{display:grid;grid-template-columns:minmax(220px,1fr) minmax(200px,1.2fr);gap:25px;align-items:center}.party-pizza-board{position:relative;width:min(100%,300px);aspect-ratio:1;margin:15px auto;background:#291b2d;border-radius:50%;border:9px solid #b27a58;box-shadow:0 10px 0 #1c1426}.party-pizza-slice{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;clip-path:polygon(50% 50%,100% 21.13%,100% 78.87%);transform:rotate(calc(var(--slice)*60deg));background:none;cursor:grab;touch-action:none}.party-pizza-slice>svg{width:100%;height:100%;transform:rotate(calc(var(--slice)*-60deg));pointer-events:none}.party-pizza-slice:disabled{visibility:hidden}.party-pizza-slice:hover,.party-pizza-slice:focus-visible{filter:brightness(1.25) drop-shadow(0 0 5px #fff1b8);outline:none}.party-plates{display:grid;gap:12px}.party-place{display:flex;gap:12px;align-items:center;padding:10px;border:1px solid #8f6c86;border-radius:14px;background:#251a30}.party-plate-choice{display:grid;gap:7px;min-width:100px;min-height:70px;padding:10px;border:1px solid #aa82a6;border-radius:10px;background:#42304b;color:#ffebd0;cursor:pointer}.party-plate-choice[aria-pressed=true]{background:#66505e;border-color:#ffe196}.party-plate-choice span{font-size:12px}.party-plate-dish{display:flex;justify-content:center;align-items:center;gap:5px;flex:1;min-height:77px;border-radius:50%;border:4px solid #d3b5ad;background:#ead5c5}.party-served-slice{width:60px;height:60px;padding:0;border:0;background:none;cursor:pointer;position:relative;overflow:hidden}.party-served-slice>span{position:absolute;inset:0;clip-path:polygon(50% 50%,100% 21.13%,100% 78.87%);transform:rotate(-30deg) scale(2) translate(-10%,0)}.party-served-slice svg{width:100%;height:100%;transform:rotate(calc(var(--slice)*-60deg))}.party-empty-plate{color:#b88977}.pizza-party-feedback{min-height:3em;color:#f2cd97}.party-slice-ghost{position:fixed;z-index:10000;width:150px;height:150px;pointer-events:none;transform:translate(-50%,-50%);clip-path:polygon(50% 50%,100% 21.13%,100% 78.87%);filter:drop-shadow(0 8px 10px #1b112d88)}.party-slice-ghost svg{width:100%;height:100%;transform:rotate(calc(var(--slice)*-60deg))}.party-dragging .party-place{border-color:#ffe196}@media(max-width:650px){.pizza-party{padding:16px 12px}.pizza-party-layout{grid-template-columns:1fr;gap:8px}.party-pizza-board{max-width:260px}.party-plate-choice{min-height:60px}.party-plate-dish{min-height:66px}}
