:root { font-family: 'Golos Text', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif; color: #191D49; background: #EEF0FF; font-synthesis: none; -webkit-font-smoothing: antialiased; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 3px solid #3549FF; outline-offset: 5px; }
.header { display: flex; align-items: center; justify-content: space-between; padding: 30px 44px; }
.header a { display: inline-flex; border-radius: 4px; }
.header img { height: 32px; width: auto; }
.public-resources { position: relative; z-index: 10; font-size: 13px; color: #3549FF; }
.public-resources summary { cursor: pointer; padding: 10px 16px; border: 1px solid #C7CDFF; border-radius: 24px; background: white; }
.public-resources a { position: absolute; right: 0; top: 48px; display: flex; flex-direction: column; gap: 6px; min-width: 190px; padding: 16px; background: white; border: 1px solid #C7CDFF; border-radius: 12px; color: #3549FF; text-decoration: none; box-shadow: 0 10px 28px #151C8C14; }
.public-resources span { font-size: 11px; color: #656A96; }
.header-note { color: #656A96; font-size: 12px; font-weight: 500; }
main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 8px 24px 46px; text-align: center; }
.scene { width: min(390px, 100%); margin-bottom: 19px; }
.scene svg { display: block; width: 100%; overflow: visible; }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid #D8DEFC; border-radius: 99px; background: #FFFFFF80; color: #4A4E8F; font-size: 11px; font-weight: 600; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #429463; box-shadow: 0 0 0 3px #CCF69F80; }
h1 { margin: 20px 0 15px; font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; letter-spacing: -2.7px; line-height: 1.12; }
h1 span { color: #3549FF; }
h1 .wordmark { letter-spacing: -0.055em; }
.intro { margin: 0; color: #656A96; font-size: 15px; font-weight: 400; line-height: 1.8; }
.waiting { display: flex; align-items: center; gap: 10px; margin: 30px 0 0; color: #4A4E8F; font-size: 11px; font-weight: 500; }
.waiting-dots { display: flex; gap: 4px; }
.waiting-dots i { width: 4px; height: 4px; border-radius: 50%; background: #3549FF; animation: wait 1.8s ease-in-out infinite; }
.waiting-dots i:nth-child(2) { animation-delay: .2s; }
.waiting-dots i:nth-child(3) { animation-delay: .4s; }
footer { display: flex; justify-content: flex-end; align-items: center; gap: 18px; padding: 22px 44px 28px; color: #656A96; font-size: 11px; }
.private-link { border: 0; background: none; color: #4A4E8F; display: flex; align-items: center; gap: 6px; padding: 10px 0 10px 10px; font-size: 11px; font-weight: 500; }
.private-link:hover { color: #3549FF; }
.guide-link { color: #4A4E8F; text-decoration: none; padding: 10px 0; font-size: 11px; font-weight: 500; }
.guide-link:hover { color: #3549FF; }
.roof-lift { animation: roof-lift 6s ease-in-out infinite; transform-origin: 231px 60px; }
.cloud-one { animation: cloud-drift 9s ease-in-out infinite alternate; }
.cloud-two { animation: cloud-drift 12s ease-in-out -4s infinite alternate-reverse; }
.building-eyes { transform-origin: 220px 174px; animation: blink 6s ease-in-out infinite; }
.window-glow { animation: window-glow 5s ease-in-out infinite alternate; }
.little-tree { transform-origin: 68px 264px; animation: tree-sway 5s ease-in-out infinite alternate; }
@keyframes roof-lift { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(10px) rotate(2deg); } }
@keyframes cloud-drift { to { transform: translateX(14px); } }
@keyframes blink { 0%, 42%, 46%, 100% { transform: scaleY(1); } 44% { transform: scaleY(.12); } }
@keyframes window-glow { from { opacity: .65; } to { opacity: 1; } }
@keyframes tree-sway { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }
@keyframes wait { 0%, 70%, 100% { opacity: .35; transform: translateY(0); } 35% { opacity: 1; transform: translateY(-3px); } }
dialog { width: min(420px, calc(100% - 32px)); max-height: calc(100svh - 40px); overflow: auto; border: 1px solid #E3E6FF; border-radius: 28px; padding: 32px; color: #191D49; background: #FFF; box-shadow: 0 24px 100px #151C8C20; }
dialog::backdrop { background: #20265042; backdrop-filter: blur(5px); }
.close-button { position: absolute; right: 18px; top: 14px; width: 34px; height: 34px; border: 0; border-radius: 50%; font-size: 26px; line-height: 1; background: #EEF0FF; color: #4A4E8F; }
.dialog-brand { display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; background: #EEF0FF; border-radius: 18px; margin-bottom: 22px; }
.dialog-brand img { object-fit: contain; }
h2 { font-size: 23px; line-height: 1.3; font-weight: 800; letter-spacing: -.7px; margin: 0 0 8px; }
#signin-description { font-size: 13px; line-height: 1.6; color: #656A96; margin: 0 0 26px; }
label { display: block; font-size: 12px; font-weight: 600; margin: 18px 0 8px; }
input { width: 100%; min-width: 0; height: 46px; border: 1px solid #C7CDFF; border-radius: 12px; background: #FFF; color: #191D49; padding: 0 13px; font-size: 16px; }
input:focus { outline: 3px solid #3549FF22; border-color: #3549FF; }
.password-field { position: relative; }
.password-field input { padding-right: 66px; }
.password-field button { position: absolute; right: 8px; top: 7px; padding: 8px; border: 0; border-radius: 7px; background: none; font-size: 11px; font-weight: 600; color: #4A4E8F; }
.submit-button { width: 100%; display: flex; justify-content: center; align-items: center; gap: 14px; border: 0; border-radius: 12px; background: #3549FF; color: #FFF; height: 47px; margin-top: 22px; font-size: 13px; font-weight: 600; transition: background .2s; }
.submit-button span { font-size: 20px; }
.submit-button:hover { background: #2233D6; }
.submit-button:disabled { opacity: .6; cursor: wait; }
#signin-error { color: #AF303F; font-size: 12px; line-height: 1.6; margin: 15px 0 0; }
.private-note { text-align: center; color: #656A96; font-size: 10px; margin: 20px 0 0; }
.noscript-note { text-align: center; color: #656A96; font-size: 12px; }
@media (max-width: 600px) {
  .header { padding: 23px 24px; }
  .header img { height: 27px; }
  .header-note { font-size: 10px; }
  main { padding: 20px 20px 38px; }
  .scene { max-width: 320px; margin-bottom: 20px; }
  h1 { letter-spacing: -1.6px; margin-top: 20px; }
  .intro { font-size: 13px; }
  .waiting { font-size: 10px; margin-top: 26px; }
  footer { padding: 12px 24px 21px; font-size: 10px; }
  .private-link { font-size: 10px; }
}
@media (max-width: 359px) { .header-note { display: none; } h1 { font-size: 30px; } footer { padding-inline: 18px; gap: 10px; } dialog { padding: 28px 24px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
