.tg-exchange{--tg-bg:#182131;--tg-card:#202b3e;--tg-card2:#172235;--tg-line:rgba(92,202,224,.18);--tg-cyan:#2bd6e8;--tg-green:#21ddb2;--tg-text:#f4f8ff;--tg-muted:#9eabc0;direction:rtl;min-height:700px;padding:48px 0 90px;color:var(--tg-text);background:radial-gradient(circle at 78% 0,rgba(19,198,188,.09),transparent 28%),linear-gradient(180deg,#182131,#1b2536)}.tg-exchange *{box-sizing:border-box}.tg-exchange .container{max-width:1120px}.tg-exchange__hero{display:flex;align-items:center;justify-content:space-between;gap:30px;margin-bottom:26px;padding:28px 32px;border:1px solid var(--tg-line);border-radius:24px;background:linear-gradient(135deg,rgba(29,47,65,.94),rgba(14,37,52,.92));box-shadow:0 20px 55px rgba(2,10,24,.25)}.tg-exchange__eyebrow{display:inline-flex;align-items:center;gap:8px;margin-bottom:10px;color:var(--tg-green);font-size:13px;font-weight:800}.tg-exchange__hero h1{margin:0 0 10px;color:#fff;font-size:29px;font-weight:900}.tg-exchange__hero p{max-width:700px;margin:0;color:var(--tg-muted);line-height:2}.tg-exchange__hero-badge{min-width:175px;display:grid;grid-template-columns:48px 1fr;align-items:center;column-gap:10px;padding:14px;border:1px solid rgba(33,221,178,.2);border-radius:18px;background:rgba(8,29,40,.55)}.tg-exchange__hero-badge>i{grid-row:1/3;width:48px;height:48px;display:grid;place-items:center;color:var(--tg-green);font-size:22px;border-radius:14px;background:rgba(33,221,178,.11)}.tg-exchange__hero-badge strong{font-size:14px}.tg-exchange__hero-badge small{color:var(--tg-muted);font-size:10px}.tg-exchange__shell,.tg-exchange__history,.tg-exchange__detail-card{overflow:hidden;border:1px solid var(--tg-line);border-radius:24px;background:linear-gradient(145deg,rgba(32,43,62,.98),rgba(24,33,49,.98));box-shadow:0 24px 65px rgba(0,8,24,.28)}.tg-exchange__tabs{display:grid;grid-template-columns:1fr 1fr;padding:8px;border-bottom:1px solid var(--tg-line);background:rgba(11,23,37,.45)}.tg-exchange__tabs button{height:58px;display:flex;align-items:center;justify-content:center;gap:10px;color:var(--tg-muted);font-family:inherit;font-size:15px;font-weight:800;border:0;border-radius:15px;background:transparent;cursor:pointer;transition:.2s}.tg-exchange__tabs button i{width:30px;height:30px;display:grid;place-items:center;border-radius:10px;background:rgba(255,255,255,.05)}.tg-exchange__tabs button.is-active{color:#07241f;background:linear-gradient(135deg,var(--tg-green),#42ddeb);box-shadow:0 10px 24px rgba(33,221,178,.15)}.tg-exchange__tabs button:disabled{opacity:.35;cursor:not-allowed}.tg-exchange__grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(330px,.75fr)}.tg-exchange__form-panel{padding:32px;border-left:1px solid var(--tg-line)}.tg-exchange__label{display:block;margin:0 0 9px;color:#dce7f4;font-size:13px;font-weight:800}.tg-exchange__asset-select,.tg-exchange__amount-field,.tg-exchange__voucher-field{position:relative;display:flex;align-items:center;margin-bottom:22px;border:1px solid rgba(120,171,198,.2);border-radius:15px;background:#172134;transition:.2s}.tg-exchange__asset-select:focus-within,.tg-exchange__amount-field:focus-within,.tg-exchange__voucher-field:focus-within{border-color:var(--tg-cyan);box-shadow:0 0 0 3px rgba(43,214,232,.08)}.tg-exchange__asset-select select{width:100%;height:62px;padding:0 64px 0 42px;color:#fff;font-family:inherit;font-size:14px;font-weight:800;border:0;outline:0;appearance:none;background:transparent}.tg-exchange__asset-select select option{color:#162033;background:#fff}.tg-exchange__asset-icon{position:absolute;right:11px;width:40px;height:40px;display:grid;place-items:center;color:var(--tg-cyan);border-radius:12px;background:rgba(43,214,232,.1)}.tg-exchange__asset-icon img,.tg-exchange__quote-asset>div img{width:100%!important;height:100%!important;max-width:100%!important;object-fit:contain!important;border-radius:inherit}.tg-exchange__asset-icon img:not([hidden]),.tg-exchange__quote-asset>div img:not([hidden]){display:block}.tg-exchange__history-asset{display:flex;align-items:center;gap:9px}.tg-exchange__history-asset>img,.tg-exchange__history-asset>i{flex:0 0 34px;width:34px;height:34px;display:grid;place-items:center;object-fit:contain;color:var(--tg-cyan);border-radius:10px;background:rgba(43,214,232,.09)}.tg-exchange__history-asset>span{min-width:0}.tg-exchange__history-asset strong,.tg-exchange__history-asset small{display:block}
.tg-exchange__asset-select>i{position:absolute;left:18px;color:#7c8da4}.tg-exchange__amount-field input{width:100%;height:70px;padding:0 20px 0 100px;color:#fff;font-size:25px;font-weight:900;direction:ltr;text-align:left;border:0;outline:0;background:transparent}.tg-exchange__amount-field>span{position:absolute;left:14px;min-width:70px;padding:8px 10px;color:var(--tg-green);font-weight:900;text-align:center;border:1px solid rgba(33,221,178,.2);border-radius:10px;background:rgba(33,221,178,.08)}.tg-exchange__quick-values{display:flex;gap:8px;margin:-12px 0 24px}.tg-exchange__quick-values button{min-width:54px;padding:7px 14px;color:#b8c5d5;font-family:inherit;border:1px solid var(--tg-line);border-radius:10px;background:rgba(255,255,255,.025);cursor:pointer}.tg-exchange__quick-values button:hover{color:#081d20;background:var(--tg-cyan)}.tg-exchange__voucher-field textarea,.tg-exchange__card2card-fields textarea{width:100%;padding:14px 48px 14px 14px;color:#fff;font-family:inherit;font-size:16px;direction:ltr;text-align:left;border:0;outline:0;resize:vertical;background:transparent}.tg-exchange__voucher-field i{position:absolute;right:17px;color:var(--tg-cyan)}.tg-exchange__settlement{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:22px}.tg-exchange__settlement label{cursor:pointer}.tg-exchange__settlement input{position:absolute;opacity:0}.tg-exchange__settlement span{display:grid;grid-template-columns:38px 1fr;align-items:center;padding:13px;border:1px solid var(--tg-line);border-radius:14px;background:#172134}.tg-exchange__settlement i{grid-row:1/3;width:34px;height:34px;display:grid;place-items:center;color:var(--tg-cyan);border-radius:10px;background:rgba(43,214,232,.08)}.tg-exchange__settlement strong{font-size:12px}.tg-exchange__settlement small{color:var(--tg-muted);font-size:9px}.tg-exchange__settlement input:checked+span{border-color:var(--tg-green);box-shadow:0 0 0 2px rgba(33,221,178,.08)}.tg-exchange__gateway-wrap{margin-bottom:14px;padding:14px;border:1px solid var(--tg-line);border-radius:15px;background:#172134}.tg-exchange__gateway-wrap .img-gateway{max-height:48px;border-radius:9px}.tg-exchange__gateway-wrap .gateway-method{font-family:inherit}.tg-exchange__wallet{display:block;margin-bottom:18px;cursor:pointer}.tg-exchange__wallet input{position:absolute;opacity:0}.tg-exchange__wallet span{display:flex;align-items:center;gap:8px;padding:13px 14px;color:#c2ccda;border:1px solid var(--tg-line);border-radius:13px;background:rgba(255,255,255,.025)}.tg-exchange__wallet b{margin-right:auto;color:var(--tg-green);font-size:11px}.tg-exchange__wallet input:checked+span{border-color:var(--tg-green);background:rgba(33,221,178,.07)}.tg-exchange__card2card-fields{padding:18px;border:1px dashed rgba(43,214,232,.25);border-radius:15px;background:rgba(13,29,43,.55)}.tg-exchange__card2card-fields label{display:block;color:#cbd5e2;font-size:11px}.tg-exchange__card2card-fields input,.tg-exchange__card2card-fields textarea{width:100%;min-height:44px;margin-top:7px;padding:9px 12px;color:#fff;font-size:16px;border:1px solid var(--tg-line);border-radius:10px;outline:0;background:#131e30}.tg-exchange__field-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.tg-exchange__receipt input{display:none}.tg-exchange__receipt span{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100px;margin:8px 0 14px;border:1px dashed rgba(43,214,232,.32);border-radius:12px;cursor:pointer}.tg-exchange__receipt i{color:var(--tg-cyan);font-size:24px}.tg-exchange__receipt small{color:var(--tg-muted)}.tg-exchange__quote{padding:30px;background:linear-gradient(180deg,rgba(13,29,44,.86),rgba(18,31,48,.96))}.tg-exchange__quote-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px;font-weight:800}.tg-exchange__live{display:flex;align-items:center;gap:6px;color:#8fa1b6;font-size:10px}.tg-exchange__live i{width:7px;height:7px;border-radius:50%;background:var(--tg-green);box-shadow:0 0 0 5px rgba(33,221,178,.08)}.tg-exchange__quote-asset{display:grid;grid-template-columns:50px 1fr auto;align-items:center;gap:11px;margin-bottom:20px;padding:14px;border:1px solid var(--tg-line);border-radius:15px;background:rgba(255,255,255,.025)}.tg-exchange__quote-asset>div{width:50px;height:50px;display:grid;place-items:center;color:var(--tg-cyan);font-size:20px;border-radius:14px;background:rgba(43,214,232,.09)}.tg-exchange__quote-asset small,.tg-exchange__quote-asset strong{display:block}.tg-exchange__quote-asset small{color:var(--tg-muted);font-size:9px}.tg-exchange__quote-asset b{color:var(--tg-green)}.tg-exchange__quote dl{margin:0}.tg-exchange__quote dl>div{display:flex;justify-content:space-between;gap:16px;padding:13px 2px;border-bottom:1px solid rgba(255,255,255,.055)}.tg-exchange__quote dt{color:var(--tg-muted);font-size:12px}.tg-exchange__quote dd{margin:0;color:#fff;font-size:13px;font-weight:800}.tg-exchange__quote-total{margin-top:7px;padding:18px 14px!important;border:1px solid rgba(33,221,178,.18)!important;border-radius:14px;background:rgba(33,221,178,.055)}.tg-exchange__quote-total dd{color:var(--tg-green)!important;font-size:20px!important}.tg-exchange__message{margin-top:14px;padding:12px 14px;color:#ffc1c1;font-size:12px;line-height:1.9;border:1px solid rgba(255,101,101,.25);border-radius:12px;background:rgba(137,35,45,.18)}.tg-exchange__message.is-success{color:#a5f5d7;border-color:rgba(33,221,178,.28);background:rgba(33,221,178,.08)}.tg-exchange__submit{width:100%;height:54px;display:flex;align-items:center;justify-content:center;gap:10px;margin-top:18px;color:#06231f;font-family:inherit;font-size:14px;font-weight:900;border:0;border-radius:14px;background:linear-gradient(135deg,var(--tg-green),#43ddec);box-shadow:0 12px 28px rgba(33,221,178,.16);cursor:pointer}.tg-exchange__submit:disabled{opacity:.55;cursor:wait}.tg-exchange__terms{margin:13px 0 0;color:#7f8da1;font-size:9px;line-height:1.9;text-align:center}.tg-exchange__history{margin-top:28px;padding:26px}.tg-exchange__section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.tg-exchange__section-head span{color:var(--tg-green);font-size:10px}.tg-exchange__section-head h2{margin:4px 0 0;color:#fff;font-size:20px}.tg-exchange__section-head a{color:var(--tg-cyan);font-size:11px}.tg-exchange__table-wrap{overflow:auto;border:1px solid var(--tg-line);border-radius:15px}.tg-exchange table{width:100%;min-width:850px;border-collapse:collapse}.tg-exchange th,.tg-exchange td{padding:14px 12px;text-align:right;border-bottom:1px solid rgba(255,255,255,.055)}.tg-exchange th{color:#8796aa;font-size:10px;background:#152136}.tg-exchange td{color:#dbe5f1;font-size:11px}.tg-exchange td small{display:block;color:#7e8da2}.tg-side,.tg-status{display:inline-flex;padding:5px 9px;border-radius:8px;font-size:9px;font-weight:800}.tg-side--buy{color:#78e7cf;background:rgba(33,221,178,.1)}.tg-side--sell{color:#7bdcf0;background:rgba(43,214,232,.1)}.tg-status{color:#d6dfeb;background:#354158}.tg-status--completed{color:#78e7cf;background:rgba(33,221,178,.12)}.tg-status--provider_failed{color:#ff9e9e;background:rgba(255,83,95,.13)}.tg-status--card2card_pending,.tg-status--withdrawal_pending,.tg-status--manual_review{color:#ffd27c;background:rgba(245,166,35,.13)}.tg-exchange__detail-link{width:32px;height:32px;display:grid;place-items:center;color:var(--tg-cyan);border:1px solid var(--tg-line);border-radius:9px}.tg-exchange__empty{padding:42px;text-align:center;color:var(--tg-muted)}.tg-exchange__empty i{display:block;margin-bottom:12px;color:var(--tg-cyan);font-size:30px}.tg-exchange__empty strong{display:block;color:#fff}.tg-exchange__notice{display:flex;align-items:center;gap:15px;margin-bottom:22px;padding:18px;border:1px solid rgba(245,166,35,.3);border-radius:16px;background:rgba(108,68,18,.24)}.tg-exchange__notice>i{color:#ffc75f;font-size:25px}.tg-exchange__notice strong{display:block}.tg-exchange__notice p{margin:4px 0 0;color:#d9c9a8}.tg-exchange--detail{padding-top:55px}.tg-exchange__detail-card{padding:28px}.tg-exchange__detail-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:20px;border-bottom:1px solid var(--tg-line)}.tg-exchange__detail-head span:first-child{color:var(--tg-green);font-size:10px}.tg-exchange__detail-head h1{margin:5px 0 0;font-size:24px}.tg-exchange__detail-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:22px 0}.tg-exchange__detail-grid>div{padding:16px;border:1px solid var(--tg-line);border-radius:14px;background:#172134}.tg-exchange__detail-grid small,.tg-exchange__detail-grid strong{display:block}.tg-exchange__detail-grid small{margin-bottom:8px;color:var(--tg-muted);font-size:9px}.tg-exchange__detail-grid strong{font-size:12px}.tg-exchange__voucher-result{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:20px 0;padding:18px;border:1px solid rgba(33,221,178,.28);border-radius:16px;background:rgba(33,221,178,.07)}.tg-exchange__voucher-result>div{display:flex;align-items:center;gap:13px;min-width:0}.tg-exchange__voucher-result>div>i{color:var(--tg-green);font-size:26px}.tg-exchange__voucher-result small,.tg-exchange__voucher-result strong{display:block}.tg-exchange__voucher-result strong{max-width:650px;overflow-wrap:anywhere;color:#8cf2d7}.tg-exchange__voucher-result button{padding:10px 16px;color:#06231f;font-family:inherit;font-weight:800;border:0;border-radius:10px;background:var(--tg-green)}.tg-exchange__detail-actions{display:flex;gap:10px;margin-top:22px}.tg-exchange__detail-actions a{padding:11px 16px;color:#fff;border:1px solid var(--tg-line);border-radius:11px;background:#253249}.tg-exchange [hidden]{display:none!important}
@media(max-width:900px){.tg-exchange__grid{grid-template-columns:1fr}.tg-exchange__form-panel{border-left:0;border-bottom:1px solid var(--tg-line)}.tg-exchange__detail-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.tg-exchange{padding:25px 0 75px}.tg-exchange__hero{align-items:flex-start;flex-direction:column;padding:22px}.tg-exchange__hero h1{font-size:22px}.tg-exchange__hero-badge{width:100%}.tg-exchange__tabs button{font-size:12px}.tg-exchange__form-panel,.tg-exchange__quote,.tg-exchange__history,.tg-exchange__detail-card{padding:18px}.tg-exchange__settlement,.tg-exchange__field-row{grid-template-columns:1fr}.tg-exchange__section-head{align-items:flex-start;flex-direction:column;gap:10px}.tg-exchange__detail-grid{grid-template-columns:1fr}.tg-exchange__voucher-result{align-items:stretch;flex-direction:column}.tg-exchange__voucher-result button{width:100%}.tg-exchange__detail-actions{flex-direction:column}.tg-exchange__detail-actions a{text-align:center}.tg-exchange input,.tg-exchange textarea,.tg-exchange select{font-size:16px!important}}
.tg-exchange__pagination{display:flex;align-items:center;justify-content:center;gap:14px;padding:18px;border-top:1px solid var(--tg-line)}.tg-exchange__pagination a,.tg-exchange__pagination span{display:inline-flex;align-items:center;gap:7px;padding:8px 13px;border-radius:10px;text-decoration:none}.tg-exchange__pagination a{color:#07241f;background:linear-gradient(135deg,var(--tg-green),#42ddeb);font-weight:800}.tg-exchange__pagination span{color:var(--tg-muted);background:rgba(255,255,255,.04)}
.tg-exchange__message{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.tg-exchange__message-link{display:inline-flex;align-items:center;padding:7px 11px;color:#071f1b!important;font-weight:900;text-decoration:none!important;border-radius:9px;background:linear-gradient(135deg,var(--tg-green),#43ddec)}

.tg-exchange__detail-asset{display:flex!important;align-items:center;gap:9px}.tg-exchange__detail-asset img,.tg-exchange__detail-asset>i{width:30px;height:30px;display:grid;place-items:center;object-fit:contain;color:var(--tg-cyan);border-radius:9px;background:rgba(43,214,232,.09)}

/* v1.1.16 - fixed-size public asset frames */
.tg-exchange__asset-icon,.tg-exchange__quote-icon{background-position:center!important;background-repeat:no-repeat!important;background-size:contain!important;overflow:hidden!important}
.tg-exchange__asset-icon{width:40px!important;height:40px!important;min-width:40px!important;max-width:40px!important}
.tg-exchange__quote-icon{width:50px!important;height:50px!important;min-width:50px!important;max-width:50px!important;flex:0 0 50px!important;display:grid!important;place-items:center!important;border-radius:14px!important;background-color:rgba(43,214,232,.09)!important}
.tg-exchange__asset-icon.has-image>i,.tg-exchange__quote-icon.has-image>i{display:none!important}

/* v1.1.17: approved bank-account selector for sell settlement */
.tg-exchange__bank-accounts{margin-top:14px;padding:15px;border:1px solid rgba(51,214,198,.22);border-radius:16px;background:rgba(5,25,40,.45)}
.tg-exchange__bank-accounts[hidden]{display:none!important}
.tg-exchange__bank-accounts-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.tg-exchange__bank-accounts-head>span{display:flex;align-items:center;gap:8px;color:#fff}
.tg-exchange__bank-accounts-head>span i{color:#32d8c5}
.tg-exchange__bank-accounts-head small{color:#83a5ba;font-size:12px}
.tg-exchange__bank-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.tg-exchange__bank-card{display:block;margin:0;cursor:pointer}
.tg-exchange__bank-card>input{position:absolute;opacity:0;pointer-events:none}
.tg-exchange__bank-card-body{min-height:82px;display:flex;align-items:center;gap:11px;padding:12px;border:1px solid rgba(111,147,170,.25);border-radius:14px;background:rgba(17,40,61,.72);transition:border-color .2s ease,transform .2s ease,background .2s ease,box-shadow .2s ease}
.tg-exchange__bank-card-body>i{width:40px;height:40px;display:grid;place-items:center;flex:0 0 40px;border-radius:12px;background:rgba(42,212,194,.1);color:#37dbc7;font-size:17px}
.tg-exchange__bank-card-copy{display:flex;min-width:0;flex:1;flex-direction:column;gap:3px}
.tg-exchange__bank-card-copy strong{color:#fff;font-size:14px}
.tg-exchange__bank-card-copy small{color:#abc1d0;font-size:12px;white-space:nowrap}
.tg-exchange__bank-card-copy em{color:#6f93aa;font-size:11px;font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tg-exchange__bank-card-body>b{width:25px;height:25px;display:grid;place-items:center;flex:0 0 25px;border-radius:50%;border:1px solid rgba(93,126,147,.35);color:transparent;font-size:11px;transition:.2s ease}
.tg-exchange__bank-card:hover .tg-exchange__bank-card-body{transform:translateY(-1px);border-color:rgba(52,218,198,.55)}
.tg-exchange__bank-card>input:checked+.tg-exchange__bank-card-body{border-color:#32d8c5;background:rgba(26,75,82,.38);box-shadow:0 0 0 2px rgba(50,216,197,.07)}
.tg-exchange__bank-card>input:checked+.tg-exchange__bank-card-body>b{border-color:#32d8c5;background:#32d8c5;color:#082c32}
.tg-exchange__bank-empty{display:flex;align-items:center;gap:10px;padding:12px;border:1px dashed rgba(243,183,70,.38);border-radius:13px;background:rgba(243,183,70,.06)}
.tg-exchange__bank-empty>i{color:#f3b746;font-size:18px}
.tg-exchange__bank-empty>span{display:flex;min-width:0;flex:1;flex-direction:column;gap:3px}
.tg-exchange__bank-empty strong{color:#fff;font-size:13px}
.tg-exchange__bank-empty small{color:#a8bfcd;font-size:11px}
.tg-exchange__bank-empty a{padding:8px 10px;border-radius:9px;background:rgba(50,216,197,.12);color:#38dac7;font-size:11px;white-space:nowrap}
@media(max-width:700px){
  .tg-exchange__bank-accounts{padding:12px}
  .tg-exchange__bank-accounts-head{align-items:flex-start;flex-direction:column;gap:5px}
  .tg-exchange__bank-list{grid-template-columns:1fr}
  .tg-exchange__bank-empty{align-items:flex-start;flex-wrap:wrap}
  .tg-exchange__bank-empty a{width:100%;text-align:center}
}

/* v1.1.18: explicit default-bank badge in settlement selector */
.tg-exchange__bank-card-title{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.tg-exchange__bank-default-badge{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border:1px solid rgba(51,216,197,.28);border-radius:999px;background:rgba(51,216,197,.12);color:#42dfcc;font-size:10px;font-style:normal;font-weight:700;line-height:1;white-space:nowrap}
.tg-exchange__bank-default-badge i{font-size:9px}
.tg-exchange__bank-card.is-default .tg-exchange__bank-card-body{box-shadow:inset 0 0 0 1px rgba(51,216,197,.12)}
@media (max-width:640px){
  .tg-exchange__bank-card-title{gap:6px}
  .tg-exchange__bank-default-badge{padding:4px 7px;font-size:9px}
}

/* v1.1.19: deterministic settlement bank-list visibility */
#tg-exchange-bank-accounts[aria-hidden="false"]{display:block!important}
#tg-exchange-bank-accounts[aria-hidden="true"]{display:none!important}

/* v1.1.20: premium, warning-safe bank-account selector */
.tg-exchange__bank-accounts{
  position:relative;
  margin-top:18px;
  padding:18px;
  overflow:hidden;
  border:1px solid rgba(48,218,198,.26);
  border-radius:20px;
  background:
    radial-gradient(circle at 100% 0,rgba(46,218,199,.11),transparent 38%),
    linear-gradient(145deg,rgba(8,30,47,.96),rgba(13,34,53,.88));
  box-shadow:0 18px 44px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.025);
}
.tg-exchange__bank-accounts:before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:3px;
  border-radius:20px 0 0 20px;
  background:linear-gradient(180deg,#35dec7,#3acfe7);
  opacity:.9;
}
.tg-exchange__bank-accounts-head{position:relative;margin-bottom:15px;padding-bottom:14px;border-bottom:1px solid rgba(112,151,175,.16)}
.tg-exchange__bank-accounts-head>span{font-size:14px;font-weight:800}
.tg-exchange__bank-accounts-head>span i{width:31px;height:31px;display:grid;place-items:center;border-radius:10px;background:rgba(48,218,198,.11);box-shadow:inset 0 0 0 1px rgba(48,218,198,.16)}
.tg-exchange__bank-accounts-head small{line-height:1.8}
.tg-exchange__bank-list{gap:12px}
.tg-exchange__bank-card{position:relative;isolation:isolate}
.tg-exchange__bank-card-body{
  position:relative;
  min-height:0;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:13px;
  padding:15px;
  overflow:hidden;
  border:1px solid rgba(116,153,177,.22);
  border-radius:17px;
  background:linear-gradient(145deg,rgba(24,52,75,.88),rgba(14,37,57,.92));
  box-shadow:0 10px 26px rgba(0,0,0,.12),inset 0 1px 0 rgba(255,255,255,.025);
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease,background .22s ease;
}
.tg-exchange__bank-card-body:after{
  content:"";
  position:absolute;
  width:110px;
  height:110px;
  left:-52px;
  bottom:-66px;
  border-radius:50%;
  background:rgba(46,218,199,.055);
  pointer-events:none;
}
.tg-exchange__bank-card-top{display:flex;align-items:center;gap:11px;min-width:0}
.tg-exchange__bank-symbol{
  width:43px;
  height:43px;
  display:grid;
  place-items:center;
  flex:0 0 43px;
  border:1px solid rgba(48,218,198,.18);
  border-radius:13px;
  color:#43dfcc;
  background:linear-gradient(145deg,rgba(48,218,198,.14),rgba(49,189,222,.07));
  box-shadow:0 8px 18px rgba(0,0,0,.12);
  font-size:17px;
}
.tg-exchange__bank-card-copy{gap:5px}
.tg-exchange__bank-card-title{justify-content:flex-start}
.tg-exchange__bank-card-copy strong{font-size:14px;line-height:1.5}
.tg-exchange__bank-card-copy em{display:flex;align-items:center;gap:6px;color:#8faabc;font-size:11px}
.tg-exchange__bank-card-copy em i{color:#51cfc4;font-size:10px}
.tg-exchange__bank-selected-mark{
  width:27px;
  height:27px;
  display:grid;
  place-items:center;
  flex:0 0 27px;
  margin-right:auto;
  border:1px solid rgba(111,149,174,.36);
  border-radius:50%;
  color:transparent;
  background:rgba(4,21,34,.32);
  transition:.2s ease;
}
.tg-exchange__bank-card-number{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 13px;
  border:1px solid rgba(97,137,163,.15);
  border-radius:13px;
  color:#e9f7fb;
  background:rgba(4,22,36,.44);
  font-variant-numeric:tabular-nums;
  letter-spacing:.4px;
}
.tg-exchange__bank-card-number i{color:#42dcca;font-size:13px}
.tg-exchange__bank-card-number b{font-size:12px;font-weight:800;white-space:nowrap}
.tg-exchange__bank-iban{position:relative;z-index:1;display:flex;align-items:center;gap:8px;color:#7898ad;font-size:10px;font-variant-numeric:tabular-nums;letter-spacing:.25px}
.tg-exchange__bank-iban i{color:#39cddd}
.tg-exchange__bank-default-badge{padding:5px 8px;border-color:rgba(255,199,92,.24);color:#ffd27f;background:rgba(255,190,70,.09);box-shadow:inset 0 0 0 1px rgba(255,255,255,.018)}
.tg-exchange__bank-default-badge i{color:#ffc65d}
.tg-exchange__bank-card:hover .tg-exchange__bank-card-body{transform:translateY(-2px);border-color:rgba(53,218,199,.48);box-shadow:0 15px 34px rgba(0,0,0,.18),0 0 0 3px rgba(47,218,198,.035)}
.tg-exchange__bank-card>input:focus-visible+.tg-exchange__bank-card-body{outline:2px solid rgba(58,216,203,.7);outline-offset:3px}
.tg-exchange__bank-card>input:checked+.tg-exchange__bank-card-body{
  border-color:#36d9c5;
  background:linear-gradient(145deg,rgba(24,73,78,.6),rgba(14,43,59,.94));
  box-shadow:0 16px 36px rgba(0,0,0,.19),0 0 0 3px rgba(54,217,197,.07),inset 0 1px 0 rgba(255,255,255,.035);
}
.tg-exchange__bank-card>input:checked+.tg-exchange__bank-card-body .tg-exchange__bank-selected-mark{border-color:#39dcc8;color:#062e30;background:#39dcc8;box-shadow:0 0 0 5px rgba(57,220,200,.08)}
.tg-exchange__bank-card.is-default .tg-exchange__bank-card-body{box-shadow:0 12px 28px rgba(0,0,0,.13),inset 0 0 0 1px rgba(255,194,78,.055)}
@media(max-width:700px){
  .tg-exchange__bank-accounts{padding:14px;border-radius:17px}
  .tg-exchange__bank-accounts-head{padding-bottom:12px}
  .tg-exchange__bank-card-body{padding:13px;border-radius:15px}
  .tg-exchange__bank-symbol{width:39px;height:39px;flex-basis:39px;border-radius:12px}
  .tg-exchange__bank-card-title{align-items:flex-start;flex-direction:column;gap:6px}
  .tg-exchange__bank-card-number{padding:11px}
  .tg-exchange__bank-card-number b{font-size:11px;letter-spacing:0}
}

/* v1.1.21: cache-safe structural fallback for bank-account selector */
#tg-exchange-bank-accounts .tg-exchange__bank-list{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(270px,1fr))!important;gap:12px!important}
#tg-exchange-bank-accounts .tg-exchange__bank-card{display:block!important;width:100%!important;margin:0!important;position:relative!important}
#tg-exchange-bank-accounts .tg-exchange__bank-card>input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important}
#tg-exchange-bank-accounts .tg-exchange__bank-card-body{display:grid!important;grid-template-columns:44px minmax(0,1fr) 28px!important;grid-template-areas:"symbol copy mark" "number number number" "iban iban iban"!important;width:100%!important;align-items:center!important}
#tg-exchange-bank-accounts .tg-exchange__bank-symbol{grid-area:symbol!important}
#tg-exchange-bank-accounts .tg-exchange__bank-card-copy{grid-area:copy!important;display:flex!important;flex-direction:column!important}
#tg-exchange-bank-accounts .tg-exchange__bank-selected-mark{grid-area:mark!important}
#tg-exchange-bank-accounts .tg-exchange__bank-card-number{grid-area:number!important;display:flex!important}
#tg-exchange-bank-accounts .tg-exchange__bank-iban{grid-area:iban!important;display:flex!important}


/* v1.1.22 compact bank selector fallback */
#tg-exchange-bank-accounts .tg-exchange__bank-details{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(110px,.75fr);gap:8px;width:100%;min-width:0}
#tg-exchange-bank-accounts .tg-exchange__bank-card-copy>em{white-space:normal;overflow:visible;text-overflow:clip;word-break:break-word}
@media(max-width:700px){#tg-exchange-bank-accounts .tg-exchange__bank-details{grid-template-columns:minmax(0,1.35fr) minmax(96px,.65fr);gap:6px}}
@media(max-width:380px){#tg-exchange-bank-accounts .tg-exchange__bank-details{grid-template-columns:1fr}}

/* v1.1.23 — final responsive bank selector safeguard */
#tg-exchange-bank-accounts .tg-exchange__bank-card-body{display:flex!important;flex-direction:column!important;min-height:0!important}
#tg-exchange-bank-accounts .tg-exchange__bank-card-top{display:flex!important;align-items:center!important;width:100%!important;min-width:0!important}
#tg-exchange-bank-accounts .tg-exchange__bank-card-copy{flex:1 1 auto!important;min-width:0!important}
#tg-exchange-bank-accounts .tg-exchange__bank-selected-mark{margin-right:auto!important}
#tg-exchange-bank-accounts .tg-exchange__bank-details{display:grid!important;width:100%!important}

/* v1.1.24 - iPhone Safari bank number/IBAN collision fix */
@media(max-width:600px){#tg-exchange-bank-accounts .tg-exchange__bank-details{display:flex!important;flex-direction:column!important;grid-template-columns:none!important;gap:7px!important;width:100%!important;min-width:0!important}#tg-exchange-bank-accounts .tg-exchange__bank-card-number,#tg-exchange-bank-accounts .tg-exchange__bank-iban{display:grid!important;grid-template-columns:18px minmax(0,1fr)!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important;direction:ltr!important;text-align:left!important;unicode-bidi:isolate!important}#tg-exchange-bank-accounts .tg-exchange__bank-card-number>b,#tg-exchange-bank-accounts .tg-exchange__bank-card-number bdi,#tg-exchange-bank-accounts .tg-exchange__bank-iban bdi{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;direction:ltr!important;text-align:left!important;unicode-bidi:isolate!important}}
@supports (-webkit-touch-callout:none){@media(max-width:700px){#tg-exchange-bank-accounts .tg-exchange__bank-details{display:flex!important;flex-direction:column!important;grid-template-columns:none!important}#tg-exchange-bank-accounts .tg-exchange__bank-card-number,#tg-exchange-bank-accounts .tg-exchange__bank-iban{width:100%!important;min-width:0!important;max-width:100%!important;overflow:hidden!important}}}
/* v1.1.27 — per-order buy limit and verification prompt */
.tg-exchange__quick-values [hidden]{display:none!important}
.tg-exchange__buy-limit-note{display:flex;align-items:center;gap:10px;width:100%;margin-top:11px;padding:11px 12px;border:1px solid rgba(255,192,74,.22);border-radius:13px;background:linear-gradient(145deg,rgba(255,190,67,.08),rgba(13,36,55,.82));color:#d9e9f1;box-sizing:border-box}
.tg-exchange__buy-limit-note[hidden]{display:none!important}
.tg-exchange__buy-limit-note-icon{display:grid;place-items:center;width:34px;height:34px;min-width:34px;border-radius:10px;color:#ffd06f;background:rgba(255,190,67,.10);font-size:14px}
.tg-exchange__buy-limit-note-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:2px}
.tg-exchange__buy-limit-note-copy strong{color:#fff;font-size:11.5px;font-weight:900;line-height:1.55}
.tg-exchange__buy-limit-note-copy small{color:#9db4c1;font-size:9.5px;line-height:1.7}
.tg-exchange__buy-limit-note>a{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-height:32px;padding:6px 10px;border:1px solid rgba(50,221,202,.25);border-radius:9px;color:#41dfcb!important;background:rgba(50,221,202,.08);font-size:9.5px;font-weight:900;text-decoration:none;transition:transform .18s ease,background .18s ease,border-color .18s ease}
.tg-exchange__buy-limit-note>a:hover{transform:translateY(-1px);border-color:rgba(50,221,202,.5);background:rgba(50,221,202,.14)}
.tg-exchange__buy-limit-note.is-verified{border-color:rgba(48,218,198,.22);background:linear-gradient(145deg,rgba(48,218,198,.07),rgba(13,36,55,.82))}
.tg-exchange__buy-limit-note.is-verified .tg-exchange__buy-limit-note-icon{color:#41dfcb;background:rgba(48,218,198,.10)}
.tg-exchange__buy-limit-note.is-blocked{border-color:rgba(255,91,113,.25);background:linear-gradient(145deg,rgba(255,91,113,.08),rgba(13,36,55,.82))}
.tg-exchange__buy-limit-note.is-blocked .tg-exchange__buy-limit-note-icon{color:#ff8194;background:rgba(255,91,113,.10)}
@media(max-width:520px){.tg-exchange__buy-limit-note{align-items:flex-start;flex-wrap:wrap}.tg-exchange__buy-limit-note>a{width:100%;margin-top:2px}.tg-exchange__buy-limit-note-copy{padding-top:1px}}

/* v1.1.28 — safe code pre-check and exchange-only payment availability */
.tg-exchange__voucher-control{margin-bottom:22px}
.tg-exchange__voucher-control .tg-exchange__voucher-field{margin-bottom:0;min-height:116px;align-items:stretch;overflow:hidden}
.tg-exchange__voucher-control .tg-exchange__voucher-field textarea{min-height:114px;padding:18px 50px 58px 18px;line-height:1.9;transition:color .2s ease}
.tg-exchange__voucher-control .tg-exchange__voucher-leading{position:absolute;right:17px;top:19px;color:var(--tg-cyan);font-size:14px}
.tg-exchange__voucher-check{position:absolute;right:14px;bottom:13px;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:112px;height:36px;padding:0 13px;color:#062a2c;font-family:inherit;font-size:11px;font-weight:900;border:0;border-radius:10px;background:linear-gradient(135deg,var(--tg-green),#42ddeb);box-shadow:0 8px 20px rgba(33,221,178,.14);cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}
.tg-exchange__voucher-check:hover{transform:translateY(-1px);box-shadow:0 11px 25px rgba(33,221,178,.21);filter:saturate(1.08)}
.tg-exchange__voucher-check:active{transform:translateY(0) scale(.98)}
.tg-exchange__voucher-check:disabled{opacity:.68;cursor:wait;transform:none}
.tg-exchange__voucher-control .tg-exchange__voucher-check>i{position:static;color:inherit;font-size:12px}
.tg-exchange__voucher-state{position:absolute;left:15px;bottom:14px;width:32px;height:32px;display:grid;place-items:center;opacity:0;transform:scale(.8);border-radius:10px;transition:.2s ease}
.tg-exchange__voucher-control .tg-exchange__voucher-state>i{position:static;color:inherit;font-size:13px}
.tg-exchange__voucher-control.is-valid .tg-exchange__voucher-field{border-color:rgba(42,224,178,.78);box-shadow:0 0 0 3px rgba(33,221,178,.08),inset 0 0 26px rgba(33,221,178,.025)}
.tg-exchange__voucher-control.is-valid textarea{color:#65edc7}
.tg-exchange__voucher-control.is-valid .tg-exchange__voucher-state{opacity:1;transform:scale(1);color:#062b29;background:#36dfbd;box-shadow:0 0 0 5px rgba(54,223,189,.08)}
.tg-exchange__voucher-control.is-invalid .tg-exchange__voucher-field{border-color:rgba(255,94,116,.72);box-shadow:0 0 0 3px rgba(255,94,116,.07),inset 0 0 26px rgba(255,94,116,.025)}
.tg-exchange__voucher-control.is-invalid textarea{color:#ff9aaa}
.tg-exchange__voucher-control.is-invalid .tg-exchange__voucher-state{opacity:1;transform:scale(1);color:#fff;background:#ef536a;box-shadow:0 0 0 5px rgba(239,83,106,.08)}
.tg-exchange__voucher-control.is-warning .tg-exchange__voucher-field{border-color:rgba(255,192,74,.62);box-shadow:0 0 0 3px rgba(255,192,74,.06)}
.tg-exchange__voucher-control.is-warning .tg-exchange__voucher-state{opacity:1;transform:scale(1);color:#332306;background:#ffc85d}
.tg-exchange__voucher-control.is-checking .tg-exchange__voucher-field{border-color:rgba(43,214,232,.52)}
.tg-exchange__code-result{display:flex;align-items:flex-start;gap:10px;margin-top:9px;padding:11px 12px;border:1px solid rgba(103,151,177,.18);border-radius:13px;background:rgba(9,27,42,.72);animation:tgCodeResultIn .2s ease both}
.tg-exchange__code-result[hidden]{display:none!important}
.tg-exchange__code-result-icon{width:33px;height:33px;min-width:33px;display:grid;place-items:center;border-radius:10px;font-size:13px}
.tg-exchange__code-result-copy{display:flex;min-width:0;flex-direction:column;gap:2px;padding-top:1px}
.tg-exchange__code-result-copy strong{color:#fff;font-size:11.5px;font-weight:900;line-height:1.6}
.tg-exchange__code-result-copy small{color:#9db1c0;font-size:9.5px;line-height:1.8}
.tg-exchange__code-result.is-success{border-color:rgba(45,221,181,.24);background:linear-gradient(145deg,rgba(33,221,178,.08),rgba(9,27,42,.78))}
.tg-exchange__code-result.is-success .tg-exchange__code-result-icon{color:#42e2bf;background:rgba(33,221,178,.11)}
.tg-exchange__code-result.is-error{border-color:rgba(255,94,116,.23);background:linear-gradient(145deg,rgba(255,80,105,.075),rgba(9,27,42,.78))}
.tg-exchange__code-result.is-error .tg-exchange__code-result-icon{color:#ff8394;background:rgba(255,80,105,.1)}
.tg-exchange__code-result.is-warning{border-color:rgba(255,192,74,.24);background:linear-gradient(145deg,rgba(255,192,74,.075),rgba(9,27,42,.78))}
.tg-exchange__code-result.is-warning .tg-exchange__code-result-icon{color:#ffd06f;background:rgba(255,192,74,.1)}
.tg-exchange__payment-empty{display:flex;align-items:center;gap:11px;margin-bottom:15px;padding:13px 14px;border:1px solid rgba(255,192,74,.22);border-radius:14px;background:linear-gradient(145deg,rgba(255,190,67,.07),rgba(15,31,48,.9))}
.tg-exchange__payment-empty>i{width:37px;height:37px;min-width:37px;display:grid;place-items:center;color:#ffd06f;border-radius:11px;background:rgba(255,190,67,.09)}
.tg-exchange__payment-empty span,.tg-exchange__payment-empty strong,.tg-exchange__payment-empty small{display:block}
.tg-exchange__payment-empty strong{color:#fff;font-size:11px;line-height:1.7}
.tg-exchange__payment-empty small{margin-top:2px;color:#9db1c0;font-size:9.5px}
@keyframes tgCodeResultIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
@media(max-width:520px){.tg-exchange__voucher-control .tg-exchange__voucher-field textarea{padding-bottom:60px}.tg-exchange__voucher-check{right:11px;bottom:11px;min-width:105px}.tg-exchange__voucher-state{left:11px;bottom:12px}.tg-exchange__code-result{padding:10px}.tg-exchange__code-result-copy small{font-size:9px}}
@media(prefers-reduced-motion:reduce){.tg-exchange__voucher-check,.tg-exchange__voucher-state,.tg-exchange__code-result{transition:none;animation:none}}

/* v1.1.29: compact sell-code control and stable exchange history identity */
#tg-voucher-control.tg-exchange__voucher-control{width:100%;margin:0 0 18px}
#tg-voucher-control .tg-exchange__voucher-field{height:78px;min-height:78px;max-height:78px;align-items:center;overflow:hidden}
#tg-voucher-control #tg-voucher-code{height:76px;min-height:76px;max-height:76px;padding:15px 48px 15px 148px;resize:none;line-height:1.75}
#tg-voucher-control .tg-exchange__voucher-leading{right:16px;top:50%;bottom:auto;transform:translateY(-50%)}
#tg-voucher-control .tg-exchange__voucher-check{right:auto;left:12px;top:50%;bottom:auto;transform:translateY(-50%);width:118px;min-width:118px;height:40px;white-space:nowrap}
#tg-voucher-control .tg-exchange__voucher-state{right:13px;left:auto;top:50%;bottom:auto;transform:translateY(-50%) scale(.82)}
#tg-voucher-control.is-valid .tg-exchange__voucher-leading,#tg-voucher-control.is-invalid .tg-exchange__voucher-leading,#tg-voucher-control.is-warning .tg-exchange__voucher-leading{opacity:0}
#tg-voucher-control.is-valid .tg-exchange__voucher-state,#tg-voucher-control.is-invalid .tg-exchange__voucher-state,#tg-voucher-control.is-warning .tg-exchange__voucher-state{transform:translateY(-50%) scale(1)}
.tg-exchange__table-wrap table{min-width:930px}
.tg-exchange__table-wrap th:nth-child(3),.tg-exchange__table-wrap td:nth-child(3){width:230px;min-width:230px}
.tg-exchange__history-asset{display:inline-flex;align-items:center;gap:9px;white-space:nowrap}
.tg-exchange__history-icon{width:34px;height:34px;min-width:34px;display:grid;place-items:center;overflow:hidden;border:1px solid rgba(43,214,232,.16);border-radius:50%;color:var(--tg-cyan);background-color:rgba(43,214,232,.09);background-position:center;background-repeat:no-repeat;background-size:contain}
.tg-exchange__history-icon.has-image>i{display:none}
.tg-exchange__history-asset>strong{display:inline-block;max-width:135px;overflow:hidden;text-overflow:ellipsis;color:#f4f8ff;white-space:nowrap}
.tg-exchange__history-asset>small{display:inline-flex;align-items:center;margin:0;padding:3px 7px;color:#65e7cd;font-size:9px;font-weight:900;line-height:1;border:1px solid rgba(33,221,178,.18);border-radius:999px;background:rgba(33,221,178,.07);white-space:nowrap}

/* v1.1.43 — professional searchable, sortable and paginated user history */
.tg-history-toolbar{display:grid;grid-template-columns:minmax(320px,1fr) auto auto;align-items:center;gap:12px;margin:0 0 16px;padding:14px;border:1px solid rgba(82,201,219,.16);border-radius:17px;background:linear-gradient(135deg,rgba(12,27,43,.72),rgba(19,38,55,.64));box-shadow:inset 0 1px 0 rgba(255,255,255,.025)}
.tg-history-search{display:flex;align-items:center;gap:8px;min-width:0;margin:0}
.tg-history-search>label{position:relative;display:flex;align-items:center;min-width:0;flex:1;margin:0}
.tg-history-search>label>i{position:absolute;right:14px;color:#6f879e;font-size:13px;pointer-events:none}
.tg-history-search input{width:100%;height:44px;padding:0 40px 0 40px;color:#eef7ff;font-family:inherit;font-size:12px;border:1px solid rgba(105,168,192,.2);border-radius:12px;outline:0;background:#142034;transition:border-color .2s,box-shadow .2s}
.tg-history-search input::placeholder{color:#708299}
.tg-history-search input:focus{border-color:#2bd6e8;box-shadow:0 0 0 3px rgba(43,214,232,.08)}
.tg-history-search__clear{position:absolute;left:9px;width:27px;height:27px;display:grid;place-items:center;color:#9aacc0;border-radius:8px;background:rgba(255,255,255,.055)}
.tg-history-search__clear:hover{color:#fff;background:rgba(255,98,112,.16)}
.tg-history-search>button{height:44px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 17px;color:#06241f;font-family:inherit;font-size:11px;font-weight:900;border:0;border-radius:12px;background:linear-gradient(135deg,#21ddb2,#42ddeb);box-shadow:0 8px 20px rgba(33,221,178,.12);cursor:pointer}
.tg-history-filter{display:flex;align-items:center;gap:5px;padding:4px;border:1px solid rgba(105,168,192,.17);border-radius:12px;background:#142034}
.tg-history-filter a{height:34px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 11px;color:#91a2b7;font-size:10px;font-weight:800;border-radius:9px;transition:.2s}
.tg-history-filter a:hover{color:#fff;background:rgba(255,255,255,.055)}
.tg-history-filter a.is-active{color:#06241f;background:linear-gradient(135deg,#21ddb2,#42ddeb);box-shadow:0 6px 16px rgba(33,221,178,.13)}
.tg-history-count{height:42px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 12px;color:#93a6ba;font-size:10px;white-space:nowrap;border:1px solid rgba(105,168,192,.14);border-radius:12px;background:rgba(255,255,255,.025)}
.tg-history-count i{color:#2bd6e8}.tg-history-count b{color:#fff;font-size:12px}
.tg-history-table-wrap{overflow:auto;border-color:rgba(82,201,219,.2);border-radius:17px;background:rgba(12,25,40,.32);box-shadow:0 14px 35px rgba(0,0,0,.11)}
.tg-history-table{min-width:900px}
.tg-history-table thead{position:sticky;top:0;z-index:2}
.tg-history-table th{height:52px;padding:0 12px!important;border-bottom:1px solid rgba(82,201,219,.16)!important;background:linear-gradient(180deg,#152238,#131f33)!important}
.tg-history-table th.is-sortable{padding:0!important}
.tg-history-table th.is-sortable>a{height:52px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 12px;color:#8497ad;font-size:10px;font-weight:800;white-space:nowrap;transition:.2s}
.tg-history-table th.is-sortable>a:hover{color:#dffbff;background:rgba(43,214,232,.055)}
.tg-history-table th.is-sortable>a i{color:#60758c;font-size:11px}
.tg-history-table th.is-sorted>a,.tg-history-table th.is-sorted>a i{color:#4de2d2}
.tg-history-actions-head{color:#8497ad!important;text-align:center!important;white-space:nowrap}.tg-history-actions-head i{margin-right:5px;color:#60758c}
.tg-history-table tbody tr{transition:background-color .2s,transform .2s}
.tg-history-table tbody tr:hover{background:linear-gradient(90deg,rgba(43,214,232,.035),rgba(33,221,178,.055))}
.tg-history-table td{height:70px;padding:11px 12px!important;vertical-align:middle}
.tg-history-table td:last-child{text-align:center}
.tg-history-table td>strong{color:#f3f8ff;font-size:11px}.tg-history-table td>small{display:inline;margin-right:3px;color:#8496aa;font-size:9px}
.tg-history-id{display:inline-flex!important;align-items:center;justify-content:center;min-width:38px;padding:5px 8px;color:#80edf2!important;border:1px solid rgba(43,214,232,.14);border-radius:9px;background:rgba(43,214,232,.055)}
.tg-history-table .tg-side,.tg-history-table .tg-status{align-items:center;gap:5px;padding:7px 9px}.tg-history-table .tg-side i,.tg-history-table .tg-status i{font-size:9px}
.tg-history-table time{display:inline-flex;align-items:center;gap:6px;color:#e5edf7;font-size:10px;font-weight:700;white-space:nowrap}.tg-history-table time>i{color:#4fd8df}.tg-history-table time small{display:inline-flex;align-items:center;gap:4px;color:#8295ab;font-size:9px}.tg-history-table time small i{color:#617a91}
.tg-history-table .tg-exchange__detail-link{margin:auto;transition:.2s}.tg-history-table .tg-exchange__detail-link:hover{color:#06241f;border-color:transparent;background:linear-gradient(135deg,#21ddb2,#42ddeb);transform:translateY(-2px);box-shadow:0 8px 18px rgba(33,221,178,.14)}
.tg-exchange__row-actions{display:inline-flex;align-items:center;justify-content:center;gap:6px}
.tg-history-tracking{max-width:78px;overflow:hidden;color:#9fc9f6;font-family:monospace;font-size:9px;text-overflow:ellipsis;white-space:nowrap}
.tg-history-copy-button{height:32px;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:0 9px;color:#8fece0;font-family:inherit;font-size:9px;font-weight:800;border:1px solid rgba(43,214,232,.22);border-radius:9px;background:rgba(43,214,232,.07);cursor:pointer;transition:.18s}
.tg-history-copy-button:hover,.tg-history-copy-button:focus-visible,.tg-history-copy-button.is-copied{color:#06241f;border-color:transparent;outline:0;background:#35d8ca}
.tg-history-pagination{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;margin-top:15px!important;padding:13px 14px!important;border:1px solid rgba(82,201,219,.14)!important;border-radius:15px!important;background:rgba(12,27,43,.55)!important}
.tg-history-pagination__summary{display:flex;align-items:center;gap:7px;color:#8194aa;font-size:10px}.tg-history-pagination__summary i{color:#2bd6e8}.tg-history-pagination__summary b{color:#fff}
.tg-history-pagination__pages{display:flex;align-items:center;justify-content:center;gap:5px;direction:rtl}
.tg-history-pagination__pages>a,.tg-history-pagination__pages>span{min-width:34px;height:34px;display:grid!important;place-items:center!important;padding:0!important;color:#9aacc0!important;font-size:10px!important;font-weight:800;border:1px solid rgba(105,168,192,.16);border-radius:9px!important;background:#142034!important}
.tg-history-pagination__pages>a:hover{color:#fff!important;border-color:rgba(43,214,232,.36);transform:translateY(-1px)}
.tg-history-pagination__pages>a.is-active{color:#06241f!important;border-color:transparent;background:linear-gradient(135deg,#21ddb2,#42ddeb)!important;box-shadow:0 7px 17px rgba(33,221,178,.16)}
.tg-history-pagination__pages>a.is-disabled{opacity:.35;pointer-events:none}.tg-history-pagination__pages>span.is-gap{min-width:18px;border:0;background:transparent!important}
.tg-history-empty{border:1px dashed rgba(82,201,219,.2);border-radius:17px;background:rgba(12,27,43,.38)}.tg-history-empty>a{display:inline-flex;align-items:center;gap:7px;margin-top:8px;padding:9px 14px;color:#06241f;font-size:10px;font-weight:900;border-radius:10px;background:linear-gradient(135deg,#21ddb2,#42ddeb)}
@media(max-width:900px){.tg-history-toolbar{grid-template-columns:1fr auto}.tg-history-search{grid-column:1/-1}.tg-history-count{justify-self:end}}
@media(max-width:600px){
.tg-history-toolbar{display:flex;align-items:stretch;flex-direction:column;padding:11px}.tg-history-search>button{width:44px;padding:0}.tg-history-search>button span{display:none}.tg-history-filter{display:grid;grid-template-columns:repeat(3,1fr)}.tg-history-filter a{padding:0 7px}.tg-history-count{align-self:flex-start;height:34px}
.tg-history-table-wrap{overflow:visible;border:0;background:transparent;box-shadow:none}.tg-history-table{display:block;min-width:0}.tg-history-table thead{display:none}.tg-history-table tbody{display:grid;gap:11px}.tg-history-table tbody tr{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:0;padding:12px;border:1px solid rgba(82,201,219,.16);border-radius:16px;background:linear-gradient(145deg,rgba(21,34,53,.98),rgba(16,29,45,.98));box-shadow:0 10px 24px rgba(0,0,0,.1)}.tg-history-table tbody tr:hover{transform:none}
.tg-history-table td{height:auto!important;min-height:47px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px!important;border-bottom:1px solid rgba(255,255,255,.045)!important}.tg-history-table td:before{content:attr(data-label);color:#71869c;font-size:9px;font-weight:700}.tg-history-table td:nth-child(3){grid-column:1/-1;grid-row:1;padding-top:2px!important}.tg-history-table td:nth-child(3):before{display:none}.tg-history-table td:nth-child(7){grid-column:1/-1}.tg-history-table td:nth-child(8){position:absolute;left:12px;top:12px;display:block;min-height:0;padding:0!important;border:0!important}.tg-history-table td:nth-child(8):before{display:none}.tg-history-table td:nth-child(1){padding-left:52px!important}.tg-history-table .tg-exchange__history-asset{width:100%}.tg-history-table .tg-exchange__history-asset>strong{max-width:150px!important}.tg-history-table .tg-exchange__detail-link{margin:0}.tg-history-table time{flex-wrap:wrap;justify-content:flex-end}.tg-history-table time small{width:100%;justify-content:flex-end}
.tg-history-table .tg-exchange__row-actions{flex-direction:column;align-items:flex-end}.tg-history-table .tg-history-tracking{max-width:70px}.tg-history-table .tg-history-copy-button{height:29px;padding:0 7px}.tg-history-table .tg-history-copy-button span{display:none}
.tg-history-pagination{align-items:stretch!important;flex-direction:column!important}.tg-history-pagination__summary{justify-content:center}.tg-history-pagination__pages{flex-wrap:wrap}
}

/* v1.1.44 — shared no-refresh history tables */
.tg-ajax-history{position:relative;min-height:220px}
.tg-ajax-history:before{content:"";position:absolute;inset:0;z-index:20;visibility:hidden;opacity:0;border-radius:inherit;background:rgba(16,28,44,.72);backdrop-filter:blur(2px);transition:.18s;pointer-events:none}
.tg-ajax-history:after{content:"";position:absolute;top:50%;left:50%;z-index:21;width:34px;height:34px;visibility:hidden;opacity:0;border:3px solid rgba(43,214,232,.2);border-top-color:#2bd6e8;border-radius:50%;transform:translate(-50%,-50%);animation:tg-history-spin .7s linear infinite;transition:.18s;pointer-events:none}
.tg-ajax-history.is-loading:before,.tg-ajax-history.is-loading:after{visibility:visible;opacity:1}
@keyframes tg-history-spin{to{transform:translate(-50%,-50%) rotate(360deg)}}
.tg-history-ajax-error{display:flex;align-items:center;gap:9px;margin:0 0 12px;padding:11px 13px;color:#ffc4c8;font-size:11px;border:1px solid rgba(255,94,108,.25);border-radius:11px;background:rgba(128,37,48,.18)}
.tg-history-ajax-error[hidden]{display:none!important}.tg-history-ajax-error i{color:#ff7c88}
.tg-transactions-page{padding-top:42px}.tg-transactions-hero{margin-bottom:0}.tg-transactions-history{margin-top:26px}
.tg-transactions-table{min-width:1040px}
.tg-transaction-code{display:inline-flex;align-items:center;gap:6px;color:#9fc9f6;font-size:10px;white-space:nowrap}.tg-transaction-code i{color:#4fd8df}
.tg-transaction-amount{display:inline-flex;align-items:center;gap:6px;padding:7px 9px;font-size:11px;font-weight:900;border-radius:9px;white-space:nowrap}.tg-transaction-amount small{font-size:8px;font-weight:700;opacity:.75}.tg-transaction-amount.is-income{color:#74f3d0;border:1px solid rgba(33,221,178,.18);background:rgba(33,221,178,.09)}.tg-transaction-amount.is-expense{color:#dce6f3;border:1px solid rgba(148,163,184,.15);background:rgba(148,163,184,.09)}.tg-transaction-amount.is-income i{color:#21ddb2}.tg-transaction-amount.is-expense i{color:#9cacbf}
.tg-transaction-reference{display:block;max-width:280px;overflow:hidden;text-overflow:ellipsis;color:#9fc9f6;font-family:monospace;font-size:9px;white-space:nowrap}
.tg-transaction-gateway{display:inline-flex;align-items:center;gap:7px;padding:7px 9px;color:#dfe8f4;font-family:inherit;font-size:10px;border:1px solid rgba(82,201,219,.14);border-radius:9px;background:rgba(43,214,232,.045);white-space:nowrap}.tg-transaction-gateway i{color:#4fd8df}.tg-transaction-gateway small{color:#71e8d6;font-size:8px}
button.tg-transaction-gateway{cursor:pointer;transition:.2s}button.tg-transaction-gateway:hover{color:#06241f;border-color:transparent;background:linear-gradient(135deg,#21ddb2,#42ddeb)}button.tg-transaction-gateway:hover i,button.tg-transaction-gateway:hover small{color:#06241f}
.tg-transaction-modal .modal-content{overflow:hidden;color:#eaf3fb;border:1px solid rgba(82,201,219,.22);border-radius:18px;background:linear-gradient(145deg,#1d2a3e,#142136);box-shadow:0 24px 70px rgba(0,0,0,.42)}.tg-transaction-modal .modal-header{display:flex;align-items:center;justify-content:space-between;color:#fff;border-bottom:1px solid rgba(82,201,219,.15);background:rgba(10,24,39,.42)}.tg-transaction-modal .modal-header .close{order:2;color:#fff;opacity:.75;text-shadow:none}.tg-transaction-modal .modal-title{font-size:16px;font-weight:900}.tg-transaction-modal .modal-title i{margin-left:7px;color:#2bd6e8}.tg-transaction-modal .modal-body{padding:22px}
.tg-transaction-modal__grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.tg-transaction-modal__grid>div,.tg-transaction-modal__description,.tg-transaction-modal__image{padding:14px;border:1px solid rgba(82,201,219,.14);border-radius:12px;background:rgba(12,26,42,.52)}.tg-transaction-modal small{display:block;margin-bottom:7px;color:#8194aa;font-size:9px}.tg-transaction-modal strong{display:block;color:#f3f8ff;font-size:11px;overflow-wrap:anywhere}.tg-transaction-modal__description,.tg-transaction-modal__image{margin-top:10px}.tg-transaction-modal__description p{margin:0;color:#d8e3ee;line-height:1.9}.tg-transaction-modal__image img{display:block;max-height:420px;margin:auto;border-radius:10px}
@media(max-width:600px){
.tg-transactions-page{padding-top:25px}.tg-transactions-table{min-width:0}.tg-transactions-table td:nth-child(1){padding-left:9px!important}.tg-transactions-table td:nth-child(3){grid-column:1/-1;grid-row:auto}.tg-transactions-table td:nth-child(3):before{display:block}.tg-transactions-table td:nth-child(7){grid-column:1/-1}.tg-transactions-table .tg-transaction-reference{max-width:150px}.tg-transactions-table .tg-status{max-width:155px;text-align:center;white-space:normal}.tg-transactions-table .tg-transaction-gateway{max-width:155px;white-space:normal}.tg-transaction-modal__grid{grid-template-columns:1fr}
}
@media(max-width:520px){#tg-voucher-control .tg-exchange__voucher-field{height:74px;min-height:74px;max-height:74px}#tg-voucher-control #tg-voucher-code{height:72px;min-height:72px;max-height:72px;padding:14px 44px 14px 122px}#tg-voucher-control .tg-exchange__voucher-check{left:10px;width:98px;min-width:98px;height:38px;padding:0 9px;font-size:10.5px}}

/* v1.1.30 — exchange card-to-card gateway reuses the primary site gateway UI/settings */
.tg-exchange__card2card-fields{
  --tg-c2c-accent:#2fd9cf;
  --tg-c2c-cyan:#36d7ea;
  display:block;
  margin-top:16px;
  padding:18px;
  color:#eef8ff;
  text-align:right;
  word-spacing:normal;
  letter-spacing:normal;
  border:1px solid rgba(54,215,234,.22);
  border-radius:18px;
  background:linear-gradient(145deg,rgba(10,30,47,.97),rgba(16,36,55,.96));
  box-shadow:0 14px 34px rgba(0,0,0,.13),inset 0 1px 0 rgba(255,255,255,.025);
  overflow:hidden;
}
.tg-exchange__card2card-fields[hidden]{display:none!important}
.tg-exchange__card2card-fields,.tg-exchange__card2card-fields *{box-sizing:border-box}
.tg-exchange__c2c-head{display:flex;align-items:center;gap:11px;margin:0 0 14px;padding:0 0 14px;border-bottom:1px solid rgba(135,170,191,.14)}
.tg-exchange__c2c-head-icon{width:40px;height:40px;min-width:40px;display:grid;place-items:center;color:#071d24;font-size:16px;border-radius:12px;background:linear-gradient(135deg,var(--tg-c2c-accent),var(--tg-c2c-cyan));box-shadow:0 8px 18px rgba(47,217,207,.15)}
.tg-exchange__c2c-head>div{min-width:0}
.tg-exchange__c2c-head strong,.tg-exchange__c2c-head small{display:block;text-align:right}
.tg-exchange__c2c-head strong{margin:0 0 3px;color:#fff;font-size:14px;font-weight:900;line-height:1.5}
.tg-exchange__c2c-head small{color:#8fa9ba;font-size:10px;line-height:1.7}
.tg-exchange__c2c-payment-card{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:10px;margin-bottom:14px;padding:11px;border:1px solid rgba(47,217,207,.2);border-radius:15px;background:rgba(47,217,207,.035)}
.tg-exchange__c2c-payment-amount,.tg-exchange__c2c-destination{position:relative;min-width:0;padding:12px;border:1px solid rgba(111,153,178,.18);border-radius:13px;background:rgba(12,30,47,.72)}
.tg-exchange__c2c-payment-amount{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 10px}
.tg-exchange__c2c-payment-amount>span{display:flex;align-items:center;gap:7px;color:#91abba;font-size:10px;line-height:1.5}
.tg-exchange__c2c-payment-amount>span i{color:var(--tg-c2c-accent)}
.tg-exchange__c2c-payment-amount>strong{grid-column:1/2;color:#7cf0d9;font-size:18px;font-weight:950;line-height:1.45;direction:ltr;text-align:right;white-space:nowrap}
.tg-exchange__c2c-payment-amount>small{grid-column:1/2;color:#7894a7;font-size:9px;line-height:1.6}
.tg-exchange__c2c-copy{grid-column:2;grid-row:1/4;align-self:center;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:8px 10px;color:#b8f7ef;font-family:inherit;font-size:10px;font-weight:800;white-space:nowrap;border:1px solid rgba(47,217,207,.32);border-radius:10px;background:rgba(47,217,207,.08);cursor:pointer;transition:transform .18s ease,border-color .18s ease,background .18s ease}
.tg-exchange__c2c-copy:hover,.tg-exchange__c2c-copy:focus-visible{transform:translateY(-1px);color:#061c20;border-color:var(--tg-c2c-accent);background:var(--tg-c2c-accent);outline:0}
.tg-exchange__c2c-destination{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:10px}
.tg-exchange__c2c-bank-icon{width:40px;height:40px;min-width:40px;display:grid;place-items:center;color:#47dfd1;font-size:15px;border:1px solid rgba(47,217,207,.22);border-radius:12px;background:rgba(47,217,207,.08)}
.tg-exchange__c2c-destination-copy{min-width:0}
.tg-exchange__c2c-destination-copy>small,.tg-exchange__c2c-destination-copy>strong{display:block;text-align:right}
.tg-exchange__c2c-destination-copy>small{margin-bottom:3px;color:#819dad;font-size:9px}
.tg-exchange__c2c-destination-copy>strong{color:#fff;font-family:monospace;font-size:14px;font-weight:900;letter-spacing:.08em;direction:ltr;text-align:right;white-space:nowrap}
.tg-exchange__c2c-destination-copy>strong.is-missing{color:#ffc17e;font-family:inherit;font-size:10px;letter-spacing:0;white-space:normal}
.tg-exchange__c2c-destination-copy>span{display:flex;align-items:center;flex-wrap:wrap;gap:5px 10px;margin-top:5px}
.tg-exchange__c2c-destination-copy em{display:inline-flex;align-items:center;gap:5px;color:#8ea9ba;font-size:9px;font-style:normal;line-height:1.5}
.tg-exchange__c2c-destination-copy em i{color:#38d7d0}
.tg-exchange__c2c-copy--card{grid-column:3;grid-row:1;min-width:78px}
.tg-exchange__c2c-fields-list{display:grid;grid-template-columns:1fr;gap:10px;margin-bottom:12px}
.tg-exchange__c2c-field{display:block!important;width:100%;margin:0!important;color:#dbe7ef!important;font-size:11px!important;text-align:right!important;line-height:normal!important;word-spacing:normal!important;letter-spacing:normal!important}
.tg-exchange__c2c-label{display:flex;align-items:center;justify-content:flex-start!important;gap:7px;width:100%;margin:0 0 7px;color:#dceaf3;text-align:right;line-height:1.5}
.tg-exchange__c2c-label>i{width:24px;height:24px;min-width:24px;display:grid;place-items:center;color:#43dccc;border-radius:8px;background:rgba(47,217,207,.08)}
.tg-exchange__c2c-label>b{font-size:11px;font-weight:850}
.tg-exchange__c2c-label>em,.tg-exchange__c2c-label>small{margin-right:auto;padding:3px 7px;font-size:8px;font-style:normal;font-weight:800;line-height:1;border-radius:999px}
.tg-exchange__c2c-label>em{color:#ffd0d0;border:1px solid rgba(255,109,119,.2);background:rgba(255,88,101,.08)}
.tg-exchange__c2c-label>small{color:#8da8b9;border:1px solid rgba(132,163,181,.14);background:rgba(132,163,181,.05)}
.tg-exchange__c2c-field input,.tg-exchange__c2c-field textarea{display:block;width:100%!important;min-height:46px!important;margin:0!important;padding:10px 12px!important;color:#fff!important;font-family:inherit!important;font-size:16px!important;line-height:1.6!important;text-align:right!important;word-spacing:normal!important;letter-spacing:normal!important;border:1px solid rgba(111,153,178,.23)!important;border-radius:11px!important;outline:0!important;background:#102036!important;box-shadow:none!important;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}
.tg-exchange__c2c-field input{direction:ltr;text-align:left!important}
.tg-exchange__c2c-field textarea{min-height:76px!important;resize:vertical!important;direction:rtl!important;text-align:right!important}
.tg-exchange__c2c-field input:focus,.tg-exchange__c2c-field textarea:focus{border-color:rgba(47,217,207,.72)!important;background:#10243a!important;box-shadow:0 0 0 3px rgba(47,217,207,.08)!important}
.tg-exchange__c2c-help{display:block;margin:6px 2px 0;color:#7895a7;font-size:9px;line-height:1.7;text-align:right}
.tg-exchange__receipt-block{margin:0 0 12px;padding:12px;border:1px solid rgba(54,215,234,.18);border-radius:14px;background:rgba(7,24,38,.38)}
.tg-exchange__receipt-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}
.tg-exchange__receipt-heading>span{display:flex;align-items:center;gap:7px;color:#e9f6fc;font-size:11px}
.tg-exchange__receipt-heading>span i{color:#3edbd1}
.tg-exchange__receipt-heading>span em,.tg-exchange__receipt-heading>span small{padding:3px 7px;font-size:8px;font-style:normal;font-weight:800;border-radius:999px}
.tg-exchange__receipt-heading>span em{color:#ffd0d0;background:rgba(255,88,101,.08)}
.tg-exchange__receipt-heading>span small{color:#8ca6b7;background:rgba(132,163,181,.06)}
.tg-exchange__receipt-heading>small{color:#7794a6;font-size:9px}
.tg-exchange__receipt{display:block!important;margin:0!important;color:inherit!important;text-align:center!important}
.tg-exchange__receipt>input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.tg-exchange__receipt-drop{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;min-height:112px!important;margin:0!important;padding:14px!important;text-align:center!important;border:1.5px dashed rgba(54,215,234,.35)!important;border-radius:13px!important;background:rgba(54,215,234,.025)!important;cursor:pointer!important;transition:border-color .18s ease,background .18s ease,transform .18s ease}
.tg-exchange__receipt-drop:hover,.tg-exchange__receipt-drop:focus-visible{transform:translateY(-1px);border-color:rgba(47,217,207,.75)!important;background:rgba(47,217,207,.055)!important;outline:0}
.tg-exchange__receipt-drop>i{display:grid!important;place-items:center!important;width:38px!important;height:38px!important;margin:0 0 7px!important;color:#3ddbd1!important;font-size:20px!important;border-radius:12px!important;background:rgba(47,217,207,.09)!important}
.tg-exchange__receipt-drop>b{color:#effbff;font-size:11px;line-height:1.6}
.tg-exchange__receipt-drop>small{margin-top:3px;color:#7895a8!important;font-size:8.5px!important;line-height:1.5}
.tg-exchange__receipt-error{margin-top:8px;padding:9px 11px;color:#ffb5ba;font-size:10px;line-height:1.7;text-align:right;border:1px solid rgba(255,91,104,.22);border-radius:10px;background:rgba(255,72,88,.07)}
.tg-exchange__receipt-preview{display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:11px;margin-top:10px;padding:10px;border:1px solid rgba(47,217,207,.22);border-radius:13px;background:rgba(47,217,207,.035)}
.tg-exchange__receipt-preview[hidden]{display:none!important}
.tg-exchange__receipt-thumb{width:64px;height:64px;display:grid;place-items:center;overflow:hidden;color:#ff8d8d;font-size:26px;border-radius:11px;background:#0a1b2d}
.tg-exchange__receipt-thumb img{width:100%!important;height:100%!important;display:block;object-fit:cover;border-radius:inherit}
.tg-exchange__receipt-thumb>i{display:none}
.tg-exchange__receipt-preview.is-pdf .tg-exchange__receipt-thumb img{display:none}
.tg-exchange__receipt-preview.is-pdf .tg-exchange__receipt-thumb>i{display:block}
.tg-exchange__receipt-meta{min-width:0;text-align:right}
.tg-exchange__receipt-meta>strong,.tg-exchange__receipt-meta>small,.tg-exchange__receipt-meta>span{display:block}
.tg-exchange__receipt-meta>strong{overflow:hidden;color:#f2f9fd;font-size:10.5px;text-overflow:ellipsis;white-space:nowrap}
.tg-exchange__receipt-meta>small{margin:3px 0;color:#7895a8;font-size:8.5px}
.tg-exchange__receipt-meta>span{color:#66e4ca;font-size:8.5px}
.tg-exchange__receipt-actions{display:flex;align-items:center;gap:6px}
.tg-exchange__receipt-actions button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;position:static!important;width:auto!important;height:36px!important;min-height:36px!important;margin:0!important;padding:7px 9px!important;color:#a9f4e9!important;font-family:inherit!important;font-size:9px!important;font-weight:800!important;line-height:1!important;border:1px solid rgba(47,217,207,.25)!important;border-radius:9px!important;background:rgba(47,217,207,.06)!important;box-shadow:none!important;transform:none!important;cursor:pointer!important}
.tg-exchange__receipt-actions #tg-exchange-receipt-remove{color:#ffb4bb!important;border-color:rgba(255,91,104,.25)!important;background:rgba(255,72,88,.06)!important}
.tg-exchange__upload-progress{margin-top:10px;padding:10px 11px;border:1px solid rgba(54,215,234,.17);border-radius:11px;background:rgba(54,215,234,.035)}
.tg-exchange__upload-progress[hidden]{display:none!important}
.tg-exchange__upload-progress>div{height:6px;overflow:hidden;border-radius:999px;background:rgba(255,255,255,.07)}
.tg-exchange__upload-progress>div>span{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--tg-c2c-accent),var(--tg-c2c-cyan));transition:width .15s linear}
.tg-exchange__upload-progress>p{display:flex;align-items:center;gap:6px;margin:7px 0 0;color:#8faaba;font-size:9px}
.tg-exchange__upload-progress>p i{color:#38d9d0}
.tg-exchange__upload-progress>p b{margin-right:auto;color:#6ee9d6;font-size:10px}
.tg-exchange__c2c-field--description{margin-top:0!important}
@media(max-width:700px){
  .tg-exchange__card2card-fields{padding:13px;border-radius:16px}
  .tg-exchange__c2c-payment-card{grid-template-columns:1fr}
  .tg-exchange__c2c-destination{grid-template-columns:38px minmax(0,1fr) auto}
  .tg-exchange__c2c-copy{min-width:72px}
  .tg-exchange__receipt-preview{grid-template-columns:58px minmax(0,1fr)}
  .tg-exchange__receipt-thumb{width:58px;height:58px}
  .tg-exchange__receipt-actions{grid-column:1/-1;justify-content:flex-end}
}
@media(max-width:430px){
  .tg-exchange__c2c-head{align-items:flex-start}
  .tg-exchange__c2c-payment-amount{grid-template-columns:minmax(0,1fr) auto}
  .tg-exchange__c2c-payment-amount>strong{font-size:16px}
  .tg-exchange__c2c-destination{grid-template-columns:36px minmax(0,1fr)}
  .tg-exchange__c2c-bank-icon{width:36px;height:36px;min-width:36px}
  .tg-exchange__c2c-copy--card{grid-column:1/-1;grid-row:auto;width:100%}
  .tg-exchange__c2c-destination-copy>strong{font-size:12px;letter-spacing:.055em}
  .tg-exchange__receipt-heading{align-items:flex-start;flex-direction:column}
  .tg-exchange__receipt-preview{grid-template-columns:52px minmax(0,1fr);gap:9px}
  .tg-exchange__receipt-thumb{width:52px;height:52px}
  .tg-exchange__receipt-actions{justify-content:stretch}
  .tg-exchange__receipt-actions button{flex:1 1 0!important}
}


/* v1.3.5 - تبدیل پویا تومان و مقدار کد اعتبار */
.tg-exchange__dual-amounts{display:grid;grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr);align-items:end;gap:10px;margin-top:2px}
.tg-exchange__dual-block{min-width:0}
.tg-exchange__convert-icon{width:38px;height:48px;display:grid;place-items:center;margin-bottom:0;color:var(--tg-cyan);border:1px solid rgba(43,214,232,.18);border-radius:12px;background:rgba(43,214,232,.07)}
.tg-exchange__convert-icon i{font-size:14px;transform:rotate(180deg)}
.tg-exchange__amount-field--toman input{direction:ltr;text-align:left;font-variant-numeric:tabular-nums}
.tg-exchange__conversion-note{margin:9px 0 12px;padding:10px 12px;color:#8fa1b6;font-size:10px;line-height:1.8;border:1px solid rgba(255,255,255,.055);border-radius:11px;background:rgba(255,255,255,.018)}
.tg-exchange__conversion-note.is-calculated{color:#a5f5d7;border-color:rgba(33,221,178,.18);background:rgba(33,221,178,.055)}
@media(max-width:700px){.tg-exchange__dual-amounts{grid-template-columns:1fr}.tg-exchange__convert-icon{width:100%;height:30px;margin:-2px 0}.tg-exchange__convert-icon i{transform:rotate(90deg)}}


/* v1.3.5 - polishing dual conversion layout and hero badge */
.tg-exchange__hero-badge{
  min-width:285px;
  grid-template-columns:52px minmax(0,1fr);
  gap:3px 12px;
  padding:15px 16px;
}
.tg-exchange__hero-badge>i{
  width:52px;
  height:52px;
  font-size:23px;
}
.tg-exchange__hero-badge strong{line-height:1.65}
.tg-exchange__hero-badge small{display:block;line-height:1.8}

.tg-exchange__dual-amounts{
  grid-template-columns:minmax(0,1fr) 44px minmax(0,1fr);
  align-items:start;
  gap:12px;
  margin:2px 0 0;
}
.tg-exchange__dual-block{display:flex;min-width:0;flex-direction:column}
.tg-exchange__dual-block .tg-exchange__amount-field{margin-bottom:0}
.tg-exchange__convert-icon{
  align-self:end;
  width:44px;
  height:70px;
  margin:0;
  border-radius:14px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}
.tg-exchange__convert-icon i{font-size:15px;transform:none}
.tg-exchange__conversion-note{
  margin:14px 0 14px;
  padding:11px 13px;
  min-height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}
.tg-exchange__quick-values{margin:0 0 24px}

@media(max-width:700px){
  .tg-exchange__hero-badge{width:100%;min-width:0;grid-template-columns:48px minmax(0,1fr);padding:14px}
  .tg-exchange__hero-badge>i{width:48px;height:48px}
  .tg-exchange__dual-amounts{grid-template-columns:1fr;gap:10px}
  .tg-exchange__convert-icon{align-self:stretch;width:100%;height:34px;margin:0}
  .tg-exchange__convert-icon i{transform:rotate(90deg)}
  .tg-exchange__conversion-note{margin:12px 0;padding:10px 11px;line-height:1.9}
  .tg-exchange__quick-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 22px}
  .tg-exchange__quick-values button{width:100%;min-width:0}
}

/* v1.3.7 - wallet inventory guard */
.tg-exchange__stock-note{margin:12px 0 4px;padding:10px 13px;border:1px solid rgba(53,217,199,.22);border-radius:12px;background:rgba(40,201,184,.07);color:#8fe9dd;font-size:11px;font-weight:800;line-height:1.8;text-align:center}
.tg-exchange__stock-note.is-low{border-color:rgba(255,193,82,.28);background:rgba(255,193,82,.08);color:#ffd38b}
.tg-exchange__stock-note.is-empty{border-color:rgba(255,103,122,.3);background:rgba(255,103,122,.08);color:#ffb1bc}
@media(max-width:600px){.tg-exchange__stock-note{margin-top:10px;padding:9px 10px;font-size:10.5px;border-radius:11px}}


/* v1.4.1: private purchase-limit correction toast */
.tg-exchange__limit-toast{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin:9px 0 0;padding:9px 11px;border:1px solid rgba(255,193,82,.28);border-radius:11px;background:rgba(255,193,82,.08);color:#ffd38b;box-sizing:border-box;font-size:10.5px;font-weight:800;line-height:1.7;text-align:center;opacity:0;transform:translateY(-5px);transition:opacity .22s ease,transform .22s ease}
.tg-exchange__limit-toast[hidden]{display:none!important}
.tg-exchange__limit-toast.is-visible{opacity:1;transform:translateY(0)}
.tg-exchange__limit-toast i{font-size:13px;flex:0 0 auto}
@media(max-width:600px){.tg-exchange__limit-toast{padding:8px 9px;font-size:10px;border-radius:10px}}

/* v1.4.2 — mobile exchange history card layout repair */
@media (max-width:600px){
  #tg-exchange-history{
    padding:16px!important;
    overflow:hidden;
  }
  #tg-exchange-history .tg-exchange__section-head{
    margin-bottom:16px;
  }
  #tg-exchange-history .tg-exchange__section-head h2{
    font-size:19px;
    line-height:1.55;
  }
  #tg-exchange-history .tg-history-toolbar{
    width:100%;
    box-sizing:border-box;
    margin-bottom:14px;
  }
  #tg-exchange-history .tg-history-search{
    width:100%;
  }
  #tg-exchange-history .tg-history-search input{
    min-width:0;
  }
  #tg-exchange-history .tg-history-table-wrap{
    width:100%;
    max-width:100%;
    overflow:visible!important;
  }
  .tg-exchange #tg-exchange-history table.tg-history-table{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    table-layout:fixed!important;
  }
  .tg-exchange #tg-exchange-history .tg-history-table tbody{
    display:grid!important;
    width:100%!important;
    gap:12px!important;
  }
  .tg-exchange #tg-exchange-history .tg-history-table tbody tr{
    position:relative;
    display:grid!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:0!important;
    padding:14px!important;
    box-sizing:border-box!important;
    overflow:hidden;
  }
  .tg-exchange #tg-exchange-history .tg-history-table td{
    position:relative;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    min-height:52px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:8px!important;
    padding:10px 8px!important;
    box-sizing:border-box!important;
    overflow:hidden;
    text-align:right!important;
    white-space:normal!important;
  }
  .tg-exchange #tg-exchange-history .tg-history-table td::before{
    flex:0 0 auto;
    margin-left:8px;
    white-space:nowrap;
  }
  .tg-exchange #tg-exchange-history .tg-history-table td:nth-child(3){
    grid-column:1/-1!important;
    grid-row:auto!important;
    min-height:58px!important;
    padding:0 0 12px!important;
    border-bottom:1px solid rgba(82,201,219,.14)!important;
  }
  .tg-exchange #tg-exchange-history .tg-history-table td:nth-child(1){
    padding-left:8px!important;
  }
  .tg-exchange #tg-exchange-history .tg-history-table td:nth-child(7){
    grid-column:1/-1!important;
  }
  .tg-exchange #tg-exchange-history .tg-history-table td:nth-child(8){
    position:static!important;
    grid-column:1/-1!important;
    min-height:42px!important;
    display:flex!important;
    justify-content:flex-end!important;
    padding:10px 8px 0!important;
    border-bottom:0!important;
  }
  .tg-exchange #tg-exchange-history .tg-history-table td:nth-child(8)::before{
    display:block!important;
  }
  .tg-exchange #tg-exchange-history .tg-exchange__history-asset{
    width:100%!important;
    min-width:0!important;
    display:grid!important;
    grid-template-columns:38px minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:9px!important;
  }
  .tg-exchange #tg-exchange-history .tg-exchange__history-icon{
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
  }
  .tg-exchange #tg-exchange-history .tg-exchange__history-asset>strong{
    min-width:0!important;
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  .tg-exchange #tg-exchange-history .tg-exchange__history-asset>small{
    justify-self:end;
  }
  .tg-exchange #tg-exchange-history .tg-history-id,
  .tg-exchange #tg-exchange-history .tg-side,
  .tg-exchange #tg-exchange-history .tg-status{
    max-width:100%!important;
    flex:0 1 auto;
    white-space:normal!important;
    text-align:center;
  }
  .tg-exchange #tg-exchange-history .tg-history-table time{
    min-width:0;
    flex:0 1 auto;
    justify-content:flex-end!important;
  }
  .tg-exchange #tg-exchange-history .tg-exchange__row-actions{
    width:auto!important;
    max-width:100%!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-end!important;
    flex-wrap:wrap!important;
  }
  .tg-exchange #tg-exchange-history .tg-history-tracking{
    max-width:145px!important;
  }
  .tg-exchange #tg-exchange-history .tg-history-copy-button span{
    display:inline!important;
  }
}

@media (max-width:380px){
  #tg-exchange-history{padding:13px!important}
  .tg-exchange #tg-exchange-history .tg-history-table tbody tr{
    grid-template-columns:1fr!important;
  }
  .tg-exchange #tg-exchange-history .tg-history-table td:nth-child(3),
  .tg-exchange #tg-exchange-history .tg-history-table td:nth-child(7),
  .tg-exchange #tg-exchange-history .tg-history-table td:nth-child(8){
    grid-column:1!important;
  }
}

/* v1.4.6 - mobile gateway rows spacing */
@media (max-width:700px){
  .tg-exchange__gateway-wrap{
    padding:16px 12px 18px;
  }
  .tg-exchange__gateway-wrap #gateways-box{
    margin-right:0!important;
    margin-left:0!important;
  }
  .tg-exchange__gateway-wrap .gateway-methods{
    display:flex!important;
    align-items:stretch!important;
    justify-content:center!important;
    flex-wrap:wrap!important;
    column-gap:10px!important;
    row-gap:14px!important;
    margin:0 0 16px!important;
    padding:0!important;
  }
  .tg-exchange__gateway-wrap .gateway-method{
    min-height:52px!important;
    margin:0!important;
    padding:11px 15px!important;
    line-height:1.75!important;
    white-space:normal!important;
  }
  .tg-exchange__gateway-wrap .gateway-contents{
    margin-top:2px!important;
    padding-right:0!important;
    padding-left:0!important;
  }
  .tg-exchange__gateway-wrap .gateway-content{
    margin-right:0!important;
    margin-left:0!important;
  }
  .tg-exchange__gateway-wrap .gateway-content>.col-12{
    padding-right:0!important;
    padding-left:0!important;
    text-align:center!important;
  }
  .tg-exchange__gateway-wrap .img-gateway{
    margin-top:4px!important;
  }
}
@media (max-width:390px){
  .tg-exchange__gateway-wrap .gateway-methods{
    column-gap:8px!important;
    row-gap:12px!important;
  }
  .tg-exchange__gateway-wrap .gateway-method{
    min-height:50px!important;
    padding:10px 12px!important;
    font-size:12px!important;
  }
}
