.mu3d-podium,.mu3d-profile{--mu-gold:#e9c986;--mu-ink:#101518;--mu-line:#534b39;color:#f2efe6;background:linear-gradient(140deg,#171d1c,#0c1111 75%);border:1px solid #66583c;border-radius:16px;padding:18px;margin:18px 0 24px;box-shadow:0 16px 35px #0004;font-family:inherit;box-sizing:border-box}
.mu3d-podium *,.mu3d-profile *{box-sizing:border-box}
.mu3d-head{display:flex;justify-content:space-between;align-items:end;gap:12px;margin-bottom:18px;border-bottom:1px solid #65573a66;padding-bottom:13px}
.mu3d-head span{font-size:10px;font-weight:800;letter-spacing:2.2px;color:var(--mu-gold)}
.mu3d-head h2{font-size:25px!important;line-height:1.1;color:#f7efd9!important;margin:5px 0 0!important;text-transform:none!important}
.mu3d-head small,.mu3d-muted{color:#a4afa9;font-size:11px;line-height:1.5}
.mu3d-podium-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:stretch}
.mu3d-champion{position:relative;border:1px solid #505c57;border-radius:14px;background:linear-gradient(180deg,#1d2926,#111716);overflow:hidden;min-width:0;padding:10px 10px 12px;display:flex;flex-direction:column;gap:10px;--medal:#bdc8c7}
.mu3d-champion.place-1{order:2;--medal:#f2c96d;border-color:#b78c43;background:linear-gradient(180deg,#342b1c,#151714 70%);box-shadow:0 0 28px #dbb65b2e}
.mu3d-champion.place-2{order:1}
.mu3d-champion.place-3{order:3;--medal:#d8986b;border-color:#73503c}
.mu3d-medal{position:absolute;z-index:3;left:14px;top:13px;font-size:20px;font-weight:900;line-height:1.1;color:var(--medal);text-shadow:0 2px 8px #000;pointer-events:none}
.mu3d-view{min-width:0;position:relative}
.mu3d-stage{position:relative;height:285px;overflow:hidden;border-radius:12px;background:radial-gradient(ellipse at 50% 38%,#8f6a2c2e,transparent 62%),radial-gradient(ellipse at 50% 100%,#273430 0%,#111718 58%,#090d0e 100%);isolation:isolate;touch-action:none;outline-offset:2px;cursor:grab}
.mu3d-stage:active{cursor:grabbing}
.place-1 .mu3d-stage{height:318px;background:radial-gradient(ellipse at 50% 38%,#d2a34a42,transparent 64%),radial-gradient(ellipse at 50% 100%,#2b2c24 0%,#141513 60%,#090b0c 100%)}
.mu3d-large .mu3d-stage{height:520px}
.mu3d-stage canvas,.mu3d-stage model-viewer{position:absolute;inset:0;width:100%;height:100%;z-index:2;display:none}
.mu3d-stage.is-rendered canvas,.mu3d-stage.is-model model-viewer{display:block}
.mu3d-stage.is-rendered .mu3d-fallback,.mu3d-stage.is-model .mu3d-fallback,.mu3d-stage.is-model canvas{display:none}
.mu3d-fallback{position:absolute;inset:8% 12% 6%;width:76%;height:86%;object-fit:contain;border-radius:10px;opacity:.86}
.mu3d-stage-grid,.mu3d-stage::before,.mu3d-stage::after{position:absolute;left:50%;transform:translateX(-50%);pointer-events:none}
.mu3d-stage::before{content:"";bottom:9%;width:62%;height:18%;z-index:0;border-radius:50%;background:radial-gradient(ellipse at center,rgba(255,207,101,.58) 0%,rgba(247,175,58,.34) 25%,rgba(108,220,255,.18) 54%,rgba(0,0,0,0) 72%);filter:blur(6px);opacity:.88}
.mu3d-stage::after{content:"";bottom:5%;width:54%;height:12%;z-index:1;border-radius:50%;background:radial-gradient(ellipse at center,rgba(253,220,129,.34) 0%,rgba(228,154,50,.15) 40%,rgba(0,0,0,0) 72%);filter:blur(16px);opacity:.95}
.mu3d-stage-grid{bottom:7.6%;width:58%;height:14%;z-index:1;border:1px solid #d3ac5a80;border-radius:50%;box-shadow:0 0 0 2px #f5d07b24 inset,0 0 14px #ebbd6250,0 0 28px #57bbf926;opacity:.95}
.mu3d-status{color:#c7c4b1;font-size:10px;line-height:1.35;text-align:center;padding:6px 2px 2px;min-height:23px}
.mu3d-controls{display:flex;justify-content:center;gap:5px;padding:2px 3px 0}
.mu3d-controls[hidden]{display:none!important}
.mu3d-controls button{font:inherit;font-weight:800;font-size:16px;color:#f2e1b7;border:1px solid #6b644f;background:#1c2422;border-radius:5px;width:31px;height:29px;line-height:1;cursor:pointer}
.mu3d-controls button:hover,.mu3d-controls button:focus-visible{background:#51472d;color:#fff}
.mu3d-champion-info{text-align:center;position:relative;min-width:0}
.mu3d-champion-info h3{font-size:21px!important;color:#fff!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:3px 0 6px!important}
.mu3d-class{display:block;color:var(--medal);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:1px}
.mu3d-champion-info b{font-size:19px;color:var(--medal)}
.mu3d-champion-info>span:not(.mu3d-class){font-size:11px;color:#b4beb8}
.mu3d-online{display:block;margin-top:4px}.mu3d-online.on{color:#85eab8!important}
.mu3d-link{display:block;text-align:center;padding:9px 5px;border-radius:6px;background:#272b23;border:1px solid #6e654c;color:#f1d89f!important;font-size:11px;font-weight:800;text-decoration:none!important}
.mu3d-link:hover{background:#53462b}
.mu3d-gear{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.mu3d-slot{border:1px solid #34423c;border-radius:7px;background:#0d1514;min-width:0;min-height:94px;padding:6px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center}
.mu3d-slot.is-filled{border-color:#655b43}.mu3d-slot.is-excellent{border-color:#45866d;background:linear-gradient(135deg,#102822,#111916)}
.mu3d-slot small{font-size:9px;color:#b1bdb5;letter-spacing:.5px;text-transform:uppercase;line-height:1.2}
.mu3d-slot strong{font-size:11px!important;color:#e6deca!important;line-height:1.25;overflow-wrap:anywhere}
.mu3d-slot:not(.is-filled) strong{color:#7d8982!important}
.mu3d-item-image{height:40px;width:100%;display:flex;justify-content:center;align-items:center;color:#65736a}
.mu3d-item-image img{max-width:100%;max-height:100%;object-fit:contain;image-rendering:auto}
.mu3d-flags{font-size:9px;color:#9dccb1;line-height:1.2;overflow-wrap:anywhere}
.mu3d-profile-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:16px;align-items:start}
.mu3d-inventory h3{font-size:15px!important;color:#f1dca8!important;margin:0 0 10px!important}
.mu3d-modelkey{font-size:10px;color:#9ca89e;margin-top:7px}.mu3d-modelkey code{display:block;word-break:break-all;color:#e7d7b0;background:transparent}
.mu3d-muted{margin:8px 0 0}
.mu3d-podium .mu3d-muted{text-align:center}
.mu3d-view .mu3d-stage:focus-visible{outline:2px solid #d1b476}
@media(max-width:800px){.mu3d-podium-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.mu3d-podium,.mu3d-profile{padding:12px}.mu3d-champion{padding:6px}.mu3d-stage{height:228px}.place-1 .mu3d-stage{height:252px}.mu3d-champion-info h3{font-size:16px!important}.mu3d-profile-grid{grid-template-columns:1fr}.mu3d-large .mu3d-stage{height:410px}}
@media(max-width:510px){.mu3d-podium-grid{grid-template-columns:1fr}.mu3d-champion.place-1{order:1}.mu3d-champion.place-2{order:2}.mu3d-stage,.place-1 .mu3d-stage{height:258px}.mu3d-head{display:block}.mu3d-head small{display:block;margin-top:6px}.mu3d-large .mu3d-stage{height:360px}}
/* V4: consistent stage heights, aura anchored to projected feet. */
.mu3d-stage,.place-1 .mu3d-stage{height:330px;--aura-bottom:12%}.mu3d-large .mu3d-stage{height:520px}.mu3d-stage::before{bottom:calc(var(--aura-bottom) - 9%);animation:mu3d-aura 3s ease-in-out infinite alternate}.mu3d-stage::after{bottom:calc(var(--aura-bottom) - 6%)}.mu3d-stage-grid{bottom:calc(var(--aura-bottom) - 7%);width:52%;border-color:#e9b85d99;box-shadow:0 0 0 2px #f5d07b24 inset,0 0 18px #ebbd6270,0 0 32px #57bbf936}.mu3d-status{min-height:20px}.mu3d-status.is-warning{color:#cbb889}.mu3d-status button{background:#292d25;color:#f1d89f;border:1px solid #6e654c;border-radius:5px;cursor:pointer}.mu3d-champion-info{margin-top:auto}.mu3d-controls button{width:28px}.mu3d-stage:not(.is-rendered)::before,.mu3d-stage:not(.is-rendered)::after,.mu3d-stage:not(.is-rendered) .mu3d-stage-grid{opacity:0}@keyframes mu3d-aura{from{filter:blur(6px);opacity:.55}to{filter:blur(9px);opacity:1}}@media(max-width:800px){.mu3d-stage,.place-1 .mu3d-stage{height:250px}.mu3d-large .mu3d-stage{height:410px}}@media(max-width:510px){.mu3d-stage,.place-1 .mu3d-stage{height:290px}.mu3d-large .mu3d-stage{height:360px}}@media(prefers-reduced-motion:reduce){.mu3d-stage::before{animation:none}}

/* V5: dark arcane pedestal; its position follows the animated feet. */
.mu3d-stage{--aura-width:52%;background:radial-gradient(ellipse at 50% 40%,#53544a38,transparent 65%),radial-gradient(ellipse at 50% 100%,#252c29,#0c1212 62%)}
.mu3d-stage::before{bottom:calc(var(--aura-bottom) - 8%);width:calc(var(--aura-width) + 12%);height:18%;background:radial-gradient(ellipse,rgba(255,212,123,.32) 0%,rgba(206,150,56,.20) 36%,rgba(90,213,229,.12) 55%,transparent 73%);filter:blur(9px)}
.mu3d-stage::after{bottom:calc(var(--aura-bottom) - 7.5%);width:var(--aura-width);height:13%;border:1px solid #8e6e3f;box-shadow:0 4px 0 #1d1a15,0 6px 0 #715635,0 8px 0 #101312,0 12px 20px #0009,0 0 22px #e7b65c45;background:radial-gradient(ellipse at 50% 40%,#ab873c60 0%,#4a4130 34%,#211e19 66%,#a27d46 70%,#171916 74%);filter:none;opacity:1}
.mu3d-stage-grid{bottom:calc(var(--aura-bottom) - 6%);width:calc(var(--aura-width) - 5%);height:10%;border:1px solid #f1c979c9;background:repeating-conic-gradient(from 12deg,transparent 0deg 12deg,#edcc7b95 13deg 15deg,transparent 16deg 30deg);box-shadow:inset 0 0 0 5px #171914b8,inset 0 0 18px #e2ac4555,0 0 12px #e9bd6b75;z-index:1}
.mu3d-stage-grid:after{content:"";position:absolute;inset:12% 9%;border:1px solid #ffda8b9e;border-radius:50%;background:radial-gradient(ellipse,#ffe8a221,#191e1bc9 75%);box-shadow:inset 0 0 12px #ffc75a37}
.mu3d-stage:not(.is-rendered) .mu3d-stage-grid{opacity:0}

/* V6: floor is rendered inside the character canvas. Remove all CSS pseudo-ground. */
.mu3d-stage::before,.mu3d-stage::after,.mu3d-stage-grid{display:none!important;animation:none!important}.mu3d-stage{background:radial-gradient(ellipse at 50% 55%,#27302c 0%,#121918 48%,#090e0e 95%)}

/* V8: cleaner showcase stage to match premium profile references. */
.mu3d-stage{background:radial-gradient(ellipse at 50% 58%,#1c2328 0%,#0d1316 44%,#080c0e 100%)}
.place-1 .mu3d-stage{background:radial-gradient(ellipse at 50% 58%,#21262a 0%,#0e1315 44%,#080b0c 100%)}

/* V9: warm ambient backdrop and soft grid; actual floor is part of the 3D scene. */
.mu3d-stage,.place-1 .mu3d-stage{background-image:radial-gradient(ellipse at 50% 76%,#44290f42,transparent 63%),linear-gradient(#ffffff05 1px,transparent 1px),linear-gradient(90deg,#ffffff05 1px,transparent 1px),linear-gradient(180deg,#101113,#0b0e0e);background-size:100% 100%,40px 40px,40px 40px,100% 100%}
