:root{color-scheme:dark;--bg:#0b0914;--panel:#1a1534;--panel2:#211941;--edge:#49367b;--purple:#8351ff;--orange:#ff7625;--gold:#ffcb42;--cyan:#27d7f3;--pink:#ff4fa3;--text:#f4efff;--muted:#aaa0cf;font-family:'Trebuchet MS','Segoe UI',system-ui,sans-serif;color:var(--text);background:var(--bg)}*{box-sizing:border-box}html,body{margin:0;min-height:100%;width:100%}body{background:radial-gradient(ellipse at 50% -15%,#452485 0,transparent 54%),var(--bg);overflow:hidden}body::before{content:'';position:fixed;inset:0;pointer-events:none;background-image:radial-gradient(#d6cee644 1px,transparent 1.8px);background-size:53px 61px;z-index:-0}body.menu-open{overflow:auto}body.grid-theme{background:#10102c;background-image:linear-gradient(#26204e77 1px,transparent 1px),linear-gradient(90deg,#26204e77 1px,transparent 1px);background-size:33px 33px}body.grid-theme::before{display:none}[hidden]{display:none!important}button,input{font:inherit}button{cursor:pointer;color:inherit;border:0}button:disabled{opacity:.5;cursor:wait}button:focus-visible,input:focus-visible{outline:3px solid var(--cyan);outline-offset:4px}button{touch-action:manipulation}h1,h2,p{margin:0}h1,h2,.wide-button,.game-logo,.start-button strong{font-family:'Arial Black','Trebuchet MS',system-ui,sans-serif;font-weight:950}h2{font-size:14px;letter-spacing:1.3px;color:var(--gold)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.icon{display:inline-flex;align-items:center;justify-content:center;width:1.3em;height:1.3em;flex-shrink:0}.icon svg{width:100%;height:100%}[data-icon]{display:inline-flex;align-items:center;justify-content:center}.cut{clip-path:polygon(14px 0,100% 0,100% calc(100% - 14px),calc(100% - 14px) 100%,0 100%,0 14px);background:var(--edge);padding:1.5px;border-radius:0}.cut-inner{clip-path:inherit;background:linear-gradient(130deg,#2b2050,#17122d);width:100%;height:100%;padding:18px}.menu-shell{position:relative;width:min(100%,560px);margin:auto;padding:20px 20px max(20px,env(safe-area-inset-bottom));min-height:100dvh}.screen{min-height:calc(100dvh - 40px);display:flex;flex-direction:column;gap:16px;padding-bottom:4px}.home-screen{gap:18px}.profile-head{display:grid;grid-template-columns:minmax(0,1fr) 68px;gap:12px}.profile-card .cut-inner{display:flex;gap:13px;align-items:center;padding:14px 12px}.profile-info{min-width:0;flex:1}#player-name{display:block;width:100%;font-size:19px;font-weight:900;color:var(--text);padding:0;margin:0 0 6px;border:0;border-radius:3px;background:transparent;text-overflow:ellipsis}#player-name::placeholder{color:var(--text);opacity:1}.home-avatar{position:relative;flex-shrink:0;display:flex;align-items:center;justify-content:center;width:55px;height:65px}.home-avatar .level-badge{position:absolute;right:-7px;bottom:-5px;width:30px;height:34px;min-width:30px;flex:none;font-size:15px;line-height:1}.home-avatar .level-badge::before{inset:2px}.level-line{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:11px;color:var(--muted);white-space:nowrap}.level-line strong{color:var(--gold);font-size:12px}.progress{height:9px;border-radius:20px;background:#30234e;overflow:hidden;margin:7px 0}.progress>i{height:100%;display:block;width:0;border-radius:inherit;transition:width .35s}.xp-progress{position:relative;background:#161329;border:1px solid #62508b66;box-shadow:inset 0 2px 5px #08061680;padding:3px;overflow:hidden}
.xp-progress>i{position:relative;overflow:hidden;min-width:0;background:linear-gradient(90deg,#7442df 0%,#a777ff 55%,#d3b9ff 100%);box-shadow:0 0 12px #a06bff55,inset 0 1px 0 #ffffff55;transform-origin:left center;transition:width .8s cubic-bezier(.22,1,.36,1);animation:xp-fill-in .8s cubic-bezier(.22,1,.36,1) both}
.xp-progress>i::after{content:"";position:absolute;inset:0;background:linear-gradient(105deg,transparent 25%,#ffffff40 50%,transparent 75%);transform:translateX(-120%);animation:xp-shimmer 3.8s ease-in-out 1s infinite;pointer-events:none}
@keyframes xp-fill-in{from{transform:scaleX(0);opacity:.5}to{transform:scaleX(1);opacity:1}}
@keyframes xp-shimmer{0%,35%{transform:translateX(-120%)}75%,100%{transform:translateX(120%)}}
body.reduce-motion .xp-progress>i,body.reduce-motion .xp-progress>i::after{animation:none;transition:none}
@media(prefers-reduced-motion:reduce){.xp-progress>i,.xp-progress>i::after{animation:none!important;transition:none!important}}.rank-line{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:12px}.rank-pill{display:inline-flex;align-items:center;gap:5px;border-radius:25px;padding:4px 9px;font-size:11px;color:#100c20;background:#d29a65;font-weight:900;white-space:nowrap}.rank-pill .icon{width:12px;height:12px}.rank-prata{background:#cacaf0}.rank-ouro{background:#ffca3e}.rank-diamante{background:#8feaff}.settings-button{display:block;background:var(--edge)}.settings-button .cut-inner{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;font-size:11px;padding:10px 4px}.settings-button .icon{width:25px;height:25px;color:#a48aff}.game-logo{text-align:center;margin:18px 0 4px;line-height:1}.game-logo>span{display:block;color:#ffc64b;font-size:clamp(65px,20vw,106px);letter-spacing:1px;font-style:italic;text-shadow:0 5px #bb3a10;filter:drop-shadow(0 0 18px #ff9e2428)}.game-logo>strong{font-size:25px;letter-spacing:9px;color:#b58aff;display:flex;gap:14px;align-items:center;justify-content:center;margin-top:14px}.game-logo i{display:inline-block;width:32px;height:3px;border-radius:5px;background:#8c55ff}.hero-board{width:76%;max-width:330px;aspect-ratio:1;margin:10px auto 16px;transform:perspective(1000px) rotateX(2deg);box-shadow:0 0 30px #6441bf22}.hero-board .cut-inner{padding:8px;background:#1b1540}.hero-board canvas{display:block;width:100%;height:100%;border-radius:0;background:#1b1540}.start-button{background:linear-gradient(105deg,#ff7b27,#ffcf46);box-shadow:0 6px #b84d16;width:100%;min-height:77px;display:flex;align-items:center;gap:14px;padding:12px 16px;color:#210d08;text-align:left}.start-button .start-icon{background:#271006;width:47px;height:49px;clip-path:polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px);color:#ffd04a}.start-icon .icon{width:23px;height:23px;fill:currentColor}.start-button strong{font-size:23px;letter-spacing:.6px;white-space:nowrap}.start-button small{display:block;font-size:12px;font-weight:800;margin-top:1px}.start-button>[data-icon]:last-child{margin-left:auto;font-size:20px}.home-nav{display:grid;grid-template-columns:1fr 1fr;gap:12px}.home-nav button{text-align:left;background:var(--edge)}.home-nav .cut-inner{display:flex;align-items:center;gap:11px;padding:13px 11px}.home-nav strong{font-weight:950;font-size:19px;letter-spacing:-.5px}.home-nav small{display:block;font-size:12px;color:var(--muted);margin-top:2px}.medallion{width:44px;height:44px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;color:white;box-shadow:inset -3px -4px #0002}.medallion>.icon{width:23px;height:23px}.purple{background:linear-gradient(135deg,#c7a5ff,#6930de)}.orange{background:linear-gradient(135deg,#ffe29b,#ff7a24);color:#271006}.cyan{background:linear-gradient(135deg,#9bf7ff,#17a1c3);color:#102039}.pink{background:linear-gradient(135deg,#ffabdb,#e6358c)}.silver{background:#c7c8f1;color:#111127}.server-status{margin-top:auto;display:flex;gap:8px;align-items:center;justify-content:center;color:var(--muted);font-size:12px;padding-top:22px}.server-status i{display:block;width:8px;height:8px;border-radius:50%;background:#7ee38d}.server-status.offline i{background:#ffb3bb}.feedback{font-size:12px;color:#c9b9ee;line-height:1.7;min-height:0}.feedback:empty{display:none}.screen-title{display:grid;grid-template-columns:52px 1fr 52px;align-items:center;min-height:53px;margin-bottom:10px}.screen-title h1{text-align:center;font-size:clamp(22px,6vw,30px);letter-spacing:2px;white-space:nowrap}.screen-title .back{width:52px;height:53px;background:#29204c;color:var(--gold);border:1px solid #53418a}.screen-title .back .cut-inner{display:flex;align-items:center;justify-content:center;padding:13px}.screen-title .back>.icon{width:28px;height:28px}.segmented{display:flex;gap:4px;padding:5px;background:#1a1433;border:1px solid #51417e;min-height:52px}.segmented button{background:transparent;color:var(--muted);font-size:16px;font-weight:950;padding:10px 12px;flex:1;min-width:0}.segmented button.active{background:linear-gradient(110deg,#ff7b28,#ffcc43);color:#1e0d0b;clip-path:polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px)}.metric-tabs{display:flex;justify-content:center;gap:8px}.metric-tabs button{background:transparent;padding:5px 12px;font-size:11px;color:var(--muted);border-radius:12px;border:1px solid #524179}.metric-tabs button.active{color:var(--gold);border-color:var(--gold)}.podium{display:grid;grid-template-columns:1fr 1.12fr 1fr;align-items:end;gap:10px;padding:14px 4px 0;min-height:250px}.podium:empty{display:none}.podium-entry{text-align:center;display:flex;align-items:center;flex-direction:column;min-width:0}.podium-entry:nth-child(1){grid-column:2;grid-row:1}.podium-entry:nth-child(2){grid-column:1;grid-row:1}.podium-entry:nth-child(3){grid-column:3;grid-row:1}.podium-letter{display:grid;place-items:center;width:55px;height:58px;background:#d49b64;clip-path:polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px);color:#110d20;font-size:29px;font-weight:950}.podium-entry:first-child .podium-letter{width:67px;height:68px;background:linear-gradient(130deg,#ffe183,#ff8c36)}.podium-entry:nth-child(2) .podium-letter{background:#c4c5ed}.podium-entry .icon{color:var(--gold);width:28px;height:28px;margin-bottom:3px}.podium-entry>strong{font-size:16px;margin-top:7px;max-width:100%;overflow:hidden;text-overflow:ellipsis}.podium-entry>small{font-size:12px;color:var(--muted);margin-top:2px}.podium-step{margin-top:10px;width:100%;height:75px;clip-path:polygon(12px 0,100% 0,100% 100%,0 100%,0 12px);background:linear-gradient(150deg,#e7a359,#b06935);color:#120f26;font-size:42px;font-weight:950;padding-top:6px}.podium-entry:first-child .podium-step{height:110px;background:linear-gradient(140deg,#ffcf3b,#ff7526)}.podium-entry:nth-child(2) .podium-step{height:83px;background:linear-gradient(140deg,#d8d9fc,#8d91c4)}.ranking-list{list-style:none;padding:0;margin:0;display:grid;gap:9px}.ranking-row .cut-inner{display:flex;align-items:center;gap:11px;padding:12px 13px}.rank-number{font-size:17px;font-weight:950;color:#b5a4d8;min-width:24px}.initial-avatar{width:39px;height:39px;border-radius:50%;display:grid;place-items:center;color:#181027;background:var(--cyan);font-weight:950;font-size:19px;flex-shrink:0}.rank-person{min-width:0;flex:1}.rank-person strong{font-size:16px;display:block;overflow:hidden;text-overflow:ellipsis}.rank-person small{font-size:11px;color:var(--muted);display:block;margin-top:2px}.ranking-row .points{font-size:18px;font-weight:950;color:var(--gold)}.own-rank{margin-top:auto;background:var(--orange)}.own-rank .cut-inner{background:linear-gradient(110deg,#3b2518,#23172e)}.empty-state{color:var(--muted);font-size:14px;text-align:center;padding:40px 14px;line-height:1.7}.stat-level .cut-inner,.rank-progress-card .cut-inner,.win-rate-card .cut-inner{display:flex;align-items:center;gap:18px;padding:18px 15px}.stat-level .cut-inner>div,.rank-progress-card .cut-inner>div{flex:1;min-width:0}.level-badge{position:relative;isolation:isolate;display:grid;place-items:center;box-sizing:border-box;width:64px;height:72px;flex:0 0 64px;padding:0;border:0;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);background:linear-gradient(145deg,#e1d5ff,#8764d9);color:#fff;font-size:28px;font-weight:900;line-height:1;letter-spacing:0;font-variant-numeric:tabular-nums;text-shadow:0 2px 3px #30156480}.level-badge::before{content:"";position:absolute;inset:3px;z-index:-1;clip-path:inherit;background:linear-gradient(155deg,#9c6bff,#6331ce)}.stat-level h2,.rank-progress-card h2,.win-rate-card h2{font-size:12px;letter-spacing:1px}.stat-level p{font-size:14px;color:var(--muted);margin:6px 0}.stat-level p>strong{font-size:23px;color:white}.stat-level small{font-size:11px;color:var(--muted)}.stat-level .progress{height:16px;box-sizing:border-box;margin:10px 0 8px}.card-caption{display:flex;justify-content:space-between;gap:8px;align-items:center}.card-caption small{font-size:10px;color:var(--muted);white-space:nowrap}.rank-progress-card p{display:flex;align-items:baseline;gap:5px;margin:8px 0;font-size:12px;color:var(--muted)}.rank-progress-card p strong{font-size:21px;color:var(--text)}.rank-progress-card .medallion{width:52px;height:52px}.rank-progress>i{background:linear-gradient(90deg,#ff7a25,#ffcb42)}.win-rate-card .cut-inner{gap:18px}.win-ring{--progress:0%;display:grid;place-items:center;width:87px;height:87px;border-radius:50%;background:conic-gradient(var(--gold) var(--progress),#2c214b 0);position:relative;flex-shrink:0}.win-ring::before{content:'';position:absolute;inset:9px;background:#21183d;border-radius:50%}.win-ring strong{font-size:25px;font-weight:950;position:relative}.large{display:block;font-size:23px;font-weight:950;margin:5px 0}.win-rate-card p{font-size:12px;color:var(--muted)}.stat-tiles{display:grid;grid-template-columns:1fr 1fr;gap:12px}.stat-tiles .cut-inner{display:flex;align-items:center;gap:10px;padding:16px 10px}.stat-tiles p strong{display:block;font-size:25px;font-weight:950;line-height:1.1}.stat-tiles p span{font-size:11px;color:var(--muted);display:block;margin-top:4px;line-height:1.3}.extra-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;text-align:center;padding:12px 0}.extra-stats strong{display:block;font-size:16px;color:var(--cyan)}.extra-stats small{display:block;color:var(--muted);font-size:9px;margin-top:5px}.wide-button{width:100%;padding:16px 14px;min-height:58px;display:flex;align-items:center;justify-content:center;gap:12px;font-size:clamp(14px,4vw,20px);letter-spacing:.5px;text-align:center}.wide-button .icon{width:25px;height:25px}.orange-button{background:linear-gradient(110deg,#ff7423,#ffcf48);color:#250d0a;box-shadow:0 5px #ba4417}.secondary-button{background:#1e1c4c;border:1.5px solid #4e45ad;color:#eee9ff}.screen>.wide-button:last-child{margin-top:auto}.muted{color:var(--muted);font-size:12px;line-height:1.6;text-align:center}.queue-screen{text-align:center}.queue-ring{display:flex;flex-direction:column;align-items:center;justify-content:center;width:102px;height:102px;position:relative;margin:10px auto;background:conic-gradient(var(--gold) var(--queue-progress,0%),#2c204e 0);border-radius:50%}.queue-ring::before{content:'';position:absolute;inset:10px;border-radius:50%;background:#21143f}.queue-ring>strong,.queue-ring>span{position:relative}.queue-ring>strong{font-size:24px;font-weight:950}.queue-ring>span{font-size:11px;color:var(--muted);margin-top:3px}.queue-screen>h2{color:white;font-size:20px;letter-spacing:.5px}.queue-screen>p#queue-detail{font-size:13px;color:var(--muted);line-height:1.5}.queue-players{display:grid;grid-template-columns:1fr 1fr;gap:12px;list-style:none;padding:0;margin:8px 0}.queue-player .cut-inner{display:flex;align-items:center;flex-direction:column;gap:9px;padding:23px 8px 17px;min-height:176px}.queue-player.you{background:var(--cyan)}.queue-player strong{font-size:18px;max-width:100%;overflow:hidden;text-overflow:ellipsis}.queue-player .level-small{font-size:11px;color:#d4c7f4;display:flex;align-items:center;gap:5px;font-weight:800}.queue-player .level-small::before{content:'⬡';font-size:22px;color:var(--purple)}.queue-player.searching .cut-inner{background:#110d21;color:var(--muted);justify-content:center}.queue-player.searching .robot{opacity:.2;filter:grayscale(1)}.search-dots{display:flex;gap:5px}.search-dots i{display:block;width:7px;height:7px;border-radius:50%;background:var(--gold);animation:pulse 1.2s infinite alternate}.search-dots i:nth-child(2){background:var(--purple);animation-delay:.3s}.search-dots i:nth-child(3){background:#55438b;animation-delay:.6s}.queue-count{font-size:19px;font-weight:950;margin:5px 0 25px}.queue-screen>#cancel-queue{margin-top:auto}.queue-screen>.muted{min-height:18px}.robot{--robot:var(--cyan);display:inline-block;width:44px;height:39px;position:relative;background:var(--robot);border-radius:45% 45% 38% 38%;margin:10px 5px 6px;flex-shrink:0}.robot .face{position:absolute;top:12px;left:7px;right:7px;height:16px;border-radius:15px;background:#0d0b27;display:flex;align-items:center;justify-content:center;gap:5px}.robot .face b{display:block;width:5px;height:5px;background:#f5f1ff;border-radius:50%}.robot .antenna{position:absolute;left:calc(50% - 1.5px);width:3px;height:12px;background:var(--robot);top:-9px;border-radius:3px}.robot .antenna::after{content:'';position:absolute;width:7px;height:7px;border-radius:50%;background:var(--robot);left:-2px;top:-1px}.robot .feet{position:absolute;bottom:-6px;left:7px;right:7px;height:7px;display:flex;justify-content:space-between}.robot .feet::before,.robot .feet::after{content:'';width:10px;height:6px;border-radius:4px;background:var(--robot)}.robot.happy .face b{width:9px;height:7px;border-radius:10px 10px 0 0;background:transparent;border:3px solid #f5f1ff;border-bottom:0}.robot.dead{background:#8d87dc;--robot:#8d87dc;transform:rotate(-7deg)}.robot.dead .face b{position:relative;background:transparent;width:8px;height:8px}.robot.dead .face b::before,.robot.dead .face b::after{content:'';position:absolute;left:3px;top:-1px;width:3px;height:10px;border-radius:2px;background:#f5f1ff;transform:rotate(45deg)}.robot.dead .face b::after{transform:rotate(-45deg)}.result-screen{align-items:center;text-align:center;gap:16px;padding-top:12px}.result-hero{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;height:165px;width:100%;margin:8px 0 0}.result-hero>.robot,.result-hero #result-avatar>.robot{transform:scale(2.6);margin-top:25px}.result-hero #result-avatar{height:70px;display:flex;align-items:center}.result-hero #result-crown{position:absolute;top:0;left:calc(50% - 33px);width:66px;height:48px;color:var(--gold);z-index:1}.result-hero #result-crown .icon{width:100%;height:100%;fill:var(--gold);stroke:#bd4d10}.result-screen>h1{font-size:clamp(44px,13vw,69px);letter-spacing:2px;line-height:1.1;color:var(--gold);text-shadow:0 5px #ad3d13}.result-screen>p{font-size:14px;color:#cfcbec;line-height:1.5}.result-screen.loss>h1{color:#ffb3bd;text-shadow:0 5px #6d264d}.result-screen.neutral>h1{color:var(--cyan);text-shadow:0 5px #0c7288}.result-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;width:100%;margin-top:4px}.result-stats>div{padding:16px 6px;border:1.5px solid #4840a6;border-radius:20px;background:#1b1b47}.result-stats strong{display:block;font-size:28px;font-weight:950}.result-stats span{display:block;font-size:11px;color:#beb9e4;margin-top:5px}.result-stats .result-points{border-color:var(--orange);background:#30203c}.result-points strong{color:var(--gold)}.result-screen.loss .result-points{border-color:#ffb3bd}.result-screen.loss .result-points strong{color:#ffb3bd}.result-xp{color:#b897ff!important;font-size:12px!important}.result-players{width:100%;list-style:none;padding:0;margin:0;display:grid;gap:8px}.result-player{display:flex;align-items:center;gap:12px;padding:13px 14px;border:1.5px solid #4740a4;border-radius:18px;background:#191941;text-align:left}.result-player.you{border-color:var(--orange);background:#2c1e3d}.result-screen.loss .result-player.you{border-color:#ffb3bd}.result-player .position{font-weight:950;font-size:18px;color:#b1a9d9}.result-player .dot-avatar{width:25px;height:25px;border-radius:50%;background:var(--cyan);flex-shrink:0}.result-player strong{font-size:14px;flex:1;overflow:hidden;text-overflow:ellipsis}.result-player small{font-size:10px;color:#beb9e4;text-align:right}.result-actions{display:grid;gap:12px;width:100%;margin-top:auto;padding-top:22px}.result-actions .orange-button{background:#ff7023;box-shadow:0 6px #b63a12;border-radius:25px;min-height:70px}.result-actions .secondary-button{border-radius:20px;min-height:55px;font-size:15px;text-transform:none;letter-spacing:0}.confetti{position:absolute;inset:0;pointer-events:none;overflow:hidden}.confetti::before,.confetti::after{content:'▪ ◆ ▰ ◆ ▪';position:absolute;left:0;right:0;color:var(--gold);font-size:25px;letter-spacing:20px;top:15px}.confetti::after{color:var(--pink);top:110px;transform:rotate(-20deg)}.result-screen.loss .confetti,.result-screen.neutral .confetti{display:none}.history-screen h1{color:var(--cyan);text-shadow:0 3px #147b99}.history-screen .back{border:1.5px solid #4840a6;border-radius:17px;background:#1b1b47;color:white;display:grid;place-items:center}.history-summary{display:flex;justify-content:space-between;gap:12px;border:1.5px solid #4942a4;border-radius:22px;padding:18px;background:#1b1b47}.history-summary p{font-size:12px;color:#c0bae1}.history-summary strong#history-balance{display:block;color:#7be38f;font-size:31px;font-weight:950;white-space:nowrap;margin:6px 0 10px}.history-summary #history-counts{display:flex;flex-direction:column;justify-content:center;gap:5px;text-align:right;font-size:12px;white-space:nowrap;color:#ccc8ec}.history-tabs{border-radius:20px;min-height:52px;padding:5px;background:#1b1b47}.history-tabs button{font-size:14px}.history-tabs button.active{border-radius:15px;clip-path:none;background:#ff7423}.history-day{display:flex;justify-content:space-between;align-items:center;padding:14px 0 9px;font-size:12px;letter-spacing:2px;color:#c3bbeb;font-weight:950}.history-day strong{letter-spacing:0;color:#7ee695}.history-entry{display:flex;align-items:center;gap:12px;padding:13px 12px;background:#191941;border:1.5px solid #4740a4;border-radius:18px;margin-bottom:10px}.history-position{width:43px;height:43px;display:grid;place-items:center;border-radius:13px;background:#83e28a;color:#123524;font-size:22px;font-weight:950;flex-shrink:0}.history-entry.loss .history-position,.history-entry.penalty .history-position{background:#292859;color:#ffb3bd;border:1px solid #ffb3bd}.history-entry.second .history-position,.history-entry.draw .history-position{background:#c9cbf4;color:#17152c}.history-entry .entry-main{flex:1;min-width:0}.entry-heading{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.entry-heading strong{font-size:15px}.entry-heading .rank-pill{font-size:9px;padding:3px 6px}.entry-heading .rank-pill .icon{width:10px;height:10px}.entry-main>small{display:block;color:#bbb7df;font-size:10px;margin-top:5px}.history-delta{font-size:21px;font-weight:950;color:#7ee695}.history-delta.negative{color:#ffb3bd}.promotion{padding:15px 12px;border:1.5px dashed var(--gold);border-radius:14px;text-align:center;color:#eee7ff;font-size:12px;margin:5px 0 12px;background:#2a1d41}.settings-card .cut-inner{padding:5px 20px}.settings-card label{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px 0;border-bottom:1px solid #ffffff12;font-weight:800;font-size:16px}.settings-card label:last-child{border:0}.settings-card label small{display:block;color:var(--muted);font-weight:400;font-size:11px;margin-top:5px}.settings-card input[type=checkbox]{accent-color:var(--orange);width:24px;height:24px;flex-shrink:0}.settings-card .volume-setting{flex-direction:column;align-items:stretch;gap:14px}.settings-card input[type=range]{width:100%;accent-color:var(--gold)}
/* Arena: medidas preservam a grade 15x13 e mantêm controles fora do mapa. */
.game-screen{position:relative;margin:auto;width:min(100%,820px);height:100dvh;display:grid;grid-template-rows:58px 43px minmax(0,1fr) 39px auto;gap:9px;padding:max(10px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left))}.battle-header{display:flex;align-items:center;justify-content:space-between;gap:15px}.battle-header>div{text-align:center}.battle-header strong{display:block;font-size:11px;font-weight:950;letter-spacing:1.6px;color:#bbb9e7}.battle-header time{display:block;font-family:'Arial Black',system-ui,sans-serif;font-size:33px;line-height:1.1;font-weight:950;color:var(--gold);text-shadow:0 4px #b64b17}.battle-icon{width:46px;height:46px;background:#1d1d47;border:1.5px solid #4841a8;border-radius:16px;display:grid;place-items:center}.battle-icon .icon{width:23px;height:23px}.latency{position:fixed;bottom:3px;right:max(9px,env(safe-area-inset-right));font:600 10px ui-monospace,monospace;color:#a9a2ce;z-index:1;pointer-events:none}.latency[data-quality=good]{color:#91e68e}.latency[data-quality=fair]{color:#ffd04a}.latency[data-quality=poor]{color:#ffb3bd}.game-roster{display:grid;grid-template-columns:repeat(var(--players,2),minmax(0,1fr));gap:7px;list-style:none;margin:0;padding:0}.game-roster li{display:flex;align-items:center;gap:6px;padding:5px 8px;border:1.5px solid #443e9f;background:#1a1946;border-radius:16px;min-width:0}.game-roster li.you{border-color:var(--cyan)}.game-roster li.out{border-style:dashed;opacity:.6}.game-roster .robot{width:23px;height:21px;margin:3px 0;flex-shrink:0}.game-roster .robot .antenna,.game-roster .robot .feet{display:none}.game-roster .robot .face{left:4px;right:4px;top:7px;height:8px;gap:3px}.game-roster .robot .face b{width:3px;height:3px}.game-roster li div{min-width:0}.game-roster strong{font-size:11px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.game-roster small{font-size:10px;color:#b6b2dc;display:block;margin-top:1px}.arena-view{display:flex;align-items:center;justify-content:center;min-height:0;width:100%;overflow:hidden}#game{display:block;width:auto;height:auto;max-width:100%;max-height:100%;aspect-ratio:15/13;background:#191749;border:2px solid #4942ab;border-radius:16px;box-shadow:0 5px #0c0b25;object-fit:contain}.player-hud{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:0;margin:0}.player-hud>div{display:flex;align-items:center;justify-content:center;gap:5px;background:#191943;border:1.5px solid #4540a4;border-radius:20px;padding:3px 5px;min-width:0}.player-hud>div>.icon,.player-hud>div>[data-icon]{width:14px;height:14px;color:var(--cyan);flex-shrink:0}.player-hud>div:nth-child(2)>[data-icon]{color:var(--orange)}.player-hud dt{font-size:9px;white-space:nowrap;font-weight:800;color:#e3dffa}.player-hud dd{font-size:12px;font-weight:950;margin:1px 0 0;white-space:nowrap}.player-hud[data-alive=false]{opacity:.6}.controls{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:10px 9px 0;touch-action:none;user-select:none;-webkit-user-select:none}.dpad{width:clamp(152px,44vw,188px);aspect-ratio:1;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);gap:2px;border:1.5px solid #4541a7;border-radius:50%;background:#16153b;padding:7px;flex-shrink:0;touch-action:none}.dpad button{font:950 34px 'Trebuchet MS',sans-serif;background:#211e4c;border-radius:15px;min-width:0;min-height:0;touch-action:none;-webkit-touch-callout:none;color:#f5f0ff;padding:0;line-height:1}.dpad button.pressed{background:#6e43d9;transform:scale(.96)}[data-dir=up]{grid-area:1/2}[data-dir=left]{grid-area:2/1}[data-dir=right]{grid-area:2/3}[data-dir=down]{grid-area:3/2}.dpad-center{grid-area:2/2}.bomb-button{width:clamp(112px,32vw,145px);aspect-ratio:1;flex-shrink:0;background:#ff6d24;border-radius:50%;color:#180c21;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;box-shadow:0 7px #b43b10;touch-action:none;-webkit-touch-callout:none}.bomb-button>[data-icon]{width:42px;height:42px}.bomb-button>[data-icon] .icon{width:100%;height:100%}.bomb-button strong{font-family:'Arial Black',system-ui,sans-serif;letter-spacing:1px;font-weight:950;font-size:17px}.bomb-button:active{transform:translateY(4px);box-shadow:0 3px #b43b10}.modal-overlay{position:fixed;inset:0;background:#08061bbf;backdrop-filter:blur(6px);z-index:20;display:flex;align-items:center;justify-content:center;padding:20px}.pause-card{max-width:380px;padding:28px 22px;border:2px solid #59438b;border-radius:24px;background:#1c1638;display:grid;gap:18px}.pause-card h2{font-size:24px;text-align:center}.pause-card p{font-size:14px;color:#c5b6e1;line-height:1.6}.pause-card .wide-button{font-size:14px;border-radius:12px}.reduce-motion *{animation:none!important;transition:none!important}@keyframes pulse{to{opacity:.35;transform:translateY(-3px)}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}@media(min-width:700px){.menu-shell{padding:28px}.screen{min-height:calc(100dvh - 56px)}.home-avatar{width:70px;height:74px}.home-avatar .robot{transform:scale(1.25)}.profile-card .cut-inner{padding:18px}#player-name{font-size:23px}.level-line{font-size:13px}.level-line strong{font-size:14px}.hero-board{max-width:310px}.start-button strong{font-size:28px}.home-nav strong{font-size:22px}.home-nav .cut-inner{padding:17px}.profile-head{grid-template-columns:1fr 80px}}@media(max-width:350px){.menu-shell{padding:14px}.profile-head{grid-template-columns:minmax(0,1fr) 54px;gap:8px}.profile-card .cut-inner{gap:8px;padding:12px 8px}.home-avatar{width:44px}.level-line{font-size:9px}.level-line strong{font-size:10px}#player-name{font-size:17px}.settings-button .cut-inner{font-size:10px}.home-nav .medallion{width:32px;height:32px}.home-nav .medallion>.icon{width:19px;height:19px}.home-nav strong{font-size:15px}.home-nav .cut-inner{gap:7px;padding:12px 8px}.start-button strong{font-size:19px}.start-button{gap:10px;padding:10px}.start-button .start-icon{width:39px;height:43px}.start-button small{font-size:11px}.stat-tiles .medallion{width:33px;height:33px}.stat-tiles .medallion>.icon{width:20px;height:20px}.stat-tiles .cut-inner{gap:8px;padding:15px 8px}.stat-tiles p strong{font-size:22px}.screen-title h1{font-size:20px;letter-spacing:1px}.result-player{gap:8px;padding:12px 9px}.result-player small{font-size:9px}.player-hud dt{font-size:8px}.player-hud dd{font-size:10px}.player-hud>div{gap:3px}.player-hud>div>[data-icon]{width:11px}.controls{padding-left:0;padding-right:0;gap:12px}.stat-level .cut-inner,.rank-progress-card .cut-inner,.win-rate-card .cut-inner{gap:12px;padding:14px 11px}}@media(orientation:landscape) and (min-width:600px){.game-screen{width:min(100%,1100px);grid-template-columns:minmax(0,1fr) 180px;grid-template-rows:53px 38px minmax(0,1fr) 36px;grid-template-areas:'header controls' 'roster controls' 'arena controls' 'hud controls';gap:7px 18px}.battle-header{grid-area:header}.game-roster{grid-area:roster}.arena-view{grid-area:arena}.player-hud{grid-area:hud}.controls{grid-area:controls;flex-direction:column;justify-content:center;gap:22px;padding:0}.dpad{width:154px}.bomb-button{width:112px}.battle-header time{font-size:29px}.latency{right:18px}#game{border-radius:12px}.player-hud dd{font-size:11px}}
.initial-avatar>.robot{transform:scale(.72);margin:0}.robot.dead .antenna,.robot.dead .antenna::after,.robot.dead .feet::before,.robot.dead .feet::after{background:#8d87dc}.result-screen.loss #result-avatar>.robot{transform:scale(2.6) rotate(-7deg)}

/* Resultado compartilha o visual dos painéis das estatísticas. */
.result-stats>.cut{padding:1.5px;border:0;border-radius:0;background:var(--edge)}
.result-stats>.cut>.cut-inner{padding:18px 5px;background:linear-gradient(130deg,#2b2050,#17122d)}
.result-stats .result-points{background:#ac7b36}
.result-stats .result-points>.cut-inner{background:linear-gradient(130deg,#3b2947,#211830)}
.result-screen.loss .result-stats .result-points{background:#9d5676}
.result-player.cut{display:block;padding:1.5px;border:0;border-radius:0;background:var(--edge)}
.result-player>.cut-inner{display:flex;align-items:center;gap:10px;padding:13px 12px;background:linear-gradient(130deg,#2b2050,#17122d)}
.result-player.you{background:#aa7d3d}
.result-player.you>.cut-inner{background:linear-gradient(130deg,#3b2947,#211830)}
.result-screen.loss .result-player.you{background:#9d5676}
.result-actions .orange-button{border-radius:0;min-height:60px;background:linear-gradient(105deg,#ff7625,#ffcb42);box-shadow:none;color:#21122a}
.result-actions .secondary-button{border-radius:0;min-height:52px;background:linear-gradient(130deg,#30234f,#1b1532);box-shadow:inset 0 0 0 1px #66518b}
.result-actions{padding-top:12px}
.result-hero{background:radial-gradient(ellipse at center,#8351ff25,transparent 68%)}
.confetti{inset:-20px 0 -35px}
.confetti::before,.confetti::after{content:none}
.confetti>i{position:absolute;left:var(--x);top:-14px;width:6px;height:11px;border-radius:1px;opacity:0;animation:victory-confetti 2.8s ease-out var(--delay) 2 both}
.result-screen.victory #result-avatar{animation:victory-arrive .7s cubic-bezier(.2,.9,.3,1.2) both}
.result-screen.victory #result-crown{animation:victory-crown 2.6s ease-in-out .3s infinite}
.result-screen.victory>h1{animation:victory-title .65s ease-out both}
.result-screen.victory .result-stats,.result-screen.victory .result-players,.result-screen.victory .result-actions{animation:result-reveal .6s ease-out both}
.result-screen.victory .result-stats{animation-delay:.15s}
.result-screen.victory .result-players{animation-delay:.25s}
.result-screen.victory .result-actions{animation-delay:.35s}
@keyframes victory-confetti{0%{opacity:0;transform:translateY(0) rotate(0)}10%{opacity:1}80%{opacity:.9}100%{opacity:0;transform:translateY(230px) rotate(var(--turn))}}
@keyframes victory-arrive{from{opacity:0;transform:translateY(24px) scale(.7)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes victory-crown{0%,100%{transform:translateY(0) rotate(-4deg)}50%{transform:translateY(-7px) rotate(4deg)}}
@keyframes victory-title{from{opacity:0;transform:scale(.86)}to{opacity:1;transform:scale(1)}}
@keyframes result-reveal{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
body.reduce-motion .result-screen *,body.reduce-motion .result-screen *::before,body.reduce-motion .result-screen *::after{animation:none!important;transition:none!important}
@media(prefers-reduced-motion:reduce){.result-screen *,.result-screen *::before,.result-screen *::after{animation:none!important;transition:none!important}}

.metric-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.metric-tabs button{min-height:36px;padding:7px 8px;line-height:1.2}
/* Referências DESIGN/novas: painéis chanfrados e progressão fora da arena. */
.equipped-caption{text-align:center;color:var(--gold);font-size:12px;margin-top:-8px}.result-screen{gap:13px}.result-progression .cut-inner{padding:0 15px}.result-progress-row{display:flex;align-items:center;gap:15px;padding:18px 0}.result-progress-row+.result-progress-row{border-top:1px solid #65518d}.result-progress-row>.rank-pill{width:48px;height:48px;justify-content:center;flex:none;padding:0;border-radius:50%;font-size:0}.result-progress-row>.rank-pill .icon{width:27px;height:27px}.result-progress-row>.level-badge{width:48px;height:55px;flex-basis:48px;font-size:25px}.progression-detail{flex:1;min-width:0}.progression-detail small{font-size:12px;line-height:1.5;color:var(--muted)}.section-caption{display:flex;align-items:center;justify-content:space-between;gap:10px}.section-caption h2{font-size:13px;letter-spacing:1px}.section-caption>span{color:var(--muted);font-size:12px}.section-caption>strong{font-weight:950;color:var(--gold);font-size:15px;white-space:nowrap}.section-caption .positive{color:#7ee695}.section-caption .negative{color:#ffb3bd}.segmented-progress{height:16px;padding:2px;border:1px solid #7960bb;transform:skew(-17deg);border-radius:0;margin:8px 3px;box-shadow:none;background:#0e0a20}.segmented-progress>i{border-radius:0;position:relative;background:linear-gradient(90deg,#ff7625,#ffcb42)}.segmented-progress.xp-progress>i{background:linear-gradient(90deg,#7241ee,#b945f1,#ffcb42)}.segmented-progress>i::after{content:'';position:absolute;inset:0;background:repeating-linear-gradient(90deg,transparent 0 10px,#1d123b66 10px 12px);animation:none;transform:none}.result-stats{grid-template-columns:1fr 1fr}.result-stats .result-points,#result-xp{display:none}.result-screen .result-hero{height:128px;margin:12px 0 0}.result-screen>h1{font-size:clamp(42px,13vw,68px);font-style:italic;letter-spacing:0;line-height:1.15;color:var(--gold);text-shadow:0 4px #b64716}.result-screen.loss>h1{color:#ffb3bd;text-shadow:0 4px #76273d}.result-screen #result-subtitle{font-size:14px;line-height:1.5}.result-player.you{background:var(--orange)}.result-screen.loss .result-player.you{background:#ffb3bd}.result-player strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.result-player small{margin-left:auto;text-align:right}.result-actions{margin-top:auto;gap:12px}.reward-button{color:var(--gold);background:linear-gradient(125deg,#533116,#21152f);border:1px solid #ff8b31}.result-actions .orange-button{color:#200c06}.achievement-profile .cut-inner{display:flex;align-items:center;gap:14px;padding:15px}.achievement-profile .robot{flex-shrink:0;transform:scale(.8)}.achievement-identity{flex:1;min-width:0}.achievement-identity small{display:block;color:var(--muted);font-size:12px;line-height:1.5}.achievement-identity strong{display:block;font-size:20px;color:var(--gold);margin:4px 0}.achievement-total{display:flex;flex-direction:column;text-align:right}.achievement-total strong{font-size:26px}.achievement-total small{color:var(--muted);font-size:10px}.title-list{display:grid;grid-template-columns:1fr 1fr;gap:10px}.title-card .cut-inner{display:flex;flex-direction:column;align-items:flex-start;gap:7px;padding:13px;min-height:120px}.title-card h3,.achievement-card h3{font-size:17px;margin:0;font-weight:950;line-height:1.2}.title-card p,.achievement-card p{font-size:12px;color:var(--muted);line-height:1.5}.title-card.equipped{background:var(--orange)}.title-card.equipped .cut-inner{background:linear-gradient(120deg,#452314,#21152e)}.title-card.locked{color:var(--muted)}.title-equip{margin-top:auto;font-weight:950;font-size:11px;color:#cfb6ff;background:#332353;padding:5px 8px;clip-path:polygon(6px 0,100% 0,calc(100% - 6px) 100%,0 100%)}.title-card.equipped .title-equip{background:var(--orange);color:#210b04}.title-equip:disabled{opacity:1;cursor:default}.title-card.locked .title-equip{opacity:.6}.achievement-list{display:grid;gap:9px}.achievement-card .cut-inner{display:flex;gap:14px;padding:15px;align-items:center}.achievement-icon{width:38px;height:43px;flex-shrink:0;background:#3a2869;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);padding:7px;color:var(--orange)}.completed .achievement-icon{color:#271006;background:var(--gold)}.achievement-detail{flex:1;min-width:0}.achievement-complete{display:block;font-size:12px;color:#7ee695;margin-top:4px}.objective-progress{display:flex;align-items:center;gap:9px}.objective-progress .progress{flex:1;height:10px}.objective-progress strong{font-size:11px;color:#c5b9e1}.achievements-screen>.section-caption{margin-top:4px}.evolution-screen,.rewards-screen{text-align:center;gap:16px;padding-top:16px}.evolution-screen>h1{font-style:italic;font-size:clamp(30px,10vw,48px);color:var(--gold);text-shadow:0 4px #b64716;line-height:1.12}.evolution-screen.demotion>h1{color:#ffb3bd;text-shadow:0 4px #76273d}.evolution-screen>p,.rewards-screen>p{font-size:15px;color:#d0c5eb;line-height:1.5}.evolution-screen.rank-up{background:radial-gradient(ellipse at 50% 20%,#b279242e,transparent 60%)}.evolution-art{display:flex;justify-content:center;align-items:center;gap:20px;min-height:240px;padding:24px 0}.evolution-art>.level-badge{width:160px;height:180px;flex-basis:160px;font-size:80px;filter:drop-shadow(0 0 30px #8351ff88)}.evolution-art .rank-pill{border-radius:0;width:130px;height:160px;clip-path:polygon(50% 0,96% 16%,96% 57%,82% 81%,50% 100%,18% 81%,4% 57%,4% 16%);font-size:0;justify-content:center;box-shadow:inset 0 0 30px #fff7}.evolution-art .rank-pill .icon{width:80px;height:95px}.evolution-art .previous-rank{opacity:.45;transform:scale(.7);width:90px}.rank-arrow{font-size:60px;color:var(--gold);font-weight:950}.evolution-details{display:grid;gap:15px;text-align:left}.evolution-progress p{font-size:13px;color:var(--muted);margin-top:8px}.evolution-tip .cut-inner{display:flex;align-items:center;gap:14px}.evolution-tip .icon{color:var(--gold);width:30px;height:30px}.evolution-tip p{font-size:14px;line-height:1.5;color:#d0c5eb}.evolution-screen>.wide-button,.rewards-screen>.wide-button{margin-top:auto}.reward-ribbon{align-self:center;background:linear-gradient(100deg,var(--orange),var(--gold));color:#200c06;font-weight:950;letter-spacing:2px;font-size:13px;padding:8px 14px;transform:skew(-15deg)}.rewards-screen>h1{font-size:clamp(27px,8vw,40px);font-style:italic;color:var(--gold);text-shadow:0 3px #b64716}.rewards-screen>h2{font-size:22px;color:var(--text);letter-spacing:1px}.rewards-screen>p{margin-top:-8px}.treasure{position:relative;height:230px;width:min(100%,330px);margin:0 auto;isolation:isolate}.treasure-rays{position:absolute;inset:0;background:repeating-conic-gradient(from -10deg at 50% 90%,#c899ff66 0 10deg,transparent 10deg 24deg);mask-image:radial-gradient(ellipse,black,transparent 70%);z-index:-1}.treasure-box{position:absolute;left:18%;right:18%;bottom:12px;height:115px;background:repeating-linear-gradient(0deg,transparent 0 23px,#a35b1f55 24px 26px),linear-gradient(#e8a34a,#c17728);border:3px solid #995a25;border-radius:10px 10px 16px 16px;box-shadow:0 -9px #ffcb42}.treasure-box::before,.treasure-box::after{content:'';position:absolute;top:0;bottom:0;width:18px;background:linear-gradient(#ffe38d,#ffb323)}.treasure-box::before{left:20px}.treasure-box::after{right:20px}.treasure-box i{position:absolute;left:calc(50% - 19px);top:16px;width:38px;height:43px;border:2px solid #ad6e22;border-radius:8px;background:var(--gold);color:#8c4e0e;font-size:26px;font-style:normal;z-index:1}.treasure-lid{position:absolute;left:20%;right:20%;bottom:132px;height:66px;border:12px solid #ffc952;border-radius:45% 45% 4px 4px;background:#271339;transform:perspective(200px) rotateX(-15deg);box-shadow:0 -4px #a46420;filter:drop-shadow(0 0 18px #ffc94b55)}.treasure-spark{position:absolute;top:8px;left:44%;font-size:60px;color:#ffdf76;text-shadow:-70px 30px #c797ff,70px 15px #ffcb42;animation:treasure-glow 2s ease-in-out infinite alternate}.reward-items{display:grid;grid-template-columns:1fr 1fr;gap:12px}.reward-item .cut-inner{display:flex;align-items:center;flex-direction:column;gap:8px;padding:20px 8px}.reward-item .icon{width:38px;height:38px;color:var(--gold)}.reward-item strong{font-size:32px;font-weight:950;color:var(--gold)}.reward-item span:last-child{font-size:13px;color:#cec2e5}.reward-balance{grid-column:1/-1}.reward-balance .cut-inner{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:14px;font-size:12px;color:var(--muted)}.reward-balance strong{color:var(--gold);font-size:19px}@keyframes treasure-glow{to{transform:translateY(-6px);filter:drop-shadow(0 0 10px #ffd55e)}}
/* Arena mantém proporção 15x13; a referência vertical não deforma o mapa real. */
.battle-icon,.game-roster li,.player-hud>div{border-radius:0;clip-path:polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px);background:linear-gradient(125deg,#2c2052,#18122f);border-color:#524080}.battle-icon{color:var(--orange)}.battle-header time{font-style:italic}.game-roster li.you{border-color:var(--cyan);box-shadow:inset 2px 0 var(--cyan)}.player-hud>div{justify-content:flex-start;padding:5px 10px;gap:9px}.player-hud>div>[data-icon]{color:#a370ff;width:19px;height:19px}.player-hud>div:nth-child(3)>[data-icon]{color:#b58aff}.player-hud dt{font-size:11px}.player-hud dd{font-size:13px}.player-hud>div:nth-child(2)>[data-icon] svg path{d:path('M12 3v18M3 12h18')}.dpad{background:#100c20;border-color:#4f397e}.dpad button{background:linear-gradient(#392864,#21173d);color:#ffac39}.bomb-button{background:linear-gradient(135deg,#ffdc82,#ff7625 80%);box-shadow:0 7px #b94a17,0 0 30px #ff842522}.bomb-button .icon svg{fill:#210d08}.arena-view #game{border-radius:0;border:5px solid #8c73d2;border-bottom-color:#ff872f;border-right-color:#b47dd5;clip-path:polygon(11px 0,100% 0,100% calc(100% - 11px),calc(100% - 11px) 100%,0 100%,0 11px);box-shadow:0 0 26px #8850ff44}.game-screen{grid-template-rows:58px 43px minmax(0,1fr) 45px auto}
@media(max-width:350px){.section-caption h2{font-size:11px}.section-caption>strong{font-size:12px}.result-progression .cut-inner{padding:0 12px}.result-progress-row{gap:10px}.achievement-profile .cut-inner{gap:8px;padding:12px 9px}.achievement-profile .robot{width:40px;transform:scale(.6)}.achievement-identity strong{font-size:16px}.achievement-total strong{font-size:20px}.title-card .cut-inner{padding:12px 10px}.title-card h3,.achievement-card h3{font-size:15px}.evolution-art{gap:8px}.evolution-art .rank-pill{width:110px;height:140px}.evolution-art .previous-rank{width:70px}.player-hud>div{gap:4px;padding:4px 5px}.player-hud dt{font-size:9px}.player-hud dd{font-size:11px}}
@media(orientation:landscape) and (min-width:600px){.game-screen{grid-template-rows:53px 38px minmax(0,1fr) 45px}}
@media(max-height:700px) and (orientation:portrait){.game-screen{grid-template-rows:47px 34px minmax(0,1fr) 37px auto;gap:6px;padding-top:6px}.battle-icon{width:40px;height:40px}.battle-header time{font-size:28px}.controls{padding-top:3px}.dpad{width:130px}.bomb-button{width:100px}.player-hud dt{font-size:9px}.player-hud dd{font-size:11px}}
.result-progression{width:100%;text-align:left}.result-progression .section-caption{margin-bottom:4px}.result-players{width:100%}.result-actions{width:100%}
.evolution-art .rank-pill{position:relative;background-image:linear-gradient(130deg,#ffffff77,transparent 55%,#1c113533);padding:8px}.evolution-art .rank-pill::after{content:'★';font-size:85px;line-height:1;color:#fff7df;text-shadow:0 3px #57416b44}.evolution-art .rank-pill .icon{display:none}.evolution-art .previous-rank .rank-pill::after{color:#281a30}.result-actions{display:grid;grid-template-columns:1fr 1fr}.result-actions>#play-again,.result-actions>[data-home]{grid-column:1/-1}.result-actions>#view-evolution,.result-actions>#open-rewards{font-size:11px;letter-spacing:.3px;padding:12px 7px;min-height:46px}.result-actions>#open-rewards .icon{width:20px;height:20px}
.achievement-reward{display:block;font-size:12px;color:var(--gold);margin:5px 0;line-height:1.5}
/* Loja e inventário: o catálogo determina os cartões; o perfil determina a propriedade. */
.shop-screen{gap:14px}.shop-wallet .cut-inner{display:grid;grid-template-columns:1fr auto;gap:4px 12px;align-items:center;padding:17px 20px}.shop-wallet span{color:var(--gold);font-size:12px;font-weight:950;letter-spacing:1px}.shop-wallet strong{grid-row:1/3;grid-column:2;font-size:32px;color:var(--gold)}.shop-wallet small{color:var(--muted);font-size:12px}.shop-categories{display:flex;gap:7px;overflow-x:auto;padding:2px 1px 10px;flex-shrink:0}.shop-categories button{white-space:nowrap;border:1px solid var(--edge);background:#201737;color:var(--muted);padding:10px 12px;font-size:12px;font-weight:800;border-radius:4px}.shop-categories button.active{color:var(--gold);border-color:var(--gold)}.shop-items{display:grid;grid-template-columns:1fr 1fr;gap:12px}.cosmetic-card{text-align:left;min-width:0}.cosmetic-card .cut-inner{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:15px;min-height:215px}.cosmetic-card img{align-self:center;object-fit:contain;max-width:100%;filter:drop-shadow(0 5px 12px #0005)}.cosmetic-card small{font-size:10px;color:var(--muted)}.cosmetic-card strong{font-size:17px;line-height:1.25}.cosmetic-card .item-price{margin-top:auto;color:var(--gold);font-size:13px;font-weight:950}.cosmetic-card .item-locked{color:#ffb3bd}.rarity-rare{background:#8255dc}.rarity-epic{background:#dc4eb9}.rarity-legendary{background:#cfa24f}.shop-profile-form{display:grid;gap:10px}.shop-profile-form label{font-size:13px;color:var(--muted)}.shop-profile-form input{width:100%;border:1px solid var(--edge);padding:12px;color:var(--text);background:#19122e}.shop-profile-form button{font-size:13px}.shop-equipped{display:grid;gap:9px}.equipped-row{display:grid;grid-template-columns:1fr auto;gap:4px 10px;padding:12px;border:1px solid var(--edge);background:#19122e}.equipped-row>span{font-size:10px;color:var(--muted)}.equipped-row>strong{font-size:13px;grid-column:1}.equipped-row>button{grid-column:2;grid-row:1/3;background:transparent;color:var(--gold);font-size:10px;max-width:70px}.preview-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.preview-heading p{font-size:12px;color:var(--muted);margin-bottom:7px}.preview-heading h2{font-size:24px;letter-spacing:0;line-height:1.2}.preview-stage .cut-inner{padding:8px;background:#17122d}.preview-stage canvas{display:block;width:100%;height:auto;image-rendering:auto}.preview-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px}.preview-controls>button{padding:12px;background:#2b204d;border:1px solid #624b91}.preview-controls input{accent-color:var(--orange)}.preview-disclaimer{font-size:12px;line-height:1.6}.cosmetic-detail>#preview-description{font-size:14px;color:#d5c9ef;line-height:1.5}.cosmetic-detail #preview-mask{font-size:12px;line-height:1.5}.preview-combinations{padding:14px;border:1px solid var(--edge);font-size:13px;background:#19122e}.preview-combinations summary{cursor:pointer;color:var(--gold);font-weight:800}.preview-combinations label{display:grid;gap:5px;margin-top:12px;color:var(--muted);font-size:11px}.preview-combinations select{width:100%;min-width:0;background:#271d43;border:1px solid var(--edge);color:var(--text);font:inherit;padding:10px;font-size:13px}.preview-price .cut-inner{display:grid;gap:7px;padding:17px}.preview-price span{color:var(--gold);font-size:19px;font-weight:950}.preview-price small{color:var(--muted);font-size:12px}.cosmetic-detail>.wide-button{font-size:15px}#preview-requirements{font-size:12px;line-height:1.5}.cosmetic-avatar{display:inline-flex;align-items:center;justify-content:center;width:70px;height:70px;flex:none}.cosmetic-avatar canvas{display:block;width:100%;height:100%;object-fit:contain}.home-avatar>.cosmetic-avatar{position:absolute;width:74px;height:74px}.home-avatar>.level-badge{z-index:2}.game-roster .cosmetic-avatar{width:32px;height:30px}.queue-player .cosmetic-avatar{width:65px;height:65px}.result-hero .cosmetic-avatar{width:145px;height:145px}.result-hero #result-avatar{display:flex;align-items:center;justify-content:center}#preview-avatar .cosmetic-avatar{width:80px;height:80px}.achievement-profile .cosmetic-avatar{width:55px;height:60px}.cosmetic-detail #preview-equip:disabled{opacity:.6}.cosmetic-card:focus-visible{outline-offset:-4px}@media(max-width:350px){.cosmetic-card .cut-inner{padding:12px;min-height:200px}.cosmetic-card strong{font-size:15px}.shop-items{gap:9px}.preview-controls{font-size:11px}.home-nav.cosmetic-nav strong{font-size:15px}}
.shop-loadout{border:1px solid var(--edge);padding:14px;background:#19122e}.shop-loadout summary{font-size:13px;font-weight:800;color:var(--gold);cursor:pointer}.shop-loadout .shop-equipped{margin-top:12px}.shop-categories{scrollbar-width:thin;scrollbar-color:#5c4389 #171128}.shop-categories::-webkit-scrollbar{height:4px}.shop-categories::-webkit-scrollbar-thumb{background:#5c4389}
/* Acesso à conta: mesma identidade visual dos menus, com foco em formulários mobile. */
.auth-screen{gap:18px;padding-top:10px}.auth-logo{margin:2px 0 6px}.auth-logo>span{font-size:clamp(55px,17vw,82px)}.auth-logo>strong{font-size:18px;letter-spacing:7px;margin-top:10px}.auth-mascot{display:flex;align-items:center;justify-content:center;height:85px;background:radial-gradient(ellipse,#7545cc33,transparent 65%)}.auth-mascot .robot{transform:scale(1.25)}.auth-intro{text-align:center}.auth-eyebrow{display:block;font-size:10px;letter-spacing:1.5px;color:var(--muted);font-weight:800;margin-bottom:10px}.auth-intro h1{font-size:30px;font-style:italic;color:var(--gold);text-shadow:0 3px #9e421d;letter-spacing:.5px}.auth-intro p{color:var(--muted);font-size:13px;line-height:1.5;margin-top:9px}.auth-tabs{flex-shrink:0}.auth-card .cut-inner{padding:23px 20px}.auth-form{display:grid;gap:10px}.auth-form>label{font-size:13px;font-weight:900;color:#e5d8ff;margin-top:6px}.auth-form>label:first-child{margin-top:0}.auth-form input{display:block;width:100%;min-width:0;border:1px solid #675090;background:#100d23;color:var(--text);font:inherit;font-size:16px;padding:14px 12px;border-radius:4px;min-height:50px}.auth-form input::placeholder{color:#8d82ab}.auth-form small{color:var(--muted);font-size:11px;line-height:1.5;margin-top:-4px}.auth-password{position:relative;display:flex;align-items:center}.auth-password input{padding-right:78px}.auth-password button{position:absolute;right:4px;background:transparent;color:var(--gold);font-size:11px;font-weight:800;padding:12px 8px;min-height:44px}.auth-form .auth-submit{margin-top:12px;font-size:16px;min-height:59px}.auth-message{color:#ffb3bd;font-size:13px;line-height:1.5;text-align:center;min-height:0}.auth-message:empty{display:none}.auth-footer{text-align:center;color:var(--muted);font-size:12px;margin-top:auto;padding:2px 0 12px}.auth-footer button{color:var(--gold);font-weight:900;background:transparent;padding:10px 5px}.auth-legacy{font-size:12px;color:#d9cbf1;line-height:1.6;padding:13px 15px;background:#342253;border-left:3px solid var(--cyan)}.account-logout{display:flex;align-items:center;justify-content:center;gap:6px;background:transparent;color:var(--muted);padding:10px;font-size:12px;align-self:center}.account-logout .icon{width:15px;height:15px}#player-name[readonly]{cursor:default}.auth-screen[aria-busy=true] .auth-submit{opacity:.6}@media(max-width:350px){.auth-screen{gap:14px}.auth-card .cut-inner{padding:20px 15px}.auth-intro h1{font-size:27px}.auth-eyebrow{font-size:9px}.auth-mascot{height:65px}}@media(max-height:700px){.auth-mascot{height:60px}.auth-screen{gap:13px}.auth-logo>span{font-size:57px}.auth-logo>strong{font-size:15px;margin-top:8px}.auth-intro h1{font-size:26px}}
.cosmetic-card canvas{align-self:center;width:80px;height:80px;max-width:100%;filter:drop-shadow(0 5px 12px #0005)}

.queue-ring[data-mode=countdown]>strong{font-size:42px;line-height:1}.queue-ring[data-mode=countdown]{box-shadow:0 0 24px #ffcb4222}

/* O documento rola nos menus; a arena permanece dentro da viewport. */
html{min-height:100%;overscroll-behavior-y:none}
body{min-height:100vh;min-height:100dvh;overflow-x:clip}
body.menu-open{overflow-x:clip;overflow-y:auto}
html.game-open,html.game-open body{height:100%;overflow:hidden;overscroll-behavior:none}
html.game-open body{height:100dvh;min-height:0}
/* Direcional contínuo: o disco inteiro recebe o dedo, não apenas as setas. */
.dpad{position:relative;isolation:isolate;overscroll-behavior:contain;-webkit-tap-highlight-color:transparent}
.dpad button{pointer-events:none;background:transparent;z-index:1;color:#c3b3ec}
.dpad .dpad-center{position:relative;z-index:0;border-radius:50%;background:radial-gradient(circle at 35% 25%,#a077e9,#4b2b80);border:1px solid #c8a8ff55;box-shadow:0 3px 12px #0006;transform:translate(var(--stick-x,0px),var(--stick-y,0px));pointer-events:none;transition:transform .08s ease-out}
.dpad.dragging .dpad-center{transition:none;box-shadow:0 0 18px #a579f577}
.dpad button.pressed{background:#6e43d966;color:#ffdf82;transform:none}
.bomb-button{touch-action:none;-webkit-tap-highlight-color:transparent}
.chest-list{display:grid;gap:9px;text-align:left}
.chest-card{min-height:56px;text-align:left;padding:14px 18px;background:#32234e;color:#ffcf65;font-weight:800}
.chest-card.opened{background:#211b34;color:#aebea9}
#chest-detail{display:grid;gap:18px}#chest-detail .reward-item{grid-column:1/-1}
.treasure.closed .treasure-lid{bottom:110px;height:70px;background:linear-gradient(#e9a541,#b36e22);transform:perspective(300px) rotateX(0);filter:none}
.treasure.closed .treasure-spark,.treasure.closed .treasure-rays{opacity:0}
.treasure.opening{animation:chest-shake .4s ease-in-out 2}
.treasure.opening .treasure-lid{animation:chest-lid .6s .4s ease-out both;transform-origin:center bottom}
.treasure.opening .treasure-rays,.treasure.opening .treasure-spark{animation:chest-reveal .45s .55s ease-out both}
.treasure.opened .treasure-lid{bottom:132px;transform:perspective(250px) rotateX(-28deg)}
.treasure.opened .treasure-spark{animation:none}
@keyframes chest-shake{0%,100%{transform:rotate(0)}25%{transform:rotate(-3deg)}75%{transform:rotate(3deg)}}
@keyframes chest-lid{from{bottom:110px;transform:perspective(250px) rotateX(0)}to{bottom:150px;transform:perspective(250px) rotateX(-45deg)}}
@keyframes chest-reveal{from{opacity:0;scale:.7}to{opacity:1;scale:1}}
body.reduce-motion .treasure,body.reduce-motion .treasure *{animation:none!important}
@media(prefers-reduced-motion:reduce){.treasure,.treasure *{animation:none!important}}
/* A página nunca desloca lateralmente; categorias quebram linha no celular. */
html,body{max-width:100%;overflow-x:hidden;overscroll-behavior-x:none}
.menu-shell,.screen,.game-screen{min-width:0;max-width:100%}
.screen>*{min-width:0;max-width:100%}
.preview-heading>div{min-width:0}.preview-heading h2{overflow-wrap:anywhere}
@media(max-width:600px){.shop-categories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;padding-bottom:0}.shop-categories button{min-width:0;white-space:normal;padding:10px 6px}.preview-controls{flex-wrap:wrap}.shop-wallet .cut-inner{min-width:0}.battle-header,.game-roster,.player-hud,.controls{min-width:0}.game-roster li{min-width:0}}
/* Moeda única do jogo: ouro facetado, aro e símbolo de energia. */
.coin-icon{display:inline-flex;flex:none;vertical-align:middle;filter:drop-shadow(0 2px 2px #12081966)}
.coin-icon svg{overflow:visible}
.wallet-amount{grid-row:1/3;grid-column:2;display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}
.wallet-amount>[data-icon]{width:32px;height:32px}.wallet-amount>[data-icon]>.icon{width:100%;height:100%}
.shop-wallet .wallet-amount strong{font-variant-numeric:tabular-nums}
.item-price{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.item-price .coin-icon{width:20px;height:20px}
#preview-price{display:inline-flex;align-items:center;gap:7px}#preview-price .coin-icon{width:25px;height:25px}
#preview-buy .coin-icon{width:28px;height:28px;margin-right:8px}
.reward-item .coin-icon{width:60px;height:60px;filter:drop-shadow(0 3px 7px #ffb31b33)}
.achievement-reward{display:flex;align-items:center;gap:6px}.achievement-reward .coin-icon{width:22px;height:22px}
@media(max-width:350px){.wallet-amount{gap:4px}.wallet-amount>[data-icon]{width:26px;height:26px}}
.profile-rank-line{display:flex;align-items:center;gap:6px;min-width:0}.profile-rank-line>[data-profile="rank-badge"]{flex-shrink:0}.profile-title{display:inline-block;color:#ffe29b;background:linear-gradient(135deg,#55402d,#302238);border:1px solid #a47b46;border-radius:999px;padding:3px 8px;font-size:10px;font-weight:800;line-height:1.2;margin:0;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;box-shadow:inset 0 1px #ffe5af14}.profile-title:empty{display:none}
/* Polegar com origem móvel e feedback visual sem ultrapassar a área dos controles. */
.dpad{background:radial-gradient(circle at 50% 45%,#241844,#100c20 74%);box-shadow:inset 0 0 0 5px #ffffff03}
.dpad::before{content:'';position:absolute;inset:24%;border:1px solid #b18be333;border-radius:50%;background:#9d6be20a;transform:translate(var(--base-x,0px),var(--base-y,0px));pointer-events:none;z-index:0}
.dpad .dpad-center{z-index:2;background:radial-gradient(circle at 35% 25%,#c2a1fa 0%,#9265d9 45%,#4b2b80 100%);box-shadow:inset 0 1px 3px #ffffff55,0 4px 9px #0007;will-change:transform}
.dpad.dragging{border-color:#b089ee}.dpad.dragging::before{border-color:#b18be377}
.controls{contain:layout style}.game-screen .dpad,.game-screen .bomb-button{user-select:none;-webkit-user-select:none}
/* Coleção de baús: disponíveis em destaque, recibos agrupados no histórico. */
.rewards-screen{gap:18px}.rewards-screen>h1{font-size:clamp(25px,7vw,34px);line-height:1.15}.chest-list{gap:24px}.chest-summary{padding:22px;background:radial-gradient(ellipse at 100% 0,#8152df40,transparent 75%),#1b1532;border:1px solid #59417c;border-radius:16px}.chest-eyebrow{display:block;color:#b7a4d7;font-size:10px;letter-spacing:2px;font-weight:800;margin-bottom:9px}.chest-summary>strong{font-size:25px;color:#ffda7d}.chest-summary p{font-size:12px;color:#b7accd;line-height:1.6;margin-top:7px}.chest-group{min-width:0}.chest-group-heading{display:flex;align-items:center;gap:10px;margin-bottom:12px;font-size:11px;font-weight:800;letter-spacing:1px;color:#d6c6ee}.chest-count{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 6px;border-radius:8px;background:#37264f;color:#dac5fa;letter-spacing:0}.chest-group>summary{cursor:pointer;min-height:44px;margin-bottom:0;list-style:none;border-top:1px solid #413153;padding-top:12px}.chest-group>summary:after{content:'⌄';margin-left:auto;font-size:20px;color:#b5a2cf}.chest-group[open]>summary{margin-bottom:14px}.chest-group[open]>summary:after{transform:rotate(180deg)}.chest-tiles{display:grid;gap:12px}.chest-tile{display:flex;align-items:center;gap:18px;width:100%;min-width:0;text-align:left;padding:15px 18px;border:1px solid #8b663d;border-radius:14px;background:radial-gradient(ellipse at 0 40%,#b5762f25,transparent 75%),linear-gradient(120deg,#30203d,#1e1731);box-shadow:inset 0 1px #ffe0ab10;transition:border-color .15s,background .15s}.chest-tile:hover{border-color:#ffd079;background-color:#342346}.chest-tile-info{display:flex;flex-direction:column;gap:6px;min-width:0;flex:1}.chest-name{font-size:17px;color:#fff1d6;line-height:1.3;overflow-wrap:anywhere}.chest-status{font-size:11px;color:#dec29a}.chest-action{color:#ffcf65;font-size:11px;font-weight:900;letter-spacing:.5px;margin-top:5px}.chest-mini{display:block;width:82px;height:80px;flex-shrink:0;color:var(--chest-metal)}.chest-mini svg{width:100%;height:100%;overflow:visible}.mini-glow,.mini-check{display:none}.is-open .mini-lid{transform:translateY(-9px) rotate(-7deg);transform-origin:center}.is-open .mini-glow,.is-open .mini-check{display:block}.is-open .mini-lock{display:none}.collected{border-color:#3e3654;background:#1b172a;box-shadow:none}.collected .chest-mini{width:66px;height:68px;opacity:.7}.collected .chest-name{color:#d4cce1;font-size:15px}.collected .chest-status{color:#9fc8bc}.chest-receipt{display:flex;align-items:center;gap:5px;color:#dfc782;font-size:13px;font-weight:800;margin-top:2px}.chest-receipt .icon{width:16px;height:16px}.chest-back-list{justify-self:start;color:#c7b5e4;background:transparent;padding:10px 0;font-size:12px}.chest-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px;padding:30px 18px}.chest-empty .chest-mini{width:120px;height:110px;opacity:.7}.chest-empty h2{font-size:13px;line-height:1.5}.chest-empty p{font-size:13px;color:var(--muted);line-height:1.7;max-width:320px}#chest-detail>h2{font-size:18px}#chest-description{font-size:13px;color:var(--muted);line-height:1.6}.treasure.opened .treasure-rays{opacity:.2}.treasure.opened .treasure-spark{display:none}@media(max-width:350px){.chest-tile{gap:12px;padding:13px}.chest-mini{width:68px;height:70px}.chest-name{font-size:15px}.chest-summary{padding:18px}.chest-summary>strong{font-size:22px}}

/* SVG evita arco cheio por gradiente/cache; busca inicia sem adversários. */
.queue-ring{background:transparent}.queue-ring::before{display:none}.queue-progress-art{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg);overflow:visible}.queue-progress-art circle{fill:none;stroke-width:9}.queue-track{stroke:#35264f}.queue-fill{stroke:var(--gold);stroke-linecap:butt}
/* Requisito de compra continua legível; a prévia permanece acessível. */
.cosmetic-card.purchase-locked .cut-inner{background:linear-gradient(135deg,#28203e,#181329)}.cosmetic-card.purchase-locked canvas{opacity:.72}.item-locked,.item-unlocked{display:block;font-size:10px;line-height:1.5;padding:6px 8px;border-radius:7px;text-align:center;white-space:normal;overflow-wrap:anywhere}.item-locked{background:#57413155;color:#f5d199;border:1px solid #9b724250}.item-unlocked{color:#a0d9c2;background:#27423555}#preview-requirements{padding:12px 14px;border:1px solid #3f604f;border-radius:10px;background:#18342933;color:#b0ddc7}#preview-requirements:empty{display:none}#preview-requirements.requirements-pending{border-color:#785339;background:#49342044;color:#f2d4a0}#preview-buy:disabled{cursor:default}
.title-series-heading{grid-column:1/-1;display:flex;flex-direction:column;gap:5px;padding:12px 0 2px}.title-series-heading h3{margin:0;color:#cbb6ed;font-size:12px;letter-spacing:1px}.title-series-heading small{font-size:11px;color:var(--muted);line-height:1.5}.title-objective{display:grid;gap:6px;margin:10px 0}.title-objective small{font-size:10px;color:#bdb0d4}.title-objective .progress{width:100%}
.title-objective{width:100%}
.achievement-title-reward{display:block;color:#dfc28c;font-size:11px;line-height:1.6;margin-top:7px}.achievement-list>.title-series-heading{padding-top:18px}.title-list:empty:after{content:'Seus títulos desbloqueados aparecerão aqui.';color:var(--muted);font-size:13px}
.home-community{display:flex;flex-wrap:wrap;justify-content:center;gap:5px 14px;margin-top:8px}.home-community button,.home-community a{border:0;background:none;padding:10px 0;font-size:11px;color:#c4aedc;text-decoration:none}.home-community a{color:var(--gold)}.community-intro{padding:20px;border:1px solid #544070;border-radius:13px;background:#211630}.community-intro p{font-size:13px;line-height:1.7;color:var(--muted);margin-top:10px}.feedback-form{display:grid;gap:16px}.feedback-form label{display:grid;gap:9px;font-size:13px;font-weight:700}.feedback-form select,.feedback-form textarea{width:100%;border:1px solid #645083;background:#181125;color:var(--text);font:inherit;padding:13px;border-radius:8px;min-width:0}.feedback-form textarea{resize:vertical;font-size:16px}.feedback-form small{color:var(--muted);line-height:1.6;font-size:11px}.ranking-news{display:grid;gap:12px}.ranking-news-card{padding:19px;border:1px solid #594079;border-radius:12px;background:#211632}.ranking-news-card small{color:#bea3db;font-size:11px}.ranking-news-card h2{font-size:13px;margin-top:9px}.ranking-news-card p{font-size:13px;line-height:1.8;margin:10px 0;overflow-wrap:anywhere}.ranking-news-card time{font-size:10px;color:var(--muted)}.ranking-toast{position:fixed;z-index:100;bottom:max(18px,env(safe-area-inset-bottom));right:18px;left:auto;display:flex;gap:14px;align-items:flex-start;width:min(400px,calc(100vw - 36px));padding:18px;border:1px solid #a781d1;border-radius:13px;background:#241334f5;box-shadow:0 8px 30px #0008}.ranking-toast>div{display:grid;gap:7px}.ranking-toast strong{font-size:12px;color:var(--gold)}.ranking-toast span{font-size:12px;line-height:1.7;overflow-wrap:anywhere}.ranking-toast button{background:transparent;color:var(--muted);margin-left:auto;padding:4px;flex-shrink:0}.game-open .ranking-toast{display:none!important}

/* Ações secundárias do início */
.home-community{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin-top:0}.home-community button{display:flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:12px 8px;border:1px solid #493761;border-radius:10px;background:linear-gradient(135deg,#251b38,#1a1429);color:#d7cbe8;font-size:12px;font-weight:700;text-align:center}.home-community button:hover{border-color:#9a76c5;background:#302044}.home-community button:active{background:#392653}.home-community svg,.home-community .icon{width:19px;height:19px;flex-shrink:0;color:#b798e6}.home-community svg,.account-logout svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.account-logout{display:flex;align-items:center;justify-content:center;gap:8px;align-self:center;min-height:44px;padding:8px 16px;margin:0;background:transparent;color:#a99bbd;font-size:12px}.account-logout svg{width:17px;height:17px}.account-logout:hover{color:#f0b6c0}.home-screen>#menu-message:empty{display:none}.home-screen>.server-status{margin-top:0;border-top:1px solid #ffffff0d;padding-top:15px;padding-bottom:3px;gap:7px;font-size:10px;color:#8e819f;letter-spacing:.2px}.server-status i{width:6px;height:6px}.home-screen{row-gap:12px}

.feedback-success{display:flex;flex-direction:column;align-items:center;gap:18px;text-align:center;padding:34px 24px 24px;border:1px solid #64478b;border-radius:18px;background:radial-gradient(ellipse at 50% 0,#6140a340,transparent 65%),linear-gradient(160deg,#251a3d,#181226);margin-top:12px;box-shadow:0 12px 36px #0003}.feedback-success-mark{display:grid;place-items:center;width:80px;height:80px;border-radius:50%;background:#5de4b414;border:1px solid #74ebbb55;box-shadow:0 0 30px #63eab116}.feedback-success-mark svg{width:48px;height:48px;fill:none;stroke:#8df0c7;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round}.feedback-success-kicker{color:#91ddbf;font-size:10px;font-weight:800;letter-spacing:2px}.feedback-success h2{font-size:24px;letter-spacing:-.5px;color:#f5eeff;outline:none}.feedback-success p{font-size:14px;line-height:1.8;color:#c1b4d6}.feedback-success-note{font-size:11px;color:#9585ad;padding-bottom:10px}.feedback-success .wide-button{width:100%;min-height:48px;font-size:13px}.feedback-again{background:none;color:#c5b0e2;min-height:44px;padding:10px 16px;font-size:12px}.feedback-again:hover{color:#fff}

.podium-title{background:#caa057}.podium-title>.cut-inner{background:linear-gradient(125deg,#3b2d1e,#23192c)}.podium-title.podium-week{background:linear-gradient(120deg,#ffe5a3,#c584ff,#ffcf72)}.podium-week>.cut-inner{background:radial-gradient(ellipse at 0 0,#7b4bb84d,transparent 65%),linear-gradient(120deg,#332040,#24192f)}.podium-title-badge{display:flex;align-items:center;gap:7px;color:#ffe2a0;font-size:9px;font-weight:900;letter-spacing:.7px;margin-bottom:10px}.podium-title-badge .icon{width:19px;height:19px}.podium-place-2 .podium-title-badge{color:#dedcff}.podium-place-3 .podium-title-badge{color:#f0bb95}.podium-title h3{color:#fff0c6}.podium-title.podium-week h3{color:#ecd6ff}:is(#home-title,.match-title).podium-equipped{border-color:#d4af62;color:#ffe09b;background:linear-gradient(110deg,#443018,#30203e)}:is(#home-title,.match-title).podium-week{border-color:#bf8aff;color:#ead2ff;background:linear-gradient(110deg,#503064,#32234d)}

/* Títulos competitivos: metal por posição e aura exclusiva semanal. */
.podium-title,:is(#home-title,.match-title).podium-equipped{--podium-light:#fff0ba;--podium-metal:#ffc64e;--podium-dark:#6c390c;--podium-glow:#ffbf4b44;--podium-accent:#c98aff}
.podium-place-2{--podium-light:#f2f8ff!important;--podium-metal:#b9ddff!important;--podium-dark:#354e7c!important;--podium-glow:#9bcfff44!important;--podium-accent:#b5a4ff!important}
.podium-place-3{--podium-light:#ffe1ca!important;--podium-metal:#f2a575!important;--podium-dark:#68332a!important;--podium-glow:#ef996044!important;--podium-accent:#ff9cb3!important}
.podium-title{position:relative;isolation:isolate;background:linear-gradient(120deg,var(--podium-dark),var(--podium-metal) 22%,var(--podium-light) 43%,var(--podium-metal) 64%,var(--podium-dark));padding:2px;filter:drop-shadow(0 3px 8px var(--podium-glow))}
.podium-title>.cut-inner{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 0 0,var(--podium-glow),transparent 75%),linear-gradient(135deg,#291f32,#151323);padding:19px 16px;min-height:172px;gap:10px}
.podium-title.podium-week{background:linear-gradient(115deg,var(--podium-metal),var(--podium-light) 30%,var(--podium-accent) 55%,var(--podium-metal));filter:drop-shadow(0 3px 10px var(--podium-glow))}
.podium-title.podium-week>.cut-inner{background:radial-gradient(ellipse at 100% 0,#b778ff28,transparent 65%),radial-gradient(ellipse at 0 0,var(--podium-glow),transparent 75%),linear-gradient(135deg,#2a1b36,#171225)}
.podium-title h3,.podium-title.podium-week h3{color:var(--podium-light);text-shadow:0 0 15px var(--podium-glow);font-size:18px;letter-spacing:.1px}
.podium-title .podium-title-badge{color:var(--podium-metal);font-size:9px;letter-spacing:1px;margin-bottom:2px}
.podium-title-badge .icon{width:23px;height:23px;filter:drop-shadow(0 0 5px var(--podium-glow))}
.podium-title .title-equip{border:1px solid var(--podium-metal);color:var(--podium-light);background:linear-gradient(120deg,var(--podium-dark),#252033);padding:10px 16px;min-height:44px}
.podium-title.equipped .title-equip{background:linear-gradient(115deg,var(--podium-metal),var(--podium-light));color:#231a23;opacity:1}
.podium-title>.cut-inner::before,:is(#home-title,.match-title).podium-equipped::before{content:'';position:absolute;pointer-events:none;z-index:-1;inset:-50% -70%;background:linear-gradient(110deg,transparent 40%,#fff9 49%,transparent 58%);transform:translateX(-65%);opacity:0;animation:podium-sheen 7s ease-in-out infinite}
.podium-title>.cut-inner::after{content:'';position:absolute;pointer-events:none;z-index:-1;inset:0;background:radial-gradient(circle at 88% 17%,var(--podium-light) 0 1px,transparent 2px),radial-gradient(circle at 94% 37%,var(--podium-metal) 0 1px,transparent 2px),radial-gradient(circle at 76% 10%,var(--podium-light) 0 1px,transparent 2px);opacity:.35;animation:podium-stars 4s ease-in-out infinite}
.podium-week>.cut-inner::after{background:radial-gradient(circle at 88% 17%,var(--podium-light) 0 1.3px,transparent 2.5px),radial-gradient(circle at 94% 37%,var(--podium-accent) 0 1.5px,transparent 3px),radial-gradient(circle at 76% 10%,var(--podium-light) 0 1px,transparent 2.5px),radial-gradient(ellipse at 100% 0,#c484ff24,transparent 60%)}
:is(#home-title,.match-title).podium-equipped{position:relative;isolation:isolate;color:var(--podium-light);border:1px solid var(--podium-metal);background:linear-gradient(115deg,var(--podium-dark),#281e38);box-shadow:0 0 10px var(--podium-glow),inset 0 1px #ffffff2a;text-shadow:0 0 7px var(--podium-glow);padding:5px 10px;font-weight:900}
:is(#home-title,.match-title).podium-week{background:linear-gradient(115deg,var(--podium-dark),#492654,#251b3c);border-color:var(--podium-accent);box-shadow:0 0 12px var(--podium-glow),inset 0 1px #ffffff35}
:is(#home-title,.match-title).podium-equipped::before{z-index:0;animation-delay:1s}
@keyframes podium-sheen{0%,55%{transform:translateX(-65%);opacity:0}60%{opacity:.13}78%{transform:translateX(65%);opacity:.13}82%,100%{transform:translateX(65%);opacity:0}}
@keyframes podium-stars{0%,100%{opacity:.25}50%{opacity:.85}}
.reduce-motion .podium-title>.cut-inner::before,.reduce-motion .podium-title>.cut-inner::after,.reduce-motion :is(#home-title,.match-title).podium-equipped::before{animation:none!important}.reduce-motion .podium-title>.cut-inner::before,.reduce-motion :is(#home-title,.match-title).podium-equipped::before{display:none}
@media(prefers-reduced-motion:reduce){.podium-title>.cut-inner::before,.podium-title>.cut-inner::after,:is(#home-title,.match-title).podium-equipped::before{animation:none!important}.podium-title>.cut-inner::before,:is(#home-title,.match-title).podium-equipped::before{display:none}}
.podium-title.equipped>.cut-inner{background:radial-gradient(ellipse at 0 0,var(--podium-glow),transparent 75%),linear-gradient(135deg,#2a2034,#171323)}.podium-place-2>.cut-inner::before{animation-delay:1s}.podium-place-3>.cut-inner::before{animation-delay:2s}

.queue-player .match-title{display:block;max-width:100%;font-size:9px;white-space:normal;text-align:center;line-height:1.5;padding:5px 7px;margin-top:5px}.game-roster .match-title,#game-roster .match-title{display:block;max-width:100%;width:fit-content;font-size:8px;padding:3px 5px;margin:4px 0;line-height:1.4;white-space:normal;overflow-wrap:anywhere}.game-roster li>div,#game-roster li>div{min-width:0}

/* Quatro famílias competitivas: a categoria define a identidade, a colocação define a medalha. */
.podium-metric-rating{--category:#ffd367;--category-ink:#fff0bf;--category-glow:#dbaa342b;--category-deep:#47300e}
.podium-metric-kills{--category:#ff668d;--category-ink:#ffcede;--category-glow:#ff386529;--category-deep:#49152c}
.podium-metric-level{--category:#8aabff;--category-ink:#dbedff;--category-glow:#707bff30;--category-deep:#252555}
.podium-metric-blocksDestroyed{--category:#5ee5bd;--category-ink:#c3ffeb;--category-glow:#20cb9a28;--category-deep:#133e35}
.podium-title[class*="podium-metric-"]{background:linear-gradient(125deg,var(--category-deep),var(--category) 42%,var(--podium-light) 55%,var(--category) 70%,var(--category-deep))}
.podium-title[class*="podium-metric-"]>.cut-inner{background:radial-gradient(ellipse at 0 0,var(--category-glow),transparent 80%),linear-gradient(140deg,#241b32,#12101f);padding:20px 16px}
.podium-title.podium-metric-kills>.cut-inner{background:repeating-linear-gradient(135deg,transparent 0 24px,#ff668d06 24px 26px),radial-gradient(ellipse at 0 0,var(--category-glow),transparent 80%),#17101f}
.podium-title.podium-metric-level>.cut-inner{background:radial-gradient(circle at 82% 15%,#a9c3ff20 0 1px,transparent 2px),radial-gradient(ellipse at 10% 0,var(--category-glow),transparent 80%),#141326}
.podium-title.podium-metric-blocksDestroyed>.cut-inner{background:linear-gradient(#52dcb508 1px,transparent 1px),linear-gradient(90deg,#52dcb508 1px,transparent 1px),radial-gradient(ellipse at 0 0,var(--category-glow),transparent 80%),#111e22;background-size:22px 22px,22px 22px,100% 100%,100% 100%}
.podium-title[class*="podium-metric-"] h3{color:var(--category-ink);font-size:18px}.podium-title[class*="podium-metric-"] .podium-title-badge{color:var(--category);font-size:9px;letter-spacing:.6px}
.podium-crest{display:flex;align-items:center;justify-content:space-between;width:100%;gap:12px;margin-bottom:4px}.podium-category-emblem{display:grid;place-items:center;width:48px;height:48px;border:1px solid var(--category);color:var(--category-ink);background:linear-gradient(145deg,var(--category-deep),#181224);box-shadow:inset 0 0 14px var(--category-glow),0 0 14px var(--category-glow);border-radius:50%}.podium-category-emblem .icon{width:29px;height:29px}
.podium-metric-kills .podium-category-emblem{border-radius:8px;transform:rotate(-6deg)}.podium-metric-kills .podium-category-emblem .icon{transform:rotate(6deg)}
.podium-metric-level .podium-category-emblem{border-radius:10px 24px 10px 24px}.podium-metric-blocksDestroyed .podium-category-emblem{border-radius:5px;box-shadow:inset 0 -5px #0004,0 4px var(--category-deep)}
.podium-position{display:grid;place-items:center;color:var(--podium-light);border:1px solid var(--podium-metal);border-radius:9px;width:43px;height:43px;background:linear-gradient(135deg,var(--podium-dark),#211824);font-size:23px;text-shadow:0 0 10px var(--podium-glow);box-shadow:0 0 12px var(--podium-glow)}
.podium-title.podium-week .podium-category-emblem{outline:1px solid #c6a3ff55;outline-offset:4px}.podium-title.podium-week .podium-title-badge::before{content:'✦';color:#d5b2ff}
:is(#home-title,.match-title).podium-equipped[class*="podium-metric-"]{color:var(--category-ink);border-color:var(--category);background:linear-gradient(115deg,var(--category-deep),#21172f);box-shadow:0 0 12px var(--category-glow),inset 0 1px #fff3}
:is(#home-title,.match-title).podium-week[class*="podium-metric-"]{background:linear-gradient(115deg,var(--category-deep),#43234e);box-shadow:0 0 12px var(--category-glow),inset 0 0 0 1px #bf8aff35}
:is(#home-title,.match-title)>.icon{width:13px;height:13px;vertical-align:-2px;margin-right:5px;color:var(--category)}

.title-category-heading{grid-column:1/-1;font-size:12px;color:#cbb9e5;margin:12px 0 2px;letter-spacing:.5px}.title-list{grid-template-columns:repeat(2,minmax(0,1fr))}.title-card{min-width:0}.title-card h3{overflow-wrap:anywhere}@media(max-width:520px){.title-list .podium-title{grid-column:1/-1}.podium-title>.cut-inner{min-height:240px}}

/* Faixas de honraria: trilho metálico e placa central esmaltada. */
.podium-metric-rating{--ribbon-top:#a787ff;--ribbon-main:#6729e5;--ribbon-bottom:#39127e}
.podium-metric-kills{--ribbon-top:#ff9d7b;--ribbon-main:#ed502e;--ribbon-bottom:#8c201c}
.podium-metric-level{--ribbon-top:#79e4ff;--ribbon-main:#0095ef;--ribbon-bottom:#134590}
.podium-metric-blocksDestroyed{--ribbon-top:#ff8adf;--ribbon-main:#e02b9d;--ribbon-bottom:#741351}
.title-ribbon{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;min-width:0;min-height:112px;padding:47px 14px 15px;margin-top:9px;color:#fff6d5;border:1px solid #b47e3b;border-bottom:3px solid #9a6026;border-radius:2px;background:linear-gradient(180deg,var(--ribbon-bottom) 0,var(--ribbon-main) 75%,var(--ribbon-top) 130%);box-shadow:0 5px 9px #0007,inset 0 1px #fff3;overflow:visible;text-align:center}
.title-ribbon::before{content:'';position:absolute;left:0;right:0;top:0;height:10px;z-index:-1;background:linear-gradient(#fff0bf 0 18%,#b77e38 20% 40%,#f2d1a0 45% 70%,#8d5529 80% 100%);box-shadow:0 3px 0 #170d4c66}
.ribbon-plaque{position:absolute;top:-9px;left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;gap:10px;width:49%;max-width:190px;min-width:92px;height:49px;border:2px solid #ffe295;border-top-color:#fff8dc;border-bottom:4px solid #e9a526;border-radius:13px 13px 40% 40% / 11px 11px 10px 10px;background:linear-gradient(180deg,var(--ribbon-top),var(--ribbon-main) 35%,var(--ribbon-main) 60%,var(--ribbon-bottom));box-shadow:0 4px 0 #6c351b,0 7px 8px #0009,inset 0 2px 2px #fff8,inset 0 -3px 4px #ffffff25;color:#fff0b9;text-shadow:0 2px 2px #241032}
.ribbon-plaque .icon{width:25px;height:25px}.ribbon-plaque b{font-size:25px;line-height:1}.ribbon-name{font-size:17px;line-height:1.25;letter-spacing:.2px;font-weight:950;text-shadow:0 2px 2px #1d0a3c,0 0 9px #fff2}.ribbon-period{font-size:9px;letter-spacing:1px;color:#f4d9ff;margin-top:7px;text-transform:uppercase;font-weight:800}
.podium-place-2 .ribbon-plaque{border-color:#e3f0ff;border-bottom-color:#94b9df;box-shadow:0 4px 0 #526280,0 7px 8px #0009,inset 0 2px 2px #fff8;color:#f0f8ff}.podium-place-3 .ribbon-plaque{border-color:#f9d2a5;border-bottom-color:#d38d57;box-shadow:0 4px 0 #743e2a,0 7px 8px #0009,inset 0 2px 2px #fff8;color:#ffe0be}
.podium-week .title-ribbon{box-shadow:0 5px 9px #0007,0 0 14px #b682ff33,inset 0 1px #fff3}.ribbon-plaque::after{content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(110deg,transparent 38%,#ffffff80 50%,transparent 62%);background-size:260% 100%;animation:ribbon-polish 7s ease-in-out infinite;opacity:.45}
@keyframes ribbon-polish{0%,40%{background-position:160% 0;opacity:0}48%{opacity:.45}75%{background-position:-60% 0;opacity:.45}85%,100%{background-position:-60% 0;opacity:0}}
:is(#home-title,.match-title).podium-equipped[class*="podium-metric-"]{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;text-shadow:none;overflow:visible;white-space:normal;vertical-align:middle;max-width:100%}
:is(#home-title,.match-title).podium-equipped::before{display:none}.title-ribbon.compact{min-height:34px;padding:10px 7px 5px;margin-top:9px;box-shadow:0 3px 5px #0005;border-bottom-width:2px}.compact::before{height:5px}.compact .ribbon-plaque{top:-9px;min-width:40px;width:40px;height:19px;gap:3px;border-width:1px;border-bottom-width:2px;border-radius:6px 6px 35% 35%;box-shadow:0 2px 0 #6c351b,0 3px 4px #0006}.compact .ribbon-plaque .icon{width:10px;height:10px}.compact .ribbon-plaque b{font-size:10px}.compact .ribbon-name{font-size:9px;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
#home-title .title-ribbon{max-width:205px}.game-roster .compact .ribbon-name,#game-roster .compact .ribbon-name{white-space:normal;overflow-wrap:anywhere;font-size:8px}.podium-title .title-ribbon{flex-shrink:0}.reduce-motion .ribbon-plaque::after{animation:none;display:none}@media(prefers-reduced-motion:reduce){.ribbon-plaque::after{animation:none;display:none}}

/* Honrarias heráldicas: escudo facetado, louros e arabescos em metal. */
.title-ribbon:not(.compact){border:0;border-radius:0;min-height:260px;background:radial-gradient(ellipse at 50% 43%,var(--category-glow),transparent 62%);box-shadow:none;padding:0 4px 13px;margin-top:0;gap:0;overflow:visible}
.title-ribbon:not(.compact)::before{display:none}.ribbon-crest{display:block;width:min(100%,320px);margin:auto auto -8px;filter:drop-shadow(0 6px 5px #0009) drop-shadow(0 0 12px var(--category-glow))}.ribbon-crest svg{display:block;width:100%;height:auto;overflow:visible}
.title-ribbon:not(.compact) .ribbon-name{position:relative;isolation:isolate;display:block;width:100%;padding:13px 13px 15px;color:var(--podium-light);border:1px solid var(--podium-metal);border-top:3px double var(--podium-light);border-bottom:3px double var(--podium-metal);border-radius:4px 4px 24% 24% / 4px 4px 9px 9px;background:linear-gradient(180deg,#fff2,transparent 30%),linear-gradient(115deg,var(--category-deep),#181120 50%,var(--category-deep));box-shadow:0 5px 0 #080710,0 7px 12px #0008,inset 0 1px #fff3;text-shadow:0 2px 2px #000,0 0 12px var(--podium-glow);font-family:Georgia,'Times New Roman',serif;font-size:20px;font-weight:700;letter-spacing:.3px}
.title-ribbon:not(.compact) .ribbon-name::before,.title-ribbon:not(.compact) .ribbon-name::after{content:'◆';position:absolute;top:50%;transform:translateY(-50%);font-size:7px;color:var(--podium-metal)}.title-ribbon:not(.compact) .ribbon-name::before{left:5px}.title-ribbon:not(.compact) .ribbon-name::after{right:5px}
.title-ribbon:not(.compact) .ribbon-period{display:inline-block;margin-top:16px;padding:0 14px;color:var(--category-ink);letter-spacing:1.6px;font-size:9px;line-height:1.7}
.crest-sparks{animation:crest-lustre 4s ease-in-out infinite;transform-origin:50% 50%}.podium-place-2 .crest-sparks{animation-delay:1s}.podium-place-3 .crest-sparks{animation-delay:2s}@keyframes crest-lustre{0%,100%{opacity:.35}45%{opacity:1;filter:drop-shadow(0 0 3px #fff8)}}
.podium-title .ribbon-crest{max-width:275px}.title-ribbon.compact{background:linear-gradient(180deg,#ffffff13,transparent 35%),linear-gradient(110deg,var(--category-deep),#1c1229 50%,var(--category-deep));border-color:var(--podium-metal);border-top:2px double var(--podium-light);border-radius:3px 3px 18% 18% / 3px 3px 6px 6px;box-shadow:0 3px 5px #0007,inset 0 0 8px var(--podium-glow)}.title-ribbon.compact::before{background:linear-gradient(90deg,var(--podium-dark),var(--podium-light),var(--podium-metal),var(--podium-light),var(--podium-dark));height:2px}.compact .ribbon-plaque{background:linear-gradient(160deg,var(--ribbon-top),var(--category-deep));color:var(--podium-light);border-color:var(--podium-metal);box-shadow:0 2px 0 var(--podium-dark),0 3px 6px #0008}.compact .ribbon-name{color:var(--podium-light);font-family:Georgia,serif;font-size:10px;letter-spacing:.2px}
.reduce-motion .crest-sparks{animation:none!important}@media(prefers-reduced-motion:reduce){.crest-sparks{animation:none!important}}

/* Escala compacta: preservar o brasão sem dominar o perfil ou as conquistas. */
.title-ribbon.compact{flex-direction:row;align-items:center;justify-content:center;gap:5px;min-height:24px;max-width:100%;margin-top:0;padding:2px 6px;border-top-width:1px;border-bottom-width:1px;border-radius:4px;box-shadow:0 2px 3px #0004}
.compact .ribbon-plaque{position:relative;top:auto;left:auto;transform:none;flex-shrink:0;width:27px;min-width:27px;height:17px;gap:2px;border-width:1px;border-radius:3px;box-shadow:0 1px 2px #0006}.compact .ribbon-plaque .icon{width:9px;height:9px}.compact .ribbon-plaque b{font-size:9px}.compact .ribbon-name{min-width:0;font-size:9px;line-height:1.25;letter-spacing:0}
#home-title.podium-equipped{flex:0 1 auto;min-width:0;max-width:170px}#home-title .title-ribbon{max-width:170px}.queue-player .match-title{margin-top:3px;font-size:8px}.queue-player .title-ribbon.compact{min-height:22px}.game-roster .title-ribbon.compact,#game-roster .title-ribbon.compact{min-height:21px;padding:2px 4px;gap:3px}
.podium-title[class*="podium-metric-"]>.cut-inner{padding:12px 10px;min-height:0;gap:8px}.podium-title .title-ribbon:not(.compact){min-height:0;padding:0 0 4px;margin:0}.podium-title .ribbon-crest{max-width:148px;margin:0 auto -4px;filter:drop-shadow(0 3px 3px #0007)}
.podium-title .title-ribbon:not(.compact) .ribbon-name{font-size:13px;line-height:1.3;letter-spacing:0;padding:7px 10px 8px;border-top-width:1px;border-bottom-width:2px;box-shadow:0 2px 0 #080710,0 4px 6px #0005;min-height:33px;display:flex;align-items:center;justify-content:center}.podium-title .title-ribbon:not(.compact) .ribbon-period{margin-top:9px;padding:0 2px;font-size:8px;letter-spacing:.6px;line-height:1.4}.podium-title.title-card p{font-size:10px;line-height:1.5}.podium-title .title-equip{padding:8px 12px;font-size:10px;min-height:40px}
@media(max-width:520px){.title-list .podium-title{grid-column:auto}.podium-title[class*="podium-metric-"]>.cut-inner{min-height:0}.podium-title .ribbon-crest{max-width:132px}.podium-title .title-ribbon:not(.compact) .ribbon-name{font-size:12px}.podium-title .title-ribbon:not(.compact) .ribbon-period{font-size:7px;letter-spacing:.2px}}
@media(max-width:350px){#home-title.podium-equipped{max-width:120px}.compact .ribbon-name{font-size:8px}.compact .ribbon-plaque{width:22px;min-width:22px}.podium-title[class*="podium-metric-"]>.cut-inner{padding:10px 7px}.podium-title .ribbon-crest{max-width:115px}}

.title-popover-trigger{cursor:help;text-align:inherit;font-family:inherit;touch-action:manipulation}.title-popover-trigger:focus-visible{outline:2px solid #ffe1a0;outline-offset:4px}.title-popover{position:fixed;z-index:3000;width:min(320px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:20px;border:1px solid #b999dd;border-radius:13px;background:linear-gradient(145deg,#342047,#181322);color:#f6efff;box-shadow:0 14px 40px #000b}.title-popover-label{font-size:9px;letter-spacing:1.6px;color:#d8b581;font-weight:800}.title-popover h2{padding-right:22px;margin:10px 0;font-size:17px;line-height:1.4;letter-spacing:0;color:#fff0cb;overflow-wrap:anywhere}.title-popover-category{font-size:11px;font-weight:800;color:#cfb5f2;line-height:1.6;margin-bottom:12px}.title-popover-description{font-size:13px;color:#e0d3ee;line-height:1.7}.title-popover-hint{font-size:11px;line-height:1.6;color:#a99abd;border-top:1px solid #ffffff15;padding-top:12px;margin-top:12px}.title-popover-close{position:absolute;top:5px;right:5px;width:36px;height:36px;border-radius:7px;font-size:23px;background:transparent;color:#e1cff4}.title-popover-close:hover{background:#ffffff12}

/* Patentes: metal e símbolo próprios sem ampliar o cabeçalho. */
.rank-pill{background:linear-gradient(120deg,#3d281b,#241b27);border:1px solid #bd8b55;color:#ffe0b6;box-shadow:inset 0 1px #fff2,0 2px 4px #0003;padding:4px 9px 4px 5px;gap:5px;line-height:1.2}.rank-prata{background:linear-gradient(120deg,#303e58,#1d2035);border-color:#b8cdeb;color:#edf4ff}.rank-ouro{background:linear-gradient(120deg,#513715,#2b2030);border-color:#edc259;color:#fff0b5}.rank-diamante{background:linear-gradient(120deg,#173e5d,#30254e);border-color:#78ddf7;color:#ccfaff;box-shadow:inset 0 1px #fff3,0 0 7px #5fcbeb20}.rank-pill .rank-emblem{width:22px;height:25px;margin:-6px 0;flex-shrink:0}.rank-emblem svg{display:block;overflow:visible}.entry-heading .rank-pill .rank-emblem{width:17px;height:20px}.evolution-art .rank-pill .rank-emblem{width:75px;height:85px;margin:0}.evolution-art .previous-rank .rank-emblem{width:45px;height:54px}.queue-player .rank-pill .rank-emblem{width:20px;height:24px}#install-hint{padding:14px;border:1px solid #65507e;border-radius:10px;background:#21172f;line-height:1.7}

/* Rank segue a linguagem angular do título, sem cápsula arredondada. */
.rank-pill{border-radius:3px;clip-path:polygon(5px 0,100% 0,100% calc(100% - 5px),calc(100% - 5px) 100%,0 100%,0 5px)}

/* Perfil: hierarquia e trilho de XP inspirados na referência do usuário. */
.profile-head{display:block;position:relative}.profile-head .profile-card{width:100%;background:linear-gradient(130deg,#7250ac,#322350)}.profile-head .profile-card>.cut-inner{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:stretch;gap:15px;padding:18px 16px;background:radial-gradient(ellipse at 20% 0,#5c31834d,transparent 65%),linear-gradient(125deg,#241938,#131126);overflow:hidden}
.profile-head .profile-card>.cut-inner::before{content:'';position:absolute;z-index:-1;pointer-events:none;inset:0;background:linear-gradient(132deg,transparent 54%,#7941cf13 54% 57%,transparent 57% 60%,#7941cf13 60% 63%,transparent 63%)}
.home-profile-top{display:flex;align-items:center;gap:14px;min-width:0;padding-right:30px}.profile-head .home-avatar{width:52px;height:58px}.profile-head .home-avatar .robot{transform:scale(1)}.profile-head .home-avatar .level-badge{width:23px;height:27px;min-width:23px;font-size:12px;right:-4px;bottom:-2px}.profile-head .profile-info{flex:1;min-width:0}.profile-head #player-name{font-size:clamp(23px,6vw,31px);line-height:1.15;letter-spacing:-.6px;margin-bottom:8px}.profile-head .level-line{font-size:10px;gap:7px}.profile-head .level-line strong{font-size:14px;color:#ffdc32;letter-spacing:.4px}.profile-head .level-line>[data-profile="xp-label"]{color:#c9b9e4;font-size:10px}
.home-xp-track{position:relative;min-height:19px;display:flex;align-items:center;padding-right:13px}.home-xp-track .progress{width:100%;height:13px;margin:0;border:1px solid #8254c4;background:#100b23;box-shadow:0 0 7px #7e43d427,inset 0 1px 3px #0009;padding:2px;overflow:hidden}.home-xp-track .progress>i{height:100%;min-width:0;border-radius:10px;background:linear-gradient(180deg,#ffdbff,#e082ff 40%,#af37ee);box-shadow:0 0 8px #e87bff88;position:relative}.xp-percent{position:absolute;right:0;top:50%;transform:translateY(-50%);border:1px solid #a879f6;border-radius:12px;background:linear-gradient(#4e2778,#23113d);color:#f2e4ff;padding:2px 6px;font-size:10px;font-weight:900;line-height:1.25;box-shadow:0 0 6px #a674ff44;min-width:32px;text-align:center}
.profile-head .profile-rank-line{gap:8px;min-height:29px;flex-wrap:nowrap}.home-rank-label{font-size:11px;color:#bfa8db}.rank-title-divider{display:block;width:1px;height:26px;background:linear-gradient(transparent,#9a78c5,transparent);flex-shrink:0;margin:0 2px}.profile-head .rank-pill{font-size:11px;min-height:25px;padding:4px 9px 4px 5px}.profile-head .rank-pill .rank-emblem{width:24px;height:27px}.profile-head #home-title{max-width:none;flex:1;min-width:0}.profile-head #home-title .title-ribbon.compact{max-width:none;min-height:27px;padding:3px 7px;gap:6px;border:1px solid #d2a354;border-radius:7px;background:linear-gradient(110deg,#53390f,#241325 60%,#4e1739);box-shadow:inset 0 1px #ffeabf44,0 0 9px #ff9a3822}.profile-head #home-title .compact .ribbon-plaque{width:29px;min-width:29px;height:19px;border:0;background:transparent;box-shadow:none}.profile-head #home-title .compact .ribbon-name{font:800 10px 'Trebuchet MS',system-ui,sans-serif;color:#ffefb8}.profile-head #home-title.podium-week .title-ribbon.compact{border-color:#f6be5b;box-shadow:inset 0 1px #ffeabf44,0 0 9px #ff9a3833}
.profile-head .settings-button{position:absolute;right:11px;top:12px;width:32px;height:32px;min-height:0;padding:1px;background:#6d4b9055}.profile-head .settings-button .cut-inner{padding:6px;gap:0;background:#281c3c}.profile-head .settings-button .icon{width:18px;height:18px}.profile-head .settings-button .cut-inner>span:last-child{display:none}
@media(max-width:350px){.profile-head .profile-card>.cut-inner{padding:14px 11px;gap:12px}.home-profile-top{gap:9px;padding-right:22px}.profile-head .home-avatar{width:42px;height:52px}.profile-head #player-name{font-size:24px}.profile-head .level-line{flex-wrap:wrap;gap:3px}.profile-head .profile-rank-line{gap:5px}.profile-head .rank-pill{font-size:10px;padding-right:6px}.home-rank-label{font-size:10px}.rank-title-divider{margin:0}.profile-head #home-title .compact .ribbon-name{font-size:9px}.profile-head #home-title .title-ribbon.compact{gap:3px;padding:3px 5px}.profile-head #home-title .compact .ribbon-plaque{width:24px;min-width:24px}}
