:root {
  --ink: #171717;
  --paper: #fffdf8;
  --white: #ffffff;
  --vermilion: #e9342b;
  --vermilion-dark: #b9231d;
  --sky: #bde3ee;
  --sky-dark: #237f99;
  --leaf: #28745b;
  --gold: #f5c84b;
  --plum: #91365e;
  --pink: #f4aac0;
  --mist: #edf5f3;
  --line: rgba(23, 23, 23, 0.2);
  --muted: #565656;
  --shadow: 7px 8px 0 #171717;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(23, 23, 23, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 23, 23, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  border: 2px solid var(--ink);
  background: var(--white);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-masthead {
  position: relative;
  z-index: 20;
  border-bottom: 3px solid var(--ink);
  background: rgba(255, 253, 248, 0.96);
}

.masthead-inner {
  display: flex;
  width: min(calc(100% - 40px), var(--max));
  min-height: 92px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.masthead-brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.masthead-brand .country-destination-logo {
  --country-logo-teal: var(--cbc-brand, #176b66);
  --country-logo-paper: var(--cbc-surface, #fffefa);
  display: inline-grid;
  min-width: 0;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}

.masthead-brand .country-logo-emblem {
  position: relative;
  display: block;
  isolation: isolate;
  overflow: visible;
  border: 2px solid var(--country-logo-teal);
  border-radius: 9px;
  background: var(--country-logo-paper);
  box-shadow: inset 0 0 0 1px rgba(23, 107, 102, 0.08);
  color: var(--country-logo-teal);
}

.masthead-brand .country-logo-emblem::before {
  position: absolute;
  top: -7px;
  right: 7px;
  z-index: -1;
  width: 38%;
  height: 8px;
  border: 2px solid var(--country-logo-teal);
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
  background: var(--gold);
  content: "";
  transform: skewX(-16deg);
}

.masthead-brand .country-logo-emblem::after {
  position: absolute;
  top: 50%;
  left: -3px;
  width: 7px;
  height: 13px;
  border: 2px solid var(--country-logo-teal);
  border-left: 0;
  border-radius: 0 8px 8px 0;
  background: var(--country-logo-paper);
  content: "";
  transform: translateY(-50%);
}

.masthead-brand .country-logo-fold {
  position: absolute;
  top: -2px;
  right: -2px;
  z-index: 2;
  width: 13px;
  height: 13px;
  border-top-right-radius: 8px;
  background: linear-gradient(225deg, var(--gold) 0 46%, var(--country-logo-teal) 47% 55%, var(--country-logo-paper) 56%);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.masthead-brand .country-logo-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.masthead-brand .country-logo-copy strong {
  overflow: hidden;
  font-family: var(--cbc-font-display, "Aptos Display", "Segoe UI Variable Display", "Segoe UI", sans-serif);
  font-weight: 800;
  line-height: 0.94;
  text-overflow: ellipsis;
}

.masthead-brand .country-logo-copy small {
  color: var(--country-accent-dark, var(--article-accent-dark, var(--ink)));
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.masthead-brand .country-destination-logo.is-mini {
  width: min(184px, 19vw);
  padding-left: 13px;
  border-left: 1px solid var(--cbc-line-strong, rgba(23, 35, 33, 0.35));
  column-gap: 9px;
}

.masthead-brand .country-destination-logo.is-mini .country-logo-emblem {
  width: 45px;
  height: 36px;
}

.masthead-brand .country-destination-logo.is-mini .country-logo-copy strong {
  font-size: 0.82rem;
  white-space: normal;
}

.masthead-brand .country-destination-logo.is-mini .country-logo-copy small {
  font-size: 0.51rem;
}

.cash-logo {
  width: 206px;
  flex: 0 0 auto;
}

.mini-japan-logo {
  width: 142px;
  border-left: 2px solid var(--ink);
  padding-left: 14px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.92rem;
  font-weight: 800;
}

.site-nav a {
  border-bottom: 3px solid transparent;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--vermilion);
}

.site-nav a:focus-visible {
  outline: 3px solid var(--vermilion);
  outline-offset: 3px;
}

.tool-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--gold);
  box-shadow: 4px 4px 0 var(--ink);
}

.tool-link::after {
  content: "↗";
  font-size: 1.1rem;
}

.japan-hero {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border-bottom: 4px solid var(--ink);
  background: #c7e6ee;
}

.japan-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 34px 0 50px;
}

.destination-logo {
  width: 370px;
  max-width: 58%;
  margin-bottom: 8px;
}

.japan-hero h1 {
  max-width: 610px;
  margin: 0;
  font-family: "Arial Black", "Segoe UI Black", Arial, sans-serif;
  font-size: 4.45rem;
  line-height: 0.98;
  letter-spacing: 0;
  text-shadow:
    3px 3px 0 #fff,
    -2px -2px 0 #fff,
    2px -2px 0 #fff,
    -2px 2px 0 #fff;
}

.hero-dek {
  max-width: 570px;
  margin: 18px 0 20px;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.5;
  text-shadow:
    2px 2px 0 #fff,
    -1px -1px 0 #fff,
    1px -1px 0 #fff,
    -1px 1px 0 #fff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.hero-signal {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 16px;
}

.hero-signal span {
  padding: 4px 8px;
  border: 2px solid var(--ink);
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 2px 2px 0 var(--ink);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-signal span:nth-child(1) {
  background: #ffe580;
}

.hero-signal span:nth-child(2) {
  background: #bde3ee;
}

.hero-signal span:nth-child(3) {
  background: #f4aac0;
}

.hero-proof {
  max-width: 460px;
  margin: 16px 0 0;
  color: #252525;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.35;
  text-shadow:
    1px 1px 0 #fff,
    -1px -1px 0 #fff,
    1px -1px 0 #fff,
    -1px 1px 0 #fff;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--ink);
}

.primary-button {
  background: var(--vermilion);
  color: var(--white);
}

.secondary-button {
  background: var(--white);
}

.hero-guides-button {
  background: #ffe580;
}

.primary-button:hover,
.secondary-button:hover,
.tool-link:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.fact-ribbon {
  border-bottom: 3px solid var(--ink);
  background: var(--ink);
  color: var(--white);
}

.fact-ribbon-inner {
  display: grid;
  width: min(100%, 1440px);
  margin: 0 auto;
  grid-template-columns: repeat(5, 1fr);
}

.fact {
  min-width: 0;
  padding: 17px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.fact:last-child {
  border-right: 0;
}

.fact strong,
.fact span {
  display: block;
}

.fact strong {
  color: var(--gold);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.fact span {
  margin-top: 2px;
  font-weight: 800;
  line-height: 1.3;
}

.section {
  border-bottom: 3px solid var(--ink);
}

.section-inner {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 68px 0;
}

.section-kicker,
.eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--vermilion-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section h2,
.article-shell h2 {
  margin: 0;
  font-family: "Arial Black", "Segoe UI Black", Arial, sans-serif;
  font-size: 2.45rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-intro {
  max-width: 740px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.quick-answer {
  background: var(--white);
}

.quick-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: 54px;
  align-items: start;
}

.answer-lead {
  margin: 18px 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.52rem;
  line-height: 1.52;
}

.money-moments {
  display: grid;
  gap: 0;
  margin-top: 20px;
  border-top: 2px solid var(--ink);
}

.money-moment {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.moment-icon {
  position: relative;
  display: grid;
  width: 52px;
  height: 43px;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 7px;
  background: var(--white);
  box-shadow: 3px 4px 0 var(--ink);
  font-size: 1.1rem;
  font-weight: 900;
  transform: rotate(-2deg);
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.moment-icon b {
  position: relative;
  z-index: 2;
  font-family: "Arial Black", Arial, sans-serif;
  line-height: 1;
}

.moment-cash {
  overflow: hidden;
  background:
    linear-gradient(145deg, #ffd8e4 0%, var(--pink) 68%, #cf7598 130%);
}

.moment-cash::before {
  position: absolute;
  inset: 6px;
  border: 2px solid var(--plum);
  border-radius: 2px;
  content: "";
}

.moment-cash::after {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 7px;
  height: 7px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
  content: "";
}

.moment-card {
  overflow: hidden;
  background:
    linear-gradient(145deg, #d9f5f7 0%, #9bdde8 64%, #55a9bd 130%);
  transform: rotate(2deg);
}

.moment-card::before {
  position: absolute;
  top: 8px;
  right: 0;
  left: 0;
  height: 8px;
  background: var(--ink);
  content: "";
}

.moment-card b {
  position: absolute;
  bottom: 7px;
  left: 8px;
  width: 13px;
  height: 10px;
  border: 2px solid var(--ink);
  border-radius: 2px;
  background: var(--gold);
}

.moment-card::after {
  position: absolute;
  right: 7px;
  bottom: 8px;
  width: 15px;
  height: 3px;
  background: rgba(23, 23, 23, 0.65);
  box-shadow: 0 6px 0 rgba(23, 23, 23, 0.35);
  content: "";
}

.moment-ic {
  overflow: hidden;
  background:
    linear-gradient(145deg, #ffec9d 0%, var(--gold) 65%, #d89635 130%);
  transform: rotate(-1deg);
}

.moment-ic b {
  margin-right: 13px;
  font-size: 0.86rem;
}

.moment-ic::before,
.moment-ic::after {
  position: absolute;
  border: 2px solid var(--ink);
  border-left: 0;
  border-radius: 0 50% 50% 0;
  content: "";
}

.moment-ic::before {
  top: 10px;
  right: 8px;
  width: 9px;
  height: 19px;
}

.moment-ic::after {
  top: 14px;
  right: 12px;
  width: 4px;
  height: 11px;
}

.money-moment:hover .moment-icon {
  box-shadow: 5px 6px 0 var(--ink);
  transform: rotate(1deg) translate(-2px, -2px);
}

.money-moment > div > strong,
.money-moment > div > span {
  display: block;
}

.money-moment > div > span {
  color: var(--muted);
  font-size: 0.94rem;
}

.trip-wallet {
  padding: 24px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: var(--gold);
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}

.trip-wallet h3 {
  margin: 0 0 14px;
  font-family: "Arial Black", "Segoe UI Black", Arial, sans-serif;
  font-size: 1.38rem;
  line-height: 1.15;
}

.wallet-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wallet-list li {
  position: relative;
  padding-left: 28px;
  font-weight: 800;
}

.wallet-list li::before {
  position: absolute;
  top: 0.1em;
  left: 0;
  content: "✓";
  font-size: 1.1rem;
}

.yen-glance {
  background: var(--sky);
}

.rate-toolbar {
  display: flex;
  margin: 24px 0 26px;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.rate-control {
  display: grid;
  width: min(100%, 330px);
  gap: 7px;
}

.rate-control label {
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.rate-control select {
  min-height: 52px;
  padding: 8px 36px 8px 13px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font-weight: 900;
}

.rate-status {
  margin: 0;
  color: #22454e;
  font-size: 0.9rem;
  font-weight: 700;
}

.yen-note-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.yen-glance-note {
  position: relative;
  min-height: 178px;
  overflow: hidden;
  padding: 20px;
  border: 3px solid var(--ink);
  border-radius: 7px;
  box-shadow: 6px 7px 0 var(--ink);
}

.yen-glance-note::before,
.yen-note::before {
  position: absolute;
  inset: 14px;
  border: 2px solid rgba(23, 23, 23, 0.38);
  content: "";
  pointer-events: none;
}

.yen-glance-note.wave-note {
  background: #9dc9d5;
}

.yen-glance-note.flower-note {
  background: #c5add5;
}

.yen-glance-note.station-note {
  background: #d8c293;
}

.note-face,
.note-worth {
  position: relative;
  z-index: 2;
}

.note-face {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.note-face strong {
  font-family: "Arial Black", "Segoe UI Black", Arial, sans-serif;
  font-size: 2rem;
}

.note-face span {
  font-size: 0.77rem;
  font-weight: 900;
  text-transform: uppercase;
}

.note-motif-word {
  position: absolute;
  right: 20px;
  bottom: 14px;
  z-index: 1;
  color: rgba(23, 23, 23, 0.2);
  font-family: Georgia, serif;
  font-size: 3.5rem;
  font-style: italic;
  font-weight: 900;
  line-height: 1;
}

.note-worth {
  display: inline-block;
  margin-top: 42px;
  padding: 7px 9px;
  border: 2px solid var(--ink);
  background: #fff3a8;
  font-weight: 900;
  transform: rotate(-2deg);
}

.yen-explorer-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.yen-money-explorer {
  --coin-hole-bg: var(--sky);
}

.yen-explorer-heading h2 {
  margin-bottom: 0;
}

.yen-money-switch {
  position: relative;
  display: inline-flex;
  min-height: 54px;
  padding: 8px 16px 8px 11px;
  border: 2px solid var(--ink);
  border-radius: 7px;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  box-shadow: 4px 5px 0 var(--ink);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.83rem;
  font-weight: 950;
  line-height: 1.1;
  transition:
    box-shadow 150ms ease,
    transform 150ms ease;
}

.yen-money-switch:hover,
.yen-money-switch:focus-visible {
  box-shadow: 6px 7px 0 var(--ink);
  transform: translate(-2px, -2px);
}

.yen-money-switch:focus-visible {
  outline: 3px solid var(--vermilion);
  outline-offset: 4px;
}

.yen-switch-art {
  position: relative;
  display: block;
  width: 48px;
  height: 34px;
  flex: 0 0 auto;
}

.yen-switch-coin {
  position: absolute;
  width: 25px;
  height: 25px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: 2px 2px 0 rgba(23, 23, 23, 0.8);
  transition: transform 180ms ease;
}

.yen-switch-coin::after {
  position: absolute;
  inset: 5px;
  border: 1px dashed rgba(23, 23, 23, 0.5);
  border-radius: 50%;
  content: "";
}

.yen-switch-coin.coin-one {
  left: 1px;
  bottom: 1px;
  background: #dfe7e8;
  transform: rotate(-9deg);
}

.yen-switch-coin.coin-two {
  left: 16px;
  top: 0;
  background: #e1bb50;
  transform: rotate(8deg);
}

.yen-switch-note {
  position: absolute;
  right: 0;
  bottom: 2px;
  width: 31px;
  height: 19px;
  border: 2px solid var(--ink);
  border-radius: 3px;
  background: #a9d3e8;
  box-shadow: 2px 2px 0 rgba(23, 23, 23, 0.82);
  opacity: 0;
  transform: translateX(7px) rotate(7deg);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.yen-switch-note::after {
  position: absolute;
  inset: 3px;
  border: 1px dashed rgba(23, 23, 23, 0.5);
  border-radius: 2px;
  content: "";
}

.yen-money-explorer.is-coin-mode .yen-switch-coin {
  opacity: 0.35;
  transform: translateX(-5px) rotate(-16deg);
}

.yen-money-explorer.is-coin-mode .yen-switch-coin.coin-two {
  transform: translateX(-2px) rotate(15deg);
}

.yen-money-explorer.is-coin-mode .yen-switch-note {
  opacity: 1;
  transform: translateX(0) rotate(3deg);
}

.article-money-explorer {
  --coin-hole-bg: #f7f3e9;
  margin: 34px 0 42px;
  padding: 26px;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 216, 75, 0.35), transparent 90px),
    #f7f3e9;
}

.article-money-explorer > p {
  margin-top: 14px;
}

.article-money-explorer .cbc-banknote-grid {
  grid-template-columns: 1fr;
}

.article-money-explorer .cbc-banknote-card {
  width: min(100%, 560px);
  justify-self: center;
}

.article-money-explorer .cbc-coin-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cbc-banknote-grid {
  display: grid;
  margin-top: 30px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 26px;
}

.cbc-coin-grid {
  display: grid;
  margin-top: 30px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 34px 16px;
}

.cbc-coin-card {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 250px;
  padding: 8px 2px 12px;
  align-content: end;
  justify-items: center;
  gap: 12px;
  outline: none;
}

.cbc-coin-stage {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 190px;
  place-items: center;
}

.cbc-coin-face {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(var(--coin-size), 88%);
  aspect-ratio: 1;
  overflow: hidden;
  border: 4px solid rgba(23, 23, 23, 0.84);
  border-radius: 50%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background:
    radial-gradient(circle at 34% 27%, rgba(255, 255, 255, 0.82), transparent 22%),
    radial-gradient(circle at 66% 74%, rgba(23, 23, 23, 0.17), transparent 34%),
    linear-gradient(135deg, var(--coin-c), var(--coin-a) 42%, var(--coin-b));
  box-shadow:
    inset 0 0 0 7px rgba(255, 255, 255, 0.2),
    inset -9px -11px 0 rgba(23, 23, 23, 0.12),
    7px 8px 0 rgba(23, 23, 23, 0.84);
  color: #10121a;
  transform: rotate(var(--coin-tilt));
  transition:
    filter 170ms ease,
    transform 170ms cubic-bezier(0.2, 0.72, 0.25, 1);
}

.cbc-coin-face.is-bimetal {
  background:
    radial-gradient(circle at 34% 27%, rgba(255, 255, 255, 0.76), transparent 22%),
    radial-gradient(
      circle,
      var(--coin-core, #e8eef0) 0 38%,
      var(--coin-core-dark, #89989d) 42%,
      var(--coin-ring, var(--coin-a, #d8b448)) 44% 72%,
      var(--coin-ring-dark, var(--coin-b, #927540)) 100%
    );
}

.cbc-coin-inner-ring {
  position: absolute;
  inset: 12px;
  border: 2px dashed rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  pointer-events: none;
}

.cbc-coin-spark {
  position: absolute;
  top: 20%;
  right: 18%;
  width: 24px;
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.62);
  clip-path: polygon(50% 0, 61% 38%, 100% 50%, 61% 62%, 50% 100%, 39% 62%, 0 50%, 39% 38%);
}

.cbc-coin-face strong,
.cbc-coin-face small {
  position: relative;
  z-index: 2;
}

.cbc-coin-face strong {
  font-family: "Arial Black", "Segoe UI Black", Arial, sans-serif;
  font-size: clamp(1.55rem, 3.4vw, 2.25rem);
  line-height: 0.9;
  text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.55);
}

.cbc-coin-face small {
  padding: 3px 8px;
  border: 1px solid rgba(23, 23, 23, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  font-size: 0.61rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.cbc-coin-face.has-hole strong {
  position: absolute;
  top: 8%;
  transform: none;
}

.cbc-coin-face.has-hole small {
  position: absolute;
  bottom: 12%;
}

.cbc-coin-hole {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 22%;
  aspect-ratio: 1;
  border: 3px solid rgba(23, 23, 23, 0.78);
  border-radius: 50%;
  background: var(--coin-hole-bg);
  box-shadow: inset 2px 2px 0 rgba(23, 23, 23, 0.16);
  transform: translate(-50%, -50%);
}

.cbc-coin-caption {
  display: grid;
  min-height: 45px;
  justify-items: center;
  gap: 2px;
  color: #294c55;
  font-size: 0.7rem;
  line-height: 1.15;
  text-align: center;
}

.cbc-coin-caption strong {
  color: var(--ink);
  font-size: 0.82rem;
}

.cbc-coin-caption span:last-child {
  margin-top: 2px;
  font-weight: 900;
}

.cbc-coin-card:focus-visible .cbc-coin-face {
  outline: 4px solid var(--vermilion);
  outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
  .cbc-coin-card:hover .cbc-coin-face {
    filter: saturate(1.08) contrast(1.03);
    transform: translateY(-9px) rotate(calc(var(--coin-tilt) - 4deg)) scale(1.04);
  }

  .cbc-coin-card:hover .cbc-coin-spark {
    transform: rotate(120deg) scale(1.35);
    transition: transform 220ms ease;
  }

  .cbc-coin-card:hover .cbc-coin-sticky {
    transform: translateY(-3px) rotate(calc(var(--ticket-tilt) + 1deg));
  }
}

@keyframes cbc-coin-tap-pop {
  0%,
  100% {
    transform: rotate(var(--coin-tilt)) scale(1);
  }

  38% {
    transform: translateY(-12px) rotate(calc(var(--coin-tilt) - 8deg)) scale(1.08);
  }

  68% {
    transform: translateY(-4px) rotate(calc(var(--coin-tilt) + 4deg)) scale(1.025);
  }
}

@keyframes cbc-coin-ticket-pop {
  0%,
  100% {
    transform: rotate(var(--ticket-tilt)) scale(1);
  }

  44% {
    transform: translateY(-5px) rotate(1deg) scale(1.045);
  }
}

.cbc-coin-card.is-coin-tapped .cbc-coin-face {
  animation: cbc-coin-tap-pop 700ms cubic-bezier(0.2, 0.78, 0.25, 1);
}

.cbc-coin-card.is-coin-tapped .cbc-coin-sticky {
  animation: cbc-coin-ticket-pop 700ms cubic-bezier(0.2, 0.78, 0.25, 1);
}

.cbc-banknote-card {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 11px;
  outline: none;
}

.cbc-banknote-wrap {
  position: relative;
  min-width: 0;
  margin-bottom: 27px;
  perspective: 900px;
}

.cbc-banknote {
  position: relative;
  display: grid;
  min-height: 190px;
  aspect-ratio: 1.92 / 1;
  overflow: hidden;
  border: 2px solid rgba(23, 23, 23, 0.72);
  border-radius: 8px;
  background:
    linear-gradient(115deg, var(--note-a), var(--note-b) 55%, var(--note-c)),
    #f8efd8;
  box-shadow:
    inset 0 0 0 5px rgba(255, 255, 255, 0.35),
    7px 7px 0 rgba(23, 23, 23, 0.9);
  color: #10121a;
  transform: perspective(900px) translateY(0) rotateX(0) rotateY(0);
  transform-origin: center;
  transform-style: preserve-3d;
  transition:
    transform 150ms cubic-bezier(0.2, 0.72, 0.25, 1),
    box-shadow 180ms ease,
    filter 180ms ease;
}

.cbc-banknote::before,
.cbc-banknote::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.cbc-banknote::before {
  inset: 11px;
  border: 2px dashed rgba(255, 255, 255, 0.62);
  border-radius: 6px;
}

.cbc-banknote::after {
  top: -26%;
  right: -11%;
  width: 42%;
  aspect-ratio: 1;
  border: 18px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.cbc-note-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.46;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.4) 0 3px,
      transparent 3px 18px
    ),
    radial-gradient(circle at 22% 35%, rgba(255, 255, 255, 0.5) 0 6px, transparent 7px),
    radial-gradient(circle at 62% 64%, rgba(23, 23, 23, 0.15) 0 3px, transparent 4px);
  mix-blend-mode: screen;
}

.cbc-note-pattern::after {
  position: absolute;
  inset: -18%;
  background: radial-gradient(
    circle at var(--shine-x, 50%) var(--shine-y, 50%),
    rgba(255, 255, 255, 0.9) 0,
    rgba(255, 255, 255, 0.42) 10%,
    transparent 31%
  );
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.cbc-note-content {
  position: relative;
  z-index: 1;
  display: grid;
  height: 100%;
  padding: 16px 17px 18px;
  grid-template-columns: minmax(0, 1fr) minmax(110px, 38%);
  grid-template-rows: auto 1fr;
  gap: 8px 16px;
}

.cbc-note-topline {
  display: flex;
  min-width: 0;
  grid-column: 1 / -1;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.cbc-note-identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.cbc-note-identity > span:last-child {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.cbc-note-identity strong {
  font-size: 0.8rem;
  line-height: 1;
}

.cbc-note-identity small {
  overflow: hidden;
  color: rgba(23, 23, 23, 0.72);
  font-size: 0.61rem;
  font-weight: 800;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cbc-japan-flag {
  position: relative;
  width: 29px;
  height: 20px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(23, 23, 23, 0.3);
  border-radius: 3px;
  background: #fff;
}

.cbc-japan-flag::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #bc002d;
  content: "";
  transform: translate(-50%, -50%);
}

.cbc-note-corner-value {
  color: rgba(16, 18, 26, 0.7);
  font-size: 1.18rem;
  font-weight: 950;
  line-height: 1;
}

.cbc-note-denomination {
  display: grid;
  min-width: 0;
  align-self: center;
  gap: 8px;
}

.cbc-note-value {
  overflow: hidden;
  font-size: 3.8rem;
  font-weight: 950;
  line-height: 0.86;
  text-overflow: ellipsis;
  text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

.cbc-note-value.is-wide {
  font-size: 2.85rem;
}

.cbc-note-unit {
  width: fit-content;
  max-width: 100%;
  padding: 3px 6px;
  border-left: 3px solid rgba(23, 23, 23, 0.72);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.cbc-note-artwork {
  position: relative;
  display: grid;
  width: min(178px, 100%);
  min-height: 132px;
  padding: 9px 8px 10px;
  overflow: visible;
  color: rgba(16, 18, 26, 0.7);
  grid-column: 2;
  grid-row: 2;
  grid-template-rows: auto 1fr;
  align-self: start;
  justify-self: end;
  align-items: center;
  justify-items: center;
  mix-blend-mode: multiply;
  transition: transform 170ms cubic-bezier(0.2, 0.72, 0.25, 1);
}

.cbc-note-artwork::before {
  position: absolute;
  inset: 0;
  background:
    repeating-radial-gradient(
      ellipse at center,
      transparent 0 7px,
      rgba(23, 23, 23, 0.08) 8px 9px,
      transparent 10px 15px
    );
  content: "";
  opacity: 0.72;
  pointer-events: none;
}

.cbc-note-artwork.is-round {
  width: min(154px, 98%);
  min-height: 138px;
  border-radius: 50%;
}

.cbc-note-artwork.is-square::before {
  background:
    repeating-linear-gradient(45deg, transparent 0 8px, rgba(23, 23, 23, 0.065) 9px 10px),
    repeating-linear-gradient(-45deg, transparent 0 12px, rgba(255, 255, 255, 0.13) 13px 14px);
}

.cbc-note-artwork.is-arch {
  border-radius: 58% 58% 8% 8%;
}

.cbc-note-artwork.is-arch::before {
  background:
    repeating-radial-gradient(
      ellipse at 50% 72%,
      transparent 0 9px,
      rgba(23, 23, 23, 0.075) 10px 11px,
      transparent 12px 18px
    );
}

.cbc-note-artwork svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 90px;
  grid-row: 2;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.05;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.34));
}

.cbc-note-artwork svg .artwork-detail {
  opacity: 0.74;
  stroke-width: 1.15;
}

.cbc-note-artwork > span {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  min-height: 1.05em;
  overflow: visible;
  grid-row: 1;
  color: rgba(16, 18, 26, 0.72);
  font-size: 0.53rem;
  font-weight: 950;
  line-height: 1.05;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.38);
  text-transform: uppercase;
  white-space: normal;
}

.cbc-conversion-sticky {
  position: absolute;
  right: 14px;
  bottom: 12px;
  z-index: 2;
  display: grid;
  width: min(156px, 43%);
  min-height: 78px;
  padding: 10px 11px;
  border: 1px solid rgba(23, 23, 23, 0.12);
  border-radius: 5px;
  align-content: center;
  gap: 4px;
  background: #fff1a8;
  box-shadow: 4px 5px 0 rgba(23, 23, 23, 0.22);
  transform: rotate(-2.5deg);
  transition:
    transform 170ms cubic-bezier(0.2, 0.72, 0.25, 1),
    box-shadow 170ms ease;
}

.cbc-conversion-sticky span {
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cbc-conversion-sticky strong {
  overflow-wrap: anywhere;
  font-size: 1.05rem;
  line-height: 1.05;
}

.cbc-note-caption {
  display: flex;
  min-height: 31px;
  padding: 0 4px;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: #294c55;
  font-size: 0.76rem;
  line-height: 1.25;
}

.cbc-note-caption span:first-child {
  min-width: 0;
}

.cbc-note-caption strong {
  color: var(--ink);
}

.cbc-note-caption-value {
  flex: 0 0 auto;
  font-weight: 900;
  text-align: right;
}

.cbc-real-note-link {
  display: inline-flex;
  min-height: 31px;
  margin-left: auto;
  padding: 5px 9px;
  border: 2px solid var(--ink);
  border-radius: 5px;
  align-items: center;
  gap: 5px;
  background: var(--white);
  box-shadow: 2px 3px 0 var(--ink);
  color: var(--ink);
  font-size: 0.69rem;
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
  transition:
    box-shadow 140ms ease,
    transform 140ms ease;
}

.cbc-real-note-link:hover,
.cbc-real-note-link:focus-visible {
  box-shadow: 4px 5px 0 var(--ink);
  transform: translate(-2px, -2px);
}

.cbc-real-note-link:focus-visible {
  outline: 3px solid var(--vermilion);
  outline-offset: 3px;
}

.cbc-real-note-link span {
  color: var(--vermilion-dark);
  font-size: 0.86rem;
}

.cbc-banknote-card:focus-visible .cbc-banknote {
  outline: 4px solid var(--vermilion);
  outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
  .cbc-banknote-card.is-note-hovered .cbc-banknote {
    filter: saturate(1.07) contrast(1.02);
    box-shadow:
      inset 0 0 0 5px rgba(255, 255, 255, 0.4),
      12px 14px 0 rgba(23, 23, 23, 0.82);
    transform:
      perspective(900px)
      translateY(-5px)
      rotateX(var(--note-rotate-x, 0deg))
      rotateY(var(--note-rotate-y, 0deg));
  }

  .cbc-banknote-card.is-note-hovered .cbc-note-pattern::after {
    opacity: 1;
  }

  .cbc-banknote-card.is-note-hovered .cbc-note-artwork {
    transform:
      translate3d(var(--artwork-shift-x, 0), var(--artwork-shift-y, 0), 0)
      scale(1.025);
  }

  .cbc-banknote-card.is-note-hovered .cbc-conversion-sticky {
    box-shadow: 6px 8px 0 rgba(23, 23, 23, 0.2);
    transform:
      translate3d(var(--ticket-shift-x, 0), var(--ticket-shift-y, 0), 0)
      rotate(-1.25deg)
      scale(1.015);
  }
}

@keyframes cbc-note-tap-lift {
  0%,
  100% {
    transform: perspective(900px) translateY(0) rotateX(0) rotateY(0) scale(1);
  }

  36% {
    transform: perspective(900px) translateY(-9px) rotateX(2deg) rotateY(-5deg) scale(1.022);
  }

  68% {
    transform: perspective(900px) translateY(-4px) rotateX(-1deg) rotateY(4deg) scale(1.012);
  }
}

@keyframes cbc-note-tap-shine {
  0%,
  100% {
    opacity: 0;
  }

  35% {
    opacity: 0.95;
  }

  68% {
    opacity: 0.25;
  }
}

@keyframes cbc-ticket-pop {
  0%,
  100% {
    transform: rotate(-2.5deg) scale(1);
  }

  42% {
    transform: translateY(-5px) rotate(0deg) scale(1.045);
  }
}

.cbc-banknote-card.is-note-tapped .cbc-banknote {
  animation: cbc-note-tap-lift 720ms cubic-bezier(0.2, 0.78, 0.25, 1);
}

.cbc-banknote-card.is-note-tapped .cbc-note-pattern::after {
  animation: cbc-note-tap-shine 720ms ease;
}

.cbc-banknote-card.is-note-tapped .cbc-conversion-sticky {
  animation: cbc-ticket-pop 720ms ease;
}

.denomination-section {
  background: #f5efe5;
}

.denomination-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(250px, 0.4fr);
  gap: 40px;
  margin-top: 28px;
}

.denomination-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
}

.denomination-item {
  padding: 20px 18px 20px 0;
  border-bottom: 1px solid var(--line);
}

.denomination-item:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.denomination-item:nth-child(even) {
  padding-left: 20px;
}

.denomination-item strong {
  display: block;
  font-size: 1.24rem;
}

.denomination-item span {
  color: var(--muted);
}

.coin-purse-art {
  display: grid;
  min-height: 270px;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: var(--leaf);
  box-shadow: var(--shadow);
}

.coin-cluster {
  position: relative;
  width: 220px;
  height: 190px;
}

.coin {
  position: absolute;
  display: grid;
  place-items: center;
  border: 4px solid var(--ink);
  border-radius: 50%;
  box-shadow: 4px 5px 0 rgba(23, 23, 23, 0.85);
  font-family: "Arial Black", Arial, sans-serif;
  font-weight: 900;
}

.coin.c500 {
  top: 8px;
  left: 56px;
  width: 92px;
  height: 92px;
  background: radial-gradient(circle, #d5b359 0 41%, #cbd0cd 42% 100%);
}

.coin.c100 {
  top: 86px;
  left: 12px;
  width: 76px;
  height: 76px;
  background: #cbd0d2;
}

.coin.c50 {
  top: 98px;
  right: 12px;
  width: 70px;
  height: 70px;
  background: #d5d9d8;
}

.coin.c10 {
  right: 2px;
  bottom: 74px;
  width: 61px;
  height: 61px;
  background: #bd6e3d;
}

.coin.c5 {
  bottom: 1px;
  left: 82px;
  width: 64px;
  height: 64px;
  background: #d0a842;
}

.coin.has-hole::after {
  position: absolute;
  width: 15px;
  height: 15px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--leaf);
  content: "";
}

.coin.has-hole span {
  transform: translateY(21px);
}

.guides-section {
  background: var(--white);
}

.guide-grid {
  display: grid;
  margin-top: 30px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.guide-card {
  --guide-accent: var(--pink);
  --guide-accent-light: #ffd8e4;
  --guide-accent-dark: var(--plum);
  --guide-tint: #fff2f6;
  --guide-panel-width: 178px;
  position: relative;
  display: grid;
  min-height: 290px;
  padding: 22px 22px 20px;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background:
    linear-gradient(145deg, var(--white) 0%, var(--guide-tint) 72%, var(--guide-tint) 100%);
  color: var(--ink);
  grid-template-columns: minmax(0, 1fr) 142px;
  grid-template-rows: auto 1fr auto;
  column-gap: 18px;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.guide-card::before {
  position: absolute;
  top: 0;
  right: 0;
  width: var(--guide-panel-width);
  height: 100%;
  border-left: 3px solid var(--ink);
  background:
    linear-gradient(
      145deg,
      var(--guide-accent-light) 0%,
      var(--guide-accent) 58%,
      var(--guide-accent-dark) 150%
    );
  box-shadow: inset 10px 0 0 rgba(255, 255, 255, 0.22);
  content: "";
}

.guide-card-banknotes {
  --guide-accent: #f4aac0;
  --guide-accent-light: #ffd8e4;
  --guide-accent-dark: #91365e;
  --guide-tint: #fff7f9;
}

.guide-card-payments {
  --guide-accent: #9bdde8;
  --guide-accent-light: #d9f5f7;
  --guide-accent-dark: #176d82;
  --guide-tint: #f4fcfd;
}

.guide-card-planner {
  --guide-accent: #f5c84b;
  --guide-accent-light: #ffec9d;
  --guide-accent-dark: #9f3a2f;
  --guide-tint: #fffbee;
}

.guide-card-new-notes {
  --guide-accent: #a7d2b8;
  --guide-accent-light: #d7ebdd;
  --guide-accent-dark: #1d664e;
  --guide-tint: #f5fbf7;
}

.guide-card-ic {
  --guide-accent: #ff8d77;
  --guide-accent-light: #ffc9bd;
  --guide-accent-dark: #a92535;
  --guide-tint: #fff6f2;
}

.guide-card-wide {
  --guide-panel-width: 220px;
  min-height: 220px;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) 190px;
}

.guide-card:hover,
.guide-card:focus-visible {
  box-shadow: 8px 9px 0 var(--ink);
  transform: translate(-4px, -4px);
}

.guide-card .guide-number {
  position: relative;
  z-index: 2;
  display: inline-flex;
  width: fit-content;
  min-height: 31px;
  align-items: center;
  align-self: start;
  gap: 9px;
  padding: 3px 10px 3px 4px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 0.72rem;
  line-height: 1;
  text-transform: uppercase;
}

.guide-number b {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: 0.64rem;
}

.guide-art {
  position: relative;
  z-index: 2;
  display: grid;
  width: 138px;
  height: 94px;
  margin-top: 18px;
  grid-column: 2;
  grid-row: 1 / span 2;
  place-items: center;
  align-self: center;
  justify-self: end;
  border: 3px solid var(--ink);
  border-radius: 5px;
  background:
    linear-gradient(
      145deg,
      var(--white) 0%,
      var(--white) 54%,
      var(--guide-accent-light) 100%
    );
  box-shadow:
    inset 0 0 0 3px rgba(255, 255, 255, 0.7),
    5px 6px 0 var(--guide-accent-dark);
  transform: rotate(3deg);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.guide-art::before,
.guide-art::after {
  position: absolute;
  content: "";
}

.guide-art::before {
  inset: 9px;
  border: 2px solid var(--guide-accent-dark);
  border-radius: 2px;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.66);
}

.guide-art::after {
  top: 14px;
  right: 14px;
  width: 13px;
  height: 13px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--guide-accent);
}

.guide-art-mark {
  position: relative;
  z-index: 1;
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 2.2rem;
  line-height: 1;
}

.guide-art-detail {
  position: absolute;
  right: 13px;
  bottom: 9px;
  z-index: 1;
  padding: 1px 4px;
  background: var(--white);
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.guide-card-payments .guide-art {
  width: 108px;
  height: 126px;
  border-radius: 8px 8px 4px 4px;
  transform: rotate(-2deg);
}

.guide-card-payments .guide-art::before {
  inset: 12px 10px 43px;
  border-width: 3px;
  background: var(--guide-accent);
}

.guide-card-payments .guide-art::after {
  top: auto;
  right: 21px;
  bottom: 16px;
  width: 62px;
  height: 9px;
  border-radius: 1px;
  background: var(--ink);
}

.guide-card-payments .guide-art-mark {
  margin-top: -28px;
  font-size: 1.35rem;
}

.guide-card-planner .guide-art {
  width: 126px;
  height: 92px;
  border-radius: 9px;
  box-shadow:
    inset 0 0 0 3px rgba(255, 255, 255, 0.55),
    5px 6px 0 var(--guide-accent-dark);
  transform: rotate(-3deg);
}

.guide-card-planner .guide-art::before {
  inset: 11px;
  border: 2px solid var(--guide-accent-dark);
  border-radius: 6px;
  box-shadow: none;
}

.guide-card-planner .guide-art::after {
  top: 50%;
  right: -3px;
  width: 31px;
  height: 24px;
  border: 3px solid var(--ink);
  border-radius: 14px 0 0 14px;
  background:
    radial-gradient(circle at 48% 50%, var(--ink) 0 4px, transparent 4.5px),
    var(--guide-accent-light);
  transform: translateY(-50%);
}

.guide-card-planner .guide-art-mark {
  transform: translateX(-8px);
}

.guide-card-new-notes .guide-art::after {
  top: 14px;
  right: 13px;
  width: 19px;
  height: 55px;
  border-radius: 2px;
  background: var(--guide-accent);
}

.guide-card-new-notes .guide-art-mark {
  font-size: 1.72rem;
}

.guide-card-ic .guide-art {
  width: 164px;
  height: 104px;
  border-radius: 9px;
  transform: rotate(2deg);
}

.guide-card-ic .guide-art::before {
  inset: 12px;
  border: 0;
  border-top: 4px solid var(--guide-accent-dark);
  border-bottom: 4px solid var(--guide-accent-dark);
}

.guide-card-ic .guide-art::after {
  top: 14px;
  right: 15px;
  width: 23px;
  height: 30px;
  border: 3px solid var(--ink);
  border-left: 0;
  border-radius: 0 50% 50% 0;
  background: transparent;
}

.guide-card:hover .guide-art,
.guide-card:focus-visible .guide-art {
  box-shadow:
    inset 0 0 0 3px rgba(255, 255, 255, 0.78),
    7px 8px 0 var(--guide-accent-dark);
  transform: rotate(-2deg) translateY(-4px);
}

.guide-copy {
  position: relative;
  z-index: 2;
  display: block;
  min-width: 0;
  padding-right: 4px;
  align-self: end;
  grid-column: 1;
  overflow-wrap: break-word;
}

.guide-card h3 {
  max-width: 430px;
  margin: 24px 0 10px;
  font-family: "Arial Black", "Segoe UI Black", Arial, sans-serif;
  font-size: 1.48rem;
  line-height: 1.1;
}

.guide-card p {
  max-width: 450px;
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.4;
}

.guide-cta {
  position: relative;
  z-index: 2;
  display: inline-flex;
  width: fit-content;
  margin-top: 18px;
  align-items: center;
  align-self: end;
  gap: 8px;
  grid-column: 1;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.guide-cta span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.guide-card:hover .guide-cta span,
.guide-card:focus-visible .guide-cta span {
  background: var(--ink);
  color: var(--white);
  transform: translateX(4px);
}

.source-band {
  background: var(--mist);
}

.source-grid {
  display: grid;
  margin-top: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.source-column {
  border-top: 4px solid var(--ink);
  padding-top: 14px;
}

.source-column h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.source-column a {
  color: #15576b;
  font-weight: 800;
}

.editorial-note {
  max-width: 800px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.article-hero {
  --article-accent: var(--pink);
  --article-accent-light: #ffd8e4;
  --article-accent-dark: var(--plum);
  --article-tint: #fff2f6;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 4px solid var(--ink);
  background:
    linear-gradient(
      145deg,
      var(--white) 0%,
      var(--paper) 58%,
      var(--article-tint) 100%
    );
}

.article-hero::before {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  width: max(30%, 320px);
  height: 100%;
  border-left: 4px solid var(--ink);
  background:
    linear-gradient(
      145deg,
      var(--article-accent-light) 0%,
      var(--article-accent) 58%,
      var(--article-accent-dark) 150%
    );
  box-shadow:
    inset 13px 0 0 rgba(255, 255, 255, 0.24),
    inset 18px 0 0 var(--article-accent-dark);
  content: "";
}

.article-hero::after {
  display: none;
}

.article-hero.banknotes {
  --article-accent: #f4aac0;
  --article-accent-light: #ffd8e4;
  --article-accent-dark: #91365e;
  --article-tint: #fff7f9;
}

.article-hero.payments {
  --article-accent: #9bdde8;
  --article-accent-light: #d9f5f7;
  --article-accent-dark: #176d82;
  --article-tint: #f4fcfd;
}

.article-hero.planner {
  --article-accent: #f5c84b;
  --article-accent-light: #ffec9d;
  --article-accent-dark: #a43f32;
  --article-tint: #fffbee;
}

.article-hero.new-notes {
  --article-accent: #a7d2b8;
  --article-accent-light: #d7ebdd;
  --article-accent-dark: #1d664e;
  --article-tint: #f5fbf7;
}

.article-hero.ic-cards {
  --article-accent: #ff8d77;
  --article-accent-light: #ffc9bd;
  --article-accent-dark: #a92535;
  --article-tint: #fff6f2;
}

.article-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(calc(100% - 40px), 980px);
  margin: 0 auto;
  padding: 66px 0 62px;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 64px;
  align-items: center;
}

.article-hero-copy {
  min-width: 0;
}

.article-hero-visual {
  position: relative;
  display: grid;
  min-height: 245px;
  place-items: center;
}

.article-visual-object {
  --visual-rotate: 3deg;
  --visual-hover-rotate: -2deg;
  position: relative;
  z-index: 1;
  display: grid;
  width: 218px;
  height: 138px;
  place-items: center;
  border: 4px solid var(--ink);
  border-radius: 7px;
  background:
    linear-gradient(
      145deg,
      var(--white) 0%,
      var(--white) 46%,
      var(--article-accent-light) 100%
    );
  box-shadow:
    inset 0 0 0 5px rgba(255, 255, 255, 0.72),
    9px 10px 0 var(--article-accent-dark),
    14px 15px 0 var(--ink);
  transform: rotate(var(--visual-rotate));
  transition: box-shadow 200ms ease, transform 200ms ease;
}

.article-visual-object::before,
.article-visual-object::after {
  position: absolute;
  content: "";
}

.article-visual-object::before {
  inset: 14px;
  border: 3px solid var(--article-accent-dark);
  border-radius: 3px;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.58);
}

.article-visual-object::after {
  top: 21px;
  right: 21px;
  width: 22px;
  height: 22px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--article-accent);
}

.article-visual-mark {
  position: relative;
  z-index: 2;
  font-family: "Arial Black", "Segoe UI Black", Arial, sans-serif;
  font-size: 3.7rem;
  line-height: 1;
}

.article-visual-detail {
  position: absolute;
  right: 18px;
  bottom: 14px;
  z-index: 2;
  padding: 2px 6px;
  border: 2px solid var(--ink);
  background: var(--white);
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.article-visual-label {
  position: absolute;
  right: -3px;
  bottom: 8px;
  z-index: 3;
  padding: 7px 12px;
  border: 3px solid var(--ink);
  background: var(--gold);
  box-shadow: 4px 5px 0 var(--ink);
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 0.7rem;
  line-height: 1;
  text-transform: uppercase;
  transform: rotate(-4deg);
}

.visual-payments .article-visual-object {
  --visual-rotate: -2deg;
  --visual-hover-rotate: 1deg;
  width: 148px;
  height: 184px;
  border-radius: 11px 11px 5px 5px;
}

.visual-payments .article-visual-object::before {
  inset: 17px 15px 60px;
  border-width: 4px;
  background: var(--article-accent);
}

.visual-payments .article-visual-object::after {
  top: auto;
  right: 28px;
  bottom: 25px;
  width: 82px;
  height: 11px;
  border-radius: 1px;
  background: var(--ink);
}

.visual-payments .article-visual-mark {
  margin-top: -39px;
  font-size: 1.8rem;
}

.visual-planner .article-visual-object {
  --visual-rotate: -3deg;
  --visual-hover-rotate: 1deg;
  height: 126px;
  border-radius: 13px;
  box-shadow:
    inset 0 0 0 5px rgba(255, 255, 255, 0.64),
    9px 10px 0 var(--article-accent-dark),
    14px 15px 0 var(--ink);
}

.visual-planner .article-visual-object::before {
  inset: 16px;
  border: 3px solid var(--article-accent-dark);
  border-radius: 8px;
  box-shadow: none;
}

.visual-planner .article-visual-object::after {
  top: 50%;
  right: -4px;
  width: 46px;
  height: 34px;
  border: 4px solid var(--ink);
  border-radius: 19px 0 0 19px;
  background:
    radial-gradient(circle at 48% 50%, var(--ink) 0 5px, transparent 5.5px),
    var(--article-accent-light);
  transform: translateY(-50%);
}

.visual-planner .article-visual-mark {
  transform: translateX(-12px);
}

.visual-new-notes .article-visual-object::after {
  top: 19px;
  right: 20px;
  width: 27px;
  height: 82px;
  border-radius: 3px;
  background: var(--article-accent);
}

.visual-new-notes .article-visual-mark {
  font-size: 2.8rem;
}

.visual-ic .article-visual-object {
  --visual-rotate: 2deg;
  --visual-hover-rotate: -1deg;
  border-radius: 14px;
}

.visual-ic .article-visual-object::before {
  inset: 18px;
  border: 0;
  border-top: 5px solid var(--article-accent-dark);
  border-bottom: 5px solid var(--article-accent-dark);
  box-shadow: none;
}

.visual-ic .article-visual-object::after {
  top: 21px;
  right: 21px;
  width: 31px;
  height: 43px;
  border: 4px solid var(--ink);
  border-left: 0;
  border-radius: 0 50% 50% 0;
  background: transparent;
}

.article-hero:hover .article-visual-object {
  transform: rotate(var(--visual-hover-rotate)) translateY(-5px);
}

.breadcrumb {
  display: flex;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(23, 23, 23, 0.72);
  font-size: 0.86rem;
  font-weight: 800;
}

.breadcrumb a {
  text-decoration-thickness: 2px;
}

.article-hero h1 {
  max-width: 690px;
  margin: 0;
  font-family: "Arial Black", "Segoe UI Black", Arial, sans-serif;
  font-size: 3.8rem;
  line-height: 1;
  letter-spacing: 0;
}

.article-dek {
  max-width: 680px;
  margin: 18px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.5;
}

.article-meta {
  display: flex;
  width: fit-content;
  flex-wrap: wrap;
  gap: 14px;
  padding: 4px 10px;
  border: 2px solid var(--ink);
  background: var(--white);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.article-shell {
  display: grid;
  width: min(calc(100% - 40px), 1040px);
  margin: 0 auto;
  padding: 64px 0 76px;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 64px;
  align-items: start;
}

.prose {
  min-width: 0;
}

.prose > p,
.prose > ul,
.prose > ol {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
}

.prose > p:first-child {
  margin-top: 0;
  font-size: 1.27rem;
}

.prose h2 {
  margin-top: 54px;
  font-size: 2.05rem;
}

.prose h3 {
  margin: 32px 0 8px;
  font-size: 1.3rem;
}

.prose a {
  color: #15576b;
  font-weight: 800;
  text-decoration-thickness: 2px;
}

.prose li + li {
  margin-top: 8px;
}

.key-answer {
  margin: 30px 0;
  padding: 23px 24px;
  border-left: 8px solid var(--vermilion);
  background: #fff0ae;
  font-size: 1.05rem;
}

.key-answer strong {
  display: block;
  margin-bottom: 5px;
  font-family: "Trebuchet MS", Arial, sans-serif;
  text-transform: uppercase;
}

.article-aside {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 28px;
}

.article-aside section {
  border-top: 4px solid var(--ink);
  padding-top: 14px;
}

.article-aside h2 {
  margin: 0 0 10px;
  font-size: 1rem;
  text-transform: uppercase;
}

.article-aside ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-aside a {
  color: #15576b;
  font-size: 0.9rem;
  font-weight: 800;
}

.article-aside p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.article-table {
  width: 100%;
  margin: 28px 0;
  border-collapse: collapse;
  font-size: 0.96rem;
}

.article-table th,
.article-table td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.article-table th {
  border-bottom: 3px solid var(--ink);
  background: var(--ink);
  color: var(--white);
}

.ic-wallet-feature {
  margin: 38px 0 8px;
}

.ic-wallet-feature img {
  display: block;
  width: 100%;
  height: auto;
  border: 3px solid var(--ink);
  border-radius: 8px;
  box-shadow: 7px 8px 0 var(--ink);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .ic-wallet-feature:hover img {
    box-shadow: 11px 12px 0 var(--ink);
    transform: translate(-3px, -3px) rotate(-0.35deg);
  }
}

.artwork-disclaimer {
  margin: 14px 0 0 !important;
  color: var(--muted);
  font-family: "Trebuchet MS", Arial, sans-serif !important;
  font-size: 0.78rem !important;
}

.ic-pillar-row {
  display: grid;
  margin: 30px 0;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ic-pillar-row > div {
  display: grid;
  min-width: 0;
  padding: 18px 14px;
  gap: 3px;
}

.ic-pillar-row > div + div {
  border-left: 2px solid var(--ink);
}

.ic-pillar-row .is-ic {
  background: #8fd3ca;
}

.ic-pillar-row span,
.ic-pillar-row small {
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ic-pillar-row strong {
  font-family: "Arial Black", "Segoe UI Black", Arial, sans-serif;
  font-size: 1.05rem;
}

.ic-use-grid {
  display: grid;
  margin: 26px 0 34px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
}

.ic-use-grid > div {
  display: grid;
  padding: 15px 0;
  border-top: 2px solid var(--ink);
  gap: 5px;
}

.ic-use-grid strong {
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 1rem;
}

.ic-use-grid span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.ic-network-strip {
  display: flex;
  margin: 28px 0 0;
  padding: 15px;
  border: 3px solid var(--ink);
  flex-wrap: wrap;
  gap: 7px;
  background: #8fd3ca;
}

.ic-network-strip span {
  padding: 5px 7px;
  border: 2px solid var(--ink);
  border-radius: 3px;
  background: var(--white);
  font-size: 0.76rem;
  font-weight: 900;
}

.ic-choice-grid {
  display: grid;
  margin: 28px 0 32px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ic-choice-grid section {
  display: flex;
  min-width: 0;
  min-height: 260px;
  padding: 18px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  flex-direction: column;
}

.ic-choice-grid section:nth-child(1) {
  background: var(--sky);
}

.ic-choice-grid section:nth-child(2) {
  background: var(--pink);
}

.ic-choice-grid section:nth-child(3) {
  background: var(--gold);
}

.ic-choice-grid h3 {
  margin: auto 0 10px;
  font-family: "Arial Black", "Segoe UI Black", Arial, sans-serif;
  font-size: 1.3rem;
  line-height: 1.05;
}

.ic-choice-grid p {
  margin: 0;
  font-size: 0.87rem;
  line-height: 1.45;
}

.choice-label {
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ic-trap-list {
  margin: 26px 0 34px;
  border-top: 3px solid var(--ink);
}

.ic-trap-list section {
  display: grid;
  padding: 18px 0;
  border-bottom: 2px solid var(--ink);
  grid-template-columns: 45px minmax(0, 1fr);
  gap: 14px;
}

.ic-trap-list > section > span {
  display: grid;
  width: 40px;
  height: 40px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  place-items: center;
  background: var(--gold);
  font-size: 0.75rem;
  font-weight: 900;
}

.ic-trap-list h3 {
  margin: 0 0 5px;
}

.ic-trap-list p {
  margin: 0;
  line-height: 1.5;
}

.ic-article-teaser {
  display: grid;
  min-height: 250px;
  margin: 30px 0 38px;
  overflow: hidden;
  border: 4px solid var(--ink);
  border-radius: 8px;
  grid-template-columns: minmax(0, 1fr) 190px;
  background: var(--gold);
  box-shadow: 7px 8px 0 var(--ink);
  color: var(--ink) !important;
  text-decoration: none;
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.ic-article-teaser:hover,
.ic-article-teaser:focus-visible {
  box-shadow: 10px 11px 0 var(--ink);
  transform: translate(-3px, -3px);
}

.ic-teaser-copy {
  display: flex;
  padding: 24px;
  flex-direction: column;
  justify-content: center;
}

.ic-teaser-copy small,
.ic-teaser-copy b {
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ic-teaser-copy strong {
  margin: 10px 0;
  font-family: "Arial Black", "Segoe UI Black", Arial, sans-serif;
  font-size: 1.65rem;
  line-height: 1.05;
}

.ic-teaser-copy > span {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.45;
}

.ic-teaser-copy b {
  margin-top: 18px;
}

.ic-teaser-art {
  position: relative;
  display: grid;
  min-height: 100%;
  border-left: 3px solid var(--ink);
  place-items: center;
  background: var(--pink);
}

.ic-teaser-card {
  display: grid;
  width: 125px;
  height: 82px;
  padding: 10px;
  border: 3px solid var(--ink);
  border-radius: 7px;
  align-content: space-between;
  background: var(--sky);
  box-shadow: 5px 6px 0 var(--ink);
  transform: rotate(-8deg);
}

.ic-teaser-card i {
  font-family: "Arial Black", "Segoe UI Black", Arial, sans-serif;
  font-size: 2.2rem;
  font-style: normal;
  line-height: 0.9;
}

.ic-teaser-card em {
  font-size: 0.57rem;
  font-style: normal;
  font-weight: 900;
}

.ic-teaser-reader {
  position: absolute;
  right: 11px;
  bottom: 26px;
  font-family: "Arial Black", "Segoe UI Black", Arial, sans-serif;
  font-size: 1.35rem;
  transform: rotate(-35deg);
}

.official-note-links {
  margin: 36px 0 42px;
  padding: 28px 0;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}

.official-note-links-heading h3 {
  margin: 0;
  font-family: "Arial Black", "Segoe UI Black", Arial, sans-serif;
  font-size: 1.65rem;
  line-height: 1.1;
}

.official-note-links-heading p {
  margin: 8px 0 0;
  color: var(--muted);
}

.official-note-link-grid {
  display: grid;
  margin-top: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.official-note-link-grid a {
  display: grid;
  min-width: 0;
  min-height: 142px;
  padding: 16px;
  border: 3px solid var(--ink);
  border-radius: 7px;
  align-content: start;
  gap: 5px;
  box-shadow: 4px 5px 0 var(--ink);
  color: var(--ink);
  text-decoration: none;
  transition:
    box-shadow 150ms ease,
    transform 150ms ease;
}

.official-note-link-grid a:nth-child(1) {
  background: var(--sky);
}

.official-note-link-grid a:nth-child(2) {
  background: var(--pink);
}

.official-note-link-grid a:nth-child(3) {
  background: var(--gold);
}

.official-note-link-grid a:hover,
.official-note-link-grid a:focus-visible {
  box-shadow: 7px 8px 0 var(--ink);
  transform: translate(-3px, -3px);
}

.official-note-link-grid a:focus-visible {
  outline: 3px solid var(--vermilion);
  outline-offset: 4px;
}

.official-note-link-grid strong {
  font-family: "Arial Black", "Segoe UI Black", Arial, sans-serif;
  font-size: 1.4rem;
  line-height: 1;
}

.official-note-link-grid span {
  color: #294c55;
  font-size: 0.82rem;
  line-height: 1.25;
}

.official-note-link-grid small {
  margin-top: auto;
  font-size: 0.71rem;
  font-weight: 950;
  line-height: 1.1;
  text-transform: uppercase;
}

.official-link-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.visual-money-board {
  display: grid;
  gap: 22px;
  margin: 32px 0 38px;
}

.yen-note {
  position: relative;
  display: grid;
  min-height: 185px;
  overflow: hidden;
  padding: 22px 27px;
  border: 3px solid var(--ink);
  border-radius: 5px;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 20px;
  align-items: center;
  box-shadow: 7px 8px 0 var(--ink);
}

.yen-note.blue {
  background: #9dc9d5;
}

.yen-note.purple {
  background: #c5add5;
}

.yen-note.brown {
  background: #d8c293;
}

.yen-note.green {
  background: #a9c5a7;
}

.yen-note-copy {
  position: relative;
  z-index: 2;
}

.yen-note-copy strong {
  display: block;
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 2.25rem;
}

.yen-note-copy span {
  display: block;
  margin-top: 5px;
  font-weight: 800;
}

.yen-note-art {
  position: relative;
  z-index: 2;
  display: grid;
  width: 132px;
  height: 112px;
  place-items: center;
  border: 3px solid rgba(23, 23, 23, 0.72);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  font-family: Georgia, serif;
  font-size: 1.02rem;
  font-style: italic;
  font-weight: 900;
  text-align: center;
}

.planner-tool {
  position: relative;
  margin: 32px 0 40px;
  padding: 26px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background:
    linear-gradient(145deg, var(--white) 0%, #f4fcfd 48%, #d9f5f7 100%);
  box-shadow: 8px 9px 0 var(--ink);
}

.planner-tool h2 {
  margin: 4px 0 8px;
  font-size: 2.05rem;
}

.planner-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 178px;
  gap: 24px;
  align-items: start;
}

.planner-heading p {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.planner-rate-stamp {
  display: grid;
  min-height: 118px;
  padding: 14px 12px;
  border: 3px double var(--ink);
  border-radius: 50%;
  place-items: center;
  align-content: center;
  background:
    linear-gradient(145deg, #ffec9d 0%, var(--gold) 70%, #e1a936 120%);
  box-shadow: 4px 5px 0 var(--ink);
  text-align: center;
  transform: rotate(2deg);
}

.planner-rate-stamp span,
.planner-rate-stamp small {
  font-size: 0.64rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.planner-rate-stamp strong {
  margin: 4px 0;
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 0.92rem;
  line-height: 1.15;
}

.planner-currency-step {
  position: relative;
  z-index: 6;
  display: grid;
  margin: 24px -26px 0;
  padding: 18px 26px;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  grid-template-columns: 40px minmax(0, 1fr) minmax(210px, 285px);
  gap: 15px;
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
}

.planner-step-number {
  display: grid;
  width: 34px;
  height: 34px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  place-items: center;
  background: var(--vermilion);
  box-shadow: 2px 3px 0 var(--ink);
  color: var(--white);
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 0.8rem;
}

.planner-step-copy,
.planner-fields-heading > div {
  display: grid;
  line-height: 1.25;
}

.planner-step-copy strong,
.planner-fields-heading strong {
  font-size: 0.92rem;
}

.planner-step-copy span,
.planner-fields-heading span {
  color: var(--muted);
  font-size: 0.78rem;
}

.planner-currency-control {
  width: 100%;
}

.planner-fields-heading {
  display: grid;
  margin-top: 22px;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 15px;
  align-items: center;
}

.planner-fields {
  display: grid;
  margin: 16px 0 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.planner-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.planner-field label {
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.planner-field > input,
.planner-money-input {
  width: 100%;
  min-height: 54px;
  border: 3px solid var(--ink);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 3px 4px 0 rgba(23, 23, 23, 0.82);
}

.planner-field > input {
  padding: 8px 12px;
  font-size: 1.08rem;
  font-weight: 900;
}

.planner-money-input {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: stretch;
}

.planner-money-input > span {
  display: grid;
  min-width: 52px;
  padding: 0 9px;
  border-right: 3px solid var(--ink);
  place-items: center;
  background:
    linear-gradient(145deg, #ffec9d 0%, var(--gold) 100%);
  font-size: 0.72rem;
  font-weight: 900;
}

.planner-money-input input {
  min-width: 0;
  width: 100%;
  padding: 8px 11px;
  border: 0;
  border-radius: 0 3px 3px 0;
  outline: 0;
  background: transparent;
  font-size: 1.08rem;
  font-weight: 900;
}

.planner-field > input:focus,
.planner-money-input:focus-within {
  outline: 3px solid var(--vermilion);
  outline-offset: 3px;
}

.planner-output {
  display: grid;
  margin: 0 -26px;
  padding: 22px 26px;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  grid-template-columns: minmax(190px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  align-items: stretch;
  background: var(--ink);
}

.planner-total,
.planner-stack {
  min-width: 0;
  padding: 18px;
  border: 3px solid var(--ink);
  border-radius: 6px;
  background: var(--white);
}

.planner-total {
  background:
    linear-gradient(145deg, #ffec9d 0%, var(--gold) 68%, #e2a836 130%);
  box-shadow: 4px 5px 0 var(--vermilion);
}

.planner-total span,
.planner-total strong,
.planner-total small {
  display: block;
}

.planner-total span {
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.planner-total strong {
  margin: 5px 0;
  max-width: 100%;
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 1.85rem;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.planner-total strong.is-long {
  font-size: 1.42rem;
}

.planner-total strong.is-very-long {
  font-size: 1.08rem;
}

.planner-total small {
  line-height: 1.3;
}

.planner-stack-heading {
  display: flex;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.planner-note-piles {
  display: flex;
  min-height: 94px;
  padding-top: 16px;
  flex-wrap: wrap;
  gap: 14px 20px;
  align-items: center;
}

.planner-note-pile {
  display: grid;
  grid-template-columns: 70px auto;
  gap: 9px;
  align-items: center;
}

.planner-mini-note {
  position: relative;
  z-index: 1;
  display: grid;
  width: 66px;
  height: 39px;
  padding: 4px 6px;
  border: 2px solid var(--ink);
  border-radius: 3px;
  place-items: center;
  background: #d7c39a;
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--ink);
}

.planner-mini-note::before,
.planner-mini-note::after {
  position: absolute;
  inset: -2px;
  z-index: -1;
  border: 2px solid var(--ink);
  border-radius: 3px;
  background: inherit;
  content: "";
}

.planner-mini-note::before {
  transform: translate(-5px, -5px);
}

.planner-mini-note::after {
  transform: translate(-9px, -9px);
}

.planner-mini-note.is-double::after,
.planner-mini-note.is-single::before,
.planner-mini-note.is-single::after {
  display: none;
}

.planner-mini-note.note-5000 {
  background: #cdb8db;
}

.planner-mini-note.note-1000 {
  background: #9dcbd6;
}

.planner-mini-note b {
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1;
}

.planner-mini-note i {
  position: absolute;
  right: 4px;
  bottom: 2px;
  font-size: 0.42rem;
  font-style: normal;
  font-weight: 900;
}

.planner-note-count {
  display: grid;
  line-height: 1.05;
}

.planner-note-count strong {
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 1rem;
}

.planner-note-count small {
  font-size: 0.66rem;
  font-weight: 900;
}

.planner-stack-waiting {
  display: grid;
  min-height: 100%;
  place-items: center;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-align: center;
}

.planner-note {
  margin: 15px 0 0;
  color: #294c55;
  font-size: 0.84rem;
}

.planner-formula {
  font-weight: 900;
}

.planner-rate-warning {
  margin: 13px 0 0;
  padding: 9px 11px;
  border: 2px solid var(--ink);
  border-left: 8px solid var(--vermilion);
  border-radius: 4px;
  background:
    linear-gradient(145deg, #fff7cd 0%, #ffec9d 100%);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.35;
}

.planner-rate-warning[hidden] {
  display: none;
}

.security-strip {
  display: grid;
  margin: 30px 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.security-item {
  min-height: 145px;
  padding: 18px;
  border: 2px solid var(--ink);
  background: var(--mist);
}

.security-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.08rem;
}

.related-band {
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
  background: var(--ink);
  color: var(--white);
}

.related-inner {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 48px 0;
}

.related-inner h2 {
  margin: 0 0 20px;
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 1.8rem;
}

.related-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.related-links-four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.related-links a {
  min-height: 110px;
  padding: 17px;
  border: 2px solid var(--white);
  border-radius: 6px;
  background: #2c2c2c;
  font-weight: 900;
  text-decoration: none;
}

.related-links a:hover {
  background: var(--vermilion);
}

.site-footer {
  background: var(--paper);
}

.footer-inner {
  display: grid;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 34px 0;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.footer-copy strong,
.footer-copy span {
  display: block;
}

.footer-copy span,
.footer-small {
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
  font-weight: 800;
}

.footer-nav a {
  text-decoration-thickness: 2px;
}

.footer-small {
  grid-column: 1 / -1;
}

@media (max-width: 920px) {
  .masthead-inner {
    flex-wrap: wrap;
    gap: 8px 18px;
    padding: 10px 0 12px;
  }

  .site-nav {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    font-size: 0.8rem;
  }

  .site-nav a,
  .site-nav a:not(.tool-link) {
    display: inline-flex;
    min-width: 0;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 6px 8px;
    border: 1px solid rgba(24, 25, 31, 0.22);
    border-bottom: 3px solid transparent;
    border-radius: 6px;
    background: var(--white);
    line-height: 1.1;
    text-align: center;
    white-space: normal;
  }

  .site-nav .tool-link {
    gap: 4px;
    border: 2px solid var(--ink);
    background: var(--gold);
    box-shadow: 2px 2px 0 var(--ink);
  }

  .site-nav .tool-link::after {
    font-size: 0.9rem;
  }

  .japan-hero {
    min-height: 510px;
  }

  .japan-hero > img {
    object-position: 48% center;
  }

  .japan-hero h1 {
    font-size: 3.5rem;
  }

  .fact-ribbon-inner {
    grid-template-columns: repeat(3, 1fr);
  }

  .fact:nth-child(3) {
    border-right: 0;
  }

  .fact:nth-child(n + 4) {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
  }

  .quick-grid,
  .guide-grid,
  .article-shell {
    grid-template-columns: 1fr;
  }

  .guide-card-wide {
    grid-column: auto;
  }

  .trip-wallet {
    max-width: 520px;
  }

  .article-aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .masthead-inner {
    width: min(calc(100% - 24px), var(--max));
    min-height: 76px;
  }

  .cash-logo {
    width: 148px;
  }

  .masthead-brand .country-destination-logo.is-mini {
    width: 116px;
    padding-left: 8px;
    column-gap: 7px;
  }

  .masthead-brand .country-destination-logo.is-mini .country-logo-emblem {
    width: 38px;
    height: 31px;
  }

  .masthead-brand .country-destination-logo.is-mini .country-logo-copy strong {
    font-size: 0.69rem;
  }

  .masthead-brand .country-destination-logo.is-mini .country-logo-copy small {
    display: none;
  }

  .mini-japan-logo {
    width: 104px;
    padding-left: 9px;
  }

  .tool-link {
    min-height: 40px;
    padding: 6px 9px;
    font-size: 0.78rem;
  }

  .japan-hero {
    min-height: 590px;
  }

  .japan-hero > img {
    object-position: 53% center;
  }

  .hero-inner {
    width: min(calc(100% - 24px), var(--max));
    padding-top: 25px;
  }

  .destination-logo {
    width: 290px;
    max-width: 86%;
  }

  .japan-hero h1 {
    max-width: 360px;
    font-size: 2.7rem;
  }

  .hero-dek {
    max-width: 380px;
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    max-width: 290px;
  }

  .fact-ribbon-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .fact,
  .fact:nth-child(3) {
    border-right: 1px solid rgba(255, 255, 255, 0.25);
  }

  .fact:nth-child(even) {
    border-right: 0;
  }

  .fact:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
  }

  .fact:last-child {
    grid-column: 1 / -1;
    border-right: 0;
  }

  .section-inner,
  .article-shell,
  .related-inner,
  .footer-inner,
  .article-hero-inner {
    width: min(calc(100% - 24px), var(--max));
  }

  .section-inner {
    padding: 50px 0;
  }

  .section h2,
  .article-shell h2 {
    font-size: 1.9rem;
  }

  .answer-lead {
    font-size: 1.25rem;
  }

  .rate-toolbar {
    display: grid;
  }

  .yen-explorer-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .yen-money-switch {
    max-width: 100%;
  }

  .article-money-explorer {
    margin: 30px 0 36px;
    padding: 20px 16px;
  }

  .official-note-link-grid {
    grid-template-columns: 1fr;
  }

  .official-note-link-grid a {
    min-height: 118px;
  }

  .yen-note-row,
  .cbc-banknote-grid,
  .guide-grid,
  .source-grid,
  .denomination-layout,
  .related-links {
    grid-template-columns: 1fr;
  }

  .yen-glance-note {
    min-height: 154px;
  }

  .cbc-banknote-grid {
    gap: 28px;
  }

  .cbc-banknote {
    width: min(100%, 480px);
    min-height: 184px;
    margin: 0 auto;
    box-shadow:
      inset 0 0 0 4px rgba(255, 255, 255, 0.35),
      4px 4px 0 rgba(23, 23, 23, 0.9);
  }

  .cbc-banknote-wrap {
    margin-bottom: 25px;
  }

  .cbc-note-content {
    padding: 12px 13px 14px;
    grid-template-columns: minmax(0, 1fr) minmax(88px, 38%);
    gap: 7px 10px;
  }

  .cbc-note-value {
    font-size: 3.1rem;
  }

  .cbc-note-value.is-wide {
    font-size: 2.28rem;
  }

  .cbc-note-artwork,
  .cbc-note-artwork.is-round {
    width: min(126px, 100%);
    min-height: 112px;
    padding: 7px 5px 8px;
  }

  .cbc-note-artwork svg {
    height: 73px;
  }

  .cbc-conversion-sticky {
    right: 10px;
    bottom: 9px;
    min-height: 68px;
    padding: 8px 9px;
  }

  .cbc-conversion-sticky strong {
    font-size: 0.92rem;
  }

  .cbc-note-caption {
    min-height: 0;
    font-size: 0.72rem;
  }

  .cbc-coin-grid,
  .article-money-explorer .cbc-coin-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .cbc-coin-card {
    min-height: 0;
    padding: 20px 3px 18px;
    gap: 8px;
  }

  .cbc-coin-card:not(:last-child) {
    border-bottom: 1px solid rgba(23, 23, 23, 0.18);
  }

  .cbc-coin-stage {
    min-height: 148px;
    grid-template-columns: minmax(106px, 42%) minmax(0, 1fr);
    align-items: center;
    gap: 18px;
  }

  .cbc-coin-face {
    width: min(var(--coin-size-mobile), 100%);
    grid-column: 1;
    justify-self: center;
    box-shadow:
      inset 0 0 0 6px rgba(255, 255, 255, 0.2),
      inset -7px -9px 0 rgba(23, 23, 23, 0.12),
      5px 6px 0 rgba(23, 23, 23, 0.84);
  }

  .cbc-coin-caption {
    display: flex;
    min-height: 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 8px;
  }

  .cbc-coin-caption span:last-child {
    width: 100%;
  }

  .denomination-list {
    grid-template-columns: 1fr;
  }

  .denomination-item,
  .denomination-item:nth-child(even),
  .denomination-item:nth-child(odd) {
    padding: 17px 0;
    border-right: 0;
  }

  .guide-card {
    --guide-panel-width: 128px;
    min-height: 255px;
    padding: 18px;
    grid-template-columns: minmax(0, 1fr) 104px;
    grid-template-rows: auto 1fr auto;
    column-gap: 12px;
  }

  .guide-card::before {
    width: var(--guide-panel-width);
  }

  .guide-card .guide-number {
    grid-column: 1 / -1;
  }

  .guide-art,
  .guide-card-ic .guide-art {
    width: 98px;
    height: 72px;
    margin-top: 12px;
    grid-column: 2;
    grid-row: 2;
    box-shadow: 4px 4px 0 var(--guide-accent-dark);
  }

  .guide-card-payments .guide-art {
    width: 78px;
    height: 96px;
  }

  .guide-card-planner .guide-art {
    width: 96px;
    height: 70px;
    box-shadow:
      inset 0 0 0 2px rgba(255, 255, 255, 0.55),
      4px 4px 0 var(--guide-accent-dark);
  }

  .guide-art-mark {
    font-size: 1.55rem;
  }

  .guide-card-payments .guide-art-mark {
    font-size: 1rem;
  }

  .guide-art-detail {
    right: 7px;
    bottom: 6px;
    font-size: 0.52rem;
  }

  .guide-copy {
    align-self: center;
    grid-column: 1;
    grid-row: 2;
  }

  .guide-card h3 {
    margin-top: 18px;
    font-size: 1.3rem;
  }

  .guide-card p {
    font-size: 0.88rem;
  }

  .guide-cta {
    margin-top: 16px;
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .guide-card-wide {
    grid-column: auto;
  }

  .ic-wallet-feature img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
  }

  .ic-pillar-row,
  .ic-use-grid,
  .ic-choice-grid {
    grid-template-columns: 1fr;
  }

  .ic-pillar-row > div + div {
    border-top: 2px solid var(--ink);
    border-left: 0;
  }

  .ic-choice-grid section {
    min-height: 190px;
  }

  .ic-article-teaser {
    grid-template-columns: 1fr;
  }

  .ic-teaser-art {
    min-height: 155px;
    border-top: 3px solid var(--ink);
    border-left: 0;
  }

  .article-hero-inner {
    padding: 58px 0 48px;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .article-hero::before {
    right: 0;
    width: 100%;
    height: 14px;
    border-bottom: 3px solid var(--ink);
    border-left: 0;
    clip-path: none;
  }

  .article-hero::after {
    top: 80px;
    right: 12px;
    color: var(--article-accent);
    font-size: 6rem;
    opacity: 0.28;
    transform: rotate(-5deg);
    -webkit-text-stroke: 2px var(--article-accent-dark);
  }

  .article-hero.payments::after,
  .article-hero.new-notes::after {
    font-size: 4.4rem;
  }

  .article-hero-visual {
    width: 100%;
    min-height: 172px;
  }

  .article-visual-object,
  .visual-ic .article-visual-object {
    width: 174px;
    height: 110px;
    border-width: 3px;
    box-shadow:
      inset 0 0 0 4px rgba(255, 255, 255, 0.72),
      6px 7px 0 var(--article-accent-dark),
      10px 11px 0 var(--ink);
  }

  .visual-payments .article-visual-object {
    width: 112px;
    height: 142px;
  }

  .visual-planner .article-visual-object {
    width: 174px;
    height: 98px;
    box-shadow:
      inset 0 0 0 4px rgba(255, 255, 255, 0.64),
      6px 7px 0 var(--article-accent-dark),
      10px 11px 0 var(--ink);
  }

  .article-visual-object::before {
    inset: 10px;
    border-width: 2px;
  }

  .article-visual-mark {
    font-size: 2.65rem;
  }

  .visual-new-notes .article-visual-mark {
    font-size: 2.05rem;
  }

  .visual-payments .article-visual-mark {
    margin-top: -30px;
    font-size: 1.35rem;
  }

  .article-visual-detail {
    right: 11px;
    bottom: 9px;
    font-size: 0.58rem;
  }

  .article-visual-label {
    right: calc(50% - 104px);
    bottom: 0;
  }

  .article-hero h1 {
    font-size: 2.65rem;
  }

  .article-dek {
    font-size: 1.15rem;
  }

  .article-shell {
    padding: 48px 0 60px;
    gap: 46px;
  }

  .article-aside {
    grid-template-columns: 1fr;
  }

  .yen-note {
    min-height: 155px;
    padding: 19px;
    grid-template-columns: minmax(0, 1fr) 98px;
  }

  .yen-note-art {
    width: 92px;
    height: 84px;
    font-size: 0.78rem;
  }

  .yen-note-copy strong {
    font-size: 1.7rem;
  }

  .planner-fields,
  .planner-output,
  .security-strip {
    grid-template-columns: 1fr;
  }

  .planner-tool {
    padding: 20px 18px;
  }

  .planner-heading {
    grid-template-columns: 1fr;
  }

  .planner-rate-stamp {
    width: 164px;
    min-height: 108px;
    justify-self: center;
  }

  .planner-currency-step {
    margin-right: -18px;
    margin-left: -18px;
    padding: 17px 18px;
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .planner-currency-control {
    grid-column: 1 / -1;
  }

  .planner-output {
    margin-right: -18px;
    margin-left: -18px;
    padding: 20px 18px;
  }

  .planner-note-piles {
    gap: 18px 22px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .masthead-brand .country-destination-logo.is-mini {
    display: inline-grid;
    width: auto;
    padding-left: 9px;
    grid-template-columns: auto;
  }

  .masthead-brand .country-destination-logo.is-mini .country-logo-copy {
    display: none;
  }

  .masthead-brand .country-destination-logo.is-mini .country-logo-emblem {
    width: 40px;
    height: 32px;
  }
}

@media (max-width: 430px) {
  .mini-japan-logo {
    display: none;
  }

  .japan-hero {
    min-height: 620px;
  }

  .japan-hero h1 {
    font-size: 2.35rem;
  }

  .hero-actions {
    max-width: 100%;
  }

  .fact {
    padding: 14px 12px;
  }

  .article-hero h1 {
    font-size: 2.25rem;
  }

  .ic-wallet-feature img {
    aspect-ratio: 1 / 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Shared navigation rhythm: the guide should feel like a destination inside the same product. */
.japan-section-nav {
  position: sticky;
  top: 0;
  z-index: 15;
  display: flex;
  width: min(100%, var(--max));
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 11px 20px;
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
}

.japan-section-nav a {
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
  text-underline-offset: 4px;
}

.japan-section-nav a:hover,
.japan-section-nav a:focus-visible {
  color: var(--vermilion);
  text-decoration: underline;
}

.destination-logo {
  width: 270px;
  max-width: 42%;
  margin-bottom: 4px;
}

@media (max-width: 700px) {
  .japan-section-nav {
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .destination-logo {
    max-width: 68%;
  }
}

.footer-copy::before {
  display: block;
  width: 210px;
  height: 36px;
  margin-bottom: 3px;
  background: url("assets/cashbycountry-logo-modern.png") left center / contain no-repeat;
  content: "";
}

.footer-copy strong {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 700px) {
  .footer-copy::before {
    width: 146px;
    height: 40px;
  }
}
