/* The selected miniature garden is the visual ground; the ponies remain live 3D. */
.pony-case{--pony-ink:#193f31;--pony-muted:#787b72;--pony-paper:#faf7f0;--pony-line:#dcd8ce;background:#eee6da;color:var(--pony-ink);font-family:Inter,"PingFang SC","Microsoft Yahei",sans-serif}
.pony-layout{height:max(680px,100svh);position:relative;isolation:isolate;overflow:hidden;--pony-x:0px;--pony-y:0px}
.pony-stage{position:absolute;inset:0;touch-action:pan-y pinch-zoom;overflow:hidden;background:#344530}
.pony-backdrop{position:absolute;inset:-8px;display:block;pointer-events:none;transform:translate3d(var(--pony-x),var(--pony-y),0);will-change:transform}
.pony-backdrop img{display:block;width:100%;height:100%;object-fit:cover;user-select:none}
.pony-stage canvas{position:absolute;inset:0;display:block;width:100%;height:100%;opacity:0;transition:opacity .35s}
.pony-stage[data-ready=true] canvas{opacity:1}
.pony-speech{position:absolute;left:0;top:0;z-index:2;width:max-content;max-width:min(176px,calc(100% - 20px));pointer-events:none;will-change:transform;font:600 12px/1.5 Inter,"PingFang SC","Microsoft Yahei",sans-serif;text-align:center}
.pony-speech-copy{position:relative;display:block;padding:8px 12px;border:1px solid #fff6daaa;border-radius:13px;background:var(--speech-coat);color:var(--speech-ink);box-shadow:0 3px 10px #152c3540;text-shadow:none;overflow-wrap:anywhere}
.pony-speech-copy::before{content:"";position:absolute;top:100%;left:var(--speech-tail,50%);width:2px;height:var(--speech-stem,0px);transform:translateX(-50%);background:var(--speech-coat)}
.pony-speech-copy::after{content:"";position:absolute;top:calc(100% + var(--speech-stem,0px));left:var(--speech-tail,50%);transform:translateX(-50%);border:6px solid transparent;border-top-color:var(--speech-coat)}
@media(max-width:759px){.pony-speech{max-width:138px;font-size:11px}.pony-speech-copy{padding:6px 9px;border-radius:11px}}
.pony-stage-label{position:absolute;left:22px;bottom:58px;font-size:10px;background:#faf7f0e8;padding:7px 10px;border-radius:6px}
.pony-hud{position:absolute;inset:16px 38px auto 42px;display:flex;align-items:center;justify-content:space-between;pointer-events:none;z-index:5}
.pony-brand b{display:block;font:900 30px/1.35 Inter,Arial,sans-serif;letter-spacing:0;color:#fff9e9;text-shadow:0 1px 3px #102817,0 0 8px #102817b3;transform:skewX(-12deg) scaleX(1.09);transform-origin:left center}
.pony-brand b span{font:400 23px/1 Inter,Arial,sans-serif;padding:0 10px;display:inline-block;transform:translateY(-2px)}
.pony-hud-controls{display:flex;align-items:center;gap:31px;pointer-events:auto}
.pony-language{display:flex;align-items:center;gap:13px;min-height:44px;border:0;background:none;font-size:18px;color:#fff9e9;text-shadow:0 1px 3px #102817,0 0 8px #102817;padding:0;cursor:pointer}
.pony-language i{font-style:normal;font-size:15px;opacity:.65}.pony-language [data-active]{font-weight:500}
.pony-panel{position:absolute;left:var(--pony-form-x,50%);top:var(--pony-form-y,45.8%);transform:translate(-50%,-50%);width:316px;z-index:4}
.pony-content{background:transparent;border:0;padding:24px 25px 12px;box-shadow:none;color:#fff9e9;text-shadow:0 1px 2px #102817,0 0 1px #102817}
.pony-content h3{font:700 22px/1.25 Inter,"PingFang SC","Microsoft Yahei",sans-serif;text-align:center;margin:0;color:#fff9e9}
.pony-tabs{display:flex;border-bottom:1px solid #fff4d86e;margin:16px 0 13px;gap:0}
.pony-tabs button{flex:1;min-height:34px;padding:4px 0 9px;border:0;border-bottom:2px solid transparent;background:none;font-family:inherit;font-size:12px;line-height:1.2;font-weight:500;white-space:nowrap;color:#f3efdc;text-shadow:inherit;cursor:pointer}
.pony-tabs button[aria-selected=true]{color:#fffbee;border-bottom-color:#fff2c8;font-weight:700}
.pony-form fieldset{border:0;margin:0;padding:0;min-width:0}
.pony-field{margin-top:17px}.pony-field:first-of-type{margin-top:0}
.pony-field label{display:block;font-size:12px;font-weight:550;line-height:1.2;margin-bottom:7px;color:#fff8e3}
.pony-input{display:flex;align-items:center;position:relative;height:36px;border:1px solid #fff3d3a6;border-radius:7px;background:#102f21a3;transition:border-color .2s,box-shadow .2s}
.pony-input:focus-within{border-color:#fff4cf;box-shadow:0 0 0 3px #fff2c82b}
.pony-input:has([aria-invalid=true]){border-color:#ffb69b}
.pony-input input{width:100%;min-width:0;height:100%;border:0;outline:0;background:transparent;color:#fffbea;padding:0 11px;font-size:13px;border-radius:7px;line-height:normal}
.pony-input input::placeholder{color:#dce4cf;font-size:12px}
.pony-eye{display:grid;place-items:center;flex:none;width:38px;height:35px;padding:8px;border:0;background:none;color:#f5f3dc;cursor:pointer}
.pony-eye svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7}
.pony-eye[aria-pressed=true] .pony-slash{display:none}
.pony-code-send{flex:none;margin-right:5px;border:0;border-left:1px solid #fff3d37a;background:transparent;font-size:9px;min-height:30px;padding:0 8px;color:#fff2ce;cursor:pointer}
.pony-code-send:disabled{color:#bdcdb6;cursor:default}
.pony-error{color:#fff4df;background:#642619e0;padding:4px 7px;border-radius:4px;text-shadow:none;font-size:10px;line-height:1.5;margin-top:6px!important}
.pony-options{display:flex;justify-content:flex-end;min-height:26px;align-items:center}
.pony-text-button{border:0;padding:4px 0;background:none;font-size:10px;font-weight:500;min-height:26px;color:#fff3d4;text-shadow:inherit;cursor:pointer}
.pony-submit{margin-top:4px;height:37px;width:100%;border:1px solid #fff8e6;border-radius:8px;background:#fff3d2;color:#173b28;text-shadow:none;display:flex;align-items:center;justify-content:center;gap:18px;font-size:12px;line-height:1;font-weight:700;cursor:pointer;transition:background .2s}
.pony-submit:hover:not(:disabled){background:#fffbee}.pony-submit:disabled{opacity:.65;cursor:default}
.pony-submit .pony-sprint-icon{width:34px;height:24px;flex:none;fill:currentColor;transition:transform .25s ease}
.pony-sprint-trail{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}.pony-sprint-eye{fill:#fff3d2}
.pony-submit:hover:not(:disabled) .pony-sprint-icon{transform:translateX(3px)}
.pony-logo-trigger{position:absolute;z-index:3;transform:translate(-50%,-50%);min-width:44px;min-height:44px;padding:0;border:0;border-radius:18px;background:transparent;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.pony-logo-trigger:focus-visible{outline:1px dashed #fff2c899!important;outline-offset:2px}
.pony-feedback{font-size:10px;line-height:1.6;min-height:0;color:#fff5db}.pony-feedback:not(:empty){margin-top:8px;padding:6px 8px;border-radius:4px;background:#163e2cdb;text-shadow:none}.pony-feedback[data-error=true]{background:#642619e0}
.pony-case .pony-content :focus-visible{outline-color:#fff0ba}
.pony-bottom{position:absolute;inset:auto 26px 13px;display:flex;justify-content:center;align-items:center;min-height:36px;pointer-events:none;color:#fff8e3;text-shadow:0 1px 3px #102817}
.pony-bottom p{font-size:12px;letter-spacing:.02em}.pony-return{position:absolute;left:0;font-size:10px;pointer-events:auto;min-height:40px;display:flex;align-items:center;color:#fff8e3}
.pony-exhibits{position:absolute;inset:0;pointer-events:none;transform:translate3d(var(--pony-x),var(--pony-y),0)}
.pony-machine{position:absolute;transform:translate(-50%,-50%);width:120px;height:140px;border:0;background:transparent;pointer-events:auto;display:flex;align-items:flex-end;justify-content:center;padding:0 0 5px;border-radius:16px;cursor:pointer}
.pony-machine span{opacity:0;transform:translateY(4px);transition:opacity .15s,transform .15s;white-space:nowrap;background:#f8f6edeF;border:1px solid #d3d7c7;border-radius:5px;box-shadow:0 2px 8px #243d2d24;padding:5px 7px;font-size:9px;letter-spacing:.015em;color:#305440}
.pony-machine:hover span,.pony-machine:focus-visible span{opacity:1;transform:translateY(0)}
.pony-case [hidden]{display:none!important}.pony-case :focus-visible{outline:2px solid #427756;outline-offset:4px}.pony-case input:focus-visible{outline:0}
.pony-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.pony-nojs{padding:10px;color:#815643;font-size:11px}
.pony-footer{background:#e8e1d4;color:#38543f}.pony-footer p,.pony-footer a{font-size:10px;color:#657462}
@media(min-width:760px) and (max-width:1399px){
.pony-content{padding:16px 20px 8px}.pony-content h3{font-size:16px;line-height:1.3}.pony-content h3 br{display:none}
.pony-tabs{margin:8px 0}.pony-tabs button{min-height:30px;font-size:10px;padding-bottom:7px}
.pony-field{margin-top:10px}.pony-field label{font-size:10px;margin-bottom:5px}.pony-input{height:31px}.pony-eye{height:30px}
.pony-options{min-height:22px}.pony-text-button{min-height:22px}.pony-submit{height:34px}
}
@media(max-width:759px){
.pony-layout{height:max(820px,100svh);min-height:820px}
.pony-hud{inset:13px 15px auto 18px}.pony-brand b{font-size:19px}.pony-brand b span{font-size:14px;padding:0 5px}
.pony-hud-controls{gap:10px}.pony-language{font-size:12px;gap:7px}.pony-language i{font-size:10px}
.pony-panel{width:min(240px,62vw)}.pony-content{padding:15px 15px 3px}.pony-content h3{font-size:18px;line-height:1.35}
.pony-tabs{margin:10px 0 8px}.pony-tabs button{font-size:10px;min-height:38px;padding-bottom:8px}.pony-input{height:44px}.pony-input input{font-size:16px}.pony-input input::placeholder{font-size:10px}.pony-eye{width:40px;height:42px}.pony-field{margin-top:13px}.pony-field label{font-size:11px;margin-bottom:6px}
.pony-code-send{padding:0 5px;font-size:9px;min-height:40px}.pony-options{min-height:26px}.pony-text-button{font-size:10px;min-height:26px}.pony-submit{height:44px;font-size:12px}.pony-feedback{font-size:10px}
.pony-bottom{inset:auto 15px 4px;min-height:30px}.pony-bottom p{font-size:8px}.pony-return{display:none}.pony-stage-label{bottom:32px;left:13px;font-size:9px}.pony-machine{border-radius:8px}.pony-machine span{font-size:7px;padding:3px 4px}
.pony-footer p{display:none}
}
@media(max-width:360px){.pony-layout{height:max(780px,100svh);min-height:780px}.pony-content{padding:14px 12px 3px}.pony-content h3{font-size:17px}.pony-tabs{margin:10px 0}.pony-tabs button{font-size:9px}.pony-field{margin-top:10px}.pony-code-send{font-size:8px;padding:0 4px}}
@media(prefers-reduced-motion:reduce){.pony-stage canvas,.pony-machine span,.pony-submit,.pony-submit .pony-sprint-icon{transition:none}.pony-backdrop,.pony-exhibits,.pony-submit:hover:not(:disabled) .pony-sprint-icon{transform:none}}

/* The inspection layer is attached to the viewport, never to a machine's coordinates. */
.pony-inspector{position:fixed;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:min(1000px,calc(100vw - 36px));height:min(650px,calc(100dvh - 110px));z-index:110;background:#edf0e4;border:1px solid #fcfff8;border-radius:20px;box-shadow:0 24px 120px #152c3566;overflow:hidden;color:#273c33}
.pony-viewer{position:absolute;inset:0;touch-action:none;outline-offset:-8px!important;cursor:grab;background:radial-gradient(ellipse at 28% 50%,#ffffff 0,#e3e7d8 65%,#d5dfcd 100%)}.pony-viewer:active{cursor:grabbing}.pony-viewer canvas{width:100%;height:100%;display:block}.pony-inspector-shade{position:absolute;inset:0;background:linear-gradient(90deg,transparent 33%,#f9fbf295 52%,#fbfcf7f5 62%);pointer-events:none}
.pony-inspector-close{position:absolute;right:18px;top:14px;width:44px;height:44px;background:#fff9;border:1px solid #d4dcd2;border-radius:50%;font-size:27px;z-index:3}.pony-inspector-heading{position:absolute;top:34px;left:36px;pointer-events:none}.pony-machine-brand{font-size:11px;letter-spacing:.19em}.pony-inspector-heading h3{font:500 32px/1.2 Georgia,serif;margin-top:9px}.pony-model-caption{font-size:10px;margin-top:12px!important;color:#637164;max-width:250px;line-height:1.7}
.pony-machine-copy{position:absolute;right:22px;top:80px;bottom:84px;width:39%;overflow-y:auto;overscroll-behavior:contain;padding:0 14px 18px 0;scrollbar-width:thin;scrollbar-color:#a7b3a1 transparent}.pony-detail-kicker{font-size:10px;letter-spacing:.1em;color:#698061}.pony-machine-position{font-size:22px;font-weight:500;line-height:1.5;margin:10px 0 20px}.pony-specs{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:28px}.pony-specs span{padding:7px 10px;background:#e7eddf;border-radius:5px;font-size:10px}.pony-machine-copy h5{font-size:13px;margin:20px 0 10px}.pony-machine-copy ul{padding-left:16px;margin:0;font-size:12px;line-height:1.9;color:#566553}.pony-machine-copy li{margin-bottom:5px}.pony-assessment-note{font-size:10px;color:#788474;line-height:1.7;margin-top:23px!important}.pony-machine-source{display:inline-flex;align-items:center;min-height:44px;font-size:11px;color:#305d41;text-underline-offset:4px}
.pony-machine-controls{position:absolute;left:36px;bottom:83px;display:flex;gap:5px}.pony-machine-controls button,.pony-machine-switch button{width:44px;height:44px;border:1px solid #bfccbb;background:#fffffaad;border-radius:50%;font-size:20px}.pony-machine-switch{position:absolute;bottom:20px;left:36px;right:36px;display:flex;align-items:center;gap:12px}.pony-machine-switch select{appearance:auto;width:225px;max-width:calc(100% - 112px);height:42px;border:1px solid #bfcbb8;border-radius:8px;padding:0 10px;background:#fffff6;color:#34503c;font-size:11px}.pony-viewer-fallback{position:absolute;left:12%;top:49%;font-size:13px;max-width:220px}

@media(max-width:759px){.pony-inspector{width:calc(100vw - 20px);height:calc(100dvh - 36px);max-height:860px;border-radius:15px}.pony-inspector-heading{top:23px;left:22px}.pony-inspector-heading h3{font-size:25px}.pony-model-caption{font-size:8px;margin-top:7px!important}.pony-inspector-close{top:12px;right:12px}.pony-inspector-shade{background:linear-gradient(180deg,transparent 25%,#f9fbf280 37%,#fbfcf7f5 46%)}.pony-machine-copy{left:22px;right:18px;top:46%;bottom:77px;width:auto;padding-right:7px}.pony-machine-position{font-size:20px;margin:6px 0 12px}.pony-specs{margin-bottom:17px}.pony-machine-copy h5{margin-top:15px}.pony-machine-copy ul{font-size:12px}.pony-machine-controls{left:22px;bottom:auto;top:calc(42% - 40px);gap:4px}.pony-machine-controls button{width:38px;height:38px}.pony-machine-switch{left:22px;right:22px;bottom:17px;gap:8px}.pony-machine-switch select{width:100%;flex:1;min-width:0}.pony-machine-switch button{flex:none}.pony-viewer-fallback{top:27%;left:20px}.pony-assessment-note{margin-top:15px!important}}

.pony-viewer-loading{display:none;position:absolute;left:24%;top:48%;font-size:12px;color:#567047}.pony-viewer[data-loading=true] .pony-viewer-loading{display:block}@media(max-width:759px){.pony-viewer-loading{left:24px;top:27%}}
