/* V11.14 — Art of War 3 inspired team identity system. Bracket geometry unchanged. */
body.aow-masters-theme .tournament-bracket .team-identity img.bracket-team-picture {
  width:33px!important;
  height:33px!important;
  min-width:33px!important;
  flex:0 0 33px!important;
  padding:0!important;
  border:1px solid rgba(120,201,207,.65)!important;
  border-radius:2px!important;
  background:#081519!important;
  object-fit:cover!important;
  filter:none!important;
  box-shadow:0 0 0 1px rgba(0,0,0,.35)!important;
}
body.aow-masters-theme #team-info-logo.bracket-team-picture {
  object-fit:cover!important;
  border:1px solid rgba(120,201,207,.65)!important;
  border-radius:2px!important;
  filter:none!important;
}
body.aow-masters-theme .aow-team-picture-gallery,
body.aow-masters-theme .aow-team-picture-panel {color:#e4f4f4;}
body.aow-masters-theme .aow-team-picture-panel {
  margin:15px 0 22px;
  padding:18px;
  background:linear-gradient(155deg,#102b30,#07191d 68%);
  border:1px solid #4d858a;
  box-shadow:inset 0 1px 0 rgba(142,224,228,.14);
}
body.aow-masters-theme .aow-picture-heading {
  display:flex;flex-wrap:wrap;gap:12px;align-items:start;justify-content:space-between;
  padding-bottom:14px;margin-bottom:15px;border-bottom:1px solid #3a656a;
}
body.aow-masters-theme .aow-picture-heading h2,
body.aow-masters-theme .aow-picture-heading h3 {margin:4px 0 5px;line-height:1.15;letter-spacing:.05em;}
body.aow-masters-theme .aow-picture-heading .muted {max-width:750px;margin:5px 0 0;line-height:1.5;}
body.aow-masters-theme .aow-picture-content {display:flex;align-items:center;flex-wrap:wrap;gap:22px;}
body.aow-masters-theme .aow-picture-preview {
  display:flex;flex-direction:column;align-items:center;gap:8px;
  flex:0 0 150px;width:150px;padding:13px;
  background:repeating-linear-gradient(-57deg,rgba(125,185,186,.035) 0 3px,transparent 3px 8px),#0b2226;
  border:1px solid #5b9095;
}
body.aow-masters-theme .aow-picture-preview img {width:112px;height:112px;object-fit:cover;background:#07161a;border:1px solid #7db6ba;border-radius:2px;}
body.aow-masters-theme .aow-picture-preview small {font-size:16px;letter-spacing:.09em;color:#a7e5e8;}
body.aow-masters-theme .aow-picture-controls {min-width:min(100%,280px);flex:1 1 360px;display:flex;flex-wrap:wrap;align-items:end;gap:12px;}
body.aow-masters-theme .aow-picture-upload-form {flex:1 1 280px;min-width:0;display:grid;gap:9px;}
body.aow-masters-theme .aow-picture-upload-form label {font-weight:800;font-size:17px;letter-spacing:.07em;color:#b8eced;}
body.aow-masters-theme .aow-picture-upload-form input[type=file] {
  width:100%;box-sizing:border-box;min-width:0;padding:10px;
  background:#07191c;color:#e1f4f4;border:1px solid #57898c;border-radius:2px;
}
body.aow-masters-theme .aow-picture-upload-form .muted {margin:0;font-size:16px;line-height:1.5;}
body.aow-masters-theme .aow-picture-remove {border-color:#b66f72!important;color:#ffc4c4!important;background:#2e1c20!important;}
body.aow-masters-theme .aow-picture-gallery-grid {display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:11px;}
body.aow-masters-theme .aow-picture-team-card {
  min-width:0;display:flex;gap:13px;align-items:center;padding:12px;
  background:linear-gradient(110deg,#123236,#081b1f);border:1px solid #4d8083;
  border-left:4px solid #77bdc1;color:#edffff;text-decoration:none;border-radius:1px;
}
body.aow-masters-theme .aow-picture-team-card:hover,
body.aow-masters-theme .aow-picture-team-card:focus-visible {border-color:#aeebec;background:#173d40;}
body.aow-masters-theme .aow-picture-tile {flex:0 0 58px;width:58px;height:58px;display:grid;place-items:center;background:#07171b;border:1px solid #477a7e;}
body.aow-masters-theme .aow-picture-tile img {width:54px;height:54px;object-fit:contain;}
body.aow-masters-theme .aow-picture-tile img.aow-picture-custom {object-fit:cover;}
body.aow-masters-theme .aow-picture-team-text {display:grid;min-width:0;gap:3px;flex:1;}
body.aow-masters-theme .aow-picture-team-text strong {font-size:18px;overflow-wrap:anywhere;line-height:1.2;}
body.aow-masters-theme .aow-picture-team-text small {font-size:16px;color:#b7d0d2;}
body.aow-masters-theme .aow-picture-team-text em {font-size:16px;font-style:normal;color:#e1c674;letter-spacing:.09em;}
body.aow-masters-theme .aow-picture-chevron {font-size:27px;color:#8dcbce;}
@media (max-width:600px) {
  body.aow-masters-theme .aow-team-picture-panel {padding:12px;}
  body.aow-masters-theme .aow-picture-preview {width:130px;flex-basis:130px;}
  body.aow-masters-theme .aow-picture-preview img {width:105px;height:105px;}
  body.aow-masters-theme .aow-picture-heading .btn {width:auto;}
}
