.avatar svg{width:100%;height:100%;display:block}.profile-consent{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.5;margin:18px 0 8px}.profile-consent input{width:19px;height:19px;min-height:19px;flex:0 0 19px;margin:2px 0}.raja-hub-head{margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}.rank-controls{display:flex;gap:8px;flex-wrap:wrap}.rank-controls select,.rank-controls input{min-width:100px;flex:1 1 120px;width:auto}.rank-row{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--line);font-size:13px}.rank-row>strong:first-child{min-width:27px;color:var(--muted)}.rank-avatar{display:block;flex:0 0 50px}.rank-avatar svg{display:block}.rank-name{flex:1;min-width:0;overflow-wrap:anywhere}.rank-name small,.rank-row>strong:last-child small{display:block;font-size:10px;color:var(--muted)}#raja-profile-hub h3{font-size:19px}.league-panel{overflow-y:auto}.profile-mini-card{display:flex;gap:12px;align-items:center}@media(max-width:380px){.rank-row{gap:6px;font-size:12px}.rank-avatar{flex-basis:40px}.rank-avatar svg{width:40px;height:40px}}

.profile-featured{display:flex!important;align-items:center;gap:5px;margin-top:3px;font-size:11px;color:var(--muted)}.profile-featured img{width:22px;height:22px;object-fit:contain;flex:none}

/* Portrait studio: fixed-size cards stay still while a player tries options. */
.profile-studio{display:flex;align-items:center;justify-content:center;gap:20px;padding:16px 8px 20px;margin:4px 0 18px;background:radial-gradient(ellipse at 30% 35%,#258de324,transparent 70%);border-bottom:1px solid var(--line)}
.profile-preview{flex:0 0 172px;line-height:0;filter:drop-shadow(0 9px 14px #0004)}.profile-preview svg{display:block;width:100%;height:auto}
.profile-studio-copy{max-width:180px}.profile-eyebrow{font-size:9px;font-weight:800;letter-spacing:1.7px;color:var(--muted)}.profile-studio-copy strong{display:block;font-size:26px;margin:9px 0}.profile-studio-copy p{font-size:12px;line-height:1.6;color:var(--muted);margin:0}
.avatar-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-bottom:17px;padding:5px;border:1px solid var(--line);border-radius:17px;background:#09182729}
.avatar-tabs button{padding:11px 3px;min-height:44px;width:auto;margin:0;border:0;border-radius:12px;font-size:12px;background:transparent;color:var(--muted)}
.avatar-tabs button[aria-selected="true"]{background:#438ed52e;color:var(--ink);box-shadow:inset 0 0 0 1px #82c5ff66}
.avatar-choice-group{margin:0 0 18px}.avatar-choice-group h4{font-size:13px;margin:0 0 10px}.avatar-choice-group h4>span{font-size:11px;font-weight:400;color:var(--muted);margin-left:8px}
.avatar-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.avatar-choice-grid:has([data-pick="style"]),.avatar-choice-grid:has([data-pick="face"]){grid-template-columns:repeat(2,minmax(0,1fr))}
.avatar-choice{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:7px;width:100%;min-width:0;margin:0;padding:11px 5px 10px;background:#ffffff06;border:1px solid var(--line);border-radius:17px;color:var(--muted);font-size:11px;line-height:1.35;transition:background .15s,border-color .15s}
.avatar-choice-image{display:block;width:84px;max-width:100%;aspect-ratio:1;pointer-events:none}.avatar-choice-image svg{width:100%;height:auto;display:block}.avatar-choice>span:last-of-type{min-height:15px}
.avatar-choice[aria-pressed="true"]{border-color:#75bbff;background:#4695e322;color:var(--ink);box-shadow:inset 0 0 0 1px #75bbff55}
.avatar-selected-mark{position:absolute;top:6px;right:6px;display:none;place-items:center;width:19px;height:19px;border-radius:50%;background:#9dd1ff;color:#102940;font-size:12px}.avatar-choice[aria-pressed="true"] .avatar-selected-mark{display:grid}
.avatar-swatches{display:flex;gap:9px;flex-wrap:wrap}.avatar-swatch{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;min-height:42px;margin:0;padding:0;background:var(--swatch);border:3px solid transparent;border-radius:50%;box-shadow:inset 0 0 0 1px #ffffff38,0 0 0 1px var(--line)}
.avatar-swatch span{opacity:0;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;font-size:14px;font-weight:800;color:white;background:#071321a8}.avatar-swatch[aria-pressed="true"]{border-color:#a6d7ff;box-shadow:0 0 0 2px #3785d0}.avatar-swatch[aria-pressed="true"] span{opacity:1}
#avatar-picker{margin-bottom:22px}#avatar-picker [hidden]{display:none!important}#avatar-picker button:focus-visible{outline:3px solid #8bcaff;outline-offset:3px}
@media(hover:hover){.avatar-choice:hover{background:#6ca7d51a;border-color:#8fc9ff88}.avatar-tabs button:hover{color:var(--ink)}}
@media(max-width:430px){.profile-studio{gap:12px;padding:8px 0 16px}.profile-preview{flex-basis:134px}.profile-studio-copy strong{font-size:22px}.profile-studio-copy p{font-size:11px}.profile-eyebrow{font-size:8px;letter-spacing:1px}.avatar-tabs button{font-size:10px}.avatar-choice{padding:9px 4px;font-size:10px;border-radius:13px}.avatar-choice-grid{gap:6px}.avatar-choice-image{width:75px}.avatar-swatch{flex-basis:40px;width:40px;height:40px}}

.profile-news ol{text-align:left;max-width:350px;margin:16px auto;padding-left:24px;line-height:1.6}.profile-news li+li{margin-top:6px}.profile-news .primary,.profile-news .secondary{display:block;width:100%;margin-top:10px}
