/* Compact header, keeping the original artwork. */
@media(min-width:770px){body{background-position:center -90px,center bottom}.wrapper > .header{height:540px}.header .logo{bottom:130px}}
.topPanel .site-auth-link {display:inline-flex;align-items:center;justify-content:center;min-height:40px;min-width:90px;padding:9px 18px;border:1px solid #654332;border-radius:2px;background:rgba(73,34,23,.18);color:#d5bfa0;font-size:14px;line-height:1.5;text-transform:uppercase;text-decoration:none}
.topPanel .site-auth-link:hover {background:#321710;color:#ffe0a4;border-color:#a16c42}
.header .hero-download {position:absolute;left:170px;bottom:57px;z-index:4;display:inline-flex;align-items:center;justify-content:center;gap:12px;min-width:190px;min-height:48px;padding:12px 24px;border:1px solid #bc7644;border-radius:2px;background:linear-gradient(#8e3523,#58170f);box-shadow:0 3px 18px rgba(99,20,8,.55),inset 0 1px 0 rgba(255,212,143,.15);color:#ffe1aa;font-size:17px;font-weight:bold;line-height:1.4;text-transform:uppercase;text-decoration:none}
.header .hero-download:hover {background:linear-gradient(#a4482c,#71251a);color:#fff2d6}
.header .hero-download:focus-visible,.topPanel .site-auth-link:focus-visible {outline:2px solid #edbd77;outline-offset:4px}
@media(min-width:770px) and (max-width:993px){.header .logo{left:10px;width:55%}.header .hero-download{left:140px}.topPanel-wrapper{flex-wrap:nowrap}.menu li a{padding-left:8px;padding-right:8px}}
@media(max-width:769px){.wrapper > .header{height:265px}.header .hero-download{left:50%;transform:translateX(-50%);bottom:17px;min-height:40px;min-width:160px;padding:9px 18px;font-size:14px}.topPanel .site-auth-link{min-width:82px;min-height:36px;padding:7px 14px;font-size:13px}}
/* Main page scrollbar, leaving embedded panels independent. */
html {scrollbar-color:#8b6340 #100d0b}
html::-webkit-scrollbar {width:12px;height:12px}
html::-webkit-scrollbar-track {background:#100d0b}
html::-webkit-scrollbar-thumb {min-height:44px;border:3px solid #100d0b;border-radius:8px;background:#8b6340}
html::-webkit-scrollbar-thumb:hover {background:#b88b52}
html::-webkit-scrollbar-corner {background:#100d0b}
@media(forced-colors:active){html{scrollbar-color:auto}}
/* Shared request indicator. Display remains controlled by App.showLoader(). */
#loading {box-sizing:border-box;display:none;position:fixed;top:92px;left:50%;transform:translateX(-50%);z-index:1000;max-width:calc(100vw - 24px);padding:11px 18px;border:1px solid #95663d;border-radius:3px;background:linear-gradient(135deg,#2b1b13,#140e0b);box-shadow:0 4px 16px rgba(0,0,0,.4),inset 0 1px 0 rgba(239,193,117,.08);color:#edc992;font-family:Calibri,'Segoe UI',Arial,sans-serif;font-size:14px;line-height:20px;white-space:nowrap;pointer-events:none}
#loading .site-loading-spinner {box-sizing:border-box;display:inline-block;width:16px;height:16px;margin-right:10px;vertical-align:-3px;border:2px solid #60442d;border-top-color:#edc992;border-right-color:#b78b52;border-radius:50%;animation:site-loading-spin .8s linear infinite}
@keyframes site-loading-spin {to{transform:rotate(360deg)}}
@media(max-width:769px){#loading{top:72px;padding:9px 15px;font-size:13px}}
@media(prefers-reduced-motion:reduce){#loading .site-loading-spinner{animation:none;border-color:#b78b52;border-top-color:#edc992}}
