:root{color-scheme:dark;--pp-bg:#201e2c;--pp-card:#2b2839;--pp-ink:#f6ecdc;--pp-muted:#bbb1c5;--pp-dim:#938a9e;--pp-line:#454051;--pp-orange:#ffc184;--pp-purple:#c6b0f3;--pp-green:#adcdb2;--pp-dark-ink:#382839;--pp-radius:24px}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 12% 10%,#3b2c423d,transparent 50%),radial-gradient(ellipse at 95% 55%,#4a334326,transparent 45%),var(--pp-bg);color:var(--pp-ink);font-family:ui-rounded,"Avenir Next","Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:15px;line-height:1.5;min-width:280px}button,input,a{-webkit-tap-highlight-color:transparent}button,a,input{touch-action:manipulation}button,a{font:inherit}button{color:inherit;cursor:pointer}button:disabled{cursor:default;opacity:.43}a{color:inherit}h1,h2,h3,p{margin:0}button:focus-visible,a:focus-visible,input:focus-visible,canvas:focus-visible,summary:focus-visible{outline:3px solid var(--pp-orange);outline-offset:4px}button:focus:not(:focus-visible){outline:none}[hidden]{display:none!important}.pp-sr{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#pp-app{max-width:1080px;padding:0 34px;margin:auto}.pp-topbar{height:92px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #4d405c5c;gap:12px}.pp-brand{text-decoration:none;display:flex;align-items:center;gap:10px;font-size:22px;font-weight:750;letter-spacing:-.6px}.pp-brand-mark{position:relative;width:32px;height:34px;border-radius:10px;background:#c4b2de;color:#31253c;text-align:center;font:900 28px/30px Georgia;display:inline-block}.pp-brand-mark span{position:absolute;right:-5px;top:-10px;color:var(--pp-orange);font-size:19px}.pp-brand-divider{font-size:21px;font-weight:400;color:#71677e;margin-left:10px}.pp-brand-play{font-size:15px;font-weight:400;letter-spacing:0;color:var(--pp-muted)}.pp-utilities{display:flex;gap:9px;align-items:center}.pp-utility{border:1px solid var(--pp-line);border-radius:100px;background:#292635;padding:9px 15px;font-size:13px;min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:7px}.pp-utility:hover{background:#373045}.pp-utility[aria-pressed=true]{border-color:#857197;color:#e4cafe}.pp-help{width:40px;padding:0;font-size:19px}.pp-intro{padding:32px 0 25px;display:flex;align-items:end;justify-content:space-between;gap:24px}.pp-eyebrow{font-size:11px;letter-spacing:2.1px;font-weight:650;color:var(--pp-orange)}.pp-intro h1{font-size:clamp(34px,5vw,52px);font-family:Georgia,"Songti SC",serif;font-weight:500;line-height:1.12;letter-spacing:-1.6px;margin:10px 0 10px}.pp-title-star{display:inline-block;color:var(--pp-orange);font-size:34px;vertical-align:top;margin:0 0 0 12px}.pp-subtitle{color:var(--pp-muted);font-size:14px;max-width:460px}.pp-intro-note{font-size:12px;color:#c5baa8;max-width:170px;display:flex;gap:9px;align-items:baseline;padding-bottom:3px}.pp-live-dot{width:6px;height:6px;border-radius:50%;background:var(--pp-green);flex:0 0 6px}.pp-layout{display:grid;grid-template-columns:minmax(0,1.23fr) minmax(270px,.82fr);gap:30px;align-items:start}.pp-game{background:#292636;border:1px solid #51435e8c;border-radius:var(--pp-radius);padding:20px;box-shadow:0 22px 65px #0b091128;min-width:0}.pp-goal{display:flex;gap:11px;align-items:center;padding-bottom:10px}.pp-goal-icon{font-size:22px;color:var(--pp-orange);display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:#473447;flex:0 0 40px}.pp-label{font-size:10px;letter-spacing:1.2px;color:var(--pp-muted);font-weight:700}.pp-goal h2{font-size:17px;font-weight:650;line-height:1.4;letter-spacing:-.25px}#pp-won-tag{margin-left:auto;color:var(--pp-green);background:#26382f;border:1px solid #597265;padding:4px 6px;border-radius:7px;font-size:9px;letter-spacing:.7px}.pp-game-topline{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 5px;min-height:37px}.pp-game-topline p{font-size:12px;color:#d8cbdf}.pp-next{display:flex;align-items:center;gap:5px}.pp-next>span{font-size:9px;letter-spacing:1.2px;color:var(--pp-muted)}#pp-next-canvas{width:35px;height:35px}.pp-stage{position:relative;width:100%;border-radius:18px;overflow:hidden;border:1px solid #76617c55;background:#2b273a;isolation:isolate}#pp-board{display:block;width:100%;height:auto;aspect-ratio:360/410;touch-action:none;cursor:crosshair;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.pp-panel{position:absolute;inset:0;display:grid;place-items:center;padding:18px;background:#21192888;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);z-index:4}.pp-panel-card{width:min(100%,322px);text-align:center;padding:22px 20px 18px;border:1px solid #736079;background:#322a3dec;box-shadow:0 15px 30px #140e2180;border-radius:20px}.pp-panel-symbol{display:block;color:var(--pp-orange);font-size:30px;line-height:1;margin-bottom:10px}.pp-panel-card .pp-eyebrow{font-size:9px;letter-spacing:1.7px}.pp-panel-card h3{font-family:Georgia,"Songti SC",serif;font-size:28px;font-weight:500;line-height:1.17;letter-spacing:-.7px;margin:8px 0 10px}.pp-panel-card p:not(.pp-eyebrow){font-size:13px;color:#d0c5da;line-height:1.6;margin-bottom:15px}.pp-panel-card>.pp-button{display:flex;width:100%;margin-top:8px;min-height:42px}.pp-panel-card>.pp-text-button{min-height:32px;margin-top:6px;padding:5px;font-size:12px}.pp-panel-stats{display:flex;justify-content:center;gap:20px;margin:0 0 14px;font-size:12px;color:var(--pp-muted)}.pp-panel-stats b{font-size:20px;display:block;color:var(--pp-ink)}.pp-status{font-size:12px;line-height:1.5;min-height:38px;padding:10px 0 7px;color:#d9c8e3}.pp-drop-controls{display:flex;gap:10px;align-items:center}.pp-drop-controls label{font-size:12px;color:var(--pp-muted)}#pp-aim{min-width:35px;flex:1;width:100%;margin:0;accent-color:#ffc184;cursor:ew-resize;height:38px;touch-action:pan-y}#pp-drop{min-width:118px;flex-shrink:0;justify-content:space-between;gap:15px}.pp-button{border:1px solid transparent;border-radius:11px;min-height:44px;padding:10px 14px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:13px;font-weight:600;transition:background .15s,transform .15s}.pp-button:not(:disabled):active{transform:translateY(1px)}.pp-primary{background:var(--pp-orange);color:var(--pp-dark-ink);box-shadow:0 3px 0 #9c693c3b}.pp-primary:hover:not(:disabled){background:#ffd39d}.pp-secondary{background:#332d41;border-color:#514659;color:#e0d3e9}.pp-secondary:hover:not(:disabled){background:#41334f;border-color:#746080}.pp-text-button{background:none;color:var(--pp-orange);border:0}.pp-actions{display:grid;grid-template-columns:.85fr 1.4fr .85fr;gap:8px;margin-top:11px}.pp-actions>.pp-button{font-size:12px;min-width:0;padding:9px 7px}.pp-controls-note{font-size:10px;line-height:1.6;color:#b6a9c1;margin-top:12px}.pp-sidebar{min-width:0;display:flex;flex-direction:column;gap:23px}.pp-section-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}.pp-section-heading h2{font-size:15px;font-weight:600;letter-spacing:-.2px}.pp-link-button{background:none;padding:5px 0;border:0;color:var(--pp-purple);font-size:12px;min-height:36px}.pp-buddy-section{padding:3px 0 0}.pp-buddy-scene{height:186px;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:25px;background:radial-gradient(ellipse at center,#5845606b,transparent 70%)}#pp-buddy-canvas{position:relative;width:210px;height:170px;z-index:1;animation:pp-float 5s ease-in-out infinite}.pp-orbit{position:absolute;border:1px solid #74608133;border-radius:50%;width:190px;height:140px;transform:rotate(-24deg)}.pp-orbit-b{width:245px;height:165px;transform:rotate(17deg)}.pp-scene-star{position:absolute;color:var(--pp-orange)}.pp-scene-star-a{left:10%;top:33px;font-size:24px}.pp-scene-star-b{right:12%;bottom:42px;font-size:31px;color:#c4ade5}.pp-buddy-badge{z-index:2;position:absolute;bottom:1px;background:#473853;border:1px solid #73607d;color:#eee1fb;padding:5px 18px;border-radius:100px;font-size:11px;letter-spacing:1.8px;font-weight:700}.pp-buddy-quote{font-family:Georgia,"Songti SC",serif;font-size:20px;line-height:1.42;text-align:center;min-height:64px;padding:15px 16px 4px;color:#ecdeef;transition:color .3s}.pp-buddy-quote.pp-speak{color:var(--pp-orange)}.pp-buddy-note{font-size:11px;line-height:1.6;text-align:center;color:#b5a7bf;padding:5px 10px 0}.pp-growth-section{padding-top:5px;border-top:1px solid #53445866}.pp-growth-section>.pp-section-heading{margin:12px 0}.pp-fruit-path{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}.pp-fruit-step{min-width:0;text-align:center;position:relative;padding:4px 0 5px;border-radius:10px;opacity:.54;border:1px solid transparent}.pp-fruit-step canvas{width:100%;height:auto;display:block}.pp-fruit-step span{display:block;font-size:9px;color:var(--pp-muted);font-variant-numeric:tabular-nums}.pp-fruit-step.pp-reached{opacity:1}.pp-fruit-step.pp-current{background:#51404b;border-color:#c3946677}.pp-fruit-step.pp-current span{color:var(--pp-orange)}.pp-small{font-size:12px;line-height:1.65;color:var(--pp-muted)}#pp-growth-note{font-size:11px;margin-top:10px}.pp-garden-section{border-top:1px solid #53445866;padding-top:17px}.pp-garden-count{color:var(--pp-orange);font-size:14px;font-variant-numeric:tabular-nums}#pp-garden-canvas{display:block;width:100%;height:auto;aspect-ratio:4/1;margin:-5px 0 6px}.pp-progress-caption{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:var(--pp-muted);margin-bottom:8px}.pp-progress{height:4px;border-radius:4px;overflow:hidden;background:#47394e}.pp-progress>span{display:block;height:100%;background:#dbb391;border-radius:4px;transition:width .3s}.pp-round-stats{display:flex;gap:16px;justify-content:space-around;margin:18px 0}.pp-round-stats div{text-align:center;flex:1}.pp-round-stats div+div{border-left:1px solid #514359}.pp-round-stats span{display:block;font-size:24px;font-weight:500;line-height:1.2;color:#f0dece}.pp-round-stats small{font-size:10px;color:var(--pp-muted)}.pp-wide{width:100%}.pp-storage-note{margin-top:-10px;font-size:10px;color:#b0a4bb;text-align:center}.pp-how{margin:40px 0 36px;border-top:1px solid #50455988;padding-top:25px}.pp-how h2{font-family:Georgia,"Songti SC",serif;font-size:24px;font-weight:500;margin-bottom:20px}.pp-how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}.pp-how-grid b{display:block;font-weight:600;color:#e3d3c5;font-size:12px;margin-bottom:8px}.pp-how-grid span{font-size:12px;line-height:1.8;color:var(--pp-muted);display:block}.pp-footer{font-size:10px;color:#a99bb5;display:flex;justify-content:space-between;gap:20px;padding:0 0 28px}.pp-footer>span:first-child{color:#d4c5d9}.pp-footer>span:first-child>span{color:var(--pp-orange);padding:0 7px}.pp-dialog{color:var(--pp-ink);background:#2c2639;border:1px solid #71607d;border-radius:22px;padding:25px;width:min(540px,calc(100% - 28px));max-height:calc(100dvh - 38px);overflow:auto;box-shadow:0 28px 100px #0c061ba1}.pp-dialog::backdrop{background:#17111ecc;backdrop-filter:blur(5px)}.pp-dialog-header{display:flex;justify-content:space-between;align-items:start;gap:14px;margin-bottom:15px}.pp-dialog h2{font-family:Georgia,"Songti SC",serif;font-weight:500;font-size:27px;line-height:1.2}.pp-dialog-header .pp-eyebrow{margin-bottom:8px;font-size:10px;letter-spacing:1.4px}.pp-dialog-close{flex:0 0 36px;border:1px solid #6b5475;background:#3e324b;width:36px;height:36px;display:grid;place-items:center;padding:0;border-radius:50%;font-size:24px;line-height:1}.pp-dialog-intro{font-size:13px;color:var(--pp-muted);margin:0 0 17px;line-height:1.7}.pp-buddy-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin:14px 0 16px}.pp-buddy-option{display:flex;flex-direction:column;align-items:center;border-radius:13px;border:1px solid #534461;background:#352d43;padding:5px 4px 10px;gap:1px;min-width:0}.pp-buddy-option:hover{background:#483653}.pp-buddy-option[aria-pressed=true]{border-color:var(--pp-orange);box-shadow:0 0 0 1px var(--pp-orange)}.pp-buddy-option canvas{width:70px;max-width:100%;height:auto}.pp-buddy-option span{font-size:11px;letter-spacing:1.4px;color:#ead7f4;font-weight:700}.pp-dialog-small{max-width:425px}.pp-dialog-small p{color:#c5b7d1;font-size:14px;line-height:1.8}.pp-confirm-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:23px}.pp-setting{display:flex;align-items:center;gap:10px;padding:16px 0;font-size:13px}.pp-setting input{width:20px;height:20px;accent-color:var(--pp-orange)}#pp-help-body h3{font-size:14px;margin:18px 0 7px;color:#eed7bc}#pp-help-body p{font-size:13px;line-height:1.8;color:#d2c3df}#pp-help-dialog .pp-wide{margin-top:18px}.pp-card-dialog{max-width:425px}#pp-card-image{display:block;width:100%;height:auto;border-radius:13px;background:#242030;margin-bottom:16px}.pp-card-dialog .pp-small{margin-top:12px}.pp-embed .pp-topbar{height:65px}.pp-embed .pp-brand-divider,.pp-embed .pp-brand-play,.pp-embed .pp-intro-note,.pp-embed .pp-how,.pp-embed .pp-footer{display:none}.pp-embed .pp-intro{padding:20px 0}.pp-embed .pp-intro h1{font-size:38px}.pp-embed #pp-app{padding:0 18px 24px}.pp-reduced *{animation:none!important;transition:none!important;scroll-behavior:auto!important}@keyframes pp-float{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-6px) rotate(1deg)}}
@media(min-width:1000px){.pp-sidebar{padding:0 13px}.pp-game{padding:22px}.pp-layout{gap:40px}}
@media(max-width:740px){#pp-app{padding:0 18px}.pp-topbar{height:72px}.pp-brand{font-size:20px;gap:8px}.pp-brand-divider,.pp-brand-play{display:none}.pp-utility{padding:8px 11px;font-size:12px}.pp-utilities{gap:6px}.pp-help{width:38px}.pp-intro{padding:25px 0 20px}.pp-intro h1{font-size:40px;margin:8px 0}.pp-eyebrow{font-size:9px;letter-spacing:1.5px}.pp-intro-note{display:none}.pp-subtitle{font-size:12px;max-width:330px}.pp-layout{grid-template-columns:minmax(0,1fr);gap:26px;max-width:490px;margin:auto}.pp-game{padding:15px}.pp-goal h2{font-size:16px}.pp-sidebar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}.pp-buddy-section{grid-column:1/-1;padding:0}.pp-buddy-section .pp-section-heading{margin-bottom:0}.pp-buddy-scene{width:42%;height:128px;float:left}.pp-buddy-scene #pp-buddy-canvas{width:145px;height:auto}.pp-buddy-badge{bottom:0;padding:3px 12px;font-size:10px}.pp-orbit{width:118px;height:85px}.pp-orbit-b{width:145px;height:110px}.pp-scene-star-a{font-size:15px;left:2px;top:25px}.pp-scene-star-b{font-size:19px;right:0;bottom:28px}.pp-buddy-quote{font-size:19px;min-height:72px;text-align:left;padding:14px 2px 4px 45%}.pp-buddy-note{font-size:10px;text-align:left;padding:5px 0 0 45%;min-height:57px}.pp-buddy-section:after{content:"";clear:both;display:block}.pp-growth-section{grid-column:1/-1;padding-top:13px}.pp-fruit-step canvas{max-width:47px;margin:auto}.pp-garden-section{grid-column:1/-1;padding-top:16px}.pp-garden-section>canvas{max-height:80px}.pp-storage-note{grid-column:1/-1}.pp-how{margin:30px auto;max-width:490px}.pp-how h2{font-size:23px}.pp-how-grid{grid-template-columns:1fr;gap:17px}.pp-how-grid b{margin-bottom:4px}.pp-footer{flex-direction:column;gap:7px;max-width:490px;margin:auto}.pp-status{min-height:40px}.pp-dialog{padding:20px}.pp-dialog h2{font-size:24px}.pp-buddy-grid{gap:7px}.pp-buddy-option{padding-bottom:9px}}
@media(max-width:370px){#pp-app{padding:0 10px}.pp-game{padding:12px;border-radius:19px}.pp-goal h2{font-size:14px}.pp-goal-icon{width:32px;height:32px;flex-basis:32px}.pp-label{font-size:8px}.pp-intro h1{font-size:35px}.pp-title-star{font-size:26px;margin-left:7px}.pp-brand{font-size:18px}.pp-brand-mark{width:26px;height:29px;font-size:24px;line-height:27px}.pp-utility{padding:7px 8px;min-height:36px}.pp-help{width:33px}.pp-game-topline p{font-size:11px}.pp-panel{padding:10px}.pp-panel-card{padding:15px 14px}.pp-panel-card h3{font-size:24px}.pp-panel-symbol{font-size:24px;margin-bottom:5px}.pp-panel-card p:not(.pp-eyebrow){font-size:12px;margin-bottom:10px}.pp-panel-card>.pp-button{min-height:37px;font-size:12px;padding:8px}.pp-panel-stats{margin-bottom:9px}.pp-panel-stats b{font-size:17px}#pp-drop{min-width:105px;font-size:12px}.pp-controls-note{font-size:9px}.pp-buddy-quote{font-size:17px}.pp-buddy-note{font-size:10px}.pp-section-heading h2{font-size:14px}.pp-actions>.pp-button{font-size:11px}.pp-buddy-option span{font-size:10px}.pp-dialog{padding:16px}.pp-confirm-actions .pp-button{font-size:12px;padding:8px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.pp-mobile-buddy{display:none}
@media(max-width:740px){.pp-mobile-buddy{display:flex;align-items:center;gap:7px;position:absolute;z-index:2;top:6px;left:7px;right:66px;pointer-events:none}.pp-mobile-buddy button{display:flex;gap:4px;align-items:center;padding:2px 7px 2px 2px;background:#34283dcc;border:1px solid #85648e70;border-radius:10px;pointer-events:auto;min-height:36px;flex-shrink:0;font-size:9px;letter-spacing:.6px}.pp-mobile-buddy canvas{width:31px;height:auto}.pp-mobile-buddy p{font-size:10px;line-height:1.35;color:#eee0ef;max-height:40px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;text-shadow:0 1px 3px #24152d}}
@media(max-width:370px){.pp-mobile-buddy{right:54px;gap:5px}.pp-mobile-buddy button{font-size:8px;padding-right:5px}.pp-mobile-buddy canvas{width:25px}.pp-mobile-buddy p{font-size:9px}}
/* The complete recovery/win actions must remain reachable at narrow widths and zoom. */
.pp-panel-card{max-height:100%;overflow-y:auto;overscroll-behavior:contain}
@media(max-width:370px){.pp-panel-card{padding:13px 12px}.pp-panel-symbol,.pp-panel-card>.pp-eyebrow,.pp-panel-stats{display:none!important}.pp-panel-card h3{font-size:23px;line-height:1.15;margin:0 0 9px}.pp-panel-card p:not(.pp-eyebrow){font-size:12px;line-height:1.55;margin-bottom:8px}.pp-panel-card>.pp-button{margin-top:7px;min-height:38px}.pp-panel-card>.pp-text-button{min-height:30px;margin-top:3px}}

/* v1.1: visible names make the Halloween trail readable without hover. */
.pp-fruit-step span.pp-piece-name{font-size:10px;line-height:1.3;min-height:2.6em;padding:3px 1px 0;color:#e1d6e9;overflow-wrap:normal;hyphens:manual;}
.pp-fruit-step .pp-level-number{opacity:.8;}
.pp-fruit-step{opacity:.8;}
.pp-fruit-step.pp-reached{opacity:1;}
.pp-fruit-step.pp-current span.pp-piece-name{color:#ffcf92;}
@media(max-width:360px){.pp-fruit-step span.pp-piece-name{font-size:9px;}}

/* Site embed: the parent supplies the page title and handles outer scrolling. */
.pp-embed .pp-brand,.pp-embed .pp-intro{display:none}
.pp-embed .pp-topbar{justify-content:flex-end;height:58px;margin-bottom:18px}
.pp-embed #pp-app{padding-bottom:24px}
/* The parent supplies the visible part of its auto-height iframe. Standalone games use 100dvh. */
.pp-embed .pp-dialog[open]{position:fixed;top:calc(var(--pp-visible-top,0px) + var(--pp-visible-height,100dvh) / 2);bottom:auto;left:50%;right:auto;margin:0;transform:translate(-50%,-50%);max-height:calc(var(--pp-visible-height,100dvh) - 32px)}
@media(max-width:540px){
 .pp-embed #pp-app{padding:0 8px 20px}
 .pp-embed .pp-layout{max-width:none}
 .pp-embed .pp-game{padding:12px 5px;border-radius:20px}
 .pp-embed .pp-stage{border-radius:15px}
 /* Crop empty scenery only. Physics and pointer coordinates still use 360 world units. */
 .pp-embed #pp-board{width:calc(100% * 360 / 324);max-width:none;margin-left:calc(-100% * 18 / 324)}
 .pp-embed .pp-goal,.pp-embed .pp-game-topline,.pp-embed .pp-status,.pp-embed .pp-drop-controls,.pp-embed .pp-actions,.pp-embed .pp-controls-note{margin-left:5px;margin-right:5px}
 /* Let enlarged or translated button labels wrap within the available width. */
 .pp-embed .pp-drop-controls{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(0,.85fr)}
 .pp-embed #pp-aim{min-width:0}
 .pp-embed #pp-drop{min-width:0;width:100%;overflow-wrap:anywhere}
 .pp-embed .pp-actions>.pp-button{overflow-wrap:anywhere}
}
