/* A single visual language for Weduel's functional screens. */
@font-face{font-family:Manrope;src:url('/fonts/manrope-400.ttf');font-weight:400;font-display:swap}
@font-face{font-family:Manrope;src:url('/fonts/manrope-500.ttf');font-weight:500;font-display:swap}
@font-face{font-family:Manrope;src:url('/fonts/manrope-600.ttf');font-weight:600;font-display:swap}
@font-face{font-family:Manrope;src:url('/fonts/manrope-700.ttf');font-weight:700;font-display:swap}
@font-face{font-family:Manrope;src:url('/fonts/manrope-800.ttf');font-weight:800;font-display:swap}
:root{--ink:#241b33;--muted:#807489;--shadow:0 4px 16px #49316808;background:#f6f1fb}
body{background:#f6f1fb}button{-webkit-tap-highlight-color:transparent}
#app,#app.is-home,#app.is-catalog{background:linear-gradient(180deg,#f7f1fc,#f1e9f9 440px,#f9f6fc);color:var(--ink);padding-inline:20px;padding-bottom:calc(112px + env(safe-area-inset-bottom))}
h1,h2,h3{letter-spacing:-.035em}p{line-height:1.5}.muted{color:var(--muted);line-height:1.5}
.top{align-items:center;min-height:48px;margin-bottom:18px}.top h1{font-size:27px;line-height:1.15}.top .pills{padding:0}.pill{box-shadow:none;background:#fffcff;font-size:11px}
.card,.pick,.shortcut-row button,.pet-link{border:1px solid #fff;border-radius:22px;background:#fffcff;box-shadow:var(--shadow)}
.card{padding:18px;margin-bottom:14px}.card h2,.card h3{font-size:19px;line-height:1.25}.card p{font-size:13px;line-height:1.55}.section{margin:28px 0 12px}.section h2{font-size:20px}
.primary,.seg button.on,.pet-tabs button.on{background:linear-gradient(135deg,#9866df,#7442bf);box-shadow:0 4px 10px #7543bc1a}.primary,.soft{border-radius:14px;font-size:13px;line-height:1.4}.soft{background:#eee6f8;color:#7044a7}
.home-screen,.catalog-screen{padding-top:max(14px,env(safe-area-inset-top))}.home-top,.catalog-top{height:52px;margin:0 0 8px}.home-brand{font-size:23px}.home-wallet{gap:6px}.home-pill,.home-bell{border:0;background:#fffcff;box-shadow:var(--shadow)}.home-pill{padding-inline:6px}.home-pill .ui-art{width:23px;height:23px}.home-brand .ui-art{width:27px;height:27px}
.home-hero{min-height:0;height:218px;margin:0 -20px;background:none;box-shadow:none;animation:none;overflow:hidden}.home-hero::before{inset:0 -32px 0 0;background:url('/home-scene.webp') right bottom/330px auto no-repeat;mask-image:none}.home-welcome{width:58%;padding:30px 0 0 20px}.home-welcome h1{font-size:31px;line-height:1.13;letter-spacing:-.045em}.home-welcome p{white-space:normal;max-width:160px;font-size:13px;line-height:1.5;color:#756980;margin-top:12px}.home-welcome p .ui-art{width:14px;height:14px}
.home-actions{margin-top:0;gap:12px}.home-action{min-height:87px;padding:12px 10px;grid-template-columns:36px minmax(0,1fr) 8px;gap:8px;border:1px solid #fff;background:#fffcfff5;box-shadow:var(--shadow);border-radius:22px}.home-action>.ui-art{width:34px;height:34px}.home-action strong{font-size:15px}.home-action small{font-size:11px;line-height:1.4;margin-top:5px;color:#7d7287}.home-action>b{font-size:18px;color:#9988ab}.home-action>.art{filter:none;animation:none}
.home-section{margin:28px 0 12px}.home-section h2{font-size:20px;line-height:1.2}.home-section button{font-size:11px;color:#897993;white-space:nowrap}.home-games{grid-auto-columns:128px;gap:12px;overflow-y:hidden}.home-game{min-height:150px;padding:10px 12px 14px;background:#fffcff;border-radius:22px;box-shadow:none}.home-game>.art,.home-game>.catalog-art{width:65px;height:65px;object-fit:contain;margin:0 auto 12px;position:relative;z-index:1}.home-game strong{font-size:14px;line-height:1.2}.home-game small{font-size:10px;line-height:1.4;margin-top:6px}.home-game::before{background:#efe5fb80}.home-recommend{gap:12px}.home-recommend .home-action{min-height:85px}.home-mission{padding:16px;gap:12px;background:#eee4f8;border:0;box-shadow:none}.home-mission strong{font-size:13px}.home-mission small{font-size:11px;line-height:1.5;margin-top:5px}.home-mission span{font-size:10px}
.catalog-toggle{margin:10px 0 18px;padding:4px;background:#ebe1f5;border-radius:24px;gap:4px}.catalog-toggle button{height:39px;font-size:15px;background:transparent;border:0;box-shadow:none}.catalog-toggle button.on{box-shadow:0 3px 10px #7143ac22}.catalog-banner{border-radius:23px;min-height:170px;box-shadow:0 6px 16px #68439415}.catalog-banner>div{padding:20px 0 18px 18px;width:55%}.catalog-banner h1{font-size:22px;line-height:1.08}.catalog-banner p{font-size:11px;line-height:1.45;margin-top:9px}.catalog-heading{margin:22px 0 12px}.catalog-heading h2{font-size:20px}.catalog-heading button{color:#897993;font-size:11px}.catalog-categories{gap:8px;grid-auto-columns:calc((100% - 32px)/5);padding-bottom:8px}.catalog-categories button{border:0;background:#fffcffc7;box-shadow:none;min-height:73px;border-radius:18px}.catalog-categories button.selected{background:#e7d8f7;box-shadow:inset 0 0 0 1px #d7bcec}.catalog-categories img{width:35px;height:35px}.catalog-categories span{font-size:9px;font-weight:600}.catalog-list{gap:10px}.catalog-item{box-shadow:var(--shadow);border:1px solid #fff;border-radius:21px;background:#fffcff}.catalog-item-main{min-height:70px;gap:6px;padding:10px 9px}.catalog-item-main>.catalog-art{width:47px;height:47px}.catalog-item-title strong{font-size:14px;line-height:1.2}.catalog-item-title small{font-size:10px;line-height:1.4;color:#897c92}.catalog-play{height:33px;min-width:73px;font-size:10px;box-shadow:0 3px 8px #7749ba1c}.catalog-favorite,.catalog-expand{color:#8b739e;width:23px}.catalog-details{padding:0 14px 16px 62px}
#app .bottom,#app.is-home .bottom,#app.is-catalog .bottom{height:calc(76px + env(safe-area-inset-bottom));background:#fcf9ff;border:1px solid #fff;border-radius:27px 27px 0 0;box-shadow:0 -5px 22px #46305e08;padding-top:10px}.bottom button{color:#887a94;font-size:10px;font-weight:600}.bottom button.on{color:#8150c6}.bottom button span{font-size:10px}.bottom button[data-tab=pet] .nav-icon{border-radius:50%;border:3px solid #fcf9ff;box-shadow:0 4px 12px #67409e20;width:59px;height:59px;margin-top:-23px}
.pet-hero{min-height:170px;background:linear-gradient(120deg,#e8daf9,#faf6ff);border:0;box-shadow:none}.pet-hero h2{font-size:29px}.pet-stage .pet{filter:none}.pet-shadow{display:none}.pet-tabs{background:#eae2f3;border-radius:17px;padding:4px;gap:3px;margin:18px 0}.pet-tabs button{font-size:10px;border-radius:13px;background:transparent;padding:10px 5px;color:#7b6c89}.pet-stats{gap:12px;margin:18px 0}.pet-stat{padding:14px}.pet-stat b{font-size:11px}.pet-stat .track{height:5px;margin-top:12px}.pet-actions{gap:12px}.pet-actions button{border:1px solid #fff;box-shadow:var(--shadow);border-radius:20px;padding:14px 4px}.pet-actions span{height:43px;margin-bottom:8px}.pet-actions span img{width:43px;height:43px;object-fit:contain;margin:auto}.pet-actions small{font-size:9px;line-height:1.4;margin-top:6px}.unlock-list span{background:#f5f0f9;border-radius:12px;padding:12px;font-size:11px}.unlock-list span.done{background:#eee5f9}.life-row{flex-wrap:wrap;gap:9px;padding:14px 0}.life-buttons{gap:8px}.life-buttons button{padding:11px 13px}.pet-progress{margin-top:20px}
.shortcut-row{gap:10px}.shortcut-row button{padding:15px 4px;box-shadow:none;border-radius:20px;font-size:10px}.shortcut-row .art{width:34px;height:34px;margin-bottom:10px;filter:none}.profile{gap:16px}.profile .avatar{background:linear-gradient(140deg,#b185e8,#7542bc);font-size:26px}.profile h2{font-size:22px}.profile small{color:#887b93}.level{margin-top:16px}.level small{font-size:10px;color:#887b93}.track{height:5px}.friend-banner{background:#eee4f9;padding:18px;box-shadow:none}.friend-banner strong{font-size:15px}.friend-banner small{font-size:11px;line-height:1.5;margin-top:5px}.friend-banner button{min-width:75px}.avatars{padding:6px 0 18px}.seg{padding:4px;background:#eae2f3}.seg button{font-size:13px}.menu-list summary{font-size:13px;color:#4f405d}.listcard{padding:15px;gap:12px}.listcard strong{font-size:14px}.listcard small{font-size:11px;line-height:1.5}
@media(max-width:370px){#app,#app.is-home,#app.is-catalog{padding-inline:14px}.home-hero{margin-inline:-14px;height:200px}.home-hero::before{right:-45px;background-size:290px auto}.home-welcome{padding-left:14px;padding-top:24px}.home-welcome h1{font-size:28px}.home-welcome p{font-size:12px;max-width:140px}.home-action{grid-template-columns:29px minmax(0,1fr) 7px;gap:6px;padding:10px 8px}.home-action>.ui-art{width:29px;height:29px}.home-action strong{font-size:13px}.home-action small{font-size:10px}.home-section h2,.catalog-heading h2{font-size:18px}.catalog-banner>div{width:57%;padding-left:15px}.catalog-banner h1{font-size:20px}.catalog-item-main{gap:4px;padding:9px 7px}.catalog-item-main>.catalog-art{width:38px;height:38px}.catalog-item-title strong{font-size:12px}.catalog-item-title small{font-size:9px}.catalog-favorite,.catalog-expand{width:19px}.catalog-play{min-width:62px;padding:0 7px}.catalog-categories span{font-size:8px}.home-games{grid-auto-columns:122px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.home-hero::before{right:0;background-size:290px auto}.home-welcome p{display:block}.home-welcome p .ui-art{display:inline-block;vertical-align:middle;margin-left:3px}.home-recommend .home-action strong{font-size:13px}.home-recommend .home-action small{font-size:10px}.home-action small{color:#74667f}.catalog-item-title small{color:#786983}.home-section button,.catalog-heading button{color:#776383}
@media(max-width:370px){.home-hero::before{right:-16px;background-size:260px auto}.home-welcome p{max-width:145px}}
.home-welcome p .ui-art{display:none}.home-welcome p{max-width:180px}.home-action,.catalog-item,.pet-actions button,.shortcut-row button{transition:transform .16s ease}.pet-actions button:active,.shortcut-row button:active{transform:scale(.98)}.friend-banner button{white-space:nowrap}.home-game:active>.art{transform:scale(.96)}
@media(prefers-reduced-motion:reduce){.home-action,.catalog-item,.pet-actions button,.shortcut-row button{transition:none}}
/* Editorial hierarchy: one atmospheric focal point, quieter supporting surfaces. */
#app,#app.is-home,#app.is-catalog{background:linear-gradient(180deg,#f6f0fc 0%,#f1e9fa 55%,#faf7fd 100%)}
.home-top,.catalog-top{margin-bottom:18px}.home-brand{letter-spacing:-.045em}.home-wallet .home-pill{height:33px;font-size:11px}.home-bell{height:34px;width:34px}
.home-hero{height:248px;margin:0 -6px 18px;border-radius:26px;overflow:hidden;background:#ede2f9;isolation:isolate}.home-hero::before{inset:0;background:url('/home-editorial.webp') center/cover no-repeat;z-index:-1}.home-welcome{padding:24px 0 0 18px;width:66%}.eyebrow{display:block;font-size:8px;font-weight:800;letter-spacing:.15em;color:#88729f;margin-bottom:11px}.home-welcome h1{font-size:30px;line-height:1.1;letter-spacing:-.045em;max-width:205px;overflow-wrap:anywhere}.home-welcome p{font-size:12px;line-height:1.6;max-width:165px;margin-top:11px;color:#746181}.hero-cta{display:flex;align-items:center;justify-content:space-between;gap:12px;border:0;border-radius:30px;background:#fffdfd;color:#634191;font-size:11px;font-weight:800;padding:10px 13px;margin-top:16px;box-shadow:0 4px 12px #6c469913}.hero-cta span{display:grid;place-items:center;width:20px;height:20px;background:#8c59d0;color:white;border-radius:50%;font-size:14px}
.home-actions{gap:10px}.home-action{min-height:83px;border-radius:21px;padding:11px 10px;background:#fffcfff2;box-shadow:0 3px 12px #65418a06}.home-actions .home-action:first-child{background:linear-gradient(135deg,#fdfaff,#e9dbfa);border-color:#ffffff}.home-action strong{font-size:14px}.home-action small{font-size:10px;margin-top:4px;line-height:1.4}.home-action>.ui-art{width:37px;height:37px}.home-action>b{color:#b09ac4}
.home-section{margin-top:26px}.home-section h2{font-size:19px;letter-spacing:-.035em}.home-game{min-height:156px;border-radius:22px;background:linear-gradient(155deg,#fffdfd,#f6effc);border-color:#fff;box-shadow:inset 0 1px 0 #fff}.home-game>.art{width:74px;height:74px;margin-top:0;margin-bottom:10px}.home-game strong{font-size:14px}.home-game small{font-size:10px;color:#86718f}.home-game::before{height:44%;bottom:-15%;background:#e8daf366;transform:rotate(-9deg)}
.home-recommend .home-action{min-height:85px}.home-recommend .home-action>.art{width:35px;height:35px}.home-mission{background:linear-gradient(130deg,#eadcf9,#f4ecfb);padding:18px;border-radius:23px}.home-mission>b{font-size:14px}.home-mission small{font-size:10px}
.catalog-banner{min-height:180px;border-radius:25px}.catalog-banner>div{padding-top:22px}.catalog-categories button{background:#fffafeb3}.catalog-item{border-color:#fff8;background:#fffaff;box-shadow:0 3px 12px #5f3d8106}.catalog-play{background:linear-gradient(135deg,#a371e0,#7444bc);box-shadow:0 3px 8px #7446ad20}.catalog-item-title strong{font-weight:800}.catalog-item-main{min-height:74px}.catalog-item-main>.catalog-art{width:52px;height:52px}
#app .bottom{height:calc(78px + env(safe-area-inset-bottom));display:flex;align-items:center;background:#fdfaff;padding:9px 8px calc(9px + env(safe-area-inset-bottom));border-radius:27px 27px 0 0;border-top:1px solid #fff;box-shadow:0 -6px 24px #49306408}.bottom button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;position:relative;height:53px;color:#8a7b96;font-size:10px!important}.bottom button>span:last-child{font-size:10px;line-height:1.2}.nav-symbol{display:grid;place-items:center;width:40px;height:30px;border-radius:12px}.bottom .nav-symbol .glyph{width:23px;height:23px;margin:0;stroke-width:1.7}.nav-symbol.active{background:#efe4fa;color:#8650c7}.bottom .nav-pet-orb{display:grid;place-items:center;width:58px;height:58px;margin:-24px 0 0;border:3px solid #fdfaff;border-radius:50%;background:linear-gradient(150deg,#bd94ee,#8751d1 65%,#6c3aaf);box-shadow:0 4px 13px #8055b52b}.bottom button[data-tab=pet] .nav-pet-orb .glyph{width:30px;height:30px;margin:0;padding:0;background:none;box-shadow:none;color:#fff;stroke-width:1.7}.bottom button[data-tab=pet]{color:#7f6990}.bottom button.on{color:#7841bb}
.social-empty{text-align:center;padding:25px 20px 28px;border-radius:25px;background:linear-gradient(150deg,#fffafd,#eee2f9);border:1px solid #fff}.social-empty>.art{width:80px;height:80px;margin:0 auto 14px}.social-empty h3{font-size:17px;margin:0 0 9px}.social-empty p{font-size:12px;line-height:1.7;color:#83708f;margin:0 0 20px}.social-empty .primary{padding:11px 20px;font-size:12px}.profile-identity{position:relative;overflow:hidden;background:linear-gradient(125deg,#fffdfd,#ede0fa);padding:24px}.profile-identity .avatar{box-shadow:0 0 0 5px #ffffff90}.profile-identity .level{margin-top:25px}.profile-identity .track{background:#dfcfee}.profile-identity h2{font-size:24px}.pet-hero{background:linear-gradient(125deg,#e7d8f8,#fdf9ff);border:1px solid #fff9}.pet-tabs{background:#eae0f3}.pet-actions button{background:linear-gradient(145deg,#fffdfd,#faf6fe)}.pet-stat .track{background:#ebe4f1}
@media(max-width:370px){.home-top,.catalog-top{margin-bottom:14px}.home-hero{height:240px;margin-inline:-2px}.home-welcome{padding-left:14px;width:66%}.home-welcome h1{font-size:27px;max-width:180px}.home-welcome p{font-size:11px}.eyebrow{font-size:7px;letter-spacing:.12em}.home-action{grid-template-columns:29px minmax(0,1fr) 7px;gap:6px}.home-action>.ui-art{width:29px;height:29px}.home-action strong{font-size:13px}.home-action small{font-size:9px}.catalog-item-main>.catalog-art{width:38px;height:38px}.catalog-item-title strong{font-size:12px}.catalog-item-main{min-height:69px}.home-section h2{font-size:18px}}
#app .bottom button .nav-pet-orb .glyph,#app.is-home .bottom button[data-tab=pet] .nav-pet-orb .glyph{width:30px;height:30px;margin:0;padding:0;border:0;background:none;box-shadow:none;border-radius:0;color:#fff;box-sizing:border-box}
#app .bottom button{color:#8c7b98}#app .bottom button.on{color:#7c45bd}.catalog-dots{display:none}.catalog-banner{margin-bottom:24px}
.hero-cta:active{transform:scale(.98)}.hero-cta:focus-visible{outline:3px solid #9e74d2;outline-offset:3px}
/* Legibility and interaction pass. */
.home-action{grid-template-columns:38px minmax(0,1fr) 8px;gap:7px;min-height:88px}.home-action>.ui-art{width:38px;height:38px}.home-action small{font-size:11px;line-height:1.4}.home-action strong{font-size:15px}.home-welcome p{font-size:13px}.eyebrow{font-size:9px}.hero-cta{font-size:12px;min-height:44px}.home-pill b{font-size:12px}.home-game small{font-size:11px}.home-games{grid-auto-columns:136px}.home-game{min-height:162px}.home-section button,.catalog-heading button{min-height:36px;font-size:12px}.home-section h2{font-size:20px}
.home-featured-test{position:relative;display:flex;align-items:center;width:100%;overflow:hidden;text-align:left;border:1px solid #fff9;border-radius:25px;padding:22px;background:linear-gradient(125deg,#e7d7f8,#f6eefd);color:#362044;box-shadow:0 5px 20px #5a377708}.featured-copy{position:relative;z-index:1;display:block;width:72%}.featured-copy>small{display:block;font-size:9px;letter-spacing:.13em;font-weight:800;color:#9065ad;margin-bottom:11px}.featured-copy>strong{display:block;font-size:21px;line-height:1.15;letter-spacing:-.04em;font-weight:800}.featured-copy>span{display:block;font-size:12px;line-height:1.5;color:#82648f;max-width:185px;margin:10px 0 16px}.featured-copy>b{display:inline-flex;gap:18px;align-items:center;font-size:12px;color:#7643ac}.featured-copy i{font-style:normal}.home-featured-test>.art{position:absolute;width:114px;height:114px;right:-6px;top:43px;transform:rotate(-8deg)}.home-featured-test:active{transform:scale(.99)}
.catalog-categories button{min-height:82px;gap:7px}.catalog-categories span{font-size:10px}.catalog-item-main{min-height:80px;gap:4px;padding:10px 8px}.catalog-item-main>.catalog-art{width:46px;height:46px}.catalog-item-title strong{font-size:14px;line-height:1.3}.catalog-item-title small{font-size:11px;line-height:1.4}.catalog-favorite,.catalog-expand{width:30px;height:44px}.catalog-play{min-width:70px;min-height:40px;font-size:11px;padding-inline:8px}.catalog-banner p{font-size:12px;line-height:1.5}.catalog-banner button{width:34px;height:34px;line-height:28px}.catalog-details p{font-size:12px;line-height:1.6}.catalog-details>span{font-size:10px}
.pet-stats{margin-top:6px}.pet-actions{margin-bottom:22px}.pet-actions b{font-size:12px}.pet-actions small{font-size:10px}.pet-stat b{font-size:12px}.pet-tabs button{font-size:11px;min-height:40px}.pet-next-step summary,.pet-goals summary{font-size:12px;line-height:1.5}.pet-next-step .primary,.pet-next-step .soft{display:block;width:100%;margin-top:10px}.pet-next-step p{font-size:12px}.pet-tabs+.pet-stats{margin-top:18px}.daily.card strong{font-size:14px}.daily.card small{font-size:11px;line-height:1.6;margin-top:6px}.pet-actions+.daily.card{background:linear-gradient(130deg,#eadef7,#f6f0fb);border-color:#fff8}.pet-progress{margin-top:14px}.unlock-list span{line-height:1.5}.shortcut-row button{font-size:11px}.bottom button>span:last-child{font-size:11px!important}
@media(max-width:370px){.home-action{grid-template-columns:30px minmax(0,1fr) 6px;gap:6px;padding:10px 8px}.home-action>.ui-art{width:30px;height:30px}.home-action strong{font-size:13px}.home-action small{font-size:10px}.home-section h2{font-size:18px}.home-games{grid-auto-columns:130px}.catalog-item-main>.catalog-art{width:36px;height:36px}.catalog-item-title strong{font-size:12px}.catalog-item-title small{font-size:10px}.catalog-favorite,.catalog-expand{width:27px}.catalog-play{min-width:60px;font-size:10px;padding-inline:6px}.catalog-categories span{font-size:9px}.featured-copy>strong{font-size:20px}.featured-copy>span{max-width:155px}.home-featured-test{padding:20px}.home-featured-test>.art{width:95px;height:95px;right:-8px}.catalog-banner p{font-size:11px}.catalog-details{padding-left:14px}.pet-tabs button{font-size:10px}.bottom button>span:last-child{font-size:10px!important}}
@media(prefers-reduced-motion:no-preference){.home-featured-test{transition:transform .16s ease}.hero-cta{transition:transform .16s ease}}
.pet-stats .pet-stat{margin:0}.pet-stat>div>span{display:grid;place-items:center;width:20px;height:20px;flex:none}.pet-stat>div>span>img{width:20px;height:20px;object-fit:contain}.home-featured-test .art{pointer-events:none}
.home-hero{height:auto;min-height:248px}.home-welcome{padding-bottom:24px}.home-featured-test:focus-visible{outline:3px solid #9e74d2;outline-offset:3px}
@media(max-width:370px){.home-hero{height:auto;min-height:240px}}
