/* One loading presentation and rider source for battle, editor and distribution setup. */
html[data-rider="1"]{--td-loading-rider:url("assets/loading/rider-1.webp")}
html[data-rider="2"]{--td-loading-rider:url("assets/loading/rider-2.webp")}
html[data-rider="3"]{--td-loading-rider:url("assets/loading/rider-3.webp")}
html[data-rider="4"]{--td-loading-rider:url("assets/loading/rider-4.webp")}
html[data-startup] body{visibility:hidden}
html[data-startup="loading"] body{opacity:0;pointer-events:none}
html[data-startup]::after{content:var(--i18n-startup,"게임 준비 중…");position:fixed;inset:0;display:grid;place-items:center;background-color:#08111a;color:#dbe8ef;font:16px sans-serif;z-index:1}
html[data-startup="loading"]::after,.release-rider{background-image:var(--td-loading-rider,none);background-repeat:no-repeat;background-size:150px 150px}
html[data-startup="loading"]::after{background-position:center calc(50% - 104px)}
html[data-startup="error"]::after{content:var(--i18n-startup-error,"게임을 준비하지 못했습니다. 새로고침해 주세요.")}
html[data-startup]::before,.release-tip::before{content:attr(data-tip-topic) "\A" attr(data-tip);white-space:pre-line;text-align:center;color:#b9cfdc;font:15px/1.75 sans-serif;pointer-events:none}
html[data-startup]::before{position:fixed;left:50%;top:calc(50% + 26px);z-index:2;transform:translateX(-50%);width:min(640px,86vw)}
html[data-startup="error"]::before{content:none}
html[data-startup="error"] #startupError{visibility:visible;position:fixed;inset:40% 10% auto;z-index:2147483647;padding:20px;background:#102b3d;color:white}
#releasePreparation{position:fixed;inset:0;z-index:100000;background:#08111a;color:#dbe8ef;display:grid;place-items:center;overflow:auto;padding:24px;font:16px/1.5 system-ui,sans-serif;box-sizing:border-box}
#releasePreparation .release-panel{width:min(100%,640px);display:grid;justify-items:center;gap:10px;text-align:center}
#releasePreparation p{margin:0}
#releasePreparation .release-rider{width:150px;height:150px;background-position:center}
#releasePreparation .release-intro{font-size:clamp(16px,3.5vw,20px);font-weight:650;color:#edf5fa}
#releasePreparation .release-phase{font-weight:600}
#releasePreparation progress{width:min(440px,100%);height:9px;appearance:none;border:0;border-radius:8px;overflow:hidden;background:#24394a;accent-color:#c9a35a}
#releasePreparation progress::-webkit-progress-bar{background:#24394a}
#releasePreparation progress::-webkit-progress-value{background:#c9a35a}
#releasePreparation progress::-moz-progress-bar{background:#c9a35a}
#releasePreparation .release-transfer,#releasePreparation .release-eta{font-size:13px;color:#b9cfdc;font-variant-numeric:tabular-nums}
#releasePreparation .release-tip{min-height:74px;max-width:100%;margin:6px 0 8px}
#releasePreparation button,#releasePreparation a{font:inherit;font-size:14px;color:#e5d3ad;background:#102331;border:1px solid #776342;border-radius:6px;padding:9px 18px;cursor:pointer;text-decoration:none}
#releasePreparation button:disabled{opacity:.55;cursor:default}
#releasePreparation [hidden],#releasePreparation[data-loading="false"] .release-rider,#releasePreparation[data-loading="false"] .release-intro,#releasePreparation[data-loading="false"] progress,#releasePreparation[data-loading="false"] .release-transfer,#releasePreparation[data-loading="false"] .release-eta,#releasePreparation[data-loading="false"] .release-tip{display:none!important}
