.yen-section{padding-top:0;padding-bottom:55px}.yen-card{border:1px solid var(--line);background:#fff;border-radius:12px;padding:30px 34px;box-shadow:0 6px 25px #173c3406}.yen-heading{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:23px}.yen-heading h2{font-size:33px;letter-spacing:-.8px}.yen-heading h2 span{color:var(--green)}.yen-heading p{font-size:13px;color:var(--muted);margin:8px 0 0}.yen-tag{border:1px solid #12807333;border-radius:30px;padding:5px 12px;color:var(--green);font-size:9px;letter-spacing:1.2px;white-space:nowrap}.yen-fields{display:grid;grid-template-columns:minmax(0,1fr) 32px minmax(0,1fr);gap:18px;align-items:start}.yen-field{min-width:0}.yen-field label{display:block;font-size:11px;font-weight:700;margin-bottom:8px}.yen-input-wrap{display:flex;align-items:center;gap:12px;border:1px solid var(--line);background:var(--paper);padding:11px 17px;border-radius:7px;transition:border-color .2s,box-shadow .2s}.yen-input-wrap:focus-within{border-color:var(--green);box-shadow:0 0 0 3px #12807315}.yen-input-wrap input{min-width:0;width:100%;border:0;background:transparent;outline:none;padding:0;font:500 29px/1.5 'DM Sans',Arial,sans-serif;color:var(--ink);border-radius:2px}.yen-input-wrap input:focus-visible{outline:0}.yen-input-wrap:has(input[aria-invalid=true]){border-color:#aa3326}.yen-input-wrap>span{font-size:21px;color:var(--green)}.yen-direction{align-self:start;margin-top:39px;text-align:center;color:var(--green);font-size:23px}.yen-presets{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.yen-presets button{border:1px solid var(--line);background:white;border-radius:5px;font-size:11px;min-height:38px;min-width:65px;padding:8px 12px;color:var(--ink)}.yen-presets button:hover{border-color:var(--green);color:var(--green);background:#eef5f0}.yen-meta{border-top:1px solid var(--line);margin-top:22px;padding-top:17px;display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.yen-rate{margin:0;font-size:12px;font-weight:600}.yen-status{font-size:10px;color:var(--muted);margin:5px 0 0;line-height:1.6}.yen-refresh{background:transparent;border:1px solid var(--line);border-radius:5px;color:var(--green);font-size:11px;padding:9px 12px;min-height:40px;flex-shrink:0}.yen-refresh:disabled{cursor:wait;opacity:.6}.yen-note{font-size:10px;color:var(--muted);margin:15px 0 0}.yen-source{font-size:10px;color:var(--muted);margin:6px 0 0}.yen-source a{text-decoration:underline;text-underline-offset:2px}.yen-error{font-size:12px;color:#a13728;line-height:1.5;margin:9px 0 0}.yen-error:empty{display:none}.yen-card[data-rate-state=cached] .yen-status,.yen-card[data-rate-state=unavailable] .yen-status{color:#8a4e11}.yen-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.yen-updated{animation:yen-result .35s ease-out}@keyframes yen-result{from{color:var(--green);opacity:.5}to{color:var(--ink);opacity:1}}@media(max-width:720px){.yen-section{padding-top:0;padding-bottom:35px}.yen-card{padding:23px 20px;border-radius:10px}.yen-heading{gap:10px;margin-bottom:20px}.yen-heading h2{font-size:29px}.yen-tag{display:none}.yen-fields{grid-template-columns:1fr;gap:18px}.yen-direction{display:none}.yen-input-wrap input{font-size:28px}.yen-meta{display:block;margin-top:19px}.yen-refresh{margin-top:12px}.yen-presets{gap:7px}.yen-presets button{flex:1;min-width:55px;min-height:44px;padding:9px 6px}.yen-heading p{font-size:12px}}@media(prefers-reduced-motion:reduce){.yen-updated{animation:none}.yen-input-wrap{transition:none}}
@media(max-width:360px){.yen-presets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.yen-presets button{min-width:0}}
