#pb785Stats{width:min(1760px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 28px);box-sizing:border-box;padding:0;border:1px solid #35556f;border-radius:12px;background:#0c1a29;color:#e4edf7;overflow:auto}
#pb785Stats::backdrop{background:#020a13c9}
#pb785Stats>header{position:sticky;top:0;z-index:1;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;background:#142b3e;border-bottom:1px solid #37516b}
#pb785Stats h2{margin:0;font-size:1.2rem}#pb785Stats header p{margin:4px 0 0;font-size:.85rem}
#pb785Stats button{min-height:44px;border:1px solid #bd5265;border-radius:7px;padding:8px 12px;background:#a42c41;color:white;font-weight:700}
#pb785Stats button:focus-visible{outline:3px solid #8cd4f5;outline-offset:2px}
#pb785Stats .pb785-body{padding:12px 16px}
#pb785Stats .pb785-method,#pb785Stats .pb785-source,#pb785Stats .pb785-notes{font-size:.82rem;line-height:1.4;color:#b9cddd;margin:8px 0}
#pb785Stats .pb785-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
#pb785Stats table{width:100%;border-collapse:collapse;font-size:.85rem}
#pb785Stats caption{text-align:left;padding:8px 0;font-weight:700}
#pb785Stats th,#pb785Stats td{padding:9px 8px;text-align:left;border-bottom:1px solid #2b4257;overflow-wrap:anywhere}
#pb785Stats thead{background:#17334a}#pb785Stats tbody tr:nth-child(even){background:#102438}
#pb785Stats td{font-variant-numeric:tabular-nums}
@media(max-width:700px){
 #pb785Stats{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}
 #pb785Stats>header{padding:10px;align-items:flex-start}#pb785Stats .pb785-body{padding:10px}
 #pb785Stats table,#pb785Stats tbody{display:block}
 #pb785Stats thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 #pb785Stats tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:6px 0;border-bottom:1px solid #38536a}
 #pb785Stats tbody th{grid-column:1/-1;font-size:.95rem;padding:6px}
 #pb785Stats td{display:flex;justify-content:space-between;gap:6px;padding:5px 6px;font-size:.78rem;border:0}
 #pb785Stats td:before{content:attr(data-label);color:#aac5d9}
}
#pb785Stats .pb785-method>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:700;color:#d5e7f5}
#pb785Stats .pb785-method>p{margin:0 0 8px}

#pb785Stats .pb787-skills{margin:14px 0;border-top:1px solid #35556f;padding-top:10px}
#pb785Stats .pb787-skills h3{margin:0;font-size:1rem}

/* Duplicate display names remain distinct saved entrants. */
#pb785Stats .pb790-identity{display:block;margin-top:3px;font-size:.78rem;font-weight:400;color:#b8c9db;overflow-wrap:anywhere;}
