.global-header-actions{display:flex;align-items:center;gap:8px;margin-left:auto}
.global-header-actions .sg-header-action,.global-header-actions .global-avatar{flex:0 0 auto}
.global-header-actions .sg-header-action.active{border-color:#2de4f3;color:#4ce8ff;background:linear-gradient(135deg,#15378d,#3a176f);box-shadow:0 0 18px #2c76ff66}
.global-header-search{display:flex;align-items:center;gap:9px;width:100%;margin:0}
.global-header-search[hidden]{display:none}
.global-header.search-expanded>.global-brand,.global-header.search-expanded>.settlement-header-title,.global-header.search-expanded>.global-header-actions{display:none!important}
.global-header-search>button{display:grid;width:42px;height:42px;flex:0 0 auto;place-items:center;border:1px solid #4652a5;border-radius:12px;background:#111746;color:#d8e3ff;font-size:22px;cursor:pointer}
.global-header-search>label{display:flex;min-width:0;flex:1;align-items:center;gap:10px;height:46px;padding:0 13px;border:1px solid #6759d4;border-radius:14px;background:linear-gradient(110deg,#101b59,#191044);color:#8fe2ff;box-shadow:inset 0 1px 12px #6b5cff22}
.global-header-search .sg-icon{width:22px;height:22px}
.global-header-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#fff;font:inherit}
.global-header-search input::placeholder{color:#9da7ce}

.p2p-screen{max-width:920px;margin:0 auto;padding-bottom:112px}
.p2p-home-return{min-height:42px;margin-bottom:12px;padding:0 14px;border:1px solid #3b4c98;border-radius:12px;background:#091536;color:#bfcdf4;cursor:pointer}
.p2p-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:24px;border:1px solid transparent;border-radius:22px;background:linear-gradient(120deg,#07183eee,#101242ee 60%,#240e49f2) padding-box,linear-gradient(115deg,#1dd9ec,#5849f3 52%,#d94ae5) border-box;box-shadow:0 18px 48px #02061988}
.p2p-page-head h1{margin:0;font-size:38px;letter-spacing:-.04em}
.p2p-page-head p:not(.global-eyebrow){max-width:570px;margin:9px 0 0;color:#aab8df;line-height:1.55}
.p2p-demo-badge{padding:7px 10px;border:1px solid #e05be0;border-radius:999px;background:#5c1d7444;color:#f1a6f2;font-size:10px;font-weight:900;letter-spacing:.12em}
.p2p-controls{display:grid;grid-template-columns:auto 130px minmax(220px,1fr);gap:10px;margin:14px 0 8px}
.p2p-tabs{display:flex;padding:4px;border:1px solid #354791;border-radius:13px;background:#081333}
.p2p-tabs button{min-width:82px;border:0;border-radius:10px;background:transparent;color:#9eacd4;font-weight:800;cursor:pointer}
.p2p-tabs button.active{background:linear-gradient(120deg,#075dc2,#5525c7);color:#fff;box-shadow:0 0 15px #315cff55}
.p2p-currency,.p2p-offer-search{display:flex;align-items:center;border:1px solid #354791;border-radius:13px;background:#081333}
.p2p-currency{position:relative}
.p2p-currency>span{position:absolute;top:5px;left:11px;color:#7f8fbd;font-size:9px}
.p2p-currency select{width:100%;height:100%;padding:13px 10px 2px;border:0;outline:0;background:transparent;color:#fff;font-weight:800}
.p2p-offer-search{gap:8px;padding:0 12px;color:#8bcfee}
.p2p-offer-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#fff}
.p2p-market-note{min-height:18px;margin:8px 2px 12px;color:#8f9fc9;font-size:12px}
.p2p-profile-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin:12px 0}
.p2p-profile-actions>button,.p2p-profile-actions select{min-height:44px}
.p2p-profile-actions label{display:flex;align-items:center;gap:8px;color:#aab8df;font-size:12px}
.p2p-profile-actions select{max-width:160px;border:1px solid #354791;border-radius:10px;padding:8px;background:#081333;color:#fff}
.p2p-merchant-link{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:44px;margin-top:10px;padding:8px 0;border:0;background:transparent;color:#66dcff;text-align:left;cursor:pointer}
.p2p-profile-notice{color:#aab8df;font-size:12px;line-height:1.6}
.p2p-merchant-offers{display:grid;gap:10px}
.p2p-merchant-offers button{display:grid;gap:6px;min-height:44px;width:100%;padding:12px;text-align:left;white-space:normal;overflow-wrap:anywhere}
.p2p-method-list{display:grid;gap:10px;padding:0;list-style:none}
.p2p-method-list li{display:grid;gap:5px;padding:12px;border:1px solid #354791;border-radius:12px;overflow-wrap:anywhere}
.p2p-method-list small{color:#aab8df}
#p2p-profile-content .p2p-detail-merchant strong,#p2p-profile-content dd{overflow-wrap:anywhere}
#p2p-profile-content .p2p-detail-merchant>div{min-width:0}
.p2p-offers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.p2p-offer-card{padding:17px;border:1px solid transparent;border-radius:18px;background:linear-gradient(130deg,#071637f5,#0d1236f5 62%,#21103ff3) padding-box,linear-gradient(115deg,#1d9fdb99,#6351dc99 55%,#c44bd399) border-box;box-shadow:0 12px 30px #02061788;color:#fff;cursor:pointer;transition:transform .16s ease,border-color .16s ease}
.p2p-offer-card:hover,.p2p-offer-card:focus-visible{transform:translateY(-2px);outline:none;box-shadow:0 16px 35px #020617bb,0 0 18px #3b54d73b}
.p2p-offer-card>header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px}
.p2p-merchant-mark{display:grid;width:42px;height:42px;place-items:center;border:1px solid #4e75e3;border-radius:13px;background:linear-gradient(140deg,#0c6fc6,#552bc2);font-size:13px;font-weight:900}
.p2p-offer-card h2{margin:0;overflow:hidden;font-size:15px;text-overflow:ellipsis;white-space:nowrap}
.p2p-offer-card header small{display:block;margin-top:3px;color:#8295c6;font-size:9px}
.p2p-action{min-width:68px;min-height:37px;border-radius:10px;font-weight:900;cursor:pointer}
.p2p-action.buy{border:1px solid #18d8c0;background:#0d625c55;color:#42ead5}
.p2p-action.sell{border:1px solid #ed667e;background:#70243b55;color:#ff8ca0}
.p2p-rate{display:flex;align-items:baseline;gap:7px;margin:16px 0 12px}
.p2p-rate small{color:#8c9dcc;font-size:10px}
.p2p-rate strong{font-size:21px}
.p2p-rate span{color:#6678a8;font-size:9px}
.p2p-offer-card dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin:0;overflow:hidden;border:1px solid #293d7c;border-radius:12px;background:#293d7c}
.p2p-offer-card dl>div{min-width:0;padding:10px;background:#07132f}
.p2p-offer-card dt{color:#788aba;font-size:9px}
.p2p-offer-card dd{margin:4px 0 0;overflow-wrap:anywhere;font-size:11px;font-weight:700;line-height:1.35}
.p2p-no-results{grid-column:1/-1;padding:35px;border:1px dashed #3b4e91;border-radius:18px;text-align:center;color:#9ba9d1}
.p2p-no-results h2,.p2p-no-results p{margin:0}.p2p-no-results p{margin-top:7px}

.p2p-offer-detail{position:fixed;z-index:32;inset:0;display:grid;place-items:center;padding:18px;background:#020615df;backdrop-filter:blur(12px)}
.p2p-offer-detail.hidden{display:none}
.p2p-detail-card{position:relative;width:min(540px,100%);max-height:calc(100vh - 36px);overflow:auto;padding:25px;border:1px solid transparent;border-radius:23px;background:linear-gradient(135deg,#071a3bf8,#180e42fa) padding-box,linear-gradient(115deg,#19ddec,#5753f4 52%,#dc4ae8) border-box;box-shadow:0 24px 80px #000c}
.p2p-detail-close{position:absolute;top:14px;right:14px;width:39px;height:39px;border:1px solid #4b55a0;border-radius:11px;background:#111843;color:#dce4ff;font-size:23px;cursor:pointer}
.p2p-detail-card h2{margin:0 0 17px;font-size:27px}
.p2p-detail-merchant{display:flex;align-items:center;gap:12px;padding:13px;border:1px solid #354b98;border-radius:14px;background:#09163a}
.p2p-detail-merchant>span{display:grid;width:46px;height:46px;place-items:center;border-radius:13px;background:linear-gradient(135deg,#0f9cd2,#5235cd);font-weight:900}
.p2p-detail-merchant small,.p2p-detail-merchant strong,.p2p-detail-merchant em{display:block}.p2p-detail-merchant small{color:#8fa1d0;font-size:10px}.p2p-detail-merchant strong{margin-top:2px}.p2p-detail-merchant em{margin-top:3px;color:#8ca0d1;font-size:9px;font-style:normal}
.p2p-detail-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:14px 0}
.p2p-detail-values>div{padding:11px;border:1px solid #2d4080;border-radius:11px;background:#081431}
.p2p-detail-values dt{color:#8193c1;font-size:9px}.p2p-detail-values dd{margin:5px 0 0;font-size:12px;font-weight:800}
#p2p-demo-form{display:grid;gap:12px}
#p2p-demo-form>label{display:grid;gap:6px;color:#aab8df;font-size:11px}
#p2p-demo-form input{min-height:47px;padding:0 13px;border:1px solid #4658aa;border-radius:12px;background:#07132f;color:#fff;font:inherit}
.p2p-estimate{display:grid;gap:4px;padding:14px;border:1px solid #384d9a;border-radius:13px;background:#09173a}
.p2p-estimate small,.p2p-estimate span{color:#8c9dcc;font-size:10px}.p2p-estimate strong{color:#55e5ed;font-size:23px}
.p2p-continue{min-height:47px;border:1px solid #625df2;border-radius:12px;background:linear-gradient(120deg,#0757c8,#5223c5);color:#fff;font-weight:900;cursor:pointer}
#p2p-demo-feedback{min-height:17px;margin:0;color:#8ed7dc;font-size:11px;line-height:1.45}

@media(max-width:700px){.p2p-controls{grid-template-columns:1fr 112px}.p2p-offer-search{grid-column:1/-1;min-height:44px}.p2p-offers{grid-template-columns:1fr}}
@media(max-width:480px){
  .global-header-actions{gap:5px}
  .global-header-actions .sg-header-action,.global-header-actions .global-avatar{width:34px;height:36px}
  .p2p-page-head{padding:19px 16px}.p2p-page-head h1{font-size:31px}.p2p-page-head p:not(.global-eyebrow){font-size:12px}
  .p2p-controls{grid-template-columns:1fr 102px}.p2p-tabs button{min-width:0;flex:1}
  .p2p-offer-card{padding:14px}.p2p-rate strong{font-size:18px}.p2p-rate span{display:none}
  .p2p-detail-card{padding:22px 16px}.p2p-detail-values{grid-template-columns:1fr}
}
@media(max-width:360px){.global-header-actions .sg-header-action,.global-header-actions .global-avatar{width:31px}.global-header-actions{gap:3px}}
