.live-player{background:#112752;border:4px solid #112752;border-radius:22px;overflow:hidden}
.live-player iframe{display:block;width:100%;height:min(64vw,720px);min-height:440px;border:0;background:#b9eba7}
/* Desktop survival uses a stable arena ratio and fits the space below the portal header. */
.live-player:not(.mobile-play):not(.expanded):not(.smash-player):not(.ladder-player){width:min(100%,1440px,calc(max(360px,100dvh - 280px) * 16 / 9));margin-inline:auto}
.live-player:not(.mobile-play):not(.expanded):not(.smash-player):not(.ladder-player) iframe{height:auto;min-height:0;aspect-ratio:16/9}
.live-player:not(.mobile-play):not(.expanded):not(.smash-player):not(.ladder-player) .live-tools{padding:8px 12px;font-size:16px}
.live-player:not(.mobile-play):not(.expanded):not(.smash-player):not(.ladder-player) .live-tools button{min-height:44px;padding:8px 14px;font-size:16px}
.live-tools{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px;color:#fff;font-size:18px}
.live-tools .jump-guide{display:flex;flex-direction:column;gap:2px;min-width:0;margin:0;color:#fff;line-height:1.45}.jump-guide strong{font-weight:700}
.live-tools div{display:flex;gap:8px;flex-wrap:wrap}.live-tools button{background:#fff;color:#112752;padding:12px 16px;border-radius:12px;font-size:18px;font-weight:700;min-height:48px;touch-action:manipulation}
.live-player.expanded,.live-player.mobile-play{position:fixed;inset:var(--play-top,0) 0 auto;z-index:1000;height:var(--play-height,100dvh);box-sizing:border-box;border:0;border-radius:0;display:flex;flex-direction:column;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);overscroll-behavior:none}
.live-player.expanded iframe,.live-player.mobile-play iframe{flex:1;height:0;min-height:0;min-width:0}.live-player.expanded .live-tools,.live-player.mobile-play .live-tools{flex:none}
.game-immersive,.game-immersive body{overflow:hidden;overscroll-behavior:none}
.game-immersive .header,.game-immersive .sidebar,.game-immersive .mobile-nav,.game-immersive .prototype-label,.game-immersive .skip,.game-immersive #main{visibility:hidden}
.game-immersive .live-player{visibility:visible}
.live-player.mobile-play .live-tools{padding:4px 8px;gap:8px;flex-direction:row;justify-content:space-between}
.live-player.mobile-play .jump-guide{font-size:14px}.live-player.mobile-play [data-action="expand"]{display:none}
.live-player.mobile-play .live-tools div{gap:8px;flex-wrap:nowrap}
.live-player.mobile-play .live-tools button{min-height:44px;padding:8px 16px;font-size:16px}
.play-large:disabled{opacity:.72;cursor:default;background:#e2e9f4;color:#112752}
@media(max-width:700px){.live-tools{font-size:16px}.live-tools button{font-size:16px}}

.live-player.smash-player iframe{background:#dff4ff}.smash-player .live-tools{justify-content:flex-end}
.live-player.smash-player:not(.mobile-play):not(.expanded){width:min(100%,560px);margin-inline:auto}
.live-player.smash-player:not(.mobile-play):not(.expanded) iframe{height:clamp(320px,calc(100dvh - 300px),800px);min-height:0}
.live-player.smash-player:not(.mobile-play):not(.expanded) .live-tools{padding:8px 12px}
.live-player.smash-player:not(.mobile-play):not(.expanded) .live-tools button{min-height:44px;padding:8px 14px;font-size:16px}
.smash-board{padding:0;list-style:none}.smash-board li{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #d3eaff}.smash-board strong{white-space:nowrap}

.spotlight .smash-spotlight-art{position:absolute;width:155px;height:155px;object-fit:contain;right:-8px;bottom:-6px;pointer-events:none}
@media(max-width:360px){.spotlight .smash-spotlight-art{display:none}}

.smash-board li span{overflow-wrap:anywhere;min-width:0}

.smash-ranking-board{font-size:16px;line-height:1.5;margin-top:22px;color:#17316b}
.smash-ranking-board [hidden]{display:none!important}.smash-ranking-mine{background:#edf8ff;border:2px solid #bae4ff;border-radius:14px;padding:14px}.smash-ranking-mine h3{font-size:18px;margin:0 0 6px}.smash-ranking-mine p{margin:0;font-weight:800;overflow-wrap:anywhere}
.smash-ranking-list{padding:0;list-style:none}.smash-ranking-list li{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 8px;border-bottom:1px solid #d3eaff}.smash-ranking-list li[data-mine=true]{background:#fff6bb;border-radius:10px}.smash-ranking-list li>span{min-width:0;overflow-wrap:anywhere}.smash-ranking-list small{display:block;font-size:12px;opacity:.65}.smash-ranking-list strong{white-space:nowrap;font-size:20px}
.smash-ranking-actions{display:flex;flex-wrap:wrap;gap:10px}.smash-ranking-board button{min-height:44px;border:2px solid #17316b;border-radius:10px;padding:8px 12px;background:white;color:#17316b;font:inherit;cursor:pointer}.smash-ranking-board button:disabled{opacity:.55;cursor:default}.smash-ranking-confirm{padding:12px;margin-top:14px;border:2px solid #ebbaac;border-radius:12px}.smash-ranking-confirm p{margin-top:0}.smash-ranking-confirm button+button{margin-left:10px}

.live-player.ladder-player iframe{background:#F4FAFF}
.ladder-player .live-tools{justify-content:flex-end}
.live-player.ladder-player:not(.mobile-play):not(.expanded){width:min(100%,438px);margin-inline:auto}
.live-player.ladder-player:not(.mobile-play):not(.expanded) iframe{height:min(800px,max(420px,100dvh - 260px));min-height:0}
