/* ==========================================================================
   svg-icon.css · SvgIcon 组件样式
   对应源码：ptgame/app/src/components/SvgIcon/index.vue <style scoped>
   （嵌套/:deep 展开为扁平 CSS，注释逐条对应）
   ========================================================================== */

.svg-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  vertical-align: middle;
  color: inherit;
  flex-shrink: 0;
}

/* 源码 .svg-icon :deep(svg)：内部 SVG 撑满容器；
   不强制注入 fill: currentColor（源码注释：避免覆盖 SVG 源里写死的颜色），
   需要 CSS 控色的 SVG 源自带 fill="currentColor"，由 .svg-icon color: inherit 透传 */
.svg-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}
