/* 幣股 StockIcon — 美編 · style 01. Pairs with StockIcon.tsx. Sizes: 15 / 22 / 32 / 40 / 48 / 56. */
.stk-ic { position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; overflow: hidden; isolation: isolate;
  width: var(--d); height: var(--d);
  background: radial-gradient(75% 75% at 50% 0%, rgba(255,255,255,.16), rgba(255,255,255,0) 60%), linear-gradient(150deg, #3A3A40, #17171A); }
/* hairline drawn inside the circle so it never changes layout size */
.stk-ic::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 0.5px rgba(255,255,255,.12); pointer-events: none; z-index: 2; }
.stk-ic .stk-t { font-family: Inter, -apple-system, "SF Pro Text", system-ui, sans-serif; font-weight: 600; line-height: 1; color: #F5F5F7; white-space: nowrap; font-feature-settings: "cv11" 0, "ss01" 0; transform-origin: center; }
.stk-ic .stk-t i { font-style: normal; color: #F7931A; }
/* real logo layer, sits on top of the badge and fades in only after it has loaded */
.stk-ic .stk-plate { position: absolute; inset: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .16s ease-out; z-index: 1; }
.stk-ic.ok .stk-plate { opacity: 1; }
.stk-ic .stk-plate img { display: block; width: 100%; height: 100%; object-fit: cover; }
.stk-ic .stk-plate.pad img { width: 60%; height: 60%; object-fit: contain; }      /* mark-only logos: 20% safe area */
.stk-ic .stk-plate.wide img { width: 76%; height: 60%; object-fit: contain; }     /* wordmark / rectangular */
.stk-ic .stk-plate.light { background: #F5F5F7; }
.stk-ic .stk-plate.dark { background: #1C1C1E; }
.stk-ic.ok.light-plate::after { box-shadow: inset 0 0 0 0.5px rgba(0,0,0,.10); }  /* white plate: hairline turns dark */
/* finished icons from icons/ already carry their plate colour + hairline: no extra ring */
.stk-ic.ok.baked::after { box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .stk-ic .stk-plate { transition: none; } }
