*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 0 10%,#3546e1 0,transparent 35%),radial-gradient(ellipse at 95% 95%,#7105e5 0,transparent 40%),linear-gradient(145deg,#061c88,#171078 65%,#190768);color:white;font-family:'Trebuchet MS',system-ui,sans-serif;min-height:100svh}button,input,a{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}.shell{max-width:800px;margin:auto;padding:20px 20px 35px}header{position:relative;display:flex;justify-content:center;align-items:center;min-height:112px;margin-bottom:16px}.back{position:absolute;left:0;top:8px;background:linear-gradient(#ba69ff,#6803e6);border:3px solid #d49bff;border-radius:50%;width:54px;height:54px;display:grid;place-items:center;font-size:32px;box-shadow:0 5px 0 #1d0059}.brand{font-size:46px;font-weight:1000;font-style:italic;color:#ffe42e;line-height:.9;text-align:center;filter:drop-shadow(0 4px #020d39);-webkit-text-stroke:1px #07152e;text-shadow:2px 2px #041442}.brand span{display:block;color:#15e4ed;font-size:49px}h1{text-align:center;font-size:clamp(32px,7vw,52px);line-height:1.1;margin:16px 0 12px;text-shadow:0 4px #060c50}h2{font-size:26px;margin:24px 0 14px}.sub{text-align:center;color:#d8d5ff;font-size:18px;margin:0 0 24px}.hero{width:100%;height:auto;border-radius:24px;margin:4px 0 14px}.nav{display:grid;gap:16px}.big{width:100%;display:flex;align-items:center;gap:18px;justify-content:space-between;min-height:83px;padding:17px 24px;border-radius:36px;border:3px solid #fff8a4;background:linear-gradient(#ffed4a,#ffbf00);box-shadow:inset 0 4px 0 #fff9,0 7px 0 #d98b09,0 11px 20px #02082f55;color:#061045;font-size:clamp(21px,5vw,32px);font-weight:1000}.big i{font-style:normal;font-size:35px}.big b{flex:1;text-align:left}.big.purple{color:white;background:linear-gradient(#bb5bff,#7206e9);border-color:#d68aff;box-shadow:inset 0 4px #fff5,0 7px #4800b1}.big.orange{background:linear-gradient(#ffb080,#ff684b);border-color:#ffd0ab;box-shadow:inset 0 4px #fff5,0 7px #cf3727}.big.cyan{background:linear-gradient(#55f7ff,#08b9f1);border-color:#a8fbff;box-shadow:inset 0 4px #fff5,0 7px #037fc5}.panel,.row,.game{background:linear-gradient(120deg,#fff,#e7e2fa);border:2px solid #fff9;color:#121749;border-radius:25px;padding:22px;box-shadow:0 8px 18px #0002}.notice{background:#fff08a;color:#16174e;padding:18px;border-radius:25px;line-height:1.5;font-weight:700}.field{display:block;font-size:23px;font-weight:800;margin:23px 0 12px}input{width:100%;border:3px solid #b6b5ff;border-radius:22px;padding:18px;background:#faf9ff;color:#111645;font-size:23px}input:focus{outline:3px solid #ffdf19}.counter{text-align:right;font-size:14px;margin-top:5px}.avatars{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:26px}.avatar{display:block;width:100%;aspect-ratio:1;border-radius:22%;overflow:hidden;background:#2c55ca}.avatar svg{display:block;width:100%;height:100%}.avatar-btn{border:3px solid transparent;border-radius:25%;padding:0;background:none}.avatar-btn[aria-pressed=true]{border-color:#fff35e;box-shadow:0 0 0 3px #ffd21b,0 0 20px #ffdb53}.avatar-btn[aria-pressed=true]::after{content:'✓';position:absolute;background:#ffe334;color:#10104b;border-radius:50%;padding:3px 8px;font-weight:900;transform:translate(-50%,-100%)}.small{font-size:14px;line-height:1.5;color:#dedaff}.actions{display:flex;gap:10px;margin-top:15px;flex-wrap:wrap}.textbtn{background:#ffffff1a;border:1px solid #aaa7eb;color:white;border-radius:18px;padding:12px 16px;min-height:44px}.summary{text-align:center}.summary .crown{font-size:50px}.summary h2{margin:5px 0 14px}.tally{display:flex;justify-content:center;gap:25px;font-size:22px;font-weight:800}.games{display:grid;gap:14px}.game{display:flex;gap:16px;align-items:center;padding:18px}.game .icon{font-size:43px;background:#c7e6ff;border:3px solid #8aaafb;border-radius:20px;min-width:74px;min-height:74px;display:grid;place-items:center}.info{flex:1;min-width:0}.info b{font-size:21px}.rec{margin-top:4px;color:#504783}.progress{height:13px;border-radius:20px;background:#d0c8e6;margin:10px 0 5px;overflow:hidden}.progress span{display:block;height:100%;background:linear-gradient(#ffe232,#ffad02);border-radius:inherit}.next{font-size:13px;color:#534090}.medal{font-size:26px}.podium{display:flex;gap:12px;align-items:end;margin:32px 0 24px}.pod{width:33.333%;text-align:center;min-width:0}.pod .avatar{width:80%;max-width:140px;margin:auto;border:4px solid #f8ce44;box-shadow:0 0 18px #fff3}.stand{background:linear-gradient(#ffe96a,#ffb200);color:#111744;border-radius:18px 18px 10px 10px;padding:14px 5px;min-height:130px;margin-top:7px;border:2px solid #fff7;overflow-wrap:anywhere}.stand strong{font-size:28px;display:block}.stand b{display:block;font-size:clamp(14px,3vw,22px);margin:8px 0}.pod:nth-child(1) .stand{background:linear-gradient(#f4f4ff,#aaaacb);min-height:112px}.pod:nth-child(3) .stand{background:linear-gradient(#ffc77c,#dc691b);min-height:98px}.row{display:flex;align-items:center;gap:12px;border-radius:22px;padding:10px 16px;margin:10px 0;font-weight:800}.row .avatar{width:48px;flex-shrink:0}.row .name{flex:1;overflow-wrap:anywhere}.row .place{font-size:24px;min-width:36px}.own{position:sticky;bottom:12px;background:linear-gradient(#6a22db,#2d0877);color:white;border:3px solid #ffdd2e;box-shadow:0 4px 20px #0005}.empty{text-align:center;padding:35px 22px;line-height:1.6}.empty .icon{font-size:60px}details{margin:20px 0;color:#e2deff;line-height:1.6}summary{cursor:pointer}footer{text-align:center;color:#aba7ed;font-size:13px;margin-top:30px}#status{text-align:center;color:#fff29c;line-height:1.5}button:disabled{opacity:.65;cursor:wait}button:focus-visible,a:focus-visible{outline:4px solid #fff260;outline-offset:4px}@media(max-width:450px){.shell{padding:14px}.avatars{gap:8px}.big{min-height:75px;padding:14px 20px}.game{padding:13px;gap:10px}.game .icon{min-width:58px;min-height:58px;font-size:34px}.info b{font-size:18px}.row{padding:10px;gap:8px}.tally{gap:15px}.panel{padding:18px}.podium{gap:6px}.stand{padding:12px 4px}.brand{font-size:39px}.brand span{font-size:43px}}
.brand{display:block;width:200px;filter:none}.brand svg{width:100%;height:auto;display:block}.mascot{display:block;width:min(70%,350px);margin:10px auto 15px;border-radius:25px}
/* Reference-faithful second design pass. All artwork remains fully contained. */
body{background:radial-gradient(ellipse at 115% 0,#2078fa99 0,transparent 28%),radial-gradient(ellipse at -28% 32%,#5446ff99 0,transparent 35%),radial-gradient(ellipse at -10% 100%,#8105ebbb 0,transparent 34%),linear-gradient(150deg,#0023a1,#100a8c 55%,#241099);font-weight:600;background-attachment:fixed}.shell{max-width:560px;padding:22px 22px 28px}header{min-height:108px;margin:0;align-items:flex-start}.brand{width:174px;height:112px;display:block}.brand img{width:100%;height:100%;object-fit:contain}.back{width:52px;height:52px;top:0;border:3px solid #c285ff;box-shadow:inset 0 3px 4px #fff7,0 5px 0 #160457,0 6px 9px #0007}.back svg{width:39px;height:39px;fill:none;stroke:white;stroke-width:6;stroke-linecap:round;stroke-linejoin:round}h1{font-weight:1000;letter-spacing:-1.5px;font-size:40px;margin:14px 0 10px;text-shadow:0 4px 0 #020735,2px 0 #020735,-2px 0 #020735}.champion-title{margin:5px 0 0;line-height:1.03;text-align:center;filter:drop-shadow(0 5px 0 #02072e)}.champion-title span{display:block;font-size:clamp(29px,7.5vw,45px);letter-spacing:-1.8px;-webkit-text-stroke:5px #04092d;paint-order:stroke fill;color:#fff}.champion-title strong{display:block;font-size:clamp(46px,12vw,72px);letter-spacing:-3px;background:linear-gradient(#fff951 12%,#ffdf05 60%,#ff9b00);background-clip:text;color:transparent;-webkit-text-stroke:6px #05092e;paint-order:stroke fill}.mascot{display:block;width:70%;height:230px;margin:6px auto 0;object-fit:contain;border-radius:0;filter:drop-shadow(0 3px 0 #ffffff55)}body[data-screen=home] .sub{font-size:clamp(17px,4.5vw,24px);color:white;font-weight:900;margin:3px 0 18px;letter-spacing:-.6px}.nav{gap:15px}.big{min-height:83px;border-radius:40px;font-size:clamp(22px,5.5vw,32px);font-weight:1000;border-width:3px;padding:11px 22px;gap:16px;letter-spacing:-.5px}.big i{font-size:43px;min-width:54px;text-align:center;filter:drop-shadow(0 2px 1px #0007)}.big b{white-space:nowrap}.big:active{transform:translateY(3px)}.profile-heading{position:relative;min-height:74px;display:flex;align-items:center;margin:0 0 14px}.profile-heading h1{font-size:clamp(27px,6.6vw,38px);text-align:left;max-width:78%;letter-spacing:-1.5px;margin:0;z-index:1}.profile-heading img{width:30%;height:125px;object-fit:contain;position:absolute;right:-4px;bottom:-8px}.notice{display:flex;align-items:center;gap:10px;font-size:17px;line-height:1.25;padding:17px 14px;border:2px solid #fff7;border-radius:26px;margin:0}.notice strong{font-weight:1000;font-size:19px}.shield{font-size:49px}.field{font-size:25px;margin-top:19px}.input-wrap{position:relative}input{font-size:22px;padding:16px 65px 16px 15px;border-radius:25px;border:3px solid #c0c0ff;box-shadow:inset 0 2px 2px #fff}.counter{position:absolute;right:16px;top:20px;color:#67668f;font-size:18px;font-weight:800;margin:0}.avatars{gap:10px}.avatar-btn{position:relative;border:0;border-radius:20%;outline-offset:4px}.avatar-btn .avatar{border-radius:17%;overflow:hidden;box-shadow:0 3px 0 #101460}.avatar img{display:block;width:100%;height:100%;object-fit:contain}.avatar-btn[aria-pressed=true]{outline:4px solid #ffdc23;box-shadow:0 0 15px #ffe43c}.avatar-btn[aria-pressed=true]::after{right:0;bottom:0;transform:translate(8%,8%);border:3px solid #132153;font-size:19px}.profile-heading+h2,h2{font-weight:1000}.small{font-size:12px}.panel{border-radius:25px}.summary{display:grid;grid-template-columns:80px 1fr;text-align:left;padding:20px}.summary .crown{grid-column:1;grid-row:1/3;font-size:54px;align-self:center}.summary h2{grid-column:2;font-size:25px;line-height:1.15}.tally{grid-column:2;gap:20px;justify-content:flex-start;font-size:24px}.summary p{grid-column:1/-1;text-align:center;border-top:1px solid #c7bde5;padding-top:16px;margin:16px 0 0}.game{padding:16px;position:relative;border-radius:25px;gap:15px}.game .icon{width:86px;height:86px;font-size:51px;flex-shrink:0;border-radius:22px}.game .info b{font-size:22px;line-height:1.05;display:block;padding-right:24px}.game .medal{position:absolute;right:15px;top:14px;font-size:28px}.rec{font-size:16px}.progress{height:15px;border:1px solid #c1b5dc}.next{font-size:13px;color:#49308c;font-weight:700}.ranking-title{background:linear-gradient(#a936ff,#7500db);border:3px solid #b842ff;border-radius:40px;padding:10px 8px;font-size:38px;box-shadow:inset 0 3px #e9baff66,0 4px #240072;margin:15px 0 9px}.podium{padding-top:36px;gap:7px;margin:25px 0 15px}.pod{position:relative}.pod .avatar{width:90%;border:4px solid #ffd94b;border-radius:25%;box-shadow:0 3px 5px #0006}.pod:nth-child(1) .avatar{border-color:#bfeeff}.pod:nth-child(3) .avatar{border-color:#ffa856}.pod-crown{position:absolute;font-size:60px;left:50%;top:-53px;transform:translateX(-50%) rotate(5deg);z-index:2}.stand{border-radius:14% 14% 10% 10%;min-height:116px;box-shadow:inset 0 -7px #b55f0022,0 5px 0 #e89a10;margin-top:-2px;padding:12px 4px 16px;border:2px solid #ffe477}.stand strong{border-radius:20px;border:2px solid #fff8;box-shadow:0 3px #03082d33;background:linear-gradient(#fff883,#ffc900);width:70px;margin:-22px auto 6px;position:relative;font-size:29px}.stand b{font-size:17px;margin:8px 0 5px}.stand{font-size:18px;font-weight:1000}.pod:nth-child(1) .stand{min-height:105px;border-color:#ecedff;box-shadow:inset 0 -7px #34407822,0 5px #808bab}.pod:nth-child(1) strong{background:linear-gradient(#fff,#a7b8dc)}.pod:nth-child(3) .stand{min-height:93px;border-color:#ffd6a0;box-shadow:inset 0 -7px #a5542222,0 5px #b95e21}.pod:nth-child(3) strong{background:linear-gradient(#ffcc76,#ff8619)}.row{border:2px solid #f8f4ff;border-radius:22px;min-height:55px;gap:10px;margin:7px 0;padding:7px 12px;font-size:19px}.row .place{font-size:25px;width:40px}.row .avatar{width:43px;border-radius:50%}.row .name{line-height:1.1}.own{border:3px solid #ffe535;border-radius:27px;margin-top:19px;min-height:82px}.own .place{background:linear-gradient(#fff381,#ffc400);color:#080d49;border:2px solid white;border-radius:20px;padding:10px 4px;min-width:62px;font-size:30px}.own .avatar{width:58px}.own .name{font-size:17px}.empty{line-height:1.4}footer{display:none}body[data-screen=home] #status:empty{display:none}.preview-note{position:relative;max-width:560px;margin:0 auto;padding:9px;text-align:center;background:#fff0b9;color:#37264f;font:700 12px system-ui;border-radius:0 0 15px 15px}.preview-note button{margin-left:8px;border:1px solid #baa767;background:#fff8df;border-radius:8px;color:#37264f;font:inherit;padding:4px 7px}body[data-screen=perfil] .small{margin:13px 0}body[data-screen=perfil] .big{justify-content:center;margin-top:12px}
@media(max-width:430px){.shell{padding:14px 17px 24px}header{min-height:95px}.brand{width:150px;height:100px}.back{width:46px;height:46px}.mascot{height:175px}.big{min-height:69px;font-size:24px;padding:10px 18px;gap:9px}.big i{font-size:35px;min-width:40px}.nav{gap:14px}.notice{font-size:14px;padding:13px 10px;gap:7px}.notice strong{font-size:16px}.shield{font-size:35px}.profile-heading img{height:99px}.profile-heading{min-height:63px}.field{font-size:22px}.avatars{gap:10px}input{font-size:19px;padding:14px 55px 14px 13px}.counter{top:17px;font-size:15px}.summary{grid-template-columns:65px 1fr;padding:16px}.summary h2{font-size:20px}.summary .crown{font-size:44px}.tally{font-size:20px;gap:14px}.game{padding:13px;gap:12px}.game .icon{width:66px;height:66px;font-size:40px}.game .info b{font-size:19px}.rec{font-size:14px}.next{font-size:12px}.ranking-title{font-size:31px}.sub{font-size:16px}.stand b{font-size:14px}.stand{font-size:15px}.stand strong{font-size:23px;width:56px}.pod-crown{font-size:47px;top:-42px}.podium{padding-top:25px}.row{font-size:16px;padding:6px 9px}.row .place{font-size:22px;min-width:26px;width:29px}.row .avatar{width:37px}.own .avatar{width:45px}.own .place{min-width:50px;font-size:26px}.own .name{font-size:14px}.row>span:last-child{white-space:nowrap;font-size:15px}}
.champion-title strong{background:none;color:#ffe420;text-shadow:0 3px #ffad00,0 6px #04082f;-webkit-text-stroke:5px #05092e;paint-order:stroke fill}.pod.winner{padding-bottom:16px}.own{position:relative;bottom:auto}
@media(max-width:360px){.big{font-size:20px;padding:10px 12px}.big i{font-size:29px;min-width:32px}.row{gap:5px}.row>span:last-child{font-size:13px}.stand b{font-size:12px}}
.stand b{font-size:clamp(11px,3vw,17px);letter-spacing:-.6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pod:nth-child(2) .stand{min-height:130px}.pod:nth-child(1) .stand{min-height:110px}.pod:nth-child(3) .stand{min-height:98px}.pod.winner{padding-bottom:0}

.tally small{display:block;font-size:12px;text-align:center}.mini-leaders{display:flex;gap:7px;margin-top:10px}.mini-leaders>span{flex:1;min-width:0}.mini-leaders .avatar{width:32px;border-radius:9px;margin-bottom:3px}.mini-leaders small{font-size:10px;display:block;overflow-wrap:anywhere}

/* Functional approval build: source artwork is the visual reference. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}body[data-screen=home] header,body[data-screen=perfil] header{display:none}body[data-screen=home] .shell,body[data-screen=perfil] .shell{padding:0;max-width:540px}body[data-screen=home] #status,body[data-screen=perfil] #status{padding:0 14px}.original-home,.original-profile{position:relative;width:100%}.original-home>img,.profile-reference{width:100%;height:auto;display:block}.original-home>a{position:absolute;left:5.5%;width:89%;height:9.4%;border-radius:40px}.original-home>a:focus-visible{outline:4px solid white}.original-profile #nickname{position:absolute;left:5.4%;top:32.2%;width:89.2%;height:5%;border:0;border-radius:18px;background:#f6f5fc;color:#282650;font-size:clamp(16px,4vw,25px);padding:0 14% 0 2.5%;box-shadow:none}.original-profile #counter{position:absolute;right:7.4%;top:33.8%;font-size:clamp(14px,3vw,20px);font-weight:800;color:#66628b;background:#f6f5fc}.original-avatars{position:absolute;left:4.5%;top:43.3%;width:91%;height:39.4%;display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(3,1fr);gap:3% 1.7%;background:#11127f}.original-avatars .avatar-btn{height:100%;min-width:0}.original-avatars .avatar{height:100%;width:100%;aspect-ratio:auto}.original-avatars .avatar img{object-fit:fill}.original-avatars .avatar-btn[aria-pressed=true]::after{font-size:15px;padding:0 5px}.save-original{position:absolute;left:4%;top:87.5%;width:92%;height:8.5%;border:0;border-radius:45px;background:transparent;color:#10104c;font-weight:1000;font-size:clamp(24px,5vw,38px)}.save-original:not(:empty){background:linear-gradient(#fff579,#ffc300);border:3px solid #fff8a0}.save-original:focus-visible{outline:4px solid white}.original-profile:before{content:'';position:absolute;left:2.5%;top:1%;width:12%;height:7%;z-index:1;pointer-events:none}.original-profile .back-overlay{position:absolute;left:2.5%;top:1%;width:12%;height:7%;z-index:3}.preview-note{line-height:1.4}.mini-leaders small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

#playerbar{padding:10px 14px}#playerbar[hidden]{display:none}.player-identity{display:flex;align-items:center;gap:12px;padding:10px 14px;border:2px solid #b8afff;border-radius:22px;background:linear-gradient(120deg,#fdfaff,#e9e1fc);color:#111346}.player-identity .avatar{width:50px;flex-shrink:0}.player-identity b,.player-identity small{display:block}.player-identity b{font-size:20px;overflow-wrap:anywhere}.player-identity small{font-size:12px;color:#62538e}.edit-profile{margin-left:auto;font-size:12px;white-space:nowrap}.profile-saved{text-align:center;padding:24px 12px 32px}.profile-saved h1{font-size:clamp(30px,7vw,42px)}.profile-saved p{color:#e1dcff;line-height:1.6}.success-check{width:64px;height:64px;display:grid;place-items:center;margin:auto;border-radius:50%;background:#d9ff70;color:#124e1a;font-size:42px;border:3px solid white}.saved-avatar{width:130px;margin:22px auto 8px}.profile-saved h2{margin:8px 0}.profile-saved .big{margin:24px 0;justify-content:center;font-size:25px}.profile-saved .textbtn{display:inline-block;margin:5px}.ranking-help{font-size:15px;line-height:1.6;text-align:center;color:#e4ddff;padding:12px 5px}

body[data-screen=home] #playerbar{display:none}.original-home .home-return{left:2%;top:1%;width:15%;height:9%}.home-register:not(:empty){display:flex;align-items:center;gap:12px;padding:12px 20px;background:linear-gradient(#83ff27,#0cb812);border:3px solid #d6ff7d;color:#073617;font-weight:bold}.home-register .avatar{width:56px;flex-shrink:0}.home-register b,.home-register small{display:block}.home-register b{font-size:clamp(18px,4vw,28px)}.home-register small{font-size:12px}.home-register>span:last-child{margin-left:auto;font-size:13px}

/* Approved game selection layout. */
body[data-screen=jogos]{background:radial-gradient(ellipse at 100% 0,#164ee580,transparent 55%),linear-gradient(155deg,#09219d,#11138b 70%,#221080)}
body[data-screen=jogos] .shell{max-width:720px;padding:16px 18px calc(102px + env(safe-area-inset-bottom))}
body[data-screen=jogos] header{min-height:82px;align-items:center;margin-bottom:10px}
body[data-screen=jogos] .brand{width:126px;height:82px}
body[data-screen=jogos] .back{width:44px;height:44px;top:8px}
body[data-screen=jogos] .back svg{width:31px;height:31px}
body[data-screen=jogos] #playerbar{display:none}
.game-picker h1{font-size:clamp(28px,7.4vw,42px);line-height:1.15;text-shadow:none;letter-spacing:-1px;margin:10px 0 8px;font-weight:900}
.game-picker .sub{font-size:clamp(13px,3.5vw,19px);font-weight:500;line-height:1.45;margin:0 0 20px;color:#dcdcff}
.game-search{display:flex;align-items:center;gap:12px;background:#f5f3ff;border:1px solid #fff;border-radius:24px;padding:0 17px;min-height:49px;margin-bottom:20px;box-shadow:0 4px 12px #06094712}
.game-search>svg{width:23px;height:23px;fill:none;stroke:#4030a8;stroke-width:2.2;stroke-linecap:round;flex-shrink:0}
.game-search input{border:0;background:none;box-shadow:none;padding:12px 0;font-size:16px;border-radius:0;min-width:0;color:#171647;outline:none}
.game-search:focus-within{outline:3px solid #ffe775;outline-offset:3px}
.game-search input::placeholder{color:#79758d;opacity:1}
.game-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.ranking-game-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border-radius:22px;border:2px solid #ffffffc9;background:linear-gradient(135deg,#fff,#eeebfc);color:#151547;box-shadow:0 5px 14px #04074726;transition:transform .15s,box-shadow .15s}
.ranking-game-card[hidden]{display:none}
.ranking-game-card:hover{transform:translateY(-3px);box-shadow:0 8px 18px #04074740}
.ranking-game-card:active{transform:scale(.98)}
.game-art{position:relative;isolation:isolate;display:grid;place-items:center;height:clamp(100px,28vw,164px);overflow:hidden;border-radius:20px 20px 19px 19px;background:linear-gradient(130deg,var(--art-light),var(--art-color))}
.game-art:before,.game-art:after{content:'';position:absolute;z-index:-1;inset:55% -15% -40%;border-radius:50%;background:#ffffff35;transform:rotate(-12deg)}
.game-art:after{inset:70% -25% -50%;background:#ffffff30;transform:rotate(15deg)}
.game-art img{position:absolute;inset:6% 7%;display:block;width:86%;height:88%;min-height:0;max-height:88%;object-fit:contain;filter:drop-shadow(0 4px 3px #1a173714)}
.tint-0{--art-light:#fff6d9;--art-color:#ffe4ad}.tint-1{--art-light:#dff6ff;--art-color:#9dddfa}.tint-2{--art-light:#ffe8f5;--art-color:#f8bae8}.tint-3{--art-light:#dff6ff;--art-color:#a7ddf7}.tint-4{--art-light:#eee7ff;--art-color:#cbb9fb}.tint-5{--art-light:#e9ffde;--art-color:#b1eca6}
.game-card-copy{display:flex;flex:1;flex-direction:column;align-items:center;text-align:center;gap:4px;padding:10px 5px 13px}
.game-card-copy b{font-size:clamp(14px,3.9vw,22px);line-height:1.25;font-weight:900;letter-spacing:-.4px}
.game-card-copy>span{font-size:clamp(12px,3.3vw,16px);line-height:1.3;color:#5032ad;font-weight:700}
.game-card-copy>span>span{font-size:1.35em;line-height:.8;vertical-align:-.02em;margin-left:3px}
.game-search-empty{text-align:center;padding:28px 12px;font-size:16px;line-height:1.5;color:#e2dfff}
.ranking-bottom-nav{position:fixed;bottom:calc(12px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:calc(100% - 28px);max-width:688px;z-index:10;display:flex;align-items:stretch;padding:6px;border-radius:28px;background:#11106fea;border:1px solid #7779df66;box-shadow:0 5px 25px #04043e55;backdrop-filter:blur(16px)}
.ranking-bottom-nav a{flex:1;display:flex;align-items:center;justify-content:center;gap:7px;padding:11px 5px;min-height:47px;border-radius:23px;font-size:clamp(11px,3vw,16px);white-space:nowrap;font-weight:600}
.ranking-bottom-nav svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.ranking-bottom-nav a[aria-current]{background:linear-gradient(#a16aff,#693cde);box-shadow:inset 0 1px 0 #ffffff60;font-weight:800}
body[data-screen=jogos] #status:empty{display:none}
@media(min-width:600px){.game-grid{gap:18px}.game-art{height:176px}.game-card-copy{padding:13px 8px 17px}.game-search{margin-bottom:24px}.game-picker .sub{margin-bottom:24px}}
@media(prefers-reduced-motion:reduce){.ranking-game-card{transition:none}}
/* Shared collection and leaderboard visual language. */
body.modern-ranking{background:radial-gradient(ellipse at 100% 0,#164ee580,transparent 55%),linear-gradient(155deg,#09219d,#11138b 70%,#221080)}
.modern-ranking .shell{max-width:720px;padding:16px 18px calc(102px + env(safe-area-inset-bottom))}
.modern-ranking header{min-height:82px;align-items:center;margin-bottom:10px}
.modern-ranking .brand{width:126px;height:82px}
.modern-ranking .back{width:44px;height:44px;top:8px}
.modern-ranking .back svg{width:31px;height:31px}
.modern-ranking h1{font-size:clamp(28px,7.4vw,42px);line-height:1.15;text-shadow:none;letter-spacing:-1px;margin:10px 0 8px;font-weight:900;text-align:center}
.modern-ranking .sub{font-size:clamp(13px,3.5vw,19px);font-weight:500;line-height:1.45;margin:0 0 22px;color:#dcdcff}
.modern-ranking #playerbar{padding:0;margin-bottom:16px}
.modern-ranking .player-identity{padding:8px 12px;border:1px solid #ffffff24;background:#ffffff0d;color:#fff;border-radius:18px}
.modern-ranking .player-identity .avatar{width:36px;border-radius:12px}
.modern-ranking .player-identity small{color:#c5c6f7;font-size:10px}
.modern-ranking .player-identity b{font-size:15px}
.modern-ranking #status:empty{display:none}
.ranking-tabs{display:flex;gap:4px;padding:4px;margin:0 0 22px;border-radius:18px;background:#070b622f;border:1px solid #ffffff20}
.ranking-tabs a{flex:1;min-height:42px;display:grid;place-items:center;border-radius:14px;color:#d6d7ff;font-size:15px;font-weight:700}
.ranking-tabs a[aria-current]{background:#f4f2ff;color:#302280;box-shadow:0 2px 6px #07064228}
.eyebrow{display:block;font-size:10px;letter-spacing:1.4px;font-weight:800;color:#7b6caa}
.trophy-overview{background:linear-gradient(135deg,#fff,#eeeafb);border:1px solid #fff;border-radius:26px;padding:20px;color:#181747;box-shadow:0 8px 24px #06064520}
.journey-heading{display:flex;align-items:center;gap:12px;margin-bottom:18px}
.journey-symbol{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;border-radius:15px;background:linear-gradient(135deg,#ffeeb1,#ffcf62);color:#9c6205;font-size:31px}
.journey-heading h2{font-size:clamp(17px,4.7vw,25px);line-height:1.25;margin:4px 0 0;letter-spacing:-.5px}
.medal-counters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.medal-counter{display:grid;grid-template-columns:auto auto;justify-content:center;align-items:center;gap:0 6px;border-radius:17px;padding:12px 6px 10px;background:#fff8;border:1px solid #fff}
.medal-counter>span{font-size:29px;grid-row:1/3;align-self:center}
.medal-counter b{font-size:24px;line-height:1.15}
.medal-counter small{font-size:10px;line-height:1.6;color:#635a7d;font-weight:600}
.medal-counter.gold{background:#fff2cd}.medal-counter.silver{background:#e9eaf5}.medal-counter.bronze{background:#fbe4d8}
.journey-progress{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:18px 0 9px;font-size:12px;color:#686080;font-weight:500}
.journey-progress b{color:#292151;font-weight:800}
.journey-progress>span:last-child{font-size:11px;color:#7763a7}
.journey-track{height:7px;overflow:hidden;border-radius:10px;background:#dbd5ee}
.journey-track>span{height:100%;display:block;background:linear-gradient(90deg,#a069f8,#6c40db);border-radius:inherit}
.achievement-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:25px 0 13px}
.achievement-heading h2{font-size:clamp(20px,5.5vw,26px);line-height:1.2;letter-spacing:-.5px;margin:0}
.achievement-heading>span{font-size:11px;color:#c5c5f4;white-space:nowrap}
.achievement-filters{display:flex;gap:8px;margin-bottom:15px}
.achievement-filters button{min-height:38px;padding:8px 14px;border-radius:18px;font-size:12px;font-weight:700;color:#d7d5ff;background:#ffffff0a;border:1px solid #ffffff38}
.achievement-filters button[aria-pressed=true]{background:#eae4ff;border-color:#eae4ff;color:#43308c}
.achievement-list{display:grid;gap:12px}
.achievement-card{display:flex;align-items:center;gap:13px;min-width:0;border:1px solid #ffffffc0;border-radius:22px;padding:14px 13px;background:linear-gradient(120deg,#fff,#eeebfb);box-shadow:0 4px 15px #05064618;color:#171646}
.achievement-card[hidden],.medals-empty[hidden]{display:none}
.achievement-art{position:relative;display:block;width:72px;height:80px;flex-shrink:0;border-radius:17px;background:linear-gradient(135deg,var(--art-light),var(--art-color));overflow:hidden}
.achievement-art img{position:absolute;inset:8%;width:84%;height:84%;object-fit:contain;filter:drop-shadow(0 3px 2px #17102b14)}
.achievement-info{flex:1;min-width:0}
.achievement-info>b{display:block;font-size:clamp(15px,4vw,20px);line-height:1.2;font-weight:900;letter-spacing:-.3px}
.achievement-record{display:block;font-size:11px;line-height:1.5;color:#73678c;margin:4px 0 7px;font-weight:500}
.achievement-record strong{color:#4c3c72;font-weight:700}
.achievement-progress{display:block;height:6px;background:#ded9ec;border-radius:9px;overflow:hidden}
.achievement-progress>span{height:100%;display:block;border-radius:inherit;background:linear-gradient(90deg,#ffdc65,#f4ad32)}
.achievement-goal{display:block;font-size:10px;line-height:1.5;margin-top:6px;color:#746493;font-weight:500}
.achievement-medal{flex-shrink:0;font-size:27px;color:#aa9acb;width:24px;text-align:center}
.collection-note{font-size:11px;line-height:1.6;color:#c4bfea;text-align:center;margin:20px 5px 5px}
.medals-empty{text-align:center;border:1px solid #ffffff30;background:#ffffff0c;border-radius:24px;padding:26px 18px}
.medals-empty>span{font-size:35px;color:#ffdc7c}
.medals-empty h3{font-size:20px;margin:10px 0}
.medals-empty p{font-size:14px;color:#d6cef3;line-height:1.5}
.primary-cta{display:flex;align-items:center;justify-content:center;gap:14px;min-height:48px;border:1px solid #ffed9e;border-radius:18px;padding:12px 18px;background:linear-gradient(#ffe983,#ffd15c);color:#37244e;font-size:15px;font-weight:800;box-shadow:0 3px 8px #5c3b3c12}
.primary-cta>span{font-size:22px;line-height:1}
.primary-cta:active{transform:translateY(1px)}
.leaderboard-caption{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 15px}
.leaderboard-caption h2{font-size:19px;line-height:1.2;margin:0;letter-spacing:-.4px}
.refresh-ranking{background:none;border:0;color:#d2d0ff;padding:9px 0 9px 9px;font-size:20px;line-height:1;display:flex;gap:6px;align-items:center;min-height:42px}
.refresh-ranking span{font-size:11px;font-weight:600}
.leaderboard-empty{background:linear-gradient(145deg,#fff,#ece8fb);border:1px solid #fff;border-radius:26px;padding:27px 24px 20px;color:#1d194c;text-align:center;box-shadow:0 8px 25px #04074720}
.empty-trophy{position:relative;display:grid;place-items:center;width:90px;height:90px;border-radius:29px;background:linear-gradient(145deg,#fff1b9,#ffda79);margin:0 auto 20px;transform:rotate(-5deg);border:1px solid #fff2c2;box-shadow:0 5px 0 #e7cc6d25}
.empty-trophy svg{width:49px;height:49px;stroke:#b97910;fill:#ffeb9c;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;transform:rotate(5deg)}
.empty-trophy>span{position:absolute;top:-10px;right:-12px;font-size:30px;color:#c19431;transform:rotate(5deg)}
.leaderboard-empty .eyebrow{font-size:9px;margin-bottom:10px;letter-spacing:1.5px}
.leaderboard-empty h2{font-size:clamp(22px,6vw,30px);line-height:1.15;letter-spacing:-.6px;margin:0 auto 12px;max-width:360px}
.leaderboard-empty p{font-size:14px;line-height:1.6;color:#756788;margin:0 auto 23px;max-width:340px;font-weight:500}
.leaderboard-empty .primary-cta{max-width:350px;margin:0 auto}
.empty-profile-link{display:inline-block;padding:14px 12px 0;color:#6c50a3;font-size:12px;font-weight:700;min-height:42px}
.ranking-explainer{display:flex;align-items:flex-start;gap:12px;padding:18px 5px;margin:6px auto 0;max-width:450px}
.ranking-explainer>span{font-size:23px;line-height:1.2;color:#ffdd7e}
.ranking-explainer p{font-size:12px;line-height:1.7;color:#c8c5f1;margin:0;font-weight:500}
.ranking-explainer b{color:#f0eaff;font-weight:700}
.ranking-loading,.ranking-join-note{font-size:14px;color:#d7d4fa;text-align:center;padding:20px;line-height:1.6}
.all-games-link{display:block;font-size:13px;text-align:center;min-height:44px;padding:12px;color:#ded9ff}
.leaderboard-page .podium{margin-top:20px}
.leaderboard-page .stand{border-radius:16px 16px 12px 12px;box-shadow:none;padding-top:17px;border:1px solid #ffffffa0}
.leaderboard-page .stand strong{border:0;box-shadow:none;background:#ffffff70;width:38px;border-radius:10px;margin:-5px auto 8px;font-size:21px;padding:3px}
.leaderboard-page .stand b{letter-spacing:-.3px}
.leaderboard-page .pod .avatar{width:75%;max-width:110px;border-width:3px;box-shadow:0 4px 10px #04083b30}
.leaderboard-page .pod-crown{font-size:38px;top:-34px}
.leaderboard-page .row{border-width:1px;box-shadow:none;border-radius:17px;font-size:15px;min-height:58px;margin:9px 0;padding:9px 12px}
.leaderboard-page .row .place{font-size:18px;min-width:26px}
.leaderboard-page .row .avatar{width:36px;border-radius:11px}
.leaderboard-page .row>span:last-child{font-size:13px}
.leaderboard-page .own{margin-top:16px;background:#f9edbf;border:1px solid #fff2c4;color:#35244f}
.leaderboard-page .own .place{background:none;padding:0;min-width:30px;border:0;font-size:19px}
.leaderboard-page .own .name{font-size:13px;line-height:1.4}
.ranking-play-cta{margin-top:20px}
@media(min-width:600px){.trophy-overview{padding:25px}.medal-counter{padding:15px 10px}.medal-counter b{font-size:28px}.medal-counter small{font-size:12px}.medal-counter>span{font-size:35px}.achievement-card{padding:16px 20px;gap:18px}.achievement-art{width:86px;height:86px}.achievement-record{font-size:13px}.achievement-goal{font-size:12px}.journey-progress{font-size:14px}.leaderboard-empty{padding:32px}.leaderboard-empty h2{max-width:450px}.leaderboard-empty p{font-size:16px;max-width:400px}.achievement-filters button{font-size:14px}}
@media(max-width:359px){.achievement-card{gap:9px;padding:12px 10px}.achievement-art{width:56px;height:70px}.achievement-medal{width:20px;font-size:22px}.trophy-overview{padding:16px}.medal-counter{gap:0 3px;padding:10px 3px}.medal-counter>span{font-size:24px}.medal-counter b{font-size:21px}.leaderboard-empty{padding:24px 18px 18px}.ranking-bottom-nav a{gap:5px;font-size:10px}}
