/* StreetyPets v2 — an interactive storybook, with intrinsic image proportions. */
:root{--paper:#f5f8f1;--mint:#d4ebe0;--blue:#d6eaf6;--ink:#244d46;--mintdark:#236755;--muted:#62766d;--font:'Nunito',sans-serif;--heading:'Coiny',cursive}html[lang=ar]{--font:'Baloo Bhaijaan 2',sans-serif;--heading:'Baloo Bhaijaan 2',sans-serif}body{font-size:18px;line-height:1.7}img{height:auto}h1,h2,h3{font-family:var(--heading);font-weight:400;letter-spacing:-.025em;line-height:1.18;text-wrap:balance}html[lang=ar] h1,html[lang=ar] h2,html[lang=ar] h3{font-weight:800;line-height:1.35;letter-spacing:-.025em}.wrap{width:min(1240px,calc(100% - 72px))}.header-inner{min-height:84px}.brand img{height:auto;width:110px;aspect-ratio:115/76;object-fit:contain}.nav a{font-size:17px;font-weight:700}.nav{gap:30px}.lang-select{font-size:15px}.eyebrow,html[lang=ar] .eyebrow{font-family:var(--font);font-size:14px;letter-spacing:.06em;font-weight:700}html[lang=ar] .eyebrow{letter-spacing:0;font-size:17px}.btn{font-size:17px;min-height:50px;background:var(--mintdark);border-radius:18px;box-shadow:0 4px 0 #173f3312}.btn:hover{transform:translateY(-3px)}.text-link{white-space:normal}.section{padding-block:80px}.section-head{gap:60px}.section-head h2{font-size:clamp(32px,4vw,52px)}.section-head p{max-width:420px;line-height:1.8}.pet-hero{background:var(--paper);padding-top:36px}.pet-hero-layout{display:grid;grid-template-columns:.85fr 1.15fr;align-items:center;gap:50px;min-height:580px}.pet-intro h1{font-size:clamp(52px,5vw,76px);margin:21px 0 24px;line-height:1.16}html[lang=ar] .pet-intro h1{font-size:clamp(52px,5.8vw,82px);line-height:1.3}.pet-intro h1 em{font-style:normal;color:var(--mintdark)}.pet-intro>p{font-size:20px;max-width:470px;color:#526d61;line-height:1.8;margin-bottom:26px}.pet-select{display:inline-flex;padding:6px;gap:8px;background:#e5ede5;border-radius:22px;border:1px solid #cfded1}.pet-select button{background:transparent;border:0;border-radius:17px;padding:9px 24px;font-weight:700;font-size:21px;transition:background .3s,box-shadow .3s;min-width:120px}.pet-select button span{display:block;font-weight:400;font-size:14px;line-height:1.3;color:var(--muted)}.pet-select button.selected{background:#fffef7;box-shadow:0 3px 12px #244d4610}.pet-intro .pet-instruction{font-size:15px;margin:14px 0 0;max-width:none}.pet-stage{--px:0px;--py:0px;position:relative;aspect-ratio:1.08;width:100%;background:var(--mint);border-radius:47% 47% 18px 18px;isolation:isolate;overflow:hidden;transition:background .8s}.stage-halo{position:absolute;width:75%;aspect-ratio:1;inset:17% auto auto 13%;background:#e5f4da;border-radius:50%;transform:translate(var(--px),var(--py));transition:transform .2s,background .8s;z-index:-1}.dog-mode{background:#d8eaf2}.dog-mode .stage-halo{background:#eef3e6}.pet-stage.evening{background:#a7cdd1}.pet-stage.evening .stage-halo{background:#dbe2c7}.stage-edition{position:absolute;bottom:86px;left:27px;writing-mode:vertical-rl;letter-spacing:.12em;font:700 12px var(--font);opacity:.55}.day-toggle{position:absolute;top:42px;inset-inline-end:35px;background:none;border:0;color:var(--ink);font-size:14px;display:flex;align-items:center;gap:9px;z-index:4}.day-toggle span{font-size:22px}.pet-speech{position:absolute;top:18%;left:17%;width:66%;min-height:62px;background:#fffff4f5;border-radius:22px 22px 22px 5px;padding:15px 23px;line-height:1.6;text-align:center;font-weight:600;font-size:18px;z-index:3;box-shadow:0 5px 12px #456d3e08}.pet-character{position:absolute;left:17%;top:31%;width:66%;padding:0;background:none;border:0;transform-origin:50% 80%;z-index:2;cursor:pointer;transition:filter .2s}.pet-character[hidden]{display:none}.pet-character img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;transform:translate(var(--px),var(--py));transition:transform .3s;pointer-events:none}.pet-character:hover{filter:brightness(1.025)}.pet-character:focus-visible{outline-offset:-25px;border-radius:50%}.stage-pet-name{position:absolute;bottom:91px;inset-inline-end:34px;font-family:var(--heading);font-size:29px;transform:rotate(-7deg);opacity:.65}.pet-stage-actions{position:absolute;left:0;right:0;bottom:0;display:flex;padding:20px;gap:12px;background:#eef7ed90;backdrop-filter:blur(12px);border-top:1px solid #ffffff60;z-index:4}.stage-action{flex:1;padding:11px 12px;background:#fcfff4cc;border:1px solid #bdd6c7;border-radius:16px;text-align:center;font-size:16px;font-weight:700;transition:background .2s,transform .2s}.stage-action:hover{background:white;transform:translateY(-2px)}.kindness-line{display:flex;justify-content:space-between;gap:25px;align-items:center;padding-block:27px;border-bottom:1px solid var(--line);font-size:15px}.kindness-line>span{display:flex;gap:9px;align-items:center}.pet-burst{position:absolute;left:50%;top:60%;z-index:5;pointer-events:none}.pet-burst span{position:absolute;font-size:30px;color:#e18aaa;animation:heart-burst 1s ease-out both;--angle:calc(var(--i)*55deg - 110deg)}@keyframes heart-burst{from{opacity:1;transform:rotate(var(--angle)) translateY(0) rotate(calc(-1*var(--angle)))}to{opacity:0;transform:rotate(var(--angle)) translateY(-125px) rotate(calc(-1*var(--angle)))}}@keyframes pet-hello{0%,100%{transform:rotate(0) translateY(0)}25%{transform:rotate(-5deg) translateY(-9px)}50%{transform:rotate(4deg) translateY(-13px)}75%{transform:rotate(-2deg) translateY(-4px)}}@keyframes pet-idle{0%,100%{transform:translateY(0) rotate(-.7deg)}50%{transform:translateY(-7px) rotate(.7deg)}}.chapter-tabs{display:flex;border-block:1px solid var(--line);margin:35px 0 32px;overflow-x:auto;gap:0;padding:0;scrollbar-width:thin}.chapter-tabs button{background:none;flex:1;min-width:max-content;padding:19px 17px;border:0;border-bottom:3px solid transparent;color:var(--muted);font-weight:600;font-size:17px;transition:background .2s}.chapter-tabs button span{font-size:12px;display:block;letter-spacing:.1em;opacity:.5;line-height:1.7}.chapter-tabs button.selected{color:var(--mintdark);background:#e6eee4;border-bottom-color:var(--mintdark)}.book-shelf{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;animation:appear .4s ease}.guide-card{border:0;background:none;border-radius:0;overflow:visible;box-shadow:none;transition:transform .25s}.guide-card:hover{transform:translateY(-6px);box-shadow:none}.card-top{border-radius:9px 23px 23px 9px;min-height:160px;position:relative;padding:23px 25px;background:#d9e9de;border-inline-start:7px solid #779f8835;overflow:hidden;box-shadow:5px 6px 0 #244d4609}.guide-card:nth-child(3n+2) .card-top{background:#d6e8f1}.guide-card:nth-child(3n+3) .card-top{background:#efdfdb}.card-top:after{content:'';position:absolute;width:135px;aspect-ratio:1;border:1px solid #ffffffa0;border-radius:50%;bottom:-72px;inset-inline-end:-22px}.card-index{font-family:var(--heading);font-size:51px;font-weight:400;color:#476956a8;line-height:1}.card-category{align-self:end;max-width:60%;font-size:16px;font-weight:600}.card-body{padding:23px 1px 4px}.guide-card h3{font-family:var(--heading);font-size:25px;line-height:1.32}.guide-card p{font-size:17px;line-height:1.65;max-width:90%;color:var(--muted);margin-bottom:20px}.card-meta{font-size:14px;gap:15px;flex-wrap:wrap}.card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:35px 28px}.shelf-end{display:flex;justify-content:center;margin-top:35px}.play-break{background:#dcecf4;padding-block:70px;border-block:1px solid #ccdfe5}.play-break-inner{display:grid;grid-template-columns:.85fr 1.15fr;gap:80px;align-items:center}.play-copy h2{font-size:clamp(34px,4vw,54px);margin:16px 0 20px}.play-copy p{margin-bottom:20px}#daily-question{background:#f8faf3;border-radius:22px;padding:32px;box-shadow:0 6px 0 #4469600a}.question{font-family:var(--heading);font-size:26px;line-height:1.4;font-weight:400}.option{background:white;border:1px solid #ceded4;font-size:18px;min-height:54px;border-radius:14px;transition:transform .18s,background .18s}.option:not(:disabled):hover{transform:translateX(4px);background:#e6f0e1}.mony-note{text-align:center;max-width:710px}.mony-note .eyebrow{justify-content:center}.mony-note h2{font-size:clamp(33px,4vw,52px);margin:17px 0 20px}.mony-note p{font-size:20px;max-width:610px;margin:0 auto 24px}.page-intro{max-width:800px;padding-block:58px 35px}.page-intro h1{font-size:clamp(40px,5vw,68px);margin:18px 0 24px}.page-intro p{font-size:20px;line-height:1.8;max-width:690px}.search{border-radius:14px;max-width:690px}.filters{padding:0 0 23px;border-bottom:1px solid var(--line);margin-bottom:25px}.chip{border-radius:12px;font-size:16px;min-height:42px}.chip.selected{background:var(--mintdark);border-color:var(--mintdark);color:white}.results-caption{font-size:16px}.article-wrap{max-width:860px}.article-wrap h1{font-size:clamp(36px,4.5vw,65px)}.story{border-radius:12px 35px 35px 12px;border-inline-start:5px solid #a2c4b1;font-family:var(--font);font-size:23px;line-height:1.9;background:#e2eedf}.article-section h2,.takeaway h2{font-size:33px}.steps li{font-family:var(--font);font-size:21px;line-height:1.9}.takeaway{border-radius:24px;background:#daeaf3}.article-wrap .card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.games-grid{gap:28px}.game-card{border-radius:22px;min-height:340px;border:0;box-shadow:0 5px 0 #355d4710}.game-card h2{font-size:34px}.game-card p{font-size:19px}.game-scene{height:auto;aspect-ratio:3/1;overflow:hidden;border-radius:24px 24px 0 0}.game-scene img{width:100%;height:100%;object-fit:cover;object-position:center 60%}.game-area{max-width:860px;margin:auto}.game-question h2{font-size:29px}.game-question{padding:38px;border:1px solid var(--line);border-radius:0 0 22px 22px;background:#fffef7}.game-question .option{text-align:start}.result-panel{padding:45px;background:#e2efdd;border-radius:0 0 25px 25px}.sticker{border-radius:40% 40% 18px 18px}.passport{border-radius:22px}.mony-art{width:100%;aspect-ratio:1;overflow:hidden}.mony-art img{width:100%;height:100%;object-fit:contain}.about-layout{grid-template-columns:1.2fr .8fr}.about-layout .mony-art{min-width:0}.surprise>img{height:auto;max-height:none;width:min(100%,1100px);aspect-ratio:3/2;object-fit:contain;margin:auto}.surprise h1{font-size:clamp(40px,5.5vw,76px)}.surprise p{font-size:21px}.footer-main{align-items:start}.footer-links{font-size:16px;flex-wrap:wrap}.assistant-launch{border-radius:18px;font-size:16px}.assistant{border-radius:22px}.sources{font-size:16px}.source-label{font-size:17px}.note{font-size:15px}.article-meta{font-size:15px}.pet-stage,.pet-intro{animation:appear .7s ease both}.pet-intro{animation-delay:.1s}
@media(prefers-reduced-motion:no-preference){.pet-character.active{animation:pet-idle 5s ease-in-out infinite}.pet-character.greeting{animation:pet-hello .85s ease both}[data-reveal]{opacity:0;transform:translateY(30px);transition:opacity .7s,transform .7s}[data-reveal].revealed{opacity:1;transform:none}.stage-halo{animation:breathe 8s ease-in-out infinite}}
@media(min-width:1400px){.pet-hero-layout{gap:70px}.pet-stage{max-width:640px}.pet-character{top:28%}}
@media(max-width:1050px){.wrap{width:calc(100% - 48px)}.pet-hero-layout{gap:30px;min-height:500px;grid-template-columns:.9fr 1.1fr}.pet-intro h1,html[lang=ar] .pet-intro h1{font-size:55px}.pet-intro>p{font-size:18px}.pet-speech{top:17%;padding:10px 15px;font-size:17px;width:74%;left:13%}.day-toggle{top:28px;font-size:13px;inset-inline-end:28px}.pet-character{top:29%;width:68%;left:16%}.stage-pet-name{bottom:83px;font-size:24px;inset-inline-end:20px}.pet-stage-actions{padding:15px;gap:8px}.stage-action{font-size:14px;padding:10px}.stage-edition{left:19px;font-size:11px;bottom:80px}.play-break-inner{gap:45px}.book-shelf{gap:22px}.guide-card h3{font-size:23px}.nav{gap:19px}.section-head{gap:30px}}
@media(max-width:900px){.wrap{width:calc(100% - 36px)}.header-inner{min-height:72px}.brand img{width:88px;height:auto}.nav{top:72px}.nav a{font-size:18px}.lang-select{font-size:14px;padding:7px 10px}.pet-hero{padding-top:23px}.pet-hero-layout{grid-template-columns:1fr;gap:22px;min-height:0}.pet-intro{text-align:center}.pet-intro .eyebrow{justify-content:center}.pet-intro h1,html[lang=ar] .pet-intro h1{font-size:46px;margin:10px 0 10px;line-height:1.25}.pet-intro>p{font-size:17px;max-width:360px;margin:0 auto 16px;line-height:1.65}.pet-select{padding:4px;gap:5px;border-radius:19px}.pet-select button{min-width:115px;font-size:20px;padding:5px 20px}.pet-select button span{font-size:13px}.pet-intro .pet-instruction{font-size:14px;margin-top:10px}.pet-stage{width:min(100%,430px);aspect-ratio:1.13;margin:0 auto;border-radius:44% 44% 18px 18px}.pet-speech{top:17%;font-size:16px;padding:11px 15px;width:74%;left:13%;min-height:55px;line-height:1.5}.pet-character{top:28%;width:66%;left:17%}.stage-halo{top:20%}.pet-stage-actions{padding:12px;gap:8px}.stage-action{font-size:14px;min-height:43px;display:flex;align-items:center;justify-content:center;padding:8px}.stage-pet-name{bottom:79px;font-size:23px;inset-inline-end:20px}.stage-edition{font-size:10px;left:17px;bottom:77px}.day-toggle{font-size:12px;top:24px;inset-inline-end:30px}.kindness-line{padding-block:20px;justify-content:center;font-size:13px}.kindness-line>a{display:none}.section{padding-block:52px}.section-head{gap:17px}.section-head h2{font-size:36px}.section-head p{font-size:18px;max-width:360px}.chapter-tabs{margin:23px 0 27px;width:100%;gap:0}.chapter-tabs button{font-size:16px;min-width:115px;padding:13px 15px}.chapter-tabs button span{font-size:12px}.book-shelf{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;padding:0 4px 18px;margin-inline:-4px;scrollbar-width:thin}.book-shelf .guide-card{flex:0 0 78%;scroll-snap-align:start}.card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 18px}.card-top{min-height:130px;padding:20px}.card-index{font-size:43px}.card-category{font-size:15px}.card-body{padding:20px 0 0}.guide-card h3{font-size:24px}.guide-card p{font-size:16px;max-width:100%}.card-meta{font-size:14px;gap:9px}.shelf-end{margin-top:22px}.play-break{padding-block:46px}.play-break-inner{grid-template-columns:1fr;gap:24px}.play-copy h2{font-size:36px;margin:12px 0 14px}.play-copy p{margin-bottom:14px}#daily-question{padding:23px}.question{font-size:24px}.option{font-size:17px;padding:13px 16px}.mony-note h2{font-size:35px}.mony-note p{font-size:18px}.page-intro{padding-block:35px 25px}.page-intro h1{font-size:40px;margin:13px 0 18px}.page-intro p{font-size:18px}.filters{padding-bottom:15px}.chip{font-size:15px}.results-caption{font-size:15px}.article-wrap h1{font-size:37px}.story{font-size:21px;padding:24px}.steps li{font-size:19px}.article-wrap .card-grid{grid-template-columns:1fr}.takeaway{padding:23px}.article-action .btn{font-size:15px}.article-meta{font-size:14px}.game-scene{aspect-ratio:2.2/1;height:auto}.game-scene img{height:100%;width:100%;object-fit:cover}.game-question{padding:25px}.game-question h2{font-size:25px}.games-grid{gap:22px}.game-card{min-height:285px}.game-card h2{font-size:33px}.about-layout{grid-template-columns:1fr}.about-layout .mony-art{width:min(320px,100%);aspect-ratio:1;height:auto}.surprise{padding-top:36px}.surprise h1{font-size:46px}.surprise p{font-size:19px}.surprise>img{width:100%;height:auto;aspect-ratio:3/2;object-fit:contain}.assistant-launch{font-size:14px}.footer-main,.footer-bottom{gap:18px}.footer-bottom{font-size:14px}.mony-art img{height:100%;object-fit:contain}.pet-intro .eyebrow{font-size:14px}html[lang=ar] .pet-intro .eyebrow{font-size:16px}}
@media(max-width:430px){.card-grid{grid-template-columns:1fr}.card-top{min-height:150px}.pet-intro h1,html[lang=ar] .pet-intro h1{font-size:42px}.pet-intro>p{max-width:330px}.pet-stage{aspect-ratio:1.1}.pet-character{top:27%;left:15%;width:70%}.pet-speech{font-size:15px}.kindness-line{font-size:12px}.book-shelf .guide-card{flex-basis:84%}.stage-action{font-size:14px}.page-intro h1{font-size:37px}.day-toggle{top:22px;inset-inline-end:26px}}
@media(max-width:340px){.pet-intro h1,html[lang=ar] .pet-intro h1{font-size:36px}.pet-speech{font-size:14px}.stage-pet-name,.stage-edition{display:none}.pet-stage-actions{padding:9px}.stage-action{font-size:13px}.pet-select button{min-width:105px}.kindness-line{font-size:11px}}
@media(prefers-reduced-motion:reduce){.pet-character,.stage-halo,.pet-burst span{animation:none!important}[data-reveal]{opacity:1;transform:none}}
@media print{.pet-stage,.pet-select,.play-break,.chapter-tabs{display:none!important}}
/* A full-body character stays above the action bar at every viewport. */
.stage-edition,.stage-pet-name{display:none}.day-toggle{top:7%;left:50%;inset-inline-end:auto;transform:translateX(-50%);white-space:nowrap}.pet-character{left:25%;top:29%;width:50%}
@media(max-width:900px){.pet-stage{aspect-ratio:1}.pet-character{left:23.5%;top:28%;width:53%}.day-toggle{top:6%;left:50%;inset-inline-end:auto}}
@media(max-width:340px){.pet-character{left:25%;top:27%;width:50%}}
.day-toggle{inset-inline-end:auto;left:50%;right:auto;transform:translateX(-50%)}.pet-speech{top:16%}
@media(max-width:900px){.pet-stage{aspect-ratio:.95}.pet-speech{top:11%}.pet-character{top:30%;left:23.5%;width:53%}.day-toggle{inset-inline-end:auto;left:50%;right:auto;top:3.5%}.menu-button{display:block}.nav{display:none;position:absolute;top:72px;left:0;right:0;background:var(--paper);padding:20px 25px;box-shadow:0 16px 25px #2c4b4214;border-bottom:1px solid var(--line);flex-direction:column;align-items:stretch;gap:8px}.nav.open{display:flex}.games-grid{grid-template-columns:1fr}.mony-section{grid-template-columns:1fr}.about-layout .mony-art{position:static;order:-1}.footer-main,.footer-bottom{flex-direction:column}.game-area{grid-template-columns:1fr}}
.card-top{display:flex;flex-direction:column;gap:21px;min-height:255px;padding:26px 30px}.card-category{align-self:start;max-width:none;font-size:15px;opacity:.75}.card-top h3{font-size:27px;line-height:1.3;margin:0;max-width:100%;flex:1;color:#2a5346}.card-index{position:absolute;bottom:22px;inset-inline-end:25px;font:700 14px var(--font);color:#526c5e}.book-animal{font-size:14px;opacity:.7}.card-body{padding-top:20px}.card-meta{justify-content:space-between}.card-meta span:last-child{color:var(--mintdark);font-weight:700}.day-toggle{font-size:14px}
@media(max-width:1050px){.card-top{padding:24px;min-height:245px}.card-top h3{font-size:24px}}
@media(max-width:900px){.card-top{min-height:250px;padding:25px}.card-top h3{font-size:27px}.card-category{font-size:15px}.day-toggle{font-size:14px}.pet-speech{font-size:15px}}
@media(max-width:430px){.card-top{min-height:235px}.card-top h3{font-size:26px}}
.game-scene{margin-bottom:0}.game-scene img{max-height:none}.quiz-count,.score{direction:ltr;unicode-bidi:isolate}html[lang=ar] .quiz-count{text-align:right}footer img{height:auto;object-fit:contain}
