/* spell_tooltip.js 配套样式，原样搬自旧版 website/static/css/style.css
   颜色来源：Blizzard_Source 源码
   背景 TOOLTIP_DEFAULT_BACKGROUND_COLOR = rgb(23,23,48)
   文字 GameTooltipHeaderText / GameTooltipText = rgb(255,255,255) */
#ex-spell-tooltip {
  max-width: 320px;
  min-width: 220px;
  font-family: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  font-size: 15px;
  line-height: 1.5;
}
.ex-tip-inner {
  background: #171730;
  border: 1px solid rgba(100, 100, 160, 0.8);
  outline: 1px solid #000;
  border-radius: 0;
  padding: 9px 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.85);
}
.ex-tip-layout { display: flex; align-items: flex-start; gap: 3px; }
.ex-tip-icon { width: 44px; height: 44px; flex-shrink: 0; display: block; image-rendering: pixelated; }
.ex-tip-name {
  color: #ffffff; font-weight: 700; font-size: 17px; line-height: 1.25;
  margin-bottom: 5px; text-shadow: 0 0 6px rgba(0,0,0,0.9);
}
.ex-tip-desc {
  color: #FFD200; margin: 0; white-space: pre-wrap; word-break: break-word;
  font-size: 15px; line-height: 1.5;
}
.ex-tip-footer { margin-top: 7px; padding-top: 5px; border-top: 1px solid rgba(100,100,160,0.4); }
.ex-tip-stat { display: flex; justify-content: space-between; align-items: center; line-height: 1.6; }
.ex-tip-stat-label { color: #9090c0; font-size: 12px; }
.ex-tip-stat-val { color: #d0d0ff; font-size: 12px; font-variant-numeric: tabular-nums; }
[data-spell-id] { cursor: help; text-decoration-style: dotted; text-underline-offset: 2px; }

/* 职业改动法术条目(.sc)——"发布职业改动.py"等脚本生成的content_html里会用到 */
.sc { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid #21262d; }
.sc-icon { width: 46px; height: 46px; border-radius: 6px; flex-shrink: 0; margin-top: 2px; object-fit: cover; }
.sc-body { flex: 1; min-width: 0; }
.sc-name { font-size: 17px; font-weight: 700; color: #e6edf3; line-height: 1.3; }
.sc-name [data-spell-id] { cursor: pointer; text-decoration: none; }
.sc-name [data-spell-id]:hover { text-decoration: underline; }
.sc-id { font-size: 12px; font-weight: 400; color: #484f58; margin-left: 4px; }
.sc-desc { display: block; font-size: 14px; color: #8b949e; margin-top: 5px; line-height: 1.65; }
.sc-desc del { color: #f85149; text-decoration: line-through; }
.sc-desc ins { color: #3fb950; text-decoration: none; }
.sc-change { font-size: 15px; font-weight: 600; margin-top: 6px; }
.sc-class-header { font-size: 20px; font-weight: 800; padding: 28px 0 10px; border-bottom: 2px solid #21262d; margin-bottom: 4px; }
.sc-section-header { font-size: 13px; font-weight: 700; color: #58a6ff; margin: 24px 0 4px; letter-spacing: .06em; }
.sc-aura-box { border: 1px solid #30363d; border-radius: 6px; overflow: hidden; margin-bottom: 8px; }
.sc-aura-row { display: flex; align-items: center; gap: 8px; padding: 6px 14px; border-bottom: 1px solid #21262d; flex-wrap: wrap; font-size: 13px; }
.sc-aura-row:last-child { border-bottom: none; }
.sc-aura-spec { font-size: 13px; color: #8b949e; font-weight: 600; margin: 10px 0 4px; }
.sc-aura-affected { padding: 3px 12px 6px; color: rgba(148,163,184,0.45); font-size: 11px; line-height: 1.7; }
.sc-aura-affected summary { cursor: pointer; list-style: none; user-select: none; padding: 3px 0; }
.sc-aura-affected summary::-webkit-details-marker { display: none; }
