/* Shared by the real startup/loading screens and the artwork review. */
#startupSplash,#startupSplashIntro,#startupSplashLogo,#loading,#loadArt{background-color:#071e1a}
#startupSplash .startup-splash-image{object-fit:contain}
#startupSplashIntro{opacity:1;transform:none}
#startupSplashBrand{z-index:6;background-color:#000}
#startupSplash.is-playing #startupSplashIntro{animation:legacyIntro 6s ease-out 3s both}
#startupSplash.is-playing #startupSplashLogo{animation:legacyHold 8.9s linear both}
@keyframes legacyIntro{from{opacity:0}18%,100%{opacity:1}}
@keyframes legacyHold{from,to{opacity:0;transform:none}}
#loadArt{background-color:#071e1a;background-size:contain}
#startupSplash::after,#loadArt::after{content:"";position:absolute;inset:10% 8%;pointer-events:none;z-index:3;opacity:.5;background:radial-gradient(ellipse at 12% 37%,#fff3b7 0 1px,transparent 3px),radial-gradient(ellipse at 32% 53%,#ffe6a1 0 1px,transparent 3px),radial-gradient(ellipse at 47% 25%,#fff5cc 0 1px,transparent 3px),radial-gradient(ellipse at 76% 55%,#ffe6a1 0 1px,transparent 3px);animation:legacyGlints 5s ease-in-out infinite alternate}
@keyframes legacyGlints{from{opacity:.12;transform:translateY(4px)}to{opacity:.65;transform:translateY(-5px)}}
#loadGage{height:6px;bottom:8%;border-radius:8px;background:#061c1b;box-shadow:0 0 0 1px #a6874599,0 0 20px #d5a74b22}
#loadFill{background:linear-gradient(90deg,#9a7033,#ecd396,#fff3cd);box-shadow:0 0 12px #e8c983}
#loadPct{bottom:11%;color:#f9e7bd;letter-spacing:2px}
#loadTip{bottom:3.5%;padding:0 4%;box-sizing:border-box;color:#ded9c9}
@media(prefers-reduced-motion:reduce){#startupSplash::after,#loadArt::after{animation:none}#startupSplash.is-playing #startupSplashIntro{animation:none;opacity:1}}
.legacy-footer{position:absolute;bottom:0;left:0;right:0;z-index:5;box-sizing:border-box;min-height:62px;padding:13px 4% max(13px,env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:center;gap:14px 30px;flex-wrap:wrap;background:rgba(12,12,16,.30);-webkit-backdrop-filter:blur(8px) saturate(1.15);backdrop-filter:blur(8px) saturate(1.15);border-top:1px solid rgba(255,255,255,.22);box-shadow:none;color:#fff3d6;text-shadow:0 1px 2px #000,0 0 8px rgba(0,0,0,.85);font:clamp(12px,1.15vw,16px) Tahoma,sans-serif;text-align:center;pointer-events:none}
.legacy-platforms{display:flex;align-items:center;gap:10px;white-space:nowrap}.legacy-platforms b{color:#fff0c8;font-weight:normal}.legacy-platforms i{color:#a98b50;font-style:normal}.legacy-social{line-height:1.6}.legacy-social b{color:#ffe6a3;letter-spacing:1px}
#loadGage{bottom:112px}#loadPct{bottom:130px}#loadTip{bottom:78px}
@media(max-width:850px){.legacy-footer{gap:5px;padding-top:9px;padding-bottom:9px;min-height:72px}.legacy-platforms,.legacy-social{width:100%;justify-content:center}#loadGage{bottom:121px}#loadPct{bottom:139px}#loadTip{bottom:87px}}

/* Bot button: moved off the bar's right ornament and given a jade + gold taiji icon. */
#classicNativeDock button[data-menu=bot]{left:418px!important;top:15px;width:28px;height:28px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='9.5' fill='%230b2a1a' stroke='%23e2c06e' stroke-width='1.6'/%3E%3Cpath d='M16 6.5a9.5 9.5 0 0 1 0 19a4.75 4.75 0 0 1 0-9.5a4.75 4.75 0 0 0 0-9.5z' fill='%23e2c06e'/%3E%3Ccircle cx='16' cy='11.25' r='1.5' fill='%230b2a1a'/%3E%3Ccircle cx='16' cy='20.75' r='1.5' fill='%23e2c06e'/%3E%3C/svg%3E") 50%/22px 22px no-repeat,radial-gradient(circle at 38% 32%,#2f6b45,#062012)!important;border:1px solid #7fe0ad!important;box-shadow:0 0 0 1px #0a1f12,0 0 6px #4fd08f66,0 1px 3px #0009!important}
#classicNativeDock button[data-menu=bot]:hover{filter:brightness(1.25)}

/* HUD skin: Scions-of-Fate style bar (steel-blue panels, navy scroll interior, cream-gold rail). Same geometry as the original art. */
#bottomBar{background:url("/ui/bar_bg.png?rev=JSH-J1GytF31mhcAGT0WytGusCppuRRGtRpVBL8GCxM") repeat-x 0 0/auto 53px!important}
#barLeft{background-image:url("/ui/bar_left.png?rev=V-YHsi3BZIQh5vzaVDp9FfU_Xc1gBf2gsyWN7TDJRMI")!important}
#barRight{background-image:url("/ui/bar_right.png?rev=Vyn7qc0RsAFi2q-Uqv4IMLjahOzKKimhaBxfiOrbUMw")!important}
#barCenter{width:124px!important;background-image:url("/ui/bar_center.png?rev=8P6uZMCbS69d8lOYlVJ_0S2DYjNINbupGnJKzGbgJuI")!important;image-rendering:auto!important}
#statusBox{background-image:url("/ui/status_box.png?rev=6xGYBOgEBS3jOytyYqkY5VExSzhZISV8kFxqBBqp1VA")!important}
#mmFrame{background-image:url("/ui/minimap_frame.png?rev=S5qk7IDZW0RBsqOYpgmXINOfL_Wo18BibVksGxd_s_Q")!important}
#chatTabs{background-image:url("/ui/chat_back.png?rev=eIwD7OLSWzQUA7HPbvz9F3x9OIFX8j2_xe6ff03mFPY")!important}
#chatInputWrap{background-image:url("/ui/chat_input.png?rev=p1pWo_3OulMfRD5s3JrsJFY4a2_dlo_n_xhNHZVjuus")!important}
@media(max-width:1060px){#barCenter{display:none}}

/* EXP line sits directly on the bar: the frame's empty top 9px is no longer painted, and the EXP track
   fills the 4px just above the slot borders (bar rows 5-8), so there is no gap between EXP and the bar. */
#bottomBar{box-sizing:border-box;padding-top:9px;background-clip:content-box!important}
html:not(.mobile-hud-on) #expTrack{bottom:44px}
html:not(.mobile-hud-on) #expTooltip{bottom:48px}

/* Chat window: green/gold buttons recoloured to the steel-blue HUD tone. */
#chatScrollUp{background-image:url("/ui/chat_scroll_up.png?rev=NhVcGlCx5KJ4r5U5aaJvSZtnweOjfJ46uuuydSQ1fd8")!important}
#chatScrollDown{background-image:url("/ui/chat_scroll_down.png?rev=LrlFwqODfjQiNP9r6nEZDtISuCeWJP2d-2RFs_UTNnA")!important}
#chatMenuToggle{background-image:url("/ui/chat_menu_open.png?rev=XACGU-8DRl7CFZXIwxPEFsOinDup2GiI4P3P68TOfik")!important}
#chatChannelMenu{background-image:url("/ui/chat_menu_expanded.png?rev=FjoMgniRR-o2-URRlE79LpYsP_dEpVTN0qXQkDSFTUk")!important}
#chatLanguageIcon{background-image:url("/ui/chat_language.png?rev=Fh7i5PgO4u6bJTyi_ac_6f-iq42nJQ2dcoL1tW4SHy8")!important}
#chatChannelButton[data-channel=general]{background-image:url("/ui/chat_channel_general.png?rev=LyTWmkKpPYKZKBt0FOo76vZ8tUstegVHqInIfb8_wiY")!important}
#chatChannelButton[data-channel=shout]{background-image:url("/ui/chat_channel_shout.png?rev=ilKj6b9zAuMSkko-aFYPvTuQtMkN794gF3x10Fxl-JI")!important}
#chatChannelButton[data-channel=clan]{background-image:url("/ui/chat_channel_clan.png?rev=oqV6YvktuLkYkDuUFUGRBKJU65BMNCEPlf-DOFNVpkU")!important}
#chatChannelButton[data-channel=party]{background-image:url("/ui/chat_channel_party.png?rev=Mj2WN0EZdG1SZq-MiFrDSXVNznZ8_w7knlrwhgKclNY")!important}
#chatChannelButton[data-channel=whisper]{background-image:url("/ui/chat_channel_whisper.png?rev=s0izE5L89BgSVVAKd_rwr0cUUeNapxVLpVEmmKa-oD4")!important}
#chatChannelButton[data-channel=trade]{background-image:url("/ui/chat_channel_trade.png?rev=aEVqS91-l6gsdWouh5m3Wkq4WvvamlA9jQgkrfOWYDM")!important}


/* Middle strip of the bottom bar: darker and see-through (the end pieces and logo stay solid). */
#bottomBar{background:none!important}
#bottomBar::before{content:"";position:absolute;left:0;right:0;top:9px;bottom:0;pointer-events:none;image-rendering:pixelated;
  background:linear-gradient(rgba(0,0,0,.5),rgba(0,0,0,.5)),url("/ui/bar_bg.png?rev=JSH-J1GytF31mhcAGT0WytGusCppuRRGtRpVBL8GCxM") repeat-x 0 -9px/auto 53px;opacity:.7}

/* Login splash: image 1 fades out by 1.15s, image 2 holds for 2s; click/tap or any key skips straight to login. */
#startupSplash{cursor:pointer}
#startupSplashBrand{opacity:1;transform:none}
#startupSplash.is-playing #startupSplashBrand{animation:legacyBrand 1.15s linear both!important}
@keyframes legacyBrand{0%,87%{opacity:1;transform:none}100%{opacity:0;transform:none}}
#startupSplash.is-playing #startupSplashIntro{animation:none!important;opacity:1}
#startupSplash.is-playing #startupSplashLogo{animation:legacyHold 3.15s linear both!important}
#startupSplash.is-skipped #startupSplashLogo{animation:legacyHold 1ms linear both!important}
#startupSplash.is-skipped #startupSplashBrand{animation:none!important;opacity:0}

/* Bottom bar centre emblem: classic Yulgang, transparent 124 x 53 artwork. */
#barCenter{background-image:url("/ui/bar_center.png?rev=8P6uZMCbS69d8lOYlVJ_0S2DYjNINbupGnJKzGbgJuI")!important;background-position:center!important;image-rendering:auto!important}

/* Preserve the supplied emblem aspect ratio and transparent edges. */
#barCenter{background-size:contain!important;background-repeat:no-repeat!important}
/* 1.4.029: loading screen without the green tone; frosted footer above, neutral letterbox around the artwork. */
#loading,#loadArt{background-color:#050506}
