/* ========================================= */
/* 文件：hunter-panel.css                      */
/* 功能：猎人面板五宫格及猎人基础信息卡         */
/*       ——毛玻璃弹窗容器、星星背景装饰、       */
/*       头像光环呼吸动画、五宫格卡片网格、      */
/*       紫橙渐变果冻卡片                       */
/* ========================================= */

/* =========================================
   ✨ 猎人面板弹窗
   ========================================= */
.hunter-panel-content {
  width: 100%; max-width: 320px;
  background:
    linear-gradient(135deg, rgba(10, 8, 20, 0.7), rgba(5, 5, 12, 0.75)) padding-box,
    linear-gradient(135deg, rgba(255, 179, 122, 0.4), rgba(162, 155, 254, 0.35)) border-box;
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  border: 1px solid transparent;
  border-radius: 28px;
  box-shadow:
    -2px -2px 10px rgba(162, 155, 254, 0.15),
    2px 2px 10px rgba(255, 179, 122, 0.15),
    0 12px 30px rgba(0, 0, 0, 0.45),
    inset 0 1px 1px rgba(255, 255, 255, 0.08);
  transform: translateZ(0);
  overflow: hidden;
  animation: popIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hunter-stars {
  position: absolute;
  inset: 10px;
  pointer-events: none;
  z-index: 0;
}
.hunter-star {
  position: absolute;
  background: #fff;
  border-radius: 50%;
  animation: hunter-twinkle var(--dur, 2s) var(--delay, 0s) infinite ease-in-out;
}
@keyframes hunter-twinkle {
  0%, 100% { opacity: 0.05; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

.hunter-panel-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 20px 20px;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.hunter-avatar-ring {
  width: 82px; height: 82px;
  border-radius: 50%;
  border: 1px solid rgba(255, 179, 122, 0.4);
  box-shadow: 0 0 16px rgba(255, 179, 122, 0.2);
  display: flex; align-items: center; justify-content: center;
  animation: hunter-ring-breathe 3s infinite ease-in-out;
}
@keyframes hunter-ring-breathe {
  0%, 100% { box-shadow: 0 0 10px rgba(255, 179, 122, 0.15); border-color: rgba(255, 179, 122, 0.25); }
  50% { box-shadow: 0 0 24px rgba(255, 179, 122, 0.5); border-color: rgba(255, 179, 122, 0.7); }
}

.hunter-panel-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

.hunter-panel-location {
  font-size: 13px;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.6);
}

.hunter-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 14px 26px;
  position: relative;
  z-index: 1;
}

.hunter-card {
  border-radius: 20px;
  padding: 14px 12px;
  min-height: 52px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}
.hunter-card:active { transform: scale(0.95); }

/* 四个统一：紫橙渐变果冻 */
.hunter-card {
  background: linear-gradient(135deg, rgba(255, 179, 122, 0.1), rgba(162, 155, 254, 0.09));
  border: 1px solid rgba(255, 179, 122, 0.16);
  box-shadow: 0 0 10px rgba(255, 179, 122, 0.06), inset 0 0 8px rgba(162, 155, 254, 0.04);
  color: rgba(255, 255, 255, 0.88);
}
.hunter-card:active {
  background: linear-gradient(135deg, rgba(255, 179, 122, 0.26), rgba(162, 155, 254, 0.22));
  box-shadow: 0 0 18px rgba(255, 179, 122, 0.2), 0 0 10px rgba(162, 155, 254, 0.15);
  transform: scale(0.95);
}

.hunter-card-disabled {
  opacity: 0.35;
  pointer-events: none;
}

.hunter-card-icon {
  font-size: 20px;
  flex-shrink: 0;
  color: rgba(255,255,255,0.85);
  line-height: 1;
}

.hunter-card-label {
  font-size: 13px;
  color: inherit;
  font-weight: 500;
  line-height: 1.4;
}

.hunter-card-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
}
