@layer runtime{.cinematic-sequence[data-presentation=storybook][data-monster-style=emerald][data-ink]{isolation:isolate;background:radial-gradient(at 76% 9%,#fffbd9 0,#0000 42%),linear-gradient(145deg,#e8f1df 0%,#d7e8d8 52%,#bfdbd0 100%)}.cinematic-sequence[data-presentation=storybook][data-monster-style=emerald][data-ink]:before{background:radial-gradient(#fffef1 0%,#f0f4df 72%,#deead1 100%);box-shadow:0 5px #b9cbaa,0 14px 22px #437a5824}.cinematic-emerald-atmosphere{z-index:0;pointer-events:none;position:absolute;inset:0;overflow:hidden}.cinematic-emerald-atmosphere:before{content:"";transform-origin:85% 0;background:linear-gradient(113deg,#0000 32%,#fff8c72e 34%,#fffbd449 40%,#0000 43% 52%,#fff8c728 54%,#0000 62%);animation:13s ease-in-out infinite alternate emerald-intro-light;position:absolute;inset:-30% 0 31% 37%}.cinematic-emerald-mote{left:var(--mote-x);top:var(--mote-y);opacity:.6;width:2px;height:2px;animation:11s ease-in-out infinite emerald-intro-mote;animation-delay:var(--mote-delay);background:#fffde4;position:absolute}.cinematic-sequence[data-presentation=storybook][data-monster-style=emerald][data-ink] .cinematic-image{z-index:1;animation:4.8s step-end infinite emerald-professor-idle}.cinematic-sequence[data-presentation=storybook][data-monster-style=emerald][data-ink] .cinematic-creature{z-index:1;animation:3.2s step-end infinite emerald-creature-idle}.cinematic-sequence[data-presentation=storybook][data-monster-style=emerald][data-ink] .cinematic-narration{z-index:2}@keyframes emerald-professor-idle{0%,75%,to{translate:0}42%,62%{translate:0 -2px}}@keyframes emerald-creature-idle{0%,70%,to{translate:0}35%,50%{translate:0 -2px}}@keyframes emerald-intro-light{0%{opacity:.55;rotate:-1deg}to{opacity:.85;rotate:2deg}}@keyframes emerald-intro-mote{0%,to{opacity:.15;translate:0}50%{opacity:.75;translate:5px -11px}}.cinematic-sequence[data-presentation=storybook][data-monster-style=emerald][data-ink][data-portrait-motion=ready] .cinematic-image{animation:none;translate:0}.cinematic-portrait-motion{image-rendering:pixelated;object-fit:contain}.cinematic-emerald-atmosphere[data-reduced-motion=true]:before,.cinematic-emerald-atmosphere[data-reduced-motion=true] .cinematic-emerald-mote{animation:none}@media (prefers-reduced-motion:reduce){.cinematic-sequence[data-presentation=storybook][data-monster-style=emerald][data-ink] .cinematic-image,.cinematic-sequence[data-presentation=storybook][data-monster-style=emerald][data-ink] .cinematic-creature,.cinematic-emerald-atmosphere:before,.cinematic-emerald-mote{animation:none}}.player-layout .play-viewport>.runtime-shop-overlay.emerald-shop-overlay,.runtime-shop-overlay.emerald-shop-overlay{min-width:0;min-height:0;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;color:#384840;z-index:75;--emerald-shop-scale:1;background:0 0;border:0;border-radius:0;margin:0;padding:0;animation:none;display:block;position:absolute;inset:50% auto auto 50%;overflow:hidden;transform:translate(-50%,-50%)}.emerald-shop-overlay .emerald-shop-shell{width:480px;height:320px;transform:scale(var(--emerald-shop-scale));transform-origin:0 0;font:400 16px/1.4 var(--runtime-pixel-font,"Galmuri9",sans-serif);color:#384840;text-shadow:none;margin:0;position:absolute;top:0;left:0}.emerald-shop-overlay .emerald-shop-shell[data-shop-mode=sell]:not([data-shop-phase=menu]){background:#83bba3}.emerald-shop-overlay .emerald-shop-shell[data-shop-mode=buy]:has(.emerald-shop-map-view[data-map-source=game-canvas-snapshot]){background:#83bba3}.emerald-shop-overlay .emerald-shop-window{box-sizing:border-box;background:#f8f8e8;border:4px solid #487068;border-radius:0;padding:8px 12px;position:absolute;overflow:hidden;box-shadow:inset 0 0 0 2px #a8c0a0,inset 0 0 0 4px #fff}.emerald-shop-overlay .emerald-shop-action{width:100%;min-width:0;height:32px;box-shadow:none;font:inherit;color:inherit;text-shadow:inherit;text-align:left;white-space:nowrap;background:0 0;border:0;border-radius:0;justify-content:space-between;align-items:center;margin:0;padding:2px 4px 2px 20px;line-height:1.2;display:flex;position:relative}.emerald-shop-overlay .emerald-shop-action.selected:before{content:"▶";color:#384840;text-shadow:none;font-size:12px;position:absolute;top:50%;left:0;transform:translateY(-50%)}.emerald-shop-overlay .emerald-shop-action:focus,.emerald-shop-overlay .emerald-shop-action:focus-visible{outline:none}.emerald-shop-overlay .emerald-shop-entry{width:160px;height:auto;padding:8px 12px;top:12px;left:24px}.emerald-shop-overlay .emerald-shop-money{justify-content:space-between;align-items:center;gap:8px;width:196px;height:48px;padding:6px 10px;display:flex;top:12px;left:12px}.emerald-shop-overlay .emerald-shop-money strong{font:inherit;font-variant-numeric:tabular-nums}.emerald-shop-overlay .emerald-shop-map-view{width:224px;height:144px;position:absolute;top:64px;left:0;overflow:hidden}.emerald-shop-overlay .emerald-shop-map-view canvas{width:224px;height:144px;image-rendering:pixelated;display:block}.emerald-shop-overlay .emerald-shop-goods{scrollbar-width:none;background:#f8f8e8;width:248px;height:288px;padding:12px 10px;top:24px;left:224px;overflow-y:auto}.emerald-shop-overlay .emerald-shop-goods::-webkit-scrollbar{display:none}.emerald-shop-overlay .emerald-shop-goods .emerald-shop-action{flex-shrink:0;gap:6px;height:32px;font-size:15px}.emerald-shop-overlay .emerald-shop-item-name{text-overflow:ellipsis;min-width:0;overflow:hidden}.emerald-shop-overlay .emerald-shop-item-price{font-variant-numeric:tabular-nums;flex-shrink:0}.emerald-shop-overlay .emerald-shop-description{white-space:pre-wrap;word-break:keep-all;overflow-wrap:anywhere;flex-direction:column;width:220px;height:108px;padding:10px 12px;font-size:15px;line-height:1.35;display:flex;top:208px;left:4px;overflow:hidden}.emerald-shop-overlay .emerald-shop-description-copy{scrollbar-width:none;flex:1;min-height:0;padding-right:8px;overflow-y:auto}.emerald-shop-overlay .emerald-shop-owned{color:#586068;flex:none;margin-top:6px;font-size:14px}.emerald-shop-overlay .emerald-shop-description-more{color:#d84038;font-size:11px;display:none;position:absolute;bottom:28px;right:10px}.emerald-shop-overlay .emerald-shop-description[data-overflow=true] .emerald-shop-description-more{display:block}.emerald-shop-overlay .emerald-shop-message{white-space:pre-wrap;word-break:keep-all;overflow-wrap:anywhere;z-index:3;width:448px;min-height:76px;max-height:92px;padding:12px 20px;line-height:1.45;bottom:8px;left:16px}.emerald-shop-overlay .emerald-shop-shell[data-shop-phase=menu] .emerald-shop-message{min-height:76px}.emerald-shop-overlay .emerald-shop-count-owned{width:196px;height:44px;top:174px;left:12px}.emerald-shop-overlay .emerald-shop-quantity{z-index:4;justify-content:space-between;align-items:center;gap:8px;width:174px;height:44px;padding:6px 10px;display:flex;top:174px;left:282px}.emerald-shop-overlay .emerald-shop-quantity:focus{outline:none}.emerald-shop-overlay .emerald-shop-quantity-count:before{content:"↕ ";color:#d84038}.emerald-shop-overlay .emerald-shop-confirmation{z-index:4;width:120px;height:80px;padding:6px 12px;top:138px;left:332px}.emerald-shop-overlay .emerald-shop-confirmation .emerald-shop-action{height:30px}.emerald-shop-overlay .emerald-shop-shell:not([data-shop-phase=items]) .emerald-shop-goods{height:64px;overflow:hidden}.emerald-shop-overlay .emerald-shop-shell:not([data-shop-phase=items]) .emerald-shop-goods .emerald-shop-action:not(.selected){display:none}.emerald-shop-overlay .emerald-shop-shell:not([data-shop-phase=items]) .emerald-shop-goods .selected:before{color:#909098}.emerald-shop-overlay .emerald-shop-advance{color:#d84038;z-index:5;font-size:12px;position:absolute;bottom:18px;right:34px}.emerald-shop-overlay .emerald-shop-bag{background:#e0e8d8;flex-direction:column;justify-content:center;align-items:center;gap:4px;width:220px;height:144px;display:flex;top:64px;left:4px}.emerald-shop-overlay .emerald-shop-bag strong{font:inherit}.emerald-shop-overlay .emerald-shop-bag .emerald-shop-bag-icon{width:40px;height:40px;image-rendering:pixelated;background-size:contain;flex:none}.emerald-shop-overlay .emerald-shop-bag .runtime-shop-item-icon-fallback{display:none}}
