.call {
  position: fixed;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  pointer-events: none;
}

.call-fab,
.call-act { pointer-events: auto; }

.call-fab {
  width: 3.5rem;
  height: 3.5rem;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
}

.call-fab svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.18s ease;
}

.call-fab svg + svg { display: none; }
.call.on .call-fab svg { display: none; }
.call.on .call-fab svg + svg { display: block; }

.call-act {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: var(--ink);
  font: inherit;
  visibility: hidden;
  opacity: 0;
  transform: translateY(0.4rem);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s 0.15s;
}

.call.on .call-act {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.call.on .call-act:nth-of-type(1) { transition-delay: 0.06s; }
.call.on .call-act:nth-of-type(2) { transition-delay: 0.03s; }

.call-tag {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.25rem 0.6rem;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  white-space: nowrap;
}

.call-ico {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
}

.call-ico svg {
  width: 1.375rem;
  height: 1.375rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.call-toast {
  position: fixed;
  right: 1rem;
  bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px));
  z-index: 70;
  max-width: min(20rem, calc(100vw - 2rem));
  background: var(--ink-strong);
  color: var(--paper);
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
  font-size: 0.95rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

body.has-call { padding-bottom: 4.5rem; }
