.th-hint[data-th-hint] {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  text-align: inherit;
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  appearance: none;
}

.th-hint.th-hint-stretch {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  text-align: left;
  border: 1px solid var(--rule-dark);
  border-radius: 8px;
  padding: 16px 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
  border-color: rgba(217, 181, 101, 0.25);
}

.th-hint.th-hint-stretch:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.th-hint.th-hint-stretch b {
  color: var(--light);
}

.th-hint.th-hint-stretch span {
  font-size: 14px;
  color: var(--light-mute);
}

.buy .after .opt {
  padding: 0;
  border: 0;
  background: none;
}

button.qchip.th-hint {
  font: 600 13px/1.3 "Sora", var(--body);
}

button.quiet-photo.th-hint {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

a.hero-price.th-hint-link {
  text-decoration: none;
  color: var(--light-mute);
}

a.hero-price.th-hint-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.hero-amb a {
  color: var(--gold);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(217, 181, 101, 0.45);
  text-underline-offset: 0.15em;
}

.hero-amb a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}

.pay .th-hint-chip {
  display: inline-block;
  font-size: 13.5px;
  color: var(--light-mute);
  padding: 4px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
}

.pay .th-hint-chip:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

.th-hint-panel {
  position: fixed;
  z-index: 90;
  max-width: min(280px, calc(100vw - 24px));
  padding: 14px 16px 12px;
  border-radius: 12px;
  background: rgba(14, 19, 13, 0.96);
  color: var(--light);
  border: 1px solid rgba(217, 181, 101, 0.35);
  box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.65);
  font-size: 14px;
  line-height: 1.45;
}

.th-hint-panel[data-placement="top"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 10px;
  height: 10px;
  background: rgba(14, 19, 13, 0.96);
  border-right: 1px solid rgba(217, 181, 101, 0.35);
  border-bottom: 1px solid rgba(217, 181, 101, 0.35);
  transform: translateX(-50%) rotate(45deg);
}

.th-hint-panel__text {
  margin: 0 0 10px;
}

.th-hint-panel__close {
  font: 600 13px/1.2 var(--body, sans-serif);
  color: var(--gold);
  background: transparent;
  border: 0;
  padding: 4px 0;
  cursor: pointer;
}

.th-hint-panel__close:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (max-width: 520px) {
  .th-hint-panel {
    z-index: 80;
  }
}