/* Small, role-specific corrections only. The October layout remains the
   visual source of truth; this file deliberately does not restyle all UI. */

/* Click focus no longer leaves the legacy heavy outline. Keyboard focus stays
   visible for accessibility. */
:where(a,button,input,select,textarea,summary):focus:not(:focus-visible){
  outline:0!important;
  box-shadow:none!important;
}
:where(a,button,input,select,textarea,summary):focus-visible{
  outline:2px solid #7c7c79!important;
  outline-offset:3px!important;
}

/* One quiet selected state for the BOOKS filters only. */
#libraryPage :is(.bookFilter.active,.favoriteFilter[aria-pressed=true]){
  background:#ececeb!important;
  border-color:#d0d0cd!important;
  color:#252525!important;
  box-shadow:none!important;
}
#libraryPage :is(.bookFilter.active,.favoriteFilter[aria-pressed=true]):hover{
  background:#e5e5e3!important;
  border-color:#c6c6c3!important;
}

/* The Naver mark stays in the same 20px slot as Google and Kakao. */
.socialLogoSlot{width:20px!important;height:20px!important;min-width:20px!important;flex:0 0 20px!important;overflow:visible!important}
.authPanel .socialButton .socialLogoSlot .socialMark,
.accountProviderLabel .socialLogoSlot img,
.authPanel .socialButton[data-provider=naver] .socialLogoSlot .socialMark,
.accountProviderLabel[data-provider=naver] .socialLogoSlot img{
  width:20px!important;
  height:20px!important;
  min-width:20px!important;
  max-width:20px!important;
  object-fit:contain!important;
  clip-path:none!important;
  transform:none!important;
}

/* Prevent the tablet control rail from falling beneath the next section. */
#homeHero .heroControls{z-index:8!important}
@media (min-width:761px) and (max-width:1050px){
  #homeHero .heroGrid{padding-bottom:72px!important}
  #homeHero .heroBooks{padding-bottom:54px!important}
  #homeHero .heroControls{bottom:26px!important}
}
