:root {
  --yen-bg: #f5f7fb;
  --yen-card: rgba(255, 255, 255, .96);
  --yen-card-soft: #f8faff;
  --yen-ink: #101828;
  --yen-muted: #667085;
  --yen-line: #e4e9f2;
  --yen-blue: #1b5fd1;
  --yen-blue-deep: #0d326b;
  --yen-blue-soft: #eaf2ff;
  --yen-green: #138a62;
  --yen-green-soft: #e9f8f2;
  --yen-amber: #a15c08;
  --yen-amber-soft: #fff6df;
  --yen-red: #b42318;
  --yen-red-soft: #fff0ee;
  --yen-shadow: 0 18px 45px rgba(18, 40, 76, .10);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--yen-ink);
  background:
    radial-gradient(circle at 15% 0%, rgba(55, 125, 230, .10), transparent 28rem),
    linear-gradient(180deg, #f8faff 0, var(--yen-bg) 36rem);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "Noto Sans JP", Arial, sans-serif;
}

button, input, select { font: inherit; }

.yen-page {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.yen-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 14px;
  align-items: stretch;
  margin-bottom: 14px;
}

.yen-hero__main,
.yen-panel,
.yen-stat,
.yen-source {
  border: 1px solid var(--yen-line);
  background: var(--yen-card);
  box-shadow: var(--yen-shadow);
}

.yen-hero__main {
  overflow: hidden;
  position: relative;
  min-height: 232px;
  padding: 22px;
  border-radius: 26px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 12%, rgba(121, 184, 255, .33), transparent 16rem),
    linear-gradient(135deg, #071a36 0%, #0c356e 55%, #1764ba 100%);
  border-color: rgba(255,255,255,.08);
}

.yen-hero__main::after {
  content: "¥";
  position: absolute;
  right: 28px;
  bottom: -58px;
  color: rgba(255,255,255,.065);
  font-size: 220px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.yen-kicker {
  margin: 0 0 7px;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.yen-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(26px, 5vw, 44px);
  line-height: 1.14;
  letter-spacing: -.035em;
}

.yen-hero__copy {
  max-width: 720px;
  margin: 10px 0 17px;
  color: rgba(255,255,255,.78);
  line-height: 1.7;
  font-size: 14px;
}

.yen-total-label {
  color: rgba(255,255,255,.7);
  font-size: 13px;
  font-weight: 700;
}

.yen-total {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  margin-top: 4px;
}

.yen-total strong {
  font-size: clamp(38px, 8vw, 66px);
  letter-spacing: -.055em;
  line-height: 1;
}

.yen-total span {
  color: rgba(255,255,255,.72);
  font-size: 14px;
  font-weight: 750;
}

.yen-delta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  margin-top: 13px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.11);
  color: rgba(255,255,255,.9);
  font-size: 12px;
  font-weight: 800;
}

.yen-hero__side {
  display: grid;
  gap: 10px;
}

.yen-source {
  border-radius: 22px;
  padding: 15px;
  box-shadow: 0 12px 30px rgba(18, 40, 76, .07);
}

.yen-source__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.yen-source__label {
  color: var(--yen-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}

.yen-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 27px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--yen-green-soft);
  color: var(--yen-green);
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

.yen-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.yen-badge[data-state="carried"] {
  background: var(--yen-amber-soft);
  color: var(--yen-amber);
}

.yen-badge[data-state="error"] {
  background: var(--yen-red-soft);
  color: var(--yen-red);
}

.yen-rate {
  margin-top: 11px;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -.025em;
}

.yen-rate-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  padding: 4px;
  border-radius: 12px;
  background: #f1f4f9;
}

.yen-rate-switch button {
  min-height: 34px;
  border: 0;
  border-radius: 9px;
  padding: 6px 8px;
  background: transparent;
  color: var(--yen-muted);
  cursor: pointer;
  font-size: 11px;
  font-weight: 850;
}

.yen-rate-switch button:hover,
.yen-rate-switch button:focus-visible {
  color: var(--yen-blue-deep);
  outline: none;
}

.yen-rate-switch button.active {
  color: var(--yen-blue-deep);
  background: #fff;
  box-shadow: 0 3px 10px rgba(18, 40, 76, .10);
}

.yen-rate-example {
  margin-top: 5px;
  color: var(--yen-muted);
  font-size: 11px;
  font-weight: 750;
}

.yen-source--trend {
  min-height: 184px;
}

.yen-mini-change {
  color: var(--yen-muted);
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

.yen-mini-change[data-state="up"] { color: var(--yen-green); }
.yen-mini-change[data-state="down"] { color: var(--yen-red); }

.yen-mini-chart-wrap {
  margin-top: 4px;
  min-height: 118px;
}

#miniRateChart {
  display: block;
  width: 100%;
  height: 118px;
  overflow: visible;
}

.yen-mini-line {
  fill: none;
  stroke: #2a6acb;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.yen-mini-area { fill: url(#yenMiniFill); }

.yen-mini-dot {
  fill: #fff;
  stroke: #2a6acb;
  stroke-width: 3;
}

.yen-mini-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 1px;
  color: var(--yen-muted);
  font-size: 10px;
  font-weight: 750;
}

.yen-source__meta {
  display: grid;
  gap: 7px;
  margin-top: 13px;
  color: var(--yen-muted);
  font-size: 12px;
  line-height: 1.5;
}

.yen-source__meta b { color: var(--yen-ink); }

.yen-converter {
  margin: 10px 0 14px;
  padding: 12px 14px;
}

.yen-converter--hero {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  background: rgba(255,255,255,.09);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.yen-converter--hero .yen-converter-head h2 {
  color: #fff;
}

.yen-converter--hero .yen-converter-head p,
.yen-converter--hero .yen-market-meta,
.yen-converter--hero .yen-converter-box > span {
  color: rgba(255,255,255,.68);
}

.yen-converter--hero .yen-converter-box {
  border-color: rgba(255,255,255,.14);
  background: rgba(7,26,54,.30);
}

.yen-converter--hero .yen-converter-box input,
.yen-converter--hero .yen-converter-result strong {
  color: #fff;
}

.yen-converter--hero .yen-swap {
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.12);
  color: #fff;
  box-shadow: none;
}

.yen-converter--hero .yen-swap:hover,
.yen-converter--hero .yen-swap:focus-visible {
  border-color: rgba(255,255,255,.34);
  background: rgba(255,255,255,.18);
}

.yen-converter--hero .yen-market-badge {
  background: rgba(255,255,255,.13);
  color: rgba(255,255,255,.88);
}

.yen-converter--hero .yen-market-badge[data-state="live"] {
  background: rgba(64,214,158,.16);
  color: #b8f4de;
}

.yen-converter--hero .yen-market-badge[data-state="fallback"] {
  background: rgba(255,207,102,.16);
  color: #ffe3a2;
}

.yen-converter--hero .yen-market-badge[data-state="error"] {
  background: rgba(255,127,113,.16);
  color: #ffc0b8;
}

.yen-converter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.yen-converter-head h2 {
  margin: 0;
  font-size: 17px;
  letter-spacing: -.02em;
}

.yen-converter-head p {
  margin: 4px 0 0;
  color: var(--yen-muted);
  font-size: 11px;
}

.yen-market-badge {
  flex: 0 0 auto;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--yen-blue-soft);
  color: var(--yen-blue-deep);
  font-size: 10px;
  font-weight: 850;
  white-space: nowrap;
}

.yen-market-badge[data-state="live"] {
  background: var(--yen-green-soft);
  color: var(--yen-green);
}

.yen-market-badge[data-state="fallback"] {
  background: var(--yen-amber-soft);
  color: var(--yen-amber);
}

.yen-market-badge[data-state="error"] {
  background: var(--yen-red-soft);
  color: var(--yen-red);
}

.yen-converter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin-top: 9px;
}

.yen-converter-box {
  min-width: 0;
  padding: 11px 13px;
  border: 1px solid var(--yen-line);
  border-radius: 14px;
  background: var(--yen-card-soft);
}

.yen-converter-box > span {
  display: block;
  margin-bottom: 5px;
  color: var(--yen-muted);
  font-size: 10px;
  font-weight: 800;
}

.yen-converter-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--yen-ink);
  font-size: clamp(22px, 4vw, 31px);
  font-weight: 900;
  letter-spacing: -.03em;
}

.yen-converter-result strong {
  display: block;
  min-height: 37px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--yen-blue-deep);
  font-size: clamp(20px, 4vw, 29px);
  line-height: 1.2;
  letter-spacing: -.03em;
}

.yen-swap {
  width: 44px;
  height: 44px;
  border: 1px solid var(--yen-line);
  border-radius: 50%;
  background: #fff;
  color: var(--yen-blue-deep);
  cursor: pointer;
  font-size: 21px;
  font-weight: 900;
  box-shadow: 0 7px 18px rgba(18, 40, 76, .08);
}

.yen-swap:hover,
.yen-swap:focus-visible {
  border-color: #9db9e6;
  background: var(--yen-blue-soft);
  outline: none;
}

.yen-market-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  color: var(--yen-muted);
  font-size: 10px;
  line-height: 1.5;
}

.yen-controls {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, .65fr);
  gap: 12px;
  margin-bottom: 14px;
}

.yen-panel {
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 12px 30px rgba(18, 40, 76, .07);
}

.yen-panel__head,
.yen-chart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.yen-panel h2,
.yen-chart-head h2 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -.02em;
}

.yen-panel__sub,
.yen-chart-head p {
  margin: 5px 0 0;
  color: var(--yen-muted);
  font-size: 12px;
  line-height: 1.55;
}

.yen-amount-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px;
  gap: 8px;
  margin-top: 16px;
}

.yen-amount-row input,
.yen-control-select {
  width: 100%;
  min-height: 48px;
  padding: 10px 13px;
  border: 1px solid #cfd7e6;
  border-radius: 13px;
  outline: none;
  background: #fff;
  color: var(--yen-ink);
  font-size: 16px;
  font-weight: 750;
}

.yen-amount-row input:focus,
.yen-control-select:focus {
  border-color: var(--yen-blue);
  box-shadow: 0 0 0 3px rgba(27, 95, 209, .12);
}

.yen-amount-unit {
  min-height: 48px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--yen-card-soft);
  color: var(--yen-muted);
  font-weight: 850;
}

.yen-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.yen-pill,
.yen-period {
  min-height: 38px;
  border: 1px solid var(--yen-line);
  border-radius: 999px;
  padding: 7px 11px;
  background: #fff;
  color: #344054;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.yen-pill:hover,
.yen-period:hover { border-color: #9db9e6; }

.yen-pill.active,
.yen-period.active {
  border-color: var(--yen-blue);
  background: var(--yen-blue-soft);
  color: var(--yen-blue-deep);
}

.yen-help {
  margin-top: 10px;
  color: var(--yen-muted);
  font-size: 11px;
  line-height: 1.55;
}

.yen-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 14px;
}

.yen-stat {
  min-width: 0;
  padding: 16px 17px;
  border-radius: 18px;
  box-shadow: 0 9px 24px rgba(18, 40, 76, .055);
}

.yen-stat small {
  display: block;
  margin-bottom: 7px;
  color: var(--yen-muted);
  font-size: 11px;
  font-weight: 750;
}

.yen-stat strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: clamp(18px, 3vw, 27px);
  letter-spacing: -.035em;
}

.yen-stat span {
  display: block;
  margin-top: 5px;
  color: var(--yen-muted);
  font-size: 10px;
}

.yen-chart-card { margin-bottom: 18px; }

.yen-periods {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.yen-chart-wrap {
  position: relative;
  margin-top: 16px;
  min-height: 320px;
}

#yenChart {
  display: block;
  width: 100%;
  height: auto;
  min-height: 300px;
}

.yen-chart-grid { stroke: #e7ebf2; stroke-width: 1; }
.yen-chart-axis { fill: #7b879a; font-size: 11px; }
.yen-chart-line {
  fill: none;
  stroke: #2a6acb;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.yen-chart-area { fill: url(#yenAreaFill); }
.yen-chart-point { fill: #fff; stroke: #2a6acb; stroke-width: 2.2; }
.yen-chart-point.is-selected { fill: #2a6acb; stroke-width: 3; }
.yen-chart-hit { fill: transparent; cursor: pointer; }

.yen-point-detail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 6px;
  padding: 13px;
  border-radius: 14px;
  background: var(--yen-card-soft);
  font-size: 12px;
}

.yen-point-detail span {
  display: block;
  color: var(--yen-muted);
  font-size: 10px;
}
.yen-point-detail strong {
  display: block;
  margin-top: 3px;
  font-size: 13px;
}

.yen-fee-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.yen-fee-list {
  margin-top: 12px;
  border-top: 1px solid var(--yen-line);
}

.yen-fee-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--yen-line);
  font-size: 13px;
}

.yen-fee-row span { color: var(--yen-muted); }
.yen-fee-row b { font-size: 14px; }
.yen-fee-row.total b { font-size: 20px; color: var(--yen-blue-deep); }
.yen-fee-row.total span { color: var(--yen-ink); font-weight: 800; }

.yen-note {
  padding: 14px 15px;
  border-radius: 14px;
  background: var(--yen-blue-soft);
  color: #31537e;
  font-size: 12px;
  line-height: 1.65;
}

.yen-note strong { color: var(--yen-blue-deep); }

.yen-history summary {
  cursor: pointer;
  color: var(--yen-blue-deep);
  font-weight: 850;
  font-size: 13px;
}

.yen-table-wrap {
  margin-top: 13px;
  overflow-x: auto;
  border: 1px solid var(--yen-line);
  border-radius: 14px;
}

.yen-table {
  width: 100%;
  min-width: 710px;
  border-collapse: collapse;
  font-size: 12px;
}

.yen-table th,
.yen-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--yen-line);
  text-align: right;
  white-space: nowrap;
}

.yen-table th:first-child,
.yen-table td:first-child { text-align: left; }

.yen-table th {
  background: #f8faff;
  color: #526177;
  font-size: 11px;
}

.yen-table tr:last-child td { border-bottom: 0; }
.yen-table .current { background: #f2f7ff; }

.yen-footer-note {
  margin-top: 16px;
  color: var(--yen-muted);
  font-size: 11px;
  line-height: 1.7;
}

.yen-footer-note a {
  color: var(--yen-blue);
  font-weight: 750;
}

/* Loading states */
@keyframes yenSpin {
  to { transform: rotate(360deg); }
}

@keyframes yenShimmer {
  0% { background-position: 180% 0; }
  100% { background-position: -80% 0; }
}

.yen-spinner {
  width: 18px;
  height: 18px;
  display: inline-block;
  flex: 0 0 auto;
  border: 2px solid rgba(42,106,203,.18);
  border-top-color: var(--yen-blue);
  border-radius: 50%;
  animation: yenSpin .78s linear infinite;
}

.yen-spinner--lg {
  width: 26px;
  height: 26px;
  border-width: 3px;
}

.yen-loadable {
  position: relative;
  transition: opacity .18s ease, background-color .18s ease;
}

.yen-loadable.is-loading {
  display: inline-block;
  color: transparent !important;
  border-radius: 9px;
  background:
    linear-gradient(90deg,
      rgba(42,106,203,.07) 0%,
      rgba(42,106,203,.16) 48%,
      rgba(42,106,203,.07) 100%);
  background-size: 220% 100%;
  animation: yenShimmer 1.25s ease-in-out infinite;
  user-select: none;
}

.yen-hero__main .yen-loadable.is-loading {
  background:
    linear-gradient(90deg,
      rgba(255,255,255,.10) 0%,
      rgba(255,255,255,.23) 48%,
      rgba(255,255,255,.10) 100%);
  background-size: 220% 100%;
}

.yen-loadable--hero {
  min-width: 190px;
  min-height: .9em;
}

.yen-loadable--fx {
  min-width: 92px;
  min-height: 28px;
}

.yen-loadable--rate {
  min-width: 210px;
  min-height: 31px;
}

.yen-loadable--example {
  min-width: 145px;
  min-height: 14px;
}

.yen-loadable--inline {
  min-width: 94px;
  min-height: 12px;
  vertical-align: middle;
}

.yen-loadable--meta {
  min-width: 118px;
  min-height: 12px;
}

.yen-loadable--stat {
  min-width: 92px;
  min-height: 27px;
}

.yen-loadable--fee {
  min-width: 90px;
  min-height: 17px;
}

.yen-loadable--fee-total {
  min-width: 116px;
  min-height: 23px;
}

.yen-badge[data-state="loading"]::before,
.yen-market-badge[data-state="loading"]::before {
  content: "";
  width: 11px;
  height: 11px;
  display: inline-block;
  flex: 0 0 auto;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  background: transparent;
  animation: yenSpin .75s linear infinite;
  opacity: .82;
}

.yen-market-badge[data-state="loading"] {
  gap: 6px;
}

.yen-converter--hero .yen-spinner {
  border-color: rgba(255,255,255,.22);
  border-top-color: rgba(255,255,255,.92);
}

.yen-mini-chart-wrap {
  position: relative;
}

.yen-mini-loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 7px;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(248,250,255,.82);
  color: var(--yen-muted);
  font-size: 10px;
  font-weight: 800;
  backdrop-filter: blur(2px);
}

.yen-mini-loading::before {
  content: "";
  position: absolute;
  inset: 12px 4px;
  border-radius: 10px;
  background:
    linear-gradient(90deg,
      rgba(42,106,203,.03) 0%,
      rgba(42,106,203,.09) 48%,
      rgba(42,106,203,.03) 100%);
  background-size: 220% 100%;
  animation: yenShimmer 1.35s ease-in-out infinite;
  z-index: -1;
}

.yen-mini-loading[hidden] {
  display: none;
}

.yen-loading__inner {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.yen-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(4px);
  color: var(--yen-muted);
  font-size: 13px;
  font-weight: 800;
  z-index: 2;
}

.yen-loading[hidden] { display: none; }

.yen-error {
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid #f3c8c3;
  border-radius: 13px;
  background: var(--yen-red-soft);
  color: var(--yen-red);
  font-size: 12px;
  line-height: 1.6;
}

.yen-error[hidden] { display: none; }

@media (max-width: 800px) {
  .yen-hero,
  .yen-controls,
  .yen-fee-grid { grid-template-columns: 1fr; }
  .yen-converter-grid { grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr); }
  .yen-hero__main { min-height: 0; padding: 18px; }
  .yen-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yen-point-detail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yen-chart-head { flex-direction: column; }
}

@media (max-width: 520px) {
  .yen-page { width: min(100% - 16px, 1120px); padding-top: 12px; }
  .yen-panel { padding: 13px; border-radius: 16px; }
  .yen-source { padding: 13px; border-radius: 16px; }
  .yen-hero__main { border-radius: 20px; }
  .yen-stats { gap: 8px; }
  .yen-stat { padding: 13px; border-radius: 15px; }
  .yen-total strong { font-size: 42px; }
  .yen-period, .yen-pill { min-height: 42px; }
  .yen-rate-switch button { min-height: 40px; font-size: 11px; }
  .yen-converter { margin: 8px 0 12px; padding: 10px; }
  .yen-converter-head { align-items: flex-start; }
  .yen-converter-head p { max-width: 210px; margin-top: 2px; }
  .yen-converter-grid {
    grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr);
    gap: 5px;
  }
  .yen-converter-box { padding: 8px 9px; }
  .yen-converter-box input { font-size: 20px; }
  .yen-converter-result strong {
    font-size: 19px;
    white-space: nowrap;
  }
  .yen-swap {
    width: 36px;
    height: 36px;
    margin: 0;
    font-size: 18px;
    transform: none;
  }
  .yen-market-meta {
    flex-direction: column;
    gap: 2px;
  }
  .yen-point-detail { gap: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
