/* Art only: retain the existing Home tile dimensions, ordering and labels. */
#home-screen .tile-picture[data-cover]{display:block;padding:0;transform:none;overflow:hidden;border:4px solid #fff;border-radius:23px;background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important;box-shadow:0 4px 0 #8b7d9a40}
#home-screen .tile-picture[data-cover]>*,#home-screen .tile-picture[data-cover]:before,#home-screen .tile-picture[data-cover]:after{display:none!important}
#home-screen [data-cover="puzzle"]{background-image:url("covers/puzzle.svg")!important}
#home-screen [data-cover="balloon"]{background-image:url("covers/balloon.webp")!important}
#home-screen [data-cover="space"]{background-image:url("covers/space.webp")!important}
#home-screen [data-cover="ocean"]{background-image:url("covers/ocean.svg")!important}
#home-screen [data-cover="pizza"]{background-image:url("covers/pizza.webp")!important}
#home-screen [data-cover="coloring"]{background-image:url("covers/coloring.svg")!important}
#home-screen [data-cover="peek"]{background-image:url("peek-art/meadow.webp")!important}
#home-screen [data-cover="slide"]{background-image:url("covers/slide.webp")!important}
#home-screen [data-cover="doctor"]{background-image:url("covers/doctor.webp")!important}
#home-screen .tile-picture[data-cover="family"]{background-image:url("covers/family-v3.svg")!important;background-size:cover!important;background-color:#142449!important}
#home-screen .family-tile{background:linear-gradient(145deg,#d9efff,#c9d8f8);color:#243c65}
/* Honest game previews: the same scene and artwork used during play. */
#home-screen .actual-doctor-cover{overflow:hidden;background:#d6e8de url('doctor-clinic-v2.webp') center/cover no-repeat;border:4px solid white;border-radius:23px}
#home-screen .actual-doctor-cover>svg{display:block;width:78%;height:92%;left:1%;bottom:3%;filter:drop-shadow(0 3px 2px #785d3b26)}
#home-screen .actual-doctor-cover .doctor-cover-tools{display:flex;flex-direction:column;gap:4%;position:absolute;right:4%;top:12%;bottom:12%;width:23%;padding:3%;transform:none;background:#f1e5f2e8;border:1px solid white;border-radius:12px;box-sizing:border-box}
#home-screen .doctor-cover-tools svg{display:block;width:100%;height:30%;background:#fffaf0;border-radius:6px}
#home-screen .actual-doctor-cover .doctor-character *{animation:none!important}
#home-screen .tile-picture.actual-balloon-cover{background-image:url('balloon-art/meadow.webp')!important;background-position:center bottom!important}
#home-screen .tile-picture.actual-balloon-cover>i{display:block!important;position:absolute;width:31%;height:42%;background:center/contain no-repeat;box-shadow:none;border-radius:0;transform:none}
#home-screen .actual-balloon-cover>i:nth-child(1){background-image:url('balloon-art/red.svg');left:4%;top:25%;rotate:-7deg}
#home-screen .actual-balloon-cover>i:nth-child(2){background-image:url('balloon-art/yellow.svg');left:34%;top:9%;rotate:4deg}
#home-screen .actual-balloon-cover>i:nth-child(3){background-image:url('balloon-art/blue.svg');right:3%;top:32%;rotate:9deg}
#home-screen .actual-balloon-cover>i:after{content:'';display:block;position:absolute;left:28%;top:97%;width:46%;height:64%;border:0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 66'%3E%3Cpath d='M15 2C-3 18 33 24 15 39S4 54 15 64' fill='none' stroke='%237d8194' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat}

/* Super Slide cover uses the actual game scene, water renderer and rider. */
#home-screen .actual-slide-cover{position:relative;overflow:hidden;background:#a4dbef url('super-slide-park.webp') center/cover no-repeat;border:4px solid white;border-radius:23px}
#home-screen .actual-slide-cover canvas{position:absolute;inset:0;width:100%;height:100%}
#home-screen .actual-slide-cover .slide-rider{left:48%;top:53%;width:42%;height:55%;transform:translate(-50%,-55%);filter:drop-shadow(0 3px 2px #365d8255)}
#home-screen .actual-slide-cover .slide-rider *{animation:none!important}
#home-screen .actual-slide-cover .slide-object{width:15%;height:18%;z-index:3}

#home-screen .actual-slide-cover .slide-rider-animal svg{left:0;right:auto}

/* Peek-a-Boo's Home preview shares the actual critters, letter cards and hideouts. */
#home-screen .actual-peek-cover>.peek-cover-friend{display:block!important;position:absolute;left:5%;top:6%;width:46%;height:92%;transform:none}
#home-screen .actual-peek-cover>.peek-cover-friend:nth-child(2){left:51%;top:13%;height:88%}
#home-screen .actual-peek-cover img{position:absolute;display:block;width:100%;object-fit:contain}
#home-screen .actual-peek-cover .peek-cover-animal{height:85%;bottom:10%;filter:drop-shadow(0 2px 1px #38582a44)}
#home-screen .actual-peek-cover .peek-cover-prop{height:33%;bottom:0;z-index:2}
#home-screen .actual-peek-cover b{position:absolute;display:grid;place-items:center;left:50%;bottom:23%;translate:-50% 0;width:40%;height:29%;font-size:clamp(23px,3vw,36px);background:linear-gradient(#fffcdf,#ffe9a4);border:2px solid #fff;border-radius:10px;box-shadow:0 3px 0 #be9454;color:#7254a0;line-height:1;font-weight:900;z-index:3;transform:rotate(-4deg)}

/* Every Home preview shares Birdhouse Rescue's wide scene frame. */
#home-screen{--home-preview-height:210px}
#home-screen .game-tile{justify-content:flex-start}
#home-screen .game-tile>.tile-picture{display:block;width:100%;height:var(--home-preview-height);min-height:var(--home-preview-height);flex:none;box-sizing:border-box;position:relative;overflow:hidden;padding:0;margin:0;transform:none;border:0;border-radius:24px;box-shadow:inset 0 0 0 3px #fff8,0 4px 12px #506a7820;isolation:isolate}
#home-screen .tile-picture[data-cover]{height:var(--home-preview-height)}
#home-screen .game-tile>strong{margin-top:15px}
#home-screen .actual-pizza-cover .pizza-cover-pie{width:calc(var(--home-preview-height)*.78);left:50%;top:9%;transform:translateX(-50%)}
#home-screen .actual-pizza-cover .pizza-cover-pin{width:35%;left:4%;bottom:3%;height:21%}
#home-screen .actual-peek-cover>.peek-cover-friend{width:36%;left:11%}
#home-screen .actual-peek-cover>.peek-cover-friend:nth-child(2){left:54%}
#home-screen .actual-slide-cover .slide-rider{width:30%;height:65%;left:49%;top:58%}
#home-screen .music-cover{background:#dccbab url('music-art/room-v1.webp') center/cover}
#home-screen .music-cover img{display:block;width:88%;height:94%;margin:1% auto;object-fit:contain;filter:drop-shadow(0 5px 3px #5b425940)}
#home-screen .mystery-picture{display:grid;place-items:center;background:radial-gradient(ellipse at 45% 28%,#fff9da,#ffe9a1 55%,#c6b0eb);font-size:105px;text-shadow:0 3px white}
@media(max-width:760px){#home-screen{--home-preview-height:155px}#home-screen .game-tile>.tile-picture{border-radius:18px}#home-screen .game-tile>strong{margin-top:11px}}
@media(max-width:430px){#home-screen{--home-preview-height:125px}#home-screen .game-tile>.tile-picture{border-radius:15px}#home-screen .mystery-picture{font-size:78px}}

/* Only eye blinks run on these Home miniatures; keep pose and layout steady. */
#home-screen .actual-doctor-cover .lisa-character-blink,#home-screen .actual-slide-cover .lisa-character-blink{animation:lisa-character-blink 3.4s linear infinite!important;animation-delay:var(--blink-delay,0s)!important}
#home-screen .dino-cover-friend .dino-walk-lids{animation:dino-painted-blink 3.4s linear infinite!important;animation-delay:-1.7s!important}
#home-screen .actual-peek-cover .peek-cover-model{position:absolute;display:block;width:100%;height:85%;left:0;bottom:10%;translate:none;aspect-ratio:auto;animation:none}
#home-screen .actual-peek-cover .peek-cover-model img,#home-screen .actual-peek-cover .peek-cover-model .peek-blink{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
#home-screen .actual-peek-cover .peek-cover-model .peek-blink{opacity:0;animation:lisa-character-blink 3.4s linear infinite;animation-delay:var(--cover-blink-delay,0s)}
@media(prefers-reduced-motion:reduce){#home-screen .actual-doctor-cover .lisa-character-blink,#home-screen .actual-slide-cover .lisa-character-blink,#home-screen .dino-cover-friend .dino-walk-lids,#home-screen .actual-peek-cover .peek-blink{animation:none!important;opacity:0}}
