@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700;900&family=Outfit:wght@300;400;600;800&display=swap');

/* 銆婁唬鍙凤細绁炵鍗氬紙銆?鍏ㄥ眬璁捐绯荤粺涓庣Щ鍔ㄧ鏍峰紡搴?*/
/* Google Fonts 瀵煎叆 */
:root {
  /* [comment removed] */
  --bg-dark: #0a0b0e;
  --bg-card: rgba(22, 24, 33, 0.7);
  --bg-glass: rgba(15, 17, 24, 0.85);
  --border-glass: rgba(255, 255, 255, 0.07);
  --border-glass-active: rgba(255, 255, 255, 0.15);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  /* [comment removed] */
  --color-lv1: #10b981; /* 1璐?缈犵豢 */
  --color-lv1-glow: rgba(16, 185, 129, 0.2);
  --color-lv2: #3b82f6; /* 3璐?钄氳摑 */
  --color-lv2-glow: rgba(59, 130, 246, 0.25);
  --color-lv3: #ec4899; /* 6璐?缁氱矇 */
  --color-lv3-glow: rgba(236, 72, 153, 0.35);

  /* [comment removed] */
  --color-zeus: #60a5fa; /* 闆烽渾钃?*/
  --color-zeus-glow: rgba(96, 165, 250, 0.4);
  --color-athena: #fbbf24; /* 绁炲湥閲?*/
  --color-athena-glow: rgba(251, 191, 36, 0.4);
  --color-ares: #f87171; /* 鍡滆绾?*/
  --color-ares-glow: rgba(248, 113, 113, 0.4);

  /* 瀛椾綋绯荤粺 */
  --font-title: 'Cinzel', serif;
  --font-body: 'Outfit', sans-serif;

  /* 鍔ㄧ敾杩囨浮 */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  /* 绉诲姩绔槻鎷栧姩閫変腑 */
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow: hidden;
  height: 100vh;
  width: 100vw;
  /* 鍏ㄩ潰灞忓垬娴烽€傞厤 */
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}
#root {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  background: radial-gradient(circle at 50% 30%, #151a24 0%, #0a0b0e 70%);
}
/* 鐜荤拑鎷熸€佸崱鐗?*/
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
  transition: var(--transition-normal);
}
.glass-panel-active {
  border-color: var(--border-glass-active);
  background: rgba(22, 24, 33, 0.85);
}
/* 娓愬彉鏍囬 */
.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--font-title);
  font-weight: 700;
}
/* 鎸夐挳鍩虹绫?*/
.btn-primary {
  background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
  cursor: pointer;
  transition: var(--transition-fast);
  font-family: var(--font-body);
}
.btn-primary:active {
  transform: scale(0.95);
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.2);
}
/* 鎶曢檷鎸夐挳鏍峰紡 */
.btn-surrender {
  background: linear-gradient(135deg, #ef4444 0%, #991b1b 100%);
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
  font-size: 14px;
  transition: var(--transition-fast);
}
.btn-surrender:active {
  transform: scale(0.95);
}
/* 婊氬姩鏉￠殣钘忥紙涓昏鐢ㄤ簬鎵嬬墝婊氬姩绛夛級 */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
/* [comment removed] */
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* 闂儊鍛煎惛鍏夋檿鍔ㄧ敾 */
@keyframes pulse-glow {
  0%, 100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}
.glow-effect {
  animation: pulse-glow 2s infinite ease-in-out;
}


/* 战斗日志基础样式 */
.battle-log-panel {
  position: absolute;
  width: 140px;
  max-height: 28vh;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 25;
  pointer-events: auto;
  padding-right: 2px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.25) transparent;
}

.battle-log-panel--default {
  right: 8px;
  top: 72px;
  max-height: 38vh;
}

.battle-log-panel--top-left {
  left: 8px;
  top: 95px;
}

.battle-log-panel--bottom-right {
  right: 8px;
  bottom: 160px;
}

.battle-log-panel::-webkit-scrollbar {
  width: 4px;
}

.battle-log-panel::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.22);
  border-radius: 4px;
}

.battle-log-panel::-webkit-scrollbar-track {
  background: transparent;
}

.battle-log-panel__line {
  font-size: 10.5px;
  line-height: 1.4;
  color: rgba(255,255,255,0.78);
  text-shadow: 0 1px 3px rgba(0,0,0,0.95), 0 0 6px rgba(0,0,0,0.5);
  word-break: break-word;
  flex-shrink: 0;
}

.battle-log-panel__line--round {
  color: #c7d2fe;
}

.battle-log-panel__line--combo {
  color: #f472b6;
}

.app-container {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}@keyframes aiPickFly {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2) translateY(-20px); opacity: 0.8; }
  100% { transform: scale(0.5) translate(-100vw, -50vh); opacity: 0; }
}
.prep-card--ai-picking {
  animation: aiPickFly 0.6s ease-in forwards;
  z-index: 999;
}
