/* The first record keeps its real rank; position only changes its presentation. */
.rank-page .podium{align-items:end;gap:18px;padding-top:28px;margin-bottom:30px}
.rank-page .podium .champion{--medal:#b9c9dd;--medal-rgb:145,170,202;display:flex;flex-direction:column;align-items:center;text-align:center;gap:0;padding:24px 18px 18px;min-height:286px;height:286px;border:1px solid rgba(var(--medal-rgb),.4);border-radius:16px;background:radial-gradient(ellipse at 50% 0,rgba(var(--medal-rgb),.15),transparent 68%),linear-gradient(155deg,#142139,#0e192b);box-shadow:0 12px 30px #02081340,inset 0 1px rgba(var(--medal-rgb),.1);overflow:hidden;transition:border-color .2s,box-shadow .2s,transform .2s}
.rank-page .podium .champion:before{content:'';position:absolute;top:0;left:24%;right:24%;height:2px;background:linear-gradient(90deg,transparent,var(--medal),transparent)}
.rank-page .podium .champion.first{--medal:#ead092;--medal-rgb:203,160,75;background:radial-gradient(ellipse at 50% 0,#b8862338,transparent 72%),linear-gradient(155deg,#232732,#111c2e);border-color:#d8b7678c}
.rank-page .podium .champion.second{--medal:#ccd9ed;--medal-rgb:156,181,215}
.rank-page .podium .champion.third{--medal:#d6ad90;--medal-rgb:173,115,78;background:radial-gradient(ellipse at 50% 0,#a7683a2c,transparent 70%),linear-gradient(155deg,#242432,#111b2c)}
.rank-page .podium .champion[data-slot=left]{grid-column:1;grid-row:1}
.rank-page .podium .champion[data-slot=center]{grid-column:2;grid-row:1;height:318px;min-height:318px;padding-top:28px}
.rank-page .podium .champion[data-slot=right]{grid-column:3;grid-row:1}
.rank-page .podium .champion:hover{transform:translateY(-4px);border-color:var(--medal);box-shadow:0 16px 34px #02081366,inset 0 1px rgba(var(--medal-rgb),.15)}
.rank-page .podium .place{display:flex;align-items:center;justify-content:center;gap:7px;position:static;margin:0 0 18px;color:var(--medal);letter-spacing:1px;line-height:1.4}
.rank-page .podium .place .icon{width:20px;height:20px}.rank-page .podium .place b{font-size:14px;font-weight:600}.rank-page .podium .place small{font-size:10px;opacity:.7;letter-spacing:.7px}
.rank-page .podium .champion>.avatar,.rank-page .podium .champion>.guild-emblem{width:64px;height:64px;margin:0 0 12px;border-radius:12px;outline:1px solid rgba(var(--medal-rgb),.4);outline-offset:4px;box-shadow:0 5px 20px #02081366}
.rank-page .podium .champion[data-slot=center]>.avatar,.rank-page .podium .champion[data-slot=center]>.guild-emblem{width:72px;height:72px}
.rank-page .podium .champion-name{font-size:18px;line-height:1.35;margin:0 0 7px;max-width:100%;font-weight:650;white-space:normal;overflow-wrap:anywhere;min-height:24px;overflow:visible}
.rank-page .podium .champion-meta{justify-content:center;gap:7px;min-height:20px;font-size:12px}.rank-page .podium .champion-meta>span:last-child{display:initial}
.rank-page .podium .champion-score{font-size:27px;margin:12px 0 0;color:var(--medal);line-height:1.25}.rank-page .podium .champion-score small{display:none}
.rank-page .podium .champion-foot{margin-top:auto;padding-top:10px;width:100%;font-size:12px;color:#bcc9dc;border-top:1px solid rgba(var(--medal-rgb),.14);white-space:normal;overflow:visible;line-height:1.5}
.rank-page .podium .sponsor-thanks{font-size:13px;margin:12px 0;color:var(--medal)}
.rank-page .pagination>div{display:none}.rank-page .pagination{justify-content:center;min-height:52px}.rank-page .stage-badge{display:inline-block;margin-left:5px;color:#dac18b;font-size:11px;white-space:nowrap}.rank-page .table-scroll{overflow-x:auto}
.attribute-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.attribute-item{padding:14px;border:1px solid #a8bad722;background:linear-gradient(145deg,#1d2c4666,#111d2f66);border-radius:10px}.attribute-item span{display:block;font-size:13px;color:#aebed5}.attribute-item strong{display:block;font-size:22px;color:#e4d2a8;margin-top:5px}
@media(max-width:1100px){.rank-page .podium{gap:11px}.rank-page .podium .champion{padding-inline:12px}.rank-page .podium .champion-name{font-size:16px}.rank-page .podium .place{gap:5px}.rank-page .podium .place small{font-size:9px}}
@media(max-width:540px){.rank-page .podium{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding-top:20px}.rank-page .podium .champion{height:261px;min-height:261px;padding:16px 7px 12px;border-radius:12px}.rank-page .podium .champion[data-slot=center]{height:285px;min-height:285px;padding-top:20px}.rank-page .podium .place{flex-wrap:wrap;gap:3px 5px;margin-bottom:13px}.rank-page .podium .place .icon{width:17px;height:17px}.rank-page .podium .place b{font-size:12px}.rank-page .podium .place small{flex-basis:100%;font-size:9px}.rank-page .podium .champion>.avatar,.rank-page .podium .champion>.guild-emblem{width:44px;height:44px;outline-offset:3px;margin-bottom:12px;border-radius:8px}.rank-page .podium .champion[data-slot=center]>.avatar,.rank-page .podium .champion[data-slot=center]>.guild-emblem{width:52px;height:52px}.rank-page .podium .champion-name{font-size:12px;min-height:32px;display:flex;align-items:center;justify-content:center;line-height:1.3;margin-bottom:3px}.rank-page .podium .champion-meta{min-height:18px;gap:1px;flex-wrap:wrap;font-size:10px}.rank-page .podium .champion-meta>span:last-child{display:none}.rank-page .podium .champion-meta .class-badge{display:inline-block!important;font-size:10px}.rank-page .podium .champion-score{font-size:21px;margin-top:10px}.rank-page .podium .champion-foot{font-size:10px;padding-top:8px}.rank-page .podium .sponsor-thanks{font-size:11px;margin-top:10px}.rank-page .podium .stage-badge{font-size:10px;margin-left:3px}.attribute-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.attribute-item{padding:12px}.attribute-item strong{font-size:20px}}
@media(prefers-reduced-motion:reduce){.rank-page .podium .champion{transition:none}.rank-page .podium .champion:hover{transform:none}}

/* Keep long team or guild names inside their own name area. Full names remain in the dossier. */
.rank-page .podium .champion-name{display:block;flex-shrink:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-height:25px}
@media(max-width:540px){.rank-page .podium .champion-name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal;min-height:32px;max-height:32px;overflow:hidden;flex-shrink:0}.attribute-item strong small{font-size:12px;color:#adbad0}}

