/* FOOTPV 3.6.2 — mobile layout, shared across both themes. */
body.fp-design main#main [data-fp12-albums] {min-width:0;max-width:100%;}
body.fp-design main#main [data-fp12-albums] .fp12-card {min-width:0;overflow-wrap:anywhere;}
body.fp-design main#main [data-fp12-albums] details {min-width:0;}
body.fp-design main#main [data-fp12-albums] .fp12-photo-grid {min-width:0;}
body.fp-design main#main .fp36-albums-link {display:inline-flex;margin-top:18px;min-height:44px;align-items:center;}
@media (max-width:820px) {
  html {scroll-padding-top:var(--fp36-header-height,88px);}
  html body.fp-design {padding-top:0!important;padding-bottom:0!important;overflow-x:clip;}
  html body.fp-design header#siteHeader.site-header {position:sticky!important;top:0!important;inset-inline:0!important;width:100%!important;height:auto!important;min-height:0!important;margin:0!important;transform:none!important;box-sizing:border-box;z-index:1000;overflow:visible!important;}
  html body.fp-design header#siteHeader .nav-wrap {width:100%!important;max-width:100%!important;min-height:64px!important;height:auto!important;padding:8px clamp(8px,2.7vw,18px)!important;box-sizing:border-box;gap:8px!important;}
  html[data-winter] body.fp-design header#siteHeader.site-header {padding-bottom:18px!important;}
  html[data-winter] body.fp-design header#siteHeader .winter-garland {position:absolute!important;top:auto!important;bottom:0!important;left:0!important;right:0!important;height:18px!important;max-height:18px!important;transform:none!important;pointer-events:none;overflow:hidden;}
  html body.fp-design main#main {margin-top:0!important;padding-top:0!important;min-width:0;max-width:100%;}
  html body.fp-design main#main > section:first-child:is(.page-hero,.v50-gallery-hero) {margin-top:0!important;}
  html body.fp-design main#main > section.page-hero {padding-block:clamp(24px,6vw,42px)!important;min-height:0!important;overflow:hidden;}
  html body.fp-design main#main > section.page-hero .page-hero-grid {grid-template-columns:minmax(0,1fr)!important;min-width:0;min-height:0!important;}
  html body.fp-design main#main > section.page-hero .page-hero-copy {min-width:0;max-width:100%;position:relative!important;z-index:2;}
  html body.fp-design main#main > section.page-hero .page-hero-copy h1 {font-size:clamp(28px,8.5vw,46px)!important;line-height:1.10!important;white-space:normal!important;overflow-wrap:break-word;max-width:100%;margin-block:10px 14px!important;}
  html body.fp-design main#main > section.page-hero .page-hero-copy h1 {text-wrap:balance;hyphens:none;word-break:normal!important;}
  html body.fp-design main#main > section.page-hero .page-hero-copy h1 :is(span,em,strong,b,mark,i){display:inline!important;white-space:normal!important;word-break:keep-all;}

  html body.fp-design main#main > section.page-hero .page-hero-copy > p {font-size:16px!important;line-height:1.55!important;overflow-wrap:break-word;}
  html[data-winter] body.fp-design main#main > section.page-hero::after {opacity:.22!important;pointer-events:none;}
  html body.fp-design main#main :is(.page-hero-copy,.fp12-card,.editorial-grid,.form-card,.application-wrap) {min-width:0;max-width:100%;box-sizing:border-box;}
  html body.fp-design main#main :is(.section-title,.v4-hand-title,.v41-section-title) {overflow-wrap:break-word;white-space:normal;}
  html body.fp-design main#main .fp12-photo-grid {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px;}
  html body.fp-design main#main [data-fp12-albums] {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px;}
  html body.fp-design main#main .fp12-photo-grid>a {min-width:0;max-width:100%;}
  html body.fp-design main#main .fp12-photo-grid>a>img {width:100%;height:auto;aspect-ratio:4/3;object-fit:cover!important;}
  html body.fp-design main#main .fp30-form :is(input:not([type=checkbox]),select,textarea) {font-size:16px!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;}
  html body.fp-design main#main .fp30-form input[type=date] {appearance:auto!important;-webkit-appearance:auto!important;min-height:48px;color-scheme:light;}
  html body.fp-design main#main .fp30-form .fp36-date-hint {font-size:12px;line-height:1.4;color:#466379;}
  html body.fp-design main#main .fp30-form .fp30-grid {grid-template-columns:minmax(0,1fr)!important;}
  html body.fp-design main#main .fp30-form .fp30-section {padding:clamp(12px,3vw,18px)!important;}
  html body.fp-design .quick-dock {position:fixed!important;bottom:calc(10px + env(safe-area-inset-bottom,0px))!important;right:10px!important;left:auto!important;max-width:calc(100% - 76px)!important;display:flex;gap:4px!important;padding:5px!important;box-sizing:border-box;z-index:950;}
  html body.fp-design .quick-dock :is(a,button) {min-height:44px!important;height:44px!important;min-width:44px!important;padding:0 10px!important;white-space:nowrap;box-sizing:border-box;}
  html body.fp-design .quick-dock .quick-dock-primary {font-size:13px!important;}
  html body.fp-design .game-floating {bottom:calc(12px + env(safe-area-inset-bottom,0px))!important;left:10px!important;right:auto!important;width:46px!important;height:46px!important;max-width:46px!important;min-width:0!important;z-index:950;}
  html body.fp-design:is(.page-apply,.page-career,.page-letter) :is(.quick-dock,.game-floating) {display:none!important;}
  html body.fp-design footer.site-footer {margin-bottom:0!important;padding-bottom:calc(90px + env(safe-area-inset-bottom,0px))!important;}
  html body.fp-design:is(.page-apply,.page-career,.page-letter) footer.site-footer {padding-bottom:calc(30px + env(safe-area-inset-bottom,0px))!important;}
  html body.fp-design footer.site-footer .foot-bottom {overflow-wrap:anywhere;}
  html body.fp-design .fp-ux-dialog {max-width:100%;height:100dvh;max-height:100dvh;padding-bottom:env(safe-area-inset-bottom,0px);}
}
@media(max-width:360px) {
  html body.fp-design header#siteHeader .nav-wrap {gap:5px!important;}
  html body.fp-design .quick-dock :is(a,button) {padding-inline:7px!important;}
}
@media (prefers-reduced-motion:reduce) {
  html {scroll-behavior:auto!important;}
}

/* Compact single-action snowflake, no visible modal or game launcher. */
html body.fp-design .game-floating,html body.fp-design [data-footpv-secret],html body.fp-design #winter-dialog,html body.fp-design .winter-trigger:not(.fp362-winter-button){display:none!important;visibility:hidden!important;pointer-events:none!important}
html body.fp-design header#siteHeader .nav-wrap > button.fp362-winter-button{display:inline-flex!important;position:static!important;align-items:center;justify-content:center;flex:0 0 44px!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;max-width:44px!important;margin:0!important;padding:0!important;border:0!important;border-radius:10px!important;box-shadow:none!important;background:transparent!important;color:#c1d9e8!important;transform:none!important;cursor:pointer;line-height:1!important;transition:color .18s,background-color .18s}
html body.fp-design header#siteHeader .fp362-winter-button svg{width:21px!important;height:21px!important;display:block;flex:none;stroke:currentColor;fill:none;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
html[data-winter] body.fp-design header#siteHeader .nav-wrap > button.fp362-winter-button{color:#ffe09a!important}
html body.fp-design header#siteHeader .fp362-winter-button:focus-visible{outline:2px solid #8ce5ff;outline-offset:1px}
@media (hover:hover){html body.fp-design header#siteHeader .nav-wrap > button.fp362-winter-button:hover{background:#ffffff12!important}}
@media(max-width:820px){html body.fp-design .quick-dock{max-width:calc(100% - 20px)!important}}
@media(prefers-reduced-motion:reduce){html body.fp-design header#siteHeader .fp362-winter-button{transition:none!important}}
/* Semantic contrast: do not recolor every span or every dark/light section by viewport. */
html body.fp-design main .cta-band .eyebrow{color:#8ce5ff!important}
html body.fp-design main .cta-band .eyebrow::before{background-color:currentColor!important}
html body.fp-design main .cta-band h2{color:#f5fbff!important}
html body.fp-design main .cta-band h2>span{color:#75e5ff!important}
html body.fp-design main .cta-band .body-copy{color:#d5e8f2!important}
html body.fp-design main .cta-band .btn-cyan{color:#082337!important}
@media(max-width:820px){html body.fp-design main .cta-band h2{font-size:clamp(30px,8.5vw,46px)!important;line-height:1.08!important;text-wrap:balance;overflow-wrap:break-word}html body.fp-design main .cta-band h2>span{display:inline!important;white-space:normal!important}}

/* Final contrast corrections follow the section background, not the screen width. */
html {color-scheme:only light;}
html body.fp-design main .cta-band .eyebrow{color:#8ce5ff!important;-webkit-text-fill-color:#8ce5ff!important;}
html body.fp-design main .cta-band h2{color:#f5fbff!important;-webkit-text-fill-color:#f5fbff!important;}
html body.fp-design main .cta-band h2>span{color:#75e5ff!important;-webkit-text-fill-color:#75e5ff!important;}
html body.fp-design main .cta-band .body-copy{color:#d5e8f2!important;-webkit-text-fill-color:#d5e8f2!important;}
html body.fp-design main .cta-band .btn-cyan,html body.fp-design main .cta-band .btn-cyan span{color:#082337!important;-webkit-text-fill-color:#082337!important;}
html[data-winter] body.fp-design main#main > .page-hero .page-hero-copy :is(h1,p,.breadcrumb,.breadcrumb a){color:#f3fbff!important;-webkit-text-fill-color:#f3fbff!important;}
html[data-winter] body.fp-design main#main > .page-hero .page-hero-copy .eyebrow{color:#8ce5ff!important;-webkit-text-fill-color:#8ce5ff!important;}
html[data-winter] body.fp-design main#main > .page-hero .page-hero-copy h1 :is(span,em){color:#8ce5ff!important;-webkit-text-fill-color:#8ce5ff!important;}
html body.fp-design [data-fp362-duplicate-route]{display:none!important;}
html body.fp-design main :is(.fp-res-actions,.fp-yandex-detail-actions){flex-wrap:wrap;min-width:0;}
html body.fp-design main :is(.fp-res-actions,.fp-yandex-detail-actions)>a{white-space:normal;overflow-wrap:break-word;min-width:0;max-width:100%;box-sizing:border-box;}
@media(max-width:820px){
 html:has(body.fp-design footer.site-footer){background:var(--fp362-footer-color,#0c2330)!important;}
 html body.fp-design footer.site-footer{box-sizing:border-box;}
 html body.fp-design .quick-dock{width:auto!important;max-width:calc(100% - 20px)!important;}
 html body.fp-design main :is(.page-hero-action,.cta-band .btn){white-space:normal!important;max-width:100%;box-sizing:border-box;}
 html body.fp-design main :is(.fp-ux-panel,.fp12-card,.fp-res-actions,.fp-yandex-detail-actions) a{overflow-wrap:break-word;}
 html body.fp-design .winter-garland,html body.fp-design .winter-trim{pointer-events:none!important;}
}
