:root { --page-bg: var(--hy-theme-bg, #fbf8ff); --card-bg: var(--hy-theme-surface, rgba(255, 255, 255, 0.96)); --text: var(--hy-theme-text, #282333); --muted: var(--hy-theme-muted, #8d879a); --soft: var(--hy-theme-primary-soft, #f4ebff); --line: var(--hy-theme-line, #f0e8fb); --primary: var(--hy-theme-primary, #dbc8ff); --primary-strong: var(--hy-theme-primary-strong, #c5a6f6); --primary-deep: var(--hy-theme-primary-deep, #7d57c7); --gold: #e3b55b; --shadow: var(--hy-theme-shadow, 0 10px 24px rgba(132, 90, 212, 0.075)); --button: var(--hy-theme-button, #7d57c7); --button-disabled: var(--hy-theme-button-disabled, #eadffc); --button-disabled-text: var(--hy-theme-button-disabled-text, #9a8faa); } * { box-sizing: border-box; } html, body { width: 100%; min-height: 100%; margin: 0; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; } body { display: flex; justify-content: center; background: #111; color: var(--text); font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; } button, input { font: inherit; } button { border: 0; padding: 0; background: transparent; color: inherit; } button:focus { outline: none; } button:focus-visible { outline: 2px solid rgba(125, 87, 199, 0.28); outline-offset: 2px; } input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--text); } [hidden] { display: none !important; } .withdraw-exchange-page { position: relative; width: 100%; max-width: 430px; min-height: 100vh; min-height: 100dvh; overflow: hidden auto; background: var(--page-bg); } .hero-bg { position: absolute; inset: 0 0 auto; height: 215px; background: var( --hy-theme-hero, linear-gradient( 151deg, #f0e6ff 0%, #fffbff 58%, rgba(251, 248, 255, 0.88) 100% ) ); clip-path: polygon(0 0, 100% 0, 100% 76%, 70% 47%, 40% 58%, 0 78%); } .title-bar, .content, .home-indicator { position: relative; z-index: 1; } .title-bar { display: grid; grid-template-columns: 52px 1fr 52px; align-items: center; z-index: 12; height: 60px; padding: 0 14px; direction: ltr; } .title-bar h1 { margin: 0; color: #24282e; font-size: 22px; font-weight: 950; line-height: 1; text-align: center; } .back-button { display: flex; align-items: center; justify-content: flex-start; width: 44px; height: 44px; } .back-button svg { width: 28px; height: 28px; } .back-button path { fill: none; stroke: #24282e; stroke-linecap: round; stroke-linejoin: round; stroke-width: 3; } .language-switcher { position: relative; justify-self: end; } .language-button { display: flex; align-items: center; justify-content: center; width: 42px; height: 30px; border: 1px solid rgba(35, 40, 46, 0.12); border-radius: 15px; background: rgba(255, 255, 255, 0.72); color: #25282e; font-size: 13px; font-weight: 900; box-shadow: 0 4px 12px rgba(132, 90, 212, 0.08); } .language-menu { position: absolute; z-index: 30; top: calc(100% + 7px); right: 0; display: grid; gap: 2px; min-width: 72px; padding: 5px; border: 1px solid rgba(35, 40, 46, 0.1); border-radius: 8px; background: rgba(255, 255, 255, 0.96); box-shadow: 0 10px 26px rgba(36, 46, 60, 0.14); } .language-menu button { min-height: 34px; border-radius: 6px; color: #25282e; font-size: 12px; font-weight: 900; } .language-menu button.is-active { background: var(--soft); color: var(--primary-deep); } .content { display: flex; flex-direction: column; gap: 14px; padding: 8px 14px 92px; } .balance-card, .mode-card, .card-section { width: 100%; border-radius: 8px; background: var(--card-bg); box-shadow: var(--shadow); } .balance-card { padding: 20px 24px 19px; } .balance-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; } .balance-label { color: var(--muted); font-size: 15px; font-weight: 850; } .balance-history-button { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%; background: var(--soft); color: var(--primary-deep); } .balance-history-button svg { width: 26px; height: 26px; } .balance-history-button path { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.8; } .balance-value { display: flex; align-items: center; margin-top: 13px; color: #23272d; font-size: 38px; font-weight: 950; line-height: 1.05; } .balance-currency { flex: 0 0 auto; margin-right: 8px; color: var(--gold); font-size: 31px; font-weight: 950; line-height: 1; } .mode-card { padding: 16px; } .mode-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 8px; background: var(--soft); } .mode-tab { min-height: 46px; border-radius: 7px; color: var(--muted); font-size: 15px; font-weight: 950; } .mode-tab.active { background: #fff; color: var(--text); box-shadow: 0 5px 14px rgba(132, 90, 212, 0.1); } .mode-panel { display: none; margin-top: 18px; } .mode-panel.active { display: block; } .field { display: block; } .field > span { display: block; margin-bottom: 8px; color: #4a4d53; font-size: 15px; font-weight: 850; } .field-control, .field input { min-height: 52px; border-radius: 8px; background: var(--hy-theme-surface-soft, #fdfaff); } .field input { padding: 0 14px; } .amount-control { display: flex; align-items: center; padding: 0 14px; } .amount-control span { flex: 0 0 auto; margin-right: 9px; color: var(--gold); font-size: 24px; font-weight: 950; } .amount-control input { min-height: 0; padding: 0; background: transparent; font-size: 23px; font-weight: 900; } .hint-row, .exchange-preview { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; color: var(--muted); font-size: 13px; font-weight: 800; } .text-action { color: var(--primary-deep); font-weight: 950; } .exchange-preview strong { color: #24282e; } .transfer-search { display: grid; grid-template-columns: minmax(0, 1fr) minmax(82px, 108px); gap: 10px; align-items: center; } .transfer-search input { min-height: 52px; padding: 0 14px; border-radius: 8px; background: var(--hy-theme-surface-soft, #fdfaff); } .search-payee-button { min-width: 0; min-height: 52px; padding: 0 14px; border-radius: 8px; background: var(--button); color: #fff; font-size: 15px; font-weight: 950; } .search-payee-button:disabled { background: var(--button-disabled); color: var(--button-disabled-text); } .payee-result { display: flex; align-items: center; gap: 12px; min-height: 68px; margin-top: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--hy-theme-surface-soft, #fdfaff); } .payee-avatar { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: 0 0 44px; overflow: hidden; border-radius: 50%; background: var(--soft); color: var(--primary-deep); font-weight: 950; } .payee-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; } .payee-copy { min-width: 0; flex: 1; } .payee-name { overflow: hidden; color: #25282e; font-size: 15px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; } .payee-id { margin-top: 4px; overflow: hidden; color: var(--muted); font-size: 12px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; } .transfer-amount-field { margin-top: 14px; } .card-section { padding: 18px 16px; } .section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; } .section-title { color: #24282e; font-size: 17px; font-weight: 900; } .section-subtitle { margin-top: 4px; color: var(--muted); font-size: 13px; font-weight: 750; } .empty-address-state { display: flex; align-items: center; gap: 13px; min-height: 76px; margin-top: 16px; padding: 13px; border: 1px dashed var(--line); border-radius: 8px; background: var(--hy-theme-surface-soft, #fdfaff); } .empty-icon { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%; background: var(--soft); } .empty-icon svg { width: 24px; height: 24px; } .empty-icon path { fill: none; stroke: var(--primary-deep); stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.2; } .empty-title { color: #292d33; font-size: 15px; font-weight: 900; } .empty-copy { margin-top: 3px; color: var(--muted); font-size: 12px; font-weight: 750; line-height: 1.25; } .address-form { display: flex; flex-direction: column; margin-top: 14px; } .address-form input { min-height: 48px; padding: 0 14px; border-radius: 8px; background: var(--hy-theme-surface-soft, #fdfaff); } .bound-address-card { display: grid; grid-template-columns: 56px minmax(0, 1fr) 38px; align-items: center; column-gap: 14px; row-gap: 11px; min-height: 86px; margin-top: 16px; padding: 14px; border-radius: 8px; background: linear-gradient(135deg, #4a3378 0%, #7d57c7 100%); color: #fff; } .network-badge { display: flex; align-items: center; justify-content: center; width: 56px; height: 32px; flex: 0 0 56px; border-radius: 7px; background: linear-gradient(135deg, #ffe58b 0%, #c8942e 100%); color: #1f252c; font-size: 12px; font-weight: 950; } .bound-copy { min-width: 0; flex: 1 1 auto; } .bound-network { font-size: 15px; font-weight: 900; } .bound-address { display: block; grid-column: 1 / -1; color: rgba(255, 255, 255, 0.86); font-size: 13px; font-weight: 850; line-height: 1.25; overflow-wrap: anywhere; white-space: normal; word-break: break-word; } .edit-address-button { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 8px; background: rgba(255, 255, 255, 0.13); color: #fff; } .edit-address-button svg { width: 20px; height: 20px; } .edit-address-button path { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; } .primary-button, .submit-button { min-height: 50px; border-radius: 25px; font-size: 16px; font-weight: 950; } .primary-button, .submit-button { background: var(--button); color: #fff; } .primary-button { width: 100%; margin-top: 14px; } .submit-button { width: 100%; box-shadow: var( --hy-theme-button-shadow, 0 8px 18px rgba(125, 87, 199, 0.18) ); } .primary-button:disabled, .submit-button:disabled { background: var(--button-disabled); color: var(--button-disabled-text); box-shadow: var(--hy-theme-button-disabled-shadow, none); } .salary-history-modal { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; justify-content: center; } .salary-history-backdrop { position: absolute; inset: 0; background: rgba(14, 19, 24, 0.44); } .contact-modal { position: fixed; inset: 0; z-index: 70; display: flex; align-items: flex-end; justify-content: center; } .contact-backdrop { position: absolute; inset: 0; background: rgba(14, 19, 24, 0.44); } .salary-history-dialog { position: relative; z-index: 1; display: flex; width: min(100%, 430px); max-height: 78vh; max-height: 78dvh; flex-direction: column; overflow: hidden; border-radius: 18px 18px 0 0; background: #fff; box-shadow: 0 -14px 36px rgba(26, 35, 44, 0.16); } .contact-dialog { position: relative; z-index: 1; width: min(100%, 430px); padding: 18px 18px calc(20px + env(safe-area-inset-bottom)); border-radius: 18px 18px 0 0; background: #fff; box-shadow: 0 -14px 36px rgba(26, 35, 44, 0.16); } .salary-history-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 18px 12px; } .contact-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; } .salary-history-head h2 { min-width: 0; margin: 0; overflow: hidden; color: #24282e; font-size: 18px; font-weight: 950; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; } .contact-head h2 { min-width: 0; margin: 0; overflow: hidden; color: #24282e; font-size: 18px; font-weight: 950; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; } .salary-history-close { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; background: #f3f5f5; color: #676b72; font-size: 28px; line-height: 1; } .contact-close { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; background: #f3f5f5; color: #676b72; font-size: 28px; line-height: 1; } .contact-form { display: grid; gap: 12px; } .contact-field input { min-height: 52px; padding: 0 14px; border-radius: 8px; background: var(--hy-theme-surface-soft, #fdfaff); font-size: 15px; font-weight: 850; } .contact-status { color: var(--hy-theme-danger, #d95d72); font-size: 13px; font-weight: 850; } .contact-save-button { margin-top: 0; } .salary-history-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 18px 12px; padding: 14px; border-radius: 8px; background: var(--soft); } .salary-history-summary span { color: var(--muted); font-size: 13px; font-weight: 850; } .salary-history-summary strong { min-width: 0; overflow-wrap: anywhere; color: #24282e; font-size: 20px; font-weight: 950; } .salary-history-list { display: grid; gap: 10px; overflow-y: auto; padding: 0 18px calc(18px + env(safe-area-inset-bottom)); } .salary-history-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--hy-theme-surface-soft, #fdfaff); } .salary-history-item-main { min-width: 0; } .salary-history-item-title { overflow: hidden; color: #25282e; font-size: 14px; font-weight: 900; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; } .salary-history-item-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-top: 6px; color: var(--muted); font-size: 12px; font-weight: 750; line-height: 1.25; } .salary-history-amount { color: var(--primary-deep); font-size: 15px; font-weight: 950; line-height: 1.25; white-space: nowrap; } .salary-history-amount.is-out { color: var(--hy-theme-danger, #d95d72); } .salary-history-empty { padding: 24px 12px 30px; color: var(--muted); font-size: 14px; font-weight: 850; text-align: center; } .modal-open { overflow: hidden; } .home-indicator { position: fixed; left: 50%; bottom: 8px; width: 154px; height: 5px; border-radius: 999px; background: #050506; transform: translateX(-50%); } [dir='rtl'] .content { direction: rtl; } [dir='rtl'] .balance-currency, [dir='rtl'] .amount-control span { margin-right: 0; margin-left: 9px; } [dir='rtl'] .home-indicator { direction: ltr; } @media (max-width: 360px) { .content { padding-right: 12px; padding-left: 12px; } .balance-card { padding-right: 18px; padding-left: 18px; } .balance-value { font-size: 31px; } .title-bar h1 { font-size: 19px; } .mode-tab { font-size: 13px; } .transfer-search { grid-template-columns: 1fr; } }