/* Floating call button, call panel and the phone number row. */

.callfab {
  position: fixed;
  left: max(14px, env(safe-area-inset-left));
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  z-index: 20;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: 50%;
  transition: transform 0.2s;
}
.callpanel {
  position: fixed;
  left: max(14px, env(safe-area-inset-left));
  bottom: calc(90px + env(safe-area-inset-bottom, 0px));
  z-index: 21;
  width: min(320px, calc(100vw - 28px));
  background: #06141e;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  box-shadow:
    0 0 30px rgba(54, 214, 239, 0.25),
    0 20px 40px rgba(0, 0, 0, 0.6);
  animation: in 0.3s ease;
}
.callpanel[hidden] {
  display: none;
}
.cp-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 700 17px "Exo 2";
  color: #eafaff;
}
.cp-x {
  width: 44px;
  height: 44px;
  margin: -10px -10px -10px 0;
  background: none;
  border: 0;
  color: var(--dim);
  font-size: 26px;
  cursor: pointer;
}
.cp-status {
  font-size: 15px;
  color: #b9dbe6;
  margin: 8px 0 10px;
}
.cp-timer {
  font: 700 32px "Exo 2";
  color: var(--cy);
  text-shadow: 0 0 10px rgba(54, 214, 239, 0.5);
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.cp-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cp-btns .btn[aria-pressed="true"] {
  background: rgba(243, 154, 58, 0.2);
  border-color: var(--or);
  color: var(--or);
}
.cp-end {
  background: #e5484d !important;
  border-color: #e5484d !important;
  color: #fff !important;
  box-shadow: 0 0 14px rgba(229, 72, 77, 0.5);
}
.cp-alt {
  font-size: 14px;
  color: var(--dim);
  margin: 12px 0 0;
}
.callfab.live img {
  animation: ring 1.4s ease-in-out infinite;
}
@keyframes ring {
  50% {
    filter: drop-shadow(0 0 18px rgba(54, 214, 239, 0.95));
  }
}
@media (prefers-reduced-motion: reduce) {
  .callfab.live img {
    animation: none;
  }
}
.callfab img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(54, 170, 255, 0.55));
}
.callfab:hover {
  transform: scale(1.08);
}
.callfab span {
  position: absolute;
  left: 72px;
  top: 50%;
  translate: 0 -50%;
  white-space: nowrap;
  font-size: 13px;
  color: var(--ink);
  background: #02141b;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 5px 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.callfab:hover span,
.callfab:focus-visible span {
  opacity: 1;
}
@media (max-width: 860px) {
  .app {
    padding-bottom: 90px;
  }
}
.phonerow {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
}
.ccbox {
  display: grid;
  place-items: center;
  min-width: 64px;
  padding: 0 12px;
  border: 1px solid rgba(54, 214, 239, 0.35);
  border-radius: 10px;
  background: rgba(54, 214, 239, 0.08);
  color: var(--cy);
  font-weight: 600;
  white-space: nowrap;
}
