.pistas-profile-dialog {
    box-sizing: border-box; position: fixed; inset: 0; margin: auto;
    width: 96vw; height: 96vh; height: 96dvh; max-width: 96vw; max-height: 96dvh;
    padding: 0; border: 1px solid rgba(255,255,255,.24); border-radius: 16px;
    background: transparent; color: #fff;
    box-shadow: 0 20px 80px rgba(0,0,0,.35); overflow: hidden;
}
.pistas-profile-dialog[open] { display: flex; flex-direction: column; }
.pistas-profile-dialog::backdrop { background: rgba(17,24,22,.42); }
.pistas-profile-dialog-toolbar {
    box-sizing: border-box; flex: 0 0 auto; display: flex;
    justify-content: space-between; align-items: center; gap: 12px;
    min-height: 48px; padding: 0 8px 0 16px;
    background: rgba(35,43,40,.92); border-bottom: 0;
    font: 14px/1.3 'Rubik',Arial,sans-serif;
}
@supports ((backdrop-filter: blur(16px)) or (-webkit-backdrop-filter: blur(16px))) {
    .pistas-profile-dialog-toolbar {
        background: rgba(35,43,40,.56);
        -webkit-backdrop-filter: blur(16px) saturate(120%);
        backdrop-filter: blur(16px) saturate(120%);
    }
}
.pistas-profile-dialog-identity { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pistas-profile-dialog-brand { flex: 0 0 auto; color: #fff; font-weight: 600; letter-spacing: .02em; }
.pistas-profile-dialog-separator { color: rgba(255,255,255,.45); }
.pistas-profile-dialog-club { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgba(255,255,255,.85); }
.pistas-profile-dialog .pistas-profile-dialog-close {
    display: inline-flex; flex: 0 0 44px; align-items: center; justify-content: center;
    width: 44px; height: 44px; padding: 0; margin: 0; border: 0;
    position: relative; border-radius: 50%; color: #fff; background: transparent;
    font: 28px/1 Arial,sans-serif; cursor: pointer;
    transition: background-color .15s ease;
}
.pistas-profile-dialog .pistas-profile-dialog-close::before { content: ""; position: absolute; inset: 5px; border: 3px solid currentColor; border-radius: 50%; pointer-events: none; }
.pistas-profile-dialog .pistas-profile-dialog-close:hover { background: rgba(255,255,255,.13); }
.pistas-profile-dialog .pistas-profile-dialog-close:focus { outline: none; }
.pistas-profile-dialog .pistas-profile-dialog-close:focus-visible { outline: 2px solid #fff; outline-offset: -5px; background: rgba(255,255,255,.13); }
.pistas-profile-dialog > iframe {
    display: block; flex: 1 1 0; min-height: 0; width: 100%; height: 100%; background: #fff;
    margin: 0; border: 0 !important; padding: 0 !important; box-shadow: none !important;
}
@media (max-width: 728px) {
    .pistas-profile-dialog {
        inset: 0; margin: 0;
        width: 100vw; max-width: 100vw;
        height: 100vh;
        height: 100dvh;
        max-height: 100dvh; border: 0; border-radius: 0;
    }
    .pistas-profile-dialog-toolbar { padding-left: max(12px,env(safe-area-inset-left,0px)); padding-right: max(6px,env(safe-area-inset-right,0px)); font-size: 12px; }
    .pistas-profile-dialog-identity { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    .pistas-profile-dialog .pistas-profile-dialog-close { transition: none; }
}
