/* Вразвитии · Focus unified mountain header · approved reference 06.11.2026.
   ONLY the mobile Focus header. All cards/timers/navigation remain unchanged.
   Same source mountain pixels: src vraz-mountains-exact-20261106.png.
   Feathering is embedded into vraz-mountains-soft-edge-20261106.png,
   so Safari WebKit does NOT depend on CSS mask-composite. */
@media(max-width:980px){
  body.vraz-ref-v6[data-nx-route="focus"] .app-shell .main-column{
    position:relative!important;
    isolation:isolate;
  }
  /* Extend the reference's warm sunrise sky upward and fade into the page.
     Decorative overlay only: no extra height or layout shift. */
  body.vraz-ref-v6[data-nx-route="focus"] .app-shell .main-column::before{
    content:"";
    display:block;
    position:absolute;
    top:-55px;
    left:0;
    right:0;
    width:100%;
    height:189px;
    z-index:0;
    pointer-events:none;
    background:
      radial-gradient(ellipse 75% 80% at 66% 48%,rgba(255,215,169,.24) 0%,rgba(254,230,207,.14) 39%,transparent 75%),
      linear-gradient(to bottom,rgba(255,233,217,.37) 0%,rgba(250,247,242,.04) 80%,transparent 100%);
  }
  body.vraz-ref-v6[data-nx-route="focus"] .v7-focus{
    position:relative!important;
    z-index:1!important;
    isolation:isolate!important;
  }
  /* Native ratio 558:159 is preserved. Soft edges are actual PNG alpha,
     preventing the hard horizontal rectangle from the previous release. */
  body.vraz-ref-v6[data-nx-route="focus"] .v7-focus::before{
    content:""!important;
    position:absolute!important;
    display:block!important;
    top:-9px!important;
    right:21px!important;
    left:auto!important;
    width:240px!important;
    height:68.4px!important;
    max-width:none!important;
    z-index:-1!important;
    border:none!important;
    opacity:1!important;
    filter:none!important;
    background-image:url("./vraz-mountains-soft-edge-20261106.png")!important;
    background-position:center!important;
    background-repeat:no-repeat!important;
    background-size:100% 100%!important;
    mask-image:none!important;
    -webkit-mask-image:none!important;
    mask-composite:initial!important;
    -webkit-mask-composite:initial!important;
    pointer-events:none!important;
  }
  body.vraz-ref-v6[data-nx-route="focus"] .v7-focus .v7-welcome{
    z-index:2!important;
  }
  /* The reference's hamburger is a soft ivory circle, NOT a rounded square,
     gold glow, or a shining sun. Its behavior and click action are unchanged. */
  body.vraz-ref-v6[data-nx-route="focus"] .app-shell .main-column>.topbar{
    position:absolute!important;
    top:12px!important;
    right:15px!important;
    left:auto!important;
    width:41px!important;
    max-width:41px!important;
    min-width:41px!important;
    height:41px!important;
    min-height:41px!important;
    max-height:41px!important;
    padding:0!important;
    margin:0!important;
    z-index:15!important;
  }
  body.vraz-ref-v6[data-nx-route="focus"] .app-shell .main-column>.topbar button[data-go="service-menu"]{
    -webkit-appearance:none!important;
    appearance:none!important;
    display:grid!important;
    place-items:center!important;
    width:41px!important;
    height:41px!important;
    min-width:41px!important;
    min-height:41px!important;
    border-radius:50%!important;
    background:#fffaf4!important;
    border:1px solid #e4d7c9!important;
    box-shadow:0 5px 15px rgba(98,70,44,.095)!important;
    color:#112d47!important;
    padding:0!important;
    margin:0!important;
    outline-offset:3px!important;
    pointer-events:auto!important;
    -webkit-tap-highlight-color:transparent;
  }
  body.vraz-ref-v6[data-nx-route="focus"] .app-shell .main-column>.topbar button[data-go="service-menu"] svg{
    width:21px!important;
    height:21px!important;
    stroke-width:1.9!important;
  }
  body.vraz-ref-v6[data-nx-route="focus"] .app-shell .main-column>.topbar button[data-go="service-menu"]:focus-visible{
    outline:2px solid #B38A51!important;
  }
  /* Align the ornamental word-of-day rule with the reference's inset edges.
     No modification to the card underneath. */
  body.vraz-ref-v6[data-nx-route="focus"] .v8-word-heading{
    left:12px!important;
    right:12px!important;
  }
}
@media(max-width:359px){
  body.vraz-ref-v6[data-nx-route="focus"] .v7-focus::before{
    width:210px!important;
    height:59.8px!important;
    right:20px!important;
    top:-6px!important;
  }
  body.vraz-ref-v6[data-nx-route="focus"] .app-shell .main-column>.topbar{
    right:12px!important;
  }
}
@media(min-width:601px) and (max-width:980px){
  body.vraz-ref-v6[data-nx-route="focus"] .v7-focus::before{
    right:clamp(34px,8vw,86px)!important;
    width:clamp(280px,57vw,450px)!important;
    height:clamp(80px,16.2vw,128px)!important;
    top:-13px!important;
  }
}
