/* V9.9.59 — animação compartilhada dos X oficiais e do botão Voltar oficial.
   Mesma escala/luminosidade do X do mapa. Não altera posição, tamanho,
   hitbox ou ações de clique. Toque não herda hover permanente. */
html body #ca-adventure-travel-map #ca-travel-close,
html body button[data-ca-close-art="1"],
html body #ca-hall #hall-modal-close,
html body #ca-inventory-modal #ca-inv-close,
html body #ca-shop-modal #ca-shop-close,
html body #ca-adventure-plaza #plaza-modal-close,
html body #ca-center-backdrop #ca-center .ca-head > button.ca-close,
html body #ca-center .ca-head > button.ca-close,
html body #postcardOverlay #postcardBook #closePostcards,
html body #postcardBook #closePostcards,
html body #ca-adventure-plaza .ca-port-v9956-back,
html body button[data-ca-official-arrow="1"]{
 transform:none!important;
 transform-origin:center center!important;
 transition:transform .18s cubic-bezier(.2,.7,.2,1),filter .18s ease!important;
}
@media (hover:hover) and (pointer:fine){
html body #ca-adventure-travel-map #ca-travel-close:hover,
html body button[data-ca-close-art="1"]:hover,
html body #ca-hall #hall-modal-close:hover,
html body #ca-inventory-modal #ca-inv-close:hover,
html body #ca-shop-modal #ca-shop-close:hover,
html body #ca-adventure-plaza #plaza-modal-close:hover,
html body #ca-center-backdrop #ca-center .ca-head > button.ca-close:hover,
html body #ca-center .ca-head > button.ca-close:hover,
html body #postcardOverlay #postcardBook #closePostcards:hover,
html body #postcardBook #closePostcards:hover,
html body #ca-adventure-plaza .ca-port-v9956-back:hover,
html body button[data-ca-official-arrow="1"]:hover{
 transform:scale(1.06)!important;
 filter:brightness(1.12) drop-shadow(0 1px 5px rgba(255,228,122,.8))!important;
}
}
html body #ca-adventure-travel-map #ca-travel-close:focus-visible,
html body button[data-ca-close-art="1"]:focus-visible,
html body #ca-hall #hall-modal-close:focus-visible,
html body #ca-inventory-modal #ca-inv-close:focus-visible,
html body #ca-shop-modal #ca-shop-close:focus-visible,
html body #ca-adventure-plaza #plaza-modal-close:focus-visible,
html body #ca-center-backdrop #ca-center .ca-head > button.ca-close:focus-visible,
html body #ca-center .ca-head > button.ca-close:focus-visible,
html body #postcardOverlay #postcardBook #closePostcards:focus-visible,
html body #postcardBook #closePostcards:focus-visible,
html body #ca-adventure-plaza .ca-port-v9956-back:focus-visible,
html body button[data-ca-official-arrow="1"]:focus-visible{
 transform:scale(1.06)!important;
 filter:brightness(1.12) drop-shadow(0 1px 5px rgba(255,228,122,.8))!important;
 outline:3px solid #ffe482!important;
 outline-offset:2px!important;
}
@media (hover:none), (pointer:coarse){
html body #ca-adventure-travel-map #ca-travel-close:hover:not(:focus-visible),
html body button[data-ca-close-art="1"]:hover:not(:focus-visible),
html body #ca-hall #hall-modal-close:hover:not(:focus-visible),
html body #ca-inventory-modal #ca-inv-close:hover:not(:focus-visible),
html body #ca-shop-modal #ca-shop-close:hover:not(:focus-visible),
html body #ca-adventure-plaza #plaza-modal-close:hover:not(:focus-visible),
html body #ca-center-backdrop #ca-center .ca-head > button.ca-close:hover:not(:focus-visible),
html body #ca-center .ca-head > button.ca-close:hover:not(:focus-visible),
html body #postcardOverlay #postcardBook #closePostcards:hover:not(:focus-visible),
html body #postcardBook #closePostcards:hover:not(:focus-visible),
html body #ca-adventure-plaza .ca-port-v9956-back:hover:not(:focus-visible),
html body button[data-ca-official-arrow="1"]:hover:not(:focus-visible){
 transform:none!important;filter:none!important;
}
}
@media (prefers-reduced-motion:reduce){
html body #ca-adventure-travel-map #ca-travel-close,
html body button[data-ca-close-art="1"],
html body #ca-hall #hall-modal-close,
html body #ca-inventory-modal #ca-inv-close,
html body #ca-shop-modal #ca-shop-close,
html body #ca-adventure-plaza #plaza-modal-close,
html body #ca-center-backdrop #ca-center .ca-head > button.ca-close,
html body #ca-center .ca-head > button.ca-close,
html body #postcardOverlay #postcardBook #closePostcards,
html body #postcardBook #closePostcards,
html body #ca-adventure-plaza .ca-port-v9956-back,
html body button[data-ca-official-arrow="1"]{
 transition:none!important;
}
}
