/* EDGE uses the existing account palette; rewards never replace user colors. */
.edge-profile{display:block!important;max-width:1500px;margin:auto}.edge-profile>[hidden],.edge-profile [hidden]{display:none!important}.edge-profile .profile-heading{display:flex;gap:16px;align-items:center;margin-bottom:20px}.edge-profile .profile-heading h2{margin:0}.edge-identity{display:flex;gap:18px;align-items:center;flex-wrap:wrap}.edge-identity .auth-avatar{border:3px solid var(--edge-metal,#9b7653);box-shadow:0 0 0 3px var(--bd);flex-shrink:0}.edge-identity>div:nth-child(2){min-width:160px}.edge-identity .edge-identity-xp{flex:1;min-width:200px;max-width:400px;margin-inline-start:auto}.edge-rank-label{display:block;font-size:12px;color:var(--mu);margin-top:7px}.edge-tabs{display:flex;gap:6px;flex-wrap:wrap;padding:5px;border:1px solid var(--bd);border-radius:13px;background:var(--neutral-panel,var(--cs));margin:20px 0}.edge-tabs button{flex:1;min-height:42px;background:transparent!important;border-color:transparent!important}.edge-tabs button[aria-pressed=true]{border-color:var(--tx)!important;background:var(--neutral-active,var(--cd))!important;font-weight:600}.edge-card{background:var(--neutral-panel,var(--cs));border:1px solid var(--bd);border-radius:16px;padding:22px;margin-bottom:16px;min-width:0}.edge-card h3{margin:0 0 8px;color:var(--tx)}.edge-card p{line-height:1.65}.edge-muted{color:var(--mu);font-size:12px;line-height:1.65;margin:6px 0 14px}.edge-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.edge-progress{width:100%;height:8px;border-radius:8px;overflow:hidden;background:var(--bd);margin:10px 0}.edge-progress>i{display:block;height:100%;background:var(--g,#168259);border-radius:inherit}.edge-xp-numbers{font-size:12px;display:flex;justify-content:space-between;gap:10px}.edge-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr);gap:16px}.edge-skills{display:grid;gap:20px;margin-top:22px}.edge-skill{display:grid;grid-template-columns:30px minmax(110px,1fr) minmax(70px,1.5fr) auto;align-items:center;gap:12px;font-size:12px}.edge-skill svg{width:24px;height:24px}.edge-skill .edge-progress{margin:0}.edge-map{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:30px 0 8px}.edge-node{text-align:center;position:relative;min-width:0}.edge-node:before{content:'';height:2px;background:var(--bd);position:absolute;top:42px;inset-inline:0;z-index:0}.edge-node button{position:relative;background:var(--neutral-panel,var(--cs))!important;padding:0!important;border:0!important;border-radius:50%;margin:0 auto 10px}.edge-node strong{display:block;font-size:12px}.edge-node small{display:block;color:var(--mu);font-size:11px;min-height:30px;margin-top:6px}.edge-medal{width:84px;height:84px;display:inline-block;vertical-align:middle;color:#bb8d5b;filter:drop-shadow(0 3px 3px #0002)}.edge-medal.plata{color:#a3aeb8}.edge-medal.oro{color:#b89b45}.edge-medal.platino{color:#81a99e}.edge-medal.locked{color:var(--mu);opacity:.55;filter:none}.edge-medal svg{width:100%;height:100%;overflow:visible}.edge-medal.sm{width:40px;height:40px}.edge-medal.lg{width:108px;height:108px}.edge-vitrine{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:18px}.edge-vitrine button{padding:14px 7px;background:transparent!important;text-align:center;min-width:0}.edge-vitrine strong,.edge-vitrine small{display:block;margin-top:8px;font-size:11px;overflow-wrap:anywhere}.edge-vitrine small{color:var(--mu)}.edge-catalog{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.edge-catalog .edge-card{margin:0;text-align:center}.edge-catalog .edge-medal{width:70px;height:70px}.edge-grades{display:flex;gap:4px;justify-content:center;margin:12px 0}.edge-grades button{padding:5px!important;min-width:0}.edge-grades .edge-medal{width:45px;height:45px}.edge-grades button[aria-pressed=true]{outline:2px solid var(--tx);outline-offset:1px}.edge-profile .edge-account-content{display:block}.edge-profile .edge-account-content>.box{margin-bottom:16px}.edge-access{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.edge-access button{min-height:48px}.edge-settings{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(250px,1fr);gap:18px}.edge-settings .box{margin:0 0 16px}.edge-settings .settings-box{width:100%;max-width:none}.edge-settings .palette-save-form{flex-wrap:wrap}.edge-settings .palette-save-form label{min-width:0;flex:1}.edge-settings .theme-options{grid-template-columns:1fr 1fr}.edge-frames{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.edge-frame{width:44px;height:44px;border:3px solid var(--edge-metal)!important;border-radius:50%!important;padding:0!important}.edge-frame[aria-pressed=true]{outline:2px solid var(--tx);outline-offset:3px}.edge-toggle{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 0;border-top:1px solid var(--bd)}.edge-toggle input{width:18px;height:18px;flex-shrink:0}.edge-header{display:flex;align-items:center;gap:8px;font-size:11px;padding:5px 9px!important;white-space:nowrap}.edge-header .edge-progress{width:45px;height:4px;margin:0}.edge-strip{display:flex;gap:16px;align-items:center;border:1px solid var(--bd);background:var(--neutral-panel,var(--cs));border-radius:12px;padding:14px 18px;margin:0 0 18px}.edge-strip>div{flex:1;min-width:0}.edge-strip strong{font-size:13px}.edge-strip p{margin:3px 0;font-size:12px;color:var(--mu)}.edge-strip button{white-space:nowrap}.edge-notice{position:fixed;bottom:24px;inset-inline-end:24px;z-index:1001;width:min(420px,calc(100vw - 32px));background:var(--neutral-panel,var(--cs));color:var(--tx);border:1px solid var(--bd);border-inline-start:3px solid var(--g,#168259);box-shadow:0 10px 40px #0002;border-radius:13px;padding:16px;display:flex;gap:12px;align-items:center}.edge-notice strong{display:block;font-size:13px}.edge-notice p{font-size:12px;color:var(--mu);margin:5px 0}.edge-notice button{padding:5px 8px}.edge-notice .edge-notice-copy{flex:1}.edge-dialog{width:min(620px,calc(100vw - 24px));max-height:90dvh;overflow:auto;border:1px solid var(--bd);border-radius:18px;background:var(--neutral-panel,var(--cs));color:var(--tx);padding:24px}.edge-dialog::backdrop{background:#0007}.edge-dialog label{display:block;margin:16px 0;font-size:13px}.edge-dialog :is(textarea,select){display:block;width:100%;margin-top:8px}.edge-dialog textarea{min-height:90px;resize:vertical}.edge-dialog input[type=checkbox]{margin-inline-end:10px}.edge-dialog .edge-milestone{text-align:center;padding:15px}.edge-dialog h2{font-size:21px}.edge-dialog .edge-error{color:var(--r,#b63343);min-height:20px}.edge-history{list-style:none;margin:0;padding:0}.edge-history li{padding:12px 0;border-bottom:1px solid var(--bd);display:flex;justify-content:space-between;gap:14px;font-size:12px}.edge-history small{display:block;color:var(--mu);margin-top:5px}.edge-radar{width:220px;height:220px;max-width:100%;display:block;margin:auto;color:var(--g,#168259)}.edge-rules li{margin:10px 0;line-height:1.6}.edge-profile .edge-legacy-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px}.edge-profile .edge-legacy-stats .st{min-width:0}.edge-heatmap{display:flex;flex-wrap:wrap;gap:5px;margin-top:12px}.edge-heatmap i{height:12px;width:12px;border-radius:3px;background:var(--bd)}.edge-heatmap i.on{background:var(--g,#168259)}.edge-dialog button:focus-visible,.edge-profile button:focus-visible,.edge-header:focus-visible{outline:2px solid var(--tx);outline-offset:3px}.edge-dialog .edge-user-text{white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:1000px){.edge-grid,.edge-settings{grid-template-columns:1fr}.edge-catalog{grid-template-columns:repeat(2,minmax(0,1fr))}.edge-identity .edge-identity-xp{max-width:none}.edge-skill{grid-template-columns:25px minmax(100px,1fr) minmax(60px,1fr) auto}}
@media(max-width:600px){.edge-card{padding:16px}.edge-map{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:20px}.edge-medal{width:64px;height:64px}.edge-node:before{top:32px}.edge-vitrine,.edge-catalog{grid-template-columns:repeat(2,minmax(0,1fr))}.edge-access{grid-template-columns:1fr}.edge-skill{grid-template-columns:20px 1fr auto;gap:10px}.edge-skill .edge-progress{grid-column:2/4;grid-row:auto}.edge-skill small{grid-column:3;grid-row:auto}.edge-identity .sp{display:none}.edge-identity .edge-identity-xp{flex-basis:100%}.edge-identity button{flex:1}.edge-profile .edge-legacy-stats{grid-template-columns:1fr}.edge-strip{flex-wrap:wrap;padding:12px}.edge-strip button{width:100%}.edge-header .edge-progress{display:none}.edge-header{font-size:10px;padding:4px!important}.edge-dialog{padding:18px}.edge-profile .profile-heading{align-items:flex-start;flex-direction:column}.edge-settings .theme-options{grid-template-columns:1fr}.edge-tabs button{flex-basis:40%}.edge-vitrine strong{font-size:12px}}
.tb-redesign #authToolbar:has(#edgeHeader){display:flex!important;align-items:center;gap:10px;flex-shrink:0}.edge-profile .edge-identity{min-height:116px!important;padding:22px!important}.edge-profile .edge-identity .auth-avatar{width:64px!important;height:64px!important;font-size:24px!important}.edge-profile .edge-identity>.sp{display:none}.edge-skill>.edge-medal.sm{width:24px;height:24px}.edge-profile .edge-identity .info-button{display:none}
@media(max-width:600px){.edge-profile .edge-identity{padding:18px!important}.edge-skill>.edge-medal.sm{width:20px;height:20px}.tb-redesign #authToolbar:has(#edgeHeader){gap:6px}.edge-profile .edge-identity>div:nth-child(2){min-width:120px}}
@media(prefers-reduced-motion:reduce){.edge-profile *,.edge-notice *{animation:none!important;transition:none!important}}
