.guildRanks {padding-block:clamp(24px,5vw,56px);min-width:0;color:var(--brand-ink)}
.guildRanks h1 {margin:0;font-size:clamp(1.8rem,4vw,2.7rem)}
.guildRanks p {color:var(--brand-muted);line-height:1.6;overflow-wrap:anywhere}
.guildRanks section {border:1px solid var(--brand-line);border-radius:14px;background:var(--brand-white);padding:clamp(12px,3vw,28px);margin:24px 0}
.rankChoices {display:flex;gap:6px;flex-wrap:wrap;margin-bottom:20px}
.guildRanks button {border:1px solid var(--brand-line);color:var(--brand-ink);background:var(--brand-cloud);font:inherit;padding:9px 13px;border-radius:8px;cursor:pointer}
.rankChoices button[aria-pressed=true] {background:var(--brand-lavender);color:var(--brand-ink);border-color:var(--brand-lavender)}
.guildRanks table {width:100%;border-collapse:collapse;table-layout:fixed}
.guildRanks th,.guildRanks td {text-align:start;padding:12px 6px;border-bottom:1px solid var(--brand-line);overflow-wrap:anywhere}
.guildRanks th {color:var(--brand-muted);font-size:.88rem}
.guildRanks th:first-child {width:clamp(60px,8vw,84px)}
.guildRanks th:last-child {width:7em}
.guildRanks th:last-child,.guildRanks td:last-child {text-align:end}
.guildRanks td:first-child,.guildRanks td:last-child {font-variant-numeric:tabular-nums}
.guildRanks :is(th,td):first-child {text-align:center}
.guildRanks .rankMedal {display:block;width:clamp(44px,6vw,56px);height:auto;max-width:100%;object-fit:contain;margin-inline:auto}
.guildRanks .podium td {font-size:clamp(1.12rem,2vw,1.4rem);font-weight:700;line-height:1.35}
.guildRanks .podium td:last-child {color:var(--brand-ink)}
.guildRanks summary {cursor:pointer}
.guildRanks #rankStatus {text-align:center}
