/* Legacy card styles also target every span. Keep the original desktop label typography. */
span.m-ui-arrow { font: inherit; color: inherit; letter-spacing: inherit; }
@media (max-width: 900px), (hover: none) and (pointer: coarse) {
  :root {
    --m-arrow-out: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4.5 15.5 15.5 4.5M5.5 4.5h10v10' fill='none' stroke='black' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    --m-chevron-down: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 6 4.5 4.5L12.5 6' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }

  .m-footer__section-line > a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }

  .m-footer__email > span[aria-hidden="true"],
  .m-footer__section-line > a > span[aria-hidden="true"],
  .vnzh-landing .vn-reading nav > a > b[aria-hidden="true"],
  span.m-ui-arrow {
    display: inline-block;
    width: var(--m-arrow-size, 16px);
    height: var(--m-arrow-size, 16px);
    flex: 0 0 auto;
    vertical-align: -2px;
    font-size: 0;
    line-height: 0;
    color: inherit;
    background-color: currentColor;
    -webkit-mask: var(--m-arrow-out) center / contain no-repeat;
    mask: var(--m-arrow-out) center / contain no-repeat;
  }
  .vnzh-landing .vn-reading nav { --m-arrow-size: 22px; }

  .thai-filter-popover > summary::after {
    content: "";
    width: 15px;
    height: 15px;
    color: inherit;
    background-color: currentColor;
    -webkit-mask: var(--m-chevron-down) center / contain no-repeat;
    mask: var(--m-chevron-down) center / contain no-repeat;
    pointer-events: none;
  }
  .thai-filter-popover[open] > summary::after { transform: rotate(180deg); }
}
