.identity-image{display:inline-flex;flex:none;width:44px;height:44px;align-items:center;justify-content:center;background:#EAF4FD;color:#22567B;border:1px solid #D8C39B;border-radius:10px;font-weight:700;overflow:hidden;vertical-align:middle}
.identity-image img{display:block;width:100%;height:100%;object-fit:contain;background:#fff}.account-photo{width:32px;height:32px;border-radius:50%;font-size:11px}.account-photo img{object-fit:cover}
.club-logo{margin-inline-end:10px}.tournament-image{width:100%;max-height:180px;overflow:hidden;border-radius:10px;margin:0 0 14px}.tournament-image[hidden]{display:none}.tournament-image img{display:block;width:100%;height:auto;max-height:180px;object-fit:contain;background:#FAF9F6}
.media-editor{padding:18px;background:white;border:1px solid #D8C39B;border-radius:12px;margin-block:16px}.media-editor h2{font-size:18px}.media-editor input{max-width:100%}.media-editor .actions{display:flex;flex-wrap:wrap;gap:8px}.media-editor button{width:auto;min-height:44px}.media-preview:empty{display:none}.media-preview img{display:block;max-width:100%;max-height:140px;object-fit:contain}.media-editor p{overflow-wrap:anywhere}
a.contact-action,a.btn.contact-action{display:inline-flex;align-items:center;gap:7px;width:auto;min-height:44px;padding:9px 13px;border:1px solid #cfe4d8;border-radius:9px;background:#EDF7F1;color:#176449;text-decoration:none;font-weight:650}a.contact-action svg{width:19px;height:19px;flex:none}
.portal-layout .btn.secondary,.player-layout .btn.secondary{background:#EAF4FD;color:#22567B;border-color:#d2e4f1}.portal-layout .btn.enter,.btn.enter{display:inline-flex;width:auto;min-height:44px;align-items:center;gap:7px;background:#0F172A;color:#fff;border:1px solid #0F172A;border-radius:9px;padding:10px 15px;text-decoration:none;font-weight:650}.btn.enter svg{width:18px;height:18px}
@media(max-width:480px){.identity-image{width:37px;height:37px}.account-photo{width:30px;height:30px}.media-editor{padding:14px}.tournament-image,.tournament-image img{max-height:120px}}

.public-club-logo{display:inline-grid;place-items:center;width:44px;height:44px;background:#EAF4FD;color:#22567B;position:relative;border-radius:9px;overflow:hidden}.public-club-logo>*{grid-area:1/1}.public-club-logo object{width:44px;height:44px;object-fit:contain}.avatar.has-logo img,.avatar.preview img{object-fit:contain}
.tro-tcard .btn.enter{margin-top:12px}

.portal-layout .row:has(>.tournament-image:not([hidden])){flex-wrap:wrap}.portal-layout .row>.tournament-image{flex-basis:100%}

.media-editor .actions>button{flex:0 0 auto;width:auto;display:inline-flex;align-items:center;gap:7px}.media-editor .btn{padding:10px 15px}

.player-layout a.btn.contact-action,.portal-layout a.btn.contact-action,.sf-player-root a.contact-action{background:#EDF7F1;color:#176449;border-color:#cfe4d8}
#socials-root a.sf-button.secondary.contact-action{background:#EDF7F1;color:#176449;border-color:#cfe4d8}
.treg-hero:has(>.tournament-image:not([hidden]))>.treg-cover{display:none}

/* Routine row actions must win over the later Portal navigation stylesheet. */
.portal-layout .row-actions a.btn.secondary,.portal-layout .row-actions a.btn.blue{background:#EAF4FD;color:#22567B;border-color:#d2e4f1}

/* S062 CLUBS-UX (item 3): on desktop the event hero uses the available width at the banner's natural proportions (every part of the artwork
   visible, nothing stretched or cropped). Cards, portal rows and phones keep the compact bounds above. */
@media(min-width:721px){.treg-hero>.tournament-image{max-height:none}.treg-hero>.tournament-image img{max-height:none;height:auto;object-fit:contain}}
