.cover-setting{padding:10px 12px;margin:8px 0 14px;background:#e4cdab;border:1px solid #b98d58;border-radius:12px}
.cover-setting button{margin:0;background:#203e30;color:#fff0d8;min-height:44px}
.cover-setting button[aria-checked="true"]{background:#b75d31}
.cover-setting p{font-size:12px;line-height:1.45;margin:7px 0 0}
#coverScreenStatus{font-size:11px;line-height:1.35;margin-top:7px;overflow-wrap:anywhere}
#coverScreenPreview{margin-top:7px;background:#efe0c6;color:#203e30;border:1px solid #b98d58}
#coverScreenPreview[hidden],.cover-quick-actions[hidden],.cover-quick-actions button[hidden],#coverMapleHotspot[hidden],#coverPlacesToggle[hidden],#coverPageSwitch[hidden],#coverPiggyRecall[hidden]{display:none!important}
body:not(.cover-screen-active) #coverSubscenes{display:none!important}
body.cover-screen-active{min-width:0;overflow:hidden;background:#203e30}
body.cover-screen-active .app{width:100%;max-width:none;min-width:0;height:100dvh;min-height:0;padding:0;overflow:hidden}
body.cover-screen-active header{position:absolute;right:3px;top:3px;z-index:40;margin:0;height:auto}
body.cover-screen-active header{display:none!important}
body.cover-screen-active header .eyebrow,body.cover-screen-active .brand,body.cover-screen-active .device-clock,body.cover-screen-active #piggyLadyTop,body.cover-screen-active #sound{display:none!important}
body.cover-screen-active .tools{gap:0}
body.cover-screen-active #settings{width:38px;height:38px;font-size:22px;background:#f4e5c9f2;border:2px solid #805c3c;border-radius:11px}
body.cover-screen-active .game{display:block;width:100%;height:100dvh;border:0;border-radius:0;overflow:hidden;box-shadow:none}
body.cover-screen-active .panel,body.cover-screen-active .footer{display:none!important}
body.cover-screen-active #world{position:relative;width:100%;height:100%;min-height:0;padding:0;overflow:hidden}
body.cover-screen-active #world .environment-rail,body.cover-screen-active #world .woods-spot-picker,body.cover-screen-active #world .bogs-spot-picker,body.cover-screen-active #world .farms-spot-picker,body.cover-screen-active #world .floorlabel,body.cover-screen-active #insideScrollControl,body.cover-screen-active #world .topline,body.cover-screen-active #world .sub{display:none!important}
body.cover-screen-active #homeDecorLayer,body.cover-screen-active #homeDecorLayer .decor-sticker{pointer-events:none!important}
body.cover-screen-active #world.world .location{position:absolute!important;top:5px!important;left:50px!important;right:48px!important;transform:none!important;margin:0!important;padding:5px 7px!important;max-width:none;font-size:13px!important;line-height:1.15!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;color:#fff0d8!important;background:#203e30d9!important;border:1px solid #f4dba4b0;border-radius:9px;z-index:10}
body.cover-screen-active #world .petwrap{--cover-maple-size:min(52vw,88dvh,250px);position:absolute!important;top:calc(50% + 10px)!important;left:var(--cover-x,50%)!important;right:auto!important;bottom:auto!important;transform:translate(-50%,-50%) scaleX(var(--cover-facing,1))!important;transition:left 1.7s cubic-bezier(.45,.05,.45,1);width:var(--cover-maple-size)!important;height:var(--cover-maple-size)!important;min-height:0!important;max-width:none!important;margin:0!important;z-index:5;display:flex;align-items:end;justify-content:center;will-change:left}
body.cover-screen-active #world:is(.cover-menu-open,.cover-places-open) .petwrap{transition:left .25s ease}
body.cover-screen-active #world #coverPlacesToggle{position:absolute;left:5px;top:5px;z-index:36;width:43px;height:43px;padding:2px;border:2px solid #caa46c;border-radius:10px;background:#244936;color:#fff0d8;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;box-shadow:0 2px 6px #1b2b20a8;touch-action:manipulation}
body.cover-screen-active #coverPlacesToggle span,body.cover-screen-active #coverPlacesToggle svg{display:block;width:23px;height:23px}
body.cover-screen-active #coverPlacesToggle small{font:700 9px 'DM Sans',sans-serif;line-height:1}
body.cover-screen-active #world.cover-places-open #coverPlacesToggle span,body.cover-screen-active #world.cover-places-open #coverPlacesToggle small{display:none}
body.cover-screen-active #world.cover-places-open #coverPlacesToggle::after{content:'×';font:30px Georgia,serif;line-height:1}
body.cover-screen-active #world.cover-menu-open .location{display:none!important}
body.cover-screen-active #world #coverPageSwitch{position:absolute;top:5px;left:50px;right:48px;z-index:24;min-height:36px;padding:3px 8px;border:1px solid #f4dba4b0;border-radius:9px;background:#203e30e8;color:#fff0d8;font:700 14px 'DM Sans',sans-serif;text-align:center;touch-action:manipulation}
body.cover-screen-active:has(#world.cover-places-open) header{display:none}
body.cover-screen-active #world.cover-places-open .environment-rail{display:grid!important;position:absolute!important;z-index:34;top:0!important;left:0!important;width:100%!important;height:100%!important;max-height:none!important;transform:none!important;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(52px,auto);align-content:start;gap:7px;padding:56px 9px 10px;overflow-y:auto;overscroll-behavior:contain;border:0;border-radius:0;background:#f4e4c9;box-shadow:none}
body.cover-screen-active #world.cover-places-open .environment-rail::before{content:'Choose a place';position:absolute;top:13px;left:56px;right:12px;color:#294b37;font:700 18px Georgia,serif;line-height:1.2;text-align:center}
body.cover-screen-active #world.cover-places-open .environment-choice{min-height:52px!important;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:8px;padding:6px 9px;font:700 14px 'DM Sans',sans-serif;text-align:left;white-space:nowrap}
body.cover-screen-active #world.cover-places-open .environment-choice[hidden]{display:none!important}
body.cover-screen-active #world.cover-places-open .environment-icon{width:34px!important;height:34px!important;flex:0 0 34px!important}
body.cover-screen-active #world.cover-places-open .environment-icon svg{width:34px!important;height:34px!important}
body.cover-screen-active #world.cover-places-open .cover-subscenes{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;border-top:1px solid #c6a477;padding-top:6px}
body.cover-screen-active #world.cover-places-open .cover-subscenes[hidden]{display:none!important}
body.cover-screen-active #world.cover-places-open .cover-subscenes strong{grid-column:1/-1;font:700 11px 'DM Sans',sans-serif;color:#33513d}
body.cover-screen-active #world.cover-places-open .cover-subscene-choice{min-height:46px;padding:6px;border:1px solid #b89568;border-radius:7px;background:#f8edd8;color:#294b37;font:700 13px 'DM Sans',sans-serif}
body.cover-screen-active #world.cover-places-open .cover-subscene-choice[aria-pressed="true"]{background:#294b37;color:#fff0d0}
body.cover-screen-active #world.cover-places-open .cover-subscene-choice:disabled{opacity:.5}
body.cover-screen-active #world #pet{height:100%;max-height:100%;width:auto}
body.cover-screen-active #world #coverMapleHotspot{position:absolute;inset:0;z-index:30;width:100%;height:100%;padding:0;border:0;background:transparent;cursor:pointer;touch-action:manipulation}
body.cover-screen-active #world #coverMapleHotspot:focus-visible{outline:2px solid #ffcc79;outline-offset:-3px;border-radius:18px}
body.cover-screen-active #world .bubble{position:absolute!important;z-index:12;top:52px!important;left:auto!important;right:4px!important;bottom:auto!important;transform:none!important;max-width:min(160px,54vw);font-size:11px;line-height:1.2;padding:5px 7px;pointer-events:none}
body.cover-screen-active #world .needs-bar{display:none!important;position:absolute;left:4px;right:4px;bottom:173px;z-index:21;margin:0;padding:4px;background:#f6e7ccf5;border:2px solid #b98d58;border-radius:9px;opacity:1}
body.cover-screen-active #world.cover-menu-open .needs-bar{display:block!important}
body.cover-screen-active #world.cover-needs-hidden .needs-bar{display:none!important}
body.cover-screen-active #world .needs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}
body.cover-screen-active #world .need-mini{display:grid;grid-template-columns:26px minmax(0,1fr);grid-template-rows:26px auto;align-items:center;min-width:0;min-height:49px;padding:2px 3px;border-radius:5px;gap:0 2px;line-height:1}
body.cover-screen-active #world .need-mini-icon{display:grid;grid-column:1;grid-row:1;place-items:center;width:26px;height:26px;color:#8e4c29}
body.cover-screen-active #world .need-mini-icon svg{display:block;width:25px;height:25px}
body.cover-screen-active #world .need-mini-label{grid-column:1/-1;grid-row:2;font-size:12px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}
body.cover-screen-active #world .need-mini-value{grid-column:2;grid-row:1;font-size:20px;font-weight:800;white-space:nowrap;text-align:center}
body.cover-screen-active .cover-quick-actions{position:absolute;left:4px;right:4px;bottom:4px;z-index:22;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:6px;background:#e7cfaaed;border:2px solid #9f764c;border-radius:11px;max-height:55dvh;overflow:visible;touch-action:pan-y}
body.cover-screen-active .cover-quick-actions.cover-has-wake{grid-template-columns:repeat(3,minmax(0,1fr))}
body.cover-screen-active .cover-quick-actions button{min-width:0;min-height:74px;border:2px solid #9d794d;border-radius:8px;background:#fff1d9;color:#294b37;padding:3px 1px;font:800 15px/1.06 'DM Sans',sans-serif;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;touch-action:pan-y;text-align:center}
body.cover-screen-active .cover-quick-actions button span{font:38px Georgia,serif;line-height:1;color:#ae562c}
body.cover-screen-active .cover-quick-actions button svg{width:38px;height:38px;display:block}
body.cover-screen-active .cover-quick-actions button img{width:38px!important;height:38px!important;object-fit:contain}
body.cover-screen-active .cover-quick-actions button[data-action="covermeal"] span{display:flex;align-items:center;justify-content:center}
body.cover-screen-active .cover-quick-actions button[data-action="covermeal"] svg{width:28px;height:38px}
body.cover-screen-active .cover-quick-actions button[data-action="brownnoise"][aria-pressed="true"],body.cover-screen-active .cover-quick-actions button[data-action="adventurewalk"][aria-pressed="true"]{background:#d9e6cf;border-color:#3b684b}
body.cover-screen-active .cover-quick-actions button:disabled{opacity:.52}
body.cover-screen-active .cover-quick-actions #coverActionsClose{background:#294b37;color:#fff0d8;border:2px solid #d8b47b;border-radius:8px}
body.cover-screen-active .cover-quick-actions #coverActionsClose span{font:38px Georgia,serif;color:#fff0d8}
body.cover-screen-active .cover-quick-actions button[data-action="recall"]:not(:disabled){background:#294b37;color:#fff0d8}
body.cover-screen-active .cover-quick-actions button[data-action="recall"]:not(:disabled) span{color:#fff0d8}
body.cover-screen-active #world #packGamePanel{display:block;position:absolute;left:4px;right:4px;bottom:4px;z-index:23;max-height:min(110px,55dvh);overflow:auto;padding:5px 8px;border:2px solid #9f764c;border-radius:10px;background:#f4e5caf2;box-shadow:0 2px 8px #17291b99;scroll-margin:0}
body.cover-screen-active #world #packGamePanel[hidden]{display:none!important}
body.cover-screen-active #world #bathWashPanel{position:absolute;left:4px;right:4px;bottom:4px;z-index:24;max-height:49dvh;overflow:auto;padding:5px 8px;background:#f4e5caf2;box-shadow:0 2px 8px #17291b99}
body.cover-screen-active #world #bathWashPanel[hidden]{display:none!important}
body.cover-screen-active #world #bathWashPanel h3{font-size:14px}
body.cover-screen-active #world #bathWashPanel p{font-size:11px;margin:2px 0}
body.cover-screen-active #world #bathWashPanel .bath-wash-head button,body.cover-screen-active #world #bathWashPanel #bathWashDry{min-height:30px;padding:3px 9px}
body.cover-screen-active #world #packGamePanel h3{font-size:14px;line-height:1.1}
body.cover-screen-active #world #packStatus{font-size:11px;line-height:1.15;margin:3px 0;max-height:25px;overflow:auto}
body.cover-screen-active #world #packGamePanel .pack-controls{gap:4px;align-items:center}
body.cover-screen-active #world #packGamePanel .pack-controls button{min-height:30px;padding:4px 8px;font-size:11px;border-radius:7px}
body.cover-screen-active #world #packGamePanel #packSixTools{width:100%}
body.cover-screen-active #world #packGamePanel #buddyHelp{font-size:11px;margin:2px 0}
body.cover-screen-active #world #packGamePanel #buddyCast{min-height:34px;min-width:100px}
body.cover-screen-active #world #fetchbar.show{display:flex!important;position:absolute;top:48px;left:5px;right:5px;bottom:auto;z-index:22;padding:4px 6px;gap:5px;border:1px solid #b99160;border-radius:8px;background:#fbefdbed;font-size:11px;align-items:center}
body.cover-screen-active #world #fetchbar button{min-height:30px;padding:3px 6px;font-size:11px}
body.cover-screen-active #world #packPiggyToken:not(.placed){top:49%}
body.cover-screen-active .brown-noise-volume{width:min(254px,calc(100vw - 12px))}
body.cover-screen-active #world #pottyAlert:not([hidden]){position:absolute;left:4px;right:4px;top:51px;bottom:auto;z-index:25;display:flex;align-items:center;justify-content:space-between;gap:4px;padding:5px 7px;font-size:11px;line-height:1.2;background:#fbefdbf2;border:2px solid #b75d31;border-radius:8px}
body.cover-screen-active #world #pottyAlert button{min-width:84px;min-height:38px;padding:3px 5px;font-size:11px}
body.cover-screen-active #dialog{width:calc(100vw - 12px);max-width:none;max-height:calc(100dvh - 12px);padding:12px;overflow:auto;font-size:12px}
body.cover-screen-active #dialog h2{font-size:19px;margin:3px 0 8px}
@media(max-width:340px){
 body.cover-screen-active #world .petwrap{--cover-maple-size:min(76vw,55dvh,250px)}
 body.cover-screen-active #world .needs-bar{bottom:173px}
 body.cover-screen-active #world .need-mini{grid-template-columns:22px minmax(0,1fr);column-gap:1px}
 body.cover-screen-active #world .need-mini-icon{width:22px;height:22px}
 body.cover-screen-active #world .need-mini-icon svg{width:21px;height:21px}
 body.cover-screen-active #world .need-mini-value{font-size:17px}
 body.cover-screen-active #world #packGamePanel{max-height:150px}
}
@media(orientation:landscape) and (max-height:350px){
 body.cover-screen-active #world .needs{grid-template-columns:repeat(6,minmax(0,1fr))}
 body.cover-screen-active #world .needs-bar{bottom:96px}
 body.cover-screen-active #world .need-mini{min-height:49px}
 body.cover-screen-active .cover-quick-actions,body.cover-screen-active .cover-quick-actions.cover-has-wake{grid-template-columns:repeat(6,minmax(0,1fr))}
 body.cover-screen-active .cover-quick-actions button{min-height:74px;font-size:15px}
 body.cover-screen-active .cover-quick-actions button svg{width:38px;height:38px}
 body.cover-screen-active #world.cover-places-open .environment-rail{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:minmax(44px,auto);gap:5px;padding:46px 7px 5px}
 body.cover-screen-active #world.cover-places-open .environment-rail::before{top:11px;font-size:16px}
 body.cover-screen-active #world.cover-places-open .environment-choice{min-height:44px!important;gap:7px;padding:3px 7px;font-size:13px}
 body.cover-screen-active #world.cover-places-open .environment-icon{width:32px!important;height:32px!important;flex-basis:32px!important}
 body.cover-screen-active #world.cover-places-open .environment-icon svg{width:32px!important;height:32px!important}
 body.cover-screen-active #world.cover-places-open .cover-subscenes{grid-template-columns:repeat(4,minmax(0,1fr));padding-top:4px}
 body.cover-screen-active #world.cover-places-open .cover-subscenes strong{display:none}
 body.cover-screen-active #world.cover-places-open .cover-subscene-choice{min-height:40px;font-size:11px}
}
/* Cover display: keep scene targets visible while an activity is running. */
body.cover-screen-active #world #packGamePanel:not([hidden]){display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:center;column-gap:7px;left:50%;right:auto;bottom:3px;width:min(86vw,440px);max-height:86px;transform:translateX(-50%);padding:3px 6px;background:#f4e5cae8;overflow-x:hidden;overflow-y:auto}
body.cover-screen-active #world #packGamePanel h3{grid-column:1;grid-row:1;font-size:12px;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.cover-screen-active #world #packStatus{grid-column:1;grid-row:2;margin:0;max-height:28px;font-size:10px;line-height:1.15;overflow:hidden}
body.cover-screen-active #world #packGamePanel .pack-controls{grid-column:2;grid-row:1/3;max-width:205px;justify-content:flex-end;gap:3px}
body.cover-screen-active #world #packGamePanel .pack-controls button{min-height:36px;padding:3px 6px;font-size:10px}
body.cover-screen-active #world #bathWashPanel:not([hidden]){left:50%;right:auto;bottom:3px;width:min(90vw,450px);max-height:95px;transform:translateX(-50%);padding:4px 7px;overflow:auto}
body.cover-screen-active #world #fetchbar.show{left:50%;right:auto;top:auto;bottom:3px;transform:translateX(-50%);width:min(88vw,445px);max-height:56px;overflow:auto}
body.cover-screen-active #world #pottyAlert:not([hidden]){left:50%;right:auto;top:45px;width:min(86vw,440px);transform:translateX(-50%)}
@media (orientation:landscape) and (max-height:350px){
 body.cover-screen-active .cover-quick-actions{padding:3px;gap:3px}
 body.cover-screen-active .cover-quick-actions button{min-height:57px;font-size:12px;gap:0}
 body.cover-screen-active .cover-quick-actions button svg{width:29px;height:29px}
 body.cover-screen-active .cover-quick-actions button span{font-size:29px}
 body.cover-screen-active #world .needs-bar{bottom:74px}
}
