/* V93 — hard reset of INNER page header only.
   Goal: inner pages use the exact same desktop header geometry as index.html.
   High-specificity selectors intentionally beat legacy .corek-inner rules. */
@media (min-width:981px){
  html body.corek-inner.tt-v77-inner .approved-header.tt-header{
    position:sticky!important;
    top:0!important;
    z-index:1000!important;
    width:100%!important;
    height:auto!important;
    min-height:70px!important;
    background:#030911!important;
    border-bottom:1px solid rgba(101,157,205,.13)!important;
    box-shadow:none!important;
    overflow:visible!important;
  }

  html body.corek-inner.tt-v77-inner .approved-header.tt-header .approved-nav{
    box-sizing:border-box!important;
    width:min(100%,1540px)!important;
    max-width:1540px!important;
    height:auto!important;
    min-height:70px!important;
    padding:0 28px!important;
    margin:0 auto!important;
    display:grid!important;
    grid-template-columns:205px minmax(530px,1fr) auto!important;
    align-items:center!important;
    column-gap:22px!important;
    gap:22px!important;
    overflow:visible!important;
  }

  html body.corek-inner.tt-v77-inner .approved-header.tt-header .approved-brand{
    box-sizing:border-box!important;
    width:205px!important;
    min-width:205px!important;
    max-width:205px!important;
    flex:none!important;
    flex-basis:auto!important;
    height:54px!important;
    margin:0!important;
    padding:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    overflow:visible!important;
    text-decoration:none!important;
  }

  html body.corek-inner.tt-v77-inner .approved-header.tt-header .approved-brand img{
    display:block!important;
    width:198px!important;
    min-width:198px!important;
    max-width:198px!important;
    height:45px!important;
    min-height:45px!important;
    max-height:45px!important;
    object-fit:contain!important;
    object-position:left center!important;
    background:transparent!important;
    border:0!important;
    outline:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    filter:none!important;
    clip-path:none!important;
  }

  html body.corek-inner.tt-v77-inner .approved-header.tt-header .approved-links{
    position:static!important;
    inset:auto!important;
    width:auto!important;
    height:auto!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:center!important;
    gap:10px!important;
    white-space:nowrap!important;
    overflow:visible!important;
    visibility:visible!important;
    opacity:1!important;
    transform:none!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
  }

  html body.corek-inner.tt-v77-inner .approved-header.tt-header .approved-links>a,
  html body.corek-inner.tt-v77-inner .approved-header.tt-header .tt-services-trigger{
    box-sizing:border-box!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    height:40px!important;
    min-height:40px!important;
    padding:0 15px!important;
    margin:0!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    border:1px solid rgba(174,193,210,.34)!important;
    border-radius:7px!important;
    background:linear-gradient(180deg,rgba(6,12,19,.94),rgba(3,8,14,.96))!important;
    color:#f4f8fb!important;
    -webkit-text-fill-color:#f4f8fb!important;
    font-size:13px!important;
    line-height:1!important;
    font-weight:650!important;
    text-shadow:none!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important;
    white-space:nowrap!important;
    visibility:visible!important;
    opacity:1!important;
  }

  html body.corek-inner.tt-v77-inner .approved-header.tt-header .tt-top-actions{
    position:static!important;
    inset:auto!important;
    width:auto!important;
    height:auto!important;
    margin:0!important;
    padding:0!important;
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:9px!important;
    overflow:visible!important;
    visibility:visible!important;
    opacity:1!important;
    transform:none!important;
  }

  html body.corek-inner.tt-v77-inner .approved-header.tt-header .tt-top-actions .tt-action{
    box-sizing:border-box!important;
    width:auto!important;
    max-width:none!important;
    height:40px!important;
    min-height:40px!important;
    padding:0 12px!important;
    margin:0!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    border:1px solid rgba(174,193,210,.34)!important;
    border-radius:7px!important;
    background:linear-gradient(180deg,rgba(6,12,19,.94),rgba(3,8,14,.96))!important;
    color:#f5f8fb!important;
    -webkit-text-fill-color:#f5f8fb!important;
    font-size:12px!important;
    line-height:1!important;
    font-weight:650!important;
    white-space:nowrap!important;
    overflow:visible!important;
    visibility:visible!important;
    opacity:1!important;
  }

  html body.corek-inner.tt-v77-inner .approved-header.tt-header .tt-top-actions .tt-action span{
    display:inline!important;
    visibility:visible!important;
    opacity:1!important;
    white-space:nowrap!important;
  }
  html body.corek-inner.tt-v77-inner .approved-header.tt-header .tt-top-actions .tt-phone{order:1!important;min-width:162px!important}
  html body.corek-inner.tt-v77-inner .approved-header.tt-header .tt-top-actions .tt-telegram{order:2!important;min-width:106px!important}
  html body.corek-inner.tt-v77-inner .approved-header.tt-header .tt-top-actions .tt-max{order:3!important;min-width:72px!important}
  html body.corek-inner.tt-v77-inner .approved-header.tt-header .tt-top-actions .tt-avito{order:4!important;min-width:82px!important}
  html body.corek-inner.tt-v77-inner .approved-header.tt-header .tt-top-actions .tt-avito img{width:18px!important;height:18px!important;object-fit:contain!important}

  /* Legacy inner-page burger/nav hiding rules must not activate on desktop. */
  html body.corek-inner.tt-v77-inner .approved-header.tt-header .approved-burger{display:none!important}
}
