/* Premium kanji badges + CSS micro-glyphs (no emoji) */

.flj-kanji-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.28rem;
  font-weight: 900;
  line-height: 1;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
  color: var(--glyph-color, var(--sakura, #ff6584));
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.skill-icon.flj-kanji-icon,
.hub-card-icon.flj-kanji-icon {
  margin-bottom: 10px;
}

.flj-kanji-icon--mint { --glyph-color: var(--mint, #00f5d4); }
.flj-kanji-icon--gold { --glyph-color: var(--gold, #f5a623); }
.flj-kanji-icon--red { --glyph-color: var(--red, #e63946); }
.flj-kanji-icon--purple { --glyph-color: #c084fc; }
.flj-kanji-icon--blue { --glyph-color: #6eb8ff; }

.flj-kanji-icon--sm {
  width: 1.55rem;
  height: 1.55rem;
  font-size: 0.82rem;
  border-radius: 8px;
  margin-bottom: 0;
}

.flj-kanji-icon--dock {
  width: 1.75rem;
  height: 1.75rem;
  font-size: 0.9rem;
  border-radius: 9px;
  margin: 0 auto 4px;
}

.flj-kanji-icon--lg {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.55rem;
  border-radius: 16px;
}

/* CSS micro-glyphs */
.flj-glyph-flame,
.flj-glyph-xp,
.flj-glyph-lock,
.flj-glyph-check,
.flj-glyph-cross,
.flj-glyph-bolt {
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}

.flj-glyph-flame {
  width: 8px;
  height: 10px;
  background: linear-gradient(180deg, var(--sakura, #ff6584), var(--gold, #f5a623));
  border-radius: 50% 50% 50% 50% / 55% 55% 45% 45%;
  box-shadow: 0 0 8px rgba(245, 166, 35, 0.4);
}

.flj-glyph-xp {
  width: 8px;
  height: 8px;
  background: var(--mint, #00f5d4);
  transform: rotate(45deg);
  border-radius: 1px;
  box-shadow: 0 0 8px rgba(0, 245, 212, 0.45);
}

.flj-glyph-bolt {
  width: 7px;
  height: 11px;
  background: linear-gradient(180deg, #fff6a8, var(--gold, #f5a623));
  clip-path: polygon(50% 0, 100% 42%, 58% 42%, 72% 100%, 0 48%, 42% 48%);
  box-shadow: 0 0 6px rgba(245, 166, 35, 0.45);
}

.flj-glyph-lock {
  width: 9px;
  height: 11px;
  border: 2px solid currentColor;
  border-radius: 2px;
  position: relative;
  opacity: 0.9;
}
.flj-glyph-lock::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -6px;
  width: 7px;
  height: 6px;
  margin-left: -3.5px;
  border: 2px solid currentColor;
  border-bottom: none;
  border-radius: 5px 5px 0 0;
}

.flj-glyph-check,
.flj-glyph-cross {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  position: relative;
}
.flj-glyph-check::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 4px;
  width: 4px;
  height: 7px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.flj-glyph-cross::before,
.flj-glyph-cross::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 2px;
  margin: -1px 0 0 -4px;
  background: currentColor;
  border-radius: 1px;
}
.flj-glyph-cross::before { transform: rotate(45deg); }
.flj-glyph-cross::after { transform: rotate(-45deg); }

.flj-pill-glyph {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.flj-coach-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.28), rgba(255, 101, 132, 0.12));
  border: 1px solid rgba(255, 101, 132, 0.38);
  color: #ff9bb0;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(230, 57, 70, 0.2);
}

.flj-done-mark {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 12px;
  color: var(--mint, #00f5d4);
  text-shadow: 0 0 28px rgba(0, 245, 212, 0.35);
}

.flj-done-mark--gold { color: var(--gold, #f5a623); text-shadow: 0 0 28px rgba(245, 166, 35, 0.35); }
.flj-done-mark--soft { color: #b8bfd4; text-shadow: none; font-size: 2rem; }

.flj-hero-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}
.flj-hero-mark-kanji {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--glyph-color, var(--sakura, #ff6584));
}

.flj-banner-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  margin-right: 6px;
  border-radius: 50%;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.75rem;
  font-weight: 900;
  color: var(--mint, #00f5d4);
  background: rgba(0, 245, 212, 0.12);
  border: 1px solid rgba(0, 245, 212, 0.35);
  vertical-align: middle;
}

.flj-prestige-kanji {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  color: var(--rank-color, var(--sakura));
  text-shadow: 0 0 32px color-mix(in srgb, var(--rank-color, #ff6584) 45%, transparent);
}

.flj-ach-kanji {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1;
  color: var(--ach-color, var(--gold));
}

.flj-coach-chip-kanji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.9rem;
  font-weight: 900;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--sakura, #ff6584);
  flex-shrink: 0;
}

.auth-input-icon {
  font-family: 'Nunito', sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
}

.rank-card-btn--locked .rank-card-price-tag::before {
  content: none;
}
.rank-card-btn--locked .rank-card-price-tag .flj-glyph-lock {
  display: inline-block !important;
  margin-right: 4px;
  color: rgba(255, 255, 255, 0.9);
  vertical-align: -1px;
}

.fc-dock-icon.flj-kanji-icon--dock,
.kana-dock-icon.flj-kanji-icon--dock,
.sn-dock-icon.flj-kanji-icon--dock,
.ph-dock-icon.flj-kanji-icon--dock {
  display: flex;
}

.fc-done-emoji,
.review-done-emoji,
.review-empty-emoji,
.kc-complete-icon {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
}

.skill-icon:not(.flj-kanji-icon) {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
}