
/* Focused refinements for homepage, account and puzzle. */
.dsx-art-caption{font-size:.72rem;letter-spacing:.18em;color:#9eafc9}.home-account-links{width:100%;max-width:520px;border:1px solid #354767;border-radius:24px;background:linear-gradient(145deg,#1b2a43cc,#101c30ee);padding:28px}.home-account-label{font-size:.72rem!important;letter-spacing:.16em;text-transform:uppercase;color:#91a8cf!important;margin:0 0 15px!important}.home-account-link{display:flex;align-items:center;gap:17px;padding:21px 0;color:#ecf2ff;text-decoration:none;border-top:1px solid #344561;transition:color .15s}.home-account-link:hover{color:#acccff}.home-account-icon{display:grid;place-items:center;width:49px;height:49px;flex:0 0 49px;background:#263b5b;border:1px solid #415a7c;border-radius:14px;color:#b8d1ff}.home-account-icon svg{width:25px;height:25px}.home-account-link strong{display:block;font-size:1rem}.home-account-link small{display:block;font-size:.82rem;color:#9cafcc;line-height:1.6;margin-top:5px}.home-account-arrow{margin-left:auto;color:#a9c8ff;font-size:21px}.id-side-label{letter-spacing:.06em;font-size:.76rem;text-transform:uppercase}.id-security-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:stretch}.id-security-grid>.id-card{min-width:0;height:100%;box-sizing:border-box;padding:25px;display:flex;flex-direction:column}.id-security-grid .id-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.id-security-grid .id-card-heading>div{min-width:0}.id-security-grid .id-status-good,.id-security-grid .id-status-neutral{flex-shrink:0;white-space:nowrap}.id-security-grid input{width:100%;min-width:0;box-sizing:border-box}.id-security-grid .id-connection-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.id-security-grid .id-connection-info{min-width:90px;flex:1}.id-security-grid .id-inline-form{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;max-width:100%}.id-security-grid .id-inline-otp{max-width:110px}.id-security-grid .id-meta{margin-top:20px}.id-security-grid .id-connection-logo{flex:0 0 38px;display:grid;place-items:center}.id-connection-logo svg{width:32px;height:32px}.id-card p strong{overflow-wrap:anywhere}
.id-auth-layout .id-provider-yandex{display:flex;align-items:center;justify-content:center;gap:12px;min-height:54px!important;border:1px solid #4a586d;background:#f5f6f8;color:#19202a!important;border-radius:12px;font-size:.94rem!important;font-weight:650;box-shadow:0 3px 12px #0002}.id-auth-layout .id-provider-yandex:hover{background:#fff;border-color:#fff}.id-auth-layout .id-yandex-mark{display:grid;place-items:center;width:32px;height:32px;background:none;border-radius:10px;flex-shrink:0}.id-yandex-mark svg{display:block;width:32px;height:32px}
dialog.dsx-puzzle-dialog{border-radius:22px;padding:18px 22px 24px;background:linear-gradient(155deg,#1b2a40,#101a2b);width:410px}.dsx-puzzle-toolbar{margin-bottom:13px}.dsx-puzzle-dialog .dsx-puzzle-heading{margin-bottom:14px}.dsx-puzzle-dialog .dsx-puzzle-heading strong{font-size:1.05rem;color:#edf4ff}.dsx-puzzle-picture{border-radius:12px;border:1px solid #516485;box-sizing:border-box}.dsx-puzzle-dialog .dsx-puzzle-slider{gap:9px;margin-top:18px;font-size:.82rem}.id-form .dsx-puzzle-slider input[type=range]{appearance:none;-webkit-appearance:none;display:block;width:100%;height:48px!important;min-height:48px!important;padding:0!important;border:1px solid #425a7c!important;border-radius:13px;background:linear-gradient(90deg,#2b4467,#1a2b43)!important;box-shadow:inset 0 1px 5px #0003;touch-action:pan-y}.dsx-puzzle-slider input[type=range]::-webkit-slider-runnable-track{height:46px;border-radius:12px;background:transparent}.dsx-puzzle-slider input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:49px;height:46px;border:0;border-radius:11px;background:#b5c9ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23273c63' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") center/22px no-repeat;box-shadow:2px 0 9px #0003;cursor:grab}.dsx-puzzle-slider input[type=range]::-moz-range-track{height:46px;background:transparent}.dsx-puzzle-slider input[type=range]::-moz-range-thumb{width:47px;height:44px;border:0;border-radius:11px;background:#b5c9ff;cursor:grab}.dsx-puzzle-slider input[type=range]:focus-visible{outline:2px solid #9adfff;outline-offset:4px}.dsx-puzzle-slider input[type=range]:disabled{opacity:.6}.dsx-puzzle-status{min-height:24px;padding-top:4px}
@media(max-width:780px){.id-security-grid{grid-template-columns:1fr}.id-security-grid>.id-card{height:auto}.home-account-links{max-width:none;padding:21px}.home-account-link{gap:12px;padding:18px 0}.home-account-icon{width:42px;height:42px;flex-basis:42px}.home-account-link small{font-size:.77rem}.id-security-grid .id-card-heading{flex-wrap:wrap}.id-security-grid>.id-card{padding:22px}}

.id-content .id-compact-heading{margin:0 0 22px;padding:0;min-height:0}.id-content .id-compact-heading h1{font-size:clamp(1.35rem,2.4vw,1.7rem);line-height:1.3;letter-spacing:-.03em;margin:0}.id-side .id-side-label{text-align:center;padding-inline:4px}



/* Keep partial logo rasterization out of the first paint. Preserve image dimensions. */
@media(scripting:enabled){
img[src*="dsx-logo"]:not(.dsx-logo-ready){opacity:0;visibility:hidden;animation:dsx-logo-safety 12s step-end forwards}
img[src*="dsx-logo"].dsx-logo-ready{opacity:1;visibility:visible;transition:opacity .2s ease}
@keyframes dsx-logo-safety{to{opacity:1;visibility:visible}}
@media(prefers-reduced-motion:reduce){img[src*="dsx-logo"].dsx-logo-ready{transition:none}}
}

/* Lightweight first-paint cover. Disabled when scripting is unavailable. */
@media(scripting:enabled){
body.home-page:has(.s-header)::before{content:'Загрузка данных';position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;box-sizing:border-box;padding:100px 24px 0;padding-left:max(24px,env(safe-area-inset-left));padding-right:max(24px,env(safe-area-inset-right));font:600 clamp(15px,3.8vw,18px)/1.5 'Segoe UI',Arial,sans-serif;letter-spacing:.02em;color:#e3eaff;text-align:center;background:rgba(9,15,27,.86);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);pointer-events:auto;opacity:1;transition:opacity .25s ease;animation:dsx-loader-failsafe 20s step-end forwards}
body.home-page:has(.s-header)::after{content:'';position:fixed;left:50%;top:calc(50% - 27px);width:46px;height:46px;margin:-23px 0 0 -23px;box-sizing:border-box;border:3px solid #9db6ff22;border-top-color:#b5c8ff;border-right-color:#7d9fff;border-radius:50%;z-index:2147483001;pointer-events:none;box-shadow:0 0 24px #7d9fff14;opacity:1;transition:opacity .25s ease;animation:dsx-loader-spin .85s linear infinite,dsx-loader-failsafe 20s step-end forwards}
html.dsx-home-ready body.home-page:has(.s-header)::before,html.dsx-home-ready body.home-page:has(.s-header)::after{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .25s ease,visibility 0s .25s}
@keyframes dsx-loader-spin{to{transform:rotate(360deg)}}
@keyframes dsx-loader-failsafe{to{opacity:0;visibility:hidden;pointer-events:none}}
@media(max-width:600px){body.home-page:has(.s-header)::before{backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}body.home-page:has(.s-header)::after{width:40px;height:40px;margin-left:-20px;margin-top:-20px}}
@media(prefers-reduced-motion:reduce){body.home-page:has(.s-header)::after{animation:dsx-loader-failsafe 20s step-end forwards}body.home-page:has(.s-header)::before{transition:none}}
}

/* Hero text entrance begins after the real homepage loader has finished. */
html.dsx-scenes-ready body.home-page.dsx-cinematic #home .dsx-stage-text.dsx-stage-animate{opacity:1;transform:none;transition:none}
@media(scripting:enabled) and (prefers-reduced-motion:no-preference){
html:not(.dsx-home-ready) body.home-page #home .dsx-stage-text>h1,
html:not(.dsx-home-ready) body.home-page #home .dsx-stage-text>p,
html:not(.dsx-home-ready) body.home-page #home .dsx-stage-actions>a{opacity:0;animation:dsx-text-failsafe 20s step-end forwards}
html.dsx-home-ready body.home-page #home .dsx-stage-text>h1,
html.dsx-home-ready body.home-page #home .dsx-stage-text>p,
html.dsx-home-ready body.home-page #home .dsx-stage-actions>a{animation:dsx-text-enter .65s cubic-bezier(.22,.75,.25,1) both;animation-delay:.25s}
html.dsx-home-ready body.home-page #home .dsx-stage-text>p{animation-delay:.36s}
html.dsx-home-ready body.home-page #home .dsx-stage-actions>a:first-child{animation-delay:.47s}
html.dsx-home-ready body.home-page #home .dsx-stage-actions>a:nth-child(2){animation-delay:.55s}
@keyframes dsx-text-enter{from{opacity:0;transform:translate3d(-26px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@keyframes dsx-text-failsafe{to{opacity:1;transform:none}}
@media(max-width:600px){
html.dsx-home-ready body.home-page #home .dsx-stage-text>h1,
html.dsx-home-ready body.home-page #home .dsx-stage-text>p,
html.dsx-home-ready body.home-page #home .dsx-stage-actions>a{animation-name:dsx-text-enter-mobile;animation-duration:.5s}
@keyframes dsx-text-enter-mobile{from{opacity:0;transform:translate3d(-14px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}
}
}
