
/* Interfaz unificada de participante: únicamente visual; no cambia las reglas del evento. */
body[data-pc-app="player"] .shell:has(.bottom-nav:not(.hidden)){padding-bottom:calc(170px + env(safe-area-inset-bottom))}
body[data-pc-app="player"] #topbar:has(.pc-event-identity){margin:0 2px 12px;min-height:55px;padding:3px 0}
body[data-pc-app="player"] #topbar .pc-topbar-event:has(.pc-event-identity){display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;width:100%;padding:0}
body[data-pc-app="player"] #topbar .pc-event-identity{min-width:0}
body[data-pc-app="player"] #topbar .pc-event-identity .eyebrow{margin:0 0 3px;font-size:10px;line-height:1.35}
body[data-pc-app="player"] #topbar .pc-event-identity>b{display:block;line-height:1.25;color:#fff7ee;font-size:14px;letter-spacing:0;overflow-wrap:anywhere}
body[data-pc-app="player"] #topbar .pc-change-event{min-height:43px;padding:9px 12px;border-radius:13px;font-size:11px}
body[data-pc-app="player"] #app>.pc-participant-heading{padding:17px 18px;border-radius:21px;margin-bottom:12px}
body[data-pc-app="player"] #app>.pc-participant-heading h1{font-size:clamp(25px,6vw,33px);line-height:1.15;margin-bottom:6px}
body[data-pc-app="player"] #app>.pc-participant-heading .muted{font-size:13px;line-height:1.45;margin-bottom:0}
body[data-pc-app="player"] #app>.ranking-list{padding:12px 14px;border-radius:20px}
body[data-pc-app="player"] #app .rank-row{grid-template-columns:34px 38px minmax(0,1fr) auto;min-height:60px;gap:8px}
body[data-pc-app="player"] #app .rank-row>span:nth-child(3){min-width:0;overflow-wrap:anywhere}
body[data-pc-app="player"] #app .rank-row strong{white-space:nowrap;font-size:13px}
body[data-pc-app="player"] #app>.secret-player-summary{padding:15px;border-radius:20px}
body[data-pc-app="player"] #app>.secret-player-summary .stats{gap:8px;margin:4px 0 12px}
body[data-pc-app="player"] #app>.secret-player-summary .stat{padding:11px 12px}
body[data-pc-app="player"] #app>.secret-player-summary .stat b{font-size:25px}
body[data-pc-app="player"] #app>.secret-player-summary .notice{line-height:1.45}
body[data-pc-app="player"] #app>.pc-profile-hero .pc-profile-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}
body[data-pc-app="player"] #app>.pc-profile-hero .pc-profile-links a{display:flex;align-items:center;justify-content:center;min-width:0;text-align:center;min-height:44px;padding:9px 7px;font-size:12px;text-decoration:none}
body[data-pc-app="player"] #app>.pc-profile-edit{padding:16px;border-radius:20px;margin:12px 0}
body[data-pc-app="player"] #app>.pc-profile-edit h2{font-size:18px;margin:0}
body[data-pc-app="player"] #app>.pc-profile-edit .field{margin-top:12px}
body[data-pc-app="player"] #app>.pc-profile-edit #saveProfile{margin-top:13px}
body[data-pc-app="player"] #app .pc-profile-avatar-picker{margin:13px 0 4px;border:1px solid var(--line);border-radius:15px;background:rgba(255,255,255,.04)}
body[data-pc-app="player"] #app .pc-profile-avatar-picker>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;padding:12px 13px;font-weight:800;font-size:13px;min-height:48px}
body[data-pc-app="player"] #app .pc-profile-avatar-picker>summary::-webkit-details-marker{display:none}
body[data-pc-app="player"] #app .pc-profile-avatar-picker>summary span{font-size:23px}
body[data-pc-app="player"] #app .pc-profile-avatar-picker .avatar-grid{margin:0;padding:0 10px 13px;grid-template-columns:repeat(5,minmax(0,1fr))}
body[data-pc-app="player"] #app .pc-profile-collapsible{padding:0;overflow:visible;margin:12px 0;border-radius:19px}
body[data-pc-app="player"] #app .pc-profile-collapsible>summary{list-style:none;display:flex;flex-direction:column;justify-content:center;gap:5px;cursor:pointer;min-height:66px;padding:15px 17px;position:relative;padding-right:44px}
body[data-pc-app="player"] #app .pc-profile-collapsible>summary::-webkit-details-marker{display:none}
body[data-pc-app="player"] #app .pc-profile-collapsible>summary:after{content:'⌄';font-size:21px;position:absolute;right:17px;top:calc(50% - 14px);color:var(--gold);transition:transform .15s}
body[data-pc-app="player"] #app .pc-profile-collapsible[open]>summary:after{transform:rotate(180deg)}
body[data-pc-app="player"] #app .pc-profile-collapsible>summary span{font-size:16px;font-weight:800}
body[data-pc-app="player"] #app .pc-profile-collapsible>summary small{font-size:12px;color:var(--muted);line-height:1.3}
body[data-pc-app="player"] #app .pc-profile-collapsible[open]>summary{border-bottom:1px solid var(--line)}
body[data-pc-app="player"] #app .pc-profile-details-content{padding:13px 16px 16px}
body[data-pc-app="player"] #app .pc-profile-details-content .stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
body[data-pc-app="player"] #app .pc-profile-details-content .stat{padding:10px 7px}
body[data-pc-app="player"] #app .pc-profile-details-content .stat span{font-size:9px}
body[data-pc-app="player"] #app .pc-profile-details-content .stat b{font-size:21px}
body[data-pc-app="player"] #app .pc-profile-host-link{display:flex;align-items:center;justify-content:center;min-height:46px;margin:12px 0 22px;text-decoration:none}
body[data-pc-app="player"] #app .score-history-row{grid-template-columns:46px minmax(0,1fr);align-items:start}
body[data-pc-app="player"] #app .score-history-total{grid-column:2;color:var(--muted);font-size:11px}
body[data-pc-app="player"] #app .score-history-row>div{min-width:0;overflow-wrap:anywhere}
body[data-pc-app="player"] #app .pc-profile-collapsible>summary:focus-visible,
body[data-pc-app="player"] #app .pc-profile-avatar-picker>summary:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
@media(max-width:385px){
 body[data-pc-app="player"] #topbar .pc-topbar-event:has(.pc-event-identity){gap:7px}
 body[data-pc-app="player"] #topbar .pc-change-event{padding:8px 9px;font-size:10px}
 body[data-pc-app="player"] #app .rank-row strong{font-size:12px}
}
@media(prefers-reduced-motion:reduce){body[data-pc-app="player"] #app .pc-profile-collapsible>summary:after{transition:none}}
