/* Academy standings, both trophies (functions_brackets_trophy.php bkTrophyHtml): the public tournament page and the
   app's Info tab. Two columns when there is room for both. */
.tro { display: grid; gap: 18px; }
@media (min-width: 760px) { .tro.tro-two { grid-template-columns: 1fr 1fr; } }
.tro-g h3 { margin: 0 0 8px; display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; letter-spacing: -0.01em; }
.tro-cup { width: 18px; height: 18px; flex: none; background: var(--gold, #f5c542); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 3h10v2h4v3a5 5 0 0 1-4.6 5A5 5 0 0 1 13 16v2h3v3H8v-3h3v-2a5 5 0 0 1-3.4-3A5 5 0 0 1 3 8V5h4zm0 4H5v1a3 3 0 0 0 2 2.8zm10 0v3.8A3 3 0 0 0 19 8V7z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 3h10v2h4v3a5 5 0 0 1-4.6 5A5 5 0 0 1 13 16v2h3v3H8v-3h3v-2a5 5 0 0 1-3.4-3A5 5 0 0 1 3 8V5h4zm0 4H5v1a3 3 0 0 0 2 2.8zm10 0v3.8A3 3 0 0 0 19 8V7z'/%3E%3C/svg%3E") center/contain no-repeat; }
.tro-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.tro-list li { display: grid; grid-template-columns: 24px 36px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 12px; border: 1px solid var(--line, rgba(127, 127, 127, 0.2)); }
.tro-list li.p1 { border-color: color-mix(in srgb, var(--gold, #f5c542) 55%, transparent); background: color-mix(in srgb, var(--gold, #f5c542) 10%, transparent); }
.tro-pos { font: 800 14px var(--mono, ui-monospace, monospace); color: var(--muted, #888); text-align: center; }
.tro-list li.p1 .tro-pos { color: var(--gold, #b8860b); }
.tro-logo { width: 36px; height: 36px; border-radius: 9px; overflow: hidden; display: grid; place-items: center; background: color-mix(in srgb, var(--ink, #888) 10%, transparent); font: 800 12px var(--mono, ui-monospace, monospace); color: var(--muted, #888); }
.tro-logo img { width: 100%; height: 100%; object-fit: cover; }
.tro-nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.tro-nm a { color: inherit; text-decoration: none; }
.tro-nm a:hover { text-decoration: underline; }
.tro-md { display: flex; gap: 4px; }
.tro-md i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 800 11px var(--mono, ui-monospace, monospace); font-style: normal; color: rgba(0, 0, 0, 0.65); }
.tro-md .g { background: linear-gradient(180deg, #ffd65a, #a8740a); }
.tro-md .s { background: linear-gradient(180deg, #eef1f6, #7b8494); }
.tro-md .b { background: linear-gradient(180deg, #f0a368, #7a3a12); }
/* No medal of that colour: kept for the columns, but quiet (QA 2 Dec 2026) */
.tro-md i.z { opacity: .28; }
.tro-pts { font: 800 15px var(--mono, ui-monospace, monospace); white-space: nowrap; text-align: right; min-width: 52px; }
.tro-pts small { margin-left: 3px; font-size: 11px; font-weight: 600; color: var(--muted, #888); }
/* A phone: the medals go under the name, so the name keeps its room */
@media (max-width: 560px) {
  .tro-list li { grid-template-columns: 20px 34px minmax(0, 1fr) auto; grid-template-areas: "pos logo nm pts" "pos logo md pts"; row-gap: 3px; }
  .tro-pos { grid-area: pos; } .tro-logo { grid-area: logo; } .tro-nm { grid-area: nm; } .tro-md { grid-area: md; } .tro-pts { grid-area: pts; }
  .tro-md i { width: 18px; height: 18px; font-size: 10px; }
}
/* The app's Info tab: always one column */
.tro.tro-app { grid-template-columns: minmax(0, 1fr); }
