/* «Вразвитии» · 5 distinct daily words V1 · 06.11.2026
   Very subtle left/right word navigation, separate from meaning pagination.
   All Focus visuals outside the vocabulary card remain approved/unmodified. */
body.vraz-ref-v6[data-nx-route="focus"] .v8-word-card {
  position:relative!important;
  overflow:visible!important;
  min-height:0!important;
  max-height:none!important;
}
body.vraz-ref-v6[data-nx-route="focus"] .v8-word-main{
  align-items:center!important;
}
body.vraz-ref-v6[data-nx-route="focus"] .v8-word-ru{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:0!important;
  gap:1px!important;
}
body.vraz-ref-v6[data-nx-route="focus"] .v8-word-ru strong,
body.vraz-ref-v6[data-nx-route="focus"] .v8-word-en strong{
  display:block!important;
  width:auto!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:clamp(19px,7.7vw,var(--v8-pair-font,32px))!important;
  font-weight:700!important;
  font-style:normal!important;
  line-height:1.10!important;
  letter-spacing:-.025em!important;
  text-align:center!important;
  color:#0F2A44!important;
  overflow-wrap:anywhere;
}
body.vraz-ref-v6[data-nx-route="focus"] .v8-word-en{
  justify-content:center!important;
  align-items:flex-start!important;
  gap:4px!important;
}
body.vraz-ref-v6[data-nx-route="focus"] .v8-word-en strong{
  text-align:left!important;
}
body.vraz-ref-v6[data-nx-route="focus"] .v8-word-ru .v8-word-pager{
  width:auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:0!important;
  min-height:28px!important;
  height:29px!important;
  max-height:29px!important;
  margin:3px 0 0!important;
  padding:0!important;
  line-height:1!important;
}
body.vraz-ref-v6[data-nx-route="focus"] .v8-word-ru .v8-word-pager button{
  width:29px!important;
  height:29px!important;
  min-width:29px!important;
  min-height:29px!important;
  flex:0 0 29px!important;
  padding:0!important;
  font-size:24px!important;
  font-weight:400!important;
  border-radius:8px!important;
  color:#A97837!important;
}
body.vraz-ref-v6[data-nx-route="focus"] .v8-word-ru .v8-word-page-number{
  min-width:40px!important;
  font-size:12px!important;
  color:#796248!important;
  white-space:nowrap!important;
}
body.vraz-ref-v6[data-nx-route="focus"] .v8-word-divider{
  align-self:center!important;
  height:64px!important;
  background:#C69A58!important;
}
body.vraz-ref-v6[data-nx-route="focus"] .v8-word-speak{
  align-self:center!important;
}
body.vraz-ref-v6[data-nx-route="focus"] .v8-word-meaning{
  max-height:none!important;
  overflow:visible!important;
  padding:0!important;
  margin-top:12px!important;
}
/* The side arrows are intentionally almost invisible at rest.
   Interactive surface stays at least 44x44, with accessible labels. */
body.vraz-ref-v6[data-nx-route="focus"] .v8-word-edge{
  -webkit-appearance:none!important;
  appearance:none!important;
  position:absolute!important;
  z-index:4!important;
  top:53%!important;
  transform:translateY(-50%)!important;
  display:grid!important;
  place-items:center!important;
  width:44px!important;
  height:60px!important;
  min-width:44px!important;
  min-height:44px!important;
  border:0!important;
  border-radius:22px!important;
  background:transparent!important;
  box-shadow:none!important;
  margin:0!important;
  padding:0!important;
  color:#986D3A!important;
  opacity:.34!important;
  cursor:pointer!important;
  touch-action:manipulation!important;
  -webkit-tap-highlight-color:transparent;
  transition:opacity .16s ease,background-color .16s ease;
}
body.vraz-ref-v6[data-nx-route="focus"] .v8-word-edge svg{
  width:14px!important;
  height:24px!important;
  display:block!important;
  pointer-events:none!important;
}
body.vraz-ref-v6[data-nx-route="focus"] .v8-word-edge-prev{left:-9px!important}
body.vraz-ref-v6[data-nx-route="focus"] .v8-word-edge-prev svg{
  transform:rotate(180deg)!important;
}
body.vraz-ref-v6[data-nx-route="focus"] .v8-word-edge-next{right:-9px!important}
body.vraz-ref-v6[data-nx-route="focus"] .v8-word-edge:hover,
body.vraz-ref-v6[data-nx-route="focus"] .v8-word-edge:active{
  opacity:.95!important;
  background:rgba(234,210,177,.32)!important;
}
body.vraz-ref-v6[data-nx-route="focus"] .v8-word-edge:focus-visible{
  opacity:1!important;
  outline:2px solid #B58A54!important;
  outline-offset:-2px!important;
}
@media(max-width:359px){
  body.vraz-ref-v6[data-nx-route="focus"] .v8-word-edge-prev{left:-8px!important}
  body.vraz-ref-v6[data-nx-route="focus"] .v8-word-edge-next{right:-8px!important}
  body.vraz-ref-v6[data-nx-route="focus"] .v8-word-edge{width:40px!important;min-width:40px!important}
  body.vraz-ref-v6[data-nx-route="focus"] .v8-word-ru .v8-word-pager button{
    width:25px!important;min-width:25px!important;flex-basis:25px!important;
  }
  body.vraz-ref-v6[data-nx-route="focus"] .v8-word-ru .v8-word-page-number{
    min-width:35px!important;
  }
}
/* Desktop matches paired English/Russian font, without changing other screens. */
@media(min-width:981px){
  body.vraz-ref-v6[data-nx-route="focus"] .v8-word-ru strong,
  body.vraz-ref-v6[data-nx-route="focus"] .v8-word-en strong{
    font-size:var(--v8-pair-font,32px)!important;
  }
}
