.tournament-history{min-width:0;color:var(--app-text);container:tournament-history/inline-size}.tournament-history-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.tournament-history-heading h2{font-size:24px;font-weight:800;line-height:1.3}.tournament-history-heading p{margin-top:4px;color:var(--app-text-muted);font-size:14px}.tournament-history-filter{display:flex;align-items:center;gap:10px;border:1px solid var(--app-border);border-radius:8px;padding:0 12px;background:var(--app-surface)}.tournament-history-filter select{min-height:44px;max-width:100%;background:var(--app-surface);color:var(--app-text);font-size:14px;padding-right:10px}.tournament-history-cards{display:grid;gap:16px}.tournament-history-card{min-width:0;border:1px solid var(--app-accent);border-radius:12px;padding:16px;background:var(--app-surface)}.tournament-history-card-heading{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:14px;padding:4px 2px 16px}.tournament-history-logo{display:flex;align-items:center;justify-content:center;color:var(--app-accent)}.tournament-history-logo img{width:64px;height:64px;-o-object-fit:contain;object-fit:contain}.tournament-history-event{min-width:0}.tournament-history-event h3{font-size:20px;font-weight:800;line-height:1.3;overflow-wrap:anywhere}.tournament-history-source{color:var(--app-text-muted);font-size:10px;font-weight:600;letter-spacing:.06em}.tournament-history-event-meta{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:7px;font-size:13px;color:var(--app-text-muted)}.tournament-history-event-meta>span,.tournament-history-fight-meta>span{display:flex;align-items:center;gap:8px;min-width:0;overflow-wrap:anywhere}.tournament-history-event-meta svg,.tournament-history-fight-meta svg{flex-shrink:0}.tournament-history-stats{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.tournament-history-stats>span{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--app-border);border-radius:999px;padding:4px 10px;background:var(--app-surface-subtle);font-size:11px;font-weight:600;color:var(--app-text-muted)}.tournament-history-placements{display:flex;flex-wrap:wrap;gap:6px;grid-column:1/-1}.tournament-history-placement{display:inline-flex;flex-wrap:wrap;align-items:center;gap:8px;border:1px solid var(--app-accent);border-radius:999px;padding:8px 16px;color:var(--app-accent);font-weight:800}.tournament-history-place-1{color:#e7bc61;border-color:#99622c;background:#e7bc6110}.tournament-history-place-2{color:#c9d3de;border-color:#758191}.tournament-history-place-3{color:#d7a37b;border-color:#936747}.tournament-history-placement small{flex-basis:100%;font-size:10px;font-weight:500;overflow-wrap:anywhere}.tournament-history-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;grid-column:1/-1}.tournament-history-event-link{display:inline-flex;gap:10px;padding:8px 16px;border:1px solid var(--app-accent);font-size:13px;font-weight:700}.tournament-history-actions button,.tournament-history-event-link{align-items:center;justify-content:center;min-height:44px;border-radius:8px;color:var(--app-accent)}.tournament-history-actions button{display:flex;min-width:44px;margin-left:auto}.tournament-history :is(a,button,select):focus-visible{outline:2px solid var(--app-accent);outline-offset:3px}.tournament-history-fights{display:grid;gap:10px}.tournament-history-fights[hidden]{display:none}.tournament-history-fight{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;min-width:0;padding:16px;border:1px solid var(--app-border);border-radius:12px;background:linear-gradient(120deg,var(--app-surface-subtle),var(--app-surface))}.tournament-history-fight-number{display:block;margin-bottom:6px;font-size:12px;color:var(--app-text-muted);font-weight:600}.tournament-history-result-badge{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--app-border);border-radius:999px;padding:8px 16px;font-weight:800;font-size:14px}.tournament-history-result-win{background:#85d79718;color:#9ee7ae;border-color:#52845c}.tournament-history-result-loss{background:#f2949418;color:#f2a3a3;border-color:#9e5757}.tournament-history-result-neutral{color:var(--app-text-muted);background:var(--app-surface-subtle)}.tournament-history-method{display:flex;align-items:center;gap:14px;min-width:0}.tournament-history-method:empty{display:none}.tournament-history-method svg{flex-shrink:0}.tournament-history-method strong{display:block;font-size:13px}.tournament-history-method span{display:block;margin-top:2px;color:var(--app-text-muted);font-size:12px;overflow-wrap:anywhere}.tournament-history-opponent{display:flex;align-items:center;gap:16px;min-width:0;border-top:1px solid var(--app-border);padding-top:14px}.tournament-history-avatar{width:52px;height:52px;flex-shrink:0;border-radius:50%;border:1px solid var(--app-border);-o-object-fit:cover;object-fit:cover}.tournament-history-opponent-text{min-width:0}.tournament-history-opponent-text strong{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:14px;overflow-wrap:anywhere}.tournament-history-opponent-text>span{display:flex;align-items:center;gap:7px;margin-top:5px;color:var(--app-text-muted);font-size:12px;overflow-wrap:anywhere}.tournament-history-opponent-text svg{flex-shrink:0;margin-top:2px}.tournament-history-fight-meta{display:grid;gap:6px;min-width:0;border-top:1px solid var(--app-border);padding-top:14px;font-size:12px;color:var(--app-text-muted)}@media (min-width:640px){.tournament-history-card{padding:18px}.tournament-history-card-heading{grid-template-columns:80px minmax(0,1fr) auto;gap:18px}.tournament-history-logo img{width:80px;height:80px}.tournament-history-placements{grid-column:2}.tournament-history-actions{grid-column:3;grid-row:1/3;flex-direction:column}.tournament-history-fight{grid-template-columns:minmax(120px,.6fr) minmax(0,1fr)}.tournament-history-method{grid-row:1;grid-column:2}}@container tournament-history (min-width: 900px){.tournament-history-card-heading{grid-template-columns:100px minmax(260px,.9fr) minmax(150px,1fr) auto;padding-bottom:20px}.tournament-history-event h3{font-size:23px}.tournament-history-placements{grid-column:3;justify-self:start}.tournament-history-actions{grid-column:4;grid-row:1;flex-direction:row}.tournament-history-fight{grid-template-columns:120px minmax(140px,.7fr) minmax(230px,1.25fr) minmax(180px,1fr);align-items:center;gap:22px}.tournament-history-result{grid-column:1}.tournament-history-method{grid-column:2;grid-row:auto}.tournament-history-opponent{grid-column:3}.tournament-history-fight-meta{grid-column:4}.tournament-history-fight-meta,.tournament-history-opponent{border-top:0;border-left:1px solid var(--app-border);padding-top:0;padding-left:22px;min-height:62px}.tournament-history-fight-meta{align-content:center}}