/* 幣別換算 (owner 2026-11-26): the approximate amount next to a yen price (.fx-approx, filled by site/core.js) and the currency picker
   (.fx-pick: a select + 「以日元计价，约略换算」). Restyled by wt-design 2026-11-26: the picker is a white pill like the home filters,
   the converted line is a quiet second line under the yen price (never bolder or bigger than it).
   Where they sit: .trip-fx (home cards), .next-fx (next-trips strip), .book-fx / .fx-pick-book (trip page booking card), .reg-fx /
   .fx-pick-form (sign-up form), .sim-fx (similar trips), .dep-fx (departures), .fx-pick-home (home list, under the filters). */
.fx-approx { display: block; font-size: .8em; font-weight: 500; line-height: 1.4; color: var(--ink2, #4c5751); letter-spacing: .01em; }
.fx-approx[hidden] { display: none; }
.fx-pick { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .75rem; margin: .5rem 0; font-size: .875rem; max-width: 100%; color: var(--ink2, #4c5751); }
.fx-pick label { display: inline-flex; align-items: center; gap: .5rem; max-width: 100%; }
.fx-pick-l { flex: none; white-space: nowrap; font-size: .8125rem; font-weight: 500; letter-spacing: .04em; color: var(--ink2, #4c5751); }
/* The picker is the site's own drop-down (site/dropdown.js, the same one as the home 活动 / 月份 fields): the button .dd-btn and the
   menu .dd-menu get their look from site.css. Here only the closed button is shaped as a white 44px pill (its place on the page is
   unchanged). The native select is the fallback until dropdown.js has run, and stays hidden (.dd-native) as the value holder. */
.fx-pick label { position: relative; }
.fx-pick select:not(.dd-native), .fx-pick .dd-btn {
  appearance: none; -webkit-appearance: none; min-height: 44px; min-width: 44px; max-width: 100%;
  padding: 0 2.25rem 0 1rem; font: inherit; font-size: .9375rem; font-weight: 500; color: var(--ink, #14201b);
  background-color: var(--card, #fff); border: 1px solid var(--line2, rgba(20, 32, 27, .22)); border-radius: 999px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: right 1.05rem top 52%, right .8rem top 52%; background-size: 5px 5px; background-repeat: no-repeat;
  transition: border-color .15s ease-out, box-shadow .15s ease-out;
}
.fx-pick .dd-btn { width: auto; display: block; text-align: left; }
.fx-pick .dd-btn[aria-expanded="true"] { background-image: linear-gradient(135deg, transparent 50%, currentColor 50%), linear-gradient(45deg, currentColor 50%, transparent 50%); background-position: right 1.05rem top 40%, right .8rem top 40%; }
.fx-pick select:not(.dd-native):hover, .fx-pick .dd-btn:hover, .fx-pick .dd-btn[aria-expanded="true"] { border-color: var(--ink, #14201b); }
.fx-pick select:not(.dd-native):focus-visible, .fx-pick .dd-btn:focus-visible { outline: 2px solid var(--orange, #ff5a1e); outline-offset: 3px; border-radius: 999px; border-color: var(--ink, #14201b); }
.fx-note { color: var(--ink2, #4c5751); font-size: .8125rem; }
.book-fx, .reg-fx { margin: .25rem 0 .75rem; }
.reg-fx .fx-approx { font-size: .9em; }
.fx-pick-home { margin: 1.25rem 0 1.75rem; }
@media (max-width: 480px) {
  .fx-pick { gap: .25rem .5rem; }
  .fx-pick-home { margin: 1rem 0 1.5rem; }
}
@media (prefers-reduced-motion: reduce) { .fx-pick select, .fx-pick .dd-btn { transition: none; } }
