.site-floating {
  position: fixed;
  z-index: 35;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  display: flex;
  max-width: calc(100% - 36px);
}

html .site-floating[data-floating-style] .site-floating-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  min-width: 0;
  padding: 8px 18px;
  border: 1px solid #fff;
  border-radius: 9px;
  color: #fff;
  background: #154b40;
  box-shadow: 0 3px 14px #102f3440;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  overflow-wrap: anywhere;
}

html .site-floating .site-floating-link:hover { background: #1d6051; }
.site-floating-link:focus-visible { outline: 3px solid #ffdf77; outline-offset: 2px; }

.site-floating[data-floating-style="icon"] .site-floating-link {
  width: 54px;
  height: 54px;
  padding: 0;
  border-radius: 50%;
}

.site-floating[data-floating-style="icon"] .site-floating-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.site-floating-icon {
  position: relative;
  width: 26px;
  height: 21px;
  border: 2px solid currentColor;
  border-radius: 7px;
  font: 700 11px/17px sans-serif;
  letter-spacing: 1px;
}

.site-floating-icon::after {
  position: absolute;
  bottom: -4px;
  left: 5px;
  width: 5px;
  height: 5px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  background: #154b40;
  transform: rotate(45deg);
  content: "";
}

.site-floating-link:hover .site-floating-icon::after { background: #1d6051; }

.site-floating[data-floating-style="bar"] {
  right: 0;
  bottom: 0;
  left: 0;
  justify-content: center;
  max-width: none;
  padding: 8px max(14px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
  border-top: 1px solid #cddfd9;
  background: #f5faf8;
  box-shadow: 0 -4px 14px #102f3426;
}

.site-floating[data-floating-style="bar"] .site-floating-link {
  width: min(100%, 400px);
}

body:has(.site-floating[data-floating-style="bar"]) { padding-bottom: max(86px, calc(76px + env(safe-area-inset-bottom))); }
