/* New 1.6 state screens. Inner appearance follows БаннерHTMLЭкранаСостояния in 4ц. */
#rs-update-story{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;margin-top:32px;color:#17181a;text-align:left;font:14px/1.5 'Segoe UI',Arial,sans-serif;scroll-margin-top:110px}
#rs-update-story *,#rs-update-story *::before,#rs-update-story *::after{box-sizing:border-box}
#rs-update-story [hidden]{display:none!important}
#rs-update-story button{font:inherit;cursor:pointer}
#rs-update-story button:disabled{cursor:default}
#rs-update-story button:focus-visible{outline:2px solid #17181a;outline-offset:4px}
#rs-update-story .upd-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
#rs-update-story .upd-tabs{display:flex;gap:4px;flex-wrap:wrap}
#rs-update-story .upd-tabs button{border:1px solid transparent;border-radius:7px;padding:9px 13px;min-height:44px;background:transparent;color:#62666d;font-size:13px}
#rs-update-story .upd-tabs button[aria-selected=true]{background:#f1f2f4;color:#17181a;border-color:#dfe1e5;font-weight:600}
#rs-update-story .upd-play{padding:10px 14px;min-height:44px;border:0;border-radius:8px;background:#20242a;color:#fff;font-size:13px;font-weight:600}
#rs-update-story .upd-window{min-width:0;overflow:hidden;border:1px solid #d9dbe1;border-radius:14px;background:#fbfcfe;box-shadow:0 18px 45px -26px rgba(28,33,53,.25);color:#333;color-scheme:light}
#rs-update-story .upd-titlebar{display:flex;align-items:center;gap:10px;min-height:34px;padding:6px 17px;background:#fff0a7;color:#27251a;font-size:12px}
#rs-update-story .upd-titlebar strong{padding-right:10px;border-right:1px solid #c9b75d;color:#7a271a;white-space:nowrap}
#rs-update-story .upd-demo{margin-left:auto}
#rs-update-story .upd-content{display:grid;min-height:388px;padding:40px 24px;align-items:center}
#rs-update-story .upd-state{max-width:680px;margin:0 auto;text-align:center}
#rs-update-story .upd-symbol{width:64px;height:64px;display:grid;place-items:center;margin:0 auto;border-radius:50%;font-size:32px;line-height:1;font-weight:700}
#rs-update-story .upd-symbol--blue{background:#2f6fbf;color:#fff}
#rs-update-story .upd-symbol--green{background:#2f8a4e;color:#fff}
#rs-update-story .upd-symbol--yellow{background:#f5b400;color:#3a2a00}
#rs-update-story .upd-state h3{margin:18px 0 0;font:400 22px/1.3 'Segoe UI',Arial,sans-serif;color:#1d1d1d;letter-spacing:normal;text-wrap:wrap}
#rs-update-story .upd-state p{max-width:620px;margin:8px auto 0;color:#333;font:400 14px/1.5 'Segoe UI',Arial,sans-serif}
#rs-update-story .upd-actions{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px;margin-top:22px}
#rs-update-story .upd-primary{display:inline-block;padding:9px 26px;border:1px solid #d4a500;border-radius:3px;background:#ffd84d;color:#333;font-size:15px;font-weight:700;min-height:44px}
#rs-update-story .upd-link{padding:0;border:0;background:transparent;color:#1a5fb4;text-decoration:underline;text-underline-offset:2px}
#rs-update-story .upd-actions .upd-link{min-height:44px}
#rs-update-story .upd-state a{color:#1a5fb4;text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere}
#rs-update-story .upd-state .upd-contact{margin-top:26px;color:#444;font-size:13px}
#rs-update-story .upd-contact a:first-child{color:inherit;text-decoration:none}
#rs-update-story .upd-caption{margin:0;min-height:42px;color:#62666d;font-size:14px;line-height:1.5}
#rs-update-story[data-ready=false] .upd-controls{display:none}
#rs-update-story[data-playing=true][data-state=update] [data-action=install]{animation:upd-story-tap .7s ease 1.8s 1}
#rs-update-story[data-playing=true][data-state=installed] .upd-symbol{animation:upd-story-arrive .3s ease both}
@keyframes upd-story-tap{0%,100%{transform:scale(1)}50%{transform:scale(.96)}}
@keyframes upd-story-arrive{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:575px){#rs-update-story .upd-titlebar{padding-inline:10px;gap:6px}#rs-update-story .upd-titlebar>span:nth-child(2){display:none}#rs-update-story .upd-tabs{gap:2px}#rs-update-story .upd-tabs button{padding-inline:9px}#rs-update-story .upd-content{min-height:440px;padding:30px 16px}#rs-update-story .upd-state h3{font-size:20px}#rs-update-story .upd-actions{gap:9px}#rs-update-story .upd-caption{min-height:84px}}
@media(prefers-reduced-motion:reduce){#rs-update-story *,#rs-update-story *::before,#rs-update-story *::after{animation:none!important;transition:none!important}}
