
/* Wobble Pals — action-first guided onboarding, supports touch, mouse and keyboard */
/* Space for the tutorial's 8px outline, including native safe-area edges. */
#wpHome .wph-left{left:calc(20px + env(safe-area-inset-left,0px))}
#wpHome .wph-right{right:calc(20px + env(safe-area-inset-right,0px))}
#wpHome .wph-bottom-mini,#wpHome .wph-play-wrap{bottom:calc(24px + env(safe-area-inset-bottom,0px))!important}
#wpGuidedRoot.wp-guide-play-card .wp-guide-card{padding:4px 8px;box-shadow:0 3px 0 #75523c,0 5px 12px #20152f45}
#wpGuidedRoot.wp-guide-play-card .wp-guide-top,#wpGuidedRoot.wp-guide-play-card .wp-guide-caption{display:none}
#wpGuidedRoot.wp-guide-play-card .wp-guide-card h2{font-size:14px;line-height:1.1;margin:0}
#wpGuidedRoot.wp-guide-play-card .wp-guide-card p{font-size:11px;line-height:1.15;margin:2px 0 0}
#wpGuidedRoot{position:fixed;inset:0;z-index:2147482600;pointer-events:none;font-family:system-ui,-apple-system,sans-serif;color:#493b35}
#wpGuidedRoot[hidden]{display:none!important}
.wp-guide-mask{position:fixed;background:#181a2ab8;backdrop-filter:blur(1.5px);pointer-events:auto;touch-action:none}
.wp-guide-ring{position:fixed;pointer-events:none;border:3px solid #ffdb7c;border-radius:17px;box-shadow:0 0 0 5px #fff6bc70,0 0 23px #ffe2a58a,inset 0 0 0 1px #fff;background:#fff3ae0c;animation:wp-guide-pulse 1.5s ease-in-out infinite}
.wp-guide-card{position:fixed;box-sizing:border-box;width:min(354px,calc(100vw - 24px));max-height:min(260px,calc(100dvh - 24px));overflow:auto;pointer-events:auto;padding:12px 14px 11px;border:3px solid #926e50;border-radius:18px;background:linear-gradient(145deg,#fff7df,#f9e6fa);box-shadow:0 5px 0 #75523c,0 14px 28px #20152f6c;text-align:left}
.wp-guide-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:5px}
.wp-guide-label{color:#8d5ca2;font:950 9px/1.25 system-ui;letter-spacing:1px;text-transform:uppercase}
.wp-guide-progress{display:flex;gap:4px;align-items:center}
.wp-guide-progress i{width:6px;height:6px;border-radius:50%;background:#ccb8be}
.wp-guide-progress i.active{background:#89b664;transform:scale(1.3)}
.wp-guide-card h2{margin:3px 0 4px;font-size:18px;line-height:1.14;color:#63405c;font-weight:950}
.wp-guide-card p{margin:4px 0 3px;font-size:12px;line-height:1.42;font-weight:670;color:#765d52}
.wp-guide-caption{display:block;margin:5px 0 0;color:#a0786a;font-size:10px;font-weight:720}
.wp-guide-card button{touch-action:manipulation}
.wp-guide-card button:focus-visible,.wp-guide-practice-pal:focus-visible{outline:3px solid #74a6d6;outline-offset:3px}
.wp-guide-chips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:8px}
.wp-guide-chip{min-height:61px;display:grid;place-items:center;gap:1px;padding:7px 3px;border:2px solid #b39bcf;border-radius:12px;background:#f8edff;color:#604779;font-size:11px;font-weight:900;cursor:pointer}
.wp-guide-chip:active{transform:scale(.97)}
.wp-guide-chip[aria-pressed="true"]{background:#def1ca;border-color:#6c9f5c;color:#375b31}
.wp-guide-chip span{font-size:18px;line-height:1}
.wp-guide-chip small{font:750 9px/1.2 system-ui;overflow-wrap:anywhere}
.wp-guide-action{display:block;margin:8px auto 0;min-height:37px;padding:7px 14px;border:2px solid #678a53;border-radius:10px;background:#c9eaa9;color:#385632;font-size:12px;font-weight:900;cursor:pointer}
.wp-guide-action:disabled{opacity:.55}
.wp-guide-practice-pal{position:fixed;display:grid;place-items:center;pointer-events:auto;z-index:2;width:84px;height:84px;border:3px solid #ffe2a2;border-radius:50%;background:radial-gradient(circle at 35% 27%,#ffffff,#ffdda0 70%,#f0bb83);box-shadow:0 0 0 9px #faedb355,0 0 28px #ffecac99;font-size:45px;cursor:pointer;animation:wp-guide-pal-bob 1.3s ease-in-out infinite}
.wp-guide-practice-pal[hidden]{display:none}
.wp-guide-practice-pal.swept{transform:scale(.25) rotate(220deg);opacity:0;transition:transform .5s,opacity .5s}
.wp-guide-practice-pal.evolved{background:#dcf4d1;transform:scale(1.35);transition:transform .48s}
.wp-guide-locklist{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:6px}
.wp-guide-locklist span{display:grid;gap:3px;padding:6px 4px;border:1px solid #c4acc4;border-radius:9px;background:#fffaf5;text-align:center;color:#614959;font-size:10px;font-weight:850}
.wp-guide-locklist small{color:#92758c;font-size:8.5px}
@keyframes wp-guide-pulse{50%{box-shadow:0 0 0 9px #fff6bc3f,0 0 28px #fbe194cc}}
@keyframes wp-guide-pal-bob{50%{transform:translateY(-7px)}}
@media(prefers-reduced-motion:reduce){.wp-guide-ring,.wp-guide-practice-pal{animation:none}.wp-guide-chip:active{transform:none}}
@media(max-height:660px){.wp-guide-card{max-height:min(195px,calc(100dvh - 20px));padding:8px 11px 7px}.wp-guide-card h2{font-size:16px}.wp-guide-card p{font-size:10.8px}.wp-guide-caption{font-size:9px}.wp-guide-chip{min-height:50px}.wp-guide-practice-pal{width:66px;height:66px;font-size:34px}}

/* Full-bowl lesson: reveal the actual gameplay container, guide toward matching drop columns. */
.wp-guide-merge-hint{position:fixed;z-index:1;box-sizing:border-box;width:128px;min-height:40px;display:grid;justify-items:center;align-items:center;gap:1px;padding:5px 6px;border:2px solid #f4d687;border-radius:12px;background:#fff8dbea;color:#674a36;box-shadow:0 3px 12px #382a2455;font:900 10px/1.2 system-ui,sans-serif;text-align:center;pointer-events:none;white-space:normal;transform:translateX(-50%);}
.wp-guide-merge-hint::after{content:"↓";font-size:22px;line-height:1;color:#ad7339;text-shadow:0 1px #fff}
.wp-guide-merge-hint[hidden]{display:none!important}
.wp-guide-ring.bowl{border-radius:15px;border-color:#f4dd94;box-shadow:0 0 0 5px #f9e8ad44,0 0 24px #eed68d88}
.wp-guide-return{width:100%;margin-top:8px;background:linear-gradient(180deg,#d8f1ba,#b3db90)}
.wp-guide-return-status{display:block;margin:6px auto 0;color:#8e5f4b;font-weight:750;font-size:10px}
@media(max-height:660px){.wp-guide-merge-hint{padding:4px 5px;min-height:36px;font-size:9px}.wp-guide-merge-hint::after{font-size:16px}.wp-guide-return{min-height:33px}}

/* Settings replay controls; they only reset local guided completion markers after confirmation. */
.wp-settings-guided{display:grid;gap:8px;margin:11px 0 13px;padding:12px;border:2px solid #b89568;border-radius:16px;background:linear-gradient(120deg,#fff9e7,#fff7e8);text-align:left;color:#654b35}
.wp-settings-guided-head{display:flex;align-items:center;gap:9px;min-width:0}
.wp-settings-guided-head>span{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;background:#fff8e6;border:2px solid #dac38e;border-radius:12px;font-size:25px}
.wp-settings-guided-head>div{min-width:0}
.wp-settings-guided-head strong{display:block;font:900 15px/1.2 system-ui,sans-serif;color:#63442e}
.wp-settings-guided-head small{display:block;margin-top:3px;font:650 11px/1.4 system-ui,sans-serif;color:#796149}
.wp-settings-guided>#guidedReplaySettings{width:100%;min-height:44px;margin:0;padding:8px 10px;border:2px solid #71945b;border-radius:12px;background:#d9edbd;color:#3f5d32;font:900 13px/1.25 system-ui,sans-serif;cursor:pointer;touch-action:manipulation}
.wp-settings-guided-note{font:650 10px/1.4 system-ui,sans-serif;color:#806a53}
.wp-tutorial-replay-confirm{text-align:center;max-width:360px;margin:0 auto}
.wp-tutorial-replay-icon{font-size:44px;margin:6px 0}
.wp-tutorial-replay-confirm h1{font-size:22px;margin:4px 0 7px;color:#594166}
.wp-tutorial-replay-confirm p{font-size:12px;line-height:1.48;margin:7px 0;color:#685148}
.wp-tutorial-replay-safety{padding:11px;text-align:left;border:2px solid #d4bd9e;border-radius:12px;background:#fff9eb}
.wp-tutorial-replay-actions{display:grid;gap:9px;margin-top:12px}
.wp-tutorial-replay-actions :is(button){width:100%;min-height:43px;cursor:pointer}
.wp-tutorial-replay-message{color:#a1433e!important;font-weight:850}
.wpw-guided-replay-warning{padding:9px 10px;border:2px solid #dbbfa4;border-radius:11px;background:#fff8e8;font-size:11px!important;line-height:1.45}
@media(max-width:360px){.wp-settings-guided{padding:9px}.wp-settings-guided-head strong{font-size:13px}.wp-settings-guided-head small{font-size:10px}}

/* Rounded, visually identical cut-outs for every guided spotlight.
   SVG mask subtracts both the bowl and held Pal with real rounded corners. */
#wpGuidedRoot .wp-guide-scrim{position:fixed;inset:0;width:100%;height:100%;overflow:visible;z-index:0;pointer-events:none}
#wpGuidedRoot .wp-guide-mask{background:transparent!important;backdrop-filter:none!important;z-index:1}
#wpGuidedRoot :is(.wp-guide-ring,.wp-guide-source-ring){z-index:2;box-sizing:border-box;border:3px solid #ffdf92;border-radius:22px!important;box-shadow:0 0 0 4px #fff4bd60,0 0 24px #ffe2a58a,inset 0 0 0 1px #fff6d9;background:#fff3ae08;pointer-events:none;animation:wp-guide-pulse 1.6s ease-in-out infinite}
#wpGuidedRoot .wp-guide-ring.bowl{border-radius:22px!important;border-color:#ffdf92;box-shadow:0 0 0 4px #fff4bd60,0 0 24px #ffe2a58a,inset 0 0 0 1px #fff6d9}
#wpGuidedRoot .wp-guide-source-ring{position:fixed;z-index:2}
#wpGuidedRoot .wp-guide-source-ring[hidden],#wpGuidedRoot .wp-guide-tap-hand[hidden]{display:none!important}
#wpGuidedRoot .wp-guide-tap-hand{position:fixed;z-index:3;pointer-events:none;display:grid;place-items:center;gap:2px;transform:translate(-50%,-50%);filter:drop-shadow(0 2px 3px #60413a78)}
#wpGuidedRoot .wp-guide-tap-ripple{grid-row:1;grid-column:1;align-self:center;justify-self:center;width:50px;height:50px;border:3px solid #e8bf70;border-radius:50%;background:#fbe2a047;animation:wp-guide-tap-ripple 1.65s ease-out infinite}
#wpGuidedRoot .wp-guide-hand-icon{grid-row:1;grid-column:1;z-index:1;font-size:39px;line-height:1;transform-origin:50% 65%;animation:wp-guide-hand-tap 1.65s ease-in-out infinite}
#wpGuidedRoot .wp-guide-tap-hand small{padding:3px 8px;border:1.5px solid #ddc38a;border-radius:12px;background:#fff9e9ed;color:#704d38;font:900 10px/1.15 system-ui,sans-serif;white-space:nowrap;box-shadow:0 2px 5px #65432955}
#wpGuidedRoot .wp-guide-card{z-index:4}
#wpGuidedRoot .wp-guide-goal-peek{margin:7px 0 2px;padding:7px 9px;border:2px solid #e5c992;border-radius:12px;background:#fff9de;color:#775036;font:850 11px/1.4 system-ui,sans-serif}
@keyframes wp-guide-hand-tap{0%,24%,100%{transform:translateY(-6px) rotate(-9deg) scale(1)}43%,57%{transform:translateY(7px) rotate(0deg) scale(.88)}76%{transform:translateY(-6px) rotate(-9deg) scale(1)}}
@keyframes wp-guide-tap-ripple{0%,24%{transform:scale(.56);opacity:0}50%{transform:scale(1.08);opacity:.95}86%,100%{transform:scale(1.5);opacity:0}}
@media(prefers-reduced-motion:reduce){#wpGuidedRoot :is(.wp-guide-ring,.wp-guide-source-ring,.wp-guide-hand-icon,.wp-guide-tap-ripple){animation:none!important}#wpGuidedRoot .wp-guide-tap-ripple{opacity:.55}}
@media(max-width:350px){#wpGuidedRoot .wp-guide-hand-icon{font-size:32px}#wpGuidedRoot .wp-guide-tap-ripple{width:43px;height:43px}#wpGuidedRoot .wp-guide-tap-hand small{font-size:9px}}

/* Vector tutorial hand works even when Android or desktop emoji fonts are unavailable. */
#wpGuidedRoot .wp-guide-hand-icon svg{display:block;width:44px;height:56px;max-width:none;overflow:visible;filter:drop-shadow(0 2px 1px #795a4f66)}
@media(max-width:350px){#wpGuidedRoot .wp-guide-hand-icon svg{width:37px;height:48px}}

/* Home-first action guide: kept inside the visible game panel, never overflowing the viewport. */
#wpGuidedRoot .wp-guide-card{max-width:calc(100vw - 18px);overflow-wrap:anywhere}
#wpGuidedRoot .wp-guide-tap-hand.wp-guide-hand-control{z-index:3}
#wpGuidedRoot .wp-guide-hand-control .wp-guide-hand-icon svg{width:32px;height:43px;filter:drop-shadow(0 2px 2px #73523b88)}
#wpGuidedRoot .wp-guide-hand-control .wp-guide-tap-ripple{width:40px;height:40px}
#wpGuidedRoot .wp-guide-hand-control small{display:none}
#wpGuidedRoot .wp-guide-action{min-height:44px;display:flex;justify-content:center;align-items:center;gap:9px;padding:9px 14px;background:linear-gradient(#dcf5ad,#addd89);box-shadow:0 3px #668957}
#wpGuidedRoot .wp-guide-button-hand{display:inline-grid;place-items:center;flex:0 0 20px;animation:wp-guide-hand-tap 1.5s ease-in-out infinite;pointer-events:none}
#wpGuidedRoot .wp-guide-button-hand svg{display:block;width:20px;height:25px}
#wpGuidedRoot .wp-guide-recap-pals{display:flex;justify-content:center;align-items:center;gap:5px;margin:8px auto 6px;padding:7px 4px;background:#fff7da;border:2px solid #e6ca9c;border-radius:13px}
#wpGuidedRoot .wp-guide-recap-pals span{font-size:24px;line-height:1.12}
#wpGuidedRoot .wp-guide-recap-pals span:last-child{font-size:31px;animation:wp-guide-recap-pal .95s ease-out both}
#wpGuidedRoot .wp-guide-recap-pals b{font-size:17px;color:#976c61}
@keyframes wp-guide-recap-pal{0%{transform:scale(.55);opacity:.35}60%{transform:scale(1.25)}100%{transform:scale(1);opacity:1}}
#wpGuidedRoot .wp-guide-chip{position:relative;min-height:73px}
#wpGuidedRoot .wp-guide-chip-hand{position:absolute;right:-5px;top:-6px;display:block;pointer-events:none;animation:wp-guide-hand-tap 1.7s ease-in-out infinite;filter:drop-shadow(0 1px 2px #51313b55)}
#wpGuidedRoot .wp-guide-chip-hand svg{display:block;width:21px;height:25px}
#wpGuidedRoot .wp-guide-chip[aria-pressed="true"] .wp-guide-chip-hand{display:none}
@media(max-width:360px){#wpGuidedRoot .wp-guide-card{padding:9px 11px 9px}#wpGuidedRoot .wp-guide-card h2{font-size:17px}#wpGuidedRoot .wp-guide-card p{font-size:11px}#wpGuidedRoot .wp-guide-recap-pals span{font-size:20px}#wpGuidedRoot .wp-guide-recap-pals span:last-child{font-size:26px}#wpGuidedRoot .wp-guide-hand-control .wp-guide-hand-icon svg{width:27px;height:36px}}
@media(prefers-reduced-motion:reduce){#wpGuidedRoot :is(.wp-guide-button-hand,.wp-guide-chip-hand,.wp-guide-recap-pals span:last-child){animation:none!important}}

/* Real game-rendered Chick and Hamster art, accessible without emoji fonts. */
#wpGuidedRoot .wp-guide-recap-pals canvas{display:block;width:58px;height:58px;max-width:21%;height:auto;aspect-ratio:1/1;flex:0 1 58px}
#wpGuidedRoot .wp-guide-recap-pals canvas:last-child{flex-basis:72px;max-width:25%;width:72px;animation:wp-guide-recap-pal .95s ease-out both}
@media(max-width:350px){#wpGuidedRoot .wp-guide-recap-pals canvas{width:48px;flex-basis:48px}#wpGuidedRoot .wp-guide-recap-pals canvas:last-child{width:62px;flex-basis:62px}}

/* Merge recap has its own child-readable height; do not hide the Got it button. */
#wpGuidedRoot .wp-guide-card.wp-guide-recap{max-height:min(350px,calc(100dvh - 22px))!important;overflow:visible!important;padding:12px 14px 11px}
#wpGuidedRoot .wp-guide-card.wp-guide-recap .wp-guide-recap-pals{margin:6px auto;padding:5px 4px}
#wpGuidedRoot .wp-guide-card.wp-guide-recap .wp-guide-action{min-height:42px;margin-top:7px}
@media(max-height:660px){#wpGuidedRoot .wp-guide-card.wp-guide-recap{padding:9px 11px 9px}#wpGuidedRoot .wp-guide-card.wp-guide-recap h2{font-size:16px}#wpGuidedRoot .wp-guide-card.wp-guide-recap p{font-size:11px}}

/* Younger-player interactive guide: simple step count instead of 26 crowded dots. */
#wpGuidedRoot .wp-guide-step-number{display:inline-flex;align-items:center;flex:none;padding:4px 8px;border:1.5px solid #b794d1;border-radius:8px;background:#f5e8ff;color:#76539d;font:900 10px/1.1 system-ui,sans-serif;white-space:nowrap}
#wpGuidedRoot .wp-guide-pal-hello{display:block;margin:8px 0 2px;padding:8px 10px;border:2px solid #eac581;border-radius:12px;background:#fff8d8;color:#81523c;font-size:12px;font-weight:900}
#wpGuidedRoot .wp-guide-source-ring.practice{border-radius:50%!important;border-color:#b8f0bf!important;box-shadow:0 0 0 5px #efffed90,0 0 29px #92df9add,inset 0 0 0 1px #fff!important;animation:wp-guide-pulse 1.5s ease-in-out infinite}
#wpGuidedRoot .wp-guide-practice-pal{padding:4px;overflow:hidden;background:radial-gradient(circle at 30% 20%,#fff8dd,#d1f6d3 80%);border:3px solid #f7df8f;box-shadow:0 0 0 6px #c3f3ba88,0 0 25px #dbffaaba}
#wpGuidedRoot .wp-guide-practice-pal canvas{display:block;width:100%;height:100%;max-width:100%;object-fit:contain}
#wpGuidedRoot .wp-guide-practice-pal .wp-guide-practice-double{display:flex;justify-content:center;align-items:center;width:100%;height:100%}
#wpGuidedRoot .wp-guide-practice-pal .wp-guide-practice-double canvas{flex:0 0 56%;width:56%;height:auto}
#wpGuidedRoot .wp-guide-practice-pal .wp-guide-practice-double canvas+canvas{margin-left:-19%}
#wpGuidedRoot .wp-guide-practice-pal.swept{transition:transform .5s,opacity .5s}
#wpGuidedRoot .wp-guide-card p{max-width:100%;overflow-wrap:anywhere}
#wpGuidedRoot .wp-guide-hand-control .wp-guide-hand-icon svg{filter:drop-shadow(0 2px 2px #77553d99)}
#wpGuidedRoot .wp-guide-recap-pals canvas{pointer-events:none}
@media(max-height:660px){#wpGuidedRoot .wp-guide-card h2{line-height:1.1}#wpGuidedRoot .wp-guide-card p{line-height:1.3}#wpGuidedRoot .wp-guide-step-number{font-size:9px}}
@media(prefers-reduced-motion:reduce){#wpGuidedRoot .wp-guide-source-ring.practice{animation:none!important}}

/* Short, polished tutorial cards: clear one-line guidance instead of repeated instructions. */
#wpGuidedRoot .wp-guide-card{max-width:calc(100vw - 18px);max-height:min(245px,calc(100dvh - 18px));padding:11px 13px 10px;border-radius:18px;background:linear-gradient(155deg,#fff9e6 0%,#fff0e6 48%,#f5e8ff 100%);box-shadow:0 4px 0 #76563f,0 10px 21px #33254852;overflow-wrap:break-word}
#wpGuidedRoot .wp-guide-card h2{font-size:17px;line-height:1.17;margin:3px 0 5px}
#wpGuidedRoot .wp-guide-card p{font-size:11.5px;line-height:1.35;margin:3px 0}
#wpGuidedRoot .wp-guide-card .wp-guide-caption{font-size:9.5px;line-height:1.28;margin-top:5px}
#wpGuidedRoot .wp-guide-top{margin-bottom:4px}
#wpGuidedRoot .wp-guide-action{font-size:12px;padding:8px 11px;min-height:40px;margin-top:9px}
#wpGuidedRoot .wp-guide-card .wp-guide-step-number{padding:3px 7px;font-size:9px}
#wpGuidedRoot .wp-guide-card .wp-guide-chip{min-height:60px}
#wpGuidedRoot.wp-guide-hello .wp-guide-scrim,
#wpGuidedRoot.wp-guide-hello .wp-guide-mask,
#wpGuidedRoot.wp-guide-hello .wp-guide-ring,
#wpGuidedRoot.wp-guide-hello .wp-guide-source-ring{display:none!important}
#wpGuidedRoot.wp-guide-hello .wp-guide-card{background:linear-gradient(145deg,#fff9df,#f5eaff);box-shadow:0 4px 0 #7e634b,0 11px 22px #291d3552}
#wpGuidedRoot.wp-guide-hello .wp-guide-tap-ripple{background:#fff3ad40}
#wpGuidedRoot .wp-guide-ring.bowl{background:transparent!important}
#wpGuidedRoot.wp-guide-nudge-effect .wp-guide-ring.bowl{border-color:#fff0a2!important;box-shadow:0 0 0 4px #f9f5bb77,0 0 24px #fdf0adcf,inset 0 0 0 1px #fff4c5}
#wpGuidedRoot.wp-guide-nudge-effect .wp-guide-card{border-color:#a78953;background:linear-gradient(145deg,#fff6d8,#e9f7ed)}
@media(max-width:360px){
 #wpGuidedRoot .wp-guide-card{padding:9px 10px 9px;max-height:min(230px,calc(100dvh - 16px))}
 #wpGuidedRoot .wp-guide-card h2{font-size:16px}
 #wpGuidedRoot .wp-guide-card p{font-size:11px}
 #wpGuidedRoot .wp-guide-label{font-size:8px}
}
#app.reduced-motion ~ #wpGuidedRoot *,
#app.reduced-motion ~ #wpGuidedRoot *::before,
#app.reduced-motion ~ #wpGuidedRoot *::after{animation:none!important;transition:none!important}
@media(prefers-reduced-motion:reduce){#wpGuidedRoot *,#wpGuidedRoot *::before,#wpGuidedRoot *::after{animation:none!important;transition:none!important}}
#modal .card:has(.appearance-shell){overflow:hidden!important;height:min(780px,calc(100dvh - 32px));padding:12px!important}
.appearance-shell{height:100%;min-height:0;display:flex;flex-direction:column;text-align:left}
.appearance-header{position:static;pointer-events:auto;display:flex;align-items:center;justify-content:space-between;gap:10px;flex:none;padding:0 2px 12px;border-bottom:2px solid #c6a783}
.appearance-header h1{font-size:23px;margin:0 0 5px}
.appearance-header .appearance-note{text-align:left;margin:0 0 8px}
.appearance-header .appearance-preview{width:102px;height:102px;margin:0;flex:none}
.appearance-header .appearance-preview canvas{width:96px;height:96px}
.appearance-header #appearanceBack{min-height:34px;padding:5px 14px;margin:0}
.appearance-options{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;touch-action:pan-y;padding:4px 4px 12px;scroll-padding:12px}
@media(max-height:480px){.appearance-header{padding-bottom:7px}.appearance-header h1{font-size:19px}.appearance-header .appearance-preview{width:76px;height:76px}.appearance-header .appearance-preview canvas{width:70px;height:70px}.appearance-header .appearance-note{display:none}}
#modal .comfort-settings #motion[aria-pressed="false"]{background:#d7efc5;border-color:#63844f;color:#36502d}
#modal .comfort-settings #motion[aria-pressed="true"]{background:#f7e4c1;border-color:#a98763;color:#60472f}

/* The anchor is the fingertip, never the bounding-box center. */
#wpGuidedRoot .wp-guide-tap-hand{display:block;width:0;height:0;transform:none;filter:none}
#wpGuidedRoot .wp-guide-tap-hand .wp-guide-hand-icon{position:absolute;left:calc(-1 * var(--tip-x));top:calc(-1 * var(--tip-y));width:var(--hand-width);height:var(--hand-height);transform-origin:var(--tip-x) var(--tip-y);transform:rotate(var(--hand-angle));animation:wp-guide-fingertip 1.65s ease-in-out infinite}
#wpGuidedRoot .wp-guide-tap-hand .wp-guide-hand-icon svg{width:100%;height:100%}
#wpGuidedRoot .wp-guide-tap-hand .wp-guide-tap-ripple{position:absolute;left:0;top:0;width:26px;height:26px;box-sizing:border-box;transform:translate(-50%,-50%);animation:wp-guide-fingertip-ripple 1.65s ease-out infinite}
#wpGuidedRoot .wp-guide-tap-hand small{position:absolute}
#wpGuidedRoot .wp-guide-tap-hand small[hidden]{display:none}
@keyframes wp-guide-fingertip{0%,100%{transform:rotate(var(--hand-angle)) scale(1)}45%,60%{transform:rotate(var(--hand-angle)) scale(.9)}}
@keyframes wp-guide-fingertip-ripple{0%,20%{transform:translate(-50%,-50%) scale(.65);opacity:.2}50%{opacity:.85}100%{transform:translate(-50%,-50%) scale(1.35);opacity:0}}
.appearance-header{position:relative;display:grid;grid-template-columns:1fr;justify-items:center;gap:3px;padding:0 0 12px}
.appearance-header>div:first-child{width:100%;min-height:36px;position:relative;text-align:center}
.appearance-header h1{font-size:21px;margin:3px 65px 4px}
.appearance-header .appearance-note{display:none}
.appearance-header #appearanceBack{position:absolute;left:0;top:0;min-height:34px;padding:5px 10px}
.appearance-header .appearance-preview{width:156px;height:156px;margin:0 auto;border-radius:24px}
.appearance-header .appearance-preview canvas{width:148px;height:148px}
@media(max-height:650px){.appearance-header .appearance-preview{width:126px;height:126px}.appearance-header .appearance-preview canvas{width:120px;height:120px}.appearance-header{padding-bottom:8px}}
@media(max-height:480px){.appearance-header{grid-template-columns:1fr;min-height:102px;padding-bottom:7px}.appearance-header>div:first-child{position:absolute;inset:0;pointer-events:none}.appearance-header h1{position:absolute;left:0;top:37px;margin:0;font-size:16px}.appearance-header #appearanceBack{pointer-events:auto}.appearance-header .appearance-preview{width:98px;height:98px}.appearance-header .appearance-preview canvas{width:92px;height:92px}}

#app button.locked-skill{position:relative}
#app button.locked-skill::after{content:"🔒";position:absolute;left:-3px;top:-5px;font-size:10px;line-height:15px;width:15px;height:15px;border-radius:50%;background:#fff0cf;border:1px solid #957152;pointer-events:none}
#modal:has(.habitat-shell) #modalBody{height:min(880px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);overflow:hidden;padding:12px}
.habitat-shell{height:100%;min-height:0;display:grid;grid-template-rows:auto minmax(120px,28%) minmax(0,1fr);gap:8px}
.habitat-header{position:static!important;inset:auto!important;display:flex;justify-content:space-between;align-items:center;gap:8px;pointer-events:auto}
.habitat-header h1{font-size:20px;margin:0}
.habitat-header #resume{width:auto;min-height:34px;margin:0;padding:6px 12px;font-size:12px}
.habitat-preview-pane{min-height:0;overflow:hidden;border-radius:16px}
.habitat-preview-pane .room{height:100%!important;min-height:0!important;aspect-ratio:auto!important;margin:0;background-size:cover!important;background-position:center 65%!important;background-color:#e5dbbd}
.habitat-preview-pane .room-pals{top:auto;bottom:6px;left:8px;right:8px;justify-content:space-evenly}
.habitat-preview-pane .pet-pal{width:40px;height:40px}
.habitat-preview-pane .pet-pal canvas{display:block;width:100%;height:100%}
.habitat-preview-pane .room-slot{width:34px;height:34px;font-size:18px;bottom:53px;top:auto}
.habitat-preview-pane .room-tree{font-size:22px;top:8px;left:10px}
.habitat-options{min-width:0;min-height:0;overflow:auto;overflow-x:hidden;overscroll-behavior:contain;touch-action:pan-y;padding:0 4px 12px;scroll-padding:12px}
.habitat-options>*{max-width:100%;box-sizing:border-box}
.habitat-options .theme-list,.habitat-options .shop,.habitat-options .collection{grid-template-columns:repeat(auto-fit,minmax(min(110px,100%),1fr))}
.habitat-options .shop{grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr))}
.habitat-options .decor{min-width:0}.habitat-options .decor-pick,.habitat-options .decor-places{width:100%;box-sizing:border-box}
@media(min-width:700px){.habitat-shell{grid-template-columns:minmax(180px,42%) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}.habitat-header{grid-column:1/-1}}
@media(max-height:480px) and (max-width:699px){.habitat-shell{grid-template-rows:auto 95px minmax(0,1fr)}.habitat-header h1{font-size:16px}}
#wpGuidedRoot .wp-guide-practice-pal.actual-rescue{background:transparent;border:0;box-shadow:none;animation:none;min-width:0;min-height:0;padding:0;border-radius:50%}
#wpGuidedRoot .wp-guide-practice-pal.actual-rescue>*{visibility:hidden}

/* One directional guide only; card actions retain their text and button affordance. */
#wpGuidedRoot .wp-guide-button-hand,#wpGuidedRoot .wp-guide-chip-hand{display:none!important;animation:none!important}
#wpGuidedRoot .wp-guide-tap-hand,#wpGuidedRoot .wp-guide-tap-hand.wp-guide-hand-control{z-index:6;pointer-events:none}

#wpGuidedRoot .wp-guide-ring.rescue-target{border-radius:50%!important;border-color:#a8efb4!important;box-shadow:0 0 0 5px #efffed8f,0 0 28px #92df9acc,inset 0 0 0 1px #fff!important;background:#e8ffe80b!important}

body.wp-guide-rescue-target-active #dangerAlert{visibility:hidden!important}

/* Current studio walkthrough + a permanently visible, keyboard-accessible escape. */
#wpGuidedRoot .wp-guide-card{display:flex;flex-direction:column;overflow:hidden;background:linear-gradient(155deg,#fff9e7,#fff1d8);border-color:#8a684c}
#wpGuidedRoot .wp-guide-body{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
#wpGuidedRoot .wp-guide-footer{display:flex;justify-content:flex-end;flex:none;padding-top:4px;margin-top:4px;border-top:1px solid #d6c2a6;background:transparent}
#wpGuidedRoot #wpGuideSkip{min-height:36px;padding:5px 10px;margin:0;border:1px solid #aa8969;border-radius:10px;background:#fff8e8;color:#644a37;font:800 11px/1.2 system-ui;cursor:pointer;pointer-events:auto;touch-action:manipulation}
#wpGuidedRoot #wpGuideSkip:hover{background:#f5e6cc}
#wpGuidedRoot .wp-guide-card h2{color:#5d402d}
#wpGuidedRoot .wp-guide-label{color:#786142}
#wpGuidedRoot .wp-guide-card .wp-guide-step-number{border-color:#b5a17e;background:#f9efd9;color:#6a5237}
#wpGuidedRoot .wp-guide-recovery{font-size:10px;color:#80543c;border-top:1px solid #dcc5a3;padding-top:6px}
#wpGuidedRoot .wp-guide-recovery[hidden]{display:none}
#wpGuidedRoot.wp-guide-play-card .wp-guide-footer{margin-top:3px;padding-top:2px}
#wpGuidedRoot.wp-guide-play-card #wpGuideSkip{min-height:32px;padding:3px 9px}
#wpGuidedRoot .wp-guide-card.wp-guide-recap{overflow:hidden!important}
#modal .wp-tutorial-menu{display:grid;gap:9px;max-width:380px;margin:auto}
#modal .wp-tutorial-menu h1{font-size:23px;margin:3px 0}
#modal .wp-tutorial-menu p{font-size:12px;line-height:1.4;margin:2px 0}
#modal .wp-tutorial-menu button{display:block;width:100%;min-height:48px;padding:10px 12px;border:2px solid #987650;border-radius:13px;background:#fff5dd;color:#60442e;font:850 14px/1.25 system-ui;text-align:left}
#modal .wp-tutorial-menu button small{display:block;font:650 11px/1.35 system-ui;margin-top:3px}
#modal .wp-tutorial-menu button.primary{background:#cce9ac;text-align:center}
#modal .wp-tutorial-menu button:disabled{opacity:.6;cursor:not-allowed}
.wp-settings-guided>#guidedTutorialMenu{width:100%;min-height:44px;margin:0;padding:8px 10px;border:2px solid #987650;border-radius:12px;background:#fff4d9;color:#60442e;font:900 13px/1.25 system-ui;cursor:pointer}
@media(pointer:coarse){#wpGuidedRoot #wpGuideSkip{min-height:40px}}
@media(max-height:540px){#wpGuidedRoot .wp-guide-card{max-height:calc(100dvh - 20px)}#wpGuidedRoot .wp-guide-footer{margin-top:2px;padding-top:2px}}

/* Level-7 browse tutorial: swipe/wheel on the overlay moves the actual room list.
   Do not block the visible target or hide its native pan-y scroll behavior. */
#wpGuidedRoot.wp-guide-studio-scroll .wp-guide-card{overscroll-behavior:contain}
#wpGuidedRoot.wp-guide-studio-scroll .wp-guide-mask{touch-action:none}
#wpGuidedRoot.wp-guide-studio-scroll .wp-guide-ring{pointer-events:none}
