/* The shared world is scoped to the four redesigned tabs. Pet keeps its own skin. */
#app.is-world{position:relative;isolation:isolate;background:linear-gradient(180deg,#f5eefb,#eee3f8 540px,#f8f4fc 1100px);--world-surface:#fffbfff0;--world-text:#271b36;--world-muted:#7d6b8e;color:var(--world-text)}
#app.is-world::before{content:"";position:absolute;z-index:-1;inset:35px 0 auto;height:390px;background:url('/home-editorial.webp') center bottom/auto 390px no-repeat;mask-image:linear-gradient(180deg,transparent,#000 15%,#000 70%,transparent);pointer-events:none}
#app.is-world:not(.is-home)::before{height:280px;opacity:.17;background-position:right bottom;mask-image:linear-gradient(#000,transparent)}
.is-world .home-top,.is-world .catalog-top{margin-bottom:0}.is-world .home-pill,.is-world .home-bell{background:#fffcffb3;border:1px solid #fff8;box-shadow:0 4px 14px #6b458109}
.is-world .home-hero{background:none;margin:0 -20px 10px;border:0;border-radius:0;min-height:215px;overflow:visible;box-shadow:none}.is-world .home-hero::before,.is-world .home-hero::after{content:none}.is-world .home-welcome{padding:28px 0 24px 20px;width:65%}.is-world .eyebrow{color:#927ba5;font-size:9px;letter-spacing:.14em;font-weight:800}.is-world .home-welcome h1{font-size:33px;line-height:1.08;letter-spacing:-.045em}.is-world .home-welcome p{color:#7c658c;margin-top:14px;font-size:13px;line-height:1.55}.is-world .hero-cta{margin-top:18px;background:#fffcff;box-shadow:0 4px 14px #6f419111}
.is-world .home-actions{gap:11px}.is-world .home-action{background:#fffbffde;border:1px solid #fff9;box-shadow:0 5px 17px #62418109}.is-world .home-actions .home-action:first-child{background:#fffbffde}.is-world .home-section{margin-top:28px}.is-world .home-game{background:linear-gradient(145deg,#fffaff,#f8f0fc);border:1px solid #fffc;box-shadow:0 5px 15px #78579906}.is-world .home-featured-test{background:linear-gradient(120deg,#e4d0f5,#f8effc);box-shadow:none}.is-world .home-mission{background:#e9dbf57d;border:1px solid #fff8}
.is-world .catalog-toggle{margin-top:18px;background:#e7d9f0b0;border:1px solid #fffa}.is-world .catalog-banner{background:#e9d9f5 url('/home-editorial.webp') center 65%/cover no-repeat;box-shadow:none;color:#3c2350;border:1px solid #fff7;border-radius:24px;min-height:180px}.is-world .catalog-banner.tests{background-image:url('/home-editorial.webp')}.is-world .catalog-banner>div{width:62%;padding:20px}.is-world .catalog-banner h1{font-size:23px;line-height:1.13;max-width:180px}.is-world .catalog-banner p{font-size:11px;color:#80618e;line-height:1.5;max-width:170px}.is-world .catalog-banner button{background:#fffafb;color:#8050b7;box-shadow:0 3px 12px #6b448319}.is-world .catalog-heading{margin-top:25px}.is-world .catalog-item{background:var(--world-surface);box-shadow:0 4px 16px #79599107}.is-world .catalog-categories button{background:#fffaffad}.is-world .catalog-categories button.selected{background:#e8d8f5}
.is-world .page-intro{padding-top:10px;margin-bottom:22px}.is-world .page-intro>.eyebrow{margin-bottom:8px}.is-world .page-intro .top{margin:0;min-height:40px}.is-world .page-intro .top h1{font-size:30px;letter-spacing:-.045em}.is-world .page-intro .pill{background:#fffbffb0}.is-world .page-intro .ghost{display:grid;place-items:center;width:40px;height:40px;padding:10px;border:1px solid #fff9;border-radius:50%;background:#fffbff9c;color:#8d729c}.is-world .page-intro .ghost .glyph{width:20px;height:20px}.is-world .friends-screen>.seg{background:#e6d9f0a6;border:1px solid #fff8;margin-bottom:25px}.is-world .friends-screen .section{margin-top:25px}.is-world .social-empty{background:linear-gradient(150deg,#fffafec9,#ecddf7b0);padding:26px 20px 28px;border:1px solid #fff9}.is-world .social-empty>.art{width:88px;height:88px;margin-bottom:18px}.is-world .social-empty h3{font-size:18px;line-height:1.3}.is-world .social-empty p{color:#8b7498;font-size:12px}.is-world .shortcut-row button{background:#fffaffb8;border-color:#fff9;box-shadow:0 4px 14px #73528b05}.is-world .profile-identity{background:linear-gradient(120deg,#fdf9ffc7,#e8d7f5);border:1px solid #fff9;box-shadow:none;padding:25px 22px}.is-world .profile-identity .avatar{background:linear-gradient(140deg,#b28add,#8152b4);box-shadow:0 0 0 6px #fff7}.is-world .profile-identity h2{overflow-wrap:anywhere}.is-world .profile-screen .menu-list{background:#fffbffcb;border:1px solid #fff9;box-shadow:none}.is-world .profile-screen .pet-link{background:#fffbffcf;border:1px solid #fff9;box-shadow:none}
@media(max-width:370px){#app.is-world::before{height:370px;background-size:auto 370px;background-position:56% bottom}.is-world .home-hero{margin-inline:-14px;min-height:210px}.is-world .home-welcome{padding-left:14px;padding-top:28px;width:67%}.is-world .home-welcome h1{font-size:29px}.is-world .home-welcome p{font-size:12px;max-width:145px}.is-world .eyebrow{font-size:8px}.is-world .catalog-banner>div{width:65%;padding:18px 14px}.is-world .catalog-banner h1{font-size:20px;max-width:160px}.is-world .catalog-banner p{font-size:10px;max-width:150px}.is-world .page-intro .top h1{font-size:28px}}
/* Review pass: keep the character fully in frame; secondary pages need quiet backgrounds. */
#app.is-world::before{top:-14px;height:390px;background-position:right bottom;mask-image:linear-gradient(180deg,transparent,#000 15%,#000 73%,transparent)}
#app.is-world:not(.is-home)::before{top:0;height:320px;background:radial-gradient(ellipse at 90% 15%,#dfc9f450,transparent 75%);opacity:1;mask-image:none}
@media(max-width:370px){#app.is-world::before{top:-12px;height:370px;background-size:auto 370px;background-position:right bottom}}

/* Home: compact actions and a warmer, gently animated scene. */
.is-world.is-home .home-welcome p{max-width:195px;margin-top:13px;line-height:1.5}
.is-world.is-home .home-actions{gap:10px}
.is-world.is-home .home-actions .home-action{min-height:72px;padding:10px 12px;border-radius:21px;grid-template-columns:34px minmax(0,1fr) 8px;gap:8px;position:relative;overflow:hidden;background:linear-gradient(125deg,#fffaffed,#f7effbe8)}
.is-world.is-home .home-actions .home-action:nth-child(2){background:linear-gradient(125deg,#fffaffed,#f1e8fbe8)}
.is-world.is-home .home-actions .home-action:nth-child(3){background:linear-gradient(125deg,#fffaffed,#faedf7e8)}
.is-world.is-home .home-actions .home-action:nth-child(4){background:linear-gradient(125deg,#fffaffed,#f0e9fae8)}
.is-world.is-home .home-actions .home-action>.ui-art{width:34px;height:34px;position:relative;z-index:1}
.is-world.is-home .home-actions .home-action strong{font-size:14px}
.is-world.is-home .home-actions .home-action small{font-size:10px;margin-top:3px;line-height:1.35}
.hero-sparkles{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.hero-sparkles i{position:absolute;display:block;width:9px;height:9px;background:#fff9e9;clip-path:polygon(50% 0,63% 36%,100% 50%,63% 64%,50% 100%,37% 64%,0 50%,37% 36%);opacity:.7}
.hero-sparkles i:nth-child(1){left:56%;top:32%;width:8px;height:8px}
.hero-sparkles i:nth-child(2){right:8%;top:19%;width:6px;height:6px}
.hero-sparkles i:nth-child(3){right:3%;top:67%;width:10px;height:10px}
@keyframes world-breathe{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
@keyframes world-sparkle{0%,100%{opacity:.3;transform:scale(.85)}50%{opacity:.9;transform:scale(1)}}
@media(prefers-reduced-motion:no-preference){#app.is-world.is-home::before{animation:world-breathe 7s ease-in-out infinite}.hero-sparkles i{animation:world-sparkle 4s ease-in-out infinite}.hero-sparkles i:nth-child(2){animation-delay:-1.7s}.hero-sparkles i:nth-child(3){animation-delay:-2.8s}}
@media(hover:hover){.is-home .home-action:hover{transform:translateY(-2px)}}
@media(max-width:370px){.is-world.is-home .home-actions .home-action{padding:9px 9px;grid-template-columns:30px minmax(0,1fr) 6px;gap:6px;min-height:70px}.is-world.is-home .home-actions .home-action>.ui-art{width:30px;height:30px}.is-world.is-home .home-actions .home-action strong{font-size:13px}.is-world.is-home .home-actions .home-action small{font-size:10px}.is-world.is-home .home-welcome p{max-width:155px;font-size:12px}}
/* Home density: group related content instead of distributing it down the page. */
#app.is-world.is-home::before{top:-32px;height:350px;background-size:auto 350px}
.is-world.is-home .home-top{height:48px}
.is-world.is-home .home-hero{min-height:174px;margin-bottom:4px}
.is-world.is-home .home-welcome{padding-top:20px;padding-bottom:20px}
.is-world.is-home .home-welcome>.eyebrow{display:none}
.is-world.is-home .home-welcome p{margin-top:10px}
.is-world.is-home .home-actions{gap:8px}
.is-world.is-home .home-actions .home-action{min-height:68px;padding-block:8px;border-radius:19px}
.is-world.is-home .home-section{margin:16px 0 6px;min-height:30px}
.is-world.is-home .home-section h2{line-height:1.2}
.is-world.is-home .home-games{grid-auto-columns:calc((100% - 16px)/3);gap:8px;padding-bottom:2px}
.is-world.is-home .home-game{min-height:136px;padding:8px 10px 10px;border-radius:20px}
.is-world.is-home .home-game>.art{width:54px;height:54px;margin:0 auto 6px}
.is-world.is-home .home-game strong{font-size:14px;line-height:1.2}
.is-world.is-home .home-game small{font-size:10px;line-height:1.35;margin-top:4px}
.is-world.is-home .home-featured-test{padding:17px 20px;border-radius:22px}
.is-world.is-home .featured-copy>small{margin-bottom:7px}
.is-world.is-home .featured-copy>strong{font-size:20px;line-height:1.15}
.is-world.is-home .featured-copy>span{margin:7px 0 11px;font-size:12px;line-height:1.4}
.is-world.is-home .home-featured-test>.art{width:100px;height:100px;top:33px}
.is-world.is-home .home-mission{margin-top:16px;padding:14px 16px}
@media(max-width:370px){.is-world.is-home .home-hero{min-height:166px}.is-world.is-home .home-welcome{padding-top:18px}.is-world.is-home .home-actions .home-action{min-height:66px}.is-world.is-home .home-game{padding-inline:8px;min-height:132px}.is-world.is-home .home-game strong{font-size:12px}.is-world.is-home .home-game small{font-size:10px}.is-world.is-home .home-game>.art{width:50px;height:50px}.is-world.is-home .home-featured-test{padding:16px}.is-world.is-home .featured-copy>strong{font-size:19px}}
.is-world.is-home .home-section{margin-top:14px;margin-bottom:8px}
.is-world.is-home .home-section button{min-height:28px}
.is-world.is-home .home-welcome h1{max-width:clamp(150px,48vw,205px)}
/* Compatibility is a distinct destination, with enough contrast against the page. */
.is-world.is-home .home-featured-test{background:#8056ae url('/compatibility-banner.webp') center/cover no-repeat;border:1px solid #ffffff50;color:#fff;box-shadow:0 7px 20px #6d438c1c;padding:20px}
.is-world.is-home .home-featured-test .featured-copy{width:65%}
.is-world.is-home .home-featured-test .featured-copy>small{color:#ecdbfa;font-size:9px;letter-spacing:.12em}
.is-world.is-home .home-featured-test .featured-copy>strong{font-size:22px;color:#fff;letter-spacing:-.035em}
.is-world.is-home .home-featured-test .featured-copy>span{font-size:12px;line-height:1.5;color:#f3e7fc;max-width:185px;margin:8px 0 15px}
.is-world.is-home .home-featured-test .featured-copy>b{display:inline-flex;gap:14px;background:#fff9ff;color:#8054a7;border-radius:20px;padding:9px 13px;font-size:11px}
.is-world.is-home .home-featured-test>.art{display:none}
@media(max-width:370px){.is-world.is-home .home-featured-test{padding:18px 16px}.is-world.is-home .home-featured-test .featured-copy{width:68%}.is-world.is-home .home-featured-test .featured-copy>strong{font-size:20px}.is-world.is-home .home-featured-test .featured-copy>span{font-size:11px;max-width:160px}}
