.flj-hint-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-right: 8px;
  padding: 2px 8px;
  border: 1px solid rgba(240, 208, 128, 0.35);
  border-radius: 999px;
  background: rgba(240, 208, 128, 0.1);
  color: var(--gold);
  font-family: 'Nunito', inherit;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.5;
  text-transform: uppercase;
  white-space: nowrap;
  vertical-align: baseline;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.flj-hint-tag:hover {
  background: rgba(240, 208, 128, 0.2);
  border-color: rgba(240, 208, 128, 0.6);
}

.flj-hint-tag:focus-visible {
  outline: 2px solid #f0d080;
  outline-offset: 2px;
}

.flj-hint-mark {
  font-size: 0.8em;
  opacity: 0.7;
}

.flj-hint-tag:hover .flj-hint-mark { opacity: 1; }

.flj-hint-off > .flj-hint-text { display: none; }

.flj-hint-off .flj-hint-tag {
  margin-right: 0;
  border-style: dashed;
  border-color: color-mix(in srgb, var(--text) 20%, transparent);
  background: transparent;
  color: #7f7f7f;
}

.flj-hint-off .flj-hint-tag:hover {
  border-style: solid;
  border-color: rgba(240, 208, 128, 0.5);
  background: rgba(240, 208, 128, 0.1);
  color: var(--gold);
}

@media (prefers-reduced-motion: reduce) {
  .flj-hint-tag { transition: none; }
}

.flj-hints-master {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  padding: 5px 12px;
  border: 1px solid rgba(240, 208, 128, 0.4);
  border-radius: 999px;
  background: rgba(240, 208, 128, 0.12);
  color: var(--gold);
  font-family: 'Nunito', sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.flj-hints-master:hover {
  background: rgba(240, 208, 128, 0.24);
  border-color: rgba(240, 208, 128, 0.7);
}

.flj-hints-master:focus-visible {
  outline: 2px solid #f0d080;
  outline-offset: 2px;
}

.flj-hints-master-state {
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(240, 208, 128, 0.22);
  color: var(--text);
}

.flj-hints-master.is-off {
  border-style: dashed;
  border-color: color-mix(in srgb, var(--text) 22%, transparent);
  background: transparent;
  color: #8b8b8b;
}

.flj-hints-master.is-off .flj-hints-master-state {
  background: color-mix(in srgb, var(--text) 10%, transparent);
  color: var(--text2);
}

.flj-hints-master.is-off:hover {
  border-style: solid;
  border-color: rgba(240, 208, 128, 0.5);
  background: rgba(240, 208, 128, 0.12);
  color: var(--gold);
}

.flj-hints-master--modal {
  flex: 0 0 auto;
  margin-left: auto;
  margin-right: 8px;
  align-self: center;
}

@media (max-width: 768px) {
  .flj-hints-master { padding: 5px 9px; gap: 4px; letter-spacing: 0.05em; }
}

@media (prefers-reduced-motion: reduce) {
  .flj-hints-master { transition: none; }
}
