/* Cozy Village - Radial Context Menu */
.radial-menu-root {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  font-family: -apple-system, BlinkMacSystemFont, 'Pretendard', 'Apple SD Gothic Neo', sans-serif;
}

.radial-center-indicator {
  position: fixed;
  pointer-events: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #294c33;
  box-shadow: 0 0 10px rgba(41, 76, 51, 0.6);
  transform: translate(-50%, -50%);
  z-index: 5;
}

.radial-btn {
  position: fixed;
  pointer-events: auto;
  width: 46px;
  height: 46px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  background: var(--glass-panel);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: 0 8px 24px rgba(18, 28, 20, 0.2), 0 2px 6px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.14s, border-color 0.14s, box-shadow 0.14s;
  outline: none;
  z-index: 10;
}

.radial-btn:hover,
.radial-btn:focus-visible,
.radial-btn.focused {
  background: rgba(255, 255, 255, 0.92);
  border-color: #ffffff;
  transform: scale(1.15);
  box-shadow: 0 10px 28px rgba(18, 28, 20, 0.28), 0 0 0 2px rgba(41, 76, 51, 0.25);
  z-index: 15;
}

.radial-btn:active {
  transform: scale(0.95);
  background: rgba(255, 255, 255, 0.98);
}

.radial-btn svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  pointer-events: none;
}

.radial-label-card {
  position: fixed;
  pointer-events: none;
  background: rgba(20, 26, 22, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.12s ease;
  z-index: 25;
}

.radial-label-card.visible {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .radial-btn,
  .radial-label-card {
    transition: none !important;
  }
}
