.info-dialog:has(#profile-hub){max-width:1100px;width:calc(100% - 32px)}.profile-hub{font-size:17px;line-height:1.55}.profile-hub h3{font-size:24px;margin:26px 0 14px}.profile-owned-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.profile-owned-list article{display:flex;flex-wrap:wrap;align-items:center;gap:10px;background:var(--panel2,#222e4a);border:1px solid var(--line,#ffffff22);border-radius:15px;padding:15px}.profile-owned-list article>span:last-child{width:100%;font-size:15px;color:var(--muted,#aeb8cc)}.profile-hub-portrait{display:inline-flex;align-items:center;gap:6px;font-size:35px}.profile-hub-portrait img{width:56px;height:56px;object-fit:cover;border-radius:12px}.profile-create-form,.profile-find-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:end;margin:22px 0}.profile-hub label,.setup-profile-select{display:grid;gap:7px;font-size:15px;color:var(--muted,#aeb8cc)}.profile-create-form button,.profile-find-form button{min-height:48px}.profile-status{color:var(--mint,#91dac4);min-height:28px;margin:18px 0}.profile-compare-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.profile-compare-note{font-size:15px!important;color:var(--muted,#aeb8cc);margin:18px 0}.profile-comparison-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.profile-comparison-card{padding:23px;background:var(--panel2,#222e4a);border:1px solid var(--line,#ffffff22);border-radius:18px}.profile-comparison-card h3{font-size:23px;margin:10px 0 17px;overflow-wrap:anywhere}.profile-accuracy{display:flex;align-items:center;justify-content:space-between;gap:10px}.profile-accuracy strong{font-size:28px;color:var(--mint,#91dac4)}.profile-accuracy>span{font-size:15px}.profile-accuracy-track,.profile-progress-track{height:9px;border-radius:10px;background:#ffffff18;overflow:hidden;margin:10px 0 18px}.profile-accuracy-track>span,.profile-progress-track>span{display:block;height:100%;background:var(--mint,#91dac4);border-radius:10px}.profile-progress-track>span{background:var(--gold,#f9cb70)}.profile-point-split{font-size:16px;margin:0 0 20px}.profile-point-split>div{display:flex;justify-content:space-between;gap:10px;padding:7px 0}.profile-point-split dd{margin:0;font-weight:700}.profile-achievement{padding-top:17px;border-top:1px solid var(--line,#ffffff22)}.profile-achievement>strong{display:block;color:var(--gold,#f9cb70);font-size:21px;margin-bottom:7px}.profile-achievement>span{display:block;font-size:15px;line-height:1.6}.profile-achievement p{font-size:15px!important;margin-bottom:10px}.profile-low-bank{padding:12px;background:#f9cb7010;border:1px solid #f9cb7030;border-radius:10px;color:var(--gold,#f9cb70)}.profile-earned{color:var(--mint,#91dac4)}.profile-hub-actions{display:flex;flex-wrap:wrap;gap:10px}.profile-empty{font-size:17px!important;color:var(--muted,#aeb8cc);grid-column:1/-1}.setup-profile-select{grid-column:2/4;min-width:0}.setup-profile-select select{font-size:15px;min-height:42px}.profile-hub input,.profile-hub select{font-size:17px;min-height:48px}.profile-hub .small-button{font-size:16px;min-height:44px}html.tv-view .profile-hub{font-size:21px}html.tv-view .profile-hub p{font-size:19px!important}html.tv-view .profile-hub label{font-size:18px}html.tv-view .profile-hub input,html.tv-view .profile-hub select{font-size:20px}
@media(max-width:620px){.profile-owned-list,.profile-comparison-grid,.profile-compare-controls{grid-template-columns:1fr}.profile-create-form,.profile-find-form{grid-template-columns:1fr}.profile-comparison-card{padding:18px}.setup-profile-select{grid-column:2;grid-row:auto}.setup-profile-select select{font-size:13px}.profile-hub h3{font-size:22px}}
.profile-owned-totals,.profile-owned-actions,.profile-medal-panel{width:100%;min-width:0}.profile-owned-totals{font-size:15px;color:var(--muted,#aeb8cc)}.profile-owned-actions{display:flex;flex-wrap:wrap;gap:8px}.profile-owned-actions button{white-space:normal;text-align:left}.profile-connect-section,.profile-private-connection{padding:20px;margin:24px 0;border:1px solid var(--line,#ffffff22);border-radius:16px;background:var(--panel2,#222e4a)}.profile-connect-section h3,.profile-private-connection h3{margin-top:0}.profile-connect-section p,.profile-private-connection p{font-size:15px!important}.profile-connect-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) auto;gap:12px;align-items:end}.profile-connect-form button{min-height:48px}.profile-connect-form input,.profile-private-connection input{width:100%;min-width:0;box-sizing:border-box}.profile-private-connection{border-color:#f9cb7070;background:#f9cb700b}.profile-private-connection input{font-family:ui-monospace,SFMono-Regular,monospace;font-size:14px}.profile-private-connection .profile-hub-actions{margin-top:14px}.profile-topic-medal{display:inline-flex;align-items:center;gap:8px;max-width:100%;padding:7px 11px;background:#f9cb7012;border:1px solid #f9cb7045;border-radius:12px;font-size:13px;line-height:1.35;color:var(--gold,#f9cb70);overflow-wrap:anywhere}.profile-topic-medal>span:first-child{font-size:27px;flex-shrink:0}.profile-topic-medal[data-rank="silver"]{background:#e2e8f015;border-color:#e2e8f040;color:#e2e8f0}.profile-topic-medal[data-rank="bronze"]{background:#e3aa7115;border-color:#e3aa7140;color:#efbd8b}.profile-comparison-card .profile-topic-medal{margin-bottom:15px}.profile-medal-collection{border-top:1px solid var(--line,#ffffff22);padding-top:12px;margin-top:4px}.profile-medal-collection summary{cursor:pointer;font-size:17px;font-weight:700;color:var(--gold,#f9cb70)}.profile-medal-policy,.profile-medal-scope{font-size:13px!important;color:var(--muted,#aeb8cc);line-height:1.6}.profile-medal-thresholds{list-style:none;padding:0;margin:12px 0;display:grid;gap:7px}.profile-medal-thresholds li{display:grid;grid-template-columns:27px 65px minmax(0,1fr);gap:7px;align-items:center;font-size:13px}.profile-medal-thresholds li>span:first-child{font-size:23px}.profile-medal-thresholds li>span:last-child{color:var(--muted,#aeb8cc)}.profile-medal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:14px 0}.profile-medal-choice{display:flex;flex-direction:column;align-items:center;gap:7px;padding:12px 8px;min-width:0;min-height:100px;white-space:normal;line-height:1.4;background:#ffffff05;border:1px solid var(--line,#ffffff22);border-radius:12px;color:inherit;font-size:13px;text-align:center;overflow-wrap:anywhere;cursor:pointer}.profile-medal-choice>span:first-child{font-size:35px}.profile-medal-choice[aria-pressed="true"]{border:2px solid var(--gold,#f9cb70);background:#f9cb7010}.profile-medal-choice small{color:var(--mint,#91dac4);font-weight:700}.profile-medal-choice:focus-visible,.profile-medal-collection summary:focus-visible{outline:3px solid var(--mint,#91dac4);outline-offset:3px}.profile-hub button:disabled{opacity:.6;cursor:wait}
.profile-owned-list article>strong{min-width:0;overflow-wrap:anywhere}
@media(max-width:760px){.profile-connect-form{grid-template-columns:1fr}.profile-connect-form button{justify-self:start}.profile-connect-section,.profile-private-connection{padding:16px}.profile-owned-actions{flex-direction:column}.profile-owned-actions button{width:100%}.profile-private-connection input{font-size:12px}}
html.tv-view .profile-topic-medal{font-size:17px}html.tv-view .profile-medal-choice{font-size:17px;min-height:125px}html.tv-view .profile-medal-thresholds li{font-size:16px;grid-template-columns:30px 78px minmax(0,1fr)}
