.account-art{position:relative;width:min(100%,calc(100svh * 900 / 1746));margin:auto;aspect-ratio:900/1746;container-type:inline-size;font-family:Arial,sans-serif;color:#32180c}.account-backdrop{display:block;width:100%;height:100%}.account-art .account-zone{position:absolute;margin:0;padding:0;border:0;box-shadow:none;background:transparent;border-radius:999px;line-height:1.1;font-family:Arial,sans-serif}.account-art .account-zone:hover{background:#ffffff12;filter:none}.account-art .account-zone:focus-visible{outline:3px solid #03d3fc;outline-offset:2px}.account-label{position:absolute;background:#fbf5e9;text-align:center;line-height:1.2;font-weight:800;border-radius:9px}.entry-title{left:29%;top:62.0%;width:42%;font-size:4.6cqw}.entry-provider{left:35%;width:43%;height:4.7%;font-size:3.7cqw;color:white}.provider-0{top:65.5%;background:#004ddb!important}.provider-1{top:71.5%;background:#f7f7f7!important;color:#10121a!important}.provider-2{top:77.3%;background:#101010!important}.entry-guest{top:83.3%;left:36%;width:42%;height:4.5%;font-size:3.7cqw;background:#009965!important;color:white}.entry-note{left:22%;top:89.5%;width:57%;font-size:2.8cqw}.entry-privacy,.entry-terms{top:95.5%;height:2.8%;font-size:2.6cqw;color:white;text-decoration:underline}.entry-privacy{left:34%;width:15%}.entry-terms{left:53%;width:15%}.profile-back{left:2%;top:2%;width:12%;height:6%}.profile-title{top:19%;left:27%;width:46%;font-size:6.2cqw}.profile-preview{position:absolute;left:32.5%;top:25.5%;width:35%;aspect-ratio:1;border-radius:50%;overflow:hidden}.profile-preview svg{width:100%;height:100%}.profile-name-label{top:43.8%;left:30%;width:40%;font-size:4cqw}.profile-name{position:absolute;left:13%;top:47%;width:74%;height:4.3%;padding:0 2%;border:0;background:#fcf5e7;color:#39190c;font:700 4.5cqw Arial;border-radius:12px}.profile-choose{top:53.5%;left:30%;width:40%;font-size:4cqw}.avatar-zone{width:25%;height:13.5%;border-radius:50%!important}.avatar-zone.is-selected{outline:3px solid #08ad43;outline-offset:1px}.avatar-zone.is-selected:after{content:'✓';position:absolute;right:0;bottom:0;border:2px solid white;border-radius:50%;background:#079b39;color:white;font-size:3.5cqw;width:5cqw;height:5cqw;line-height:5cqw}.avatar-0,.avatar-3{left:10%}.avatar-1,.avatar-4{left:37.5%}.avatar-2,.avatar-5{left:65%}.avatar-0,.avatar-1,.avatar-2{top:56.5%}.avatar-3,.avatar-4,.avatar-5{top:70.3%}.profile-continue{left:25%;top:86.5%;width:50%;height:5%;font-size:7cqw;color:white;background:#00af67!important}.account-art .home-profile{left:2.5%;top:2.4%;width:47%;height:9.5%;border-radius:5cqw}.home-profile svg{position:absolute;left:1.5%;top:7%;width:35%;height:88%;border-radius:50%;overflow:hidden}.profile-home-name,.profile-home-level,.profile-home-xp{position:absolute;display:block;left:39%;color:#39190c;background:#fcf3e4;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:56%}.profile-home-name{top:10%;font-size:4cqw;font-weight:800}.profile-home-level{top:39%;font-size:2.5cqw}.profile-home-xp{top:68%;font-size:2cqw;background:#8c623f;color:white;text-align:center;border-radius:20px}.home-coins,.home-gems{position:absolute;top:6.5%;height:3%;width:7%;background:#faf1e2;font-size:4cqw;font-weight:800;text-align:center}.home-coins{left:59%}.home-gems{left:75.7%}.home-account-settings{left:89%;top:3%;width:10%;height:5%}.home-buy{left:82%;top:6%;width:6%;height:3.5%}.home-mode{left:34%;width:48%;height:4%;font-size:4.6cqw;color:white;font-weight:900}.mode-0{top:57%;background:#f58900!important}.mode-1{top:66.5%;background:#0789e5!important}.mode-2{top:75.8%;background:#00a33b!important}.account-help{left:44%;top:83.5%;width:21%;height:3%;font-size:3cqw;background:#fcf4e5!important;color:#39190c}.account-tab{top:94%;width:19%;height:3%;font-size:3cqw;color:#39190c;background:#fcf4e5!important}.tab-0{left:3%}.tab-1{left:28%;color:white;background:#00b54e!important}.tab-2{left:53%}.tab-3{left:78%}.account-notice{position:absolute;left:7%;right:7%;bottom:1%;padding:12px;border:2px solid #e0ab35;border-radius:15px;background:#fff9ed;color:#442310;font:600 clamp(12px,2cqw,18px) Arial;text-align:center;box-shadow:0 4px 12px #0005;z-index:10}@media(orientation:landscape){.account-art{width:min(100%,calc(100svh * 900 / 1746))}}

body:has(.profile-screen){background:#a35a29 url('assets/fondo.png') center/cover fixed}
#profile-name-error{margin:0;color:#a31e16;font:600 14px/1.35 system-ui;text-align:center}
.profile-screen{position:relative;width:min(100%,540px);min-height:100svh;margin:auto;padding:12px 20px 24px;color:#51270e;font-family:Arial,sans-serif;display:flex;flex-direction:column;align-items:center;gap:14px}
.profile-logo{width:66%;height:clamp(100px,18svh,180px);object-fit:contain;flex-shrink:0}
.profile-return{position:absolute;left:14px;top:14px;width:44px;height:44px;border:2px solid #e9a024;border-radius:50%;background:linear-gradient(#fffdf1,#ffe7bd);color:#51270e;font-size:36px;line-height:1;padding:0;box-shadow:0 2px 5px #54260955}
.profile-card{width:100%;padding:0 22px 22px;border:3px solid #e89314;border-radius:32px;background:linear-gradient(115deg,#fffdf5,#f7ead5);box-shadow:inset 0 0 0 2px #fff8d9,0 5px 14px #51230566;text-align:center}
.profile-card h1{margin:-1px -12px 10px;padding:12px 8px;border:2px solid #eba223;border-radius:22px;background:linear-gradient(#fffcf0,#f9e5c8);font-size:clamp(24px,5.5vw,34px);line-height:1.1;color:#51270e;text-shadow:0 1px white}
.profile-screen .profile-preview{position:relative;left:auto;top:auto;width:clamp(92px,17svh,155px);height:auto;aspect-ratio:1;margin:0 auto 10px;overflow:hidden;border-radius:50%}
.profile-screen .profile-avatar-image{display:block;width:100%;height:100%;object-fit:cover;transform:scale(1.43)}
.profile-card form{display:flex;flex-direction:column;gap:10px}
.profile-card label,.profile-card h2{font-weight:800;font-size:clamp(17px,4vw,23px);margin:0;color:#51270e}
.profile-screen .profile-name{position:static;width:100%;height:48px;padding:0 14px;border:2px solid #e7a130;border-radius:16px;background:#fffdf6;color:#51270e;font:700 20px Arial;box-shadow:inset 0 0 0 2px #fff2d0,0 2px 3px #7e47172b}
.profile-card h2{margin-top:4px}
.profile-avatar-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 18px;padding:4px}
.profile-avatar-option{position:relative;aspect-ratio:1;padding:0;border:0;border-radius:50%;overflow:hidden;background:transparent;box-shadow:none;min-height:0;touch-action:manipulation}
.profile-avatar-option:hover{filter:none;background:transparent;transform:none}
.profile-avatar-option.is-selected{outline:3px solid #00a954;outline-offset:3px}
.avatar-check{display:none;position:absolute;bottom:5%;right:6%;width:24px;height:24px;border-radius:50%;background:#00a954;color:white;border:2px solid white;font:bold 16px Arial;align-items:center;justify-content:center}
.is-selected .avatar-check{display:flex}
.profile-submit{width:100%;min-height:54px;margin-top:8px;padding:10px;border:3px solid #edaa21;border-radius:24px;background:linear-gradient(#00cf79,#00954f);color:white;font:900 clamp(23px,5vw,30px) Arial;box-shadow:inset 0 0 0 2px #fff9ca,0 4px 0 #955421;text-shadow:0 2px #006b3b;touch-action:manipulation}
.profile-submit:hover{background:linear-gradient(#03da82,#00a55a);filter:none}
.profile-screen button:focus-visible,.profile-name:focus-visible{outline:3px solid #007cab;outline-offset:4px}
@media(max-height:740px) and (orientation:portrait){.profile-screen{padding:8px 16px 18px;gap:8px}.profile-logo{height:14svh}.profile-screen .profile-preview{width:13svh}.profile-card{padding:0 18px 16px}.profile-card form{gap:8px}.profile-avatar-grid{gap:9px 18px}.profile-avatar-option{max-height:12svh;justify-self:center;width:100%}.profile-card h1{padding:9px;font-size:25px}.profile-screen .profile-name{height:44px}}
@media(min-width:768px){.profile-screen{justify-content:center;max-width:540px}.profile-logo{height:170px}.profile-avatar-grid{gap:18px 26px}.profile-card{padding-bottom:28px}}
.profile-avatar-image{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}.home-profile>.profile-avatar-image{position:absolute;left:1.5%;top:7%;width:35%;height:88%;object-fit:cover;transform:scale(1.12)}

/* Portrait profile: independent artwork, frames and live controls. */
body:has(.profile-screen){background:#4c2916;overflow:hidden}
body:has(.profile-screen) #app{height:100svh;display:grid;place-items:center;padding:0}
.profile-screen{width:min(100vw,calc(100svh * 900 / 1746));height:min(100svh,calc(100vw * 1746 / 900));min-height:0;max-width:none;padding:0;display:block;container-type:size;background:url('assets/fondo.png') center/100% 100% no-repeat;font-family:'Arial Rounded MT Bold',ui-rounded,'Trebuchet MS',sans-serif}
.profile-logo{position:absolute;left:27%;top:2.6%;width:46%;height:15%;object-fit:contain;filter:drop-shadow(0 1.2cqw 1cqw #63300c44)}
.profile-return{left:2.6%;top:2.4%;width:10%;height:auto;aspect-ratio:1;border:0;border-radius:50%;font-size:8cqw;background:linear-gradient(#fffef3,#ffe4ae);box-shadow:0 0 0 .25cqw #ba4b08,0 0 0 .55cqw #ffb900,inset 0 0 0 .35cqw white,inset 0 0 0 .8cqw #ffb837,0 .7cqw 1cqw #68321266}
.profile-card{position:absolute;left:4.8%;top:21%;width:90.4%;height:73.7%;padding:8.5% 7% 4%;border:.45cqw solid #f99708;border-radius:6cqw;background:linear-gradient(115deg,#fffdf5,#f8eedf 55%,#fffaf0);box-shadow:0 0 0 .25cqw #b74608,0 0 0 .65cqw #ffd512,inset 0 0 0 .35cqw white,0 1cqw 1.2cqw #54230966;display:grid;grid-template-rows:27% 1fr;gap:1.5%}
.profile-card h1{position:absolute;top:-4.7%;left:12%;width:76%;height:9.5%;margin:0;padding:0 4%;display:flex;align-items:center;justify-content:center;white-space:nowrap;font-family:'Arial Rounded MT Bold',ui-rounded,'Trebuchet MS',sans-serif;font-size:6.1cqw;font-weight:1000;letter-spacing:-.2cqw;color:#57240d;text-shadow:0 .25cqw #fff;-webkit-text-stroke:.08cqw #57240d;border:.4cqw solid #ff9700;border-radius:5cqw;background:linear-gradient(110deg,#fffdf3,#f9ead7);box-shadow:0 0 0 .2cqw #b64808,0 0 0 .55cqw #ffe119,inset 0 0 0 .3cqw white,0 .7cqw .7cqw #61230844}
.profile-card h1:before,.profile-card h1:after{content:'❧';position:absolute;color:#f89b12;font-size:5.5cqw;-webkit-text-stroke:0;text-shadow:0 .15cqw white}
.profile-card h1:before{left:2%;transform:rotate(35deg)}.profile-card h1:after{right:2%;transform:scaleX(-1) rotate(35deg)}
.profile-screen .profile-preview{width:auto;height:100%;max-width:100%;aspect-ratio:1;position:relative;left:auto;top:auto;margin:auto;overflow:hidden;border-radius:50%}
.profile-card form{display:grid;grid-template-rows:6% 11% 8% 7% 46% 14%;align-content:space-between;gap:0;min-height:0}
.profile-card form>label{grid-row:1}.profile-card form>.profile-name{grid-row:2}.profile-card form>h2{grid-row:4}.profile-card form>.profile-avatar-grid{grid-row:5}.profile-card form>.profile-submit{grid-row:6}
.profile-card #profile-name-error{grid-row:3;align-self:stretch;display:flex;align-items:center;justify-content:center;font-size:2.9cqw;line-height:1.15;margin:0;padding:.3cqw 0;overflow:auto}
.profile-card #profile-name-error[hidden]{display:flex;visibility:hidden}
.profile-card label,.profile-card h2{display:grid;place-items:center;margin:0;padding:0;font-family:inherit;font-weight:1000;font-size:4.35cqw;line-height:1;color:#59270f;letter-spacing:-.13cqw;text-shadow:0 .2cqw white;-webkit-text-stroke:.04cqw #59270f}
.profile-screen .profile-name{position:static;width:100%;height:100%;min-height:0;padding:0 4%;border:.35cqw solid #f09b16;border-radius:2.8cqw;background:linear-gradient(110deg,#fffdf7,#f7edde);font-family:inherit;font-size:4.6cqw;font-weight:900;color:#53240e;box-shadow:0 0 0 .18cqw #b85313,0 0 0 .45cqw #ffd424,inset 0 0 0 .25cqw white,0 .65cqw .65cqw #80401833}
.profile-name::placeholder{font-size:3.4cqw;color:#a58363;font-weight:600}
.profile-avatar-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:5% 6%;padding:1% 0;min-height:0}
.profile-avatar-option{width:100%;height:100%;max-height:none;aspect-ratio:auto;justify-self:center;position:relative;overflow:hidden;padding:0;border:0;border-radius:50%;background:transparent;box-shadow:none;transition:transform .15s;outline:0}
.profile-avatar-option .profile-avatar-image{object-fit:contain;transform:scale(1.38)}
.profile-avatar-option.is-selected{outline:0;box-shadow:none;filter:drop-shadow(0 0 .7cqw #ffb400);transform:scale(1.04)}
.profile-avatar-option:hover{transform:scale(1.04);background:transparent;filter:drop-shadow(0 0 .7cqw #ffb400)}
.profile-submit{height:100%;min-height:0;width:100%;margin:0;padding:0;border:.4cqw solid #f29304;border-radius:7cqw;background:linear-gradient(125deg,#00d17b 0%,#00b970 40%,#009d58);box-shadow:0 0 0 .22cqw #a34305,0 0 0 .55cqw #ffda00,inset 0 0 0 .35cqw white,inset 0 .6cqw 1cqw #e2ffbd66,0 .8cqw .8cqw #6e2e1466;color:#fffdf5;font-family:inherit;font-weight:1000;font-size:7cqw;line-height:1;text-shadow:0 .35cqw .1cqw #005132,0 .1cqw #003d29;letter-spacing:-.15cqw}
.profile-submit:before{content:'';position:absolute;width:3cqw;height:1.3cqw;left:5%;background:#e1fff0aa;border-radius:50%;transform:rotate(-35deg)}
.profile-submit:hover{filter:none;background:linear-gradient(125deg,#00dc84,#009d58)}
.profile-screen .account-notice{bottom:1%;font-size:3cqw;padding:1cqw}

body:has(.home-screen){background:#4c2916;overflow:hidden}
body:has(.home-screen) #app{height:100svh;display:grid;place-items:center;padding:0}
.home-screen{position:relative;width:min(100vw,calc(100svh * 736 / 1426));height:min(100svh,calc(100vw * 1426 / 736));container-type:size;background:url('assets/fondo-principal-sin-plantas.png') center/100% 100% no-repeat;color:#51270e;font-family:'Arial Rounded MT Bold',ui-rounded,'Trebuchet MS',sans-serif}
.home-top{position:absolute;left:3%;top:2.6%;width:87%;height:12.1%}.home-frame-art{width:100%;height:100%;position:absolute;inset:0}
.home-screen button{margin:0;min-width:0;min-height:0;touch-action:manipulation}
.home-profile-live{position:absolute;inset:0 auto 0 0;width:64%;padding:0;border:0;background:transparent;box-shadow:none;text-align:left;color:#542810}
.home-profile-live:hover,.home-wallet-live:hover{background:transparent;filter:none}
.home-avatar-live{position:absolute;left:3%;top:12%;width:31%;height:76%;aspect-ratio:1;overflow:hidden;border-radius:50%}.home-avatar-live .profile-avatar-image{width:100%;height:100%;object-fit:contain;transform:scale(1.42)}.home-avatar-live svg{width:100%;height:100%}
.home-name-live{position:absolute;left:37%;top:14%;width:57%;font-weight:1000;font-size:4.1cqw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.home-level-live{position:absolute;left:37%;top:42%;font-size:2.8cqw;font-weight:900}
.home-xp-live{position:absolute;left:37%;top:70%;width:55%;height:16%;border-radius:4cqw;background:#876244;box-shadow:inset 0 0 0 .25cqw #e8aa30;overflow:hidden;color:white;text-align:center;font:800 1.9cqw Arial}
.home-xp-live>span:last-child{position:relative;display:block;padding-top:.3cqw}.home-xp-fill{position:absolute;inset:0 auto 0 0;background:linear-gradient(#ffe176,#e6a21f)}
.home-wallet-live{position:absolute;left:66%;width:34%;height:44%;display:flex;align-items:center;gap:2%;padding:2% 3%;color:#51270e;border:0;box-shadow:none;background:transparent}
.wallet-coins{top:1%}.wallet-gems{top:53%}.home-wallet-live img{height:100%;width:32%;object-fit:contain;flex-shrink:0;transform:scale(1.2)}.home-wallet-live strong{flex:1;text-align:center;font-size:3.7cqw;font-weight:1000;font-variant-numeric:tabular-nums}.wallet-plus{display:grid;place-items:center;border:.25cqw solid #ffda69;border-radius:50%;background:linear-gradient(#23df63,#009f36);color:white;width:3.6cqw;height:3.6cqw;font:bold 3cqw Arial}
.home-gear-live{position:absolute;right:2%;top:1.5%;width:8.4%;aspect-ratio:1;padding:1.2%;border:.35cqw solid #efa42b;border-radius:50%;background:linear-gradient(#fffdf1,#ffe7be);box-shadow:inset 0 0 0 .35cqw white,0 .5cqw .8cqw #78401755;color:#76310e}.home-gear-live svg{width:100%;height:100%}
.home-modes-live{position:absolute;left:4.5%;top:56%;width:91%;height:26.5%}.home-modes-live>img{width:100%;height:100%;object-fit:fill;display:block}.home-mode-live{position:absolute;left:2%;width:96%;height:31%;border:0;border-radius:10cqw;background:transparent;padding:0;box-shadow:none}.home-mode-live:hover{background:#fff1;filter:none}.live-mode-0{top:2%}.live-mode-1{top:34%}.live-mode-2{top:66%}.home-mode-live span{position:absolute;left:29%;top:28%;width:55%;height:45%;display:grid;place-items:center;color:white;font-size:4cqw;background:var(--mode-bg,#008b35);text-shadow:0 .3cqw #382010}.live-mode-0{--mode-bg:#fa7b00}.live-mode-1{--mode-bg:#0485ec}
.home-help-live{position:absolute;left:33%;top:84%;width:34%;height:4.4%;padding:0 2%;display:flex;gap:6%;justify-content:center;align-items:center;background:linear-gradient(#fffef4,#ffeacd);border:.3cqw solid #e99419;border-radius:5cqw;box-shadow:inset 0 0 0 .25cqw white,0 .45cqw .65cqw #78341455;color:#57270f;font-size:2.9cqw;font-weight:1000;white-space:nowrap}.home-help-live svg{width:18%;height:64%}
.illustrated-main-nav{position:relative;display:block;flex-shrink:0;width:100%;height:auto;aspect-ratio:4.5;margin:0;padding:0;border:0;background:transparent;box-shadow:none;border-radius:0;overflow:visible}
.illustrated-main-nav>svg{position:absolute;inset:0;width:100%;height:100%;display:block}
.illustrated-main-nav>button,.illustrated-main-nav>button.active{position:absolute;top:0;width:25%;height:100%;margin:0;padding:0;border:0;background:transparent;box-shadow:none;border-radius:14%;transform:none;color:#642414}
.illustrated-main-nav>button:hover{background:#fff1;filter:none;transform:none}
.illustrated-main-nav>button span{position:absolute;bottom:16%;left:8%;width:84%;font-size:clamp(12px,2vw,20px);background:#ffedce;line-height:1.2;color:#642414}.illustrated-main-nav>button[aria-current=page] span{background:#009f3d;color:white}
.home-screen .illustrated-main-nav{position:absolute;left:1%;bottom:1.8%;width:98%;height:10.8%;aspect-ratio:auto}
.home-screen .illustrated-main-nav>button span{font-size:3.2cqw}
.home-screen button:focus-visible{outline:.6cqw solid #25e1ff;outline-offset:.5cqw}
.home-screen .account-notice{bottom:13%;font-size:3cqw}

.profile-avatar-art{display:block;width:100%;height:100%;border-radius:50%;overflow:hidden}
.home-avatar-live{left:6%;width:29%;height:auto;aspect-ratio:1;top:13%}
.home-screen .illustrated-main-nav{height:9.2%;bottom:1.6%}
.illustrated-main-nav button[data-nav="play"]{transform:none;box-shadow:none;border:0}
.home-screen .home-help-live{top:84%;height:4.1%}

.home-screen .illustrated-main-nav{height:10.1%;bottom:.9%}

.home-screen .home-modes-live{left:4.5%;top:54%;width:91%;height:29%}.home-mode-art{width:100%;height:100%;display:block;overflow:hidden}.home-screen .home-mode-live{background:transparent!important;border:0;box-shadow:none;padding:0;transform:none;min-height:0}.home-screen .live-mode-0{left:0;top:0;width:100%;height:42%;border-radius:5cqw}.home-screen .live-mode-1{left:0;top:43%;width:49.5%;height:57%;border-radius:5cqw}.home-screen .live-mode-2{left:50.5%;top:43%;width:49.5%;height:57%;border-radius:5cqw}.home-mode-live:focus-visible{outline:3px solid #fff5b9;outline-offset:2px}

.home-screen .home-modes-live{left:6.5%;width:87%;height:27.7%;top:54.5%}

.home-screen .home-top{left:2%;top:2%;width:96%;height:11.8%}.home-screen .home-frame-art{width:100%;height:100%;overflow:visible}.home-screen .home-profile-live{left:0;top:0;width:60%;height:100%;background:transparent;border:0;box-shadow:none;padding:0}.home-screen .home-avatar-live{left:5.3%;top:50%;transform:translateY(-50%);width:30.8%;height:auto;aspect-ratio:1;border:0;box-shadow:none;background:#fff3d9;overflow:hidden}.home-screen .home-avatar-live svg{width:110%;height:110%;max-width:none}.home-screen .home-name-live{left:41%;top:25%;width:52%;font:900 3.7cqw Arial;color:#51270e;background:none}.home-screen .home-level-live{left:41%;top:46%;font:800 2.6cqw Arial;background:none}.home-screen .home-xp-live{left:42%;top:65%;width:49%;height:14%;background:transparent;box-shadow:none;font:800 1.8cqw Arial;display:grid;place-items:center;border-radius:3cqw}.home-screen .home-xp-live>span:last-child{padding:0}.home-screen .home-wallet-live{left:61%;width:31%;height:40%;padding:0;background:transparent;border:0;box-shadow:none}.home-screen .wallet-coins{top:12%}.home-screen .wallet-gems{top:55%}.home-screen .home-wallet-live>img,.home-screen .wallet-plus{display:none}.home-screen .home-wallet-live strong{position:absolute;left:33%;width:47%;font:900 3.5cqw Arial;text-align:center}.home-screen .wallet-gems strong{left:33%;width:43%}.home-screen .home-gear-live{left:89%;right:auto;top:3.5%;width:8.5%;height:5%;padding:0;background:transparent;border:0;box-shadow:none}.home-screen .home-gear-live svg{opacity:0}

.home-screen .home-top .home-wallet-live>img,.home-screen .home-top .home-wallet-live .wallet-plus{display:none!important}

.home-screen .home-top .home-wallet-live{display:block}.home-screen .home-top .wallet-coins{top:11%;height:40%}.home-screen .home-top .wallet-gems{top:54%;height:40%}.home-screen .home-top .home-wallet-live strong{top:0;bottom:0;display:flex;align-items:center;justify-content:center;line-height:1;left:30%;width:52%;margin:0;padding:0;font:900 3.5cqw Arial}.home-screen .home-top .wallet-gems strong{left:30%;width:46%}.home-screen .home-top .home-name-live{top:23%;left:41%;width:52%;line-height:1.1}.home-screen .home-top .home-level-live{top:45%;left:41%;line-height:1.1}.home-screen .home-top .home-xp-live{top:64%;height:16%;display:flex;align-items:center;justify-content:center;line-height:1}.home-screen .home-top .home-xp-live>span:last-child{padding:0;margin:0;line-height:1}

.home-screen .home-top .home-wallet-live{transform:none}

.home-screen .home-top .home-level-live{left:43%}.home-screen .home-top .home-xp-live{left:43%;width:51%}.home-screen .home-top .home-xp-live>span:last-child{width:100%;text-align:center;transform:none}
/* Barra compacta del inicio: avatar, progreso y ambos saldos en una fila. */
.home-screen .home-top.compact-home-top{box-sizing:border-box;left:5%;top:2.2%;width:84%;height:5.9%;border:.5cqw solid #e5a620;border-radius:4cqw;background:linear-gradient(#fff9e8,#f7dfb1);box-shadow:inset 0 0 0 .35cqw #fff5c2,0 0 0 .2cqw #854208,0 .5cqw 1cqw #38150966;overflow:visible}
.home-screen .compact-home-top .home-profile-live{left:-3.5%;top:-12%;width:54%;height:124%;padding:0;border:0;background:transparent;box-shadow:none}
.home-screen .compact-home-top .home-avatar-live{left:0;top:50%;width:32%;height:auto;aspect-ratio:1;transform:translateY(-50%);border:.45cqw solid #eab12c;border-radius:50%;box-shadow:0 0 0 .25cqw #fff5c5,0 .3cqw .6cqw #62310b88;display:grid;place-items:center;background:#fff0c9;overflow:hidden}
.home-screen .compact-home-top .home-avatar-live svg{display:block;width:110%;height:110%;flex-shrink:0}.home-screen .compact-home-top .home-avatar-live>img{display:block;width:100%;height:100%;object-fit:cover}
.home-screen .compact-home-top .home-name-live{left:36%;top:19%;width:61%;font:900 3.35cqw/1.1 'Trebuchet MS',Arial,sans-serif;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.home-screen .compact-home-top .home-xp-live{box-sizing:border-box;left:38%;top:55%;width:59%;height:29%;background:linear-gradient(#4b200f,#784124);border:.32cqw solid #dc9e1b;border-radius:3cqw;box-shadow:inset 0 .2cqw .35cqw #251006;overflow:hidden;font:800 1.85cqw/1 Arial;color:#fff4d0;isolation:isolate}
.home-screen .compact-home-top .home-xp-fill{position:absolute;left:0;top:0;bottom:0;height:100%;z-index:-1;background:linear-gradient(#bcff58,#49c900 48%,#268900);border-radius:inherit}
.home-screen .compact-home-top .home-xp-live>span:last-child{position:absolute;inset:0;display:grid;place-items:center;width:100%;text-shadow:0 1px 2px #241005}
.compact-level{position:absolute;left:32%;top:48%;width:13%;aspect-ratio:1;display:grid;place-items:center;z-index:2}.compact-level svg{position:absolute;inset:0;width:100%;height:100%;filter:drop-shadow(0 1px 1px #66320b88)}.compact-level b{position:relative;font:900 2.6cqw/1 Arial;color:#fff6d2;text-shadow:0 1px 1px #7d3604}
.home-screen .home-top.compact-home-top .home-wallet-live{box-sizing:border-box;top:24%;height:55%;padding:0;display:flex;align-items:center;border:.4cqw solid #eab326;border-radius:5cqw;background:linear-gradient(#733919,#401b0c);box-shadow:inset 0 .25cqw .4cqw #281006;color:#fff7e3;overflow:visible}
.home-screen .home-top.compact-home-top .wallet-coins{left:50%;width:23%}.home-screen .home-top.compact-home-top .wallet-gems{left:75%;width:23%}
.home-screen .home-top.compact-home-top .home-wallet-live>img{display:block!important;position:absolute;left:-5%;top:-15%;height:130%;width:auto;aspect-ratio:1;object-fit:contain}
.home-screen .home-top.compact-home-top .home-wallet-live strong{left:28%;width:68%;top:0;bottom:0;font:900 3cqw/1 Arial;text-shadow:0 1px 1px #261005;overflow:hidden}
.home-screen .home-top.compact-home-top .wallet-gems strong{left:27%;width:46%;font-size:2.8cqw}
.home-screen .home-top.compact-home-top .wallet-plus{display:grid!important;position:absolute;right:1%;top:8%;height:84%;aspect-ratio:1;border:.25cqw solid #c7ee53;border-radius:50%;background:linear-gradient(#72ec36,#009c29);color:#fff9d8;place-items:center;font:900 3.6cqw/1 Arial;box-shadow:0 1px 2px #130c06}
.home-screen .home-gear-live.compact-home-gear{box-sizing:border-box;left:auto;right:1.5%;top:3%;width:8%;height:auto;aspect-ratio:1;padding:1.2cqw;border:.45cqw solid #e7ad2b;border-radius:50%;background:linear-gradient(#fff9e6,#f1d493);color:#73370e;box-shadow:inset 0 0 0 .25cqw #fff7cd,0 .3cqw .6cqw #32130677;display:grid;place-items:center}.home-screen .compact-home-gear svg{display:block;opacity:1;width:100%;height:100%}

/* Marco ilustrado de la propuesta aprobada, sin deformar. */
.home-screen .home-top.approved-home-top{left:1%;top:1.4%;width:98%;height:auto;aspect-ratio:2172/365;border:0;border-radius:0;background:none;box-shadow:none;overflow:visible}
.approved-hud-art{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.home-screen .approved-home-top .home-profile-live{left:0;top:0;width:44%;height:100%}
.home-screen .approved-home-top .home-avatar-live{left:3.5%;top:50%;width:30%;aspect-ratio:1;transform:translateY(-50%);border:0;box-shadow:none;background:none;overflow:hidden}
.home-screen .approved-home-top .home-name-live{left:40%;top:24%;width:57%;font:900 3.5cqw/1.1 'Trebuchet MS',Arial,sans-serif}
.home-screen .approved-home-top .home-xp-live{left:45%;top:63%;width:50%;height:17%;border:0;background:none;box-shadow:none;font:800 1.9cqw/1 Arial}
.home-screen .approved-home-top .compact-level{left:39%;top:60%;width:9%;height:24%;aspect-ratio:auto}.approved-home-top .compact-level svg{display:none}.approved-home-top .compact-level b{font-size:2.5cqw}
.home-screen .home-top.approved-home-top .home-wallet-live{top:32%;height:37%;border:0;background:none;box-shadow:none}.home-screen .home-top.approved-home-top .wallet-coins{left:46%;width:23%}.home-screen .home-top.approved-home-top .wallet-gems{left:70%;width:20%}
.home-screen .home-top.approved-home-top .home-wallet-live>img,.home-screen .home-top.approved-home-top .wallet-plus{display:none!important}.home-screen .home-top.approved-home-top .wallet-coins strong{left:30%;width:66%;font-size:3.2cqw}.home-screen .home-top.approved-home-top .wallet-gems strong{left:28%;width:47%;font-size:3.1cqw}
.home-screen:has(.approved-home-top) .compact-home-gear{right:1.1%;top:3.8%;width:8.1%;border:0;background:none;box-shadow:none;padding:0}.home-screen:has(.approved-home-top) .compact-home-gear svg{opacity:0}

/* Coordenadas del marco ilustrado: avatar, estrella y experiencia. */
.home-screen .approved-home-top .home-avatar-live{left:3.5%;top:48%;width:31.2%;transform:translateY(-50%);display:grid;place-items:center}
.home-screen .approved-home-top .home-avatar-live>svg{position:absolute;left:50%;top:50%;width:110%;height:110%;transform:translate(-50%,-50%);max-width:none}
.home-screen .approved-home-top .home-avatar-live>img{position:absolute;left:50%;top:50%;width:100%;height:100%;transform:translate(-50%,-50%);object-fit:cover}
.home-screen .approved-home-top .home-xp-live{left:45%;top:55%;width:51%;height:19%;padding:0;display:block;line-height:1}
.home-screen .approved-home-top .home-xp-live>span:last-child{position:absolute;inset:0;width:100%;height:100%;padding:0;margin:0;display:flex;align-items:center;justify-content:center;line-height:1;transform:none;text-align:center}
.home-screen .approved-home-top .compact-level{left:38.8%;top:49%;width:10.2%;height:29%;display:flex;align-items:center;justify-content:center;padding:0;line-height:1}
.home-screen .approved-home-top .compact-level b{display:block;margin:0;padding:0;line-height:1;transform:none;text-align:center}

.home-screen .approved-home-top .home-avatar-live{left:6.1%;top:49.6%;width:29.3%;aspect-ratio:1;transform:translateY(-50%)}
.home-screen .approved-home-top .home-avatar-live>svg{left:50%;top:50%;width:110%;height:110%;transform:translate(-50%,-50%)}
.home-screen .approved-home-top .compact-level{left:40.3%;top:49.7%;width:10.2%;height:29%;align-items:center;justify-content:center}
.home-screen .approved-home-top .compact-level b{transform:translateY(-.1cqw)}
.home-screen .home-top.approved-home-top .wallet-gems{left:70%;width:21%}
.home-screen:has(.approved-home-top) .compact-home-gear{right:.3%}

.home-screen .home-top.approved-home-top .wallet-coins{left:46.5%;width:21.2%}.home-screen .home-top.approved-home-top .wallet-gems{left:68.1%;width:22%}.home-screen .home-top.approved-home-top .wallet-coins strong{left:28%;width:68%;font-size:3cqw}.home-screen .home-top.approved-home-top .wallet-gems strong{left:30%;width:45%;font-size:3.1cqw}

/* Encabezado ampliado; ajustes fuera de la barra. */
.home-screen .home-top.approved-home-top{left:1%;top:1.4%;width:98%;aspect-ratio:1970/365}
.home-screen .approved-home-top .home-profile-live{width:48.5%}
.home-screen .home-top.approved-home-top .wallet-coins{left:51.3%;width:23.4%}
.home-screen .home-top.approved-home-top .wallet-gems{left:75.1%;width:24.3%}
.home-screen .approved-home-top .home-name-live{font-size:3.85cqw}
.home-screen .approved-home-top .home-xp-live{font-size:2.1cqw}
.home-screen .approved-home-top .compact-level b{font-size:2.75cqw}
.home-screen .home-top.approved-home-top .wallet-coins strong{font-size:3.3cqw}
.home-screen .home-top.approved-home-top .wallet-gems strong{font-size:3.4cqw}
.home-screen:has(.approved-home-top) .compact-home-gear{right:3.2%;top:10.8%;width:10%;aspect-ratio:1;border:0;background:none;box-shadow:none;padding:0}
.home-screen:has(.approved-home-top) .compact-home-gear svg{display:block;opacity:1;width:100%;height:100%;overflow:visible}

/* Recortar el recurso del engrane para no mostrar el resto del encabezado. */
.home-screen:has(.approved-home-top) .compact-home-gear{overflow:hidden;border-radius:50%}
.home-screen:has(.approved-home-top) .compact-home-gear svg{overflow:hidden}

.home-screen .home-top.approved-home-top .wallet-coins{left:49.8%;width:23.4%}
.home-screen .home-top.approved-home-top .wallet-gems{left:73.6%;width:24.3%}
.home-screen .approved-home-top .home-avatar-live{left:5.2%;top:49.6%;width:31.1%;height:auto;aspect-ratio:1;overflow:hidden;border-radius:50%;display:block}
.home-screen .approved-home-top .home-avatar-live>svg{position:absolute;left:50%;top:50%;width:122%;height:122%;max-width:none;transform:translate(-50%,-50%);margin:0}
.home-screen .approved-home-top .home-avatar-live>img{position:absolute;left:50%;top:50%;width:110%;height:110%;object-fit:cover;transform:translate(-50%,-50%);margin:0}

/* Una sola imagen limpia: sin parches superpuestos en los contadores. */
.home-screen .home-top.approved-home-top{aspect-ratio:2172/365}
.home-screen .approved-home-top .home-profile-live{width:48.5%}
.home-screen .approved-home-top .home-avatar-live{left:4.7%;width:28.2%;top:49.6%}
.home-screen .approved-home-top .home-name-live{left:36%;width:59%;top:24%}
.home-screen .approved-home-top .home-xp-live{left:44%;width:49%;top:55%;height:19%}
.home-screen .approved-home-top .compact-level{left:36.2%;width:10.2%;top:46%;height:29%}
.home-screen .approved-home-top .compact-level b{transform:none;line-height:1}
.home-screen .home-top.approved-home-top .wallet-coins{left:49%;width:21%;top:32%;height:37%}
.home-screen .home-top.approved-home-top .wallet-gems{left:71%;width:24%;top:32%;height:37%}
.home-screen .home-top.approved-home-top .wallet-coins strong{left:22%;width:76%;font-size:3.2cqw;display:flex;align-items:center;justify-content:center;text-align:center;padding:0;margin:0;line-height:1}
.home-screen .home-top.approved-home-top .wallet-gems strong{left:25%;width:48%;font-size:3.2cqw;display:flex;align-items:center;justify-content:center;text-align:center;padding:0;margin:0;line-height:1}

/* Más espacio para el avatar, con nombre y progreso desplazados. */
.home-screen .approved-home-top .home-avatar-live{left:2.2%;width:33%;top:51.3%}
.home-screen .approved-home-top .home-name-live{left:44%;width:51%;top:24%;font-size:3.7cqw}
.home-screen .approved-home-top .home-xp-live{left:50.5%;width:43%;top:55%;height:19%}
.home-screen .approved-home-top .compact-level{left:43.5%;width:9%;top:46%;height:29%}

/* Encabezado continuo: una pieza con su proporción original. */
.home-screen .home-top.approved-home-top{aspect-ratio:2172/450;top:.9%}
.home-screen .approved-home-top .home-avatar-live{left:5.2%;width:35%;top:50%;aspect-ratio:1}
.home-screen .approved-home-top .home-name-live{left:44%;top:26%;width:50%;font-size:3.7cqw}
.home-screen .approved-home-top .home-xp-live{left:54%;width:38%;top:51%;height:16%;font-size:2cqw}
.home-screen .approved-home-top .compact-level{left:45.7%;width:10.2%;top:44%;height:27%}
.home-screen .approved-home-top .compact-level b{font-size:2.7cqw;transform:none}
.home-screen .home-top.approved-home-top .wallet-coins{left:47.5%;width:22%;top:36%;height:30%}
.home-screen .home-top.approved-home-top .wallet-gems{left:71%;width:25%;top:36%;height:30%}
.home-screen .home-top.approved-home-top .wallet-coins strong{left:28%;width:70%;font-size:3.2cqw}
.home-screen .home-top.approved-home-top .wallet-gems strong{left:28%;width:45%;font-size:3.2cqw}

.home-screen .approved-home-top .home-name-live{left:47%;width:47%}
.home-screen .approved-home-top .compact-level{left:44.4%;top:45.5%;width:10.2%;height:27%;display:flex;align-items:center;justify-content:center}
.home-screen .approved-home-top .compact-level b{margin:0;padding:0;line-height:1;transform:translateY(.12cqw)}
.home-screen:has(.approved-home-top) .compact-home-gear{top:9.5%}

.home-screen:has(.approved-home-top) .compact-home-gear{right:1.8%}

.home-screen .approved-home-top .compact-level b{transform:translateX(.55cqw)}


.home-screen .live-mode-0{position:absolute;overflow:hidden}
.online-orbit-fx{position:absolute;inset:0;display:block;width:100%;height:100%;pointer-events:none;overflow:hidden;border-radius:inherit}
.online-orbit-lamp{opacity:0}
.online-frame-glint{opacity:0;animation:online-frame-glint 9s linear infinite}
@keyframes online-frame-glint{0%,58%{opacity:0;stroke-dashoffset:0}61%{opacity:.9}87%{opacity:.8;stroke-dashoffset:-3550}90%,100%{opacity:0;stroke-dashoffset:-3600}}
@media(prefers-reduced-motion:reduce){.online-orbit-fx{display:none}}

.home-screen .live-mode-1{overflow:hidden}
.robot-button-animation{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none;border-radius:inherit;overflow:hidden}
.robot-wave-arm{transform-origin:292px 805px;animation:robot-real-wave 6s ease-in-out infinite}
@keyframes robot-real-wave{0%,8%,43%,100%{transform:rotate(0deg)}15%,29%{transform:rotate(7deg)}22%,36%{transform:rotate(-6deg)}}
.robot-floating-die{transform-origin:610px 735px;animation:robot-real-die 5s ease-in-out infinite}
@keyframes robot-real-die{0%,12%,58%,100%{transform:translateY(0) rotate(0deg)}29%{transform:translateY(-10px) rotate(-4deg)}43%{transform:translateY(-5px) rotate(3deg)}}
@media(prefers-reduced-motion:reduce){.robot-wave-arm,.robot-floating-die{animation:none}}

.home-screen .live-mode-2{overflow:hidden}
.friends-phone-light{position:absolute;inset:0;display:block;width:100%;height:100%;pointer-events:none;overflow:hidden;border-radius:inherit;mix-blend-mode:screen}
.friend-phone-glow{opacity:0;animation:friends-soft-phone-glow 9s ease-in-out infinite}
.girl-phone-glow{animation-delay:4.5s}
@keyframes friends-soft-phone-glow{0%,4%,39%,100%{opacity:0}14%,24%{opacity:.72}32%{opacity:.3}}
@media(prefers-reduced-motion:reduce){.friends-phone-light{display:none}}

.friends-phone-light{mix-blend-mode:normal}
.friend-phone-glow{mix-blend-mode:screen}
.friend-blink{opacity:0;animation:friends-real-blink 5.7s linear infinite}
.girl-blink{animation-delay:2.6s;animation-duration:6.3s}
@keyframes friends-real-blink{0%,44.9%,48.1%,100%{opacity:0}45%,48%{opacity:1}}
@media(prefers-reduced-motion:reduce){.friend-blink{animation:none}}

.friends-head-motion{position:absolute;inset:0;display:block;width:100%;height:100%;pointer-events:none;overflow:hidden;border-radius:inherit}
@media(prefers-reduced-motion:reduce){.friends-head-motion{display:none}}

.boy-whole-head{transform-origin:1002px 746px;animation:friend-head-gentle-tilt 10s ease-in-out infinite}
.girl-whole-head{transform-origin:1303px 756px;animation:friend-head-gentle-tilt 10s ease-in-out infinite;animation-delay:5s}
@keyframes friend-head-gentle-tilt{0%,4%,38%,100%{transform:rotate(0)}15%{transform:rotate(1.2deg)}27%{transform:rotate(-1deg)}}
@media(prefers-reduced-motion:reduce){.friend-whole-head{animation:none}}

/* Keep the level star above the XP fill and the brown track below it. */
.home-screen .approved-home-top .home-xp-live{z-index:1}
.home-screen .approved-home-top .compact-level{z-index:2}
.home-screen .approved-home-top .compact-level svg{display:none}
.home-screen .approved-home-top .compact-level b{z-index:1}

/* Leave the original illustrated star clear of the live XP fill. */
.home-screen .approved-home-top .home-xp-live{left:57%;width:35%}

.home-screen .approved-home-top .home-xp-live{left:50%;width:42%}
.home-screen .approved-home-top .xp-star-original{z-index:2}
.home-screen .approved-home-top .compact-level{z-index:3}

.game-invite-notice{position:fixed;z-index:210;top:max(14px,env(safe-area-inset-top));left:50%;transform:translateX(-50%);width:min(92vw,400px);display:grid;grid-template-columns:62px 1fr;gap:9px;padding:13px;border:3px solid #edbd4e;border-radius:22px;background:linear-gradient(125deg,#fffbee,#f1d8ab);box-shadow:0 6px 22px #35170766;color:#63330e;font:15px Arial}
.invite-face{width:62px;height:62px;border-radius:50%;overflow:hidden}.invite-face svg,.invite-face img{width:100%;height:100%;object-fit:contain}.invite-copy{display:flex;flex-direction:column;gap:4px}.invite-copy strong{font-size:19px}.invite-copy small{font-size:11px;line-height:1.3}.invite-actions{grid-column:1/-1;display:flex;gap:8px}.invite-actions button{flex:1;min-height:40px;padding:7px;border:2px solid #dca43a;border-radius:14px;font:bold 15px Arial;background:#fff5db;color:#63330e}.invite-actions button:first-child{background:linear-gradient(#13d579,#008742);color:white}.invite-actions button:disabled{opacity:.55}.game-invite-notice p{grid-column:1/-1;margin:0;font-size:12px}.game-invite-notice p:empty{display:none}.game-invite-notice.is-playing{top:auto;bottom:max(12px,env(safe-area-inset-bottom));padding:9px;grid-template-columns:42px 1fr}.is-playing .invite-face{width:42px;height:42px}.is-playing .invite-copy strong{font-size:16px}

/* Approved gold invitation artwork with live avatar, name and hit targets. */
.game-invite-notice{top:18%;bottom:auto;width:min(100vw,580px);aspect-ratio:1536/1024;display:block;padding:0;border:0;border-radius:0;background:none;box-shadow:none;isolation:isolate;font-family:Georgia,serif}
.invite-card-art{position:absolute;inset:0;display:block;width:100%;height:100%;pointer-events:none}
.game-invite-notice .invite-face{position:absolute;left:9.9%;top:29%;width:26%;height:36.5%;border-radius:50%;overflow:hidden;background:#350760}
.game-invite-notice .invite-face svg,.game-invite-notice .invite-face img{display:block;width:100%;height:100%;object-fit:cover}
.invite-live-name{position:absolute;left:39%;top:33%;width:31%;height:12%;display:flex;align-items:center;justify-content:center;color:#512309;font:bold clamp(17px,5vw,36px) Georgia,serif;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.game-invite-notice .invite-actions{position:absolute;inset:0;display:block;pointer-events:none}
.game-invite-notice .invite-actions button,.game-invite-notice .invite-close{position:absolute;border:0;background:transparent;box-shadow:none;margin:0;padding:0;min-height:0;border-radius:999px;color:transparent;pointer-events:auto}
.game-invite-notice [data-invite-accept]{left:16%;top:68.5%;width:42%;height:16%}
.game-invite-notice [data-invite-dismiss]{left:60%;top:69%;width:25%;height:15%}
.game-invite-notice .invite-close{left:85%;top:13%;width:7%;height:11%}
.game-invite-notice .invite-actions button:disabled{background:#45270c66;opacity:1}
.game-invite-notice button:focus-visible{outline:3px solid #fff4a0;outline-offset:-4px}
.game-invite-notice p{position:absolute;left:13%;top:95%;width:74%;margin:0;padding:5px 8px;border-radius:10px;background:#fff3d9;color:#63330e;font:13px Arial;text-align:center}
.game-invite-notice.is-playing{top:auto;bottom:8px;left:auto;right:0;transform:none;width:min(88vw,380px);padding:0}
.game-invite-notice.is-playing .invite-face{width:26%;height:36.5%}

.game-invite-notice .invite-face,.game-invite-notice.is-playing .invite-face{left:10.1%;top:28.9%;width:25.4%;height:auto;aspect-ratio:1;border-radius:50%}
.game-invite-notice .invite-live-name{left:40.5%;top:33.5%;width:47%;height:12%;font-size:clamp(18px,5.7vw,42px)}

/* Compact invitation notice, sized relative to the portrait game surface. */
.game-invite-notice{top:max(12px,env(safe-area-inset-top));width:min(82vw,calc(100dvh * .38),350px)}
.game-invite-notice .invite-live-name{font-size:clamp(14px,3.6vw,24px)}
.game-invite-notice.is-playing{width:min(78vw,300px)}

.friends-shell .friends-return-room{position:absolute;left:4%;top:1%;z-index:8;padding:8px 13px;min-height:36px;border:2px solid #efbf4d;border-radius:20px;background:linear-gradient(#19d479,#008445);color:white;font:800 13px Arial;box-shadow:0 2px 3px #68350d55}

.game-invite-notice.compact-invite,.game-invite-notice.compact-invite.is-playing{top:max(12px,env(safe-area-inset-top));bottom:auto;left:50%;right:auto;transform:translateX(-50%);width:min(94vw,440px);aspect-ratio:auto;min-height:78px;padding:10px 12px;display:grid;grid-template-columns:56px minmax(0,1fr) 88px;gap:9px;align-items:center;border:3px solid #dca32d;border-radius:44px;background:linear-gradient(#fff9e8,#f2dfb7);box-shadow:inset 0 0 0 2px #fff5c9,0 2px 0 #885013,0 5px 14px #351b0755;color:#63310e;font-family:Arial}
.game-invite-notice.compact-invite .invite-face{position:static;width:56px;height:56px;aspect-ratio:1;border:2px solid #dca32d;border-radius:50%;background:#fff2d4}
.compact-invite-copy{min-width:0;font:700 13px/1.2 Arial}.compact-invite-copy strong{font-size:15px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.compact-invite-copy span{display:block;font-size:12px;font-weight:600}.compact-invite-copy small{display:flex;align-items:center;gap:4px;margin-top:4px;font:700 11px Arial;white-space:nowrap}.compact-invite-copy small img{width:18px;height:18px;object-fit:contain}
.game-invite-notice.compact-invite .invite-actions{position:static;display:flex;gap:6px;pointer-events:auto}
.game-invite-notice.compact-invite .invite-actions button{position:static;display:grid;place-items:center;flex:none;width:41px;height:41px;min-height:41px;padding:8px;border:2px solid #daa42e;border-radius:50%;box-shadow:inset 0 0 0 1px #fff4aa,0 2px 2px #79491066;background:linear-gradient(#22d576,#008640)}
.game-invite-notice.compact-invite [data-invite-dismiss]{background:linear-gradient(#fffbea,#efd298)}
.compact-invite .invite-actions svg{width:100%;height:100%;fill:none;stroke:#fff5ce;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 1px 1px #70450c)}
.compact-invite [data-invite-dismiss] svg{stroke:#ba301b}
.game-invite-notice.compact-invite .invite-actions button:disabled{opacity:.45}
.game-invite-notice.compact-invite p{position:static;grid-column:1/-1;width:auto;margin:0;padding:3px 10px;background:transparent;font:12px Arial;text-align:center}

/* Use the approved illustrated notification, with live content and real controls. */
.game-invite-notice.compact-invite.illustrated-invite{display:block;width:min(96vw,460px);aspect-ratio:2060/415;min-height:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
.illustrated-invite .invite-strip-art{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none}
.game-invite-notice.compact-invite.illustrated-invite .invite-face{position:absolute;left:4.5%;top:9%;width:15%;height:auto;aspect-ratio:1;border:0;border-radius:50%;background:#06420d}
.illustrated-invite .compact-invite-copy{position:absolute;left:23%;top:25%;width:47%;font:700 clamp(10px,2.8vw,13px)/1.25 Arial;white-space:nowrap;overflow:hidden;color:#62340d}
.illustrated-invite .compact-invite-copy strong,.illustrated-invite .compact-invite-copy span{display:inline;font:inherit}
.illustrated-invite .compact-invite-copy small{display:block;padding-left:11%;margin-top:8%;font:600 clamp(9px,2.6vw,12px)/1.1 Arial}
.game-invite-notice.compact-invite.illustrated-invite .invite-actions{position:absolute;inset:0;display:block;pointer-events:none}
.game-invite-notice.compact-invite.illustrated-invite .invite-actions button{position:absolute;top:18%;width:12%;height:64%;min-height:0;padding:0;margin:0;border:0;border-radius:50%;background:transparent;box-shadow:none;pointer-events:auto}
.illustrated-invite [data-invite-accept]{left:71.2%}.illustrated-invite [data-invite-dismiss]{left:84.4%}
.illustrated-invite .invite-actions svg{display:none}
.game-invite-notice.compact-invite.illustrated-invite .invite-actions button:disabled{opacity:1;background:#573a2077}
.game-invite-notice.compact-invite.illustrated-invite p{position:absolute;left:10%;top:100%;width:80%;padding:5px;background:#fff2d4;border-radius:9px}

.game-invite-notice.compact-invite.illustrated-invite .invite-face{left:5.05%;top:11.55%;width:14.85%;height:auto;aspect-ratio:1}
.illustrated-invite .compact-invite-copy{inset:0;width:100%;height:100%;overflow:visible}
.illustrated-invite .invite-summary-line{position:absolute;left:24.5%;top:29%;width:45.5%;height:23%;display:flex;align-items:center;gap:.3em;white-space:nowrap;overflow:hidden;font:700 clamp(10px,2.8vw,13px)/1 Arial}
.illustrated-invite .invite-summary-line strong{min-width:0;overflow:hidden;text-overflow:ellipsis;flex-shrink:1}.illustrated-invite .invite-summary-line span{flex-shrink:0}
.illustrated-invite .compact-invite-copy small{position:absolute;left:30.2%;top:57%;width:39.5%;height:17%;display:flex;align-items:center;padding:0;margin:0;white-space:nowrap;font:600 clamp(9px,2.6vw,12px)/1 Arial}
