/* Henok conserva su paleta; interacciones consistentes y sin capas permanentes. */
body:not([data-page="home"]) :is(.panel-card,.metric-card,.quick-card,.mc-tool-card,.hn-champion,.hn-item,.hn-rank-card){
  transition:translate .2s cubic-bezier(.2,.7,.2,1),border-color .2s,box-shadow .2s;
}
body:not([data-page="home"]) :is(.panel-card,.hn-rank-card):focus-within{border-color:#adc9ec}
body:not([data-page="home"]) :is(button,.btn,a){-webkit-tap-highlight-color:transparent;touch-action:manipulation}
body:not([data-page="home"]) :is(.hn-close,.modal-close,[data-close]){min-width:40px;min-height:40px}
body:not([data-page="home"]) :is(.side-nav a,.quick-grid a,.mc-tools-grid button,.mercado-tabs button,.hn-hselect-trigger){
  transition:background-color .18s,color .18s,border-color .18s,translate .18s;
}
body:not([data-page="home"]) :is(.hn-champion,.hn-champion.hn-next-visible){opacity:1;transform:none}
body:not([data-page="home"]) .hn-champion .hn-champion-portrait img{object-position:center 24%;transition:transform .35s ease}
body:not([data-page="home"]) :is(.hn-item img,.mc-tool-card svg,.quick-grid svg){transition:transform .2s}
body:not([data-page="home"]) :is(dialog[open],.henok-files-modal:not([hidden])){
  animation:hn-surface-enter .22s cubic-bezier(.2,.7,.2,1);
}
body:not([data-page="home"]) :is(.hn-hselect.is-open .hn-hselect-list,.hn-regions-portal){animation:hn-menu-enter .16s ease-out}
body:not([data-page="home"]) :is(.hn-hselect-option,.hn-regions-portal-option){min-height:40px}
body:not([data-page="home"]) :is(.hn-hselect-option,.hn-regions-portal-option):focus-visible{outline-offset:-3px!important}
body:not([data-page="home"]) > :is(.ambient,.circuit-noise){animation:none!important;pointer-events:none}
.mercado-source-count{display:inline-flex;align-items:center;gap:7px;padding:6px 11px;border:1px solid #cbe4e4;border-radius:100px;background:#edf8f7;color:#277570;font-size:12px;margin-top:8px}
.mercado-source-count:before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor}
body[data-page="mercado"] #agil-count{color:#167447!important;background:#edf8f1;border-color:#b5dec6;font-weight:600}
.hn-polish-tier.tier-6{background:#f8e3e8;color:#963651}
.mercado-panel #results[aria-busy="true"]{opacity:.72}
.mercado-panel .coverage-grid>div{min-width:0;overflow-wrap:anywhere}
.mercado-panel .coverage-last{font-variant-numeric:tabular-nums}
.mercado-panel #notice{line-height:1.65}
@keyframes hn-surface-enter{from{opacity:.6;translate:0 12px}to{opacity:1;translate:0 0}}
@keyframes hn-menu-enter{from{opacity:.5;translate:0 -5px}to{opacity:1;translate:0 0}}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  body:not([data-page="home"]) :is(.metric-card,.quick-card,.mc-tool-card,.hn-item,.hn-rank-card):hover{translate:0 -2px;border-color:#a9c6e9;box-shadow:0 9px 24px #203f6b10}
  body:not([data-page="home"]) :is(.hn-champion,.hn-champion.hn-next-visible):hover{translate:0 -4px;transform:none;border-color:#92b6e6;box-shadow:0 13px 30px #173e701c}
  body:not([data-page="home"]) .mercado-opportunity-card:hover{translate:0 -2px;border-color:#a9c6e9;box-shadow:0 12px 28px #203f6b12}
  body:not([data-page="home"]) :is(.quick-grid a,.mc-tools-grid button):hover svg{transform:translateY(-2px)}
  body:not([data-page="home"]) .hn-champion:hover .hn-champion-portrait img{transform:scale(1.035)}
  body:not([data-page="home"]) .side-nav a:hover{translate:2px 0}
}
@media(max-width:760px){
  body:not([data-page="home"]) dialog::backdrop{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
  body:not([data-page="home"]) .hn-rift-tabs{backdrop-filter:none!important;background:#f8fbff}
  body:not([data-page="home"]) :is(.hn-dialog,.mc-tool-dialog){max-width:calc(100vw - 20px);max-height:calc(100dvh - 24px);overscroll-behavior:contain}
}
@media(prefers-reduced-motion:reduce){
  body:not([data-page="home"]) *,body:not([data-page="home"]) *::before,body:not([data-page="home"]) *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important;translate:none!important}
}
