/* Shared fourth action on all existing fixed menus. */
:is(.guide-floating,.self-floating,.event-floating) .home-floating{display:flex;align-items:center;justify-content:center;min-height:48px;padding:12px 16px;border:1px solid #b9a279;border-radius:9px;background:linear-gradient(130deg,#fff4db,#e9d8b8);color:#3f3524;font:inherit;font-size:15px;font-weight:700;text-decoration:none;box-shadow:inset 0 1px 0 #fff9ed,0 3px 10px #14281f33}
:is(.guide-floating,.self-floating,.event-floating) .home-floating:hover{background:#ffedc7}
.home-floating:focus-visible{outline:3px solid #b2802e;outline-offset:3px}
main{padding-bottom:calc(280px + env(safe-area-inset-bottom,0px))}
/* Shared Art Deco brass/enamel quick-action nameplates. */
:is(.guide-floating,.self-floating,.event-floating)>:is(button,a){inset:auto}
:is(.guide-floating,.self-floating,.event-floating){gap:10px;--float-light:#f8e4b5;--float-base:#d1b57a;--float-dark:#b19054;--float-ink:#382c16}
:is(.guide-floating,.self-floating,.event-floating) .contact-floating{--float-light:#803647;--float-base:#642334;--float-dark:#461623;--float-ink:#fff4df}
:is(.guide-floating,.self-floating,.event-floating) :is(.top,.back-top){--float-light:#56795f;--float-base:#31513e;--float-dark:#1e392e;--float-ink:#fff2d4}
:is(.guide-floating,.self-floating,.event-floating) .home-floating{--float-light:#fbefd6;--float-base:#d8c8a7;--float-dark:#baaa8a;--float-ink:#3b3526}
:is(.guide-floating,.self-floating,.event-floating)>:is(#openPrice,a),:is(.guide-floating,.self-floating,.event-floating)>:is(#openPrice,a):hover{
position:relative;isolation:isolate;overflow:hidden;border:1px solid #b6975d;border-top-color:#f2dfab;border-left-color:#dbc18c;border-bottom-color:#74552e;border-radius:4px;color:var(--float-ink);background:repeating-linear-gradient(0deg,#fff4d10b 0px,#fff4d10b 1px,#160c1809 1px,#160c1809 2px,transparent 2px,transparent 4px),linear-gradient(120deg,#fff5d12e,transparent 25%,#fff6dc36 39%,transparent 55%),linear-gradient(110deg,var(--float-light),var(--float-base) 58%,var(--float-dark));box-shadow:inset 0 1px 0 #fff6d18c,inset 0 -1px 1px #28192733,0 3px 0 #655034,0 6px 12px #10132140;transition:translate .18s ease,box-shadow .18s ease;filter:none;touch-action:manipulation;text-shadow:0 1px 0 #ffffff15}
:is(.guide-floating,.self-floating,.event-floating)>:is(button,a):before{content:'';position:absolute;inset:3px;border:1px solid #f0d39766;pointer-events:none;background:radial-gradient(circle at 2px 2px,#fff0bd 0 1px,#99733c 1px 1.6px,transparent 2px),radial-gradient(circle at calc(100% - 2px) calc(100% - 2px),#fff0bd 0 1px,#99733c 1px 1.6px,transparent 2px)}
:is(.guide-floating,.self-floating,.event-floating)>:is(button,a):after{content:'';position:absolute;inset:-50% auto -50% -65%;width:45%;background:linear-gradient(100deg,transparent,#fff8d64d,transparent);transform:skewX(-20deg);translate:0 0;pointer-events:none;opacity:0}
@media(hover:hover) and (pointer:fine){:is(.guide-floating,.self-floating,.event-floating)>:is(#openPrice,a):hover{translate:0 -2px;box-shadow:inset 0 1px 0 #fff6d1bb,inset 0 -1px 1px #28192733,0 5px 0 #655034,0 10px 16px #10132155}:is(.guide-floating,.self-floating,.event-floating)>:is(button,a):hover:after{animation:floating-metal-shine .7s ease-out}}
@keyframes floating-metal-shine{0%{translate:0 0;opacity:0}25%{opacity:1}100%{translate:420% 0;opacity:0}}
:is(.guide-floating,.self-floating,.event-floating)>:is(#openPrice,a):active{translate:0 2px;box-shadow:inset 0 2px 3px #28192733,0 1px 0 #655034,0 3px 7px #10132140}
:is(.guide-floating,.self-floating,.event-floating)>:is(#openPrice,a):focus-visible{outline:3px solid #f6d88d;outline-offset:4px}
/* A narrow corner stack leaves the rest of the mobile screen available. */
@media(max-width:600px){
  :is(.guide-floating,.self-floating,.event-floating){
    position:fixed;top:auto;left:auto;right:calc(10px + env(safe-area-inset-right,0px));bottom:calc(10px + env(safe-area-inset-bottom,0px));
    display:flex;flex-direction:column;align-items:stretch;gap:6px;width:108px;max-width:calc(100vw - 20px);height:auto;margin:0;padding:0;
    border:0;border-radius:0;background:none;box-shadow:none;
  }
  :is(.guide-floating,.self-floating,.event-floating)>:is(#openPrice,a){
    box-sizing:border-box;display:flex;align-items:center;justify-content:center;flex:none;width:100%;min-width:0;min-height:44px;height:44px;
    margin:0;padding:7px 8px;font-size:13px;line-height:1.35;letter-spacing:0;white-space:nowrap;
  }
  /* Let the final content scroll clear of all four fixed actions. */
  body>main,body>main.scissors-gallery{padding-bottom:calc(220px + env(safe-area-inset-bottom,0px))}
  /* Keep landing-page signatures close to their content; scroll clearance belongs below them. */
  body.landing-with-footer>main{padding-bottom:24px}
  body.landing-with-footer>footer{padding-top:0;padding-bottom:calc(220px + env(safe-area-inset-bottom,0px))}
}
@media(prefers-reduced-motion:reduce){:is(.guide-floating,.self-floating,.event-floating)>:is(#openPrice,a){transition:none}:is(.guide-floating,.self-floating,.event-floating)>:is(#openPrice,a):is(:hover,:active){translate:none}:is(.guide-floating,.self-floating,.event-floating)>:is(button,a):after{animation:none!important;display:none}}
