/* The diamond and power ribbon share one continuous silver silhouette. */
.profile-hud{width:360px;height:126px}
.profile-hud .profile-badge{width:400px;height:139px;display:block;transform:scale(.9);transform-origin:top left}
.profile-hud .pb-info{position:absolute;inset:0;margin:0;padding:0;display:block;pointer-events:none}
.profile-hud .pb-power{position:absolute;left:51px;right:0;top:30px;height:65px;min-height:0;padding:0 18px 0 74px;gap:8px;transform:none;border:0;border-radius:0;isolation:isolate;background:linear-gradient(125deg,#e6edf3,#7c8d9e 35%,#cbd6e2 70%,#607184);box-shadow:none;clip-path:polygon(0 0,100% 0,100% 100%,0 100%);pointer-events:auto}
.profile-hud .pb-power:before{content:'';position:absolute;inset:3px;height:auto;left:3px;right:3px;top:3px;z-index:-1;background:linear-gradient(100deg,#131c27f0,#171e29f2 70%,#0c141ee8);border:1px solid #d9e2eb40}
.profile-hud .pb-power:after{content:'';position:absolute;inset:6px;border:1px solid #9eafc11f;height:auto;background:none}
.profile-hud .pb-power>div,.profile-hud .pb-power>svg{transform:none}
.profile-hud .pb-power-mark{width:29px;height:32px;color:#e7edf4;filter:drop-shadow(0 1px 1px #0008);flex:none}
.profile-hud .pb-power-mark path{fill:revert}
.profile-hud .pb-power-mark path:first-child{fill:none}
.profile-hud .pb-power-mark path:last-child{fill:currentColor}
.profile-hud .pb-power span{color:#d8e1eb;font:700 12px Cinzel,Georgia}
.profile-hud .pb-power strong{color:#f1f3f7;font:900 26px Nunito,Arial;letter-spacing:0}
.profile-hud .pb-portrait{position:absolute;left:0;top:11px;width:108px;height:108px;background:none;border:0;border-radius:0;box-shadow:none;z-index:3}
.profile-hud .pb-portrait:before{content:'';position:absolute;inset:0;border:0;border-radius:0;background:linear-gradient(140deg,#f3f6f9,#718295 45%,#e3ebf3);clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%)}
.profile-hud .pb-portrait>img{position:absolute;inset:4px;width:100px;height:100px;border:0;border-radius:0;clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);object-position:50% 42%;background:#101a25}
.profile-hud .pb-level{left:90px;right:auto;top:-9px;min-width:31px;height:24px;border-radius:4px;border-color:#a5b3c2;background:linear-gradient(#2a3645,#16202e);font:800 13px Nunito;color:#f1f3f6;z-index:4}
.profile-hud .pb-name{left:0;top:110px;bottom:auto;transform:none;width:108px;min-width:0;max-width:108px;padding:3px 5px;font:700 11px Cinzel,Georgia;border:1px solid #91a2b5;border-radius:2px;color:#e4eaf1;background:linear-gradient(#273342ee,#121d2aee);box-shadow:0 2px 4px #0004}
.profile-hud .pb-character{position:absolute;left:128px;top:9px;padding:0;font:700 10px Cinzel,Georgia;letter-spacing:1.1px;color:#d4dce6}
.profile-hud .pb-wallet{position:absolute;left:110px;right:0;top:101px;height:30px;min-height:0;padding:3px 10px;gap:0;border:1px solid #8294a77f;border-radius:0;background:linear-gradient(100deg,#202c3ae3,#131d2be0);box-shadow:inset 0 1px #d7e2ef20;transform:none;pointer-events:auto;clip-path:none}
.profile-hud .pb-wallet:after{display:none}
.profile-hud .pb-currency{flex:1;min-width:0;display:flex;align-items:center;gap:6px;border:0;background:none}
.profile-hud .pb-paid-currency{padding-left:12px;border-left:1px solid #8193aa5c}
.profile-hud .pb-currency img{width:24px;height:24px;object-fit:contain}
.profile-hud .pb-currency strong{font:800 12px Nunito,Arial;color:#e7ebf1}
/* Circular atlas retains the original canvas and interaction math. */
.win[data-win=minimap]:not(.mm-full){background:transparent;border:0;box-shadow:none;backdrop-filter:none;min-width:210px;overflow:visible}
.win[data-win=minimap]:not(.mm-full)>.win-head{background:linear-gradient(90deg,#172331a6,#1723315c);border:1px solid #8c9caa66;border-radius:5px;color:#dce3eb;padding:5px 7px;min-height:29px}
.win[data-win=minimap]:not(.mm-full)>.win-body{padding:7px 9px 25px;overflow:visible;background:none}
.win[data-win=minimap]:not(.mm-full) #minimap-box{display:block;flex:none;min-height:0}
.win[data-win=minimap]:not(.mm-full) .minimap{width:100%;height:auto;aspect-ratio:1;min-height:0;flex:none;overflow:visible;border:0;border-radius:50%;background:#0e1822;box-shadow:0 5px 12px #0005}
.win[data-win=minimap]:not(.mm-full) .minimap canvas{border-radius:50%;clip-path:circle(45%);filter:saturate(.7) brightness(.9)}
.mm-orbit-frame{position:absolute;inset:-1px;pointer-events:none;z-index:1}.mm-orbit-frame svg{display:block;width:100%;height:100%;overflow:visible}
.mm-north{position:absolute;left:50%;top:8px;transform:translateX(-50%);color:#e9e6ce;text-shadow:0 1px 3px #000;font:800 10px Cinzel,Georgia;pointer-events:none;z-index:2}
.win[data-win=minimap]:not(.mm-full) .mm-ctl{right:-4px;top:28%;display:flex;gap:3px;padding:3px;border-radius:12px;background:#121d2bba;border:1px solid #a3b1c24d;transform:translateX(36%)}
.win[data-win=minimap] .mm-btn{width:21px;height:21px;border-radius:50%;border:1px solid #9faebc80;background:linear-gradient(#334152e8,#121d2be8);color:#e0e7ef;font:700 13px Nunito,Arial;box-shadow:inset 0 1px #e6edf525}
.win[data-win=minimap] .mm-btn:hover{border-color:#e6d390;color:#f4e5b3}.win[data-win=minimap] .mm-btn:focus-visible{outline:2px solid #ecda9c;outline-offset:2px}
.win[data-win=minimap]:not(.mm-full) .mm-full-btn{right:10px;bottom:4px;width:25px;height:25px}
.mm-location{position:absolute;left:50%;bottom:-18px;transform:translateX(-50%);padding:2px 12px;background:#152030c9;border:1px solid #91a0b35c;border-radius:3px;font:700 10px Nunito,Arial;color:#d6e0ed;white-space:nowrap;pointer-events:none}
.win[data-win=minimap] .minimap .pin{width:9px;height:9px;background:#f1dc91;border:2px solid #eef3f8;box-shadow:0 0 6px #000c;z-index:1}.win[data-win=minimap] .minimap .pin:after{animation:none;box-shadow:0 0 0 3px #f2d68340}
.win[data-win=minimap].mm-full .mm-orbit-frame,.win[data-win=minimap].mm-full .mm-north,.win[data-win=minimap].mm-full .mm-location{display:none}
.win[data-win=minimap].mm-full canvas{clip-path:none;border-radius:0}
@media(max-width:760px){.profile-hud{width:320px;height:112px}.profile-hud .profile-badge{transform:scale(.8)}.win[data-win=minimap]:not(.mm-full){min-width:180px;max-width:210px}}
@media(max-width:360px){.profile-hud{width:288px}.profile-hud .profile-badge{transform:scale(.72)}}
.profile-hud .pb-wallet>div{transform:none}

/* Reference finish: a soft bevel along the angled right edge. */
.profile-hud .pb-power{clip-path:polygon(0 0,100% 0,95% 100%,0 100%);border-radius:3px;padding-right:25px}
.profile-hud .pb-power:before{clip-path:polygon(0 0,100% 0,95% 100%,0 100%);border-radius:2px}
.profile-hud .pb-power:after{clip-path:polygon(0 0,100% 0,95% 100%,0 100%);border-radius:2px}
.profile-hud .pb-wallet{right:auto;width:268px;padding-right:16px;clip-path:polygon(0 0,100% 0,96% 100%,0 100%);border-radius:2px}
.profile-hud .pb-multicoins{flex:1 1 auto}
.profile-hud .pb-paid-currency{flex:0 0 42.5%;padding-left:10px;gap:5px}
.profile-hud .pb-diamond-more{display:grid;place-items:center;margin-left:auto;width:20px;height:20px;min-width:20px;padding:0;border:1px solid #a8b8ca66;border-radius:3px;background:#36445655;color:#ecf1f6;font:800 17px/1 Nunito,Arial;cursor:pointer;box-shadow:inset 0 1px #e3ecf51a}
.profile-hud .pb-diamond-more:hover{background:#56677d99;border-color:#d8e3ee}
.profile-hud .pb-diamond-more:focus-visible{outline:2px solid #eed790;outline-offset:2px}

/* Currency bevel shares the power ribbon's metal; content determines plus position. */
.profile-hud .pb-wallet{border:0;padding:3px 16px 3px 10px;background:linear-gradient(125deg,#e9f0f6,#8092a4 35%,#c8d5e1 70%,#607386);isolation:isolate;box-shadow:none}
.profile-hud .pb-wallet:before{content:'';position:absolute;inset:2px;z-index:-1;background:linear-gradient(100deg,#202c3af2,#111c2bea);clip-path:polygon(0 0,100% 0,96% 100%,0 100%);border-top:1px solid #e4edf12e}
.profile-hud .pb-paid-currency{flex:0 0 54%;padding-left:9px;gap:4px;white-space:nowrap}
.profile-hud .pb-currency strong{flex:none;font-variant-numeric:tabular-nums;white-space:nowrap}
.profile-hud .pb-paid-currency strong{margin:0}
.profile-hud .pb-diamond-more{flex:none;display:grid;place-items:center;margin:0 0 0 -2px;width:15px;min-width:15px;height:22px;border:0;border-radius:0;padding:0;background:none;box-shadow:none;color:#e9eff5;font:800 17px/1 Nunito,Arial}
.profile-hud .pb-diamond-more:hover{background:none;border:0;color:#fff3c3;box-shadow:none}

/* Identity belongs to the same plate as power, rather than floating above it. */
.profile-hud .pb-power{align-items:flex-end;padding-bottom:6px}
.profile-hud .pb-power>.pb-identity{position:absolute;top:6px;left:74px;right:25px;display:flex;align-items:center;justify-content:space-between;gap:12px;height:15px;min-width:0;pointer-events:auto}
.profile-hud .pb-identity:after{content:'';position:absolute;left:0;right:0;bottom:-4px;height:1px;background:linear-gradient(90deg,#becbd347,#becbd30d)}
.profile-hud .pb-player-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:700 11px/15px Cinzel,Georgia;letter-spacing:.4px;color:#e7edf4}
.profile-hud .pb-power .pb-identity-level{flex:none;white-space:nowrap;font:800 11px/15px Nunito,Arial;color:#b9c7d5}
.profile-hud .pb-power>div:not(.pb-identity){height:30px;align-items:center}
.profile-hud .pb-power-mark{margin-bottom:0;height:29px;width:27px}

/* Approved Placa dupla 01: name on the left, power and level on the right. */
.profile-hud .profile-badge.pb-double{width:424px;height:142px;transform:scale(.85)}
.profile-hud .pb-double .pb-portrait{left:2px;top:10px;width:110px;height:110px}
.profile-hud .pb-double .pb-portrait>img{width:102px;height:102px}
.profile-hud .pb-double .pb-power{left:47px;right:3px;top:24px;height:76px;display:block;padding:0;clip-path:polygon(0 0,100% 0,96% 100%,0 100%)}
.profile-hud .pb-double .pb-power:before{clip-path:polygon(0 0,100% 0,96% 100%,0 100%)}
.profile-hud .pb-double .pb-power:after{left:60%;right:auto;top:15px;bottom:14px;width:1px;height:auto;border:0;clip-path:none;background:linear-gradient(transparent,#afc1d330,transparent)}
.profile-hud .pb-double .pb-power>.pb-identity{inset:0;display:block;height:auto;pointer-events:auto}
.profile-hud .pb-double .pb-identity:after{display:none}
.profile-hud .pb-double .pb-player-name{position:absolute;left:79px;top:25px;width:137px;font:700 19px/25px Cinzel,Georgia;letter-spacing:0;color:#e7edf4}
.profile-hud .pb-double .pb-power .pb-identity-level{position:absolute;right:24px;top:53px;font:800 12.5px/18px Nunito,Arial;color:#c3cddd}
.profile-hud .pb-double .pb-power>.pb-power-copy{position:absolute;right:21px;top:13px;display:flex;align-items:center;justify-content:flex-end;gap:7px;height:28px;min-width:0}
.profile-hud .pb-double .pb-power-copy:after{content:'';position:absolute;left:0;right:0;bottom:-8px;height:1px;background:linear-gradient(90deg,#b1c4db66,#b1c4db15)}
.profile-hud .pb-double .pb-power-label{display:none}
.profile-hud .pb-double .pb-power strong{font:950 25px/1 Nunito,Arial;letter-spacing:-.4px;white-space:nowrap}
.profile-hud .pb-double .pb-power-sword{display:block;width:19px;height:24px;object-fit:contain;flex:none;transform:none}
.profile-hud .pb-double .pb-wallet{left:110px;top:106px;width:292px;height:29px}
@media(max-width:760px){.profile-hud .profile-badge.pb-double{transform:scale(.755)}}
@media(max-width:360px){.profile-hud .profile-badge.pb-double{transform:scale(.679)}}
