/* Shared, local-only official LINE shortcut. Mobile placement clears the glass dock. */
body a.m-line-fab {
  --line-safe-bottom: env(safe-area-inset-bottom, 0px);
  position: fixed;
  z-index: 24;
  right: max(24px, env(safe-area-inset-right, 0px));
  bottom: calc(24px + var(--line-safe-bottom));
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding: 0;
  box-sizing: border-box;
  border: 1px solid rgba(0, 98, 42, .15);
  border-radius: 50%;
  background: #06c755;
  color: white;
  box-shadow: 0 5px 18px rgba(0, 74, 34, .18), 0 1px 4px rgba(0, 74, 34, .12);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.m-line-fab img { display: block; width: 32px; height: 32px; }
.m-line-fab[data-occluded] { visibility: hidden; pointer-events: none; }
body a.m-line-fab:focus-visible { outline: 3px solid #071f48; outline-offset: 4px; }
@media (hover: hover) {
  body a.m-line-fab:hover { transform: translateY(-2px); box-shadow: 0 7px 22px rgba(0, 74, 34, .24); }
}
@media (max-width: 680px) {
  body a.m-line-fab { right: max(20px, env(safe-area-inset-right, 0px)); bottom: calc(98px + env(safe-area-inset-bottom, 0px)); }
  html { scroll-padding-bottom: calc(172px + env(safe-area-inset-bottom, 0px)); }
  .m-has-mobile-dock { padding-bottom: calc(172px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  body a.m-line-fab { transition: none; }
  body a.m-line-fab:hover { transform: none; }
}
@media print {
  body a.m-line-fab { display: none; }
  .m-has-mobile-dock { padding-bottom: 0; }
}
