/* Athelgard dock — floating owl launcher (bottom of screen) */
#athelgard-dock-root {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 2147483000;
  font-family: Inter, system-ui, sans-serif;
  pointer-events: none;
}
#athelgard-dock-root * { box-sizing: border-box; pointer-events: auto; }

.ag-dock-btn {
  width: 56px;
  height: 56px;
  border: 2px solid rgba(255, 217, 59, 0.55);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #1a1f35 0%, #06060e 72%);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55), 0 0 18px rgba(255, 217, 59, 0.22);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.ag-dock-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.6), 0 0 24px rgba(0, 206, 209, 0.35);
}
.ag-dock-btn img {
  width: 34px;
  height: 34px;
  display: block;
}
.ag-dock-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(0, 206, 209, 0.35);
  animation: ag-dock-pulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes ag-dock-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.35); opacity: 0; }
}

.ag-dock-menu {
  position: absolute;
  right: 0;
  bottom: 66px;
  min-width: 210px;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid rgba(255, 217, 59, 0.28);
  background: rgba(8, 10, 22, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
  display: none;
  flex-direction: column;
  gap: 4px;
}
.ag-dock-menu.open { display: flex; }
.ag-dock-menu h4 {
  margin: 2px 8px 6px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
}
.ag-dock-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  color: #e8eef8;
  text-decoration: none;
  font-size: 12px;
  border: 1px solid transparent;
}
.ag-dock-link:hover {
  background: rgba(255, 217, 59, 0.08);
  border-color: rgba(255, 217, 59, 0.22);
}
.ag-dock-link .tag {
  font-size: 9px;
  letter-spacing: 0.06em;
  color: #6ec8ff;
  text-transform: uppercase;
}
.ag-dock-link.primary {
  background: rgba(255, 217, 59, 0.1);
  border-color: rgba(255, 217, 59, 0.35);
  font-weight: 600;
}
.ag-dock-meta {
  margin: 4px 8px 0;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.35;
}

@media (max-width: 640px) {
  #athelgard-dock-root { right: 12px; bottom: 12px; }
  .ag-dock-btn { width: 50px; height: 50px; }
  .ag-dock-btn img { width: 30px; height: 30px; }
}
