.gd-fee-console {
  --fee-bg: #11131f;
  --fee-text: #eeedf5;
  --fee-muted: #a6a7bd;
  --fee-gold: #e1c58b;
  --fee-line: rgba(202, 193, 233, .15);
  position: relative;
  isolation: isolate;
  background: radial-gradient(ellipse at 2% 14%, #38224175 0, transparent 48%), radial-gradient(ellipse at 98% 38%, #26314b66 0, transparent 45%), var(--fee-bg);
  color: var(--fee-text);
  font: 14px/1.6 "Microsoft YaHei", "PingFang SC", sans-serif;
  overflow: clip;
}
.gd-fee-console::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(#b8aed507 1px, transparent 1px), linear-gradient(90deg, #b8aed507 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(#000, transparent 75%);
  pointer-events: none;
}
.gd-fee-console * { box-sizing: border-box; }
.gd-fee-console h1, .gd-fee-console h2, .gd-fee-console h3, .gd-fee-console p { margin: 0; color: inherit; }
.gd-fee-console button, .gd-fee-console input { font: inherit; }
.gd-fee-console button { cursor: pointer; }
.gd-fee-console :focus-visible { outline: 2px solid var(--fee-gold); outline-offset: 4px; }
.gd-fee-console [hidden] { display: none !important; }
.fee-shell { width: min(1200px, calc(100% - 48px)); margin: 0 auto; padding: 25px 0 24px; }
.fee-utility { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #b2adc5; font-size: 11px; letter-spacing: .6px; }
.fee-utility i { margin: 0 12px; color: #666278; font-style: normal; }
.preview-tag { padding: 4px 10px; border: 1px solid #bfa97640; border-radius: 4px; color: var(--fee-gold); background: #b79a5810; }
.fee-heading { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 163px; padding: 29px 0 30px; }
.fee-heading-copy { z-index: 1; }
.gd-fee-console .fee-eyebrow { display: flex; align-items: center; gap: 11px; color: var(--fee-gold); font: 10px/1.5 Arial, sans-serif; letter-spacing: 2.7px; }
.fee-eyebrow>span { width: 24px; height: 1px; background: var(--fee-gold); }
.gd-fee-console h1 { margin: 10px 0 11px; font-size: clamp(25px, 3.15vw, 38px); font-weight: 650; letter-spacing: 1.2px; line-height: 1.35; }
.gd-fee-console .fee-intro { color: #b9b4c9; font-size: 13px; letter-spacing: .5px; }
.fee-heading-graphic { position: absolute; width: 340px; right: 10px; top: 6px; bottom: 10px; overflow: hidden; opacity: .64; pointer-events: none; }
.fee-orbit { position: absolute; width: 225px; height: 225px; border: 1px solid #c5b1ed20; border-radius: 50%; left: 85px; top: -37px; }
.fee-orbit-inner { width: 174px; height: 174px; left: 110px; top: -12px; border-style: dashed; transform: rotate(25deg); }
.fee-orbit::after { position: absolute; content: ""; width: 5px; height: 5px; border-radius: 50%; top: 60px; left: 8px; background: var(--fee-gold); box-shadow: 0 0 14px var(--fee-gold); }
.fee-data-bars { position: absolute; inset: 30px 30px 32px 54px; display: flex; align-items: flex-end; justify-content: center; gap: 13px; border-bottom: 1px solid #c6af8a55; transform: skewY(-12deg); }
.fee-data-bars i { width: 20px; height: 25%; background: linear-gradient(#d9bf8e80, #bb9eff12); border: 1px solid #d3b88866; box-shadow: 8px 4px 0 #aa8fb509; }
.fee-data-bars i:nth-child(2) { height: 38%; }.fee-data-bars i:nth-child(3) { height: 48%; }.fee-data-bars i:nth-child(4) { height: 61%; }.fee-data-bars i:nth-child(5) { height: 72%; }.fee-data-bars i:nth-child(6) { height: 84%; }.fee-data-bars i:nth-child(7) { height: 100%; }
.fee-graphic-label { position: absolute; bottom: 7px; right: 31px; font: 8px Arial; letter-spacing: 3px; color: #bca3d8; }
.fee-workspace { display: grid; grid-template-columns: 338px minmax(0, 1fr); gap: 22px; align-items: stretch; }
.fee-glass { border: 1px solid var(--fee-line); border-radius: 14px; background: linear-gradient(125deg, #2c293e88, #1a1d2ce6); box-shadow: 0 16px 50px #07081226, inset 0 1px 0 #ffffff05; backdrop-filter: blur(18px); }
.fee-input { padding: 25px 25px 22px; }
.fee-section-heading { display: flex; align-items: center; gap: 10px; min-width: 0; }
.fee-step { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 24px; flex: 0 0 auto; font: 11px/1 Consolas, monospace; color: #d0b984; border: 1px solid #bb9d6140; background: #bda36608; border-radius: 4px; }
.gd-fee-console h2 { font-size: 16px; font-weight: 600; letter-spacing: .5px; line-height: 1.5; }
.fee-section-en { margin-left: auto; font: 9px Arial; letter-spacing: 2px; color: #b0a6c4; }
.fee-field { margin-top: 28px; }
.fee-field label, .fee-category legend { display: block; font-size: 13px; color: #cfccdc; font-weight: 500; margin: 0 0 11px; padding: 0; border: 0; }
.fee-amount-box { position: relative; display: flex; align-items: center; border: 1px solid #82768d80; background: #0c0f1b80; border-radius: 8px; height: 69px; transition: border-color .2s, box-shadow .2s; }
.fee-amount-box:focus-within { border-color: var(--fee-gold); box-shadow: 0 0 0 3px #e1c58b10; }
.fee-amount-box input { width: 100%; height: 100%; min-width: 0; padding: 12px 61px 12px 16px; border: 0; outline: none !important; background: transparent; color: #f5f0e6; font: 500 33px/1.2 Arial, sans-serif; font-variant-numeric: tabular-nums; }
.gd-fee-console #amount { font-size: 33px !important; }
.fee-amount-box input::placeholder { font-family: "Microsoft YaHei", sans-serif; font-size: 18px; color: #88869b; }
.fee-amount-box input::-webkit-inner-spin-button, .fee-amount-box input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.fee-amount-box input[type=number] { appearance: textfield; }
.fee-amount-box>span { position: absolute; right: 17px; top: 23px; color: #aaa4bb; font-size: 13px; pointer-events: none; }
.gd-fee-console .fee-input-hint { color: var(--fee-muted); font-size: 12px; margin-top: 10px; }
.fee-category { border: 0; padding: 0; margin: 23px 0 0; min-width: 0; }
.fee-type-switch { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.fee-type-switch button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; height: 83px; padding: 10px 0; border: 1px solid #8e83a440; border-radius: 8px; background: #11152544; color: #c1bccc; font-size: 12px; white-space: nowrap; transition: background .18s, border-color .18s; }
.fee-type-switch button svg { display: block; width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.fee-type-switch button:hover { background: #69537a30; border-color: #b1a0c477; }
.fee-type-switch button.active { color: #e5ce9a; border-color: #c3a974bb; background: linear-gradient(140deg, #a0875125, #60446c30); box-shadow: inset 0 0 14px #c5a2710a; }
.fee-type-switch button.active::after { content: ""; position: absolute; top: 7px; right: 7px; height: 4px; width: 4px; border-radius: 50%; background: var(--fee-gold); }
.fee-actions { display: grid; grid-template-columns: 1fr 91px; gap: 10px; margin-top: 25px; }
.fee-actions button { height: 46px; border-radius: 7px; font-size: 13px; font-weight: 600; transition: filter .2s, border-color .2s; }
.fee-calculate { display: flex; align-items: center; justify-content: space-between; padding: 0 19px; border: 1px solid #e1c48c; background: linear-gradient(110deg, #e2c88f, #baa074); color: #24202b; box-shadow: 0 5px 22px #c2a36418; }
.fee-calculate span { font-size: 22px; font-weight: 400; }
.fee-calculate:hover { filter: brightness(1.1); }
.fee-reset { border: 1px solid #8e83a440; background: #ffffff03; color: #c6c0d1; }
.fee-reset:hover { border-color: #c6b98e; }
.fee-input-foot { display: flex; align-items: center; gap: 8px; font-size: 11px; color: #aaa6ba; margin-top: 23px; padding-top: 19px; border-top: 1px solid #b2a7d013; }
.fee-status-dot { width: 4px; height: 4px; background: #a1afc7; border-radius: 50%; }
.fee-output { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.fee-summary { position: relative; overflow: hidden; padding: 23px 28px 18px; background: radial-gradient(ellipse at 95% 0%, #4b4b7250, transparent 60%), linear-gradient(110deg, #282336c9, #1c2030f0); }
.fee-summary::before { content: ""; position: absolute; top: 0; left: 28px; right: 28px; height: 1px; background: linear-gradient(90deg, #e1c58b77, #b7a3ed40, transparent); }
.fee-result-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fee-result-label { display: flex; align-items: center; gap: 11px; color: #e0dbe8; font-size: 14px; }
.fee-live { display: flex; align-items: center; gap: 7px; color: #b4cbd4; font-size: 10px; white-space: nowrap; }
.fee-live>span { display: block; width: 5px; height: 5px; border-radius: 50%; background: #9dcacb; box-shadow: 0 0 9px #9dcacb60; }
.fee-result-core { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 18px 0 20px; }
.fee-result-core>div:first-child { min-width: 0; }
.fee-total { color: #efdab0; font: 500 clamp(33px, 4vw, 52px)/1.1 "Bahnschrift", "Segoe UI", Arial, sans-serif; letter-spacing: -1px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.fee-total-wan { color: #beb3c9; font-size: 11px; margin-top: 10px; letter-spacing: .4px; }
.fee-tier-count { flex: 0 0 auto; display: flex; flex-direction: column; justify-content: center; padding-left: 27px; margin-right: 4px; border-left: 1px solid #bab0cf20; }
.fee-tier-count strong { font: 300 31px/1.2 "Segoe UI", Arial, sans-serif; color: #ddd2f0; letter-spacing: 2px; }
.fee-tier-count>span { font-size: 10px; color: #aaa3ba; margin-top: 6px; }
.fee-composition-top { display: flex; justify-content: space-between; color: #b3aabd; font-size: 10px; margin-bottom: 8px; }
.fee-composition-bar { display: flex; gap: 3px; height: 4px; border-radius: 3px; overflow: hidden; background: #ffffff0a; }
.fee-composition-bar>span { background: var(--segment-color); flex-basis: var(--segment-width); min-width: 3px; border-radius: 1px; transition: flex-basis .3s; }
.fee-reference-note { font-size: 10px; color: #b1a8ba; margin-top: 13px; }
.fee-breakdown { min-width: 0; overflow: hidden; flex: 1; background: #1c1e2caa; }
.fee-breakdown .fee-section-heading, .fee-reference>.fee-section-heading { padding: 18px 22px; }
.fee-type-badge { margin-left: auto; padding: 3px 8px; color: #c7c0d4; font-size: 10px; border-radius: 4px; background: #ffffff05; border: 1px solid #ffffff0c; white-space: nowrap; }
.fee-table-scroll { width: 100%; max-width: 100%; overflow-x: auto; scrollbar-color: #716378 #181b2b; scrollbar-width: thin; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.gd-fee-console table { width: 100%; margin: 0; border-collapse: collapse; border: none; table-layout: auto; background: transparent; color: #d4cfdf; font-size: 13px; font-variant-numeric: tabular-nums; }
.gd-fee-console th, .gd-fee-console td { padding: 12px 16px; line-height: 1.6; border: 0; border-bottom: 1px solid #b3aac312; text-align: right; white-space: nowrap; }
.gd-fee-console th { background: #10121e40; font-size: 11px; font-weight: 400; color: #b3aec0; padding-top: 9px; padding-bottom: 9px; }
.gd-fee-console th>span { display: block; font-size: 9px; color: #9894a8; line-height: 1.6; }
.gd-fee-console th:first-child, .gd-fee-console td:first-child { text-align: left; padding-left: 23px; }
.gd-fee-console th:last-child, .gd-fee-console td:last-child { padding-right: 23px; }
.gd-fee-console tbody tr:last-child td { border-bottom: 0; }
.gd-fee-console tbody tr:hover td { background-color: #ffffff04; }
.fee-breakdown td:last-child { color: #e2c58e; }
.fee-breakdown td:nth-child(3) { color: #cbb7ee; }
.fee-empty { padding: 28px 22px; color: #b5aec2; font-size: 12px; }
.gd-fee-console .fee-table-hint { display: none; padding: 0 20px 10px; color: #b8afc5; font-size: 10px; }
.fee-reference { overflow: hidden; margin-top: 24px; background: #1b1c29aa; }
.fee-reference-icon { display: inline-flex; width: 25px; height: 25px; justify-content: center; align-items: center; color: #c6b085; border: 1px solid #c6b08533; border-radius: 4px; font: 13px "Segoe UI", sans-serif; }
.fee-reference-caption { margin-left: auto; font-size: 11px; color: #aaa2b8; }
.fee-reference-grid { display: grid; grid-template-columns: minmax(0, 1fr) 285px; border-top: 1px solid #b3aac315; }
.fee-rate-table { min-width: 0; }
.fee-rate-table th:not(:first-child), .fee-rate-table td:not(:first-child) { text-align: center; }
.fee-rate-table .fee-current-column { background: #bd9bdf0b; color: #dfc696; }
.fee-rate-table th.fee-current-column { box-shadow: inset 0 2px 0 #cab27d; }
.fee-rate-table tr.fee-applied-row td:first-child::before { content: ""; display: inline-block; vertical-align: middle; width: 4px; height: 4px; border-radius: 50%; background: #d1ba88; margin-right: 8px; }
.fee-rate-table tr:not(.fee-applied-row) td:first-child { padding-left: 35px; }
.fee-method { padding: 24px; border-left: 1px solid var(--fee-line); background: linear-gradient(155deg, #654b690b, #e4b35404); }
.fee-method-kicker { font: 8px Arial, sans-serif; letter-spacing: 1.8px; color: #b3a0c5; }
.gd-fee-console .fee-method h3 { font-size: 16px; margin-top: 9px; font-weight: 500; color: #e0d7eb; }
.fee-formula { padding: 17px 0 14px; display: flex; flex-direction: column; color: #cab6de; font-size: 11px; }
.fee-formula b { font: 27px/1.4 Georgia, serif; color: #dec694; }
.gd-fee-console .fee-method p { font-size: 11px; line-height: 1.9; color: #b4abbe; margin-top: 10px; }
.gd-fee-console .fee-method .fee-method-disclaimer { padding-top: 12px; margin-top: 14px; border-top: 1px solid var(--fee-line); color: #d3bb92; font-size: 10px; }
.fee-bottom-note { display: flex; justify-content: space-between; gap: 10px; padding-top: 20px; font-size: 10px; color: #9e92ac; letter-spacing: 1px; }
.fee-bottom-note>span:last-child { font: 8px/1.6 Arial, sans-serif; letter-spacing: 2px; }
@media (max-width: 1100px) {
  .fee-workspace { grid-template-columns: 305px minmax(0, 1fr); gap: 16px; }
  .fee-input { padding: 22px 20px; }
  .fee-summary { padding: 22px; }
  .fee-reference-grid { grid-template-columns: minmax(0, 1fr) 250px; }
  .gd-fee-console th, .gd-fee-console td { padding-left: 12px; padding-right: 12px; }
  .fee-heading-graphic { opacity: .4; }
}
@media (max-width: 850px) {
  .fee-workspace { grid-template-columns: 280px minmax(0, 1fr); gap: 14px; }
  .fee-shell { width: calc(100% - 32px); }
  .fee-input { padding: 20px 16px; }
  .fee-section-en { display: none; }
  .fee-summary { padding: 22px 19px 18px; }
  .fee-tier-count { display: none; }
  .fee-result-label { font-size: 12px; gap: 8px; }
  .fee-live { font-size: 9px; }
  .fee-reference-grid { grid-template-columns: minmax(0, 1fr); }
  .fee-method { border-left: 0; border-top: 1px solid var(--fee-line); display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .fee-method-kicker, .gd-fee-console .fee-method h3 { grid-column: 1 / -1; }
  .fee-formula { grid-row: 3 / 5; }
  .gd-fee-console .fee-method .fee-method-disclaimer { grid-column: 1 / -1; }
  .fee-breakdown .fee-type-badge { display: none; }
  .gd-fee-console .fee-breakdown .fee-table-hint { display: block; }
}
@media (max-width: 680px) {
  .fee-shell { width: calc(100% - 28px); padding-top: 18px; }
  .fee-utility { font-size: 9px; letter-spacing: 0; }
  .fee-utility i { margin: 0 5px; }
  .preview-tag { padding: 3px 7px; }
  .fee-heading { padding: 27px 0 26px; min-height: 158px; }
  .gd-fee-console .fee-eyebrow { font-size: 8px; gap: 8px; letter-spacing: 2px; }
  .gd-fee-console h1 { font-size: clamp(22px, 6vw, 31px); letter-spacing: .3px; margin: 11px 0; }
  .gd-fee-console .fee-intro { font-size: 11px; max-width: 290px; line-height: 1.9; }
  .fee-heading-graphic { width: 240px; right: -52px; opacity: .14; }
  .fee-workspace { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .fee-input { padding: 22px; }
  .fee-field { margin-top: 21px; }
  .fee-category { margin-top: 20px; }
  .fee-type-switch button { height: 70px; flex-direction: row; gap: 7px; }
  .fee-type-switch button svg { width: 19px; height: 19px; }
  .fee-actions { grid-template-columns: 1fr 105px; margin-top: 21px; }
  .fee-input-foot { margin-top: 18px; padding-top: 15px; }
  .fee-output { gap: 16px; }
  .fee-summary { padding: 22px; }
  .fee-result-core { margin: 22px 0; }
  .fee-total { font-size: clamp(31px, 8.5vw, 46px); }
  .fee-tier-count { display: flex; padding-left: 15px; }
  .fee-tier-count strong { font-size: 25px; }
  .fee-tier-count>span { font-size: 8px; }
  .fee-live { font-size: 9px; }
  .fee-result-label { font-size: 12px; }
  .fee-breakdown .fee-section-heading, .fee-reference>.fee-section-heading { padding: 20px; }
  .fee-breakdown table { min-width: 575px; }
  .fee-reference { margin-top: 16px; }
  .fee-reference-caption { font-size: 9px; }
  .fee-rate-table table { min-width: 510px; }
  .gd-fee-console .fee-table-hint { display: block; }
  .fee-rate-table .fee-table-hint { padding-top: 12px; }
  .fee-method { display: block; padding: 23px; }
  .fee-formula { padding-top: 16px; }
  .fee-bottom-note { font-size: 9px; letter-spacing: .5px; }
  .fee-bottom-note>span:last-child { font-size: 7px; letter-spacing: .8px; }
}
@media (max-width: 360px) {
  .fee-input, .fee-summary { padding-left: 17px; padding-right: 17px; }
  .fee-type-switch button { flex-direction: column; height: 77px; gap: 6px; }
  .fee-live { display: none; }
  .fee-tier-count { display: none; }
  .fee-result-label { font-size: 12px; }
  .fee-reference-caption { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .gd-fee-console *, .gd-fee-console *::before, .gd-fee-console *::after { transition: none !important; animation: none !important; }
}
