/* Sailor Gay app menu 1.8 · full-screen "surf club" sheet (same design as the Paradisr burger menu), shared by every page. */
@font-face{font-family:SGMenuAnton;src:url('../sg-winter-pride-feature/anton.ttf') format('truetype');font-display:swap}
/* Static Montserrat cuts (Safari renders variable Montserrat at its thinnest weight). */
@font-face{font-family:SGMBMont;font-style:normal;font-weight:500 1000;font-display:swap;src:url('sgmb-mont-700.woff2') format('woff2')}
@font-face{font-family:SGMBMont;font-style:italic;font-weight:500 1000;font-display:swap;src:url('sgmb-mont-900i.woff') format('woff')}

html body dialog.app-menu.sg-site-menu{
 --ink:#0b1638;--navy2:#102044;--sub:#5a6488;--pink:#ff1f8f;
 --go:linear-gradient(100deg,#ff1f8f 0%,#ff3d86 45%,#ff8a3d 100%);
 --stripes:linear-gradient(180deg,#ff3ea5 0 30%,transparent 30% 40%,#ff9d2e 40% 60%,transparent 60% 70%,#35c6ff 70% 100%);
 --font:SGMBMont,'Arial Black','Helvetica Neue',Arial,sans-serif;
 /* Same logo size and spot as the Meetups/Shop header (see sg-menu-button.php): width min(clamp(210px,65vw,320px),100vw-124px), 8px from the top, 1200x405. */
 --lw:min(clamp(210px,65vw,320px),calc(100vw - 124px));
 --lh:calc(var(--lw) * .3375);
 --bar:calc(var(--lh) + 18px);
 --btn-y:calc(8px + var(--lw) * .16875);
 --ease:cubic-bezier(.2,.8,.1,1);--pop:cubic-bezier(.3,1.6,.5,1);
 box-sizing:border-box!important;position:fixed!important;inset:0!important;margin:0!important;
 width:100%!important;max-width:none!important;height:100%!important;max-height:none!important;overflow-x:hidden!important;overflow-y:auto!important;
 padding:calc(var(--bar) + 20px) 22px calc(28px + env(safe-area-inset-bottom,0px))!important;border:0!important;border-radius:0!important;
 background:radial-gradient(120% 90% at 92% 110%,rgba(255,150,205,.65),transparent 60%),radial-gradient(80% 80% at 0% 0%,rgba(140,220,255,.7),transparent 65%),linear-gradient(180deg,#e6f5ff 0%,#f4eeff 55%,#ffe6f2 100%)!important;
 -webkit-backdrop-filter:none!important;backdrop-filter:none!important;box-shadow:none!important;
 color:var(--ink)!important;font:400 16px/1.4 var(--font)!important;text-align:start!important;outline:none!important;isolation:isolate;
 -webkit-font-smoothing:antialiased;font-synthesis:none;
 animation:sgmIn .6s var(--ease) both;
}
html body dialog.app-menu.sg-site-menu.sgm-out{animation:sgmOut .19s cubic-bezier(.4,0,1,1) both}
html body dialog.app-menu.sg-site-menu::backdrop{background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}
/* Opens as a circle from the menu button in the top-right corner. */
@keyframes sgmIn{from{clip-path:circle(0% at calc(100% - 35px) var(--btn-y))}to{clip-path:circle(150% at calc(100% - 35px) var(--btn-y))}}
@keyframes sgmOut{from{clip-path:circle(150% at calc(100% - 35px) var(--btn-y))}to{clip-path:circle(0% at calc(100% - 35px) var(--btn-y))}}
html body dialog.app-menu.sg-site-menu *{box-sizing:border-box}

/* Navy top bar + animated rainbow line, drawn by the sheet itself so they never go missing. */
html body dialog.app-menu.sg-site-menu::before{content:"";position:absolute;left:0;right:0;top:0;height:var(--bar);z-index:0;background:linear-gradient(180deg,var(--navy2),var(--ink));pointer-events:none}
html body dialog.app-menu.sg-site-menu::after{content:"";position:absolute;left:0;right:0;top:calc(var(--bar) - 4px);height:4px;z-index:1;pointer-events:none;
 background:linear-gradient(90deg,#ff1f8f,#ff8a3d,#ffd321,#3ddc84,#35c6ff,#a45bff,#ff1f8f);background-size:200% 100%;animation:sgmRun 5s linear infinite;box-shadow:0 0 14px rgba(255,31,143,.55)}
@keyframes sgmRun{to{background-position:-200% 0}}

/* Decor added by the script: corner stripes, palm, sea. */
html body dialog.app-menu.sg-site-menu .sgmx-decor{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden}
html body dialog.app-menu.sg-site-menu .sgmx-stripe{position:absolute;left:-50px;top:-14px;width:110px;height:40px;transform:rotate(-38deg);background:var(--stripes);opacity:.95;animation:sgmShimmer 3.6s ease-in-out infinite}
@keyframes sgmShimmer{0%,100%{opacity:.95;filter:saturate(1)}50%{opacity:.7;filter:saturate(1.5) brightness(1.15)}}
html body dialog.app-menu.sg-site-menu .sgmx-palm{position:absolute;right:-50px;bottom:40px;width:260px;height:300px;opacity:.5;transform-origin:58% 100%;animation:sgmSway 6s ease-in-out infinite}
@keyframes sgmSway{0%,100%{transform:rotate(-2.5deg)}50%{transform:rotate(2.5deg)}}
html body dialog.app-menu.sg-site-menu .sgmx-sea{position:absolute;left:0;right:0;bottom:0;height:150px;overflow:hidden;background:linear-gradient(180deg,rgba(255,255,255,0),rgba(186,226,247,.7) 55%,rgba(150,205,240,.9))}
html body dialog.app-menu.sg-site-menu .sgmx-sea::before,html body dialog.app-menu.sg-site-menu .sgmx-sea::after{content:"";position:absolute;left:-140px;right:-140px;height:2px;background:repeating-linear-gradient(90deg,rgba(255,255,255,.95) 0 40px,transparent 40px 70px);opacity:.75;animation:sgmWaves 6s linear infinite}
html body dialog.app-menu.sg-site-menu .sgmx-sea::after{bottom:26px}
html body dialog.app-menu.sg-site-menu .sgmx-sea::before{bottom:52px;opacity:.45;animation-duration:9s;animation-direction:reverse}
@keyframes sgmWaves{to{transform:translateX(70px)}}

/* Close: white ×, top right of the bar */
html body dialog.app-menu.sg-site-menu>.icon-button{position:absolute!important;top:calc(var(--btn-y) - 22px)!important;right:13px!important;display:grid!important;place-items:center;width:44px!important;height:44px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;color:#fff!important;font:300 38px/1 Arial,sans-serif!important;box-shadow:none!important;clip-path:none!important;cursor:pointer;transition:transform .3s var(--pop);z-index:3}
html body dialog.app-menu.sg-site-menu>.icon-button:hover{transform:rotate(90deg)}
html body dialog.app-menu.sg-site-menu>.icon-button:active{transform:scale(.88)}

/* Logo centred in the bar */
html body dialog.app-menu.sg-site-menu>.menu-logo{position:absolute!important;z-index:2;top:8px!important;left:50%!important;transform:translateX(-50%);display:block!important;width:var(--lw)!important;max-width:none!important;height:var(--lh)!important;margin:0!important;object-fit:contain;animation:none}

/* Tagline as a slanted navy chip */
html body dialog.app-menu.sg-site-menu>h2{position:relative;z-index:2;display:table!important;margin:0 auto 6px!important;padding:6px 12px!important;background:var(--ink)!important;color:#fff!important;transform:skewX(-14deg);font:italic 900 12px/1.1 var(--font)!important;letter-spacing:.06em!important;text-transform:uppercase!important;text-align:left!important;animation:sgmRow .45s var(--ease) .08s both}

/* Rows: big heavy italic names, slanted buttons on the right */
html body dialog.app-menu.sg-site-menu>a.secondary{
 position:relative;z-index:2;overflow:hidden;isolation:isolate;display:grid!important;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;column-gap:12px;
 margin:0!important;padding:16px 2px!important;min-height:0;border:0!important;border-bottom:2px solid rgba(11,22,56,.1)!important;border-radius:0!important;
 background:none!important;color:var(--ink)!important;text-align:left!important;text-decoration:none!important;box-shadow:none!important;
 font:italic 900 16px/1 var(--font)!important;letter-spacing:0!important;
 -webkit-tap-highlight-color:transparent;transition:transform .22s var(--pop);
 animation:sgmRow .45s var(--ease) both;animation-delay:calc(120ms + var(--i,0) * 50ms);
}
@keyframes sgmRow{from{opacity:0;transform:translateX(18px)}to{opacity:1;transform:none}}
html body dialog.app-menu.sg-site-menu>a.secondary:not(.sgm-ready):not(:has(.sgm-ico)){display:block!important;font-size:26px!important;text-transform:uppercase}
html body dialog.app-menu.sg-site-menu>a.secondary:active{transform:scale(.98)}
html body dialog.app-menu.sg-site-menu .sgm-ico{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:color-mix(in srgb,var(--c) 15%,#fff);color:var(--c);transition:transform .35s var(--pop)}
html body dialog.app-menu.sg-site-menu .sgm-ico svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
html body dialog.app-menu.sg-site-menu>a.secondary:active .sgm-ico{transform:scale(.88)}
html body dialog.app-menu.sg-site-menu a[data-sgm=color]:not([aria-current=page]) .sgm-ico{background:conic-gradient(from 200deg,#ffd6ea,#ffe6c7,#fff6bf,#d4f7df,#d3ecff,#e6d9ff,#ffd6ea);color:#5b2bbf}
html body dialog.app-menu.sg-site-menu>a.secondary[aria-current=page] .sgm-ico{background:var(--c);color:#fff}
html body dialog.app-menu.sg-site-menu .sgm-text{display:flex;flex-direction:column;min-width:0}
html body dialog.app-menu.sg-site-menu .sgm-label{font:italic 900 clamp(21px,6.6vw,30px)/.95 var(--font);text-transform:uppercase;letter-spacing:-.015em;color:var(--ink);white-space:normal;transition:color .2s}
html body dialog.app-menu.sg-site-menu .sgm-sub{margin-top:5px;font:700 12.5px/1.25 var(--font);letter-spacing:0;color:var(--sub);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(hover:hover){html body dialog.app-menu.sg-site-menu>a.secondary:hover .sgm-label{color:var(--pink)}}
/* Slanted navy button with a white chevron; "HERE" on the current section */
html body dialog.app-menu.sg-site-menu .sgm-end{display:grid;place-items:center;min-width:38px;height:38px;padding:0 10px;border-radius:8px;transform:skewX(-14deg);background:var(--ink);color:#fff;transition:background .3s}
html body dialog.app-menu.sg-site-menu .sgm-end>*{transform:skewX(14deg)}
html body dialog.app-menu.sg-site-menu .sgm-end svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;transition:transform .25s}
@media(hover:hover){html body dialog.app-menu.sg-site-menu>a.secondary:hover .sgm-end svg{transform:skewX(14deg) translateX(2px)}}
html body dialog.app-menu.sg-site-menu>a.secondary[aria-current=page] .sgm-end{background:var(--go);box-shadow:0 8px 20px rgba(255,45,143,.35)}
html body dialog.app-menu.sg-site-menu .sgm-here{padding:0;border-radius:0;background:none;color:#fff;font:italic 900 12px/1 var(--font);letter-spacing:.06em;text-transform:uppercase}
html body dialog.app-menu.sg-site-menu>a.secondary[aria-current=page]{background:none!important;border-color:rgba(11,22,56,.1)!important}
/* Ripple */
html body dialog.app-menu.sg-site-menu .sgm-ripple{position:absolute;z-index:-1;width:16px;height:16px;margin:-8px 0 0 -8px;border-radius:50%;pointer-events:none;background:color-mix(in srgb,var(--c,#0b1638) 18%,transparent);animation:sgmRipple .6s cubic-bezier(.2,.8,.2,1) forwards}
@keyframes sgmRipple{to{transform:scale(28);opacity:0}}

/* Socials: slanted tiles in one row (where the Paradisr menu has its languages) */
html body dialog.app-menu.sg-site-menu .sg-menu-socials26{position:relative;z-index:2;display:flex!important;align-items:center!important;gap:8px!important;margin:24px 0 0!important;padding:0!important;border:0!important}
html body dialog.app-menu.sg-site-menu .sg-menu-socials26 a{flex:1 1 0;display:grid!important;place-items:center;width:auto!important;height:46px!important;min-height:0!important;padding:0!important;margin:0!important;border:2px solid var(--ink)!important;border-radius:8px!important;background:#fff!important;transform:skewX(-14deg);transition:transform .25s var(--pop),background .2s;animation:sgmTile .45s var(--ease) both;animation-delay:calc(120ms + var(--i,6) * 50ms)}
@keyframes sgmTile{from{opacity:0;transform:skewX(-14deg) translateX(18px)}to{opacity:1;transform:skewX(-14deg)}}
html body dialog.app-menu.sg-site-menu .sg-menu-socials26 a+a{border-left:2px solid var(--ink)!important}
html body dialog.app-menu.sg-site-menu .sg-menu-socials26 a:active{transform:skewX(-14deg) scale(.92)}
@media(hover:hover){html body dialog.app-menu.sg-site-menu .sg-menu-socials26 a:hover{transform:skewX(-14deg) translateY(-2px)}}
html body dialog.app-menu.sg-site-menu .sg-menu-socials26 svg{display:block!important;width:24px!important;height:24px!important;overflow:visible;transform:skewX(14deg)}

html body dialog.app-menu.sg-site-menu :focus-visible{outline:3px solid #35c6ff;outline-offset:2px}
@media (prefers-reduced-motion:reduce){html body dialog.app-menu.sg-site-menu,html body dialog.app-menu.sg-site-menu *,html body dialog.app-menu.sg-site-menu::before,html body dialog.app-menu.sg-site-menu::after,html body dialog.app-menu.sg-site-menu::backdrop{animation:none!important;transition:none!important}}

/* Removed from the menu on request (consent can still be changed from the shop footer). */
html body dialog.app-menu .sgja-preferences{display:none!important}
