/* Revision 18: compact village poster, matching card rows and bilingual branding. */
.poster-header .contact-icon{display:flex;width:auto;height:auto;gap:3px;white-space:nowrap;flex:none}
.contact-icon span{font-size:14px;color:#fff6dc}.contact-icon svg{width:30px;height:30px}
.poster-header #lang{position:relative;display:grid;place-items:center;flex:none;min-width:64px;width:auto;height:42px;padding:0 10px;border:3px solid #f5e8bc;border-radius:47% 53% 48% 52%;box-shadow:0 2px 0 #16394e55;background:#e1f5fd url('assets/crayon-sky.png') center/160px;color:#203f58;font-size:13px;line-height:1;letter-spacing:0;white-space:nowrap}
.poster-header #lang:after{content:'';position:absolute;inset:3px;border:1px dashed #557f92;border-radius:48%;pointer-events:none}
.poster-artwork{min-height:660px;background-size:auto,100% 100%}
.poster-intro{top:20px}.hero-cony{top:8px}
.poster-scene{height:350px}
.neighbor-daddy,.neighbor-mommy,.neighbor-juno,.neighbor-teo{bottom:30px;object-position:center bottom}
.poster-category{background-repeat:no-repeat;background-size:100% 100%;background-image:linear-gradient(#eaf7ffbb,#eaf7ffbb),url('assets/crayon-sky.png')}
.poster-watch{background-image:linear-gradient(#f9eef5cc,#f9eef5cc),url('assets/crayon-pink.png')}
.poster-play{background-image:linear-gradient(#fff7dfcc,#fff7dfcc),url('assets/crayon-peach.png')}
.poster-category-art,.poster-category-art.drawing-cony{height:154px;margin:-12px 0 8px;display:flex;align-items:end;justify-content:center}
.drawing-cony img{width:154px;height:154px;margin:0;object-fit:contain}
.poster-category h2{min-height:38px}.poster-category p{min-height:62px}
.story-layout{display:block;max-width:none}.story-layout>div{max-width:none;columns:2;column-gap:42px}.story-layout p{margin-top:0;break-inside:avoid}.story-layout h2{margin-bottom:24px;white-space:normal}
.story-banner{position:relative;margin:28px auto 0;padding:32px 12px 12px;max-width:980px;transform:none;background:#fff9e8;box-shadow:5px 6px 0 #98bac34d;border:1px solid #ddd7c5;border-radius:3px 4px 10px 5px}
.story-banner .sketchbook-binding{top:-8px;height:31px}.story-banner img{width:100%;height:auto}
.social-links a{color:white!important;border:0!important;min-width:140px;font-weight:700;box-shadow:0 3px 0 #203f5822}
.social-links a[href*="youtube"]{background:#ff0033!important}
.social-links a[href*="instagram"]{background:linear-gradient(125deg,#7638fa,#d62976 55%,#f78d32)!important}
.social-links a[href*="tiktok"]{background:#101010!important;border-left:3px solid #25f4ee!important;border-right:3px solid #fe2c55!important}
.social-links a[href*="facebook"]{background:#0866ff!important}
@media(min-width:761px) and (max-width:1100px){.poster-artwork{min-height:650px}.poster-intro{top:20px}.poster-scene{height:300px}.poster-header .site-nav{gap:1px}.poster-header .site-nav a{padding:7px 2px}.poster-header{padding-right:16px}.header-end{gap:7px}.poster-category h2{font-size:21px}}
@media(max-width:760px){.poster-artwork{min-height:0;padding-bottom:380px}.poster-scene{height:235px}.poster-intro{top:auto}.poster-header #lang{min-width:64px;height:39px;font-size:12px}.contact-icon span{font-size:12px}.poster-header .contact-icon{display:flex;width:auto}.poster-category-art,.poster-category-art.drawing-cony{height:145px;margin:0}.drawing-cony img{width:100%;height:145px}.poster-category h2,.poster-category p{min-height:0}.story-layout>div{columns:1}.neighbor-daddy,.neighbor-mommy,.neighbor-juno,.neighbor-teo{bottom:20px}.story-banner{padding:26px 6px 6px}.social-links a{min-width:130px}}
/* Intro is printed directly on the original sky, without a paper panel. */
:root{color-scheme:only light}
.poster-intro{background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding-top:14px!important;background-blend-mode:normal!important}
.poster-intro:before,.poster-intro:after,.poster-intro>.sketchbook-binding{display:none!important}
.poster-intro p{color:#203f58!important;text-shadow:0 1px 2px #ffffff,0 0 5px #ffffff;opacity:1}
.poster-header #lang{color:#16394e!important;font-weight:700;text-shadow:none!important}
/* Keep the illustration and its surrounding sky continuous. */
.poster-artwork{background:linear-gradient(180deg,#e0f3fa 0%,#edf9fb 50%,#e9f8fa 100%)!important}
.poster-scene{mask-image:linear-gradient(to bottom,transparent 0%,#000 38%)!important;-webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 38%)!important}
.story-banner{padding:31px 0 0!important;border:0!important;background:transparent!important;box-shadow:none!important;overflow:hidden}
.story-banner img{display:block;width:100%;height:auto;border:0!important;outline:0!important}
.story-banner .sketchbook-binding{top:0!important}
:root{color-scheme:only light}

/* Align both language variants with the introduction copy. */
.poster-intro .intro-logo{text-align:left}
.poster-intro .intro-logo img{margin-inline:0;object-position:left center}

/* Keep thumbnails centered and flush with both card edges. */
.episode .episode-art{display:block;width:100%;height:auto;aspect-ratio:16/9}
.episode .episode-art .episode-still{display:block;width:100%;max-width:none;height:100%;object-fit:cover}
/* Keep the approved crayon colors together in opaque image surfaces. */
.poster-stage,.poster-main .story,.poster-main .watch-section,.poster-main .social{background-image:url('assets/surface-sky.png');background-size:350px 140px}
.poster-main .friends-section,.poster-main .play-section{background-image:url('assets/surface-pink.png');background-size:130px 400px}
.poster-category{background-image:url('assets/surface-friends.png')}
.poster-watch{background-image:url('assets/surface-watch.png')}
.poster-play{background-image:url('assets/surface-play.png')}
.friend,.episode,.play-card,.play-card:nth-child(2),.play-card:nth-child(3){background-image:url('assets/surface-cream-texture.png')!important}
.palette-0 .friend-picture{background-image:url('assets/surface-peach-pattern.png')!important}
.palette-1 .friend-picture{background-image:url('assets/surface-sky-pattern.png')!important}
.palette-2 .friend-picture{background-image:url('assets/surface-pink-pattern.png')!important}
.palette-3 .friend-picture{background-image:url('assets/surface-foliage-pattern.png')!important;background-size:170px 285px!important}
.friend-picture{background-size:250px 160px!important}
.poster-artwork{background: url('assets/surface-hero.png') center/100% 100% no-repeat!important}


.friend,.episode,.play-card{background-size:100% 100%!important}
