:root {
  --text: #f3f5f7;
  --muted: rgba(235, 240, 245, .58);
  --line: rgba(255, 255, 255, .13);
  --panel: rgba(7, 11, 15, .67);
  --green: #64dd91;
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; background: #05080b; }
body { font-family: "Segoe UI", Arial, Helvetica, sans-serif; color: var(--text); user-select: none; }

.screen { position: relative; width: 100vw; height: 100vh; min-width: 720px; min-height: 405px; overflow: hidden; isolation: isolate; background: #070b0f; }
.background { position: absolute; inset: 0; z-index: -4; background: url("assets/background.jpg") center center / cover no-repeat; transform: scale(1.012); filter: saturate(.58) brightness(.54) contrast(1.08); }
.shade { position: absolute; inset: 0; z-index: -3; background: linear-gradient(90deg, rgba(2,5,8,.74) 0%, rgba(3,6,9,.30) 35%, rgba(3,6,9,.18) 62%, rgba(2,5,8,.60) 100%), linear-gradient(180deg, rgba(2,5,8,.22) 0%, rgba(2,5,8,.02) 48%, rgba(2,5,8,.68) 100%); }
.grain { position: absolute; inset: 0; z-index: -2; opacity: .035; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E"); }

.brand { position: absolute; left: clamp(48px, 5vw, 92px); top: 50%; transform: translateY(-50%); width: min(37vw, 610px); overflow: visible; }
.brand__logo { display: block; width: clamp(360px, 23vw, 460px); height: auto; max-width: none; max-height: none; object-fit: contain; object-position: left center; overflow: visible; margin: 0 0 -42px -18px; filter: drop-shadow(0 5px 18px rgba(0,0,0,.28)); }
.brand h1 { margin: 0; font-size: clamp(34px, 3.3vw, 62px); line-height: .96; font-weight: 700; letter-spacing: .19em; white-space: nowrap; text-shadow: 0 3px 18px rgba(0,0,0,.42); }
.brand__sub { display: flex; align-items: center; gap: 20px; margin-top: 18px; width: min(420px, 31vw); }
.brand__sub span { flex: 1; height: 1px; background: rgba(255,255,255,.76); }
.brand__sub strong { font-size: clamp(12px, 1vw, 18px); font-weight: 500; letter-spacing: .52em; white-space: nowrap; color: rgba(255,255,255,.86); }

.staff { position: absolute; right: clamp(34px, 4vw, 76px); top: 50%; transform: translateY(-50%); width: clamp(280px, 19.5vw, 380px); padding: 25px 22px 20px; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; background: var(--panel); box-shadow: 0 22px 60px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.03); backdrop-filter: blur(11px); }
.staff__header { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; color: rgba(255,255,255,.86); font-size: 12px; font-weight: 650; letter-spacing: .24em; white-space: nowrap; }
.staff__header i { display: block; flex: 1; height: 1px; background: rgba(255,255,255,.18); }
.staff__list { border-top: 1px solid rgba(255,255,255,.08); }
.staff__row { min-height: 64px; display: grid; grid-template-columns: 46px 1fr 8px; align-items: center; gap: 13px; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 14px; color: rgba(255,255,255,.82); }
.staff__row:last-child { border-bottom: 0; }
.staff__row b { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 9px rgba(100,221,145,.22); }
.staff__icon { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.12); border-radius: 9px; background: rgba(255,255,255,.025); }
.staff__icon svg { width: 22px; height: 22px; fill: none; stroke: rgba(255,255,255,.88); stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.staff__row:first-child .staff__icon svg path:first-child { fill: rgba(255,255,255,.88); stroke: none; }

.loader { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px clamp(34px, 3.2vw, 62px) 24px; border-top: 1px solid rgba(255,255,255,.10); background: linear-gradient(180deg, rgba(4,8,12,.60), rgba(3,6,9,.90)); backdrop-filter: blur(7px); }
.loader__meta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 14px; color: rgba(255,255,255,.62); font-size: clamp(10px, .75vw, 13px); font-weight: 550; letter-spacing: .24em; }
.loader__status-wrap { display: flex; align-items: center; min-width: 0; gap: 13px; }
#status { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#percent { flex: none; color: rgba(255,255,255,.82); letter-spacing: .12em; }
.loader__spinner { width: 17px; height: 17px; flex: none; border-radius: 50%; border: 2px solid rgba(255,255,255,.18); border-top-color: rgba(255,255,255,.78); animation: spin .85s linear infinite; }
.loader__track { height: 4px; background: rgba(255,255,255,.10); border-radius: 10px; overflow: hidden; }
.loader__progress { width: 0%; height: 100%; border-radius: inherit; background: rgba(245,248,250,.92); box-shadow: 0 0 14px rgba(255,255,255,.22); transition: width .22s ease-out; }

@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1050px) {
  .brand { left: 42px; width: 43vw; }
  .brand__logo { width: 320px; margin: 0 0 -34px -14px; }
  .brand h1 { font-size: clamp(30px, 4.1vw, 46px); letter-spacing: .13em; }
  .staff { right: 30px; width: 290px; padding: 20px 17px 16px; }
  .staff__row { min-height: 56px; grid-template-columns: 40px 1fr 7px; font-size: 12px; }
  .staff__icon { width: 36px; height: 36px; }
}

@media (max-height: 650px) {
  .brand { top: 45%; }
  .brand__logo { width: 260px; height: auto; max-height: none; margin: 0 0 -28px -12px; }
  .staff { top: 45%; padding-top: 17px; padding-bottom: 12px; }
  .staff__row { min-height: 48px; }
  .staff__icon { width: 34px; height: 34px; }
  .loader { padding-top: 14px; padding-bottom: 16px; }
}
