
body.home-body .fx-section{margin-top:0}
.fx-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}
.fx-eyebrow{margin:0 0 7px;color:var(--c-navy);font-size:11px;font-weight:650;letter-spacing:.14em}
body.home-body .fx-heading h2{font:650 28px/1.4 var(--sans);letter-spacing:-.04em;margin:0}
.fx-heading p:last-child{font-size:13px;color:var(--c-muted);margin:9px 0 0;line-height:1.8}
.fx-auto{display:inline-flex;align-items:center;gap:7px;flex-shrink:0;padding:6px 11px;border:1px solid #c4dcd0;border-radius:20px;color:#2e5d50;background:#edf6f0;font-size:11px;font-weight:550}
.fx-auto::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.fx-auto[data-offline=true]{color:#825d31;background:#fbf4e9;border-color:#e5d2b5}
.fx-panel{background:#fff;border:1px solid var(--c-line);border-radius:16px;padding:22px 24px 18px;overflow:hidden}
.fx-units{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:16px}
.fx-units strong{font-size:14px;font-weight:600;color:var(--c-ink)}
.fx-units span{font-size:12px;color:var(--c-muted)}
.fx-widget-host{height:440px;position:relative;min-width:0}
.fx-widget-host .tradingview-widget-container{height:100%;width:100%}
.fx-widget-host .tradingview-widget-container__widget{height:calc(100% - 32px);width:100%}
.fx-widget-host iframe{display:block;width:100%;border:0}
.fx-widget-host .tradingview-widget-copyright{font-size:11px;text-align:right;padding-top:8px;line-height:18px;color:var(--c-muted)}
.fx-widget-host .tradingview-widget-copyright a{color:var(--c-navy);text-decoration:underline;text-underline-offset:3px}
.fx-widget-host:empty{display:grid;place-items:center;border-radius:10px;background:var(--c-bg)}
.fx-widget-host:empty::before{content:"正在连接澳币 / 韩元行情…";font-size:14px;color:var(--c-muted)}
.fx-widget-host[data-state=error]:empty::before{content:"行情暂时无法载入，请稍后重新连接。"}
.fx-widget-host[data-state=offline]:empty::before{content:"当前离线，恢复联网后自动连接。"}
.fx-foot{display:flex;justify-content:space-between;align-items:center;gap:16px;border-top:1px solid var(--c-line);padding-top:12px;margin-top:10px}
.fx-status{font-size:12px;color:var(--c-muted);line-height:1.8;margin:0}
body.home-body .fx-retry{flex-shrink:0;min-height:44px;padding:8px 13px;border:1px solid var(--c-line);border-radius:8px;font:500 12px/1.5 var(--sans);color:var(--c-navy);background:var(--c-bg);box-shadow:none;cursor:pointer;transform:none}
.fx-retry:disabled{opacity:.55;cursor:wait}
.fx-retry:focus-visible{outline:2px solid var(--c-navy);outline-offset:3px}
.fx-note{display:flex;justify-content:space-between;gap:20px;margin:14px 2px 0;color:var(--c-muted);font-size:11px;line-height:1.85}
.fx-note p{margin:0;max-width:58em}
.fx-note a{color:var(--c-navy);text-underline-offset:3px;white-space:nowrap}
@media(max-width:760px){.fx-heading{align-items:flex-start;gap:12px;margin-bottom:16px}body.home-body .fx-heading h2{font-size:25px}.fx-heading p:last-child{font-size:12px;max-width:21em}.fx-auto{margin-top:4px;padding:5px 8px;font-size:10px}.fx-panel{padding:16px 10px 12px;border-radius:12px}.fx-units{padding:0 5px;align-items:flex-start;flex-direction:column;gap:5px;margin-bottom:12px}.fx-units strong{font-size:13px}.fx-units span{font-size:11px}.fx-widget-host{height:420px}.fx-foot{gap:12px;margin-top:8px;padding:10px 4px 0}.fx-status{font-size:11px}.fx-note{flex-direction:column;gap:6px;font-size:10px;margin-top:11px}.fx-note a{white-space:normal}}


.fx-converter{margin-top:24px;padding:26px 28px;border:1px solid var(--c-line);border-radius:16px;background:var(--c-paper)}
.fc-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:22px}
body.home-body .fc-heading h3{margin:0;font:600 20px/1.5 var(--sans);letter-spacing:-.02em}
.fc-heading p{font-size:12px;color:var(--c-muted);margin:5px 0 0}
.fc-badge{white-space:nowrap;border-radius:18px;padding:5px 10px;background:#edf6f0;color:#2e5d50;font-size:11px}
.fx-converter[data-state=offline] .fc-badge,.fx-converter[data-state=cached] .fc-badge,.fx-converter[data-state=unavailable] .fc-badge{color:#825d31;background:#fbf4e9}
.fc-fields{display:grid;grid-template-columns:minmax(0,1fr) 44px minmax(0,1fr);align-items:center;gap:14px}
.fc-field{display:block;min-width:0;padding:16px 20px;border:1px solid var(--c-line);border-radius:12px;background:var(--c-bg);transition:border-color .15s}
.fc-field:focus-within{border-color:var(--c-navy);box-shadow:0 0 0 2px #385e9715}
.fc-field-top{display:flex;align-items:baseline;justify-content:space-between;gap:8px;font-size:12px;color:var(--c-muted);margin-bottom:12px}
.fc-field-top strong{color:var(--c-navy);font-size:14px;letter-spacing:.06em}
.fc-input-line{display:flex;align-items:baseline;gap:12px;color:var(--c-muted);font-size:18px}
body.home-body .fc-input-line input{display:block;min-width:0;width:100%;margin:0;padding:0;border:0!important;border-radius:0;background:transparent!important;box-shadow:none!important;outline:none;font:600 clamp(24px,2.5vw,32px)/1.45 var(--sans);letter-spacing:-.025em;color:var(--c-ink);font-variant-numeric:tabular-nums}
.fc-input-line input::placeholder{font-size:16px;font-weight:400;color:var(--c-muted);letter-spacing:0}
.fc-arrows{text-align:center;font-size:26px;color:var(--c-navy)}
body.home-body .fx-converter .fc-result{font-size:15px;font-weight:600;color:var(--c-navy);margin:18px 0;min-height:24px;line-height:1.65;overflow-wrap:anywhere}
.fc-result[data-error=true]{color:#963e50;font-weight:400;font-size:13px}
.fc-meta{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-top:16px;border-top:1px solid var(--c-line)}
.fc-meta strong{font-size:13px;font-weight:550;font-variant-numeric:tabular-nums}
.fc-meta time{display:block;color:var(--c-muted);font-size:11px;margin-top:4px}
.fc-actions{display:flex;gap:8px;flex-shrink:0}
body.home-body .fc-actions button{border:1px solid var(--c-line);border-radius:8px;min-height:44px;padding:8px 13px;background:var(--c-bg);color:var(--c-navy);font:500 12px/1.5 var(--sans);cursor:pointer;box-shadow:none;transform:none}
.fc-actions button:disabled{opacity:.5;cursor:wait}.fc-actions button:focus-visible{outline:2px solid var(--c-navy);outline-offset:3px}
.fc-status,.fc-note{font-size:11px;color:var(--c-muted);line-height:1.85;margin:12px 0 0}.fc-note{margin-top:7px}.fc-note a{color:var(--c-navy);text-underline-offset:3px}
@media(max-width:760px){.fx-converter{padding:20px 16px;border-radius:12px;margin-top:20px}.fc-heading{gap:10px;margin-bottom:18px}body.home-body .fc-heading h3{font-size:18px}.fc-badge{font-size:10px;padding:4px 8px}.fc-fields{grid-template-columns:minmax(0,1fr);gap:8px}.fc-field{padding:14px 16px}.fc-arrows{line-height:24px;font-size:24px;transform:rotate(90deg)}.fc-field-top{margin-bottom:8px}body.home-body .fc-input-line input{font-size:28px}.fc-meta{align-items:flex-start;flex-direction:column;gap:12px}.fc-result{font-size:14px;margin:15px 0}.fc-status,.fc-note{font-size:10px}}
