    /* ==========================================================================
       DESIGN SYSTEM & VARIABLES
       ========================================================================== */
    :root {
      --font-main: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      --font-mono: 'JetBrains Mono', Consolas, Monaco, monospace;

      /* Dark Theme - NoID Obsidian Slate & Electric Indigo */
      --bg-base: #07090e;
      --bg-surface: #0e121d;
      --bg-surface-elevated: #141928;
      --border-surface: rgba(255, 255, 255, 0.09);
      --border-surface-hover: rgba(255, 255, 255, 0.18);
      --surface-dropdown: #121725;
      --surface-dropdown-hover: #1a2135;

      --text-main: #ffffff;
      --text-secondary: #94a3b8;
      --text-muted: #64748b;
      --text-disabled: #475569;

      --color-blue: #6366f1;
      --color-blue-hover: #4f46e5;
      --color-blue-subtle: rgba(99, 102, 241, 0.14);
      --color-green: #10b981;
      --color-orange: #f59e0b;
      --color-red: #ef4444;

      /* Border Radius */
      --radius-input: 14px;
      --radius-btn: 10px;
      --radius-pill: 8px;
      --radius-modal: 16px;

      /* Dynamic Currency Colors */
      --send-color: #f59e0b;
      --receive-color: #10b981;

      --transition-fast: 0.15s ease;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html, body {
      width: 100%;
      max-width: 100%;
      min-height: 100vh;
      font-family: var(--font-main);
      background-color: var(--bg-base);
      color: var(--text-main);
      font-size: 16px;
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      overflow-x: clip;
    }

    a {
      color: inherit;
      text-decoration: none;
      transition: color var(--transition-fast);
    }
    a:hover {
      color: var(--color-blue);
    }

    button, input, textarea, select {
      font-family: inherit;
      color: inherit;
      border: none;
      outline: none;
      background: none;
    }

    /* ==========================================================================
       HERO BACKGROUND
       ========================================================================== */
    .main-background {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      max-width: 100vw;
      height: 980px;
      overflow: hidden;
      pointer-events: none;
      z-index: 0;
      contain: paint;
      background: 
        radial-gradient(ellipse 70% 45% at 50% -10%, rgba(99, 102, 241, 0.16), transparent),
        radial-gradient(circle at 85% 15%, rgba(56, 189, 248, 0.08), transparent 40%),
        radial-gradient(circle at 15% 35%, rgba(129, 140, 248, 0.06), transparent 45%),
        var(--bg-base);
    }
    .main-background::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
      background-size: 28px 28px;
      mask-image: radial-gradient(ellipse 65% 55% at 50% 28%, #000 25%, transparent 75%);
      -webkit-mask-image: radial-gradient(ellipse 65% 55% at 50% 28%, #000 25%, transparent 75%);
      opacity: 0.7;
    }
    .main-bg, .main-bg-overlay {
      display: none !important;
    }

    /* ==========================================================================
       HEADER & NAVIGATION
       ========================================================================== */
    .header {
      position: relative;
      z-index: 100;
      width: 100%;
      height: 72px;
      display: flex;
      align-items: center;
      background: rgba(8, 10, 18, 0.7);
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .wrapper {
      width: 100%;
      max-width: 1160px;
      margin: 0 auto;
      padding: 0 20px;
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 100%;
    }

    .logo {
      display: inline-flex;
      align-items: center;
      text-decoration: none;
    }
    .brand-logo {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
      font-family: 'Unbounded', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      line-height: 1;
      transition: opacity var(--transition-fast), transform var(--transition-fast);
      user-select: none;
    }
    .brand-logo:hover {
      opacity: 0.95;
      transform: translateY(-0.5px);
    }
    .brand-logo .brand-icon {
      width: 32px;
      height: 24px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      transition: transform var(--transition-fast);
    }
    .brand-logo:hover .brand-icon {
      transform: scale(1.06);
    }
    .brand-logo .brand-icon svg {
      width: 100%;
      height: 100%;
      display: block;
      overflow: visible;
    }
    .brand-arrow-send {
      stroke: var(--send-color, #00F0FF);
      fill: var(--send-color, #00F0FF);
      transition: stroke 0.4s cubic-bezier(0.16, 1, 0.3, 1), fill 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .brand-arrow-receive {
      stroke: var(--receive-color, #0088FF);
      fill: none;
      transition: stroke 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .brand-logo .brand-text {
      display: inline-flex;
      align-items: baseline;
      font-size: 21px;
      letter-spacing: -0.5px;
    }
    .brand-logo .brand-main {
      font-weight: 800;
      color: #ffffff;
      letter-spacing: -0.5px;
    }
    .brand-logo .brand-dot {
      color: #00F0FF;
      margin: 0 0.5px;
      font-weight: 800;
    }
    .brand-logo .brand-tld {
      font-weight: 500;
      color: #94a3b8;
      font-size: 19px;
      letter-spacing: -0.5px;
    }

    .site-logo-img {
      height: 28px;
      width: auto;
      display: block;
      transition: transform var(--transition-fast), filter var(--transition-fast);
    }
    .logo:hover .site-logo-img {
      transform: scale(1.03);
    }

    /* Polished Glass Capsule Navigation */
    .nav-center {
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .nav-menu {
      display: flex;
      align-items: center;
      list-style: none;
      margin: 0;
      padding: 4px 6px;
      gap: 2px;
      background: rgba(13, 17, 28, 0.78);
      border: 1px solid rgba(255, 255, 255, 0.09);
      border-radius: 9999px;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 8px 24px -4px rgba(0, 0, 0, 0.45);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      position: relative;
    }
    .nav-menu li {
      display: inline-flex;
      align-items: center;
      list-style: none;
      margin: 0;
      padding: 0;
    }
    .nav-menu a {
      position: relative;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      font-size: 13.5px;
      font-weight: 600;
      letter-spacing: -0.01em;
      color: #94a3b8;
      text-decoration: none;
      padding: 7px 18px;
      border-radius: 9999px;
      transition: color 0.12s ease, background-color 0.12s ease;
      white-space: nowrap;
      user-select: none;
    }
    .nav-menu a:hover {
      color: #ffffff;
      background: rgba(255, 255, 255, 0.08);
    }
    .nav-menu a.active {
      color: #ffffff;
      background: rgba(255, 255, 255, 0.12);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }
    .nav-menu a.active::before {
      content: '';
      display: inline-block;
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: var(--send-color, #00F0FF);
      box-shadow: 0 0 6px var(--send-color, #00F0FF);
      flex-shrink: 0;
    }

    .nav-right {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .btn-track {
      font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      font-size: 13px;
      font-weight: 600;
      color: #cbd5e1;
      padding: 7px 16px;
      border-radius: 9999px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.1);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      transition: color 0.12s ease, background-color 0.12s ease, border-color 0.12s ease;
      white-space: nowrap;
      user-select: none;
    }
    .btn-track svg {
      color: var(--send-color, #00F0FF);
      transition: color 0.12s ease;
    }
    .btn-track:hover {
      color: #ffffff;
      background: rgba(0, 240, 255, 0.08);
      border-color: rgba(0, 240, 255, 0.35);
    }

    /* Mobile Hamburger & Drawer Styles */
    .btn-mobile-toggle {
      display: none;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 8px;
      width: 38px;
      height: 38px;
      padding: 0;
      cursor: pointer;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 5px;
      transition: all 0.2s ease;
    }
    .btn-mobile-toggle:hover {
      background: rgba(255, 255, 255, 0.1);
      border-color: rgba(255, 255, 255, 0.2);
    }
    .btn-mobile-toggle .bar {
      display: block;
      width: 18px;
      height: 2px;
      background: #cbd5e1;
      border-radius: 2px;
      transition: transform 0.25s ease, opacity 0.25s ease, background-color 0.25s ease;
    }
    .btn-mobile-toggle.open .bar-1 {
      transform: translateY(7px) rotate(45deg);
      background: #00F0FF;
    }
    .btn-mobile-toggle.open .bar-2 {
      opacity: 0;
      transform: scaleX(0);
    }
    .btn-mobile-toggle.open .bar-3 {
      transform: translateY(-7px) rotate(-45deg);
      background: #00F0FF;
    }

    .mobile-nav-drawer {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: rgba(8, 11, 20, 0.97);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
      padding: 16px 20px 22px;
      z-index: 99;
      opacity: 0;
      transform: translateY(-8px);
      pointer-events: none;
      transition: opacity 0.22s ease, transform 0.22s ease;
    }
    .mobile-nav-drawer.open {
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
    }
    .mobile-nav-list {
      list-style: none;
      margin: 0 0 14px;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    .mobile-nav-link {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px 16px;
      border-radius: 10px;
      color: #cbd5e1;
      text-decoration: none;
      font-size: 14.5px;
      font-weight: 600;
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid rgba(255, 255, 255, 0.06);
      transition: all 0.2s ease;
    }
    .mobile-nav-link:hover,
    .mobile-nav-link.active {
      color: #ffffff;
      background: rgba(255, 255, 255, 0.08);
      border-color: rgba(255, 255, 255, 0.14);
    }
    .mobile-nav-link.active {
      background: rgba(0, 240, 255, 0.09);
      border-color: rgba(0, 240, 255, 0.28);
    }
    .mobile-nav-link svg {
      color: var(--send-color, #00F0FF);
      flex-shrink: 0;
      transition: color 0.3s ease;
    }
    .mobile-nav-actions {
      display: flex;
      flex-direction: column;
    }
    .btn-track-mobile {
      width: 100%;
      justify-content: center;
      padding: 11px 16px;
      font-size: 13.5px;
    }

    /* ==========================================================================
       MAIN CONTENT & EXCHANGE FORM
       ========================================================================== */
    .main-content {
      position: relative;
      z-index: 100;
      padding-top: 58px;
      padding-bottom: 46px;
    }

    .exchange-form-outer {
      max-width: 946px;
      width: 100%;
      margin: 0 auto;
      position: relative;
    }

    /* Hero Headline */
    .hero-headline-wrap {
      text-align: center;
      margin-bottom: 32px;
    }
    .exchange-form-outer h1 {
      font-size: clamp(32px, 3.8vw, 48px);
      font-weight: 700;
      text-align: center;
      color: #ffffff;
      margin-bottom: 12px;
      letter-spacing: -0.025em;
      line-height: 1.2;
    }

    .hero-trust-bar {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
      gap: 10px;
      padding: 6px 18px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 20px;
      backdrop-filter: none;
    }
    .trust-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 13.5px;
      font-weight: 600;
      color: var(--text-secondary);
      letter-spacing: 0.1px;
    }
    .trust-badge svg {
      color: var(--color-blue);
      flex-shrink: 0;
    }
    .trust-badge:first-child svg {
      color: var(--color-green);
    }
    .trust-badge-sep {
      color: rgba(255, 255, 255, 0.2);
      font-size: 12px;
      user-select: none;
    }

    /* ==========================================================================
       AMOUNT INPUT COLUMNS
       ========================================================================== */
    .exchange-amounts {
      display: flex;
      align-items: flex-start;
      margin-bottom: 24px;
      position: relative;
      gap: 0;
    }

    .exchange-amounts .col {
      flex: 1 1 0;
      min-width: 0;
      position: relative;
    }

    /* Column Headers */
    .wrap-header.exch-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      margin-bottom: 11px;
      padding: 0 6px;
    }
    .exch-header header {
      font-size: 14.5px;
      font-weight: 600;
      text-transform: capitalize;
      letter-spacing: 0.3px;
      transition: color var(--transition-fast);
    }
    .col#col_send .exch-header header {
      color: var(--send-color);
    }
    .col#col_receive .exch-header header {
      color: var(--receive-color);
    }

    .exch-header .ccy-name {
      font-size: 14px;
      font-weight: 500;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      opacity: 0.9;
      transition: color var(--transition-fast);
    }
    .col#col_send .exch-header .ccy-name {
      color: var(--send-color);
    }
    .col#col_receive .exch-header .ccy-name {
      color: var(--receive-color);
    }

    /* ==========================================================================
       ROUNDED INPUT CONTAINER (.input-wabbr) — Translucent Glass, Background Shows Through
       ========================================================================== */
    .input-wabbr {
      position: relative;
      background: rgba(13, 17, 30, 0.88);
      border-radius: var(--radius-input);
      transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    }

    /* Dynamic Border */
    .col#col_send .input-wabbr {
      border: 1.5px solid var(--send-color);
    }
    .col#col_receive .input-wabbr {
      border: 1.5px solid var(--receive-color);
    }

    .input-wabbr:hover {
      background: rgba(15, 20, 36, 0.78);
    }
    .input-wabbr.focused {
      box-shadow: 0 0 0 3px rgba(0, 143, 223, 0.28), 0 8px 26px rgba(0, 0, 0, 0.45);
    }

    .input-wabbr-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 66px;
      padding: 0 20px;
      gap: 16px;
    }

    /* Amount Input */
    .amount-input-wrap {
      flex: 1 1 auto;
      min-width: 0;
      display: flex;
      align-items: center;
      height: 100%;
    }
    .amount-prefix {
      font-size: 23px;
      font-weight: 500;
      color: var(--receive-color);
      margin-right: 4px;
      user-select: none;
    }
    .input-amount {
      width: 100%;
      height: 100%;
      text-align: left;
      font-family: var(--font-mono);
      font-size: 23px;
      font-weight: 600;
      color: #ffffff;
      background: transparent;
      padding: 0;
      letter-spacing: -0.3px;
    }
    .input-amount::placeholder {
      color: var(--text-disabled);
    }
    .input-amount:disabled,
    .input-amount[readonly] {
      cursor: default;
    }

    /* Coin Selector */
    .ui-select-trigger {
      display: flex;
      align-items: center;
      gap: 10px;
      cursor: pointer;
      user-select: none;
      padding: 6px 4px 6px 16px;
      border-left: 1.5px solid rgba(255, 255, 255, 0.12);
      flex-shrink: 0;
      transition: opacity var(--transition-fast);
    }
    .ui-select-trigger:hover {
      opacity: 0.85;
    }

    .coin-ico {
      width: 29px;
      height: 29px;
      flex-shrink: 0;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .coin-ico img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

    .coin-ticker-row {
      display: flex;
      align-items: center;
      gap: 7px;
    }
    .coin-ticker-row .ticker {
      font-size: 17.5px;
      font-weight: 700;
      color: #fff;
    }

    /* Network Badge */
    .net-tag {
      font-size: 10px;
      font-weight: 700;
      padding: 2.5px 6px;
      border-radius: 3px;
      text-transform: uppercase;
      letter-spacing: 0.3px;
      line-height: 1;
      display: inline-block;
    }
    .net-tag.TRX, .net-tag.TRC20 { background: #ff2e4b; color: #fff; }
    .net-tag.ETH, .net-tag.ERC20 { background: #627eea; color: #fff; }
    .net-tag.BSC, .net-tag.BEP20 { background: #f3ba2f; color: #000; }
    .net-tag.SOL, .net-tag.SPL { background: #14f195; color: #000; }
    .net-tag.ARBITRUM { background: #28a0f0; color: #fff; }
    .net-tag.POLYGON { background: #8247e5; color: #fff; }
    .net-tag.BASE { background: #0052ff; color: #fff; }
    .net-tag.TON { background: #0098ea; color: #fff; }
    .net-tag.AVAX { background: #e84142; color: #fff; }
    .net-tag.DASH { background: #008ce7; color: #fff; }
    .net-tag.ZEC { background: #f4b728; color: #000; }
    .net-tag.LN { background: #ff9900; color: #000; }
    .net-tag.XMR { background: #f26822; color: #fff; }

    .ui-select-arrow {
      color: var(--text-secondary);
      font-size: 11px;
      margin-left: 2px;
      user-select: none;
    }

    /* Rate & USD Info */
    .exch-info {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 12px 6px 0;
      font-size: 13.5px;
      color: var(--text-secondary);
    }
    .exch-info .rate-calc {
      font-family: var(--font-mono);
      font-size: 13.5px;
      font-weight: 500;
      color: var(--text-secondary);
      letter-spacing: 0.1px;
    }
    .exch-info .rate-usd {
      font-family: var(--font-mono);
      font-size: 13.5px;
      font-weight: 500;
      color: var(--text-secondary);
      letter-spacing: 0.1px;
    }

    /* Error & Interactive Quick Apply Hint */
    .hint-error {
      display: none;
      background: rgba(239, 68, 68, 0.14);
      border: 1px solid rgba(239, 68, 68, 0.38);
      color: #fca5a5;
      font-size: 12px;
      font-weight: 500;
      padding: 7px 12px;
      border-radius: 8px;
      margin: 8px 0 0;
      cursor: pointer;
      user-select: none;
      transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
      box-shadow: 0 2px 10px rgba(239, 68, 68, 0.15);
    }
    .hint-error.show {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      animation: hintFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .hint-error:hover {
      background: rgba(239, 68, 68, 0.22);
      border-color: rgba(239, 68, 68, 0.65);
      color: #ffffff;
      transform: translateY(-1px);
      box-shadow: 0 4px 14px rgba(239, 68, 68, 0.28);
    }
    .hint-error:active {
      transform: translateY(0);
    }
    .hint-error-left {
      display: flex;
      align-items: center;
      gap: 7px;
      min-width: 0;
      flex: 1;
    }
    .hint-error-left svg {
      flex-shrink: 0;
      color: #ef4444;
    }
    .hint-error-left strong {
      color: #ffffff;
      font-weight: 700;
      text-decoration: underline;
      text-decoration-color: rgba(255, 255, 255, 0.45);
      text-underline-offset: 2px;
    }
    .hint-error-apply {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 3px 8px;
      font-size: 10.5px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      background: rgba(239, 68, 68, 0.28);
      border: 1px solid rgba(239, 68, 68, 0.50);
      border-radius: 5px;
      color: #ffffff;
      white-space: nowrap;
      transition: all var(--transition-fast);
    }
    .hint-error:hover .hint-error-apply {
      background: #ef4444;
      border-color: #ef4444;
      box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
    }

    @keyframes hintFadeIn {
      from { opacity: 0; transform: translateY(-4px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* Flash highlight when amount is set */
    .input-flash-success {
      animation: flashBorderSuccess 0.8s ease-out;
    }
    @keyframes flashBorderSuccess {
      0% {
        box-shadow: 0 0 0 3px rgba(0, 194, 111, 0.7), 0 0 16px rgba(0, 194, 111, 0.4);
        border-color: #00c26f !important;
      }
      100% {
        box-shadow: none;
      }
    }

    /* Swap Button */
    .col-middle {
      width: 66px;
      display: flex;
      justify-content: center;
      align-items: center;
      padding-top: 38px;
      flex-shrink: 0;
    }
    .btn-reverse {
      width: 44px;
      height: 44px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #0f1422;
      border: 1.5px solid rgba(255, 255, 255, 0.16);
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
      transition: all var(--transition-fast);
      border-radius: 50%;
    }
    .btn-reverse:hover {
      background: #161d30;
      border-color: rgba(255, 255, 255, 0.3);
      transform: rotate(180deg) scale(1.06);
      box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
    }
    .swap-arrows-svg {
      width: 22px;
      height: 18px;
    }
    .arrow-send-color {
      fill: var(--send-color);
      transition: fill var(--transition-fast);
    }
    .arrow-receive-color {
      fill: var(--receive-color);
      transition: fill var(--transition-fast);
    }

    /* ==========================================================================
       DESTINATION WALLET CONTAINER (.exchange-address-wrap)
       ========================================================================== */
    .exchange-address-wrap {
      margin-top: 24px;
      margin-bottom: 28px;
    }

    .exchange-wallet {
      position: relative;
    }

    .exchange-wallet .wrap-header {
      margin-bottom: 9px;
      padding: 0 6px;
    }
    .exchange-wallet .wrap-header header {
      font-size: 14.5px;
      font-weight: 500;
      color: var(--text-secondary);
    }

    .exchange-wallet .field {
      position: relative;
      display: flex;
      align-items: center;
      background: rgba(13, 17, 30, 0.88);
      border: 1px solid rgba(255, 255, 255, 0.14);
      border-radius: var(--radius-input);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
      transition: border-color var(--transition-fast), background var(--transition-fast);
      height: 64px;
      padding: 0 20px;
    }
    .exchange-wallet:hover .field {
      background: rgba(15, 20, 36, 0.78);
      border-color: rgba(255, 255, 255, 0.24);
    }
    .exchange-wallet.focused .field {
      border-color: var(--color-blue);
      box-shadow: 0 0 0 3px var(--color-blue-subtle);
    }

    .exchange-wallet input[type="text"] {
      width: 100%;
      height: 100%;
      font-size: 16px;
      font-family: var(--font-mono);
      color: #fff;
      padding-right: 90px;
    }
    .exchange-wallet input[type="text"]::placeholder {
      color: var(--text-disabled);
      font-family: var(--font-main);
      font-size: 15px;
    }

    .funcbuttons {
      position: absolute;
      right: 14px;
      display: flex;
      align-items: center;
      gap: 5px;
    }
    .funcbuttons button {
      width: 36px;
      height: 36px;
      border-radius: 7px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-secondary);
      cursor: pointer;
      transition: all var(--transition-fast);
    }
    .funcbuttons button:hover {
      color: #fff;
      background: rgba(255, 255, 255, 0.1);
    }
    .funcbuttons svg {
      width: 20px;
      height: 20px;
      fill: currentColor;
    }

    /* Memo Field */
    .exchange-wallet-extra {
      margin-top: 14px;
      display: none;
    }
    .exchange-wallet-extra.show {
      display: block;
    }

    .address-error-hint {
      display: none;
      padding: 6px 4px 0;
      font-size: 12px;
      color: var(--color-red);
    }
    .address-error-hint.show {
      display: block;
    }

    /* ==========================================================================
       BOTTOM CONTROLS (.exchange-wrapflex) — ORDER TYPE & SUBMIT
       ========================================================================== */
    .exchange-wrapflex {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 18px;
      margin-top: 28px;
      flex-wrap: wrap;
    }

    .exchange-option-group {
      display: flex;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
    }
    .exchange-option-label {
      font-size: 15px;
      font-weight: 600;
      color: #fff;
      user-select: none;
    }

    /* Rate Type Toggle — Polished Cyber Glass Segmented Control */
    .segmented-order-type {
      display: inline-flex;
      align-items: center;
      background: rgba(12, 16, 26, 0.78);
      border: 1px solid rgba(255, 255, 255, 0.09);
      border-radius: 12px;
      padding: 4px;
      gap: 3px;
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 4px 16px -2px rgba(0, 0, 0, 0.35);
    }

    .radioselect {
      position: relative;
      cursor: pointer;
      display: flex;
    }
    .radioselect input[type="radio"] {
      position: absolute;
      opacity: 0;
      pointer-events: none;
    }
    .radioselect span {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      height: 42px;
      padding: 0 13px;
      font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      font-size: 13px;
      font-weight: 600;
      letter-spacing: -0.01em;
      color: #94a3b8;
      border: 1px solid transparent;
      border-radius: 9px;
      transition: color 0.12s ease, background-color 0.12s ease, border-color 0.12s ease;
      user-select: none;
      background: transparent;
      white-space: nowrap;
    }
    .radioselect:hover span {
      color: #ffffff;
      background: rgba(255, 255, 255, 0.07);
    }
    .radioselect input[type="radio"]:checked + span {
      color: #ffffff;
      background: rgba(255, 255, 255, 0.12);
      border-color: rgba(255, 255, 255, 0.18);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 2px 8px rgba(0, 0, 0, 0.35);
    }
    .radioselect input[type="radio"]:checked + span::before {
      content: '';
      display: inline-block;
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--send-color, #00F0FF);
      box-shadow: 0 0 8px var(--send-color, #00F0FF);
      flex-shrink: 0;
    }

    .btn-diff-circle {
      width: 30px;
      height: 30px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.12);
      color: #94a3b8;
      font-size: 13.5px;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.12s ease;
    }
    .btn-diff-circle:hover {
      background: rgba(255, 255, 255, 0.12);
      border-color: rgba(255, 255, 255, 0.25);
      color: #ffffff;
    }

    /* Submit Button — Vibrant Electric Royal Blue (Lighter & Distinct from KiriSwap) */
    .exchange-button {
      flex-shrink: 0;
    }
    .exchange-submit {
      height: 52px;
      min-width: 236px;
      background: linear-gradient(180deg, #0077ff 0%, #005ce6 100%);
      color: #ffffff;
      font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      font-size: 16.5px;
      font-weight: 700;
      letter-spacing: -0.01em;
      border-radius: 12px;
      border: 1px solid rgba(255, 255, 255, 0.2);
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 0 32px;
      transition: all 0.15s ease;
      box-shadow: 0 4px 18px rgba(0, 119, 255, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.25);
      user-select: none;
    }
    .exchange-submit:hover {
      background: linear-gradient(180deg, #1a85ff 0%, #0066f5 100%);
      border-color: rgba(255, 255, 255, 0.32);
      box-shadow: 0 6px 24px rgba(0, 119, 255, 0.58), inset 0 1px 0 rgba(255, 255, 255, 0.35);
      transform: translateY(-1px);
    }
    .exchange-submit:active {
      transform: translateY(1px);
      box-shadow: 0 2px 10px rgba(0, 119, 255, 0.4);
    }
    .exchange-submit .btn-submit-arrow {
      transition: transform 0.15s ease;
      flex-shrink: 0;
    }
    .exchange-submit:hover .btn-submit-arrow {
      transform: translateX(3px);
    }
    .exchange-submit.is-loading,
    .exchange-submit.disabled {
      background: #004ecc;
      opacity: 0.75;
      cursor: not-allowed;
      pointer-events: none;
      box-shadow: none;
    }

    /* Option A: Smooth Quarter-Arc Spinner */
    .btn-spinner-icon {
      width: 18px;
      height: 18px;
      animation: btnSpinnerRotate 0.72s linear infinite;
      flex-shrink: 0;
      display: inline-block;
      vertical-align: middle;
    }
    @keyframes btnSpinnerRotate {
      from { transform: rotate(0deg); }
      to { transform: rotate(360deg); }
    }

    .exchange-terms {
      margin-top: 20px;
      font-size: 12px;
      color: var(--text-muted);
      text-align: center;
      line-height: 1.6;
    }
    .exchange-terms a {
      color: var(--color-blue);
    }
    .exchange-terms a:hover {
      text-decoration: underline;
    }

    /* ==========================================================================
       ORDER TRACKING VIEW (.order-outer) — FixedFloat Inspired Asymmetric Layout
       ========================================================================== */
    .order-outer {
      display: none;
      max-width: 1120px;
      width: 100%;
      margin: 0 auto;
      animation: fadeIn 0.25s ease-out;
    }
    .order-outer.active {
      display: block;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(8px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* Top Direction Bar (1120px wide) — 3-Column Mathematically Centered Grid */
    .order-direction {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
      align-items: center;
      gap: 20px;
      background: rgba(13, 17, 30, 0.90);
      border: 1px solid rgba(255, 255, 255, 0.10);
      border-radius: 16px;
      padding: 22px 30px;
      margin-bottom: 20px;
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.40);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
    }
    .dir-col {
      display: flex;
      align-items: center;
      gap: 16px;
      min-width: 0;
    }
    .dir-col.dir-from {
      justify-self: start;
    }
    .dir-col.dir-to {
      justify-self: end;
    }
    .dir-col .coin-ico {
      width: 48px;
      height: 48px;
      flex-shrink: 0;
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.08);
      padding: 4px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .dir-col .coin-ico img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }
    .dir-meta {
      display: flex;
      flex-direction: column;
      min-width: 0;
      gap: 4px;
    }
    .dir-head {
      font-size: 11px;
      font-weight: 700;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.8px;
      line-height: 1;
    }
    .dir-value {
      display: flex;
      align-items: baseline;
      gap: 6px;
      flex-wrap: wrap;
      line-height: 1.25;
    }
    .dir-value .dir-amt {
      font-family: var(--font-mono);
      font-size: clamp(19px, 2.1vw, 25px);
      font-weight: 700;
      color: #ffffff;
      letter-spacing: -0.3px;
    }
    .dir-value .dir-coin {
      font-family: var(--font-main);
      font-size: 18px;
      font-weight: 700;
      color: rgba(255, 255, 255, 0.9);
      letter-spacing: 0.2px;
    }
    .dir-value .net-tag {
      font-size: 10px;
      font-weight: 600;
      padding: 1.5px 6px;
      border-radius: 4px;
      text-transform: uppercase;
      letter-spacing: 0.4px;
      line-height: 1.2;
      display: inline-flex;
      align-items: center;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.14);
      color: rgba(255, 255, 255, 0.84);
      vertical-align: middle;
      margin-left: 4px;
      transition: all var(--transition-fast);
    }
    .dir-value .net-tag.TRX, .dir-value .net-tag.TRC20 {
      background: rgba(255, 46, 75, 0.12);
      border-color: rgba(255, 46, 75, 0.28);
      color: #ff526d;
    }
    .dir-value .net-tag.ETH, .dir-value .net-tag.ERC20 {
      background: rgba(98, 126, 234, 0.14);
      border-color: rgba(98, 126, 234, 0.28);
      color: #8fa5ff;
    }
    .dir-value .net-tag.BSC, .dir-value .net-tag.BEP20 {
      background: rgba(243, 186, 47, 0.12);
      border-color: rgba(243, 186, 47, 0.28);
      color: #f5c84c;
    }
    .dir-value .net-tag.SOL, .dir-value .net-tag.SPL {
      background: rgba(20, 241, 149, 0.12);
      border-color: rgba(20, 241, 149, 0.28);
      color: #34f5a3;
    }
    .dir-value .net-tag.POLYGON {
      background: rgba(130, 71, 229, 0.14);
      border-color: rgba(130, 71, 229, 0.28);
      color: #ab7eff;
    }
    .dir-value .net-tag.TON {
      background: rgba(0, 152, 234, 0.14);
      border-color: rgba(0, 152, 234, 0.28);
      color: #38bdf8;
    }
    .dir-value .net-tag.ARBITRUM {
      background: rgba(40, 160, 240, 0.14);
      border-color: rgba(40, 160, 240, 0.28);
      color: #5ec2ff;
    }
    .dir-value .net-tag.AVAX {
      background: rgba(232, 65, 66, 0.12);
      border-color: rgba(232, 65, 66, 0.28);
      color: #f87171;
    }
    .dir-sub-info {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 12px;
      color: var(--text-muted);
      line-height: 1.3;
      white-space: nowrap;
    }
    .dir-dest-meta {
      max-width: 320px;
      overflow: hidden;
      min-width: 0;
    }
    .dir-dest-tag {
      font-size: 10px;
      font-weight: 700;
      color: #38bdf8;
      background: rgba(56, 189, 248, 0.1);
      padding: 1px 5px;
      border-radius: 4px;
      text-transform: uppercase;
      letter-spacing: 0.4px;
      flex-shrink: 0;
    }
    .dir-dest-addr {
      font-family: var(--font-mono);
      font-size: 12px;
      color: var(--text-muted);
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .dir-arrow-center {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0 10px;
      flex-shrink: 0;
    }
    .dir-arrow-circle {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: rgba(0, 117, 255, 0.08);
      border: 1px solid rgba(0, 117, 255, 0.25);
      color: #38bdf8;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all var(--transition-fast);
      box-shadow: 0 0 12px rgba(0, 117, 255, 0.15);
    }
    .order-direction:hover .dir-arrow-circle {
      border-color: rgba(0, 117, 255, 0.45);
      background: rgba(0, 117, 255, 0.15);
      transform: scale(1.05);
    }

    /* Asymmetric 2-Column Grid (Left ~290px, Right 1fr ~810px) */
    .order-grid-asym {
      display: grid;
      grid-template-columns: 290px 1fr;
      gap: 20px;
      margin-bottom: 20px;
      align-items: stretch;
    }

    /* Left Column: Vertical Order Metadata Card */
    .order-sidebar-card {
      background: rgba(13, 17, 30, 0.90);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: var(--radius-input);
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.40);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }
    .order-sidebar-item {
      padding: 16px 20px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.07);
      display: flex;
      flex-direction: column;
      gap: 5px;
    }
    .order-sidebar-item:last-child {
      border-bottom: none;
    }
    .sidebar-item-label {
      font-size: 11px;
      font-weight: 700;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.8px;
    }
    .sidebar-item-val {
      font-size: 14.5px;
      font-weight: 600;
      color: #ffffff;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .val-order-id {
      font-family: var(--font-mono);
      font-size: 16px;
      font-weight: 700;
      color: var(--color-blue);
      justify-content: space-between;
    }
    .btn-copy-mini {
      background: transparent;
      border: none;
      color: var(--color-blue);
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 4px;
      border-radius: 4px;
      transition: all var(--transition-fast);
    }
    .btn-copy-mini:hover {
      background: rgba(0, 117, 255, 0.15);
      transform: scale(1.1);
    }
    .order-status-pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 13.5px;
      font-weight: 600;
    }
    .status-pulse-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      flex-shrink: 0;
      display: inline-block;
    }
    .dot-amber {
      background: #f59e0b;
      box-shadow: 0 0 8px rgba(245, 158, 11, 0.6);
      animation: pulseDotAmber 2s infinite ease-in-out;
    }
    .dot-cyan {
      background: #38bdf8;
      box-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
      animation: pulseDotCyan 2s infinite ease-in-out;
    }
    .dot-blue {
      background: #0075ff;
      box-shadow: 0 0 8px rgba(0, 117, 255, 0.6);
      animation: pulseDotBlue 2s infinite ease-in-out;
    }
    .dot-green {
      background: #00c26f;
      box-shadow: 0 0 8px rgba(0, 194, 111, 0.6);
    }
    .dot-red {
      background: #ef4444;
      box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
    }
    @keyframes pulseDotAmber {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.4; transform: scale(0.85); }
    }
    @keyframes pulseDotCyan {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.4; transform: scale(0.85); }
    }
    @keyframes pulseDotBlue {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.4; transform: scale(0.85); }
    }
    .pill-waiting { color: #f59e0b; }
    .pill-confirming { color: #38bdf8; }
    .pill-exchanging { color: #818cf8; }
    .pill-completed { color: #00c26f; }
    .pill-expired { color: #f87171; }
    .pill-failed { color: #f87171; }

    .val-countdown {
      font-family: var(--font-mono);
      font-size: 22px;
      font-weight: 700;
      color: var(--color-orange);
      letter-spacing: 0.5px;
      line-height: 1.2;
    }
    .sidebar-item-subtext {
      font-size: 11.5px;
      color: var(--text-muted);
      font-weight: 500;
      line-height: 1.25;
      margin-top: 1px;
    }
    .val-type {
      font-size: 13.5px;
      color: #fff;
    }
    .val-date {
      font-size: 12.5px;
      color: var(--text-secondary);
      font-weight: 500;
    }

    /* Right Column: Main Order Card */
    .order-main-card {
      background: rgba(13, 17, 30, 0.90);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: var(--radius-input);
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.40);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      padding: 26px 28px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    /* Deposit Grid inside Right Card */
    .order-deposit-grid {
      display: grid;
      grid-template-columns: 185px 1fr;
      gap: 32px;
      align-items: start;
      margin-bottom: 22px;
    }
    .order-qr-block {
      display: flex;
      flex-direction: column;
      align-items: center;
      background: transparent;
      border: none;
      padding: 0;
    }
    .order-qrcode-box {
      width: 185px;
      height: 185px;
      background: #ffffff;
      padding: 11px;
      border-radius: 15px;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 10px 28px -4px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .order-qrcode-box:hover {
      transform: translateY(-2px);
      box-shadow: 0 14px 32px -4px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.15);
    }
    .order-qrcode-box svg,
    .order-qrcode-box img {
      width: 100% !important;
      height: 100% !important;
      display: block;
      image-rendering: pixelated;
      image-rendering: -moz-crisp-edges;
      image-rendering: crisp-edges;
    }
    .qr-switcher {
      display: flex;
      gap: 4px;
      margin-top: 14px;
      width: 185px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 20px;
      padding: 3px;
    }
    .qr-switcher button {
      flex: 1 1 0;
      font-size: 11.5px;
      font-weight: 600;
      height: 28px;
      padding: 0;
      border-radius: 16px;
      background: transparent;
      color: var(--text-secondary);
      border: none;
      cursor: pointer;
      text-align: center;
      transition: all var(--transition-fast);
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .qr-switcher button:hover {
      color: #ffffff;
    }
    .qr-switcher button.active {
      background: var(--color-blue);
      color: #fff;
      box-shadow: 0 2px 8px rgba(0, 117, 255, 0.35);
    }

    .order-deposit-info {
      display: flex;
      flex-direction: column;
      gap: 14px;
      min-width: 0;
    }
    .order-send-prompt {
      font-size: 15px;
      color: var(--text-secondary);
      line-height: 1.4;
      display: flex;
      align-items: baseline;
      gap: 6px;
      flex-wrap: wrap;
    }
    .deposit-bold-amt {
      font-family: var(--font-mono);
      color: #ffffff;
      font-size: 20px;
      font-weight: 700;
      letter-spacing: -0.2px;
    }
    .deposit-net-tag {
      display: inline-flex;
      align-items: center;
      font-size: 13px;
      font-weight: 600;
      color: #ffffff;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.14);
      border-radius: 5px;
      padding: 1.5px 7px;
      margin: 0 3px;
      vertical-align: middle;
      line-height: 1.3;
    }

    .order-address-box {
      background: rgba(6, 9, 18, 0.85);
      border: 1.5px solid rgba(255, 255, 255, 0.14);
      border-radius: 12px;
      padding: 12px 18px;
      min-height: 64px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
      cursor: pointer;
      transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    }
    .order-address-box:hover {
      border-color: rgba(0, 117, 255, 0.45);
      box-shadow: 0 4px 20px rgba(0, 117, 255, 0.12);
    }
    .order-address-box.copied {
      border-color: #00c26f !important;
      box-shadow: 0 0 20px rgba(0, 194, 111, 0.25) !important;
    }
    .order-address-inner {
      display: flex;
      flex-direction: column;
      gap: 4px;
      min-width: 0;
      flex: 1;
    }
    .order-address-label {
      font-size: 10.5px;
      font-weight: 700;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.6px;
      line-height: 1;
    }
    .order-address-chunks {
      font-family: var(--font-mono);
      font-size: 14.5px;
      font-weight: 600;
      color: #ffffff;
      word-break: break-all;
      letter-spacing: 0.5px;
      line-height: 1.45;
      user-select: all;
    }

    .btn-copy-address {
      background: var(--color-blue);
      color: #fff;
      font-size: 14px;
      font-weight: 600;
      height: 42px;
      padding: 0 20px;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      flex-shrink: 0;
      transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
      box-shadow: 0 2px 8px rgba(0, 117, 255, 0.3);
    }
    .btn-copy-address:hover {
      background: var(--color-blue-hover);
      transform: translateY(-1px);
      box-shadow: 0 4px 14px rgba(0, 117, 255, 0.45);
    }
    .btn-copy-address:active {
      transform: scale(0.97);
    }
    .btn-copy-address.copied {
      background: var(--color-green) !important;
      box-shadow: 0 2px 8px rgba(0, 194, 111, 0.4) !important;
    }

    /* Memo Box */
    .order-memo-box {
      background: rgba(245, 158, 11, 0.08);
      border: 1px solid rgba(245, 158, 11, 0.30);
      border-radius: var(--radius-input);
      padding: 10px 14px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }
    .order-memo-badge {
      font-size: 11px;
      font-weight: 700;
      color: var(--color-orange);
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-bottom: 2px;
      display: block;
    }
    .memo-value {
      font-family: var(--font-mono);
      font-size: 15px;
      font-weight: 600;
      color: #ffffff;
      word-break: break-all;
    }
    .btn-copy-memo {
      background: rgba(245, 158, 11, 0.20);
      color: var(--color-orange);
      border: 1px solid rgba(245, 158, 11, 0.40);
    }
    .btn-copy-memo:hover {
      background: rgba(245, 158, 11, 0.35);
    }

    .order-network-notice {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 13px;
      line-height: 1.45;
      color: var(--text-secondary);
      background: rgba(245, 158, 11, 0.07);
      border: 1px solid rgba(245, 158, 11, 0.25);
      border-radius: 10px;
      padding: 10px 14px;
    }
    .order-network-notice strong {
      color: #ffffff;
      font-weight: 600;
    }
    .net-notice-ico {
      color: #fbbf24;
      flex-shrink: 0;
    }

    .order-settle-note {
      font-size: 13px;
      color: var(--text-secondary);
      line-height: 1.5;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .order-settle-note svg {
      flex-shrink: 0;
      color: var(--color-blue);
    }

    /* Completed Hero in Right Card */
    .order-completed-hero {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 24px 16px;
    }
    .completed-hero-icon {
      margin-bottom: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .completed-hero-title {
      font-size: 26px;
      font-weight: 700;
      color: #ffffff;
      margin-bottom: 8px;
    }
    .completed-hero-sub {
      font-size: 14.5px;
      color: var(--text-secondary);
      max-width: 500px;
      line-height: 1.5;
      margin-bottom: 16px;
    }

    /* FixedFloat-Style Expired Resolution Card */
    .ff-expired-card {
      display: flex;
      flex-direction: column;
      padding: 10px 4px 6px;
      width: 100%;
    }
    .ff-expired-header {
      margin-bottom: 20px;
    }
    .ff-expired-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.6px;
      color: #f87171;
      background: rgba(239, 68, 68, 0.12);
      border: 1px solid rgba(239, 68, 68, 0.28);
      padding: 3px 9px;
      border-radius: 99px;
      margin-bottom: 12px;
    }
    .ff-expired-title {
      font-size: 19px;
      font-weight: 700;
      color: #ffffff;
      line-height: 1.4;
      margin-bottom: 8px;
    }
    .ff-expired-sub {
      font-size: 14px;
      color: var(--text-secondary);
      line-height: 1.55;
      margin: 0;
    }
    .ff-expired-sub strong {
      color: #ffffff;
    }
    .ff-expired-options {
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin-bottom: 18px;
    }
    .ff-option-card {
      display: flex;
      align-items: flex-start;
      gap: 14px;
      padding: 14px 18px;
      background: rgba(255, 255, 255, 0.03);
      border: 1.5px solid rgba(255, 255, 255, 0.10);
      border-radius: 10px;
      cursor: pointer;
      transition: all var(--transition-fast);
      position: relative;
    }
    .ff-option-card:hover {
      background: rgba(255, 255, 255, 0.06);
      border-color: rgba(255, 255, 255, 0.20);
    }
    .ff-option-card.selected {
      background: rgba(0, 117, 255, 0.08);
      border-color: var(--color-blue);
      box-shadow: 0 0 0 1px var(--color-blue);
    }
    .ff-option-radio {
      position: relative;
      margin-top: 2px;
      flex-shrink: 0;
    }
    .ff-option-radio input {
      position: absolute;
      opacity: 0;
      cursor: pointer;
    }
    .ff-radio-dot {
      display: inline-block;
      width: 18px;
      height: 18px;
      border-radius: 50%;
      border: 2px solid rgba(255, 255, 255, 0.35);
      background: #0d121f;
      transition: all var(--transition-fast);
      position: relative;
    }
    .ff-option-card.selected .ff-radio-dot {
      border-color: var(--color-blue);
      background: var(--color-blue);
      box-shadow: inset 0 0 0 3px #0d121f;
    }
    .ff-option-text {
      display: flex;
      flex-direction: column;
      gap: 3px;
      line-height: 1.4;
    }
    .ff-option-head {
      font-size: 14.5px;
      font-weight: 600;
      color: #ffffff;
    }
    .ff-option-desc {
      font-size: 13px;
      color: var(--text-secondary);
    }
    .ff-refund-input-wrap {
      background: rgba(10, 15, 26, 0.7);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 8px;
      padding: 14px 16px;
      margin-top: -4px;
    }
    .ff-refund-label {
      font-size: 12.5px;
      font-weight: 600;
      color: rgba(255, 255, 255, 0.88);
      display: block;
      margin-bottom: 8px;
    }
    .ff-refund-input-row {
      display: flex;
      gap: 10px;
      align-items: center;
    }
    .ff-refund-input {
      flex: 1;
      height: 40px;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.16);
      border-radius: 6px;
      padding: 0 12px;
      font-family: var(--font-mono);
      font-size: 13px;
      color: #ffffff;
      outline: none;
      transition: border-color var(--transition-fast);
    }
    .ff-refund-input:focus {
      border-color: var(--color-blue);
    }
    .btn-save-refund {
      height: 40px;
      padding: 0 16px;
      background: var(--color-blue);
      color: #ffffff;
      border: none;
      border-radius: 6px;
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      white-space: nowrap;
      transition: background var(--transition-fast);
    }
    .btn-save-refund:hover {
      background: #0066e0;
    }
    .ff-choice-confirmed {
      background: rgba(0, 194, 111, 0.10);
      border: 1px solid rgba(0, 194, 111, 0.28);
      border-radius: 8px;
      padding: 12px 16px;
      display: flex;
      align-items: flex-start;
      gap: 10px;
      margin-bottom: 18px;
      font-size: 13px;
      color: rgba(255, 255, 255, 0.9);
      line-height: 1.45;
    }
    .ff-choice-confirmed svg {
      flex-shrink: 0;
      margin-top: 2px;
    }
    .ff-choice-confirmed code {
      font-family: var(--font-mono);
      background: rgba(0, 0, 0, 0.35);
      padding: 1px 5px;
      border-radius: 4px;
      color: #ffffff;
    }
    .ff-expired-footer {
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      padding-top: 16px;
      margin-top: 6px;
      display: flex;
      flex-direction: column;
      gap: 14px;
    }
    .ff-expired-new-prompt {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      flex-wrap: wrap;
    }
    .ff-expired-new-prompt span {
      font-size: 13.5px;
      color: var(--text-secondary);
    }
    .btn-ff-new-order {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.16);
      color: #ffffff;
      font-size: 13px;
      font-weight: 600;
      padding: 8px 16px;
      border-radius: 6px;
      text-decoration: none;
      transition: all var(--transition-fast);
    }
    .btn-ff-new-order:hover {
      background: var(--color-blue);
      border-color: var(--color-blue);
      box-shadow: 0 2px 10px rgba(0, 117, 255, 0.35);
    }
    .ff-expired-addr-ref {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      font-size: 12px;
      flex-wrap: wrap;
      background: rgba(0, 0, 0, 0.3);
      padding: 8px 12px;
      border-radius: 6px;
    }
    .ff-addr-ref-label {
      color: var(--text-muted);
    }
    .ff-addr-ref-box {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .ff-addr-code {
      font-family: var(--font-mono);
      font-size: 12px;
      color: rgba(255, 255, 255, 0.75);
      word-break: break-all;
    }

    /* Stepper Timeline */
    .order-timeline {
      padding-top: 24px;
      padding-bottom: 4px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      width: 100%;
      position: relative;
    }
    .timeline-track-wrap {
      position: absolute;
      top: 40px;
      left: 12.5%;
      right: 12.5%;
      height: 2px;
      z-index: 1;
      border-radius: 99px;
    }
    .timeline-track-bg {
      position: absolute;
      inset: 0;
      background: rgba(255, 255, 255, 0.08);
      border-radius: 99px;
    }
    .timeline-track-fill {
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      background: linear-gradient(90deg, #00c26f 0%, #0075ff 100%);
      border-radius: 99px;
      transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .timeline-steps {
      display: flex;
      justify-content: space-between;
      list-style: none;
      position: relative;
      z-index: 2;
      padding: 0;
      margin: 0;
    }
    .step-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      flex: 1 1 0;
      position: relative;
      z-index: 2;
    }
    .step-circle {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: #0d121f;
      border: 1.5px solid rgba(255, 255, 255, 0.14);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 9px;
      color: rgba(255, 255, 255, 0.38);
      font-family: var(--font-mono);
      font-size: 13px;
      font-weight: 600;
      transition: all var(--transition-fast);
      position: relative;
      z-index: 3;
    }
    .step-item.active .step-circle {
      background: var(--color-blue);
      border-color: var(--color-blue);
      color: #fff;
      font-weight: 700;
      box-shadow: 0 0 0 4px rgba(0, 117, 255, 0.22), 0 4px 14px rgba(0, 117, 255, 0.35);
    }
    .step-item.completed .step-circle {
      background: var(--color-green);
      border-color: var(--color-green);
      color: #fff;
      box-shadow: 0 0 0 3px rgba(0, 194, 111, 0.18), 0 3px 10px rgba(0, 194, 111, 0.25);
    }
    .step-item.expired .step-circle {
      background: rgba(239, 68, 68, 0.14);
      border-color: rgba(239, 68, 68, 0.38);
      color: #f87171;
      box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
    }
    .step-label {
      font-size: 12.5px;
      font-weight: 500;
      color: rgba(255, 255, 255, 0.45);
      line-height: 1.35;
      transition: color var(--transition-fast);
      letter-spacing: -0.1px;
    }
    .step-item.completed .step-label {
      color: #00c26f;
      font-weight: 600;
    }
    .step-item.active .step-label {
      color: #ffffff;
      font-weight: 600;
    }
    .step-item.expired .step-label {
      color: #f87171;
      font-weight: 600;
    }

    /* Bottom Info Known Box (1120px wide) */
    .order-info-known {
      background: rgba(13, 17, 30, 0.90);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: var(--radius-input);
      padding: 20px 26px;
      margin-bottom: 20px;
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.40);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
    }
    .order-info-known h3 {
      font-size: 15px;
      font-weight: 600;
      margin-bottom: 12px;
      color: #fff;
    }
    .known-item {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      margin-bottom: 10px;
      font-size: 13.5px;
      color: var(--text-secondary);
      line-height: 1.5;
    }
    .known-item:last-child {
      margin-bottom: 0;
    }
    .known-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--color-blue);
      margin-top: 7px;
      flex-shrink: 0;
    }

    .order-back-row {
      display: flex;
      justify-content: center;
      margin-top: 20px;
    }
    .btn-order-back {
      font-size: 13.5px;
      font-weight: 600;
      color: var(--text-secondary);
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.12);
      padding: 10px 24px;
      border-radius: var(--radius-btn);
      cursor: pointer;
      transition: all var(--transition-fast);
      display: inline-flex;
      align-items: center;
      gap: 6px;
      text-decoration: none;
    }
    .btn-order-back:hover {
      color: #fff;
      background: rgba(255, 255, 255, 0.15);
      border-color: rgba(255, 255, 255, 0.25);
    }

    /* ==========================================================================
       MODALS SYSTEM — KiriSwap Obsidian Cybernetic DNA
       ========================================================================== */
    .modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      width: 100%;
      height: 100%;
      background: rgba(4, 6, 12, 0.82);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      z-index: 1000;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 16px;
      overflow-y: auto;
      box-sizing: border-box;
    }
    .modal-overlay.active {
      display: flex;
    }

    .modal-dialog {
      background: linear-gradient(160deg, #101526 0%, #090c16 100%);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 20px;
      width: 100%;
      max-width: 460px;
      min-width: 0;
      max-height: 90vh;
      margin: auto;
      display: flex;
      flex-direction: column;
      box-shadow: 0 24px 64px rgba(0, 0, 0, 0.75), 0 0 1px 1px rgba(255, 255, 255, 0.08);
      animation: modalOpen 0.22s cubic-bezier(0.16, 1, 0.3, 1);
      overflow: hidden;
      box-sizing: border-box;
    }
    .modal-dialog.modal-dialog-wide {
      max-width: 530px;
    }
    @keyframes modalOpen {
      from { opacity: 0; transform: scale(0.96) translateY(6px); }
      to { opacity: 1; transform: scale(1) translateY(0); }
    }

    .modal-header {
      padding: 18px 22px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.07);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }
    .modal-header-left {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .modal-header-ico {
      width: 34px;
      height: 34px;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    .modal-header-ico.blue {
      background: rgba(0, 143, 223, 0.12);
      border: 1px solid rgba(0, 143, 223, 0.25);
      color: var(--color-blue);
    }
    .modal-header-ico.green {
      background: rgba(0, 194, 111, 0.12);
      border: 1px solid rgba(0, 194, 111, 0.25);
      color: var(--color-green);
    }
    .modal-title-wrap {
      display: flex;
      flex-direction: column;
    }
    .modal-title {
      font-size: 16.5px;
      font-weight: 700;
      color: #ffffff;
      letter-spacing: -0.2px;
    }
    .modal-subtitle {
      font-size: 12px;
      color: var(--text-muted);
      margin-top: 2px;
    }
    .modal-close-btn {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
      color: var(--text-secondary);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all var(--transition-fast);
      flex-shrink: 0;
      padding: 0;
    }
    .modal-close-btn:hover {
      background: rgba(255, 255, 255, 0.12);
      color: #ffffff;
      transform: scale(1.05);
    }
    .modal-close-btn svg {
      width: 14px;
      height: 14px;
    }

    /* ==========================================================================
       COIN DROPDOWN PANEL
       ========================================================================== */
    .exchange-amounts {
      display: flex;
      align-items: flex-start;
      margin-bottom: 20px;
      position: relative;
      z-index: 50;
    }
    .exchange-amounts.has-open-dropdown {
      z-index: 999 !important;
    }
    .col.dropdown-active {
      z-index: 1000 !important;
    }

    .coin-dropdown-panel {
      position: absolute;
      top: 98px;
      left: 0;
      width: 100%;
      min-width: 380px;
      background: #0d111d;
      border: 1.5px solid rgba(255, 255, 255, 0.16);
      border-radius: var(--radius-input);
      box-shadow: 0 24px 56px rgba(0, 0, 0, 0.9), 0 6px 16px rgba(0, 0, 0, 0.6);
      z-index: 1001 !important;
      display: none;
      flex-direction: column;
      max-height: 440px;
    }
    #col_send .coin-dropdown-panel {
      border-color: rgba(247, 147, 26, 0.5);
      left: 0;
      right: auto;
    }
    #col_receive .coin-dropdown-panel {
      border-color: rgba(0, 194, 111, 0.5);
      left: auto;
      right: 0;
    }
    .coin-dropdown-panel.open {
      display: flex;
    }

    .dropdown-search-wrap {
      position: relative;
      display: flex;
      align-items: center;
      padding: 12px 14px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      gap: 10px;
    }
    .dropdown-search-icon {
      display: flex;
      align-items: center;
      color: var(--text-secondary);
      flex-shrink: 0;
    }
    .dropdown-search-input {
      width: 100%;
      height: 38px;
      background: rgba(0, 0, 0, 0.3);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 8px;
      padding: 0 12px;
      color: #fff;
      font-size: 13.5px;
      font-weight: 500;
      transition: border-color var(--transition-fast);
    }
    .dropdown-search-input:focus {
      border-color: var(--color-blue);
    }

    .dropdown-coin-list {
      flex: 1 1 auto;
      overflow-y: auto;
      padding: 6px 8px;
      max-height: 330px;
    }
    .dropdown-coin-list::-webkit-scrollbar {
      width: 5px;
    }
    .dropdown-coin-list::-webkit-scrollbar-track {
      background: transparent;
    }
    .dropdown-coin-list::-webkit-scrollbar-thumb {
      background: rgba(255, 255, 255, 0.18);
      border-radius: 4px;
    }
    .dropdown-coin-group {
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.8px;
      color: var(--text-muted);
      padding: 8px 10px 4px;
    }
    .dropdown-coin-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 8px 10px;
      border-radius: 8px;
      cursor: pointer;
      transition: background var(--transition-fast);
    }
    .dropdown-coin-item:hover,
    .dropdown-coin-item.active {
      background: rgba(255, 255, 255, 0.07);
    }
    .dropdown-coin-left {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .dropdown-coin-ico {
      width: 28px;
      height: 28px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    .dropdown-coin-ico img {
      width: 28px;
      height: 28px;
      display: block;
    }
    .dropdown-coin-meta {
      display: flex;
      flex-direction: column;
    }
    .dropdown-coin-ticker-row {
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .dropdown-coin-ticker {
      font-size: 14px;
      font-weight: 700;
      color: #fff;
    }
    .dropdown-coin-name {
      font-size: 11.5px;
      color: var(--text-secondary);
    }
    .dropdown-coin-price {
      font-size: 12.5px;
      font-weight: 500;
      color: var(--text-muted);
      font-family: var(--font-mono);
    }
    .ui-select-trigger {
      cursor: pointer;
      user-select: none;
    }
    .ui-select-trigger.active .ui-select-arrow {
      transform: rotate(180deg);
    }
    .ui-select-arrow {
      transition: transform 0.2s ease;
      display: inline-block;
    }

    /* Modal Body Content */
    .modal-content-pad {
      padding: 22px;
      line-height: 1.6;
      font-size: 14px;
      color: var(--text-secondary);
    }

    /* ==========================================================================
       TRACK ORDER MODAL (KiriSwap Obsidian Cybernetic DNA)
       ========================================================================== */
    .modal-dialog-track {
      max-width: 440px;
      background: rgba(13, 17, 30, 0.96);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 18px;
      box-shadow: 0 24px 64px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 117, 255, 0.12);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
    }
    .track-form-group {
      display: flex;
      flex-direction: column;
      gap: 14px;
    }
    .track-label-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .track-input-label {
      font-size: 11px;
      font-weight: 700;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.8px;
    }
    .track-input-hint {
      font-size: 11.5px;
      color: var(--text-muted);
      font-family: var(--font-mono);
      font-weight: 500;
    }
    .track-input-box {
      display: flex;
      align-items: center;
      height: 52px;
      background: rgba(4, 7, 15, 0.85);
      border: 1.5px solid rgba(255, 255, 255, 0.12);
      border-radius: 12px;
      padding: 0 10px 0 14px;
      gap: 10px;
      transition: all var(--transition-fast);
    }
    .track-input-box:focus-within {
      border-color: var(--color-blue);
      box-shadow: 0 0 0 3px rgba(0, 117, 255, 0.22), 0 0 20px rgba(0, 117, 255, 0.15);
      background: rgba(8, 12, 24, 0.95);
    }
    .track-input-icon {
      color: var(--color-blue);
      display: flex;
      align-items: center;
      flex-shrink: 0;
    }
    .track-search-input {
      flex: 1 1 0;
      min-width: 0;
      background: transparent;
      border: none;
      outline: none;
      color: #ffffff;
      font-family: var(--font-mono);
      font-size: 16px;
      font-weight: 700;
      letter-spacing: 1.5px;
      text-transform: uppercase;
    }
    .track-search-input::placeholder {
      font-family: var(--font-main);
      letter-spacing: normal;
      font-weight: 500;
      font-size: 13.5px;
      color: #64748b;
      text-transform: none;
    }
    .btn-paste-track {
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 6px;
      color: var(--text-secondary);
      font-size: 11.5px;
      font-weight: 600;
      padding: 6px 12px;
      display: inline-flex;
      align-items: center;
      gap: 5px;
      cursor: pointer;
      transition: all var(--transition-fast);
      flex-shrink: 0;
    }
    .btn-paste-track:hover {
      background: rgba(0, 117, 255, 0.2);
      border-color: rgba(0, 117, 255, 0.4);
      color: #ffffff;
    }
    .btn-track-submit-full {
      height: 48px;
      width: 100%;
      background: var(--color-blue);
      border: none;
      border-radius: 10px;
      color: #ffffff;
      font-size: 15px;
      font-weight: 700;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: all var(--transition-fast);
      box-shadow: 0 4px 16px rgba(0, 117, 255, 0.35);
      margin-top: 4px;
    }
    .btn-track-submit-full:hover {
      background: var(--color-blue-hover);
      box-shadow: 0 6px 20px rgba(0, 117, 255, 0.5);
      transform: translateY(-1px);
    }
    .btn-track-submit-full:active {
      transform: translateY(0);
    }
    .btn-track-submit-full.loading {
      opacity: 0.8;
      pointer-events: none;
    }
    .track-error-alert {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 10px 14px;
      background: rgba(239, 68, 68, 0.12);
      border: 1px solid rgba(239, 68, 68, 0.35);
      border-radius: 8px;
      color: #f87171;
      font-size: 13px;
      font-weight: 600;
      animation: fadeIn 0.2s ease-out;
    }
    .track-helper-note {
      font-size: 12px;
      color: var(--text-muted);
      text-align: center;
      margin: 4px 0 0;
      line-height: 1.4;
    }

    /* Rate Comparison Cards */
    .rate-compare-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 12px;
    }
    .rate-card {
      background: rgba(0, 0, 0, 0.28);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 14px;
      padding: 16px 18px;
      transition: all var(--transition-fast);
      position: relative;
    }
    .rate-card:hover {
      border-color: rgba(255, 255, 255, 0.16);
      background: rgba(255, 255, 255, 0.02);
    }
    .rate-card.active-stealth {
      border-color: rgba(0, 240, 255, 0.35);
      background: rgba(0, 240, 255, 0.03);
    }
    .rate-card.active-float {
      border-color: rgba(0, 194, 111, 0.35);
      background: rgba(0, 194, 111, 0.03);
    }
    .rate-card.active-fixed {
      border-color: rgba(0, 143, 223, 0.35);
      background: rgba(0, 143, 223, 0.03);
    }
    .rate-card-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 6px;
    }
    .rate-card-title {
      font-size: 15px;
      font-weight: 700;
      color: #ffffff;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .rate-badge {
      font-size: 11px;
      font-weight: 600;
      padding: 2px 8px;
      border-radius: 6px;
      line-height: 1.4;
    }
    .rate-badge.cyan {
      background: rgba(0, 240, 255, 0.12);
      border: 1px solid rgba(0, 240, 255, 0.28);
      color: #00F0FF;
    }
    .rate-badge.green {
      background: rgba(0, 194, 111, 0.12);
      border: 1px solid rgba(0, 194, 111, 0.25);
      color: var(--color-green);
    }
    .rate-badge.blue {
      background: rgba(0, 143, 223, 0.12);
      border: 1px solid rgba(0, 143, 223, 0.25);
      color: var(--color-blue);
    }
    .rate-card-desc {
      font-size: 13px;
      color: var(--text-secondary);
      line-height: 1.55;
      margin-bottom: 10px;
    }
    .rate-card-bullets {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    .rate-card-bullets li {
      font-size: 12.5px;
      color: #cbd5e1;
      display: flex;
      align-items: flex-start;
      gap: 7px;
      line-height: 1.45;
    }
    .rate-card-bullets li svg {
      flex-shrink: 0;
      margin-top: 2px;
    }

    .toast-notice {
      position: fixed;
      bottom: 24px;
      right: 24px;
      background: #151a2d;
      color: #fff;
      padding: 11px 18px;
      border-radius: 8px;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
      border: 1px solid rgba(255, 255, 255, 0.15);
      font-size: 13.5px;
      font-weight: 500;
      z-index: 9999;
      transform: translateY(100px);
      opacity: 0;
      transition: all 0.2s ease;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .toast-notice.show {
      transform: translateY(0);
      opacity: 1;
    }

    /* ==========================================================================
       RESPONSIVE DESIGN (Flawless Mobile, Tablet & Desktop Adaptation)
       ========================================================================== */
    @media (max-width: 860px) {
      .exchange-form-outer {
        max-width: 100%;
        padding: 0 8px;
      }
    }

    @media (max-width: 860px) {
      .nav-center,
      .nav-menu {
        display: none !important;
      }
      .btn-mobile-toggle {
        display: inline-flex;
      }
      .mobile-nav-drawer {
        display: block;
      }
    }

    @media (max-width: 768px) {
      .header {
        height: 62px;
      }
      .site-logo-img {
        height: 38px;
      }
      .btn-track {
        padding: 6px 12px;
        font-size: 12px;
      }

      .main-content {
        padding-top: 20px;
        padding-bottom: 40px;
      }
      .hero-headline-wrap {
        margin-bottom: 22px;
      }
      .exchange-form-outer h1 {
        font-size: clamp(24px, 5.5vw, 30px);
        margin-bottom: 10px;
        line-height: 1.25;
      }
      .hero-trust-bar {
        gap: 6px 8px;
        padding: 6px 12px;
      }
      .trust-badge {
        font-size: 12px;
      }

      /* Mobile Column Stack */
      .exchange-amounts {
        flex-direction: column;
        gap: 6px;
      }
      .exchange-amounts .col {
        width: 100%;
      }
      .coin-dropdown-panel {
        min-width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        top: 94px !important;
      }

      .col-middle {
        width: 100%;
        padding: 2px 0;
        display: flex;
        justify-content: center;
      }
      .btn-reverse {
        width: 38px;
        height: 38px;
        background: rgba(10, 14, 26, 0.7);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 50%;
        transform: rotate(90deg);
      }
      .btn-reverse:hover {
        transform: rotate(270deg) scale(1.1);
      }

      /* Mobile Inputs */
      .input-wabbr-inner {
        height: 62px;
        padding: 0 14px;
        gap: 10px;
      }
      .input-amount {
        font-size: 21px;
      }
      .amount-prefix {
        font-size: 21px;
      }
      .ui-select-trigger {
        padding-left: 10px;
        gap: 7px;
      }
      .coin-ico {
        width: 27px;
        height: 27px;
      }
      .coin-ticker-row .ticker {
        font-size: 16px;
      }

      /* Destination Field */
      .exchange-wallet .field {
        height: 58px;
        padding: 0 14px;
      }
      .exchange-wallet input[type="text"] {
        font-size: 14.5px;
        padding-right: 84px;
      }

      /* Mobile Order Controls */
      .exchange-wrapflex {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        margin-top: 18px;
      }
      .exchange-option-group {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas: 
          "label diff"
          "pill pill";
        gap: 8px 12px;
        width: 100%;
      }
      .exchange-option-label {
        grid-area: label;
        align-self: center;
      }
      .btn-diff-circle {
        grid-area: diff;
        justify-self: end;
      }
      .segmented-order-type {
        grid-area: pill;
        width: 100%;
        display: flex;
      }
      .radioselect {
        flex: 1 1 33.333%;
      }
      .radioselect span {
        width: 100%;
        justify-content: center;
        padding: 0 4px;
        font-size: 11.5px;
        height: 40px;
        gap: 4px;
      }
      .exchange-button {
        width: 100%;
      }
      .exchange-submit {
        width: 100%;
        height: 55px;
        font-size: 17.5px;
      }

      /* Mobile Order View */
      .order-direction {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 18px 16px;
        text-align: left;
      }
      .dir-col {
        width: 100%;
        justify-content: flex-start;
        gap: 14px;
      }
      .dir-col.dir-to {
        justify-self: start;
      }
      .dir-meta {
        align-items: flex-start;
        min-width: 0;
        flex: 1;
      }
      .dir-value {
        align-items: baseline;
        gap: 6px;
      }
      .dir-value .dir-amt {
        font-size: clamp(20px, 5.5vw, 24px);
      }
      .dir-dest-meta {
        max-width: 100%;
      }
      .dir-dest-addr {
        max-width: 220px;
      }
      .dir-arrow-center {
        padding: 2px 0;
        justify-content: center;
      }
      .dir-arrow-circle {
        transform: rotate(90deg);
        width: 32px;
        height: 32px;
      }
      .order-grid-asym {
        grid-template-columns: 1fr;
        gap: 16px;
      }
      .order-sidebar-card {
        border-radius: var(--radius-input);
      }
      .order-deposit-grid {
        grid-template-columns: 1fr;
        gap: 20px;
      }
      .order-qr-block {
        width: 100%;
      }
      .timeline-track-wrap {
        top: 32px;
      }
      .timeline-steps {
        flex-wrap: nowrap;
        gap: 0;
      }
      .step-item {
        flex: 1 1 0;
      }
      .step-circle {
        width: 28px;
        height: 28px;
        font-size: 11.5px;
        margin-bottom: 6px;
      }
      .step-circle svg {
        width: 11px;
        height: 11px;
      }
      .step-label {
        font-size: 11px;
        line-height: 1.25;
      }
      .order-address-box {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
      }
      .btn-copy-address {
        width: 100%;
        height: 42px;
        justify-content: center;
      }

      /* Mobile Modals */
      .modal-overlay {
        padding: 12px;
      }
      .modal-dialog,
      .modal-dialog-track,
      .modal-dialog.modal-dialog-wide {
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 16px;
      }
      .modal-header {
        padding: 16px 18px;
      }
      .modal-content-pad {
        padding: 16px 18px;
      }
      .track-input-box {
        height: 50px;
        padding: 0 8px 0 12px;
      }
      .track-search-input {
        font-size: 16px;
        letter-spacing: 1.5px;
      }
      .btn-track-submit-full {
        height: 48px;
        font-size: 15px;
      }
    }

    @media (max-width: 420px) {
      .wrapper {
        padding: 0 12px;
      }
      .logo-text .accent {
        display: none;
      }
      .radioselect span {
        font-size: 12px;
        padding: 0 4px;
      }
      .input-amount {
        font-size: 17px;
      }
      .amount-prefix {
        font-size: 17px;
      }
      .hero-trust-bar {
        gap: 4px 6px;
        padding: 5px 10px;
      }
      .trust-badge {
        font-size: 11px;
      }
      .trust-badge-sep {
        display: none;
      }
    }

    /* ==========================================================================
       CONTENT SECTIONS (Features, Rates, FAQ, Footer) — Lightweight, Relaxed
       ========================================================================== */
    .section-pad {
      padding: 58px 0;
      position: relative;
      z-index: 10;
    }
    .section-pad-alt {
      background: rgba(12, 16, 28, 0.45);
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .section-header {
      text-align: center;
      max-width: 680px;
      margin: 0 auto 48px auto;
    }
    .section-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 4px 12px;
      font-size: 12px;
      font-weight: 600;
      color: var(--color-blue);
      background: var(--color-blue-subtle);
      border: 1px solid rgba(0, 143, 223, 0.25);
      border-radius: 20px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-bottom: 12px;
    }
    .section-title {
      font-size: 32px;
      font-weight: 700;
      letter-spacing: -0.5px;
      margin-bottom: 12px;
      color: var(--text-main);
    }
    .section-desc {
      font-size: 16px;
      line-height: 1.6;
      color: var(--text-secondary);
    }

    /* Features */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 22px;
    }
    .feature-card {
      background: linear-gradient(180deg, rgba(14, 19, 34, 0.78) 0%, rgba(9, 12, 22, 0.70) 100%);
      border: 1px solid rgba(255, 255, 255, 0.07);
      border-radius: 16px;
      padding: 28px 24px;
      display: flex;
      flex-direction: column;
      position: relative;
      overflow: hidden;
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
      transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    }
    .feature-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.12) 50%, transparent 100%);
      opacity: 0.7;
      transition: opacity 0.18s ease;
    }
    .feature-card:hover {
      transform: translateY(-3px);
      border-color: rgba(255, 255, 255, 0.16);
      box-shadow: 0 14px 34px -4px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    .feature-card:hover::before {
      opacity: 1;
    }

    .feature-icon-wrap {
      width: 44px;
      height: 44px;
      border-radius: 11px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 18px;
      transition: all 0.18s ease;
    }
    .feature-card:nth-child(1) .feature-icon-wrap {
      color: #00c26f;
      background: rgba(0, 194, 111, 0.08);
      border: 1px solid rgba(0, 194, 111, 0.2);
    }
    .feature-card:nth-child(2) .feature-icon-wrap {
      color: #0066ff;
      background: rgba(0, 102, 255, 0.09);
      border: 1px solid rgba(0, 102, 255, 0.24);
    }
    .feature-card:nth-child(3) .feature-icon-wrap {
      color: #00f0ff;
      background: rgba(0, 240, 255, 0.08);
      border: 1px solid rgba(0, 240, 255, 0.2);
    }

    .feature-card h3 {
      font-size: 17px;
      font-weight: 700;
      margin-bottom: 10px;
      color: #f8fafc;
      letter-spacing: -0.015em;
    }
    .feature-card p {
      font-size: 14px;
      line-height: 1.62;
      color: #94a3b8;
      margin-bottom: 22px;
      flex-grow: 1;
    }
    .feature-stat-pill {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 5px 12px;
      border-radius: 100px;
      font-size: 12px;
      font-weight: 600;
      width: fit-content;
      background: rgba(255, 255, 255, 0.035);
      border: 1px solid rgba(255, 255, 255, 0.07);
      color: #94a3b8;
    }
    .feature-stat-pill strong {
      font-weight: 700;
      color: #f1f5f9;
    }
    .stat-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      display: inline-block;
      flex-shrink: 0;
    }
    .stat-dot.dot-green {
      background: #00c26f;
      box-shadow: 0 0 6px rgba(0, 194, 111, 0.6);
    }
    .stat-dot.dot-blue {
      background: #0066ff;
      box-shadow: 0 0 6px rgba(0, 102, 255, 0.6);
    }
    .stat-dot.dot-cyan {
      background: #00f0ff;
      box-shadow: 0 0 6px rgba(0, 240, 255, 0.6);
    }

    /* ==========================================================================
       RECENT TRANSACTIONS FEED (#rates) — KiriSwap Obsidian DNA
       ========================================================================== */
    .recent-tx-wrap {
      max-width: 860px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .recent-tx-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 14px 22px;
      min-height: 54px;
      background: rgba(14, 18, 32, 0.82);
      border: 1px solid rgba(255, 255, 255, 0.07);
      border-radius: 12px;
      color: var(--text-main);
      cursor: pointer;
      user-select: none;
      transition: border-color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
      position: relative;
    }

    .recent-tx-row:hover {
      background: rgba(18, 24, 42, 0.95);
      border-color: rgba(0, 102, 255, 0.35);
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }

    /* Timestamp column (Left) */
    .tx-col-time {
      display: flex;
      align-items: center;
      gap: 8px;
      width: 150px;
      flex-shrink: 0;
      font-size: 13.5px;
      color: var(--text-secondary);
      white-space: nowrap;
    }

    .tx-time-pulse {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: #00c26f;
      flex-shrink: 0;
      opacity: 0.85;
    }

    /* Swap details column (Center) */
    .tx-col-swap {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      flex: 1 1 auto;
      min-width: 0;
    }

    .tx-send-group {
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .tx-receive-group {
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .tx-amount {
      font-family: var(--font-mono);
      font-weight: 700;
      font-size: 15px;
      color: var(--text-main);
      white-space: nowrap;
    }

    .tx-ticker {
      font-weight: 700;
      font-size: 14px;
      color: var(--text-main);
      white-space: nowrap;
    }

    .tx-coin-img {
      width: 22px;
      height: 22px;
      border-radius: 50%;
      flex-shrink: 0;
    }

    .tx-arrow {
      color: #0066ff;
      font-size: 15px;
      line-height: 1;
      padding: 0 4px;
      opacity: 0.9;
    }

    /* Execution speed column (Right) */
    .tx-col-duration {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 6px;
      width: 110px;
      flex-shrink: 0;
      font-size: 13px;
      font-family: var(--font-mono);
      font-weight: 600;
      color: #00c26f;
      white-space: nowrap;
    }

    .tx-clock-icon {
      width: 14px;
      height: 14px;
      stroke: currentColor;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
      fill: none;
      opacity: 0.85;
    }

    /* Slide-down Animation */
    @keyframes txSlideDown {
      0% {
        opacity: 0;
        transform: translateY(-12px);
      }
      100% {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .recent-tx-row.tx-new {
      animation: txSlideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
      border-color: rgba(0, 194, 111, 0.45);
    }

    /* Mobile Responsive */
    @media (max-width: 640px) {
      .recent-tx-row {
        padding: 10px 14px;
        gap: 8px;
        min-height: 48px;
      }
      .tx-col-time {
        width: auto;
        font-size: 11.5px;
        min-width: 68px;
      }
      .tx-time-pulse {
        display: none;
      }
      .tx-col-swap {
        gap: 6px;
      }
      .tx-send-group, .tx-receive-group {
        gap: 5px;
      }
      .tx-amount {
        font-size: 13px;
      }
      .tx-ticker {
        font-size: 12.5px;
      }
      .tx-coin-img {
        width: 18px;
        height: 18px;
      }
      .tx-arrow {
        font-size: 12px;
        padding: 0 1px;
      }
      .tx-col-duration {
        width: auto;
        font-size: 11.5px;
      }
      .tx-clock-icon {
        width: 12px;
        height: 12px;
      }
    }

    @media (max-width: 400px) {
      .tx-col-time {
        font-size: 10.5px;
        min-width: 58px;
      }
      .tx-amount {
        font-size: 12px;
      }
      .tx-ticker {
        display: none;
      }
    }

    /* FAQ Accordion */
    .faq-wrap {
      max-width: 820px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .faq-item {
      background: linear-gradient(180deg, rgba(14, 19, 34, 0.78) 0%, rgba(9, 12, 22, 0.70) 100%);
      border: 1px solid rgba(255, 255, 255, 0.07);
      border-radius: 14px;
      overflow: hidden;
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      transition: border-color 0.18s ease, box-shadow 0.18s ease;
    }
    .faq-item:hover {
      border-color: rgba(255, 255, 255, 0.14);
    }
    .faq-item.open {
      border-color: rgba(0, 102, 255, 0.35);
      box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.45);
    }
    .faq-question {
      width: 100%;
      min-height: 52px;
      padding: 18px 22px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      cursor: pointer;
      text-align: left;
      font-size: 15.5px;
      font-weight: 600;
      color: #f1f5f9;
      background: none;
      letter-spacing: -0.01em;
    }
    .faq-arrow {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.04);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #94a3b8;
      transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
      font-size: 11px;
      flex-shrink: 0;
    }
    .faq-item.open .faq-arrow {
      transform: rotate(180deg);
      background: rgba(0, 102, 255, 0.15);
      color: #0066ff;
    }
    .faq-answer {
      display: none;
      padding: 0 22px 20px 22px;
      font-size: 14.5px;
      line-height: 1.68;
      color: #94a3b8;
      border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
    .faq-item.open .faq-answer {
      display: block;
      padding-top: 14px;
    }

    /* Footer */
    .site-footer {
      background: #05070d;
      border-top: 1px solid rgba(255, 255, 255, 0.06);
      padding: 64px 0 32px 0;
      position: relative;
      z-index: 10;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
      margin-bottom: 48px;
    }
    .footer-brand p {
      margin-top: 14px;
      font-size: 14px;
      line-height: 1.6;
      color: var(--text-secondary);
      max-width: 320px;
    }
    .footer-status {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-top: 16px;
      font-size: 12.5px;
      color: var(--color-green);
      font-weight: 500;
    }
    .footer-status .status-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--color-green);
      box-shadow: 0 0 8px rgba(0, 194, 111, 0.6);
    }
    .footer-col h4 {
      font-size: 14px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      color: var(--text-main);
      margin-bottom: 16px;
    }
    .footer-links {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .footer-links a {
      font-size: 14px;
      color: var(--text-secondary);
      transition: color 0.15s ease;
    }
    .footer-links a:hover {
      color: #fff;
    }
    .footer-bottom {
      padding-top: 24px;
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 16px;
      font-size: 13px;
      color: var(--text-muted);
      width: 100%;
      min-width: 0;
    }
    .footer-bottom > div:first-child {
      max-width: 100%;
      min-width: 0;
      white-space: normal;
    }
    .networks-pill-row {
      display: flex;
      align-items: center;
      gap: 6px;
      flex-wrap: wrap;
      max-width: 100%;
    }
    .net-pill {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 28px;
      height: 28px;
      padding: 0;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 7px;
      transition: all 0.15s ease;
      cursor: default;
    }
    .net-pill:hover {
      background: rgba(255, 255, 255, 0.09);
      border-color: rgba(255, 255, 255, 0.22);
      transform: translateY(-1px);
    }
    .net-pill-ico {
      width: 17px;
      height: 17px;
      border-radius: 50%;
      flex-shrink: 0;
      display: block;
      object-fit: contain;
    }

    /* Responsive for Lower Sections */
    @media (max-width: 960px) {
      .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
      }
      .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
      }
    }
    @media (max-width: 640px) {
      .section-pad {
        padding: 48px 0;
      }
      .section-title {
        font-size: 24px;
      }
      .rates-table th:nth-child(3),
      .rates-table td:nth-child(3),
      .rates-table th:nth-child(4),
      .rates-table td:nth-child(4) {
        display: none;
      }
      .rates-table th, .rates-table td {
        padding: 12px 14px;
      }
      .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
      }
      .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 16px;
      }
      .networks-pill-row {
        width: 100%;
      }
    }

    /* ==========================================================================
       CONTENT PAGES & LEGAL STYLES (/tos, /privacy, /how-it-works)
       ========================================================================== */
    .content-page-hero {
      padding: 60px 0 30px;
      text-align: center;
    }
    .content-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 5px 14px;
      border-radius: 9999px;
      font-size: 11.5px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.8px;
      background: rgba(0, 117, 255, 0.12);
      border: 1px solid rgba(0, 117, 255, 0.3);
      color: var(--color-blue);
      margin-bottom: 14px;
    }
    .content-page-title {
      font-size: 34px;
      font-weight: 800;
      letter-spacing: -0.6px;
      color: #ffffff;
      margin-bottom: 10px;
    }
    .content-page-sub {
      font-size: 15.5px;
      color: var(--text-secondary);
      max-width: 680px;
      margin: 0 auto;
      line-height: 1.55;
    }
    .content-card {
      background: rgba(13, 17, 30, 0.85);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: var(--radius-card);
      padding: 38px 44px;
      margin-bottom: 50px;
      box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
    }
    .legal-article {
      margin-bottom: 32px;
      padding-bottom: 28px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .legal-article:last-child {
      margin-bottom: 0;
      padding-bottom: 0;
      border-bottom: none;
    }
    .legal-article h2 {
      font-size: 18.5px;
      font-weight: 700;
      color: #ffffff;
      margin-bottom: 12px;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .legal-article h2 .sec-num {
      color: var(--color-blue);
      font-family: var(--font-mono);
      font-size: 15px;
    }
    .legal-article p {
      font-size: 14.5px;
      color: var(--text-secondary);
      line-height: 1.65;
      margin-bottom: 12px;
    }
    .legal-article p:last-child {
      margin-bottom: 0;
    }
    .legal-article ul {
      margin: 10px 0 14px 20px;
      color: var(--text-secondary);
      font-size: 14px;
      line-height: 1.6;
    }
    .legal-article li {
      margin-bottom: 6px;
    }
    .legal-highlight-box {
      background: rgba(0, 117, 255, 0.07);
      border: 1px solid rgba(0, 117, 255, 0.22);
      border-radius: var(--radius-input);
      padding: 16px 20px;
      margin: 16px 0;
    }
    .legal-highlight-box p {
      color: #e2e8f0;
      margin: 0;
    }

    /* How It Works Steps */
    .steps-flow-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      margin: 28px 0 36px;
    }
    .step-flow-card {
      background: rgba(4, 7, 15, 0.65);
      border: 1px solid rgba(255, 255, 255, 0.10);
      border-radius: 14px;
      padding: 26px 22px;
      position: relative;
      transition: all var(--transition-fast);
    }
    .step-flow-card:hover {
      border-color: rgba(0, 117, 255, 0.45);
      transform: translateY(-3px);
      box-shadow: 0 10px 24px rgba(0, 117, 255, 0.15);
    }
    .step-card-num {
      font-family: var(--font-mono);
      font-size: 32px;
      font-weight: 800;
      color: rgba(255, 255, 255, 0.14);
      line-height: 1;
      margin-bottom: 14px;
    }
    .step-flow-card:hover .step-card-num {
      color: var(--color-blue);
    }
    .step-flow-card h3 {
      font-size: 17px;
      font-weight: 700;
      color: #ffffff;
      margin-bottom: 10px;
    }
    .step-flow-card p {
      font-size: 13.5px;
      color: var(--text-secondary);
      line-height: 1.55;
      margin: 0;
    }

    /* ==========================================================================
       RATE CALCULATOR MODAL (#calc_modal) — SPACIOUS & RESPONSIVE
       ========================================================================== */
    .modal-dialog-calc {
      max-width: 660px;
      width: 100%;
      overflow: visible !important;
    }
    .modal-dialog-calc .modal-header {
      border-top-left-radius: 20px;
      border-top-right-radius: 20px;
    }
    .calc-card-box.has-dropdown-open {
      z-index: 120 !important;
    }
    .calc-body {
      padding: 24px 30px 28px;
    }
    
    /* Stacked Cards with Center Swap Button */
    .calc-cards-wrap {
      display: flex;
      flex-direction: column;
      gap: 10px;
      position: relative;
      margin-bottom: 20px;
    }
    .calc-card-box {
      background: rgba(4, 7, 15, 0.75);
      border: 1.5px solid rgba(255, 255, 255, 0.12);
      border-radius: 14px;
      padding: 14px 18px;
      transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    }
    .calc-card-box:focus-within {
      border-color: var(--color-blue);
      box-shadow: 0 0 0 3px var(--color-blue-subtle);
    }
    .calc-card-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 8px;
    }
    .calc-card-label {
      font-size: 11.5px;
      font-weight: 700;
      color: var(--text-secondary);
      text-transform: uppercase;
      letter-spacing: 0.6px;
    }
    .calc-card-usd {
      font-family: var(--font-mono);
      font-size: 13px;
      color: var(--text-muted);
    }
    .calc-card-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
    }
    .calc-amount-input {
      flex: 1;
      min-width: 0;
      background: transparent;
      border: none;
      color: #ffffff;
      font-family: var(--font-mono);
      font-size: 22px;
      font-weight: 700;
      outline: none;
      padding: 2px 0;
    }
    .calc-amount-input::placeholder {
      color: rgba(255, 255, 255, 0.25);
    }
    .calc-coin-picker {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.16);
      border-radius: 10px;
      padding: 6px 12px;
      cursor: pointer;
      flex-shrink: 0;
      transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
      color: #ffffff;
      font-family: inherit;
    }
    .calc-coin-picker:hover,
    .calc-coin-picker.active {
      background: rgba(255, 255, 255, 0.14);
      border-color: rgba(255, 255, 255, 0.3);
    }
    .calc-coin-picker.active {
      box-shadow: 0 0 0 2px rgba(0, 117, 255, 0.35);
    }
    .calc-coin-picker.active .calc-coin-arrow {
      transform: rotate(180deg);
    }
    .calc-coin-ico {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      display: block;
      object-fit: contain;
    }
    .calc-coin-name {
      font-weight: 700;
      font-size: 14.5px;
      color: #ffffff;
      letter-spacing: 0.3px;
    }
    .calc-coin-arrow {
      color: var(--text-secondary);
      transition: transform 0.2s ease;
      display: flex;
      align-items: center;
    }

    /* Custom Sleek Dropdown Panel (Replaces ugly native browser select) */
    .calc-dropdown-panel {
      position: absolute;
      top: calc(100% + 6px);
      right: 0;
      width: 360px;
      max-width: 100%;
      background: #0b0f1c;
      border: 1.5px solid rgba(255, 255, 255, 0.16);
      border-radius: 14px;
      box-shadow: 0 24px 56px rgba(0, 0, 0, 0.92), 0 4px 16px rgba(0, 0, 0, 0.6);
      z-index: 150;
      display: none;
      flex-direction: column;
      overflow: hidden;
      animation: calcDropIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
    }
    .calc-dropdown-panel.open {
      display: flex;
    }
    @keyframes calcDropIn {
      from { opacity: 0; transform: translateY(-4px) scale(0.98); }
      to { opacity: 1; transform: translateY(0) scale(1); }
    }
    .calc-dropdown-search {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px 14px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      background: rgba(0, 0, 0, 0.35);
    }
    .calc-dropdown-search svg {
      color: var(--text-muted);
      flex-shrink: 0;
    }
    .calc-dropdown-input {
      width: 100%;
      background: transparent;
      border: none;
      color: #ffffff;
      font-size: 13px;
      font-weight: 500;
      outline: none;
      font-family: inherit;
    }
    .calc-dropdown-input::placeholder {
      color: var(--text-muted);
    }
    .calc-dropdown-list {
      max-height: 270px;
      overflow-y: auto;
      padding: 6px 8px;
      display: flex;
      flex-direction: column;
      gap: 2px;
    }
    .calc-dropdown-list::-webkit-scrollbar {
      width: 5px;
    }
    .calc-dropdown-list::-webkit-scrollbar-track {
      background: transparent;
    }
    .calc-dropdown-list::-webkit-scrollbar-thumb {
      background: rgba(255, 255, 255, 0.18);
      border-radius: 4px;
    }
    .calc-drop-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 8px 10px;
      border-radius: 9px;
      cursor: pointer;
      transition: background 0.15s ease;
      user-select: none;
    }
    .calc-drop-item:hover,
    .calc-drop-item.selected {
      background: rgba(255, 255, 255, 0.08);
    }
    .calc-drop-item.selected {
      border-left: 2.5px solid var(--color-blue);
      padding-left: 8px;
    }
    .calc-drop-item-left {
      display: flex;
      align-items: center;
      gap: 10px;
      min-width: 0;
    }
    .calc-drop-item-ico {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      flex-shrink: 0;
      display: block;
      object-fit: contain;
    }
    .calc-drop-item-info {
      display: flex;
      flex-direction: column;
      min-width: 0;
    }
    .calc-drop-item-ticker-row {
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .calc-drop-item-ticker {
      font-weight: 700;
      font-size: 13.5px;
      color: #ffffff;
    }
    .calc-drop-item-name {
      font-size: 11px;
      color: var(--text-secondary);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .calc-drop-item-price {
      font-family: var(--font-mono);
      font-size: 12px;
      font-weight: 600;
      color: var(--text-muted);
      text-align: right;
      flex-shrink: 0;
      padding-left: 8px;
    }
    @media (max-width: 540px) {
      .calc-dropdown-panel {
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
      }
    }

    /* Center Swap Pivot */
    .calc-swap-pivot {
      display: flex;
      justify-content: center;
      align-items: center;
      margin: -6px 0;
      z-index: 5;
    }
    .btn-calc-swap-coins {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: #151a2a;
      border: 1.5px solid rgba(255, 255, 255, 0.18);
      color: var(--color-blue);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all var(--transition-fast);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    }
    .btn-calc-swap-coins:hover {
      border-color: var(--color-blue);
      transform: rotate(180deg);
      background: rgba(0, 117, 255, 0.15);
    }

    /* Comparison Tiles: Float vs Fixed */
    .calc-rates-tiles {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
      margin-bottom: 18px;
    }
    .calc-tile {
      background: rgba(0, 0, 0, 0.35);
      border: 1.5px solid rgba(255, 255, 255, 0.09);
      border-radius: 12px;
      padding: 14px 16px;
      display: flex;
      flex-direction: column;
      gap: 6px;
      transition: all var(--transition-fast);
    }
    .calc-tile:hover {
      border-color: rgba(255, 255, 255, 0.2);
      background: rgba(0, 0, 0, 0.45);
    }
    .calc-tile.float-tile {
      border-left: 3px solid var(--color-blue);
    }
    .calc-tile.fixed-tile {
      border-left: 3px solid var(--color-cyan);
    }
    .calc-tile-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .calc-tile-title {
      font-size: 11.5px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      color: var(--text-secondary);
    }
    .calc-tile-tag {
      font-size: 10.5px;
      font-weight: 700;
      padding: 2px 6px;
      border-radius: 4px;
      letter-spacing: 0.3px;
    }
    .float-tile .calc-tile-tag {
      background: rgba(0, 117, 255, 0.15);
      color: var(--color-blue);
    }
    .fixed-tile .calc-tile-tag {
      background: rgba(0, 204, 255, 0.15);
      color: var(--color-cyan);
    }
    .calc-tile-val {
      font-family: var(--font-mono);
      font-size: 18px;
      font-weight: 700;
      color: #ffffff;
      word-break: break-all;
    }
    .calc-tile-desc {
      font-size: 11.5px;
      color: var(--text-muted);
      line-height: 1.4;
    }

    /* Limits & Rate Summary Strip */
    .calc-summary-strip {
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 10px;
      padding: 10px 16px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      font-size: 12px;
      color: var(--text-secondary);
      margin-bottom: 20px;
      flex-wrap: wrap;
    }
    .calc-summary-strip strong {
      color: #ffffff;
    }
    .calc-strip-rate {
      font-family: var(--font-mono);
      font-weight: 600;
      color: #ffffff;
    }
    .calc-limits-pills {
      display: flex;
      gap: 8px;
      align-items: center;
      font-family: var(--font-mono);
    }
    .calc-limit-btn {
      background: rgba(255, 255, 255, 0.07);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 5px;
      padding: 2px 8px;
      font-size: 11px;
      color: var(--text-secondary);
      cursor: pointer;
      transition: all var(--transition-fast);
    }
    .calc-limit-btn:hover {
      background: rgba(0, 117, 255, 0.2);
      border-color: var(--color-blue);
      color: #ffffff;
    }
    .btn-calc-swap {
      width: 100%;
      height: 48px;
      background: var(--color-blue);
      color: #fff;
      font-size: 15px;
      font-weight: 700;
      border: none;
      border-radius: 10px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: all var(--transition-fast);
      box-shadow: 0 4px 16px rgba(0, 117, 255, 0.35);
    }
    .btn-calc-swap:hover {
      background: var(--color-blue-hover);
      transform: translateY(-1px);
      box-shadow: 0 6px 20px rgba(0, 117, 255, 0.5);
    }

    @media (max-width: 640px) {
      .modal-dialog-calc {
        max-width: 95%;
      }
      .calc-body {
        padding: 18px 16px 22px;
      }
      .calc-rates-tiles {
        grid-template-columns: 1fr;
      }
      .calc-summary-strip {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
      }
      .calc-amount-input {
        font-size: 19px;
      }
    }

    /* ==========================================================================
       SUPPORTED COINS MODAL (#coins_modal)
       ========================================================================== */
    .modal-dialog-coins {
      max-width: 860px;
      width: 100%;
      max-height: 85vh;
      display: flex;
      flex-direction: column;
    }
    .coins-modal-head {
      padding: 18px 24px 14px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      flex-shrink: 0;
    }
    .coins-search-input-wrap {
      display: flex;
      align-items: center;
      gap: 10px;
      background: rgba(4, 7, 15, 0.75);
      border: 1px solid rgba(255, 255, 255, 0.14);
      border-radius: 10px;
      padding: 8px 14px;
      margin-top: 12px;
    }
    .coins-search-input-wrap input {
      flex: 1;
      background: transparent;
      border: none;
      color: #fff;
      font-size: 14px;
      outline: none;
    }
    .coins-list-scroll {
      flex: 1;
      overflow-y: auto;
      padding: 14px 24px;
    }
    .coins-table {
      width: 100%;
      border-collapse: collapse;
      text-align: left;
    }
    .coins-table th {
      font-size: 11.5px;
      font-weight: 700;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.6px;
      padding: 8px 12px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .coins-table td {
      padding: 12px 12px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
      font-size: 13.5px;
      vertical-align: middle;
    }
    .coins-table tr:hover td {
      background: rgba(255, 255, 255, 0.03);
    }
    .coin-cell-name {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .coin-cell-name img {
      width: 28px;
      height: 28px;
      border-radius: 50%;
    }
    .coin-cell-meta .c-title {
      font-weight: 700;
      color: #fff;
      display: block;
      line-height: 1.2;
    }
    .coin-cell-meta .c-sub {
      font-size: 12px;
      color: var(--text-secondary);
    }
    .btn-coin-swap-action {
      background: rgba(0, 117, 255, 0.15);
      border: 1px solid rgba(0, 117, 255, 0.35);
      color: var(--color-blue);
      padding: 6px 14px;
      font-size: 12px;
      font-weight: 700;
      border-radius: 6px;
      cursor: pointer;
      transition: all var(--transition-fast);
    }
    .btn-coin-swap-action:hover {
      background: var(--color-blue);
      color: #fff;
    }

    /* ==========================================================================
       SUPPORT DESK (/support & /support/{token})
       ========================================================================== */
    .support-form-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 18px;
      margin-bottom: 18px;
    }
    .support-field-full {
      grid-column: 1 / -1;
    }
    .support-input-wrap {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    .support-input-wrap label {
      font-size: 12.5px;
      font-weight: 600;
      color: var(--text-secondary);
      letter-spacing: 0.3px;
    }
    .support-input-wrap input,
    .support-input-wrap select,
    .support-input-wrap textarea {
      background: rgba(4, 7, 15, 0.75);
      border: 1px solid rgba(255, 255, 255, 0.14);
      border-radius: 10px;
      color: #fff;
      font-size: 14.5px;
      padding: 12px 14px;
      outline: none;
      transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
      font-family: inherit;
    }
    .support-input-wrap input:focus,
    .support-input-wrap select:focus,
    .support-input-wrap textarea:focus {
      border-color: var(--color-blue);
      box-shadow: 0 0 0 3px var(--color-blue-subtle);
    }
    .support-input-wrap select option {
      background: #0d111e;
      color: #fff;
    }
    .support-input-wrap textarea {
      resize: vertical;
      min-height: 120px;
      line-height: 1.5;
    }
    .support-helper-text {
      font-size: 12px;
      color: var(--text-muted);
    }
    .btn-submit-ticket {
      width: 100%;
      height: 50px;
      background: var(--color-blue);
      color: #fff;
      font-size: 15px;
      font-weight: 700;
      border: none;
      border-radius: 10px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: all var(--transition-fast);
      box-shadow: 0 4px 16px rgba(0, 117, 255, 0.35);
    }
    .btn-submit-ticket:hover {
      background: var(--color-blue-hover);
      transform: translateY(-1px);
      box-shadow: 0 6px 20px rgba(0, 117, 255, 0.5);
    }

    /* Ticket Thread View */
    .ticket-meta-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      padding-bottom: 20px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.10);
      margin-bottom: 24px;
      flex-wrap: wrap;
      gap: 14px;
    }
    .ticket-meta-left h2 {
      font-size: 20px;
      font-weight: 700;
      color: #ffffff;
      margin-bottom: 6px;
    }
    .ticket-meta-tags {
      display: flex;
      gap: 10px;
      align-items: center;
      flex-wrap: wrap;
      font-size: 12.5px;
    }
    .ticket-secret-alert {
      background: rgba(0, 117, 255, 0.08);
      border: 1px solid rgba(0, 117, 255, 0.3);
      border-radius: 12px;
      padding: 16px 20px;
      margin-bottom: 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      flex-wrap: wrap;
    }
    .ticket-secret-info {
      font-size: 13.5px;
      color: #e2e8f0;
    }
    .ticket-secret-info strong {
      color: #fff;
    }
    .ticket-messages-timeline {
      display: flex;
      flex-direction: column;
      gap: 18px;
      margin-bottom: 30px;
    }
    .msg-bubble {
      padding: 18px 22px;
      border-radius: 14px;
      position: relative;
      max-width: 88%;
      line-height: 1.6;
      font-size: 14.5px;
    }
    .msg-bubble.user {
      align-self: flex-start;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.12);
      color: #f1f5f9;
    }
    .msg-bubble.admin {
      align-self: flex-end;
      background: rgba(0, 194, 111, 0.10);
      border: 1px solid rgba(0, 194, 111, 0.35);
      color: #f1f5f9;
    }
    .msg-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      margin-bottom: 8px;
      font-size: 12px;
    }
    .msg-author {
      font-weight: 700;
    }
    .msg-bubble.user .msg-author {
      color: var(--color-blue);
    }
    .msg-bubble.admin .msg-author {
      color: var(--color-green);
    }
    .msg-time {
      color: var(--text-muted);
      font-family: var(--font-mono);
      font-size: 11.5px;
    }
    .ticket-reply-box {
      background: rgba(4, 7, 15, 0.65);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 14px;
      padding: 20px;
    }

    @media (max-width: 768px) {
      .steps-flow-grid {
        grid-template-columns: 1fr;
      }
      .content-card {
        padding: 24px 20px;
      }
      .support-form-grid {
        grid-template-columns: 1fr;
      }
      .calc-row {
        grid-template-columns: 1fr;
      }
      .msg-bubble {
        max-width: 100%;
      }
    }

    /* ==========================================================================
       XRP & XLM WHITE ICON FILTER
       Ensures XRP and XLM vectors display crisp white across forms, dropdowns,
       tables, modals, and footer network pills.
       ========================================================================== */
    img[src*="xrp.svg"],
    img[src*="xlm.svg"] {
      filter: brightness(0) invert(1) !important;
    }

    /* ==========================================================================
       REAL QR CODE SCANNER MODAL (#qr_scanner_modal)
       ========================================================================== */
    .qr-viewfinder-wrap {
      position: relative;
      width: 100%;
      max-width: 380px;
      height: 280px;
      margin: 0 auto;
      background: #000;
      border-radius: 16px;
      overflow: hidden;
      border: 1.5px solid rgba(255, 255, 255, 0.14);
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .qr-viewfinder-wrap video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    .qr-reticle {
      position: absolute;
      inset: 24px;
      pointer-events: none;
      border: 1px solid rgba(255, 255, 255, 0.15);
      border-radius: 12px;
    }
    .qr-corner {
      position: absolute;
      width: 20px;
      height: 20px;
      border-color: #00e5ff;
      border-style: solid;
    }
    .qr-corner.top-left {
      top: -2px; left: -2px;
      border-width: 3px 0 0 3px;
      border-top-left-radius: 8px;
    }
    .qr-corner.top-right {
      top: -2px; right: -2px;
      border-width: 3px 3px 0 0;
      border-top-right-radius: 8px;
    }
    .qr-corner.bottom-left {
      bottom: -2px; left: -2px;
      border-width: 0 0 3px 3px;
      border-bottom-left-radius: 8px;
    }
    .qr-corner.bottom-right {
      bottom: -2px; right: -2px;
      border-width: 0 3px 3px 0;
      border-bottom-right-radius: 8px;
    }
    .qr-laser-line {
      position: absolute;
      left: 0;
      right: 0;
      height: 2px;
      background: linear-gradient(90deg, transparent, #00e5ff, #0075ff, transparent);
      box-shadow: 0 0 12px #00e5ff;
      animation: qrLaserScan 2s ease-in-out infinite;
    }
    @keyframes qrLaserScan {
      0% { top: 10%; opacity: 0.2; }
      50% { top: 85%; opacity: 1; }
      100% { top: 10%; opacity: 0.2; }
    }
    .qr-scanner-loading {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 12px;
      background: rgba(10, 14, 26, 0.95);
      color: var(--text-secondary);
      font-size: 13px;
    }
    .btn-qr-action {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 9px 15px;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.15);
      border-radius: 10px;
      color: #fff;
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      transition: all var(--transition-fast);
      font-family: inherit;
    }
    .btn-qr-action:hover {
      background: rgba(255, 255, 255, 0.15);
      border-color: rgba(255, 255, 255, 0.3);
      transform: translateY(-1px);
    }

