/* Saudi Skate V38: subtle progressive enhancement across public and member pages.
   No required JS for content visibility; all controls retain their original actions. */
:root{--sk38-focus:#39aa79;--sk38-ease:cubic-bezier(.22,1,.36,1)}
.sk38-icon{width:20px;height:20px;stroke:currentColor;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round;fill:none;flex:none;display:inline-block;vertical-align:middle}
.sk38-icon-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;vertical-align:middle;gap:0!important;min-width:40px;min-height:40px;max-width:none;aspect-ratio:1;padding:9px!important;border-radius:12px!important;cursor:pointer;line-height:1!important;white-space:nowrap}
.sk38-icon-btn .sk38-icon{width:20px;height:20px}
.sk38-icon-btn[disabled]{opacity:.55;cursor:not-allowed}
.sk38-icon-btn:not([disabled]):hover{filter:brightness(.96);text-decoration:none!important}
.sk38-icon-btn:not([disabled]):active{transform:scale(.95)}
.sk38-icon-btn:focus-visible,.sk38-backtop:focus-visible{outline:3px solid var(--sk38-focus)!important;outline-offset:3px!important}
.nav-trigger.sk38-icon-btn{width:43px;height:43px;min-width:43px;min-height:43px;aspect-ratio:auto;padding:10px!important}
.nav-trigger.sk38-icon-btn .sk38-icon{width:23px;height:23px}
.v37-home .head-actions a.sk38-icon-btn{width:44px;height:44px;min-width:44px;min-height:44px;padding:10px!important;background:#eef5ee;color:#11543d;border:1px solid #d9e9de;border-radius:15px!important}
.v37-home .v37-card-actions button.sk38-icon-btn{display:inline-flex!important;width:41px;height:41px;min-width:41px;min-height:41px;aspect-ratio:auto;background:#eef7ef;border:1px solid #d5e8d8!important;border-radius:12px!important;color:#0b6647;padding:9px!important;box-shadow:none}
.v37-home .v37-card-actions button.sk38-icon-btn:hover{background:#dff4e6!important}
.v37-home .v37-modal-close.sk38-icon-btn{width:42px;height:42px;min-width:42px;min-height:42px;border-radius:50%!important}
.v31-reset.sk38-icon-btn{width:48px;height:48px;min-width:48px;min-height:48px;aspect-ratio:auto;border-radius:13px!important;color:#13634c;background:#edf8f0}
.v37-home .v37-service-graphic .sk38-icon{width:27px;height:27px;stroke-width:1.8}
.v37-home .v37-service-arrow .sk38-icon{width:22px;height:22px}
.v37-home .v37-floating-star .sk38-icon{width:22px;height:22px}
.v37-home .v37-btn .sk38-icon,.v37-home .v37-link .sk38-icon{width:17px;height:17px;transition:transform .24s var(--sk38-ease)}
.v37-home .v37-btn:hover .sk38-icon,.v37-home .v37-link:hover .sk38-icon{transform:translate(-2px,-2px)}
/* Motion: low-motion color/lighting feedback without expensive layout changes. */
@media (hover:hover) and (pointer:fine){
 .v37-home .v37-service,.v37-home .v37-event-card,.v31-member-card,.v32-member-card,.v37-home .v37-sport-tile{will-change:auto}
 .v37-home .v37-service,.v37-home .v37-event-card,.v31-member-card{position:relative;isolation:isolate}
 .v37-home .v37-service:before,.v37-home .v37-event-card:after{content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;background:radial-gradient(280px circle at var(--sk38-x,50%) var(--sk38-y,50%),rgba(126,210,147,.13),transparent 70%);opacity:0;transition:opacity .3s ease;z-index:2}
 .v37-home .v37-service:hover:before,.v37-home .v37-event-card:hover:after{opacity:1}
}
.v37-home .v37-hero-picture img:not([hidden]){transition:transform 1.1s var(--sk38-ease)}
@media (hover:hover) and (pointer:fine){.v37-home .v37-hero-picture:hover>img:not([hidden]){transform:scale(1.025)}}
.sk38-scroll-progress{position:fixed;top:0;right:0;left:0;height:3px;background:linear-gradient(90deg,#baf05f,#0a9872);z-index:9999;transform:scaleX(0);transform-origin:right;pointer-events:none;will-change:transform}
.sk38-backtop{position:fixed;right:20px;bottom:22px;z-index:95;border:1px solid #cfe6d7;background:#0b5b46;color:#fff;width:45px;height:45px;border-radius:14px;box-shadow:0 12px 26px rgba(8,56,41,.23);display:flex;align-items:center;justify-content:center;opacity:0;transform:translateY(13px);pointer-events:none;transition:opacity .22s ease,transform .3s var(--sk38-ease);cursor:pointer}
.sk38-backtop.sk38-show{opacity:1;transform:translateY(0);pointer-events:auto}
.sk38-backtop .sk38-icon{width:21px;height:21px}
@media(min-width:861px){.v37-home .site-nav.open{animation:sk38-nav-in .22s var(--sk38-ease)}}
@media(max-width:860px){.site-nav.open{animation:sk38-nav-in .26s var(--sk38-ease) both}}
@keyframes sk38-nav-in{from{opacity:.45;transform:translateY(-9px)}to{opacity:1;transform:translateY(0)}}
.v37-home dialog.v37-modal[open]{animation:sk38-modal-in .24s var(--sk38-ease) both}
@keyframes sk38-modal-in{from{opacity:.5;transform:translateY(13px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
/* Existing mobile tabs keep clear text but gain proper SVG wayfinding. */
.mobile-tabs a>.sk38-icon{display:block;width:19px;height:19px;margin:0 auto 3px;stroke-width:1.9}
.mobile-tabs a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}
/* Unified interactive focus style for keyboard users. */
main :is(a,button,select,input,textarea,summary):focus-visible,
.site-head :is(a,button,summary):focus-visible{outline:3px solid var(--sk38-focus);outline-offset:3px}
@media(max-width:680px){.sk38-backtop{right:13px;bottom:84px;width:43px;height:43px;border-radius:13px}.mobile-tabs a>.sk38-icon{width:18px;height:18px}}
@media(prefers-reduced-motion:reduce){
 .sk38-scroll-progress{display:none}
 .sk38-backtop,.v37-home .v37-btn .sk38-icon,.v37-home .v37-link .sk38-icon,.v37-home .v37-hero-picture img:not([hidden]){transition:none!important}
 .site-nav.open,.v37-home dialog.v37-modal[open]{animation:none!important}
 .v37-home .v37-service:before,.v37-home .v37-event-card:after{display:none}
}
/* Respect the existing responsive breakpoint: navigation trigger is mobile-only. */
@media(min-width:861px){.nav-trigger.sk38-icon-btn{display:none!important}}
@media(max-width:860px){.nav-trigger.sk38-icon-btn{display:inline-flex!important}}
