/* V35. Interaction study inspired by the user-supplied Uiverse / TimTrayler
   hover shadows + active glow. Adapted to MIVA, not copied as a global button reset. */
:root{--press-dark:rgba(0,4,18,.4);--press-light:rgba(160,226,239,.09);--press-teal:rgba(98,229,213,.36);--press-violet:rgba(175,152,246,.24)}
body :is(.hero-action,.chapter-action,.event-action,.reg-button,.media-load-video){
 min-height:46px;min-width:46px;
 transition:box-shadow .26s ease,background-color .18s ease,color .18s ease,transform .16s ease,border-color .18s ease;
 box-shadow:5px 6px 16px var(--press-dark),-3px -3px 12px var(--press-light);
 transform-origin:center;text-shadow:none;
}
body :is(.text-action,.event-section-nav a,.organization-shortcuts a,.archive-filters button,.year-tabs button){
 min-height:46px;min-width:46px;
 transition:box-shadow .24s ease,color .18s ease,border-color .18s ease,transform .16s ease,background-color .18s ease;
}
@media(hover:hover) and (pointer:fine){
 :is(.hero-action,.chapter-action,.event-action,.reg-button,.media-load-video):not(:disabled):not([aria-disabled=true]):not([aria-busy=true]):hover{
  box-shadow:7px 9px 23px var(--press-dark),-5px -5px 19px rgba(148,222,238,.14),0 0 18px rgba(160,148,239,.12);
  transform:translateY(-1px);text-shadow:none;
 }
 :is(.text-action,.event-section-nav a,.organization-shortcuts a,.archive-filters button,.year-tabs button):not(:disabled):not([aria-disabled=true]):hover{
  box-shadow:4px 5px 13px rgba(0,4,18,.26),-3px -3px 13px rgba(149,224,236,.07);
  transform:translateY(-1px);text-shadow:none;
 }
}
body :is(.hero-action,.chapter-action,.event-action,.reg-button,.media-load-video):not(:disabled):not([aria-disabled=true]):not([aria-busy=true]):active:where(:not([data-miva-touch-pending])){
 box-shadow:3px 4px 12px var(--press-dark),-2px -2px 10px var(--press-light),0 0 22px 2px var(--press-teal),0 0 32px var(--press-violet),inset 0 0 0 1px rgba(225,255,250,.56);
 transform:scale(.98);text-shadow:none;
}
body :is(.text-action,.event-section-nav a,.organization-shortcuts a,.archive-filters button,.year-tabs button):not(:disabled):not([aria-disabled=true]):active:where(:not([data-miva-touch-pending])){
 box-shadow:0 0 18px rgba(98,229,213,.24),0 0 24px rgba(175,152,246,.15),inset 0 0 0 1px rgba(187,240,232,.32);
 transform:scale(.985);text-shadow:none;
}
/* Navigation and toggles remain light: no raised blocks or padding changes. */
body :is(.menu-toggle,.v31-nav-toggle,.motion-control,.language-pill a,.page-top-floating):not(:disabled):active{
 color:#e7fff8;text-shadow:0 0 9px #9aede680;
}
.language-pill a[aria-current]:active{color:#101b2a;text-shadow:none}
body :is(.hero-action,.chapter-action,.event-action,.reg-button,.media-load-video,.text-action,.event-section-nav a,.organization-shortcuts a,.archive-filters button,.year-tabs button):focus-visible{
 outline:2px solid #d8e4f0;outline-offset:5px;box-shadow:0 0 0 1px #091426,0 0 20px #7ce8db24;
}
body :is(button,a)[aria-busy=true],button:disabled,[aria-disabled=true]{transform:none!important;cursor:default}
button:disabled,[aria-disabled=true]{box-shadow:none!important;text-shadow:none!important}
@media(prefers-reduced-motion:reduce){
 :is(.hero-action,.chapter-action,.event-action,.reg-button,.media-load-video,.text-action,.event-section-nav a,.organization-shortcuts a,.archive-filters button,.year-tabs button){transition:none!important;transform:none!important}
}
body:not(.motion-on) :is(.hero-action,.chapter-action,.event-action,.reg-button,.media-load-video,.text-action,.event-section-nav a,.organization-shortcuts a,.archive-filters button,.year-tabs button){transition:none!important;transform:none!important}
@media(forced-colors:active){
 :is(.hero-action,.chapter-action,.event-action,.reg-button,.media-load-video,.text-action){box-shadow:none!important;border:1px solid ButtonText}
 :is(a,button):focus-visible{outline:2px solid Highlight}
}

/* V36: real pointer/touch feedback, independent of hover availability. */
body :is(.hero-action,.chapter-action,.event-action,.reg-button,.media-load-video,.text-action,.event-section-nav a,.organization-shortcuts a,.archive-filters button,.year-tabs button,.menu-toggle,.v31-nav-toggle,.language-pill a,.page-top-floating){touch-action:manipulation;-webkit-tap-highlight-color:transparent}
body :is(.hero-action,.chapter-action,.event-action,.reg-button,.media-load-video,.text-action,.event-section-nav a,.organization-shortcuts a,.archive-filters button,.year-tabs button).is-touch-pressed:not(:disabled):not([aria-disabled=true]):not([aria-busy=true]){
 transition-duration:0s;transform:scale(.97);color:#fff;
 box-shadow:0 0 0 1px #a6f2e6,0 0 24px 3px #62e5d55c,0 0 36px #af98f63d,inset 0 0 16px #62e5d526;
}
body :is(.menu-toggle,.v31-nav-toggle,.language-pill a,.page-top-floating).is-touch-pressed{transition-duration:0s;text-shadow:0 0 12px #96efe4;color:#f3fffc}
body .language-pill a[aria-current].is-touch-pressed{color:#101b2a;text-shadow:none;box-shadow:inset 0 0 0 2px #45776d;border-radius:20px}
@media(prefers-reduced-motion:reduce){body .is-touch-pressed{transform:none!important}}
body:not(.motion-on) .is-touch-pressed{transform:none!important}
/* V37: pressed surfaces remain dark; light cannot wash out the label. */
body :is(.hero-action,.chapter-action,.event-action,.reg-button,.media-load-video,.text-action,.event-section-nav a,.organization-shortcuts a,.archive-filters button,.year-tabs button):not(:disabled):not([aria-disabled=true]):not([aria-busy=true]):is(:active:where(:not([data-miva-touch-pending])),.is-touch-pressed){
 background:#142c40!important;color:#f3fbff!important;-webkit-text-fill-color:#f3fbff!important;text-shadow:none!important;filter:none!important;
 box-shadow:0 0 0 1px #87c6c4,0 0 16px 1px #62e5d538,0 0 24px #af98f628!important;
}
