/* V11.182 — compact, aligned identity header for the shared player/team card. */
@layer aow-panels {
 body#aow-portal.aow-masters-theme #portal-team-modal .team-info-header {
  display:grid!important;grid-template-columns:60px minmax(0,1fr);align-items:center;gap:14px;
  padding:16px 44px 16px 16px!important;margin:0 0 18px!important;
  background:var(--aow-panel-title)!important;border:1px solid var(--aow-panel-border)!important;
  box-shadow:var(--aow-panel-metal)!important;
 }
 body#aow-portal.aow-masters-theme #portal-team-modal .team-info-emblem {
  box-sizing:border-box;display:grid;place-items:center;width:60px!important;height:60px!important;
  min-width:0;flex:none;border:1px solid #65999d!important;border-radius:0!important;
  margin:0!important;padding:4px!important;background:#07191d!important;box-shadow:inset 0 1px #b9eae522!important;
 }
 body#aow-portal.aow-masters-theme #portal-team-modal .team-info-emblem img {
  display:block;width:48px!important;height:48px!important;max-width:100%!important;max-height:100%;
  object-fit:contain!important;border-radius:0!important;filter:none!important;
 }
 body#aow-portal.aow-masters-theme #portal-team-modal .team-info-emblem img.bracket-team-picture {object-fit:cover!important}
 body#aow-portal.aow-masters-theme #portal-team-modal .team-info-heading {min-width:0;text-align:start}
 body#aow-portal.aow-masters-theme #portal-team-modal .team-info-heading small {
  display:block;margin:0 0 6px!important;font-size:14px!important;line-height:1.25!important;
  font-weight:700!important;letter-spacing:.08em!important;color:#a9d0ce!important;
 }
 body#aow-portal.aow-masters-theme #portal-team-modal .team-info-heading h2 {
  margin:0!important;padding:0!important;border:0!important;background:none!important;
  font-size:clamp(25px,2.5vw,32px)!important;line-height:1.12!important;letter-spacing:.02em!important;
  overflow-wrap:anywhere;color:#edf6f2!important;
 }
 body#aow-portal.aow-masters-theme #portal-team-modal .team-info-conf .team-info-heading small {color:#a4cfe8!important}
 body#aow-portal.aow-masters-theme #portal-team-modal .team-info-res .team-info-heading small {color:#e4aaa9!important}
 @media(max-width:520px){
  body#aow-portal.aow-masters-theme #portal-team-modal .team-info-header {grid-template-columns:52px minmax(0,1fr);gap:12px;padding:14px 32px 14px 12px!important}
  body#aow-portal.aow-masters-theme #portal-team-modal .team-info-emblem {width:52px!important;height:52px!important}
  body#aow-portal.aow-masters-theme #portal-team-modal .team-info-emblem img {width:40px!important;height:40px!important}
  body#aow-portal.aow-masters-theme #portal-team-modal .team-info-heading small {font-size:12px!important;letter-spacing:.06em!important}
  body#aow-portal.aow-masters-theme #portal-team-modal .team-info-heading h2 {font-size:25px!important}
 }
}
