/* TextButton current opt-in correction. Load after components.css for new uses.
   Legacy pages retain components.css alone, so existing rendering stays unchanged. */
/* Own master boolean property 向右箭头: keep the registered node/resource,
   hide it only through the typed arrowHidden binding. */
.ds-text-btn > .ds-text-btn__icon[hidden] { display: none; }
.ds-text-btn--inline.ds-text-btn--blue.ds-text-btn--s .ds-text-btn__text {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-regular);
}

/* MG original 70047:112537 / 70047:112563: gray 12px navigation. */
.ds-text-btn--inline.ds-text-btn--gray .ds-text-btn__text {
  font-size: var(--font-size-sm);
  line-height: var(--line-height-h9);
  font-weight: var(--font-weight-regular);
  color: var(--color-gray-3);
}
.ds-text-btn--inline.ds-text-btn--gray .ds-text-btn__icon { filter: none; }
.ds-text-btn--inline.ds-text-btn--gray:hover .ds-text-btn__text,
.ds-text-btn--inline.ds-text-btn--gray.ds-text-btn--hover .ds-text-btn__text { color: var(--color-gray-1); text-decoration: underline; }
.ds-text-btn--inline.ds-text-btn--gray:hover .ds-text-btn__icon,
.ds-text-btn--inline.ds-text-btn--gray.ds-text-btn--hover .ds-text-btn__icon { filter: none; content: url("icons/icon-text-button-arrow-right-gray-s-hover.svg"); }

/* Official MG black14px arrow exports: retain exact path/Gray1, without recoloring. */
.ds-text-btn--inline.ds-text-btn--black.ds-text-btn--m .ds-text-btn__icon[src$="icon-text-button-arrow-right-regular.svg"],
.ds-text-btn--inline.ds-text-btn--black.ds-text-btn--l .ds-text-btn__icon[src$="icon-text-button-arrow-right-regular.svg"],
.ds-text-btn--inline.ds-text-btn--black-bold.ds-text-btn--l .ds-text-btn__icon[src$="icon-text-button-arrow-right-bold.svg"] { filter: none; }

/* Official white and container gray glyphs: source paint without approximation. */
.ds-text-btn--inline.ds-text-btn--white.ds-text-btn--l .ds-text-btn__icon[src$="icon-text-button-arrow-right-white-l.svg"],
.ds-text-btn--with-bg .ds-text-btn__icon[src$="icon-text-button-arrow-right-gray-s-default.svg"] { filter: none; }
.ds-text-btn--with-bg:hover .ds-text-btn__icon[src$="icon-text-button-arrow-right-gray-s-default.svg"],
.ds-text-btn--with-bg.ds-text-btn--hover .ds-text-btn__icon[src$="icon-text-button-arrow-right-gray-s-default.svg"] {
  filter: none; /* Preserve official #19191A; override legacy real-Hover :not specificity. */
  content: url("icons/icon-text-button-arrow-right-gray-s-hover.svg");
}

.ds-text-btn--blue-link .ds-text-btn__icon[src$="icon-chevron-down.svg"] {
  content: url("icons/icon-chevron-down-blue.svg");
}

.ds-text-btn[data-disabled] {
  opacity: 0.3;
  pointer-events: none;
  cursor: not-allowed;
}
