/* Top 10 Strongest players (rankings/strongest) + sidebar widget - mu-online.org theme */
.st-intro{max-width:720px;margin:0 0 14px;font-size:13px;line-height:1.65;color:#5d6b7a}
.st-intro b{color:#16212e}

/* ---- the line-up on the character-select scene: everyone floats side by side in equal slots; the one rolled to the
        middle grows (the script sets --s on each slot from its distance to the centre) and hovers above the pedestal.
        --sh stage height, --base where the feet are (from the top), --ch body height, --k how much the chosen one grows ---- */
.st-stage{position:relative;border-radius:4px;overflow:hidden;--sh:640px;--base:416px;--ch:150px;--k:1.547;--cw:240px;--tag:54px;
	background:#0b0a1c url(../images/strongest/strongest-bg.webp) 50% 0 / auto 100% no-repeat;border:1px solid #16293f;box-shadow:inset 0 -3px 0 #c8a24a}
.st-stage:before{content:"";position:absolute;inset:0;pointer-events:none;z-index:0;background:linear-gradient(180deg,rgba(6,6,20,.30),rgba(6,6,20,0) 22%,rgba(6,6,20,0) 62%,rgba(6,6,20,.55)),radial-gradient(ellipse 120% 90% at 50% 45%,rgba(6,6,20,0) 55%,rgba(6,6,20,.55))}
.st-line{position:relative;z-index:1;display:flex;align-items:flex-end;height:var(--sh);box-sizing:border-box;overflow-x:auto;overflow-y:hidden;padding:0 calc(50% - var(--cw) / 2) calc(var(--sh) - var(--base) - var(--tag));cursor:grab;-webkit-user-select:none;user-select:none;scrollbar-width:thin;scrollbar-color:rgba(200,162,74,.6) rgba(255,255,255,.06);-webkit-overflow-scrolling:touch}
.st-line.is-drag{cursor:grabbing}
.st-line::-webkit-scrollbar{height:8px}
.st-line::-webkit-scrollbar-track{background:rgba(255,255,255,.06)}
.st-line::-webkit-scrollbar-thumb{background:rgba(200,162,74,.6);border-radius:4px}
.st-ch{position:relative;flex:0 0 auto;width:var(--cw);text-align:center;cursor:pointer;outline:none;filter:brightness(.62) saturate(.8);transition:filter .25s ease;z-index:1}
.st-ch:hover{filter:brightness(.88) saturate(.95);z-index:3}
.st-ch.is-on{filter:none;z-index:5;cursor:default}
.st-ch:focus-visible .st-tag b{text-decoration:underline}
.st-figbox{position:relative;z-index:2;height:var(--ch);aspect-ratio:240 / 450;margin:0 auto;pointer-events:none;transform:scale(var(--s,1));transform-origin:50% 97.5%;will-change:transform}
.st-stage img{border:0;box-shadow:none;background:none;border-radius:0;margin:0;padding:0}
.st-ly{position:absolute;max-width:none !important;height:auto;display:block}
/* the guardian stands beside the character, drawn smaller so it does not hide the neighbour */
.st-ly-p{transform:scale(.56);transform-origin:0 100%}
/* wings: the image is shown as a left and a right half, hinged on the body line, and the chosen character flaps them.
   Only the wings move - the character, cloaks, pets and Muuns stand still. */
.st-wl{clip-path:inset(-30% calc(100% - var(--px)) -30% -30%)}
.st-wr{clip-path:inset(-30% -30% -30% var(--px))}
.st-wl,.st-wr{transform-origin:var(--px) 58%}
.st-ch.is-on .st-wl{animation:stFlapL 3.2s ease-in-out infinite}
.st-ch.is-on .st-wr{animation:stFlapR 3.2s ease-in-out infinite}
@keyframes stFlapL{0%,100%{transform:perspective(900px) rotateY(0deg) rotate(0deg);filter:brightness(1)}50%{transform:perspective(900px) rotateY(16deg) rotate(1.5deg);filter:brightness(1.12)}}
@keyframes stFlapR{0%,100%{transform:perspective(900px) rotateY(0deg) rotate(0deg);filter:brightness(1)}50%{transform:perspective(900px) rotateY(-16deg) rotate(-1.5deg);filter:brightness(1.12)}}
.st-flat{position:absolute;left:50%;bottom:3%;transform:translateX(-50%);max-width:170%;height:97%;width:auto;object-fit:contain;filter:drop-shadow(0 8px 10px rgba(0,0,0,.6))}
.st-fig-items{position:absolute;inset:0}
.st-fig-items img{position:absolute;left:50%}
.st-fi-wing{top:40%;transform:translate(-50%,-50%);width:190%;max-width:none !important;object-fit:contain;opacity:.95}
.st-fi-armor{bottom:6%;transform:translateX(-50%);width:80%;object-fit:contain}
/* Muuns beside the head */
.st-muun{position:absolute;top:-4%;width:42%;height:auto;z-index:8;filter:drop-shadow(0 4px 6px rgba(0,0,0,.6))}
.st-muun1{left:-52%}
.st-muun2{right:-52%}
@media(prefers-reduced-motion:reduce){.st-ch.is-on .st-wl,.st-ch.is-on .st-wr{animation:none}.st-ch{transition:none}}
/* name tag under the feet: place number, name, power */
.st-tag{position:relative;z-index:6;height:var(--tag);box-sizing:border-box;padding:10px 4px 0;line-height:1.2;white-space:nowrap}
.st-ch.is-on .st-tag{margin:0 -30px}
.st-tag b{display:block;font-size:12px;font-weight:700;color:#fff3d6;overflow:hidden;text-overflow:ellipsis;text-shadow:0 1px 3px #000,0 0 8px #000}
.st-tag i{display:block;font-style:normal;font-size:11px;font-weight:700;color:#e9c46a;font-variant-numeric:tabular-nums;text-shadow:0 1px 3px #000,0 0 8px #000}
.st-no{position:absolute;left:50%;top:-8px;transform:translateX(-50%);min-width:20px;height:20px;line-height:20px;padding:0 5px;box-sizing:border-box;border-radius:10px;background:linear-gradient(180deg,#1d3350,#0f1c2d);border:1px solid rgba(200,162,74,.7);font-weight:900;font-size:11px;color:#f1d48a}
.st-p1 .st-no{background:linear-gradient(180deg,#e2b94f,#8a6718);color:#201400;border-color:#ffe6a3}
.st-p2 .st-no{background:linear-gradient(180deg,#c7d1db,#5b6570);color:#10151a;border-color:#eef3f8}
.st-p3 .st-no{background:linear-gradient(180deg,#cf935c,#6a3f18);color:#1c0e02;border-color:#f2c39a}
.st-ch.is-on .st-tag{padding-top:16px}
.st-ch.is-on .st-tag b{font-size:17px;font-weight:900;color:#ffd97a}
.st-ch.is-on .st-tag i{font-size:13px;color:#fff}
.st-ch.is-on .st-no{top:-10px;min-width:26px;height:24px;line-height:24px;font-size:13px;border-radius:12px}
.st-nav{position:absolute;top:50%;z-index:9;width:38px;height:38px;margin-top:-19px;border-radius:50%;border:1px solid rgba(200,162,74,.7);background:rgba(15,28,45,.82);color:#f1d48a;font-size:16px;line-height:1;cursor:pointer;padding:0}
.st-nav:hover{background:#c8a24a;color:#16212e}
.st-prev{left:10px}
.st-next{right:10px}

/* ---- details of the chosen character (light card, site colours) ---- */
.st-details{margin:14px 0 0}
.st-dt{display:none;background:#f6f8fb;border:1px solid #dfe5ec;border-left:3px solid #c8a24a;border-radius:3px;padding:14px 16px}
.st-dt.is-on{display:block}
.st-dt-head{display:flex;align-items:center;gap:14px}
.st-dt-place{flex:0 0 auto;width:40px;height:40px;line-height:40px;border-radius:50%;background:#16293f;color:#f1d48a;font-weight:900;font-size:18px;text-align:center}
.st-pl1{background:linear-gradient(180deg,#e2b94f,#a57c1d);color:#201400}
.st-pl2{background:linear-gradient(180deg,#c7d1db,#7b8794);color:#10151a}
.st-pl3{background:linear-gradient(180deg,#cf935c,#8a5524);color:#1c0e02}
.st-dt-who{flex:1 1 auto;min-width:0;text-align:left}
.st-name{display:block;font-weight:900;font-size:19px;color:#16212e !important;text-decoration:none !important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.st-name:hover{color:#a57c1d !important}
.st-class{font-size:12px;color:#5d6b7a;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.st-power{flex:0 0 auto;text-align:right;color:#98a3b0;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}
.st-power b{display:block;font-size:26px;color:#16293f;font-weight:900;letter-spacing:0;font-variant-numeric:tabular-nums;line-height:1.1}
.st-tags{display:flex;flex-wrap:wrap;gap:5px;margin:10px 0 0}
.st-tags:empty{display:none}
.st-tg{display:inline-block;padding:3px 9px;border-radius:3px;font-size:11px;font-weight:700;line-height:1.4}
.st-tg-w{background:#16293f;color:#f1d48a}
.st-tg-s{background:#fff;border:1px solid #c8a24a;color:#8a6718;padding:2px 8px}
.st-bar{display:flex;height:8px;border-radius:4px;overflow:hidden;background:#e6ebf1;margin:12px 0 0;cursor:help}
.st-bar i{display:block;height:100%}
.st-b-wing{background:#c8a24a}
.st-b-set{background:#2f5d8a}
.st-b-oth{background:#9aa7b5}
.st-parts{display:flex;flex-wrap:wrap;gap:6px 18px;margin:8px 0 0;font-size:12px;color:#5d6b7a}
.st-parts i{display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:6px;vertical-align:-1px}
.st-parts b{color:#16212e;font-variant-numeric:tabular-nums;margin-left:3px}
.st-eq{display:flex;flex-wrap:wrap;gap:4px;margin:14px 0 0}
.st-cell{flex:0 0 46px;width:46px;height:46px;background:#10181f;border:1px solid #cfd6de;border-radius:3px;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:2px;box-sizing:border-box}
.st-cell:empty{background:#e9edf2;border-color:#dfe5ec}
.st-cell img{max-width:100%;max-height:100%;object-fit:contain}
.st-cell-muun{border-color:#c8a24a}
.st-table{margin-top:18px}
.st-table .st-row{cursor:pointer}
.st-table td:nth-child(n+4),.st-table th:nth-child(n+4){text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.st-note{color:#98a3b0;font-size:12px;margin:10px 0 2px}
.st-credit{color:#b3bcc6;font-size:11px;margin:0}

@media(max-width:1023px){
	.st-stage{--sh:480px;--base:312px;--ch:116px;--k:1.517;--cw:178px;--tag:48px}
	.st-nav{width:32px;height:32px;margin-top:-16px;font-size:14px}
	.st-prev{left:4px}.st-next{right:4px}
	.st-tag b{font-size:11px}
	.st-ch.is-on .st-tag b{font-size:14px}
	.st-dt-head{gap:8px}
	.st-name{font-size:16px}
	.st-power b{font-size:20px}
	.st-cell{flex-basis:40px;width:40px;height:40px}
}
