    @import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

    :root {
      --bg: #0f172a;
      --bg-soft: rgba(15, 23, 42, 0.72);
      --card: rgba(30, 41, 59, 0.7);
      --card-solid: #1e293b;
      --text: #e5e7eb;
      --text-soft: #94a3b8;
      --text-strong: #f8fafc;
      --border: rgba(148, 163, 184, 0.18);
      --accent: #00f0ff;
      --accent-strong: #00c8ff;
      --success: #22c55e;
      --shadow: 0 24px 80px rgba(2, 8, 23, 0.32);
      --surface-glow: radial-gradient(circle at top right, rgba(0, 240, 255, 0.16), transparent 35%);
    }

    body.light-theme {
      --bg: #f8f9fa;
      --bg-soft: rgba(248, 249, 250, 0.76);
      --card: rgba(255, 255, 255, 0.82);
      --card-solid: #ffffff;
      --text: #0f172a;
      --text-soft: #64748b;
      --text-strong: #020617;
      --border: rgba(148, 163, 184, 0.22);
      --shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
      --surface-glow: radial-gradient(circle at top right, rgba(0, 240, 255, 0.12), transparent 35%);
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      min-height: 100vh;
      font-family: "Inter", sans-serif;
      font-size: 15px;
      color: var(--text);
      background:
        radial-gradient(circle at 10% 10%, rgba(0, 240, 255, 0.12), transparent 30%),
        radial-gradient(circle at 90% 20%, rgba(56, 189, 248, 0.08), transparent 25%),
        linear-gradient(180deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 88%, black) 100%);
      transition: background 0.25s ease, color 0.25s ease;
    }

    .glass {
      background: var(--surface-glow), var(--card);
      border: 1px solid var(--border);
      border-radius: 22px;
      box-shadow: var(--shadow);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
    }

    .glass-soft {
      background: var(--bg-soft);
      border: 1px solid var(--border);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
    }

    .theme-toggle {
      position: relative;
      width: 56px;
      height: 32px;
      border-radius: 999px;
      border: 1px solid var(--border);
      background: var(--card-solid);
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .theme-toggle::after {
      content: "";
      position: absolute;
      top: 4px;
      left: 4px;
      width: 22px;
      height: 22px;
      border-radius: 999px;
      background: linear-gradient(135deg, #00f0ff, #00c8ff);
      box-shadow: 0 0 15px rgba(0, 240, 255, 0.35);
      transition: transform 0.2s ease;
    }

    body.light-theme .theme-toggle::after {
      transform: translateX(24px);
    }

    .theme-icon {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      font-size: 12px;
      color: var(--text-soft);
      pointer-events: none;
    }

    .theme-icon.sun {
      right: 8px;
    }

    .theme-icon.moon {
      left: 8px;
    }

    .logo-mark {
      width: 42px;
      height: 42px;
      flex-shrink: 0;
      filter: drop-shadow(0 0 18px rgba(0, 240, 255, 0.22));
    }

    .nav-link {
      color: var(--text-soft);
      transition: color 0.2s ease;
    }

    .nav-link:hover {
      color: var(--text-strong);
    }

    .neon-input {
      border: 2px solid #00f0ff;
      box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
    }

    input[type="number"]::-webkit-outer-spin-button,
    input[type="number"]::-webkit-inner-spin-button {
      -webkit-appearance: none;
      margin: 0;
    }

    input[type="number"] {
      -moz-appearance: textfield;
    }

    input,
    select,
    textarea,
    button {
      font: inherit;
    }

    select,
    input,
    textarea {
      width: 100%;
      border-radius: 12px;
      background: color-mix(in srgb, var(--card-solid) 92%, transparent);
      color: var(--text-strong);
      outline: none;
      transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    }

    select:focus,
    textarea:focus,
    input:focus {
      transform: translateY(-1px);
    }

    textarea {
      resize: vertical;
      min-height: 110px;
    }

    .hidden-native-select {
      position: absolute;
      opacity: 0;
      pointer-events: none;
      width: 0;
      height: 0;
    }

    .exchange-grid {
      display: grid;
      gap: 1.25rem;
      align-items: start;
    }

    @media (min-width: 1100px) {
      .exchange-grid {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
      }
    }

    .exchange-showcase {
      position: relative;
      overflow: hidden;
    }

    .exchange-showcase::before {
      content: "";
      position: absolute;
      inset: auto -10% -30% -10%;
      height: 58%;
      background:
        radial-gradient(circle at 12% 50%, rgba(88, 28, 135, 0.28), transparent 35%),
        radial-gradient(circle at 90% 35%, rgba(59, 130, 246, 0.24), transparent 30%),
        linear-gradient(180deg, rgba(76, 29, 149, 0.12), rgba(15, 23, 42, 0));
      pointer-events: none;
      opacity: 0.95;
    }

    .exchange-showcase > * {
      position: relative;
      z-index: 1;
    }

    .field-caption {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 1rem;
      margin-bottom: 0.65rem;
    }

    .field-caption .caption-label {
      font-size: 0.8rem;
      font-weight: 700;
      letter-spacing: -0.01em;
    }

    .field-caption .caption-name {
      font-size: 0.8rem;
      color: var(--text-soft);
      text-align: right;
    }

    .lane-send .caption-label,
    .lane-send .caption-name {
      color: #63e6c6;
    }

    .lane-receive .caption-label,
    .lane-receive .caption-name {
      color: #ffd15a;
    }

    .exchange-lane {
      display: flex;
      align-items: stretch;
      min-height: 82px;
      border-radius: 18px;
      background: color-mix(in srgb, var(--card-solid) 95%, transparent);
      position: relative;
      overflow: visible;
    }

    .lane-send .exchange-lane {
      border: 1.5px solid rgba(99, 230, 198, 0.92);
      box-shadow: 0 0 0 1px rgba(99, 230, 198, 0.1), 0 0 34px rgba(99, 230, 198, 0.08);
    }

    .lane-receive .exchange-lane {
      border: 1.5px solid rgba(255, 209, 90, 0.92);
      box-shadow: 0 0 0 1px rgba(255, 209, 90, 0.1), 0 0 34px rgba(255, 209, 90, 0.08);
    }

    .amount-input {
      flex: 1 1 auto;
      min-width: 0;
      border: 0;
      border-radius: 18px 0 0 18px;
      background: transparent;
      box-shadow: none;
      padding: 0.9rem 1rem;
      font-size: clamp(1.35rem, 2.5vw, 2rem);
      line-height: 1;
      font-weight: 500;
      letter-spacing: -0.04em;
      color: var(--text-strong);
    }

    .amount-input:focus {
      transform: none;
    }

    .lane-send .amount-input {
      color: #63e6c6;
    }

    .lane-receive .amount-input {
      color: #ffd15a;
    }

    .coin-picker-shell {
      position: relative;
      width: min(208px, 39%);
      min-width: 162px;
      flex: 0 0 auto;
      align-self: stretch;
      border-left: 1px solid rgba(148, 163, 184, 0.12);
    }

    .coin-picker-button {
      width: 100%;
      height: 100%;
      min-height: 100%;
      border: 0;
      background: transparent;
      color: var(--text-strong);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      padding: 0.65rem 0.8rem 0.65rem 0.75rem;
      cursor: pointer;
    }

    .coin-picker-button:hover {
      background: rgba(255, 255, 255, 0.03);
    }

    .coin-picker-button:focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: -2px;
    }

    .coin-picker-value {
      min-width: 0;
      display: flex;
      align-items: center;
      gap: 0.7rem;
      align-self: center;
    }

    .coin-icon {
      width: 36px;
      height: 36px;
      flex: 0 0 auto;
      filter: drop-shadow(0 8px 20px rgba(15, 23, 42, 0.24));
    }

    .coin-copy {
      min-width: 0;
      text-align: left;
    }

    .coin-copy .symbol {
      display: block;
      font-size: 0.88rem;
      font-weight: 800;
      letter-spacing: -0.02em;
      color: var(--text-strong);
      white-space: nowrap;
    }

    .coin-copy .network {
      display: block;
      margin-top: 0.14rem;
      font-size: 0.62rem;
      font-weight: 700;
      letter-spacing: 0.03em;
      text-transform: uppercase;
      color: var(--text-soft);
      white-space: nowrap;
    }

    .coin-chevron {
      width: 12px;
      height: 12px;
      flex: 0 0 auto;
      border-right: 2px solid currentColor;
      border-bottom: 2px solid currentColor;
      transform: rotate(45deg);
      color: var(--text-soft);
      transition: transform 0.2s ease;
    }

    .coin-picker.open .coin-chevron {
      transform: rotate(225deg) translateY(-2px);
    }

    .coin-picker-menu {
      position: absolute;
      top: calc(100% + 12px);
      right: 0;
      width: min(340px, 90vw);
      max-height: 360px;
      overflow: auto;
      padding: 0.7rem;
      border-radius: 22px;
      background: color-mix(in srgb, var(--card-solid) 96%, transparent);
      border: 1px solid var(--border);
      box-shadow: 0 22px 60px rgba(2, 8, 23, 0.34);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      opacity: 0;
      visibility: hidden;
      transform: translateY(8px);
      transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
      z-index: 20;
    }

    .coin-picker.open .coin-picker-menu {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    .coin-option {
      width: 100%;
      border: 0;
      background: transparent;
      border-radius: 18px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      padding: 0.8rem 0.85rem;
      cursor: pointer;
      color: var(--text-strong);
      transition: background 0.16s ease, transform 0.16s ease;
    }

    .coin-option:hover {
      background: rgba(255, 255, 255, 0.05);
      transform: translateY(-1px);
    }

    .coin-option.active {
      background: rgba(0, 240, 255, 0.1);
      box-shadow: inset 0 0 0 1px rgba(0, 240, 255, 0.18);
    }

    .coin-option-left {
      min-width: 0;
      display: flex;
      align-items: center;
      gap: 0.85rem;
    }

    .coin-option-check {
      width: 18px;
      height: 18px;
      border-radius: 999px;
      border: 1.5px solid rgba(148, 163, 184, 0.35);
      position: relative;
      flex: 0 0 auto;
    }

    .coin-option.active .coin-option-check {
      border-color: rgba(0, 240, 255, 0.85);
      box-shadow: 0 0 18px rgba(0, 240, 255, 0.22);
    }

    .coin-option.active .coin-option-check::after {
      content: "";
      position: absolute;
      inset: 3px;
      border-radius: 999px;
      background: #00f0ff;
    }

    .coin-option-copy {
      min-width: 0;
      text-align: left;
    }

    .coin-option-copy strong {
      display: block;
      font-size: 0.95rem;
      line-height: 1.2;
    }

    .coin-option-copy span {
      display: block;
      margin-top: 0.16rem;
      font-size: 0.78rem;
      color: var(--text-soft);
    }

    .lane-meta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      margin-top: 0.7rem;
      padding: 0 0.1rem;
      font-size: 0.82rem;
      color: var(--text-soft);
    }

    .lane-meta strong {
      font-weight: 600;
      color: var(--text);
    }

    .swap-indicator {
      display: flex;
      align-items: center;
      justify-content: center;
      padding-top: 2.1rem;
    }

    .swap-indicator-chip {
      width: 42px;
      height: 42px;
      border-radius: 999px;
      display: grid;
      place-items: center;
      font-size: 1.25rem;
      font-weight: 700;
      color: #ffd15a;
      background: rgba(15, 23, 42, 0.8);
      border: 1px solid rgba(255, 209, 90, 0.26);
      box-shadow: 0 0 24px rgba(255, 209, 90, 0.12);
    }

    .destination-block {
      margin-top: 0.25rem;
    }

    .destination-shell {
      display: flex;
      align-items: center;
      gap: 1rem;
      min-height: 76px;
      padding: 0.65rem 0.85rem 0.65rem 0.25rem;
      border-radius: 20px;
      border: 1px solid rgba(148, 163, 184, 0.14);
      background: color-mix(in srgb, var(--card-solid) 95%, transparent);
    }

    .destination-input {
      border: 0;
      background: transparent;
      box-shadow: none;
      font-size: clamp(0.98rem, 1.8vw, 1.25rem);
      color: var(--text-strong);
    }

    .destination-input:focus {
      transform: none;
    }

    .destination-input::placeholder {
      color: color-mix(in srgb, var(--text-soft) 82%, transparent);
    }

    .destination-tools {
      display: flex;
      align-items: center;
      gap: 0.8rem;
      color: var(--text-strong);
      flex: 0 0 auto;
    }

    .destination-tool {
      width: 38px;
      height: 38px;
      display: grid;
      place-items: center;
      border-radius: 14px;
      border: 1px solid rgba(148, 163, 184, 0.16);
      background: rgba(255, 255, 255, 0.03);
      font-size: 1rem;
    }

    .exchange-actions {
      display: grid;
      gap: 1.25rem;
      align-items: end;
      grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    }

    .order-type-wrap {
      display: grid;
      gap: 0.8rem;
    }

    .order-type-label {
      margin: 0;
      font-size: 0.82rem;
      font-weight: 700;
      color: var(--text-strong);
    }

    .order-type-controls {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      flex-wrap: wrap;
    }

    .order-type-chip {
      min-width: 170px;
      padding: 0.85rem 1rem;
      border-radius: 18px;
      border: 1px solid rgba(148, 163, 184, 0.16);
      background: rgba(15, 23, 42, 0.36);
      color: var(--text-soft);
      font-weight: 700;
      font-size: 0.95rem;
    }

    .order-type-chip.active {
      color: var(--accent);
      border-color: rgba(0, 240, 255, 0.42);
      box-shadow: inset 0 0 0 1px rgba(0, 240, 255, 0.18), 0 0 28px rgba(0, 240, 255, 0.1);
    }

    .order-type-help {
      width: 36px;
      height: 36px;
      border-radius: 999px;
      display: grid;
      place-items: center;
      background: rgba(15, 23, 42, 0.64);
      border: 1px solid rgba(148, 163, 184, 0.16);
      color: var(--text-strong);
      font-weight: 700;
    }

    .exchange-submit {
      min-height: 62px;
      font-size: 0.96rem;
    }

    .exchange-footer {
      display: grid;
      gap: 0.45rem;
      justify-items: start;
      padding-left: 0.1rem;
      font-size: 0.88rem;
    }

    .gradient-button {
      background: linear-gradient(135deg, #00f0ff 0%, #0ea5e9 55%, #7c3aed 100%);
      color: #03111c;
      font-weight: 700;
      font-size: 0.95rem;
      box-shadow: 0 18px 40px rgba(0, 240, 255, 0.22);
      transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    }

    .gradient-button:hover {
      transform: translateY(-1px);
      box-shadow: 0 22px 44px rgba(0, 240, 255, 0.3);
    }

    .ghost-button {
      border: 1px solid var(--border);
      color: var(--text);
      background: transparent;
      font-size: 0.93rem;
      transition: background 0.2s ease;
    }

    .ghost-button:hover {
      background: rgba(0, 240, 255, 0.08);
    }

    .step-item {
      position: relative;
      padding-left: 56px;
    }

    .step-item::before {
      content: "";
      position: absolute;
      left: 20px;
      top: 36px;
      width: 2px;
      height: calc(100% - 12px);
      background: rgba(148, 163, 184, 0.25);
    }

    .step-item:last-child::before {
      display: none;
    }

    .step-dot {
      position: absolute;
      left: 0;
      top: 2px;
      width: 40px;
      height: 40px;
      border-radius: 999px;
      border: 1px solid var(--border);
      background: color-mix(in srgb, var(--card-solid) 92%, transparent);
      display: grid;
      place-items: center;
      color: var(--text-soft);
      font-weight: 700;
    }

    .step-dot.active {
      border-color: rgba(0, 240, 255, 0.7);
      color: var(--accent);
      box-shadow: 0 0 24px rgba(0, 240, 255, 0.26);
    }

    .step-dot.done {
      border-color: rgba(34, 197, 94, 0.65);
      color: #dcfce7;
      background: rgba(34, 197, 94, 0.24);
    }

    .status-pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      border-radius: 999px;
      padding: 7px 12px;
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      background: rgba(148, 163, 184, 0.14);
      color: var(--text-soft);
    }

    .status-pill.created {
      background: rgba(0, 240, 255, 0.12);
      color: var(--accent);
    }

    .status-pill.paid,
    .status-pill.awaiting_confirmation {
      background: rgba(245, 158, 11, 0.14);
      color: #fbbf24;
    }

    .status-pill.completed {
      background: rgba(34, 197, 94, 0.16);
      color: #4ade80;
    }

    .status-pill.cancelled {
      background: rgba(239, 68, 68, 0.15);
      color: #f87171;
    }

    .admin-overlay {
      position: fixed;
      inset: 0;
      z-index: 50;
      display: none;
      padding: 24px;
      background: rgba(2, 6, 23, 0.7);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
    }

    .admin-overlay.open {
      display: block;
    }

    .admin-panel {
      max-width: 1320px;
      margin: 0 auto;
      max-height: calc(100vh - 48px);
      overflow: auto;
    }

    .admin-table {
      width: 100%;
      border-collapse: separate;
      border-spacing: 0 10px;
    }

    .admin-table th {
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--text-soft);
      text-align: left;
      padding: 0 10px 8px;
    }

    .admin-table td {
      padding: 8px;
      vertical-align: top;
      background: color-mix(in srgb, var(--card-solid) 88%, transparent);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }

    .admin-table td:first-child {
      border-left: 1px solid var(--border);
      border-top-left-radius: 16px;
      border-bottom-left-radius: 16px;
    }

    .admin-table td:last-child {
      border-right: 1px solid var(--border);
      border-top-right-radius: 16px;
      border-bottom-right-radius: 16px;
    }

    .admin-tab {
      border: 1px solid var(--border);
      border-radius: 999px;
      padding: 10px 16px;
      background: transparent;
      color: var(--text-soft);
      font-size: 13px;
      font-weight: 700;
      transition: all 0.2s ease;
    }

    .admin-tab.active {
      background: rgba(0, 240, 255, 0.12);
      color: var(--accent);
      border-color: rgba(0, 240, 255, 0.24);
      box-shadow: 0 0 18px rgba(0, 240, 255, 0.16);
    }

    .mini-field {
      min-width: 140px;
      padding: 9px 11px;
      font-size: 12px;
      border: 1px solid var(--border);
      border-radius: 10px;
      background: color-mix(in srgb, var(--card-solid) 92%, transparent);
      color: var(--text);
    }

    .mini-field.comment {
      min-width: 220px;
      min-height: 88px;
    }

    .faq-item summary {
      list-style: none;
      cursor: pointer;
    }

    .faq-item summary::-webkit-details-marker {
      display: none;
    }

    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      border: 0;
    }

    @media (max-width: 768px) {
      .exchange-grid {
        grid-template-columns: 1fr;
      }

      .swap-indicator {
        padding-top: 0;
      }

      .swap-indicator-chip {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
      }

      .exchange-lane {
        min-height: 74px;
      }

      .amount-input {
        font-size: 1.55rem;
        padding: 0.8rem 0.85rem;
      }

      .coin-picker-shell {
        width: auto;
        min-width: 134px;
      }

      .coin-picker-button {
        padding: 0.58rem 0.65rem;
        gap: 0.5rem;
      }

      .coin-icon {
        width: 30px;
        height: 30px;
      }

      .coin-copy .symbol {
        font-size: 0.78rem;
      }

      .coin-copy .network {
        font-size: 0.58rem;
      }

      .field-caption {
        margin-bottom: 0.5rem;
      }

      .destination-shell {
        min-height: 68px;
        padding-right: 0.8rem;
      }

      .destination-tool {
        width: 34px;
        height: 34px;
      }

      .exchange-actions {
        grid-template-columns: 1fr;
      }

      .order-type-chip {
        min-width: 140px;
        flex: 1 1 0;
      }

      .admin-table,
      .admin-table thead,
      .admin-table tbody,
      .admin-table tr,
      .admin-table th,
      .admin-table td {
        display: block;
        width: 100%;
      }

      .admin-table thead {
        display: none;
      }

      .admin-table td {
        border: 1px solid var(--border) !important;
        border-radius: 14px !important;
        margin-bottom: 10px;
      }

      .admin-table td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 6px;
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: var(--text-soft);
      }
    }

    .hidden {
      display: none !important;
    }

    .wide-layout {
      max-width: min(1600px, calc(100vw - 24px)) !important;
    }

    .view-card {
      border: 1px solid var(--border);
      border-radius: 20px;
      background: color-mix(in srgb, var(--card-solid) 92%, transparent);
    }

    .step-board {
      display: grid;
      gap: 1rem;
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .step-board-item {
      padding: 1.1rem 1rem;
      border-radius: 18px;
      border: 1px solid var(--border);
      background: color-mix(in srgb, var(--card-solid) 90%, transparent);
    }

    .step-board-item.active {
      border-color: rgba(0, 240, 255, 0.35);
      box-shadow: 0 0 22px rgba(0, 240, 255, 0.15);
    }

    .step-board-item.done {
      border-color: rgba(34, 197, 94, 0.35);
      box-shadow: 0 0 22px rgba(34, 197, 94, 0.12);
    }

    .auth-card {
      max-width: 560px;
    }

    .orders-grid {
      display: grid;
      gap: 1rem;
    }

    .order-list-card {
      padding: 1rem;
      border-radius: 20px;
      border: 1px solid var(--border);
      background: color-mix(in srgb, var(--card-solid) 92%, transparent);
    }

    .order-list-card:hover {
      border-color: rgba(0, 240, 255, 0.25);
    }

    .inline-link {
      color: var(--accent);
      text-decoration: none;
    }

    .inline-link:hover {
      text-decoration: underline;
    }

    .order-hero {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
      gap: 1.25rem;
      align-items: center;
      padding: 1.2rem 1.35rem;
      border-radius: 24px;
      border: 1px solid rgba(255, 255, 255, 0.06);
      background:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.06), transparent 30%),
        radial-gradient(circle at 85% 10%, rgba(0, 240, 255, 0.08), transparent 28%),
        color-mix(in srgb, var(--card-solid) 95%, transparent);
    }

    .order-hero-column {
      min-width: 0;
      text-align: center;
    }

    .order-hero-label {
      margin: 0;
      font-size: 0.78rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--text-soft);
    }

    .order-hero-value {
      margin-top: 0.7rem;
      font-size: clamp(1.45rem, 3vw, 2.3rem);
      font-weight: 700;
      letter-spacing: -0.04em;
      line-height: 1;
    }

    .order-hero-send {
      color: #ffd15a;
    }

    .order-hero-receive {
      color: #63e6c6;
    }

    .order-hero-meta {
      margin: 0.8rem auto 0;
      max-width: 100%;
      overflow-wrap: anywhere;
      font-size: 0.82rem;
      color: var(--text-soft);
    }

    .order-hero-arrow {
      font-size: 2.1rem;
      line-height: 1;
      color: rgba(255, 255, 255, 0.9);
    }

    .order-layout {
      display: grid;
      gap: 1.4rem;
      margin-top: 1.1rem;
      grid-template-columns: 280px minmax(0, 1fr) 300px;
      align-items: stretch;
    }

    .order-side-card,
    .order-main-card,
    .order-qr-card {
      border-radius: 24px;
      border: 1px solid rgba(255, 255, 255, 0.06);
      background:
        radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.05), transparent 28%),
        color-mix(in srgb, var(--card-solid) 95%, transparent);
      box-shadow: 0 18px 50px rgba(2, 8, 23, 0.18);
    }

    .order-side-card {
      padding: 1.05rem;
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .order-meta-block {
      padding-bottom: 1rem;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .order-meta-block:last-child {
      padding-bottom: 0;
      border-bottom: 0;
    }

    .order-meta-label {
      margin: 0;
      font-size: 0.72rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--text-soft);
    }

    .order-meta-value {
      margin: 0.55rem 0 0;
      font-size: 1.35rem;
      font-weight: 700;
      color: var(--text-strong);
      overflow-wrap: anywhere;
    }

    .order-meta-subtle,
    .order-meta-link {
      margin: 0.55rem 0 0;
      font-size: 0.82rem;
      line-height: 1.6;
      color: var(--text);
      overflow-wrap: anywhere;
    }

    .order-meta-link a,
    .order-meta-link {
      color: var(--accent);
    }

    .order-main-card {
      padding: 1.2rem 1.25rem;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .order-main-kicker {
      margin: 0;
      font-size: 0.72rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--text-soft);
    }

    .order-main-title {
      margin: 0.7rem 0 0;
      font-size: clamp(1.18rem, 1.6vw, 1.55rem);
      font-weight: 700;
      color: var(--text-strong);
    }

    .order-main-wallet {
      margin: 1rem 0 0;
      font-size: clamp(1.05rem, 1.7vw, 1.4rem);
      line-height: 1.2;
      font-weight: 700;
      letter-spacing: -0.03em;
      color: var(--text-strong);
      overflow-wrap: anywhere;
    }

    .order-main-wallet-small {
      font-size: 0.98rem;
      font-weight: 600;
      line-height: 1.5;
    }

    .order-main-note {
      margin: 1.1rem 0 0;
      font-size: 0.88rem;
      line-height: 1.6;
      color: var(--text-soft);
    }

    .order-main-divider {
      height: 1px;
      margin: 1rem 0;
      background: rgba(255, 255, 255, 0.1);
    }

    .order-qr-card {
      padding: 0.8rem;
      display: flex;
      flex-direction: column;
      gap: 0.9rem;
      justify-content: space-between;
    }

    .order-qr-box {
      aspect-ratio: 1;
      width: 100%;
      border-radius: 20px;
      background: #fff;
      padding: 1rem;
    }

    .order-qr-pattern {
      width: 100%;
      height: 100%;
      border-radius: 14px;
      background:
        linear-gradient(90deg, #000 10%, transparent 10%, transparent 20%, #000 20%, #000 30%, transparent 30%, transparent 40%, #000 40%, #000 50%, transparent 50%, transparent 60%, #000 60%, #000 70%, transparent 70%, transparent 80%, #000 80%),
        linear-gradient(#000 10%, transparent 10%, transparent 20%, #000 20%, #000 30%, transparent 30%, transparent 40%, #000 40%, #000 50%, transparent 50%, transparent 60%, #000 60%, #000 70%, transparent 70%, transparent 80%, #000 80%);
      background-size: 26px 26px;
      background-position: center;
      filter: contrast(1.15);
    }

    .order-qr-tabs {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.35rem;
    }

    .order-qr-tab {
      padding: 0.72rem 0.65rem;
      border-radius: 14px;
      background: rgba(255, 255, 255, 0.08);
      text-align: center;
      font-size: 0.8rem;
      font-weight: 700;
      color: var(--text-soft);
    }

    .order-qr-tab.active {
      background: rgba(255, 255, 255, 0.14);
      color: var(--text-strong);
    }

    .order-action-row {
      display: flex;
      justify-content: flex-end;
      margin-top: 1rem;
    }

    .order-steps {
      display: grid;
      gap: 0.9rem;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      align-items: start;
    }

    .step-board-item {
      position: relative;
      padding: 1rem 0.85rem 0.9rem;
      border-radius: 20px;
      border: 1px solid var(--border);
      background: color-mix(in srgb, var(--card-solid) 90%, transparent);
      text-align: center;
    }

    .step-board-item::before {
      content: "";
      position: absolute;
      top: 32px;
      left: -0.95rem;
      width: 1.9rem;
      height: 2px;
      background: rgba(148, 163, 184, 0.28);
    }

    .step-board-item:first-child::before {
      display: none;
    }

    .step-board-icon {
      width: 56px;
      height: 56px;
      margin: 0 auto 0.75rem;
      border-radius: 999px;
      display: grid;
      place-items: center;
      font-size: 1.2rem;
      background: rgba(59, 130, 246, 0.16);
      color: rgba(191, 219, 254, 0.9);
      box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.14);
    }

    .step-board-item.active .step-board-icon {
      background: rgba(0, 240, 255, 0.16);
      color: var(--accent);
      box-shadow: 0 0 22px rgba(0, 240, 255, 0.18);
    }

    .step-board-item.done .step-board-icon {
      background: rgba(34, 197, 94, 0.18);
      color: #86efac;
      box-shadow: 0 0 22px rgba(34, 197, 94, 0.16);
    }

    .step-board-item.cancelled .step-board-icon {
      background: rgba(239, 68, 68, 0.15);
      color: #fca5a5;
      box-shadow: 0 0 18px rgba(239, 68, 68, 0.12);
    }

    @media (max-width: 1180px) {
      .order-layout {
        grid-template-columns: 240px minmax(0, 1fr);
      }

      .order-qr-card {
        grid-column: 1 / -1;
        max-width: 320px;
      }
    }

    @media (max-width: 900px) {
      .order-hero {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
      }

      .order-hero-arrow {
        transform: rotate(90deg);
      }

      .order-layout {
        grid-template-columns: 1fr;
      }

      .order-qr-card {
        max-width: none;
      }

      .order-action-row {
        justify-content: stretch;
      }

      .order-action-row .gradient-button {
        width: 100%;
      }

      .order-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .step-board-item::before {
        display: none;
      }
    }

    @media (max-width: 640px) {
      .order-hero {
        padding: 1.2rem 1rem;
      }

      .order-main-card,
      .order-side-card,
      .order-qr-card {
        padding-left: 1rem;
        padding-right: 1rem;
      }

      .order-meta-value {
        font-size: 1.45rem;
      }

      .order-main-title {
        font-size: 1.35rem;
      }

      .order-main-wallet {
        font-size: 1.15rem;
      }

      .order-steps {
        grid-template-columns: 1fr;
      }
    }
