/* Shared geometry for the 24px Crypto Dictionary SVG symbol set. */
.cd-icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.cd-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  min-width: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: inherit;
  vertical-align: -.2em;
  overflow: visible;
  pointer-events: none;
}
.cd-icon use { pointer-events: none; }
.cd-icon--small { width: 18px; height: 18px; min-width: 18px; }

/* Size and align the symbols without enlarging their existing touch targets. */
.feed-action,
.definition-feedback button,
.copy-link,
.header-cta,
.feed-tab,
.sidebar-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.feed-action .cd-icon,
.definition-feedback button .cd-icon,
.copy-link .cd-icon,
.sidebar-all .cd-icon { width: 20px; height: 20px; min-width: 20px; }
.feed-action,
.definition-feedback button { min-height: 44px; }
.feed-actions { gap: 6px; }
.bookmark-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  font-size: inherit;
  line-height: 1;
}
.bookmark-icon .cd-icon { display: block; width: 20px; height: 20px; min-width: 20px; }
.bookmark-label { line-height: 1.4; }
.text-link { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; white-space: normal; }
.sidebar-card > .text-link { display: flex; justify-content: flex-start; gap: 6px; }
.text-link .cd-icon,
.source-link .cd-icon,
.related-link .cd-icon { width: 20px; height: 20px; min-width: 20px; }
.source-link { display: flex; align-items: center; gap: 6px; }
.card-arrow { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; line-height: 1; }
.card-arrow .cd-icon { display: block; width: 20px; height: 20px; min-width: 20px; }
.related-link,
.sidebar-topic-list a { align-items: center; }
.sidebar-topic-list .cd-icon { width: 18px; height: 18px; min-width: 18px; }
.word-of-day::before { content: none; display: none; }
.word-of-day { gap: 6px; }
.word-of-day .cd-icon { width: 18px; height: 18px; min-width: 18px; }
.path-icon .cd-icon { display: block; width: 26px; height: 26px; min-width: 26px; }
.mini-icon .cd-icon { display: block; width: 18px; height: 18px; min-width: 18px; }

/* Compact search and appearance controls keep the global header's height. */
.search-box > .cd-icon,
.site-header .header-search .search-box > .cd-icon { width: 20px; height: 20px; min-width: 20px; flex-shrink: 0; }
.search-box button { align-items: center; gap: 6px; }
.search-box button > .cd-icon { width: 18px; height: 18px; min-width: 18px; }
.site-header .header-search .search-box button { gap: 6px; }
.site-header .header-search .search-box button > .cd-icon { width: 18px; height: 18px; min-width: 18px; }
.site-header .header-cta { gap: 6px; }
.site-header .header-cta > .cd-icon,
.site-header .header-nav > a > .cd-icon { width: 18px; height: 18px; min-width: 18px; }
.site-header .header-nav > a { gap: 6px; align-items: center; }
.site-header .mobile-menu > .cd-icon { width: 20px; height: 20px; min-width: 20px; }
.appearance-control > summary { gap: 6px; }
.appearance-control > summary > .cd-icon { display: block; width: 18px; height: 18px; min-width: 18px; }
.appearance-options [data-theme-choice] { display: inline-flex; align-items: center; justify-content: flex-start; width: 100%; gap: 8px; }
.appearance-options [data-theme-choice] > .cd-icon { width: 18px; height: 18px; min-width: 18px; }

@media (max-width: 600px) {
  .feed-action { gap: 6px; }
  .site-header .header-search .search-box button { gap: 6px; }
  .site-header .header-search .search-box > .cd-icon { width: 20px; height: 20px; min-width: 20px; }
}
