.profile-tournament{border:1px solid var(--stroke);border-radius:14px;padding:16px;margin-top:14px;background:var(--card2)}
.profile-tournament>.match{border-top:0;padding-top:0}
.profile-standing{margin:12px 0;color:var(--tx);min-width:0}
.profile-standing-label{font-size:.78rem;font-weight:800;color:var(--sky);margin:0 0 8px}
.profile-standing-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:10px;margin:0}
.profile-standing-grid>div{min-width:0;padding:10px 12px;background:#10131c80;border:1px solid #ffffff16;border-radius:10px}
.profile-standing-grid dt{font-size:.76rem;color:var(--mut);line-height:1.4}
.profile-standing-grid dd{margin:4px 0 0;font-size:1.08rem;font-weight:750;overflow-wrap:anywhere}
.profile-standing details{margin-top:12px}
.profile-standing summary{cursor:pointer;color:var(--sky);font-size:.84rem;padding:4px 0}
.profile-standing details[open] summary{margin-bottom:8px}
.profile-standing details .profile-standing-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}
.profile-standing details dd{font-size:.9rem}
.profile-standing-note{font-size:.76rem;line-height:1.5;color:var(--mut);margin:10px 0 0}
@media(max-width:440px){.profile-tournament{padding:12px}.profile-standing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-standing-grid>div{padding:9px}.profile-standing details .profile-standing-grid{grid-template-columns:1fr}}
.tournament-card-header h3{margin:0;font-size:1.05rem;line-height:1.35;overflow-wrap:anywhere}
.tournament-card-header time,.tournament-deck small{display:block;color:var(--mut);font-size:.8rem;margin-top:3px}
.tournament-deck{display:flex;align-items:center;gap:12px;margin:12px 0;padding:9px 12px;border:1px solid #8aafff33;border-radius:12px;background:#8aafff0c;overflow-wrap:anywhere}
.tournament-deck-icons{display:flex;flex:none;align-items:center;justify-content:center;min-width:44px;min-height:44px;border-radius:9px;background:#10131c80}
.tournament-deck-icons:empty::before{content:"🃏";font-size:1.3rem}
.tournament-deck-icons img{display:block;width:44px;height:44px;object-fit:contain;image-rendering:pixelated}
.tournament-deck-icons img+img{margin-inline-start:-11px}
.tournament-summary .profile-standing-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.tournament-summary .profile-standing-grid>div{padding:8px 6px;text-align:center}
.tournament-summary .profile-standing-grid dd{font-size:1rem}
.tournament-summary .profile-standing-grid>div:nth-child(3) dd{color:#97ecc5}
.tournament-summary .profile-standing-grid>div:nth-child(4) dd{color:#ffb0bd}
.tournament-summary .profile-standing-grid>div:nth-child(5) dd{color:#d2c3ff}
.tournament-rounds{display:inline-block;margin-block:2px 4px;font-size:.87rem;font-weight:650}
@media(max-width:540px){
 .tournament-summary .profile-standing-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
 .tournament-summary .profile-standing-grid>div{grid-column:span 2}
 .tournament-summary .profile-standing-grid>div:nth-child(-n+2){grid-column:span 3}
 .tournament-deck-icons img{width:38px;height:38px}
}
